mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-04 15:00:02 -04:00
even better...
This commit is contained in:
@@ -1064,7 +1064,8 @@ class ClassManager(dict):
|
||||
if isinstance(meth, types.FunctionType) and \
|
||||
hasattr(meth, '__sa_reconstitute__') and \
|
||||
hasattr(getattr(class_, key), '__sa_reconstitute__'):
|
||||
self.events.add_listener('on_load', meth)
|
||||
self.events.add_listener('on_load', getattr(class_, key))
|
||||
break
|
||||
|
||||
def instantiable(self, boolean):
|
||||
# experiment, probably won't stay in this form
|
||||
|
||||
Reference in New Issue
Block a user