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

Function _update_call_participants

slack/web/internal_utils.py:28–37  ·  view source on GitHub ↗
(kwargs, users: Union[str, List[Dict[str, str]]])

Source from the content-addressed store, hash-verified

26
27
28def _update_call_participants(kwargs, users: Union[str, List[Dict[str, str]]]) -> None:
29 if users is None:
30 return
31
32 if isinstance(users, list):
33 kwargs.update({"users": json.dumps(users)})
34 elif isinstance(users, str):
35 kwargs.update({"users": users})
36 else:
37 raise SlackRequestError("users must be either str or List[Dict[str, str]]")
38
39
40def _next_cursor_is_present(data) -> bool:

Callers

nothing calls this directly

Calls 1

SlackRequestErrorClass · 0.90

Tested by

no test coverage detected