feat(chalice): fixed assist autocomplete
This commit is contained in:
parent
4fa11e8150
commit
e8cfaeda2b
1 changed files with 13 additions and 13 deletions
|
|
@ -268,23 +268,23 @@ def session_exists(project_id, session_id):
|
|||
|
||||
def __change_keys(key):
|
||||
return {
|
||||
"PAGETITLE": schemas.LiveFilterType.page_title,
|
||||
"PAGETITLE": schemas.LiveFilterType.page_title.value,
|
||||
"ACTIVE": "active",
|
||||
"LIVE": "live",
|
||||
"SESSIONID": schemas.LiveFilterType.session_id,
|
||||
"METADATA": schemas.LiveFilterType.metadata,
|
||||
"USERID": schemas.LiveFilterType.user_id,
|
||||
"USERUUID": schemas.LiveFilterType.user_UUID,
|
||||
"SESSIONID": schemas.LiveFilterType.session_id.value,
|
||||
"METADATA": schemas.LiveFilterType.metadata.value,
|
||||
"USERID": schemas.LiveFilterType.user_id.value,
|
||||
"USERUUID": schemas.LiveFilterType.user_UUID.value,
|
||||
"PROJECTKEY": "projectKey",
|
||||
"REVID": schemas.LiveFilterType.rev_id,
|
||||
"REVID": schemas.LiveFilterType.rev_id.value,
|
||||
"TIMESTAMP": "timestamp",
|
||||
"TRACKERVERSION": schemas.LiveFilterType.tracker_version,
|
||||
"TRACKERVERSION": schemas.LiveFilterType.tracker_version.value,
|
||||
"ISSNIPPET": "isSnippet",
|
||||
"USEROS": schemas.LiveFilterType.user_os,
|
||||
"USERBROWSER": schemas.LiveFilterType.user_browser,
|
||||
"USERBROWSERVERSION": schemas.LiveFilterType.user_browser_version,
|
||||
"USERDEVICE": schemas.LiveFilterType.user_device,
|
||||
"USERDEVICETYPE": schemas.LiveFilterType.user_device_type,
|
||||
"USERCOUNTRY": schemas.LiveFilterType.user_country,
|
||||
"USEROS": schemas.LiveFilterType.user_os.value,
|
||||
"USERBROWSER": schemas.LiveFilterType.user_browser.value,
|
||||
"USERBROWSERVERSION": schemas.LiveFilterType.user_browser_version.value,
|
||||
"USERDEVICE": schemas.LiveFilterType.user_device.value,
|
||||
"USERDEVICETYPE": schemas.LiveFilterType.user_device_type.value,
|
||||
"USERCOUNTRY": schemas.LiveFilterType.user_country.value,
|
||||
"PROJECTID": "projectId"
|
||||
}.get(key.upper(), key)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue