Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions weaviate_cli/commands/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def create() -> None:
type=click.Choice(
["delete_on_conflict", "no_automated_resolution", "time_based_resolution"]
),
help=f"Replication deletion strategy (default: '{CreateCollectionDefaults.replication_deletion_strategy}').",
help="Replication deletion strategy. If not specified, uses the Weaviate server default (time_based_resolution).",
)
@click.option(
"--json", "json_output", is_flag=True, default=False, help="Output in JSON format."
Expand Down Expand Up @@ -200,7 +200,7 @@ def create_collection_cli(
shards: int,
vectorizer: Optional[str],
vectorizer_base_url: Optional[str],
replication_deletion_strategy: str,
replication_deletion_strategy: Optional[str],
named_vector: bool,
named_vector_name: Optional[str],
json_output: bool,
Expand Down
2 changes: 1 addition & 1 deletion weaviate_cli/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class CreateCollectionDefaults:
shards: int = 0
vectorizer: str = "none"
vectorizer_base_url: Optional[str] = None
replication_deletion_strategy: str = "no_automated_resolution"
replication_deletion_strategy: Optional[str] = None
named_vector: bool = False
named_vector_name: Optional[str] = "default"
object_ttl_type: str = "create"
Expand Down
Loading