code: def delete(self, name, project_name):
      project_controller = ProjectController()
      project = project_controller.get(name=project_name)
  
      # check if exists
      record = (
          db.session.query(db.Jobs)
          .filter_by(
              company_id=ctx.company_id,
              name=name,
              project_id=project.id,
              deleted_at=sa.null(),
          )
          .first()
      )
      if record is None:
          raise EntityNotExistsError("Job does not exist", name)
  
      self._delete_record(record)
      db.session.commit()
  
      # delete context
      query_context_controller.drop_query_context("job", record.id)
  
imports: import re
  import datetime
  from dateutil.relativedelta import relativedelta
  import sqlalchemy
  from mindsdb_sql import parse_sql, ParsingException
  from mindsdb.utilities.context import context
  from mindsdb.utilities.exception import EntityNotExistsError, EntityExistsError
  from mindsdb.interfaces.storage import db
  from mindsdb.interfaces.database.projects import ProjectController
  from mindsdb.interfaces.query_context.context_controller import query_context_controller
  from mindsdb.utilities import log
label_desc: Use image node_id 3 for calling the JobsController obj's underlying member method code with example usage: obj.delete(name, project_name) without return types