rawwar commented on code in PR #48548:
URL: https://github.com/apache/airflow/pull/48548#discussion_r2020897351


##########
airflow-core/src/airflow/api_fastapi/execution_api/app.py:
##########
@@ -132,6 +132,7 @@ def create_task_execution_api_app() -> FastAPI:
         description="The private Airflow Task Execution API.",
         lifespan=lifespan,
         api_version_parameter_name="Airflow-API-Version",
+        api_version_default_value=bundle.versions[0].value,

Review Comment:
   @kaxil , head_version is an object.   `api_version_default_value` needs to 
be a string or a func returning string. 
   
   I just set it to head_version and its failing
   
   EDIT: Also, head version does not seem to have any value. 



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