@@ -52,8 +52,8 @@ class AutoPopulate:
52
52
def key_source (self ):
53
53
"""
54
54
:return: the relation whose primary key values are passed, sequentially, to the
55
- `` make`` method when populate() is called.
56
- The default value is the join of the parent relations .
55
+ . make method when . populate() is called.
56
+ The default value is the join of the tables references by the primary key .
57
57
Users may override to change the granularity or the scope of populate() calls.
58
58
"""
59
59
def _rename_attributes (table , props ):
@@ -123,9 +123,9 @@ def populate(self, *restrictions, suppress_errors=False, return_exception_object
123
123
reserve_jobs = False , order = "original" , limit = None , max_calls = None ,
124
124
display_progress = False , processes = 1 ):
125
125
"""
126
- rel .populate() calls rel .make(key) for every primary key in self.key_source
127
- for which there is not already a tuple in rel .
128
- :param restrictions: a list of restrictions each restrict (rel .key_source - target.proj())
126
+ table .populate() calls table .make(key) for every primary key in self.key_source
127
+ for which there is not already a tuple in table .
128
+ :param restrictions: a list of restrictions each restrict (table .key_source - target.proj())
129
129
:param suppress_errors: if True, do not terminate execution.
130
130
:param return_exception_objects: return error objects instead of just error messages
131
131
:param reserve_jobs: if True, reserve jobs to populate in asynchronous fashion
0 commit comments