MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / check_func

Method check_func

client/node/common/userinput.py:124–128  ·  view source on GitHub ↗
(proj_id)

Source from the content-addressed store, hash-verified

122 :return:
123 """
124 def check_func(proj_id):
125 if proj_id.isdigit():
126 return True
127 else:
128 return False
129 try:
130 proj_id = SmartInput().input(prompt="项目编号:",
131 check_func=check_func,

Callers

nothing calls this directly

Calls 1

format_languagesMethod · 0.95

Tested by

no test coverage detected