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


##########
airflow-core/tests/unit/jobs/test_scheduler_job.py:
##########
@@ -8701,10 +8702,13 @@ def test_partitioned_dag_run_with_customized_mapper(
         with dag_maker(
             dag_id="asset-event-consumer",
             schedule=PartitionedAssetTimetable(
-                assets=asset_1,
-                # TODO: (GH-57694) this partition mapper interface will be 
moved into asset as per-asset mapper
-                # and the type mismatch will be handled there
-                partition_mapper=Key1Mapper(),  # type: ignore[arg-type]
+                assets=Asset(name="asset-1"),

Review Comment:
   reverted this and keep the one that use `Asset.ref` to ensure this also 
works for `Asset.ref`



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