MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / update_retry_report

Method update_retry_report

client/task/sourcemgr.py:74–84  ·  view source on GitHub ↗

进度上报:更新代码失败后,重新拉取代码 :return:

(self)

Source from the content-addressed store, hash-verified

72 Reporter(self.params).update_task_progress(InfoType.DataHandleSourceUpdate)
73
74 def update_retry_report(self):
75 """
76 进度上报:更新代码失败后,重新拉取代码
77 :return:
78 """
79 if self.task_type is CompileTask:
80 Reporter(self.params).update_task_progress(InfoType.CompileSourceReLoad)
81 elif self.task_type is AnalyzeTask:
82 Reporter(self.params).update_task_progress(InfoType.AnalyzeSourceReLoad)
83 elif self.task_type is DataHandleTask:
84 Reporter(self.params).update_task_progress(InfoType.DataHandleSourceReLoad)
85
86 def checkout_report(self):
87 """

Callers 1

__retry_updateMethod · 0.80

Calls 2

ReporterClass · 0.90
update_task_progressMethod · 0.45

Tested by

no test coverage detected