luminoso_api/v4_client.py
def jsonify_parameters(params):
    """
    When sent in an authorized REST request, only strings and integers can be
    transmitted accurately. Other types of data need to be encoded into JSON.
    """
    result = {}
    for param, value in params.items():
        if isinstance(value, types_not_to_encode):
            result[param] = value
        else:
            result[param] = json.dumps(value)
    return result
def jsonify_parameters(params):
    """
    When sent in an authorized REST request, only strings and integers can be
    transmitted accurately. Other types of data need to be encoded into JSON.
    """
    result = {}
    for param, value in params.items():
        if isinstance(value, types_not_to_encode):
            result[param] = value
        else:
            result[param] = json.dumps(value)
    return result
def jsonify_parameters ( params ) : result = { } for param , value in params . items ( ) : if isinstance ( value , types_not_to_encode ) : result [ param ] = value else : result [ param ] = json . dumps ( value ) return result
When sent in an authorized REST request, only strings and integers can be
    transmitted accurately. Other types of data need to be encoded into JSON.
When sent in an authorized REST request only strings and integers can be transmitted accurately . Other types of data need to be encoded into JSON .