Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def composite(self):
return numpy.dtype([
(k, self.__class__.dtype) for k, v in self._asdict().items()])