recap.utils

Submodules

recap.utils.text

recap.utils.text.parse_json_body(text: str) Tuple[dict | None, str][source]
recap.utils.text.strip_keys(obj) Any[source]

Recursively remove leading and trailing whitespace from dictionary keys.

Parameters:

obj (dict) – The dictionary object to process.

Returns:

object with all dictionary keys stripped of surrounding whitespace.

Module contents