a b/docs/_templates/autosummary/class.rst
1
{{ fullname | escape | underline }}
2
3
.. currentmodule:: {{ module }}
4
5
.. autoclass:: {{ objname }}
6
    {% block methods %}
7
    {%- if methods %}
8
    .. rubric:: {{ _('Methods') }}
9
10
    .. autosummary::
11
        :toctree: .
12
    {% for item in methods %}
13
    {%- if item not in ['__init__'] %}
14
        ~{{ name }}.{{ item }}
15
    {%- endif %}
16
    {%- endfor %}
17
    {%- for item in all_methods %}
18
    {%- if item in ['__call__'] %}
19
        ~{{ name }}.{{ item }}
20
    {%- endif %}
21
    {%- endfor %}
22
    {%- endif %}
23
    {%- endblock %}
24
    {% block attributes %}
25
    {%- if attributes %}
26
    .. rubric:: {{ _('Attributes') }}
27
28
    .. autosummary::
29
        :toctree: .
30
    {% for item in attributes %}
31
        ~{{ name }}.{{ item }}
32
    {%- endfor %}
33
    {%- endif %}
34
    {% endblock %}