Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Sep 4, 2024
1 parent 07b34df commit 3ed2685
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions audbackend/core/backend/minio.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Minio(Base):
Args:
host: host address
repository: repository name
authentication: username, password / API key / access token tuple.
authentication: username, password / access key, secret key token tuple.
If ``None``,
it requests it by calling :meth:`get_authentication`
Expand Down Expand Up @@ -45,7 +45,7 @@ def __init__(

@classmethod
def get_authentication(cls, host: str) -> typing.Tuple[str, str]:
"""Username and password/access token for given host.
"""Access and secret tokens for given host.
Returns a authentication for MinIO server
as tuple.
Expand Down Expand Up @@ -274,15 +274,11 @@ def path(
) -> str:
r"""Convert to backend path.
This extends the relative ``path`` on the backend
by :attr:`host` and :attr:`repository`,
and returns an :class:`artifactory.ArtifactoryPath` object.
Args:
path: path on backend
Returns:
Artifactory path object
path
"""
path = path.replace(self.sep, "/")
Expand Down

0 comments on commit 3ed2685

Please sign in to comment.