uranusjr commented on code in PR #40478:
URL: https://github.com/apache/airflow/pull/40478#discussion_r1668062610
##########
airflow/datasets/__init__.py:
##########
@@ -159,6 +161,23 @@ def iter_datasets(self) -> Iterator[tuple[str, Dataset]]:
raise NotImplementedError
[email protected]()
+class DatasetAlias:
+ """A represeation of datasets to be created during the runtime."""
+
+ name: str
+
+ def __str__(self) -> str:
+ return f"DatasetAlias(name={self.name})"
Review Comment:
Isn’t `__str__` generation a built-in feature from attrs?
--
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]