Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
burak-upstash committed Jan 30, 2024
1 parent 31cad5c commit b2bb944
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions upstash_vector/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@


class SupportsToList(Protocol):
def tolist(self) -> List[float]:
...
def tolist(self) -> List[float]: ...


@dataclass
Expand Down Expand Up @@ -84,5 +83,5 @@ def _from_json(cls, obj: dict) -> "InfoResult":
pending_vector_count=obj["pendingVectorCount"],
index_size=obj["indexSize"],
dimension=obj["dimension"],
similarity_function=obj["similarityFunction"]
similarity_function=obj["similarityFunction"],
)

0 comments on commit b2bb944

Please sign in to comment.