jscheffl commented on code in PR #64981:
URL: https://github.com/apache/airflow/pull/64981#discussion_r3060772111


##########
providers/common/ai/src/airflow/providers/common/ai/plugins/hitl_review.py:
##########
@@ -239,6 +276,10 @@ def _build_session_response(
     ),
 )
 
+_FIND_SESSION_DEPENDENCIES = _get_access_dependencies(method="GET", 
airflow_v_3_1_plus=AIRFLOW_V_3_1_PLUS)
+_UPDATE_SESSION_DEPENDENCIES = _get_access_dependencies(method="PUT", 
airflow_v_3_1_plus=AIRFLOW_V_3_1_PLUS)
+_FASTAPI_APPS = 
_get_plugin_fastapi_apps(airflow_v_3_1_plus=AIRFLOW_V_3_1_PLUS, 
app=hitl_review_app)

Review Comment:
   Why adding a constant and not using the function call directly in the 
decorator?



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