Skip to content

0.3

Compare
Choose a tag to compare
@simonw simonw released this 16 Apr 23:51
· 13 commits to main since this release
69bdc0b

Extensive, backwards-compatibility breaking redesign.

  • This library no longer uses subclasses. Instead, a Registry() object is created and async def functions are registered with that registry. The registry.resolve(fn) method is then used to execute functions with their dependencies. #8
  • Registry(timer=callable) can now be used to register a function to record the times taken to execute each function. This callable will be passed three arguments - the function name, the start time and the end time. #7
  • The parallel=True argument to the Registry() constructor can be switched to False to disable parallel execution - useful for running benchmarks to understand the performance benefit of running functions in parallel. #6