Skip to content

Commit

Permalink
fixup! feat: Add docstring and code source information to Parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Jun 10, 2024
1 parent 143a6e8 commit 7f7fbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/griffe/dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def as_dict(self, *, full: bool = False, **kwargs: Any) -> dict[str, Any]: # n
Returns:
A dictionary.
"""
base = {
base: dict[str, Any] = {
"name": self.name,
"annotation": self.annotation,
"kind": self.kind,
Expand Down

0 comments on commit 7f7fbca

Please sign in to comment.