o-nikolas commented on code in PR #66491:
URL: https://github.com/apache/airflow/pull/66491#discussion_r3222067734
##########
airflow-core/src/airflow/cli/commands/dag_command.py:
##########
@@ -740,4 +741,6 @@ def dag_reserialize(args, session: Session = NEW_SESSION)
-> None:
continue
bundle.initialize()
dag_bag = BundleDagBag(bundle.path, bundle_path=bundle.path,
bundle_name=bundle.name)
- sync_bag_to_db(dag_bag, bundle.name,
bundle_version=bundle.get_current_version(), session=session)
+ result = bundle.get_current_version()
+ version = result.version if isinstance(result, BundleVersion) else
result
Review Comment:
Sure, will do
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]