modal 1.1.2.dev9__py3-none-any.whl → 1.1.2.dev11__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/client.pyi +2 -2
- modal/functions.pyi +6 -6
- {modal-1.1.2.dev9.dist-info → modal-1.1.2.dev11.dist-info}/METADATA +1 -1
- {modal-1.1.2.dev9.dist-info → modal-1.1.2.dev11.dist-info}/RECORD +14 -14
- modal_proto/api.proto +2 -2
- modal_proto/api_pb2.py +320 -320
- modal_proto/api_pb2.pyi +6 -1
- modal_proto/api_pb2_grpc.py +0 -2
- modal_proto/api_pb2_grpc.pyi +2 -8
- modal_version/__init__.py +1 -1
- {modal-1.1.2.dev9.dist-info → modal-1.1.2.dev11.dist-info}/WHEEL +0 -0
- {modal-1.1.2.dev9.dist-info → modal-1.1.2.dev11.dist-info}/entry_points.txt +0 -0
- {modal-1.1.2.dev9.dist-info → modal-1.1.2.dev11.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.2.dev9.dist-info → modal-1.1.2.dev11.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -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
|
modal_proto/api_pb2_grpc.py
CHANGED
@@ -939,8 +939,6 @@ class ModalClientServicer(object):
|
|
939
939
|
|
940
940
|
def AttemptAwait(self, request, context):
|
941
941
|
"""Input Plane
|
942
|
-
These RPCs are experimental, not deployed to production, and can be changed / removed
|
943
|
-
without needing to worry about backwards compatibility.
|
944
942
|
"""
|
945
943
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
946
944
|
context.set_details('Method not implemented!')
|
modal_proto/api_pb2_grpc.pyi
CHANGED
@@ -79,10 +79,7 @@ class ModalClientStub:
|
|
79
79
|
modal_proto.api_pb2.AttemptAwaitRequest,
|
80
80
|
modal_proto.api_pb2.AttemptAwaitResponse,
|
81
81
|
]
|
82
|
-
"""Input Plane
|
83
|
-
These RPCs are experimental, not deployed to production, and can be changed / removed
|
84
|
-
without needing to worry about backwards compatibility.
|
85
|
-
"""
|
82
|
+
"""Input Plane"""
|
86
83
|
AttemptRetry: grpc.UnaryUnaryMultiCallable[
|
87
84
|
modal_proto.api_pb2.AttemptRetryRequest,
|
88
85
|
modal_proto.api_pb2.AttemptRetryResponse,
|
@@ -805,10 +802,7 @@ class ModalClientServicer(metaclass=abc.ABCMeta):
|
|
805
802
|
request: modal_proto.api_pb2.AttemptAwaitRequest,
|
806
803
|
context: grpc.ServicerContext,
|
807
804
|
) -> modal_proto.api_pb2.AttemptAwaitResponse:
|
808
|
-
"""Input Plane
|
809
|
-
These RPCs are experimental, not deployed to production, and can be changed / removed
|
810
|
-
without needing to worry about backwards compatibility.
|
811
|
-
"""
|
805
|
+
"""Input Plane"""
|
812
806
|
@abc.abstractmethod
|
813
807
|
def AttemptRetry(
|
814
808
|
self,
|
modal_version/__init__.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|