modal 0.62.115__py3-none-any.whl → 0.72.13__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/__init__.py +13 -9
- modal/__main__.py +41 -3
- modal/_clustered_functions.py +80 -0
- modal/_clustered_functions.pyi +22 -0
- modal/_container_entrypoint.py +402 -398
- modal/_ipython.py +3 -13
- modal/_location.py +17 -10
- modal/_output.py +243 -99
- modal/_pty.py +2 -2
- modal/_resolver.py +55 -60
- modal/_resources.py +26 -7
- modal/_runtime/__init__.py +1 -0
- modal/_runtime/asgi.py +519 -0
- modal/_runtime/container_io_manager.py +1025 -0
- modal/{execution_context.py → _runtime/execution_context.py} +11 -2
- modal/_runtime/telemetry.py +169 -0
- modal/_runtime/user_code_imports.py +356 -0
- modal/_serialization.py +123 -6
- modal/_traceback.py +47 -187
- modal/_tunnel.py +50 -14
- modal/_tunnel.pyi +19 -36
- modal/_utils/app_utils.py +3 -17
- modal/_utils/async_utils.py +386 -104
- modal/_utils/blob_utils.py +157 -186
- modal/_utils/bytes_io_segment_payload.py +97 -0
- modal/_utils/deprecation.py +89 -0
- modal/_utils/docker_utils.py +98 -0
- modal/_utils/function_utils.py +299 -98
- modal/_utils/grpc_testing.py +47 -34
- modal/_utils/grpc_utils.py +54 -21
- modal/_utils/hash_utils.py +51 -10
- modal/_utils/http_utils.py +39 -9
- modal/_utils/logger.py +2 -1
- modal/_utils/mount_utils.py +34 -16
- modal/_utils/name_utils.py +58 -0
- modal/_utils/package_utils.py +14 -1
- modal/_utils/pattern_utils.py +205 -0
- modal/_utils/rand_pb_testing.py +3 -3
- modal/_utils/shell_utils.py +15 -49
- modal/_vendor/a2wsgi_wsgi.py +62 -72
- modal/_vendor/cloudpickle.py +1 -1
- modal/_watcher.py +12 -10
- modal/app.py +561 -323
- modal/app.pyi +474 -262
- modal/call_graph.py +7 -6
- modal/cli/_download.py +22 -6
- modal/cli/_traceback.py +200 -0
- modal/cli/app.py +203 -42
- modal/cli/config.py +12 -5
- modal/cli/container.py +61 -13
- modal/cli/dict.py +128 -0
- modal/cli/entry_point.py +26 -13
- modal/cli/environment.py +40 -9
- modal/cli/import_refs.py +21 -48
- modal/cli/launch.py +28 -14
- modal/cli/network_file_system.py +57 -21
- modal/cli/profile.py +1 -1
- modal/cli/programs/run_jupyter.py +34 -9
- modal/cli/programs/vscode.py +58 -8
- modal/cli/queues.py +131 -0
- modal/cli/run.py +199 -96
- modal/cli/secret.py +5 -4
- modal/cli/token.py +7 -2
- modal/cli/utils.py +74 -8
- modal/cli/volume.py +97 -56
- modal/client.py +248 -144
- modal/client.pyi +156 -124
- modal/cloud_bucket_mount.py +43 -30
- modal/cloud_bucket_mount.pyi +32 -25
- modal/cls.py +528 -141
- modal/cls.pyi +189 -145
- modal/config.py +32 -15
- modal/container_process.py +177 -0
- modal/container_process.pyi +82 -0
- modal/dict.py +50 -54
- modal/dict.pyi +120 -164
- modal/environments.py +106 -5
- modal/environments.pyi +77 -25
- modal/exception.py +30 -43
- modal/experimental.py +62 -2
- modal/file_io.py +537 -0
- modal/file_io.pyi +235 -0
- modal/file_pattern_matcher.py +196 -0
- modal/functions.py +846 -428
- modal/functions.pyi +446 -387
- modal/gpu.py +57 -44
- modal/image.py +943 -417
- modal/image.pyi +584 -245
- modal/io_streams.py +434 -0
- modal/io_streams.pyi +122 -0
- modal/mount.py +223 -90
- modal/mount.pyi +241 -243
- modal/network_file_system.py +85 -86
- modal/network_file_system.pyi +151 -110
- modal/object.py +66 -36
- modal/object.pyi +166 -143
- modal/output.py +63 -0
- modal/parallel_map.py +73 -47
- modal/parallel_map.pyi +51 -63
- modal/partial_function.py +272 -107
- modal/partial_function.pyi +219 -120
- modal/proxy.py +15 -12
- modal/proxy.pyi +3 -8
- modal/queue.py +96 -72
- modal/queue.pyi +210 -135
- modal/requirements/2024.04.txt +2 -1
- modal/requirements/2024.10.txt +16 -0
- modal/requirements/README.md +21 -0
- modal/requirements/base-images.json +22 -0
- modal/retries.py +45 -4
- modal/runner.py +325 -203
- modal/runner.pyi +124 -110
- modal/running_app.py +27 -4
- modal/sandbox.py +509 -231
- modal/sandbox.pyi +396 -169
- modal/schedule.py +2 -2
- modal/scheduler_placement.py +20 -3
- modal/secret.py +41 -25
- modal/secret.pyi +62 -42
- modal/serving.py +39 -49
- modal/serving.pyi +37 -43
- modal/stream_type.py +15 -0
- modal/token_flow.py +5 -3
- modal/token_flow.pyi +37 -32
- modal/volume.py +123 -137
- modal/volume.pyi +228 -221
- {modal-0.62.115.dist-info → modal-0.72.13.dist-info}/METADATA +5 -5
- modal-0.72.13.dist-info/RECORD +174 -0
- {modal-0.62.115.dist-info → modal-0.72.13.dist-info}/top_level.txt +0 -1
- modal_docs/gen_reference_docs.py +3 -1
- modal_docs/mdmd/mdmd.py +0 -1
- modal_docs/mdmd/signatures.py +1 -2
- modal_global_objects/images/base_images.py +28 -0
- modal_global_objects/mounts/python_standalone.py +2 -2
- modal_proto/__init__.py +1 -1
- modal_proto/api.proto +1231 -531
- modal_proto/api_grpc.py +750 -430
- modal_proto/api_pb2.py +2102 -1176
- modal_proto/api_pb2.pyi +8859 -0
- modal_proto/api_pb2_grpc.py +1329 -675
- modal_proto/api_pb2_grpc.pyi +1416 -0
- modal_proto/modal_api_grpc.py +149 -0
- modal_proto/modal_options_grpc.py +3 -0
- modal_proto/options_pb2.pyi +20 -0
- modal_proto/options_pb2_grpc.pyi +7 -0
- modal_proto/py.typed +0 -0
- modal_version/__init__.py +1 -1
- modal_version/_version_generated.py +2 -2
- modal/_asgi.py +0 -370
- modal/_container_exec.py +0 -128
- modal/_container_io_manager.py +0 -646
- modal/_container_io_manager.pyi +0 -412
- modal/_sandbox_shell.py +0 -49
- modal/app_utils.py +0 -20
- modal/app_utils.pyi +0 -17
- modal/execution_context.pyi +0 -37
- modal/shared_volume.py +0 -23
- modal/shared_volume.pyi +0 -24
- modal-0.62.115.dist-info/RECORD +0 -207
- modal_global_objects/images/conda.py +0 -15
- modal_global_objects/images/debian_slim.py +0 -15
- modal_global_objects/images/micromamba.py +0 -15
- test/__init__.py +0 -1
- test/aio_test.py +0 -12
- test/async_utils_test.py +0 -279
- test/blob_test.py +0 -67
- test/cli_imports_test.py +0 -149
- test/cli_test.py +0 -674
- test/client_test.py +0 -203
- test/cloud_bucket_mount_test.py +0 -22
- test/cls_test.py +0 -636
- test/config_test.py +0 -149
- test/conftest.py +0 -1485
- test/container_app_test.py +0 -50
- test/container_test.py +0 -1405
- test/cpu_test.py +0 -23
- test/decorator_test.py +0 -85
- test/deprecation_test.py +0 -34
- test/dict_test.py +0 -51
- test/e2e_test.py +0 -68
- test/error_test.py +0 -7
- test/function_serialization_test.py +0 -32
- test/function_test.py +0 -791
- test/function_utils_test.py +0 -101
- test/gpu_test.py +0 -159
- test/grpc_utils_test.py +0 -82
- test/helpers.py +0 -47
- test/image_test.py +0 -814
- test/live_reload_test.py +0 -80
- test/lookup_test.py +0 -70
- test/mdmd_test.py +0 -329
- test/mount_test.py +0 -162
- test/mounted_files_test.py +0 -327
- test/network_file_system_test.py +0 -188
- test/notebook_test.py +0 -66
- test/object_test.py +0 -41
- test/package_utils_test.py +0 -25
- test/queue_test.py +0 -115
- test/resolver_test.py +0 -59
- test/retries_test.py +0 -67
- test/runner_test.py +0 -85
- test/sandbox_test.py +0 -191
- test/schedule_test.py +0 -15
- test/scheduler_placement_test.py +0 -57
- test/secret_test.py +0 -89
- test/serialization_test.py +0 -50
- test/stub_composition_test.py +0 -10
- test/stub_test.py +0 -361
- test/test_asgi_wrapper.py +0 -234
- test/token_flow_test.py +0 -18
- test/traceback_test.py +0 -135
- test/tunnel_test.py +0 -29
- test/utils_test.py +0 -88
- test/version_test.py +0 -14
- test/volume_test.py +0 -397
- test/watcher_test.py +0 -58
- test/webhook_test.py +0 -145
- {modal-0.62.115.dist-info → modal-0.72.13.dist-info}/LICENSE +0 -0
- {modal-0.62.115.dist-info → modal-0.72.13.dist-info}/WHEEL +0 -0
- {modal-0.62.115.dist-info → modal-0.72.13.dist-info}/entry_points.txt +0 -0
modal_proto/api_pb2_grpc.py
CHANGED
@@ -15,66 +15,86 @@ class ModalClientStub(object):
|
|
15
15
|
Args:
|
16
16
|
channel: A grpc.Channel.
|
17
17
|
"""
|
18
|
+
self.AppClientDisconnect = channel.unary_unary(
|
19
|
+
'/modal.client.ModalClient/AppClientDisconnect',
|
20
|
+
request_serializer=modal__proto_dot_api__pb2.AppClientDisconnectRequest.SerializeToString,
|
21
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
22
|
+
)
|
18
23
|
self.AppCreate = channel.unary_unary(
|
19
24
|
'/modal.client.ModalClient/AppCreate',
|
20
25
|
request_serializer=modal__proto_dot_api__pb2.AppCreateRequest.SerializeToString,
|
21
26
|
response_deserializer=modal__proto_dot_api__pb2.AppCreateResponse.FromString,
|
22
27
|
)
|
23
|
-
self.
|
24
|
-
'/modal.client.ModalClient/
|
25
|
-
request_serializer=modal__proto_dot_api__pb2.
|
26
|
-
response_deserializer=
|
28
|
+
self.AppDeploy = channel.unary_unary(
|
29
|
+
'/modal.client.ModalClient/AppDeploy',
|
30
|
+
request_serializer=modal__proto_dot_api__pb2.AppDeployRequest.SerializeToString,
|
31
|
+
response_deserializer=modal__proto_dot_api__pb2.AppDeployResponse.FromString,
|
32
|
+
)
|
33
|
+
self.AppDeploymentHistory = channel.unary_unary(
|
34
|
+
'/modal.client.ModalClient/AppDeploymentHistory',
|
35
|
+
request_serializer=modal__proto_dot_api__pb2.AppDeploymentHistoryRequest.SerializeToString,
|
36
|
+
response_deserializer=modal__proto_dot_api__pb2.AppDeploymentHistoryResponse.FromString,
|
37
|
+
)
|
38
|
+
self.AppGetByDeploymentName = channel.unary_unary(
|
39
|
+
'/modal.client.ModalClient/AppGetByDeploymentName',
|
40
|
+
request_serializer=modal__proto_dot_api__pb2.AppGetByDeploymentNameRequest.SerializeToString,
|
41
|
+
response_deserializer=modal__proto_dot_api__pb2.AppGetByDeploymentNameResponse.FromString,
|
42
|
+
)
|
43
|
+
self.AppGetLayout = channel.unary_unary(
|
44
|
+
'/modal.client.ModalClient/AppGetLayout',
|
45
|
+
request_serializer=modal__proto_dot_api__pb2.AppGetLayoutRequest.SerializeToString,
|
46
|
+
response_deserializer=modal__proto_dot_api__pb2.AppGetLayoutResponse.FromString,
|
27
47
|
)
|
28
48
|
self.AppGetLogs = channel.unary_stream(
|
29
49
|
'/modal.client.ModalClient/AppGetLogs',
|
30
50
|
request_serializer=modal__proto_dot_api__pb2.AppGetLogsRequest.SerializeToString,
|
31
51
|
response_deserializer=modal__proto_dot_api__pb2.TaskLogsBatch.FromString,
|
32
52
|
)
|
33
|
-
self.AppSetObjects = channel.unary_unary(
|
34
|
-
'/modal.client.ModalClient/AppSetObjects',
|
35
|
-
request_serializer=modal__proto_dot_api__pb2.AppSetObjectsRequest.SerializeToString,
|
36
|
-
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
37
|
-
)
|
38
53
|
self.AppGetObjects = channel.unary_unary(
|
39
54
|
'/modal.client.ModalClient/AppGetObjects',
|
40
55
|
request_serializer=modal__proto_dot_api__pb2.AppGetObjectsRequest.SerializeToString,
|
41
56
|
response_deserializer=modal__proto_dot_api__pb2.AppGetObjectsResponse.FromString,
|
42
57
|
)
|
58
|
+
self.AppGetOrCreate = channel.unary_unary(
|
59
|
+
'/modal.client.ModalClient/AppGetOrCreate',
|
60
|
+
request_serializer=modal__proto_dot_api__pb2.AppGetOrCreateRequest.SerializeToString,
|
61
|
+
response_deserializer=modal__proto_dot_api__pb2.AppGetOrCreateResponse.FromString,
|
62
|
+
)
|
63
|
+
self.AppHeartbeat = channel.unary_unary(
|
64
|
+
'/modal.client.ModalClient/AppHeartbeat',
|
65
|
+
request_serializer=modal__proto_dot_api__pb2.AppHeartbeatRequest.SerializeToString,
|
66
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
67
|
+
)
|
43
68
|
self.AppList = channel.unary_unary(
|
44
69
|
'/modal.client.ModalClient/AppList',
|
45
70
|
request_serializer=modal__proto_dot_api__pb2.AppListRequest.SerializeToString,
|
46
71
|
response_deserializer=modal__proto_dot_api__pb2.AppListResponse.FromString,
|
47
72
|
)
|
48
|
-
self.
|
49
|
-
'/modal.client.ModalClient/
|
50
|
-
request_serializer=modal__proto_dot_api__pb2.
|
51
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
73
|
+
self.AppLookup = channel.unary_unary(
|
74
|
+
'/modal.client.ModalClient/AppLookup',
|
75
|
+
request_serializer=modal__proto_dot_api__pb2.AppLookupRequest.SerializeToString,
|
76
|
+
response_deserializer=modal__proto_dot_api__pb2.AppLookupResponse.FromString,
|
52
77
|
)
|
53
|
-
self.
|
54
|
-
'/modal.client.ModalClient/
|
55
|
-
request_serializer=modal__proto_dot_api__pb2.
|
56
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
78
|
+
self.AppPublish = channel.unary_unary(
|
79
|
+
'/modal.client.ModalClient/AppPublish',
|
80
|
+
request_serializer=modal__proto_dot_api__pb2.AppPublishRequest.SerializeToString,
|
81
|
+
response_deserializer=modal__proto_dot_api__pb2.AppPublishResponse.FromString,
|
57
82
|
)
|
58
|
-
self.
|
59
|
-
'/modal.client.ModalClient/
|
60
|
-
request_serializer=modal__proto_dot_api__pb2.
|
61
|
-
response_deserializer=
|
83
|
+
self.AppRollback = channel.unary_unary(
|
84
|
+
'/modal.client.ModalClient/AppRollback',
|
85
|
+
request_serializer=modal__proto_dot_api__pb2.AppRollbackRequest.SerializeToString,
|
86
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
62
87
|
)
|
63
|
-
self.
|
64
|
-
'/modal.client.ModalClient/
|
65
|
-
request_serializer=modal__proto_dot_api__pb2.
|
66
|
-
response_deserializer=
|
88
|
+
self.AppSetObjects = channel.unary_unary(
|
89
|
+
'/modal.client.ModalClient/AppSetObjects',
|
90
|
+
request_serializer=modal__proto_dot_api__pb2.AppSetObjectsRequest.SerializeToString,
|
91
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
67
92
|
)
|
68
93
|
self.AppStop = channel.unary_unary(
|
69
94
|
'/modal.client.ModalClient/AppStop',
|
70
95
|
request_serializer=modal__proto_dot_api__pb2.AppStopRequest.SerializeToString,
|
71
96
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
72
97
|
)
|
73
|
-
self.AppHeartbeat = channel.unary_unary(
|
74
|
-
'/modal.client.ModalClient/AppHeartbeat',
|
75
|
-
request_serializer=modal__proto_dot_api__pb2.AppHeartbeatRequest.SerializeToString,
|
76
|
-
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
77
|
-
)
|
78
98
|
self.BlobCreate = channel.unary_unary(
|
79
99
|
'/modal.client.ModalClient/BlobCreate',
|
80
100
|
request_serializer=modal__proto_dot_api__pb2.BlobCreateRequest.SerializeToString,
|
@@ -95,26 +115,16 @@ class ModalClientStub(object):
|
|
95
115
|
request_serializer=modal__proto_dot_api__pb2.ClassGetRequest.SerializeToString,
|
96
116
|
response_deserializer=modal__proto_dot_api__pb2.ClassGetResponse.FromString,
|
97
117
|
)
|
98
|
-
self.ClientCreate = channel.unary_unary(
|
99
|
-
'/modal.client.ModalClient/ClientCreate',
|
100
|
-
request_serializer=modal__proto_dot_api__pb2.ClientCreateRequest.SerializeToString,
|
101
|
-
response_deserializer=modal__proto_dot_api__pb2.ClientCreateResponse.FromString,
|
102
|
-
)
|
103
118
|
self.ClientHello = channel.unary_unary(
|
104
119
|
'/modal.client.ModalClient/ClientHello',
|
105
120
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
106
121
|
response_deserializer=modal__proto_dot_api__pb2.ClientHelloResponse.FromString,
|
107
122
|
)
|
108
|
-
self.
|
109
|
-
'/modal.client.ModalClient/
|
110
|
-
request_serializer=modal__proto_dot_api__pb2.
|
123
|
+
self.ContainerCheckpoint = channel.unary_unary(
|
124
|
+
'/modal.client.ModalClient/ContainerCheckpoint',
|
125
|
+
request_serializer=modal__proto_dot_api__pb2.ContainerCheckpointRequest.SerializeToString,
|
111
126
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
112
127
|
)
|
113
|
-
self.ContainerHeartbeat = channel.unary_unary(
|
114
|
-
'/modal.client.ModalClient/ContainerHeartbeat',
|
115
|
-
request_serializer=modal__proto_dot_api__pb2.ContainerHeartbeatRequest.SerializeToString,
|
116
|
-
response_deserializer=modal__proto_dot_api__pb2.ContainerHeartbeatResponse.FromString,
|
117
|
-
)
|
118
128
|
self.ContainerExec = channel.unary_unary(
|
119
129
|
'/modal.client.ModalClient/ContainerExec',
|
120
130
|
request_serializer=modal__proto_dot_api__pb2.ContainerExecRequest.SerializeToString,
|
@@ -130,11 +140,41 @@ class ModalClientStub(object):
|
|
130
140
|
request_serializer=modal__proto_dot_api__pb2.ContainerExecPutInputRequest.SerializeToString,
|
131
141
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
132
142
|
)
|
133
|
-
self.
|
134
|
-
'/modal.client.ModalClient/
|
135
|
-
request_serializer=modal__proto_dot_api__pb2.
|
143
|
+
self.ContainerExecWait = channel.unary_unary(
|
144
|
+
'/modal.client.ModalClient/ContainerExecWait',
|
145
|
+
request_serializer=modal__proto_dot_api__pb2.ContainerExecWaitRequest.SerializeToString,
|
146
|
+
response_deserializer=modal__proto_dot_api__pb2.ContainerExecWaitResponse.FromString,
|
147
|
+
)
|
148
|
+
self.ContainerFilesystemExec = channel.unary_unary(
|
149
|
+
'/modal.client.ModalClient/ContainerFilesystemExec',
|
150
|
+
request_serializer=modal__proto_dot_api__pb2.ContainerFilesystemExecRequest.SerializeToString,
|
151
|
+
response_deserializer=modal__proto_dot_api__pb2.ContainerFilesystemExecResponse.FromString,
|
152
|
+
)
|
153
|
+
self.ContainerFilesystemExecGetOutput = channel.unary_stream(
|
154
|
+
'/modal.client.ModalClient/ContainerFilesystemExecGetOutput',
|
155
|
+
request_serializer=modal__proto_dot_api__pb2.ContainerFilesystemExecGetOutputRequest.SerializeToString,
|
156
|
+
response_deserializer=modal__proto_dot_api__pb2.FilesystemRuntimeOutputBatch.FromString,
|
157
|
+
)
|
158
|
+
self.ContainerHeartbeat = channel.unary_unary(
|
159
|
+
'/modal.client.ModalClient/ContainerHeartbeat',
|
160
|
+
request_serializer=modal__proto_dot_api__pb2.ContainerHeartbeatRequest.SerializeToString,
|
161
|
+
response_deserializer=modal__proto_dot_api__pb2.ContainerHeartbeatResponse.FromString,
|
162
|
+
)
|
163
|
+
self.ContainerHello = channel.unary_unary(
|
164
|
+
'/modal.client.ModalClient/ContainerHello',
|
165
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
136
166
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
137
167
|
)
|
168
|
+
self.ContainerLog = channel.unary_unary(
|
169
|
+
'/modal.client.ModalClient/ContainerLog',
|
170
|
+
request_serializer=modal__proto_dot_api__pb2.ContainerLogRequest.SerializeToString,
|
171
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
172
|
+
)
|
173
|
+
self.ContainerStop = channel.unary_unary(
|
174
|
+
'/modal.client.ModalClient/ContainerStop',
|
175
|
+
request_serializer=modal__proto_dot_api__pb2.ContainerStopRequest.SerializeToString,
|
176
|
+
response_deserializer=modal__proto_dot_api__pb2.ContainerStopResponse.FromString,
|
177
|
+
)
|
138
178
|
self.DictClear = channel.unary_unary(
|
139
179
|
'/modal.client.ModalClient/DictClear',
|
140
180
|
request_serializer=modal__proto_dot_api__pb2.DictClearRequest.SerializeToString,
|
@@ -150,11 +190,6 @@ class ModalClientStub(object):
|
|
150
190
|
request_serializer=modal__proto_dot_api__pb2.DictContentsRequest.SerializeToString,
|
151
191
|
response_deserializer=modal__proto_dot_api__pb2.DictEntry.FromString,
|
152
192
|
)
|
153
|
-
self.DictCreate = channel.unary_unary(
|
154
|
-
'/modal.client.ModalClient/DictCreate',
|
155
|
-
request_serializer=modal__proto_dot_api__pb2.DictCreateRequest.SerializeToString,
|
156
|
-
response_deserializer=modal__proto_dot_api__pb2.DictCreateResponse.FromString,
|
157
|
-
)
|
158
193
|
self.DictDelete = channel.unary_unary(
|
159
194
|
'/modal.client.ModalClient/DictDelete',
|
160
195
|
request_serializer=modal__proto_dot_api__pb2.DictDeleteRequest.SerializeToString,
|
@@ -195,6 +230,11 @@ class ModalClientStub(object):
|
|
195
230
|
request_serializer=modal__proto_dot_api__pb2.DictUpdateRequest.SerializeToString,
|
196
231
|
response_deserializer=modal__proto_dot_api__pb2.DictUpdateResponse.FromString,
|
197
232
|
)
|
233
|
+
self.DomainCertificateVerify = channel.unary_unary(
|
234
|
+
'/modal.client.ModalClient/DomainCertificateVerify',
|
235
|
+
request_serializer=modal__proto_dot_api__pb2.DomainCertificateVerifyRequest.SerializeToString,
|
236
|
+
response_deserializer=modal__proto_dot_api__pb2.DomainCertificateVerifyResponse.FromString,
|
237
|
+
)
|
198
238
|
self.DomainCreate = channel.unary_unary(
|
199
239
|
'/modal.client.ModalClient/DomainCreate',
|
200
240
|
request_serializer=modal__proto_dot_api__pb2.DomainCreateRequest.SerializeToString,
|
@@ -205,36 +245,66 @@ class ModalClientStub(object):
|
|
205
245
|
request_serializer=modal__proto_dot_api__pb2.DomainListRequest.SerializeToString,
|
206
246
|
response_deserializer=modal__proto_dot_api__pb2.DomainListResponse.FromString,
|
207
247
|
)
|
208
|
-
self.DomainCertificateVerify = channel.unary_unary(
|
209
|
-
'/modal.client.ModalClient/DomainCertificateVerify',
|
210
|
-
request_serializer=modal__proto_dot_api__pb2.DomainCertificateVerifyRequest.SerializeToString,
|
211
|
-
response_deserializer=modal__proto_dot_api__pb2.DomainCertificateVerifyResponse.FromString,
|
212
|
-
)
|
213
248
|
self.EnvironmentCreate = channel.unary_unary(
|
214
249
|
'/modal.client.ModalClient/EnvironmentCreate',
|
215
250
|
request_serializer=modal__proto_dot_api__pb2.EnvironmentCreateRequest.SerializeToString,
|
216
251
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
217
252
|
)
|
218
|
-
self.EnvironmentList = channel.unary_unary(
|
219
|
-
'/modal.client.ModalClient/EnvironmentList',
|
220
|
-
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
221
|
-
response_deserializer=modal__proto_dot_api__pb2.EnvironmentListResponse.FromString,
|
222
|
-
)
|
223
253
|
self.EnvironmentDelete = channel.unary_unary(
|
224
254
|
'/modal.client.ModalClient/EnvironmentDelete',
|
225
255
|
request_serializer=modal__proto_dot_api__pb2.EnvironmentDeleteRequest.SerializeToString,
|
226
256
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
227
257
|
)
|
258
|
+
self.EnvironmentGetOrCreate = channel.unary_unary(
|
259
|
+
'/modal.client.ModalClient/EnvironmentGetOrCreate',
|
260
|
+
request_serializer=modal__proto_dot_api__pb2.EnvironmentGetOrCreateRequest.SerializeToString,
|
261
|
+
response_deserializer=modal__proto_dot_api__pb2.EnvironmentGetOrCreateResponse.FromString,
|
262
|
+
)
|
263
|
+
self.EnvironmentList = channel.unary_unary(
|
264
|
+
'/modal.client.ModalClient/EnvironmentList',
|
265
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
266
|
+
response_deserializer=modal__proto_dot_api__pb2.EnvironmentListResponse.FromString,
|
267
|
+
)
|
228
268
|
self.EnvironmentUpdate = channel.unary_unary(
|
229
269
|
'/modal.client.ModalClient/EnvironmentUpdate',
|
230
270
|
request_serializer=modal__proto_dot_api__pb2.EnvironmentUpdateRequest.SerializeToString,
|
231
271
|
response_deserializer=modal__proto_dot_api__pb2.EnvironmentListItem.FromString,
|
232
272
|
)
|
273
|
+
self.FunctionAsyncInvoke = channel.unary_unary(
|
274
|
+
'/modal.client.ModalClient/FunctionAsyncInvoke',
|
275
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionAsyncInvokeRequest.SerializeToString,
|
276
|
+
response_deserializer=modal__proto_dot_api__pb2.FunctionAsyncInvokeResponse.FromString,
|
277
|
+
)
|
233
278
|
self.FunctionBindParams = channel.unary_unary(
|
234
279
|
'/modal.client.ModalClient/FunctionBindParams',
|
235
280
|
request_serializer=modal__proto_dot_api__pb2.FunctionBindParamsRequest.SerializeToString,
|
236
281
|
response_deserializer=modal__proto_dot_api__pb2.FunctionBindParamsResponse.FromString,
|
237
282
|
)
|
283
|
+
self.FunctionCallCancel = channel.unary_unary(
|
284
|
+
'/modal.client.ModalClient/FunctionCallCancel',
|
285
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionCallCancelRequest.SerializeToString,
|
286
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
287
|
+
)
|
288
|
+
self.FunctionCallGetDataIn = channel.unary_stream(
|
289
|
+
'/modal.client.ModalClient/FunctionCallGetDataIn',
|
290
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.SerializeToString,
|
291
|
+
response_deserializer=modal__proto_dot_api__pb2.DataChunk.FromString,
|
292
|
+
)
|
293
|
+
self.FunctionCallGetDataOut = channel.unary_stream(
|
294
|
+
'/modal.client.ModalClient/FunctionCallGetDataOut',
|
295
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.SerializeToString,
|
296
|
+
response_deserializer=modal__proto_dot_api__pb2.DataChunk.FromString,
|
297
|
+
)
|
298
|
+
self.FunctionCallList = channel.unary_unary(
|
299
|
+
'/modal.client.ModalClient/FunctionCallList',
|
300
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionCallListRequest.SerializeToString,
|
301
|
+
response_deserializer=modal__proto_dot_api__pb2.FunctionCallListResponse.FromString,
|
302
|
+
)
|
303
|
+
self.FunctionCallPutDataOut = channel.unary_unary(
|
304
|
+
'/modal.client.ModalClient/FunctionCallPutDataOut',
|
305
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionCallPutDataRequest.SerializeToString,
|
306
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
307
|
+
)
|
238
308
|
self.FunctionCreate = channel.unary_unary(
|
239
309
|
'/modal.client.ModalClient/FunctionCreate',
|
240
310
|
request_serializer=modal__proto_dot_api__pb2.FunctionCreateRequest.SerializeToString,
|
@@ -255,6 +325,11 @@ class ModalClientStub(object):
|
|
255
325
|
request_serializer=modal__proto_dot_api__pb2.FunctionGetCurrentStatsRequest.SerializeToString,
|
256
326
|
response_deserializer=modal__proto_dot_api__pb2.FunctionStats.FromString,
|
257
327
|
)
|
328
|
+
self.FunctionGetDynamicConcurrency = channel.unary_unary(
|
329
|
+
'/modal.client.ModalClient/FunctionGetDynamicConcurrency',
|
330
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionGetDynamicConcurrencyRequest.SerializeToString,
|
331
|
+
response_deserializer=modal__proto_dot_api__pb2.FunctionGetDynamicConcurrencyResponse.FromString,
|
332
|
+
)
|
258
333
|
self.FunctionGetInputs = channel.unary_unary(
|
259
334
|
'/modal.client.ModalClient/FunctionGetInputs',
|
260
335
|
request_serializer=modal__proto_dot_api__pb2.FunctionGetInputsRequest.SerializeToString,
|
@@ -290,41 +365,26 @@ class ModalClientStub(object):
|
|
290
365
|
request_serializer=modal__proto_dot_api__pb2.FunctionPutOutputsRequest.SerializeToString,
|
291
366
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
292
367
|
)
|
293
|
-
self.
|
294
|
-
'/modal.client.ModalClient/
|
295
|
-
request_serializer=modal__proto_dot_api__pb2.
|
296
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
297
|
-
)
|
298
|
-
self.FunctionCallCancel = channel.unary_unary(
|
299
|
-
'/modal.client.ModalClient/FunctionCallCancel',
|
300
|
-
request_serializer=modal__proto_dot_api__pb2.FunctionCallCancelRequest.SerializeToString,
|
301
|
-
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
302
|
-
)
|
303
|
-
self.FunctionCallList = channel.unary_unary(
|
304
|
-
'/modal.client.ModalClient/FunctionCallList',
|
305
|
-
request_serializer=modal__proto_dot_api__pb2.FunctionCallListRequest.SerializeToString,
|
306
|
-
response_deserializer=modal__proto_dot_api__pb2.FunctionCallListResponse.FromString,
|
307
|
-
)
|
308
|
-
self.FunctionCallGetDataIn = channel.unary_stream(
|
309
|
-
'/modal.client.ModalClient/FunctionCallGetDataIn',
|
310
|
-
request_serializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.SerializeToString,
|
311
|
-
response_deserializer=modal__proto_dot_api__pb2.DataChunk.FromString,
|
312
|
-
)
|
313
|
-
self.FunctionCallGetDataOut = channel.unary_stream(
|
314
|
-
'/modal.client.ModalClient/FunctionCallGetDataOut',
|
315
|
-
request_serializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.SerializeToString,
|
316
|
-
response_deserializer=modal__proto_dot_api__pb2.DataChunk.FromString,
|
317
|
-
)
|
318
|
-
self.FunctionCallPutDataOut = channel.unary_unary(
|
319
|
-
'/modal.client.ModalClient/FunctionCallPutDataOut',
|
320
|
-
request_serializer=modal__proto_dot_api__pb2.FunctionCallPutDataRequest.SerializeToString,
|
321
|
-
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
368
|
+
self.FunctionRetryInputs = channel.unary_unary(
|
369
|
+
'/modal.client.ModalClient/FunctionRetryInputs',
|
370
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionRetryInputsRequest.SerializeToString,
|
371
|
+
response_deserializer=modal__proto_dot_api__pb2.FunctionRetryInputsResponse.FromString,
|
322
372
|
)
|
323
373
|
self.FunctionStartPtyShell = channel.unary_unary(
|
324
374
|
'/modal.client.ModalClient/FunctionStartPtyShell',
|
325
375
|
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
326
376
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
327
377
|
)
|
378
|
+
self.FunctionUpdateSchedulingParams = channel.unary_unary(
|
379
|
+
'/modal.client.ModalClient/FunctionUpdateSchedulingParams',
|
380
|
+
request_serializer=modal__proto_dot_api__pb2.FunctionUpdateSchedulingParamsRequest.SerializeToString,
|
381
|
+
response_deserializer=modal__proto_dot_api__pb2.FunctionUpdateSchedulingParamsResponse.FromString,
|
382
|
+
)
|
383
|
+
self.ImageFromId = channel.unary_unary(
|
384
|
+
'/modal.client.ModalClient/ImageFromId',
|
385
|
+
request_serializer=modal__proto_dot_api__pb2.ImageFromIdRequest.SerializeToString,
|
386
|
+
response_deserializer=modal__proto_dot_api__pb2.ImageFromIdResponse.FromString,
|
387
|
+
)
|
328
388
|
self.ImageGetOrCreate = channel.unary_unary(
|
329
389
|
'/modal.client.ModalClient/ImageGetOrCreate',
|
330
390
|
request_serializer=modal__proto_dot_api__pb2.ImageGetOrCreateRequest.SerializeToString,
|
@@ -335,105 +395,140 @@ class ModalClientStub(object):
|
|
335
395
|
request_serializer=modal__proto_dot_api__pb2.ImageJoinStreamingRequest.SerializeToString,
|
336
396
|
response_deserializer=modal__proto_dot_api__pb2.ImageJoinStreamingResponse.FromString,
|
337
397
|
)
|
398
|
+
self.MountGetOrCreate = channel.unary_unary(
|
399
|
+
'/modal.client.ModalClient/MountGetOrCreate',
|
400
|
+
request_serializer=modal__proto_dot_api__pb2.MountGetOrCreateRequest.SerializeToString,
|
401
|
+
response_deserializer=modal__proto_dot_api__pb2.MountGetOrCreateResponse.FromString,
|
402
|
+
)
|
338
403
|
self.MountPutFile = channel.unary_unary(
|
339
404
|
'/modal.client.ModalClient/MountPutFile',
|
340
405
|
request_serializer=modal__proto_dot_api__pb2.MountPutFileRequest.SerializeToString,
|
341
406
|
response_deserializer=modal__proto_dot_api__pb2.MountPutFileResponse.FromString,
|
342
407
|
)
|
343
|
-
self.
|
344
|
-
'/modal.client.ModalClient/
|
345
|
-
request_serializer=modal__proto_dot_api__pb2.
|
346
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
408
|
+
self.ProxyCreate = channel.unary_unary(
|
409
|
+
'/modal.client.ModalClient/ProxyCreate',
|
410
|
+
request_serializer=modal__proto_dot_api__pb2.ProxyCreateRequest.SerializeToString,
|
411
|
+
response_deserializer=modal__proto_dot_api__pb2.ProxyCreateResponse.FromString,
|
347
412
|
)
|
348
|
-
self.
|
349
|
-
'/modal.client.ModalClient/
|
350
|
-
request_serializer=modal__proto_dot_api__pb2.
|
351
|
-
response_deserializer=
|
413
|
+
self.ProxyDelete = channel.unary_unary(
|
414
|
+
'/modal.client.ModalClient/ProxyDelete',
|
415
|
+
request_serializer=modal__proto_dot_api__pb2.ProxyDeleteRequest.SerializeToString,
|
416
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
417
|
+
)
|
418
|
+
self.ProxyGet = channel.unary_unary(
|
419
|
+
'/modal.client.ModalClient/ProxyGet',
|
420
|
+
request_serializer=modal__proto_dot_api__pb2.ProxyGetRequest.SerializeToString,
|
421
|
+
response_deserializer=modal__proto_dot_api__pb2.ProxyGetResponse.FromString,
|
352
422
|
)
|
353
423
|
self.ProxyGetOrCreate = channel.unary_unary(
|
354
424
|
'/modal.client.ModalClient/ProxyGetOrCreate',
|
355
425
|
request_serializer=modal__proto_dot_api__pb2.ProxyGetOrCreateRequest.SerializeToString,
|
356
426
|
response_deserializer=modal__proto_dot_api__pb2.ProxyGetOrCreateResponse.FromString,
|
357
427
|
)
|
358
|
-
self.
|
359
|
-
'/modal.client.ModalClient/
|
360
|
-
request_serializer=
|
361
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
428
|
+
self.ProxyList = channel.unary_unary(
|
429
|
+
'/modal.client.ModalClient/ProxyList',
|
430
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
431
|
+
response_deserializer=modal__proto_dot_api__pb2.ProxyListResponse.FromString,
|
432
|
+
)
|
433
|
+
self.QueueClear = channel.unary_unary(
|
434
|
+
'/modal.client.ModalClient/QueueClear',
|
435
|
+
request_serializer=modal__proto_dot_api__pb2.QueueClearRequest.SerializeToString,
|
436
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
362
437
|
)
|
363
438
|
self.QueueDelete = channel.unary_unary(
|
364
439
|
'/modal.client.ModalClient/QueueDelete',
|
365
440
|
request_serializer=modal__proto_dot_api__pb2.QueueDeleteRequest.SerializeToString,
|
366
441
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
367
442
|
)
|
368
|
-
self.QueueGetOrCreate = channel.unary_unary(
|
369
|
-
'/modal.client.ModalClient/QueueGetOrCreate',
|
370
|
-
request_serializer=modal__proto_dot_api__pb2.QueueGetOrCreateRequest.SerializeToString,
|
371
|
-
response_deserializer=modal__proto_dot_api__pb2.QueueGetOrCreateResponse.FromString,
|
372
|
-
)
|
373
443
|
self.QueueGet = channel.unary_unary(
|
374
444
|
'/modal.client.ModalClient/QueueGet',
|
375
445
|
request_serializer=modal__proto_dot_api__pb2.QueueGetRequest.SerializeToString,
|
376
446
|
response_deserializer=modal__proto_dot_api__pb2.QueueGetResponse.FromString,
|
377
447
|
)
|
448
|
+
self.QueueGetOrCreate = channel.unary_unary(
|
449
|
+
'/modal.client.ModalClient/QueueGetOrCreate',
|
450
|
+
request_serializer=modal__proto_dot_api__pb2.QueueGetOrCreateRequest.SerializeToString,
|
451
|
+
response_deserializer=modal__proto_dot_api__pb2.QueueGetOrCreateResponse.FromString,
|
452
|
+
)
|
378
453
|
self.QueueHeartbeat = channel.unary_unary(
|
379
454
|
'/modal.client.ModalClient/QueueHeartbeat',
|
380
455
|
request_serializer=modal__proto_dot_api__pb2.QueueHeartbeatRequest.SerializeToString,
|
381
456
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
382
457
|
)
|
383
|
-
self.QueuePut = channel.unary_unary(
|
384
|
-
'/modal.client.ModalClient/QueuePut',
|
385
|
-
request_serializer=modal__proto_dot_api__pb2.QueuePutRequest.SerializeToString,
|
386
|
-
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
387
|
-
)
|
388
458
|
self.QueueLen = channel.unary_unary(
|
389
459
|
'/modal.client.ModalClient/QueueLen',
|
390
460
|
request_serializer=modal__proto_dot_api__pb2.QueueLenRequest.SerializeToString,
|
391
461
|
response_deserializer=modal__proto_dot_api__pb2.QueueLenResponse.FromString,
|
392
462
|
)
|
463
|
+
self.QueueList = channel.unary_unary(
|
464
|
+
'/modal.client.ModalClient/QueueList',
|
465
|
+
request_serializer=modal__proto_dot_api__pb2.QueueListRequest.SerializeToString,
|
466
|
+
response_deserializer=modal__proto_dot_api__pb2.QueueListResponse.FromString,
|
467
|
+
)
|
393
468
|
self.QueueNextItems = channel.unary_unary(
|
394
469
|
'/modal.client.ModalClient/QueueNextItems',
|
395
470
|
request_serializer=modal__proto_dot_api__pb2.QueueNextItemsRequest.SerializeToString,
|
396
471
|
response_deserializer=modal__proto_dot_api__pb2.QueueNextItemsResponse.FromString,
|
397
472
|
)
|
473
|
+
self.QueuePut = channel.unary_unary(
|
474
|
+
'/modal.client.ModalClient/QueuePut',
|
475
|
+
request_serializer=modal__proto_dot_api__pb2.QueuePutRequest.SerializeToString,
|
476
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
477
|
+
)
|
398
478
|
self.SandboxCreate = channel.unary_unary(
|
399
479
|
'/modal.client.ModalClient/SandboxCreate',
|
400
480
|
request_serializer=modal__proto_dot_api__pb2.SandboxCreateRequest.SerializeToString,
|
401
481
|
response_deserializer=modal__proto_dot_api__pb2.SandboxCreateResponse.FromString,
|
402
482
|
)
|
403
|
-
self.SandboxGetTaskId = channel.unary_unary(
|
404
|
-
'/modal.client.ModalClient/SandboxGetTaskId',
|
405
|
-
request_serializer=modal__proto_dot_api__pb2.SandboxGetTaskIdRequest.SerializeToString,
|
406
|
-
response_deserializer=modal__proto_dot_api__pb2.SandboxGetTaskIdResponse.FromString,
|
407
|
-
)
|
408
483
|
self.SandboxGetLogs = channel.unary_stream(
|
409
484
|
'/modal.client.ModalClient/SandboxGetLogs',
|
410
485
|
request_serializer=modal__proto_dot_api__pb2.SandboxGetLogsRequest.SerializeToString,
|
411
486
|
response_deserializer=modal__proto_dot_api__pb2.TaskLogsBatch.FromString,
|
412
487
|
)
|
413
|
-
self.
|
414
|
-
'/modal.client.ModalClient/
|
415
|
-
request_serializer=modal__proto_dot_api__pb2.
|
416
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
488
|
+
self.SandboxGetTaskId = channel.unary_unary(
|
489
|
+
'/modal.client.ModalClient/SandboxGetTaskId',
|
490
|
+
request_serializer=modal__proto_dot_api__pb2.SandboxGetTaskIdRequest.SerializeToString,
|
491
|
+
response_deserializer=modal__proto_dot_api__pb2.SandboxGetTaskIdResponse.FromString,
|
492
|
+
)
|
493
|
+
self.SandboxGetTunnels = channel.unary_unary(
|
494
|
+
'/modal.client.ModalClient/SandboxGetTunnels',
|
495
|
+
request_serializer=modal__proto_dot_api__pb2.SandboxGetTunnelsRequest.SerializeToString,
|
496
|
+
response_deserializer=modal__proto_dot_api__pb2.SandboxGetTunnelsResponse.FromString,
|
417
497
|
)
|
418
498
|
self.SandboxList = channel.unary_unary(
|
419
499
|
'/modal.client.ModalClient/SandboxList',
|
420
500
|
request_serializer=modal__proto_dot_api__pb2.SandboxListRequest.SerializeToString,
|
421
501
|
response_deserializer=modal__proto_dot_api__pb2.SandboxListResponse.FromString,
|
422
502
|
)
|
423
|
-
self.
|
424
|
-
'/modal.client.ModalClient/
|
425
|
-
request_serializer=modal__proto_dot_api__pb2.
|
426
|
-
response_deserializer=modal__proto_dot_api__pb2.
|
503
|
+
self.SandboxSnapshotFs = channel.unary_unary(
|
504
|
+
'/modal.client.ModalClient/SandboxSnapshotFs',
|
505
|
+
request_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFsRequest.SerializeToString,
|
506
|
+
response_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.FromString,
|
427
507
|
)
|
428
508
|
self.SandboxStdinWrite = channel.unary_unary(
|
429
509
|
'/modal.client.ModalClient/SandboxStdinWrite',
|
430
510
|
request_serializer=modal__proto_dot_api__pb2.SandboxStdinWriteRequest.SerializeToString,
|
431
511
|
response_deserializer=modal__proto_dot_api__pb2.SandboxStdinWriteResponse.FromString,
|
432
512
|
)
|
433
|
-
self.
|
434
|
-
'/modal.client.ModalClient/
|
435
|
-
request_serializer=modal__proto_dot_api__pb2.
|
436
|
-
response_deserializer=
|
513
|
+
self.SandboxTagsSet = channel.unary_unary(
|
514
|
+
'/modal.client.ModalClient/SandboxTagsSet',
|
515
|
+
request_serializer=modal__proto_dot_api__pb2.SandboxTagsSetRequest.SerializeToString,
|
516
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
517
|
+
)
|
518
|
+
self.SandboxTerminate = channel.unary_unary(
|
519
|
+
'/modal.client.ModalClient/SandboxTerminate',
|
520
|
+
request_serializer=modal__proto_dot_api__pb2.SandboxTerminateRequest.SerializeToString,
|
521
|
+
response_deserializer=modal__proto_dot_api__pb2.SandboxTerminateResponse.FromString,
|
522
|
+
)
|
523
|
+
self.SandboxWait = channel.unary_unary(
|
524
|
+
'/modal.client.ModalClient/SandboxWait',
|
525
|
+
request_serializer=modal__proto_dot_api__pb2.SandboxWaitRequest.SerializeToString,
|
526
|
+
response_deserializer=modal__proto_dot_api__pb2.SandboxWaitResponse.FromString,
|
527
|
+
)
|
528
|
+
self.SecretDelete = channel.unary_unary(
|
529
|
+
'/modal.client.ModalClient/SecretDelete',
|
530
|
+
request_serializer=modal__proto_dot_api__pb2.SecretDeleteRequest.SerializeToString,
|
531
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
437
532
|
)
|
438
533
|
self.SecretGetOrCreate = channel.unary_unary(
|
439
534
|
'/modal.client.ModalClient/SecretGetOrCreate',
|
@@ -445,16 +540,21 @@ class ModalClientStub(object):
|
|
445
540
|
request_serializer=modal__proto_dot_api__pb2.SecretListRequest.SerializeToString,
|
446
541
|
response_deserializer=modal__proto_dot_api__pb2.SecretListResponse.FromString,
|
447
542
|
)
|
543
|
+
self.SharedVolumeDelete = channel.unary_unary(
|
544
|
+
'/modal.client.ModalClient/SharedVolumeDelete',
|
545
|
+
request_serializer=modal__proto_dot_api__pb2.SharedVolumeDeleteRequest.SerializeToString,
|
546
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
547
|
+
)
|
548
|
+
self.SharedVolumeGetFile = channel.unary_unary(
|
549
|
+
'/modal.client.ModalClient/SharedVolumeGetFile',
|
550
|
+
request_serializer=modal__proto_dot_api__pb2.SharedVolumeGetFileRequest.SerializeToString,
|
551
|
+
response_deserializer=modal__proto_dot_api__pb2.SharedVolumeGetFileResponse.FromString,
|
552
|
+
)
|
448
553
|
self.SharedVolumeGetOrCreate = channel.unary_unary(
|
449
554
|
'/modal.client.ModalClient/SharedVolumeGetOrCreate',
|
450
555
|
request_serializer=modal__proto_dot_api__pb2.SharedVolumeGetOrCreateRequest.SerializeToString,
|
451
556
|
response_deserializer=modal__proto_dot_api__pb2.SharedVolumeGetOrCreateResponse.FromString,
|
452
557
|
)
|
453
|
-
self.SharedVolumeCreate = channel.unary_unary(
|
454
|
-
'/modal.client.ModalClient/SharedVolumeCreate',
|
455
|
-
request_serializer=modal__proto_dot_api__pb2.SharedVolumeCreateRequest.SerializeToString,
|
456
|
-
response_deserializer=modal__proto_dot_api__pb2.SharedVolumeCreateResponse.FromString,
|
457
|
-
)
|
458
558
|
self.SharedVolumeHeartbeat = channel.unary_unary(
|
459
559
|
'/modal.client.ModalClient/SharedVolumeHeartbeat',
|
460
560
|
request_serializer=modal__proto_dot_api__pb2.SharedVolumeHeartbeatRequest.SerializeToString,
|
@@ -480,30 +580,30 @@ class ModalClientStub(object):
|
|
480
580
|
request_serializer=modal__proto_dot_api__pb2.SharedVolumePutFileRequest.SerializeToString,
|
481
581
|
response_deserializer=modal__proto_dot_api__pb2.SharedVolumePutFileResponse.FromString,
|
482
582
|
)
|
483
|
-
self.SharedVolumeGetFile = channel.unary_unary(
|
484
|
-
'/modal.client.ModalClient/SharedVolumeGetFile',
|
485
|
-
request_serializer=modal__proto_dot_api__pb2.SharedVolumeGetFileRequest.SerializeToString,
|
486
|
-
response_deserializer=modal__proto_dot_api__pb2.SharedVolumeGetFileResponse.FromString,
|
487
|
-
)
|
488
583
|
self.SharedVolumeRemoveFile = channel.unary_unary(
|
489
584
|
'/modal.client.ModalClient/SharedVolumeRemoveFile',
|
490
585
|
request_serializer=modal__proto_dot_api__pb2.SharedVolumeRemoveFileRequest.SerializeToString,
|
491
586
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
492
587
|
)
|
493
|
-
self.
|
494
|
-
'/modal.client.ModalClient/
|
495
|
-
request_serializer=modal__proto_dot_api__pb2.
|
496
|
-
response_deserializer=
|
588
|
+
self.TaskClusterHello = channel.unary_unary(
|
589
|
+
'/modal.client.ModalClient/TaskClusterHello',
|
590
|
+
request_serializer=modal__proto_dot_api__pb2.TaskClusterHelloRequest.SerializeToString,
|
591
|
+
response_deserializer=modal__proto_dot_api__pb2.TaskClusterHelloResponse.FromString,
|
592
|
+
)
|
593
|
+
self.TaskCurrentInputs = channel.unary_unary(
|
594
|
+
'/modal.client.ModalClient/TaskCurrentInputs',
|
595
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
596
|
+
response_deserializer=modal__proto_dot_api__pb2.TaskCurrentInputsResponse.FromString,
|
497
597
|
)
|
498
598
|
self.TaskList = channel.unary_unary(
|
499
599
|
'/modal.client.ModalClient/TaskList',
|
500
600
|
request_serializer=modal__proto_dot_api__pb2.TaskListRequest.SerializeToString,
|
501
601
|
response_deserializer=modal__proto_dot_api__pb2.TaskListResponse.FromString,
|
502
602
|
)
|
503
|
-
self.
|
504
|
-
'/modal.client.ModalClient/
|
505
|
-
request_serializer=
|
506
|
-
response_deserializer=
|
603
|
+
self.TaskResult = channel.unary_unary(
|
604
|
+
'/modal.client.ModalClient/TaskResult',
|
605
|
+
request_serializer=modal__proto_dot_api__pb2.TaskResultRequest.SerializeToString,
|
606
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
507
607
|
)
|
508
608
|
self.TokenFlowCreate = channel.unary_unary(
|
509
609
|
'/modal.client.ModalClient/TokenFlowCreate',
|
@@ -525,26 +625,16 @@ class ModalClientStub(object):
|
|
525
625
|
request_serializer=modal__proto_dot_api__pb2.TunnelStopRequest.SerializeToString,
|
526
626
|
response_deserializer=modal__proto_dot_api__pb2.TunnelStopResponse.FromString,
|
527
627
|
)
|
528
|
-
self.VolumeGetOrCreate = channel.unary_unary(
|
529
|
-
'/modal.client.ModalClient/VolumeGetOrCreate',
|
530
|
-
request_serializer=modal__proto_dot_api__pb2.VolumeGetOrCreateRequest.SerializeToString,
|
531
|
-
response_deserializer=modal__proto_dot_api__pb2.VolumeGetOrCreateResponse.FromString,
|
532
|
-
)
|
533
|
-
self.VolumeCreate = channel.unary_unary(
|
534
|
-
'/modal.client.ModalClient/VolumeCreate',
|
535
|
-
request_serializer=modal__proto_dot_api__pb2.VolumeCreateRequest.SerializeToString,
|
536
|
-
response_deserializer=modal__proto_dot_api__pb2.VolumeCreateResponse.FromString,
|
537
|
-
)
|
538
|
-
self.VolumeHeartbeat = channel.unary_unary(
|
539
|
-
'/modal.client.ModalClient/VolumeHeartbeat',
|
540
|
-
request_serializer=modal__proto_dot_api__pb2.VolumeHeartbeatRequest.SerializeToString,
|
541
|
-
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
542
|
-
)
|
543
628
|
self.VolumeCommit = channel.unary_unary(
|
544
629
|
'/modal.client.ModalClient/VolumeCommit',
|
545
630
|
request_serializer=modal__proto_dot_api__pb2.VolumeCommitRequest.SerializeToString,
|
546
631
|
response_deserializer=modal__proto_dot_api__pb2.VolumeCommitResponse.FromString,
|
547
632
|
)
|
633
|
+
self.VolumeCopyFiles = channel.unary_unary(
|
634
|
+
'/modal.client.ModalClient/VolumeCopyFiles',
|
635
|
+
request_serializer=modal__proto_dot_api__pb2.VolumeCopyFilesRequest.SerializeToString,
|
636
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
637
|
+
)
|
548
638
|
self.VolumeDelete = channel.unary_unary(
|
549
639
|
'/modal.client.ModalClient/VolumeDelete',
|
550
640
|
request_serializer=modal__proto_dot_api__pb2.VolumeDeleteRequest.SerializeToString,
|
@@ -555,6 +645,16 @@ class ModalClientStub(object):
|
|
555
645
|
request_serializer=modal__proto_dot_api__pb2.VolumeGetFileRequest.SerializeToString,
|
556
646
|
response_deserializer=modal__proto_dot_api__pb2.VolumeGetFileResponse.FromString,
|
557
647
|
)
|
648
|
+
self.VolumeGetOrCreate = channel.unary_unary(
|
649
|
+
'/modal.client.ModalClient/VolumeGetOrCreate',
|
650
|
+
request_serializer=modal__proto_dot_api__pb2.VolumeGetOrCreateRequest.SerializeToString,
|
651
|
+
response_deserializer=modal__proto_dot_api__pb2.VolumeGetOrCreateResponse.FromString,
|
652
|
+
)
|
653
|
+
self.VolumeHeartbeat = channel.unary_unary(
|
654
|
+
'/modal.client.ModalClient/VolumeHeartbeat',
|
655
|
+
request_serializer=modal__proto_dot_api__pb2.VolumeHeartbeatRequest.SerializeToString,
|
656
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
657
|
+
)
|
558
658
|
self.VolumeList = channel.unary_unary(
|
559
659
|
'/modal.client.ModalClient/VolumeList',
|
560
660
|
request_serializer=modal__proto_dot_api__pb2.VolumeListRequest.SerializeToString,
|
@@ -580,9 +680,9 @@ class ModalClientStub(object):
|
|
580
680
|
request_serializer=modal__proto_dot_api__pb2.VolumeRemoveFileRequest.SerializeToString,
|
581
681
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
582
682
|
)
|
583
|
-
self.
|
584
|
-
'/modal.client.ModalClient/
|
585
|
-
request_serializer=modal__proto_dot_api__pb2.
|
683
|
+
self.VolumeRename = channel.unary_unary(
|
684
|
+
'/modal.client.ModalClient/VolumeRename',
|
685
|
+
request_serializer=modal__proto_dot_api__pb2.VolumeRenameRequest.SerializeToString,
|
586
686
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
587
687
|
)
|
588
688
|
self.WorkspaceNameLookup = channel.unary_unary(
|
@@ -595,26 +695,44 @@ class ModalClientStub(object):
|
|
595
695
|
class ModalClientServicer(object):
|
596
696
|
"""Missing associated documentation comment in .proto file."""
|
597
697
|
|
598
|
-
def
|
698
|
+
def AppClientDisconnect(self, request, context):
|
599
699
|
"""Apps
|
600
700
|
"""
|
601
701
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
602
702
|
context.set_details('Method not implemented!')
|
603
703
|
raise NotImplementedError('Method not implemented!')
|
604
704
|
|
605
|
-
def
|
705
|
+
def AppCreate(self, request, context):
|
606
706
|
"""Missing associated documentation comment in .proto file."""
|
607
707
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
608
708
|
context.set_details('Method not implemented!')
|
609
709
|
raise NotImplementedError('Method not implemented!')
|
610
710
|
|
611
|
-
def
|
711
|
+
def AppDeploy(self, request, context):
|
612
712
|
"""Missing associated documentation comment in .proto file."""
|
613
713
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
614
714
|
context.set_details('Method not implemented!')
|
615
715
|
raise NotImplementedError('Method not implemented!')
|
616
716
|
|
617
|
-
def
|
717
|
+
def AppDeploymentHistory(self, request, context):
|
718
|
+
"""Missing associated documentation comment in .proto file."""
|
719
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
720
|
+
context.set_details('Method not implemented!')
|
721
|
+
raise NotImplementedError('Method not implemented!')
|
722
|
+
|
723
|
+
def AppGetByDeploymentName(self, request, context):
|
724
|
+
"""Missing associated documentation comment in .proto file."""
|
725
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
726
|
+
context.set_details('Method not implemented!')
|
727
|
+
raise NotImplementedError('Method not implemented!')
|
728
|
+
|
729
|
+
def AppGetLayout(self, request, context):
|
730
|
+
"""Missing associated documentation comment in .proto file."""
|
731
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
732
|
+
context.set_details('Method not implemented!')
|
733
|
+
raise NotImplementedError('Method not implemented!')
|
734
|
+
|
735
|
+
def AppGetLogs(self, request, context):
|
618
736
|
"""Missing associated documentation comment in .proto file."""
|
619
737
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
620
738
|
context.set_details('Method not implemented!')
|
@@ -626,43 +744,49 @@ class ModalClientServicer(object):
|
|
626
744
|
context.set_details('Method not implemented!')
|
627
745
|
raise NotImplementedError('Method not implemented!')
|
628
746
|
|
629
|
-
def
|
747
|
+
def AppGetOrCreate(self, request, context):
|
630
748
|
"""Missing associated documentation comment in .proto file."""
|
631
749
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
632
750
|
context.set_details('Method not implemented!')
|
633
751
|
raise NotImplementedError('Method not implemented!')
|
634
752
|
|
635
|
-
def
|
753
|
+
def AppHeartbeat(self, request, context):
|
636
754
|
"""Missing associated documentation comment in .proto file."""
|
637
755
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
638
756
|
context.set_details('Method not implemented!')
|
639
757
|
raise NotImplementedError('Method not implemented!')
|
640
758
|
|
641
|
-
def
|
759
|
+
def AppList(self, request, context):
|
642
760
|
"""Missing associated documentation comment in .proto file."""
|
643
761
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
644
762
|
context.set_details('Method not implemented!')
|
645
763
|
raise NotImplementedError('Method not implemented!')
|
646
764
|
|
647
|
-
def
|
765
|
+
def AppLookup(self, request, context):
|
648
766
|
"""Missing associated documentation comment in .proto file."""
|
649
767
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
650
768
|
context.set_details('Method not implemented!')
|
651
769
|
raise NotImplementedError('Method not implemented!')
|
652
770
|
|
653
|
-
def
|
771
|
+
def AppPublish(self, request, context):
|
654
772
|
"""Missing associated documentation comment in .proto file."""
|
655
773
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
656
774
|
context.set_details('Method not implemented!')
|
657
775
|
raise NotImplementedError('Method not implemented!')
|
658
776
|
|
659
|
-
def
|
777
|
+
def AppRollback(self, request, context):
|
660
778
|
"""Missing associated documentation comment in .proto file."""
|
661
779
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
662
780
|
context.set_details('Method not implemented!')
|
663
781
|
raise NotImplementedError('Method not implemented!')
|
664
782
|
|
665
|
-
def
|
783
|
+
def AppSetObjects(self, request, context):
|
784
|
+
"""Missing associated documentation comment in .proto file."""
|
785
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
786
|
+
context.set_details('Method not implemented!')
|
787
|
+
raise NotImplementedError('Method not implemented!')
|
788
|
+
|
789
|
+
def AppStop(self, request, context):
|
666
790
|
"""Missing associated documentation comment in .proto file."""
|
667
791
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
668
792
|
context.set_details('Method not implemented!')
|
@@ -694,83 +818,99 @@ class ModalClientServicer(object):
|
|
694
818
|
context.set_details('Method not implemented!')
|
695
819
|
raise NotImplementedError('Method not implemented!')
|
696
820
|
|
697
|
-
def
|
821
|
+
def ClientHello(self, request, context):
|
698
822
|
"""Clients
|
699
823
|
"""
|
700
824
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
701
825
|
context.set_details('Method not implemented!')
|
702
826
|
raise NotImplementedError('Method not implemented!')
|
703
827
|
|
704
|
-
def
|
828
|
+
def ContainerCheckpoint(self, request, context):
|
829
|
+
"""Container
|
830
|
+
"""
|
831
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
832
|
+
context.set_details('Method not implemented!')
|
833
|
+
raise NotImplementedError('Method not implemented!')
|
834
|
+
|
835
|
+
def ContainerExec(self, request, context):
|
705
836
|
"""Missing associated documentation comment in .proto file."""
|
706
837
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
707
838
|
context.set_details('Method not implemented!')
|
708
839
|
raise NotImplementedError('Method not implemented!')
|
709
840
|
|
710
|
-
def
|
841
|
+
def ContainerExecGetOutput(self, request, context):
|
711
842
|
"""Missing associated documentation comment in .proto file."""
|
712
843
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
713
844
|
context.set_details('Method not implemented!')
|
714
845
|
raise NotImplementedError('Method not implemented!')
|
715
846
|
|
716
|
-
def
|
717
|
-
"""
|
718
|
-
"""
|
847
|
+
def ContainerExecPutInput(self, request, context):
|
848
|
+
"""Missing associated documentation comment in .proto file."""
|
719
849
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
720
850
|
context.set_details('Method not implemented!')
|
721
851
|
raise NotImplementedError('Method not implemented!')
|
722
852
|
|
723
|
-
def
|
853
|
+
def ContainerExecWait(self, request, context):
|
724
854
|
"""Missing associated documentation comment in .proto file."""
|
725
855
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
726
856
|
context.set_details('Method not implemented!')
|
727
857
|
raise NotImplementedError('Method not implemented!')
|
728
858
|
|
729
|
-
def
|
859
|
+
def ContainerFilesystemExec(self, request, context):
|
730
860
|
"""Missing associated documentation comment in .proto file."""
|
731
861
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
732
862
|
context.set_details('Method not implemented!')
|
733
863
|
raise NotImplementedError('Method not implemented!')
|
734
864
|
|
735
|
-
def
|
865
|
+
def ContainerFilesystemExecGetOutput(self, request, context):
|
736
866
|
"""Missing associated documentation comment in .proto file."""
|
737
867
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
738
868
|
context.set_details('Method not implemented!')
|
739
869
|
raise NotImplementedError('Method not implemented!')
|
740
870
|
|
741
|
-
def
|
742
|
-
"""
|
743
|
-
"""
|
871
|
+
def ContainerHeartbeat(self, request, context):
|
872
|
+
"""Missing associated documentation comment in .proto file."""
|
744
873
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
745
874
|
context.set_details('Method not implemented!')
|
746
875
|
raise NotImplementedError('Method not implemented!')
|
747
876
|
|
748
|
-
def
|
749
|
-
"""
|
750
|
-
"""
|
877
|
+
def ContainerHello(self, request, context):
|
878
|
+
"""Missing associated documentation comment in .proto file."""
|
751
879
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
752
880
|
context.set_details('Method not implemented!')
|
753
881
|
raise NotImplementedError('Method not implemented!')
|
754
882
|
|
755
|
-
def
|
883
|
+
def ContainerLog(self, request, context):
|
756
884
|
"""Missing associated documentation comment in .proto file."""
|
757
885
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
758
886
|
context.set_details('Method not implemented!')
|
759
887
|
raise NotImplementedError('Method not implemented!')
|
760
888
|
|
761
|
-
def
|
889
|
+
def ContainerStop(self, request, context):
|
762
890
|
"""Missing associated documentation comment in .proto file."""
|
763
891
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
764
892
|
context.set_details('Method not implemented!')
|
765
893
|
raise NotImplementedError('Method not implemented!')
|
766
894
|
|
767
|
-
def
|
768
|
-
"""
|
895
|
+
def DictClear(self, request, context):
|
896
|
+
"""Dicts
|
769
897
|
"""
|
770
898
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
771
899
|
context.set_details('Method not implemented!')
|
772
900
|
raise NotImplementedError('Method not implemented!')
|
773
901
|
|
902
|
+
def DictContains(self, request, context):
|
903
|
+
"""Missing associated documentation comment in .proto file."""
|
904
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
905
|
+
context.set_details('Method not implemented!')
|
906
|
+
raise NotImplementedError('Method not implemented!')
|
907
|
+
|
908
|
+
def DictContents(self, request, context):
|
909
|
+
"""Missing associated documentation comment in .proto file."""
|
910
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
911
|
+
context.set_details('Method not implemented!')
|
912
|
+
raise NotImplementedError('Method not implemented!')
|
913
|
+
|
774
914
|
def DictDelete(self, request, context):
|
775
915
|
"""Missing associated documentation comment in .proto file."""
|
776
916
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
@@ -819,20 +959,20 @@ class ModalClientServicer(object):
|
|
819
959
|
context.set_details('Method not implemented!')
|
820
960
|
raise NotImplementedError('Method not implemented!')
|
821
961
|
|
822
|
-
def
|
962
|
+
def DomainCertificateVerify(self, request, context):
|
823
963
|
"""Domains
|
824
964
|
"""
|
825
965
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
826
966
|
context.set_details('Method not implemented!')
|
827
967
|
raise NotImplementedError('Method not implemented!')
|
828
968
|
|
829
|
-
def
|
969
|
+
def DomainCreate(self, request, context):
|
830
970
|
"""Missing associated documentation comment in .proto file."""
|
831
971
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
832
972
|
context.set_details('Method not implemented!')
|
833
973
|
raise NotImplementedError('Method not implemented!')
|
834
974
|
|
835
|
-
def
|
975
|
+
def DomainList(self, request, context):
|
836
976
|
"""Missing associated documentation comment in .proto file."""
|
837
977
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
838
978
|
context.set_details('Method not implemented!')
|
@@ -845,13 +985,19 @@ class ModalClientServicer(object):
|
|
845
985
|
context.set_details('Method not implemented!')
|
846
986
|
raise NotImplementedError('Method not implemented!')
|
847
987
|
|
848
|
-
def
|
988
|
+
def EnvironmentDelete(self, request, context):
|
849
989
|
"""Missing associated documentation comment in .proto file."""
|
850
990
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
851
991
|
context.set_details('Method not implemented!')
|
852
992
|
raise NotImplementedError('Method not implemented!')
|
853
993
|
|
854
|
-
def
|
994
|
+
def EnvironmentGetOrCreate(self, request, context):
|
995
|
+
"""Missing associated documentation comment in .proto file."""
|
996
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
997
|
+
context.set_details('Method not implemented!')
|
998
|
+
raise NotImplementedError('Method not implemented!')
|
999
|
+
|
1000
|
+
def EnvironmentList(self, request, context):
|
855
1001
|
"""Missing associated documentation comment in .proto file."""
|
856
1002
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
857
1003
|
context.set_details('Method not implemented!')
|
@@ -863,13 +1009,49 @@ class ModalClientServicer(object):
|
|
863
1009
|
context.set_details('Method not implemented!')
|
864
1010
|
raise NotImplementedError('Method not implemented!')
|
865
1011
|
|
866
|
-
def
|
1012
|
+
def FunctionAsyncInvoke(self, request, context):
|
867
1013
|
"""Functions
|
868
1014
|
"""
|
869
1015
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
870
1016
|
context.set_details('Method not implemented!')
|
871
1017
|
raise NotImplementedError('Method not implemented!')
|
872
1018
|
|
1019
|
+
def FunctionBindParams(self, request, context):
|
1020
|
+
"""Missing associated documentation comment in .proto file."""
|
1021
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1022
|
+
context.set_details('Method not implemented!')
|
1023
|
+
raise NotImplementedError('Method not implemented!')
|
1024
|
+
|
1025
|
+
def FunctionCallCancel(self, request, context):
|
1026
|
+
"""Missing associated documentation comment in .proto file."""
|
1027
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1028
|
+
context.set_details('Method not implemented!')
|
1029
|
+
raise NotImplementedError('Method not implemented!')
|
1030
|
+
|
1031
|
+
def FunctionCallGetDataIn(self, request, context):
|
1032
|
+
"""Missing associated documentation comment in .proto file."""
|
1033
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1034
|
+
context.set_details('Method not implemented!')
|
1035
|
+
raise NotImplementedError('Method not implemented!')
|
1036
|
+
|
1037
|
+
def FunctionCallGetDataOut(self, request, context):
|
1038
|
+
"""Missing associated documentation comment in .proto file."""
|
1039
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1040
|
+
context.set_details('Method not implemented!')
|
1041
|
+
raise NotImplementedError('Method not implemented!')
|
1042
|
+
|
1043
|
+
def FunctionCallList(self, request, context):
|
1044
|
+
"""Missing associated documentation comment in .proto file."""
|
1045
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1046
|
+
context.set_details('Method not implemented!')
|
1047
|
+
raise NotImplementedError('Method not implemented!')
|
1048
|
+
|
1049
|
+
def FunctionCallPutDataOut(self, request, context):
|
1050
|
+
"""Missing associated documentation comment in .proto file."""
|
1051
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1052
|
+
context.set_details('Method not implemented!')
|
1053
|
+
raise NotImplementedError('Method not implemented!')
|
1054
|
+
|
873
1055
|
def FunctionCreate(self, request, context):
|
874
1056
|
"""Missing associated documentation comment in .proto file."""
|
875
1057
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
@@ -894,6 +1076,12 @@ class ModalClientServicer(object):
|
|
894
1076
|
context.set_details('Method not implemented!')
|
895
1077
|
raise NotImplementedError('Method not implemented!')
|
896
1078
|
|
1079
|
+
def FunctionGetDynamicConcurrency(self, request, context):
|
1080
|
+
"""Missing associated documentation comment in .proto file."""
|
1081
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1082
|
+
context.set_details('Method not implemented!')
|
1083
|
+
raise NotImplementedError('Method not implemented!')
|
1084
|
+
|
897
1085
|
def FunctionGetInputs(self, request, context):
|
898
1086
|
"""For containers to request next call
|
899
1087
|
"""
|
@@ -939,90 +1127,88 @@ class ModalClientServicer(object):
|
|
939
1127
|
context.set_details('Method not implemented!')
|
940
1128
|
raise NotImplementedError('Method not implemented!')
|
941
1129
|
|
942
|
-
def
|
1130
|
+
def FunctionRetryInputs(self, request, context):
|
943
1131
|
"""Missing associated documentation comment in .proto file."""
|
944
1132
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
945
1133
|
context.set_details('Method not implemented!')
|
946
1134
|
raise NotImplementedError('Method not implemented!')
|
947
1135
|
|
948
|
-
def
|
949
|
-
"""
|
950
|
-
"""
|
1136
|
+
def FunctionStartPtyShell(self, request, context):
|
1137
|
+
"""Missing associated documentation comment in .proto file."""
|
951
1138
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
952
1139
|
context.set_details('Method not implemented!')
|
953
1140
|
raise NotImplementedError('Method not implemented!')
|
954
1141
|
|
955
|
-
def
|
1142
|
+
def FunctionUpdateSchedulingParams(self, request, context):
|
956
1143
|
"""Missing associated documentation comment in .proto file."""
|
957
1144
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
958
1145
|
context.set_details('Method not implemented!')
|
959
1146
|
raise NotImplementedError('Method not implemented!')
|
960
1147
|
|
961
|
-
def
|
962
|
-
"""
|
1148
|
+
def ImageFromId(self, request, context):
|
1149
|
+
"""Images
|
1150
|
+
"""
|
963
1151
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
964
1152
|
context.set_details('Method not implemented!')
|
965
1153
|
raise NotImplementedError('Method not implemented!')
|
966
1154
|
|
967
|
-
def
|
1155
|
+
def ImageGetOrCreate(self, request, context):
|
968
1156
|
"""Missing associated documentation comment in .proto file."""
|
969
1157
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
970
1158
|
context.set_details('Method not implemented!')
|
971
1159
|
raise NotImplementedError('Method not implemented!')
|
972
1160
|
|
973
|
-
def
|
1161
|
+
def ImageJoinStreaming(self, request, context):
|
974
1162
|
"""Missing associated documentation comment in .proto file."""
|
975
1163
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
976
1164
|
context.set_details('Method not implemented!')
|
977
1165
|
raise NotImplementedError('Method not implemented!')
|
978
1166
|
|
979
|
-
def
|
980
|
-
"""
|
1167
|
+
def MountGetOrCreate(self, request, context):
|
1168
|
+
"""Mounts
|
981
1169
|
"""
|
982
1170
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
983
1171
|
context.set_details('Method not implemented!')
|
984
1172
|
raise NotImplementedError('Method not implemented!')
|
985
1173
|
|
986
|
-
def
|
987
|
-
"""
|
988
|
-
"""
|
1174
|
+
def MountPutFile(self, request, context):
|
1175
|
+
"""Missing associated documentation comment in .proto file."""
|
989
1176
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
990
1177
|
context.set_details('Method not implemented!')
|
991
1178
|
raise NotImplementedError('Method not implemented!')
|
992
1179
|
|
993
|
-
def
|
994
|
-
"""
|
1180
|
+
def ProxyCreate(self, request, context):
|
1181
|
+
"""Proxies
|
1182
|
+
"""
|
995
1183
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
996
1184
|
context.set_details('Method not implemented!')
|
997
1185
|
raise NotImplementedError('Method not implemented!')
|
998
1186
|
|
999
|
-
def
|
1000
|
-
"""
|
1001
|
-
"""
|
1187
|
+
def ProxyDelete(self, request, context):
|
1188
|
+
"""Missing associated documentation comment in .proto file."""
|
1002
1189
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1003
1190
|
context.set_details('Method not implemented!')
|
1004
1191
|
raise NotImplementedError('Method not implemented!')
|
1005
1192
|
|
1006
|
-
def
|
1193
|
+
def ProxyGet(self, request, context):
|
1007
1194
|
"""Missing associated documentation comment in .proto file."""
|
1008
1195
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1009
1196
|
context.set_details('Method not implemented!')
|
1010
1197
|
raise NotImplementedError('Method not implemented!')
|
1011
1198
|
|
1012
|
-
def
|
1199
|
+
def ProxyGetOrCreate(self, request, context):
|
1013
1200
|
"""Missing associated documentation comment in .proto file."""
|
1014
1201
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1015
1202
|
context.set_details('Method not implemented!')
|
1016
1203
|
raise NotImplementedError('Method not implemented!')
|
1017
1204
|
|
1018
|
-
def
|
1019
|
-
"""
|
1020
|
-
"""
|
1205
|
+
def ProxyList(self, request, context):
|
1206
|
+
"""Missing associated documentation comment in .proto file."""
|
1021
1207
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1022
1208
|
context.set_details('Method not implemented!')
|
1023
1209
|
raise NotImplementedError('Method not implemented!')
|
1024
1210
|
|
1025
|
-
def
|
1211
|
+
def QueueClear(self, request, context):
|
1026
1212
|
"""Queues
|
1027
1213
|
"""
|
1028
1214
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
@@ -1035,13 +1221,13 @@ class ModalClientServicer(object):
|
|
1035
1221
|
context.set_details('Method not implemented!')
|
1036
1222
|
raise NotImplementedError('Method not implemented!')
|
1037
1223
|
|
1038
|
-
def
|
1224
|
+
def QueueGet(self, request, context):
|
1039
1225
|
"""Missing associated documentation comment in .proto file."""
|
1040
1226
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1041
1227
|
context.set_details('Method not implemented!')
|
1042
1228
|
raise NotImplementedError('Method not implemented!')
|
1043
1229
|
|
1044
|
-
def
|
1230
|
+
def QueueGetOrCreate(self, request, context):
|
1045
1231
|
"""Missing associated documentation comment in .proto file."""
|
1046
1232
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1047
1233
|
context.set_details('Method not implemented!')
|
@@ -1053,13 +1239,13 @@ class ModalClientServicer(object):
|
|
1053
1239
|
context.set_details('Method not implemented!')
|
1054
1240
|
raise NotImplementedError('Method not implemented!')
|
1055
1241
|
|
1056
|
-
def
|
1242
|
+
def QueueLen(self, request, context):
|
1057
1243
|
"""Missing associated documentation comment in .proto file."""
|
1058
1244
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1059
1245
|
context.set_details('Method not implemented!')
|
1060
1246
|
raise NotImplementedError('Method not implemented!')
|
1061
1247
|
|
1062
|
-
def
|
1248
|
+
def QueueList(self, request, context):
|
1063
1249
|
"""Missing associated documentation comment in .proto file."""
|
1064
1250
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1065
1251
|
context.set_details('Method not implemented!')
|
@@ -1071,6 +1257,12 @@ class ModalClientServicer(object):
|
|
1071
1257
|
context.set_details('Method not implemented!')
|
1072
1258
|
raise NotImplementedError('Method not implemented!')
|
1073
1259
|
|
1260
|
+
def QueuePut(self, request, context):
|
1261
|
+
"""Missing associated documentation comment in .proto file."""
|
1262
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1263
|
+
context.set_details('Method not implemented!')
|
1264
|
+
raise NotImplementedError('Method not implemented!')
|
1265
|
+
|
1074
1266
|
def SandboxCreate(self, request, context):
|
1075
1267
|
"""Sandboxes
|
1076
1268
|
"""
|
@@ -1078,6 +1270,12 @@ class ModalClientServicer(object):
|
|
1078
1270
|
context.set_details('Method not implemented!')
|
1079
1271
|
raise NotImplementedError('Method not implemented!')
|
1080
1272
|
|
1273
|
+
def SandboxGetLogs(self, request, context):
|
1274
|
+
"""Missing associated documentation comment in .proto file."""
|
1275
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1276
|
+
context.set_details('Method not implemented!')
|
1277
|
+
raise NotImplementedError('Method not implemented!')
|
1278
|
+
|
1081
1279
|
def SandboxGetTaskId(self, request, context):
|
1082
1280
|
"""needed for modal container exec
|
1083
1281
|
"""
|
@@ -1085,19 +1283,31 @@ class ModalClientServicer(object):
|
|
1085
1283
|
context.set_details('Method not implemented!')
|
1086
1284
|
raise NotImplementedError('Method not implemented!')
|
1087
1285
|
|
1088
|
-
def
|
1286
|
+
def SandboxGetTunnels(self, request, context):
|
1089
1287
|
"""Missing associated documentation comment in .proto file."""
|
1090
1288
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1091
1289
|
context.set_details('Method not implemented!')
|
1092
1290
|
raise NotImplementedError('Method not implemented!')
|
1093
1291
|
|
1094
|
-
def
|
1292
|
+
def SandboxList(self, request, context):
|
1293
|
+
"""Missing associated documentation comment in .proto file."""
|
1294
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1295
|
+
context.set_details('Method not implemented!')
|
1296
|
+
raise NotImplementedError('Method not implemented!')
|
1297
|
+
|
1298
|
+
def SandboxSnapshotFs(self, request, context):
|
1299
|
+
"""Missing associated documentation comment in .proto file."""
|
1300
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1301
|
+
context.set_details('Method not implemented!')
|
1302
|
+
raise NotImplementedError('Method not implemented!')
|
1303
|
+
|
1304
|
+
def SandboxStdinWrite(self, request, context):
|
1095
1305
|
"""Missing associated documentation comment in .proto file."""
|
1096
1306
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1097
1307
|
context.set_details('Method not implemented!')
|
1098
1308
|
raise NotImplementedError('Method not implemented!')
|
1099
1309
|
|
1100
|
-
def
|
1310
|
+
def SandboxTagsSet(self, request, context):
|
1101
1311
|
"""Missing associated documentation comment in .proto file."""
|
1102
1312
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1103
1313
|
context.set_details('Method not implemented!')
|
@@ -1109,15 +1319,14 @@ class ModalClientServicer(object):
|
|
1109
1319
|
context.set_details('Method not implemented!')
|
1110
1320
|
raise NotImplementedError('Method not implemented!')
|
1111
1321
|
|
1112
|
-
def
|
1322
|
+
def SandboxWait(self, request, context):
|
1113
1323
|
"""Missing associated documentation comment in .proto file."""
|
1114
1324
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1115
1325
|
context.set_details('Method not implemented!')
|
1116
1326
|
raise NotImplementedError('Method not implemented!')
|
1117
1327
|
|
1118
|
-
def
|
1328
|
+
def SecretDelete(self, request, context):
|
1119
1329
|
"""Secrets
|
1120
|
-
Not used by client anymore
|
1121
1330
|
"""
|
1122
1331
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1123
1332
|
context.set_details('Method not implemented!')
|
@@ -1135,14 +1344,20 @@ class ModalClientServicer(object):
|
|
1135
1344
|
context.set_details('Method not implemented!')
|
1136
1345
|
raise NotImplementedError('Method not implemented!')
|
1137
1346
|
|
1138
|
-
def
|
1347
|
+
def SharedVolumeDelete(self, request, context):
|
1139
1348
|
"""SharedVolumes
|
1140
1349
|
"""
|
1141
1350
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1142
1351
|
context.set_details('Method not implemented!')
|
1143
1352
|
raise NotImplementedError('Method not implemented!')
|
1144
1353
|
|
1145
|
-
def
|
1354
|
+
def SharedVolumeGetFile(self, request, context):
|
1355
|
+
"""Missing associated documentation comment in .proto file."""
|
1356
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1357
|
+
context.set_details('Method not implemented!')
|
1358
|
+
raise NotImplementedError('Method not implemented!')
|
1359
|
+
|
1360
|
+
def SharedVolumeGetOrCreate(self, request, context):
|
1146
1361
|
"""Missing associated documentation comment in .proto file."""
|
1147
1362
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1148
1363
|
context.set_details('Method not implemented!')
|
@@ -1178,21 +1393,21 @@ class ModalClientServicer(object):
|
|
1178
1393
|
context.set_details('Method not implemented!')
|
1179
1394
|
raise NotImplementedError('Method not implemented!')
|
1180
1395
|
|
1181
|
-
def
|
1396
|
+
def SharedVolumeRemoveFile(self, request, context):
|
1182
1397
|
"""Missing associated documentation comment in .proto file."""
|
1183
1398
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1184
1399
|
context.set_details('Method not implemented!')
|
1185
1400
|
raise NotImplementedError('Method not implemented!')
|
1186
1401
|
|
1187
|
-
def
|
1188
|
-
"""
|
1402
|
+
def TaskClusterHello(self, request, context):
|
1403
|
+
"""Tasks
|
1404
|
+
"""
|
1189
1405
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1190
1406
|
context.set_details('Method not implemented!')
|
1191
1407
|
raise NotImplementedError('Method not implemented!')
|
1192
1408
|
|
1193
|
-
def
|
1194
|
-
"""
|
1195
|
-
"""
|
1409
|
+
def TaskCurrentInputs(self, request, context):
|
1410
|
+
"""Missing associated documentation comment in .proto file."""
|
1196
1411
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1197
1412
|
context.set_details('Method not implemented!')
|
1198
1413
|
raise NotImplementedError('Method not implemented!')
|
@@ -1203,9 +1418,8 @@ class ModalClientServicer(object):
|
|
1203
1418
|
context.set_details('Method not implemented!')
|
1204
1419
|
raise NotImplementedError('Method not implemented!')
|
1205
1420
|
|
1206
|
-
def
|
1207
|
-
"""
|
1208
|
-
"""
|
1421
|
+
def TaskResult(self, request, context):
|
1422
|
+
"""Missing associated documentation comment in .proto file."""
|
1209
1423
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1210
1424
|
context.set_details('Method not implemented!')
|
1211
1425
|
raise NotImplementedError('Method not implemented!')
|
@@ -1236,38 +1450,38 @@ class ModalClientServicer(object):
|
|
1236
1450
|
context.set_details('Method not implemented!')
|
1237
1451
|
raise NotImplementedError('Method not implemented!')
|
1238
1452
|
|
1239
|
-
def
|
1453
|
+
def VolumeCommit(self, request, context):
|
1240
1454
|
"""Volumes
|
1241
1455
|
"""
|
1242
1456
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1243
1457
|
context.set_details('Method not implemented!')
|
1244
1458
|
raise NotImplementedError('Method not implemented!')
|
1245
1459
|
|
1246
|
-
def
|
1460
|
+
def VolumeCopyFiles(self, request, context):
|
1247
1461
|
"""Missing associated documentation comment in .proto file."""
|
1248
1462
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1249
1463
|
context.set_details('Method not implemented!')
|
1250
1464
|
raise NotImplementedError('Method not implemented!')
|
1251
1465
|
|
1252
|
-
def
|
1466
|
+
def VolumeDelete(self, request, context):
|
1253
1467
|
"""Missing associated documentation comment in .proto file."""
|
1254
1468
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1255
1469
|
context.set_details('Method not implemented!')
|
1256
1470
|
raise NotImplementedError('Method not implemented!')
|
1257
1471
|
|
1258
|
-
def
|
1472
|
+
def VolumeGetFile(self, request, context):
|
1259
1473
|
"""Missing associated documentation comment in .proto file."""
|
1260
1474
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1261
1475
|
context.set_details('Method not implemented!')
|
1262
1476
|
raise NotImplementedError('Method not implemented!')
|
1263
1477
|
|
1264
|
-
def
|
1478
|
+
def VolumeGetOrCreate(self, request, context):
|
1265
1479
|
"""Missing associated documentation comment in .proto file."""
|
1266
1480
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1267
1481
|
context.set_details('Method not implemented!')
|
1268
1482
|
raise NotImplementedError('Method not implemented!')
|
1269
1483
|
|
1270
|
-
def
|
1484
|
+
def VolumeHeartbeat(self, request, context):
|
1271
1485
|
"""Missing associated documentation comment in .proto file."""
|
1272
1486
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1273
1487
|
context.set_details('Method not implemented!')
|
@@ -1303,7 +1517,7 @@ class ModalClientServicer(object):
|
|
1303
1517
|
context.set_details('Method not implemented!')
|
1304
1518
|
raise NotImplementedError('Method not implemented!')
|
1305
1519
|
|
1306
|
-
def
|
1520
|
+
def VolumeRename(self, request, context):
|
1307
1521
|
"""Missing associated documentation comment in .proto file."""
|
1308
1522
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
1309
1523
|
context.set_details('Method not implemented!')
|
@@ -1319,66 +1533,86 @@ class ModalClientServicer(object):
|
|
1319
1533
|
|
1320
1534
|
def add_ModalClientServicer_to_server(servicer, server):
|
1321
1535
|
rpc_method_handlers = {
|
1536
|
+
'AppClientDisconnect': grpc.unary_unary_rpc_method_handler(
|
1537
|
+
servicer.AppClientDisconnect,
|
1538
|
+
request_deserializer=modal__proto_dot_api__pb2.AppClientDisconnectRequest.FromString,
|
1539
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1540
|
+
),
|
1322
1541
|
'AppCreate': grpc.unary_unary_rpc_method_handler(
|
1323
1542
|
servicer.AppCreate,
|
1324
1543
|
request_deserializer=modal__proto_dot_api__pb2.AppCreateRequest.FromString,
|
1325
1544
|
response_serializer=modal__proto_dot_api__pb2.AppCreateResponse.SerializeToString,
|
1326
1545
|
),
|
1327
|
-
'
|
1328
|
-
servicer.
|
1329
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1330
|
-
response_serializer=
|
1546
|
+
'AppDeploy': grpc.unary_unary_rpc_method_handler(
|
1547
|
+
servicer.AppDeploy,
|
1548
|
+
request_deserializer=modal__proto_dot_api__pb2.AppDeployRequest.FromString,
|
1549
|
+
response_serializer=modal__proto_dot_api__pb2.AppDeployResponse.SerializeToString,
|
1550
|
+
),
|
1551
|
+
'AppDeploymentHistory': grpc.unary_unary_rpc_method_handler(
|
1552
|
+
servicer.AppDeploymentHistory,
|
1553
|
+
request_deserializer=modal__proto_dot_api__pb2.AppDeploymentHistoryRequest.FromString,
|
1554
|
+
response_serializer=modal__proto_dot_api__pb2.AppDeploymentHistoryResponse.SerializeToString,
|
1555
|
+
),
|
1556
|
+
'AppGetByDeploymentName': grpc.unary_unary_rpc_method_handler(
|
1557
|
+
servicer.AppGetByDeploymentName,
|
1558
|
+
request_deserializer=modal__proto_dot_api__pb2.AppGetByDeploymentNameRequest.FromString,
|
1559
|
+
response_serializer=modal__proto_dot_api__pb2.AppGetByDeploymentNameResponse.SerializeToString,
|
1560
|
+
),
|
1561
|
+
'AppGetLayout': grpc.unary_unary_rpc_method_handler(
|
1562
|
+
servicer.AppGetLayout,
|
1563
|
+
request_deserializer=modal__proto_dot_api__pb2.AppGetLayoutRequest.FromString,
|
1564
|
+
response_serializer=modal__proto_dot_api__pb2.AppGetLayoutResponse.SerializeToString,
|
1331
1565
|
),
|
1332
1566
|
'AppGetLogs': grpc.unary_stream_rpc_method_handler(
|
1333
1567
|
servicer.AppGetLogs,
|
1334
1568
|
request_deserializer=modal__proto_dot_api__pb2.AppGetLogsRequest.FromString,
|
1335
1569
|
response_serializer=modal__proto_dot_api__pb2.TaskLogsBatch.SerializeToString,
|
1336
1570
|
),
|
1337
|
-
'AppSetObjects': grpc.unary_unary_rpc_method_handler(
|
1338
|
-
servicer.AppSetObjects,
|
1339
|
-
request_deserializer=modal__proto_dot_api__pb2.AppSetObjectsRequest.FromString,
|
1340
|
-
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1341
|
-
),
|
1342
1571
|
'AppGetObjects': grpc.unary_unary_rpc_method_handler(
|
1343
1572
|
servicer.AppGetObjects,
|
1344
1573
|
request_deserializer=modal__proto_dot_api__pb2.AppGetObjectsRequest.FromString,
|
1345
1574
|
response_serializer=modal__proto_dot_api__pb2.AppGetObjectsResponse.SerializeToString,
|
1346
1575
|
),
|
1576
|
+
'AppGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1577
|
+
servicer.AppGetOrCreate,
|
1578
|
+
request_deserializer=modal__proto_dot_api__pb2.AppGetOrCreateRequest.FromString,
|
1579
|
+
response_serializer=modal__proto_dot_api__pb2.AppGetOrCreateResponse.SerializeToString,
|
1580
|
+
),
|
1581
|
+
'AppHeartbeat': grpc.unary_unary_rpc_method_handler(
|
1582
|
+
servicer.AppHeartbeat,
|
1583
|
+
request_deserializer=modal__proto_dot_api__pb2.AppHeartbeatRequest.FromString,
|
1584
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1585
|
+
),
|
1347
1586
|
'AppList': grpc.unary_unary_rpc_method_handler(
|
1348
1587
|
servicer.AppList,
|
1349
1588
|
request_deserializer=modal__proto_dot_api__pb2.AppListRequest.FromString,
|
1350
1589
|
response_serializer=modal__proto_dot_api__pb2.AppListResponse.SerializeToString,
|
1351
1590
|
),
|
1352
|
-
'
|
1353
|
-
servicer.
|
1354
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1355
|
-
response_serializer=modal__proto_dot_api__pb2.
|
1591
|
+
'AppLookup': grpc.unary_unary_rpc_method_handler(
|
1592
|
+
servicer.AppLookup,
|
1593
|
+
request_deserializer=modal__proto_dot_api__pb2.AppLookupRequest.FromString,
|
1594
|
+
response_serializer=modal__proto_dot_api__pb2.AppLookupResponse.SerializeToString,
|
1356
1595
|
),
|
1357
|
-
'
|
1358
|
-
servicer.
|
1359
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1360
|
-
response_serializer=modal__proto_dot_api__pb2.
|
1596
|
+
'AppPublish': grpc.unary_unary_rpc_method_handler(
|
1597
|
+
servicer.AppPublish,
|
1598
|
+
request_deserializer=modal__proto_dot_api__pb2.AppPublishRequest.FromString,
|
1599
|
+
response_serializer=modal__proto_dot_api__pb2.AppPublishResponse.SerializeToString,
|
1361
1600
|
),
|
1362
|
-
'
|
1363
|
-
servicer.
|
1364
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1365
|
-
response_serializer=
|
1601
|
+
'AppRollback': grpc.unary_unary_rpc_method_handler(
|
1602
|
+
servicer.AppRollback,
|
1603
|
+
request_deserializer=modal__proto_dot_api__pb2.AppRollbackRequest.FromString,
|
1604
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1366
1605
|
),
|
1367
|
-
'
|
1368
|
-
servicer.
|
1369
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1370
|
-
response_serializer=
|
1606
|
+
'AppSetObjects': grpc.unary_unary_rpc_method_handler(
|
1607
|
+
servicer.AppSetObjects,
|
1608
|
+
request_deserializer=modal__proto_dot_api__pb2.AppSetObjectsRequest.FromString,
|
1609
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1371
1610
|
),
|
1372
1611
|
'AppStop': grpc.unary_unary_rpc_method_handler(
|
1373
1612
|
servicer.AppStop,
|
1374
1613
|
request_deserializer=modal__proto_dot_api__pb2.AppStopRequest.FromString,
|
1375
1614
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1376
1615
|
),
|
1377
|
-
'AppHeartbeat': grpc.unary_unary_rpc_method_handler(
|
1378
|
-
servicer.AppHeartbeat,
|
1379
|
-
request_deserializer=modal__proto_dot_api__pb2.AppHeartbeatRequest.FromString,
|
1380
|
-
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1381
|
-
),
|
1382
1616
|
'BlobCreate': grpc.unary_unary_rpc_method_handler(
|
1383
1617
|
servicer.BlobCreate,
|
1384
1618
|
request_deserializer=modal__proto_dot_api__pb2.BlobCreateRequest.FromString,
|
@@ -1399,26 +1633,16 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1399
1633
|
request_deserializer=modal__proto_dot_api__pb2.ClassGetRequest.FromString,
|
1400
1634
|
response_serializer=modal__proto_dot_api__pb2.ClassGetResponse.SerializeToString,
|
1401
1635
|
),
|
1402
|
-
'ClientCreate': grpc.unary_unary_rpc_method_handler(
|
1403
|
-
servicer.ClientCreate,
|
1404
|
-
request_deserializer=modal__proto_dot_api__pb2.ClientCreateRequest.FromString,
|
1405
|
-
response_serializer=modal__proto_dot_api__pb2.ClientCreateResponse.SerializeToString,
|
1406
|
-
),
|
1407
1636
|
'ClientHello': grpc.unary_unary_rpc_method_handler(
|
1408
1637
|
servicer.ClientHello,
|
1409
1638
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
1410
1639
|
response_serializer=modal__proto_dot_api__pb2.ClientHelloResponse.SerializeToString,
|
1411
1640
|
),
|
1412
|
-
'
|
1413
|
-
servicer.
|
1414
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1641
|
+
'ContainerCheckpoint': grpc.unary_unary_rpc_method_handler(
|
1642
|
+
servicer.ContainerCheckpoint,
|
1643
|
+
request_deserializer=modal__proto_dot_api__pb2.ContainerCheckpointRequest.FromString,
|
1415
1644
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1416
1645
|
),
|
1417
|
-
'ContainerHeartbeat': grpc.unary_unary_rpc_method_handler(
|
1418
|
-
servicer.ContainerHeartbeat,
|
1419
|
-
request_deserializer=modal__proto_dot_api__pb2.ContainerHeartbeatRequest.FromString,
|
1420
|
-
response_serializer=modal__proto_dot_api__pb2.ContainerHeartbeatResponse.SerializeToString,
|
1421
|
-
),
|
1422
1646
|
'ContainerExec': grpc.unary_unary_rpc_method_handler(
|
1423
1647
|
servicer.ContainerExec,
|
1424
1648
|
request_deserializer=modal__proto_dot_api__pb2.ContainerExecRequest.FromString,
|
@@ -1434,11 +1658,41 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1434
1658
|
request_deserializer=modal__proto_dot_api__pb2.ContainerExecPutInputRequest.FromString,
|
1435
1659
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1436
1660
|
),
|
1437
|
-
'
|
1438
|
-
servicer.
|
1439
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1661
|
+
'ContainerExecWait': grpc.unary_unary_rpc_method_handler(
|
1662
|
+
servicer.ContainerExecWait,
|
1663
|
+
request_deserializer=modal__proto_dot_api__pb2.ContainerExecWaitRequest.FromString,
|
1664
|
+
response_serializer=modal__proto_dot_api__pb2.ContainerExecWaitResponse.SerializeToString,
|
1665
|
+
),
|
1666
|
+
'ContainerFilesystemExec': grpc.unary_unary_rpc_method_handler(
|
1667
|
+
servicer.ContainerFilesystemExec,
|
1668
|
+
request_deserializer=modal__proto_dot_api__pb2.ContainerFilesystemExecRequest.FromString,
|
1669
|
+
response_serializer=modal__proto_dot_api__pb2.ContainerFilesystemExecResponse.SerializeToString,
|
1670
|
+
),
|
1671
|
+
'ContainerFilesystemExecGetOutput': grpc.unary_stream_rpc_method_handler(
|
1672
|
+
servicer.ContainerFilesystemExecGetOutput,
|
1673
|
+
request_deserializer=modal__proto_dot_api__pb2.ContainerFilesystemExecGetOutputRequest.FromString,
|
1674
|
+
response_serializer=modal__proto_dot_api__pb2.FilesystemRuntimeOutputBatch.SerializeToString,
|
1675
|
+
),
|
1676
|
+
'ContainerHeartbeat': grpc.unary_unary_rpc_method_handler(
|
1677
|
+
servicer.ContainerHeartbeat,
|
1678
|
+
request_deserializer=modal__proto_dot_api__pb2.ContainerHeartbeatRequest.FromString,
|
1679
|
+
response_serializer=modal__proto_dot_api__pb2.ContainerHeartbeatResponse.SerializeToString,
|
1680
|
+
),
|
1681
|
+
'ContainerHello': grpc.unary_unary_rpc_method_handler(
|
1682
|
+
servicer.ContainerHello,
|
1683
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
1440
1684
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1441
1685
|
),
|
1686
|
+
'ContainerLog': grpc.unary_unary_rpc_method_handler(
|
1687
|
+
servicer.ContainerLog,
|
1688
|
+
request_deserializer=modal__proto_dot_api__pb2.ContainerLogRequest.FromString,
|
1689
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1690
|
+
),
|
1691
|
+
'ContainerStop': grpc.unary_unary_rpc_method_handler(
|
1692
|
+
servicer.ContainerStop,
|
1693
|
+
request_deserializer=modal__proto_dot_api__pb2.ContainerStopRequest.FromString,
|
1694
|
+
response_serializer=modal__proto_dot_api__pb2.ContainerStopResponse.SerializeToString,
|
1695
|
+
),
|
1442
1696
|
'DictClear': grpc.unary_unary_rpc_method_handler(
|
1443
1697
|
servicer.DictClear,
|
1444
1698
|
request_deserializer=modal__proto_dot_api__pb2.DictClearRequest.FromString,
|
@@ -1454,11 +1708,6 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1454
1708
|
request_deserializer=modal__proto_dot_api__pb2.DictContentsRequest.FromString,
|
1455
1709
|
response_serializer=modal__proto_dot_api__pb2.DictEntry.SerializeToString,
|
1456
1710
|
),
|
1457
|
-
'DictCreate': grpc.unary_unary_rpc_method_handler(
|
1458
|
-
servicer.DictCreate,
|
1459
|
-
request_deserializer=modal__proto_dot_api__pb2.DictCreateRequest.FromString,
|
1460
|
-
response_serializer=modal__proto_dot_api__pb2.DictCreateResponse.SerializeToString,
|
1461
|
-
),
|
1462
1711
|
'DictDelete': grpc.unary_unary_rpc_method_handler(
|
1463
1712
|
servicer.DictDelete,
|
1464
1713
|
request_deserializer=modal__proto_dot_api__pb2.DictDeleteRequest.FromString,
|
@@ -1499,6 +1748,11 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1499
1748
|
request_deserializer=modal__proto_dot_api__pb2.DictUpdateRequest.FromString,
|
1500
1749
|
response_serializer=modal__proto_dot_api__pb2.DictUpdateResponse.SerializeToString,
|
1501
1750
|
),
|
1751
|
+
'DomainCertificateVerify': grpc.unary_unary_rpc_method_handler(
|
1752
|
+
servicer.DomainCertificateVerify,
|
1753
|
+
request_deserializer=modal__proto_dot_api__pb2.DomainCertificateVerifyRequest.FromString,
|
1754
|
+
response_serializer=modal__proto_dot_api__pb2.DomainCertificateVerifyResponse.SerializeToString,
|
1755
|
+
),
|
1502
1756
|
'DomainCreate': grpc.unary_unary_rpc_method_handler(
|
1503
1757
|
servicer.DomainCreate,
|
1504
1758
|
request_deserializer=modal__proto_dot_api__pb2.DomainCreateRequest.FromString,
|
@@ -1509,36 +1763,66 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1509
1763
|
request_deserializer=modal__proto_dot_api__pb2.DomainListRequest.FromString,
|
1510
1764
|
response_serializer=modal__proto_dot_api__pb2.DomainListResponse.SerializeToString,
|
1511
1765
|
),
|
1512
|
-
'DomainCertificateVerify': grpc.unary_unary_rpc_method_handler(
|
1513
|
-
servicer.DomainCertificateVerify,
|
1514
|
-
request_deserializer=modal__proto_dot_api__pb2.DomainCertificateVerifyRequest.FromString,
|
1515
|
-
response_serializer=modal__proto_dot_api__pb2.DomainCertificateVerifyResponse.SerializeToString,
|
1516
|
-
),
|
1517
1766
|
'EnvironmentCreate': grpc.unary_unary_rpc_method_handler(
|
1518
1767
|
servicer.EnvironmentCreate,
|
1519
1768
|
request_deserializer=modal__proto_dot_api__pb2.EnvironmentCreateRequest.FromString,
|
1520
1769
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1521
1770
|
),
|
1522
|
-
'EnvironmentList': grpc.unary_unary_rpc_method_handler(
|
1523
|
-
servicer.EnvironmentList,
|
1524
|
-
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
1525
|
-
response_serializer=modal__proto_dot_api__pb2.EnvironmentListResponse.SerializeToString,
|
1526
|
-
),
|
1527
1771
|
'EnvironmentDelete': grpc.unary_unary_rpc_method_handler(
|
1528
1772
|
servicer.EnvironmentDelete,
|
1529
1773
|
request_deserializer=modal__proto_dot_api__pb2.EnvironmentDeleteRequest.FromString,
|
1530
1774
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1531
1775
|
),
|
1776
|
+
'EnvironmentGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1777
|
+
servicer.EnvironmentGetOrCreate,
|
1778
|
+
request_deserializer=modal__proto_dot_api__pb2.EnvironmentGetOrCreateRequest.FromString,
|
1779
|
+
response_serializer=modal__proto_dot_api__pb2.EnvironmentGetOrCreateResponse.SerializeToString,
|
1780
|
+
),
|
1781
|
+
'EnvironmentList': grpc.unary_unary_rpc_method_handler(
|
1782
|
+
servicer.EnvironmentList,
|
1783
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
1784
|
+
response_serializer=modal__proto_dot_api__pb2.EnvironmentListResponse.SerializeToString,
|
1785
|
+
),
|
1532
1786
|
'EnvironmentUpdate': grpc.unary_unary_rpc_method_handler(
|
1533
1787
|
servicer.EnvironmentUpdate,
|
1534
1788
|
request_deserializer=modal__proto_dot_api__pb2.EnvironmentUpdateRequest.FromString,
|
1535
1789
|
response_serializer=modal__proto_dot_api__pb2.EnvironmentListItem.SerializeToString,
|
1536
1790
|
),
|
1791
|
+
'FunctionAsyncInvoke': grpc.unary_unary_rpc_method_handler(
|
1792
|
+
servicer.FunctionAsyncInvoke,
|
1793
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionAsyncInvokeRequest.FromString,
|
1794
|
+
response_serializer=modal__proto_dot_api__pb2.FunctionAsyncInvokeResponse.SerializeToString,
|
1795
|
+
),
|
1537
1796
|
'FunctionBindParams': grpc.unary_unary_rpc_method_handler(
|
1538
1797
|
servicer.FunctionBindParams,
|
1539
1798
|
request_deserializer=modal__proto_dot_api__pb2.FunctionBindParamsRequest.FromString,
|
1540
1799
|
response_serializer=modal__proto_dot_api__pb2.FunctionBindParamsResponse.SerializeToString,
|
1541
1800
|
),
|
1801
|
+
'FunctionCallCancel': grpc.unary_unary_rpc_method_handler(
|
1802
|
+
servicer.FunctionCallCancel,
|
1803
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionCallCancelRequest.FromString,
|
1804
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1805
|
+
),
|
1806
|
+
'FunctionCallGetDataIn': grpc.unary_stream_rpc_method_handler(
|
1807
|
+
servicer.FunctionCallGetDataIn,
|
1808
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.FromString,
|
1809
|
+
response_serializer=modal__proto_dot_api__pb2.DataChunk.SerializeToString,
|
1810
|
+
),
|
1811
|
+
'FunctionCallGetDataOut': grpc.unary_stream_rpc_method_handler(
|
1812
|
+
servicer.FunctionCallGetDataOut,
|
1813
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.FromString,
|
1814
|
+
response_serializer=modal__proto_dot_api__pb2.DataChunk.SerializeToString,
|
1815
|
+
),
|
1816
|
+
'FunctionCallList': grpc.unary_unary_rpc_method_handler(
|
1817
|
+
servicer.FunctionCallList,
|
1818
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionCallListRequest.FromString,
|
1819
|
+
response_serializer=modal__proto_dot_api__pb2.FunctionCallListResponse.SerializeToString,
|
1820
|
+
),
|
1821
|
+
'FunctionCallPutDataOut': grpc.unary_unary_rpc_method_handler(
|
1822
|
+
servicer.FunctionCallPutDataOut,
|
1823
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionCallPutDataRequest.FromString,
|
1824
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1825
|
+
),
|
1542
1826
|
'FunctionCreate': grpc.unary_unary_rpc_method_handler(
|
1543
1827
|
servicer.FunctionCreate,
|
1544
1828
|
request_deserializer=modal__proto_dot_api__pb2.FunctionCreateRequest.FromString,
|
@@ -1559,6 +1843,11 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1559
1843
|
request_deserializer=modal__proto_dot_api__pb2.FunctionGetCurrentStatsRequest.FromString,
|
1560
1844
|
response_serializer=modal__proto_dot_api__pb2.FunctionStats.SerializeToString,
|
1561
1845
|
),
|
1846
|
+
'FunctionGetDynamicConcurrency': grpc.unary_unary_rpc_method_handler(
|
1847
|
+
servicer.FunctionGetDynamicConcurrency,
|
1848
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionGetDynamicConcurrencyRequest.FromString,
|
1849
|
+
response_serializer=modal__proto_dot_api__pb2.FunctionGetDynamicConcurrencyResponse.SerializeToString,
|
1850
|
+
),
|
1562
1851
|
'FunctionGetInputs': grpc.unary_unary_rpc_method_handler(
|
1563
1852
|
servicer.FunctionGetInputs,
|
1564
1853
|
request_deserializer=modal__proto_dot_api__pb2.FunctionGetInputsRequest.FromString,
|
@@ -1594,41 +1883,26 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1594
1883
|
request_deserializer=modal__proto_dot_api__pb2.FunctionPutOutputsRequest.FromString,
|
1595
1884
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1596
1885
|
),
|
1597
|
-
'
|
1598
|
-
servicer.
|
1599
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1600
|
-
response_serializer=modal__proto_dot_api__pb2.
|
1601
|
-
),
|
1602
|
-
'FunctionCallCancel': grpc.unary_unary_rpc_method_handler(
|
1603
|
-
servicer.FunctionCallCancel,
|
1604
|
-
request_deserializer=modal__proto_dot_api__pb2.FunctionCallCancelRequest.FromString,
|
1605
|
-
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1606
|
-
),
|
1607
|
-
'FunctionCallList': grpc.unary_unary_rpc_method_handler(
|
1608
|
-
servicer.FunctionCallList,
|
1609
|
-
request_deserializer=modal__proto_dot_api__pb2.FunctionCallListRequest.FromString,
|
1610
|
-
response_serializer=modal__proto_dot_api__pb2.FunctionCallListResponse.SerializeToString,
|
1611
|
-
),
|
1612
|
-
'FunctionCallGetDataIn': grpc.unary_stream_rpc_method_handler(
|
1613
|
-
servicer.FunctionCallGetDataIn,
|
1614
|
-
request_deserializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.FromString,
|
1615
|
-
response_serializer=modal__proto_dot_api__pb2.DataChunk.SerializeToString,
|
1616
|
-
),
|
1617
|
-
'FunctionCallGetDataOut': grpc.unary_stream_rpc_method_handler(
|
1618
|
-
servicer.FunctionCallGetDataOut,
|
1619
|
-
request_deserializer=modal__proto_dot_api__pb2.FunctionCallGetDataRequest.FromString,
|
1620
|
-
response_serializer=modal__proto_dot_api__pb2.DataChunk.SerializeToString,
|
1621
|
-
),
|
1622
|
-
'FunctionCallPutDataOut': grpc.unary_unary_rpc_method_handler(
|
1623
|
-
servicer.FunctionCallPutDataOut,
|
1624
|
-
request_deserializer=modal__proto_dot_api__pb2.FunctionCallPutDataRequest.FromString,
|
1625
|
-
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1886
|
+
'FunctionRetryInputs': grpc.unary_unary_rpc_method_handler(
|
1887
|
+
servicer.FunctionRetryInputs,
|
1888
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionRetryInputsRequest.FromString,
|
1889
|
+
response_serializer=modal__proto_dot_api__pb2.FunctionRetryInputsResponse.SerializeToString,
|
1626
1890
|
),
|
1627
1891
|
'FunctionStartPtyShell': grpc.unary_unary_rpc_method_handler(
|
1628
1892
|
servicer.FunctionStartPtyShell,
|
1629
1893
|
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
1630
1894
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1631
1895
|
),
|
1896
|
+
'FunctionUpdateSchedulingParams': grpc.unary_unary_rpc_method_handler(
|
1897
|
+
servicer.FunctionUpdateSchedulingParams,
|
1898
|
+
request_deserializer=modal__proto_dot_api__pb2.FunctionUpdateSchedulingParamsRequest.FromString,
|
1899
|
+
response_serializer=modal__proto_dot_api__pb2.FunctionUpdateSchedulingParamsResponse.SerializeToString,
|
1900
|
+
),
|
1901
|
+
'ImageFromId': grpc.unary_unary_rpc_method_handler(
|
1902
|
+
servicer.ImageFromId,
|
1903
|
+
request_deserializer=modal__proto_dot_api__pb2.ImageFromIdRequest.FromString,
|
1904
|
+
response_serializer=modal__proto_dot_api__pb2.ImageFromIdResponse.SerializeToString,
|
1905
|
+
),
|
1632
1906
|
'ImageGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1633
1907
|
servicer.ImageGetOrCreate,
|
1634
1908
|
request_deserializer=modal__proto_dot_api__pb2.ImageGetOrCreateRequest.FromString,
|
@@ -1639,105 +1913,140 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1639
1913
|
request_deserializer=modal__proto_dot_api__pb2.ImageJoinStreamingRequest.FromString,
|
1640
1914
|
response_serializer=modal__proto_dot_api__pb2.ImageJoinStreamingResponse.SerializeToString,
|
1641
1915
|
),
|
1916
|
+
'MountGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1917
|
+
servicer.MountGetOrCreate,
|
1918
|
+
request_deserializer=modal__proto_dot_api__pb2.MountGetOrCreateRequest.FromString,
|
1919
|
+
response_serializer=modal__proto_dot_api__pb2.MountGetOrCreateResponse.SerializeToString,
|
1920
|
+
),
|
1642
1921
|
'MountPutFile': grpc.unary_unary_rpc_method_handler(
|
1643
1922
|
servicer.MountPutFile,
|
1644
1923
|
request_deserializer=modal__proto_dot_api__pb2.MountPutFileRequest.FromString,
|
1645
1924
|
response_serializer=modal__proto_dot_api__pb2.MountPutFileResponse.SerializeToString,
|
1646
1925
|
),
|
1647
|
-
'
|
1648
|
-
servicer.
|
1649
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1650
|
-
response_serializer=modal__proto_dot_api__pb2.
|
1926
|
+
'ProxyCreate': grpc.unary_unary_rpc_method_handler(
|
1927
|
+
servicer.ProxyCreate,
|
1928
|
+
request_deserializer=modal__proto_dot_api__pb2.ProxyCreateRequest.FromString,
|
1929
|
+
response_serializer=modal__proto_dot_api__pb2.ProxyCreateResponse.SerializeToString,
|
1651
1930
|
),
|
1652
|
-
'
|
1653
|
-
servicer.
|
1654
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1655
|
-
response_serializer=
|
1931
|
+
'ProxyDelete': grpc.unary_unary_rpc_method_handler(
|
1932
|
+
servicer.ProxyDelete,
|
1933
|
+
request_deserializer=modal__proto_dot_api__pb2.ProxyDeleteRequest.FromString,
|
1934
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1935
|
+
),
|
1936
|
+
'ProxyGet': grpc.unary_unary_rpc_method_handler(
|
1937
|
+
servicer.ProxyGet,
|
1938
|
+
request_deserializer=modal__proto_dot_api__pb2.ProxyGetRequest.FromString,
|
1939
|
+
response_serializer=modal__proto_dot_api__pb2.ProxyGetResponse.SerializeToString,
|
1656
1940
|
),
|
1657
1941
|
'ProxyGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1658
1942
|
servicer.ProxyGetOrCreate,
|
1659
1943
|
request_deserializer=modal__proto_dot_api__pb2.ProxyGetOrCreateRequest.FromString,
|
1660
1944
|
response_serializer=modal__proto_dot_api__pb2.ProxyGetOrCreateResponse.SerializeToString,
|
1661
1945
|
),
|
1662
|
-
'
|
1663
|
-
servicer.
|
1664
|
-
request_deserializer=
|
1665
|
-
response_serializer=modal__proto_dot_api__pb2.
|
1946
|
+
'ProxyList': grpc.unary_unary_rpc_method_handler(
|
1947
|
+
servicer.ProxyList,
|
1948
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
1949
|
+
response_serializer=modal__proto_dot_api__pb2.ProxyListResponse.SerializeToString,
|
1950
|
+
),
|
1951
|
+
'QueueClear': grpc.unary_unary_rpc_method_handler(
|
1952
|
+
servicer.QueueClear,
|
1953
|
+
request_deserializer=modal__proto_dot_api__pb2.QueueClearRequest.FromString,
|
1954
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1666
1955
|
),
|
1667
1956
|
'QueueDelete': grpc.unary_unary_rpc_method_handler(
|
1668
1957
|
servicer.QueueDelete,
|
1669
1958
|
request_deserializer=modal__proto_dot_api__pb2.QueueDeleteRequest.FromString,
|
1670
1959
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1671
1960
|
),
|
1672
|
-
'QueueGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1673
|
-
servicer.QueueGetOrCreate,
|
1674
|
-
request_deserializer=modal__proto_dot_api__pb2.QueueGetOrCreateRequest.FromString,
|
1675
|
-
response_serializer=modal__proto_dot_api__pb2.QueueGetOrCreateResponse.SerializeToString,
|
1676
|
-
),
|
1677
1961
|
'QueueGet': grpc.unary_unary_rpc_method_handler(
|
1678
1962
|
servicer.QueueGet,
|
1679
1963
|
request_deserializer=modal__proto_dot_api__pb2.QueueGetRequest.FromString,
|
1680
1964
|
response_serializer=modal__proto_dot_api__pb2.QueueGetResponse.SerializeToString,
|
1681
1965
|
),
|
1966
|
+
'QueueGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1967
|
+
servicer.QueueGetOrCreate,
|
1968
|
+
request_deserializer=modal__proto_dot_api__pb2.QueueGetOrCreateRequest.FromString,
|
1969
|
+
response_serializer=modal__proto_dot_api__pb2.QueueGetOrCreateResponse.SerializeToString,
|
1970
|
+
),
|
1682
1971
|
'QueueHeartbeat': grpc.unary_unary_rpc_method_handler(
|
1683
1972
|
servicer.QueueHeartbeat,
|
1684
1973
|
request_deserializer=modal__proto_dot_api__pb2.QueueHeartbeatRequest.FromString,
|
1685
1974
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1686
1975
|
),
|
1687
|
-
'QueuePut': grpc.unary_unary_rpc_method_handler(
|
1688
|
-
servicer.QueuePut,
|
1689
|
-
request_deserializer=modal__proto_dot_api__pb2.QueuePutRequest.FromString,
|
1690
|
-
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1691
|
-
),
|
1692
1976
|
'QueueLen': grpc.unary_unary_rpc_method_handler(
|
1693
1977
|
servicer.QueueLen,
|
1694
1978
|
request_deserializer=modal__proto_dot_api__pb2.QueueLenRequest.FromString,
|
1695
1979
|
response_serializer=modal__proto_dot_api__pb2.QueueLenResponse.SerializeToString,
|
1696
1980
|
),
|
1981
|
+
'QueueList': grpc.unary_unary_rpc_method_handler(
|
1982
|
+
servicer.QueueList,
|
1983
|
+
request_deserializer=modal__proto_dot_api__pb2.QueueListRequest.FromString,
|
1984
|
+
response_serializer=modal__proto_dot_api__pb2.QueueListResponse.SerializeToString,
|
1985
|
+
),
|
1697
1986
|
'QueueNextItems': grpc.unary_unary_rpc_method_handler(
|
1698
1987
|
servicer.QueueNextItems,
|
1699
1988
|
request_deserializer=modal__proto_dot_api__pb2.QueueNextItemsRequest.FromString,
|
1700
1989
|
response_serializer=modal__proto_dot_api__pb2.QueueNextItemsResponse.SerializeToString,
|
1701
1990
|
),
|
1991
|
+
'QueuePut': grpc.unary_unary_rpc_method_handler(
|
1992
|
+
servicer.QueuePut,
|
1993
|
+
request_deserializer=modal__proto_dot_api__pb2.QueuePutRequest.FromString,
|
1994
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1995
|
+
),
|
1702
1996
|
'SandboxCreate': grpc.unary_unary_rpc_method_handler(
|
1703
1997
|
servicer.SandboxCreate,
|
1704
1998
|
request_deserializer=modal__proto_dot_api__pb2.SandboxCreateRequest.FromString,
|
1705
1999
|
response_serializer=modal__proto_dot_api__pb2.SandboxCreateResponse.SerializeToString,
|
1706
2000
|
),
|
1707
|
-
'SandboxGetTaskId': grpc.unary_unary_rpc_method_handler(
|
1708
|
-
servicer.SandboxGetTaskId,
|
1709
|
-
request_deserializer=modal__proto_dot_api__pb2.SandboxGetTaskIdRequest.FromString,
|
1710
|
-
response_serializer=modal__proto_dot_api__pb2.SandboxGetTaskIdResponse.SerializeToString,
|
1711
|
-
),
|
1712
2001
|
'SandboxGetLogs': grpc.unary_stream_rpc_method_handler(
|
1713
2002
|
servicer.SandboxGetLogs,
|
1714
2003
|
request_deserializer=modal__proto_dot_api__pb2.SandboxGetLogsRequest.FromString,
|
1715
2004
|
response_serializer=modal__proto_dot_api__pb2.TaskLogsBatch.SerializeToString,
|
1716
2005
|
),
|
1717
|
-
'
|
1718
|
-
servicer.
|
1719
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1720
|
-
response_serializer=modal__proto_dot_api__pb2.
|
2006
|
+
'SandboxGetTaskId': grpc.unary_unary_rpc_method_handler(
|
2007
|
+
servicer.SandboxGetTaskId,
|
2008
|
+
request_deserializer=modal__proto_dot_api__pb2.SandboxGetTaskIdRequest.FromString,
|
2009
|
+
response_serializer=modal__proto_dot_api__pb2.SandboxGetTaskIdResponse.SerializeToString,
|
2010
|
+
),
|
2011
|
+
'SandboxGetTunnels': grpc.unary_unary_rpc_method_handler(
|
2012
|
+
servicer.SandboxGetTunnels,
|
2013
|
+
request_deserializer=modal__proto_dot_api__pb2.SandboxGetTunnelsRequest.FromString,
|
2014
|
+
response_serializer=modal__proto_dot_api__pb2.SandboxGetTunnelsResponse.SerializeToString,
|
1721
2015
|
),
|
1722
2016
|
'SandboxList': grpc.unary_unary_rpc_method_handler(
|
1723
2017
|
servicer.SandboxList,
|
1724
2018
|
request_deserializer=modal__proto_dot_api__pb2.SandboxListRequest.FromString,
|
1725
2019
|
response_serializer=modal__proto_dot_api__pb2.SandboxListResponse.SerializeToString,
|
1726
2020
|
),
|
1727
|
-
'
|
1728
|
-
servicer.
|
1729
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1730
|
-
response_serializer=modal__proto_dot_api__pb2.
|
2021
|
+
'SandboxSnapshotFs': grpc.unary_unary_rpc_method_handler(
|
2022
|
+
servicer.SandboxSnapshotFs,
|
2023
|
+
request_deserializer=modal__proto_dot_api__pb2.SandboxSnapshotFsRequest.FromString,
|
2024
|
+
response_serializer=modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.SerializeToString,
|
1731
2025
|
),
|
1732
2026
|
'SandboxStdinWrite': grpc.unary_unary_rpc_method_handler(
|
1733
2027
|
servicer.SandboxStdinWrite,
|
1734
2028
|
request_deserializer=modal__proto_dot_api__pb2.SandboxStdinWriteRequest.FromString,
|
1735
2029
|
response_serializer=modal__proto_dot_api__pb2.SandboxStdinWriteResponse.SerializeToString,
|
1736
2030
|
),
|
1737
|
-
'
|
1738
|
-
servicer.
|
1739
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1740
|
-
response_serializer=
|
2031
|
+
'SandboxTagsSet': grpc.unary_unary_rpc_method_handler(
|
2032
|
+
servicer.SandboxTagsSet,
|
2033
|
+
request_deserializer=modal__proto_dot_api__pb2.SandboxTagsSetRequest.FromString,
|
2034
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
2035
|
+
),
|
2036
|
+
'SandboxTerminate': grpc.unary_unary_rpc_method_handler(
|
2037
|
+
servicer.SandboxTerminate,
|
2038
|
+
request_deserializer=modal__proto_dot_api__pb2.SandboxTerminateRequest.FromString,
|
2039
|
+
response_serializer=modal__proto_dot_api__pb2.SandboxTerminateResponse.SerializeToString,
|
2040
|
+
),
|
2041
|
+
'SandboxWait': grpc.unary_unary_rpc_method_handler(
|
2042
|
+
servicer.SandboxWait,
|
2043
|
+
request_deserializer=modal__proto_dot_api__pb2.SandboxWaitRequest.FromString,
|
2044
|
+
response_serializer=modal__proto_dot_api__pb2.SandboxWaitResponse.SerializeToString,
|
2045
|
+
),
|
2046
|
+
'SecretDelete': grpc.unary_unary_rpc_method_handler(
|
2047
|
+
servicer.SecretDelete,
|
2048
|
+
request_deserializer=modal__proto_dot_api__pb2.SecretDeleteRequest.FromString,
|
2049
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1741
2050
|
),
|
1742
2051
|
'SecretGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1743
2052
|
servicer.SecretGetOrCreate,
|
@@ -1749,16 +2058,21 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1749
2058
|
request_deserializer=modal__proto_dot_api__pb2.SecretListRequest.FromString,
|
1750
2059
|
response_serializer=modal__proto_dot_api__pb2.SecretListResponse.SerializeToString,
|
1751
2060
|
),
|
2061
|
+
'SharedVolumeDelete': grpc.unary_unary_rpc_method_handler(
|
2062
|
+
servicer.SharedVolumeDelete,
|
2063
|
+
request_deserializer=modal__proto_dot_api__pb2.SharedVolumeDeleteRequest.FromString,
|
2064
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
2065
|
+
),
|
2066
|
+
'SharedVolumeGetFile': grpc.unary_unary_rpc_method_handler(
|
2067
|
+
servicer.SharedVolumeGetFile,
|
2068
|
+
request_deserializer=modal__proto_dot_api__pb2.SharedVolumeGetFileRequest.FromString,
|
2069
|
+
response_serializer=modal__proto_dot_api__pb2.SharedVolumeGetFileResponse.SerializeToString,
|
2070
|
+
),
|
1752
2071
|
'SharedVolumeGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1753
2072
|
servicer.SharedVolumeGetOrCreate,
|
1754
2073
|
request_deserializer=modal__proto_dot_api__pb2.SharedVolumeGetOrCreateRequest.FromString,
|
1755
2074
|
response_serializer=modal__proto_dot_api__pb2.SharedVolumeGetOrCreateResponse.SerializeToString,
|
1756
2075
|
),
|
1757
|
-
'SharedVolumeCreate': grpc.unary_unary_rpc_method_handler(
|
1758
|
-
servicer.SharedVolumeCreate,
|
1759
|
-
request_deserializer=modal__proto_dot_api__pb2.SharedVolumeCreateRequest.FromString,
|
1760
|
-
response_serializer=modal__proto_dot_api__pb2.SharedVolumeCreateResponse.SerializeToString,
|
1761
|
-
),
|
1762
2076
|
'SharedVolumeHeartbeat': grpc.unary_unary_rpc_method_handler(
|
1763
2077
|
servicer.SharedVolumeHeartbeat,
|
1764
2078
|
request_deserializer=modal__proto_dot_api__pb2.SharedVolumeHeartbeatRequest.FromString,
|
@@ -1784,30 +2098,30 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1784
2098
|
request_deserializer=modal__proto_dot_api__pb2.SharedVolumePutFileRequest.FromString,
|
1785
2099
|
response_serializer=modal__proto_dot_api__pb2.SharedVolumePutFileResponse.SerializeToString,
|
1786
2100
|
),
|
1787
|
-
'SharedVolumeGetFile': grpc.unary_unary_rpc_method_handler(
|
1788
|
-
servicer.SharedVolumeGetFile,
|
1789
|
-
request_deserializer=modal__proto_dot_api__pb2.SharedVolumeGetFileRequest.FromString,
|
1790
|
-
response_serializer=modal__proto_dot_api__pb2.SharedVolumeGetFileResponse.SerializeToString,
|
1791
|
-
),
|
1792
2101
|
'SharedVolumeRemoveFile': grpc.unary_unary_rpc_method_handler(
|
1793
2102
|
servicer.SharedVolumeRemoveFile,
|
1794
2103
|
request_deserializer=modal__proto_dot_api__pb2.SharedVolumeRemoveFileRequest.FromString,
|
1795
2104
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1796
2105
|
),
|
1797
|
-
'
|
1798
|
-
servicer.
|
1799
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
1800
|
-
response_serializer=
|
2106
|
+
'TaskClusterHello': grpc.unary_unary_rpc_method_handler(
|
2107
|
+
servicer.TaskClusterHello,
|
2108
|
+
request_deserializer=modal__proto_dot_api__pb2.TaskClusterHelloRequest.FromString,
|
2109
|
+
response_serializer=modal__proto_dot_api__pb2.TaskClusterHelloResponse.SerializeToString,
|
2110
|
+
),
|
2111
|
+
'TaskCurrentInputs': grpc.unary_unary_rpc_method_handler(
|
2112
|
+
servicer.TaskCurrentInputs,
|
2113
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2114
|
+
response_serializer=modal__proto_dot_api__pb2.TaskCurrentInputsResponse.SerializeToString,
|
1801
2115
|
),
|
1802
2116
|
'TaskList': grpc.unary_unary_rpc_method_handler(
|
1803
2117
|
servicer.TaskList,
|
1804
2118
|
request_deserializer=modal__proto_dot_api__pb2.TaskListRequest.FromString,
|
1805
2119
|
response_serializer=modal__proto_dot_api__pb2.TaskListResponse.SerializeToString,
|
1806
2120
|
),
|
1807
|
-
'
|
1808
|
-
servicer.
|
1809
|
-
request_deserializer=
|
1810
|
-
response_serializer=
|
2121
|
+
'TaskResult': grpc.unary_unary_rpc_method_handler(
|
2122
|
+
servicer.TaskResult,
|
2123
|
+
request_deserializer=modal__proto_dot_api__pb2.TaskResultRequest.FromString,
|
2124
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1811
2125
|
),
|
1812
2126
|
'TokenFlowCreate': grpc.unary_unary_rpc_method_handler(
|
1813
2127
|
servicer.TokenFlowCreate,
|
@@ -1829,26 +2143,16 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1829
2143
|
request_deserializer=modal__proto_dot_api__pb2.TunnelStopRequest.FromString,
|
1830
2144
|
response_serializer=modal__proto_dot_api__pb2.TunnelStopResponse.SerializeToString,
|
1831
2145
|
),
|
1832
|
-
'VolumeGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
1833
|
-
servicer.VolumeGetOrCreate,
|
1834
|
-
request_deserializer=modal__proto_dot_api__pb2.VolumeGetOrCreateRequest.FromString,
|
1835
|
-
response_serializer=modal__proto_dot_api__pb2.VolumeGetOrCreateResponse.SerializeToString,
|
1836
|
-
),
|
1837
|
-
'VolumeCreate': grpc.unary_unary_rpc_method_handler(
|
1838
|
-
servicer.VolumeCreate,
|
1839
|
-
request_deserializer=modal__proto_dot_api__pb2.VolumeCreateRequest.FromString,
|
1840
|
-
response_serializer=modal__proto_dot_api__pb2.VolumeCreateResponse.SerializeToString,
|
1841
|
-
),
|
1842
|
-
'VolumeHeartbeat': grpc.unary_unary_rpc_method_handler(
|
1843
|
-
servicer.VolumeHeartbeat,
|
1844
|
-
request_deserializer=modal__proto_dot_api__pb2.VolumeHeartbeatRequest.FromString,
|
1845
|
-
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1846
|
-
),
|
1847
2146
|
'VolumeCommit': grpc.unary_unary_rpc_method_handler(
|
1848
2147
|
servicer.VolumeCommit,
|
1849
2148
|
request_deserializer=modal__proto_dot_api__pb2.VolumeCommitRequest.FromString,
|
1850
2149
|
response_serializer=modal__proto_dot_api__pb2.VolumeCommitResponse.SerializeToString,
|
1851
2150
|
),
|
2151
|
+
'VolumeCopyFiles': grpc.unary_unary_rpc_method_handler(
|
2152
|
+
servicer.VolumeCopyFiles,
|
2153
|
+
request_deserializer=modal__proto_dot_api__pb2.VolumeCopyFilesRequest.FromString,
|
2154
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
2155
|
+
),
|
1852
2156
|
'VolumeDelete': grpc.unary_unary_rpc_method_handler(
|
1853
2157
|
servicer.VolumeDelete,
|
1854
2158
|
request_deserializer=modal__proto_dot_api__pb2.VolumeDeleteRequest.FromString,
|
@@ -1859,6 +2163,16 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1859
2163
|
request_deserializer=modal__proto_dot_api__pb2.VolumeGetFileRequest.FromString,
|
1860
2164
|
response_serializer=modal__proto_dot_api__pb2.VolumeGetFileResponse.SerializeToString,
|
1861
2165
|
),
|
2166
|
+
'VolumeGetOrCreate': grpc.unary_unary_rpc_method_handler(
|
2167
|
+
servicer.VolumeGetOrCreate,
|
2168
|
+
request_deserializer=modal__proto_dot_api__pb2.VolumeGetOrCreateRequest.FromString,
|
2169
|
+
response_serializer=modal__proto_dot_api__pb2.VolumeGetOrCreateResponse.SerializeToString,
|
2170
|
+
),
|
2171
|
+
'VolumeHeartbeat': grpc.unary_unary_rpc_method_handler(
|
2172
|
+
servicer.VolumeHeartbeat,
|
2173
|
+
request_deserializer=modal__proto_dot_api__pb2.VolumeHeartbeatRequest.FromString,
|
2174
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
2175
|
+
),
|
1862
2176
|
'VolumeList': grpc.unary_unary_rpc_method_handler(
|
1863
2177
|
servicer.VolumeList,
|
1864
2178
|
request_deserializer=modal__proto_dot_api__pb2.VolumeListRequest.FromString,
|
@@ -1884,9 +2198,9 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1884
2198
|
request_deserializer=modal__proto_dot_api__pb2.VolumeRemoveFileRequest.FromString,
|
1885
2199
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1886
2200
|
),
|
1887
|
-
'
|
1888
|
-
servicer.
|
1889
|
-
request_deserializer=modal__proto_dot_api__pb2.
|
2201
|
+
'VolumeRename': grpc.unary_unary_rpc_method_handler(
|
2202
|
+
servicer.VolumeRename,
|
2203
|
+
request_deserializer=modal__proto_dot_api__pb2.VolumeRenameRequest.FromString,
|
1890
2204
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
1891
2205
|
),
|
1892
2206
|
'WorkspaceNameLookup': grpc.unary_unary_rpc_method_handler(
|
@@ -1904,6 +2218,23 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
1904
2218
|
class ModalClient(object):
|
1905
2219
|
"""Missing associated documentation comment in .proto file."""
|
1906
2220
|
|
2221
|
+
@staticmethod
|
2222
|
+
def AppClientDisconnect(request,
|
2223
|
+
target,
|
2224
|
+
options=(),
|
2225
|
+
channel_credentials=None,
|
2226
|
+
call_credentials=None,
|
2227
|
+
insecure=False,
|
2228
|
+
compression=None,
|
2229
|
+
wait_for_ready=None,
|
2230
|
+
timeout=None,
|
2231
|
+
metadata=None):
|
2232
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppClientDisconnect',
|
2233
|
+
modal__proto_dot_api__pb2.AppClientDisconnectRequest.SerializeToString,
|
2234
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2235
|
+
options, channel_credentials,
|
2236
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2237
|
+
|
1907
2238
|
@staticmethod
|
1908
2239
|
def AppCreate(request,
|
1909
2240
|
target,
|
@@ -1922,7 +2253,7 @@ class ModalClient(object):
|
|
1922
2253
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
1923
2254
|
|
1924
2255
|
@staticmethod
|
1925
|
-
def
|
2256
|
+
def AppDeploy(request,
|
1926
2257
|
target,
|
1927
2258
|
options=(),
|
1928
2259
|
channel_credentials=None,
|
@@ -1932,14 +2263,14 @@ class ModalClient(object):
|
|
1932
2263
|
wait_for_ready=None,
|
1933
2264
|
timeout=None,
|
1934
2265
|
metadata=None):
|
1935
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
1936
|
-
modal__proto_dot_api__pb2.
|
1937
|
-
|
2266
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppDeploy',
|
2267
|
+
modal__proto_dot_api__pb2.AppDeployRequest.SerializeToString,
|
2268
|
+
modal__proto_dot_api__pb2.AppDeployResponse.FromString,
|
1938
2269
|
options, channel_credentials,
|
1939
2270
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
1940
2271
|
|
1941
2272
|
@staticmethod
|
1942
|
-
def
|
2273
|
+
def AppDeploymentHistory(request,
|
1943
2274
|
target,
|
1944
2275
|
options=(),
|
1945
2276
|
channel_credentials=None,
|
@@ -1949,14 +2280,14 @@ class ModalClient(object):
|
|
1949
2280
|
wait_for_ready=None,
|
1950
2281
|
timeout=None,
|
1951
2282
|
metadata=None):
|
1952
|
-
return grpc.experimental.
|
1953
|
-
modal__proto_dot_api__pb2.
|
1954
|
-
modal__proto_dot_api__pb2.
|
2283
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppDeploymentHistory',
|
2284
|
+
modal__proto_dot_api__pb2.AppDeploymentHistoryRequest.SerializeToString,
|
2285
|
+
modal__proto_dot_api__pb2.AppDeploymentHistoryResponse.FromString,
|
1955
2286
|
options, channel_credentials,
|
1956
2287
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
1957
2288
|
|
1958
2289
|
@staticmethod
|
1959
|
-
def
|
2290
|
+
def AppGetByDeploymentName(request,
|
1960
2291
|
target,
|
1961
2292
|
options=(),
|
1962
2293
|
channel_credentials=None,
|
@@ -1966,9 +2297,43 @@ class ModalClient(object):
|
|
1966
2297
|
wait_for_ready=None,
|
1967
2298
|
timeout=None,
|
1968
2299
|
metadata=None):
|
1969
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
1970
|
-
modal__proto_dot_api__pb2.
|
1971
|
-
|
2300
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppGetByDeploymentName',
|
2301
|
+
modal__proto_dot_api__pb2.AppGetByDeploymentNameRequest.SerializeToString,
|
2302
|
+
modal__proto_dot_api__pb2.AppGetByDeploymentNameResponse.FromString,
|
2303
|
+
options, channel_credentials,
|
2304
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2305
|
+
|
2306
|
+
@staticmethod
|
2307
|
+
def AppGetLayout(request,
|
2308
|
+
target,
|
2309
|
+
options=(),
|
2310
|
+
channel_credentials=None,
|
2311
|
+
call_credentials=None,
|
2312
|
+
insecure=False,
|
2313
|
+
compression=None,
|
2314
|
+
wait_for_ready=None,
|
2315
|
+
timeout=None,
|
2316
|
+
metadata=None):
|
2317
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppGetLayout',
|
2318
|
+
modal__proto_dot_api__pb2.AppGetLayoutRequest.SerializeToString,
|
2319
|
+
modal__proto_dot_api__pb2.AppGetLayoutResponse.FromString,
|
2320
|
+
options, channel_credentials,
|
2321
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2322
|
+
|
2323
|
+
@staticmethod
|
2324
|
+
def AppGetLogs(request,
|
2325
|
+
target,
|
2326
|
+
options=(),
|
2327
|
+
channel_credentials=None,
|
2328
|
+
call_credentials=None,
|
2329
|
+
insecure=False,
|
2330
|
+
compression=None,
|
2331
|
+
wait_for_ready=None,
|
2332
|
+
timeout=None,
|
2333
|
+
metadata=None):
|
2334
|
+
return grpc.experimental.unary_stream(request, target, '/modal.client.ModalClient/AppGetLogs',
|
2335
|
+
modal__proto_dot_api__pb2.AppGetLogsRequest.SerializeToString,
|
2336
|
+
modal__proto_dot_api__pb2.TaskLogsBatch.FromString,
|
1972
2337
|
options, channel_credentials,
|
1973
2338
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
1974
2339
|
|
@@ -1990,7 +2355,7 @@ class ModalClient(object):
|
|
1990
2355
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
1991
2356
|
|
1992
2357
|
@staticmethod
|
1993
|
-
def
|
2358
|
+
def AppGetOrCreate(request,
|
1994
2359
|
target,
|
1995
2360
|
options=(),
|
1996
2361
|
channel_credentials=None,
|
@@ -2000,14 +2365,14 @@ class ModalClient(object):
|
|
2000
2365
|
wait_for_ready=None,
|
2001
2366
|
timeout=None,
|
2002
2367
|
metadata=None):
|
2003
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2004
|
-
modal__proto_dot_api__pb2.
|
2005
|
-
modal__proto_dot_api__pb2.
|
2368
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppGetOrCreate',
|
2369
|
+
modal__proto_dot_api__pb2.AppGetOrCreateRequest.SerializeToString,
|
2370
|
+
modal__proto_dot_api__pb2.AppGetOrCreateResponse.FromString,
|
2006
2371
|
options, channel_credentials,
|
2007
2372
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2008
2373
|
|
2009
2374
|
@staticmethod
|
2010
|
-
def
|
2375
|
+
def AppHeartbeat(request,
|
2011
2376
|
target,
|
2012
2377
|
options=(),
|
2013
2378
|
channel_credentials=None,
|
@@ -2017,14 +2382,14 @@ class ModalClient(object):
|
|
2017
2382
|
wait_for_ready=None,
|
2018
2383
|
timeout=None,
|
2019
2384
|
metadata=None):
|
2020
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2021
|
-
modal__proto_dot_api__pb2.
|
2022
|
-
|
2385
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppHeartbeat',
|
2386
|
+
modal__proto_dot_api__pb2.AppHeartbeatRequest.SerializeToString,
|
2387
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2023
2388
|
options, channel_credentials,
|
2024
2389
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2025
2390
|
|
2026
2391
|
@staticmethod
|
2027
|
-
def
|
2392
|
+
def AppList(request,
|
2028
2393
|
target,
|
2029
2394
|
options=(),
|
2030
2395
|
channel_credentials=None,
|
@@ -2034,14 +2399,14 @@ class ModalClient(object):
|
|
2034
2399
|
wait_for_ready=None,
|
2035
2400
|
timeout=None,
|
2036
2401
|
metadata=None):
|
2037
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2038
|
-
modal__proto_dot_api__pb2.
|
2039
|
-
modal__proto_dot_api__pb2.
|
2402
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppList',
|
2403
|
+
modal__proto_dot_api__pb2.AppListRequest.SerializeToString,
|
2404
|
+
modal__proto_dot_api__pb2.AppListResponse.FromString,
|
2040
2405
|
options, channel_credentials,
|
2041
2406
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2042
2407
|
|
2043
2408
|
@staticmethod
|
2044
|
-
def
|
2409
|
+
def AppLookup(request,
|
2045
2410
|
target,
|
2046
2411
|
options=(),
|
2047
2412
|
channel_credentials=None,
|
@@ -2051,14 +2416,14 @@ class ModalClient(object):
|
|
2051
2416
|
wait_for_ready=None,
|
2052
2417
|
timeout=None,
|
2053
2418
|
metadata=None):
|
2054
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2055
|
-
modal__proto_dot_api__pb2.
|
2056
|
-
modal__proto_dot_api__pb2.
|
2419
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppLookup',
|
2420
|
+
modal__proto_dot_api__pb2.AppLookupRequest.SerializeToString,
|
2421
|
+
modal__proto_dot_api__pb2.AppLookupResponse.FromString,
|
2057
2422
|
options, channel_credentials,
|
2058
2423
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2059
2424
|
|
2060
2425
|
@staticmethod
|
2061
|
-
def
|
2426
|
+
def AppPublish(request,
|
2062
2427
|
target,
|
2063
2428
|
options=(),
|
2064
2429
|
channel_credentials=None,
|
@@ -2068,14 +2433,14 @@ class ModalClient(object):
|
|
2068
2433
|
wait_for_ready=None,
|
2069
2434
|
timeout=None,
|
2070
2435
|
metadata=None):
|
2071
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2072
|
-
modal__proto_dot_api__pb2.
|
2073
|
-
modal__proto_dot_api__pb2.
|
2436
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppPublish',
|
2437
|
+
modal__proto_dot_api__pb2.AppPublishRequest.SerializeToString,
|
2438
|
+
modal__proto_dot_api__pb2.AppPublishResponse.FromString,
|
2074
2439
|
options, channel_credentials,
|
2075
2440
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2076
2441
|
|
2077
2442
|
@staticmethod
|
2078
|
-
def
|
2443
|
+
def AppRollback(request,
|
2079
2444
|
target,
|
2080
2445
|
options=(),
|
2081
2446
|
channel_credentials=None,
|
@@ -2085,14 +2450,14 @@ class ModalClient(object):
|
|
2085
2450
|
wait_for_ready=None,
|
2086
2451
|
timeout=None,
|
2087
2452
|
metadata=None):
|
2088
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2089
|
-
modal__proto_dot_api__pb2.
|
2453
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppRollback',
|
2454
|
+
modal__proto_dot_api__pb2.AppRollbackRequest.SerializeToString,
|
2090
2455
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2091
2456
|
options, channel_credentials,
|
2092
2457
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2093
2458
|
|
2094
2459
|
@staticmethod
|
2095
|
-
def
|
2460
|
+
def AppSetObjects(request,
|
2096
2461
|
target,
|
2097
2462
|
options=(),
|
2098
2463
|
channel_credentials=None,
|
@@ -2102,8 +2467,25 @@ class ModalClient(object):
|
|
2102
2467
|
wait_for_ready=None,
|
2103
2468
|
timeout=None,
|
2104
2469
|
metadata=None):
|
2105
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2106
|
-
modal__proto_dot_api__pb2.
|
2470
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppSetObjects',
|
2471
|
+
modal__proto_dot_api__pb2.AppSetObjectsRequest.SerializeToString,
|
2472
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2473
|
+
options, channel_credentials,
|
2474
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2475
|
+
|
2476
|
+
@staticmethod
|
2477
|
+
def AppStop(request,
|
2478
|
+
target,
|
2479
|
+
options=(),
|
2480
|
+
channel_credentials=None,
|
2481
|
+
call_credentials=None,
|
2482
|
+
insecure=False,
|
2483
|
+
compression=None,
|
2484
|
+
wait_for_ready=None,
|
2485
|
+
timeout=None,
|
2486
|
+
metadata=None):
|
2487
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/AppStop',
|
2488
|
+
modal__proto_dot_api__pb2.AppStopRequest.SerializeToString,
|
2107
2489
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2108
2490
|
options, channel_credentials,
|
2109
2491
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
@@ -2177,7 +2559,7 @@ class ModalClient(object):
|
|
2177
2559
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2178
2560
|
|
2179
2561
|
@staticmethod
|
2180
|
-
def
|
2562
|
+
def ClientHello(request,
|
2181
2563
|
target,
|
2182
2564
|
options=(),
|
2183
2565
|
channel_credentials=None,
|
@@ -2187,14 +2569,14 @@ class ModalClient(object):
|
|
2187
2569
|
wait_for_ready=None,
|
2188
2570
|
timeout=None,
|
2189
2571
|
metadata=None):
|
2190
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2191
|
-
|
2192
|
-
modal__proto_dot_api__pb2.
|
2572
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ClientHello',
|
2573
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
2574
|
+
modal__proto_dot_api__pb2.ClientHelloResponse.FromString,
|
2193
2575
|
options, channel_credentials,
|
2194
2576
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2195
2577
|
|
2196
2578
|
@staticmethod
|
2197
|
-
def
|
2579
|
+
def ContainerCheckpoint(request,
|
2198
2580
|
target,
|
2199
2581
|
options=(),
|
2200
2582
|
channel_credentials=None,
|
@@ -2204,14 +2586,48 @@ class ModalClient(object):
|
|
2204
2586
|
wait_for_ready=None,
|
2205
2587
|
timeout=None,
|
2206
2588
|
metadata=None):
|
2207
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2208
|
-
|
2209
|
-
|
2589
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerCheckpoint',
|
2590
|
+
modal__proto_dot_api__pb2.ContainerCheckpointRequest.SerializeToString,
|
2591
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2592
|
+
options, channel_credentials,
|
2593
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2594
|
+
|
2595
|
+
@staticmethod
|
2596
|
+
def ContainerExec(request,
|
2597
|
+
target,
|
2598
|
+
options=(),
|
2599
|
+
channel_credentials=None,
|
2600
|
+
call_credentials=None,
|
2601
|
+
insecure=False,
|
2602
|
+
compression=None,
|
2603
|
+
wait_for_ready=None,
|
2604
|
+
timeout=None,
|
2605
|
+
metadata=None):
|
2606
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerExec',
|
2607
|
+
modal__proto_dot_api__pb2.ContainerExecRequest.SerializeToString,
|
2608
|
+
modal__proto_dot_api__pb2.ContainerExecResponse.FromString,
|
2609
|
+
options, channel_credentials,
|
2610
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2611
|
+
|
2612
|
+
@staticmethod
|
2613
|
+
def ContainerExecGetOutput(request,
|
2614
|
+
target,
|
2615
|
+
options=(),
|
2616
|
+
channel_credentials=None,
|
2617
|
+
call_credentials=None,
|
2618
|
+
insecure=False,
|
2619
|
+
compression=None,
|
2620
|
+
wait_for_ready=None,
|
2621
|
+
timeout=None,
|
2622
|
+
metadata=None):
|
2623
|
+
return grpc.experimental.unary_stream(request, target, '/modal.client.ModalClient/ContainerExecGetOutput',
|
2624
|
+
modal__proto_dot_api__pb2.ContainerExecGetOutputRequest.SerializeToString,
|
2625
|
+
modal__proto_dot_api__pb2.RuntimeOutputBatch.FromString,
|
2210
2626
|
options, channel_credentials,
|
2211
2627
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2212
2628
|
|
2213
2629
|
@staticmethod
|
2214
|
-
def
|
2630
|
+
def ContainerExecPutInput(request,
|
2215
2631
|
target,
|
2216
2632
|
options=(),
|
2217
2633
|
channel_credentials=None,
|
@@ -2221,14 +2637,14 @@ class ModalClient(object):
|
|
2221
2637
|
wait_for_ready=None,
|
2222
2638
|
timeout=None,
|
2223
2639
|
metadata=None):
|
2224
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2225
|
-
modal__proto_dot_api__pb2.
|
2640
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerExecPutInput',
|
2641
|
+
modal__proto_dot_api__pb2.ContainerExecPutInputRequest.SerializeToString,
|
2226
2642
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2227
2643
|
options, channel_credentials,
|
2228
2644
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2229
2645
|
|
2230
2646
|
@staticmethod
|
2231
|
-
def
|
2647
|
+
def ContainerExecWait(request,
|
2232
2648
|
target,
|
2233
2649
|
options=(),
|
2234
2650
|
channel_credentials=None,
|
@@ -2238,14 +2654,48 @@ class ModalClient(object):
|
|
2238
2654
|
wait_for_ready=None,
|
2239
2655
|
timeout=None,
|
2240
2656
|
metadata=None):
|
2241
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2242
|
-
modal__proto_dot_api__pb2.
|
2243
|
-
modal__proto_dot_api__pb2.
|
2657
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerExecWait',
|
2658
|
+
modal__proto_dot_api__pb2.ContainerExecWaitRequest.SerializeToString,
|
2659
|
+
modal__proto_dot_api__pb2.ContainerExecWaitResponse.FromString,
|
2660
|
+
options, channel_credentials,
|
2661
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2662
|
+
|
2663
|
+
@staticmethod
|
2664
|
+
def ContainerFilesystemExec(request,
|
2665
|
+
target,
|
2666
|
+
options=(),
|
2667
|
+
channel_credentials=None,
|
2668
|
+
call_credentials=None,
|
2669
|
+
insecure=False,
|
2670
|
+
compression=None,
|
2671
|
+
wait_for_ready=None,
|
2672
|
+
timeout=None,
|
2673
|
+
metadata=None):
|
2674
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerFilesystemExec',
|
2675
|
+
modal__proto_dot_api__pb2.ContainerFilesystemExecRequest.SerializeToString,
|
2676
|
+
modal__proto_dot_api__pb2.ContainerFilesystemExecResponse.FromString,
|
2677
|
+
options, channel_credentials,
|
2678
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2679
|
+
|
2680
|
+
@staticmethod
|
2681
|
+
def ContainerFilesystemExecGetOutput(request,
|
2682
|
+
target,
|
2683
|
+
options=(),
|
2684
|
+
channel_credentials=None,
|
2685
|
+
call_credentials=None,
|
2686
|
+
insecure=False,
|
2687
|
+
compression=None,
|
2688
|
+
wait_for_ready=None,
|
2689
|
+
timeout=None,
|
2690
|
+
metadata=None):
|
2691
|
+
return grpc.experimental.unary_stream(request, target, '/modal.client.ModalClient/ContainerFilesystemExecGetOutput',
|
2692
|
+
modal__proto_dot_api__pb2.ContainerFilesystemExecGetOutputRequest.SerializeToString,
|
2693
|
+
modal__proto_dot_api__pb2.FilesystemRuntimeOutputBatch.FromString,
|
2244
2694
|
options, channel_credentials,
|
2245
2695
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2246
2696
|
|
2247
2697
|
@staticmethod
|
2248
|
-
def
|
2698
|
+
def ContainerHeartbeat(request,
|
2249
2699
|
target,
|
2250
2700
|
options=(),
|
2251
2701
|
channel_credentials=None,
|
@@ -2255,14 +2705,14 @@ class ModalClient(object):
|
|
2255
2705
|
wait_for_ready=None,
|
2256
2706
|
timeout=None,
|
2257
2707
|
metadata=None):
|
2258
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2259
|
-
modal__proto_dot_api__pb2.
|
2260
|
-
modal__proto_dot_api__pb2.
|
2708
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerHeartbeat',
|
2709
|
+
modal__proto_dot_api__pb2.ContainerHeartbeatRequest.SerializeToString,
|
2710
|
+
modal__proto_dot_api__pb2.ContainerHeartbeatResponse.FromString,
|
2261
2711
|
options, channel_credentials,
|
2262
2712
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2263
2713
|
|
2264
2714
|
@staticmethod
|
2265
|
-
def
|
2715
|
+
def ContainerHello(request,
|
2266
2716
|
target,
|
2267
2717
|
options=(),
|
2268
2718
|
channel_credentials=None,
|
@@ -2272,14 +2722,14 @@ class ModalClient(object):
|
|
2272
2722
|
wait_for_ready=None,
|
2273
2723
|
timeout=None,
|
2274
2724
|
metadata=None):
|
2275
|
-
return grpc.experimental.
|
2276
|
-
|
2277
|
-
|
2725
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerHello',
|
2726
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
2727
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2278
2728
|
options, channel_credentials,
|
2279
2729
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2280
2730
|
|
2281
2731
|
@staticmethod
|
2282
|
-
def
|
2732
|
+
def ContainerLog(request,
|
2283
2733
|
target,
|
2284
2734
|
options=(),
|
2285
2735
|
channel_credentials=None,
|
@@ -2289,14 +2739,14 @@ class ModalClient(object):
|
|
2289
2739
|
wait_for_ready=None,
|
2290
2740
|
timeout=None,
|
2291
2741
|
metadata=None):
|
2292
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2293
|
-
modal__proto_dot_api__pb2.
|
2742
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerLog',
|
2743
|
+
modal__proto_dot_api__pb2.ContainerLogRequest.SerializeToString,
|
2294
2744
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2295
2745
|
options, channel_credentials,
|
2296
2746
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2297
2747
|
|
2298
2748
|
@staticmethod
|
2299
|
-
def
|
2749
|
+
def ContainerStop(request,
|
2300
2750
|
target,
|
2301
2751
|
options=(),
|
2302
2752
|
channel_credentials=None,
|
@@ -2306,9 +2756,9 @@ class ModalClient(object):
|
|
2306
2756
|
wait_for_ready=None,
|
2307
2757
|
timeout=None,
|
2308
2758
|
metadata=None):
|
2309
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2310
|
-
modal__proto_dot_api__pb2.
|
2311
|
-
|
2759
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ContainerStop',
|
2760
|
+
modal__proto_dot_api__pb2.ContainerStopRequest.SerializeToString,
|
2761
|
+
modal__proto_dot_api__pb2.ContainerStopResponse.FromString,
|
2312
2762
|
options, channel_credentials,
|
2313
2763
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2314
2764
|
|
@@ -2363,23 +2813,6 @@ class ModalClient(object):
|
|
2363
2813
|
options, channel_credentials,
|
2364
2814
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2365
2815
|
|
2366
|
-
@staticmethod
|
2367
|
-
def DictCreate(request,
|
2368
|
-
target,
|
2369
|
-
options=(),
|
2370
|
-
channel_credentials=None,
|
2371
|
-
call_credentials=None,
|
2372
|
-
insecure=False,
|
2373
|
-
compression=None,
|
2374
|
-
wait_for_ready=None,
|
2375
|
-
timeout=None,
|
2376
|
-
metadata=None):
|
2377
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/DictCreate',
|
2378
|
-
modal__proto_dot_api__pb2.DictCreateRequest.SerializeToString,
|
2379
|
-
modal__proto_dot_api__pb2.DictCreateResponse.FromString,
|
2380
|
-
options, channel_credentials,
|
2381
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2382
|
-
|
2383
2816
|
@staticmethod
|
2384
2817
|
def DictDelete(request,
|
2385
2818
|
target,
|
@@ -2516,6 +2949,23 @@ class ModalClient(object):
|
|
2516
2949
|
options, channel_credentials,
|
2517
2950
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2518
2951
|
|
2952
|
+
@staticmethod
|
2953
|
+
def DomainCertificateVerify(request,
|
2954
|
+
target,
|
2955
|
+
options=(),
|
2956
|
+
channel_credentials=None,
|
2957
|
+
call_credentials=None,
|
2958
|
+
insecure=False,
|
2959
|
+
compression=None,
|
2960
|
+
wait_for_ready=None,
|
2961
|
+
timeout=None,
|
2962
|
+
metadata=None):
|
2963
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/DomainCertificateVerify',
|
2964
|
+
modal__proto_dot_api__pb2.DomainCertificateVerifyRequest.SerializeToString,
|
2965
|
+
modal__proto_dot_api__pb2.DomainCertificateVerifyResponse.FromString,
|
2966
|
+
options, channel_credentials,
|
2967
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2968
|
+
|
2519
2969
|
@staticmethod
|
2520
2970
|
def DomainCreate(request,
|
2521
2971
|
target,
|
@@ -2551,7 +3001,7 @@ class ModalClient(object):
|
|
2551
3001
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2552
3002
|
|
2553
3003
|
@staticmethod
|
2554
|
-
def
|
3004
|
+
def EnvironmentCreate(request,
|
2555
3005
|
target,
|
2556
3006
|
options=(),
|
2557
3007
|
channel_credentials=None,
|
@@ -2561,14 +3011,14 @@ class ModalClient(object):
|
|
2561
3011
|
wait_for_ready=None,
|
2562
3012
|
timeout=None,
|
2563
3013
|
metadata=None):
|
2564
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2565
|
-
modal__proto_dot_api__pb2.
|
2566
|
-
|
3014
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/EnvironmentCreate',
|
3015
|
+
modal__proto_dot_api__pb2.EnvironmentCreateRequest.SerializeToString,
|
3016
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2567
3017
|
options, channel_credentials,
|
2568
3018
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2569
3019
|
|
2570
3020
|
@staticmethod
|
2571
|
-
def
|
3021
|
+
def EnvironmentDelete(request,
|
2572
3022
|
target,
|
2573
3023
|
options=(),
|
2574
3024
|
channel_credentials=None,
|
@@ -2578,14 +3028,14 @@ class ModalClient(object):
|
|
2578
3028
|
wait_for_ready=None,
|
2579
3029
|
timeout=None,
|
2580
3030
|
metadata=None):
|
2581
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2582
|
-
modal__proto_dot_api__pb2.
|
3031
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/EnvironmentDelete',
|
3032
|
+
modal__proto_dot_api__pb2.EnvironmentDeleteRequest.SerializeToString,
|
2583
3033
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2584
3034
|
options, channel_credentials,
|
2585
3035
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2586
3036
|
|
2587
3037
|
@staticmethod
|
2588
|
-
def
|
3038
|
+
def EnvironmentGetOrCreate(request,
|
2589
3039
|
target,
|
2590
3040
|
options=(),
|
2591
3041
|
channel_credentials=None,
|
@@ -2595,14 +3045,14 @@ class ModalClient(object):
|
|
2595
3045
|
wait_for_ready=None,
|
2596
3046
|
timeout=None,
|
2597
3047
|
metadata=None):
|
2598
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2599
|
-
|
2600
|
-
modal__proto_dot_api__pb2.
|
3048
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/EnvironmentGetOrCreate',
|
3049
|
+
modal__proto_dot_api__pb2.EnvironmentGetOrCreateRequest.SerializeToString,
|
3050
|
+
modal__proto_dot_api__pb2.EnvironmentGetOrCreateResponse.FromString,
|
2601
3051
|
options, channel_credentials,
|
2602
3052
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2603
3053
|
|
2604
3054
|
@staticmethod
|
2605
|
-
def
|
3055
|
+
def EnvironmentList(request,
|
2606
3056
|
target,
|
2607
3057
|
options=(),
|
2608
3058
|
channel_credentials=None,
|
@@ -2612,9 +3062,9 @@ class ModalClient(object):
|
|
2612
3062
|
wait_for_ready=None,
|
2613
3063
|
timeout=None,
|
2614
3064
|
metadata=None):
|
2615
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2616
|
-
|
2617
|
-
|
3065
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/EnvironmentList',
|
3066
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
3067
|
+
modal__proto_dot_api__pb2.EnvironmentListResponse.FromString,
|
2618
3068
|
options, channel_credentials,
|
2619
3069
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2620
3070
|
|
@@ -2635,6 +3085,23 @@ class ModalClient(object):
|
|
2635
3085
|
options, channel_credentials,
|
2636
3086
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2637
3087
|
|
3088
|
+
@staticmethod
|
3089
|
+
def FunctionAsyncInvoke(request,
|
3090
|
+
target,
|
3091
|
+
options=(),
|
3092
|
+
channel_credentials=None,
|
3093
|
+
call_credentials=None,
|
3094
|
+
insecure=False,
|
3095
|
+
compression=None,
|
3096
|
+
wait_for_ready=None,
|
3097
|
+
timeout=None,
|
3098
|
+
metadata=None):
|
3099
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/FunctionAsyncInvoke',
|
3100
|
+
modal__proto_dot_api__pb2.FunctionAsyncInvokeRequest.SerializeToString,
|
3101
|
+
modal__proto_dot_api__pb2.FunctionAsyncInvokeResponse.FromString,
|
3102
|
+
options, channel_credentials,
|
3103
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3104
|
+
|
2638
3105
|
@staticmethod
|
2639
3106
|
def FunctionBindParams(request,
|
2640
3107
|
target,
|
@@ -2652,6 +3119,91 @@ class ModalClient(object):
|
|
2652
3119
|
options, channel_credentials,
|
2653
3120
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2654
3121
|
|
3122
|
+
@staticmethod
|
3123
|
+
def FunctionCallCancel(request,
|
3124
|
+
target,
|
3125
|
+
options=(),
|
3126
|
+
channel_credentials=None,
|
3127
|
+
call_credentials=None,
|
3128
|
+
insecure=False,
|
3129
|
+
compression=None,
|
3130
|
+
wait_for_ready=None,
|
3131
|
+
timeout=None,
|
3132
|
+
metadata=None):
|
3133
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/FunctionCallCancel',
|
3134
|
+
modal__proto_dot_api__pb2.FunctionCallCancelRequest.SerializeToString,
|
3135
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3136
|
+
options, channel_credentials,
|
3137
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3138
|
+
|
3139
|
+
@staticmethod
|
3140
|
+
def FunctionCallGetDataIn(request,
|
3141
|
+
target,
|
3142
|
+
options=(),
|
3143
|
+
channel_credentials=None,
|
3144
|
+
call_credentials=None,
|
3145
|
+
insecure=False,
|
3146
|
+
compression=None,
|
3147
|
+
wait_for_ready=None,
|
3148
|
+
timeout=None,
|
3149
|
+
metadata=None):
|
3150
|
+
return grpc.experimental.unary_stream(request, target, '/modal.client.ModalClient/FunctionCallGetDataIn',
|
3151
|
+
modal__proto_dot_api__pb2.FunctionCallGetDataRequest.SerializeToString,
|
3152
|
+
modal__proto_dot_api__pb2.DataChunk.FromString,
|
3153
|
+
options, channel_credentials,
|
3154
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3155
|
+
|
3156
|
+
@staticmethod
|
3157
|
+
def FunctionCallGetDataOut(request,
|
3158
|
+
target,
|
3159
|
+
options=(),
|
3160
|
+
channel_credentials=None,
|
3161
|
+
call_credentials=None,
|
3162
|
+
insecure=False,
|
3163
|
+
compression=None,
|
3164
|
+
wait_for_ready=None,
|
3165
|
+
timeout=None,
|
3166
|
+
metadata=None):
|
3167
|
+
return grpc.experimental.unary_stream(request, target, '/modal.client.ModalClient/FunctionCallGetDataOut',
|
3168
|
+
modal__proto_dot_api__pb2.FunctionCallGetDataRequest.SerializeToString,
|
3169
|
+
modal__proto_dot_api__pb2.DataChunk.FromString,
|
3170
|
+
options, channel_credentials,
|
3171
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3172
|
+
|
3173
|
+
@staticmethod
|
3174
|
+
def FunctionCallList(request,
|
3175
|
+
target,
|
3176
|
+
options=(),
|
3177
|
+
channel_credentials=None,
|
3178
|
+
call_credentials=None,
|
3179
|
+
insecure=False,
|
3180
|
+
compression=None,
|
3181
|
+
wait_for_ready=None,
|
3182
|
+
timeout=None,
|
3183
|
+
metadata=None):
|
3184
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/FunctionCallList',
|
3185
|
+
modal__proto_dot_api__pb2.FunctionCallListRequest.SerializeToString,
|
3186
|
+
modal__proto_dot_api__pb2.FunctionCallListResponse.FromString,
|
3187
|
+
options, channel_credentials,
|
3188
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3189
|
+
|
3190
|
+
@staticmethod
|
3191
|
+
def FunctionCallPutDataOut(request,
|
3192
|
+
target,
|
3193
|
+
options=(),
|
3194
|
+
channel_credentials=None,
|
3195
|
+
call_credentials=None,
|
3196
|
+
insecure=False,
|
3197
|
+
compression=None,
|
3198
|
+
wait_for_ready=None,
|
3199
|
+
timeout=None,
|
3200
|
+
metadata=None):
|
3201
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/FunctionCallPutDataOut',
|
3202
|
+
modal__proto_dot_api__pb2.FunctionCallPutDataRequest.SerializeToString,
|
3203
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3204
|
+
options, channel_credentials,
|
3205
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3206
|
+
|
2655
3207
|
@staticmethod
|
2656
3208
|
def FunctionCreate(request,
|
2657
3209
|
target,
|
@@ -2720,6 +3272,23 @@ class ModalClient(object):
|
|
2720
3272
|
options, channel_credentials,
|
2721
3273
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2722
3274
|
|
3275
|
+
@staticmethod
|
3276
|
+
def FunctionGetDynamicConcurrency(request,
|
3277
|
+
target,
|
3278
|
+
options=(),
|
3279
|
+
channel_credentials=None,
|
3280
|
+
call_credentials=None,
|
3281
|
+
insecure=False,
|
3282
|
+
compression=None,
|
3283
|
+
wait_for_ready=None,
|
3284
|
+
timeout=None,
|
3285
|
+
metadata=None):
|
3286
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/FunctionGetDynamicConcurrency',
|
3287
|
+
modal__proto_dot_api__pb2.FunctionGetDynamicConcurrencyRequest.SerializeToString,
|
3288
|
+
modal__proto_dot_api__pb2.FunctionGetDynamicConcurrencyResponse.FromString,
|
3289
|
+
options, channel_credentials,
|
3290
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3291
|
+
|
2723
3292
|
@staticmethod
|
2724
3293
|
def FunctionGetInputs(request,
|
2725
3294
|
target,
|
@@ -2839,6 +3408,40 @@ class ModalClient(object):
|
|
2839
3408
|
options, channel_credentials,
|
2840
3409
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2841
3410
|
|
3411
|
+
@staticmethod
|
3412
|
+
def FunctionRetryInputs(request,
|
3413
|
+
target,
|
3414
|
+
options=(),
|
3415
|
+
channel_credentials=None,
|
3416
|
+
call_credentials=None,
|
3417
|
+
insecure=False,
|
3418
|
+
compression=None,
|
3419
|
+
wait_for_ready=None,
|
3420
|
+
timeout=None,
|
3421
|
+
metadata=None):
|
3422
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/FunctionRetryInputs',
|
3423
|
+
modal__proto_dot_api__pb2.FunctionRetryInputsRequest.SerializeToString,
|
3424
|
+
modal__proto_dot_api__pb2.FunctionRetryInputsResponse.FromString,
|
3425
|
+
options, channel_credentials,
|
3426
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3427
|
+
|
3428
|
+
@staticmethod
|
3429
|
+
def FunctionStartPtyShell(request,
|
3430
|
+
target,
|
3431
|
+
options=(),
|
3432
|
+
channel_credentials=None,
|
3433
|
+
call_credentials=None,
|
3434
|
+
insecure=False,
|
3435
|
+
compression=None,
|
3436
|
+
wait_for_ready=None,
|
3437
|
+
timeout=None,
|
3438
|
+
metadata=None):
|
3439
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/FunctionStartPtyShell',
|
3440
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
3441
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3442
|
+
options, channel_credentials,
|
3443
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3444
|
+
|
2842
3445
|
@staticmethod
|
2843
3446
|
def FunctionUpdateSchedulingParams(request,
|
2844
3447
|
target,
|
@@ -2857,7 +3460,7 @@ class ModalClient(object):
|
|
2857
3460
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2858
3461
|
|
2859
3462
|
@staticmethod
|
2860
|
-
def
|
3463
|
+
def ImageFromId(request,
|
2861
3464
|
target,
|
2862
3465
|
options=(),
|
2863
3466
|
channel_credentials=None,
|
@@ -2867,14 +3470,48 @@ class ModalClient(object):
|
|
2867
3470
|
wait_for_ready=None,
|
2868
3471
|
timeout=None,
|
2869
3472
|
metadata=None):
|
2870
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2871
|
-
modal__proto_dot_api__pb2.
|
2872
|
-
|
3473
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ImageFromId',
|
3474
|
+
modal__proto_dot_api__pb2.ImageFromIdRequest.SerializeToString,
|
3475
|
+
modal__proto_dot_api__pb2.ImageFromIdResponse.FromString,
|
3476
|
+
options, channel_credentials,
|
3477
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3478
|
+
|
3479
|
+
@staticmethod
|
3480
|
+
def ImageGetOrCreate(request,
|
3481
|
+
target,
|
3482
|
+
options=(),
|
3483
|
+
channel_credentials=None,
|
3484
|
+
call_credentials=None,
|
3485
|
+
insecure=False,
|
3486
|
+
compression=None,
|
3487
|
+
wait_for_ready=None,
|
3488
|
+
timeout=None,
|
3489
|
+
metadata=None):
|
3490
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ImageGetOrCreate',
|
3491
|
+
modal__proto_dot_api__pb2.ImageGetOrCreateRequest.SerializeToString,
|
3492
|
+
modal__proto_dot_api__pb2.ImageGetOrCreateResponse.FromString,
|
3493
|
+
options, channel_credentials,
|
3494
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3495
|
+
|
3496
|
+
@staticmethod
|
3497
|
+
def ImageJoinStreaming(request,
|
3498
|
+
target,
|
3499
|
+
options=(),
|
3500
|
+
channel_credentials=None,
|
3501
|
+
call_credentials=None,
|
3502
|
+
insecure=False,
|
3503
|
+
compression=None,
|
3504
|
+
wait_for_ready=None,
|
3505
|
+
timeout=None,
|
3506
|
+
metadata=None):
|
3507
|
+
return grpc.experimental.unary_stream(request, target, '/modal.client.ModalClient/ImageJoinStreaming',
|
3508
|
+
modal__proto_dot_api__pb2.ImageJoinStreamingRequest.SerializeToString,
|
3509
|
+
modal__proto_dot_api__pb2.ImageJoinStreamingResponse.FromString,
|
2873
3510
|
options, channel_credentials,
|
2874
3511
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2875
3512
|
|
2876
3513
|
@staticmethod
|
2877
|
-
def
|
3514
|
+
def MountGetOrCreate(request,
|
2878
3515
|
target,
|
2879
3516
|
options=(),
|
2880
3517
|
channel_credentials=None,
|
@@ -2884,14 +3521,14 @@ class ModalClient(object):
|
|
2884
3521
|
wait_for_ready=None,
|
2885
3522
|
timeout=None,
|
2886
3523
|
metadata=None):
|
2887
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2888
|
-
modal__proto_dot_api__pb2.
|
2889
|
-
modal__proto_dot_api__pb2.
|
3524
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/MountGetOrCreate',
|
3525
|
+
modal__proto_dot_api__pb2.MountGetOrCreateRequest.SerializeToString,
|
3526
|
+
modal__proto_dot_api__pb2.MountGetOrCreateResponse.FromString,
|
2890
3527
|
options, channel_credentials,
|
2891
3528
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2892
3529
|
|
2893
3530
|
@staticmethod
|
2894
|
-
def
|
3531
|
+
def MountPutFile(request,
|
2895
3532
|
target,
|
2896
3533
|
options=(),
|
2897
3534
|
channel_credentials=None,
|
@@ -2901,14 +3538,14 @@ class ModalClient(object):
|
|
2901
3538
|
wait_for_ready=None,
|
2902
3539
|
timeout=None,
|
2903
3540
|
metadata=None):
|
2904
|
-
return grpc.experimental.
|
2905
|
-
modal__proto_dot_api__pb2.
|
2906
|
-
modal__proto_dot_api__pb2.
|
3541
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/MountPutFile',
|
3542
|
+
modal__proto_dot_api__pb2.MountPutFileRequest.SerializeToString,
|
3543
|
+
modal__proto_dot_api__pb2.MountPutFileResponse.FromString,
|
2907
3544
|
options, channel_credentials,
|
2908
3545
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2909
3546
|
|
2910
3547
|
@staticmethod
|
2911
|
-
def
|
3548
|
+
def ProxyCreate(request,
|
2912
3549
|
target,
|
2913
3550
|
options=(),
|
2914
3551
|
channel_credentials=None,
|
@@ -2918,14 +3555,14 @@ class ModalClient(object):
|
|
2918
3555
|
wait_for_ready=None,
|
2919
3556
|
timeout=None,
|
2920
3557
|
metadata=None):
|
2921
|
-
return grpc.experimental.
|
2922
|
-
modal__proto_dot_api__pb2.
|
2923
|
-
modal__proto_dot_api__pb2.
|
3558
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ProxyCreate',
|
3559
|
+
modal__proto_dot_api__pb2.ProxyCreateRequest.SerializeToString,
|
3560
|
+
modal__proto_dot_api__pb2.ProxyCreateResponse.FromString,
|
2924
3561
|
options, channel_credentials,
|
2925
3562
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2926
3563
|
|
2927
3564
|
@staticmethod
|
2928
|
-
def
|
3565
|
+
def ProxyDelete(request,
|
2929
3566
|
target,
|
2930
3567
|
options=(),
|
2931
3568
|
channel_credentials=None,
|
@@ -2935,14 +3572,14 @@ class ModalClient(object):
|
|
2935
3572
|
wait_for_ready=None,
|
2936
3573
|
timeout=None,
|
2937
3574
|
metadata=None):
|
2938
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2939
|
-
modal__proto_dot_api__pb2.
|
3575
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ProxyDelete',
|
3576
|
+
modal__proto_dot_api__pb2.ProxyDeleteRequest.SerializeToString,
|
2940
3577
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
2941
3578
|
options, channel_credentials,
|
2942
3579
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2943
3580
|
|
2944
3581
|
@staticmethod
|
2945
|
-
def
|
3582
|
+
def ProxyGet(request,
|
2946
3583
|
target,
|
2947
3584
|
options=(),
|
2948
3585
|
channel_credentials=None,
|
@@ -2952,14 +3589,14 @@ class ModalClient(object):
|
|
2952
3589
|
wait_for_ready=None,
|
2953
3590
|
timeout=None,
|
2954
3591
|
metadata=None):
|
2955
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2956
|
-
|
2957
|
-
|
3592
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ProxyGet',
|
3593
|
+
modal__proto_dot_api__pb2.ProxyGetRequest.SerializeToString,
|
3594
|
+
modal__proto_dot_api__pb2.ProxyGetResponse.FromString,
|
2958
3595
|
options, channel_credentials,
|
2959
3596
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2960
3597
|
|
2961
3598
|
@staticmethod
|
2962
|
-
def
|
3599
|
+
def ProxyGetOrCreate(request,
|
2963
3600
|
target,
|
2964
3601
|
options=(),
|
2965
3602
|
channel_credentials=None,
|
@@ -2969,14 +3606,14 @@ class ModalClient(object):
|
|
2969
3606
|
wait_for_ready=None,
|
2970
3607
|
timeout=None,
|
2971
3608
|
metadata=None):
|
2972
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
2973
|
-
modal__proto_dot_api__pb2.
|
2974
|
-
modal__proto_dot_api__pb2.
|
3609
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ProxyGetOrCreate',
|
3610
|
+
modal__proto_dot_api__pb2.ProxyGetOrCreateRequest.SerializeToString,
|
3611
|
+
modal__proto_dot_api__pb2.ProxyGetOrCreateResponse.FromString,
|
2975
3612
|
options, channel_credentials,
|
2976
3613
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2977
3614
|
|
2978
3615
|
@staticmethod
|
2979
|
-
def
|
3616
|
+
def ProxyList(request,
|
2980
3617
|
target,
|
2981
3618
|
options=(),
|
2982
3619
|
channel_credentials=None,
|
@@ -2986,14 +3623,14 @@ class ModalClient(object):
|
|
2986
3623
|
wait_for_ready=None,
|
2987
3624
|
timeout=None,
|
2988
3625
|
metadata=None):
|
2989
|
-
return grpc.experimental.
|
2990
|
-
|
2991
|
-
modal__proto_dot_api__pb2.
|
3626
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/ProxyList',
|
3627
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
3628
|
+
modal__proto_dot_api__pb2.ProxyListResponse.FromString,
|
2992
3629
|
options, channel_credentials,
|
2993
3630
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
2994
3631
|
|
2995
3632
|
@staticmethod
|
2996
|
-
def
|
3633
|
+
def QueueClear(request,
|
2997
3634
|
target,
|
2998
3635
|
options=(),
|
2999
3636
|
channel_credentials=None,
|
@@ -3003,14 +3640,14 @@ class ModalClient(object):
|
|
3003
3640
|
wait_for_ready=None,
|
3004
3641
|
timeout=None,
|
3005
3642
|
metadata=None):
|
3006
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3007
|
-
modal__proto_dot_api__pb2.
|
3008
|
-
|
3643
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueClear',
|
3644
|
+
modal__proto_dot_api__pb2.QueueClearRequest.SerializeToString,
|
3645
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3009
3646
|
options, channel_credentials,
|
3010
3647
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3011
3648
|
|
3012
3649
|
@staticmethod
|
3013
|
-
def
|
3650
|
+
def QueueDelete(request,
|
3014
3651
|
target,
|
3015
3652
|
options=(),
|
3016
3653
|
channel_credentials=None,
|
@@ -3020,14 +3657,14 @@ class ModalClient(object):
|
|
3020
3657
|
wait_for_ready=None,
|
3021
3658
|
timeout=None,
|
3022
3659
|
metadata=None):
|
3023
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3024
|
-
modal__proto_dot_api__pb2.
|
3025
|
-
|
3660
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueDelete',
|
3661
|
+
modal__proto_dot_api__pb2.QueueDeleteRequest.SerializeToString,
|
3662
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3026
3663
|
options, channel_credentials,
|
3027
3664
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3028
3665
|
|
3029
3666
|
@staticmethod
|
3030
|
-
def
|
3667
|
+
def QueueGet(request,
|
3031
3668
|
target,
|
3032
3669
|
options=(),
|
3033
3670
|
channel_credentials=None,
|
@@ -3037,14 +3674,14 @@ class ModalClient(object):
|
|
3037
3674
|
wait_for_ready=None,
|
3038
3675
|
timeout=None,
|
3039
3676
|
metadata=None):
|
3040
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3041
|
-
modal__proto_dot_api__pb2.
|
3042
|
-
modal__proto_dot_api__pb2.
|
3677
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueGet',
|
3678
|
+
modal__proto_dot_api__pb2.QueueGetRequest.SerializeToString,
|
3679
|
+
modal__proto_dot_api__pb2.QueueGetResponse.FromString,
|
3043
3680
|
options, channel_credentials,
|
3044
3681
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3045
3682
|
|
3046
3683
|
@staticmethod
|
3047
|
-
def
|
3684
|
+
def QueueGetOrCreate(request,
|
3048
3685
|
target,
|
3049
3686
|
options=(),
|
3050
3687
|
channel_credentials=None,
|
@@ -3054,14 +3691,14 @@ class ModalClient(object):
|
|
3054
3691
|
wait_for_ready=None,
|
3055
3692
|
timeout=None,
|
3056
3693
|
metadata=None):
|
3057
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3058
|
-
modal__proto_dot_api__pb2.
|
3059
|
-
modal__proto_dot_api__pb2.
|
3694
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueGetOrCreate',
|
3695
|
+
modal__proto_dot_api__pb2.QueueGetOrCreateRequest.SerializeToString,
|
3696
|
+
modal__proto_dot_api__pb2.QueueGetOrCreateResponse.FromString,
|
3060
3697
|
options, channel_credentials,
|
3061
3698
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3062
3699
|
|
3063
3700
|
@staticmethod
|
3064
|
-
def
|
3701
|
+
def QueueHeartbeat(request,
|
3065
3702
|
target,
|
3066
3703
|
options=(),
|
3067
3704
|
channel_credentials=None,
|
@@ -3071,14 +3708,14 @@ class ModalClient(object):
|
|
3071
3708
|
wait_for_ready=None,
|
3072
3709
|
timeout=None,
|
3073
3710
|
metadata=None):
|
3074
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3075
|
-
modal__proto_dot_api__pb2.
|
3076
|
-
|
3711
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueHeartbeat',
|
3712
|
+
modal__proto_dot_api__pb2.QueueHeartbeatRequest.SerializeToString,
|
3713
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3077
3714
|
options, channel_credentials,
|
3078
3715
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3079
3716
|
|
3080
3717
|
@staticmethod
|
3081
|
-
def
|
3718
|
+
def QueueLen(request,
|
3082
3719
|
target,
|
3083
3720
|
options=(),
|
3084
3721
|
channel_credentials=None,
|
@@ -3088,14 +3725,14 @@ class ModalClient(object):
|
|
3088
3725
|
wait_for_ready=None,
|
3089
3726
|
timeout=None,
|
3090
3727
|
metadata=None):
|
3091
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3092
|
-
modal__proto_dot_api__pb2.
|
3093
|
-
|
3728
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueLen',
|
3729
|
+
modal__proto_dot_api__pb2.QueueLenRequest.SerializeToString,
|
3730
|
+
modal__proto_dot_api__pb2.QueueLenResponse.FromString,
|
3094
3731
|
options, channel_credentials,
|
3095
3732
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3096
3733
|
|
3097
3734
|
@staticmethod
|
3098
|
-
def
|
3735
|
+
def QueueList(request,
|
3099
3736
|
target,
|
3100
3737
|
options=(),
|
3101
3738
|
channel_credentials=None,
|
@@ -3105,14 +3742,14 @@ class ModalClient(object):
|
|
3105
3742
|
wait_for_ready=None,
|
3106
3743
|
timeout=None,
|
3107
3744
|
metadata=None):
|
3108
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3109
|
-
modal__proto_dot_api__pb2.
|
3110
|
-
modal__proto_dot_api__pb2.
|
3745
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueList',
|
3746
|
+
modal__proto_dot_api__pb2.QueueListRequest.SerializeToString,
|
3747
|
+
modal__proto_dot_api__pb2.QueueListResponse.FromString,
|
3111
3748
|
options, channel_credentials,
|
3112
3749
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3113
3750
|
|
3114
3751
|
@staticmethod
|
3115
|
-
def
|
3752
|
+
def QueueNextItems(request,
|
3116
3753
|
target,
|
3117
3754
|
options=(),
|
3118
3755
|
channel_credentials=None,
|
@@ -3122,14 +3759,14 @@ class ModalClient(object):
|
|
3122
3759
|
wait_for_ready=None,
|
3123
3760
|
timeout=None,
|
3124
3761
|
metadata=None):
|
3125
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3126
|
-
modal__proto_dot_api__pb2.
|
3127
|
-
modal__proto_dot_api__pb2.
|
3762
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueueNextItems',
|
3763
|
+
modal__proto_dot_api__pb2.QueueNextItemsRequest.SerializeToString,
|
3764
|
+
modal__proto_dot_api__pb2.QueueNextItemsResponse.FromString,
|
3128
3765
|
options, channel_credentials,
|
3129
3766
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3130
3767
|
|
3131
3768
|
@staticmethod
|
3132
|
-
def
|
3769
|
+
def QueuePut(request,
|
3133
3770
|
target,
|
3134
3771
|
options=(),
|
3135
3772
|
channel_credentials=None,
|
@@ -3139,14 +3776,14 @@ class ModalClient(object):
|
|
3139
3776
|
wait_for_ready=None,
|
3140
3777
|
timeout=None,
|
3141
3778
|
metadata=None):
|
3142
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3143
|
-
modal__proto_dot_api__pb2.
|
3779
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/QueuePut',
|
3780
|
+
modal__proto_dot_api__pb2.QueuePutRequest.SerializeToString,
|
3144
3781
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3145
3782
|
options, channel_credentials,
|
3146
3783
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3147
3784
|
|
3148
3785
|
@staticmethod
|
3149
|
-
def
|
3786
|
+
def SandboxCreate(request,
|
3150
3787
|
target,
|
3151
3788
|
options=(),
|
3152
3789
|
channel_credentials=None,
|
@@ -3156,14 +3793,14 @@ class ModalClient(object):
|
|
3156
3793
|
wait_for_ready=None,
|
3157
3794
|
timeout=None,
|
3158
3795
|
metadata=None):
|
3159
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3160
|
-
modal__proto_dot_api__pb2.
|
3161
|
-
|
3796
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxCreate',
|
3797
|
+
modal__proto_dot_api__pb2.SandboxCreateRequest.SerializeToString,
|
3798
|
+
modal__proto_dot_api__pb2.SandboxCreateResponse.FromString,
|
3162
3799
|
options, channel_credentials,
|
3163
3800
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3164
3801
|
|
3165
3802
|
@staticmethod
|
3166
|
-
def
|
3803
|
+
def SandboxGetLogs(request,
|
3167
3804
|
target,
|
3168
3805
|
options=(),
|
3169
3806
|
channel_credentials=None,
|
@@ -3173,14 +3810,14 @@ class ModalClient(object):
|
|
3173
3810
|
wait_for_ready=None,
|
3174
3811
|
timeout=None,
|
3175
3812
|
metadata=None):
|
3176
|
-
return grpc.experimental.
|
3177
|
-
modal__proto_dot_api__pb2.
|
3178
|
-
modal__proto_dot_api__pb2.
|
3813
|
+
return grpc.experimental.unary_stream(request, target, '/modal.client.ModalClient/SandboxGetLogs',
|
3814
|
+
modal__proto_dot_api__pb2.SandboxGetLogsRequest.SerializeToString,
|
3815
|
+
modal__proto_dot_api__pb2.TaskLogsBatch.FromString,
|
3179
3816
|
options, channel_credentials,
|
3180
3817
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3181
3818
|
|
3182
3819
|
@staticmethod
|
3183
|
-
def
|
3820
|
+
def SandboxGetTaskId(request,
|
3184
3821
|
target,
|
3185
3822
|
options=(),
|
3186
3823
|
channel_credentials=None,
|
@@ -3190,14 +3827,14 @@ class ModalClient(object):
|
|
3190
3827
|
wait_for_ready=None,
|
3191
3828
|
timeout=None,
|
3192
3829
|
metadata=None):
|
3193
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3194
|
-
modal__proto_dot_api__pb2.
|
3195
|
-
modal__proto_dot_api__pb2.
|
3830
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxGetTaskId',
|
3831
|
+
modal__proto_dot_api__pb2.SandboxGetTaskIdRequest.SerializeToString,
|
3832
|
+
modal__proto_dot_api__pb2.SandboxGetTaskIdResponse.FromString,
|
3196
3833
|
options, channel_credentials,
|
3197
3834
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3198
3835
|
|
3199
3836
|
@staticmethod
|
3200
|
-
def
|
3837
|
+
def SandboxGetTunnels(request,
|
3201
3838
|
target,
|
3202
3839
|
options=(),
|
3203
3840
|
channel_credentials=None,
|
@@ -3207,14 +3844,14 @@ class ModalClient(object):
|
|
3207
3844
|
wait_for_ready=None,
|
3208
3845
|
timeout=None,
|
3209
3846
|
metadata=None):
|
3210
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3211
|
-
modal__proto_dot_api__pb2.
|
3212
|
-
modal__proto_dot_api__pb2.
|
3847
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxGetTunnels',
|
3848
|
+
modal__proto_dot_api__pb2.SandboxGetTunnelsRequest.SerializeToString,
|
3849
|
+
modal__proto_dot_api__pb2.SandboxGetTunnelsResponse.FromString,
|
3213
3850
|
options, channel_credentials,
|
3214
3851
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3215
3852
|
|
3216
3853
|
@staticmethod
|
3217
|
-
def
|
3854
|
+
def SandboxList(request,
|
3218
3855
|
target,
|
3219
3856
|
options=(),
|
3220
3857
|
channel_credentials=None,
|
@@ -3224,14 +3861,14 @@ class ModalClient(object):
|
|
3224
3861
|
wait_for_ready=None,
|
3225
3862
|
timeout=None,
|
3226
3863
|
metadata=None):
|
3227
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3228
|
-
modal__proto_dot_api__pb2.
|
3229
|
-
modal__proto_dot_api__pb2.
|
3864
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxList',
|
3865
|
+
modal__proto_dot_api__pb2.SandboxListRequest.SerializeToString,
|
3866
|
+
modal__proto_dot_api__pb2.SandboxListResponse.FromString,
|
3230
3867
|
options, channel_credentials,
|
3231
3868
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3232
3869
|
|
3233
3870
|
@staticmethod
|
3234
|
-
def
|
3871
|
+
def SandboxSnapshotFs(request,
|
3235
3872
|
target,
|
3236
3873
|
options=(),
|
3237
3874
|
channel_credentials=None,
|
@@ -3241,14 +3878,14 @@ class ModalClient(object):
|
|
3241
3878
|
wait_for_ready=None,
|
3242
3879
|
timeout=None,
|
3243
3880
|
metadata=None):
|
3244
|
-
return grpc.experimental.
|
3245
|
-
modal__proto_dot_api__pb2.
|
3246
|
-
modal__proto_dot_api__pb2.
|
3881
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxSnapshotFs',
|
3882
|
+
modal__proto_dot_api__pb2.SandboxSnapshotFsRequest.SerializeToString,
|
3883
|
+
modal__proto_dot_api__pb2.SandboxSnapshotFsResponse.FromString,
|
3247
3884
|
options, channel_credentials,
|
3248
3885
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3249
3886
|
|
3250
3887
|
@staticmethod
|
3251
|
-
def
|
3888
|
+
def SandboxStdinWrite(request,
|
3252
3889
|
target,
|
3253
3890
|
options=(),
|
3254
3891
|
channel_credentials=None,
|
@@ -3258,14 +3895,14 @@ class ModalClient(object):
|
|
3258
3895
|
wait_for_ready=None,
|
3259
3896
|
timeout=None,
|
3260
3897
|
metadata=None):
|
3261
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3262
|
-
modal__proto_dot_api__pb2.
|
3263
|
-
modal__proto_dot_api__pb2.
|
3898
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxStdinWrite',
|
3899
|
+
modal__proto_dot_api__pb2.SandboxStdinWriteRequest.SerializeToString,
|
3900
|
+
modal__proto_dot_api__pb2.SandboxStdinWriteResponse.FromString,
|
3264
3901
|
options, channel_credentials,
|
3265
3902
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3266
3903
|
|
3267
3904
|
@staticmethod
|
3268
|
-
def
|
3905
|
+
def SandboxTagsSet(request,
|
3269
3906
|
target,
|
3270
3907
|
options=(),
|
3271
3908
|
channel_credentials=None,
|
@@ -3275,9 +3912,9 @@ class ModalClient(object):
|
|
3275
3912
|
wait_for_ready=None,
|
3276
3913
|
timeout=None,
|
3277
3914
|
metadata=None):
|
3278
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3279
|
-
modal__proto_dot_api__pb2.
|
3280
|
-
|
3915
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxTagsSet',
|
3916
|
+
modal__proto_dot_api__pb2.SandboxTagsSetRequest.SerializeToString,
|
3917
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3281
3918
|
options, channel_credentials,
|
3282
3919
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3283
3920
|
|
@@ -3299,7 +3936,7 @@ class ModalClient(object):
|
|
3299
3936
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3300
3937
|
|
3301
3938
|
@staticmethod
|
3302
|
-
def
|
3939
|
+
def SandboxWait(request,
|
3303
3940
|
target,
|
3304
3941
|
options=(),
|
3305
3942
|
channel_credentials=None,
|
@@ -3309,14 +3946,14 @@ class ModalClient(object):
|
|
3309
3946
|
wait_for_ready=None,
|
3310
3947
|
timeout=None,
|
3311
3948
|
metadata=None):
|
3312
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3313
|
-
modal__proto_dot_api__pb2.
|
3314
|
-
modal__proto_dot_api__pb2.
|
3949
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxWait',
|
3950
|
+
modal__proto_dot_api__pb2.SandboxWaitRequest.SerializeToString,
|
3951
|
+
modal__proto_dot_api__pb2.SandboxWaitResponse.FromString,
|
3315
3952
|
options, channel_credentials,
|
3316
3953
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3317
3954
|
|
3318
3955
|
@staticmethod
|
3319
|
-
def
|
3956
|
+
def SecretDelete(request,
|
3320
3957
|
target,
|
3321
3958
|
options=(),
|
3322
3959
|
channel_credentials=None,
|
@@ -3326,9 +3963,9 @@ class ModalClient(object):
|
|
3326
3963
|
wait_for_ready=None,
|
3327
3964
|
timeout=None,
|
3328
3965
|
metadata=None):
|
3329
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3330
|
-
modal__proto_dot_api__pb2.
|
3331
|
-
|
3966
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SecretDelete',
|
3967
|
+
modal__proto_dot_api__pb2.SecretDeleteRequest.SerializeToString,
|
3968
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3332
3969
|
options, channel_credentials,
|
3333
3970
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3334
3971
|
|
@@ -3367,7 +4004,7 @@ class ModalClient(object):
|
|
3367
4004
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3368
4005
|
|
3369
4006
|
@staticmethod
|
3370
|
-
def
|
4007
|
+
def SharedVolumeDelete(request,
|
3371
4008
|
target,
|
3372
4009
|
options=(),
|
3373
4010
|
channel_credentials=None,
|
@@ -3377,14 +4014,31 @@ class ModalClient(object):
|
|
3377
4014
|
wait_for_ready=None,
|
3378
4015
|
timeout=None,
|
3379
4016
|
metadata=None):
|
3380
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3381
|
-
modal__proto_dot_api__pb2.
|
3382
|
-
|
4017
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SharedVolumeDelete',
|
4018
|
+
modal__proto_dot_api__pb2.SharedVolumeDeleteRequest.SerializeToString,
|
4019
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
4020
|
+
options, channel_credentials,
|
4021
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
4022
|
+
|
4023
|
+
@staticmethod
|
4024
|
+
def SharedVolumeGetFile(request,
|
4025
|
+
target,
|
4026
|
+
options=(),
|
4027
|
+
channel_credentials=None,
|
4028
|
+
call_credentials=None,
|
4029
|
+
insecure=False,
|
4030
|
+
compression=None,
|
4031
|
+
wait_for_ready=None,
|
4032
|
+
timeout=None,
|
4033
|
+
metadata=None):
|
4034
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SharedVolumeGetFile',
|
4035
|
+
modal__proto_dot_api__pb2.SharedVolumeGetFileRequest.SerializeToString,
|
4036
|
+
modal__proto_dot_api__pb2.SharedVolumeGetFileResponse.FromString,
|
3383
4037
|
options, channel_credentials,
|
3384
4038
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3385
4039
|
|
3386
4040
|
@staticmethod
|
3387
|
-
def
|
4041
|
+
def SharedVolumeGetOrCreate(request,
|
3388
4042
|
target,
|
3389
4043
|
options=(),
|
3390
4044
|
channel_credentials=None,
|
@@ -3394,9 +4048,9 @@ class ModalClient(object):
|
|
3394
4048
|
wait_for_ready=None,
|
3395
4049
|
timeout=None,
|
3396
4050
|
metadata=None):
|
3397
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3398
|
-
modal__proto_dot_api__pb2.
|
3399
|
-
modal__proto_dot_api__pb2.
|
4051
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SharedVolumeGetOrCreate',
|
4052
|
+
modal__proto_dot_api__pb2.SharedVolumeGetOrCreateRequest.SerializeToString,
|
4053
|
+
modal__proto_dot_api__pb2.SharedVolumeGetOrCreateResponse.FromString,
|
3400
4054
|
options, channel_credentials,
|
3401
4055
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3402
4056
|
|
@@ -3486,7 +4140,7 @@ class ModalClient(object):
|
|
3486
4140
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3487
4141
|
|
3488
4142
|
@staticmethod
|
3489
|
-
def
|
4143
|
+
def SharedVolumeRemoveFile(request,
|
3490
4144
|
target,
|
3491
4145
|
options=(),
|
3492
4146
|
channel_credentials=None,
|
@@ -3496,14 +4150,14 @@ class ModalClient(object):
|
|
3496
4150
|
wait_for_ready=None,
|
3497
4151
|
timeout=None,
|
3498
4152
|
metadata=None):
|
3499
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3500
|
-
modal__proto_dot_api__pb2.
|
3501
|
-
|
4153
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SharedVolumeRemoveFile',
|
4154
|
+
modal__proto_dot_api__pb2.SharedVolumeRemoveFileRequest.SerializeToString,
|
4155
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3502
4156
|
options, channel_credentials,
|
3503
4157
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3504
4158
|
|
3505
4159
|
@staticmethod
|
3506
|
-
def
|
4160
|
+
def TaskClusterHello(request,
|
3507
4161
|
target,
|
3508
4162
|
options=(),
|
3509
4163
|
channel_credentials=None,
|
@@ -3513,14 +4167,14 @@ class ModalClient(object):
|
|
3513
4167
|
wait_for_ready=None,
|
3514
4168
|
timeout=None,
|
3515
4169
|
metadata=None):
|
3516
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3517
|
-
modal__proto_dot_api__pb2.
|
3518
|
-
|
4170
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/TaskClusterHello',
|
4171
|
+
modal__proto_dot_api__pb2.TaskClusterHelloRequest.SerializeToString,
|
4172
|
+
modal__proto_dot_api__pb2.TaskClusterHelloResponse.FromString,
|
3519
4173
|
options, channel_credentials,
|
3520
4174
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3521
4175
|
|
3522
4176
|
@staticmethod
|
3523
|
-
def
|
4177
|
+
def TaskCurrentInputs(request,
|
3524
4178
|
target,
|
3525
4179
|
options=(),
|
3526
4180
|
channel_credentials=None,
|
@@ -3530,9 +4184,9 @@ class ModalClient(object):
|
|
3530
4184
|
wait_for_ready=None,
|
3531
4185
|
timeout=None,
|
3532
4186
|
metadata=None):
|
3533
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3534
|
-
|
3535
|
-
|
4187
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/TaskCurrentInputs',
|
4188
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
4189
|
+
modal__proto_dot_api__pb2.TaskCurrentInputsResponse.FromString,
|
3536
4190
|
options, channel_credentials,
|
3537
4191
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3538
4192
|
|
@@ -3554,7 +4208,7 @@ class ModalClient(object):
|
|
3554
4208
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3555
4209
|
|
3556
4210
|
@staticmethod
|
3557
|
-
def
|
4211
|
+
def TaskResult(request,
|
3558
4212
|
target,
|
3559
4213
|
options=(),
|
3560
4214
|
channel_credentials=None,
|
@@ -3564,9 +4218,9 @@ class ModalClient(object):
|
|
3564
4218
|
wait_for_ready=None,
|
3565
4219
|
timeout=None,
|
3566
4220
|
metadata=None):
|
3567
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3568
|
-
|
3569
|
-
|
4221
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/TaskResult',
|
4222
|
+
modal__proto_dot_api__pb2.TaskResultRequest.SerializeToString,
|
4223
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3570
4224
|
options, channel_credentials,
|
3571
4225
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3572
4226
|
|
@@ -3639,7 +4293,7 @@ class ModalClient(object):
|
|
3639
4293
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3640
4294
|
|
3641
4295
|
@staticmethod
|
3642
|
-
def
|
4296
|
+
def VolumeCommit(request,
|
3643
4297
|
target,
|
3644
4298
|
options=(),
|
3645
4299
|
channel_credentials=None,
|
@@ -3649,14 +4303,14 @@ class ModalClient(object):
|
|
3649
4303
|
wait_for_ready=None,
|
3650
4304
|
timeout=None,
|
3651
4305
|
metadata=None):
|
3652
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3653
|
-
modal__proto_dot_api__pb2.
|
3654
|
-
modal__proto_dot_api__pb2.
|
4306
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/VolumeCommit',
|
4307
|
+
modal__proto_dot_api__pb2.VolumeCommitRequest.SerializeToString,
|
4308
|
+
modal__proto_dot_api__pb2.VolumeCommitResponse.FromString,
|
3655
4309
|
options, channel_credentials,
|
3656
4310
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3657
4311
|
|
3658
4312
|
@staticmethod
|
3659
|
-
def
|
4313
|
+
def VolumeCopyFiles(request,
|
3660
4314
|
target,
|
3661
4315
|
options=(),
|
3662
4316
|
channel_credentials=None,
|
@@ -3666,14 +4320,14 @@ class ModalClient(object):
|
|
3666
4320
|
wait_for_ready=None,
|
3667
4321
|
timeout=None,
|
3668
4322
|
metadata=None):
|
3669
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3670
|
-
modal__proto_dot_api__pb2.
|
3671
|
-
|
4323
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/VolumeCopyFiles',
|
4324
|
+
modal__proto_dot_api__pb2.VolumeCopyFilesRequest.SerializeToString,
|
4325
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3672
4326
|
options, channel_credentials,
|
3673
4327
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3674
4328
|
|
3675
4329
|
@staticmethod
|
3676
|
-
def
|
4330
|
+
def VolumeDelete(request,
|
3677
4331
|
target,
|
3678
4332
|
options=(),
|
3679
4333
|
channel_credentials=None,
|
@@ -3683,14 +4337,14 @@ class ModalClient(object):
|
|
3683
4337
|
wait_for_ready=None,
|
3684
4338
|
timeout=None,
|
3685
4339
|
metadata=None):
|
3686
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3687
|
-
modal__proto_dot_api__pb2.
|
4340
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/VolumeDelete',
|
4341
|
+
modal__proto_dot_api__pb2.VolumeDeleteRequest.SerializeToString,
|
3688
4342
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3689
4343
|
options, channel_credentials,
|
3690
4344
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3691
4345
|
|
3692
4346
|
@staticmethod
|
3693
|
-
def
|
4347
|
+
def VolumeGetFile(request,
|
3694
4348
|
target,
|
3695
4349
|
options=(),
|
3696
4350
|
channel_credentials=None,
|
@@ -3700,14 +4354,14 @@ class ModalClient(object):
|
|
3700
4354
|
wait_for_ready=None,
|
3701
4355
|
timeout=None,
|
3702
4356
|
metadata=None):
|
3703
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3704
|
-
modal__proto_dot_api__pb2.
|
3705
|
-
modal__proto_dot_api__pb2.
|
4357
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/VolumeGetFile',
|
4358
|
+
modal__proto_dot_api__pb2.VolumeGetFileRequest.SerializeToString,
|
4359
|
+
modal__proto_dot_api__pb2.VolumeGetFileResponse.FromString,
|
3706
4360
|
options, channel_credentials,
|
3707
4361
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3708
4362
|
|
3709
4363
|
@staticmethod
|
3710
|
-
def
|
4364
|
+
def VolumeGetOrCreate(request,
|
3711
4365
|
target,
|
3712
4366
|
options=(),
|
3713
4367
|
channel_credentials=None,
|
@@ -3717,14 +4371,14 @@ class ModalClient(object):
|
|
3717
4371
|
wait_for_ready=None,
|
3718
4372
|
timeout=None,
|
3719
4373
|
metadata=None):
|
3720
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3721
|
-
modal__proto_dot_api__pb2.
|
3722
|
-
|
4374
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/VolumeGetOrCreate',
|
4375
|
+
modal__proto_dot_api__pb2.VolumeGetOrCreateRequest.SerializeToString,
|
4376
|
+
modal__proto_dot_api__pb2.VolumeGetOrCreateResponse.FromString,
|
3723
4377
|
options, channel_credentials,
|
3724
4378
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3725
4379
|
|
3726
4380
|
@staticmethod
|
3727
|
-
def
|
4381
|
+
def VolumeHeartbeat(request,
|
3728
4382
|
target,
|
3729
4383
|
options=(),
|
3730
4384
|
channel_credentials=None,
|
@@ -3734,9 +4388,9 @@ class ModalClient(object):
|
|
3734
4388
|
wait_for_ready=None,
|
3735
4389
|
timeout=None,
|
3736
4390
|
metadata=None):
|
3737
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3738
|
-
modal__proto_dot_api__pb2.
|
3739
|
-
|
4391
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/VolumeHeartbeat',
|
4392
|
+
modal__proto_dot_api__pb2.VolumeHeartbeatRequest.SerializeToString,
|
4393
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3740
4394
|
options, channel_credentials,
|
3741
4395
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3742
4396
|
|
@@ -3826,7 +4480,7 @@ class ModalClient(object):
|
|
3826
4480
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
3827
4481
|
|
3828
4482
|
@staticmethod
|
3829
|
-
def
|
4483
|
+
def VolumeRename(request,
|
3830
4484
|
target,
|
3831
4485
|
options=(),
|
3832
4486
|
channel_credentials=None,
|
@@ -3836,8 +4490,8 @@ class ModalClient(object):
|
|
3836
4490
|
wait_for_ready=None,
|
3837
4491
|
timeout=None,
|
3838
4492
|
metadata=None):
|
3839
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/
|
3840
|
-
modal__proto_dot_api__pb2.
|
4493
|
+
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/VolumeRename',
|
4494
|
+
modal__proto_dot_api__pb2.VolumeRenameRequest.SerializeToString,
|
3841
4495
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
3842
4496
|
options, channel_credentials,
|
3843
4497
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|