modal 1.2.1.dev8__py3-none-any.whl → 1.2.2.dev19__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/_clustered_functions.py +1 -3
- modal/_container_entrypoint.py +4 -1
- modal/_functions.py +33 -49
- modal/_grpc_client.py +148 -0
- modal/_output.py +3 -4
- modal/_partial_function.py +22 -2
- modal/_runtime/container_io_manager.py +21 -22
- modal/_utils/async_utils.py +12 -3
- modal/_utils/auth_token_manager.py +1 -4
- modal/_utils/blob_utils.py +3 -4
- modal/_utils/function_utils.py +4 -0
- modal/_utils/grpc_utils.py +80 -51
- modal/_utils/mount_utils.py +26 -1
- modal/_utils/task_command_router_client.py +536 -0
- modal/app.py +7 -5
- modal/cli/cluster.py +4 -2
- modal/cli/config.py +3 -1
- modal/cli/container.py +5 -4
- modal/cli/entry_point.py +1 -0
- modal/cli/launch.py +1 -2
- modal/cli/network_file_system.py +1 -4
- modal/cli/queues.py +1 -2
- modal/cli/secret.py +1 -2
- modal/client.py +5 -115
- modal/client.pyi +2 -91
- modal/cls.py +1 -2
- modal/config.py +3 -1
- modal/container_process.py +287 -11
- modal/container_process.pyi +95 -32
- modal/dict.py +12 -12
- modal/environments.py +1 -2
- modal/exception.py +4 -0
- modal/experimental/__init__.py +2 -3
- modal/experimental/flash.py +27 -57
- modal/experimental/flash.pyi +6 -20
- modal/file_io.py +13 -27
- modal/functions.pyi +6 -6
- modal/image.py +24 -3
- modal/image.pyi +4 -0
- modal/io_streams.py +433 -127
- modal/io_streams.pyi +236 -171
- modal/mount.py +4 -4
- modal/network_file_system.py +5 -6
- modal/parallel_map.py +29 -31
- modal/parallel_map.pyi +3 -9
- modal/partial_function.pyi +4 -1
- modal/queue.py +17 -18
- modal/runner.py +12 -11
- modal/sandbox.py +148 -42
- modal/sandbox.pyi +139 -0
- modal/secret.py +4 -5
- modal/snapshot.py +1 -4
- modal/token_flow.py +1 -1
- modal/volume.py +22 -22
- {modal-1.2.1.dev8.dist-info → modal-1.2.2.dev19.dist-info}/METADATA +1 -1
- {modal-1.2.1.dev8.dist-info → modal-1.2.2.dev19.dist-info}/RECORD +70 -68
- modal_proto/api.proto +2 -24
- modal_proto/api_grpc.py +0 -32
- modal_proto/api_pb2.py +838 -878
- modal_proto/api_pb2.pyi +8 -70
- modal_proto/api_pb2_grpc.py +0 -67
- modal_proto/api_pb2_grpc.pyi +0 -22
- modal_proto/modal_api_grpc.py +175 -177
- modal_proto/sandbox_router.proto +0 -4
- modal_proto/sandbox_router_pb2.pyi +0 -4
- modal_version/__init__.py +1 -1
- {modal-1.2.1.dev8.dist-info → modal-1.2.2.dev19.dist-info}/WHEEL +0 -0
- {modal-1.2.1.dev8.dist-info → modal-1.2.2.dev19.dist-info}/entry_points.txt +0 -0
- {modal-1.2.1.dev8.dist-info → modal-1.2.2.dev19.dist-info}/licenses/LICENSE +0 -0
- {modal-1.2.1.dev8.dist-info → modal-1.2.2.dev19.dist-info}/top_level.txt +0 -0
modal_proto/modal_api_grpc.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# source: modal_proto/api.proto
|
|
3
3
|
# plugin: __main__
|
|
4
4
|
|
|
5
|
-
import modal.
|
|
5
|
+
import modal._grpc_client
|
|
6
6
|
import modal_proto.api_grpc
|
|
7
7
|
import typing
|
|
8
8
|
if typing.TYPE_CHECKING:
|
|
@@ -18,179 +18,177 @@ class ModalClientModal:
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
def __init__(self, grpclib_stub: modal_proto.api_grpc.ModalClientStub, client: "modal.client._Client", server_url: str) -> None:
|
|
21
|
-
self.AppClientDisconnect = modal.
|
|
22
|
-
self.AppCreate = modal.
|
|
23
|
-
self.AppDeploy = modal.
|
|
24
|
-
self.AppDeploymentHistory = modal.
|
|
25
|
-
self.AppGetByDeploymentName = modal.
|
|
26
|
-
self.AppGetLayout = modal.
|
|
27
|
-
self.AppGetLogs = modal.
|
|
28
|
-
self.AppGetObjects = modal.
|
|
29
|
-
self.AppGetOrCreate = modal.
|
|
30
|
-
self.AppGetTags = modal.
|
|
31
|
-
self.AppHeartbeat = modal.
|
|
32
|
-
self.AppList = modal.
|
|
33
|
-
self.AppLookup = modal.
|
|
34
|
-
self.AppPublish = modal.
|
|
35
|
-
self.AppRollback = modal.
|
|
36
|
-
self.AppSetObjects = modal.
|
|
37
|
-
self.AppSetTags = modal.
|
|
38
|
-
self.AppStop = modal.
|
|
39
|
-
self.AttemptAwait = modal.
|
|
40
|
-
self.AttemptRetry = modal.
|
|
41
|
-
self.AttemptStart = modal.
|
|
42
|
-
self.AuthTokenGet = modal.
|
|
43
|
-
self.BlobCreate = modal.
|
|
44
|
-
self.BlobGet = modal.
|
|
45
|
-
self.ClassCreate = modal.
|
|
46
|
-
self.ClassGet = modal.
|
|
47
|
-
self.ClientHello = modal.
|
|
48
|
-
self.ClusterGet = modal.
|
|
49
|
-
self.ClusterList = modal.
|
|
50
|
-
self.ContainerCheckpoint = modal.
|
|
51
|
-
self.ContainerExec = modal.
|
|
52
|
-
self.ContainerExecGetOutput = modal.
|
|
53
|
-
self.ContainerExecPutInput = modal.
|
|
54
|
-
self.ContainerExecWait = modal.
|
|
55
|
-
self.ContainerFilesystemExec = modal.
|
|
56
|
-
self.ContainerFilesystemExecGetOutput = modal.
|
|
57
|
-
self.ContainerHeartbeat = modal.
|
|
58
|
-
self.ContainerHello = modal.
|
|
59
|
-
self.ContainerLog = modal.
|
|
60
|
-
self.ContainerReloadVolumes = modal.
|
|
61
|
-
self.ContainerStop = modal.
|
|
62
|
-
self.DictClear = modal.
|
|
63
|
-
self.DictContains = modal.
|
|
64
|
-
self.DictContents = modal.
|
|
65
|
-
self.DictDelete = modal.
|
|
66
|
-
self.DictGet = modal.
|
|
67
|
-
self.DictGetOrCreate = modal.
|
|
68
|
-
self.DictHeartbeat = modal.
|
|
69
|
-
self.DictLen = modal.
|
|
70
|
-
self.DictList = modal.
|
|
71
|
-
self.DictPop = modal.
|
|
72
|
-
self.DictUpdate = modal.
|
|
73
|
-
self.DomainCertificateVerify = modal.
|
|
74
|
-
self.DomainCreate = modal.
|
|
75
|
-
self.DomainList = modal.
|
|
76
|
-
self.EnvironmentCreate = modal.
|
|
77
|
-
self.EnvironmentDelete = modal.
|
|
78
|
-
self.EnvironmentGetOrCreate = modal.
|
|
79
|
-
self.EnvironmentList = modal.
|
|
80
|
-
self.EnvironmentUpdate = modal.
|
|
81
|
-
self.FlashContainerDeregister = modal.
|
|
82
|
-
self.FlashContainerList = modal.
|
|
83
|
-
self.FlashContainerRegister = modal.
|
|
84
|
-
self.FlashSetTargetSlotsMetrics = modal.
|
|
85
|
-
self.FunctionAsyncInvoke = modal.
|
|
86
|
-
self.FunctionBindParams = modal.
|
|
87
|
-
self.FunctionCallCancel = modal.
|
|
88
|
-
self.FunctionCallFromId = modal.
|
|
89
|
-
self.FunctionCallGetDataIn = modal.
|
|
90
|
-
self.FunctionCallGetDataOut = modal.
|
|
91
|
-
self.FunctionCallList = modal.
|
|
92
|
-
self.FunctionCallPutDataOut = modal.
|
|
93
|
-
self.FunctionCreate = modal.
|
|
94
|
-
self.FunctionFinishInputs = modal.
|
|
95
|
-
self.FunctionGet = modal.
|
|
96
|
-
self.FunctionGetCallGraph = modal.
|
|
97
|
-
self.FunctionGetCurrentStats = modal.
|
|
98
|
-
self.FunctionGetDynamicConcurrency = modal.
|
|
99
|
-
self.FunctionGetInputs = modal.
|
|
100
|
-
self.FunctionGetOutputs = modal.
|
|
101
|
-
self.FunctionGetSerialized = modal.
|
|
102
|
-
self.FunctionMap = modal.
|
|
103
|
-
self.FunctionPrecreate = modal.
|
|
104
|
-
self.FunctionPutInputs = modal.
|
|
105
|
-
self.FunctionPutOutputs = modal.
|
|
106
|
-
self.FunctionRetryInputs = modal.
|
|
107
|
-
self.FunctionStartPtyShell = modal.
|
|
108
|
-
self.FunctionUpdateSchedulingParams = modal.
|
|
109
|
-
self.ImageDelete = modal.
|
|
110
|
-
self.ImageFromId = modal.
|
|
111
|
-
self.ImageGetOrCreate = modal.
|
|
112
|
-
self.ImageJoinStreaming = modal.
|
|
113
|
-
self.MapAwait = modal.
|
|
114
|
-
self.MapCheckInputs = modal.
|
|
115
|
-
self.MapStartOrContinue = modal.
|
|
116
|
-
self.MountGetOrCreate = modal.
|
|
117
|
-
self.MountPutFile = modal.
|
|
118
|
-
self.NotebookKernelPublishResults = modal.
|
|
119
|
-
self.ProxyAddIp = modal.
|
|
120
|
-
self.ProxyCreate = modal.
|
|
121
|
-
self.ProxyDelete = modal.
|
|
122
|
-
self.ProxyGet = modal.
|
|
123
|
-
self.ProxyGetOrCreate = modal.
|
|
124
|
-
self.ProxyList = modal.
|
|
125
|
-
self.ProxyRemoveIp = modal.
|
|
126
|
-
self.QueueClear = modal.
|
|
127
|
-
self.QueueDelete = modal.
|
|
128
|
-
self.QueueGet = modal.
|
|
129
|
-
self.QueueGetOrCreate = modal.
|
|
130
|
-
self.QueueHeartbeat = modal.
|
|
131
|
-
self.QueueLen = modal.
|
|
132
|
-
self.QueueList = modal.
|
|
133
|
-
self.QueueNextItems = modal.
|
|
134
|
-
self.QueuePut = modal.
|
|
135
|
-
self.SandboxCreate = modal.
|
|
136
|
-
self.SandboxCreateConnectToken = modal.
|
|
137
|
-
self.
|
|
138
|
-
self.
|
|
139
|
-
self.
|
|
140
|
-
self.
|
|
141
|
-
self.
|
|
142
|
-
self.
|
|
143
|
-
self.
|
|
144
|
-
self.
|
|
145
|
-
self.
|
|
146
|
-
self.
|
|
147
|
-
self.
|
|
148
|
-
self.
|
|
149
|
-
self.
|
|
150
|
-
self.
|
|
151
|
-
self.
|
|
152
|
-
self.
|
|
153
|
-
self.
|
|
154
|
-
self.
|
|
155
|
-
self.
|
|
156
|
-
self.
|
|
157
|
-
self.
|
|
158
|
-
self.
|
|
159
|
-
self.
|
|
160
|
-
self.
|
|
161
|
-
self.
|
|
162
|
-
self.
|
|
163
|
-
self.
|
|
164
|
-
self.
|
|
165
|
-
self.
|
|
166
|
-
self.
|
|
167
|
-
self.
|
|
168
|
-
self.
|
|
169
|
-
self.
|
|
170
|
-
self.
|
|
171
|
-
self.
|
|
172
|
-
self.
|
|
173
|
-
self.
|
|
174
|
-
self.
|
|
175
|
-
self.
|
|
176
|
-
self.
|
|
177
|
-
self.
|
|
178
|
-
self.
|
|
179
|
-
self.
|
|
180
|
-
self.
|
|
181
|
-
self.
|
|
182
|
-
self.
|
|
183
|
-
self.
|
|
184
|
-
self.
|
|
185
|
-
self.
|
|
186
|
-
self.
|
|
187
|
-
self.
|
|
188
|
-
self.
|
|
189
|
-
self.
|
|
190
|
-
self.
|
|
191
|
-
self.
|
|
192
|
-
self.
|
|
193
|
-
self.
|
|
194
|
-
self.
|
|
195
|
-
self.WorkspaceBillingReport = modal.client.UnaryStreamWrapper(grpclib_stub.WorkspaceBillingReport, client, server_url)
|
|
196
|
-
self.WorkspaceNameLookup = modal.client.UnaryUnaryWrapper(grpclib_stub.WorkspaceNameLookup, client, server_url)
|
|
21
|
+
self.AppClientDisconnect = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppClientDisconnect, client, server_url)
|
|
22
|
+
self.AppCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppCreate, client, server_url)
|
|
23
|
+
self.AppDeploy = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppDeploy, client, server_url)
|
|
24
|
+
self.AppDeploymentHistory = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppDeploymentHistory, client, server_url)
|
|
25
|
+
self.AppGetByDeploymentName = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppGetByDeploymentName, client, server_url)
|
|
26
|
+
self.AppGetLayout = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppGetLayout, client, server_url)
|
|
27
|
+
self.AppGetLogs = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.AppGetLogs, client, server_url)
|
|
28
|
+
self.AppGetObjects = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppGetObjects, client, server_url)
|
|
29
|
+
self.AppGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppGetOrCreate, client, server_url)
|
|
30
|
+
self.AppGetTags = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppGetTags, client, server_url)
|
|
31
|
+
self.AppHeartbeat = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppHeartbeat, client, server_url)
|
|
32
|
+
self.AppList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppList, client, server_url)
|
|
33
|
+
self.AppLookup = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppLookup, client, server_url)
|
|
34
|
+
self.AppPublish = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppPublish, client, server_url)
|
|
35
|
+
self.AppRollback = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppRollback, client, server_url)
|
|
36
|
+
self.AppSetObjects = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppSetObjects, client, server_url)
|
|
37
|
+
self.AppSetTags = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppSetTags, client, server_url)
|
|
38
|
+
self.AppStop = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AppStop, client, server_url)
|
|
39
|
+
self.AttemptAwait = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AttemptAwait, client, server_url)
|
|
40
|
+
self.AttemptRetry = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AttemptRetry, client, server_url)
|
|
41
|
+
self.AttemptStart = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AttemptStart, client, server_url)
|
|
42
|
+
self.AuthTokenGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.AuthTokenGet, client, server_url)
|
|
43
|
+
self.BlobCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.BlobCreate, client, server_url)
|
|
44
|
+
self.BlobGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.BlobGet, client, server_url)
|
|
45
|
+
self.ClassCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ClassCreate, client, server_url)
|
|
46
|
+
self.ClassGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ClassGet, client, server_url)
|
|
47
|
+
self.ClientHello = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ClientHello, client, server_url)
|
|
48
|
+
self.ClusterGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ClusterGet, client, server_url)
|
|
49
|
+
self.ClusterList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ClusterList, client, server_url)
|
|
50
|
+
self.ContainerCheckpoint = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerCheckpoint, client, server_url)
|
|
51
|
+
self.ContainerExec = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerExec, client, server_url)
|
|
52
|
+
self.ContainerExecGetOutput = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.ContainerExecGetOutput, client, server_url)
|
|
53
|
+
self.ContainerExecPutInput = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerExecPutInput, client, server_url)
|
|
54
|
+
self.ContainerExecWait = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerExecWait, client, server_url)
|
|
55
|
+
self.ContainerFilesystemExec = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerFilesystemExec, client, server_url)
|
|
56
|
+
self.ContainerFilesystemExecGetOutput = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.ContainerFilesystemExecGetOutput, client, server_url)
|
|
57
|
+
self.ContainerHeartbeat = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerHeartbeat, client, server_url)
|
|
58
|
+
self.ContainerHello = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerHello, client, server_url)
|
|
59
|
+
self.ContainerLog = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerLog, client, server_url)
|
|
60
|
+
self.ContainerReloadVolumes = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerReloadVolumes, client, server_url)
|
|
61
|
+
self.ContainerStop = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ContainerStop, client, server_url)
|
|
62
|
+
self.DictClear = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictClear, client, server_url)
|
|
63
|
+
self.DictContains = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictContains, client, server_url)
|
|
64
|
+
self.DictContents = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.DictContents, client, server_url)
|
|
65
|
+
self.DictDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictDelete, client, server_url)
|
|
66
|
+
self.DictGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictGet, client, server_url)
|
|
67
|
+
self.DictGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictGetOrCreate, client, server_url)
|
|
68
|
+
self.DictHeartbeat = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictHeartbeat, client, server_url)
|
|
69
|
+
self.DictLen = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictLen, client, server_url)
|
|
70
|
+
self.DictList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictList, client, server_url)
|
|
71
|
+
self.DictPop = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictPop, client, server_url)
|
|
72
|
+
self.DictUpdate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DictUpdate, client, server_url)
|
|
73
|
+
self.DomainCertificateVerify = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DomainCertificateVerify, client, server_url)
|
|
74
|
+
self.DomainCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DomainCreate, client, server_url)
|
|
75
|
+
self.DomainList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.DomainList, client, server_url)
|
|
76
|
+
self.EnvironmentCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.EnvironmentCreate, client, server_url)
|
|
77
|
+
self.EnvironmentDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.EnvironmentDelete, client, server_url)
|
|
78
|
+
self.EnvironmentGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.EnvironmentGetOrCreate, client, server_url)
|
|
79
|
+
self.EnvironmentList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.EnvironmentList, client, server_url)
|
|
80
|
+
self.EnvironmentUpdate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.EnvironmentUpdate, client, server_url)
|
|
81
|
+
self.FlashContainerDeregister = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FlashContainerDeregister, client, server_url)
|
|
82
|
+
self.FlashContainerList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FlashContainerList, client, server_url)
|
|
83
|
+
self.FlashContainerRegister = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FlashContainerRegister, client, server_url)
|
|
84
|
+
self.FlashSetTargetSlotsMetrics = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FlashSetTargetSlotsMetrics, client, server_url)
|
|
85
|
+
self.FunctionAsyncInvoke = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionAsyncInvoke, client, server_url)
|
|
86
|
+
self.FunctionBindParams = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionBindParams, client, server_url)
|
|
87
|
+
self.FunctionCallCancel = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionCallCancel, client, server_url)
|
|
88
|
+
self.FunctionCallFromId = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionCallFromId, client, server_url)
|
|
89
|
+
self.FunctionCallGetDataIn = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.FunctionCallGetDataIn, client, server_url)
|
|
90
|
+
self.FunctionCallGetDataOut = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.FunctionCallGetDataOut, client, server_url)
|
|
91
|
+
self.FunctionCallList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionCallList, client, server_url)
|
|
92
|
+
self.FunctionCallPutDataOut = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionCallPutDataOut, client, server_url)
|
|
93
|
+
self.FunctionCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionCreate, client, server_url)
|
|
94
|
+
self.FunctionFinishInputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionFinishInputs, client, server_url)
|
|
95
|
+
self.FunctionGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionGet, client, server_url)
|
|
96
|
+
self.FunctionGetCallGraph = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionGetCallGraph, client, server_url)
|
|
97
|
+
self.FunctionGetCurrentStats = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionGetCurrentStats, client, server_url)
|
|
98
|
+
self.FunctionGetDynamicConcurrency = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionGetDynamicConcurrency, client, server_url)
|
|
99
|
+
self.FunctionGetInputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionGetInputs, client, server_url)
|
|
100
|
+
self.FunctionGetOutputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionGetOutputs, client, server_url)
|
|
101
|
+
self.FunctionGetSerialized = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionGetSerialized, client, server_url)
|
|
102
|
+
self.FunctionMap = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionMap, client, server_url)
|
|
103
|
+
self.FunctionPrecreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionPrecreate, client, server_url)
|
|
104
|
+
self.FunctionPutInputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionPutInputs, client, server_url)
|
|
105
|
+
self.FunctionPutOutputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionPutOutputs, client, server_url)
|
|
106
|
+
self.FunctionRetryInputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionRetryInputs, client, server_url)
|
|
107
|
+
self.FunctionStartPtyShell = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionStartPtyShell, client, server_url)
|
|
108
|
+
self.FunctionUpdateSchedulingParams = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.FunctionUpdateSchedulingParams, client, server_url)
|
|
109
|
+
self.ImageDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ImageDelete, client, server_url)
|
|
110
|
+
self.ImageFromId = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ImageFromId, client, server_url)
|
|
111
|
+
self.ImageGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ImageGetOrCreate, client, server_url)
|
|
112
|
+
self.ImageJoinStreaming = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.ImageJoinStreaming, client, server_url)
|
|
113
|
+
self.MapAwait = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.MapAwait, client, server_url)
|
|
114
|
+
self.MapCheckInputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.MapCheckInputs, client, server_url)
|
|
115
|
+
self.MapStartOrContinue = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.MapStartOrContinue, client, server_url)
|
|
116
|
+
self.MountGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.MountGetOrCreate, client, server_url)
|
|
117
|
+
self.MountPutFile = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.MountPutFile, client, server_url)
|
|
118
|
+
self.NotebookKernelPublishResults = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.NotebookKernelPublishResults, client, server_url)
|
|
119
|
+
self.ProxyAddIp = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ProxyAddIp, client, server_url)
|
|
120
|
+
self.ProxyCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ProxyCreate, client, server_url)
|
|
121
|
+
self.ProxyDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ProxyDelete, client, server_url)
|
|
122
|
+
self.ProxyGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ProxyGet, client, server_url)
|
|
123
|
+
self.ProxyGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ProxyGetOrCreate, client, server_url)
|
|
124
|
+
self.ProxyList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ProxyList, client, server_url)
|
|
125
|
+
self.ProxyRemoveIp = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.ProxyRemoveIp, client, server_url)
|
|
126
|
+
self.QueueClear = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueClear, client, server_url)
|
|
127
|
+
self.QueueDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueDelete, client, server_url)
|
|
128
|
+
self.QueueGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueGet, client, server_url)
|
|
129
|
+
self.QueueGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueGetOrCreate, client, server_url)
|
|
130
|
+
self.QueueHeartbeat = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueHeartbeat, client, server_url)
|
|
131
|
+
self.QueueLen = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueLen, client, server_url)
|
|
132
|
+
self.QueueList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueList, client, server_url)
|
|
133
|
+
self.QueueNextItems = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueueNextItems, client, server_url)
|
|
134
|
+
self.QueuePut = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.QueuePut, client, server_url)
|
|
135
|
+
self.SandboxCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxCreate, client, server_url)
|
|
136
|
+
self.SandboxCreateConnectToken = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxCreateConnectToken, client, server_url)
|
|
137
|
+
self.SandboxGetFromName = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxGetFromName, client, server_url)
|
|
138
|
+
self.SandboxGetLogs = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.SandboxGetLogs, client, server_url)
|
|
139
|
+
self.SandboxGetResourceUsage = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxGetResourceUsage, client, server_url)
|
|
140
|
+
self.SandboxGetTaskId = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxGetTaskId, client, server_url)
|
|
141
|
+
self.SandboxGetTunnels = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxGetTunnels, client, server_url)
|
|
142
|
+
self.SandboxList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxList, client, server_url)
|
|
143
|
+
self.SandboxRestore = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxRestore, client, server_url)
|
|
144
|
+
self.SandboxSnapshot = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshot, client, server_url)
|
|
145
|
+
self.SandboxSnapshotFs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotFs, client, server_url)
|
|
146
|
+
self.SandboxSnapshotFsAsync = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotFsAsync, client, server_url)
|
|
147
|
+
self.SandboxSnapshotFsAsyncGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotFsAsyncGet, client, server_url)
|
|
148
|
+
self.SandboxSnapshotGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotGet, client, server_url)
|
|
149
|
+
self.SandboxSnapshotWait = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotWait, client, server_url)
|
|
150
|
+
self.SandboxStdinWrite = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxStdinWrite, client, server_url)
|
|
151
|
+
self.SandboxTagsGet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxTagsGet, client, server_url)
|
|
152
|
+
self.SandboxTagsSet = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxTagsSet, client, server_url)
|
|
153
|
+
self.SandboxTerminate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxTerminate, client, server_url)
|
|
154
|
+
self.SandboxWait = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SandboxWait, client, server_url)
|
|
155
|
+
self.SecretDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SecretDelete, client, server_url)
|
|
156
|
+
self.SecretGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SecretGetOrCreate, client, server_url)
|
|
157
|
+
self.SecretList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SecretList, client, server_url)
|
|
158
|
+
self.SharedVolumeDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumeDelete, client, server_url)
|
|
159
|
+
self.SharedVolumeGetFile = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumeGetFile, client, server_url)
|
|
160
|
+
self.SharedVolumeGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumeGetOrCreate, client, server_url)
|
|
161
|
+
self.SharedVolumeHeartbeat = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumeHeartbeat, client, server_url)
|
|
162
|
+
self.SharedVolumeList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumeList, client, server_url)
|
|
163
|
+
self.SharedVolumeListFiles = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumeListFiles, client, server_url)
|
|
164
|
+
self.SharedVolumeListFilesStream = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.SharedVolumeListFilesStream, client, server_url)
|
|
165
|
+
self.SharedVolumePutFile = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumePutFile, client, server_url)
|
|
166
|
+
self.SharedVolumeRemoveFile = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.SharedVolumeRemoveFile, client, server_url)
|
|
167
|
+
self.TaskClusterHello = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TaskClusterHello, client, server_url)
|
|
168
|
+
self.TaskCurrentInputs = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TaskCurrentInputs, client, server_url)
|
|
169
|
+
self.TaskGetCommandRouterAccess = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TaskGetCommandRouterAccess, client, server_url)
|
|
170
|
+
self.TaskList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TaskList, client, server_url)
|
|
171
|
+
self.TaskResult = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TaskResult, client, server_url)
|
|
172
|
+
self.TokenFlowCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TokenFlowCreate, client, server_url)
|
|
173
|
+
self.TokenFlowWait = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TokenFlowWait, client, server_url)
|
|
174
|
+
self.TunnelStart = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TunnelStart, client, server_url)
|
|
175
|
+
self.TunnelStop = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.TunnelStop, client, server_url)
|
|
176
|
+
self.VolumeCommit = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeCommit, client, server_url)
|
|
177
|
+
self.VolumeCopyFiles = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeCopyFiles, client, server_url)
|
|
178
|
+
self.VolumeCopyFiles2 = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeCopyFiles2, client, server_url)
|
|
179
|
+
self.VolumeDelete = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeDelete, client, server_url)
|
|
180
|
+
self.VolumeGetFile = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeGetFile, client, server_url)
|
|
181
|
+
self.VolumeGetFile2 = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeGetFile2, client, server_url)
|
|
182
|
+
self.VolumeGetOrCreate = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeGetOrCreate, client, server_url)
|
|
183
|
+
self.VolumeHeartbeat = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeHeartbeat, client, server_url)
|
|
184
|
+
self.VolumeList = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeList, client, server_url)
|
|
185
|
+
self.VolumeListFiles = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.VolumeListFiles, client, server_url)
|
|
186
|
+
self.VolumeListFiles2 = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.VolumeListFiles2, client, server_url)
|
|
187
|
+
self.VolumePutFiles = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumePutFiles, client, server_url)
|
|
188
|
+
self.VolumePutFiles2 = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumePutFiles2, client, server_url)
|
|
189
|
+
self.VolumeReload = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeReload, client, server_url)
|
|
190
|
+
self.VolumeRemoveFile = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeRemoveFile, client, server_url)
|
|
191
|
+
self.VolumeRemoveFile2 = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeRemoveFile2, client, server_url)
|
|
192
|
+
self.VolumeRename = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.VolumeRename, client, server_url)
|
|
193
|
+
self.WorkspaceBillingReport = modal._grpc_client.UnaryStreamWrapper(grpclib_stub.WorkspaceBillingReport, client, server_url)
|
|
194
|
+
self.WorkspaceNameLookup = modal._grpc_client.UnaryUnaryWrapper(grpclib_stub.WorkspaceNameLookup, client, server_url)
|
modal_proto/sandbox_router.proto
CHANGED
|
@@ -55,10 +55,6 @@ message SandboxExecStartRequest {
|
|
|
55
55
|
string task_id = 1;
|
|
56
56
|
// Execution ID. This ID will be used to identify the execution for other
|
|
57
57
|
// requests and ensure exec commands are idempotent.
|
|
58
|
-
//
|
|
59
|
-
// TODO(saltzm): Could instead have a separate idempotency key from the exec_id
|
|
60
|
-
// like present day, and have the server generate the exec_id and return it in
|
|
61
|
-
// the ExecStartResponse.
|
|
62
58
|
string exec_id = 2;
|
|
63
59
|
// Command arguments to execute.
|
|
64
60
|
repeated string command_args= 3;
|
|
@@ -146,10 +146,6 @@ class SandboxExecStartRequest(google.protobuf.message.Message):
|
|
|
146
146
|
exec_id: builtins.str
|
|
147
147
|
"""Execution ID. This ID will be used to identify the execution for other
|
|
148
148
|
requests and ensure exec commands are idempotent.
|
|
149
|
-
|
|
150
|
-
TODO(saltzm): Could instead have a separate idempotency key from the exec_id
|
|
151
|
-
like present day, and have the server generate the exec_id and return it in
|
|
152
|
-
the ExecStartResponse.
|
|
153
149
|
"""
|
|
154
150
|
@property
|
|
155
151
|
def command_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|