Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve pydantic deprecation warnings re update_forward_refs #34657

Merged
merged 1 commit into from Sep 28, 2023

Conversation

dstandish
Copy link
Contributor

Resolves warnings such as these:

airflow/serialization/pydantic/dag_run.py:126 PydanticDeprecatedSince20: The update_forward_refs method is deprecated; use model_rebuild instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.4/migration/

Resolves warnings such as these:

airflow/serialization/pydantic/dag_run.py:126 PydanticDeprecatedSince20: The `update_forward_refs` method is deprecated; use `model_rebuild` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.4/migration/
@dstandish dstandish merged commit 729e5fb into apache:main Sep 28, 2023
43 checks passed
@dstandish dstandish deleted the fix-pydantic-deprecation-warning branch September 28, 2023 16:12
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Oct 3, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.0 milestone Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants