pyconfs/writers/toml.py
def _enforce_str_keys(data: Dict[str, Any]) -> Dict[str, Any]:
    """Changes keys in nested dicts to strings."""
    if isinstance(data, dict):
        return {str(key): _enforce_str_keys(value) for key, value in data.items()}
    return data
Changes keys in nested dicts to strings.
Changes keys in nested dicts to strings.
Changes keys in nested dicts to strings .
def _enforce_str_keys(data: Dict[str, Any]) -> Dict[str, Any]:
    if isinstance(data, dict):
        return {str(key): _enforce_str_keys(value) for key, value in data.items()}
    return data
def _enforce_str_keys ( data : Dict [ str , Any ] ) -> Dict [ str , Any ] : if isinstance ( data , dict ) : return { str ( key ) : _enforce_str_keys ( value ) for key , value in data . items ( ) } return data
Changes keys in nested dicts to strings.
Changes keys in nested dicts to strings .
"""Changes keys in nested dicts to strings."""
data
Dict[str, Any]