MCPcopy
hub / github.com/Tencent/CodeAnalysis / get_scan_cons_preproccess

Method get_scan_cons_preproccess

ScriptsAPI.py:177–191  ·  view source on GitHub ↗
(self, base_url, org_sid, team_name, options)

Source from the content-addressed store, hash-verified

175 self.create_scans(base_url, org_sid, team_name, repo_id, project_id)
176
177 def get_scan_cons_preproccess(self, base_url, org_sid, team_name, options):
178 if options['repo_id'] is None:
179 logger.error("repo_id 不能为空!")
180 return
181 repo_id = options['repo_id']
182 if options['project_id'] is None:
183 logger.error("project_id 不能为空!")
184 return
185 project_id = options['project_id']
186 if options['job_id'] is None:
187 logger.error("job_id 不能为空!")
188 return
189 job_id = options['job_id']
190
191 self.get_scan_cons(base_url, org_sid, team_name, repo_id, project_id, job_id)
192
193 def get_overview_preproccess(self, base_url, org_sid, team_name, options):
194 if options['repo_id'] is None:

Callers 1

handleMethod · 0.95

Calls 2

get_scan_consMethod · 0.95
errorMethod · 0.80

Tested by

no test coverage detected