mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-08 00:50:39 -04:00
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
This commit is contained in:
committed by
GitHub
parent
4fdcdf341c
commit
fdb6c9ccc5
@@ -26,7 +26,7 @@ invoices_callback_router = APIRouter()
|
||||
|
||||
|
||||
@invoices_callback_router.post(
|
||||
"{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived,
|
||||
"{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived
|
||||
)
|
||||
def invoice_notification(body: InvoiceEvent):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user