Skip to content

Commit f75df0a

Browse files
authored
Merge branch 'main' into v1.6738.0
2 parents 461c999 + c41f7d2 commit f75df0a

File tree

227 files changed

+42954
-65840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+42954
-65840
lines changed

scaleway-core/scaleway_core/utils/resolve_one_of.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ def resolve_one_of(
2828
# Get the first non-empty default
2929
for possibility in possibilities:
3030
if possibility.default is not None:
31+
<<<<<<< HEAD
32+
if possibility.marshal_func is not None:
33+
# When no actual value, call with None as value
34+
return {
35+
possibility.param: possibility.marshal_func(
36+
None, possibility.default
37+
)
38+
}
39+
=======
40+
>>>>>>> 539c303 (Revert "fix(core): management one_of")
3141
return {possibility.param: possibility.default}
3242

3343
# If required, raise an error

scaleway/scaleway/__init__.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

scaleway/scaleway/account/v2/__init__.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

scaleway/scaleway/account/v2/api.py

Lines changed: 0 additions & 261 deletions
This file was deleted.

0 commit comments

Comments
 (0)