Hello,
I want to use assocation proxy pattern
<http://docs.sqlalchemy.org/en/latest/orm/extensions/associationproxy.html>
with automap. I tried this code :
Base = automap_base()
class Dispositif(Base):
__tablename__ = 'dispositifs'
hardwares = association_proxy('disp_hardwares', 'hardware')
class Hardware(Base):
__tablename__ = 'hardware'
Base.prepare(engine, reflect=True)
but it does not work.
Any help appreciated.
Best regards
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.