From e3a3f3974be2e9e7f0cbb6d5141a5b20e031deeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isak=20Ohlsson=20=C3=85ngnell?= <40887124+islean@users.noreply.github.com> Date: Wed, 8 Nov 2023 13:39:41 +0100 Subject: [PATCH] Update to pydantic v2 (#2531) (patch) ### Fixed - We now import from Pydantic v2 in meta/upload/scout --- cg/meta/upload/scout/uploadscoutapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cg/meta/upload/scout/uploadscoutapi.py b/cg/meta/upload/scout/uploadscoutapi.py index f26ad4fc89..766e5dfc5c 100644 --- a/cg/meta/upload/scout/uploadscoutapi.py +++ b/cg/meta/upload/scout/uploadscoutapi.py @@ -5,7 +5,7 @@ from typing import Optional from housekeeper.store.models import File, Version -from pydantic.v1.dataclasses import dataclass +from pydantic.dataclasses import dataclass from cg.apps.housekeeper.hk import HousekeeperAPI from cg.apps.lims import LimsAPI