From a53b9f7b00389de9659558030882d9dff2c56a73 Mon Sep 17 00:00:00 2001 From: "dropbox-sdk-updater[bot]" <306210582+dropbox-sdk-updater[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 06:02:39 +0000 Subject: [PATCH] Automated Spec Update 8bd09da79bbeeb69d9f68992d849ebac8daf54f0 Automated update of the API specification Co-authored-by: dropbox-spec-updater[bot] <306253022+dropbox-spec-updater[bot]@users.noreply.github.com> --- dropbox/files.py | 12 +++++++++++- spec | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dropbox/files.py b/dropbox/files.py index bf9a52d..a366628 100644 --- a/dropbox/files.py +++ b/dropbox/files.py @@ -2912,6 +2912,13 @@ class FileStatus(bb.Union): This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. + + :ivar FileStatus.deleted: + Field is deprecated. Deprecated. Deleted-file search does not work and + should not be used. Use + :meth:`dropbox.dropbox_client.Dropbox.files_list_folder` with + ``ListFolderArg.include_deleted`` set to ``True`` to enumerate deleted + entries; this does not provide equivalent full-text search. """ _catch_all = "other" @@ -8654,7 +8661,10 @@ class SearchOptions(bb.Struct): Specified property of the order of search results. By default, results are sorted by relevance. :ivar SearchOptions.file_status: - Restricts search to the given file status. + Restricts search to the given file status. The ``FileStatus.deleted`` + value is deprecated and should not be used. This also applies to + searches continued with + :meth:`dropbox.dropbox_client.Dropbox.files_search_continue`. :ivar SearchOptions.filename_only: Restricts search to only match on filenames. :ivar SearchOptions.file_extensions: diff --git a/spec b/spec index 2994fb7..8bd09da 160000 --- a/spec +++ b/spec @@ -1 +1 @@ -Subproject commit 2994fb7470d515e1fb223a9dbe18df41341b1a27 +Subproject commit 8bd09da79bbeeb69d9f68992d849ebac8daf54f0