code: def open(self, new=False):
          '''
          Init the database, if required.
          '''
          self._db.new() if new else self._db.open()  # pylint: disable=W0106
          self._run_init_queries(f open(self, new=False):
          '''
          Init the database, if required.
          '''
          self._db.new() if new else self._db.open()  # pylint: disable=W0106
          self._run_init_queries()
docs: Init the database, if required.