greedo / python-xbrl

xbrl parser written in Python :bulb:
https://pypi.python.org/pypi/python-xbrl
Apache License 2.0
220 stars 76 forks source link

in python-xbrl v1.1.0, marshmallow version 3.0.0.b7, error: has not object "Serializer" #43

Open pinnaclesystemsgroup opened 6 years ago

pinnaclesystemsgroup commented 6 years ago

get_xbrl_data.py:Line #3 > from xbrl import XBRLParser, GAAP, GAAPSerializer

xbrl/init.py: Line #8 > from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException

Runtime ERROR:

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Users/.../PyCharmprojects/xbrlpy/get_xbrl_data.py Traceback (most recent call last): File "/Users/.../PyCharmprojects/xbrlpy/get_xbrl_data.py", line 3, in from xbrl import XBRLParser, GAAP, GAAPSerializer File "/usr/local/lib/python2.7/site-packages/xbrl/init.py", line 8, in from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException File "/usr/local/lib/python2.7/site-packages/xbrl/xbrl.py", line 5, in from marshmallow import Serializer, fields ImportError: cannot import name Serializer

greedo commented 5 years ago

This maybe fixed now with the upgrade. I'll investigate thanks @pinnaclesystemsgroup