Source code for rootski.schemas.core
from pydantic import BaseModel
from rootski.services.auth import AuthService
from rootski.services.database.dynamo.db_service import DBService as DynamoDBService
from rootski.services.logger import LoggingService
[docs]class Services(BaseModel):
auth: AuthService
logger: LoggingService
dynamo: DynamoDBService
class Config:
# allow members of Services to have types that are not pydantic schemas
arbitrary_types_allowed = True