Skip to content

Commit

Permalink
fix(marshmallow): address bad import (#51)
Browse files Browse the repository at this point in the history
closes #50
  • Loading branch information
Matt Topol authored Jan 28, 2021
2 parents 50d2e0e + f8dd645 commit 1ac6a53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quart_openapi/marshmallow.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ def schema_to_json(schema: Schema):
JSONSchema = None
MarshmallowValidationError = None
MARSHMALLOW = False

def schema_to_json():
"""provide empty implmentation for the case where
marshmallow importing failed."""

0 comments on commit 1ac6a53

Please sign in to comment.