pyDVL icon indicating copy to clipboard operation
pyDVL copied to clipboard

Implement flags for parallel backends

Open mdbenito opened this issue 10 months ago • 1 comments

Something like:

flag: ParallelFlag = parallel_backend.make_flag()
flag.set()
assert flag.is_set() == True

I don't think it's necessary to generalize to arbitrary values with get/set.

This would be used to signal workers to stop.

mdbenito avatar Apr 04 '24 09:04 mdbenito

Workaround: separately set properties after upload of the artifact rather than using the problematic Groovy overloaded withProperty method that can not be handled by newer Groovy runtimes.

Downsides: two calls vs one call to repository.

dmeibusch avatar May 22 '24 23:05 dmeibusch