Skip to content

Commit b52a130

Browse files
doc string improvements in autopopulate
1 parent c641029 commit b52a130

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

datajoint/autopopulate.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ class AutoPopulate:
5252
def key_source(self):
5353
"""
5454
: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.
5757
Users may override to change the granularity or the scope of populate() calls.
5858
"""
5959
def _rename_attributes(table, props):
@@ -123,9 +123,9 @@ def populate(self, *restrictions, suppress_errors=False, return_exception_object
123123
reserve_jobs=False, order="original", limit=None, max_calls=None,
124124
display_progress=False, processes=1):
125125
"""
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())
129129
:param suppress_errors: if True, do not terminate execution.
130130
:param return_exception_objects: return error objects instead of just error messages
131131
:param reserve_jobs: if True, reserve jobs to populate in asynchronous fashion

0 commit comments

Comments
 (0)