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_r325137820
########## File path: airflow/gcp/operators/pubsub.py ########## @@ -403,29 +617,43 @@ class PubSubPublishOperator(BaseOperator): For this to work, the service account making the request must have domain-wide delegation enabled. :type delegate_to: str + :param project: (Deprecated) the GCP project ID where the topic will be created + :type project: str """ - template_fields = ['project', 'topic', 'messages'] + template_fields = ['project_id', 'topic', 'messages'] Review comment: ```suggestion template_fields = ['project', 'project_id', 'topic', 'messages'] ``` ---------------------------------------------------------------- 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