o-nikolas commented on issue #19264: URL: https://github.com/apache/airflow/issues/19264#issuecomment-954340626
> I think you can store the triggered DAG's execution date on the operator instance, and do operator.execution_date in get_link()? Yeah, this was my first thought at well. But `operator.execution_date` returns None in the `get_link()` method even if you set `self.execution_date = ...` in the `execute()` method. And to me that makes sense because the `get_link()` code is being evaluated on the webserver whereas the instance that's running `execute()` is running on the worker/scheduler, so you're not dealing with the same object instance in each case. But do correct me if I'm wrong here, perhaps there was an error in my testing. -- 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]
