summaryrefslogtreecommitdiff
path: root/factory/containers.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/containers.py')
-rw-r--r--factory/containers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/factory/containers.py b/factory/containers.py
index ef97548..fda9073 100644
--- a/factory/containers.py
+++ b/factory/containers.py
@@ -45,6 +45,10 @@ class LazyStub(object):
__values (dict): maps attribute name to computed value
__pending (str list): names of the attributes whose value is being
computed. This allows to detect cyclic lazy attribute definition.
+ __containers (LazyStub list): "parents" of the LazyStub being built.
+ This allows to have the field of a field depend on the value of
+ another field
+ __target_class (type): the target class to build.
"""
__initialized = False