uranusjr commented on code in PR #44831:
URL: https://github.com/apache/airflow/pull/44831#discussion_r1895135944
##########
task_sdk/src/airflow/sdk/definitions/asset/__init__.py:
##########
@@ -71,6 +71,9 @@ def from_asset(asset: Asset | AssetModel) -> AssetUniqueKey:
def to_asset(self) -> Asset:
return Asset(name=self.name, uri=self.uri)
+ def to_tuple(self) -> tuple[str, str]:
Review Comment:
We can just use `attrs.astuple`
--
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]