modAL 1.6.3.dev3__py3-none-any.whl → 1.6.3.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 +2 -2
- modal/sandbox/_sandbox.py +1 -1
- {modal-1.6.3.dev3.dist-info → modal-1.6.3.dev4.dist-info}/METADATA +1 -1
- {modal-1.6.3.dev3.dist-info → modal-1.6.3.dev4.dist-info}/RECORD +15 -15
- modal_proto/api_grpc.py +27 -27
- modal_proto/api_pb2.py +1493 -1480
- modal_proto/api_pb2.pyi +108 -65
- modal_proto/api_pb2_grpc.py +39 -39
- modal_proto/api_pb2_grpc.pyi +18 -18
- modal_proto/modal_api_grpc.py +3 -3
- modal_version/__init__.py +1 -1
- {modal-1.6.3.dev3.dist-info → modal-1.6.3.dev4.dist-info}/WHEEL +0 -0
- {modal-1.6.3.dev3.dist-info → modal-1.6.3.dev4.dist-info}/entry_points.txt +0 -0
- {modal-1.6.3.dev3.dist-info → modal-1.6.3.dev4.dist-info}/licenses/LICENSE +0 -0
- {modal-1.6.3.dev3.dist-info → modal-1.6.3.dev4.dist-info}/top_level.txt +0 -0
modal/client.pyi
CHANGED
|
@@ -80,7 +80,7 @@ class _Client:
|
|
|
80
80
|
server_url: str,
|
|
81
81
|
client_type: int,
|
|
82
82
|
credentials: typing.Optional[tuple[str, str]],
|
|
83
|
-
version: str = "1.6.3.
|
|
83
|
+
version: str = "1.6.3.dev4",
|
|
84
84
|
*,
|
|
85
85
|
oauth_credentials: typing.Optional[_OAuthCredentials] = None,
|
|
86
86
|
):
|
|
@@ -290,7 +290,7 @@ class Client:
|
|
|
290
290
|
server_url: str,
|
|
291
291
|
client_type: int,
|
|
292
292
|
credentials: typing.Optional[tuple[str, str]],
|
|
293
|
-
version: str = "1.6.3.
|
|
293
|
+
version: str = "1.6.3.dev4",
|
|
294
294
|
*,
|
|
295
295
|
oauth_credentials: typing.Optional[_OAuthCredentials] = None,
|
|
296
296
|
):
|
modal/sandbox/_sandbox.py
CHANGED
|
@@ -2219,7 +2219,7 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
2219
2219
|
command_router_client = await self._get_command_router_client(task_id)
|
|
2220
2220
|
snap_v2_resp = await command_router_client.snapshot_memory(
|
|
2221
2221
|
sr_pb2.TaskSnapshotMemoryRequest(task_id=task_id, idempotency_key=str(uuid.uuid4())),
|
|
2222
|
-
timeout=
|
|
2222
|
+
timeout=300.0,
|
|
2223
2223
|
)
|
|
2224
2224
|
snapshot_id = snap_v2_resp.snapshot_id
|
|
2225
2225
|
else:
|
|
@@ -39,7 +39,7 @@ modal/billing.py,sha256=E1-P_P8bJFLp-bTaggYd4BaaViImPB5UdtXiY8VeAZQ,390
|
|
|
39
39
|
modal/billing.pyi,sha256=4m7VLYNS8IiJ2I3CJx0awvrOM6BILWRVLfdeqtAYr8M,7189
|
|
40
40
|
modal/call_graph.py,sha256=XGALIDn1bLchWo_goyX23bcPjzCZcfqKUo8INIfDapo,1775
|
|
41
41
|
modal/client.py,sha256=cstrL0wpXCZmcvRs7Sy3QRw9Vz8zkZy8NNk0tPe38sk,22852
|
|
42
|
-
modal/client.pyi,sha256=
|
|
42
|
+
modal/client.pyi,sha256=Yw3A9uqTCLgxGnEvLrqggkc5f5xNsZIdf5Se3ge1ZaU,23488
|
|
43
43
|
modal/cloud_bucket_mount.py,sha256=ZOg69dhIFcJcwim4JP-6s1tqwOYAfgS9806jRpspifw,7511
|
|
44
44
|
modal/cloud_bucket_mount.pyi,sha256=HoPe_NG5jYdVfmTNY-ZJ3-C8Eo_FzJovl9orJRjkGbE,10252
|
|
45
45
|
modal/cls.py,sha256=JfDAUMrkhasm26lK7kDUNarXZA_7AvZrymf7XNSGTDM,41777
|
|
@@ -200,14 +200,14 @@ modal/experimental/ipython.py,sha256=kJ6o9wkAY_MiSb7paewI7f1MJAeqdi8TX5pBdhr_mUI
|
|
|
200
200
|
modal/sandbox/__init__.py,sha256=wHE5KCHUaMSK_nNGbn852PI423v3Q4UQEsFpoqNqMMI,203
|
|
201
201
|
modal/sandbox/_common.py,sha256=fw_OiE-EBtluxDFaBKVmYflG-3bSRTjfY1Q_EGmQKz8,9397
|
|
202
202
|
modal/sandbox/_filesystem.py,sha256=GdkMNVahPpUpfuY04HwWWwZyMID3bcut7PHXNWOIpYg,28299
|
|
203
|
-
modal/sandbox/_sandbox.py,sha256=
|
|
203
|
+
modal/sandbox/_sandbox.py,sha256=djno8n75066dJUza7QRn4jKgxS6HxqgtlTw2sXh70tg,113729
|
|
204
204
|
modal/sandbox/_sidecar.py,sha256=c_vbP_ORl7POIFw3rvDZsrkBy53oJ03RxgID243p8Cw,28069
|
|
205
205
|
modal/sandbox/_snapshot.py,sha256=8mB6FOecXEbgTC9dyogIEGCxTdjemuFsyfVFQyQ2Cp8,3105
|
|
206
206
|
modal/sandbox/_task_command_router_client.py,sha256=7c4a8sutJJYAXTgBCnUo0ZjyidAvvsBImHvTQTU9zrM,56564
|
|
207
207
|
modal/sandbox/sandbox.py,sha256=4ekghND9qUGf5wtIQH4mVa6PHGjHgY0UN5RKryOM05k,683
|
|
208
208
|
modal/sandbox/sandbox.pyi,sha256=LWQq7mpZXYVQHKjWi9azwddlclONcdYGZ7EpPgDD0-Y,150341
|
|
209
209
|
modal/skills/modal/SKILL.md,sha256=Bm-0BPTYppJoeQzA-N-Re8L6-nKnV6gspJXMl4cD0P0,5490
|
|
210
|
-
modal-1.6.3.
|
|
210
|
+
modal-1.6.3.dev4.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
211
211
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
212
212
|
modal_docs/gen_cli_docs.py,sha256=9-b8vl2EsLWD9zJqpCK8IUi5h44Bjn3i3rSdedZV4bA,6415
|
|
213
213
|
modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
|
|
@@ -219,22 +219,22 @@ modal_docs/mdmd/mdmd.py,sha256=8bwE9SOnvsY9hEXvyE3Rx0L0XhvENpPNtkWCTJCA-pw,29269
|
|
|
219
219
|
modal_docs/mdmd/signatures.py,sha256=OASroKle763Kfumn4Ek4PABJXEGP56JMCTug44QoBx4,11327
|
|
220
220
|
modal_docs/mdmd/types.py,sha256=tv7fvziPr-MeDzOp4e2pK5h3d1DXTUOO74rPqDoBn6g,736
|
|
221
221
|
modal_proto/__init__.py,sha256=Hkou4lcD5tArEkW_9v9KZhLY7fl0fA9-O28beKU55pg,396
|
|
222
|
-
modal_proto/api_grpc.py,sha256=
|
|
223
|
-
modal_proto/api_pb2.py,sha256=
|
|
224
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
225
|
-
modal_proto/api_pb2_grpc.py,sha256
|
|
226
|
-
modal_proto/api_pb2_grpc.pyi,sha256=
|
|
227
|
-
modal_proto/modal_api_grpc.py,sha256=
|
|
222
|
+
modal_proto/api_grpc.py,sha256=cXcllVdAI4xWfDPPaOnTWjwOytwSY2Yd3utdDd57zOs,211812
|
|
223
|
+
modal_proto/api_pb2.py,sha256=QCQikzM7WtbQobtpxTOwX-jEMLgJ3HteVyWn7IyqeBA,616667
|
|
224
|
+
modal_proto/api_pb2.pyi,sha256=bDnJw9l2KP1KME9eIJ5voCLyql0jnsAF66w9D6uFyYY,856821
|
|
225
|
+
modal_proto/api_pb2_grpc.py,sha256=-_Me41rc31QYu7mdtlEQvbSdbkZOCl8KTCdcf5QFgiI,453303
|
|
226
|
+
modal_proto/api_pb2_grpc.pyi,sha256=VEa9TK3W4kQyYgUzdgY1liQwMDlrZ-TmyZv3WABiQnE,106540
|
|
227
|
+
modal_proto/modal_api_grpc.py,sha256=_U4ZIvJFiBtb_C6RQwHGNulDTA2Eo0us9BzJGYM_FL8,33302
|
|
228
228
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
229
229
|
modal_proto/task_command_router_grpc.py,sha256=LOkoiKSoyesfTsViPwDI88-V8bG4oDH6S2MBm84hMLA,22335
|
|
230
230
|
modal_proto/task_command_router_pb2.py,sha256=ysC0d8p3YxwyOpP3B-qDlvE81Yo4ntQiwiGZ8qSb0kg,43514
|
|
231
231
|
modal_proto/task_command_router_pb2.pyi,sha256=FDcd5t3ZCmQHUjefOzg07iglrgKYcBrzFvdKIWsEMHI,50628
|
|
232
232
|
modal_proto/task_command_router_pb2_grpc.py,sha256=8iGUGwEVbqOsZWPJ7OsQ9OKUGaSCf9Dr2tvb04Ww6d4,44620
|
|
233
233
|
modal_proto/task_command_router_pb2_grpc.pyi,sha256=26Fq9RQo09B9KLHsgdpRuw-I6Z4-2jrXLQkuDzB-moI,15097
|
|
234
|
-
modal_version/__init__.py,sha256=
|
|
234
|
+
modal_version/__init__.py,sha256=lvlBjsEXSAWc3li_mGV6-wx7ih5YOOaD63WwmBy7enY,120
|
|
235
235
|
modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
|
|
236
|
-
modal-1.6.3.
|
|
237
|
-
modal-1.6.3.
|
|
238
|
-
modal-1.6.3.
|
|
239
|
-
modal-1.6.3.
|
|
240
|
-
modal-1.6.3.
|
|
236
|
+
modal-1.6.3.dev4.dist-info/METADATA,sha256=MSgGtSr2tRj4b1FcvYbSry_7hwJ6Ql7fRvopaz8HC5s,2577
|
|
237
|
+
modal-1.6.3.dev4.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
238
|
+
modal-1.6.3.dev4.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
239
|
+
modal-1.6.3.dev4.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
240
|
+
modal-1.6.3.dev4.dist-info/RECORD,,
|
modal_proto/api_grpc.py
CHANGED
|
@@ -128,15 +128,15 @@ class ModalClientBase(abc.ABC):
|
|
|
128
128
|
pass
|
|
129
129
|
|
|
130
130
|
@abc.abstractmethod
|
|
131
|
-
async def
|
|
131
|
+
async def AuditLogCount(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AuditLogCountRequest, modal_proto.api_pb2.AuditLogCountResponse]') -> None:
|
|
132
132
|
pass
|
|
133
133
|
|
|
134
134
|
@abc.abstractmethod
|
|
135
|
-
async def
|
|
135
|
+
async def AuditLogList(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AuditLogListRequest, modal_proto.api_pb2.AuditLogListResponse]') -> None:
|
|
136
136
|
pass
|
|
137
137
|
|
|
138
138
|
@abc.abstractmethod
|
|
139
|
-
async def
|
|
139
|
+
async def AuditLogPlan(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.AuditLogBucketsRequest, modal_proto.api_pb2.AuditLogPlanResponse]') -> None:
|
|
140
140
|
pass
|
|
141
141
|
|
|
142
142
|
@abc.abstractmethod
|
|
@@ -1263,23 +1263,23 @@ class ModalClientBase(abc.ABC):
|
|
|
1263
1263
|
modal_proto.api_pb2.AttemptStartRequest,
|
|
1264
1264
|
modal_proto.api_pb2.AttemptStartResponse,
|
|
1265
1265
|
),
|
|
1266
|
-
'/modal.client.ModalClient/
|
|
1267
|
-
self.
|
|
1266
|
+
'/modal.client.ModalClient/AuditLogCount': grpclib.const.Handler(
|
|
1267
|
+
self.AuditLogCount,
|
|
1268
1268
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
1269
|
-
modal_proto.api_pb2.
|
|
1270
|
-
modal_proto.api_pb2.
|
|
1269
|
+
modal_proto.api_pb2.AuditLogCountRequest,
|
|
1270
|
+
modal_proto.api_pb2.AuditLogCountResponse,
|
|
1271
1271
|
),
|
|
1272
|
-
'/modal.client.ModalClient/
|
|
1273
|
-
self.
|
|
1272
|
+
'/modal.client.ModalClient/AuditLogList': grpclib.const.Handler(
|
|
1273
|
+
self.AuditLogList,
|
|
1274
1274
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
1275
|
-
modal_proto.api_pb2.
|
|
1276
|
-
modal_proto.api_pb2.
|
|
1275
|
+
modal_proto.api_pb2.AuditLogListRequest,
|
|
1276
|
+
modal_proto.api_pb2.AuditLogListResponse,
|
|
1277
1277
|
),
|
|
1278
|
-
'/modal.client.ModalClient/
|
|
1279
|
-
self.
|
|
1278
|
+
'/modal.client.ModalClient/AuditLogPlan': grpclib.const.Handler(
|
|
1279
|
+
self.AuditLogPlan,
|
|
1280
1280
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
1281
|
-
modal_proto.api_pb2.
|
|
1282
|
-
modal_proto.api_pb2.
|
|
1281
|
+
modal_proto.api_pb2.AuditLogBucketsRequest,
|
|
1282
|
+
modal_proto.api_pb2.AuditLogPlanResponse,
|
|
1283
1283
|
),
|
|
1284
1284
|
'/modal.client.ModalClient/AuthTokenGet': grpclib.const.Handler(
|
|
1285
1285
|
self.AuthTokenGet,
|
|
@@ -2889,23 +2889,23 @@ class ModalClientStub:
|
|
|
2889
2889
|
modal_proto.api_pb2.AttemptStartRequest,
|
|
2890
2890
|
modal_proto.api_pb2.AttemptStartResponse,
|
|
2891
2891
|
)
|
|
2892
|
-
self.
|
|
2892
|
+
self.AuditLogCount = grpclib.client.UnaryUnaryMethod(
|
|
2893
2893
|
channel,
|
|
2894
|
-
'/modal.client.ModalClient/
|
|
2895
|
-
modal_proto.api_pb2.
|
|
2896
|
-
modal_proto.api_pb2.
|
|
2894
|
+
'/modal.client.ModalClient/AuditLogCount',
|
|
2895
|
+
modal_proto.api_pb2.AuditLogCountRequest,
|
|
2896
|
+
modal_proto.api_pb2.AuditLogCountResponse,
|
|
2897
2897
|
)
|
|
2898
|
-
self.
|
|
2898
|
+
self.AuditLogList = grpclib.client.UnaryUnaryMethod(
|
|
2899
2899
|
channel,
|
|
2900
|
-
'/modal.client.ModalClient/
|
|
2901
|
-
modal_proto.api_pb2.
|
|
2902
|
-
modal_proto.api_pb2.
|
|
2900
|
+
'/modal.client.ModalClient/AuditLogList',
|
|
2901
|
+
modal_proto.api_pb2.AuditLogListRequest,
|
|
2902
|
+
modal_proto.api_pb2.AuditLogListResponse,
|
|
2903
2903
|
)
|
|
2904
|
-
self.
|
|
2904
|
+
self.AuditLogPlan = grpclib.client.UnaryUnaryMethod(
|
|
2905
2905
|
channel,
|
|
2906
|
-
'/modal.client.ModalClient/
|
|
2907
|
-
modal_proto.api_pb2.
|
|
2908
|
-
modal_proto.api_pb2.
|
|
2906
|
+
'/modal.client.ModalClient/AuditLogPlan',
|
|
2907
|
+
modal_proto.api_pb2.AuditLogBucketsRequest,
|
|
2908
|
+
modal_proto.api_pb2.AuditLogPlanResponse,
|
|
2909
2909
|
)
|
|
2910
2910
|
self.AuthTokenGet = grpclib.client.UnaryUnaryMethod(
|
|
2911
2911
|
channel,
|