A cached version of `get_class_annotations`
(self, t)
| 729 | self.cache = {} |
| 730 | |
| 731 | def _get_class_annotations(self, t): |
| 732 | """A cached version of `get_class_annotations`""" |
| 733 | try: |
| 734 | return self.type_hints[t] |
| 735 | except KeyError: |
| 736 | out = self.type_hints[t] = _get_class_annotations(t) |
| 737 | return out |
| 738 | |
| 739 | def run(self): |
| 740 | # First construct a decoder to validate the types are valid |
no test coverage detected