modAL 1.2.5.dev12__py3-none-any.whl → 1.2.5.dev14__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
@@ -32,7 +32,7 @@ class _Client:
32
32
  server_url: str,
33
33
  client_type: int,
34
34
  credentials: typing.Optional[tuple[str, str]],
35
- version: str = "1.2.5.dev12",
35
+ version: str = "1.2.5.dev14",
36
36
  ):
37
37
  """mdmd:hidden
38
38
  The Modal client object is not intended to be instantiated directly by users.
@@ -163,7 +163,7 @@ class Client:
163
163
  server_url: str,
164
164
  client_type: int,
165
165
  credentials: typing.Optional[tuple[str, str]],
166
- version: str = "1.2.5.dev12",
166
+ version: str = "1.2.5.dev14",
167
167
  ):
168
168
  """mdmd:hidden
169
169
  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.2.5.dev12
3
+ Version: 1.2.5.dev14
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -26,7 +26,7 @@ modal/app.pyi,sha256=nI_Tibj-rI5I7dJFJnczbHvcmVzCvvCih0tMzoQlr_Y,50835
26
26
  modal/billing.py,sha256=zmQ3bcCJlwa4KD1IA_QgdWpm1pn13c-7qfy79iEauYI,195
27
27
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
28
28
  modal/client.py,sha256=k1CqQ_0t4-vHylkqYZgYCnClg-FT0QrTPAKivL01A_k,14354
29
- modal/client.pyi,sha256=uOSVNOzQsgLGwQySh3bxjaS_68NrKU1lF2kVAGhJD0M,13148
29
+ modal/client.pyi,sha256=azciWBxVdBHu_1MmaHmKA_YVd5LOjkyD8YKK5ejJkGw,13148
30
30
  modal/cloud_bucket_mount.py,sha256=cvVj5Rt4nDHoQbTneoJPTaAcnl_Ab_mrsjnnzd0v9OI,6013
31
31
  modal/cloud_bucket_mount.pyi,sha256=vXusGMOUk9HjCs4lhxteuCK4xLQclPfugGWKo7LECEA,7539
32
32
  modal/cls.py,sha256=4T__mtYlQUnkatif1Wnr8Ld9DN_ySydHj2UwhRg89ok,41984
@@ -160,7 +160,7 @@ modal/experimental/__init__.py,sha256=ls4ScjJOdCXW0HagDOrNTTnkP4_N7y93HUl10jNDrD
160
160
  modal/experimental/flash.py,sha256=vIZ9qO5-Hb-QViVOAFsY1nfr3vh2yOZQwn-4vTQrOY4,29645
161
161
  modal/experimental/flash.pyi,sha256=26YB9wCeAkjykwFJ4ppmWzVF0L8MJw5VW68w-Wi1-as,16105
162
162
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
163
- modal-1.2.5.dev12.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
163
+ modal-1.2.5.dev14.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
164
164
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
165
165
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
166
166
  modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
@@ -168,10 +168,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
168
168
  modal_docs/mdmd/mdmd.py,sha256=tUTImNd4UMFk1opkaw8J672gX8AkBO5gbY2S_NMxsxs,7140
169
169
  modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
170
170
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
171
- modal_proto/api.proto,sha256=fZCq-Zphxw3l-z4XsTUmMlkevGrzFSs0nUQuRa-EsMU,110098
171
+ modal_proto/api.proto,sha256=MHBLj-XOJ1DdUH_Vmqc1HMhnUffU7WkbZTonVTN0fXM,110781
172
172
  modal_proto/api_grpc.py,sha256=-8SHvPtalTAjQtRv7zzU7Z1VoDupoJs2ifG4gl_mF0s,134442
173
- modal_proto/api_pb2.py,sha256=l41967Ly_j2gA2tGcXW1rpoDZXu4u8hmSkI-UTZY8bA,383813
174
- modal_proto/api_pb2.pyi,sha256=I6L_kRZ3rPstE-ntuHtBI_HDZl0KktMtSi4oTBSCGO0,541168
173
+ modal_proto/api_pb2.py,sha256=7HbsXIZN0dv8O00wlOGj4UQWlnKM678DJQOMl_iHxGo,383956
174
+ modal_proto/api_pb2.pyi,sha256=iO7PaRgWmOIRYIFyNTCgkeEqArLVnzKIWFt0ntYf5BI,542336
175
175
  modal_proto/api_pb2_grpc.py,sha256=Hqw9jcbhpr-W6jsfog_tGU55ouZjITxGvA-DGNBqOLA,289714
176
176
  modal_proto/api_pb2_grpc.pyi,sha256=QLJ58ANCx147HeGJva58h0MTCLIDs9JmVjrx8bDdwlg,67776
177
177
  modal_proto/modal_api_grpc.py,sha256=MqaBZB2ZqYj6XTIgI_p5dOPjt9gKT4pAJNd_WXR3W84,21295
@@ -188,10 +188,10 @@ modal_proto/task_command_router_pb2.py,sha256=_pD2ZpU0bNzhwBdzmLoLyLtAtftI_Agxwn
188
188
  modal_proto/task_command_router_pb2.pyi,sha256=EyDgXPLr7alqjXYERV8w_MPuO404x0uCppmSkrfE9IE,14589
189
189
  modal_proto/task_command_router_pb2_grpc.py,sha256=uEQ0HdrCp8v-9bB5yIic9muA8spCShLHY6Bz9cCgOUE,10114
190
190
  modal_proto/task_command_router_pb2_grpc.pyi,sha256=s3Yxsrawdj4nr8vqQqsAxyX6ilWaGbdECy425KKbLIA,3301
191
- modal_version/__init__.py,sha256=n1NRwBVuskiYLVyWUiRWo-ShRKqJcOhGV7L1EGHxWaU,121
191
+ modal_version/__init__.py,sha256=YUTdAZQGcnN6xZUTCYOdmQWRCiuTULleQNELoYW1rho,121
192
192
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
193
- modal-1.2.5.dev12.dist-info/METADATA,sha256=lDnvUzi2BljkemOSDs8AwAI1S-fS-BeB0Zr0oRBh6SQ,2490
194
- modal-1.2.5.dev12.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
195
- modal-1.2.5.dev12.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
196
- modal-1.2.5.dev12.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
197
- modal-1.2.5.dev12.dist-info/RECORD,,
193
+ modal-1.2.5.dev14.dist-info/METADATA,sha256=VCL6LSlrcktL6BpOAlXaogrsGBwyIX7ewdfb8Eq00lM,2490
194
+ modal-1.2.5.dev14.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
195
+ modal-1.2.5.dev14.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
196
+ modal-1.2.5.dev14.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
197
+ modal-1.2.5.dev14.dist-info/RECORD,,
modal_proto/api.proto CHANGED
@@ -1552,6 +1552,10 @@ message Function {
1552
1552
  repeated DataFormat supported_input_formats = 87; // can be used as inputs
1553
1553
  repeated DataFormat supported_output_formats = 88;
1554
1554
  optional HTTPConfig http_config = 89;
1555
+
1556
+ // Attribute on the module with the implementation, which may differ from function_name
1557
+ // when the user provided a custom name= for the Function inside the Application namespace
1558
+ string implementation_name = 90;
1555
1559
  }
1556
1560
 
1557
1561
  message FunctionAsyncInvokeRequest {
@@ -1731,6 +1735,10 @@ message FunctionData {
1731
1735
  repeated DataFormat supported_input_formats = 37;
1732
1736
  repeated DataFormat supported_output_formats = 38;
1733
1737
  optional HTTPConfig http_config = 39;
1738
+
1739
+ // Attribute on the module with the implementation, which may differ from function_name
1740
+ // when the user provided a custom name= for the Function inside the Application namespace
1741
+ string implementation_name = 40;
1734
1742
  }
1735
1743
 
1736
1744
  message FunctionExtended {
@@ -2785,6 +2793,11 @@ message Sandbox {
2785
2793
  // Exec commands for the sandbox will be issued directly to the sandbox
2786
2794
  // command router running on the Modal worker.
2787
2795
  bool direct_sandbox_commands_enabled = 34;
2796
+
2797
+ // Internal: restricts sandbox to run on this specific instance type.
2798
+ // Set by server during SandboxRestore to ensure the restored sandbox runs
2799
+ // on the same instance type as the original snapshot.
2800
+ string _restore_instance_type = 35;
2788
2801
  }
2789
2802
 
2790
2803
  message SandboxCreateConnectTokenRequest {