pub fn populate_environment(
    env: &mut Environment,
    type_values: &mut TypeValues,
    context: EnvironmentContext
) -> Result<(), EnvironmentError>
Expand description

Populate a Starlark environment with state.

This sets variables (as opposed to type values) and is suitable to call on a child environment when the parent environment is already frozen.