Closed dmartin closed 3 years ago
Btw, I don't think the test_singleton.py::TestUniqueOn::test__unique_on_pos_arg__lock_on_unique_args_only
failures are related, I ocassionally get the same failure (call_count == 3
) even when running the tests locally against master.
Thank you! Looks good.
Yes these tests are a little flaky/timing sensitive. So no worries.
@steinitzu If you can find the time, it'd be copacetic to have a new PyPI release that includes this fix.
Makes two changes to
unique_on
behavior.Allows specifying
unique_on=[]
to consider task name only for uniqueness:Allows tasks with default arguments in
unique_on
to be called without explicitly specifying values:Resolves #15 Resolves #23