modal 0.74.8__py3-none-any.whl → 0.74.10__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/_functions.py CHANGED
@@ -1386,7 +1386,7 @@ class _Function(typing.Generic[P, ReturnType, OriginalReturnType], _Object, type
1386
1386
  args,
1387
1387
  kwargs,
1388
1388
  client=self.client,
1389
- function_call_invocation_type=api_pb2.FUNCTION_CALL_INVOCATION_TYPE_ASYNC_LEGACY,
1389
+ function_call_invocation_type=api_pb2.FUNCTION_CALL_INVOCATION_TYPE_ASYNC,
1390
1390
  )
1391
1391
 
1392
1392
  @synchronizer.no_io_translation
@@ -1526,9 +1526,7 @@ class _Function(typing.Generic[P, ReturnType, OriginalReturnType], _Object, type
1526
1526
  if self._is_generator:
1527
1527
  invocation = await self._call_generator_nowait(args, kwargs)
1528
1528
  else:
1529
- invocation = await self._call_function_nowait(
1530
- args, kwargs, api_pb2.FUNCTION_CALL_INVOCATION_TYPE_ASYNC_LEGACY
1531
- )
1529
+ invocation = await self._call_function_nowait(args, kwargs, api_pb2.FUNCTION_CALL_INVOCATION_TYPE_ASYNC)
1532
1530
 
1533
1531
  fc: _FunctionCall[ReturnType] = _FunctionCall._new_hydrated(
1534
1532
  invocation.function_call_id, invocation.client, None
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.74.8"
30
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.74.10"
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.74.8"
88
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.74.10"
89
89
  ): ...
90
90
  def is_closed(self) -> bool: ...
91
91
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 0.74.8
3
+ Version: 0.74.10
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -3,7 +3,7 @@ modal/__main__.py,sha256=CgIjP8m1xJjjd4AXc-delmR6LdBCZclw2A_V38CFIio,2870
3
3
  modal/_clustered_functions.py,sha256=kTf-9YBXY88NutC1akI-gCbvf01RhMPCw-zoOI_YIUE,2700
4
4
  modal/_clustered_functions.pyi,sha256=vllkegc99A0jrUOWa8mdlSbdp6uz36TsHhGxysAOpaQ,771
5
5
  modal/_container_entrypoint.py,sha256=DymOImhc3uGRkIq_qXmBsEbWMB4EBMpfuXzz2S4BcGg,29404
6
- modal/_functions.py,sha256=EoJ2IbApVoJYELjB0KvXwRV2J6jElhwGHzTbXbXef6A,74712
6
+ modal/_functions.py,sha256=oJ16Y7ud_5IaFPduOt8z3iftz9fPTSxeVmrDwY2Hmiw,74668
7
7
  modal/_ipython.py,sha256=TW1fkVOmZL3YYqdS2YlM1hqpf654Yf8ZyybHdBnlhSw,301
8
8
  modal/_location.py,sha256=joiX-0ZeutEUDTrrqLF1GHXCdVLF-rHzstocbMcd_-k,366
9
9
  modal/_object.py,sha256=JBIECWdfpRKCaCxVWZbC3Q1kF5Whk_EKvY9f4Y6AFyg,11446
@@ -22,7 +22,7 @@ modal/app.py,sha256=4EeD3MXXpaeSFatuWt80xGbMH9cSYS3b9m9z3PQDlwU,48144
22
22
  modal/app.pyi,sha256=SkqXNrdnGIZ4MmNNvpGtzNLoUdyuvi9IjQQR_DRiRHk,26968
23
23
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
24
24
  modal/client.py,sha256=U-YKSw0n7J1ZLREt9cbEJCtmHe5YoPKFxl0xlkan2yc,15565
25
- modal/client.pyi,sha256=nR5ZYzOwOa9b-5B_PiZ4Ddtu_KKfN2KpAHO2UQEaan8,7591
25
+ modal/client.pyi,sha256=8q4I8gA8gPfB6O6Nbru7jSGb9QlZYathX1U2b19voMM,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=GvaNl8R5UsH7Vg88WEOyerdjvZEPK7xxi3nqHlyOW_c,33497
@@ -145,7 +145,7 @@ modal/requirements/2024.10.txt,sha256=qD-5cVIVM9wXesJ6JC89Ew-3m2KjEElUz3jaw_MddR
145
145
  modal/requirements/PREVIEW.txt,sha256=qD-5cVIVM9wXesJ6JC89Ew-3m2KjEElUz3jaw_MddRo,296
146
146
  modal/requirements/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
147
147
  modal/requirements/base-images.json,sha256=57vMSqzMbLBxw5tFWSaMiIkkVEps4JfX5PAtXGnkS4U,740
148
- modal-0.74.8.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
148
+ modal-0.74.10.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
149
149
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
150
150
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
151
151
  modal_docs/gen_reference_docs.py,sha256=cvTgltucqYLLIX84QxAwf51Z5Vc2n6cLxS8VcrxNCAo,6401
@@ -153,10 +153,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
153
153
  modal_docs/mdmd/mdmd.py,sha256=Irx49MCCTlBOP4FBdLR--JrpA3-WhsVeriq0LGgsRic,6232
154
154
  modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
155
155
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
156
- modal_proto/api.proto,sha256=xSHdEaGcAei3TWvffr6ixbYqjrEfXkANYZP94iXlSFM,92409
156
+ modal_proto/api.proto,sha256=WAhgZhYHZMkMY9atv-3NVDCvi7dOIRWg44pB8FlEa-I,92559
157
157
  modal_proto/api_grpc.py,sha256=DlrVx10B6HLy4LjWrgK7HJ7kUNDKqEvm6mUqh-6EVvs,112161
158
- modal_proto/api_pb2.py,sha256=PXqk1L7sf4sxMv8S2AAfDD3qs-crP0-kXPPnc6lnvYo,325346
159
- modal_proto/api_pb2.pyi,sha256=H_iwQ9ux_UctBolWYqHXRpGaxIJ6NK-ilIhrHJgDZc0,443199
158
+ modal_proto/api_pb2.py,sha256=3TKHLp49XvK3utem8Bfa0iuS-2q_kMOl5JBWWTZs43Q,326216
159
+ modal_proto/api_pb2.pyi,sha256=7gqajulYGsCXshdIzPWQNOru4eZVdSgpfb7oLbC0JGA,444242
160
160
  modal_proto/api_pb2_grpc.py,sha256=NQPpAa3Co-zFNB6L6BQoZjf-RaOlWFFPX8chQyGHQEo,242401
161
161
  modal_proto/api_pb2_grpc.pyi,sha256=zK2Ms2Xws02cC9uy5U5A5sPULXx4T6A9o9BONqFcipg,56456
162
162
  modal_proto/modal_api_grpc.py,sha256=K_GsrHIw2CayKh_nyuYAblQW_tOijUNW267Hs9vWUWU,14948
@@ -170,9 +170,9 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
170
170
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
171
171
  modal_version/__init__.py,sha256=m94xZNWIjH8oUtJk4l9xfovzDJede2o7X-q0MHVECtM,470
172
172
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
173
- modal_version/_version_generated.py,sha256=SKRywF4xkghsAUSPFoIkr9QXNxiWC-hTZXuIpgTd91M,148
174
- modal-0.74.8.dist-info/METADATA,sha256=HsM0NqrOdeyaB2HjUUJLwmm0xvXNNtxX1jxmhsw9ARk,2473
175
- modal-0.74.8.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
176
- modal-0.74.8.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
177
- modal-0.74.8.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
178
- modal-0.74.8.dist-info/RECORD,,
173
+ modal_version/_version_generated.py,sha256=-gF1OQybkVK6u2weGBVO3xiM4cGC5PZ8fL-1x9T5xME,149
174
+ modal-0.74.10.dist-info/METADATA,sha256=I7LK98VN_pips7s16f1hPAsF2MTBmuBP7M8mksZWS7g,2474
175
+ modal-0.74.10.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
176
+ modal-0.74.10.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
177
+ modal-0.74.10.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
178
+ modal-0.74.10.dist-info/RECORD,,
modal_proto/api.proto CHANGED
@@ -2071,6 +2071,7 @@ message Object {
2071
2071
  MountHandleMetadata mount_handle_metadata = 4;
2072
2072
  ClassHandleMetadata class_handle_metadata = 5;
2073
2073
  SandboxHandleMetadata sandbox_handle_metadata = 6;
2074
+ VolumeMetadata volume_metadata = 7;
2074
2075
  }
2075
2076
  }
2076
2077
 
@@ -2880,7 +2881,8 @@ message VolumeGetOrCreateRequest {
2880
2881
  string environment_name = 3;
2881
2882
  ObjectCreationType object_creation_type = 4;
2882
2883
  string app_id = 5; // only used with OBJECT_CREATION_TYPE_ANONYMOUS_OWNED_BY_APP
2883
- VolumeFsVersion version = 6;
2884
+ VolumeFsVersion version = 6 [deprecated = true];
2885
+ VolumeMetadata metadata = 7;
2884
2886
  }
2885
2887
 
2886
2888
  message VolumeGetOrCreateResponse {
@@ -2918,6 +2920,10 @@ message VolumeListResponse {
2918
2920
  string environment_name = 2;
2919
2921
  }
2920
2922
 
2923
+ message VolumeMetadata {
2924
+ VolumeFsVersion version = 1;
2925
+ }
2926
+
2921
2927
  message VolumeMount {
2922
2928
  string volume_id = 1;
2923
2929
  string mount_path = 2;