polywrap_client_config_builder.configures.env_configure module
This module contains the env configure class for the client config builder.
- class polywrap_client_config_builder.configures.env_configure.EnvConfigure[source]
Bases:
objectAllows configuring the environment variables.
- add_env(uri: Uri, env: Any) ClientConfigBuilder[source]
Add an env for the given uri.
If an Any is already associated with the uri, it is modified.
- add_envs(uri_envs: Dict[Uri, Any]) ClientConfigBuilder[source]
Add a list of envs to the builder’s config.
- config: BuilderConfig
- remove_env(uri: Uri) ClientConfigBuilder[source]
Remove the env for the given uri.
- remove_envs(uris: List[Uri]) ClientConfigBuilder[source]
Remove the envs for the given uris.
- set_env(uri: Uri, env: Any) ClientConfigBuilder[source]
Set the env by uri in the builder’s config, overiding any existing values.
- set_envs(uri_envs: Dict[Uri, Any]) ClientConfigBuilder[source]
Set the envs in the builder’s config, overiding any existing values.