modal 1.1.1.dev31__py3-none-any.whl → 1.1.1.dev33__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-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/METADATA +1 -1
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/RECORD +11 -11
- modal_proto/api.proto +26 -9
- modal_proto/api_pb2.py +700 -690
- modal_proto/api_pb2.pyi +90 -14
- modal_version/__init__.py +1 -1
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/WHEEL +0 -0
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/entry_points.txt +0 -0
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.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.1.1.
|
|
36
|
+
version: str = "1.1.1.dev33",
|
|
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.1.
|
|
167
|
+
version: str = "1.1.1.dev33",
|
|
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=kpq4kXp7pch688y6g55QYAC10wqPTU5FXKoWPMirA3E,47899
|
|
|
22
22
|
modal/app.pyi,sha256=-jKXlGDBWRPVsuenBhdMRqawK-L2eiJ7gHbmSblhltg,43525
|
|
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=hq0cHhK4yJUWJAD0YMApZtj3Eoc9dRkKScky8jJKkJA,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=7A0xGnugQzm8dOfnKMjLjtqekRlRtQ0jPFRYgq6xdUM,40018
|
|
@@ -151,7 +151,7 @@ modal/experimental/__init__.py,sha256=nuc7AL4r_Fs08DD5dciWFZhrV1nanwoClOfdTcudU0
|
|
|
151
151
|
modal/experimental/flash.py,sha256=7-_RBNvm0tEpdxXWuPAj5HCxfN-hSHVBep8SEWgAhCQ,19721
|
|
152
152
|
modal/experimental/flash.pyi,sha256=A8_qJGtGoXEzKDdHbvhmCw7oqfneFEvJQK3ZdTOvUdU,10830
|
|
153
153
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
|
154
|
-
modal-1.1.1.
|
|
154
|
+
modal-1.1.1.dev33.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
155
155
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
156
156
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
|
157
157
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
|
@@ -159,10 +159,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
|
159
159
|
modal_docs/mdmd/mdmd.py,sha256=eW5MzrEl7mSclDo4Uv64sQ1-4IyLggldbgUJdBVLDdI,6449
|
|
160
160
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
|
161
161
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
|
162
|
-
modal_proto/api.proto,sha256=
|
|
162
|
+
modal_proto/api.proto,sha256=qla-5KAYEVEzEb2vLLscgNAcWz3F1wagF3p_Ja35Ehg,103894
|
|
163
163
|
modal_proto/api_grpc.py,sha256=B8F07AbQT5s3sCEE_o-MHGwK2lqA3gdnLb_6oTWoIj8,126393
|
|
164
|
-
modal_proto/api_pb2.py,sha256=
|
|
165
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
164
|
+
modal_proto/api_pb2.py,sha256=hT4pRyzDotwF3n8cD2-3t2UiqaHPx5GR9JEUWvCKoVM,364795
|
|
165
|
+
modal_proto/api_pb2.pyi,sha256=d-ldWeKXYmXtDrPyDORu1JPC9MV8z3bjAdZa-67VqX4,501473
|
|
166
166
|
modal_proto/api_pb2_grpc.py,sha256=gig1H1894_rLO9C5cYUwbX-JONt6nSpJenjfiFy3ZHk,272831
|
|
167
167
|
modal_proto/api_pb2_grpc.pyi,sha256=kXE43WnhqwacvJ_HB7L-hIBGg0djP3rX4lSliJN49NE,64007
|
|
168
168
|
modal_proto/modal_api_grpc.py,sha256=KL5Nw4AS9hJNxfL6VIeuxHz4jIUN7Unz7hYnoSsqyx0,19071
|
|
@@ -174,10 +174,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
|
|
|
174
174
|
modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
175
175
|
modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
|
|
176
176
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
177
|
-
modal_version/__init__.py,sha256=
|
|
177
|
+
modal_version/__init__.py,sha256=Y14zhL5hTrOEjo7bvgBC10E79HwPCn7z7avT-knIdqc,121
|
|
178
178
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
|
179
|
-
modal-1.1.1.
|
|
180
|
-
modal-1.1.1.
|
|
181
|
-
modal-1.1.1.
|
|
182
|
-
modal-1.1.1.
|
|
183
|
-
modal-1.1.1.
|
|
179
|
+
modal-1.1.1.dev33.dist-info/METADATA,sha256=UprfuwyVvMUg3tXcyYccfVmtaicWiOvFV__pAsA-Xm4,2460
|
|
180
|
+
modal-1.1.1.dev33.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
181
|
+
modal-1.1.1.dev33.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
182
|
+
modal-1.1.1.dev33.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
183
|
+
modal-1.1.1.dev33.dist-info/RECORD,,
|
modal_proto/api.proto
CHANGED
|
@@ -1140,15 +1140,19 @@ message DictLenResponse {
|
|
|
1140
1140
|
|
|
1141
1141
|
message DictListRequest {
|
|
1142
1142
|
string environment_name = 1;
|
|
1143
|
+
ListPagination pagination = 2;
|
|
1143
1144
|
}
|
|
1144
1145
|
|
|
1145
1146
|
message DictListResponse {
|
|
1146
1147
|
message DictInfo {
|
|
1147
1148
|
string name = 1;
|
|
1148
|
-
double created_at = 2;
|
|
1149
|
+
double created_at = 2; // Superseded by metadata, used by clients up to 1.1.1
|
|
1150
|
+
string dict_id = 3;
|
|
1151
|
+
DictMetadata metadata = 4;
|
|
1149
1152
|
}
|
|
1150
1153
|
|
|
1151
1154
|
repeated DictInfo dicts = 1;
|
|
1155
|
+
string environment_name = 2;
|
|
1152
1156
|
}
|
|
1153
1157
|
|
|
1154
1158
|
message DictMetadata {
|
|
@@ -1484,6 +1488,7 @@ message FunctionBindParamsRequest {
|
|
|
1484
1488
|
bytes serialized_params = 2;
|
|
1485
1489
|
FunctionOptions function_options = 3;
|
|
1486
1490
|
string environment_name = 4;
|
|
1491
|
+
string auth_secret = 5; // Only used for the input plane.
|
|
1487
1492
|
}
|
|
1488
1493
|
|
|
1489
1494
|
message FunctionBindParamsResponse {
|
|
@@ -2093,6 +2098,11 @@ message InputInfo {
|
|
|
2093
2098
|
bool task_first_input = 7;
|
|
2094
2099
|
}
|
|
2095
2100
|
|
|
2101
|
+
message ListPagination {
|
|
2102
|
+
int32 max_objects = 1;
|
|
2103
|
+
double created_before = 2;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2096
2106
|
message MapAwaitRequest {
|
|
2097
2107
|
string function_call_id = 1;
|
|
2098
2108
|
string last_entry_id = 2;
|
|
@@ -2441,19 +2451,22 @@ message QueueLenResponse {
|
|
|
2441
2451
|
|
|
2442
2452
|
message QueueListRequest {
|
|
2443
2453
|
string environment_name = 1;
|
|
2444
|
-
|
|
2445
|
-
|
|
2454
|
+
int32 total_size_limit = 2; // Limit on "number of partitions" reported, since checking them is costly
|
|
2455
|
+
ListPagination pagination = 3;
|
|
2446
2456
|
}
|
|
2447
2457
|
|
|
2448
2458
|
message QueueListResponse {
|
|
2449
2459
|
message QueueInfo {
|
|
2450
2460
|
string name = 1;
|
|
2451
|
-
double created_at = 2;
|
|
2461
|
+
double created_at = 2; // Superseded by metadata, used by clients up to 1.1.1
|
|
2452
2462
|
int32 num_partitions = 3;
|
|
2453
2463
|
int32 total_size = 4;
|
|
2464
|
+
string queue_id = 5;
|
|
2465
|
+
QueueMetadata metadata = 6;
|
|
2454
2466
|
}
|
|
2455
2467
|
|
|
2456
2468
|
repeated QueueInfo queues = 1;
|
|
2469
|
+
string environment_name = 2;
|
|
2457
2470
|
}
|
|
2458
2471
|
|
|
2459
2472
|
message QueueMetadata {
|
|
@@ -2861,19 +2874,21 @@ message SecretGetOrCreateResponse {
|
|
|
2861
2874
|
|
|
2862
2875
|
message SecretListItem {
|
|
2863
2876
|
string label = 1;
|
|
2864
|
-
double created_at = 2;
|
|
2877
|
+
double created_at = 2; // Superseded by metadata, used by clients up to 1.1.1
|
|
2865
2878
|
double last_used_at = 3;
|
|
2866
|
-
string environment_name = 4;
|
|
2879
|
+
string environment_name = 4; // Unused by client
|
|
2867
2880
|
string secret_id = 5;
|
|
2881
|
+
SecretMetadata metadata = 6;
|
|
2868
2882
|
}
|
|
2869
2883
|
|
|
2870
2884
|
message SecretListRequest {
|
|
2871
|
-
string environment_name = 1;
|
|
2885
|
+
string environment_name = 1;
|
|
2886
|
+
ListPagination pagination = 2;
|
|
2872
2887
|
}
|
|
2873
2888
|
|
|
2874
2889
|
message SecretListResponse {
|
|
2875
2890
|
repeated SecretListItem items = 1;
|
|
2876
|
-
string environment_name = 2;
|
|
2891
|
+
string environment_name = 2;
|
|
2877
2892
|
}
|
|
2878
2893
|
|
|
2879
2894
|
message SecretMetadata {
|
|
@@ -3225,11 +3240,13 @@ message VolumeListFilesResponse {
|
|
|
3225
3240
|
message VolumeListItem {
|
|
3226
3241
|
string label = 1; // app name of object entity app
|
|
3227
3242
|
string volume_id = 2;
|
|
3228
|
-
double created_at = 3;
|
|
3243
|
+
double created_at = 3; // Superseded by metadata, used by clients up to 1.1.1
|
|
3244
|
+
VolumeMetadata metadata = 4;
|
|
3229
3245
|
}
|
|
3230
3246
|
|
|
3231
3247
|
message VolumeListRequest {
|
|
3232
3248
|
string environment_name = 1;
|
|
3249
|
+
ListPagination pagination = 2;
|
|
3233
3250
|
}
|
|
3234
3251
|
|
|
3235
3252
|
message VolumeListResponse {
|