modal 1.0.6.dev50__py3-none-any.whl → 1.0.6.dev52__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.

Potentially problematic release.


This version of modal might be problematic. Click here for more details.

modal_proto/api_pb2.pyi CHANGED
@@ -5333,6 +5333,7 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
5333
5333
  CLEAR_ON_SUCCESS_FIELD_NUMBER: builtins.int
5334
5334
  REQUESTED_AT_FIELD_NUMBER: builtins.int
5335
5335
  INPUT_JWTS_FIELD_NUMBER: builtins.int
5336
+ START_IDX_FIELD_NUMBER: builtins.int
5336
5337
  function_call_id: builtins.str
5337
5338
  max_values: builtins.int
5338
5339
  timeout: builtins.float
@@ -5344,6 +5345,8 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
5344
5345
  @property
5345
5346
  def input_jwts(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
5346
5347
  """The jwts the client expects the server to be processing. This is optional and used for sync inputs only."""
5348
+ start_idx: builtins.int
5349
+ """for async batch requests. this indicates which index to start from."""
5347
5350
  def __init__(
5348
5351
  self,
5349
5352
  *,
@@ -5354,8 +5357,11 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
5354
5357
  clear_on_success: builtins.bool = ...,
5355
5358
  requested_at: builtins.float = ...,
5356
5359
  input_jwts: collections.abc.Iterable[builtins.str] | None = ...,
5360
+ start_idx: builtins.int | None = ...,
5357
5361
  ) -> None: ...
5358
- def ClearField(self, field_name: typing_extensions.Literal["clear_on_success", b"clear_on_success", "function_call_id", b"function_call_id", "input_jwts", b"input_jwts", "last_entry_id", b"last_entry_id", "max_values", b"max_values", "requested_at", b"requested_at", "timeout", b"timeout"]) -> None: ...
5362
+ def HasField(self, field_name: typing_extensions.Literal["_start_idx", b"_start_idx", "start_idx", b"start_idx"]) -> builtins.bool: ...
5363
+ def ClearField(self, field_name: typing_extensions.Literal["_start_idx", b"_start_idx", "clear_on_success", b"clear_on_success", "function_call_id", b"function_call_id", "input_jwts", b"input_jwts", "last_entry_id", b"last_entry_id", "max_values", b"max_values", "requested_at", b"requested_at", "start_idx", b"start_idx", "timeout", b"timeout"]) -> None: ...
5364
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_start_idx", b"_start_idx"]) -> typing_extensions.Literal["start_idx"] | None: ...
5359
5365
 
5360
5366
  global___FunctionGetOutputsRequest = FunctionGetOutputsRequest
5361
5367
 
@@ -8081,6 +8087,7 @@ class SandboxCreateRequest(google.protobuf.message.Message):
8081
8087
  @property
8082
8088
  def definition(self) -> global___Sandbox: ...
8083
8089
  environment_name: builtins.str
8090
+ """*DEPRECATED* 7/16/2025"""
8084
8091
  def __init__(
8085
8092
  self,
8086
8093
  *,
@@ -8112,15 +8119,18 @@ class SandboxGetFromNameRequest(google.protobuf.message.Message):
8112
8119
 
8113
8120
  SANDBOX_NAME_FIELD_NUMBER: builtins.int
8114
8121
  ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
8122
+ APP_NAME_FIELD_NUMBER: builtins.int
8115
8123
  sandbox_name: builtins.str
8116
8124
  environment_name: builtins.str
8125
+ app_name: builtins.str
8117
8126
  def __init__(
8118
8127
  self,
8119
8128
  *,
8120
8129
  sandbox_name: builtins.str = ...,
8121
8130
  environment_name: builtins.str = ...,
8131
+ app_name: builtins.str = ...,
8122
8132
  ) -> None: ...
8123
- def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "sandbox_name", b"sandbox_name"]) -> None: ...
8133
+ def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "sandbox_name", b"sandbox_name"]) -> None: ...
8124
8134
 
8125
8135
  global___SandboxGetFromNameRequest = SandboxGetFromNameRequest
8126
8136
 
@@ -8381,13 +8391,16 @@ class SandboxRestoreRequest(google.protobuf.message.Message):
8381
8391
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
8382
8392
 
8383
8393
  SNAPSHOT_ID_FIELD_NUMBER: builtins.int
8394
+ SANDBOX_NAME_FIELD_NUMBER: builtins.int
8384
8395
  snapshot_id: builtins.str
8396
+ sandbox_name: builtins.str
8385
8397
  def __init__(
8386
8398
  self,
8387
8399
  *,
8388
8400
  snapshot_id: builtins.str = ...,
8401
+ sandbox_name: builtins.str = ...,
8389
8402
  ) -> None: ...
8390
- def ClearField(self, field_name: typing_extensions.Literal["snapshot_id", b"snapshot_id"]) -> None: ...
8403
+ def ClearField(self, field_name: typing_extensions.Literal["sandbox_name", b"sandbox_name", "snapshot_id", b"snapshot_id"]) -> None: ...
8391
8404
 
8392
8405
  global___SandboxRestoreRequest = SandboxRestoreRequest
8393
8406
 
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.0.6.dev50"
4
+ __version__ = "1.0.6.dev52"