uranusjr commented on code in PR #28841: URL: https://github.com/apache/airflow/pull/28841#discussion_r1066630501
########## airflow/api_internal/endpoints/rpc_api_endpoint.py: ########## @@ -33,11 +32,17 @@ def _build_methods_map(list) -> dict: return {f"{func.__module__}.{func.__name__}": func for func in list} -METHODS_MAP = _build_methods_map( - [ - DagFileProcessor.update_import_errors, - ] -) +def _initialize_map() -> dict: Review Comment: I think we should inline `_build_methods_map` into 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org