modal 0.66.39__py3-none-any.whl → 0.66.44__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/_container_entrypoint.py +1 -1
- modal/_runtime/user_code_imports.py +1 -1
- modal/_utils/grpc_testing.py +33 -26
- modal/client.pyi +2 -2
- modal/cls.py +26 -19
- modal/cls.pyi +4 -4
- modal/functions.py +32 -29
- modal/functions.pyi +1 -5
- modal/image.py +49 -2
- modal/image.pyi +14 -2
- modal/io_streams.py +40 -33
- modal/io_streams.pyi +13 -13
- modal/mount.py +3 -1
- modal/partial_function.py +1 -1
- {modal-0.66.39.dist-info → modal-0.66.44.dist-info}/METADATA +1 -1
- {modal-0.66.39.dist-info → modal-0.66.44.dist-info}/RECORD +24 -24
- modal_proto/api.proto +2 -0
- modal_proto/api_pb2.py +244 -244
- modal_proto/api_pb2.pyi +7 -2
- modal_version/_version_generated.py +1 -1
- {modal-0.66.39.dist-info → modal-0.66.44.dist-info}/LICENSE +0 -0
- {modal-0.66.39.dist-info → modal-0.66.44.dist-info}/WHEEL +0 -0
- {modal-0.66.39.dist-info → modal-0.66.44.dist-info}/entry_points.txt +0 -0
- {modal-0.66.39.dist-info → modal-0.66.44.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
@@ -6570,6 +6570,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
6570
6570
|
OPEN_PORTS_FIELD_NUMBER: builtins.int
|
6571
6571
|
I6PN_ENABLED_FIELD_NUMBER: builtins.int
|
6572
6572
|
NETWORK_ACCESS_FIELD_NUMBER: builtins.int
|
6573
|
+
PROXY_ID_FIELD_NUMBER: builtins.int
|
6573
6574
|
@property
|
6574
6575
|
def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
6575
6576
|
@property
|
@@ -6605,6 +6606,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
6605
6606
|
@property
|
6606
6607
|
def network_access(self) -> global___NetworkAccess:
|
6607
6608
|
"""Network access configuration beyond simple allow/block."""
|
6609
|
+
proxy_id: builtins.str
|
6608
6610
|
def __init__(
|
6609
6611
|
self,
|
6610
6612
|
*,
|
@@ -6628,9 +6630,12 @@ class Sandbox(google.protobuf.message.Message):
|
|
6628
6630
|
open_ports: global___PortSpecs | None = ...,
|
6629
6631
|
i6pn_enabled: builtins.bool = ...,
|
6630
6632
|
network_access: global___NetworkAccess | None = ...,
|
6633
|
+
proxy_id: builtins.str | None = ...,
|
6631
6634
|
) -> None: ...
|
6632
|
-
def HasField(self, field_name: typing_extensions.Literal["_scheduler_placement", b"_scheduler_placement", "_workdir", b"_workdir", "network_access", b"network_access", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "pty_info", b"pty_info", "resources", b"resources", "scheduler_placement", b"scheduler_placement", "workdir", b"workdir"]) -> builtins.bool: ...
|
6633
|
-
def ClearField(self, field_name: typing_extensions.Literal["_scheduler_placement", b"_scheduler_placement", "_workdir", b"_workdir", "block_network", b"block_network", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "entrypoint_args", b"entrypoint_args", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "mount_ids", b"mount_ids", "network_access", b"network_access", "nfs_mounts", b"nfs_mounts", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "pty_info", b"pty_info", "resources", b"resources", "runtime_debug", b"runtime_debug", "s3_mounts", b"s3_mounts", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "timeout_secs", b"timeout_secs", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
6635
|
+
def HasField(self, field_name: typing_extensions.Literal["_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "_workdir", b"_workdir", "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", "scheduler_placement", b"scheduler_placement", "workdir", b"workdir"]) -> builtins.bool: ...
|
6636
|
+
def ClearField(self, field_name: typing_extensions.Literal["_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "_workdir", b"_workdir", "block_network", b"block_network", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "entrypoint_args", b"entrypoint_args", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "mount_ids", b"mount_ids", "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", "runtime_debug", b"runtime_debug", "s3_mounts", b"s3_mounts", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "timeout_secs", b"timeout_secs", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
6637
|
+
@typing.overload
|
6638
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_proxy_id", b"_proxy_id"]) -> typing_extensions.Literal["proxy_id"] | None: ...
|
6634
6639
|
@typing.overload
|
6635
6640
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_scheduler_placement", b"_scheduler_placement"]) -> typing_extensions.Literal["scheduler_placement"] | None: ...
|
6636
6641
|
@typing.overload
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|