Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Jan 21, 2025

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