MCPcopy Create free account
hub / github.com/python-arq/arq / arq_redis_msgpack

Function arq_redis_msgpack

tests/conftest.py:65–75  ·  view source on GitHub ↗
(test_redis_host: str, test_redis_port: int)

Source from the content-addressed store, hash-verified

63
64@pytest.fixture
65async 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

Calls 2

ArqRedisClass · 0.90
closeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…