.. _property-with-parameters:

property-with-parameters / R0206
================================

**Message emitted:**

Cannot have defined parameters for properties

**Description:**

*Used when we detect that a property also has parameters, which are useless, given that properties cannot be called with additional arguments.*

**Problematic code:**

.. literalinclude:: /data/messages/p/property-with-parameters/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/p/property-with-parameters/good.py
   :language: python



Created by the `classes <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/classes/class_checker.py>`__ checker.