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


##########
airflow-core/src/airflow/timetables/simple.py:
##########
@@ -235,31 +247,84 @@ def next_dagrun_info(
         return None
 
 
+DEFAULT_PARTITION_MAPPER = IdentityMapper()
+
+
 class PartitionedAssetTimetable(AssetTriggeredTimetable):
     """Asset-driven timetable that listens for partitioned assets."""
 
     @property
     def summary(self) -> str:
         return "Partitioned Asset"
 
-    def __init__(self, assets: SerializedAssetBase, partition_mapper: 
PartitionMapper) -> None:
+    def __init__(
+        self,
+        *,
+        assets: SerializedAssetBase,
+        partition_mapper_mapping: dict[SerializedAssetBase, PartitionMapper] | 
None = None,

Review Comment:
   no strong opinion. All of them are hard to understand IMO. Will change it to 
`partition_mapper_config`. thanks



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