Skip to content
Myr

fix typing

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 41aaaf7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/flask/wrappers.py+1 added-1 removed
121 unmodified lines
122 from .debughelpers import attach_enctype_error_multidict123124 attach_enctype_error_multidict(self)125126 def on_json_loading_failed(self, e: ValueError) -> t.Any:126 def on_json_loading_failed(self, e: t.Optional[ValueError]) -> t.Any:127 try:128 return super().on_json_loading_failed(e)129 except BadRequest as e:130 if current_app and current_app.debug:
41 unmodified lines