code: def pool(self, host, port, db, pools={}, **options):
          '''
          Fetch a redis conenction pool for the unique combination of host
          and port. Will create a new one if there isn't one already.
          '''
          key = (host, port, db)
          rval = pools.get(key)
          if not isinstance(rval, ConnectionPool):
              rval = ConnectionPool(host=host, port=port, db=db, **options)
              pools[key] = rval
  
          return rvaf pool(self, host, port, db, pools={}, **options):
          '''
          Fetch a redis conenction pool for the unique combination of host
          and port. Will create a new one if there isn't one already.
          '''
          key = (host, port, db)
          rval = pools.get(key)
          if not isinstance(rval, ConnectionPool):
              rval = ConnectionPool(host=host, port=port, db=db, **options)
              pools[key] = rval
  
          return rval
docs: Fetch a redis conenction pool for the unique combination of host
          and port. Will create a new one if there isn't one already.