Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MyPy issues in AWS Sensors (#20863)
Part of apache/airflow#19891 Before: ``` root@12e9fcfb4678:/opt/airflow# mypy --namespace-packages airflow/providers/amazon/aws/sensors airflow/providers/amazon/aws/sensors/s3.py:182: error: Incompatible types in assignment (expression has type "function", variable has type "Callable[..., bool]") [assignment] check_fn: Callable[..., bool] = self.check_fn_user if self.check_fn_user is not None else self.check_fn ^ Found 1 error in 1 file (checked 33 source files) ``` After: ``` root@12e9fcfb4678:/opt/airflow# mypy --namespace-packages airflow/providers/amazon/aws/sensors Success: no issues found in 33 source files ``` GitOrigin-RevId: b15027410b4a985c15b1d7b2b2a0eedf2173f416
- Loading branch information