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