class_docstr: Store Hypothesis examples as sets in the given :class:`~redis.Redis` datastore.
  
  This is particularly useful for shared databases, as per the recipe
  for a :class:`~hypothesis.database.MultiplexedDatabase`.
  
  .. note::
  
      If a test has not been run for ``expire_after``, those examples will be allowed
      to expire.  The default time-to-live persists examples between weekly runs.
class_docstr_tok: ["Store","Hypothesis","examples","as","sets","in","the","given",":","class",":","`","~redis.Redis","`","datastore",".","This","is","particularly","useful","for","shared","databases",",","as","per","the","recipe","for","a",":","class",":","`","~hypothesis.database.MultiplexedDatabase","`",".","..","note",":",":","If","a","test","has","not","been","run","for","``","expire_after","``",",","those","examples","will","be","allowed","to","expire",".","The","default","time-to-live","persists","examples","between","weekly","runs","."]
code: def fetch(self, key: bytes) -> Iterable[bytes]:
      with self._pipeline(key, auto_execute=False) as pipe:
          pipe.smembers(self._prefix + key)
      yield from pipe.execute()[0]
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/extra/redis.py
imports: from contextlib import contextmanager
  from datetime import timedelta
  from typing import Iterable
  from redis import Redis
  from hypothesis.database import ExampleDatabase
  from hypothesis.internal.validation import check_type
label_desc: Use image node_id 4 for calling the RedisExampleDatabase obj's underlying member method code with example usage: obj.fetch(key) without return types