code: def specific_automated_run(id):
      path = functions.get_path_from_query_string(request)
  
      with functions.DBContextManager(path) as session:
          automated_run = (
              session.query(models.AutomatedRun)
              .filter_by(id=id)
              .first()
          )
          if automated_run is None:
              raise exceptions.UserError(
                  "Automated run {} not found".format(id), 404
              )
  
          if request.method == "GET":
              return jsonify(automated_run.serialize)
  
          if request.method == "DELETE":
              session.delete(automated_run)
              session.commit()
              return jsonify(message="Deleted automated run")
  
imports: from __future__ import absolute_import, print_function, division, unicode_literals
  import os
  from flask import request, jsonify, send_from_directory, g
  from redis import Redis
  from rq import Connection
  from sqlalchemy import create_engine
  from sklearn.model_selection import ParameterGrid
  from sklearn.model_selection import ParameterSampler
  from xcessiv import app, functions, exceptions, models, rqtasks
  from xcessiv.presets import learnersetting, metricsetting, cvsetting
  import six
label_desc: Use image node_id 21 for calling a global function with example usage: specific_automated_run(id) and returns: jsonify, jsonify