Skip to content

Commit

Permalink
Use s3 instead of minio backend name
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Nov 18, 2024
1 parent b99b757 commit 60b0ac8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions audb/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def available(
>>> df.loc[["air", "emodb"]]
backend host repository version
name
air minio s3.dualstack.eu-north-1.amazonaws.com audb-public 1.4.2
emodb minio s3.dualstack.eu-north-1.amazonaws.com audb-public 1.4.1
air s3 s3.dualstack.eu-north-1.amazonaws.com audb-public 1.4.2
emodb s3 s3.dualstack.eu-north-1.amazonaws.com audb-public 1.4.1
""" # noqa: E501
databases = []
Expand Down Expand Up @@ -552,7 +552,7 @@ def repository(
Examples:
>>> audb.repository("emodb", "1.4.1")
Repository('audb-public', 's3.dualstack.eu-north-1.amazonaws.com', 'minio')
Repository('audb-public', 's3.dualstack.eu-north-1.amazonaws.com', 's3')
""" # noqa: E501
if not versions(name):
Expand Down
2 changes: 1 addition & 1 deletion audb/core/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def public_repository(doctest_namespace):
audb.Repository(
name="audb-public",
host="s3.dualstack.eu-north-1.amazonaws.com",
backend="minio",
backend="s3",
),
]
doctest_namespace["audb"] = audb
Expand Down
2 changes: 1 addition & 1 deletion audb/core/etc/audb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cache_root: ~/audb
shared_cache_root: /data/audb
repositories:
- name: audb-public
backend: minio
backend: s3
host: s3.dualstack.eu-north-1.amazonaws.com
- name: data-local
backend: file-system
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


PUBLIC_HOST = "s3.dualstack.eu-north-1.amazonaws.com"
PUBLIC_BACKEND = "minio"
PUBLIC_BACKEND = "s3"


if platform.system() == "Darwin":
Expand Down

0 comments on commit 60b0ac8

Please sign in to comment.