Dictionary style keys() method.
(self)
| 573 | return [] |
| 574 | |
| 575 | def keys(self): |
| 576 | """Dictionary style keys() method.""" |
| 577 | if self.list is None: |
| 578 | raise TypeError("not indexable") |
| 579 | return list(set(item.name for item in self.list)) |
| 580 | |
| 581 | def __contains__(self, key): |
| 582 | """Dictionary style __contains__ method.""" |
no test coverage detected