def _parse_camel(kwargs) -> Dict: '''Parse locals to json compatible camelcased keys''' return { camelcase(key): val for (key, val) in kwargs.items() if key != "self" and val is not None }
def _parse_camel(kwargs) -> Dict: return {camelcase(key): val for (key, val) in kwargs.items() if key != "self" and val is not None}