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

Update milestone branch with hotfix from master #4508

Merged
merged 12 commits into from
Dec 9, 2024
Merged

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Dec 9, 2024

No description provided.

hansmannj and others added 12 commits December 3, 2024 18:33
The API we use to get time table data for open transport stops will be
decomissioned soon. Hence we migrate to OJP 2.0.
The requests to the API and the parsing of the response needed some
adaptions for that. Furthermore, the OJP 2.0 API's response sometimes
has a strange timestamp format, there are sometimes 7 instead of the
expexted 6 digits for the milliseconds. Hence a try except was used to
safely convert to the expected format in that cases.
Also some minor code clean-up was done.
Originally there were separate test files for opentransapi and the stationboard.
This is now again the case, also several test cases got lost, which were re-added
again.
Also added dependencies in order to fix
 TypeError: __init__() got an unexpected keyword argument 'management'
…as_to_ojp_for_transport_stop_requests

PB-974: Migration from trias to ojp for transport stop requests
Copy link
Member

@hansmannj hansmannj left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM.
Will take care of the merge conflicts

@hansmannj hansmannj merged commit 1ca5150 into develop-2024-12-18 Dec 9, 2024
2 checks passed
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.

2 participants