Ozawa

Latest version: v0.14

Safety actively analyzes 628924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.9

----------------
- Changed ``Task.run`` method name to ``Task.start``.
- Changed ``Task.execute`` method name to ``Task.run``.
- Changed ``_execute`` method to ``execute``.
- Changed ``Touch`` and ``MakeDirectories`` tasks initialiser to take single list argument instead of allowing for an
unpacked list.
- Changed signature of ``ozawa.addressable.Addressable`` class to ``ozawa._Addressable``.
- Changed ``TaskNameConflict`` exception to take just task name instead of whole error message.

0.8

----------------
- Fixed tree text for tasks at root task group level (incorrectly indented).

0.7

-------------------------
- Changed implementation of task skip conditions to allow for multiple conditions to be added to a task with a reason
for each by passing a task a dictionary of ``condition:reason`` entries.
- Added ``has_parent`` and ``parents`` properties to ``Addressable`` class for aiding in checking the ``parent`` property and
retrieving all the parents of a task.
- Added ``tree_text`` method to ``TaskGroup`` to display the structure of a configuration.
- Added ``-l/--list`` option to basic config CLI to print the configuration task structure.

0.6

----------------
- Fixed ``TaskGroup`` kwargs handling as in 0.5 update.

0.5

-------------------------
- Fixed kwarg passing from inheriting classes to ``super().__init__()`` to allow ``Task`` kwargs to be passed successfully.

0.4

-------------------------
- Added a skip feature to the ``Task`` class to allow a function to be passed in that will prevent the task from executing
at runtime rather than on declaration.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.