Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: fix default value for config.REPOSITORIES #492

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions audb/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ class config:
A repository is defined by the object :class:`audb.Repository`,
containing the following attributes:

* :attr:`audb.Repository.name`: repository name, e.g. ``'data-local'``
* :attr:`audb.Repository.backend`: backend name, e.g. ``'artifactory'``
* :attr:`audb.Repository.name`: repository name, e.g. ``"audb-public"``
* :attr:`audb.Repository.backend`: backend name, e.g. ``"s3"``
* :attr:`audb.Repository.host`: host name,
e.g. ``'https://artifactory.audeering.com/artifactory'``
e.g. ``"s3.dualstack.eu-north-1.amazonaws.com"``

"""

Expand Down
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@


# Cache databases to avoid progress bar in code examples ------------------
_config = audb.core.config.load_configuration_file(
audb.core.config.global_config_file,
)
audb.config.REPOSITORIES = [
audb.Repository(
name="data-public",
host="https://audeering.jfrog.io/artifactory",
backend="artifactory",
)
audb.Repository(repo["name"], repo["host"], repo["backend"])
for repo in _config["repositories"]
]
database_name = "emodb"
database_version = "1.4.1"
Expand Down
Loading