Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Jan 30, 2024
1 parent aaf606c commit 73cd18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openapify/core/base_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def schema_helper(
if isinstance(obj, Body):
if get_value_type(obj.value_type) in (bytes, bytearray):
return {}
else:
return None

return None
except TypeError:
return None

Expand Down

0 comments on commit 73cd18e

Please sign in to comment.