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

Function inner

traitlets/config/application.py:116–122  ·  view source on GitHub ↗
(app: Application, *args: t.Any, **kwargs: t.Any)

Source from the content-addressed store, hash-verified

114
115 @functools.wraps(method)
116 def inner(app: Application, *args: t.Any, **kwargs: t.Any) -> t.Any:
117 try:
118 return method(app, *args, **kwargs)
119 except (TraitError, ArgumentError) as e:
120 app.log.fatal("Bad config encountered during initialization: %s", e)
121 app.log.debug("Config at the time: %s", app.config)
122 app.exit(1)
123
124 return t.cast(T, inner)
125

Callers

nothing calls this directly

Calls 1

exitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…