Skip to content

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 llucax enabled auto-merge September 23, 2024 10:31
@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