From afb2ca13a3cb7f34bd66f62e1c007123b7ce2ed1 Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Wed, 21 May 2008 20:32:00 +0000 Subject: [PATCH] Updated some todos. --- lib/sqlalchemy/orm/attributes.py | 4 ++-- lib/sqlalchemy/orm/identity.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index 1d5125c491..295535b6d2 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -36,8 +36,8 @@ The value of this attribute must be a callable and will be passed a class object. The callable must return one of: - An instance of an interfaces.InstrumentationManager or subclass - - An object implementing all or some of InstrumentationManager (todo) - - A dictionary of callables, implementing all or some of the above (todo) + - An object implementing all or some of InstrumentationManager (TODO) + - A dictionary of callables, implementing all or some of the above (TODO) - An instance of a ClassManager or subclass interfaces.InstrumentationManager is public API and will remain stable diff --git a/lib/sqlalchemy/orm/identity.py b/lib/sqlalchemy/orm/identity.py index 4487e21dc0..6369d5a3c2 100644 --- a/lib/sqlalchemy/orm/identity.py +++ b/lib/sqlalchemy/orm/identity.py @@ -239,7 +239,6 @@ class IdentityManagedState(attributes.InstanceState): obj = self.manager.new_instance(state=self) self.obj = weakref.ref(obj, self._cleanup) self._strong_obj = obj - # todo: revisit this wrt user-defined-state obj.__dict__.update(self.dict) self.dict = obj.__dict__ self._run_on_load(obj) -- 2.47.3