repr for PickleType
needs to be eval-capable for alembic
from sqlalchemy import PickleType
print repr(PickleType())
Comments (7)
-
-
reporter basically
repr()
gets put straight into your alembic script there, so in the vast majority of, and possibly all, cases it should say"PickleType()"
. we're using a library function calledgeneric_repr()
to do it, which should be preventing the "pickler" from being in the repr(), so maybe in this case we need to hardcode it, since we don't really want "pickler" or "comparator" in there either; these are all python functions/modules which don't produce eval-able withrepr()
. -
reporter we are getting "PickleType()" for the
__repr__
right now. What's the issue here ? -
reporter oh, its in 0.7. This works in 0.8.
-
reporter likely because of
#2594 -
reporter - changed status to resolved
backported the patch from
#2594in b517e974e0d3eb4f89c724f9a1e865dc35824c7f. -
reporter - removed milestone
Removing milestone: 0.7.10 (automated comment)
- Log in to comment
What should the output be?