You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module `frequenz.sdk.microgrid` was restructured so:
* All component-related symbols (`.component`, `.component_data`,
`.component_states`) were moved to the sub-module
`frequenz.sdk.microgrid.component`.
* All API client-related symbols (`.client`, `.connection`, `.retry`)
were moved to the sub-module `frequenz.sdk.microgrid.client`.
* The `ComponentGraph` is exposed directly in the main module (and only
there).
* The `microgrid_api` module is now exposed via the main module directly
(and thus indirectly renamed to `microgrid`, so instead of using `from
frequenz.sdk.microgrid import microgrid_api;
microgrid_api.initialize()` (for example) you should use `from
frequenz.sdk.microgrid import microgridi; microgrid.initialize()`.
* The `MicrogridApi` class was renamed to `Microgrid` to make it clear
it is not exclusively about the API.
* The `Microgrid.microgrid_api_client` attribute was renamed to
`Microgrid.api_client` to avoid the redundancy.
Signed-off-by: Leandro Lucarella <[email protected]>
0 commit comments