Function
arq_redis_msgpack
(test_redis_host: str, test_redis_port: int)
Source from the content-addressed store, hash-verified
| 63 | |
| 64 | @pytest.fixture |
| 65 | async def arq_redis_msgpack(test_redis_host: str, test_redis_port: int): |
| 66 | redis_ = ArqRedis( |
| 67 | host=test_redis_host, |
| 68 | port=test_redis_port, |
| 69 | encoding='utf-8', |
| 70 | job_serializer=msgpack.packb, |
| 71 | job_deserializer=functools.partial(msgpack.unpackb, raw=False), |
| 72 | ) |
| 73 | await redis_.flushall() |
| 74 | yield redis_ |
| 75 | await redis_.close(close_connection_pool=True) |
| 76 | |
| 77 | |
| 78 | @pytest.fixture |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…