Skip to content

Commit

Permalink
DOC: optional overwrite permissions for publish() (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw authored Feb 7, 2023
1 parent b5d4eb5 commit d5d07cf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions audb/core/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@ def publish(
) -> Dependencies:
r"""Publish database.
Publishes a database conform to audformat_,
stored in the ``db_root`` folder.
A database can have dependencies
to media files and tables of an older version.
E.g. you might alter an existing table
Expand Down Expand Up @@ -381,6 +384,16 @@ def publish(
In this case you don't call :func:`audb.load_to`
before running :func:`audb.publish`.
When canceling :func:`audb.publish`
during publication
you can restart it afterwards.
It will continue from the current state,
but you might need overwrite permissions
in addition to write permissions
on the backend.
.. _audformat: https://audeering.github.io/audformat/data-introduction.html
Args:
db_root: root directory of database
version: version string
Expand Down

0 comments on commit d5d07cf

Please sign in to comment.