Exemplo n.º 1
0
    def download_dataset(minify: bool):
        from robotoff.products import has_dataset_changed, fetch_dataset
        from robotoff.utils import get_logger
        logger = get_logger()

        if has_dataset_changed():
            fetch_dataset(minify)
Exemplo n.º 2
0
def download_dataset(minify: bool = False) -> None:
    from robotoff.products import fetch_dataset, has_dataset_changed
    from robotoff.utils import get_logger

    get_logger()

    if has_dataset_changed():
        fetch_dataset(minify)
Exemplo n.º 3
0
def download_product_dataset():
    logger.info("Downloading new version of product dataset")

    if has_dataset_changed():
        fetch_dataset()
Exemplo n.º 4
0
def download_product_dataset():
    if has_dataset_changed():
        fetch_dataset()