MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / _normalize_collect

Method _normalize_collect

app/services/captcha_service.py:188–195  ·  view source on GitHub ↗
(self, collect: str | None)

Source from the content-addressed store, hash-verified

186 suffix += 1
187
188 def _normalize_collect(self, collect: str | None) -> str:
189 normalized = (collect or "").strip()
190 if not normalized:
191 return ""
192 try:
193 return unquote(normalized)
194 except Exception:
195 return normalized
196
197 def _js_round(self, value: float) -> int:
198 if value >= 0:

Callers 1

build_verify_payloadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected