fix(api): city and state in ee

This commit is contained in:
Shekar Siri 2023-06-20 15:29:43 +02:00
parent 770d8ee7e4
commit d9ff686c78
2 changed files with 4 additions and 0 deletions

View file

@ -16,6 +16,8 @@ def __get_autocomplete_table(value, project_id):
schemas.FilterType.user_os,
schemas.EventType.custom,
schemas.FilterType.user_country,
schemas.FilterType.user_city,
schemas.FilterType.user_state,
schemas.EventType.location,
schemas.EventType.input]
autocomplete_events.sort()

View file

@ -110,6 +110,8 @@ class SessionModel(BaseModel):
eventsCount: int
userBrowser: str
userCountry: str
userCity: str
userState: str
userDeviceType: str
userAnonymousId: Optional[str]
metadata: dict = Field(default={})