Skip to content

Commit 6aa8c1e

Browse files
jhodges10sjkaliski
authored andcommitted
Add get_comment(comment_id) (#16)
Fetches an individual comment
1 parent 2179f20 commit 6aa8c1e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

frameioclient/client.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@ def upload(self, asset, file):
222222
"""
223223
uploader = FrameioUploader(asset, file)
224224
uploader.upload()
225+
226+
def get_comment(self, comment_id, **kwargs):
227+
"""
228+
Get a comment.
229+
230+
:Args:
231+
comment_id (string): The comment id.
232+
"""
233+
endpoint = '/comments/{id}'.format(comment_id)
234+
return self._api_call('get', endpoint, **kwargs)
225235

226236
def get_comments(self, asset_id, **kwargs):
227237
"""

0 commit comments

Comments
 (0)