httk.handlers.atomistic¶
Functions¶
|
Register an |
|
Register one lazy adapter for each neutral payload format in |
Package Contents¶
- httk.handlers.atomistic.register_entry_provider(*, name: str, factory: str) None[source]¶
Register an
EntryProviderfactory undername.factoryis a lazy"module:callable"reference to a callable that constructs a provider (providers need data, so applications call the factory themselves; the registry only records how to reach it). This mirrorsregister_loader.
- httk.handlers.atomistic.register_format_adapter(*, name: str, adapter: str | collections.abc.Callable[Ellipsis, Any], formats: collections.abc.Sequence[str]) None[source]¶
Register one lazy adapter for each neutral payload format in
formats.adaptermay be a callable or a lazy"module:callable"reference. A format tag has one owner: registering it again raises an error naming both the existing and attempted registrants.