Improve http decorator typing (#75541)
This commit is contained in:
parent
1d7d2875e1
commit
b1ed1543c8
5 changed files with 37 additions and 22 deletions
|
@ -102,7 +102,7 @@ class FlowManagerResourceView(_BaseFlowManagerView):
|
|||
|
||||
@RequestDataValidator(vol.Schema(dict), allow_empty=True)
|
||||
async def post(
|
||||
self, request: web.Request, flow_id: str, data: dict[str, Any]
|
||||
self, request: web.Request, data: dict[str, Any], flow_id: str
|
||||
) -> web.Response:
|
||||
"""Handle a POST request."""
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue