MCPcopy
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
237class AsyncAdaptedQueue(QueueCommon[_T]):

Callers 1

getMethod · 0.95

Calls 1

popMethod · 0.45

Tested by

no test coverage detected