@@ -92,7 +92,7 @@ def files_alpha_upload(self,
9292 larger than 150 MB. Instead, create an upload session with
9393 :meth:`files_upload_session_start`.
9494
95- :param f: A string or file-like obj of data .
95+ :param bytes f: Contents to upload .
9696 :param Nullable property_groups: List of custom properties to add to
9797 file.
9898 :rtype: :class:`dropbox.files.FileMetadata`
@@ -1190,7 +1190,7 @@ def files_upload(self,
11901190 this to upload a file larger than 150 MB. Instead, create an upload
11911191 session with :meth:`files_upload_session_start`.
11921192
1193- :param f: A string or file-like obj of data .
1193+ :param bytes f: Contents to upload .
11941194 :param str path: Path in the user's Dropbox to save the file.
11951195 :param mode: Selects what to do if the file already exists.
11961196 :type mode: :class:`dropbox.files.WriteMode`
@@ -1234,7 +1234,7 @@ def files_upload_session_append(self,
12341234 Append more data to an upload session. A single request should not
12351235 upload more than 150 MB of file contents.
12361236
1237- :param f: A string or file-like obj of data .
1237+ :param bytes f: Contents to upload .
12381238 :param str session_id: The upload session ID (returned by
12391239 :meth:`files_upload_session_start`).
12401240 :param long offset: The amount of data that has been uploaded so far. We
@@ -1269,7 +1269,7 @@ def files_upload_session_append_v2(self,
12691269 this call will close the session. A single request should not upload
12701270 more than 150 MB of file contents.
12711271
1272- :param f: A string or file-like obj of data .
1272+ :param bytes f: Contents to upload .
12731273 :param cursor: Contains the upload session ID and the offset.
12741274 :type cursor: :class:`dropbox.files.UploadSessionCursor`
12751275 :param bool close: If true, the current session will be closed, at which
@@ -1301,7 +1301,7 @@ def files_upload_session_finish(self,
13011301 path. A single request should not upload more than 150 MB of file
13021302 contents.
13031303
1304- :param f: A string or file-like obj of data .
1304+ :param bytes f: Contents to upload .
13051305 :param cursor: Contains the upload session ID and the offset.
13061306 :type cursor: :class:`dropbox.files.UploadSessionCursor`
13071307 :param commit: Contains the path and other optional modifiers for the
@@ -1390,7 +1390,7 @@ def files_upload_session_start(self,
13901390 Dropbox. A single request should not upload more than 150 MB of file
13911391 contents.
13921392
1393- :param f: A string or file-like obj of data .
1393+ :param bytes f: Contents to upload .
13941394 :param bool close: If true, the current session will be closed, at which
13951395 point you won't be able to call
13961396 :meth:`files_upload_session_append_v2` anymore with the current
0 commit comments