Team Package#

Submodules#

Team Base Class#

class server.schemas.team.team_base.TeamBase(*, uni_id: int, team_type_id: int, team_name: str)[source]#

Bases: BaseModel

All variables that represent columns in the Team table and their data type.

model_config: dict = {'from_attributes': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'team_name': FieldInfo(annotation=str, required=True), 'team_type_id': FieldInfo(annotation=int, required=True), 'uni_id': FieldInfo(annotation=int, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

team_name: str#
team_type_id: int#
uni_id: int#

Team ID Schema Class#

Team Schema Class#

Team Schema Partial Class#

Module contents#