c-reviewer / storage.py
ml-visoft's picture
Added a stub for logging and long term storage.
fb3f5ce
raw
history blame
313 Bytes
import dataclasses
from datetime import datetime
@dataclasses.dataclass(slots=True)
class NavigationEvent():
version:int = 1
event_type:str = '(none)'
event_date:str = datetime.isoformat(datetime.utcnow())
event_session_id:str = ""
event_params:dict=dataclasses.field(default_factory=dict)