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

Method from_string

traitlets/traitlets.py:2348–2349  ·  view source on GitHub ↗
(self, s: str)

Source from the content-addressed store, hash-verified

2346 return repr(self.make_dynamic_default())
2347
2348 def from_string(self, s: str) -> T | None:
2349 return _safe_literal_eval(s) # type:ignore[no-any-return]
2350
2351
2352class ForwardDeclaredMixin:

Callers

nothing calls this directly

Calls 1

_safe_literal_evalFunction · 0.85

Tested by

no test coverage detected