{ } Raw JSON

bundles / jupyter_client 8.10.0 / jupyter_client / provisioning / provisioner_base / KernelProvisionerBase / __apply_env_substitutions

function

jupyter_client.provisioning.provisioner_base:KernelProvisionerBase.__apply_env_substitutions

source: /jupyter_client/provisioning/provisioner_base.py:250

Signature

def __apply_env_substitutions(self, substitution_values: dict[str, str]) → dict[str, str]

Summary

Walks entries in the kernelspec's env stanza and applies substitutions from current env.

Extended Summary

This method is called from KernelProvisionerBase.pre_launch() during the kernel's start sequence.

Returns the substituted list of env entries.

NOTE: This method is private and is not intended to be overridden by provisioners.

Aliases

  • jupyter_client.KernelProvisionerBase._KernelProvisionerBase__apply_env_substitutions