Skip to content

Commit b19a7ac

Browse files
committed
fix schema errors
1 parent fa26437 commit b19a7ac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/webapp/routers/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,8 @@ def trigger_inference_run(
518518
detail="Unexpected number of batches found: Expected 1, got "
519519
+ str(len(inst_result)),
520520
)
521-
inst_file_schemas = [x.schemas for x in batch_result[0][0].files]
521+
#inst_file_schemas = [x.schemas for x in batch_result[0][0].files]
522+
inst_file_schemas = [list({s for f in batch_result[0][0].files for s in f.schemas})]
522523
raw_config = query_result[0][0].schema_configs
523524

524525
# Inline legacy → new mapping directly on the string

0 commit comments

Comments
 (0)