Unresolved attribute reference 'add_parameter' for class 'property'

On lines 32 and 33 of this code I am getting the warning:

Unresolved attribute reference 'add_parameter' for class 'property'

in the PyCharm editor. How do we get rid of these warnings?

I don’t get any error in VSCode trying your code. Maybe that’s a question to ask the PyCharm community? But for sure if you find a solution it’d be nice to share it here!

It is a code inspection warning:

Filed as bug - https://youtrack.jetbrains.com/issue/PY-53229

1 Like