Example #1
0
    def get_operation_kwargs(self):
        op_values = self._operation_kwargs.copy()

        # convert camelcase to snake case on all
        return humps.decamelize(op_values)
Example #2
0
 def get_reference_kwargs(self):
     if self.config.get("reference", False):
         return humps.decamelize(self.operation_args[0])
     else:
         return dict()
Example #3
0
def camelback2snake(camel_dict: dict):
    """Convert the passed dictionary's keys from camelBack case to snake_case."""
    return decamelize(camel_dict)