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 2019/06/24 12:46:27 UTC
[GitHub] [airflow] potiuk commented on a change in pull request #5431:
[AIRFLOW-4782] Make GCP hooks Pylint compatible
potiuk commented on a change in pull request #5431: [AIRFLOW-4782] Make GCP hooks Pylint compatible
URL: https://github.com/apache/airflow/pull/5431#discussion_r296703599
##########
File path: airflow/contrib/hooks/gcp_sql_hook.py
##########
@@ -296,7 +302,7 @@ def export_instance(self, instance, body, project_id=None):
:return: None
"""
try:
- response = self.get_conn().instances().export(
+ response = self.get_conn().instances().export( # pylint: disable=no-member
Review comment:
We have quite a lot of the # pylint: disable=no-member - we can probably get rid of the pylint warning by annotating get_conn() with expected return type.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services