(docs)
| 137 | |
| 138 | |
| 139 | def single_worker(docs): |
| 140 | results = [] |
| 141 | for item in tqdm(docs): |
| 142 | title, text = basic_process(item[0], item[1]) |
| 143 | if title is None: |
| 144 | continue |
| 145 | title = f'"{title}"' |
| 146 | results.append((title, text)) |
| 147 | return results |
| 148 | |
| 149 | |
| 150 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected