You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python example.py
Traceback (most recent call last):
File "/Users/jcd/Repos/iplistgen/example.py", line 18, in <module>
result = api.list_servers()
^^^^^^^^^^^^^^^^^^
File "/Users/jcd/Library/Caches/pypoetry/virtualenvs/iplistgen-gpgcOG1k-py3.12/lib/python3.12/site-packages/scaleway/instance/v1/api.py", line 435, in list_servers
return unmarshal_ListServersResponse(res.json())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jcd/Library/Caches/pypoetry/virtualenvs/iplistgen-gpgcOG1k-py3.12/lib/python3.12/site-packages/scaleway/instance/v1/marshalling.py", line 2018, in unmarshal_ListServersResponse
[unmarshal_Server(v) for v in field] if field is not None else None
^^^^^^^^^^^^^^^^^^^
File "/Users/jcd/Library/Caches/pypoetry/virtualenvs/iplistgen-gpgcOG1k-py3.12/lib/python3.12/site-packages/scaleway/instance/v1/marshalling.py", line 798, in unmarshal_Server
args["public_ip"] = unmarshal_ServerIp(field)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jcd/Library/Caches/pypoetry/virtualenvs/iplistgen-gpgcOG1k-py3.12/lib/python3.12/site-packages/scaleway/instance/v1/marshalling.py", line 565, in unmarshal_ServerIp
return ServerIp(**args)
^^^^^^^^^^^^^^^^
TypeError: ServerIp.__init__() missing 2 required positional arguments: 'gateway' and 'ipam_id'
The text was updated successfully, but these errors were encountered:
Could you please provide more information about your issue? To help us better understand, you can add the following code to enable logging:
import logging
logger = logging.getLogger("scaleway")
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.DEBUG)
This will generate logs that you can share with us for further analysis.
Example:
Result:
The text was updated successfully, but these errors were encountered: