From 9b633147a9cada48f04ff74e82a5adfd7b9784de Mon Sep 17 00:00:00 2001 From: Andi Skrgat Date: Thu, 21 Sep 2023 10:03:56 +0200 Subject: [PATCH] Try using v1 API features --- gqlalchemy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gqlalchemy/models.py b/gqlalchemy/models.py index b327301b..e517011d 100644 --- a/gqlalchemy/models.py +++ b/gqlalchemy/models.py @@ -19,7 +19,7 @@ from enum import Enum from typing import Any, Dict, Iterable, List, Optional, Set, Tuple, Union -from pydantic import BaseModel, Extra, Field, PrivateAttr # noqa F401 +from pydantic.v1 import BaseModel, Extra, Field, PrivateAttr # noqa F401 from gqlalchemy.exceptions import ( GQLAlchemyError,