winterthur.directory_search_widgets

Attributes

T

Classes

InlineDirectorySearch

Functions

lines(→ Iterator[str])

Module Contents

winterthur.directory_search_widgets.T[source]
winterthur.directory_search_widgets.lines(value: str | tuple[str, Ellipsis] | list[str]) Iterator[str][source]
class winterthur.directory_search_widgets.InlineDirectorySearch(request: onegov.winterthur.request.WinterthurRequest, directory: onegov.org.models.ExtendedDirectory, search_query: dict[str, str] | None)[source]
name: ClassVar[Literal['inline']][source]
app[source]
request[source]
directory[source]
search_query[source]
property term: str | None[source]
property searchable: tuple[str, Ellipsis][source]
property hits: dict[str, onegov.search.dsl.Hit] | None[source]
html(layout: onegov.org.layout.DefaultLayout) markupsafe.Markup[source]
fragments(entry: onegov.directory.DirectoryEntry) Iterator[tuple[str, tuple[str, ...]]][source]
lead(layout: onegov.org.layout.DefaultLayout, entry: onegov.directory.DirectoryEntry) str | None[source]
adapt(query: Query[T]) Query[T][source]