winterthur.directory_search_widgets =================================== .. py:module:: winterthur.directory_search_widgets Attributes ---------- .. autoapisummary:: winterthur.directory_search_widgets.T Classes ------- .. autoapisummary:: winterthur.directory_search_widgets.InlineDirectorySearch Functions --------- .. autoapisummary:: winterthur.directory_search_widgets.lines Module Contents --------------- .. py:data:: T .. py:function:: lines(value: str | tuple[str, Ellipsis] | list[str]) -> collections.abc.Iterator[str] .. py:class:: InlineDirectorySearch(request: onegov.winterthur.request.WinterthurRequest, directory: onegov.org.models.ExtendedDirectory, search_query: dict[str, str] | None) .. py:attribute:: name :type: ClassVar[Literal['inline']] .. py:attribute:: app .. py:attribute:: request .. py:attribute:: directory .. py:attribute:: search_query .. py:property:: term :type: str | None .. py:property:: searchable :type: tuple[str, Ellipsis] .. py:property:: hits :type: dict[str, onegov.search.dsl.Hit] | None .. py:method:: html(layout: onegov.org.layout.DefaultLayout) -> markupsafe.Markup .. py:method:: fragments(entry: onegov.directory.DirectoryEntry) -> collections.abc.Iterator[tuple[str, tuple[str, Ellipsis]]] .. py:method:: lead(layout: onegov.org.layout.DefaultLayout, entry: onegov.directory.DirectoryEntry) -> str | None .. py:method:: adapt(query: sqlalchemy.orm.Query[T]) -> sqlalchemy.orm.Query[T]