✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2020-12-20 19:50:00 +01:00
1 parent 4fdcdf341c
commit fdb6c9ccc5
43 files changed
+314 -244

No files matched your search

+1 -1
View File
@@ -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