Skip to content

Releases: mindee/tawazi

v0.6.1

04 Mar 12:58
e7882c2
Compare
Choose a tag to compare

Changes

  • ♻️ refactor subdag creation in a separate function

Bug Fixes

  • 🐛 forward context from main thread to the thread pool
  • 🐛 make subdag work with constant returned values

v0.6.0

25 Feb 09:34
Compare
Choose a tag to compare

What's Changed

  • ♻️ drop loguru to be more generic and let the end application manage the logs
  • ♻️ remove Tawazi error wrapping in node and raise original error
  • 💥 remove python 3.7 and 3.8
  • ♻️ typing in 3.9

New Contributors

Full Changelog: v0.5.2...v0.6.0

v0.5.2

12 Nov 13:50
Compare
Choose a tag to compare

Bug Fixes

  • 🐛 typing with py310 Union |

v0.5.1

31 Oct 10:09
Compare
Choose a tag to compare

Changes

  • ➖ compatible with pydantic v1 and v2

v0.5.0

31 Oct 10:08
Compare
Choose a tag to compare

Breaking Changes

  • ✨ draw a DAG using graphviz
  • 💥 change TawaziBaseException to TawaziError

v0.4.1

11 Sep 09:54
Compare
Choose a tag to compare

Improvements

  • ♻️ use dynamic node construction instead of static one

v0.4.0

09 Aug 08:33
b9a41a7
Compare
Choose a tag to compare

Improvements

  • ♻️ big overhaul to the dag interface
  • ♻️ rely on networkx for most of the graph-related computations
  • ✨ root nodes implementation (see documentation for further explanation)
  • 📝 improve documentation and remove most of the outdated comments
  • ✨ added AsyncDAG / AsyncDAGExecution to execute DAG in async context
  • ✨ added Async-Threaded resource
  • ✨ added feature of running DAG in DAG
  • ✨ Include Line Number pointing to the location where the DAG made the error!
  • ✨ Support Ellipsis for DAG.compose' input
  • ⚡ Optimize ArgExecNode and ReturnExecNode by using main-thread instead of DEFAULT_THREAD

Bug Fixes

  • 🐛 fix twz_active behavior. If twz_active is False, the node returns None

v0.3.4

15 Mar 09:45
Compare
Choose a tag to compare

Bug Fixes

  • 🐛 failing Tuple typing check with future annotations: #213

v0.3.3

15 Mar 09:45
Compare
Choose a tag to compare

Improvements

  • ⚡ accelerate getting highest priority node (optimizations)
  • ⚡ accelerate get_num_running_threads
  • ⚡ accelerate node removal by using BiDirectionalDict
  • ⚡ accelerate node removal
  • ⚡ accelerate get_num_running_threads by using len(running) instead

Bug Fixes

  • 🐛 logging

v0.3.2

04 Jan 16:38
Compare
Choose a tag to compare

Bug Fixes

  • 🐛 wrong error message, during composition of DAGs
  • 🐛 fix counting nodes during dag description. ExecNodes should now be numbered 1, 2, 3 etc.
  • 🐛 failing to run DAG inside a Process. Now a DAG should run correctly inside a launched process.

Improvements

  • ⚡ faster logging improves performance by upto 5% on long / complicated DAGs
  • ♻️ better mypy on raise_arg_error
  • ✅ test execnode with typed tuple
  • ✅ test passing DAG inside a Process