view search/extract_all.py @ 9:d1b54241a731

rewrite meeting fetcher
author drewp@bigasterisk.com
date Wed, 10 Jul 2024 12:25:06 -0700
parents search/search_base.py@f23b21bd0fce
children
line wrap: on
line source

from typing import Iterable

import extract_agenda
import extract_pdf
from doc import Doc


def allDocs() -> Iterable[Doc]:
    for mod in [
            #extract_pdf,
            extract_agenda
    ]:
        for src in mod.files():
            yield from mod.phrasesFromFile(src)