![Renat Akhmerov](/assets/img/avatar_default.png)
* This patch adds a utility that helps serialize data into a JSON string that might contain some non-standard data types like generators iterators and frozen dicts coming from YAQL. The utility uses oslo.serialization project that already takes care of iterators and any kinds of custom dicts. And in addition, it handles generators (assuming a generator represents an iterable similar to an iterator). * Unit tests. * Added YAQL into requirements and bumped the version of oslo.serialization to make sure to have the "fallback" parameter in "jsonutils.to_primitive" Change-Id: I2fe891525bc86beb92aecf9ac2d8a490837c47d3
Team and repository tags
mistral-lib
This library contains data types, exceptions, functions and utilities common to Mistral, python-mistralclient and mistral-extra repositories. This library also contains the public interfaces for 3rd party integration (e.g. Actions API, YAQL functions API, etc.)
If you want to use OpenStack in your custom actions or functions, you will also need to use https://opendev.org/openstack/mistral-extra.
- Free software: Apache license
- Documentation: https://docs.openstack.org/mistral/latest/
- Source: https://opendev.org/openstack/mistral-lib
- Bugs: https://bugs.launchpad.net/mistral
Features
- TODO
Description
Languages
Python
100%