sf.configuration.update_from_environment_variables

update_from_environment_variables(config)[source]

Updates the current configuration object from data stored in environment variables.

The list of environment variables can be found at strawberryfields.configuration

Parameters

config (dict[str, dict[str, Union[str, bool, int]]]) – the configuration to be updated

Returns

the updated configuration

Return type

dict[str, dict[str, Union[str, bool, int]]])