INNER CODE UNIT · Python

description

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

    def description(self, value):
        """mdmd:hidden"""
        self._description = value

    @staticmethod
    async def lookup(
        name: str,
        *,
        client: _Client | None = None,
        environment_name: str | None = None,
        create_if_missing: bool = False,
    ) -> "_App":
        """Look up an App with a given name, creating a new App if necessary.

        Note that Apps created through this method will be in a deployed state,
        but they will not have any associated Functions or Classes. This method
        is mainly useful for creating an App to associate with a Sandbox.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…