modal 1.0.6.dev22__py3-none-any.whl → 1.0.6.dev25__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.dev22.dist-info → modal-1.0.6.dev25.dist-info}/METADATA +1 -1
- {modal-1.0.6.dev22.dist-info → modal-1.0.6.dev25.dist-info}/RECORD +12 -12
- modal_proto/api.proto +1 -0
- modal_proto/api_pb2.py +562 -562
- modal_proto/api_pb2.pyi +7 -1
- modal_version/__init__.py +1 -1
- {modal-1.0.6.dev22.dist-info → modal-1.0.6.dev25.dist-info}/WHEEL +0 -0
- {modal-1.0.6.dev22.dist-info → modal-1.0.6.dev25.dist-info}/entry_points.txt +0 -0
- {modal-1.0.6.dev22.dist-info → modal-1.0.6.dev25.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.6.dev22.dist-info → modal-1.0.6.dev25.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.dev25",
|
|
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.dev25",
|
|
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=1Uc3F0HKR-p63dyQQVbRZ4vi1yw2USmUqHOtigrWPm4,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.dev25.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=RsDO2YJ7upCHKfFXN23fXgka54kCCi3A1oDJVlib_-g,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.dev25.dist-info/METADATA,sha256=rZT5DaTGeEF1xisOHxYaYqw94dAxuUcsQamZGDutKHk,2462
|
|
177
|
+
modal-1.0.6.dev25.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
178
|
+
modal-1.0.6.dev25.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
179
|
+
modal-1.0.6.dev25.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
180
|
+
modal-1.0.6.dev25.dist-info/RECORD,,
|
modal_proto/api.proto
CHANGED
|
@@ -1472,6 +1472,7 @@ message FunctionCallCallGraphInfo {
|
|
|
1472
1472
|
message FunctionCallCancelRequest {
|
|
1473
1473
|
string function_call_id = 1;
|
|
1474
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.
|
|
1475
1476
|
}
|
|
1476
1477
|
|
|
1477
1478
|
message FunctionCallGetDataRequest {
|