11 lines
321 B
Python
11 lines
321 B
Python
class Session:
|
|
def __init__(self, session: str) -> None:
|
|
self.session = session
|
|
|
|
def __str__(self) -> str:
|
|
return self.session
|
|
|
|
def __eq__(self, other: object) -> bool:
|
|
if not isinstance(other, Session):
|
|
return False
|
|
return self.session == other.session |