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

Method search_groups

slack_sdk/scim/v1/async_client.py:180–198  ·  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

178 # -------------------------
179
180 async def search_groups(
181 self,
182 *,
183 # Pagination required as of August 30, 2019.
184 count: int,
185 start_index: int,
186 filter: Optional[str] = None,
187 ) -> SearchGroupsResponse:
188 return SearchGroupsResponse(
189 await self.api_call(
190 http_verb="GET",
191 path="Groups",
192 query_params={
193 "filter": filter,
194 "count": count,
195 "startIndex": start_index,
196 },
197 )
198 )
199
200 async def read_group(self, id: str) -> ReadGroupResponse:
201 return ReadGroupResponse(await self.api_call(http_verb="GET", path=f"Groups/{quote(id)}"))

Callers 1

test_groupsMethod · 0.95

Calls 2

api_callMethod · 0.95

Tested by 1

test_groupsMethod · 0.76