Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ _get
Method
_get
lib/sqlalchemy/util/queue.py:228–234 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
226
self.queue.append(item)
227
228
def
_get(self) -> _T:
229
if
self.use_lifo:
230
# LIFO
231
return
self.queue.pop()
232
else
:
233
# FIFO
234
return
self.queue.popleft()
235
236
237
class
AsyncAdaptedQueue(QueueCommon[_T]):
Callers
1
get
Method · 0.95
Calls
1
pop
Method · 0.45
Tested by
no test coverage detected