def _create_uri(self, account_id, resource, path=(), use_projection=True):
    account_id = account_id or self.cfs_account_id
    if account_id is None:
        raise ValueError('No Account ID set. '
                         'Either set for the client, or per request')
    segments = [CFS_URI, self.cfs_api_version, account_id, resource]
    if use_projection:
      segments.append(CFS_PROJECTION)
    segments.extend(path)
    return '/'.join(segments)
Test handling of adding port database entries.
dataset/ETHPy150Open twilio/howtos/intercom/gdata/contentforshopping/client.py/ContentForShoppingClient._create_uri--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/ml2/drivers/cisco/nexus/test_cisco_mech.py/TestCiscoPortsV2.test_nexus_duplicate_db_port_entries