mhenc commented on code in PR #34042:
URL: https://github.com/apache/airflow/pull/34042#discussion_r1314901577
##########
airflow/serialization/pydantic/dag_run.py:
##########
@@ -26,7 +26,7 @@
class DagRunPydantic(BaseModelPydantic):
"""Serializable representation of the DagRun ORM SqlAlchemyModel used by
internal API."""
- id: int
+ id: Optional[int]
Review Comment:
I also thought that, but it is None during creation (before submission to
DB) - it is assigned by SQLAlchemy after you run
```
session.add(obj)
session.commit()
```
--
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]