-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing required argument arch in server attribut bootscript #560
Comments
Issue come from the API response GET https://api.scaleway.com/instance/v1/zones/fr-par-1/servers?page=1&project=d3520a52-2c75-4ba0-bda8-82dd087f07f2 |
The problem stemmed from the API but has since been resolved. |
Traceback (most recent call last):
File "/Users/lauremasson/PycharmProjects/sdk-tests-python/instance.py", line 27, in
list = api.list_servers_all()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/lauremasson/Documents/devtools/protoc-gen/_generated/scaleway-sdk-python/scaleway/scaleway/instance/v1/api.py", line 575, in list_servers_all
return fetch_all_pages(
^^^^^^^^^^^^^^^^
File "/Users/lauremasson/PycharmProjects/data-structure/.venv/lib/python3.11/site-packages/scaleway_core/utils/fetch_all_pages.py", line 35, in fetch_all_pages
data = fetcher(**fetcher_args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/lauremasson/Documents/devtools/protoc-gen/_generated/scaleway-sdk-python/scaleway/scaleway/instance/v1/api.py", line 524, in list_servers
return unmarshal_ListServersResponse(res.json())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/lauremasson/Documents/devtools/protoc-gen/_generated/scaleway-sdk-python/scaleway/scaleway/instance/v1/marshalling.py", line 1924, in unmarshal_ListServersResponse
args["servers"] = [unmarshal_Server(v) for v in field] if field is not None else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/lauremasson/Documents/devtools/protoc-gen/_generated/scaleway-sdk-python/scaleway/scaleway/instance/v1/marshalling.py", line 1924, in
args["servers"] = [unmarshal_Server(v) for v in field] if field is not None else None
^^^^^^^^^^^^^^^^^^^
File "/Users/lauremasson/Documents/devtools/protoc-gen/_generated/scaleway-sdk-python/scaleway/scaleway/instance/v1/marshalling.py", line 855, in unmarshal_Server
args["bootscript"] = unmarshal_Bootscript(field)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/lauremasson/Documents/devtools/protoc-gen/_generated/scaleway-sdk-python/scaleway/scaleway/instance/v1/marshalling.py", line 301, in unmarshal_Bootscript
return Bootscript(**args)
^^^^^^^^^^^^^^^^^^
TypeError: Bootscript.init() missing 1 required positional argument: 'arch'
The text was updated successfully, but these errors were encountered: