Skip to content

Commit f9bfeb9

Browse files
committed
fix docstring
1 parent 59dfe61 commit f9bfeb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pysirix/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def create(self) -> Union[None, Coroutine[None, None, None]]:
4444

4545
def get_database_info(self) -> Union[Coroutine[None, None, Dict], Dict]:
4646
"""
47-
Get information about this database and its resources.
47+
Get information about the resources of this database.
4848
Raises a :py:class:`SirixServerError` error if the database does not exist.
4949
5050
:return: a ``dict`` with the name, type, and resources (as a ``list`` of ``str``) of this database.

pysirix/sync_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_database_info(self, name: str) -> Dict:
6565
Call the ``/{database}`` endpoint with a GET request.
6666
6767
:param name: name of the database.
68-
:return: a ``dict`` with the name of the database, the type, and a ``list`` of its resources.
68+
:return: a ``dict`` with a ``resources`` field containing a ``list`` of resources.
6969
:raises: :py:class:`SirixServerError`.
7070
"""
7171
resp = self.client.get(name, headers={"Accept": "application/json"})

0 commit comments

Comments
 (0)