code: def __init__(
      self,
      env_type: t.Literal["conda"],
      bento: Bento,
      is_ephemeral: bool = True,
      env_name: str | None = None,
      env_store: FS = Provide[BentoMLContainer.env_store],
  ):
      if not is_ephemeral:
          assert (
              env_name is not None
          ), "persistent environments need a valid name."
      if not env_store.exists(env_type):
          env_store.makedir(env_type)
      env_fs = (
          fs.open_fs("temp://")
          if is_ephemeral
          else env_store.opendir(env_type)
      )
  
      if env_type == "conda":
          self.environment = Conda(
              name=env_name, env_fs=env_fs, bento=bento
          )
      else:
          raise NotImplementedError(f"'{env_type}' is not supported.")
  
file_path: BentoML/grpc-client/bentoml/_internal/env_manager/manager.py
imports: from __future__ import annotations
  import logging
  import typing
  import fs
  from simple_di import Provide
  from simple_di import inject
  from ..bento.bento import Bento
  from ..bento.bento import BentoInfo
  from ..configuration.containers import BentoMLContainer
  from .envs import Conda
label_desc: Use image node_id 1 to create a new EnvManager object  with example: obj = EnvManager(env_type, bento, is_ephemeral, env_name, env_store)