class_docstr: Instantiate an object from the environment variables
class_docstr_tok: ["Instantiate","an","object","from","the","environment","variables"]
docstr: :param env: The dictionary of the environment variables
docstr_tok: [":","param","env",":","The","dictionary","of","the","environment","variables"]
code: def __init__(self, env: Dict[str, Any]):
      """
      :param env: The dictionary of the environment variables
      """
      super().__init__(env, "Environment")
  
      self.strings_to_replace: List[str, str] = [
          key
          for key, value in self.env.items()
          if isinstance(value, str) or isinstance(value, os.PathLike)
      ]
      self.strings_to_replace.sort(key=len, reverse=True)
  
imports: import logging
  import os
  import traceback
  from abc import ABCMeta, abstractmethod
  from pathlib import Path
  from typing import Any, Callable, Dict, List, Mapping, Type, Union
  import toml
  import yaml
label_desc: Use image node_id 1 to create a new FromEnvironmentVariableInstantiator object from inherited base classes: FromMappingInstantiator with example: obj = FromEnvironmentVariableInstantiator(env)