modal 1.5.3.dev7__tar.gz → 1.5.3.dev9__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.5.3.dev7 → modal-1.5.3.dev9}/PKG-INFO +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_environments.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_functions.py +3 -3
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_partial_function.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_server.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_workspace.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/app.py +2 -2
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/app.pyi +4 -4
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/billing.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/config.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/environment.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/shell.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/client.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/client.pyi +2 -2
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cls.py +2 -2
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cls.pyi +4 -4
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/environments.pyi +2 -2
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/exception.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/functions.pyi +6 -6
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/partial_function.pyi +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/sandbox.py +6 -6
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/sandbox.pyi +9 -9
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/schedule.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/server.pyi +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/workspace.pyi +2 -2
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal.egg-info/PKG-INFO +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal.egg-info/SOURCES.txt +1 -0
- modal-1.5.3.dev9/modal_docs/gen_reference_docs.py +167 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/mdmd/mdmd.py +46 -42
- modal-1.5.3.dev9/modal_docs/reference_intro.md +115 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_version/__init__.py +1 -1
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/pyproject.toml +1 -0
- modal-1.5.3.dev7/modal_docs/gen_reference_docs.py +0 -360
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/LICENSE +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/README.md +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/__main__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_billing.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_clustered_functions.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_clustered_functions.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_container_entrypoint.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_function_variants.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_grpc_client.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_image.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_ipython.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_load_context.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_location.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_logs.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_object.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_output/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_output/manager.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_output/pty.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_output/rich.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_output/status.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_resolver.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_resources.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/asgi.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/container_io_manager.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/container_io_manager.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/execution_context.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/execution_context.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/gpu_memory_snapshot.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/task_lifecycle_manager.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/task_lifecycle_manager.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/telemetry.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/user_code_event_loop.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_runtime/user_code_imports.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_serialization.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_traceback.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_tunnel.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_tunnel.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_type_manager.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/app_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/async_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/auth_token_manager.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/blob_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/browser_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/bytes_io_segment_payload.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/curl_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/deprecation.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/docker_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/function_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/git_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/grpc_testing.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/grpc_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/hash_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/http_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/jwt_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/logger.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/mount_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/name_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/package_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/pattern_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/proxy_support.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/rand_pb_testing.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/sandbox_fs_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/shell_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/task_command_router_client.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_utils/time_utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_vendor/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_vendor/a2wsgi_wsgi.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_vendor/cloudpickle.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_vendor/tblib.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_vendor/version.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/_watcher.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/billing.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/billing.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/2023.12.312.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/2023.12.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/2024.04.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/2024.10.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/2025.06.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/PREVIEW.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/README.md +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/builder/base-images.json +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/call_graph.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/_download.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/_help.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/_traceback.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/app.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/bootstrap.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/changelog.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/cluster.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/container.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/curl.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/dashboard.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/dict.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/endpoint.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/entry_point.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/image.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/import_refs.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/launch.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/logo.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/network_file_system.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/profile.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/programs/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/programs/run_jupyter.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/programs/vscode.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/queues.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/run.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/secret.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/selector.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/skills.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/token.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/utils.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/volume.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cli/workspace.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cloud_bucket_mount.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/cloud_bucket_mount.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/config.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/container_process.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/container_process.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/dict.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/dict.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/environments.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/experimental/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/experimental/flash.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/experimental/flash.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/experimental/ipython.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/file_io.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/file_io.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/file_pattern_matcher.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/functions.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/image.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/image.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/io_streams.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/io_streams.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/mount.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/mount.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/network_file_system.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/network_file_system.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/object.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/object.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/output.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/parallel_map.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/parallel_map.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/partial_function.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/proxy.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/proxy.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/py.typed +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/queue.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/queue.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/retries.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/runner.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/runner.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/running_app.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/sandbox_fs.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/sandbox_fs.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/scheduler_placement.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/secret.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/secret.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/server.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/serving.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/serving.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/skills/modal/SKILL.md +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/snapshot.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/snapshot.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/stream_type.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/token_flow.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/token_flow.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/types.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/volume.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/volume.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal/workspace.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal.egg-info/dependency_links.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal.egg-info/entry_points.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal.egg-info/requires.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal.egg-info/top_level.txt +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/gen_cli_docs.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/gen_cli_docs_main.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/gen_reference_docs_main.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/mdmd/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/mdmd/signatures.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_docs/mdmd/types.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/__init__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/api_grpc.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/api_pb2.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/api_pb2.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/api_pb2_grpc.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/api_pb2_grpc.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/modal_api_grpc.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/py.typed +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/task_command_router_grpc.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/task_command_router_pb2.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/task_command_router_pb2.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/task_command_router_pb2_grpc.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_proto/task_command_router_pb2_grpc.pyi +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/modal_version/__main__.py +0 -0
- {modal-1.5.3.dev7 → modal-1.5.3.dev9}/setup.cfg +0 -0
|
@@ -414,7 +414,7 @@ class _EnvironmentBillingManager:
|
|
|
414
414
|
- [`modal environment billing report`](https://modal.com/docs/cli/latest/environment#modal-environment-billing-report):
|
|
415
415
|
An environment report CLI that has convenience features around relative time range queries
|
|
416
416
|
and JSON/CSV output.
|
|
417
|
-
- [`Workspace.billing.report()`](https://modal.com/docs/sdk/py/latest/
|
|
417
|
+
- [`Workspace.billing.report()`](https://modal.com/docs/sdk/py/latest/Workspace#billingreport):
|
|
418
418
|
An analogous report API for the entire Workspace.
|
|
419
419
|
|
|
420
420
|
"""
|
|
@@ -1914,9 +1914,9 @@ class _Function(typing.Generic[P, ReturnType, OriginalReturnType], _Object, type
|
|
|
1914
1914
|
**kwargs: Keyword arguments forwarded to the remote function.
|
|
1915
1915
|
|
|
1916
1916
|
Returns:
|
|
1917
|
-
A [`modal.FunctionCall`](https://modal.com/docs/sdk/py/latest/
|
|
1917
|
+
A [`modal.FunctionCall`](https://modal.com/docs/sdk/py/latest/FunctionCall) object
|
|
1918
1918
|
that can later be polled or waited for using
|
|
1919
|
-
[`.get(timeout=...)`](https://modal.com/docs/sdk/py/latest/
|
|
1919
|
+
[`.get(timeout=...)`](https://modal.com/docs/sdk/py/latest/FunctionCall#get).
|
|
1920
1920
|
"""
|
|
1921
1921
|
self._check_no_web_url("spawn")
|
|
1922
1922
|
if self._is_generator:
|
|
@@ -2078,7 +2078,7 @@ class _FunctionCall(typing.Generic[ReturnType], _Object, type_prefix="fc"):
|
|
|
2078
2078
|
Note: the call graph data is not populated in real-time, and its capture is best-effort.
|
|
2079
2079
|
We do not recommend relying on this method for critical use cases.
|
|
2080
2080
|
|
|
2081
|
-
See the [`modal.types`](/docs/sdk/py/latest/
|
|
2081
|
+
See the [`modal.types`](/docs/sdk/py/latest/types) reference for information
|
|
2082
2082
|
on the return values.
|
|
2083
2083
|
|
|
2084
2084
|
Returns:
|
|
@@ -478,7 +478,7 @@ def _wsgi_app(
|
|
|
478
478
|
Web Server Gateway Interface (WSGI) is a standard for synchronous Python web apps.
|
|
479
479
|
It has been [succeeded by the ASGI interface](https://asgi.readthedocs.io/en/latest/introduction.html#wsgi-compatibility)
|
|
480
480
|
which is compatible with ASGI and supports additional functionality such as web sockets.
|
|
481
|
-
Modal supports ASGI via [`asgi_app`](https://modal.com/docs/sdk/py/latest/
|
|
481
|
+
Modal supports ASGI via [`asgi_app`](https://modal.com/docs/sdk/py/latest/asgi_app).
|
|
482
482
|
|
|
483
483
|
Examples:
|
|
484
484
|
```python
|
|
@@ -49,7 +49,7 @@ class _Server:
|
|
|
49
49
|
See the [guide](https://modal.com/docs/guide/servers) for more information.
|
|
50
50
|
|
|
51
51
|
Generally, you will not construct a Server directly.
|
|
52
|
-
Instead, use the [`@app.server()`](https://modal.com/docs/sdk/py/latest/
|
|
52
|
+
Instead, use the [`@app.server()`](https://modal.com/docs/sdk/py/latest/App#server) decorator.
|
|
53
53
|
|
|
54
54
|
```python notest
|
|
55
55
|
@app.server(port=8080, routing_region="us-east")
|
|
@@ -283,7 +283,7 @@ class _WorkspaceBillingManager:
|
|
|
283
283
|
- [`modal billing report`](https://modal.com/docs/cli/latest/billing#modal-billing-report):
|
|
284
284
|
A workspace report CLI that has convenience features around relative time range queries
|
|
285
285
|
and JSON/CSV output.
|
|
286
|
-
- [`Environment.billing.report()`](https://modal.com/docs/sdk/py/latest/
|
|
286
|
+
- [`Environment.billing.report()`](https://modal.com/docs/sdk/py/latest/Environment#billingreport):
|
|
287
287
|
An analogous report API that is scoped to a specific Environment.
|
|
288
288
|
|
|
289
289
|
"""
|
|
@@ -710,7 +710,7 @@ class _App:
|
|
|
710
710
|
Modal functions can also be used as CLI entrypoints, but unlike `local_entrypoint`,
|
|
711
711
|
those functions are executed remotely directly.
|
|
712
712
|
|
|
713
|
-
Note that an explicit [`app.run()`](https://modal.com/docs/sdk/py/latest/
|
|
713
|
+
Note that an explicit [`app.run()`](https://modal.com/docs/sdk/py/latest/App#run) is not needed, as an
|
|
714
714
|
[app](https://modal.com/docs/guide/apps) is automatically created for you.
|
|
715
715
|
|
|
716
716
|
Args:
|
|
@@ -1069,7 +1069,7 @@ class _App:
|
|
|
1069
1069
|
max_inputs: int | None = None,
|
|
1070
1070
|
) -> Callable[[CLS_T | _PartialFunction], CLS_T]:
|
|
1071
1071
|
"""
|
|
1072
|
-
Decorator to register a new Modal [Cls](https://modal.com/docs/sdk/py/latest/
|
|
1072
|
+
Decorator to register a new Modal [Cls](https://modal.com/docs/sdk/py/latest/Cls) with this App.
|
|
1073
1073
|
|
|
1074
1074
|
Args:
|
|
1075
1075
|
image: The image to run as the container for the class service.
|
|
@@ -494,7 +494,7 @@ class _App:
|
|
|
494
494
|
Modal functions can also be used as CLI entrypoints, but unlike `local_entrypoint`,
|
|
495
495
|
those functions are executed remotely directly.
|
|
496
496
|
|
|
497
|
-
Note that an explicit [`app.run()`](https://modal.com/docs/sdk/py/latest/
|
|
497
|
+
Note that an explicit [`app.run()`](https://modal.com/docs/sdk/py/latest/App#run) is not needed, as an
|
|
498
498
|
[app](https://modal.com/docs/guide/apps) is automatically created for you.
|
|
499
499
|
|
|
500
500
|
Args:
|
|
@@ -683,7 +683,7 @@ class _App:
|
|
|
683
683
|
_experimental_restrict_output: bool = False,
|
|
684
684
|
max_inputs: typing.Optional[int] = None,
|
|
685
685
|
) -> collections.abc.Callable[[typing.Union[CLS_T, modal._partial_function._PartialFunction]], CLS_T]:
|
|
686
|
-
"""Decorator to register a new Modal [Cls](https://modal.com/docs/sdk/py/latest/
|
|
686
|
+
"""Decorator to register a new Modal [Cls](https://modal.com/docs/sdk/py/latest/Cls) with this App.
|
|
687
687
|
|
|
688
688
|
Args:
|
|
689
689
|
image: The image to run as the container for the class service.
|
|
@@ -1498,7 +1498,7 @@ class App:
|
|
|
1498
1498
|
Modal functions can also be used as CLI entrypoints, but unlike `local_entrypoint`,
|
|
1499
1499
|
those functions are executed remotely directly.
|
|
1500
1500
|
|
|
1501
|
-
Note that an explicit [`app.run()`](https://modal.com/docs/sdk/py/latest/
|
|
1501
|
+
Note that an explicit [`app.run()`](https://modal.com/docs/sdk/py/latest/App#run) is not needed, as an
|
|
1502
1502
|
[app](https://modal.com/docs/guide/apps) is automatically created for you.
|
|
1503
1503
|
|
|
1504
1504
|
Args:
|
|
@@ -1687,7 +1687,7 @@ class App:
|
|
|
1687
1687
|
_experimental_restrict_output: bool = False,
|
|
1688
1688
|
max_inputs: typing.Optional[int] = None,
|
|
1689
1689
|
) -> collections.abc.Callable[[typing.Union[CLS_T, modal.partial_function.PartialFunction]], CLS_T]:
|
|
1690
|
-
"""Decorator to register a new Modal [Cls](https://modal.com/docs/sdk/py/latest/
|
|
1690
|
+
"""Decorator to register a new Modal [Cls](https://modal.com/docs/sdk/py/latest/Cls) with this App.
|
|
1691
1691
|
|
|
1692
1692
|
Args:
|
|
1693
1693
|
image: The image to run as the container for the class service.
|
|
@@ -107,7 +107,7 @@ async def report(
|
|
|
107
107
|
or by requesting a date range using `--for` (e.g., `--for today`, `--for 'last month'`).
|
|
108
108
|
|
|
109
109
|
This command provides a CLI frontend for the
|
|
110
|
-
[`Workspace.billing.report`](https://modal.com/docs/sdk/py/latest/
|
|
110
|
+
[`Workspace.billing.report`](https://modal.com/docs/sdk/py/latest/Workspace#billingreport) API.
|
|
111
111
|
|
|
112
112
|
Note that, as with the API, the start date is inclusive and the end date is exclusive.
|
|
113
113
|
Data will be reported for full intervals only. Using `--for` is a convenient way to define a
|
|
@@ -14,7 +14,7 @@ config_cli = ModalGroup(
|
|
|
14
14
|
help="""
|
|
15
15
|
Manage client configuration for the current profile.
|
|
16
16
|
|
|
17
|
-
Refer to https://modal.com/docs/sdk/py/latest/
|
|
17
|
+
Refer to https://modal.com/docs/sdk/py/latest/config for a full explanation
|
|
18
18
|
of what these options mean, and how to set them.
|
|
19
19
|
""",
|
|
20
20
|
)
|
|
@@ -229,7 +229,7 @@ async def environment_billing(
|
|
|
229
229
|
or by requesting a date range using `--for` (e.g., `--for today`, `--for 'last month'`).
|
|
230
230
|
|
|
231
231
|
This command provides a CLI frontend for the
|
|
232
|
-
[`Environment.billing.report`](https://modal.com/docs/sdk/py/latest/
|
|
232
|
+
[`Environment.billing.report`](https://modal.com/docs/sdk/py/latest/Environment#billingreport)
|
|
233
233
|
API.
|
|
234
234
|
|
|
235
235
|
Note that, as with the API, the start date is inclusive and the end date is exclusive.
|
|
@@ -373,7 +373,7 @@ def shell(
|
|
|
373
373
|
modal shell hello_world.py::my_function
|
|
374
374
|
```
|
|
375
375
|
|
|
376
|
-
Or, if you're using a [modal.Cls](https://modal.com/docs/sdk/py/latest/
|
|
376
|
+
Or, if you're using a [modal.Cls](https://modal.com/docs/sdk/py/latest/Cls)
|
|
377
377
|
you can refer to a `@modal.method` directly:
|
|
378
378
|
|
|
379
379
|
```
|
|
@@ -241,7 +241,7 @@ class _Client:
|
|
|
241
241
|
else:
|
|
242
242
|
raise AuthError(
|
|
243
243
|
"Token missing. Could not authenticate client."
|
|
244
|
-
" If you have token credentials, see modal.com/docs/sdk/py/latest/
|
|
244
|
+
" If you have token credentials, see modal.com/docs/sdk/py/latest/config for setup help."
|
|
245
245
|
" If you are a new user, register an account at modal.com, then run `modal token new`."
|
|
246
246
|
)
|
|
247
247
|
|
|
@@ -37,7 +37,7 @@ class _Client:
|
|
|
37
37
|
server_url: str,
|
|
38
38
|
client_type: int,
|
|
39
39
|
credentials: typing.Optional[tuple[str, str]],
|
|
40
|
-
version: str = "1.5.3.
|
|
40
|
+
version: str = "1.5.3.dev9",
|
|
41
41
|
):
|
|
42
42
|
"""mdmd:hidden
|
|
43
43
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -207,7 +207,7 @@ class Client:
|
|
|
207
207
|
server_url: str,
|
|
208
208
|
client_type: int,
|
|
209
209
|
credentials: typing.Optional[tuple[str, str]],
|
|
210
|
-
version: str = "1.5.3.
|
|
210
|
+
version: str = "1.5.3.dev9",
|
|
211
211
|
):
|
|
212
212
|
"""mdmd:hidden
|
|
213
213
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -447,10 +447,10 @@ Obj = synchronize_api(_Obj)
|
|
|
447
447
|
class _Cls(_Object, type_prefix="cs"):
|
|
448
448
|
"""
|
|
449
449
|
Cls adds method pooling and [lifecycle hook](https://modal.com/docs/guide/lifecycle-functions) behavior
|
|
450
|
-
to [modal.Function](https://modal.com/docs/sdk/py/latest/
|
|
450
|
+
to [modal.Function](https://modal.com/docs/sdk/py/latest/Function).
|
|
451
451
|
|
|
452
452
|
Generally, you will not construct a Cls directly.
|
|
453
|
-
Instead, use the [`@app.cls()`](https://modal.com/docs/sdk/py/latest/
|
|
453
|
+
Instead, use the [`@app.cls()`](https://modal.com/docs/sdk/py/latest/App#cls) decorator on the App object.
|
|
454
454
|
"""
|
|
455
455
|
|
|
456
456
|
_class_service_function: _Function | None # The _Function (read "service") serving *all* methods of the class
|
|
@@ -241,10 +241,10 @@ class Obj:
|
|
|
241
241
|
|
|
242
242
|
class _Cls(modal._object._Object):
|
|
243
243
|
"""Cls adds method pooling and [lifecycle hook](https://modal.com/docs/guide/lifecycle-functions) behavior
|
|
244
|
-
to [modal.Function](https://modal.com/docs/sdk/py/latest/
|
|
244
|
+
to [modal.Function](https://modal.com/docs/sdk/py/latest/Function).
|
|
245
245
|
|
|
246
246
|
Generally, you will not construct a Cls directly.
|
|
247
|
-
Instead, use the [`@app.cls()`](https://modal.com/docs/sdk/py/latest/
|
|
247
|
+
Instead, use the [`@app.cls()`](https://modal.com/docs/sdk/py/latest/App#cls) decorator on the App object.
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
_class_service_function: typing.Optional[modal._functions._Function]
|
|
@@ -446,10 +446,10 @@ class _Cls(modal._object._Object):
|
|
|
446
446
|
|
|
447
447
|
class Cls(modal.object.Object):
|
|
448
448
|
"""Cls adds method pooling and [lifecycle hook](https://modal.com/docs/guide/lifecycle-functions) behavior
|
|
449
|
-
to [modal.Function](https://modal.com/docs/sdk/py/latest/
|
|
449
|
+
to [modal.Function](https://modal.com/docs/sdk/py/latest/Function).
|
|
450
450
|
|
|
451
451
|
Generally, you will not construct a Cls directly.
|
|
452
|
-
Instead, use the [`@app.cls()`](https://modal.com/docs/sdk/py/latest/
|
|
452
|
+
Instead, use the [`@app.cls()`](https://modal.com/docs/sdk/py/latest/App#cls) decorator on the App object.
|
|
453
453
|
"""
|
|
454
454
|
|
|
455
455
|
_class_service_function: typing.Optional[modal.functions.Function]
|
|
@@ -288,7 +288,7 @@ class EnvironmentBillingManager:
|
|
|
288
288
|
- [`modal environment billing report`](https://modal.com/docs/cli/latest/environment#modal-environment-billing-report):
|
|
289
289
|
An environment report CLI that has convenience features around relative time range queries
|
|
290
290
|
and JSON/CSV output.
|
|
291
|
-
- [`Workspace.billing.report()`](https://modal.com/docs/sdk/py/latest/
|
|
291
|
+
- [`Workspace.billing.report()`](https://modal.com/docs/sdk/py/latest/Workspace#billingreport):
|
|
292
292
|
An analogous report API for the entire Workspace.
|
|
293
293
|
"""
|
|
294
294
|
...
|
|
@@ -325,7 +325,7 @@ class EnvironmentBillingManager:
|
|
|
325
325
|
- [`modal environment billing report`](https://modal.com/docs/cli/latest/environment#modal-environment-billing-report):
|
|
326
326
|
An environment report CLI that has convenience features around relative time range queries
|
|
327
327
|
and JSON/CSV output.
|
|
328
|
-
- [`Workspace.billing.report()`](https://modal.com/docs/sdk/py/latest/
|
|
328
|
+
- [`Workspace.billing.report()`](https://modal.com/docs/sdk/py/latest/Workspace#billingreport):
|
|
329
329
|
An analogous report API for the entire Workspace.
|
|
330
330
|
"""
|
|
331
331
|
...
|
|
@@ -47,7 +47,7 @@ UserCodeException = synchronicity.exceptions.UserCodeException # Deprecated typ
|
|
|
47
47
|
|
|
48
48
|
class Error(Exception):
|
|
49
49
|
"""
|
|
50
|
-
Base class for all Modal errors. See [`modal.exception`](https://modal.com/docs/sdk/py/latest/
|
|
50
|
+
Base class for all Modal errors. See [`modal.exception`](https://modal.com/docs/sdk/py/latest/exception)
|
|
51
51
|
for the specialized error classes.
|
|
52
52
|
|
|
53
53
|
Examples:
|
|
@@ -620,9 +620,9 @@ class Function(
|
|
|
620
620
|
**kwargs: Keyword arguments forwarded to the remote function.
|
|
621
621
|
|
|
622
622
|
Returns:
|
|
623
|
-
A [`modal.FunctionCall`](https://modal.com/docs/sdk/py/latest/
|
|
623
|
+
A [`modal.FunctionCall`](https://modal.com/docs/sdk/py/latest/FunctionCall) object
|
|
624
624
|
that can later be polled or waited for using
|
|
625
|
-
[`.get(timeout=...)`](https://modal.com/docs/sdk/py/latest/
|
|
625
|
+
[`.get(timeout=...)`](https://modal.com/docs/sdk/py/latest/FunctionCall#get).
|
|
626
626
|
"""
|
|
627
627
|
...
|
|
628
628
|
|
|
@@ -636,9 +636,9 @@ class Function(
|
|
|
636
636
|
**kwargs: Keyword arguments forwarded to the remote function.
|
|
637
637
|
|
|
638
638
|
Returns:
|
|
639
|
-
A [`modal.FunctionCall`](https://modal.com/docs/sdk/py/latest/
|
|
639
|
+
A [`modal.FunctionCall`](https://modal.com/docs/sdk/py/latest/FunctionCall) object
|
|
640
640
|
that can later be polled or waited for using
|
|
641
|
-
[`.get(timeout=...)`](https://modal.com/docs/sdk/py/latest/
|
|
641
|
+
[`.get(timeout=...)`](https://modal.com/docs/sdk/py/latest/FunctionCall#get).
|
|
642
642
|
"""
|
|
643
643
|
...
|
|
644
644
|
|
|
@@ -1049,7 +1049,7 @@ class FunctionCall(typing.Generic[modal._functions.ReturnType], modal.object.Obj
|
|
|
1049
1049
|
Note: the call graph data is not populated in real-time, and its capture is best-effort.
|
|
1050
1050
|
We do not recommend relying on this method for critical use cases.
|
|
1051
1051
|
|
|
1052
|
-
See the [`modal.types`](/docs/sdk/py/latest/
|
|
1052
|
+
See the [`modal.types`](/docs/sdk/py/latest/types) reference for information
|
|
1053
1053
|
on the return values.
|
|
1054
1054
|
|
|
1055
1055
|
Returns:
|
|
@@ -1063,7 +1063,7 @@ class FunctionCall(typing.Generic[modal._functions.ReturnType], modal.object.Obj
|
|
|
1063
1063
|
Note: the call graph data is not populated in real-time, and its capture is best-effort.
|
|
1064
1064
|
We do not recommend relying on this method for critical use cases.
|
|
1065
1065
|
|
|
1066
|
-
See the [`modal.types`](/docs/sdk/py/latest/
|
|
1066
|
+
See the [`modal.types`](/docs/sdk/py/latest/types) reference for information
|
|
1067
1067
|
on the return values.
|
|
1068
1068
|
|
|
1069
1069
|
Returns:
|
|
@@ -169,7 +169,7 @@ def wsgi_app(
|
|
|
169
169
|
Web Server Gateway Interface (WSGI) is a standard for synchronous Python web apps.
|
|
170
170
|
It has been [succeeded by the ASGI interface](https://asgi.readthedocs.io/en/latest/introduction.html#wsgi-compatibility)
|
|
171
171
|
which is compatible with ASGI and supports additional functionality such as web sockets.
|
|
172
|
-
Modal supports ASGI via [`asgi_app`](https://modal.com/docs/sdk/py/latest/
|
|
172
|
+
Modal supports ASGI via [`asgi_app`](https://modal.com/docs/sdk/py/latest/asgi_app).
|
|
173
173
|
|
|
174
174
|
Examples:
|
|
175
175
|
```python
|
|
@@ -1418,7 +1418,7 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
1418
1418
|
the image indefinitely.
|
|
1419
1419
|
|
|
1420
1420
|
Returns:
|
|
1421
|
-
An [`Image`](https://modal.com/docs/sdk/py/latest/
|
|
1421
|
+
An [`Image`](https://modal.com/docs/sdk/py/latest/Image) object which can be used to spawn a new
|
|
1422
1422
|
Sandbox with the same filesystem.
|
|
1423
1423
|
"""
|
|
1424
1424
|
if os.environ.get("MODAL_USE_LEGACY_FILESYSTEM_SNAPSHOT") == "1" and not self._is_v2:
|
|
@@ -1901,7 +1901,7 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
1901
1901
|
):
|
|
1902
1902
|
"""Execute a command in the Sandbox and return a ContainerProcess handle.
|
|
1903
1903
|
|
|
1904
|
-
See the [`ContainerProcess`](https://modal.com/docs/sdk/py/latest/
|
|
1904
|
+
See the [`ContainerProcess`](https://modal.com/docs/sdk/py/latest/container_process#containerprocess)
|
|
1905
1905
|
docs for more information.
|
|
1906
1906
|
|
|
1907
1907
|
Args:
|
|
@@ -2190,7 +2190,7 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
2190
2190
|
|
|
2191
2191
|
**Deprecated (2026-03-09):** Use the `Sandbox.filesystem` APIs instead for improved reliability.
|
|
2192
2192
|
|
|
2193
|
-
See the [`FileIO`](https://modal.com/docs/sdk/py/latest/
|
|
2193
|
+
See the [`FileIO`](https://modal.com/docs/sdk/py/latest/file_io#fileio)
|
|
2194
2194
|
docs for more information.
|
|
2195
2195
|
|
|
2196
2196
|
Args:
|
|
@@ -2294,7 +2294,7 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
2294
2294
|
@property
|
|
2295
2295
|
def stdout(self) -> _StreamReader[str]:
|
|
2296
2296
|
"""
|
|
2297
|
-
[`StreamReader`](https://modal.com/docs/sdk/py/latest/
|
|
2297
|
+
[`StreamReader`](https://modal.com/docs/sdk/py/latest/io_streams#streamreader)
|
|
2298
2298
|
for the sandbox's stdout stream.
|
|
2299
2299
|
|
|
2300
2300
|
Returns:
|
|
@@ -2306,7 +2306,7 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
2306
2306
|
@property
|
|
2307
2307
|
def stderr(self) -> _StreamReader[str]:
|
|
2308
2308
|
"""
|
|
2309
|
-
[`StreamReader`](https://modal.com/docs/sdk/py/latest/
|
|
2309
|
+
[`StreamReader`](https://modal.com/docs/sdk/py/latest/io_streams#streamreader)
|
|
2310
2310
|
for the Sandbox's stderr stream.
|
|
2311
2311
|
|
|
2312
2312
|
Returns:
|
|
@@ -2318,7 +2318,7 @@ class _Sandbox(_Object, type_prefix="sb"):
|
|
|
2318
2318
|
@property
|
|
2319
2319
|
def stdin(self) -> _StreamWriter:
|
|
2320
2320
|
"""
|
|
2321
|
-
[`StreamWriter`](https://modal.com/docs/sdk/py/latest/
|
|
2321
|
+
[`StreamWriter`](https://modal.com/docs/sdk/py/latest/io_streams#streamwriter)
|
|
2322
2322
|
for the Sandbox's stdin stream.
|
|
2323
2323
|
|
|
2324
2324
|
Returns:
|
|
@@ -585,7 +585,7 @@ class _Sandbox(modal._object._Object):
|
|
|
585
585
|
the image indefinitely.
|
|
586
586
|
|
|
587
587
|
Returns:
|
|
588
|
-
An [`Image`](https://modal.com/docs/sdk/py/latest/
|
|
588
|
+
An [`Image`](https://modal.com/docs/sdk/py/latest/Image) object which can be used to spawn a new
|
|
589
589
|
Sandbox with the same filesystem.
|
|
590
590
|
"""
|
|
591
591
|
...
|
|
@@ -915,7 +915,7 @@ class _Sandbox(modal._object._Object):
|
|
|
915
915
|
|
|
916
916
|
@property
|
|
917
917
|
def stdout(self) -> modal.io_streams._StreamReader[str]:
|
|
918
|
-
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/
|
|
918
|
+
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/io_streams#streamreader)
|
|
919
919
|
for the sandbox's stdout stream.
|
|
920
920
|
|
|
921
921
|
Returns:
|
|
@@ -925,7 +925,7 @@ class _Sandbox(modal._object._Object):
|
|
|
925
925
|
|
|
926
926
|
@property
|
|
927
927
|
def stderr(self) -> modal.io_streams._StreamReader[str]:
|
|
928
|
-
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/
|
|
928
|
+
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/io_streams#streamreader)
|
|
929
929
|
for the Sandbox's stderr stream.
|
|
930
930
|
|
|
931
931
|
Returns:
|
|
@@ -935,7 +935,7 @@ class _Sandbox(modal._object._Object):
|
|
|
935
935
|
|
|
936
936
|
@property
|
|
937
937
|
def stdin(self) -> modal.io_streams._StreamWriter:
|
|
938
|
-
"""[`StreamWriter`](https://modal.com/docs/sdk/py/latest/
|
|
938
|
+
"""[`StreamWriter`](https://modal.com/docs/sdk/py/latest/io_streams#streamwriter)
|
|
939
939
|
for the Sandbox's stdin stream.
|
|
940
940
|
|
|
941
941
|
Returns:
|
|
@@ -2190,7 +2190,7 @@ class Sandbox(modal.object.Object):
|
|
|
2190
2190
|
the image indefinitely.
|
|
2191
2191
|
|
|
2192
2192
|
Returns:
|
|
2193
|
-
An [`Image`](https://modal.com/docs/sdk/py/latest/
|
|
2193
|
+
An [`Image`](https://modal.com/docs/sdk/py/latest/Image) object which can be used to spawn a new
|
|
2194
2194
|
Sandbox with the same filesystem.
|
|
2195
2195
|
"""
|
|
2196
2196
|
...
|
|
@@ -2207,7 +2207,7 @@ class Sandbox(modal.object.Object):
|
|
|
2207
2207
|
the image indefinitely.
|
|
2208
2208
|
|
|
2209
2209
|
Returns:
|
|
2210
|
-
An [`Image`](https://modal.com/docs/sdk/py/latest/
|
|
2210
|
+
An [`Image`](https://modal.com/docs/sdk/py/latest/Image) object which can be used to spawn a new
|
|
2211
2211
|
Sandbox with the same filesystem.
|
|
2212
2212
|
"""
|
|
2213
2213
|
...
|
|
@@ -2949,7 +2949,7 @@ class Sandbox(modal.object.Object):
|
|
|
2949
2949
|
|
|
2950
2950
|
@property
|
|
2951
2951
|
def stdout(self) -> modal.io_streams.StreamReader[str]:
|
|
2952
|
-
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/
|
|
2952
|
+
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/io_streams#streamreader)
|
|
2953
2953
|
for the sandbox's stdout stream.
|
|
2954
2954
|
|
|
2955
2955
|
Returns:
|
|
@@ -2959,7 +2959,7 @@ class Sandbox(modal.object.Object):
|
|
|
2959
2959
|
|
|
2960
2960
|
@property
|
|
2961
2961
|
def stderr(self) -> modal.io_streams.StreamReader[str]:
|
|
2962
|
-
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/
|
|
2962
|
+
"""[`StreamReader`](https://modal.com/docs/sdk/py/latest/io_streams#streamreader)
|
|
2963
2963
|
for the Sandbox's stderr stream.
|
|
2964
2964
|
|
|
2965
2965
|
Returns:
|
|
@@ -2969,7 +2969,7 @@ class Sandbox(modal.object.Object):
|
|
|
2969
2969
|
|
|
2970
2970
|
@property
|
|
2971
2971
|
def stdin(self) -> modal.io_streams.StreamWriter:
|
|
2972
|
-
"""[`StreamWriter`](https://modal.com/docs/sdk/py/latest/
|
|
2972
|
+
"""[`StreamWriter`](https://modal.com/docs/sdk/py/latest/io_streams#streamwriter)
|
|
2973
2973
|
for the Sandbox's stdin stream.
|
|
2974
2974
|
|
|
2975
2975
|
Returns:
|
|
@@ -13,7 +13,7 @@ class Cron(Schedule):
|
|
|
13
13
|
"""Cron jobs are a type of schedule, specified using the
|
|
14
14
|
[Unix cron tab](https://crontab.guru/) syntax.
|
|
15
15
|
|
|
16
|
-
The alternative schedule type is the [`modal.Period`](https://modal.com/docs/sdk/py/latest/
|
|
16
|
+
The alternative schedule type is the [`modal.Period`](https://modal.com/docs/sdk/py/latest/Period).
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
def __init__(
|
|
@@ -11,7 +11,7 @@ class Server:
|
|
|
11
11
|
See the [guide](https://modal.com/docs/guide/servers) for more information.
|
|
12
12
|
|
|
13
13
|
Generally, you will not construct a Server directly.
|
|
14
|
-
Instead, use the [`@app.server()`](https://modal.com/docs/sdk/py/latest/
|
|
14
|
+
Instead, use the [`@app.server()`](https://modal.com/docs/sdk/py/latest/App#server) decorator.
|
|
15
15
|
|
|
16
16
|
```python notest
|
|
17
17
|
@app.server(port=8080, routing_region="us-east")
|
|
@@ -253,7 +253,7 @@ class WorkspaceBillingManager:
|
|
|
253
253
|
- [`modal billing report`](https://modal.com/docs/cli/latest/billing#modal-billing-report):
|
|
254
254
|
A workspace report CLI that has convenience features around relative time range queries
|
|
255
255
|
and JSON/CSV output.
|
|
256
|
-
- [`Environment.billing.report()`](https://modal.com/docs/sdk/py/latest/
|
|
256
|
+
- [`Environment.billing.report()`](https://modal.com/docs/sdk/py/latest/Environment#billingreport):
|
|
257
257
|
An analogous report API that is scoped to a specific Environment.
|
|
258
258
|
"""
|
|
259
259
|
...
|
|
@@ -290,7 +290,7 @@ class WorkspaceBillingManager:
|
|
|
290
290
|
- [`modal billing report`](https://modal.com/docs/cli/latest/billing#modal-billing-report):
|
|
291
291
|
A workspace report CLI that has convenience features around relative time range queries
|
|
292
292
|
and JSON/CSV output.
|
|
293
|
-
- [`Environment.billing.report()`](https://modal.com/docs/sdk/py/latest/
|
|
293
|
+
- [`Environment.billing.report()`](https://modal.com/docs/sdk/py/latest/Environment#billingreport):
|
|
294
294
|
An analogous report API that is scoped to a specific Environment.
|
|
295
295
|
"""
|
|
296
296
|
...
|
|
@@ -208,6 +208,7 @@ modal_docs/gen_cli_docs.py
|
|
|
208
208
|
modal_docs/gen_cli_docs_main.py
|
|
209
209
|
modal_docs/gen_reference_docs.py
|
|
210
210
|
modal_docs/gen_reference_docs_main.py
|
|
211
|
+
modal_docs/reference_intro.md
|
|
211
212
|
modal_docs/mdmd/__init__.py
|
|
212
213
|
modal_docs/mdmd/mdmd.py
|
|
213
214
|
modal_docs/mdmd/signatures.py
|