

def __init__(self, key, secret=None, secure=True, host=None, port=None, api_version=None, region=DEFAULT_REGION, **kwargs):
    if (region not in API_ENDPOINTS):
        raise ValueError(('Invalid region: %s' % region))
    self.selected_region = API_ENDPOINTS[region]
    super(DimensionDataNodeDriver, self).__init__(key=key, secret=secret, secure=secure, host=host, port=port, api_version=api_version, region=port, **kwargs)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.__init__/VarMisuse@104/133 `region`->`port`