Skip to content

Conversation

@llucax
Copy link
Contributor

@llucax llucax commented Sep 3, 2024

  • Rename ApiClient to MicrogridApiClient
  • Rename the api attribute to stub
  • Make MicrogridApiClient inherit from BaseApiClient
  • Add a connect parameter to the MicrogridApiClient constructor
  • Rename channel_options to channels_defaults

This is to match the `BaseApiClient` class, from which we'll inherit
soon.

Signed-off-by: Leandro Lucarella <[email protected]>
The parameter `channel_options` in the constructor of
`MicrogridApiClient` was renamed to `channels_defaults` to match the
name used in `BaseApiClient`.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax llucax requested review from a team as code owners September 3, 2024 11:58
@github-actions github-actions bot added part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:client Affects the client code labels Sep 3, 2024
@llucax llucax self-assigned this Sep 3, 2024
@llucax llucax added this to the v0.6.0 milestone Sep 3, 2024
@llucax llucax added scope:breaking-change Breaking change, users will need to update their code type:enhancement New feature or enhancement visitble to users labels Sep 3, 2024
@llucax llucax enabled auto-merge September 3, 2024 11:58
@llucax llucax added this pull request to the merge queue Sep 3, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 0d8bd4c Sep 3, 2024
@llucax llucax deleted the base-client branch September 3, 2024 13:05
@llucax llucax linked an issue Nov 19, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:client Affects the client code part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests scope:breaking-change Breaking change, users will need to update their code type:enhancement New feature or enhancement visitble to users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use the new BaseApiClient base class

2 participants