MCPcopy Create free account
hub / github.com/dbcli/mycli / is_prefetching

Method is_prefetching

mycli/schema_prefetcher.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self._loaded: set[str] = set()
59
60 def is_prefetching(self) -> bool:
61 return bool(self._thread and self._thread.is_alive())
62
63 def clear_loaded(self) -> None:
64 """Forget which schemas have been prefetched (used on reset)."""

Callers 2

get_toolbar_tokensFunction · 0.80

Calls 1

is_aliveMethod · 0.45

Tested by 1