()
| 319 | def _wiki_ingest_enabled() -> bool: |
| 320 | # Shared parser so this agrees with the GUI settings panel, which used an |
| 321 | # opposite-polarity check and could report ingestion as off while it ran. |
| 322 | return shared_env.env_bool("PAPERFLOW_WIKI_INGEST", default=True) |
| 323 | |
| 324 | |
| 325 | def ingest_pushed_paper_to_wiki( |
| 326 | *, |
| 327 | user_id: str, |
| 328 | push_id: str, |
| 329 | paper: Dict, |
| 330 | category: Optional[str], |
no test coverage detected