g'day.
in the Aggregator i have mapper extension, that needs info from the
mapper like local-table and mapping/naming of column properties.
It used to hook on instrument_class() for that, but now the
mapper.properties in its new get()/iterate() form is not
available yet when mapper-extensions are setup (e.g. at
extension.instrument_class).
Mapper._init__():
...
self._compile_class()
self._compile_extensions()
self._compile_inheritance()
self._compile_tables()
self._compile_properties()
self._compile_selectable()
is there any specific reason for the compile_extensions to be that
early in this order? any other hook that i can use ?
i have another option to forget the above auto-approach and add the
extension separately, after the mapper(...) is ready - like
mapr.extension.append(e).
Is there anything wrong or that needs be done over it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---