mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-01 03:01:13 -04:00
fix(db): fix deprecated pydantic .json() method
This commit is contained in:
@@ -57,7 +57,7 @@ class SqliteWorkflowRecordsStorage(WorkflowRecordsStorageBase):
|
||||
INSERT INTO workflows(workflow)
|
||||
VALUES (?);
|
||||
""",
|
||||
(workflow.json(),),
|
||||
(workflow.model_dump_json(),),
|
||||
)
|
||||
self._conn.commit()
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user