Skip to content

Commit

Permalink
documenting cache=True feature
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Jul 12, 2023
1 parent d44d015 commit 5e534e8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ FiftyOne Teams 1.3.3

Includes all updates from :ref:`FiftyOne 0.21.3 <release-notes-v0.21.3>`, plus:

SDK

- Added a `cache=True` option to the
:ref:`upload_media() <teams-cloud-api-reference>` utility that allows for
automatically adding any uploaded files to your local cache

API connections

- Fixed a bug when launching the App locally via API connections
Expand Down
7 changes: 7 additions & 0 deletions docs/source/teams/cloud_media.rst
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ _____________
rel_dir=None,
media_field="filepath",
update_filepaths=False,
cache=False,
overwrite=False,
skip_failures=False,
progress=False,
Expand All @@ -582,6 +583,12 @@ _____________
media_field ("filepath"): the field containing the media paths
update_filepaths (False): whether to update the ``media_field`` of each
sample in the collection to its remote path
cache (False): whether to store the uploaded media in your local media
cache. The supported values are:
- ``False`` (default): do not cache the media
- ``True`` or ``"copy"``: copy the media into your local cache
- ``"move"``: move the media into your local cache
overwrite (False): whether to overwrite (True) or skip (False) existing
remote files
skip_failures (False): whether to gracefully continue without raising
Expand Down

0 comments on commit 5e534e8

Please sign in to comment.