MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / escape

Function escape

AgentBench.old/src/tasks/dbbench/__init__.py:55–58  ·  view source on GitHub ↗
(string: str, conn)

Source from the content-addressed store, hash-verified

53
54
55def escape(string: str, conn):
56 if type(string) is not str:
57 string = str(string)
58 return conn._cmysql.escape_string(string).decode("utf-8")
59
60
61def process(receiver, max_round):

Callers 12

build_sqlFunction · 0.85
processFunction · 0.85
workerFunction · 0.85
wa.jsFile · 0.85
trackAllFormValuesFunction · 0.85
trackLoginFunction · 0.85
trackToggleLocaleFunction · 0.85
captureLinkHrefFunction · 0.85
captureExtLinkFunction · 0.85
captureExtClickThruFunction · 0.85
aaCookie.jsFile · 0.85

Calls 1

decodeMethod · 0.80

Tested by

no test coverage detected