class SomeEntity(Base):
    __tablename__ = 'some_entity'
id = Column(Integer, primary_key=True)
attributes = Column(PickleType)
s = SomeEntity(attributes={'baked': 'beans', 'spam': 'ham'})
session.add(s)
session.commit()
s.attributes['parrot'] = 'dead'
session.commit()
Python dicts в sqlalchemy