-
Notifications
You must be signed in to change notification settings - Fork 8
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
Adding bulk task creation server side #250
Conversation
The previous `create_task` method wraps around this new method and preserves previous functionality.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #250 +/- ##
==========================================
- Coverage 82.28% 82.22% -0.07%
==========================================
Files 26 26
Lines 3066 3122 +56
==========================================
+ Hits 2523 2567 +44
- Misses 543 555 +12 ☔ View full report in Codecov by Sentry. |
Is this ready for review @ianmkenney? |
@dotsdl ready for review, just had to expand tests |
Reviewing now! Thanks @ianmkenney! |
- Added `AlchemiscaleClient.create_bulk_tasks` - Added `api.create_bulk_tasks` - Updated `AlchemiscaleClient.create_tasks` - Added tests for `AlchemiscaleClient.create_bulk_tasks`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great @ianmkenney! A few things to hit yet to improve it further, but this is already a big improvement.
PEFORMS the same Transformation
- Docstring for `create_transformations_tasks` - Only report the Tasks ScopedKey in extends validation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work @ianmkenney! Feel free to merge if satisfied!
This PR introduces the$n=1$ task created is the same. When creating thousands of tasks, the runtime drops to about one fifth of its previous value (~23 s to 4 s).
create_tasks
method to theNeo4jStore
. It attempts to minimize the queries made to the database when creating and extending tasks. From local tests, the performance for