modal 1.1.2.dev8__tar.gz → 1.1.2.dev10__tar.gz
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-1.1.2.dev8 → modal-1.1.2.dev10}/PKG-INFO +1 -1
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_functions.py +1 -2
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/client.pyi +2 -2
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/functions.pyi +6 -6
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal.egg-info/PKG-INFO +1 -1
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/api.proto +0 -2
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/api_pb2_grpc.py +0 -2
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/api_pb2_grpc.pyi +2 -8
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_version/__init__.py +1 -1
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/LICENSE +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/README.md +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/__main__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_clustered_functions.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_clustered_functions.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_container_entrypoint.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_ipython.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_location.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_object.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_output.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_partial_function.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_pty.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_resolver.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_resources.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/asgi.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/container_io_manager.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/container_io_manager.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/execution_context.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/execution_context.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/gpu_memory_snapshot.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/telemetry.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_runtime/user_code_imports.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_serialization.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_traceback.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_tunnel.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_tunnel.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_type_manager.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/app_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/async_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/auth_token_manager.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/blob_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/bytes_io_segment_payload.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/deprecation.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/docker_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/function_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/git_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/grpc_testing.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/grpc_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/hash_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/http_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/jwt_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/logger.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/mount_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/name_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/package_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/pattern_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/rand_pb_testing.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/shell_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_utils/time_utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_vendor/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_vendor/a2wsgi_wsgi.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_vendor/cloudpickle.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_vendor/tblib.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/_watcher.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/app.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/app.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/2023.12.312.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/2023.12.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/2024.04.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/2024.10.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/2025.06.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/PREVIEW.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/README.md +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/builder/base-images.json +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/call_graph.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/_download.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/_traceback.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/app.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/cluster.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/config.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/container.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/dict.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/entry_point.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/environment.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/import_refs.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/launch.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/network_file_system.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/profile.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/programs/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/programs/run_jupyter.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/programs/vscode.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/queues.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/run.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/secret.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/token.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/utils.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cli/volume.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/client.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cloud_bucket_mount.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cloud_bucket_mount.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cls.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/cls.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/config.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/container_process.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/container_process.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/dict.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/dict.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/environments.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/environments.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/exception.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/experimental/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/experimental/flash.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/experimental/flash.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/experimental/ipython.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/file_io.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/file_io.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/file_pattern_matcher.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/functions.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/gpu.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/image.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/image.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/io_streams.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/io_streams.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/mount.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/mount.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/network_file_system.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/network_file_system.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/object.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/object.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/output.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/parallel_map.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/parallel_map.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/partial_function.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/partial_function.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/proxy.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/proxy.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/py.typed +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/queue.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/queue.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/retries.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/runner.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/runner.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/running_app.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/sandbox.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/sandbox.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/schedule.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/scheduler_placement.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/secret.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/secret.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/serving.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/serving.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/snapshot.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/snapshot.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/stream_type.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/token_flow.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/token_flow.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/volume.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal/volume.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal.egg-info/SOURCES.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal.egg-info/dependency_links.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal.egg-info/entry_points.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal.egg-info/requires.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal.egg-info/top_level.txt +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_docs/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_docs/gen_cli_docs.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_docs/gen_reference_docs.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_docs/mdmd/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_docs/mdmd/mdmd.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_docs/mdmd/signatures.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/__init__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/api_grpc.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/api_pb2.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/api_pb2.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/modal_api_grpc.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/modal_options_grpc.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/options.proto +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/options_grpc.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/options_pb2.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/options_pb2.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/options_pb2_grpc.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/options_pb2_grpc.pyi +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_proto/py.typed +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/modal_version/__main__.py +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/pyproject.toml +0 -0
- {modal-1.1.2.dev8 → modal-1.1.2.dev10}/setup.cfg +0 -0
|
@@ -354,8 +354,7 @@ class _Invocation:
|
|
|
354
354
|
|
|
355
355
|
class _InputPlaneInvocation:
|
|
356
356
|
"""Internal client representation of a single-input call to a Modal Function using the input
|
|
357
|
-
plane server API.
|
|
358
|
-
It is OK to make breaking changes to this class."""
|
|
357
|
+
plane server API."""
|
|
359
358
|
|
|
360
359
|
stub: ModalClientModal
|
|
361
360
|
|
|
@@ -33,7 +33,7 @@ class _Client:
|
|
|
33
33
|
server_url: str,
|
|
34
34
|
client_type: int,
|
|
35
35
|
credentials: typing.Optional[tuple[str, str]],
|
|
36
|
-
version: str = "1.1.2.
|
|
36
|
+
version: str = "1.1.2.dev10",
|
|
37
37
|
):
|
|
38
38
|
"""mdmd:hidden
|
|
39
39
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -164,7 +164,7 @@ class Client:
|
|
|
164
164
|
server_url: str,
|
|
165
165
|
client_type: int,
|
|
166
166
|
credentials: typing.Optional[tuple[str, str]],
|
|
167
|
-
version: str = "1.1.2.
|
|
167
|
+
version: str = "1.1.2.dev10",
|
|
168
168
|
):
|
|
169
169
|
"""mdmd:hidden
|
|
170
170
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -433,7 +433,7 @@ class Function(
|
|
|
433
433
|
|
|
434
434
|
_call_generator: ___call_generator_spec[typing_extensions.Self]
|
|
435
435
|
|
|
436
|
-
class __remote_spec(typing_extensions.Protocol[
|
|
436
|
+
class __remote_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
|
|
437
437
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
|
|
438
438
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
439
439
|
...
|
|
@@ -442,7 +442,7 @@ class Function(
|
|
|
442
442
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
443
443
|
...
|
|
444
444
|
|
|
445
|
-
remote: __remote_spec[modal._functions.
|
|
445
|
+
remote: __remote_spec[modal._functions.ReturnType, modal._functions.P, typing_extensions.Self]
|
|
446
446
|
|
|
447
447
|
class __remote_gen_spec(typing_extensions.Protocol[SUPERSELF]):
|
|
448
448
|
def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
|
|
@@ -469,7 +469,7 @@ class Function(
|
|
|
469
469
|
"""
|
|
470
470
|
...
|
|
471
471
|
|
|
472
|
-
class ___experimental_spawn_spec(typing_extensions.Protocol[
|
|
472
|
+
class ___experimental_spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
|
|
473
473
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
474
474
|
"""[Experimental] Calls the function with the given arguments, without waiting for the results.
|
|
475
475
|
|
|
@@ -493,7 +493,7 @@ class Function(
|
|
|
493
493
|
...
|
|
494
494
|
|
|
495
495
|
_experimental_spawn: ___experimental_spawn_spec[
|
|
496
|
-
modal._functions.
|
|
496
|
+
modal._functions.ReturnType, modal._functions.P, typing_extensions.Self
|
|
497
497
|
]
|
|
498
498
|
|
|
499
499
|
class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER, SUPERSELF]):
|
|
@@ -502,7 +502,7 @@ class Function(
|
|
|
502
502
|
|
|
503
503
|
_spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P, typing_extensions.Self]
|
|
504
504
|
|
|
505
|
-
class __spawn_spec(typing_extensions.Protocol[
|
|
505
|
+
class __spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER, SUPERSELF]):
|
|
506
506
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
507
507
|
"""Calls the function with the given arguments, without waiting for the results.
|
|
508
508
|
|
|
@@ -523,7 +523,7 @@ class Function(
|
|
|
523
523
|
"""
|
|
524
524
|
...
|
|
525
525
|
|
|
526
|
-
spawn: __spawn_spec[modal._functions.
|
|
526
|
+
spawn: __spawn_spec[modal._functions.ReturnType, modal._functions.P, typing_extensions.Self]
|
|
527
527
|
|
|
528
528
|
def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
|
|
529
529
|
"""Return the inner Python object wrapped by this Modal Function."""
|
|
@@ -3416,8 +3416,6 @@ service ModalClient {
|
|
|
3416
3416
|
rpc AppStop(AppStopRequest) returns (google.protobuf.Empty);
|
|
3417
3417
|
|
|
3418
3418
|
// Input Plane
|
|
3419
|
-
// These RPCs are experimental, not deployed to production, and can be changed / removed
|
|
3420
|
-
// without needing to worry about backwards compatibility.
|
|
3421
3419
|
rpc AttemptAwait(AttemptAwaitRequest) returns (AttemptAwaitResponse);
|
|
3422
3420
|
rpc AttemptRetry(AttemptRetryRequest) returns (AttemptRetryResponse);
|
|
3423
3421
|
rpc AttemptStart(AttemptStartRequest) returns (AttemptStartResponse);
|
|
@@ -939,8 +939,6 @@ class ModalClientServicer(object):
|
|
|
939
939
|
|
|
940
940
|
def AttemptAwait(self, request, context):
|
|
941
941
|
"""Input Plane
|
|
942
|
-
These RPCs are experimental, not deployed to production, and can be changed / removed
|
|
943
|
-
without needing to worry about backwards compatibility.
|
|
944
942
|
"""
|
|
945
943
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
946
944
|
context.set_details('Method not implemented!')
|
|
@@ -79,10 +79,7 @@ class ModalClientStub:
|
|
|
79
79
|
modal_proto.api_pb2.AttemptAwaitRequest,
|
|
80
80
|
modal_proto.api_pb2.AttemptAwaitResponse,
|
|
81
81
|
]
|
|
82
|
-
"""Input Plane
|
|
83
|
-
These RPCs are experimental, not deployed to production, and can be changed / removed
|
|
84
|
-
without needing to worry about backwards compatibility.
|
|
85
|
-
"""
|
|
82
|
+
"""Input Plane"""
|
|
86
83
|
AttemptRetry: grpc.UnaryUnaryMultiCallable[
|
|
87
84
|
modal_proto.api_pb2.AttemptRetryRequest,
|
|
88
85
|
modal_proto.api_pb2.AttemptRetryResponse,
|
|
@@ -805,10 +802,7 @@ class ModalClientServicer(metaclass=abc.ABCMeta):
|
|
|
805
802
|
request: modal_proto.api_pb2.AttemptAwaitRequest,
|
|
806
803
|
context: grpc.ServicerContext,
|
|
807
804
|
) -> modal_proto.api_pb2.AttemptAwaitResponse:
|
|
808
|
-
"""Input Plane
|
|
809
|
-
These RPCs are experimental, not deployed to production, and can be changed / removed
|
|
810
|
-
without needing to worry about backwards compatibility.
|
|
811
|
-
"""
|
|
805
|
+
"""Input Plane"""
|
|
812
806
|
@abc.abstractmethod
|
|
813
807
|
def AttemptRetry(
|
|
814
808
|
self,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|