vincbeck commented on PR #28900:
URL: https://github.com/apache/airflow/pull/28900#issuecomment-1622239652

   > > This is apparently a known issue. Pydantic does not handle well type 
aliasing even with `from __future__ import annotations`. I disabled the check 
in Pydantic models and use `Optional[...]` instead of `... | None`
   > 
   > Oh yes. We have disabled from_future for Pydantic.
   
   It was still trying to fix it, meaning `Optional[...]` was updated to `... | 
None`. I disabled it by ignoring `UP007`


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