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

Method from_string

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

Source from the content-addressed store, hash-verified

3047 self.error(obj, value)
3048
3049 def from_string(self, s: str) -> str | None:
3050 if self.allow_none and s == "None":
3051 return None
3052 return s
3053
3054
3055class DottedObjectName(ObjectName):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected