You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line has call which globally sets the seed for all users of random, and this happens at import time for users of fakeredis. Is this needed? If so, can this module create its own generator for internal use? https://docs.python.org/3/library/random.html#random.Random
Expected behavior
Side-effect free imports
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
Describe the bug
fakeredis-py/fakeredis/stack/_topk_mixin.py
Line 13 in 5240b69
This line has call which globally sets the seed for all users of
random
, and this happens at import time for users of fakeredis. Is this needed? If so, can this module create its own generator for internal use? https://docs.python.org/3/library/random.html#random.RandomExpected behavior
Side-effect free imports
Upvote & Fund
The text was updated successfully, but these errors were encountered: