Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 947 Bytes

Tuple.md

File metadata and controls

32 lines (23 loc) · 947 Bytes

Tuple

Tuple is a structure that includes an entity, a relation, and a subject.

Properties

Name Type Description Notes
entity Entity [optional]
relation str [optional]
subject Subject [optional]

Example

from permify.models.tuple import Tuple

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

# convert the object into a dict
tuple_dict = tuple_instance.to_dict()
# create an instance of Tuple from a dict
tuple_from_dict = Tuple.from_dict(tuple_dict)

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