Skip to content

Commit 808b8fd

Browse files
committed
feat: add transcode details
1 parent 55269c9 commit 808b8fd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

videodb/client.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,15 @@ def transcode(
226226
},
227227
)
228228

229+
def get_transcode_details(self, job_id: str) -> dict:
230+
"""Get the details of a transcode job.
231+
232+
:param str job_id: ID of the transcode job
233+
:return: Details of the transcode job
234+
:rtype: dict
235+
"""
236+
return self.get(path=f"{ApiPath.transcode}/{job_id}")
237+
229238
def upload(
230239
self,
231240
file_path: str = None,

0 commit comments

Comments
 (0)