Skip to content

Commit e74c0bb

Browse files
committed
Fix docstrings
1 parent 039ae79 commit e74c0bb

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

loading_sdk/api.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class LoadingApiClient:
1616
1717
Some methods can be used anonymously, while others require the client to be authenticated
1818
with user credentials.
19-
19+
2020
:param email: users email address (**optional**)
2121
:type email: str
2222
:param password: users password (**optional**)
@@ -243,9 +243,11 @@ def get_editorials(self, page=None, post_type=None, sort=None):
243243
244244
:param page: Texts forum page (**optional**)
245245
:type page: int
246-
:param post_type: Articles can be of post_type: "review", "opinion", "update", "podcast", or "conversation" (**optional**)
246+
:param post_type: Articles can be of post_type: "review", "opinion", "update", "podcast",
247+
or "conversation" (**optional**)
247248
:type post_type: str
248-
:param sort: Sort the returned threads by date by the default, but if "title" is used as a parameter it's sorted by thread title instead. (**optional**)
249+
:param sort: Sort the returned threads by date by the default, but if "title" is used as
250+
a parameter it's sorted by thread title instead. (**optional**)
249251
:type sort: str
250252
:rtype: dict
251253
"""
@@ -333,7 +335,8 @@ def edit_post(self, post_id, message):
333335
334336
:param post_id: Unique post id
335337
:type post_id: str
336-
:param message: New text, that can be formatted with markdown, that will replace the old message
338+
:param message: New text, that can be formatted with markdown,
339+
that will replace the old message
337340
:type message: str
338341
:rtype: dict
339342
"""
@@ -428,7 +431,8 @@ def edit_thread(self, thread_id, message):
428431
429432
:param thread_id: Unique thread id
430433
:type thread_id: str
431-
:param message: New text, that can be formatted with markdown, that will replace the old message
434+
:param message: New text, that can be formatted with markdown,
435+
that will replace the old message
432436
:type message: str
433437
:rtype: dict
434438
"""

0 commit comments

Comments
 (0)