mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-06 22:21:29 +02:00
Under `from __future__ import annotations` the `-> None` return annotation reaches FastAPI as the string "None", which resolves to NoneType -- truthy, so APIRoute asserts a 204 may carry no response body and the app fails to import. fastapi >= 0.116 guards against this; the 0.109-0.115 releases requirements.txt still allows do not.