Breaking change in v2.10.x: User and Server models require new mandatory fields
Los mantenedores suelen responder en 1 día
@estellesoulard ya está trabajando en esto.
Desde el 13/1/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Community Note
- Please vote on this issue by adding a 👍
reaction to the original
issue to help the community and maintainers prioritize this request - Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate
extra noise for issue followers and do not help prioritize the request - If you are interested in working on this issue or have submitted a pull request, please leave a comment
Command attempted
from datetime import datetime
from dateutil.tz import tzutc
from scaleway.iam.v1alpha1 import User
from scaleway.instance.v1 import Server
# This fails with: TypeError: User.__init__() missing 4 required positional arguments:
# 'first_name', 'last_name', 'phone_number', and 'locale'
user = User(
id="998cbe72-913f-4f55-8620-4b0f7655d343",
email="[email protected]",
username="[email protected]",
organization_id="0681c477-fbb9-4820-b8d6-0eef10cfcd6d",
created_at=datetime(2025, 3, 20, 7, 39, 54, 526837, tzinfo=tzutc()),
updated_at=datetime(2025, 6, 20, 9, 19, 54, 496281, tzinfo=tzutc()),
deletable=False,
type_="owner",
status="activated",
mfa=True,
account_root_user_id="db2c157f-0ae0-4f9c-aa24-bcccba549e52",
tags=[],
locked=False,
last_login_at=datetime(2025, 6, 20, 9, 19, 54, 502555, tzinfo=tzutc()),
two_factor_enabled=True,
)
# This fails with: TypeError: Server.__init__() missing 2 required positional arguments:
# 'filesystems' and 'end_of_service'
server = Server(
id="345627e9-18ff-47e0-b73d-3f38fddb4390",
name="demo-server",
organization="0681c477-fbb9-4820-b8d6-0eef10cfcd6d",
project="0681c477-fbb9-4820-b8d6-0eef10cfcd6d",
# ... other fields omitted for brevity
zone="fr-par-1",
)
Expected Behavior
The User and Server objects should be instantiable with the fields that were previously sufficient, or the new
fields (first_name, last_name, phone_number, locale for User and filesystems, end_of_service for Server) should
have default values or be optional parameters.
This code worked in previous SDK versions without these additional required fields.
Actual Behavior
SDK version 2.10.x introduces breaking changes where these models now require additional positional arguments:
TypeError: User.__init__() missing 4 required positional arguments: 'first_name', 'last_name', 'phone_number', and
'locale'
TypeError: Server.__init__() missing 2 required positional arguments: 'filesystems' and 'end_of_service'
These breaking changes cause existing code that creates these model instances to fail at import time.
More info
SDK-Python version: 2.10.2
Python version: 3.12.8
OS version: macOS Darwin 25.0.0
Additional context:
- We're calling these objects just for test generation code in https://github.com/cartography-cncf/cartography.
- https://github.com/cartography-cncf/cartography/issues/2003
We'll update our test code properly but figured I'd file an issue and say hi :D
Thanks for your time!
- Lenguaje dominante
- Python
- Estrellas
- 37
- Forks
- 17
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 72
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scaleway/scaleway-sdk-python
-
Published wheel declares both BSD and proprietary classifiers, and ships no license fileQuizá libre de nuevo @estellesoulard la tomó hace 31 días y no hay ningún pull request abierto. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
scaleway/scaleway-sdk-python#2131 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Secret Manager `list_secrets` silently returns empty when both `organization_id` and `project_id` are setQuizá libre de nuevo @estellesoulard la tomó hace 30 días y no hay ningún pull request abierto. Abiertobug secret
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
scaleway/scaleway-sdk-python#2147 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Ensure SDK python usability with LSP pylance / pyrightQuizá libre de nuevo @elwinar la tomó hace 50 días y no hay ningún pull request abierto. Abiertoagent enhancement
scaleway/scaleway-sdk-python#1954 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
scaleway/scaleway-sdk-python#1673 ·
Los mantenedores suelen responder en 1 día
-
Allow setting MongoDB private network when restoring a snapshotQuizá libre de nuevo @estellesoulard la tomó hace 281 días y no hay ningún pull request abierto. Abierto
scaleway/scaleway-sdk-python#1139 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de scaleway/scaleway-sdk-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
volcengine/OpenViking#6445 ·
Los mantenedores suelen responder en 1 día
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be editedPosiblemente ocupada @ManyaJain111 la tomó hoy. Abiertobug enhancement possible-duplicate
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
AOSSIE-Org/PictoPy#1637 · 4 comentarios ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
deepspeedai/DeepSpeed#8884 ·
Los mantenedores suelen responder en 3 días
-
Flaky: test_advisor_live_calibrates_an_unmeasured_circuit ranks engines by a 1.8ms sleep marginAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
flagos-ai/FlagQuantum#718 ·
Los mantenedores suelen responder en 1 día
-
bug CI-failure high priority
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
vllm-project/afd-plugin#483 ·
Los mantenedores suelen responder en 1 día