Skip to content

Commit

Permalink
πŸ› fix(vectors): self annotation (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
nstarman authored Jan 16, 2025
1 parent e3b0aa8 commit c6e09f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/coordinax/_src/vectors/base/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def from_(
# Vector API

@dispatch
def vconvert(self, target: type, *args: Any, **kwargs: Any) -> "AbstractVector":
def vconvert(
self: "AbstractVector", target: type, *args: Any, **kwargs: Any
) -> "AbstractVector":
"""Represent the vector as another type.
This just forwards to `coordinax.vconvert`.
Expand Down

0 comments on commit c6e09f8

Please sign in to comment.