Skip to content

Commit d1011fb

Browse files
author
Thinh Nguyen
committed
improve docstring
1 parent b737003 commit d1011fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

datajoint/autopopulate.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ def populate(
159159
max_calls=None,
160160
display_progress=False,
161161
processes=1,
162-
make_kwargs=None,
163-
return_success_count=False
162+
return_success_count=False,
163+
make_kwargs=None
164164
):
165165
"""
166166
``table.populate()`` calls ``table.make(key)`` for every primary key in
@@ -176,6 +176,8 @@ def populate(
176176
:param max_calls: if not None, populate at most this many keys
177177
:param display_progress: if True, report progress_bar
178178
:param processes: number of processes to use. Set to None to use all cores
179+
:param return_success_count: if True, return the count of successful `make()` calls.
180+
If suppress_errors is also True, returns a tuple: (success_count, errors)
179181
:param make_kwargs: Keyword arguments which do not affect the result of computation
180182
to be passed down to each ``make()`` call. Computation arguments should be
181183
specified within the pipeline e.g. using a `dj.Lookup` table.

0 commit comments

Comments
 (0)