modal 1.4.2.dev15__tar.gz → 1.4.3.dev0__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.4.2.dev15 → modal-1.4.3.dev0}/PKG-INFO +1 -1
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/client.pyi +2 -2
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/file_io.py +2 -2
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/functions.pyi +6 -6
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/sandbox.py +4 -2
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/sandbox.pyi +6 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal.egg-info/PKG-INFO +1 -1
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_version/__init__.py +1 -1
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/LICENSE +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/README.md +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/__main__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_billing.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_clustered_functions.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_clustered_functions.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_container_entrypoint.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_functions.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_grpc_client.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_ipython.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_load_context.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_location.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_logs.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_object.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_output/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_output/manager.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_output/pty.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_output/rich.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_output/status.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_partial_function.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_resolver.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_resources.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/asgi.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/container_io_manager.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/container_io_manager.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/execution_context.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/execution_context.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/gpu_memory_snapshot.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/telemetry.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/user_code_event_loop.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_runtime/user_code_imports.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_serialization.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_server.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_traceback.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_tunnel.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_tunnel.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_type_manager.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/app_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/async_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/auth_token_manager.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/blob_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/browser_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/bytes_io_segment_payload.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/deprecation.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/docker_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/function_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/git_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/grpc_testing.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/grpc_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/hash_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/http_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/jwt_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/logger.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/mount_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/name_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/package_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/pattern_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/rand_pb_testing.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/sandbox_fs_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/shell_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/task_command_router_client.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_utils/time_utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_vendor/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_vendor/a2wsgi_wsgi.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_vendor/cloudpickle.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_vendor/tblib.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_vendor/version.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/_watcher.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/app.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/app.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/billing.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/2023.12.312.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/2023.12.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/2024.04.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/2024.10.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/2025.06.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/PREVIEW.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/README.md +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/builder/base-images.json +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/call_graph.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/_download.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/_traceback.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/app.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/billing.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/bootstrap.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/changelog.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/cluster.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/config.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/container.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/dashboard.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/dict.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/entry_point.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/environment.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/import_refs.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/launch.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/logo.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/network_file_system.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/profile.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/programs/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/programs/run_jupyter.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/programs/vscode.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/queues.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/run.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/secret.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/selector.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/shell.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/token.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/utils.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cli/volume.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/client.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cloud_bucket_mount.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cloud_bucket_mount.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cls.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/cls.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/config.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/container_process.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/container_process.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/dict.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/dict.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/environments.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/environments.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/exception.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/experimental/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/experimental/flash.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/experimental/flash.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/experimental/ipython.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/file_io.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/file_pattern_matcher.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/functions.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/image.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/image.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/io_streams.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/io_streams.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/mount.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/mount.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/network_file_system.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/network_file_system.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/object.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/object.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/output.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/parallel_map.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/parallel_map.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/partial_function.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/partial_function.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/proxy.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/proxy.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/py.typed +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/queue.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/queue.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/retries.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/runner.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/runner.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/running_app.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/sandbox_fs.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/sandbox_fs.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/schedule.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/scheduler_placement.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/secret.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/secret.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/server.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/server.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/serving.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/serving.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/snapshot.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/snapshot.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/stream_type.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/token_flow.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/token_flow.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/volume.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal/volume.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal.egg-info/SOURCES.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal.egg-info/dependency_links.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal.egg-info/entry_points.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal.egg-info/requires.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal.egg-info/top_level.txt +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/gen_cli_docs.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/gen_cli_docs_main.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/gen_reference_docs.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/gen_reference_docs_main.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/mdmd/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/mdmd/mdmd.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_docs/mdmd/signatures.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/__init__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/api_grpc.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/api_pb2.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/api_pb2.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/api_pb2_grpc.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/api_pb2_grpc.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/modal_api_grpc.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/py.typed +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/task_command_router_grpc.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/task_command_router_pb2.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/task_command_router_pb2.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/task_command_router_pb2_grpc.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_proto/task_command_router_pb2_grpc.pyi +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/modal_version/__main__.py +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/pyproject.toml +0 -0
- {modal-1.4.2.dev15 → modal-1.4.3.dev0}/setup.cfg +0 -0
|
@@ -35,7 +35,7 @@ class _Client:
|
|
|
35
35
|
server_url: str,
|
|
36
36
|
client_type: int,
|
|
37
37
|
credentials: typing.Optional[tuple[str, str]],
|
|
38
|
-
version: str = "1.4.
|
|
38
|
+
version: str = "1.4.3.dev0",
|
|
39
39
|
):
|
|
40
40
|
"""mdmd:hidden
|
|
41
41
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -175,7 +175,7 @@ class Client:
|
|
|
175
175
|
server_url: str,
|
|
176
176
|
client_type: int,
|
|
177
177
|
credentials: typing.Optional[tuple[str, str]],
|
|
178
|
-
version: str = "1.4.
|
|
178
|
+
version: str = "1.4.3.dev0",
|
|
179
179
|
):
|
|
180
180
|
"""mdmd:hidden
|
|
181
181
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -406,7 +406,7 @@ class _FileIO(Generic[T]):
|
|
|
406
406
|
"""Create a new directory."""
|
|
407
407
|
deprecation_warning(
|
|
408
408
|
(2026, 3, 9),
|
|
409
|
-
"`FileIO.mkdir()` is deprecated. Use `Sandbox.
|
|
409
|
+
"`FileIO.mkdir()` is deprecated. Use `Sandbox.filesystem.make_directory()` instead.",
|
|
410
410
|
pending=True,
|
|
411
411
|
)
|
|
412
412
|
await mkdir(path, client, task_id, parents)
|
|
@@ -416,7 +416,7 @@ class _FileIO(Generic[T]):
|
|
|
416
416
|
"""Remove a file or directory in the Sandbox."""
|
|
417
417
|
deprecation_warning(
|
|
418
418
|
(2026, 3, 9),
|
|
419
|
-
"`FileIO.rm()` is deprecated. Use `Sandbox.
|
|
419
|
+
"`FileIO.rm()` is deprecated. Use `Sandbox.filesystem.remove()` instead.",
|
|
420
420
|
pending=True,
|
|
421
421
|
)
|
|
422
422
|
await rm(path, client, task_id, recursive)
|
|
@@ -347,7 +347,7 @@ class Function(
|
|
|
347
347
|
|
|
348
348
|
_call_generator: ___call_generator_spec
|
|
349
349
|
|
|
350
|
-
class __remote_spec(typing_extensions.Protocol[
|
|
350
|
+
class __remote_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
|
|
351
351
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> ReturnType_INNER:
|
|
352
352
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
353
353
|
...
|
|
@@ -356,7 +356,7 @@ class Function(
|
|
|
356
356
|
"""Calls the function remotely, executing it with the given arguments and returning the execution's result."""
|
|
357
357
|
...
|
|
358
358
|
|
|
359
|
-
remote: __remote_spec[modal._functions.
|
|
359
|
+
remote: __remote_spec[modal._functions.ReturnType, modal._functions.P]
|
|
360
360
|
|
|
361
361
|
class __remote_gen_spec(typing_extensions.Protocol):
|
|
362
362
|
def __call__(self, /, *args, **kwargs) -> typing.Generator[typing.Any, None, None]:
|
|
@@ -383,7 +383,7 @@ class Function(
|
|
|
383
383
|
"""
|
|
384
384
|
...
|
|
385
385
|
|
|
386
|
-
class ___experimental_spawn_spec(typing_extensions.Protocol[
|
|
386
|
+
class ___experimental_spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
|
|
387
387
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
388
388
|
"""[Experimental] Calls the function with the given arguments, without waiting for the results.
|
|
389
389
|
|
|
@@ -406,7 +406,7 @@ class Function(
|
|
|
406
406
|
"""
|
|
407
407
|
...
|
|
408
408
|
|
|
409
|
-
_experimental_spawn: ___experimental_spawn_spec[modal._functions.
|
|
409
|
+
_experimental_spawn: ___experimental_spawn_spec[modal._functions.ReturnType, modal._functions.P]
|
|
410
410
|
|
|
411
411
|
class ___spawn_map_inner_spec(typing_extensions.Protocol[P_INNER]):
|
|
412
412
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> None: ...
|
|
@@ -414,7 +414,7 @@ class Function(
|
|
|
414
414
|
|
|
415
415
|
_spawn_map_inner: ___spawn_map_inner_spec[modal._functions.P]
|
|
416
416
|
|
|
417
|
-
class __spawn_spec(typing_extensions.Protocol[
|
|
417
|
+
class __spawn_spec(typing_extensions.Protocol[ReturnType_INNER, P_INNER]):
|
|
418
418
|
def __call__(self, /, *args: P_INNER.args, **kwargs: P_INNER.kwargs) -> FunctionCall[ReturnType_INNER]:
|
|
419
419
|
"""Calls the function with the given arguments, without waiting for the results.
|
|
420
420
|
|
|
@@ -435,7 +435,7 @@ class Function(
|
|
|
435
435
|
"""
|
|
436
436
|
...
|
|
437
437
|
|
|
438
|
-
spawn: __spawn_spec[modal._functions.
|
|
438
|
+
spawn: __spawn_spec[modal._functions.ReturnType, modal._functions.P]
|
|
439
439
|
|
|
440
440
|
def get_raw_f(self) -> collections.abc.Callable[..., typing.Any]:
|
|
441
441
|
"""Return the inner Python object wrapped by this Modal Function."""
|
|
@@ -1650,11 +1650,12 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
1650
1650
|
"""[Alpha] Create a new directory in the Sandbox.
|
|
1651
1651
|
|
|
1652
1652
|
.. deprecated:: 2026-04-15
|
|
1653
|
+
Use `Sandbox.filesystem.make_directory()` instead.
|
|
1653
1654
|
"""
|
|
1654
1655
|
self._ensure_v1("mkdir")
|
|
1655
1656
|
deprecation_warning(
|
|
1656
1657
|
(2026, 4, 15),
|
|
1657
|
-
"`Sandbox.mkdir()` is deprecated. Use
|
|
1658
|
+
"`Sandbox.mkdir()` is deprecated. Use `Sandbox.filesystem.make_directory()` instead.",
|
|
1658
1659
|
pending=True,
|
|
1659
1660
|
)
|
|
1660
1661
|
task_id = await self._get_task_id()
|
|
@@ -1664,11 +1665,12 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
1664
1665
|
"""[Alpha] Remove a file or directory in the Sandbox.
|
|
1665
1666
|
|
|
1666
1667
|
.. deprecated:: 2026-04-15
|
|
1668
|
+
Use `Sandbox.filesystem.remove()` instead.
|
|
1667
1669
|
"""
|
|
1668
1670
|
self._ensure_v1("rm")
|
|
1669
1671
|
deprecation_warning(
|
|
1670
1672
|
(2026, 4, 15),
|
|
1671
|
-
"`Sandbox.rm()` is deprecated. Use
|
|
1673
|
+
"`Sandbox.rm()` is deprecated. Use `Sandbox.filesystem.remove()` instead.",
|
|
1672
1674
|
pending=True,
|
|
1673
1675
|
)
|
|
1674
1676
|
task_id = await self._get_task_id()
|
|
@@ -620,6 +620,7 @@ class _Sandbox(modal._object._Object):
|
|
|
620
620
|
"""[Alpha] Create a new directory in the Sandbox.
|
|
621
621
|
|
|
622
622
|
.. deprecated:: 2026-04-15
|
|
623
|
+
Use `Sandbox.filesystem.make_directory()` instead.
|
|
623
624
|
"""
|
|
624
625
|
...
|
|
625
626
|
|
|
@@ -627,6 +628,7 @@ class _Sandbox(modal._object._Object):
|
|
|
627
628
|
"""[Alpha] Remove a file or directory in the Sandbox.
|
|
628
629
|
|
|
629
630
|
.. deprecated:: 2026-04-15
|
|
631
|
+
Use `Sandbox.filesystem.remove()` instead.
|
|
630
632
|
"""
|
|
631
633
|
...
|
|
632
634
|
|
|
@@ -1920,6 +1922,7 @@ class Sandbox(modal.object.Object):
|
|
|
1920
1922
|
"""[Alpha] Create a new directory in the Sandbox.
|
|
1921
1923
|
|
|
1922
1924
|
.. deprecated:: 2026-04-15
|
|
1925
|
+
Use `Sandbox.filesystem.make_directory()` instead.
|
|
1923
1926
|
"""
|
|
1924
1927
|
...
|
|
1925
1928
|
|
|
@@ -1927,6 +1930,7 @@ class Sandbox(modal.object.Object):
|
|
|
1927
1930
|
"""[Alpha] Create a new directory in the Sandbox.
|
|
1928
1931
|
|
|
1929
1932
|
.. deprecated:: 2026-04-15
|
|
1933
|
+
Use `Sandbox.filesystem.make_directory()` instead.
|
|
1930
1934
|
"""
|
|
1931
1935
|
...
|
|
1932
1936
|
|
|
@@ -1937,6 +1941,7 @@ class Sandbox(modal.object.Object):
|
|
|
1937
1941
|
"""[Alpha] Remove a file or directory in the Sandbox.
|
|
1938
1942
|
|
|
1939
1943
|
.. deprecated:: 2026-04-15
|
|
1944
|
+
Use `Sandbox.filesystem.remove()` instead.
|
|
1940
1945
|
"""
|
|
1941
1946
|
...
|
|
1942
1947
|
|
|
@@ -1944,6 +1949,7 @@ class Sandbox(modal.object.Object):
|
|
|
1944
1949
|
"""[Alpha] Remove a file or directory in the Sandbox.
|
|
1945
1950
|
|
|
1946
1951
|
.. deprecated:: 2026-04-15
|
|
1952
|
+
Use `Sandbox.filesystem.remove()` instead.
|
|
1947
1953
|
"""
|
|
1948
1954
|
...
|
|
1949
1955
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|