parameters_to_tuples#

static ApiClient.parameters_to_tuples(params, collection_formats)#

Get parameters as a list of tuples, formatting collections.

Parameters:
paramsUnion[Dict, List[Tuple]]

Parameters for the request, either a dictionary with a name and value or a list of tuples with names and values.

collection_formatsDict[str, str]

Dictionary with a parameter name and collection type specifier.