modal 1.1.4.dev2__py3-none-any.whl → 1.1.4.dev4__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/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.4.dev2",
36
+ version: str = "1.1.4.dev4",
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.4.dev2",
167
+ version: str = "1.1.4.dev4",
168
168
  ):
169
169
  """mdmd:hidden
170
170
  The Modal client object is not intended to be instantiated directly by users.
modal/sandbox.py CHANGED
@@ -479,7 +479,7 @@ class _Sandbox(_Object, type_prefix="sb"):
479
479
  environment_name: Optional[str] = None,
480
480
  client: Optional[_Client] = None,
481
481
  ) -> "_Sandbox":
482
- """Get a running Sandbox by name from the given app.
482
+ """Get a running Sandbox by name from a deployed App.
483
483
 
484
484
  Raises a modal.exception.NotFoundError if no running sandbox is found with the given name.
485
485
  A Sandbox's name is the `name` argument passed to `Sandbox.create`.
modal/sandbox.pyi CHANGED
@@ -177,7 +177,7 @@ class _Sandbox(modal._object._Object):
177
177
  environment_name: typing.Optional[str] = None,
178
178
  client: typing.Optional[modal.client._Client] = None,
179
179
  ) -> _Sandbox:
180
- """Get a running Sandbox by name from the given app.
180
+ """Get a running Sandbox by name from a deployed App.
181
181
 
182
182
  Raises a modal.exception.NotFoundError if no running sandbox is found with the given name.
183
183
  A Sandbox's name is the `name` argument passed to `Sandbox.create`.
@@ -589,7 +589,7 @@ class Sandbox(modal.object.Object):
589
589
  environment_name: typing.Optional[str] = None,
590
590
  client: typing.Optional[modal.client.Client] = None,
591
591
  ) -> Sandbox:
592
- """Get a running Sandbox by name from the given app.
592
+ """Get a running Sandbox by name from a deployed App.
593
593
 
594
594
  Raises a modal.exception.NotFoundError if no running sandbox is found with the given name.
595
595
  A Sandbox's name is the `name` argument passed to `Sandbox.create`.
@@ -605,7 +605,7 @@ class Sandbox(modal.object.Object):
605
605
  environment_name: typing.Optional[str] = None,
606
606
  client: typing.Optional[modal.client.Client] = None,
607
607
  ) -> Sandbox:
608
- """Get a running Sandbox by name from the given app.
608
+ """Get a running Sandbox by name from a deployed App.
609
609
 
610
610
  Raises a modal.exception.NotFoundError if no running sandbox is found with the given name.
611
611
  A Sandbox's name is the `name` argument passed to `Sandbox.create`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.1.4.dev2
3
+ Version: 1.1.4.dev4
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=hJU3DGzP5GwYRmBj57XajljkQtLxkKftxXih2TYRcKo,48047
22
22
  modal/app.pyi,sha256=0U2xVKD3yfHe5l2bcihTDjPl__tzOvx1AIYOTebu-5o,43375
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=gJq_mC8MFxeI0-Pzn0kExNeT87sruocpEHPzjRqXEBQ,15829
25
+ modal/client.pyi,sha256=a-O0Yc_u7DEYKvE-G-v8k3EMVge5pycnmcaMKLEuVE8,15829
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=1mBcExFrLDTZwkD3Dzu8F26_CL0CGktOV9pE60Y8g_E,40689
@@ -65,8 +65,8 @@ modal/retries.py,sha256=IvNLDM0f_GLUDD5VgEDoN09C88yoxSrCquinAuxT1Sc,5205
65
65
  modal/runner.py,sha256=ostdzYpQb-20tlD6dIq7bpWTkZkOhjJBNuMNektqnJA,24068
66
66
  modal/runner.pyi,sha256=lbwLljm1cC8d6PcNvmYQhkE8501V9fg0bYqqKX6G4r4,8489
67
67
  modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
68
- modal/sandbox.py,sha256=O_vB-VgJ2ZMw2yyT2-ATYIWHdeDXCPf4cFcc-3JSB5Q,40895
69
- modal/sandbox.pyi,sha256=HoHgwb167i83qiGhUE7UAy79l45wqfXKfOA9hZ5HiEo,41572
68
+ modal/sandbox.py,sha256=KjoKX01wfS1-xKaI7Spo_iXehnMwPnAniywo92uvOGI,40896
69
+ modal/sandbox.pyi,sha256=nU065dssVKg9PVoL6hRtuRzqH6491S07Kex5VruGd3I,41575
70
70
  modal/schedule.py,sha256=ng0g0AqNY5GQI9KhkXZQ5Wam5G42glbkqVQsNpBtbDE,3078
71
71
  modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
72
72
  modal/secret.py,sha256=jcNJKc4ZB2nvAn7HJFawInqE-_7sbB43IWLZwyLBQ28,19308
@@ -153,7 +153,7 @@ modal/experimental/__init__.py,sha256=dPBPpxsmjZMLF3YjRrXoTvT01pl65wxi4UdFZsOem3
153
153
  modal/experimental/flash.py,sha256=viXQumCIFp5VFsPFURdFTBTjP_QnsAi8nSWXAMmfjeQ,19744
154
154
  modal/experimental/flash.pyi,sha256=A8_qJGtGoXEzKDdHbvhmCw7oqfneFEvJQK3ZdTOvUdU,10830
155
155
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
156
- modal-1.1.4.dev2.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
156
+ modal-1.1.4.dev4.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
157
157
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
158
158
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
159
159
  modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
@@ -161,10 +161,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
161
161
  modal_docs/mdmd/mdmd.py,sha256=tUTImNd4UMFk1opkaw8J672gX8AkBO5gbY2S_NMxsxs,7140
162
162
  modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
163
163
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
164
- modal_proto/api.proto,sha256=UjIF9FgtMIiZK3d3jkRP1l5cA9LdKivN6biv2qaPt5E,104795
164
+ modal_proto/api.proto,sha256=V0JBI6eNQOhDbS3hcO50BUTDA3x456u9-77czfWXH18,104869
165
165
  modal_proto/api_grpc.py,sha256=AWsKZFdXr_T6LpWGlMM6BDY30RdOPjqgoPMijR-R1lI,127964
166
- modal_proto/api_pb2.py,sha256=h8yuypkfyVyoXOxEX4DCQ7aTtLxv_0bATea7ncrtHkI,366890
167
- modal_proto/api_pb2.pyi,sha256=C36FizjZre7eSxgfOt2eLybnWtMNtuZCDv-fHnb9vYQ,506375
166
+ modal_proto/api_pb2.py,sha256=larxeq7kMxMSqTdusiaid5DHWoAZMJC3HTyzY8iZaRQ,366984
167
+ modal_proto/api_pb2.pyi,sha256=JCpYdgOho9KVa1uZjXhcCV0nLqLikNPBZGC6ypWEc4w,506755
168
168
  modal_proto/api_pb2_grpc.py,sha256=kDZBX6i1KdRpm4P3c2wdRbGe3XOFtqGHSbWE0vOe4F4,276062
169
169
  modal_proto/api_pb2_grpc.pyi,sha256=s1hjXmqaB3jGCSgnOouzncdfMVX0umPZd4TC1zObhgU,64579
170
170
  modal_proto/modal_api_grpc.py,sha256=faBxtXAqoz6ei8ntNu1MQTL859FFHH_LZww_FP9wubw,19311
@@ -176,10 +176,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
176
176
  modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
177
177
  modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
178
178
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
179
- modal_version/__init__.py,sha256=Nky9DO58ffTZxYpBlI7dLrN_Dn7ppge3t70hBn7txdM,120
179
+ modal_version/__init__.py,sha256=DZmH3Htb_giys2C7JEP30CTBL0-gCdig0oBmy6lj0Ks,120
180
180
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
181
- modal-1.1.4.dev2.dist-info/METADATA,sha256=WVa4l55nxnkMtO4d6lSIJ_fwl1IaNWtIQLSlL1jvfkI,2459
182
- modal-1.1.4.dev2.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
183
- modal-1.1.4.dev2.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
184
- modal-1.1.4.dev2.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
185
- modal-1.1.4.dev2.dist-info/RECORD,,
181
+ modal-1.1.4.dev4.dist-info/METADATA,sha256=_CFvafQMmch_08HTpZdlJ9iWaeND-2SVmftFhmeoUgg,2459
182
+ modal-1.1.4.dev4.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
183
+ modal-1.1.4.dev4.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
184
+ modal-1.1.4.dev4.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
185
+ modal-1.1.4.dev4.dist-info/RECORD,,
modal_proto/api.proto CHANGED
@@ -1471,6 +1471,8 @@ message Function {
1471
1471
  string flash_service_label = 84;
1472
1472
 
1473
1473
  bool enable_gpu_snapshot = 85; // GPU memory snapshotting (alpha)
1474
+
1475
+ uint32 startup_timeout_secs = 86;
1474
1476
  }
1475
1477
 
1476
1478
  message FunctionAsyncInvokeRequest {
@@ -1644,6 +1646,8 @@ message FunctionData {
1644
1646
 
1645
1647
  repeated string flash_service_urls = 34;
1646
1648
  string flash_service_label = 35;
1649
+
1650
+ uint32 startup_timeout_secs = 36;
1647
1651
  }
1648
1652
 
1649
1653
  message FunctionExtended {