potiuk commented on a change in pull request #7613: [AIRFLOW-6978] Add 
PubSubPullOperator
URL: https://github.com/apache/airflow/pull/7613#discussion_r387672702
 
 

 ##########
 File path: airflow/providers/google/cloud/sensors/pubsub.py
 ##########
 @@ -94,6 +114,18 @@ def __init__(
                 "the project_id parameter.", DeprecationWarning, stacklevel=2)
             project_id = project
 
+        if not return_immediately:
+            warnings.warn(
+                "The return_immediately parameter is deprecated.\n"
 
 Review comment:
   :+1: 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to