INNER CODE UNIT · Python

LocationResponse

datawhalechina/wow-fullstack · tutorial/FastAPI/第6章-FastAPI MCP/main.py:43

class LocationResponse(BaseModel):
    code: str
    location: List[Location]

class WeatherNow(BaseModel):
    obsTime: str
    temp: str
    feelsLike: str
    icon: str
    text: str
    wind360: str
    windDir: str
    windScale: str
    windSpeed: str
    humidity: str
    precip: str
    pressure: str
    vis: str

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…