MCPcopy
hub / github.com/slackapi/python-slack-sdk / _update_call_participants

Function _update_call_participants

slack_sdk/web/internal_utils.py:231–240  ·  view source on GitHub ↗
(kwargs, users: Union[str, Sequence[Dict[str, str]]])

Source from the content-addressed store, hash-verified

229
230
231def _update_call_participants(kwargs, users: Union[str, Sequence[Dict[str, str]]]) -> None:
232 if users is None:
233 return
234
235 if isinstance(users, list):
236 kwargs.update({"users": json.dumps(users)})
237 elif isinstance(users, str):
238 kwargs.update({"users": users})
239 else:
240 raise SlackRequestError("users must be either str or Sequence[Dict[str, str]]")
241
242
243def _next_cursor_is_present(data) -> bool:

Callers 9

calls_addMethod · 0.70
calls_addMethod · 0.70
calls_addMethod · 0.70

Calls 1

SlackRequestErrorClass · 0.90

Tested by

no test coverage detected