diff --git a/airflow/serialization/pydantic/dataset.py b/airflow/serialization/pydantic/dataset.py index 5ee0d18128be0..659e5a1899cac 100644 --- a/airflow/serialization/pydantic/dataset.py +++ b/airflow/serialization/pydantic/dataset.py @@ -38,10 +38,10 @@ class TaskOutletDatasetReferencePydantic(BaseModelPydantic): """Serializable version of the TaskOutletDatasetReference ORM SqlAlchemyModel used by internal API.""" dataset_id: int - dag_id = str - task_id = str - created_at = datetime - updated_at = datetime + dag_id: str + task_id: str + created_at: datetime + updated_at: datetime class Config: """Make sure it deals automatically with SQLAlchemy ORM classes."""