Skip to content

Commit

Permalink
new comments added
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jul 29, 2015
1 parent 4ce6ad7 commit 3d4e9f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data/src/entity_manager/structures.py
Expand Up @@ -510,7 +510,9 @@ def __getattribute__(self, name):
# attribute using (a concrete class load approach)
attribute = self._load_lazy(name) if is_relation else self._load_lazy_attr(name)

# returns the retrieves (lazy) attribute
# returns the retrieved/loaded (lazy) attribute, ready
# to be used by the calling method, note that this value
# may not be loaded in case it's not currently possible
return attribute

def __getstate__(self, depth = None, detach = True):
Expand Down Expand Up @@ -4511,7 +4513,7 @@ def _start(self):
"""
Method called upon structure initialization, this
is going to be called even in situations where just
the instance is create and no constructor is called.
the instance is created and no constructor is called.
Overriding of this method is possible but should be
done with extreme care.
Expand Down

0 comments on commit 3d4e9f1

Please sign in to comment.