Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ __iter__
Method
__iter__
lib/sqlalchemy/testing/util.py:80–83 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
78
79
class
RandomSet(set):
80
def
__iter__(self):
81
l = list(set.__iter__(self))
82
random.shuffle(l)
83
return
iter(l)
84
85
def
pop(self):
86
index = random.randint(0, len(self) - 1)
Callers
1
pop
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected