Comment
- class labstep.entities.comment.model.Comment(data, user)
- edit(body, extraParams={})
Edit an existing comment/caption.
- Parameters:
body (str) – The body of the new comment.
- Returns:
An object representing the edited comment.
- Return type:
Example
my_comment.edit(body='My new comment.')
- delete()
Delete the comment.
Example
comment.delete()
- export(rootPath)
Export the entity to the directory specified.
- Parameters:
path (str) – The path to the directory to save the experiment.
Example
experiment = user.getExperiment(17000) experiment.export('/my_folder')