We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any reason you're importing from the internal API?
pydantic-ai/pydantic_ai_slim/pydantic_ai/_griffe.py
Lines 7 to 8 in b9ec73f
You're exposing yourself to breakages if I change these internals 😅 Public equivalent:
from griffe import DocstringSectionKind, Docstring, Object as GriffeObject
If it's to avoid loading too many things, note that _griffe.models imports a lot of stuff anyway:
_griffe.models
from _griffe.c3linear import c3linear_merge from _griffe.docstrings.parsers import DocstringStyle, parse from _griffe.enumerations import Kind, ParameterKind, Parser from _griffe.exceptions import AliasResolutionError, BuiltinModuleError, CyclicAliasError, NameResolutionError from _griffe.expressions import ExprCall, ExprName from _griffe.logger import logger from _griffe.mixins import ObjectAliasMixin
The text was updated successfully, but these errors were encountered:
I'd love to use public APIs only.
PR welcome to fix it, otherwise I'll try soon.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Any reason you're importing from the internal API?
pydantic-ai/pydantic_ai_slim/pydantic_ai/_griffe.py
Lines 7 to 8 in b9ec73f
You're exposing yourself to breakages if I change these internals 😅
Public equivalent:
If it's to avoid loading too many things, note that
_griffe.models
imports a lot of stuff anyway:The text was updated successfully, but these errors were encountered: