From 513a57c262c4c0fcc7f2ecc89d83351b947db978 Mon Sep 17 00:00:00 2001 From: Ondrej Sykora Date: Fri, 13 Sep 2024 11:41:24 +0000 Subject: [PATCH] [two_step_routing] In two_step_routing_main, enalbe --no_deprecated_fields by default. The flag removes fields that were deprecated or removed with the CFR->GMPRO transition. Since we're using the GMPRO API by default now, we also drop the deprecated fields by default to avoid confusion and failures. --- python/gmpro/two_step_routing/two_step_routing_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/gmpro/two_step_routing/two_step_routing_main.py b/python/gmpro/two_step_routing/two_step_routing_main.py index de825952..dd9e92ac 100644 --- a/python/gmpro/two_step_routing/two_step_routing_main.py +++ b/python/gmpro/two_step_routing/two_step_routing_main.py @@ -121,7 +121,7 @@ def add_arguments(cls, parser: argparse.ArgumentParser) -> None: "Do not use fields in CFR requests and responses that are marked as" " deprecated. This concerns in particular `travelSteps`." ), - default=False, + default=True, action=argparse.BooleanOptionalAction, ) parser.add_argument(