uranusjr commented on code in PR #68778:
URL: https://github.com/apache/airflow/pull/68778#discussion_r3449019551


##########
airflow-core/src/airflow/partition_mappers/base.py:
##########
@@ -147,6 +153,7 @@ def __init__(
         upstream_mapper: PartitionMapper,
         window: Window,
         wait_policy: WaitPolicy | None = None,
+        rerun_policy: RerunPolicy | str = RerunPolicy.HOLD,

Review Comment:
   ```suggestion
           rerun_policy: RerunPolicy = RerunPolicy.HOLD,
   ```
   
   No need to consider the str case since this is a core class, not 
user-facing. (See `wait_policy`.)



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