kaxil commented on code in PR #56660:
URL: https://github.com/apache/airflow/pull/56660#discussion_r2436376310
##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -2346,7 +2346,7 @@ def _create_orm_dagrun(
run.dag = dag
# create the associated task instances
# state is None at the moment of creation
- run.verify_integrity(session=session, dag_version_id=dag_version.id)
+ run.verify_integrity(session=session, dag_version_id=dag_version.id if
dag_version else None)
Review Comment:
its not about keyword-only or positional arg though, the typehint says
`UUIDType` so technically `None` shouldn't be allowed (both for static
type-checking and just for general understanding)
--
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]