httk.serve.web.widgets.table¶
The built-in, cursor-paginated httk.serve.table widget.
Attributes¶
Exceptions¶
An expected bad table declaration, continuation, or provider result. |
|
A continuation token did not meet the endpoint protocol. |
|
A valid continuation token has passed its expiry. |
|
A site-local provider could not safely supply the requested page. |
|
A provider changed a revision-pinned result while paging. |
Classes¶
Authenticate the canonical, bounded continuation envelope. |
|
Engine-local table dispatcher, renderer, and continuation authority. |
|
Built-in adapter supplied with |
Module Contents¶
- exception httk.serve.web.widgets.table.TableProtocolError[source]¶
Bases:
ValueErrorAn expected bad table declaration, continuation, or provider result.
- exception httk.serve.web.widgets.table.TableContinuationError[source]¶
Bases:
TableProtocolErrorA continuation token did not meet the endpoint protocol.
- exception httk.serve.web.widgets.table.TableContinuationExpired[source]¶
Bases:
TableContinuationErrorA valid continuation token has passed its expiry.
- exception httk.serve.web.widgets.table.TableProviderError[source]¶
Bases:
TableProtocolErrorA site-local provider could not safely supply the requested page.
- exception httk.serve.web.widgets.table.TableRevisionMismatch[source]¶
Bases:
TableProviderErrorA provider changed a revision-pinned result while paging.
- class httk.serve.web.widgets.table.TableTokenSigner(secret: str | bytes | None = None)[source]¶
Authenticate the canonical, bounded continuation envelope.
- class httk.serve.web.widgets.table.TableRuntime(*, engine: httk.serve.web.engine.site_engine.SiteEngine, token_secret: str | bytes | None = None, token_ttl_seconds: int = DEFAULT_TOKEN_TTL_SECONDS)[source]¶
Engine-local table dispatcher, renderer, and continuation authority.
- render(context: httk.serve.web.widgets.core.WidgetContext, **props: object) httk.serve.web.widgets.core.WidgetRenderResult[source]¶
- class httk.serve.web.widgets.table.TableWidget[source]¶
Built-in adapter supplied with
httk.serve.web.widgets.WidgetContext.- render(context: httk.serve.web.widgets.core.WidgetContext, **props: object) httk.serve.web.widgets.core.WidgetRenderResult[source]¶