{{ name | escape | underline}}

.. currentmodule:: {{ module }}

.. autoclass:: {{ objname }}
   :members:                 <-- add at least this line
   :private-members:
   :show-inheritance:        <-- plus I want to show inheritance...
   :inherited-members:       <-- ...and inherited members too

   {% block methods %}
   .. automethod:: __init__

   {% if methods %}
   .. rubric:: {{ _('Public methods summary') }}

   .. autosummary::
   {% for item in methods %}
      ~{{ name }}.{{ item }}
   {%- endfor %}
   {% for item in _methods %}
      ~{{ name }}.{{ item }}
   {%- endfor %}
   {% endif %}
   {% endblock %}

   .. rubric:: {{ _('Methods definition') }}

{% if objname in related_typeddicts %}
Related TypedDicts
------------------

{% for typeddict in related_typeddicts[objname] %}
.. autotypeddict:: {{ typeddict }}
   :show-inheritance:

{% endfor %}
{% endif %}
