circe/helpers.py
def yield_infinite_random(lst: List[Any]) -> Iterator[Any]:
    """ Yields infinite elements from a list of elements in random order. """
    while 1:  # Once the list has been exhausted, re-shuffle it and keep yielding elements
        random.shuffle(lst)
        for element in lst:
            yield element
 Yields infinite elements from a list of elements in random order. 
Yields infinite elements from a list of elements in random order.
Yields infinite elements from a list of elements in random order .
def yield_infinite_random(lst: List[Any]) -> Iterator[Any]:
    while 1:  
        random.shuffle(lst)
        for element in lst:
            yield element
def yield_infinite_random ( lst : List [ Any ] ) -> Iterator [ Any ] : while 1 : random . shuffle ( lst ) for element in lst : yield element
Yields infinite elements from a list of elements in random order.
Yields infinite elements from a list of elements in random order .
""" Yields infinite elements from a list of elements in random order. """ # Once the list has been exhausted, re-shuffle it and keep yielding elements

lst
List[Any]