From 188192c1b15e77013ad78a4904f099cd314b4b86 Mon Sep 17 00:00:00 2001 From: Rogger Valverde Date: Fri, 30 Aug 2024 19:50:25 -0600 Subject: [PATCH] docs(connection): add decode_responses warning [python] (#2745) fixes #2695 --- docs/gitbook/changelog.md | 1 - docs/gitbook/python/introduction.md | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/gitbook/changelog.md b/docs/gitbook/changelog.md index 6bd3957565..544f70b75d 100644 --- a/docs/gitbook/changelog.md +++ b/docs/gitbook/changelog.md @@ -82,7 +82,6 @@ ### Bug Fixes * **job:** consider passing stackTraceLimit as 0 ([#2692](https://github.com/taskforcesh/bullmq/issues/2692)) ref [#2487](https://github.com/taskforcesh/bullmq/issues/2487) ([509a36b](https://github.com/taskforcesh/bullmq/commit/509a36baf8d8cf37176e406fd28e33f712229d27)) -* **job:** make sure json.dumps return JSON compliant JSON [python] ([#2683](https://github.com/taskforcesh/bullmq/issues/2683)) ([4441711](https://github.com/taskforcesh/bullmq/commit/4441711a986a9f6a326100308d639eb0a2ea8c8d)) # [5.12.0](https://github.com/taskforcesh/bullmq/compare/v5.11.0...v5.12.0) (2024-08-01) diff --git a/docs/gitbook/python/introduction.md b/docs/gitbook/python/introduction.md index 57eb5bf1f0..ce57106264 100644 --- a/docs/gitbook/python/introduction.md +++ b/docs/gitbook/python/introduction.md @@ -75,3 +75,7 @@ async def main(): if __name__ == "__main__": asyncio.run(main()) ``` + +{% hint style="warning" %} +If Redis responses are in binary format, you should pass (decode_responses)[https://redis-py.readthedocs.io/en/latest/examples/connection_examples.html#By-default-Redis-return-binary-responses,-to-decode-them-use-decode_responses=True] option as *True*. +{% endhint %}