We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f552c7a commit 120a8b9Copy full SHA for 120a8b9
hug/types.py
@@ -35,7 +35,9 @@
35
import marshmallow
36
from marshmallow import ValidationError
37
38
- MARSHMALLOW_MAJOR_VERSION = getattr(marshmallow,'__version_info__',LooseVersion(marshmallow.__version__).version)[0]
+ MARSHMALLOW_MAJOR_VERSION = getattr(
39
+ marshmallow, "__version_info__", LooseVersion(marshmallow.__version__).version
40
+ )[0]
41
except ImportError:
42
# Just define the error that is never raised so that Python does not complain.
43
class ValidationError(Exception):
0 commit comments