Type-annotated metric variables (e.g. `geojson_cache_operations: Counter`) don't exist as importable names until init_metrics() runs. Switch all `from api.metrics import <metric>` to `import api.metrics as m` and access instruments as attributes at runtime to avoid ImportError. |
||
|---|---|---|
| .. | ||
| listing_tasks.py | ||
| poi_tasks.py | ||
| task_state.py | ||