Ejemplo n.º 1
0
 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
     }
Ejemplo n.º 2
0
 def _parse_camel(kwargs) -> Dict:
     return {camelcase(key): val for (key, val) in kwargs.items() if key != "self" and val is not None}