Skip to content

Commit

Permalink
Add a comment about how the version variable's content is structured
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelot committed Aug 1, 2024
1 parent d6b12d6 commit 09bf5cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cset_openalex_augmentation_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def get_updated_version() -> str:
:return: Updated semver string
"""
oa_variable = "cset_openalex_version"
# This is a dict mapping "current_version" to the current semver version and "increment" to the part
# of the version string that should be updated ("major", "minor", or "patch")
version_config = Variable.get(oa_variable, deserialize_json=True)
version_to_updater = {
"major": semver.bump_major,
Expand Down

0 comments on commit 09bf5cb

Please sign in to comment.