ramitkataria commented on issue #48473: URL: https://github.com/apache/airflow/issues/48473#issuecomment-2767715748
@gopidesupavan It looks like the first example is fixed but the 2nd one still fails with a similar stack trace: ``` [2025-04-01, 00:23:55] INFO - DAG bundles loaded: dags-folder: source="airflow.dag_processing.bundles.manager.DagBundlesManager" [2025-04-01, 00:2[3](http://localhost:28080/dags/example_branch_dop_operator_v3/runs/manual__2025-04-01T00:23:54.932689+00:00_zWc8U2FN/tasks/should_run?try_number=1#3):55] INFO - Filling up the DagBag from /files/dags/example_branch_python_dop_operator_3.py: source="airflow.models.dagbag.DagBag" [2025-04-01, 00:23:55] ERROR - Task failed with exception: source="task" KeyError: 'logical_date' File "/opt/airflow/task-sdk/src/airflow/sdk/execution_time/task_runner.py", line 670 in run File "/opt/airflow/task-sdk/src/airflow/sdk/execution_time/task_runner.py", line 927 in _execute_task File "/opt/airflow/task-sdk/src/airflow/sdk/bases/operator.py", line 380 in wrapper File "/opt/airflow/airflow-core/src/airflow/decorators/base.py", line 252 in execute File "/opt/airflow/task-sdk/src/airflow/sdk/bases/operator.py", line 380 in wrapper File "/opt/airflow/providers/standard/src/airflow/providers/standard/operators/python.py", line 255 in execute File "/opt/airflow/task-sdk/src/airflow/sdk/bases/operator.py", line 380 in wrapper File "/opt/airflow/providers/standard/src/airflow/providers/standard/operators/python.py", line 212 in execute File "/opt/airflow/providers/standard/src/airflow/providers/standard/operators/python.py", line 235 in execute_callable File "/opt/airflow/task-sdk/src/airflow/sdk/execution_time/callback_runner.py", line 81 in run File "/files/dags/example_branch_python_dop_operator_3.py", line [4](http://localhost:28080/dags/example_branch_dop_operator_v3/runs/manual__2025-04-01T00:23:54.932689+00:00_zWc8U2FN/tasks/should_run?try_number=1#4)0 in should_run ``` Does it work on your machine? -- 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]
