def get_metadata(error_code=0, error_message=None, status='OK'):
    metadata = {
        'status': status,
        'error_code': error_code,
    }
    if error_message != None:
        metadata['error_message'] = error_message
    metadata.update(get_config().get('service_metadata', {}))
    return metadata
dataset/ETHPy150Open ottogroup/palladium/palladium/util.py/get_metadata/operator `is not` -> `!=`