steem-python
steem-python copied to clipboard
Post.export() invalid for storing in mongo db
Post.export() returns tags in a set. Sets can't be stored in mongo db and need to be converted to lists (which is how they were stored in the past). According to the docs this is what export should be doing... Strip Python specific data-types and return a dictionary that can be safely stored as JSON or database entry.
What version of Python and steem are you using?
I am little bit confused now. Pip says I have version 1.0.0, but when I import steem and try steem.__version__ I get '0.18.103'
You're pulling steem from somewhere other than the pip install location. Also, please include your Python version when running the code.