'The DB connection.'

@property
def db_client(self):

    try:
        return self._db_client
    except AttributeError:
        self._db_client = pymongo.MongoClient(host=self.host, read_preference=pymongo.ReadPreference.SECONDARY_PREFERRED)
        return self._db_client
