Skip to content

Commit

Permalink
docs: add documents for skip_upload_files in "BSTLD.Upload Dataset"
Browse files Browse the repository at this point in the history
  • Loading branch information
zhen.chen committed Sep 29, 2021
1 parent b65e505 commit ec73b13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/code/BSTLD.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
""""""

"""Upload Dataset"""
dataset_client = gas.upload_dataset(dataset, jobs=8)
dataset_client = gas.upload_dataset(dataset, jobs=8, skip_uploaded_files=True)
dataset_client.commit("initial commit")
""""""

Expand Down
4 changes: 4 additions & 0 deletions docs/source/examples/BSTLD.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ The organized "BSTLD" dataset can be uploaded to TensorBay for sharing, reuse, e
:start-after: """Upload Dataset"""
:end-before: """"""

.. note::
Set `skip_uploaded_files=True` to skip uploaded data.
The data will be skiped if it's name and segment name is the same as remote data.

Similar with Git, the commit step after uploading can record changes to the dataset as a version.
If needed, do the modifications and commit again.
Please see :ref:`features/version_control:Version Control` for more details.
Expand Down

0 comments on commit ec73b13

Please sign in to comment.