modAL 1.2.3.dev11__py3-none-any.whl → 1.2.3.dev12__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.2.3.dev11",
36
+ version: str = "1.2.3.dev12",
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.2.3.dev11",
167
+ version: str = "1.2.3.dev12",
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.2.3.dev11
3
+ Version: 1.2.3.dev12
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=tPzihC7R9WtP56k6dyPKi5GLGdLEHdMA6YUj9Ry5G8o,14409
29
- modal/client.pyi,sha256=mgsWcJZaxkLzH2p-hTS_0SUJc0oBpXBbP0FPrsyVMiM,13094
29
+ modal/client.pyi,sha256=Trd-WXsavfnqusRpJ5VNB5AOAexLHSvRVzExo0Ecnic,13094
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
@@ -158,7 +158,7 @@ modal/experimental/__init__.py,sha256=sCwNbBLcR2t-jhrpwtMAPGKt2WNqXBg0xkNZdyB-6C
158
158
  modal/experimental/flash.py,sha256=RKS3X3h4tY_mOLcMzbRs5tNCLPFL01dBAhCZSqCeBgA,26675
159
159
  modal/experimental/flash.pyi,sha256=uwinKAYxpunNNfBj58FP88DXb535Qik4F6tnJKPAIwQ,14696
160
160
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
161
- modal-1.2.3.dev11.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
161
+ modal-1.2.3.dev12.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
162
162
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
163
163
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
164
164
  modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
@@ -166,10 +166,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
166
166
  modal_docs/mdmd/mdmd.py,sha256=tUTImNd4UMFk1opkaw8J672gX8AkBO5gbY2S_NMxsxs,7140
167
167
  modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
168
168
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
169
- modal_proto/api.proto,sha256=VbsgH6P3lQqVybeDQ5v9X4KFq5u60sRtPb-O1GHHHnc,109677
169
+ modal_proto/api.proto,sha256=lJ7RboW0F29Ke4c8SkDUV0MZ81NMbfZjdk-ALJ_ffac,109898
170
170
  modal_proto/api_grpc.py,sha256=-8SHvPtalTAjQtRv7zzU7Z1VoDupoJs2ifG4gl_mF0s,134442
171
- modal_proto/api_pb2.py,sha256=H0LfanVdhD0T2mAHL_1TckKzum7mgKQhKtX-WOaIlok,382433
172
- modal_proto/api_pb2.pyi,sha256=3vERnLcl86Vl8zFodRh-wzQqc2KYGePNklVB43phIfQ,538421
171
+ modal_proto/api_pb2.py,sha256=66GekGGTUMSPYvGGP-K2AJq7biNQOu6pMkdr0ID7b44,383248
172
+ modal_proto/api_pb2.pyi,sha256=bFFZymkxUh679BZlYhLdVEinvqZ6Y6wX8VeG0nM9mn4,540395
173
173
  modal_proto/api_pb2_grpc.py,sha256=Hqw9jcbhpr-W6jsfog_tGU55ouZjITxGvA-DGNBqOLA,289714
174
174
  modal_proto/api_pb2_grpc.pyi,sha256=QLJ58ANCx147HeGJva58h0MTCLIDs9JmVjrx8bDdwlg,67776
175
175
  modal_proto/modal_api_grpc.py,sha256=MqaBZB2ZqYj6XTIgI_p5dOPjt9gKT4pAJNd_WXR3W84,21295
@@ -186,10 +186,10 @@ modal_proto/task_command_router_pb2.py,sha256=_pD2ZpU0bNzhwBdzmLoLyLtAtftI_Agxwn
186
186
  modal_proto/task_command_router_pb2.pyi,sha256=EyDgXPLr7alqjXYERV8w_MPuO404x0uCppmSkrfE9IE,14589
187
187
  modal_proto/task_command_router_pb2_grpc.py,sha256=uEQ0HdrCp8v-9bB5yIic9muA8spCShLHY6Bz9cCgOUE,10114
188
188
  modal_proto/task_command_router_pb2_grpc.pyi,sha256=s3Yxsrawdj4nr8vqQqsAxyX6ilWaGbdECy425KKbLIA,3301
189
- modal_version/__init__.py,sha256=RNWPtA7f4H8cW3HxcETbSx5yfwD2ssvdTGeEp9-jFYc,121
189
+ modal_version/__init__.py,sha256=5sRPhILd2sP4H_Tuq6hhejf9FzSWi2osWHlrdwooABA,121
190
190
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
191
- modal-1.2.3.dev11.dist-info/METADATA,sha256=jA0WPcqBZfdBqdPe1Vr61nB55iYVw8gO-Sa7oKui430,2490
192
- modal-1.2.3.dev11.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
193
- modal-1.2.3.dev11.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
194
- modal-1.2.3.dev11.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
195
- modal-1.2.3.dev11.dist-info/RECORD,,
191
+ modal-1.2.3.dev12.dist-info/METADATA,sha256=7QOUkTZPBrQZSzfNhB-0ze15jSRLgoPy3_7QG65FS24,2490
192
+ modal-1.2.3.dev12.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
193
+ modal-1.2.3.dev12.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
194
+ modal-1.2.3.dev12.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
195
+ modal-1.2.3.dev12.dist-info/RECORD,,
modal_proto/api.proto CHANGED
@@ -1550,6 +1550,7 @@ message Function {
1550
1550
  uint32 startup_timeout_secs = 86;
1551
1551
  repeated DataFormat supported_input_formats = 87; // can be used as inputs
1552
1552
  repeated DataFormat supported_output_formats = 88;
1553
+ optional HTTPConfig http_config = 89;
1553
1554
  }
1554
1555
 
1555
1556
  message FunctionAsyncInvokeRequest {
@@ -1728,6 +1729,7 @@ message FunctionData {
1728
1729
  uint32 startup_timeout_secs = 36;
1729
1730
  repeated DataFormat supported_input_formats = 37;
1730
1731
  repeated DataFormat supported_output_formats = 38;
1732
+ optional HTTPConfig http_config = 39;
1731
1733
  }
1732
1734
 
1733
1735
  message FunctionExtended {
@@ -2088,6 +2090,12 @@ message GenericResult { // Used for both tasks and function outputs
2088
2090
  string propagation_reason = 13; // (?)
2089
2091
  }
2090
2092
 
2093
+ message HTTPConfig {
2094
+ uint32 port = 1;
2095
+ repeated string proxy_regions = 2;
2096
+ uint32 startup_timeout = 3;
2097
+ uint32 exit_grace_period = 4;
2098
+ }
2091
2099
 
2092
2100
  message Image {
2093
2101
  repeated BaseImage base_images = 5;