Skip to content

Commit 1950349

Browse files
committed
tryfix
1 parent de51825 commit 1950349

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

videodb/client.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ def get_invoices(self) -> List[dict]:
145145
return self.get(path=f"{ApiPath.billing}/{ApiPath.invoices}")
146146

147147
def download(self, stream_link: str, name: str) -> dict:
148+
"""Download a file from a stream link.
149+
150+
:param stream_link: URL of the stream to download
151+
:param name: Name to save the downloaded file as
152+
:return: Download response data
153+
:rtype: dict
154+
"""
148155
return self.post(
149156
path=f"{ApiPath.download}",
150157
data={
@@ -166,7 +173,7 @@ def upload(
166173
167174
:param file_path: Path to the file to upload
168175
:param url: URL of the file to upload
169-
:param MediaType media_type:(optional):class:`MediaType <MediaType>` object
176+
:param MediaType media_type:(optional) MediaType object
170177
:param name:(optional) Name of the file
171178
:param description:(optional) Description of the file
172179
:param callback_url:(optional) URL to receive the callback

0 commit comments

Comments
 (0)