potiuk 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_r247325761
 
 

 ##########
 File path: airflow/contrib/hooks/gcp_bigtable_hook.py
 ##########
 @@ -60,19 +64,23 @@ def get_instance(self, project_id, instance_id):
             return None
         return instance
 
+    @GoogleCloudBaseHook.fallback_to_default_project_id
     def delete_instance(self, project_id, instance_id):
         """
         Deletes the specified Cloud Bigtable instance.
-        Raises google.api_core.exceptions.NotFound if the Cloud Bigtable 
instance does not exist.
+        Raises google.api_core.exceptions.NotFound if the Cloud Bigtable 
instance does
+        not exist.
 
-        :param project_id: The ID of the GCP project.
+        :param project_id: The ID of the GCP project. If set to None, default 
project_id
+            from service account is used.
 
 Review comment:
   Right. I change it everywhere.

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