{% extends "./base.html" %} {% load classy_doc %} {% block content %}
from {{klass.module}} import {{klass.name}}
{{klass.docstring}}
Attribute | Value | Defined in |
---|---|---|
{{name}} |
{{attribute.object}} |
{{attribute.defining_class.0}}.{{attribute.defining_class.1}} |
Attribute | Type | Defined in |
---|---|---|
{{name}} |
{{declaration.field_type}}
{% if declaration.related %}
{{declaration.related.0}}.{{declaration.related.1}}
{% endif %}
|
{{declaration.defining_class.0}}.{{declaration.defining_class.1}} |
{% if value.type|slice:"-8" == "property" %}@property
def {{name}}(self){% elif value.arguments %}def {{ name }}{{ value.arguments }}{% else %}def {{name}}(self){% endif %}
{{ declaration.docstring|escape }}{% endif %} {% if declaration.lines.total > 0 %}
{{ declaration.code }}
{% endif %}
{% if declarations|length > 1 %}