Skip to content

Commit 8260426

Browse files
phrfpeixotop1c2u
authored andcommitted
Creating a decorator that warns the developer whenever he fails to set a context.
1 parent aa95bc5 commit 8260426

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openapi_core/schema/schemas/util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
from six import string_types
44
from json import dumps
55

6+
from openapi_core.schema.schemas.enums import UnmarshalContext
7+
from openapi_core.schema.schemas.exceptions import UnmarshalContextNotSet
8+
69

710
def forcebool(val):
811
if isinstance(val, string_types):

0 commit comments

Comments
 (0)