MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_nowait

Method get_nowait

lib/sqlalchemy/util/queue.py:288–292  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286 raise Full() from err
287
288 def get_nowait(self) -> _T:
289 try:
290 return self._queue.get_nowait()
291 except asyncio.QueueEmpty as err:
292 raise Empty() from err
293
294 def get(self, block: bool = True, timeout: Optional[float] = None) -> _T:
295 if not block:

Callers 1

getMethod · 0.95

Calls 2

EmptyClass · 0.70
get_nowaitMethod · 0.45

Tested by

no test coverage detected