MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / empty

Method empty

lib/sqlalchemy/util/queue.py:115–120  ·  view source on GitHub ↗

Return True if the queue is empty, False otherwise (not reliable!).

(self)

Source from the content-addressed store, hash-verified

113 return self._qsize()
114
115 def empty(self) -> bool:
116 """Return True if the queue is empty, False otherwise (not
117 reliable!)."""
118
119 with self.mutex:
120 return self._empty()
121
122 def full(self) -> bool:
123 """Return True if the queue is full, False otherwise (not

Calls 1

_emptyMethod · 0.95