File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,8 @@ def populate(
159
159
max_calls = None ,
160
160
display_progress = False ,
161
161
processes = 1 ,
162
- make_kwargs = None ,
163
- return_success_count = False
162
+ return_success_count = False ,
163
+ make_kwargs = None
164
164
):
165
165
"""
166
166
``table.populate()`` calls ``table.make(key)`` for every primary key in
@@ -176,6 +176,8 @@ def populate(
176
176
:param max_calls: if not None, populate at most this many keys
177
177
:param display_progress: if True, report progress_bar
178
178
: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)
179
181
:param make_kwargs: Keyword arguments which do not affect the result of computation
180
182
to be passed down to each ``make()`` call. Computation arguments should be
181
183
specified within the pipeline e.g. using a `dj.Lookup` table.
You can’t perform that action at this time.
0 commit comments