{{ log.debug("Rendering receives section") }} {% if config.docstring_section_style == "table" %} {% block table_style %} {% set name_column = section.value|selectattr("name")|any %}

{{ section.title or "Receives:" }}

{% if name_column %}{% endif %} {% for receives in section.value %} {% if name_column %}{% endif %} {% endfor %}
NameType Description
{% if receives.name %}{{ receives.name }}{% endif %} {% if receives.annotation %} {% with expression = receives.annotation %} {% include "expression.html" with context %} {% endwith %} {% endif %} {{ receives.description|convert_markdown(heading_level, html_id) }}
{% endblock table_style %} {% elif config.docstring_section_style == "list" %} {% block list_style %}

{{ section.title or "Receives:" }}

{% endblock list_style %} {% elif config.docstring_section_style == "spacy" %} {% block spacy_style %} {% for receives in section.value %} {% endfor %}
{{ (section.title or "RECEIVES").rstrip(":").upper() }} DESCRIPTION
{% if receives.name %} {{ receives.name }} {% elif receives.annotation %} {% with expression = receives.annotation %} {% include "expression.html" with context %} {% endwith %} {% endif %} {{ receives.description|convert_markdown(heading_level, html_id) }} {% if receives.name and receives.annotation %}

TYPE: {% with expression = receives.annotation %} {% include "expression.html" with context %} {% endwith %}

{% endif %}
{% endblock spacy_style %} {% endif %}