bundles / traitlets latest / traitlets / config / configurable / SingletonConfigurable / scope
classmethod
traitlets.config.configurable:SingletonConfigurable.scope
Summary
Create a scope covering this class and its subclasses.
Extended Summary
The returned SingletonScope is not active yet; call it to activate it for a dynamic extent (with MyApp.scope()() as scope:, or bind it first to inspect or re-enter it later). Called on SingletonConfigurable itself, it covers every singleton in the process.
Aliases
traitlets.config.SingletonConfigurable.scope