From 396f91a767c6440543065cb7af7f5ea3c121d792 Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Wed, 8 May 2024 16:48:37 +1000 Subject: [PATCH] Update packages and owners --- .editorconfig | 2 +- Directory.Build.props | 10 +++++----- src/Pinecone.Grpc/ClientConfiguration.cs | 5 +---- src/Pinecone.Grpc/Pinecone.Grpc.csproj | 8 ++++---- .../DescribeIndexStatsTests.cs | 7 ++----- .../Pinecone.Grpc.Tests.csproj | 16 ++++++++-------- 6 files changed, 21 insertions(+), 27 deletions(-) diff --git a/.editorconfig b/.editorconfig index 9a22f02..e99b337 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,7 +5,7 @@ charset = utf-8 indent_style = tab indent_size = 4 -[*.{md,markdown,json,js,csproj,fsproj,targets,targets,props,xml}] +[*.{md,markdown,json,js,csproj,fsproj,targets,targets,props,xml,yml}] indent_style = space indent_size = 2 diff --git a/Directory.Build.props b/Directory.Build.props index 214c386..63c1c07 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,12 +1,12 @@ - Russ Cam - Russ Cam + Search Pioneer + Search Pioneer Apache-2.0 - https://github.com/russcam/pinecone-dotnet-client - https://github.com/russcam/pinecone-dotnet-client - https://github.com/russcam/pinecone-dotnet-client/releases + https://github.com/searchpioneer/pinecone-dotnet-client + https://github.com/searchpioneer/pinecone-dotnet-client + https://github.com/searchpioneer/pinecone-dotnet-client/releases pinecone, database, vector, search V3.0.0rc2 diff --git a/src/Pinecone.Grpc/ClientConfiguration.cs b/src/Pinecone.Grpc/ClientConfiguration.cs index aa86171..0217df9 100644 --- a/src/Pinecone.Grpc/ClientConfiguration.cs +++ b/src/Pinecone.Grpc/ClientConfiguration.cs @@ -1,7 +1,4 @@ -using Grpc.Core; -using Grpc.Net.Client; - -namespace Pinecone.Grpc; +namespace Pinecone.Grpc; /// /// Configuration to interact with Pinecone service diff --git a/src/Pinecone.Grpc/Pinecone.Grpc.csproj b/src/Pinecone.Grpc/Pinecone.Grpc.csproj index 674a9ce..fa519ea 100644 --- a/src/Pinecone.Grpc/Pinecone.Grpc.csproj +++ b/src/Pinecone.Grpc/Pinecone.Grpc.csproj @@ -3,7 +3,7 @@ Pinecone .NET gRPC client .NET gRPC client for Pinecone vector database - net462; net471; netstandard2.0; net6.0; net7.0 + net462; net471; netstandard2.0; net6.0; net8.0 enable enable true @@ -14,9 +14,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Pinecone.Grpc.Tests/DescribeIndexStatsTests.cs b/tests/Pinecone.Grpc.Tests/DescribeIndexStatsTests.cs index ecb6bf7..cc570be 100644 --- a/tests/Pinecone.Grpc.Tests/DescribeIndexStatsTests.cs +++ b/tests/Pinecone.Grpc.Tests/DescribeIndexStatsTests.cs @@ -4,12 +4,9 @@ namespace Pinecone.Grpc.Tests; [Collection("Pinecone")] -public class DescribeIndexStatsTests +public class DescribeIndexStatsTests(PineconeFixture fixture) { - private readonly VectorService.VectorServiceClient? _client; - - public DescribeIndexStatsTests(PineconeFixture fixture) => - _client = fixture.VectorServiceClient; + private readonly VectorService.VectorServiceClient? _client = fixture.VectorServiceClient; [Fact] public void CanGetIndexStats() diff --git a/tests/Pinecone.Grpc.Tests/Pinecone.Grpc.Tests.csproj b/tests/Pinecone.Grpc.Tests/Pinecone.Grpc.Tests.csproj index f612e77..2e9534d 100644 --- a/tests/Pinecone.Grpc.Tests/Pinecone.Grpc.Tests.csproj +++ b/tests/Pinecone.Grpc.Tests/Pinecone.Grpc.Tests.csproj @@ -1,19 +1,19 @@ - net7.0 + net8.0 enable enable - - - - - - - + + + + + + + all runtime; build; native; contentfiles; analyzers