Skip to content

Commit 825c758

Browse files
author
rob
committed
updated stone generator to not include incorrect respose type for _to_file helper methods
1 parent 6100257 commit 825c758

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

dropbox/base.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,8 +1095,7 @@ def files_download_to_file(self,
10951095
:param str download_path: Path on local machine to save file.
10961096
:param str path: The path of the file to download.
10971097
:param Nullable rev: Please specify revision in ``path`` instead.
1098-
:rtype: (:class:`dropbox.files.FileMetadata`,
1099-
:class:`requests.models.Response`)
1098+
:rtype: :class:`dropbox.files.FileMetadata`
11001099
:raises: :class:`dropbox.exceptions.ApiError`
11011100
11021101
If this raises, ApiError.reason is of type:
@@ -1205,8 +1204,7 @@ def files_get_preview_to_file(self,
12051204
:param str download_path: Path on local machine to save file.
12061205
:param str path: The path of the file to preview.
12071206
:param Nullable rev: Please specify revision in ``path`` instead.
1208-
:rtype: (:class:`dropbox.files.FileMetadata`,
1209-
:class:`requests.models.Response`)
1207+
:rtype: :class:`dropbox.files.FileMetadata`
12101208
:raises: :class:`dropbox.exceptions.ApiError`
12111209
12121210
If this raises, ApiError.reason is of type:
@@ -1306,8 +1304,7 @@ def files_get_thumbnail_to_file(self,
13061304
:type format: :class:`dropbox.files.ThumbnailFormat`
13071305
:param size: The size for the thumbnail image.
13081306
:type size: :class:`dropbox.files.ThumbnailSize`
1309-
:rtype: (:class:`dropbox.files.FileMetadata`,
1310-
:class:`requests.models.Response`)
1307+
:rtype: :class:`dropbox.files.FileMetadata`
13111308
:raises: :class:`dropbox.exceptions.ApiError`
13121309
13131310
If this raises, ApiError.reason is of type:
@@ -2353,8 +2350,7 @@ def paper_docs_download_to_file(self,
23532350
23542351
:param str download_path: Path on local machine to save file.
23552352
:type export_format: :class:`dropbox.paper.ExportFormat`
2356-
:rtype: (:class:`dropbox.paper.PaperDocExportResult`,
2357-
:class:`requests.models.Response`)
2353+
:rtype: :class:`dropbox.paper.PaperDocExportResult`
23582354
:raises: :class:`dropbox.exceptions.ApiError`
23592355
23602356
If this raises, ApiError.reason is of type:
@@ -3128,8 +3124,7 @@ def sharing_get_shared_link_file_to_file(self,
31283124
sub-folder in this folder. A relative path should be used.
31293125
:param Nullable link_password: If the shared link has a password, this
31303126
parameter can be used.
3131-
:rtype: (:class:`dropbox.sharing.SharedLinkMetadata`,
3132-
:class:`requests.models.Response`)
3127+
:rtype: :class:`dropbox.sharing.SharedLinkMetadata`
31333128
:raises: :class:`dropbox.exceptions.ApiError`
31343129
31353130
If this raises, ApiError.reason is of type:

0 commit comments

Comments
 (0)