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

Don't allow a default port in URLs by default #85

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

llucax
Copy link
Contributor

@llucax llucax commented Sep 4, 2024

We allow client implementors to set a default port for gRPC URLs again, but the parse_grpc_uri function and BaseApiClient class still don't provide a default port unless explicitly set.

@llucax llucax requested a review from a team as a code owner September 4, 2024 15:56
@llucax llucax requested a review from shsms September 4, 2024 15:56
@github-actions github-actions bot added part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:code Affects the code in general labels Sep 4, 2024
@llucax llucax self-assigned this Sep 4, 2024
@llucax llucax added this to the v0.7.0 milestone Sep 4, 2024
@llucax llucax linked an issue Sep 4, 2024 that may be closed by this pull request
Allow client implementors to set a default port for gRPC URLs via the
`defaults` argument but make the `parse_grpc_uri` function and
`BaseApiClient` class don't provide a default port unless explicitly
set by the implementors, as using a default port really depends on the
specific API being implemented.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax
Copy link
Contributor Author

llucax commented Sep 23, 2024

Squashed and enabled auto-merge.

@llucax
Copy link
Contributor Author

llucax commented Sep 23, 2024

Needs an approval now, probably from someone else than me and @shsms. @Marenz ?

@llucax llucax added this pull request to the merge queue Sep 23, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit dfdfaf3 Sep 23, 2024
14 checks passed
@llucax llucax deleted the no-default-port branch September 23, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:code Affects the code in general part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't use a default port for creating grpcio channels
3 participants