add reuirements
This commit is contained in:
@@ -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')
|
||||
|
||||
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user