code: def get_database(cls):
      if cls._db is None:
          cls._initialise()
      return cls._db
  
imports: import peewee
  from threading import Lock
  import os
  import appdirs
  import atexit
  import datetime
  import pickle
  from .utils import get_yf_logger
label_desc: Use image node_id 1 for calling the _CookieDBManager obj's underlying member method code with example usage: obj.get_database(cls) and returns: cls