code: def run(gen):
      from essentia.streaming import VectorInput
  
      # catch this here as the actual type has not been determined yet so trying
      # run it here and now would result in an invalid pointer dereference...
      if (
          isinstance(gen, VectorInput)
          and not list(gen.connections.values())[0]
      ):
          raise EssentiaError(
              "VectorInput is not connected to anything..."
          )
      return _essentia.run(gen)
  
imports: from .None import _essentia
  import sys
  from ._essentia import reset
  from .common import Pool, array, ones, zeros
  from .progress import Progress
  from .utils import *
label_desc: Use image node_id 3 for calling a global function with example usage: run(gen) and returns: _essentia