Skip to content

Commit

Permalink
Leave default args to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
eljulians committed May 17, 2021
1 parent f42acd3 commit fd1bf01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2959,19 +2959,19 @@ def delete_user_avatar(self, username: str, avatar: str):

def search_users(
self,
user: Optional[str] = None,
user: str = "",
startAt: int = 0,
maxResults: int = 50,
includeActive: bool = True,
includeInactive: bool = False,
query: Optional[str] = None,
query: str = "",
) -> ResultList[User]:
"""Get a list of user Resources that match the specified search string.
"username" query parameter is deprecated in Jira Cloud; the expected parameter now is "query", which can just be the full
email again. But the first parameter is kept for backwards compatibility.
Args:
user (optional str): a string to match usernames, name or email against.
user (str): a string to match usernames, name or email against.
startAt (int): index of the first user to return.
maxResults (int): maximum number of users to return.
If maxResults evaluates as False, it will try to get all items in batches.
Expand Down

0 comments on commit fd1bf01

Please sign in to comment.