code: def run_snakemake(**kwargs):
      args = dict(app.extensions["args"])
      args.update(kwargs)
      app.extensions["run_snakemake"](**args)
  
file_path: snakemake/snakemake/gui.py
imports: import json
  import os
  import threading
  from flask import Flask, render_template, request
  from snakemake.common import __version__
label_desc: Use image node_id 2 for calling a global function with example usage: run_snakemake() without return types