Skip to content

Commit 33ef2e1

Browse files
committed
Fix ruff format
1 parent 218ee16 commit 33ef2e1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • weaviate/collections/classes

weaviate/collections/classes/grpc.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,7 @@ class Diversity:
285285
"""Use this factory class to apply diversity selection to search results via MMR."""
286286

287287
def __init__(self) -> None:
288-
raise TypeError(
289-
"Diversity cannot be instantiated directly. Use Diversity.mmr(...)."
290-
)
288+
raise TypeError("Diversity cannot be instantiated directly. Use Diversity.mmr(...).")
291289

292290
@staticmethod
293291
def mmr(limit: Optional[int] = None, balance: Optional[float] = None) -> MMR:

0 commit comments

Comments
 (0)