(self, platform: str, crawler_type: str)
| 29 | |
| 30 | class AsyncFileWriter: |
| 31 | def __init__(self, platform: str, crawler_type: str): |
| 32 | self.lock = asyncio.Lock() |
| 33 | self.platform = platform |
| 34 | self.crawler_type = crawler_type |
| 35 | self.wordcloud_generator = AsyncWordCloudGenerator() if config.ENABLE_GET_WORDCLOUD else None |
| 36 | |
| 37 | def _get_file_path(self, file_type: str, item_type: str) -> str: |
| 38 | if config.SAVE_DATA_PATH: |
nothing calls this directly
no test coverage detected