We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RepoVersionInfo.__repr__()
1 parent 6fde950 commit af7ad87Copy full SHA for af7ad87
src/frequenz/repo/config/version.py
@@ -516,3 +516,10 @@ def is_branch_latest(self) -> bool:
516
)
517
return False
518
return branch == latest[0]
519
+
520
+ def __repr__(self) -> str:
521
+ """Return a string representation of the object."""
522
+ return (
523
+ f"{self.__class__.__name__}(sha={self._sha!r}, ref={self._ref!r}, "
524
+ f"tags={self._tags!r}, branches={self._branches!r})"
525
+ )
0 commit comments