Api v1.15.0 (#1600)

* fix(chalice): fixed assist stats
This commit is contained in:
Kraiem Taha Yassine 2023-11-01 00:33:15 +01:00 committed by GitHub
parent 822cae801b
commit 62b8e4e396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
from typing import Optional
from chalicelib.core import roles, traces, assist_records, sessions
from chalicelib.core import unlock, signals
from chalicelib.core import sessions_insights, assist_stats
from chalicelib.core import unlock, signals
from chalicelib.utils import assist_helper
unlock.check()
@ -8,7 +10,7 @@ unlock.check()
from or_dependencies import OR_context, OR_role
from routers.base import get_routers
import schemas
from fastapi import Depends, Body
from fastapi import Depends, Body, Query
public_app, app, app_apikey = get_routers()
@ -191,4 +193,4 @@ def get_assist_stats_sessions(
return assist_stats.get_sessions(
project_id=project_id,
data=data
)
)