Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.28 KB

AiImportResult.md

File metadata and controls

31 lines (23 loc) · 1.28 KB

AiImportResult

Outcome of PromptsEngine.importBundle. Either every entry persisted with counts, or no entries persisted plus a per-entry error report.

Properties

Name Type Description Notes
success bool True when the whole bundle was imported.
imported AiImportResultImported [optional]
errors List[AiImportError] What was rejected, per entry. Present on failure - and then nothing was imported. [optional]

Example

from docspace_api_sdk.models.ai_import_result import AiImportResult

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

# convert the object into a dict
ai_import_result_dict = ai_import_result_instance.to_dict()
# create an instance of AiImportResult from a dict
ai_import_result_from_dict = AiImportResult.from_dict(ai_import_result_dict)

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