Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service: Make gRPC extensions public #545

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Conversation

bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Dec 8, 2023

What does this Pull Request accomplish?

Make the gRPC extension classes public:

  • ni_measurementlink_service.grpc.channelpool.GrpcChannelPool
  • ni_measurementlink_service.grpc.loggers.ClientLogger and ServerLogger

This package layout is in line with the proposal in https://dev.azure.com/ni/DevCentral/_git/ASW/pullrequest/540412, except for the fact that it is in the ni_measurementlink_service package and not ni.

GrpcChannelPool is still re-exported from ni_measurementlink_service.measurement.service, and the examples still import it from this location. I would prefer to update the examples in a separate PR, after making a prerelease with this change.

Why should this Pull Request be merged?

Fixes #511

What testing has been done?

Ran poetry run pytest -v

Copy link

github-actions bot commented Dec 8, 2023

Test Results

       30 files  ±0         30 suites  ±0   39m 24s ⏱️ + 4m 22s
     544 tests ±0       544 ✔️ ±0         0 💤 ±0  0 ±0 
13 300 runs  ±0  12 240 ✔️ ±0  1 060 💤 ±0  0 ±0 

Results for commit 2d7d51f. ± Comparison against base commit 356dfa6.

@bkeryan bkeryan merged commit f9a5108 into main Dec 13, 2023
@bkeryan bkeryan deleted the users/bkeryan/grpc-extensions branch December 13, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Searching API reference documentation for GrpcChannelPool returns a private submodule
2 participants