Lee-W commented on code in PR #66848:
URL: https://github.com/apache/airflow/pull/66848#discussion_r3393547556


##########
task-sdk/src/airflow/sdk/definitions/partition_mappers/base.py:
##########
@@ -65,5 +80,8 @@ def __init__(self, *, upstream_mapper: PartitionMapper, 
window: Window) -> None:
                 f"{window.expected_decoded_type.__name__}, or use a window 
whose "
                 f"'expected_decoded_type' accepts str."
             )
+        if wait_policy is None:
+            wait_policy = WaitForAll()
         self.upstream_mapper = upstream_mapper
         self.window = window
+        self.wait_policy = wait_policy

Review Comment:
   It's guarded with `if wait_policy is None` so I think is should be inferred 
as `WaitPolicy`? But probably can be resolved alone with the comment above



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to