httk.registry.entries.store

Register entry providers implemented by httk.store.

Functions

register_entry_provider(*, name, factory)

Register an EntryProvider factory under name.

Package Contents

httk.registry.entries.store.register_entry_provider(*, name, factory)

Register an EntryProvider factory under name.

factory is 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 mirrors register_reader.

Parameters:
  • name (str) – The provider registry name.

  • factory (str) – The lazy "module:callable" factory reference.