From 36ba5d77205749c3e89e2d465657934365807965 Mon Sep 17 00:00:00 2001 From: "Gergely Daroczi (@daroczig)" Date: Sun, 7 Apr 2024 23:16:14 +0200 Subject: [PATCH] cx11 is name, not id --- examples/create_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/create_server.py b/examples/create_server.py index d85c1d9..ce832d7 100644 --- a/examples/create_server.py +++ b/examples/create_server.py @@ -15,7 +15,7 @@ response = client.servers.create( name="my-server", - server_type=ServerType("cx11"), + server_type=ServerType(name="cx11"), image=Image(name="ubuntu-20.04"), ) server = response.server