application
A base Application class for Datalayer applications.\n\nAll Datalayer applications should inherit from this.
NoStart Objects
class NoStart(Exception)
Exception to raise when an application shouldn't start
DatalayerApp Objects
class DatalayerApp(Application)
Base class for Datalayer applications
name
override in subclasses
write_default_config
def write_default_config() -> None
Write our default config to a .py config file
migrate_config
def migrate_config() -> None
Migrate config/data from IPython 3
load_config_file
def load_config_file(suppress_errors: bool = True) -> None
Load the config file.\n\nBy default, errors in loading config are handled, and a warning\nprinted on screen. For testing, the suppress_errors option is set\nto False, so errors will make tests fail.
initialize
@catch_config_error
def initialize(argv: t.Optional[list[str]] = None) -> None
Initialize the application.
start
def start() -> None
Start the whole thing
launch_instance
@classmethod
def launch_instance(cls,
argv: t.Optional[t.Tuple[t.Any]] = None,
**kwargs: t.Dict[str, t.Any]) -> None
Launch an instance of a Datalayer Application