modal 1.0.6.dev45__py3-none-any.whl → 1.0.6.dev47__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of modal might be problematic. Click here for more details.
- modal/_serialization.py +8 -3
- modal/client.pyi +2 -2
- modal/config.py +0 -1
- modal/container_process.py +2 -0
- modal/functions.pyi +6 -6
- modal/io_streams.py +19 -3
- modal/io_streams.pyi +7 -1
- modal/sandbox.py +2 -1
- {modal-1.0.6.dev45.dist-info → modal-1.0.6.dev47.dist-info}/METADATA +1 -1
- {modal-1.0.6.dev45.dist-info → modal-1.0.6.dev47.dist-info}/RECORD +17 -17
- modal_proto/api.proto +1 -1
- modal_proto/api_pb2.pyi +2 -1
- modal_version/__init__.py +1 -1
- {modal-1.0.6.dev45.dist-info → modal-1.0.6.dev47.dist-info}/WHEEL +0 -0
- {modal-1.0.6.dev45.dist-info → modal-1.0.6.dev47.dist-info}/entry_points.txt +0 -0
- {modal-1.0.6.dev45.dist-info → modal-1.0.6.dev47.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.6.dev45.dist-info → modal-1.0.6.dev47.dist-info}/top_level.txt +0 -0
modal/_serialization.py
CHANGED
|
@@ -14,7 +14,7 @@ from modal_proto import api_pb2
|
|
|
14
14
|
from ._object import _Object
|
|
15
15
|
from ._type_manager import parameter_serde_registry, schema_registry
|
|
16
16
|
from ._vendor import cloudpickle
|
|
17
|
-
from .config import
|
|
17
|
+
from .config import logger
|
|
18
18
|
from .exception import DeserializationError, ExecutionError, InvalidError
|
|
19
19
|
from .object import Object
|
|
20
20
|
|
|
@@ -555,11 +555,16 @@ def get_callable_schema(
|
|
|
555
555
|
callable: typing.Callable, *, is_web_endpoint: bool, ignore_first_argument: bool = False
|
|
556
556
|
) -> typing.Optional[api_pb2.FunctionSchema]:
|
|
557
557
|
# ignore_first_argument can be used in case of unbound methods where we want to ignore the first (self) argument
|
|
558
|
-
if is_web_endpoint
|
|
558
|
+
if is_web_endpoint:
|
|
559
559
|
# we don't support schemas on web endpoints for now
|
|
560
560
|
return None
|
|
561
561
|
|
|
562
|
-
|
|
562
|
+
try:
|
|
563
|
+
sig = inspect.signature(callable)
|
|
564
|
+
except Exception as e:
|
|
565
|
+
logger.debug(f"Error getting signature for function {callable}", exc_info=e)
|
|
566
|
+
return None
|
|
567
|
+
|
|
563
568
|
# TODO: treat no return value annotation as None return?
|
|
564
569
|
return_type_proto = schema_registry.get_proto_generic_type(sig.return_annotation)
|
|
565
570
|
arguments = []
|
modal/client.pyi
CHANGED
|
@@ -33,7 +33,7 @@ class _Client:
|
|
|
33
33
|
server_url: str,
|
|
34
34
|
client_type: int,
|
|
35
35
|
credentials: typing.Optional[tuple[str, str]],
|
|
36
|
-
version: str = "1.0.6.
|
|
36
|
+
version: str = "1.0.6.dev47",
|
|
37
37
|
):
|
|
38
38
|
"""mdmd:hidden
|
|
39
39
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -163,7 +163,7 @@ class Client:
|
|
|
163
163
|
server_url: str,
|
|
164
164
|
client_type: int,
|
|
165
165
|
credentials: typing.Optional[tuple[str, str]],
|
|
166
|
-
version: str = "1.0.6.
|
|
166
|
+
version: str = "1.0.6.dev47",
|
|
167
167
|
):
|
|
168
168
|
"""mdmd:hidden
|
|
169
169
|
The Modal client object is not intended to be instantiated directly by users.
|
modal/config.py
CHANGED
|
@@ -238,7 +238,6 @@ _SETTINGS = {
|
|
|
238
238
|
"strict_parameters": _Setting(False, transform=_to_boolean), # For internal/experimental use
|
|
239
239
|
"snapshot_debug": _Setting(False, transform=_to_boolean),
|
|
240
240
|
"cuda_checkpoint_path": _Setting("/__modal/.bin/cuda-checkpoint"), # Used for snapshotting GPU memory.
|
|
241
|
-
"function_schemas": _Setting(False, transform=_to_boolean),
|
|
242
241
|
"build_validation": _Setting("error", transform=_check_value(["error", "warn", "ignore"])),
|
|
243
242
|
}
|
|
244
243
|
|
modal/container_process.py
CHANGED
|
@@ -50,6 +50,7 @@ class _ContainerProcess(Generic[T]):
|
|
|
50
50
|
stream_type=stdout,
|
|
51
51
|
text=text,
|
|
52
52
|
by_line=by_line,
|
|
53
|
+
deadline=exec_deadline,
|
|
53
54
|
)
|
|
54
55
|
self._stderr = _StreamReader[T](
|
|
55
56
|
api_pb2.FILE_DESCRIPTOR_STDERR,
|
|
@@ -59,6 +60,7 @@ class _ContainerProcess(Generic[T]):
|
|
|
59
60
|
stream_type=stderr,
|
|
60
61
|
text=text,
|
|
61
62
|
by_line=by_line,
|
|
63
|
+
deadline=exec_deadline,
|
|
62
64
|
)
|
|
63
65
|
self._stdin = _StreamWriter(process_id, "container_process", self._client)
|
|
64
66
|
|
modal/functions.pyi
CHANGED
|
@@ -428,7 +428,7 @@ class Function(
|
|
|
428
428
|
|
|
429
429
|
_call_generator: ___call_generator_spec[typing_extensions.Self]
|
|
430
430
|
|
|
431
|
-
class __remote_spec(typing_extensions.Protocol[
|
|
431
|
+
class __remote_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
|
|
432
432
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
|
|
433
433
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
434
434
|
...
|
|
@@ -437,7 +437,7 @@ class Function(
|
|
|
437
437
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
438
438
|
...
|
|
439
439
|
|
|
440
|
-
remote: __remote_spec[modal._functions.
|
|
440
|
+
remote: __remote_spec[modal._functions.ReturnType, modal._functions.P, typing_extensions.Self]
|
|
441
441
|
|
|
442
442
|
class __remote_gen_spec(typing_extensions.Protocol[SUPERSELF]):
|
|
443
443
|
def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
|
|
@@ -464,7 +464,7 @@ class Function(
|
|
|
464
464
|
"""
|
|
465
465
|
...
|
|
466
466
|
|
|
467
|
-
class ___experimental_spawn_spec(typing_extensions.Protocol[
|
|
467
|
+
class ___experimental_spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
|
|
468
468
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
469
469
|
"""[Experimental] Calls the function with the given arguments, without waiting for the results.
|
|
470
470
|
|
|
@@ -488,7 +488,7 @@ class Function(
|
|
|
488
488
|
...
|
|
489
489
|
|
|
490
490
|
_experimental_spawn: ___experimental_spawn_spec[
|
|
491
|
-
modal._functions.
|
|
491
|
+
modal._functions.ReturnType, modal._functions.P, typing_extensions.Self
|
|
492
492
|
]
|
|
493
493
|
|
|
494
494
|
class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER, SUPERSELF]):
|
|
@@ -497,7 +497,7 @@ class Function(
|
|
|
497
497
|
|
|
498
498
|
_spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P, typing_extensions.Self]
|
|
499
499
|
|
|
500
|
-
class __spawn_spec(typing_extensions.Protocol[
|
|
500
|
+
class __spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
|
|
501
501
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
502
502
|
"""Calls the function with the given arguments, without waiting for the results.
|
|
503
503
|
|
|
@@ -518,7 +518,7 @@ class Function(
|
|
|
518
518
|
"""
|
|
519
519
|
...
|
|
520
520
|
|
|
521
|
-
spawn: __spawn_spec[modal._functions.
|
|
521
|
+
spawn: __spawn_spec[modal._functions.ReturnType, modal._functions.P, typing_extensions.Self]
|
|
522
522
|
|
|
523
523
|
def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
|
|
524
524
|
"""Return the inner Python object wrapped by this Modal Function."""
|
modal/io_streams.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Copyright Modal Labs 2022
|
|
2
2
|
import asyncio
|
|
3
|
+
import time
|
|
3
4
|
from collections.abc import AsyncGenerator, AsyncIterator
|
|
4
5
|
from typing import (
|
|
5
6
|
TYPE_CHECKING,
|
|
@@ -50,6 +51,7 @@ async def _container_process_logs_iterator(
|
|
|
50
51
|
file_descriptor: "api_pb2.FileDescriptor.ValueType",
|
|
51
52
|
client: _Client,
|
|
52
53
|
last_index: int,
|
|
54
|
+
deadline: Optional[float] = None,
|
|
53
55
|
) -> AsyncGenerator[tuple[Optional[bytes], int], None]:
|
|
54
56
|
req = api_pb2.ContainerExecGetOutputRequest(
|
|
55
57
|
exec_id=process_id,
|
|
@@ -58,7 +60,18 @@ async def _container_process_logs_iterator(
|
|
|
58
60
|
get_raw_bytes=True,
|
|
59
61
|
last_batch_index=last_index,
|
|
60
62
|
)
|
|
61
|
-
|
|
63
|
+
|
|
64
|
+
stream = client.stub.ContainerExecGetOutput.unary_stream(req)
|
|
65
|
+
while True:
|
|
66
|
+
# Check deadline before attempting to receive the next batch
|
|
67
|
+
try:
|
|
68
|
+
remaining = (deadline - time.monotonic()) if deadline else None
|
|
69
|
+
batch = await asyncio.wait_for(stream.__anext__(), timeout=remaining)
|
|
70
|
+
except asyncio.TimeoutError:
|
|
71
|
+
yield None, -1
|
|
72
|
+
break
|
|
73
|
+
except StopAsyncIteration:
|
|
74
|
+
break
|
|
62
75
|
if batch.HasField("exit_code"):
|
|
63
76
|
yield None, batch.batch_index
|
|
64
77
|
break
|
|
@@ -102,6 +115,7 @@ class _StreamReader(Generic[T]):
|
|
|
102
115
|
stream_type: StreamType = StreamType.PIPE,
|
|
103
116
|
text: bool = True,
|
|
104
117
|
by_line: bool = False,
|
|
118
|
+
deadline: Optional[float] = None,
|
|
105
119
|
) -> None:
|
|
106
120
|
"""mdmd:hidden"""
|
|
107
121
|
self._file_descriptor = file_descriptor
|
|
@@ -111,6 +125,7 @@ class _StreamReader(Generic[T]):
|
|
|
111
125
|
self._stream = None
|
|
112
126
|
self._last_entry_id: str = ""
|
|
113
127
|
self._line_buffer = b""
|
|
128
|
+
self._deadline = deadline
|
|
114
129
|
|
|
115
130
|
# Sandbox logs are streamed to the client as strings, so StreamReaders reading
|
|
116
131
|
# them must have text mode enabled.
|
|
@@ -187,11 +202,12 @@ class _StreamReader(Generic[T]):
|
|
|
187
202
|
retries_remaining = 10
|
|
188
203
|
last_index = 0
|
|
189
204
|
while not completed:
|
|
205
|
+
if self._deadline and time.monotonic() >= self._deadline:
|
|
206
|
+
break
|
|
190
207
|
try:
|
|
191
208
|
iterator = _container_process_logs_iterator(
|
|
192
|
-
self._object_id, self._file_descriptor, self._client, last_index
|
|
209
|
+
self._object_id, self._file_descriptor, self._client, last_index, self._deadline
|
|
193
210
|
)
|
|
194
|
-
|
|
195
211
|
async for message, batch_index in iterator:
|
|
196
212
|
if self._stream_type == StreamType.STDOUT and message:
|
|
197
213
|
print(message.decode("utf-8"), end="")
|
modal/io_streams.pyi
CHANGED
|
@@ -8,7 +8,11 @@ def _sandbox_logs_iterator(
|
|
|
8
8
|
sandbox_id: str, file_descriptor: int, last_entry_id: str, client: modal.client._Client
|
|
9
9
|
) -> collections.abc.AsyncGenerator[tuple[typing.Optional[bytes], str], None]: ...
|
|
10
10
|
def _container_process_logs_iterator(
|
|
11
|
-
process_id: str,
|
|
11
|
+
process_id: str,
|
|
12
|
+
file_descriptor: int,
|
|
13
|
+
client: modal.client._Client,
|
|
14
|
+
last_index: int,
|
|
15
|
+
deadline: typing.Optional[float] = None,
|
|
12
16
|
) -> collections.abc.AsyncGenerator[tuple[typing.Optional[bytes], int], None]: ...
|
|
13
17
|
|
|
14
18
|
T = typing.TypeVar("T")
|
|
@@ -46,6 +50,7 @@ class _StreamReader(typing.Generic[T]):
|
|
|
46
50
|
stream_type: modal.stream_type.StreamType = modal.stream_type.StreamType.PIPE,
|
|
47
51
|
text: bool = True,
|
|
48
52
|
by_line: bool = False,
|
|
53
|
+
deadline: typing.Optional[float] = None,
|
|
49
54
|
) -> None:
|
|
50
55
|
"""mdmd:hidden"""
|
|
51
56
|
...
|
|
@@ -211,6 +216,7 @@ class StreamReader(typing.Generic[T]):
|
|
|
211
216
|
stream_type: modal.stream_type.StreamType = modal.stream_type.StreamType.PIPE,
|
|
212
217
|
text: bool = True,
|
|
213
218
|
by_line: bool = False,
|
|
219
|
+
deadline: typing.Optional[float] = None,
|
|
214
220
|
) -> None:
|
|
215
221
|
"""mdmd:hidden"""
|
|
216
222
|
...
|
modal/sandbox.py
CHANGED
|
@@ -50,10 +50,11 @@ _default_image: _Image = _Image.debian_slim()
|
|
|
50
50
|
# e.g. 'runsc exec ...'. So we use 2**16 as the limit.
|
|
51
51
|
ARG_MAX_BYTES = 2**16
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
# This buffer extends the user-supplied timeout on ContainerExec-related RPCs. This was introduced to
|
|
55
54
|
# give any in-flight status codes/IO data more time to reach the client before the stream is closed.
|
|
56
55
|
CONTAINER_EXEC_TIMEOUT_BUFFER = 5
|
|
56
|
+
|
|
57
|
+
|
|
57
58
|
if TYPE_CHECKING:
|
|
58
59
|
import modal.app
|
|
59
60
|
|
|
@@ -12,7 +12,7 @@ modal/_partial_function.py,sha256=yq--_U7jU7nkZNLWFImVvin9P5A-FiOZLUVEuw9xKoE,36
|
|
|
12
12
|
modal/_pty.py,sha256=JZfPDDpzqICZqtyPI_oMJf_9w-p_lLNuzHhwhodUXio,1329
|
|
13
13
|
modal/_resolver.py,sha256=-nolqj_p_mx5czVYj1Mazh2IQWpSMrTOGughVJqYfo8,7579
|
|
14
14
|
modal/_resources.py,sha256=NMAp0GCLutiZI4GuKSIVnRHVlstoD3hNGUabjTUtzf4,1794
|
|
15
|
-
modal/_serialization.py,sha256=
|
|
15
|
+
modal/_serialization.py,sha256=wt09fOwo-E9ATlOG91O9RXCTPRNtsm97v4Unk8Bzd-8,24145
|
|
16
16
|
modal/_traceback.py,sha256=IZQzB3fVlUfMHOSyKUgw0H6qv4yHnpyq-XVCNZKfUdA,5023
|
|
17
17
|
modal/_tunnel.py,sha256=zTBxBiuH1O22tS1OliAJdIsSmaZS8PlnifS_6S5z-mk,6320
|
|
18
18
|
modal/_tunnel.pyi,sha256=rvC7USR2BcKkbZIeCJXwf7-UfGE-LPLjKsGNiK7Lxa4,13366
|
|
@@ -22,13 +22,13 @@ modal/app.py,sha256=U0sPiHpphcRHLnoLYh2IrU2RSpRFX9BE5uHb7h42STs,47478
|
|
|
22
22
|
modal/app.pyi,sha256=cXiSTu2bwu6csAUdkOlh7mr9tPvtaS2qWSEhlC1UxAg,43787
|
|
23
23
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
|
24
24
|
modal/client.py,sha256=5QyM7VJjsFbHf6E91ar3A2KY9mx03wdtGlNJvfTKUVs,17087
|
|
25
|
-
modal/client.pyi,sha256=
|
|
25
|
+
modal/client.pyi,sha256=RlfKrK_5zOOXiO54rGorLL8e2LJSzg1RDnPuZXCK7zc,15270
|
|
26
26
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
|
27
27
|
modal/cloud_bucket_mount.pyi,sha256=-qSfYAQvIoO_l2wsCCGTG5ZUwQieNKXdAO00yP1-LYU,7394
|
|
28
28
|
modal/cls.py,sha256=B5EtzpBXemH718YvgXaYjuTKvairvqfXJ7IwLZ_6vVA,40034
|
|
29
29
|
modal/cls.pyi,sha256=_tZ5qrlL-ZDEcD-mf9BZkkNH5XPr4SmGTEQ-RVmqF3I,27772
|
|
30
|
-
modal/config.py,sha256=
|
|
31
|
-
modal/container_process.py,sha256=
|
|
30
|
+
modal/config.py,sha256=FqVewLPVVR4feq_46JBENiCzqTuXKpnvQZxaeWbS39g,12009
|
|
31
|
+
modal/container_process.py,sha256=1m4NPg0lgZmlG9OTkhHbjafqlqoo4lLv-A-X5lV21yo,6852
|
|
32
32
|
modal/container_process.pyi,sha256=9m-st3hCUlNN1GOTctfPPvIvoLtEl7FbuGWwif5-7YU,6037
|
|
33
33
|
modal/dict.py,sha256=wVIkHPFvR8WDoh5c6jT0UstZYmJTpCTM8drkwwjLiAc,14387
|
|
34
34
|
modal/dict.pyi,sha256=gs3J7X5yG3J1L6rW0s3_7yRn8qAfY0f4n5-sqaDZY2g,20853
|
|
@@ -39,12 +39,12 @@ modal/file_io.py,sha256=BVqAJ0sgPUfN8QsYztWiGB4j56he60TncM02KsylnCw,21449
|
|
|
39
39
|
modal/file_io.pyi,sha256=cPT_hsplE5iLCXhYOLn1Sp9eDdk7DxdFmicQHanJZyg,15918
|
|
40
40
|
modal/file_pattern_matcher.py,sha256=urAue8es8jxqX94k9EYoZxxhtfgOlsEES8lbFHOorzc,7734
|
|
41
41
|
modal/functions.py,sha256=kcNHvqeGBxPI7Cgd57NIBBghkfbeFJzXO44WW0jSmao,325
|
|
42
|
-
modal/functions.pyi,sha256=
|
|
42
|
+
modal/functions.pyi,sha256=FJe_91dSrMCRNVT-YV1UhtxFKzIvL_C5q8xdk08-wT8,34840
|
|
43
43
|
modal/gpu.py,sha256=Fe5ORvVPDIstSq1xjmM6OoNgLYFWvogP9r5BgmD3hYg,6769
|
|
44
44
|
modal/image.py,sha256=qTJ6pTcLfYRh112wId7CCNWWmm077w6JoIqxE8BiCoo,102261
|
|
45
45
|
modal/image.pyi,sha256=TVy-rnSAP2WgQ5zf_sQLFzb-99Qg9LiQNGXR9psFA_o,68107
|
|
46
|
-
modal/io_streams.py,sha256=
|
|
47
|
-
modal/io_streams.pyi,sha256=
|
|
46
|
+
modal/io_streams.py,sha256=25ifqMoixhQ3brpnvK2E5z-5n2MOqtYxh8X1tXbahQc,16204
|
|
47
|
+
modal/io_streams.pyi,sha256=aOun_jUFKHSJyUY6-7gKvNoxzcULsa8_hxdtEO7v-gk,13980
|
|
48
48
|
modal/mount.py,sha256=q-pPeVxAmte-G_LDpbFwaNs2Rb2MIpscfnCXzkhxrOI,36734
|
|
49
49
|
modal/mount.pyi,sha256=n6AuS8J3bTCQj750nVZZdVBvzCAlSM2fyxAt_5LLFik,20264
|
|
50
50
|
modal/network_file_system.py,sha256=92U94Wk2fP40LlgLDIHkTqQ-zc21YxaG6SdFQy8SudU,14731
|
|
@@ -65,7 +65,7 @@ modal/retries.py,sha256=IvNLDM0f_GLUDD5VgEDoN09C88yoxSrCquinAuxT1Sc,5205
|
|
|
65
65
|
modal/runner.py,sha256=ostdzYpQb-20tlD6dIq7bpWTkZkOhjJBNuMNektqnJA,24068
|
|
66
66
|
modal/runner.pyi,sha256=lbwLljm1cC8d6PcNvmYQhkE8501V9fg0bYqqKX6G4r4,8489
|
|
67
67
|
modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
|
|
68
|
-
modal/sandbox.py,sha256=
|
|
68
|
+
modal/sandbox.py,sha256=hKuGVBB-JTn-Oq4hCxNS3rR6ismQ_TgcSKZv5--iDz8,37584
|
|
69
69
|
modal/sandbox.pyi,sha256=AyROza8ZUUxs6MO1f3l8zDjTkp6O46H132xUwBUixIc,38565
|
|
70
70
|
modal/schedule.py,sha256=ng0g0AqNY5GQI9KhkXZQ5Wam5G42glbkqVQsNpBtbDE,3078
|
|
71
71
|
modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
|
|
@@ -151,7 +151,7 @@ modal/requirements/2025.06.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqr
|
|
|
151
151
|
modal/requirements/PREVIEW.txt,sha256=KxDaVTOwatHvboDo4lorlgJ7-n-MfAwbPwxJ0zcJqrs,312
|
|
152
152
|
modal/requirements/README.md,sha256=9tK76KP0Uph7O0M5oUgsSwEZDj5y-dcUPsnpR0Sc-Ik,854
|
|
153
153
|
modal/requirements/base-images.json,sha256=JYSDAgHTl-WrV_TZW5icY-IJEnbe2eQ4CZ_KN6EOZKU,1304
|
|
154
|
-
modal-1.0.6.
|
|
154
|
+
modal-1.0.6.dev47.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
155
155
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
156
156
|
modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
|
|
157
157
|
modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
|
|
@@ -159,10 +159,10 @@ modal_docs/mdmd/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,2
|
|
|
159
159
|
modal_docs/mdmd/mdmd.py,sha256=eW5MzrEl7mSclDo4Uv64sQ1-4IyLggldbgUJdBVLDdI,6449
|
|
160
160
|
modal_docs/mdmd/signatures.py,sha256=XJaZrK7Mdepk5fdX51A8uENiLFNil85Ud0d4MH8H5f0,3218
|
|
161
161
|
modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
|
|
162
|
-
modal_proto/api.proto,sha256=
|
|
162
|
+
modal_proto/api.proto,sha256=jd9gZY8-bAuTHA29Q2krI8ITyZcSPe0r2afxvuZVg2s,99506
|
|
163
163
|
modal_proto/api_grpc.py,sha256=F7Hu-1Yg7p5a2SbKw9yR4AgpyU0ntvgZTaVbIJMR0DE,122366
|
|
164
164
|
modal_proto/api_pb2.py,sha256=FvAcpNT3sOqmCZIW6Sw_67zGKOpYZd6AxlihRolC1h8,349680
|
|
165
|
-
modal_proto/api_pb2.pyi,sha256=
|
|
165
|
+
modal_proto/api_pb2.pyi,sha256=UMDmFYxv2lUpSZ_jQtxqKhVsbKjLmQg6bFeUDziMkfo,476317
|
|
166
166
|
modal_proto/api_pb2_grpc.py,sha256=pIFrNmCOgRRcIW8A1Ekja9Po6fHcsj54ExDZFzTpYe4,264347
|
|
167
167
|
modal_proto/api_pb2_grpc.pyi,sha256=vtxrQ9xnQG6ZRXjp2uk43Mb7wV7F4qGYuVl5JUBc8jI,61968
|
|
168
168
|
modal_proto/modal_api_grpc.py,sha256=Yl_fGbSIuX2FAEnURkYpKqshs7kbNqtz5HlTJEXkbhE,18487
|
|
@@ -174,10 +174,10 @@ modal_proto/options_pb2.pyi,sha256=l7DBrbLO7q3Ir-XDkWsajm0d0TQqqrfuX54i4BMpdQg,1
|
|
|
174
174
|
modal_proto/options_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
175
175
|
modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0yJSI,247
|
|
176
176
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
177
|
-
modal_version/__init__.py,sha256=
|
|
177
|
+
modal_version/__init__.py,sha256=rxyuPWizRugJp7reK3icdrOgFJhBfBNqh9y0BUSkr30,121
|
|
178
178
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
|
179
|
-
modal-1.0.6.
|
|
180
|
-
modal-1.0.6.
|
|
181
|
-
modal-1.0.6.
|
|
182
|
-
modal-1.0.6.
|
|
183
|
-
modal-1.0.6.
|
|
179
|
+
modal-1.0.6.dev47.dist-info/METADATA,sha256=YRcKtQQyLdj4haZqH5DSQmiDKSN3Njyd0Qio4-w4x10,2462
|
|
180
|
+
modal-1.0.6.dev47.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
181
|
+
modal-1.0.6.dev47.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
182
|
+
modal-1.0.6.dev47.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
183
|
+
modal-1.0.6.dev47.dist-info/RECORD,,
|
modal_proto/api.proto
CHANGED
|
@@ -1431,7 +1431,7 @@ message Function {
|
|
|
1431
1431
|
bool _experimental_enable_gpu_snapshot = 78; // Experimental support for GPU snapshotting
|
|
1432
1432
|
|
|
1433
1433
|
AutoscalerSettings autoscaler_settings = 79; // Bundle of parameters related to autoscaling
|
|
1434
|
-
FunctionSchema function_schema = 80;
|
|
1434
|
+
FunctionSchema function_schema = 80; // Function schema, may be missing: client doesn't block deployment if it fails to get it
|
|
1435
1435
|
|
|
1436
1436
|
// For server-side experimental functionality. Prefer using this over individual _experimental_* fields.
|
|
1437
1437
|
// Note the value type as string. Internally we'll coerce all values to string with str().
|
modal_proto/api_pb2.pyi
CHANGED
|
@@ -4481,7 +4481,8 @@ class Function(google.protobuf.message.Message):
|
|
|
4481
4481
|
def autoscaler_settings(self) -> global___AutoscalerSettings:
|
|
4482
4482
|
"""Bundle of parameters related to autoscaling"""
|
|
4483
4483
|
@property
|
|
4484
|
-
def function_schema(self) -> global___FunctionSchema:
|
|
4484
|
+
def function_schema(self) -> global___FunctionSchema:
|
|
4485
|
+
"""Function schema, may be missing: client doesn't block deployment if it fails to get it"""
|
|
4485
4486
|
@property
|
|
4486
4487
|
def experimental_options(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
4487
4488
|
"""For server-side experimental functionality. Prefer using this over individual _experimental_* fields.
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|