MCPcopy
hub / github.com/msgspec/msgspec / _get_class_annotations

Function _get_class_annotations

src/msgspec/_utils.py:56–57  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

54else:
55
56 def _get_class_annotations(cls):
57 return cls.__dict__.get("__annotations__", {})
58
59
60def _apply_params(obj, mapping):

Callers 3

fieldsFunction · 0.85
get_class_annotationsFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…