Skip to content
Prev Previous commit
Next Next commit
style: Format
  • Loading branch information
pawamoy committed Mar 17, 2025
commit 6723ee12d40b6d15ec6d9ae1433db81618e4b6ca
2 changes: 1 addition & 1 deletion src/_griffe/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1858,7 +1858,7 @@ def deleter(self) -> Function | None:
@property
def value(self) -> str | Expr | None:
"""The attribute or type alias value."""
return cast(Union[Attribute, TypeAlias], self.final_target).value
return cast("Union[Attribute, TypeAlias]", self.final_target).value

@property
def annotation(self) -> str | Expr | None:
Expand Down