fix: fix linting errors

This commit is contained in:
Krrish Dholakia 2024-01-09 22:16:16 +05:30
parent 35f9666dc2
commit ba7026639d
5 changed files with 24 additions and 14 deletions

View file

@ -588,7 +588,7 @@ class DBClient:
[TODO] route b/w customauth and prisma
"""
def __init__(self, custom_db_type: Literal["dynamo_db"], custom_db_args: Optional[dict]=None) -> None:
def __init__(self, custom_db_type: Literal["dynamo_db"], custom_db_args: dict) -> None:
if custom_db_type == "dynamo_db":
self.db = DynamoDBWrapper(database_arguments=DynamoDBArgs(**custom_db_args))