MCPcopy Index your code
hub / github.com/msgspec/msgspec / normalize

Function normalize

src/msgspec/_json_schema.py:194–195  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

192 """
193
194 def normalize(name):
195 return re.sub(r"[^a-zA-Z0-9.\-_]", "_", name)
196
197 def fullname(cls):
198 return normalize(f"{cls.__module__}.{cls.__qualname__}")

Callers 2

fullnameFunction · 0.85
_build_name_mapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…