mistral-lib/mistral_lib/utils
Renat Akhmerov 44a2738460 Add a utility for JSON serialization
* 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
2020-03-31 18:33:05 +07:00
..
__init__.py Add a utility for JSON serialization 2020-03-31 18:33:05 +07:00
inspect_utils.py Drop py2 support and add zuul jobs 2020-01-28 14:05:12 +02:00