Skip to content

Commit

Permalink
chore: Fixed mypy linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-pisman committed Dec 8, 2023
1 parent 73aa72b commit 42e6e4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/unipoll_api/mongo_db.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import motor.motor_asyncio # type: ignore
from motor.core import AgnosticClient
from motor.motor_asyncio import AsyncIOMotorClient
from unipoll_api import documents as Documents
from unipoll_api.config import get_settings

settings = get_settings()

client = motor.motor_asyncio.AsyncIOMotorClient(
client: AgnosticClient = AsyncIOMotorClient(
host=settings.mongodb_url,
uuidRepresentation="standard",
)
Expand Down

0 comments on commit 42e6e4a

Please sign in to comment.