Hello,
I'm using a column defined as:
discounts = Column(ARRAY(Discount))
Where Discount is a UserDefinedType that just passes the value through
to/from Psycopg2 (which uses a namedtuple for the discounts value):
class Discount(UserDefinedType):
SQLAlchemy type that passes through values
Can you pass along more specifics here? I don't see where this named tuple is
being created. It's true that the ARRAY type by default doesn't know how deep
it should be unwrapping arrays, if you pass the dimensions argument then it
will be fixed. But it's not clear why you didn't see this
On Thursday, March 7, 2013 1:40:46 PM UTC-5, Michael Bayer wrote:
Can you pass along more specifics here? I don't see where this named
tuple is being created. It's true that the ARRAY type by default doesn't
know how deep it should be unwrapping arrays, if you pass the dimensions
On Mar 7, 2013, at 2:12 PM, Jason ja...@deadtreepages.com wrote:
On Thursday, March 7, 2013 1:40:46 PM UTC-5, Michael Bayer wrote:
Can you pass along more specifics here? I don't see where this named tuple
is being created. It's true that the ARRAY type by default doesn't know how