modal 1.1.5.dev81__tar.gz → 1.1.5.dev82__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.dev81 → modal-1.1.5.dev82}/PKG-INFO +1 -1
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/app.py +34 -5
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/app.pyi +82 -16
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/client.pyi +2 -2
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal.egg-info/PKG-INFO +1 -1
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_version/__init__.py +1 -1
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/LICENSE +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/README.md +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/__main__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_clustered_functions.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_clustered_functions.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_container_entrypoint.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_functions.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_ipython.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_location.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_object.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_output.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_partial_function.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_pty.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_resolver.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_resources.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/asgi.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/container_io_manager.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/container_io_manager.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/execution_context.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/execution_context.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/gpu_memory_snapshot.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/telemetry.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_runtime/user_code_imports.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_serialization.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_traceback.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_tunnel.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_tunnel.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_type_manager.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/app_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/async_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/auth_token_manager.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/blob_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/bytes_io_segment_payload.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/deprecation.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/docker_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/function_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/git_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/grpc_testing.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/grpc_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/hash_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/http_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/jwt_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/logger.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/mount_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/name_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/package_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/pattern_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/rand_pb_testing.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/shell_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_utils/time_utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_vendor/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_vendor/a2wsgi_wsgi.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_vendor/cloudpickle.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_vendor/tblib.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/_watcher.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/2023.12.312.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/2023.12.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/2024.04.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/2024.10.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/2025.06.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/PREVIEW.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/README.md +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/builder/base-images.json +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/call_graph.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/_download.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/_traceback.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/app.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/cluster.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/config.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/container.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/dict.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/entry_point.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/environment.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/import_refs.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/launch.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/network_file_system.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/profile.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/programs/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/programs/launch_instance_ssh.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/programs/run_jupyter.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/programs/run_marimo.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/programs/vscode.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/queues.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/run.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/secret.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/token.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/utils.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cli/volume.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/client.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cloud_bucket_mount.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cloud_bucket_mount.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cls.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/cls.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/config.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/container_process.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/container_process.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/dict.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/dict.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/environments.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/environments.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/exception.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/experimental/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/experimental/flash.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/experimental/flash.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/experimental/ipython.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/file_io.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/file_io.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/file_pattern_matcher.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/functions.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/functions.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/gpu.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/image.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/image.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/io_streams.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/io_streams.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/mount.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/mount.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/network_file_system.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/network_file_system.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/object.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/object.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/output.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/parallel_map.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/parallel_map.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/partial_function.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/partial_function.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/proxy.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/proxy.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/py.typed +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/queue.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/queue.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/retries.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/runner.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/runner.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/running_app.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/sandbox.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/sandbox.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/schedule.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/scheduler_placement.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/secret.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/secret.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/serving.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/serving.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/snapshot.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/snapshot.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/stream_type.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/token_flow.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/token_flow.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/volume.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal/volume.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal.egg-info/SOURCES.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal.egg-info/dependency_links.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal.egg-info/entry_points.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal.egg-info/requires.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal.egg-info/top_level.txt +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_docs/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_docs/gen_cli_docs.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_docs/gen_reference_docs.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_docs/mdmd/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_docs/mdmd/mdmd.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_docs/mdmd/signatures.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/__init__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/api.proto +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/api_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/api_pb2.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/api_pb2.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/api_pb2_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/api_pb2_grpc.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/modal_api_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/modal_options_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/options.proto +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/options_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/options_pb2.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/options_pb2.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/options_pb2_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/options_pb2_grpc.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/py.typed +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/sandbox_router.proto +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/sandbox_router_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/sandbox_router_pb2.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/sandbox_router_pb2.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/sandbox_router_pb2_grpc.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_proto/sandbox_router_pb2_grpc.pyi +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/modal_version/__main__.py +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/pyproject.toml +0 -0
- {modal-1.1.5.dev81 → modal-1.1.5.dev82}/setup.cfg +0 -0
|
@@ -227,7 +227,12 @@ class _App:
|
|
|
227
227
|
|
|
228
228
|
@property
|
|
229
229
|
def is_interactive(self) -> bool:
|
|
230
|
-
"""
|
|
230
|
+
"""mdmd:hidden
|
|
231
|
+
Whether the current app for the app is running in interactive mode.
|
|
232
|
+
|
|
233
|
+
Note: this method will likely be deprecated in the future.
|
|
234
|
+
|
|
235
|
+
"""
|
|
231
236
|
# return self._name
|
|
232
237
|
if self._running_app:
|
|
233
238
|
return self._running_app.interactive
|
|
@@ -285,6 +290,11 @@ class _App:
|
|
|
285
290
|
return app
|
|
286
291
|
|
|
287
292
|
def set_description(self, description: str):
|
|
293
|
+
"""mdmd:hidden
|
|
294
|
+
Set the description of the App before it starts running.
|
|
295
|
+
|
|
296
|
+
Note: we don't recommend using the method and may deprecate it in the future.
|
|
297
|
+
"""
|
|
288
298
|
self._description = description
|
|
289
299
|
|
|
290
300
|
def _validate_blueprint_value(self, key: str, value: Any):
|
|
@@ -293,10 +303,18 @@ class _App:
|
|
|
293
303
|
|
|
294
304
|
@property
|
|
295
305
|
def image(self) -> _Image:
|
|
306
|
+
"""mdmd:hidden
|
|
307
|
+
Retrieve the Image that will be used as the default for any Functions registered to the App.
|
|
308
|
+
|
|
309
|
+
Note: This property is only relevant in the build phase and won't be populated on a deployed
|
|
310
|
+
App that is retrieved via `modal.App.lookup`. It is likely to be deprecated in the future.
|
|
311
|
+
|
|
312
|
+
"""
|
|
296
313
|
return self._image
|
|
297
314
|
|
|
298
315
|
@image.setter
|
|
299
316
|
def image(self, value):
|
|
317
|
+
"""mdmd:hidden"""
|
|
300
318
|
self._image = value
|
|
301
319
|
|
|
302
320
|
def _uncreate_all_objects(self):
|
|
@@ -515,37 +533,48 @@ class _App:
|
|
|
515
533
|
|
|
516
534
|
@property
|
|
517
535
|
def registered_functions(self) -> dict[str, _Function]:
|
|
518
|
-
"""
|
|
536
|
+
"""mdmd:hidden
|
|
537
|
+
All modal.Function objects registered on the app.
|
|
519
538
|
|
|
520
539
|
Note: this property is populated only during the build phase, and it is not
|
|
521
540
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
541
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
542
|
+
approach for retrieving the layout of a deployed App.
|
|
522
543
|
"""
|
|
523
544
|
return self._functions
|
|
524
545
|
|
|
525
546
|
@property
|
|
526
547
|
def registered_classes(self) -> dict[str, _Cls]:
|
|
527
|
-
"""
|
|
548
|
+
"""mdmd:hidden
|
|
549
|
+
All modal.Cls objects registered on the app.
|
|
528
550
|
|
|
529
551
|
Note: this property is populated only during the build phase, and it is not
|
|
530
552
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
553
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
554
|
+
approach for retrieving the layout of a deployed App.
|
|
531
555
|
"""
|
|
532
556
|
return self._classes
|
|
533
557
|
|
|
534
558
|
@property
|
|
535
559
|
def registered_entrypoints(self) -> dict[str, _LocalEntrypoint]:
|
|
536
|
-
"""
|
|
560
|
+
"""mdmd:hidden
|
|
561
|
+
All local CLI entrypoints registered on the app.
|
|
537
562
|
|
|
538
563
|
Note: this property is populated only during the build phase, and it is not
|
|
539
564
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
565
|
+
This method is likely to be deprecated in the future.
|
|
540
566
|
"""
|
|
541
567
|
return self._local_entrypoints
|
|
542
568
|
|
|
543
569
|
@property
|
|
544
570
|
def registered_web_endpoints(self) -> list[str]:
|
|
545
|
-
"""
|
|
571
|
+
"""mdmd:hidden
|
|
572
|
+
Names of web endpoint (ie. webhook) functions registered on the app.
|
|
546
573
|
|
|
547
574
|
Note: this property is populated only during the build phase, and it is not
|
|
548
575
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
576
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
577
|
+
approach for retrieving the layout of a deployed App.
|
|
549
578
|
"""
|
|
550
579
|
return self._web_endpoints
|
|
551
580
|
|
|
@@ -151,7 +151,11 @@ class _App:
|
|
|
151
151
|
|
|
152
152
|
@property
|
|
153
153
|
def is_interactive(self) -> bool:
|
|
154
|
-
"""
|
|
154
|
+
"""mdmd:hidden
|
|
155
|
+
Whether the current app for the app is running in interactive mode.
|
|
156
|
+
|
|
157
|
+
Note: this method will likely be deprecated in the future.
|
|
158
|
+
"""
|
|
155
159
|
...
|
|
156
160
|
|
|
157
161
|
@property
|
|
@@ -185,12 +189,30 @@ class _App:
|
|
|
185
189
|
"""
|
|
186
190
|
...
|
|
187
191
|
|
|
188
|
-
def set_description(self, description: str):
|
|
192
|
+
def set_description(self, description: str):
|
|
193
|
+
"""mdmd:hidden
|
|
194
|
+
Set the description of the App before it starts running.
|
|
195
|
+
|
|
196
|
+
Note: we don't recommend using the method and may deprecate it in the future.
|
|
197
|
+
"""
|
|
198
|
+
...
|
|
199
|
+
|
|
189
200
|
def _validate_blueprint_value(self, key: str, value: typing.Any): ...
|
|
190
201
|
@property
|
|
191
|
-
def image(self) -> modal.image._Image:
|
|
202
|
+
def image(self) -> modal.image._Image:
|
|
203
|
+
"""mdmd:hidden
|
|
204
|
+
Retrieve the Image that will be used as the default for any Functions registered to the App.
|
|
205
|
+
|
|
206
|
+
Note: This property is only relevant in the build phase and won't be populated on a deployed
|
|
207
|
+
App that is retrieved via `modal.App.lookup`. It is likely to be deprecated in the future.
|
|
208
|
+
"""
|
|
209
|
+
...
|
|
210
|
+
|
|
192
211
|
@image.setter
|
|
193
|
-
def image(self, value):
|
|
212
|
+
def image(self, value):
|
|
213
|
+
"""mdmd:hidden"""
|
|
214
|
+
...
|
|
215
|
+
|
|
194
216
|
def _uncreate_all_objects(self): ...
|
|
195
217
|
def _set_local_app(
|
|
196
218
|
self, client: modal.client._Client, running_app: modal.running_app.RunningApp
|
|
@@ -301,37 +323,48 @@ class _App:
|
|
|
301
323
|
def _init_container(self, client: modal.client._Client, running_app: modal.running_app.RunningApp): ...
|
|
302
324
|
@property
|
|
303
325
|
def registered_functions(self) -> dict[str, modal._functions._Function]:
|
|
304
|
-
"""
|
|
326
|
+
"""mdmd:hidden
|
|
327
|
+
All modal.Function objects registered on the app.
|
|
305
328
|
|
|
306
329
|
Note: this property is populated only during the build phase, and it is not
|
|
307
330
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
331
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
332
|
+
approach for retrieving the layout of a deployed App.
|
|
308
333
|
"""
|
|
309
334
|
...
|
|
310
335
|
|
|
311
336
|
@property
|
|
312
337
|
def registered_classes(self) -> dict[str, modal.cls._Cls]:
|
|
313
|
-
"""
|
|
338
|
+
"""mdmd:hidden
|
|
339
|
+
All modal.Cls objects registered on the app.
|
|
314
340
|
|
|
315
341
|
Note: this property is populated only during the build phase, and it is not
|
|
316
342
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
343
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
344
|
+
approach for retrieving the layout of a deployed App.
|
|
317
345
|
"""
|
|
318
346
|
...
|
|
319
347
|
|
|
320
348
|
@property
|
|
321
349
|
def registered_entrypoints(self) -> dict[str, _LocalEntrypoint]:
|
|
322
|
-
"""
|
|
350
|
+
"""mdmd:hidden
|
|
351
|
+
All local CLI entrypoints registered on the app.
|
|
323
352
|
|
|
324
353
|
Note: this property is populated only during the build phase, and it is not
|
|
325
354
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
355
|
+
This method is likely to be deprecated in the future.
|
|
326
356
|
"""
|
|
327
357
|
...
|
|
328
358
|
|
|
329
359
|
@property
|
|
330
360
|
def registered_web_endpoints(self) -> list[str]:
|
|
331
|
-
"""
|
|
361
|
+
"""mdmd:hidden
|
|
362
|
+
Names of web endpoint (ie. webhook) functions registered on the app.
|
|
332
363
|
|
|
333
364
|
Note: this property is populated only during the build phase, and it is not
|
|
334
365
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
366
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
367
|
+
approach for retrieving the layout of a deployed App.
|
|
335
368
|
"""
|
|
336
369
|
...
|
|
337
370
|
|
|
@@ -638,7 +671,11 @@ class App:
|
|
|
638
671
|
|
|
639
672
|
@property
|
|
640
673
|
def is_interactive(self) -> bool:
|
|
641
|
-
"""
|
|
674
|
+
"""mdmd:hidden
|
|
675
|
+
Whether the current app for the app is running in interactive mode.
|
|
676
|
+
|
|
677
|
+
Note: this method will likely be deprecated in the future.
|
|
678
|
+
"""
|
|
642
679
|
...
|
|
643
680
|
|
|
644
681
|
@property
|
|
@@ -698,12 +735,30 @@ class App:
|
|
|
698
735
|
|
|
699
736
|
lookup: __lookup_spec
|
|
700
737
|
|
|
701
|
-
def set_description(self, description: str):
|
|
738
|
+
def set_description(self, description: str):
|
|
739
|
+
"""mdmd:hidden
|
|
740
|
+
Set the description of the App before it starts running.
|
|
741
|
+
|
|
742
|
+
Note: we don't recommend using the method and may deprecate it in the future.
|
|
743
|
+
"""
|
|
744
|
+
...
|
|
745
|
+
|
|
702
746
|
def _validate_blueprint_value(self, key: str, value: typing.Any): ...
|
|
703
747
|
@property
|
|
704
|
-
def image(self) -> modal.image.Image:
|
|
748
|
+
def image(self) -> modal.image.Image:
|
|
749
|
+
"""mdmd:hidden
|
|
750
|
+
Retrieve the Image that will be used as the default for any Functions registered to the App.
|
|
751
|
+
|
|
752
|
+
Note: This property is only relevant in the build phase and won't be populated on a deployed
|
|
753
|
+
App that is retrieved via `modal.App.lookup`. It is likely to be deprecated in the future.
|
|
754
|
+
"""
|
|
755
|
+
...
|
|
756
|
+
|
|
705
757
|
@image.setter
|
|
706
|
-
def image(self, value):
|
|
758
|
+
def image(self, value):
|
|
759
|
+
"""mdmd:hidden"""
|
|
760
|
+
...
|
|
761
|
+
|
|
707
762
|
def _uncreate_all_objects(self): ...
|
|
708
763
|
|
|
709
764
|
class ___set_local_app_spec(typing_extensions.Protocol[SUPERSELF]):
|
|
@@ -931,37 +986,48 @@ class App:
|
|
|
931
986
|
def _init_container(self, client: modal.client.Client, running_app: modal.running_app.RunningApp): ...
|
|
932
987
|
@property
|
|
933
988
|
def registered_functions(self) -> dict[str, modal.functions.Function]:
|
|
934
|
-
"""
|
|
989
|
+
"""mdmd:hidden
|
|
990
|
+
All modal.Function objects registered on the app.
|
|
935
991
|
|
|
936
992
|
Note: this property is populated only during the build phase, and it is not
|
|
937
993
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
994
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
995
|
+
approach for retrieving the layout of a deployed App.
|
|
938
996
|
"""
|
|
939
997
|
...
|
|
940
998
|
|
|
941
999
|
@property
|
|
942
1000
|
def registered_classes(self) -> dict[str, modal.cls.Cls]:
|
|
943
|
-
"""
|
|
1001
|
+
"""mdmd:hidden
|
|
1002
|
+
All modal.Cls objects registered on the app.
|
|
944
1003
|
|
|
945
1004
|
Note: this property is populated only during the build phase, and it is not
|
|
946
1005
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
1006
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
1007
|
+
approach for retrieving the layout of a deployed App.
|
|
947
1008
|
"""
|
|
948
1009
|
...
|
|
949
1010
|
|
|
950
1011
|
@property
|
|
951
1012
|
def registered_entrypoints(self) -> dict[str, LocalEntrypoint]:
|
|
952
|
-
"""
|
|
1013
|
+
"""mdmd:hidden
|
|
1014
|
+
All local CLI entrypoints registered on the app.
|
|
953
1015
|
|
|
954
1016
|
Note: this property is populated only during the build phase, and it is not
|
|
955
1017
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
1018
|
+
This method is likely to be deprecated in the future.
|
|
956
1019
|
"""
|
|
957
1020
|
...
|
|
958
1021
|
|
|
959
1022
|
@property
|
|
960
1023
|
def registered_web_endpoints(self) -> list[str]:
|
|
961
|
-
"""
|
|
1024
|
+
"""mdmd:hidden
|
|
1025
|
+
Names of web endpoint (ie. webhook) functions registered on the app.
|
|
962
1026
|
|
|
963
1027
|
Note: this property is populated only during the build phase, and it is not
|
|
964
1028
|
expected to work when a deplyoed App has been retrieved via `modal.App.lookup`.
|
|
1029
|
+
This method is likely to be deprecated in the future in favor of a different
|
|
1030
|
+
approach for retrieving the layout of a deployed App.
|
|
965
1031
|
"""
|
|
966
1032
|
...
|
|
967
1033
|
|
|
@@ -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.dev82",
|
|
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.dev82",
|
|
168
168
|
):
|
|
169
169
|
"""mdmd:hidden
|
|
170
170
|
The Modal client object is not intended to be instantiated directly by users.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|