modal 0.73.49__py3-none-any.whl → 0.73.51__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
@@ -27,7 +27,7 @@ class _Client:
27
27
  _snapshotted: bool
28
28
 
29
29
  def __init__(
30
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.49"
30
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.51"
31
31
  ): ...
32
32
  def is_closed(self) -> bool: ...
33
33
  @property
@@ -85,7 +85,7 @@ class Client:
85
85
  _snapshotted: bool
86
86
 
87
87
  def __init__(
88
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.49"
88
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.73.51"
89
89
  ): ...
90
90
  def is_closed(self) -> bool: ...
91
91
  @property
modal/sandbox.py CHANGED
@@ -560,11 +560,6 @@ class _Sandbox(_Object, type_prefix="sb"):
560
560
  return _ContainerProcess(resp.exec_id, self._client, stdout=stdout, stderr=stderr, text=text, by_line=by_line)
561
561
 
562
562
  async def _experimental_snapshot(self) -> _SandboxSnapshot:
563
- if not self._enable_snapshot:
564
- raise ValueError(
565
- "Memory snapshots are not supported for this sandbox. To enable memory snapshots, "
566
- "set `_experimental_enable_snapshot=True` when creating the sandbox."
567
- )
568
563
  await self._get_task_id()
569
564
  snap_req = api_pb2.SandboxSnapshotRequest(sandbox_id=self.object_id)
570
565
  snap_resp = await retry_transient_errors(self._client.stub.SandboxSnapshot, snap_req)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: modal
3
- Version: 0.73.49
3
+ Version: 0.73.51
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=rCOPD51gVyow8muyaqMuV65qfTnAZKf_w1OCZdSF_6o,44636
22
22
  modal/app.pyi,sha256=0MMCgskIL4r3eq8oBcfm2lLyeao2gXjS3iXaIfmaJ-o,25959
23
23
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
24
24
  modal/client.py,sha256=8SQawr7P1PNUCq1UmJMUQXG2jIo4Nmdcs311XqrNLRE,15276
25
- modal/client.pyi,sha256=X9G_7tXQ8SbERaND370QtmRBIrwVIS8Bd2MYsgTLIiA,7593
25
+ modal/client.pyi,sha256=bVCM-kHSaATYYE38LEy9fPKG0TGbemI2SNghUBD7H9U,7593
26
26
  modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
27
27
  modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
28
28
  modal/cls.py,sha256=nJhJr-YuttOmdNWxtMHcBV-q6iQmY5qXkEy9yO43clY,31130
@@ -67,7 +67,7 @@ modal/retries.py,sha256=HKR2Q9aNPWkMjQ5nwobqYTuZaSuw0a8lI2zrtY5IW98,5230
67
67
  modal/runner.py,sha256=fdUyDGN-bWu_aZBvxBO_MIgEuucsA0PgDKDHBn5k8J0,24451
68
68
  modal/runner.pyi,sha256=RYEYsnofrvVroYefWLhWAy8I_uwXV9fRNuJaVgcNzrg,5278
69
69
  modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
70
- modal/sandbox.py,sha256=39MCW0EQ_CCmZgmhcr_PjT-H-7mo_Dycg9oeeNx3L2Q,32511
70
+ modal/sandbox.py,sha256=goIfWSYwcVrlOsoNyKdPp2KBCa41nmBZwzDZOt0HJog,32243
71
71
  modal/sandbox.pyi,sha256=cLmSwI1ab-2DgEuXNf6S1PiK63wfUR9dHtxlZtSOuX8,22719
72
72
  modal/schedule.py,sha256=0ZFpKs1bOxeo5n3HZjoL7OE2ktsb-_oGtq-WJEPO4tY,2615
73
73
  modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
@@ -151,10 +151,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
151
151
  modal_docs/mdmd/mdmd.py,sha256=Irx49MCCTlBOP4FBdLR--JrpA3-WhsVeriq0LGgsRic,6232
152
152
  modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
153
153
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
154
- modal_proto/api.proto,sha256=wyTg0T4hrf2Txdo5byoqAEE2bZNYJkR6fmu3kakW3y8,86809
154
+ modal_proto/api.proto,sha256=4ITRzGTnCMFHy8ZQHgM6trc_mpbb1Y4tRQ9RyLstPQU,86872
155
155
  modal_proto/api_grpc.py,sha256=FYGqDegM_w_qxdtlxum8k31mDibKoMvmNxv_p9cKdKs,109056
156
- modal_proto/api_pb2.py,sha256=oEcC56Tib2HIEsbfCVXcEKg397BuhbvWPZEqjS-tDzU,312448
157
- modal_proto/api_pb2.pyi,sha256=sZiDbbk4b6XU1SzqnxkN4RslzGN-hCXjErZDlW94SpY,421094
156
+ modal_proto/api_pb2.py,sha256=BEom2Cg_sB9IwaNKV-9inCsN9RYYJzGTLKkYRzRi5q0,312494
157
+ modal_proto/api_pb2.pyi,sha256=Yx-WLsEPmrzdzA-GHFOfzOlkc_vOsr-KAjVjJY6OzvU,421286
158
158
  modal_proto/api_pb2_grpc.py,sha256=DNp0Et5i_Ey4dKx_1o1LRtYhyWYyT0NzTcAY4EcHn-c,235765
159
159
  modal_proto/api_pb2_grpc.pyi,sha256=RI6tWC3L8EIN4-izFSEGPPJl5Ta0lXPNuHUJaWAr35s,54892
160
160
  modal_proto/modal_api_grpc.py,sha256=UG8WJU81afrWPwItWB4Ag64E9EpyREMpBbAVGVEYJiM,14550
@@ -168,10 +168,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
168
168
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
169
169
  modal_version/__init__.py,sha256=wiJQ53c-OMs0Xf1UeXOxQ7FwlV1VzIjnX6o-pRYZ_Pk,470
170
170
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
171
- modal_version/_version_generated.py,sha256=Yb0Ldsxsrgh9H8bk0NkkH3wEnZKBKauFeqsEXN2nc2Q,149
172
- modal-0.73.49.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
173
- modal-0.73.49.dist-info/METADATA,sha256=uNlUtlN9-k4kkC-1AVgeFXNivMrum5Y2fkHsq4ayhVc,2452
174
- modal-0.73.49.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
175
- modal-0.73.49.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
176
- modal-0.73.49.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
177
- modal-0.73.49.dist-info/RECORD,,
171
+ modal_version/_version_generated.py,sha256=eADQq15lgd-6Ewt_LEWYTJ6ANp4VBZcKIa3AdAnAbis,149
172
+ modal-0.73.51.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
173
+ modal-0.73.51.dist-info/METADATA,sha256=WrwQGy3NTDBQLI_Byf0PrH22kxQsHrE8_lw0kwKLXzE,2452
174
+ modal-0.73.51.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
175
+ modal-0.73.51.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
176
+ modal-0.73.51.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
177
+ modal-0.73.51.dist-info/RECORD,,
modal_proto/api.proto CHANGED
@@ -1512,6 +1512,7 @@ message FunctionGetOutputsItem {
1512
1512
  double input_started_at = 7;
1513
1513
  double output_created_at = 8;
1514
1514
  uint32 retry_count = 9;
1515
+ string fc_trace_tag = 10; // datadog function call trace tag
1515
1516
  }
1516
1517
 
1517
1518
  message FunctionGetOutputsRequest {