code: def __init__(self):
      # Mandated globals
      self.apilevel = "2.0 "
      self.threadsafety = 3
      self.paramstyle = "qmark"
      self.STRING = 41
      self.BINARY = 42
      self.DATETIME = 43
      self.NUMBER = 44
      self.ROWID = 45
      self.Error = Exception
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
label_desc: Use image node_id 1 to create a new dbapi2_mock object from inherited base classes: object with example: obj = dbapi2_mock()