MCPcopy Create free account
hub / github.com/ImGoodBai/MapGoGoGo / ChallengeCreate

Class ChallengeCreate

backend/app/main.py:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66class ChallengeCreate(BaseModel):
67 name: str = Field(min_length=2, max_length=40)
68 description: str = Field(default="", max_length=180)
69 place_name: str = Field(min_length=1, max_length=80)
70 center_lat: float
71 center_lng: float
72 radius_m: int = Field(default=500, ge=MIN_RADIUS_M, le=MAX_RADIUS_M)
73 duration_hours: int = Field(default=72, ge=1, le=24 * 14)
74 h3_resolution: int = Field(default=11, ge=8, le=11)
75
76
77class PositionIn(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected