httk.serve.web.widgets.optimade_table¶
The HTML/configuration boundary for the browser-driven OPTIMADE table.
Attributes¶
Exceptions¶
A declared OPTIMADE table shell cannot meet the browser protocol. |
Functions¶
|
Render an inert, accessible OPTIMADE table shell and its trusted assets. |
Module Contents¶
- exception httk.serve.web.widgets.optimade_table.OptimadeTableProtocolError[source]¶
Bases:
ValueErrorA declared OPTIMADE table shell cannot meet the browser protocol.
- httk.serve.web.widgets.optimade_table.render(context: httk.serve.web.widgets.core.WidgetContext, *, base_url: str, entry_type: str = 'structures', columns: object, page_size: int = 50, caption: str = 'OPTIMADE results', filter: str | None = None, filter_query: str | None = None, sort: str | None = None, allowed_origins: tuple[str, Ellipsis] = (), detail_route: str | None = None, detail_column: str | None = None, detail_query: str = 'id') httk.serve.web.widgets.core.WidgetRenderResult[source]¶
Render an inert, accessible OPTIMADE table shell and its trusted assets.