Skip to content

Commit f42acd3

Browse files
committed
Fix optional user param
1 parent 8abc16f commit f42acd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jira/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2959,7 +2959,7 @@ def delete_user_avatar(self, username: str, avatar: str):
29592959

29602960
def search_users(
29612961
self,
2962-
user: str,
2962+
user: Optional[str] = None,
29632963
startAt: int = 0,
29642964
maxResults: int = 50,
29652965
includeActive: bool = True,
@@ -2971,7 +2971,7 @@ def search_users(
29712971
email again. But the first parameter is kept for backwards compatibility.
29722972
29732973
Args:
2974-
user (str): a string to match usernames, name or email against.
2974+
user (optional str): a string to match usernames, name or email against.
29752975
startAt (int): index of the first user to return.
29762976
maxResults (int): maximum number of users to return.
29772977
If maxResults evaluates as False, it will try to get all items in batches.

0 commit comments

Comments
 (0)