Skip to content

Commit

Permalink
fix: fix Parquet dataset push to Hub (#1458)
Browse files Browse the repository at this point in the history
A return statement was missing, and Parquet file was pushed in
staging as well
  • Loading branch information
raphael0202 authored Nov 5, 2024
1 parent 9d081a5 commit 87e0fce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions robotoff/scheduler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ def _update_data() -> None:

if not settings.ENABLE_HF_PUSH:
logger.info("HF push is disabled, skipping Parquet conversion")
return

if ds_changed:
logger.info("Starting conversion of JSONL to Parquet (to HF)")
Expand Down

0 comments on commit 87e0fce

Please sign in to comment.