def __new__(cls, auth_composite=None):
    config = VolumesAPIConfig()
    if (config.version_under_test == '1'):
        return VolumesV1Composite(auth_composite=auth_composite)
    if (config.version_under_test == '2'):
        return VolumesV2Composite(auth_composite=auth_composite)
    else:
        raise Exception("VolumesAutoComposite cannot be used unless the 'version_under_test' attribute of the VolumesAPIConfig is set to either '1' or '2'")
def __new__(cls, auth_composite=None):
    config = VolumesAPIConfig()
    if (config.version_under_test == '1'):
        return VolumesV1Composite(auth_composite=auth_composite)
    if (config.version_under_test == '2'):
        return VolumesV2Composite(auth_composite=auth_composite)
    else:
        raise Exception("VolumesAutoComposite cannot be used unless the 'version_under_test' attribute of the VolumesAPIConfig is set to either '1' or '2'")