-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show natural opg journeys #4218
Conversation
@@ -56,6 +56,10 @@ def __repr__(self): | |||
return "{}-{}-{}".format(self.instance_name, self.s3_object.key, self.s3_object.e_tag) | |||
|
|||
|
|||
def has_applicable_scenario(api_request): | |||
return True if api_request.get("olympic_site_params") else False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return True if api_request.get("olympic_site_params") else False | |
return bool(api_request.get("olympic_site_params")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
return ( | ||
query_show_natural_opg_journeys | ||
if query_show_natural_opg_journeys is not None | ||
else conf_additional_parameters.get("show_natural_opg_journeys", False) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return ( | |
query_show_natural_opg_journeys | |
if query_show_natural_opg_journeys is not None | |
else conf_additional_parameters.get("show_natural_opg_journeys", False) | |
) | |
return query_show_natural_opg_journeys or conf_additional_parameters.get("show_natural_opg_journeys", False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
Jira:
NAV-2761
NAV-2762
NAV-2763