Skip to content

Commit 8151e3a

Browse files
committed
Prepare release
1 parent f3f5e58 commit 8151e3a

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.41.18
1+
3.41.19

atlassian/bitbucket/cloud/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ def raise_for_status(self, response):
113113
e = j["error"]
114114
error_msg = e["message"]
115115
if e.get("detail"):
116-
# It uses interpolation instead of concatenation because of https://github.com/atlassian-api/atlassian-python-api/issues/1481
117-
error_msg = f"{error_msg}\n{e['detail']}"
116+
# It uses interpolation instead of concatenation because of
117+
# https://github.com/atlassian-api/atlassian-python-api/issues/1481
118+
error_msg = "{}\n{}".format(error_msg, e["detail"])
118119
except Exception as e:
119120
log.error(e)
120121
response.raise_for_status()

atlassian/confluence.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,6 @@ def get_all_pages_by_space_ids_confluence_cloud(
732732
"""
733733
Get all pages from a set of space ids:
734734
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-get
735-
736735
:param space_ids: A Set of space IDs passed as a filter to Confluence
737736
:param batch_size: OPTIONAL: The batch size of pages to retrieve from confluence per request MAX is 250.
738737
Default: 250
@@ -742,7 +741,7 @@ def get_all_pages_by_space_ids_confluence_cloud(
742741
Valid values: current, archived, deleted, trashed
743742
Default: current,archived
744743
:param title: OPTIONAL: Filter pages based on their title.
745-
:param body-format: OPTIONAL: The format of the body in the response. Valid values: storage, atlas_doc_format
744+
:param body_format: OPTIONAL: The format of the body in the response. Valid values: storage, atlas_doc_format
746745
:return:
747746
"""
748747
path = "/api/v2/pages"

atlassian/jira.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def get_application_role(self, role_key):
223223
def get_attachments_ids_from_issue(self, issue):
224224
"""
225225
Get attachments IDs from jira issue
226-
:param jira issue key: str
226+
:param issue: str : jira issue key
227227
:return: list of integers attachment IDs
228228
"""
229229
issue_id = self.get_issue(issue)["fields"]["attachment"]
@@ -1382,7 +1382,7 @@ def get_issue_labels(self, issue_key):
13821382

13831383
def update_issue(self, issue_key, update):
13841384
"""
1385-
:param issue: the issue to update
1385+
:param issue_key: the issue to update
13861386
:param update: the update to make
13871387
:return: True if successful, False if not
13881388
"""
@@ -1391,7 +1391,7 @@ def update_issue(self, issue_key, update):
13911391

13921392
def label_issue(self, issue_key, labels):
13931393
"""
1394-
:param issue: the issue to update
1394+
:param issue_key: the issue to update
13951395
:param labels: the labels to add
13961396
:return: True if successful, False if not
13971397
"""
@@ -1400,7 +1400,7 @@ def label_issue(self, issue_key, labels):
14001400

14011401
def unlabel_issue(self, issue_key, labels):
14021402
"""
1403-
:param issue: the issue to update
1403+
:param issue_key: the issue to update
14041404
:param labels: the labels to remove
14051405
:return: True if successful, False if not
14061406
"""

atlassian/service_desk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def add_request_participants(self, issue_id_or_key, users_list=None, account_lis
196196
197197
:param issue_id_or_key: str
198198
:param users_list: list
199+
:param account_list: list
199200
:return:
200201
"""
201202
url = "rest/servicedeskapi/request/{}/participant".format(issue_id_or_key)
@@ -214,6 +215,7 @@ def remove_request_participants(self, issue_id_or_key, users_list=None, account_
214215
215216
:param issue_id_or_key: str
216217
:param users_list: list
218+
:param account_list: list
217219
:return:
218220
"""
219221
url = "rest/servicedeskapi/request/{}/participant".format(issue_id_or_key)

0 commit comments

Comments
 (0)