Skip to content

Commit

Permalink
Add new arguments to admin.users.list API method (#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch authored Nov 2, 2023
1 parent 9967dc0 commit 2d592cd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions slack_sdk/web/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1675,6 +1675,8 @@ async def admin_users_list(
self,
*,
team_id: str,
include_deactivated_user_workspaces: Optional[bool] = None,
is_active: Optional[bool] = None,
cursor: Optional[str] = None,
limit: Optional[int] = None,
**kwargs,
Expand All @@ -1685,6 +1687,8 @@ async def admin_users_list(
kwargs.update(
{
"team_id": team_id,
"include_deactivated_user_workspaces": include_deactivated_user_workspaces,
"is_active": is_active,
"cursor": cursor,
"limit": limit,
}
Expand Down
4 changes: 4 additions & 0 deletions slack_sdk/web/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,8 @@ def admin_users_list(
self,
*,
team_id: str,
include_deactivated_user_workspaces: Optional[bool] = None,
is_active: Optional[bool] = None,
cursor: Optional[str] = None,
limit: Optional[int] = None,
**kwargs,
Expand All @@ -1676,6 +1678,8 @@ def admin_users_list(
kwargs.update(
{
"team_id": team_id,
"include_deactivated_user_workspaces": include_deactivated_user_workspaces,
"is_active": is_active,
"cursor": cursor,
"limit": limit,
}
Expand Down
4 changes: 4 additions & 0 deletions slack_sdk/web/legacy_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1677,6 +1677,8 @@ def admin_users_list(
self,
*,
team_id: str,
include_deactivated_user_workspaces: Optional[bool] = None,
is_active: Optional[bool] = None,
cursor: Optional[str] = None,
limit: Optional[int] = None,
**kwargs,
Expand All @@ -1687,6 +1689,8 @@ def admin_users_list(
kwargs.update(
{
"team_id": team_id,
"include_deactivated_user_workspaces": include_deactivated_user_workspaces,
"is_active": is_active,
"cursor": cursor,
"limit": limit,
}
Expand Down

0 comments on commit 2d592cd

Please sign in to comment.