Skip to content
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

[jormungandr] Olympic site params manager #4093

Merged
merged 9 commits into from
Sep 20, 2023
Merged

Conversation

azime
Copy link
Contributor

@azime azime commented Aug 24, 2023

Jira: NAV-2221

Config example:
image

attractivity_virtual_fallback = attractivities_virtual_fallbacks.get("arrival", {}).get(extremity.uri)
else:
attractivity_virtual_fallback = attractivities_virtual_fallbacks.get("departure", {}).get(extremity.uri)
virtual_fallback = attractivity_virtual_fallback.virtual_duration or 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this crash when attractivity_virtual_fallback is None because extremity.uri was not found in attractivities_virtual_fallbacks ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@azime azime force-pushed the olympic_site_params_manager branch from 1c1a779 to 28f0b67 Compare September 5, 2023 09:46
@woshilapin woshilapin force-pushed the olympic_site_params_manager branch from 28f0b67 to 17775ea Compare September 5, 2023 09:46
@azime azime force-pushed the olympic_site_params_manager branch from 17775ea to ee7ead4 Compare September 6, 2023 12:50
@woshilapin woshilapin removed their request for review September 11, 2023 09:03
@azime azime force-pushed the olympic_site_params_manager branch from ee7ead4 to 155d232 Compare September 14, 2023 12:29
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 20 Code Smells

80.8% 80.8% Coverage
0.0% 0.0% Duplication

@azime azime merged commit 724af05 into dev Sep 20, 2023
@azime azime deleted the olympic_site_params_manager branch September 20, 2023 08:54
@kadhikari kadhikari changed the title Olympic site params manager [jormungandr] Olympic site params manager Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants