|
|
|
|
|
by jph00
690 days ago
|
|
You can just use `@app.get` and name your function whatever you like, just like FastAPI, if you prefer. Although I don't see why flake8 should care - multi-dispatch is built into the python stdlib so having multiple functions with the same name is not weird or new. |
|
If you'd like to dig deeper, the reference is:
from flake8 and from mypy.