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

Function _build_query

slack_sdk/scim/v1/internal_utils.py:12–15  ·  view source on GitHub ↗
(params: Optional[Dict[str, Any]])

Source from the content-addressed store, hash-verified

10
11
12def _build_query(params: Optional[Dict[str, Any]]) -> str:
13 if params is not None and len(params) > 0:
14 return "&".join({f"{quote(str(k))}={quote(str(v))}" for k, v in params.items() if v is not None})
15 return ""
16
17
18def _is_iterable(obj: Union[Optional[Any], DefaultArg]) -> bool:

Callers 2

api_callMethod · 0.70
api_callMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected