mik-laj commented on a change in pull request #7197:
URL: https://github.com/apache/airflow/pull/7197#discussion_r427516486
##########
File path: UPDATING.md
##########
@@ -118,6 +118,29 @@ plugins =
- Added optional project_id argument to DataflowCreatePythonJobOperator
constructor.
+### GCSUploadSessionCompleteSensor signature change
+
+To provide more precise control in handling of changes to objects in
+underlying GCS Bucket the constructor of this sensor now has changed.
+
+- Old Behavior: This constructor used to optionally take
``previous_num_objects: int``.
+- New replacement constructor kwarg: ``previous_objects: Optional[Set[str]]``.
+
+Most users would not specify this argument because the bucket begins empty
+and the user wants to treat any files as new.
+
+Example of Updating usage of this sensor:
+Users who used to call:
+
+``GCSUploadSessionCompleteSensor('my_bucket', 'my_prefix',
previous_num_objects=1)``
Review comment:
Operators must use keywords arguments. See: @apply_defaults.
----------------------------------------------------------------
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]