Skip to content

Commit 4e23b8e

Browse files
authored
fix: Update ConfigDict + WithJsonSchema import (#223)
1 parent 27b18b9 commit 4e23b8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/codegen/sdk/codebase/span.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from typing import Annotated, Any
22

3-
from pydantic import BaseModel, ConfigDict, WithJsonSchema
3+
from pydantic import BaseModel
4+
from pydantic.config import ConfigDict
45
from pydantic.functional_validators import BeforeValidator
5-
from pydantic.json_schema import JsonSchemaValue
6+
from pydantic.json_schema import JsonSchemaValue, WithJsonSchema
67
from pydantic_core.core_schema import ValidationInfo
78
from tree_sitter import Point, Range
89

0 commit comments

Comments
 (0)