MCPcopy Create free account
hub / github.com/ipython/traitlets / launch_instance

Method launch_instance

traitlets/config/application.py:1075–1082  ·  view source on GitHub ↗

Launch a global instance of this Application If a global instance already exists, this reinitializes and starts it

(cls, argv: ArgvType = None, **kwargs: t.Any)

Source from the content-addressed store, hash-verified

1073
1074 @classmethod
1075 def launch_instance(cls, argv: ArgvType = None, **kwargs: t.Any) -> None:
1076 """Launch a global instance of this Application
1077
1078 If a global instance already exists, this reinitializes and starts it
1079 """
1080 app = cls.instance(**kwargs)
1081 app.initialize(argv)
1082 app.start()
1083
1084
1085# -----------------------------------------------------------------------------

Callers 11

application.pyFile · 0.80
argcomplete_app.pyFile · 0.80
subcommands_app.pyFile · 0.80
from_string.pyFile · 0.80
flags.pyFile · 0.80
load_config_app.pyFile · 0.80
multiple_apps.pyFile · 0.80
subcommands.pyFile · 0.80
aliases.pyFile · 0.80
container.pyFile · 0.80

Calls 3

instanceMethod · 0.80
initializeMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected