Inspectopedia Help

Attempt to call a non-callable object

Reports a problem when you are trying to call objects that are not callable, like, for example, properties:

Example:

class Record: @property def as_json(self): json = Record().as_json()

Inspection Details

Available in:

DataSpell 2023.3, PyCharm 2023.3

Plugin:

Python Community Edition, 233.SNAPSHOT

Last modified: 13 July 2023