CreateBackupModel
242 }
243
244
245class CreateBackupModel(BaseModel):246 world_name: str = Field(..., title="Name of the world")
Config
94 properties: dict = Field(..., title="Properties of the Minecraft server")
95 backups: dict = Field(..., title="List of backups")
96
97 class Config: 98 schema_extra = {
99 "example": {
100 "name": "MyServer",
WhitelistResponse
228 }
229
230
231class WhitelistResponse(BaseModel):232 whitelisted_players: list = Field(..., title="List of whitelisted players")
233
234 class Config:
Config
170class ServerWorldsResponse(BaseModel):
171 worlds: list = Field(..., title="List with all worlds of the server")
172
173 class Config:174 schema_extra = {
175 "example": {
176 "worlds": [
ServerWorldsResponse
167 }
168
169
170class ServerWorldsResponse(BaseModel):171 worlds: list = Field(..., title="List with all worlds of the server")
172
173 class Config:
Class docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.