Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/data_index/runners/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ def index_batch(
logger.info(f"Batch {i} had dead letters!")
prefect.states.raise_state_exception(state=state)


# Fail for unknown reason, assume dead letter sinking failed
case state:
error = (
Expand All @@ -170,7 +169,6 @@ def index_batch(
dead_letter_sink=dead_letter_sink,
)
prefect.states.raise_state_exception(state=state)



@prefect.flow
Expand Down
2 changes: 1 addition & 1 deletion src/data_index/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def transform(
# Fallback/Catch-all case (e.g., if max_workers is 0, negative, or an invalid type)
case _:
raise ValueError(f"Invalid value for max_workers: {max_workers}")

logger.info(f"Extracted {len(staged_objects)} staged_objects!")

logger.info("Transform complete!")
Expand Down
Loading