modal 1.1.1.dev1__py3-none-any.whl → 1.1.1.dev3__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_proto/api_pb2.pyi CHANGED
@@ -4721,15 +4721,20 @@ class FunctionCallGetDataRequest(google.protobuf.message.Message):
4721
4721
 
4722
4722
  FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
4723
4723
  LAST_INDEX_FIELD_NUMBER: builtins.int
4724
+ ATTEMPT_TOKEN_FIELD_NUMBER: builtins.int
4724
4725
  function_call_id: builtins.str
4725
4726
  last_index: builtins.int
4727
+ attempt_token: builtins.str
4726
4728
  def __init__(
4727
4729
  self,
4728
4730
  *,
4729
4731
  function_call_id: builtins.str = ...,
4730
4732
  last_index: builtins.int = ...,
4733
+ attempt_token: builtins.str | None = ...,
4731
4734
  ) -> None: ...
4732
- def ClearField(self, field_name: typing_extensions.Literal["function_call_id", b"function_call_id", "last_index", b"last_index"]) -> None: ...
4735
+ def HasField(self, field_name: typing_extensions.Literal["_attempt_token", b"_attempt_token", "attempt_token", b"attempt_token"]) -> builtins.bool: ...
4736
+ def ClearField(self, field_name: typing_extensions.Literal["_attempt_token", b"_attempt_token", "attempt_token", b"attempt_token", "function_call_id", b"function_call_id", "last_index", b"last_index"]) -> None: ...
4737
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_attempt_token", b"_attempt_token"]) -> typing_extensions.Literal["attempt_token"] | None: ...
4733
4738
 
4734
4739
  global___FunctionCallGetDataRequest = FunctionCallGetDataRequest
4735
4740
 
@@ -7939,6 +7944,21 @@ global___S3Mount = S3Mount
7939
7944
  class Sandbox(google.protobuf.message.Message):
7940
7945
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
7941
7946
 
7947
+ class ExperimentalOptionsEntry(google.protobuf.message.Message):
7948
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
7949
+
7950
+ KEY_FIELD_NUMBER: builtins.int
7951
+ VALUE_FIELD_NUMBER: builtins.int
7952
+ key: builtins.str
7953
+ value: builtins.bool
7954
+ def __init__(
7955
+ self,
7956
+ *,
7957
+ key: builtins.str = ...,
7958
+ value: builtins.bool = ...,
7959
+ ) -> None: ...
7960
+ def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
7961
+
7942
7962
  ENTRYPOINT_ARGS_FIELD_NUMBER: builtins.int
7943
7963
  MOUNT_IDS_FIELD_NUMBER: builtins.int
7944
7964
  IMAGE_ID_FIELD_NUMBER: builtins.int
@@ -7967,6 +7987,7 @@ class Sandbox(google.protobuf.message.Message):
7967
7987
  RUNTIME_FIELD_NUMBER: builtins.int
7968
7988
  VERBOSE_FIELD_NUMBER: builtins.int
7969
7989
  NAME_FIELD_NUMBER: builtins.int
7990
+ EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
7970
7991
  @property
7971
7992
  def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
7972
7993
  @property
@@ -8024,6 +8045,9 @@ class Sandbox(google.protobuf.message.Message):
8024
8045
  """If set, the sandbox will be created with verbose logging enabled."""
8025
8046
  name: builtins.str
8026
8047
  """If set, the sandbox will be created with a name."""
8048
+ @property
8049
+ def experimental_options(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.bool]:
8050
+ """Experimental options"""
8027
8051
  def __init__(
8028
8052
  self,
8029
8053
  *,
@@ -8055,9 +8079,10 @@ class Sandbox(google.protobuf.message.Message):
8055
8079
  runtime: builtins.str | None = ...,
8056
8080
  verbose: builtins.bool = ...,
8057
8081
  name: builtins.str | None = ...,
8082
+ experimental_options: collections.abc.Mapping[builtins.str, builtins.bool] | None = ...,
8058
8083
  ) -> None: ...
8059
8084
  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: ...
8060
- 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", "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: ...
8085
+ 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: ...
8061
8086
  @typing.overload
8062
8087
  def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ...
8063
8088
  @typing.overload
modal_version/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.1.1.dev1"
4
+ __version__ = "1.1.1.dev3"