def register_attribute(self, class_, key, uselist, callable_=None, **kwargs):
"""registers an attribute at the class level to be instrumented for all instances
of the class."""
- #print "register attribute", key, "for class", class_
+ #print self, "register attribute", key, "for class", class_
if not hasattr(class_, '_state'):
def _get_state(self):
try:
# mapper.
self._compile_class()
+ #print self, "constructed"
# uncomment to compile at construction time (the old way)
# this will break mapper setups that arent declared in the order
# of dependency
"""
if self.__is_compiled:
return self
- #print "COMPILING!", self.class_key, "non primary: ", self.non_primary
+ #print self, "_do_compile"
self.__is_compiled = True
self.__props_init = False
self._compile_extensions()