INNER CODE UNIT · Python
image
modal-labs/modal-client · py/modal/app.py:412
def image(self) -> _Image:
"""mdmd:hidden
Retrieve the Image that will be used as the default for any Functions registered to the App.
Note: This property is only relevant in the build phase and won't be populated on a deployed
App that is retrieved via `modal.App.lookup`. It is likely to be deprecated in the future.
"""
return self._local_state.image_default
@image.setter
def image(self, value):
"""mdmd:hidden"""
self._local_state.image_default = value
def _uncreate_all_objects(self):
# TODO(erikbern): this doesn't unhydrate objects that aren't tagged
local_state = self._local_state