You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromksapi.models.text_part_or_reasoning_part_or_tool_part_or_doc_edit_partimportTextPartOrReasoningPartOrToolPartOrDocEditPart# TODO update the JSON string belowjson="{}"# create an instance of TextPartOrReasoningPartOrToolPartOrDocEditPart from a JSON stringtext_part_or_reasoning_part_or_tool_part_or_doc_edit_part_instance=TextPartOrReasoningPartOrToolPartOrDocEditPart.from_json(json)
# print the JSON string representation of the objectprint(TextPartOrReasoningPartOrToolPartOrDocEditPart.to_json())
# convert the object into a dicttext_part_or_reasoning_part_or_tool_part_or_doc_edit_part_dict=text_part_or_reasoning_part_or_tool_part_or_doc_edit_part_instance.to_dict()
# create an instance of TextPartOrReasoningPartOrToolPartOrDocEditPart from a dicttext_part_or_reasoning_part_or_tool_part_or_doc_edit_part_from_dict=TextPartOrReasoningPartOrToolPartOrDocEditPart.from_dict(text_part_or_reasoning_part_or_tool_part_or_doc_edit_part_dict)