project/repr

This commit is contained in:
Marc Beninca 2024-09-15 01:14:39 +02:00
parent e0da3ad50c
commit d3d09445a0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -45,6 +45,10 @@ class Project:
# url
self.url = add_url_path(projects.url, self.name)
def __repr__(self) -> str:
"""List branch, name, root & url."""
return f"Project(projects={self.projects!r})"
def __str__(self) -> str:
"""List branch, name, root & url."""
return f"""\