MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / qsize

Method qsize

lib/sqlalchemy/util/queue.py:109–113  ·  view source on GitHub ↗

Return the approximate size of the queue (not reliable!).

(self)

Source from the content-addressed store, hash-verified

107 self.use_lifo = use_lifo
108
109 def qsize(self) -> int:
110 """Return the approximate size of the queue (not reliable!)."""
111
112 with self.mutex:
113 return self._qsize()
114
115 def empty(self) -> bool:
116 """Return True if the queue is empty, False otherwise (not

Callers 3

checkedinMethod · 0.45
checkedoutMethod · 0.45
qsizeMethod · 0.45

Calls 1

_qsizeMethod · 0.95

Tested by

no test coverage detected