When you write a handler it is more convenient to have a body parameter named as entity you work with.
Before you required to write live:
@post
async def post_todo_item(data: TodoItem) -> None:
...
After, you CAN to annotate it with Body
and have an arbitrary name.
@post()
async def post_todo_item(todo_item: Annotated[TodoItem, Body()]) -> None:
...
dependency
name and break dependencies resolution.No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too