ephraimbuddy commented on code in PR #74793:
URL: https://github.com/apache/airflow/pull/74793#discussion_r4423424084
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -418,6 +522,28 @@ def prepare_server_process_context(self) -> None:
# Related: https://github.com/apache/airflow/pull/57459
os.environ["_AIRFLOW_PROCESS_CONTEXT"] = "server"
+ def prepare_api_secrets_context(self, api_client: DagProcessorAPIClient)
-> None:
+ """
+ Resolve this process's own connection and variable lookups through
``api_client``.
+
+ Bundle code runs in this process, for example a Git bundle reading its
connection. Its secret
+ lookups use the API. Parse processes replace
Review Comment:
Took the docstring option: it now says only Python parse processes replace
`SUPERVISOR_COMMS`, so Lang-SDK processes still use the inherited channel.
Happy to reset it in `_start_runtime_entrypoint` instead if you prefer.
--
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]