MCPcopy Create free account
hub / github.com/slackapi/python-slack-sdk / search_users

Method search_users

slack_sdk/scim/v1/async_client.py:115–133  ·  view source on GitHub ↗
(
        self,
        *,
        # Pagination required as of August 30, 2019.
        count: int,
        start_index: int,
        filter: Optional[str] = None,
    )

Source from the content-addressed store, hash-verified

113 # -------------------------
114
115 async def search_users(
116 self,
117 *,
118 # Pagination required as of August 30, 2019.
119 count: int,
120 start_index: int,
121 filter: Optional[str] = None,
122 ) -> SearchUsersResponse:
123 return SearchUsersResponse(
124 await self.api_call(
125 http_verb="GET",
126 path="Users",
127 query_params={
128 "filter": filter,
129 "count": count,
130 "startIndex": start_index,
131 },
132 )
133 )
134
135 async def read_user(self, id: str) -> ReadUserResponse:
136 return ReadUserResponse(await self.api_call(http_verb="GET", path=f"Users/{quote(id)}"))

Callers 3

test_usersMethod · 0.95
test_retriesMethod · 0.95
test_ratelimitedMethod · 0.95

Calls 2

api_callMethod · 0.95
SearchUsersResponseClass · 0.85

Tested by 3

test_usersMethod · 0.76
test_retriesMethod · 0.76
test_ratelimitedMethod · 0.76