Skip to content

Commit 649b48c

Browse files
Auto-update API to: 5d03147, 2025-11-18 09:31:00 +0000
1 parent 65e9e51 commit 649b48c

File tree

7 files changed

+35
-15
lines changed

7 files changed

+35
-15
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "nebius"
7-
version = "0.3.9"
7+
version = "0.3.10"
88
description = "Nebius Python SDK"
99
authors = [
1010
{ name = "Daniil Drizhuk", email = "complynx@nebius.com" },

src/nebius/api/nebius/common/v1/metadata_pb2.py

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/nebius/api/nebius/compute/v1/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6711,6 +6711,7 @@ def __init__(
67116711
human_readable_name: "builtins.str|None|unset.UnsetType" = unset.Unset,
67126712
allow_preset_change: "builtins.bool|None|unset.UnsetType" = unset.Unset,
67136713
short_human_readable_name: "builtins.str|None|unset.UnsetType" = unset.Unset,
6714+
gpu_memory_gibibytes: "builtins.int|None|unset.UnsetType" = unset.Unset,
67146715
) -> None:
67156716
super().__init__(initial_message)
67166717
if not isinstance(presets, unset.UnsetType):
@@ -6723,6 +6724,8 @@ def __init__(
67236724
self.allow_preset_change = allow_preset_change
67246725
if not isinstance(short_human_readable_name, unset.UnsetType):
67256726
self.short_human_readable_name = short_human_readable_name
6727+
if not isinstance(gpu_memory_gibibytes, unset.UnsetType):
6728+
self.gpu_memory_gibibytes = gpu_memory_gibibytes
67266729

67276730
def __dir__(self) ->abc.Iterable[builtins.str]:
67286731
return [
@@ -6731,6 +6734,7 @@ def __dir__(self) ->abc.Iterable[builtins.str]:
67316734
"human_readable_name",
67326735
"allow_preset_change",
67336736
"short_human_readable_name",
6737+
"gpu_memory_gibibytes",
67346738
]
67356739

67366740
@builtins.property
@@ -6779,12 +6783,22 @@ def short_human_readable_name(self, value: "builtins.str|None") -> None:
67796783
return super()._set_field("short_human_readable_name",value,explicit_presence=False,
67806784
)
67816785

6786+
@builtins.property
6787+
def gpu_memory_gibibytes(self) -> "builtins.int":
6788+
return super()._get_field("gpu_memory_gibibytes", explicit_presence=False,
6789+
)
6790+
@gpu_memory_gibibytes.setter
6791+
def gpu_memory_gibibytes(self, value: "builtins.int|None") -> None:
6792+
return super()._set_field("gpu_memory_gibibytes",value,explicit_presence=False,
6793+
)
6794+
67826795
__PY_TO_PB2__: builtins.dict[builtins.str,builtins.str] = {
67836796
"presets":"presets",
67846797
"gpu_count_quota_type":"gpu_count_quota_type",
67856798
"human_readable_name":"human_readable_name",
67866799
"allow_preset_change":"allow_preset_change",
67876800
"short_human_readable_name":"short_human_readable_name",
6801+
"gpu_memory_gibibytes":"gpu_memory_gibibytes",
67886802
}
67896803

67906804
class Preset(pb_classes.Message):

src/nebius/api/nebius/compute/v1/platform_pb2.py

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/nebius/api/nebius/compute/v1/platform_pb2.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,20 @@ class Platform(_message.Message):
1818
def __init__(self, metadata: _Optional[_Union[_metadata_pb2.ResourceMetadata, _Mapping]] = ..., spec: _Optional[_Union[PlatformSpec, _Mapping]] = ..., status: _Optional[_Union[PlatformStatus, _Mapping]] = ...) -> None: ...
1919

2020
class PlatformSpec(_message.Message):
21-
__slots__ = ["presets", "gpu_count_quota_type", "human_readable_name", "allow_preset_change", "short_human_readable_name"]
21+
__slots__ = ["presets", "gpu_count_quota_type", "human_readable_name", "allow_preset_change", "short_human_readable_name", "gpu_memory_gibibytes"]
2222
PRESETS_FIELD_NUMBER: _ClassVar[int]
2323
GPU_COUNT_QUOTA_TYPE_FIELD_NUMBER: _ClassVar[int]
2424
HUMAN_READABLE_NAME_FIELD_NUMBER: _ClassVar[int]
2525
ALLOW_PRESET_CHANGE_FIELD_NUMBER: _ClassVar[int]
2626
SHORT_HUMAN_READABLE_NAME_FIELD_NUMBER: _ClassVar[int]
27+
GPU_MEMORY_GIBIBYTES_FIELD_NUMBER: _ClassVar[int]
2728
presets: _containers.RepeatedCompositeFieldContainer[Preset]
2829
gpu_count_quota_type: str
2930
human_readable_name: str
3031
allow_preset_change: bool
3132
short_human_readable_name: str
32-
def __init__(self, presets: _Optional[_Iterable[_Union[Preset, _Mapping]]] = ..., gpu_count_quota_type: _Optional[str] = ..., human_readable_name: _Optional[str] = ..., allow_preset_change: bool = ..., short_human_readable_name: _Optional[str] = ...) -> None: ...
33+
gpu_memory_gibibytes: int
34+
def __init__(self, presets: _Optional[_Iterable[_Union[Preset, _Mapping]]] = ..., gpu_count_quota_type: _Optional[str] = ..., human_readable_name: _Optional[str] = ..., allow_preset_change: bool = ..., short_human_readable_name: _Optional[str] = ..., gpu_memory_gibibytes: _Optional[int] = ...) -> None: ...
3335

3436
class Preset(_message.Message):
3537
__slots__ = ["name", "resources", "allow_gpu_clustering"]

src/nebius/base/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.3.9"
1+
version = "0.3.10"

0 commit comments

Comments
 (0)