(docs)
| 151 | |
| 152 | |
| 153 | def single_worker(docs): |
| 154 | results = [] |
| 155 | for item in tqdm(docs): |
| 156 | title, text = basic_process(item[0], item[1]) |
| 157 | if title is None: |
| 158 | continue |
| 159 | title = f'"{title}"' |
| 160 | results.append((title, text)) |
| 161 | return results |
| 162 | |
| 163 | |
| 164 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected