app.schemas.login_schema module
- class app.schemas.login_schema.LoginSchema(*, username: Annotated[str, MinLen(min_length=3), MaxLen(max_length=32), _PydanticGeneralMetadata(pattern='^[a-zA-Z0-9]*$')], password: Annotated[str, MinLen(min_length=6), MaxLen(max_length=256)])[source]
Bases:
BaseModel
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- password: str
- username: str