leakec commented on issue #50911:
URL: https://github.com/apache/airflow/issues/50911#issuecomment-3081909775
For anyone looking to reproduce the problem, a simple way to do so is run
the following DAG in an airflow instance:
```python
from airflow import DAG
from datetime import datetime
from airflow.providers.standard.operators.bash import BashOperator
from airflow.providers.standard.operators.latest_only import
LatestOnlyOperator
with DAG(
"test_job",
description="Job to test latest only operator.",
schedule="* * * * *",
start_date=datetime(2024, 12, 11),
catchup=False,
):
# latest only operator
task1 = LatestOnlyOperator(task_id="latest_only")
task2 = BashOperator(bash_command="echo test", task_id="task2")
task1 >> task2
```
--
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]