modal 1.1.5.dev52__tar.gz → 1.1.5.dev53__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.
Potentially problematic release.
This version of modal might be problematic. Click here for more details.
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/PKG-INFO +1 -1
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/function_utils.py +6 -1
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/client.pyi +2 -2
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/functions.pyi +6 -6
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal.egg-info/PKG-INFO +1 -1
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_version/__init__.py +1 -1
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/LICENSE +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/README.md +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/__main__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_clustered_functions.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_clustered_functions.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_container_entrypoint.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_functions.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_ipython.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_location.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_object.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_output.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_partial_function.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_pty.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_resolver.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_resources.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/asgi.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/container_io_manager.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/container_io_manager.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/execution_context.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/execution_context.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/gpu_memory_snapshot.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/telemetry.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_runtime/user_code_imports.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_serialization.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_traceback.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_tunnel.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_tunnel.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_type_manager.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/app_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/async_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/auth_token_manager.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/blob_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/bytes_io_segment_payload.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/deprecation.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/docker_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/git_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/grpc_testing.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/grpc_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/hash_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/http_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/jwt_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/logger.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/mount_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/name_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/package_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/pattern_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/rand_pb_testing.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/shell_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_utils/time_utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_vendor/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_vendor/a2wsgi_wsgi.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_vendor/cloudpickle.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_vendor/tblib.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/_watcher.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/app.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/app.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/2023.12.312.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/2023.12.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/2024.04.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/2024.10.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/2025.06.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/PREVIEW.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/README.md +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/builder/base-images.json +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/call_graph.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/_download.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/_traceback.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/app.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/cluster.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/config.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/container.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/dict.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/entry_point.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/environment.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/import_refs.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/launch.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/network_file_system.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/profile.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/programs/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/programs/launch_instance_ssh.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/programs/run_jupyter.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/programs/run_marimo.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/programs/vscode.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/queues.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/run.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/secret.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/token.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/utils.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cli/volume.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/client.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cloud_bucket_mount.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cloud_bucket_mount.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cls.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/cls.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/config.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/container_process.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/container_process.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/dict.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/dict.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/environments.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/environments.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/exception.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/experimental/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/experimental/flash.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/experimental/flash.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/experimental/ipython.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/file_io.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/file_io.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/file_pattern_matcher.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/functions.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/gpu.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/image.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/image.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/io_streams.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/io_streams.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/mount.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/mount.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/network_file_system.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/network_file_system.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/object.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/object.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/output.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/parallel_map.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/parallel_map.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/partial_function.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/partial_function.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/proxy.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/proxy.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/py.typed +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/queue.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/queue.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/retries.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/runner.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/runner.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/running_app.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/sandbox.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/sandbox.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/schedule.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/scheduler_placement.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/secret.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/secret.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/serving.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/serving.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/snapshot.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/snapshot.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/stream_type.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/token_flow.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/token_flow.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/volume.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal/volume.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal.egg-info/SOURCES.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal.egg-info/dependency_links.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal.egg-info/entry_points.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal.egg-info/requires.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal.egg-info/top_level.txt +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_docs/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_docs/gen_cli_docs.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_docs/gen_reference_docs.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_docs/mdmd/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_docs/mdmd/mdmd.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_docs/mdmd/signatures.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/__init__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/api.proto +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/api_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/api_pb2.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/api_pb2.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/api_pb2_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/api_pb2_grpc.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/modal_api_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/modal_options_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/options.proto +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/options_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/options_pb2.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/options_pb2.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/options_pb2_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/options_pb2_grpc.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/py.typed +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/sandbox_router.proto +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/sandbox_router_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/sandbox_router_pb2.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/sandbox_router_pb2.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/sandbox_router_pb2_grpc.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_proto/sandbox_router_pb2_grpc.pyi +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/modal_version/__main__.py +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/pyproject.toml +0 -0
- {modal-1.1.5.dev52 → modal-1.1.5.dev53}/setup.cfg +0 -0
|
@@ -492,7 +492,12 @@ async def _process_result(result: api_pb2.GenericResult, data_format: int, stub,
|
|
|
492
492
|
elif result.status == api_pb2.GenericResult.GENERIC_STATUS_INTERNAL_FAILURE:
|
|
493
493
|
raise InternalFailure(result.exception)
|
|
494
494
|
elif result.status != api_pb2.GenericResult.GENERIC_STATUS_SUCCESS:
|
|
495
|
-
if data and data_format
|
|
495
|
+
if data and data_format in (api_pb2.DATA_FORMAT_PICKLE, api_pb2.DATA_FORMAT_UNSPECIFIED):
|
|
496
|
+
# *Unspecified data format here but data present usually means that the exception
|
|
497
|
+
# was created by the server representing an exception that occurred during container
|
|
498
|
+
# startup (crash looping) that eventually got escalated to input failures.
|
|
499
|
+
# TaskResult doesn't specify data format, so these results don't have that metadata
|
|
500
|
+
# the moment.
|
|
496
501
|
try:
|
|
497
502
|
exc = deserialize(data, client)
|
|
498
503
|
except DeserializationError as deser_exc:
|
|
@@ -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.5.
|
|
36
|
+
version: str = "1.1.5.dev53",
|
|
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.5.
|
|
167
|
+
version: str = "1.1.5.dev53",
|
|
168
168
|
):
|
|
169
169
|
"""mdmd:hidden
|
|
170
170
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -450,7 +450,7 @@ class Function(
|
|
|
450
450
|
|
|
451
451
|
_call_generator: ___call_generator_spec[typing_extensions.Self]
|
|
452
452
|
|
|
453
|
-
class __remote_spec(typing_extensions.Protocol[
|
|
453
|
+
class __remote_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER, SUPERSELF]):
|
|
454
454
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
|
|
455
455
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
456
456
|
...
|
|
@@ -459,7 +459,7 @@ class Function(
|
|
|
459
459
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
460
460
|
...
|
|
461
461
|
|
|
462
|
-
remote: __remote_spec[modal._functions.
|
|
462
|
+
remote: __remote_spec[modal._functions.P, modal._functions.ReturnType, typing_extensions.Self]
|
|
463
463
|
|
|
464
464
|
class __remote_gen_spec(typing_extensions.Protocol[SUPERSELF]):
|
|
465
465
|
def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
|
|
@@ -486,7 +486,7 @@ class Function(
|
|
|
486
486
|
"""
|
|
487
487
|
...
|
|
488
488
|
|
|
489
|
-
class ___experimental_spawn_spec(typing_extensions.Protocol[
|
|
489
|
+
class ___experimental_spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER, SUPERSELF]):
|
|
490
490
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
491
491
|
"""[Experimental] Calls the function with the given arguments, without waiting for the results.
|
|
492
492
|
|
|
@@ -510,7 +510,7 @@ class Function(
|
|
|
510
510
|
...
|
|
511
511
|
|
|
512
512
|
_experimental_spawn: ___experimental_spawn_spec[
|
|
513
|
-
modal._functions.
|
|
513
|
+
modal._functions.P, modal._functions.ReturnType, typing_extensions.Self
|
|
514
514
|
]
|
|
515
515
|
|
|
516
516
|
class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER, SUPERSELF]):
|
|
@@ -519,7 +519,7 @@ class Function(
|
|
|
519
519
|
|
|
520
520
|
_spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P, typing_extensions.Self]
|
|
521
521
|
|
|
522
|
-
class __spawn_spec(typing_extensions.Protocol[
|
|
522
|
+
class __spawn_spec(typing_extensions.Protocol[P_INNER, ReturnType_INNER, SUPERSELF]):
|
|
523
523
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
524
524
|
"""Calls the function with the given arguments, without waiting for the results.
|
|
525
525
|
|
|
@@ -540,7 +540,7 @@ class Function(
|
|
|
540
540
|
"""
|
|
541
541
|
...
|
|
542
542
|
|
|
543
|
-
spawn: __spawn_spec[modal._functions.
|
|
543
|
+
spawn: __spawn_spec[modal._functions.P, modal._functions.ReturnType, typing_extensions.Self]
|
|
544
544
|
|
|
545
545
|
def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
|
|
546
546
|
"""Return the inner Python object wrapped by this Modal Function."""
|
|
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
|
|
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
|