Skip to content

Add ability to submit dataset records as a background job#881

Merged
bennybp merged 7 commits intomainfrom
ds_submit_bkg
Jan 21, 2025
Merged

Add ability to submit dataset records as a background job#881
bennybp merged 7 commits intomainfrom
ds_submit_bkg

Conversation

@bennybp
Copy link
Contributor

@bennybp bennybp commented Jan 14, 2025

Description

dataset.submit() can take a very long time for large datasets (large numbers of entries). A workaround is to batch entries and submit only a few at a time, something the dataset class does automatically.

This PR adds the ability to instead run the submission server-side. This creates an internal job on the server that does the actual submission, which you can then watch for progress.

Only one dataset submission will run at one time for a dataset, but you can submit multiple internal jobs if you want.

Status

  • Implement job progress in submit
  • Tests
  • Code base linted
  • Ready to go

@bennybp bennybp merged commit 78a3b15 into main Jan 21, 2025
15 checks passed
@bennybp bennybp deleted the ds_submit_bkg branch January 21, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant