Skip to content

Latest commit

History

History
32 lines (23 loc) · 1.05 KB

File metadata and controls

32 lines (23 loc) · 1.05 KB

TupleFilter

TupleFilter is used to filter tuples based on the entity, relation and the subject.

Properties

NameTypeDescriptionNotes
entityEntityFilter[optional]
relationstr[optional]
subjectSubjectFilter[optional]

Example

frompermify_async.models.tuple_filterimportTupleFilter# TODO update the JSON string belowjson="{}"# create an instance of TupleFilter from a JSON stringtuple_filter_instance=TupleFilter.from_json(json)
# print the JSON string representation of the objectprint(TupleFilter.to_json())
# convert the object into a dicttuple_filter_dict=tuple_filter_instance.to_dict()
# create an instance of TupleFilter from a dicttuple_filter_from_dict=TupleFilter.from_dict(tuple_filter_dict)

[Back to Model list][Back to API list][Back to README]