-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Apache Airflow version
2.6.2
What happened
airflow doesn't work correct UPDATE: with Pydantic 2 released on 30th of June UPDATE:, raises
pydantic.errors.PydanticUserError: A non-annotated attribute was detected: dag_id = <class 'str'>. All model fields require a type annotation; if dag_idis not meant to be a field, you may be able to resolve this error by annotating it as aClassVaror updatingmodel_config['ignored_types'].
What you think should happen instead
No response
How to reproduce
just install apache-airflow and run airflow db init
Operating System
Ubuntu 22.04.2 LTS
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet