data.filter.json package

Submodules

data.filter.json.filter_v6 module

Manages the v6 data filter schema

class data.filter.json.filter_v6.DataFilterV6(data_filter=None, do_validate=False)

Bases: object

Represents a v6 data filter JSON

get_dict()

Returns the internal dictionary

Returns:The internal dictionary
Return type:dict
get_filter()

Returns the data filter represented by this JSON

Returns:The data filter
Return type:data.filter.filter.DataFilter:
data.filter.json.filter_v6.convert_filter_to_v6_json(data_filter)

Returns the v6 data filter JSON for the given data filter

Parameters:data_filter (data.filter.filter.DataFilter) – The data
Returns:The v6 data filter JSON
Return type:data.filter.json.filter_v6.DataFilterV6

Module contents