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

Method create_group

slack_sdk/scim/v1/async_client.py:203–210  ·  view source on GitHub ↗
(self, group: Union[Dict[str, Any], Group])

Source from the content-addressed store, hash-verified

201 return ReadGroupResponse(await self.api_call(http_verb="GET", path=f"Groups/{quote(id)}"))
202
203 async def create_group(self, group: Union[Dict[str, Any], Group]) -> GroupCreateResponse:
204 return GroupCreateResponse(
205 await self.api_call(
206 http_verb="POST",
207 path="Groups",
208 body_params=group.to_dict() if isinstance(group, Group) else _to_dict_without_not_given(group),
209 )
210 )
211
212 async def patch_group(self, id: str, partial_group: Union[Dict[str, Any], Group]) -> GroupPatchResponse:
213 return GroupPatchResponse(

Callers 1

test_groupsMethod · 0.95

Calls 4

api_callMethod · 0.95
GroupCreateResponseClass · 0.85
to_dictMethod · 0.45

Tested by 1

test_groupsMethod · 0.76