Details
Description
We are using Pint in our code and we have something like this:
class MyClass: @ureg.check(None, '[electric_potential]') def set_voltage(self, voltage) -> None: # Imagine an implementation
`pyside6-metaobjectdump` will fail with this error:
File ".../PySide6/scripts/metaobjectdump.py", line 272, in _parse_function_decorator name = node.func.id AttributeError: 'Attribute' object has no attribute 'id'
But it doesn't fail on other decorators like `property` or `lru_cache`