delete()¶
- audbackend.delete(name, host, repository)[source]¶
Delete repository.
Deletes the repository with name
repository
located athost
on the backend with aliasname
.Warning
audbackend.delete()
is deprecated and will be removed in version 2.2.0. Repositories on backends are instead deleted by the class methoddelete()
for the desired backend, e.g.audbackend.backend.FileSystem.delete()
.- Parameters
- 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