We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b1af8e commit 04d76c8Copy full SHA for 04d76c8
services/storage/tests/unit/test_dsm_soft_links.py
@@ -46,7 +46,7 @@ async def output_file(
46
async with aiopg_engine.acquire() as conn:
47
stmt = (
48
file_meta_data.insert()
49
- .values(jsonable_encoder(FileMetaDataAtDB.from_orm(file)))
+ .values(jsonable_encoder(FileMetaDataAtDB.model_validate(file)))
50
.returning(literal_column("*"))
51
)
52
result = await conn.execute(stmt)
0 commit comments