polywrap_client_config_builder.configures.wrapper_configure module

This module contains the wrapper configure class for the client config builder.

class polywrap_client_config_builder.configures.wrapper_configure.WrapperConfigure[source]

Bases: object

Allows configuring the wrappers.

config: BuilderConfig
get_wrapper(uri: Uri) Wrapper | None[source]

Return the set wrapper for the given uri.

get_wrappers() Dict[Uri, Wrapper][source]

Return the wrappers from the builder’s config.

remove_wrapper(uri: Uri) ClientConfigBuilder[source]

Remove the wrapper for the given uri.

remove_wrappers(uris: List[Uri]) ClientConfigBuilder[source]

Remove the wrappers for the given uris.

set_wrapper(uri: Uri, wrapper: Wrapper) ClientConfigBuilder[source]

Set the wrapper by uri in the builder’s config, overiding any existing values.

set_wrappers(uri_wrappers: Dict[Uri, Wrapper]) ClientConfigBuilder[source]

Set the wrappers in the builder’s config, overiding any existing values.