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

Method search_users

slack_sdk/scim/v1/client.py:112–130  ·  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

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

Callers 6

test_usersMethod · 0.95
test_retriesMethod · 0.95
test_ratelimitedMethod · 0.95
test_lookup_usersMethod · 0.45
search_users.pyFile · 0.45

Calls 2

api_callMethod · 0.95
SearchUsersResponseClass · 0.85

Tested by 5

test_usersMethod · 0.76
test_retriesMethod · 0.76
test_ratelimitedMethod · 0.76
test_lookup_usersMethod · 0.36