From 101156ba34673e8c75a75e037ac092612e7b73a8 Mon Sep 17 00:00:00 2001 From: Ali Satvaty <46220670+alistvt@users.noreply.github.com> Date: Wed, 30 Nov 2022 23:13:30 +0330 Subject: [PATCH] Update base.py adding param explanations for `files_upload` --- dropbox/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dropbox/base.py b/dropbox/base.py index c91ed484..db9214ec 100644 --- a/dropbox/base.py +++ b/dropbox/base.py @@ -3193,6 +3193,10 @@ def files_upload(self, this hash, an error will be returned. For more information see our `Content hash `_ page. + :param mode: :class:`dropbox.files.WriteMode` + :param bool autorename: If there's a conflict, as determined by mode, + have the Dropbox server try to autorename the file to avoid conflict. + The default for this field is False. :rtype: :class:`dropbox.files.FileMetadata` :raises: :class:`.exceptions.ApiError`