Alwaysgaurav1 opened a new pull request, #71493:
URL: https://github.com/apache/airflow/pull/71493

   ### Description
   Adds missing return type annotations (`-> None`, `-> Any`, `-> tuple[bool, 
str]`, `-> bool`) and parameter type hints to operators, sensors, and hooks in 
`providers/standard` and `providers/common/sql`.
   
   Key updates:
   - Added explicit return type hints to `EmptyOperator.execute`, 
`SmoothOperator.execute`, `BashOperator.execute`, 
`TriggerDagRunOperator.execute`, `SQLColumnCheckOperator.execute`, and 
`SQLExecuteQueryOperator.execute`.
   - Added return types to `test_connection()` in `FSHook` and `DbApiHook`.
   - Added explicit parameter type annotations for `BashSensor.__init__` and 
`FileSensor.__init__`.
   
   ### Tests
   - Validated static analysis with `ruff check` (all checks passed).


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