delete()

audbackend.delete(name, host, repository)[source]

Delete repository.

Deletes the repository with name repository located at host on the backend with alias name.

Warning

audbackend.delete() is deprecated and will be removed in version 2.2.0. Repositories on backends are instead deleted by the class method delete() for the desired backend, e.g. audbackend.backend.FileSystem.delete().

Parameters
  • name (str) – backend alias

  • host (str) – host address

  • repository (str) – repository name

Raises
  • BackendError – if an error is raised on the backend, e.g. repository does not exist

  • ValueError – if no backend class with alias name has been registered