From bec54a8b079b08154465e87e8e3c255abc2cfdf7 Mon Sep 17 00:00:00 2001 From: SimonBoothroyd Date: Tue, 14 Nov 2023 08:54:19 -0500 Subject: [PATCH] Fix `pydantic >=2.5` module not found error --- smee/mm/_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smee/mm/_config.py b/smee/mm/_config.py index 054864a..a5e32f6 100644 --- a/smee/mm/_config.py +++ b/smee/mm/_config.py @@ -58,7 +58,7 @@ def __get_pydantic_json_schema__( cls, _core_schema: pydantic_core.core_schema.CoreSchema, handler: pydantic.GetJsonSchemaHandler, - ) -> pydantic.json_schema.JsonSchemaValue: + ) -> "pydantic.json_schema.JsonSchemaValue": return handler(pydantic_core.core_schema.str_schema())