mik-laj commented on pull request #11159:
URL: https://github.com/apache/airflow/pull/11159#issuecomment-699461611


   @in static check CI, mypy is throwing the same error which pylint is set to 
ignore. Can we ignore this mypy error?
   
   ```
   airflow/providers/snowflake/hooks/snowflake.py:55: error: "SnowflakeHook" has
   no attribute "snowflake_conn_id"
               conn = self.get_connection(self.snowflake_conn_id)  # pylint: ...
                                          ^
   airflow/providers/snowflake/hooks/snowflake.py:129: error: "SnowflakeHook" 
has
   no attribute "snowflake_conn_id"
               if self.snowflake_conn_id:  # pylint: disable=no-member
                  ^
   airflow/providers/snowflake/hooks/snowflake.py:130: error: "SnowflakeHook" 
has
   no attribute "snowflake_conn_id"
       ...         connection_object = 
self.get_connection(self.snowflake_conn_i...
   ```
   Yes. These errors can be ignored by `typing: ignore` because we're sure 
these attributes exist but are dynamically created.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to