JOJ3-config-generator/joj3_config_generator/models/repo.py
李衍志523370910113 47c46755e6
Some checks failed
build / build (pull_request) Failing after 2m24s
build / build (push) Failing after 2m27s
feat: teapot stage added
2025-02-01 13:46:09 +01:00

25 lines
460 B
Python

from typing import List
from pydantic import BaseModel, Field
class Files(BaseModel):
required: List[str]
immutable: List[str]
class Group(BaseModel):
name: List[str]
max_count: List[int]
time_period_hour: List[int]
class Config(BaseModel):
teaching_team: List[str]
max_size: float = Field(..., ge=0)
release_tags: List[str]
files: Files
sandbox_token: str
max_total_score: int = Field(100)
groups: Group