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

Class SearchGroupsResponse

slack_sdk/scim/v1/response.py:176–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174
175
176class SearchGroupsResponse(SCIMResponse):
177 groups: List[Group]
178
179 @property
180 def groups(self) -> List[Group]:
181 return [Group(**r) for r in self.snake_cased_body.get("resources")]
182
183 def __init__(self, underlying: SCIMResponse):
184 self.underlying = underlying
185 self.url = underlying.url
186 self.status_code = underlying.status_code
187 self.headers = underlying.headers
188 self.raw_body = underlying.raw_body
189 self.body = underlying.body
190 self._snake_cased_body = None
191
192
193class ReadGroupResponse(SCIMResponse):

Callers 2

search_groupsMethod · 0.85
search_groupsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected