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

Method input_token

client/node/common/userinput.py:105–117  ·  view source on GitHub ↗

Token 输入 :return:

(self)

Source from the content-addressed store, hash-verified

103 raise NodeError(code=errcode.E_NODE_TASK_SCM_FAILED, msg="获取远端代码库信息失败! %s" % str(err))
104
105 def input_token(self):
106 """
107 Token 输入
108 :return:
109 """
110 try:
111 return SmartInput().input(prompt="认证令牌(Token):")
112 except InputRetryError as err:
113 logger.warning(str(err))
114 return None
115 except EOFError as err:
116 logger.warning(str(err))
117 return None
118
119 def input_proj_id(self):
120 """

Callers

nothing calls this directly

Calls 3

SmartInputClass · 0.90
inputMethod · 0.80
warningMethod · 0.80

Tested by

no test coverage detected