(self, text)
| 71 | CATEGORY = "PD Nodes" |
| 72 | |
| 73 | def count_lines(self, text): |
| 74 | # text 现在是一个列表 (list) |
| 75 | if not text: |
| 76 | return (0,) |
| 77 | |
| 78 | # 获取列表长度 (即 Batch Size / 项目总数) |
| 79 | # 这样输入 3 个文件名时,就会直接返回 int 3 |
| 80 | count = len(text) |
| 81 | |
| 82 | return (count,) |
| 83 | |
| 84 | # -------------------------------------------------------------------------------- |
| 85 | # 节点注册映射 |
nothing calls this directly
no outgoing calls
no test coverage detected