kulasbart opened a new issue, #32431:
URL: https://github.com/apache/airflow/issues/32431

   ### Apache Airflow version
   
   2.6.2
   
   ### What happened
   
   When launching webserver, pydantic raised errors. Not sure if this is 
expected behavior or not. 
   
   However, I was able to resolve the error/warning message by downgrading 
pydantic to 1.10.10
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   airflow webserver -p 8080
   
   raise PydanticUserError(
   pydantic.errors.PydanticUserError: A non-annotated attribute was detected: 
`dag_id = <class 'str'>`. All model fields require a type annotation; if 
`dag_id` is not meant to be a field, you may be able to resolve this error by 
annotating it as a `ClassVar` or updating `model_config['ignored_types']`.
   
   For further information visit 
https://errors.pydantic.dev/2.0.2/u/model-field-missing-annotation
   
   ### Operating System
   
   macos
   
   ### 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
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to