Skip to content

Commit 5171fd4

Browse files
committed
small fixes
1 parent 1fb5bc6 commit 5171fd4

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,4 +395,9 @@ The code gets modified and the helpers get copied in from /helpers.
395395

396396
``./codegen.sh`` generates docs directory with source code and documentation.
397397

398-
If you wish to customise how the API key or project is selected see the code in the helpers directory.
398+
If you wish to customise how the API key or project is selected see the code in the helpers directory.
399+
400+
Install the latest test version:
401+
```shell
402+
pip install --upgrade --index-url https://test.pypi.org/simple/ cudo-compute
403+
```

helpers/cudo_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def disks(key=None):
100100
return cudo.DisksApi(find_client(key))
101101

102102

103-
def machine_types():
104-
return cudo.MachineTypesApi(c)
103+
def machine_types(key=None):
104+
return cudo.MachineTypesApi(find_client(key))
105105

106106

107107
def networks(key=None):

0 commit comments

Comments
 (0)