bolkedebruin commented on code in PR #36947:
URL: https://github.com/apache/airflow/pull/36947#discussion_r1463152779


##########
airflow/io/path.py:
##########
@@ -129,7 +130,11 @@ def __new__(
 
             return _cls(_cls._format_parsed_parts(drv, root, parts, 
**other_kwargs), **new_kwargs)
 
-        url = stringify_path(other)
+        if isinstance(other, Dataset):
+            url = other.uri
+        else:
+            url = stringify_path(other)

Review Comment:
   Mmm Iike that too. And maybe both ways then?



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to