INNER CODE UNIT · Python

set_description

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

    def set_description(self, description: str):
        """mdmd:hidden
        Set the description of the App before it starts running.

        Note: we don't recommend using the method and may deprecate it in the future.
        """
        self.description = description

    def _validate_blueprint_value(self, key: str, value: Any):
        if not isinstance(value, _Object):
            raise InvalidError(f"App attribute `{key}` with value {value!r} is not a valid Modal object")

    @property
    @with_deprecation_warning(
        (2026, 8, 26),
        "`App.image` is deprecated and will be removed in `modal` version 1.6.0",
    )
    def image(self) -> _Image:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…