INNER CODE UNIT · Python
__call__
modal-labs/modal-client · py/modal/app.py:119
def __call__(self, func): ...
@dataclass()
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]