modal 1.1.2.dev10__py3-none-any.whl → 1.1.2.dev12__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/_utils/time_utils.py +28 -4
- modal/cli/dict.py +6 -7
- modal/cli/queues.py +40 -15
- modal/cli/secret.py +33 -7
- modal/cli/volume.py +6 -9
- modal/client.pyi +2 -2
- modal/dict.py +78 -5
- modal/dict.pyi +115 -1
- modal/functions.pyi +6 -6
- modal/queue.py +76 -3
- modal/queue.pyi +114 -0
- modal/secret.py +68 -1
- modal/secret.pyi +114 -0
- modal/volume.py +79 -6
- modal/volume.pyi +118 -4
- {modal-1.1.2.dev10.dist-info → modal-1.1.2.dev12.dist-info}/METADATA +2 -2
- {modal-1.1.2.dev10.dist-info → modal-1.1.2.dev12.dist-info}/RECORD +26 -26
- modal_docs/mdmd/mdmd.py +11 -1
- modal_proto/api.proto +6 -4
- modal_proto/api_pb2.py +320 -320
- modal_proto/api_pb2.pyi +10 -5
- modal_version/__init__.py +1 -1
- {modal-1.1.2.dev10.dist-info → modal-1.1.2.dev12.dist-info}/WHEEL +0 -0
- {modal-1.1.2.dev10.dist-info → modal-1.1.2.dev12.dist-info}/entry_points.txt +0 -0
- {modal-1.1.2.dev10.dist-info → modal-1.1.2.dev12.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.2.dev10.dist-info → modal-1.1.2.dev12.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -3734,7 +3734,7 @@ class DictListResponse(google.protobuf.message.Message):
|
|
3734
3734
|
METADATA_FIELD_NUMBER: builtins.int
|
3735
3735
|
name: builtins.str
|
3736
3736
|
created_at: builtins.float
|
3737
|
-
"""Superseded by metadata, used by clients up to 1.1.
|
3737
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
3738
3738
|
dict_id: builtins.str
|
3739
3739
|
@property
|
3740
3740
|
def metadata(self) -> global___DictMetadata: ...
|
@@ -7989,7 +7989,7 @@ class QueueListResponse(google.protobuf.message.Message):
|
|
7989
7989
|
METADATA_FIELD_NUMBER: builtins.int
|
7990
7990
|
name: builtins.str
|
7991
7991
|
created_at: builtins.float
|
7992
|
-
"""Superseded by metadata, used by clients up to 1.1.
|
7992
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
7993
7993
|
num_partitions: builtins.int
|
7994
7994
|
total_size: builtins.int
|
7995
7995
|
queue_id: builtins.str
|
@@ -8311,6 +8311,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
8311
8311
|
VERBOSE_FIELD_NUMBER: builtins.int
|
8312
8312
|
NAME_FIELD_NUMBER: builtins.int
|
8313
8313
|
EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
|
8314
|
+
PRELOAD_PATH_PREFIXES_FIELD_NUMBER: builtins.int
|
8314
8315
|
@property
|
8315
8316
|
def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
8316
8317
|
@property
|
@@ -8371,6 +8372,9 @@ class Sandbox(google.protobuf.message.Message):
|
|
8371
8372
|
@property
|
8372
8373
|
def experimental_options(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.bool]:
|
8373
8374
|
"""Experimental options"""
|
8375
|
+
@property
|
8376
|
+
def preload_path_prefixes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
8377
|
+
"""Internal use only."""
|
8374
8378
|
def __init__(
|
8375
8379
|
self,
|
8376
8380
|
*,
|
@@ -8403,9 +8407,10 @@ class Sandbox(google.protobuf.message.Message):
|
|
8403
8407
|
verbose: builtins.bool = ...,
|
8404
8408
|
name: builtins.str | None = ...,
|
8405
8409
|
experimental_options: collections.abc.Mapping[builtins.str, builtins.bool] | None = ...,
|
8410
|
+
preload_path_prefixes: collections.abc.Iterable[builtins.str] | None = ...,
|
8406
8411
|
) -> None: ...
|
8407
8412
|
def HasField(self, field_name: typing_extensions.Literal["_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "name", b"name", "network_access", b"network_access", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runsc_runtime_version", b"runsc_runtime_version", "runtime", b"runtime", "scheduler_placement", b"scheduler_placement", "snapshot_version", b"snapshot_version", "workdir", b"workdir"]) -> builtins.bool: ...
|
8408
|
-
def ClearField(self, field_name: typing_extensions.Literal["_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "block_network", b"block_network", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "enable_snapshot", b"enable_snapshot", "entrypoint_args", b"entrypoint_args", "experimental_options", b"experimental_options", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "mount_ids", b"mount_ids", "name", b"name", "network_access", b"network_access", "nfs_mounts", b"nfs_mounts", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runsc_runtime_version", b"runsc_runtime_version", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "s3_mounts", b"s3_mounts", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "snapshot_version", b"snapshot_version", "timeout_secs", b"timeout_secs", "verbose", b"verbose", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
8413
|
+
def ClearField(self, field_name: typing_extensions.Literal["_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "block_network", b"block_network", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "enable_snapshot", b"enable_snapshot", "entrypoint_args", b"entrypoint_args", "experimental_options", b"experimental_options", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "mount_ids", b"mount_ids", "name", b"name", "network_access", b"network_access", "nfs_mounts", b"nfs_mounts", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "preload_path_prefixes", b"preload_path_prefixes", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runsc_runtime_version", b"runsc_runtime_version", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "s3_mounts", b"s3_mounts", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "snapshot_version", b"snapshot_version", "timeout_secs", b"timeout_secs", "verbose", b"verbose", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
8409
8414
|
@typing.overload
|
8410
8415
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ...
|
8411
8416
|
@typing.overload
|
@@ -9349,7 +9354,7 @@ class SecretListItem(google.protobuf.message.Message):
|
|
9349
9354
|
METADATA_FIELD_NUMBER: builtins.int
|
9350
9355
|
label: builtins.str
|
9351
9356
|
created_at: builtins.float
|
9352
|
-
"""Superseded by metadata, used by clients up to 1.1.
|
9357
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
9353
9358
|
last_used_at: builtins.float
|
9354
9359
|
environment_name: builtins.str
|
9355
9360
|
"""Unused by client"""
|
@@ -10595,7 +10600,7 @@ class VolumeListItem(google.protobuf.message.Message):
|
|
10595
10600
|
"""app name of object entity app"""
|
10596
10601
|
volume_id: builtins.str
|
10597
10602
|
created_at: builtins.float
|
10598
|
-
"""Superseded by metadata, used by clients up to 1.1.
|
10603
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
10599
10604
|
@property
|
10600
10605
|
def metadata(self) -> global___VolumeMetadata: ...
|
10601
10606
|
def __init__(
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|