.. _missing-yield-type-doc:

missing-yield-type-doc / W9014
==============================

**Message emitted:**

Missing yield type documentation

**Description:**

*Please document the type yielded by this method.*

**Problematic code:**

.. literalinclude:: /data/messages/m/missing-yield-type-doc/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/m/missing-yield-type-doc/good.py
   :language: python

**Additional details:**

This message is raised only when parameter ``accept-no-yields-doc`` is set to ``no``.



.. note::
  This message is emitted by the optional :ref:`'parameter_documentation'<pylint.extensions.docparams>`
   checker which requires the ``pylint.extensions.docparams`` plugin to be loaded.

Created by the `parameter_documentation <https://github.com/PyCQA/pylint/blob/main/pylint/extensions/docparams.py>`__ checker.