Skip to content

Commit

Permalink
save ocp upload notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Oct 15, 2021
1 parent 40e5379 commit 5e3ab38
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@
" contributions.append(contrib)\n",
" cnt += 1\n",
" \n",
" if not cnt % 1000:\n",
" client.submit_contributions(contributions, ignore_dupes=True, per_request=10)\n",
" if not cnt % 5:\n",
" client.submit_contributions(\n",
" contributions, per_request=10,\n",
" ignore_dupes=True, skip_dupe_check=True, retry=True\n",
" )\n",
" contributions.clear()\n",
" \n",
"print(cnt)"
Expand Down

0 comments on commit 5e3ab38

Please sign in to comment.