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

Inherit from BaseApiClient #88

Merged
merged 5 commits into from
Sep 3, 2024
Merged

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

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
This is to match the `BaseApiClient` class, from which we'll inherit
soon.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
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 <luca-frequenz@llucax.com>
@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 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
16 checks passed
@llucax llucax deleted the base-client branch September 3, 2024 13:05
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.

2 participants