# {py:mod}`django_bird.params` ```{py:module} django_bird.params ``` ```{autodoc2-docstring} django_bird.params :parser: myst :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`Params ` - ```{autodoc2-docstring} django_bird.params.Params :parser: myst :summary: ``` * - {py:obj}`Param ` - ```{autodoc2-docstring} django_bird.params.Param :parser: myst :summary: ``` * - {py:obj}`Value ` - ```{autodoc2-docstring} django_bird.params.Value :parser: myst :summary: ``` ```` ### API `````{py:class} Params :canonical: django_bird.params.Params ```{autodoc2-docstring} django_bird.params.Params :parser: myst ``` ````{py:attribute} attrs :canonical: django_bird.params.Params.attrs :type: list[Param] :value: > 'field(...)' ```{autodoc2-docstring} django_bird.params.Params.attrs :parser: myst ``` ```` ````{py:attribute} props :canonical: django_bird.params.Params.props :type: list[Param] :value: > 'field(...)' ```{autodoc2-docstring} django_bird.params.Params.props :parser: myst ``` ```` ````{py:method} render_props(component: django_bird.components.Component, context: django.template.context.Context) :canonical: django_bird.params.Params.render_props ```{autodoc2-docstring} django_bird.params.Params.render_props :parser: myst ``` ```` ````{py:method} render_attrs(context: django.template.context.Context) -> django.utils.safestring.SafeString :canonical: django_bird.params.Params.render_attrs ```{autodoc2-docstring} django_bird.params.Params.render_attrs :parser: myst ``` ```` ````{py:method} from_node(node: django_bird.templatetags.tags.bird.BirdNode) -> django_bird.params.Params :canonical: django_bird.params.Params.from_node :classmethod: ```{autodoc2-docstring} django_bird.params.Params.from_node :parser: myst ``` ```` ````` `````{py:class} Param :canonical: django_bird.params.Param ```{autodoc2-docstring} django_bird.params.Param :parser: myst ``` ````{py:attribute} name :canonical: django_bird.params.Param.name :type: str :value: > None ```{autodoc2-docstring} django_bird.params.Param.name :parser: myst ``` ```` ````{py:attribute} value :canonical: django_bird.params.Param.value :type: Value | str | bool :value: > None ```{autodoc2-docstring} django_bird.params.Param.value :parser: myst ``` ```` ````{py:method} render_attr(context: django.template.context.Context) -> str :canonical: django_bird.params.Param.render_attr ```{autodoc2-docstring} django_bird.params.Param.render_attr :parser: myst ``` ```` ````{py:method} render_prop(context: django.template.context.Context) -> str | bool | None :canonical: django_bird.params.Param.render_prop ```{autodoc2-docstring} django_bird.params.Param.render_prop :parser: myst ``` ```` ````` `````{py:class} Value :canonical: django_bird.params.Value ```{autodoc2-docstring} django_bird.params.Value :parser: myst ``` ````{py:attribute} raw :canonical: django_bird.params.Value.raw :type: django.template.base.FilterExpression | str | bool | None :value: > None ```{autodoc2-docstring} django_bird.params.Value.raw :parser: myst ``` ```` ````{py:method} resolve(context: django.template.context.Context | dict[str, typing.Any], is_attr: bool = False) -> typing.Any :canonical: django_bird.params.Value.resolve ```{autodoc2-docstring} django_bird.params.Value.resolve :parser: myst ``` ```` ````{py:method} _resolve_expression(expression: django.template.base.FilterExpression, context: django.template.context.Context, is_attr: bool) -> typing.Any :canonical: django_bird.params.Value._resolve_expression ```{autodoc2-docstring} django_bird.params.Value._resolve_expression :parser: myst ``` ```` ````{py:method} _resolve_raw_string(raw: str, context: django.template.context.Context | dict[str, typing.Any]) -> typing.Any :canonical: django_bird.params.Value._resolve_raw_string ```{autodoc2-docstring} django_bird.params.Value._resolve_raw_string :parser: myst ``` ```` ````{py:method} _is_quoted(raw: str) -> bool :canonical: django_bird.params.Value._is_quoted :staticmethod: ```{autodoc2-docstring} django_bird.params.Value._is_quoted :parser: myst ``` ```` `````