Back to Intellij Community

PyCallingNonCallableInspection

python/python-psi-impl/resources/inspectionDescriptions/PyCallingNonCallableInspection.html

2025.3-rc-2208 B
Original Source

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()