MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / __del__

Method __del__

cache/local_cache.py:48–54  ·  view source on GitHub ↗

Destructor function, cleanup scheduled task :return:

(self)

Source from the content-addressed store, hash-verified

46 self._schedule_clear()
47
48 def __del__(self):
49 """
50 Destructor function, cleanup scheduled task
51 :return:
52 """
53 if self._cron_task is not None:
54 self._cron_task.cancel()
55
56 def get(self, key: str) -> Optional[Any]:
57 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected