MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / _build_body

Function _build_body

slack/webhook/internal_utils.py:9–13  ·  view source on GitHub ↗
(original_body: Dict[str, any])

Source from the content-addressed store, hash-verified

7
8
9def _build_body(original_body: Dict[str, any]) -> Dict[str, any]:
10 body = {k: v for k, v in original_body.items() if v is not None}
11 body = convert_bool_to_0_or_1(body)
12 _parse_web_class_objects(body)
13 return body
14
15
16def _build_request_headers(

Callers 2

send_dictMethod · 0.70
send_dictMethod · 0.70

Calls 2

convert_bool_to_0_or_1Function · 0.90
_parse_web_class_objectsFunction · 0.90

Tested by

no test coverage detected