refactor(chalice): refactored code
This commit is contained in:
parent
d3851cedec
commit
6e1316c05f
3 changed files with 7 additions and 9 deletions
|
|
@ -1,11 +1,9 @@
|
||||||
import logging
|
import logging
|
||||||
from typing import List, Union
|
|
||||||
|
|
||||||
import schemas
|
import schemas
|
||||||
from chalicelib.core import events, metadata, projects
|
from chalicelib.core import metadata, projects
|
||||||
from chalicelib.core.sessions import sessions_favorite, performance_event, sessions_legacy
|
from chalicelib.core.sessions import sessions_favorite, sessions_legacy
|
||||||
from chalicelib.utils import pg_client, helper, metrics_helper
|
from chalicelib.utils import pg_client, helper
|
||||||
from chalicelib.utils import sql_helper as sh
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ from fastapi import BackgroundTasks
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
|
||||||
import schemas
|
import schemas
|
||||||
from chalicelib.core import authorizers, metadata
|
from chalicelib.core import authorizers
|
||||||
from chalicelib.core import tenants, spot, scope
|
from chalicelib.core import tenants, spot
|
||||||
from chalicelib.utils import email_helper
|
from chalicelib.utils import email_helper
|
||||||
from chalicelib.utils import helper
|
from chalicelib.utils import helper
|
||||||
from chalicelib.utils import pg_client
|
from chalicelib.utils import pg_client
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ from pydantic import BaseModel
|
||||||
from starlette import status
|
from starlette import status
|
||||||
|
|
||||||
import schemas
|
import schemas
|
||||||
from chalicelib.core import authorizers, metadata
|
from chalicelib.core import authorizers
|
||||||
from chalicelib.core import tenants, roles, spot, scope
|
from chalicelib.core import tenants, roles, spot
|
||||||
from chalicelib.utils import email_helper
|
from chalicelib.utils import email_helper
|
||||||
from chalicelib.utils import helper
|
from chalicelib.utils import helper
|
||||||
from chalicelib.utils import pg_client
|
from chalicelib.utils import pg_client
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue