MCPcopy Index your code
hub / github.com/pyload/pyload / newTask

Method newTask

module/CaptchaManager.py:34–37  ·  view source on GitHub ↗
(self, format, params, result_type)

Source from the content-addressed store, hash-verified

32 self.ids = 0 # Only for internal purpose
33
34 def newTask(self, format, params, result_type):
35 task = CaptchaTask(self.ids, format, params, result_type)
36 self.ids += 1
37 return task
38
39 def removeTask(self, task):
40 self.lock.acquire()

Callers 3

decryptCaptchaMethod · 0.80
decrypt_imageMethod · 0.80
decrypt_interactiveMethod · 0.80

Calls 1

CaptchaTaskClass · 0.70

Tested by

no test coverage detected