heroesm
heroesm
use case: ``` >>> import remote_pdb as rpdb >>> rpdb.set_trace('./t.sock') >>> rpdb.set_trace('t.sock', unixsocket=True) >>> rpdb.set_trace(unixsocket='t.sock') ``` invalid: ``` >>> import remote_pdb as rpdb >>> rpdb.set_trace('t.sock') socket.gaierror: [Errno -2] Name or...
Document said `hgetall` accepting encoding parameter: https://aioredis.readthedocs.io/en/latest/getting-started/#response-decoding https://github.com/aio-libs/aioredis-py/blob/10b82dd9d8c804f088d80b277527597fa11306ff/docs/examples/getting_started/02_decoding.py ``` import asyncio import aioredis async def main(): redis = aioredis.from_url("redis://localhost") await redis.hmset_dict("hash", key1="value1", key2="value2", key3=123) result = await redis.hgetall("hash", encoding="utf-8") assert...