Function to rebuild and return kwargs dictionary sanitized. Should be called by every function that could be called directly by the user.
kwargs (Dict[str, Any]) – Input kwargs for any user-facing function.
Dict
str
Any
lowered – Sanitized kwargs with all keys made lowercase. Also turns boolean-like values into actual booleans. Also turns values lowercase if sensible.
Dict[str, Any]