Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakar-io committed Mar 29, 2024
1 parent b00ddbd commit e6e872d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/redis_to_postgres/migrate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async def migrate_checkpoints() -> None:
if checkpoint:
if checkpoint.get("channel_values", {}).get("__root__"):
checkpoint["channel_values"]["__root__"] = [
msg.__class__(**msg.__dict__.items())
msg.__class__(**msg.__dict__)
for msg in checkpoint["channel_values"]["__root__"]
]
await postgres_checkpoint.aput(config, checkpoint)
Expand Down

0 comments on commit e6e872d

Please sign in to comment.