Skip to content

Commit 875d5eb

Browse files
authored
Use Griffe's public API (#550)
1 parent 247fcb6 commit 875d5eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pydantic_ai_slim/pydantic_ai/_griffe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
from inspect import Signature
55
from typing import Any, Callable, Literal, cast
66

7-
from _griffe.enumerations import DocstringSectionKind
8-
from _griffe.models import Docstring, Object as GriffeObject
7+
from griffe import Docstring, DocstringSectionKind, Object as GriffeObject
98

109
DocstringStyle = Literal['google', 'numpy', 'sphinx']
1110

0 commit comments

Comments
 (0)