class_docstr: Specifies the Conda environment for all steps of the flow.
  
  Use `@conda_base` to set common libraries required by all
  steps and use `@conda` to specify step-specific additions.
  
  Parameters
  ----------
  packages : Dict[str, str], default: {}
      Packages to use for this flow. The key is the name of the package
      and the value is the version to use.
  libraries : Dict[str, str], default: {}
      Supported for backward compatibility. When used with packages, packages will take precedence.
  python : str, optional
      Version of Python to use, e.g. '3.7.4'. A default value of None implies
      that the version used will correspond to the version of the Python interpreter used to start the run.
  disabled : bool, default: False
      If set to True, disables Conda.
class_docstr_tok: ["Specifies","the","Conda","environment","for","all","steps","of","the","flow",".","Use","`","@","conda_base","`","to","set","common","libraries","required","by","all","steps","and","use","`","@","conda","`","to","specify","step-specific","additions",".","Parameters","--","--","--","--","--","packages",":","Dict","[","str",",","str","]",",","default",":","{","}","Packages","to","use","for","this","flow",".","The","key","is","the","name","of","the","package","and","the","value","is","the","version","to","use",".","libraries",":","Dict","[","str",",","str","]",",","default",":","{","}","Supported","for","backward","compatibility",".","When","used","with","packages",",","packages","will","take","precedence",".","python",":","str",",","optional","Version","of","Python","to","use",",","e.g",".","'","3.7.4","'",".","A","default","value","of","None","implies","that","the","version","used","will","correspond","to","the","version","of","the","Python","interpreter","used","to","start","the","run",".","disabled",":","bool",",","default",":","False","If","set","to","True",",","disables","Conda","."]
code: def flow_init(
      self,
      flow,
      graph,
      environment,
      flow_datastore,
      metadata,
      logger,
      echo,
      options,
  ):
      # @conda uses a conda environment to create a virtual environment.
      # The conda environment can be created through micromamba.
      _supported_virtual_envs = ["conda"]
  
      # To placate people who don't want to see a shred of conda in UX, we symlink
      # --environment=pypi to --environment=conda
      _supported_virtual_envs.extend(["pypi"])
  
      # The --environment= requirement ensures that valid virtual environments are
      # created for every step to execute it, greatly simplifying the @conda
      # implementation.
      if environment.TYPE not in _supported_virtual_envs:
          raise InvalidEnvironmentException(
              "@%s decorator requires %s"
              % (
                  self.name,
                  " or ".join(
                      [
                          "--environment=%s" % env
                          for env in _supported_virtual_envs
                      ]
                  ),
              )
          )
  
imports: import importlib
  import json
  import os
  import platform
  import sys
  import tempfile
  from metaflow.decorators import FlowDecorator, StepDecorator
  from metaflow.extension_support import EXT_PKG
  from metaflow.metaflow_environment import InvalidEnvironmentException
  from metaflow.util import get_metaflow_root
  from ...None import INFO_FILE
label_desc: Use image node_id 2 for calling the CondaFlowDecorator obj's underlying member method code with example usage: obj.flow_init(flow, graph, environment, flow_datastore, metadata, logger, echo, options) without return types