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 2ecc018 commit 12411fcCopy full SHA for 12411fc
scaleway/scaleway/instance/v1/custom_api.py
@@ -1,4 +1,4 @@
1
-from typing import Optional, Dict, Mapping
+from typing import Optional, Dict, cast
2
3
from requests import Response
4
@@ -92,7 +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
- user_data[key] = value.content
+ user_data[key] = cast(bytes, value.content)
96
97
return GetAllServerUserDataResponse(user_data=user_data)
98
0 commit comments