dabla commented on PR #44809:
URL: https://github.com/apache/airflow/pull/44809#issuecomment-2627351203

   I'm havind trouble fixing this mypy error as both the .py and and .pyi files 
do have a correct signature, at least from what I see:
   
   ```
   providers/common/sql/src/airflow/providers/common/sql/triggers/sql.pyi:45: 
error:
   Return type "Coroutine[Any, Any, AsyncIterator[TriggerEvent]]" of "run"
   incompatible with return type "AsyncIterator[TriggerEvent]" in supertype
   "BaseTrigger"  [override]
           async def run(self) -> AsyncIterator[TriggerEvent]: ...
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Found 1 error in 1 file (checked 
[36](https://github.com/apache/airflow/actions/runs/13053144783/job/36418264340?pr=44809#step:6:37)09
 source files)
   Error 1 returned
   You are running mypy with the folders selected. If you want to reproduce it l
   ```


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

Reply via email to