Skip to content

Conversation

@jm-rivera
Copy link
Collaborator

This pull request updates the oda_reader package to version 1.3.5, focusing on making the dataflow version handling more robust and preventing crashes when URLs do not contain a version pattern. The changes ensure that the code gracefully handles edge cases during API version fallback logic.

Improvements to dataflow version handling:

  • The _get_dataflow_version() function now returns None if no version pattern is found in the URL, instead of raising an exception. This prevents crashes when the URL does not include a version.
  • The dataflow version fallback logic in get_data_from_api() now only attempts to fallback if a version is actually present in the URL, further improving robustness.

Project metadata:

  • Bumped the package version to 1.3.5 in pyproject.toml to reflect the new release.
  • Updated the changelog to document the bugfix and clarify the improved error detection logic.

@jm-rivera jm-rivera merged commit 8a6bdba into main Dec 19, 2025
9 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