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]
term() str | None[source]
searchable() tuple[str, Ellipsis][source]
hits() dict[str, onegov.search.dsl.Hit] | None[source]
html(layout: onegov.org.layout.DefaultLayout) str[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]