INNER CODE UNIT · Python
_is_interactive_
modal-labs/modal-client · py/modal/app.py:285
def _is_interactive_(self) -> bool:
"""mdmd:hidden
Whether the current app for the app is running in interactive mode.
Note: this method will likely be deprecated in the future.
"""
# return self._name
if self._running_app:
return self._running_app.interactive
else:
return False
@property
def app_id(self) -> str | None:
"""Return the app_id of a running or stopped app.
Returns: