mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-15 21:27:23 -04:00
remove debugging/comments
This commit is contained in:
@@ -756,8 +756,6 @@ class EagerLoader(PropertyLoader):
|
||||
result_list = h
|
||||
else:
|
||||
result_list = getattr(instance, self.key)
|
||||
if not hasattr(result_list, 'append_nohistory'):
|
||||
raise "hi2"
|
||||
|
||||
self._instance(row, imap, result_list)
|
||||
|
||||
@@ -818,7 +816,6 @@ class EagerLazyOption(GenericOption):
|
||||
|
||||
# create a clone of the class using mostly the arguments from the original
|
||||
submapper = mapper.props[key].mapper
|
||||
#self.kwargs['argument'] = submapper
|
||||
kwargs = util.constructor_args(mapper.props[key], **self.kwargs)
|
||||
mapper.set_property(key, class_(**kwargs ))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user