diff --git a/auth/utils/mongo.py b/auth/utils/mongo.py index ad5003f..334b168 100644 --- a/auth/utils/mongo.py +++ b/auth/utils/mongo.py @@ -10,5 +10,4 @@ def get_auth_db(): def use_auth_collection(collection: str) -> Collection: - print("pppppppppppppppppppp") return use_collection(collection, get_auth_db(), connection_name='mongo_auth') diff --git a/core/config.py b/core/config.py index b83b83b..f157505 100644 --- a/core/config.py +++ b/core/config.py @@ -114,8 +114,8 @@ class CoreConfig(BaseModel): server: Optional[ServerConfig] auth: Optional[AuthConfig] dependency: Optional[DependencyConfig] - database: dict - static_files: dict = dict() + database: dict[str, Union[DatabaseConfig, DatabaseModeConfig]] + static_files: dict[str, str] = dict() celery: Optional[CeleryTask] class Config: