polywrap_client_config_builder.configures.interface_configure module
This module contains the interface configure class for the client config builder.
- class polywrap_client_config_builder.configures.interface_configure.InterfaceConfigure[source]
Bases:
objectAllows configuring the interface-implementations.
- add_interface_implementations(interface_uri: Uri, implementations_uris: List[Uri]) ClientConfigBuilder[source]
Add a list of implementation URIs for the given interface URI to the builder’s config.
- config: BuilderConfig
- get_interface_implementations(uri: Uri) List[Uri] | None[source]
Return the interface for the given uri.
- get_interfaces() Dict[Uri, List[Uri]][source]
Return all registered interface and its implementations from the builder’s config.
- remove_interface(interface_uri: Uri) ClientConfigBuilder[source]
Remove the interface for the given uri.
- remove_interface_implementations(interface_uri: Uri, implementations_uris: List[Uri]) ClientConfigBuilder[source]
Remove the implementations for the given interface uri.