mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-04-16 10:16:55 +00:00
fix: pass DagStatusData model instead of dict to append_event_and_broadcast
add_event() calls .model_dump() on data, so it needs a Pydantic model not a dict.
This commit is contained in:
@@ -216,7 +216,7 @@ async def broadcast_dag_status(transcript_id: str, workflow_run_id: str) -> None
|
||||
transcript_id,
|
||||
transcript,
|
||||
"DAG_STATUS",
|
||||
dag_status.model_dump(mode="json"),
|
||||
dag_status,
|
||||
logger,
|
||||
)
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user