modal 1.1.5.dev27__py3-none-any.whl → 1.1.5.dev29__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/cli/environment.py +1 -1
- modal/client.pyi +2 -2
- {modal-1.1.5.dev27.dist-info → modal-1.1.5.dev29.dist-info}/METADATA +1 -1
- {modal-1.1.5.dev27.dist-info → modal-1.1.5.dev29.dist-info}/RECORD +16 -16
- modal_proto/api.proto +9 -0
- modal_proto/api_grpc.py +16 -0
- modal_proto/api_pb2.py +279 -259
- modal_proto/api_pb2.pyi +29 -0
- modal_proto/api_pb2_grpc.py +33 -0
- modal_proto/api_pb2_grpc.pyi +10 -0
- modal_proto/modal_api_grpc.py +1 -0
- modal_version/__init__.py +1 -1
- {modal-1.1.5.dev27.dist-info → modal-1.1.5.dev29.dist-info}/WHEEL +0 -0
- {modal-1.1.5.dev27.dist-info → modal-1.1.5.dev29.dist-info}/entry_points.txt +0 -0
- {modal-1.1.5.dev27.dist-info → modal-1.1.5.dev29.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.5.dev27.dist-info → modal-1.1.5.dev29.dist-info}/top_level.txt +0 -0
modal/cli/environment.py
CHANGED
|
@@ -86,7 +86,7 @@ def delete(
|
|
|
86
86
|
typer.confirm(
|
|
87
87
|
(
|
|
88
88
|
f"Are you sure you want to irrevocably delete the environment '{name}' and"
|
|
89
|
-
" all its associated
|
|
89
|
+
" all its associated Apps, Secrets, Volumes, Dicts and Queues?"
|
|
90
90
|
),
|
|
91
91
|
default=False,
|
|
92
92
|
abort=True,
|
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.1.5.
|
|
36
|
+
version: str = "1.1.5.dev29",
|
|
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.1.5.
|
|
167
|
+
version: str = "1.1.5.dev29",
|
|
168
168
|
):
|
|
169
169
|
"""mdmd:hidden
|
|
170
170
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -22,7 +22,7 @@ modal/app.py,sha256=OBFaL-8KVMtBMEmspHA76LvblPdnSgdoGioLkQBjhdQ,48851
|
|
|
22
22
|
modal/app.pyi,sha256=Cqk3pOeEEroCLejj3yJ3XHDqt0rMzeSA295gMKEx6Ww,43955
|
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
|
24
24
|
modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
|
|
25
|
-
modal/client.pyi,sha256=
|
|
25
|
+
modal/client.pyi,sha256=nMDQqE9gzMvwyNrjwqPlPYRVF1cYq9kSCjIIbCKayU4,15831
|
|
26
26
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
|
27
27
|
modal/cloud_bucket_mount.pyi,sha256=-qSfYAQvIoO_l2wsCCGTG5ZUwQieNKXdAO00yP1-LYU,7394
|
|
28
28
|
modal/cls.py,sha256=qb9h_ZKiz2q7fwKQ-5bdkz1x3tdu6sIm-UI09aQjPPc,41101
|
|
@@ -133,7 +133,7 @@ modal/cli/config.py,sha256=lhp2Pq4RbTDhaZJ-ZJvhrMqJj8c-WjuRX6gjE3TrvXc,1691
|
|
|
133
133
|
modal/cli/container.py,sha256=9Ti-TIZ6vjDSmn9mk9h6SRwyhkQjtwirBN18LjpLyvE,3719
|
|
134
134
|
modal/cli/dict.py,sha256=YAJtiv41YcCd5Fqam3hXCNTs4Y0yOgGR_i6RfQNSAFM,4572
|
|
135
135
|
modal/cli/entry_point.py,sha256=F06p54rPOs1xAUeYW76RaimFOgLW_I17RCvNwfZRqPc,4747
|
|
136
|
-
modal/cli/environment.py,sha256=
|
|
136
|
+
modal/cli/environment.py,sha256=QD1el4c1ALlTU5aN3e67SQt2E5sH7gPdXlBf9VHW2yI,4358
|
|
137
137
|
modal/cli/import_refs.py,sha256=X59Z5JwgliRO6C-cIFto2Pr7o3SwlZMKQPKA0aI4ZK4,13927
|
|
138
138
|
modal/cli/launch.py,sha256=VARim2SCzgtI1ZuxQ6JgTTtvFwGA5czCwQZQHWC8Zcc,6498
|
|
139
139
|
modal/cli/network_file_system.py,sha256=I9IqTpVfk32uKYwGd8LTldkQx6UKYrQYNZ26q7Ab5Oo,8126
|
|
@@ -153,7 +153,7 @@ modal/experimental/__init__.py,sha256=fCqzo_f3vcY750vHtd7CtLs5dvdM_C0ZLLGb3zXuK9
|
|
|
153
153
|
modal/experimental/flash.py,sha256=7qRAL2Nrwbb60YKobcnpM0zJ8vw4xGJqabLPFgEzMZE,28295
|
|
154
154
|
modal/experimental/flash.pyi,sha256=R9VV0UDotiY9BRUjacB-xI4qhR3yBymAvEZFRFHztLs,15143
|
|
155
155
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
|
156
|
-
modal-1.1.5.
|
|
156
|
+
modal-1.1.5.dev29.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
157
157
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
158
158
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
|
159
159
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
|
@@ -161,13 +161,13 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
|
161
161
|
modal_docs/mdmd/mdmd.py,sha256=tUTImNd4UMFk1opkaw8J672gX8AkBO5gbY2S_NMxsxs,7140
|
|
162
162
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
|
163
163
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
|
164
|
-
modal_proto/api.proto,sha256=
|
|
165
|
-
modal_proto/api_grpc.py,sha256
|
|
166
|
-
modal_proto/api_pb2.py,sha256=
|
|
167
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
168
|
-
modal_proto/api_pb2_grpc.py,sha256=
|
|
169
|
-
modal_proto/api_pb2_grpc.pyi,sha256=
|
|
170
|
-
modal_proto/modal_api_grpc.py,sha256=
|
|
164
|
+
modal_proto/api.proto,sha256=y5TUm487syMEJX7Q_AdbASHPYcTzs7eoqDxajELhY5Y,108051
|
|
165
|
+
modal_proto/api_grpc.py,sha256=-jhV6iRL3mZnfVWdao7yH7tFajZnbEGePyzI96EfZCQ,131221
|
|
166
|
+
modal_proto/api_pb2.py,sha256=LnJveE1jjEwVR9wbkdeImvBgy_uPUjQ3jbVMSJeKD8E,377131
|
|
167
|
+
modal_proto/api_pb2.pyi,sha256=A9Diy7-HCz6izFmf6B9LmuqgQb17OsKWhTzF5OoPTOM,521520
|
|
168
|
+
modal_proto/api_pb2_grpc.py,sha256=s6srjmOFKQ4oDH4mtStS2dIv0pg-6znpP4AnZoHDZ-g,282909
|
|
169
|
+
modal_proto/api_pb2_grpc.pyi,sha256=5JT1ePlOqkQ5hfm-0-Mva_ZZcisGoIhtBmIxFq_piRo,66259
|
|
170
|
+
modal_proto/modal_api_grpc.py,sha256=wqX9Vbr20ldPjkXb5oZMwD4RV1cUMTt4T234YilZEaQ,19789
|
|
171
171
|
modal_proto/modal_options_grpc.py,sha256=qJ1cuwA54oRqrdTyPTbvfhFZYd9HhJKK5UCwt523r3Y,120
|
|
172
172
|
modal_proto/options.proto,sha256=zp9h5r61ivsp0XwEWwNBsVqNTbRA1VSY_UtN7sEcHtE,549
|
|
173
173
|
modal_proto/options_grpc.py,sha256=M18X3d-8F_cNYSVM3I25dUTO5rZ0rd-vCCfynfh13Nc,125
|
|
@@ -176,10 +176,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
|
|
|
176
176
|
modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
177
177
|
modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
|
|
178
178
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
179
|
-
modal_version/__init__.py,sha256=
|
|
179
|
+
modal_version/__init__.py,sha256=5Qd27eq6ykkYFYD7N6xHtyCNfJv1-Pn1CeuuufpyW8E,121
|
|
180
180
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
|
181
|
-
modal-1.1.5.
|
|
182
|
-
modal-1.1.5.
|
|
183
|
-
modal-1.1.5.
|
|
184
|
-
modal-1.1.5.
|
|
185
|
-
modal-1.1.5.
|
|
181
|
+
modal-1.1.5.dev29.dist-info/METADATA,sha256=aJXrPY4Ch9pJRMhBqpNd5V7DUhUoo7ga6MllyjnXm1k,2460
|
|
182
|
+
modal-1.1.5.dev29.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
183
|
+
modal-1.1.5.dev29.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
184
|
+
modal-1.1.5.dev29.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
185
|
+
modal-1.1.5.dev29.dist-info/RECORD,,
|
modal_proto/api.proto
CHANGED
|
@@ -2881,6 +2881,14 @@ message SandboxTag {
|
|
|
2881
2881
|
string tag_value = 2;
|
|
2882
2882
|
}
|
|
2883
2883
|
|
|
2884
|
+
message SandboxTagsGetRequest {
|
|
2885
|
+
string sandbox_id = 1;
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
message SandboxTagsGetResponse {
|
|
2889
|
+
repeated SandboxTag tags = 1;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2884
2892
|
message SandboxTagsSetRequest {
|
|
2885
2893
|
string environment_name = 1;
|
|
2886
2894
|
string sandbox_id = 2;
|
|
@@ -3680,6 +3688,7 @@ service ModalClient {
|
|
|
3680
3688
|
rpc SandboxSnapshotGet(SandboxSnapshotGetRequest) returns (SandboxSnapshotGetResponse);
|
|
3681
3689
|
rpc SandboxSnapshotWait(SandboxSnapshotWaitRequest) returns (SandboxSnapshotWaitResponse);
|
|
3682
3690
|
rpc SandboxStdinWrite(SandboxStdinWriteRequest) returns (SandboxStdinWriteResponse);
|
|
3691
|
+
rpc SandboxTagsGet(SandboxTagsGetRequest) returns (SandboxTagsGetResponse);
|
|
3683
3692
|
rpc SandboxTagsSet(SandboxTagsSetRequest) returns (google.protobuf.Empty);
|
|
3684
3693
|
rpc SandboxTerminate(SandboxTerminateRequest) returns (SandboxTerminateResponse);
|
|
3685
3694
|
rpc SandboxWait(SandboxWaitRequest) returns (SandboxWaitResponse);
|
modal_proto/api_grpc.py
CHANGED
|
@@ -526,6 +526,10 @@ class ModalClientBase(abc.ABC):
|
|
|
526
526
|
async def SandboxStdinWrite(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.SandboxStdinWriteRequest, modal_proto.api_pb2.SandboxStdinWriteResponse]') -> None:
|
|
527
527
|
pass
|
|
528
528
|
|
|
529
|
+
@abc.abstractmethod
|
|
530
|
+
async def SandboxTagsGet(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.SandboxTagsGetRequest, modal_proto.api_pb2.SandboxTagsGetResponse]') -> None:
|
|
531
|
+
pass
|
|
532
|
+
|
|
529
533
|
@abc.abstractmethod
|
|
530
534
|
async def SandboxTagsSet(self, stream: 'grpclib.server.Stream[modal_proto.api_pb2.SandboxTagsSetRequest, google.protobuf.empty_pb2.Empty]') -> None:
|
|
531
535
|
pass
|
|
@@ -1458,6 +1462,12 @@ class ModalClientBase(abc.ABC):
|
|
|
1458
1462
|
modal_proto.api_pb2.SandboxStdinWriteRequest,
|
|
1459
1463
|
modal_proto.api_pb2.SandboxStdinWriteResponse,
|
|
1460
1464
|
),
|
|
1465
|
+
'/modal.client.ModalClient/SandboxTagsGet': grpclib.const.Handler(
|
|
1466
|
+
self.SandboxTagsGet,
|
|
1467
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
1468
|
+
modal_proto.api_pb2.SandboxTagsGetRequest,
|
|
1469
|
+
modal_proto.api_pb2.SandboxTagsGetResponse,
|
|
1470
|
+
),
|
|
1461
1471
|
'/modal.client.ModalClient/SandboxTagsSet': grpclib.const.Handler(
|
|
1462
1472
|
self.SandboxTagsSet,
|
|
1463
1473
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -2478,6 +2488,12 @@ class ModalClientStub:
|
|
|
2478
2488
|
modal_proto.api_pb2.SandboxStdinWriteRequest,
|
|
2479
2489
|
modal_proto.api_pb2.SandboxStdinWriteResponse,
|
|
2480
2490
|
)
|
|
2491
|
+
self.SandboxTagsGet = grpclib.client.UnaryUnaryMethod(
|
|
2492
|
+
channel,
|
|
2493
|
+
'/modal.client.ModalClient/SandboxTagsGet',
|
|
2494
|
+
modal_proto.api_pb2.SandboxTagsGetRequest,
|
|
2495
|
+
modal_proto.api_pb2.SandboxTagsGetResponse,
|
|
2496
|
+
)
|
|
2481
2497
|
self.SandboxTagsSet = grpclib.client.UnaryUnaryMethod(
|
|
2482
2498
|
channel,
|
|
2483
2499
|
'/modal.client.ModalClient/SandboxTagsSet',
|