ephraimbuddy commented on code in PR #73327:
URL: https://github.com/apache/airflow/pull/73327#discussion_r4229009175
##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -584,7 +577,7 @@ def make_client(self) -> Client:
"""
from airflow.sdk.api.client import Client
- client = Client(base_url=None, token="", dry_run=True,
transport=in_process_api_server().transport)
+ client = Client(base_url=None, token="", dry_run=True,
transport=InProcessExecutionAPI().transport)
Review Comment:
Calling the factory directly would only give us the app. We would still need
to connect the triggerer's client to it, configure authentication for local
requests, and manage startup and shutdown. The helper already handles those
pieces, so using it avoids duplicating that setup here.
--
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]