INNER CODE UNIT · Python

_LocalAppState

modal-labs/modal-client · py/modal/app.py:123

class _LocalAppState:
    """All state for apps that's part of the local/definition state"""

    functions: dict[str, _Function]
    classes: dict[str, _Cls]
    image_default: _Image | None
    web_endpoints: list[str]  # Used by the CLI
    local_entrypoints: dict[str, _LocalEntrypoint]
    tags: dict[str, str]

    include_source_default: bool
    secrets_default: Sequence[_Secret]
    volumes_default: dict[str | PurePosixPath, _Volume]


class _App:
    """A Modal App is a group of functions and classes that are deployed together.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…