Skip to content

Conversation

Graeme22
Copy link
Contributor

Description

Adds an optional prefix_str property to RedisAsyncResultBackend and its variants, as discussed in #73. This prefix allows for organizing keys into folders a la S3 in some Redis explorers like RedisInsight.

If the prefix is not provided (default), the behavior will not change at all, so this is backwards-compatible with existing DB results. Alternatively, we could set a default prefix string like "taskiq" which would not be backwards-compatible but would probably be more intuitive for users.

Related issues

Fixes #73.

@s3rius s3rius merged commit 090a00a into taskiq-python:main Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: prefix string for result backend
2 participants