kaxil commented on a change in pull request #4500: [AIRFLOW-3681] All GCP 
operators have now optional GCP Project ID
URL: https://github.com/apache/airflow/pull/4500#discussion_r247324501
 
 

 ##########
 File path: airflow/contrib/hooks/gcp_spanner_hook.py
 ##########
 @@ -39,13 +37,14 @@ def __init__(self,
                  delegate_to=None):
         super(CloudSpannerHook, self).__init__(gcp_conn_id, delegate_to)
 
+    @GoogleCloudBaseHook.fallback_to_default_project_id
     def get_client(self, project_id):
-        # type: (str) -> Client
+        # noinspection LongLine
 
 Review comment:
   Can we remove this, please? It would also remove real long-line code

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to