Commit 113c495f authored by Vladimír Štill's avatar Vladimír Štill
Browse files

lib: Add representation to hashes

parent 5f134463
Pipeline #67238 passed with stage
in 54 seconds
......@@ -60,6 +60,12 @@ class State:
def __hash__(self):
return hash(self.name)
def __str__(self) -> str:
return self.name
def __repr__(self) -> str:
return f"State({self.name})"
class Eps:
def __init__(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment