Skip to content

Commit

Permalink
[two_step_routing] In two_step_routing_main, enalbe --no_deprecated_f…
Browse files Browse the repository at this point in the history
…ields 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.
  • Loading branch information
ondrasej committed Sep 13, 2024
1 parent 58f2b48 commit 513a57c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/gmpro/two_step_routing/two_step_routing_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 513a57c

Please sign in to comment.