Skip to content

Fix typing issues for py<3.9 (#1519) #1520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion atlassian/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.2
4.0.3
12 changes: 6 additions & 6 deletions atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -1571,9 +1571,9 @@ def issue_update(
self,
issue_key: str,
fields: Union[str, dict],
update: Optional[dict[Any, Any]] = None,
history_metadata: Optional[dict[Any, Any]] = None,
properties: Optional[list[Any]] = None,
update: Optional[Dict[Any, Any]] = None,
history_metadata: Optional[Dict[Any, Any]] = None,
properties: Optional[List[Any]] = None,
notify_users: bool = True,
):
"""
Expand Down Expand Up @@ -4050,7 +4050,7 @@ def update_permissionscheme(
permission_id: str,
name: str,
description: Optional[str] = None,
permissions: Optional[list[dict]] = None,
permissions: Optional[List[dict]] = None,
scope: Optional[str] = None,
expand: Optional[str] = None,
):
Expand All @@ -4065,7 +4065,7 @@ def update_permissionscheme(
:param permission_id: int, REQUIRED: The ID of the permission scheme to update.
:param name: str, REQUIRED: The name of the permission scheme. Must be unique.
:param description: str, OPTIONAL: A description for the permission scheme. Defaults to None.
:param permissions: list[dict], OPTIONAL: A collection of permission grants. Defaults to None.
:param permissions: List[dict], OPTIONAL: A collection of permission grants. Defaults to None.
Example:
[
{
Expand Down Expand Up @@ -5692,7 +5692,7 @@ def flag_issue(self, issue_keys: List[T_id], flag: bool = True) -> T_resp_json:
"""
Flags or un-flags one or multiple issues in Jira with a flag indicator.
:param issue_keys: List of issue keys to flag or un-flag.
:type issue_keys: list[str]
:type issue_keys: List[str]
:param flag: Flag indicating whether to flag or un-flag the issues (default is True for flagging).
:type flag: bool
:return: POST request response.
Expand Down