code: def _mark_resource(self, rid, status):
      if not isinstance(rid, int):
          raise ValueError("Resource ID is not integer, %s" % type(rid))
      self.cursor.execute(
          "UPDATE resource SET status=? WHERE rid=?", (status, rid)
      )
      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 3 for calling the SQLiteConnector obj's underlying member method code with example usage: obj._mark_resource(rid, status) without return types