MCPcopy Create free account
hub / github.com/InternLM/HuixiangDou / empty

Method empty

web/proxy/test.py:44–46  ·  view source on GitHub ↗

Return True if the queue is empty, False otherwise.

(self)

Source from the content-addressed store, hash-verified

42 return self.__db.llen(self.key)
43
44 def empty(self):
45 """Return True if the queue is empty, False otherwise."""
46 return self.qsize() == 0
47
48 def put(self, item):
49 """Put item into the queue."""

Callers

nothing calls this directly

Calls 1

qsizeMethod · 0.95

Tested by

no test coverage detected