We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2448b5 commit 4a1a2c2Copy full SHA for 4a1a2c2
scaleway/scaleway/instance/v1/custom_api.py
@@ -1,4 +1,4 @@
1
-from typing import Optional, Dict
+from typing import Optional, Dict, cast
2
3
from requests import Response
4
@@ -92,8 +92,7 @@ def get_all_server_user_data(
92
value = InstanceUtilsV1API.get_server_user_data(
93
self, server_id=param_server_id, key=key
94
)
95
- print("value: ", value)
96
- user_data[key] = value.content
+ user_data[key] = cast(bytes, value.content)
97
98
return GetAllServerUserDataResponse(user_data=user_data)
99
0 commit comments