mhenc commented on code in PR #29306:
URL: https://github.com/apache/airflow/pull/29306#discussion_r1095516197
##########
airflow/api_internal/endpoints/rpc_api_endpoint.py:
##########
@@ -51,7 +51,7 @@ def _initialize_map() -> dict[str, Callable]:
Variable.update,
Variable.delete,
]
- return {f"{func.__module__}.{func.__name__}": func for func in functions}
+ return {f"{func.__module__}.{func.__qualname__}": func for func in
functions}
Review Comment:
Unfortunatelly it doesn't work.
for functions it uses the old format (`__name__` instead of `__qualname__`)
https://github.com/apache/airflow/blob/main/airflow/utils/module_loading.py#L47
--
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]