You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2025/11/20 18:54:08 UTC

Re: [PR] Remove FastAPI upper constraint [airflow]

pierrejeambrun commented on code in PR #58524:
URL: https://github.com/apache/airflow/pull/58524#discussion_r2547276788


##########
task-sdk/dev/generate_task_sdk_models.py:
##########
@@ -75,6 +76,7 @@ def load_config():
     return cfg
 
 
+@mock.patch("fastapi._compat.v2.get_long_model_name", lambda model: model.__name__)

Review Comment:
   FastAPI 0.119.0 introduces a new way to handle conflicting names in the openapi schema, this create super long ExecutionAPIAssetResponse etc...
   
   This restores the old behavior while we figure out a better way of handling this.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org