just a note that I'm not sure there are sqlalchemy-utils people here, you might want to try pinging Konsta via https://github.com/kvesteri/sqlalchemy-utils


On 05/02/2017 02:10 PM, Zac Goldstein wrote:
Hello,

I'm having some difficulty implementing postgres composite columns. I've been working off of the sqlalchemy-utils implementation: http://sqlalchemy-utils.readthedocs.io/en/latest/_modules/sqlalchemy_utils/types/pg_composite.html. I've also looked at relevant posts here, but they all break down at the same point.

Specifically, all the implementations I have found use 'typemap' in the ___getattr__ function, but 'typemap' is now deprecated, and I'm having trouble properly resolving attribute lookups. More details in my SO post: http://stackoverflow.com/questions/43727685/sqlalchemy-postgres-composite-type-column.

Thanks



--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.
---
You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com <mailto:sqlalchemy+unsubscr...@googlegroups.com>. To post to this group, send email to sqlalchemy@googlegroups.com <mailto:sqlalchemy@googlegroups.com>.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

--
SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to