modal 0.70.2__py3-none-any.whl → 0.71.2__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
@@ -4645,6 +4645,7 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
4645
4645
  LAST_ENTRY_ID_FIELD_NUMBER: builtins.int
4646
4646
  CLEAR_ON_SUCCESS_FIELD_NUMBER: builtins.int
4647
4647
  REQUESTED_AT_FIELD_NUMBER: builtins.int
4648
+ INPUT_JWTS_FIELD_NUMBER: builtins.int
4648
4649
  function_call_id: builtins.str
4649
4650
  max_values: builtins.int
4650
4651
  timeout: builtins.float
@@ -4653,6 +4654,9 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
4653
4654
  """expires *any* remaining outputs soon after this call, not just the returned ones"""
4654
4655
  requested_at: builtins.float
4655
4656
  """Used for waypoints."""
4657
+ @property
4658
+ def input_jwts(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
4659
+ """The jwts the client expects the server to be processing. This is optional and used for sync inputs only."""
4656
4660
  def __init__(
4657
4661
  self,
4658
4662
  *,
@@ -4662,8 +4666,9 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
4662
4666
  last_entry_id: builtins.str = ...,
4663
4667
  clear_on_success: builtins.bool = ...,
4664
4668
  requested_at: builtins.float = ...,
4669
+ input_jwts: collections.abc.Iterable[builtins.str] | None = ...,
4665
4670
  ) -> None: ...
4666
- def ClearField(self, field_name: typing_extensions.Literal["clear_on_success", b"clear_on_success", "function_call_id", b"function_call_id", "last_entry_id", b"last_entry_id", "max_values", b"max_values", "requested_at", b"requested_at", "timeout", b"timeout"]) -> None: ...
4671
+ 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: ...
4667
4672
 
4668
4673
  global___FunctionGetOutputsRequest = FunctionGetOutputsRequest
4669
4674
 
@@ -5370,6 +5375,7 @@ class GenericResult(google.protobuf.message.Message):
5370
5375
  """Used when the user's function fails to initialize (ex. S3 mount failed due to invalid credentials).
5371
5376
  Terminates the function and all remaining inputs.
5372
5377
  """
5378
+ GENERIC_STATUS_INTERNAL_FAILURE: GenericResult._GenericStatus.ValueType # 6
5373
5379
 
5374
5380
  class GenericStatus(_GenericStatus, metaclass=_GenericStatusEnumTypeWrapper): ...
5375
5381
  GENERIC_STATUS_UNSPECIFIED: GenericResult.GenericStatus.ValueType # 0
@@ -5382,6 +5388,7 @@ class GenericResult(google.protobuf.message.Message):
5382
5388
  """Used when the user's function fails to initialize (ex. S3 mount failed due to invalid credentials).
5383
5389
  Terminates the function and all remaining inputs.
5384
5390
  """
5391
+ GENERIC_STATUS_INTERNAL_FAILURE: GenericResult.GenericStatus.ValueType # 6
5385
5392
 
5386
5393
  STATUS_FIELD_NUMBER: builtins.int
5387
5394
  EXCEPTION_FIELD_NUMBER: builtins.int
modal_version/__init__.py CHANGED
@@ -7,7 +7,7 @@ from ._version_generated import build_number
7
7
  major_number = 0
8
8
 
9
9
  # Bump this manually on breaking changes, then reset the number in _version_generated.py
10
- minor_number = 70
10
+ minor_number = 71
11
11
 
12
12
  # Right now, automatically increment the patch number in CI
13
13
  __version__ = f"{major_number}.{minor_number}.{max(build_number, 0)}"
@@ -1,4 +1,4 @@
1
- # Copyright Modal Labs 2024
1
+ # Copyright Modal Labs 2025
2
2
 
3
3
  # Note: Reset this value to -1 whenever you make a minor `0.X` release of the client.
4
- build_number = 2 # git: c8504ed
4
+ build_number = 2 # git: 23f2781
File without changes