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

Method search_groups

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

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

Callers 5

test_groupsMethod · 0.95
test_lookup_groupsMethod · 0.45
search_groups.pyFile · 0.45
mainFunction · 0.45

Calls 2

api_callMethod · 0.95

Tested by 3

test_groupsMethod · 0.76
test_lookup_groupsMethod · 0.36