Skip to content

Commit

Permalink
stricter signature for _validate_create_collection_options
Browse files Browse the repository at this point in the history
  • Loading branch information
hemidactylus committed Apr 3, 2024
1 parent 80a9e54 commit 24d8c2d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions astrapy/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@


def _validate_create_collection_options(
dimension: Optional[int] = None,
metric: Optional[str] = None,
indexing: Optional[Dict[str, Any]] = None,
default_id_type: Optional[str] = None,
additional_options: Optional[Dict[str, Any]] = None,
dimension: Optional[int],
metric: Optional[str],
indexing: Optional[Dict[str, Any]],
default_id_type: Optional[str],
additional_options: Optional[Dict[str, Any]],
) -> None:
if additional_options:
if "vector" in additional_options:
Expand Down

0 comments on commit 24d8c2d

Please sign in to comment.