Lee-W commented on issue #57437: URL: https://github.com/apache/airflow/issues/57437#issuecomment-3461289291
In the latest main, the issue now locates in https://github.com/apache/airflow/blob/278a7560796faa73ab81457f232bd178392ed994/task-sdk/src/airflow/sdk/execution_time/context.py#L158-L170 I'm now using a the HITL example dag but change the notify function as ```python def notify(self, context: Context) -> None: from airflow.sdk.definitions.connection import Connection conn = Connection.get("smtp_default") url = HITLOperator.generate_link_to_ui_from_context( context=context, base_url="http://localhost:28080", ) self.log.info(self.message) self.log.info("Url to respond %s", URL) ``` It's not able to get the connection. But the execution API returns 200. -- 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]
