modal 1.0.6.dev21__py3-none-any.whl → 1.0.6.dev24__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/token.py +7 -8
- modal/client.pyi +2 -2
- {modal-1.0.6.dev21.dist-info → modal-1.0.6.dev24.dist-info}/METADATA +1 -1
- {modal-1.0.6.dev21.dist-info → modal-1.0.6.dev24.dist-info}/RECORD +12 -12
- modal_proto/api.proto +3 -0
- modal_proto/api_pb2.py +588 -588
- modal_proto/api_pb2.pyi +15 -3
- modal_version/__init__.py +1 -1
- {modal-1.0.6.dev21.dist-info → modal-1.0.6.dev24.dist-info}/WHEEL +0 -0
- {modal-1.0.6.dev21.dist-info → modal-1.0.6.dev24.dist-info}/entry_points.txt +0 -0
- {modal-1.0.6.dev21.dist-info → modal-1.0.6.dev24.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.6.dev21.dist-info → modal-1.0.6.dev24.dist-info}/top_level.txt +0 -0
modal/cli/token.py
CHANGED
|
@@ -28,13 +28,7 @@ verify_option = typer.Option(
|
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
@token_cli.command(
|
|
32
|
-
name="set",
|
|
33
|
-
help=(
|
|
34
|
-
"Set account credentials for connecting to Modal. "
|
|
35
|
-
"If not provided with the command, you will be prompted to enter your credentials."
|
|
36
|
-
),
|
|
37
|
-
)
|
|
31
|
+
@token_cli.command(name="set")
|
|
38
32
|
@synchronizer.create_blocking
|
|
39
33
|
async def set(
|
|
40
34
|
token_id: Optional[str] = typer.Option(None, help="Account token ID."),
|
|
@@ -43,6 +37,10 @@ async def set(
|
|
|
43
37
|
activate: bool = activate_option,
|
|
44
38
|
verify: bool = verify_option,
|
|
45
39
|
):
|
|
40
|
+
"""Set account credentials for connecting to Modal.
|
|
41
|
+
|
|
42
|
+
If the credentials are not provided on the command line, you will be prompted to enter them.
|
|
43
|
+
"""
|
|
46
44
|
if token_id is None:
|
|
47
45
|
token_id = getpass.getpass("Token ID:")
|
|
48
46
|
if token_secret is None:
|
|
@@ -50,7 +48,7 @@ async def set(
|
|
|
50
48
|
await _set_token(token_id, token_secret, profile=profile, activate=activate, verify=verify)
|
|
51
49
|
|
|
52
50
|
|
|
53
|
-
@token_cli.command(name="new"
|
|
51
|
+
@token_cli.command(name="new")
|
|
54
52
|
@synchronizer.create_blocking
|
|
55
53
|
async def new(
|
|
56
54
|
profile: Optional[str] = profile_option,
|
|
@@ -58,4 +56,5 @@ async def new(
|
|
|
58
56
|
verify: bool = verify_option,
|
|
59
57
|
source: Optional[str] = None,
|
|
60
58
|
):
|
|
59
|
+
"""Create a new token by using an authenticated web session."""
|
|
61
60
|
await _new_token(profile=profile, activate=activate, verify=verify, source=source)
|
modal/client.pyi
CHANGED
|
@@ -31,7 +31,7 @@ class _Client:
|
|
|
31
31
|
server_url: str,
|
|
32
32
|
client_type: int,
|
|
33
33
|
credentials: typing.Optional[tuple[str, str]],
|
|
34
|
-
version: str = "1.0.6.
|
|
34
|
+
version: str = "1.0.6.dev24",
|
|
35
35
|
):
|
|
36
36
|
"""mdmd:hidden
|
|
37
37
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -160,7 +160,7 @@ class Client:
|
|
|
160
160
|
server_url: str,
|
|
161
161
|
client_type: int,
|
|
162
162
|
credentials: typing.Optional[tuple[str, str]],
|
|
163
|
-
version: str = "1.0.6.
|
|
163
|
+
version: str = "1.0.6.dev24",
|
|
164
164
|
):
|
|
165
165
|
"""mdmd:hidden
|
|
166
166
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -22,7 +22,7 @@ modal/app.py,sha256=fCKq3TJ2Y5LB2WKNs6pp_5XECNH5avUL01jQljuoYRU,46603
|
|
|
22
22
|
modal/app.pyi,sha256=Z6wi_dkXywiaM2rvAvguj2Wgu9ZgPjMSLl1nH1a7EYI,42243
|
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
|
24
24
|
modal/client.py,sha256=OwISJvkgMb-rHm9Gc4i-7YcDgGiZgwJ7F_PzwZH7a6Q,16847
|
|
25
|
-
modal/client.pyi,sha256=
|
|
25
|
+
modal/client.pyi,sha256=hgmNGpptIfMImJNUt1RyvFQgQenFC9s2qAGhL2KXK9A,15081
|
|
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=EFrM949jNXJpmwB2G_1d28b8IpHShfKIEIaiPkZqeOU,39881
|
|
@@ -132,7 +132,7 @@ modal/cli/profile.py,sha256=0TYhgRSGUvQZ5LH9nkl6iZllEvAjDniES264dE57wOM,3201
|
|
|
132
132
|
modal/cli/queues.py,sha256=1OzC9HdCkbNz6twF3US4FZmIhuVRQ01GOfBY42ux61A,4533
|
|
133
133
|
modal/cli/run.py,sha256=nicjV2Ei-UxH9bcilUPeqlv1b15TSHAermaoaDJVBxc,24678
|
|
134
134
|
modal/cli/secret.py,sha256=2bngl3Gb6THXkQ2eWZIN9pOHeOFJqiSNo_waUCVYgns,6611
|
|
135
|
-
modal/cli/token.py,sha256=
|
|
135
|
+
modal/cli/token.py,sha256=NAmQzKBfEHkcldWKeFxAVIqQBoo1RTp7_A4yc7-8qM0,1911
|
|
136
136
|
modal/cli/utils.py,sha256=p3ru9mlrvyCg6WWUcTWIJfZtYN3-MsXio_vy3dJ_8WU,3302
|
|
137
137
|
modal/cli/volume.py,sha256=KJ4WKQYjRGsTERkwHE1HcRia9rWzLIDDnlc89QmTLvE,10960
|
|
138
138
|
modal/cli/programs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
@@ -148,7 +148,7 @@ modal/requirements/2025.06.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqr
|
|
|
148
148
|
modal/requirements/PREVIEW.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqrs,312
|
|
149
149
|
modal/requirements/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
|
|
150
150
|
modal/requirements/base-images.json,sha256=JYSDAgHTl-WrV_TZW5icY-IJEnbe2eQ4CZ_KN6EOZKU,1304
|
|
151
|
-
modal-1.0.6.
|
|
151
|
+
modal-1.0.6.dev24.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
152
152
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
153
153
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
|
154
154
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
|
@@ -156,10 +156,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
|
156
156
|
modal_docs/mdmd/mdmd.py,sha256=eW5MzrEl7mSclDo4Uv64sQ1-4IyLggldbgUJdBVLDdI,6449
|
|
157
157
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
|
158
158
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
|
159
|
-
modal_proto/api.proto,sha256=
|
|
159
|
+
modal_proto/api.proto,sha256=TVpmAmCsmCcQGREu7zuMUzI8lBEuziV0cD-h2kLDdO4,98754
|
|
160
160
|
modal_proto/api_grpc.py,sha256=Y2-UcWleygG_-WPkC1u4hYejehB6WEwQtaTfTNYxLPU,120808
|
|
161
|
-
modal_proto/api_pb2.py,sha256=
|
|
162
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
161
|
+
modal_proto/api_pb2.py,sha256=Q7dLN1bG4JFJXHFpuUm2fC5WuOSP3lyTDkbQ7DnCy1c,346908
|
|
162
|
+
modal_proto/api_pb2.pyi,sha256=SR26mSOZZdcUAUd_WBIowiTP5tJ-bvl2BMGrqeTlXTc,473739
|
|
163
163
|
modal_proto/api_pb2_grpc.py,sha256=Owh9lQBI_fIf7imQhUY0htttwxMNwVUlArU0-mjItpc,261040
|
|
164
164
|
modal_proto/api_pb2_grpc.pyi,sha256=Oshss4U3PFWkZe9DckYiuw4jv_4_Ri3sRJ_YxIuXfic,61160
|
|
165
165
|
modal_proto/modal_api_grpc.py,sha256=VuqkS-sNufg1VHjN0um5pVeXDz-MlbKbufbbEqv_ElQ,18263
|
|
@@ -171,10 +171,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
|
|
|
171
171
|
modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
172
172
|
modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
|
|
173
173
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
174
|
-
modal_version/__init__.py,sha256=
|
|
174
|
+
modal_version/__init__.py,sha256=CpWGJUkZAKlD3WBv98SIV6kyB9S8BNxkST_wx8u0i0Y,121
|
|
175
175
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
|
176
|
-
modal-1.0.6.
|
|
177
|
-
modal-1.0.6.
|
|
178
|
-
modal-1.0.6.
|
|
179
|
-
modal-1.0.6.
|
|
180
|
-
modal-1.0.6.
|
|
176
|
+
modal-1.0.6.dev24.dist-info/METADATA,sha256=HCandyr7UG-hQIaSomSQX3_widmfJKoso1pQQogU-1g,2462
|
|
177
|
+
modal-1.0.6.dev24.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
178
|
+
modal-1.0.6.dev24.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
179
|
+
modal-1.0.6.dev24.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
180
|
+
modal-1.0.6.dev24.dist-info/RECORD,,
|
modal_proto/api.proto
CHANGED
|
@@ -1436,6 +1436,7 @@ message Function {
|
|
|
1436
1436
|
bool mount_client_dependencies = 82;
|
|
1437
1437
|
|
|
1438
1438
|
repeated string flash_service_urls = 83;
|
|
1439
|
+
string flash_service_label = 84;
|
|
1439
1440
|
}
|
|
1440
1441
|
|
|
1441
1442
|
message FunctionAsyncInvokeRequest {
|
|
@@ -1471,6 +1472,7 @@ message FunctionCallCallGraphInfo {
|
|
|
1471
1472
|
message FunctionCallCancelRequest {
|
|
1472
1473
|
string function_call_id = 1;
|
|
1473
1474
|
bool terminate_containers = 2;
|
|
1475
|
+
optional string function_id = 3; // Only provided for sync input cancellation on the input plane. Async input cancellation does not provide this field this.
|
|
1474
1476
|
}
|
|
1475
1477
|
|
|
1476
1478
|
message FunctionCallGetDataRequest {
|
|
@@ -1590,6 +1592,7 @@ message FunctionData {
|
|
|
1590
1592
|
map<string, string> experimental_options = 33;
|
|
1591
1593
|
|
|
1592
1594
|
repeated string flash_service_urls = 34;
|
|
1595
|
+
string flash_service_label = 35;
|
|
1593
1596
|
}
|
|
1594
1597
|
|
|
1595
1598
|
message FunctionExtended {
|