1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

move models to api

This commit is contained in:
checktheroads
2020-02-01 08:44:33 -10:00
parent 0f749a5547
commit 0d91c79af9
9 changed files with 17 additions and 17 deletions

View File

@@ -11,12 +11,12 @@ from fastapi.openapi.docs import get_swagger_ui_html
from starlette.requests import Request
# Project Imports
from hyperglass.api.models.query import Query
from hyperglass.configuration import REDIS_CONFIG
from hyperglass.configuration import devices
from hyperglass.configuration import params
from hyperglass.exceptions import HyperglassError
from hyperglass.execution.execute import Execute
from hyperglass.models.query import Query
from hyperglass.util import log
Cache = aredis.StrictRedis(db=params.cache.database, **REDIS_CONFIG)