great_expectations.data_asset.util

Module Contents

Classes

DocInherit(mthd)

Functions

parse_result_format(result_format)

This is a simple helper utility that can be used to parse a string result_format into the dict format used

recursively_convert_to_json_serializable(test_obj)

Helper function to convert a dict object to one that is serializable

great_expectations.data_asset.util.parse_result_format(result_format)

This is a simple helper utility that can be used to parse a string result_format into the dict format used internally by great_expectations. It is not necessary but allows shorthand for result_format in cases where there is no need to specify a custom partial_unexpected_count.

class great_expectations.data_asset.util.DocInherit(mthd)
__get__(self, obj, cls)
great_expectations.data_asset.util.recursively_convert_to_json_serializable(test_obj)

Helper function to convert a dict object to one that is serializable

Parameters

test_obj – an object to attempt to convert a corresponding json-serializable object

Returns

(dict) A converted test_object

Warning

test_obj may also be converted in place.