modal 1.1.1.dev18__py3-none-any.whl → 1.1.1.dev19__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/client.pyi CHANGED
@@ -33,7 +33,7 @@ class _Client:
33
33
  server_url: str,
34
34
  client_type: int,
35
35
  credentials: typing.Optional[tuple[str, str]],
36
- version: str = "1.1.1.dev18",
36
+ version: str = "1.1.1.dev19",
37
37
  ):
38
38
  """mdmd:hidden
39
39
  The Modal client object is not intended to be instantiated directly by users.
@@ -164,7 +164,7 @@ class Client:
164
164
  server_url: str,
165
165
  client_type: int,
166
166
  credentials: typing.Optional[tuple[str, str]],
167
- version: str = "1.1.1.dev18",
167
+ version: str = "1.1.1.dev19",
168
168
  ):
169
169
  """mdmd:hidden
170
170
  The Modal client object is not intended to be instantiated directly by users.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.1.1.dev18
3
+ Version: 1.1.1.dev19
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -22,7 +22,7 @@ modal/app.py,sha256=BBR2NmGzZbFGfhKAmtzllD0o4TbVDBbOEs0O2ysSdQo,48277
22
22
  modal/app.pyi,sha256=h6JtBA6a7wobdZAuS3QuXrWCUZqfyKPuGV3XdjCqT3k,43753
23
23
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
24
24
  modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
25
- modal/client.pyi,sha256=9JRiPD1SpvKkNx4zbQafP7MoEr_696pP20yqmLs6j00,15831
25
+ modal/client.pyi,sha256=khJZygT5v8RIuvCsC46HCA-hxKfaPa9xWaiRAeXSXwE,15831
26
26
  modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
27
27
  modal/cloud_bucket_mount.pyi,sha256=-qSfYAQvIoO_l2wsCCGTG5ZUwQieNKXdAO00yP1-LYU,7394
28
28
  modal/cls.py,sha256=7A0xGnugQzm8dOfnKMjLjtqekRlRtQ0jPFRYgq6xdUM,40018
@@ -151,7 +151,7 @@ modal/requirements/2025.06.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqr
151
151
  modal/requirements/PREVIEW.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqrs,312
152
152
  modal/requirements/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
153
153
  modal/requirements/base-images.json,sha256=JYSDAgHTl-WrV_TZW5icY-IJEnbe2eQ4CZ_KN6EOZKU,1304
154
- modal-1.1.1.dev18.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
154
+ modal-1.1.1.dev19.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
155
155
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
156
156
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
157
157
  modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
@@ -159,13 +159,13 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
159
159
  modal_docs/mdmd/mdmd.py,sha256=eW5MzrEl7mSclDo4Uv64sQ1-4IyLggldbgUJdBVLDdI,6449
160
160
  modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
161
161
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
162
- modal_proto/api.proto,sha256=5j2a64upHl9Xf0OcyoiH-6t1eyQTdDpS7nNocYVYqVk,102442
163
- modal_proto/api_grpc.py,sha256=AL8Z1zlvrsqrxXYEv_mKroJArPV7_8eQ2bMvvswDlTQ,123880
164
- modal_proto/api_pb2.py,sha256=73p7vlYoCyB_5SIHQ5vZr4jy8LAdayp-ba5DLiTJdIU,358885
165
- modal_proto/api_pb2.pyi,sha256=7nghkZyfXJvaN7b9byqNwHxD6n1jtvjJAVN93CPRVp0,493332
166
- modal_proto/api_pb2_grpc.py,sha256=QmhsoHLD9BBXVl3ZpIb-0_sZzpQ1Q9OLBU7ONHHojG4,267607
167
- modal_proto/api_pb2_grpc.pyi,sha256=Wy6NAO-o06jbQHxvZiMAi08QQT8VHUJcSAmlRRL0p1M,62762
168
- modal_proto/modal_api_grpc.py,sha256=A622btdK6V3CFaZfXK63ocCUlulKYJsgM-rcEPEFv24,18703
162
+ modal_proto/api.proto,sha256=rpL3kteIlLwOqc_SJRV8I5Wf6PN-53gDIwbTqqccwyU,102706
163
+ modal_proto/api_grpc.py,sha256=WpGSvMcnGElrDaSQWmVV1XsyLNoJQ7DMbOTX_1mh554,124648
164
+ modal_proto/api_pb2.py,sha256=aGfM5udyJQzQWQfAvBKuCFO9zsseBHs1SqGaD09CXYM,360228
165
+ modal_proto/api_pb2.pyi,sha256=7u2jVaZAf1vuEK0Asf-5ZI4CXK8Fc2kNsT3cbdGDSVg,494777
166
+ modal_proto/api_pb2_grpc.py,sha256=VODlpmFdVjW7Sdo1FENf4vxktCmlmtijz5NryNIsQsc,269266
167
+ modal_proto/api_pb2_grpc.pyi,sha256=QIQgbnAmRvRQTZS-euu_KsPKRHD2z3XRlHFHnOY2mtw,63139
168
+ modal_proto/modal_api_grpc.py,sha256=0VKviuGtr-LV5-EMCkSSkmF9JivXkmWFZaCyFpMzSl8,18813
169
169
  modal_proto/modal_options_grpc.py,sha256=qJ1cuwA54oRqrdTyPTbvfhFZYd9HhJKK5UCwt523r3Y,120
170
170
  modal_proto/options.proto,sha256=zp9h5r61ivsp0XwEWwNBsVqNTbRA1VSY_UtN7sEcHtE,549
171
171
  modal_proto/options_grpc.py,sha256=M18X3d-8F_cNYSVM3I25dUTO5rZ0rd-vCCfynfh13Nc,125
@@ -174,10 +174,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
174
174
  modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
175
175
  modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
176
176
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
177
- modal_version/__init__.py,sha256=3xrphd0fMXrGt-Xu74onNsNLzncvzfMuebAoJjDqW90,121
177
+ modal_version/__init__.py,sha256=lMyj-P717zQLtAWZquWfzFS9O1uW0ykhgZONyl7EvWw,121
178
178
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
179
- modal-1.1.1.dev18.dist-info/METADATA,sha256=pC2CJg1xV_-J6-Ji4ZutQ77ROscU0LzEVTs_6DTxI6c,2462
180
- modal-1.1.1.dev18.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
181
- modal-1.1.1.dev18.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
182
- modal-1.1.1.dev18.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
183
- modal-1.1.1.dev18.dist-info/RECORD,,
179
+ modal-1.1.1.dev19.dist-info/METADATA,sha256=0-BIyLBj27EzNhyjmktgeuE959BgBE7YcGpWz37wkkM,2462
180
+ modal-1.1.1.dev19.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
181
+ modal-1.1.1.dev19.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
182
+ modal-1.1.1.dev19.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
183
+ modal-1.1.1.dev19.dist-info/RECORD,,
modal_proto/api.proto CHANGED
@@ -2105,6 +2105,16 @@ message MapAwaitResponse {
2105
2105
  string last_entry_id = 2;
2106
2106
  }
2107
2107
 
2108
+ message MapCheckInputsRequest {
2109
+ string last_entry_id = 1;
2110
+ float timeout = 2;
2111
+ repeated string attempt_tokens = 3;
2112
+ }
2113
+
2114
+ message MapCheckInputsResponse {
2115
+ repeated bool lost = 1;
2116
+ }
2117
+
2108
2118
  message MapStartOrContinueItem {
2109
2119
  FunctionPutInputsItem input = 1;
2110
2120
  optional string attempt_token = 2; // None if this is a fresh input, otherwise it is the attempt token for a retry.
@@ -3472,6 +3482,7 @@ service ModalClient {
3472
3482
 
3473
3483
  // Input Plane Map
3474
3484
  rpc MapAwait(MapAwaitRequest) returns (MapAwaitResponse);
3485
+ rpc MapCheckInputs(MapCheckInputsRequest) returns (MapCheckInputsResponse);
3475
3486
  rpc MapStartOrContinue(MapStartOrContinueRequest) returns (MapStartOrContinueResponse);
3476
3487
 
3477
3488
  // Mounts
modal_proto/api_grpc.py CHANGED
@@ -366,6 +366,10 @@ class ModalClientBase(abc.ABC):
366
366
  async def MapAwait(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.MapAwaitRequest, modal_proto.api_pb2.MapAwaitResponse]') -> None:
367
367
  pass
368
368
 
369
+ @abc.abstractmethod
370
+ async def MapCheckInputs(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.MapCheckInputsRequest, modal_proto.api_pb2.MapCheckInputsResponse]') -> None:
371
+ pass
372
+
369
373
  @abc.abstractmethod
370
374
  async def MapStartOrContinue(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.MapStartOrContinueRequest, modal_proto.api_pb2.MapStartOrContinueResponse]') -> None:
371
375
  pass
@@ -1186,6 +1190,12 @@ class ModalClientBase(abc.ABC):
1186
1190
  modal_proto.api_pb2.MapAwaitRequest,
1187
1191
  modal_proto.api_pb2.MapAwaitResponse,
1188
1192
  ),
1193
+ '/modal.client.ModalClient/MapCheckInputs': grpclib.const.Handler(
1194
+ self.MapCheckInputs,
1195
+ grpclib.const.Cardinality.UNARY_UNARY,
1196
+ modal_proto.api_pb2.MapCheckInputsRequest,
1197
+ modal_proto.api_pb2.MapCheckInputsResponse,
1198
+ ),
1189
1199
  '/modal.client.ModalClient/MapStartOrContinue': grpclib.const.Handler(
1190
1200
  self.MapStartOrContinue,
1191
1201
  grpclib.const.Cardinality.UNARY_UNARY,
@@ -2158,6 +2168,12 @@ class ModalClientStub:
2158
2168
  modal_proto.api_pb2.MapAwaitRequest,
2159
2169
  modal_proto.api_pb2.MapAwaitResponse,
2160
2170
  )
2171
+ self.MapCheckInputs = grpclib.client.UnaryUnaryMethod(
2172
+ channel,
2173
+ '/modal.client.ModalClient/MapCheckInputs',
2174
+ modal_proto.api_pb2.MapCheckInputsRequest,
2175
+ modal_proto.api_pb2.MapCheckInputsResponse,
2176
+ )
2161
2177
  self.MapStartOrContinue = grpclib.client.UnaryUnaryMethod(
2162
2178
  channel,
2163
2179
  '/modal.client.ModalClient/MapStartOrContinue',