mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
61daa16e5d
- Fix bug with TypedDicts rendering inherited methods if inherting from typing_extensions.TypedDict rather than typing.TypedDict - Do not surface inherited pydantic methods for subclasses of BaseModel - Subclasses of RunnableSerializable will not how methods inherited from Runnable or from BaseModel - Subclasses of Runnable that not pydantic models will include a link to RunnableInterface (they still show inherited methods, we can fix this later)
37 lines
673 B
ReStructuredText
37 lines
673 B
ReStructuredText
:mod:`{{module}}`.{{objname}}
|
|
{{ underline }}==============
|
|
|
|
.. currentmodule:: {{ module }}
|
|
|
|
.. autoclass:: {{ objname }}
|
|
|
|
{% block attributes %}
|
|
{% if attributes %}
|
|
.. rubric:: {{ _('Attributes') }}
|
|
|
|
.. autosummary::
|
|
{% for item in attributes %}
|
|
~{{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block methods %}
|
|
{% if methods %}
|
|
.. rubric:: {{ _('Methods') }}
|
|
|
|
.. autosummary::
|
|
{% for item in methods %}
|
|
~{{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
|
|
{% for item in methods %}
|
|
.. automethod:: {{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
|
|
.. example_links:: {{ objname }}
|