mik-laj commented on a change in pull request #6096: [AIRFLOW-5477] Rewrite 
Google PubSub Hook to Google Cloud Python
URL: https://github.com/apache/airflow/pull/6096#discussion_r325137231
 
 

 ##########
 File path: airflow/gcp/operators/pubsub.py
 ##########
 @@ -326,34 +505,68 @@ class PubSubSubscriptionDeleteOperator(BaseOperator):
         For this to work, the service account making the request
         must have domain-wide delegation enabled.
     :type delegate_to: str
+    :param retry: (Optional) A retry object used to retry requests.
+        If None is specified, requests will not be retried.
+    :type retry: google.api_core.retry.Retry
+    :param timeout: (Optional) The amount of time, in seconds, to wait for the 
request
+        to complete. Note that if retry is specified, the timeout applies to 
each
+        individual attempt.
+    :type timeout: float
+    :param metadata: (Optional) Additional metadata that is provided to the 
method.
+    :type metadata: Sequence[Tuple[str, str]]]
+    :param project: (Deprecated) the GCP project ID where the topic will be 
created
+    :type project: str
     """
-    template_fields = ['project', 'subscription']
+    template_fields = ['project_id', 'subscription']
 
 Review comment:
   ```suggestion
       template_fields = ['project', 'project_id', 'subscription']
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to