Skip to content

Commit

Permalink
Updating GRPC libraries and netstandard (#10)
Browse files Browse the repository at this point in the history
* Bumping netstandard to 2.1

* Updating GRPC packages
  • Loading branch information
slyons authored Oct 29, 2024
1 parent 22ac45a commit aa3f3bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 7 additions & 4 deletions Spice/Spice.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
<Description>SpiceAI Dotnet SDK</Description>
<Authors>SpiceAI OSS</Authors>
<Nullable>enable</Nullable>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Apache.Arrow" Version="16.1.0"/>
<PackageReference Include="Apache.Arrow.Flight" Version="16.1.0"/>
<PackageReference Include="Polly" Version="8.4.0"/>
<PackageReference Include="Apache.Arrow" Version="16.1.0" />
<PackageReference Include="Apache.Arrow.Flight" Version="16.1.0" />
<PackageReference Include="Grpc.Core.Api" Version="2.66.0" />
<PackageReference Include="Grpc.Net.Client" Version="2.66.0" />
<PackageReference Include="Grpc.Net.Common" Version="2.66.0" />
<PackageReference Include="Polly" Version="8.4.0" />

<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>SpiceTest</_Parameter1>
Expand Down
3 changes: 1 addition & 2 deletions Spice/src/Flight/SpiceFlightClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ private static GrpcChannelOptions GetGrpcChannelOptions(string? appId, string? a
DefaultRequestHeaders =
{
Authorization = AuthHeaderBuilder.BasicAuth(appId, apiKey)

}
};

options.HttpClient.DefaultRequestHeaders.Add("X-Spice-User-Agent", UserAgent.agent());

return options;
Expand Down

0 comments on commit aa3f3bf

Please sign in to comment.