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


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_structure.py:
##########
@@ -110,20 +114,19 @@ def asset2() -> Asset:
 
 
 @pytest.fixture
-def asset3() -> Dataset:
-    return Dataset(uri="s3://dataset-bucket/example.csv")
+def asset3() -> Asset:

Review Comment:
   We use `Dataset` here intentionally as `Dataset` is a subclass of `Asset` 
and we want to make sure `Asset`'s subclass can be shown correctly



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