Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.44 KB

File metadata and controls

32 lines (23 loc) · 1.44 KB

DataWriteRequest

DataWriteRequest defines the structure of a request for writing data. It contains the necessary information such as tenant_id, metadata, tuples and attributes for the write operation.

Properties

Name Type Description Notes
metadata DataWriteRequestMetadata [optional]
tuples List[Tuple] tuples contains the list of tuples (entity-relation-entity triples) that need to be written. [optional]
attributes List[Attribute] attributes contains the list of attributes (entity-attribute-value triples) that need to be written. [optional]

Example

from permify.models.data_write_request import DataWriteRequest

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

# convert the object into a dict
data_write_request_dict = data_write_request_instance.to_dict()
# create an instance of DataWriteRequest from a dict
data_write_request_from_dict = DataWriteRequest.from_dict(data_write_request_dict)

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