Skip to content

Commit bdaa5c9

Browse files
committed
Remove previous implementation
The API changed so much in v0.17 that building on top of the previous version will just add noise to the diff of the following commits, and we won't have checks passing for a long time either if we go this route because after upgrading the API bindings files nothings works anymore. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent d957b8f commit bdaa5c9

18 files changed

+5
-4602
lines changed

src/frequenz/client/microgrid/__init__.py

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,6 @@
88

99

1010
from ._client import MicrogridApiClient
11-
from ._component import (
12-
Component,
13-
ComponentCategory,
14-
ComponentMetadata,
15-
ComponentMetricId,
16-
ComponentType,
17-
Fuse,
18-
GridMetadata,
19-
InverterType,
20-
)
21-
from ._component_data import (
22-
BatteryData,
23-
ComponentData,
24-
EVChargerData,
25-
InverterData,
26-
MeterData,
27-
)
28-
from ._component_error import (
29-
BatteryError,
30-
BatteryErrorCode,
31-
ErrorLevel,
32-
InverterError,
33-
InverterErrorCode,
34-
)
35-
from ._component_states import (
36-
BatteryComponentState,
37-
BatteryRelayState,
38-
EVChargerCableState,
39-
EVChargerComponentState,
40-
InverterComponentState,
41-
)
42-
from ._connection import Connection
4311
from ._exception import (
4412
ApiClientError,
4513
ClientNotConnected,
@@ -64,45 +32,18 @@
6432
)
6533
from ._id import ComponentId, MicrogridId, SensorId
6634
from ._lifetime import Lifetime
67-
from ._metadata import Location, Metadata
6835

6936
__all__ = [
7037
"ApiClientError",
71-
"BatteryComponentState",
72-
"BatteryData",
73-
"BatteryError",
74-
"BatteryErrorCode",
75-
"BatteryRelayState",
7638
"ClientNotConnected",
77-
"Component",
78-
"ComponentCategory",
79-
"ComponentData",
8039
"ComponentId",
81-
"ComponentMetadata",
82-
"ComponentMetricId",
83-
"ComponentType",
84-
"Connection",
8540
"DataLoss",
86-
"EVChargerCableState",
87-
"EVChargerComponentState",
88-
"EVChargerData",
8941
"EntityAlreadyExists",
9042
"EntityNotFound",
91-
"ErrorLevel",
92-
"Fuse",
93-
"GridMetadata",
9443
"GrpcError",
9544
"InternalError",
9645
"InvalidArgument",
97-
"InverterComponentState",
98-
"InverterData",
99-
"InverterError",
100-
"InverterErrorCode",
101-
"InverterType",
10246
"Lifetime",
103-
"Location",
104-
"Metadata",
105-
"MeterData",
10647
"MicrogridApiClient",
10748
"MicrogridId",
10849
"OperationAborted",

0 commit comments

Comments
 (0)