ashb commented on PR #24486:
URL: https://github.com/apache/airflow/pull/24486#issuecomment-1237120423

   Wow mypy is confusing/wrong sometimes:
   
   ```
   
   airflow/example_dags/example_latest_only_with_trigger.py:39: error: 
Unexpected
   keyword argument "task_id" for "LatestOnlyOperator"  [call-arg]
           latest_only = LatestOnlyOperator(task_id='latest_only')
                         ^
   airflow/utils/log/logging_mixin.py: note: "LatestOnlyOperator" defined here
   airflow/example_dags/example_latest_only.py:34: error: Unexpected keyword
   argument "task_id" for "LatestOnlyOperator"  [call-arg]
           latest_only = LatestOnlyOperator(task_id='latest_only')
                         ^
   airflow/utils/log/logging_mixin.py: note: "LatestOnlyOperator" defined here
   ```


-- 
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]

Reply via email to