def inspect(self):
        results = {}
        for fname in dir(self):
            if not fname.startswith('_'):
                value = getattr(self, fname)
                if isinstance(value, collections.Callable):
                    continue
                results[fname] = value
        return results
Retreive dictionary of 'Field: Value' attributes
dataset/ETHPy150Open rene-aguirre/pywinusb/pywinusb/hid/core.py/HidPUsageCaps.inspect