modal 1.2.1.dev10__py3-none-any.whl → 1.2.1.dev11__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.
Potentially problematic release.
This version of modal might be problematic. Click here for more details.
- modal/client.pyi +2 -2
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/METADATA +1 -1
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/RECORD +15 -15
- modal_proto/api.proto +0 -15
- modal_proto/api_grpc.py +0 -16
- modal_proto/api_pb2.py +331 -351
- modal_proto/api_pb2.pyi +0 -38
- modal_proto/api_pb2_grpc.py +0 -33
- modal_proto/api_pb2_grpc.pyi +0 -10
- modal_proto/modal_api_grpc.py +0 -1
- modal_version/__init__.py +1 -1
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/WHEEL +0 -0
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/entry_points.txt +0 -0
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/licenses/LICENSE +0 -0
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/top_level.txt +0 -0
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.1.
|
|
36
|
+
version: str = "1.2.1.dev11",
|
|
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.1.
|
|
167
|
+
version: str = "1.2.1.dev11",
|
|
168
168
|
):
|
|
169
169
|
"""mdmd:hidden
|
|
170
170
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -24,7 +24,7 @@ modal/app.pyi,sha256=AUV5Rp8qQrZJTP2waoKHFY7rYgsXNMYibMcCAQKuSeo,50544
|
|
|
24
24
|
modal/billing.py,sha256=zmQ3bcCJlwa4KD1IA_QgdWpm1pn13c-7qfy79iEauYI,195
|
|
25
25
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
|
26
26
|
modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
|
|
27
|
-
modal/client.pyi,sha256=
|
|
27
|
+
modal/client.pyi,sha256=ph8_OsWEq_LudTDG7jrAv84RKbPE2JfPw8SiCFAXLf8,15831
|
|
28
28
|
modal/cloud_bucket_mount.py,sha256=I2GRXYhOWLIz2kJZjXu75jAm9EJkBNcutGc6jR2ReUw,5928
|
|
29
29
|
modal/cloud_bucket_mount.pyi,sha256=VuUOipMIHqFXMkD-3g2bsoqpSxV5qswlFHDOqPQzYAo,7405
|
|
30
30
|
modal/cls.py,sha256=ZxzivE3fNci4-A5uyBYNAzXMXtdqDg3gnYvgbdy5fhg,40384
|
|
@@ -156,7 +156,7 @@ modal/experimental/__init__.py,sha256=9gkVuDmu3m4TlKoU3MzEtTOemUSs8EEOWba40s7Aa0
|
|
|
156
156
|
modal/experimental/flash.py,sha256=C4sef08rARYFllsgtqukFmYL18SZW0_JpMS0BejDcUs,28552
|
|
157
157
|
modal/experimental/flash.pyi,sha256=vV_OQhtdrPn8SW0XrBK-aLLHHIvxAzLzwFbWrke-m74,15463
|
|
158
158
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
|
159
|
-
modal-1.2.1.
|
|
159
|
+
modal-1.2.1.dev11.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
160
160
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
161
161
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
|
162
162
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
|
@@ -164,13 +164,13 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
|
164
164
|
modal_docs/mdmd/mdmd.py,sha256=tUTImNd4UMFk1opkaw8J672gX8AkBO5gbY2S_NMxsxs,7140
|
|
165
165
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
|
166
166
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
|
167
|
-
modal_proto/api.proto,sha256=
|
|
168
|
-
modal_proto/api_grpc.py,sha256=
|
|
169
|
-
modal_proto/api_pb2.py,sha256=
|
|
170
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
171
|
-
modal_proto/api_pb2_grpc.py,sha256=
|
|
172
|
-
modal_proto/api_pb2_grpc.pyi,sha256=
|
|
173
|
-
modal_proto/modal_api_grpc.py,sha256=
|
|
167
|
+
modal_proto/api.proto,sha256=yYsIf0_6hfT98xBHfad82fBDAfW7Wcip5g74MZMNNwE,108935
|
|
168
|
+
modal_proto/api_grpc.py,sha256=JYmHBCRazCqwFsSpNMK2kKk8UCGVXi2E9XHJvT6NpSI,135300
|
|
169
|
+
modal_proto/api_pb2.py,sha256=h31c6JqkcvmuFVebu5oEa2FbZTlbOSCanTZdD0yeubU,381165
|
|
170
|
+
modal_proto/api_pb2.pyi,sha256=w8xScmbhxUDCV6yTk9baT6u9h7WLyeTktFqASoyHSb0,532300
|
|
171
|
+
modal_proto/api_pb2_grpc.py,sha256=AIj7DOISi5pKqmXm9APOyrFSW1-8-V5peGebtnMHCeo,291495
|
|
172
|
+
modal_proto/api_pb2_grpc.pyi,sha256=1TXj_sL24TSMit0wL5ScIytnHoD5RI0DT5O1vqOLLYM,68293
|
|
173
|
+
modal_proto/modal_api_grpc.py,sha256=qbz7Ssx_kvfy28aeFLLXLFdoS5dY4OHVrgLcS5rDXKc,20388
|
|
174
174
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
175
175
|
modal_proto/sandbox_router.proto,sha256=o6LZWekz2h7uAhBlHcu_EqXnc5ptxm-4j_ZUFVGAJFk,5161
|
|
176
176
|
modal_proto/sandbox_router_grpc.py,sha256=27daOTX2N5hADDG-5Qnn4Yj3VfekyJwrDUkrQ12mPuU,5004
|
|
@@ -184,10 +184,10 @@ modal_proto/task_command_router_pb2.py,sha256=_pD2ZpU0bNzhwBdzmLoLyLtAtftI_Agxwn
|
|
|
184
184
|
modal_proto/task_command_router_pb2.pyi,sha256=EyDgXPLr7alqjXYERV8w_MPuO404x0uCppmSkrfE9IE,14589
|
|
185
185
|
modal_proto/task_command_router_pb2_grpc.py,sha256=uEQ0HdrCp8v-9bB5yIic9muA8spCShLHY6Bz9cCgOUE,10114
|
|
186
186
|
modal_proto/task_command_router_pb2_grpc.pyi,sha256=s3Yxsrawdj4nr8vqQqsAxyX6ilWaGbdECy425KKbLIA,3301
|
|
187
|
-
modal_version/__init__.py,sha256=
|
|
187
|
+
modal_version/__init__.py,sha256=16uG298P5zLwLoTMMHjlqZF78qdA8tqhO7F9_yVUFvg,121
|
|
188
188
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
|
189
|
-
modal-1.2.1.
|
|
190
|
-
modal-1.2.1.
|
|
191
|
-
modal-1.2.1.
|
|
192
|
-
modal-1.2.1.
|
|
193
|
-
modal-1.2.1.
|
|
189
|
+
modal-1.2.1.dev11.dist-info/METADATA,sha256=VBI4dhCiWGWn6pJE5UqZur7MkPBsNM_0jghxFSzbz0M,2484
|
|
190
|
+
modal-1.2.1.dev11.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
191
|
+
modal-1.2.1.dev11.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
192
|
+
modal-1.2.1.dev11.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
193
|
+
modal-1.2.1.dev11.dist-info/RECORD,,
|
modal_proto/api.proto
CHANGED
|
@@ -2757,20 +2757,6 @@ message SandboxCreateResponse {
|
|
|
2757
2757
|
string sandbox_id = 1;
|
|
2758
2758
|
}
|
|
2759
2759
|
|
|
2760
|
-
// Used to get a JWT and URL for direct access to a sandbox router server
|
|
2761
|
-
// running on the modal-worker, so the client can issue exec commands (and other
|
|
2762
|
-
// operations as they become available) directly to the worker.
|
|
2763
|
-
// DEPRECATED: Use TaskGetCommandRouterAccessRequest instead.
|
|
2764
|
-
// TODO(saltzm): Remove this.
|
|
2765
|
-
message SandboxGetCommandRouterAccessRequest {
|
|
2766
|
-
string sandbox_id = 1;
|
|
2767
|
-
}
|
|
2768
|
-
|
|
2769
|
-
message SandboxGetCommandRouterAccessResponse {
|
|
2770
|
-
string jwt = 1;
|
|
2771
|
-
string url = 2;
|
|
2772
|
-
}
|
|
2773
|
-
|
|
2774
2760
|
message SandboxGetFromNameRequest {
|
|
2775
2761
|
string sandbox_name = 1;
|
|
2776
2762
|
string environment_name = 2;
|
|
@@ -3754,7 +3740,6 @@ service ModalClient {
|
|
|
3754
3740
|
// Sandboxes
|
|
3755
3741
|
rpc SandboxCreate(SandboxCreateRequest) returns (SandboxCreateResponse);
|
|
3756
3742
|
rpc SandboxCreateConnectToken(SandboxCreateConnectTokenRequest) returns (SandboxCreateConnectTokenResponse);
|
|
3757
|
-
rpc SandboxGetCommandRouterAccess(SandboxGetCommandRouterAccessRequest) returns (SandboxGetCommandRouterAccessResponse);
|
|
3758
3743
|
rpc SandboxGetFromName(SandboxGetFromNameRequest) returns (SandboxGetFromNameResponse);
|
|
3759
3744
|
rpc SandboxGetLogs(SandboxGetLogsRequest) returns (stream TaskLogsBatch);
|
|
3760
3745
|
rpc SandboxGetResourceUsage(SandboxGetResourceUsageRequest) returns (SandboxGetResourceUsageResponse);
|
modal_proto/api_grpc.py
CHANGED
|
@@ -482,10 +482,6 @@ class ModalClientBase(abc.ABC):
|
|
|
482
482
|
async def SandboxCreateConnectToken(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.SandboxCreateConnectTokenRequest, modal_proto.api_pb2.SandboxCreateConnectTokenResponse]') -> None:
|
|
483
483
|
pass
|
|
484
484
|
|
|
485
|
-
@abc.abstractmethod
|
|
486
|
-
async def SandboxGetCommandRouterAccess(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.SandboxGetCommandRouterAccessRequest, modal_proto.api_pb2.SandboxGetCommandRouterAccessResponse]') -> None:
|
|
487
|
-
pass
|
|
488
|
-
|
|
489
485
|
@abc.abstractmethod
|
|
490
486
|
async def SandboxGetFromName(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.SandboxGetFromNameRequest, modal_proto.api_pb2.SandboxGetFromNameResponse]') -> None:
|
|
491
487
|
pass
|
|
@@ -1420,12 +1416,6 @@ class ModalClientBase(abc.ABC):
|
|
|
1420
1416
|
modal_proto.api_pb2.SandboxCreateConnectTokenRequest,
|
|
1421
1417
|
modal_proto.api_pb2.SandboxCreateConnectTokenResponse,
|
|
1422
1418
|
),
|
|
1423
|
-
'/modal.client.ModalClient/SandboxGetCommandRouterAccess': grpclib.const.Handler(
|
|
1424
|
-
self.SandboxGetCommandRouterAccess,
|
|
1425
|
-
grpclib.const.Cardinality.UNARY_UNARY,
|
|
1426
|
-
modal_proto.api_pb2.SandboxGetCommandRouterAccessRequest,
|
|
1427
|
-
modal_proto.api_pb2.SandboxGetCommandRouterAccessResponse,
|
|
1428
|
-
),
|
|
1429
1419
|
'/modal.client.ModalClient/SandboxGetFromName': grpclib.const.Handler(
|
|
1430
1420
|
self.SandboxGetFromName,
|
|
1431
1421
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -2482,12 +2472,6 @@ class ModalClientStub:
|
|
|
2482
2472
|
modal_proto.api_pb2.SandboxCreateConnectTokenRequest,
|
|
2483
2473
|
modal_proto.api_pb2.SandboxCreateConnectTokenResponse,
|
|
2484
2474
|
)
|
|
2485
|
-
self.SandboxGetCommandRouterAccess = grpclib.client.UnaryUnaryMethod(
|
|
2486
|
-
channel,
|
|
2487
|
-
'/modal.client.ModalClient/SandboxGetCommandRouterAccess',
|
|
2488
|
-
modal_proto.api_pb2.SandboxGetCommandRouterAccessRequest,
|
|
2489
|
-
modal_proto.api_pb2.SandboxGetCommandRouterAccessResponse,
|
|
2490
|
-
)
|
|
2491
2475
|
self.SandboxGetFromName = grpclib.client.UnaryUnaryMethod(
|
|
2492
2476
|
channel,
|
|
2493
2477
|
'/modal.client.ModalClient/SandboxGetFromName',
|