modal 1.2.2.dev31__py3-none-any.whl → 1.2.2.dev36__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- modal/_functions.py +13 -20
- modal/_load_context.py +2 -2
- modal/_object.py +4 -4
- modal/client.pyi +2 -2
- modal/functions.pyi +0 -1
- modal/mount.py +1 -1
- modal/secret.py +32 -31
- modal/secret.pyi +9 -2
- {modal-1.2.2.dev31.dist-info → modal-1.2.2.dev36.dist-info}/METADATA +1 -1
- {modal-1.2.2.dev31.dist-info → modal-1.2.2.dev36.dist-info}/RECORD +18 -18
- modal_proto/api.proto +4 -0
- modal_proto/api_pb2.py +684 -684
- modal_proto/api_pb2.pyi +24 -3
- modal_version/__init__.py +1 -1
- {modal-1.2.2.dev31.dist-info → modal-1.2.2.dev36.dist-info}/WHEEL +0 -0
- {modal-1.2.2.dev31.dist-info → modal-1.2.2.dev36.dist-info}/entry_points.txt +0 -0
- {modal-1.2.2.dev31.dist-info → modal-1.2.2.dev36.dist-info}/licenses/LICENSE +0 -0
- {modal-1.2.2.dev31.dist-info → modal-1.2.2.dev36.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -4268,12 +4268,16 @@ class EnvironmentListItem(google.protobuf.message.Message):
|
|
|
4268
4268
|
DEFAULT_FIELD_NUMBER: builtins.int
|
|
4269
4269
|
IS_MANAGED_FIELD_NUMBER: builtins.int
|
|
4270
4270
|
ENVIRONMENT_ID_FIELD_NUMBER: builtins.int
|
|
4271
|
+
MAX_CONCURRENT_TASKS_FIELD_NUMBER: builtins.int
|
|
4272
|
+
MAX_CONCURRENT_GPUS_FIELD_NUMBER: builtins.int
|
|
4271
4273
|
name: builtins.str
|
|
4272
4274
|
webhook_suffix: builtins.str
|
|
4273
4275
|
created_at: builtins.float
|
|
4274
4276
|
default: builtins.bool
|
|
4275
4277
|
is_managed: builtins.bool
|
|
4276
4278
|
environment_id: builtins.str
|
|
4279
|
+
max_concurrent_tasks: builtins.int
|
|
4280
|
+
max_concurrent_gpus: builtins.int
|
|
4277
4281
|
def __init__(
|
|
4278
4282
|
self,
|
|
4279
4283
|
*,
|
|
@@ -4283,8 +4287,15 @@ class EnvironmentListItem(google.protobuf.message.Message):
|
|
|
4283
4287
|
default: builtins.bool = ...,
|
|
4284
4288
|
is_managed: builtins.bool = ...,
|
|
4285
4289
|
environment_id: builtins.str = ...,
|
|
4290
|
+
max_concurrent_tasks: builtins.int | None = ...,
|
|
4291
|
+
max_concurrent_gpus: builtins.int | None = ...,
|
|
4286
4292
|
) -> None: ...
|
|
4287
|
-
def
|
|
4293
|
+
def HasField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks"]) -> builtins.bool: ...
|
|
4294
|
+
def ClearField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "created_at", b"created_at", "default", b"default", "environment_id", b"environment_id", "is_managed", b"is_managed", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks", "name", b"name", "webhook_suffix", b"webhook_suffix"]) -> None: ...
|
|
4295
|
+
@typing.overload
|
|
4296
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus"]) -> typing_extensions.Literal["max_concurrent_gpus"] | None: ...
|
|
4297
|
+
@typing.overload
|
|
4298
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_tasks", b"_max_concurrent_tasks"]) -> typing_extensions.Literal["max_concurrent_tasks"] | None: ...
|
|
4288
4299
|
|
|
4289
4300
|
global___EnvironmentListItem = EnvironmentListItem
|
|
4290
4301
|
|
|
@@ -4350,20 +4361,30 @@ class EnvironmentUpdateRequest(google.protobuf.message.Message):
|
|
|
4350
4361
|
CURRENT_NAME_FIELD_NUMBER: builtins.int
|
|
4351
4362
|
NAME_FIELD_NUMBER: builtins.int
|
|
4352
4363
|
WEB_SUFFIX_FIELD_NUMBER: builtins.int
|
|
4364
|
+
MAX_CONCURRENT_TASKS_FIELD_NUMBER: builtins.int
|
|
4365
|
+
MAX_CONCURRENT_GPUS_FIELD_NUMBER: builtins.int
|
|
4353
4366
|
current_name: builtins.str
|
|
4354
4367
|
@property
|
|
4355
4368
|
def name(self) -> google.protobuf.wrappers_pb2.StringValue: ...
|
|
4356
4369
|
@property
|
|
4357
4370
|
def web_suffix(self) -> google.protobuf.wrappers_pb2.StringValue: ...
|
|
4371
|
+
max_concurrent_tasks: builtins.int
|
|
4372
|
+
max_concurrent_gpus: builtins.int
|
|
4358
4373
|
def __init__(
|
|
4359
4374
|
self,
|
|
4360
4375
|
*,
|
|
4361
4376
|
current_name: builtins.str = ...,
|
|
4362
4377
|
name: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
4363
4378
|
web_suffix: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
4379
|
+
max_concurrent_tasks: builtins.int | None = ...,
|
|
4380
|
+
max_concurrent_gpus: builtins.int | None = ...,
|
|
4364
4381
|
) -> None: ...
|
|
4365
|
-
def HasField(self, field_name: typing_extensions.Literal["name", b"name", "web_suffix", b"web_suffix"]) -> builtins.bool: ...
|
|
4366
|
-
def ClearField(self, field_name: typing_extensions.Literal["current_name", b"current_name", "name", b"name", "web_suffix", b"web_suffix"]) -> None: ...
|
|
4382
|
+
def HasField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks", "name", b"name", "web_suffix", b"web_suffix"]) -> builtins.bool: ...
|
|
4383
|
+
def ClearField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "current_name", b"current_name", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks", "name", b"name", "web_suffix", b"web_suffix"]) -> None: ...
|
|
4384
|
+
@typing.overload
|
|
4385
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus"]) -> typing_extensions.Literal["max_concurrent_gpus"] | None: ...
|
|
4386
|
+
@typing.overload
|
|
4387
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_tasks", b"_max_concurrent_tasks"]) -> typing_extensions.Literal["max_concurrent_tasks"] | None: ...
|
|
4367
4388
|
|
|
4368
4389
|
global___EnvironmentUpdateRequest = EnvironmentUpdateRequest
|
|
4369
4390
|
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|