aiq.registry_handlers.rest.register_rest#

Classes#

RestRegistryHandlerConfig

Registry handler for interacting with a remote REST registry.

Functions#

Module Contents#

class RestRegistryHandlerConfig(/, **data: Any)#

Bases: aiq.data_models.registry_handler.RegistryHandlerBaseConfig

Registry handler for interacting with a remote REST registry.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

endpoint: str = None#
token: str | None = None#
publish_route: str = None#
pull_route: str = None#
search_route: str = None#
remove_route: str = None#
async rest_search_handler(config: RestRegistryHandlerConfig)#