24 lines
454 B
Python
24 lines
454 B
Python
"""
|
|
SMAVS Shared Kernel - Session Identifier.
|
|
|
|
Defines the unique identifier for a Session.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from shared.identity.identifier import Identifier
|
|
|
|
__all__ = ["SessionId"]
|
|
|
|
|
|
@dataclass(frozen=True, slots=True)
|
|
class SessionId(Identifier):
|
|
"""
|
|
Unique identifier of a Session.
|
|
|
|
This identifier is used to uniquely identify a Session
|
|
within the SMAVS framework.
|
|
"""
|