class_docstr: Main class from which all Flows should inherit.
  
  Attributes
  ----------
  index
  input
docstr: [Legacy function - do not use. Use `current` instead]
  
  Returns the name of the script containing the flow
  
  Returns
  -------
  str
      A string containing the name of the script
code: def script_name(self) -> str:
      """
      [Legacy function - do not use. Use `current` instead]
  
      Returns the name of the script containing the flow
  
      Returns
      -------
      str
          A string containing the name of the script
      """
      fname = inspect.getfile(self.__class__)
      if fname.endswith(".pyc"):
          fname = fname[:-1]
      return os.path.basename(fname)
  
imports: import inspect
  import os
  import sys
  import traceback
  from itertools import islice
  from types import FunctionType, MethodType
  from typing import Any, Callable, List, Optional, Tuple
  from .None import cmd_with_io
  from .parameters import DelayedEvaluationParameter, Parameter
  from .exception import MetaflowException, MissingInMergeArtifactsException, UnhandledInMergeArtifactsException
  from .graph import FlowGraph
  from .unbounded_foreach import UnboundedForeachInput
  from .datastore.inputs import Inputs
label_desc: Use image node_id 2 for calling the FlowSpec obj's underlying member method code with example usage: obj.script_name() and returns: os