Commit graph quickstart-resources/weather-server-python/weather.py
Author SHA1 Message Date
Alex Akimov
2af8046eb7 Add ruff and apply it 2025-12-06 15:58:38 +01:00
datashaman
3bc819fff8
Weather server missing main function
The weather server script does not run.

```
❯ uv run weather
Traceback (most recent call last):
  File "/projects/quickstart-resources/weather-server-python/.venv/bin/weather", line 4, in <module>
    from weather import main
ImportError: cannot import name 'main' from 'weather' (/projects/quickstart-resources/weather-server-python/weather.py)
```

The script definition in `pyproject.toml` is looking for a `main` function which does not exist.
2025-09-04 06:16:24 +02:00
Se7en
50239a954f Update python quickstart to use FastMCP API 2025-01-09 22:58:23 +08:00