'Flask-style' decorator-based API #4
gertvdijk
started this conversation in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current API is a bit similar to Starlette's applications.
It would be nice to explore if an (additional) Flask/FastAPI/Click-like API can be offered with decorators hooking up the methods to callbacks and configure other options negotiate flags from parameters to the decorators.
E.g. (pseudocode):
Challenge is probably to get the strict typing working with decorators.
Still open/unsure:
Beta Was this translation helpful? Give feedback.
All reactions