polywrap_client_config_builder.configures.package_configure module
This module contains the package configure class for the client config builder.
- class polywrap_client_config_builder.configures.package_configure.PackageConfigure[source]
Bases:
objectAllows configuring the WRAP packages.
- config: BuilderConfig
- get_package(uri: Uri) WrapPackage | None[source]
Return the package for the given uri.
- get_packages() Dict[Uri, WrapPackage][source]
Return the packages from the builder’s config.
- remove_package(uri: Uri) ClientConfigBuilder[source]
Remove the package for the given uri.
- remove_packages(uris: List[Uri]) ClientConfigBuilder[source]
Remove the packages for the given uris.
- set_package(uri: Uri, package: WrapPackage) ClientConfigBuilder[source]
Set the package by uri in the builder’s config, overiding any existing values.
- set_packages(uri_packages: Dict[Uri, WrapPackage]) ClientConfigBuilder[source]
Set the packages in the builder’s config, overiding any existing values.