Skip to content
Snippets Groups Projects
Verified Commit f47710f6 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Refactor: Print value of TokenWrapper in __repr__

parent ee96c3c7
No related branches found
No related tags found
No related merge requests found
Pipeline #19478 passed
......@@ -56,6 +56,9 @@ class TokenWrapper:
"""Returns the stored value."""
return self._real_value
def __repr__(self) -> str:
return f"TokenWrapper({self._real_value})"
def __getattr__(self, name: str) -> Any:
"""
Delegates attribute access to the wrapped token.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment