File size: 313 Bytes
fb3f5ce
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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)