code: def end_job_attempt(self, jid):
      self.cursor.execute(
          """UPDATE job_attempt SET end_time=strftime('%s', 'now') WHERE jaid=(
                                      SELECT jaid FROM job_attempt jt WHERE jt.jid=? ORDER BY num DESC LIMIT 1)""",
          (jid,),
      )
      self.connector.commit()
  
imports: import logging
  import re
  import sqlite3
  import threading
  from time import sleep
  import json
  from datetime import datetime
  from .AbstractConnector import AbstractConnector
label_desc: Use image node_id 10 for calling the SQLiteConnector obj's underlying member method code with example usage: obj.end_job_attempt(jid) without return types