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`
| For Gerrit Dashboard: PYSIDE-2203 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 455969,2 | pyside6-metaobjectdump: Handle complex decorators | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
| 456037,2 | pyside6-metaobjectdump: Handle complex decorators | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |