adam-aczel-towa commented on issue #41470: URL: https://github.com/apache/airflow/issues/41470#issuecomment-2633391896
I'm getting the same warning for a ShortCircuitOperator in Version 2.10.4 `{baseoperator.py:421} WARNING - ShortCircuitOperator.execute cannot be called outside TaskInstance!` The DAG configuration looks like this: ` # Create Airflow Operators for each task dynamically task_objects = {} for task_id, python_callable in tasks: if task_id.startswith('get_'): task_objects[task_id] = ShortCircuitOperator( task_id=task_id, python_callable=python_callable, op_kwargs={ 'credentials': credentials }, dag=dag, ) else: task_objects[task_id] = PythonOperator( task_id=task_id, python_callable=python_callable, op_kwargs={ 'credentials': credentials }, dag=dag, )` -- 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