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
fromiblai.models.per_learner_time_spent_in_course_treeimportPerLearnerTimeSpentInCourseTree# TODO update the JSON string belowjson="{}"# create an instance of PerLearnerTimeSpentInCourseTree from a JSON stringper_learner_time_spent_in_course_tree_instance=PerLearnerTimeSpentInCourseTree.from_json(json)
# print the JSON string representation of the objectprint(PerLearnerTimeSpentInCourseTree.to_json())
# convert the object into a dictper_learner_time_spent_in_course_tree_dict=per_learner_time_spent_in_course_tree_instance.to_dict()
# create an instance of PerLearnerTimeSpentInCourseTree from a dictper_learner_time_spent_in_course_tree_from_dict=PerLearnerTimeSpentInCourseTree.from_dict(per_learner_time_spent_in_course_tree_dict)