MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / run_generic_cloud_task

Method run_generic_cloud_task

daily/chinaUnicom.py:3233–3239  ·  view source on GitHub ↗
(self, task_code, task_name)

Source from the content-addressed store, hash-verified

3231 }
3232
3233 def run_generic_cloud_task(self, task_code, task_name):
3234 self.log(f"云盘任务: [{task_name}] 尝试通用完成接口")
3235 self.toFinish_cloud(task_code, task_name, False)
3236 time.sleep(2)
3237 self.handle_unknown_task_cloud(task_code, task_name)
3238 time.sleep(3)
3239 self.finalize_generic_task_cloud(task_code, task_name)
3240
3241 def handle_unknown_task_cloud(self, task_code, task_name=""):
3242 token = getattr(self.cloudDisk, 'userToken', '')

Callers 1

get_taskDetail_cloudMethod · 0.95

Calls 5

logMethod · 0.95
toFinish_cloudMethod · 0.95
sleepMethod · 0.80

Tested by

no test coverage detected