import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
placement_group_list = client.cloud.placement_groups.list(
project_id=0,
region_id=0,
)
print(placement_group_list.count)
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
placement_group_list = client.cloud.placement_groups.list(
project_id=0,
region_id=0,
)
print(placement_group_list.count)