docs: def get_settings(self):
          """
          This creates a dict with keyword arguments used to create the redis client.
          It is used like ``redis.StrictClient(**self.get_settings())``. Thus, if the
          settings string is not enough to generate the wanted setting you can override
          this function.
  
          :return: A dict with keyword arguments for the redis client constructor.
          """
          host = '127.0.0.1'
          port = 6379
          db = 0
          if self.connection_uri is not None:
              re_connection_uri = r'redis://(?:([\w]+)@)?([\w\d\.]+):(\d+)(?:/(\d+))?'
              match = re.match(re_connection_uri, self.connection_uri)
              if match:
                  if match.group(2):
                      host = match.group(2)
                  if match.group(3):
                      port = int(match.group(3))
                  if match.group(4):
                      db = int(match.group(4))
  
          return {
              'host': host,
              'port': port,
              'db': db
          }