Commit 3bc819f
authored
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.1 parent dfc9247 commit 3bc819f
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
0 commit comments