Botoflow

Latest version: v0.8

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

Scan your dependencies

Page 2 of 2

0.3

----------------

**Improvements**

* Include additional attributes when serializing / deserializing
subclasses of list and dict.
* Handle (de)serialization of subclasses of list.

**Bugfixes**

* *json_data_converter* - base64 encode any string that can't bedecoded as unicode.
* *json_data_converter* - Make sure we "flowify" dictionary values.
* Fix workflow and activity registration issue where default task list
would not be set.

**Miscellaneous**

* Test that default activity task list is honoured.

0.2

----------------

**API Changes**

* You can use now async and async() with the same result.
* As a shortcut: ``from botoflow import Future``.

**New Features**

* Implement the ``workflow`` decorator. Using this decorator, you can
change the workflow name.
* ``execute`` now also accepts data_converter and description
parameters. If not specified, the description parameter defaults to
the execute method's docstring, as with ``activity``.

**Improvements**

* The metaclass will now look at all bases of a WorkflowDefinition
subclass and copy all the ``execute`` and ``signal`` methods to
the class we're creating. Subclassing another workflow should now
work much better.
* Refactor the data_converter attribute into a property, and add a
type check.

**Bugfixes**

* Create a new event loop on every reset to help with an edge case
where gc happens at the wrong moment.

**Miscellaneous**

* Add a test that tests ability to pass in multiple signals as data
into workflow.
* Add a simple workflow subclassing test.
* Add a test that shows *multiver* works.
* Add a test that tests that ``execute`` method is copied from the
superclass to the subclass.

0.1

----------------

* Initial release

.. _70423b5: https://github.com/boto/botoflow/commit/70423b50532d36082d9d9e6af1b74fc7679bb2f1

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.