Get annotations for *cls*.
(cls)
| 434 | |
| 435 | |
| 436 | def _get_annotations(cls): |
| 437 | """ |
| 438 | Get annotations for *cls*. |
| 439 | """ |
| 440 | if _has_own_attribute(cls, "__annotations__"): |
| 441 | return cls.__annotations__ |
| 442 | |
| 443 | return {} |
| 444 | |
| 445 | |
| 446 | def _counter_getter(e): |
no test coverage detected