Skip to content

Commit 1ac6a53

Browse files
author
Matt Topol
authored
fix(marshmallow): address bad import (#51)
closes #50
2 parents 50d2e0e + f8dd645 commit 1ac6a53

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

quart_openapi/marshmallow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ def schema_to_json(schema: Schema):
2121
JSONSchema = None
2222
MarshmallowValidationError = None
2323
MARSHMALLOW = False
24+
25+
def schema_to_json():
26+
"""provide empty implmentation for the case where
27+
marshmallow importing failed."""

0 commit comments

Comments
 (0)