(kwargs, users: Union[str, List[Dict[str, str]]])
| 26 | |
| 27 | |
| 28 | def _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 | |
| 40 | def _next_cursor_is_present(data) -> bool: |
nothing calls this directly
no test coverage detected