MCPcopy Create free account
hub / github.com/ZiniuLu/Python-100-Days / __init__

Method __init__

Day66-75/code/main.py:91–94  ·  view source on GitHub ↗
(self, name, spider, tasks_queue)

Source from the content-addressed store, hash-verified

89class SpiderThread(Thread):
90
91 def __init__(self, name, spider, tasks_queue):
92 super().__init__(name=name, daemon=True)
93 self.spider = spider
94 self.tasks_queue = tasks_queue
95
96 def run(self):
97 while True:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected