You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/18 20:25:53 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #20930: Fix Mypy "no attribute" errors in `airflow/contrib/sensors`

potiuk commented on a change in pull request #20930:
URL: https://github.com/apache/airflow/pull/20930#discussion_r787123196



##########
File path: airflow/providers/microsoft/azure/sensors/wasb.pyi
##########
@@ -41,3 +42,7 @@ class WasbBlobSensor(BaseSensorOperator):
         check_options: Optional[dict] = None,
         **kwargs,
     ) -> None: ...
+
+# Adding this public module override to suppress Mypy errors stating
+# "airflow.providers.microsoft.azure.sensors.wasb has no attribute 'WasbPrefixSensor'".
+__all__ = ["WasbBlobSensor", "WasbPrefixSensor"]

Review comment:
       Lets' 'remove the .pyi files once and for all: #20936 




-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org