project/repr
This commit is contained in:
parent
e0da3ad50c
commit
d3d09445a0
1 changed files with 4 additions and 0 deletions
|
@ -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"""\
|
||||
|
|
Loading…
Reference in a new issue