Skip to content

Commit

Permalink
Merge branch 'setup-sqlite-database' of github.com-work:groundlight/e…
Browse files Browse the repository at this point in the history
…dge-endpoint into setup-sqlite-database
  • Loading branch information
blaise-muhirwa committed Nov 2, 2023
2 parents 8ca88dc + 9a4282b commit 31aeb01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/core/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import cachetools
from cachetools import TTLCache
from model import ImageQuery
from sqlalchemy import JSON, Boolean, Column, String, select, DateTime
from sqlalchemy import JSON, Boolean, Column, DateTime, String, select
from sqlalchemy.exc import IntegrityError, SQLAlchemyError
from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine
from sqlalchemy.ext.asyncio.engine import AsyncEngine
Expand Down
5 changes: 2 additions & 3 deletions test/database_manager/test_database_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
import pytest_asyncio
from model import ImageQuery
from sqlalchemy import text
from sqlalchemy.exc import IntegrityError, SQLAlchemyError, OperationalError
from sqlalchemy.exc import IntegrityError, SQLAlchemyError
from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.orm import declarative_base
from sqlalchemy.orm import declarative_base, sessionmaker

from app.core.database import DatabaseManager
from app.core.utils import create_iqe, prefixed_ksuid
Expand Down

0 comments on commit 31aeb01

Please sign in to comment.