forked from orbit-oss/flask
fix typing
This commit is contained in:
parent
41aaaf7fa0
commit
cd4ab005a9
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class Request(RequestBase):
|
||||||
|
|
||||||
attach_enctype_error_multidict(self)
|
attach_enctype_error_multidict(self)
|
||||||
|
|
||||||
def on_json_loading_failed(self, e: ValueError) -> t.Any:
|
def on_json_loading_failed(self, e: t.Optional[ValueError]) -> t.Any:
|
||||||
try:
|
try:
|
||||||
return super().on_json_loading_failed(e)
|
return super().on_json_loading_failed(e)
|
||||||
except BadRequest as e:
|
except BadRequest as e:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue