Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.01 KB

File metadata and controls

32 lines (23 loc) · 1.01 KB

IngestRequest

Properties

Name Type Description Notes
content str Text content to index
id str Optional custom ID [optional]
type str Category/type of content
metadata Dict[str, object] [optional]

Example

from aerostack.models.ingest_request import IngestRequest

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

# convert the object into a dict
ingest_request_dict = ingest_request_instance.to_dict()
# create an instance of IngestRequest from a dict
ingest_request_form_dict = ingest_request.from_dict(ingest_request_dict)

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