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.
Describe the bug https://github.com/cunla/fakeredis-py/blob/5240b69b13160584b6f9ed748dbc8843427b3671/fakeredis/stack/_topk_mixin.py#L13
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