MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _empty

Method _empty

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

Source from the content-addressed store, hash-verified

217 return len(self.queue)
218
219 def _empty(self) -> bool:
220 return not self.queue
221
222 def _full(self) -> bool:
223 return self.maxsize > 0 and len(self.queue) == self.maxsize

Callers 2

emptyMethod · 0.95
getMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected