Skip to content

Commit 814580e

Browse files
author
Johannes Lichtenberger
committed
Fix deprecation warnings for invalid escape sequences
Changed dict``\s to dict``s in docstrings to fix: - DeprecationWarning in pysirix/sync_client.py:24 - DeprecationWarning in pysirix/json_store.py:93
1 parent 5f5b24d commit 814580e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pysirix/json_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def insert_many(
9393
"""
9494
Inserts a list of records into the store. New records are added at the the tail of the store.
9595
96-
:param insert_list: either a JSON string of ``list`` of ``dict``\s, or a ``list`` that can be converted to JSON
96+
:param insert_list: either a JSON string of ``list`` of ``dict``s, or a ``list`` that can be converted to JSON
9797
:return: a ``str`` "{rest: []}" or an ``Awaitable[str]`` resolving to this string.
9898
"""
9999
insert_list = dumps(insert_list)

pysirix/sync_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def global_info(self, resources: bool = True) -> List[Dict]:
2626
the endpoint is called with the query ``withResources=true``
2727
2828
:param resources: whether to query resources as well
29-
:return: a ``list`` of ``dict``\s, where each ``dict`` has a ``name``
29+
:return: a ``list`` of ``dict``s, where each ``dict`` has a ``name``
3030
field, a ``type`` field, and (if ``resources`` is
3131
``True``) a ``resources`` field (containing a ``list`` of names).
3232
:raises: :py:class:`pysirix.SirixServerError`.

0 commit comments

Comments
 (0)