class_docstr: Create Resource to run jobs.
  
  :param connector: Connector to database
  :type connector: AbstractConnector
docstr: Finish one job
  
  :param jid: job ID
  :type jid: int
  :param score: job for the experiment
  :type score: float | None
docstr_tok: ["Finish","one","job",":","param","jid",":","job","ID",":","type","jid",":","int",":","param","score",":","job","for","the","experiment",":","type","score",":","float","|","None"]
code: def finish_job(self, jid, score, status=None):
      """
      Finish one job
  
      :param jid: job ID
      :type jid: int
      :param score: job for the experiment
      :type score: float | None
      """
      if jid in self.jobs:
          rid = self.jobs.pop(jid)
          self.connector.job_finished(rid, jid, score, status)
      else:
          logger.warning(
              "Job %d finished after job suspension, result may lose"
              % jid
          )
  
imports: import abc
  import copy
  import importlib
  import logging
  import random
  import threading
  import time
  import numpy
  import math
  import warnings
  from ...utils import DEFAULT_AUPTIMIZER_PATH
  from .utils.curve_fitting import CurveModel
label_desc: Use image node_id 3 for calling the AbstractResourceManager obj's underlying member method code with example usage: obj.finish_job(jid, score, status) without return types