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
83 changes: 0 additions & 83 deletions build.rs

This file was deleted.

2 changes: 0 additions & 2 deletions tests/snippet_tests/test_batch_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_batch_update() {
async fn batch_update() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/batch_update.rs` file
use qdrant_client::qdrant::{
points_selector::PointsSelectorOneOf,
points_update_operation::{
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_clear_payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_clear_payload() {
async fn clear_payload() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/clear_payload.rs` file
use qdrant_client::qdrant::{ClearPayloadPointsBuilder, PointsIdsList};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_collection_exists.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_collection_exists() {
async fn collection_exists() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/collection_exists.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_count_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_count_points() {
async fn count_points() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/count_points.rs` file
use qdrant_client::qdrant::{Condition, CountPointsBuilder, Filter};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_collection() {
async fn create_collection() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_collection.rs` file
use qdrant_client::qdrant::{CreateCollectionBuilder, Distance, VectorParamsBuilder};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_collection_with_bq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_collection_with_bq() {
async fn create_collection_with_bq() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_collection_with_bq.rs` file
use qdrant_client::qdrant::{
BinaryQuantizationBuilder, BinaryQuantizationEncoding, CreateCollectionBuilder, Distance, VectorParamsBuilder, BinaryQuantizationQueryEncoding,
};
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_collection_with_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_collection_with_metadata() {
async fn create_collection_with_metadata() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_collection_with_metadata.rs` file
use qdrant_client::qdrant::{CreateCollectionBuilder, Distance, VectorParamsBuilder};
use qdrant_client::Qdrant;
use serde_json::{json, Value};
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_field_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_field_index() {
async fn create_field_index() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_field_index.rs` file
use qdrant_client::qdrant::{CreateFieldIndexCollectionBuilder, FieldType};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_full_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_full_snapshot() {
async fn create_full_snapshot() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_full_snapshot.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_shard_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_shard_key() {
async fn create_shard_key() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_shard_key.rs` file
use qdrant_client::qdrant::shard_key::Key;
use qdrant_client::qdrant::{CreateShardKeyBuilder, CreateShardKeyRequestBuilder};
use qdrant_client::qdrant::ReplicaState;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_snapshot() {
async fn create_snapshot() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_snapshot.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_create_text_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_create_text_index() {
async fn create_text_index() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/create_text_index.rs` file
use qdrant_client::qdrant::{
CreateFieldIndexCollectionBuilder,
TextIndexParamsBuilder,
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_collection() {
async fn delete_collection() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_collection.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_field_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_field_index() {
async fn delete_field_index() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_field_index.rs` file
use qdrant_client::qdrant::DeleteFieldIndexCollectionBuilder;
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_full_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_full_snapshot() {
async fn delete_full_snapshot() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_full_snapshot.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_payload() {
async fn delete_payload() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_payload.rs` file
use qdrant_client::qdrant::{DeletePayloadPointsBuilder, PointsIdsList};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_points() {
async fn delete_points() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_points.rs` file
use qdrant_client::qdrant::{Condition, DeletePointsBuilder, Filter, PointsIdsList};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_shard_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_shard_key() {
async fn delete_shard_key() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_shard_key.rs` file
use qdrant_client::qdrant::shard_key::Key;
use qdrant_client::qdrant::DeleteShardKeyRequestBuilder;
use qdrant_client::Qdrant;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_snapshot() {
async fn delete_snapshot() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_snapshot.rs` file
use qdrant_client::qdrant::DeleteSnapshotRequestBuilder;
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_delete_vectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_delete_vectors() {
async fn delete_vectors() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/delete_vectors.rs` file
use qdrant_client::qdrant::{DeletePointVectorsBuilder, PointsIdsList, VectorsSelector};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_discover_batch_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_discover_batch_points() {
async fn discover_batch_points() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/discover_batch_points.rs` file
use qdrant_client::qdrant::{
vector_example::Example, ContextExamplePairBuilder, DiscoverBatchPointsBuilder,
DiscoverPointsBuilder,
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_discover_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_discover_points() {
async fn discover_points() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/discover_points.rs` file
use qdrant_client::qdrant::{
target_vector::Target, vector_example::Example, ContextExamplePairBuilder,
DiscoverPointsBuilder, VectorExample,
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_facets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_facets() {
async fn facets() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/facets.rs` file
use qdrant_client::qdrant::{Condition, FacetCountsBuilder, Filter};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_get_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_get_collection() {
async fn get_collection() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/get_collection.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_get_collection_aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_get_collection_aliases() {
async fn get_collection_aliases() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/get_collection_aliases.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_get_collections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_get_collections() {
async fn get_collections() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/get_collections.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_get_collections_aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_get_collections_aliases() {
async fn get_collections_aliases() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/get_collections_aliases.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_get_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_get_points() {
async fn get_points() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/get_points.rs` file
use qdrant_client::qdrant::GetPointsBuilder;
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_list_full_snapshots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_list_full_snapshots() {
async fn list_full_snapshots() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/list_full_snapshots.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_list_shard_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_list_shard_keys() {
async fn list_shard_keys() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/list_shard_keys.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_list_snapshots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_list_snapshots() {
async fn list_snapshots() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/list_snapshots.rs` file
use qdrant_client::Qdrant;

let client = Qdrant::from_url("http://localhost:6334").build()?;
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_overwrite_payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_overwrite_payload() {
async fn overwrite_payload() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/overwrite_payload.rs` file
use qdrant_client::qdrant::{
points_selector::PointsSelectorOneOf, PointsIdsList, SetPayloadPointsBuilder,
};
Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_query_document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_query_document() {
async fn query_document() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/query_document.rs` file
use qdrant_client::qdrant::{Document, Query, QueryPointsBuilder};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_query_image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_query_image() {
async fn query_image() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/query_image.rs` file
use qdrant_client::qdrant::{Image, Query, QueryPointsBuilder};
use qdrant_client::Qdrant;

Expand Down
2 changes: 0 additions & 2 deletions tests/snippet_tests/test_query_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#[tokio::test]
async fn test_query_points() {
async fn query_points() -> Result<(), Box<dyn std::error::Error>> {
// WARNING: This is a generated test snippet.
// Please, modify the snippet in the `../snippets/query_points.rs` file
use qdrant_client::qdrant::{
AcornSearchParamsBuilder, Condition, DecayParamsExpressionBuilder, Expression,
Filter, FormulaBuilder, Fusion, GeoPoint,
Expand Down
Loading
Loading