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

Code quality improvements in the DataPipeline and *Pool classes #948

Merged
merged 4 commits into from
May 15, 2024

Conversation

shsms
Copy link
Contributor

@shsms shsms commented May 14, 2024

Some more cleanup in preparation for adding support for incremental power actors in the PowerManager.

shsms added 4 commits May 14, 2024 13:34
`priority` has become a required parameter and no longer has a default
value.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
With this, all the `*_pool` methods will be next to each other, and
making edits to all of them at the same time becomes easier.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
This allows all `*Pool` classes to have the same signature.

This commit also renames the corresponding private variable in all the
`*Pool` classes to `self._pool_ref_store`.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
There's going to be more parameters soon, so this would be make it
easier to read.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
@shsms shsms requested a review from a team as a code owner May 14, 2024 11:56
@shsms shsms requested a review from llucax May 14, 2024 11:56
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:data-pipeline Affects the data pipeline part:microgrid Affects the interactions with the microgrid labels May 14, 2024
@shsms shsms self-assigned this May 14, 2024
@shsms shsms added this to the v1.0.0-rc700 milestone May 14, 2024
@shsms shsms added the cmd:skip-release-notes It is not necessary to update release notes for this PR label May 14, 2024
@shsms
Copy link
Contributor Author

shsms commented May 14, 2024

Internal changes only, no release notes needed.

@shsms shsms added this pull request to the merge queue May 15, 2024
Merged via the queue into frequenz-floss:v1.x.x with commit e4c9fe9 May 15, 2024
14 of 15 checks passed
@shsms shsms deleted the starpool-cleanup branch May 15, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd:skip-release-notes It is not necessary to update release notes for this PR part:data-pipeline Affects the data pipeline part:microgrid Affects the interactions with the microgrid part:tests Affects the unit, integration and performance (benchmarks) tests
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants