Skip to content

Commit 06a8e8f

Browse files
committed
fixup! show alias
1 parent 789600c commit 06a8e8f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/griffe_pydantic/_internal/dynamic.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,7 @@ def _process_class(obj: type, cls: Class, *, processed: set[str], schema: bool =
7878
for member in cls.all_members.values():
7979
kind = member.kind
8080
if kind is Kind.ATTRIBUTE:
81-
_process_attribute(
82-
getattr(obj, member.name),
83-
member, # ty: ignore[invalid-argument-type]
84-
cls,
85-
processed=processed,
86-
)
81+
_process_attribute(getattr(obj, member.name), member, cls, processed=processed) # ty: ignore[invalid-argument-type]
8782
elif kind is Kind.FUNCTION:
8883
_process_function(getattr(obj, member.name), member, cls, processed=processed) # ty: ignore[invalid-argument-type]
8984

0 commit comments

Comments
 (0)