Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.04 KB

TupleFilter.md

File metadata and controls

32 lines (23 loc) · 1.04 KB

TupleFilter

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

Properties

Name Type Description Notes
entity EntityFilter [optional]
relation str [optional]
subject SubjectFilter [optional]

Example

from permify.models.tuple_filter import TupleFilter

# TODO update the JSON string below
json = "{}"
# create an instance of TupleFilter from a JSON string
tuple_filter_instance = TupleFilter.from_json(json)
# print the JSON string representation of the object
print(TupleFilter.to_json())

# convert the object into a dict
tuple_filter_dict = tuple_filter_instance.to_dict()
# create an instance of TupleFilter from a dict
tuple_filter_from_dict = TupleFilter.from_dict(tuple_filter_dict)

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