diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-02-24 00:17:04 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-02-24 00:17:04 +0100 |
commit | 826312ad0629ab49cab436d7cb1d27a898e7d864 (patch) | |
tree | a601961ade8173ce06c348acbd5ca949041b1896 /factory/containers.py | |
parent | 2a1138550b3220b6f8cd23bae5fed03f0fb448cf (diff) | |
download | factory-boy-826312ad0629ab49cab436d7cb1d27a898e7d864.tar factory-boy-826312ad0629ab49cab436d7cb1d27a898e7d864.tar.gz |
Improve documentation.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'factory/containers.py')
-rw-r--r-- | factory/containers.py | 4 |
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 |