Appearance
KnowledgeGraph
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| created_at | datetime | ||
| project_id | str | ||
| study_id | str | ||
| status | str | ||
| graph_data | str | ||
| explanation | str |
Example
python
from syntheticusers.models.knowledge_graph import KnowledgeGraph
# TODO update the JSON string below
json = "{}"
# create an instance of KnowledgeGraph from a JSON string
knowledge_graph_instance = KnowledgeGraph.from_json(json)
# print the JSON string representation of the object
print(KnowledgeGraph.to_json())
# convert the object into a dict
knowledge_graph_dict = knowledge_graph_instance.to_dict()
# create an instance of KnowledgeGraph from a dict
knowledge_graph_from_dict = KnowledgeGraph.from_dict(knowledge_graph_dict)