MCPcopy
hub / github.com/python-attrs/attrs / _get_annotations

Function _get_annotations

src/attr/_compat.py:26–29  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

24 # forward references.
25
26 def _get_annotations(cls):
27 return annotationlib.get_annotations(
28 cls, format=annotationlib.Format.FORWARDREF
29 )
30
31else:
32

Callers 2

_transform_attrsFunction · 0.85
_create_slots_classMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected