Skip to content

Commit 5db4c22

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 fe0422e commit 5db4c22

File tree

14 files changed

+5
-2940
lines changed

14 files changed

+5
-2940
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,
@@ -62,44 +30,17 @@
6230
UnknownError,
6331
UnrecognizedGrpcStatus,
6432
)
65-
from ._metadata import Location, Metadata
6633

6734
__all__ = [
6835
"MicrogridApiClient",
6936
"ApiClientError",
70-
"BatteryComponentState",
71-
"BatteryData",
72-
"BatteryError",
73-
"BatteryErrorCode",
74-
"BatteryRelayState",
7537
"ClientNotConnected",
76-
"Component",
77-
"ComponentCategory",
78-
"ComponentData",
79-
"ComponentMetadata",
80-
"ComponentMetricId",
81-
"ComponentType",
82-
"Connection",
8338
"DataLoss",
84-
"EVChargerCableState",
85-
"EVChargerComponentState",
86-
"EVChargerData",
8739
"EntityAlreadyExists",
8840
"EntityNotFound",
89-
"ErrorLevel",
90-
"Fuse",
91-
"GridMetadata",
9241
"GrpcError",
9342
"InternalError",
9443
"InvalidArgument",
95-
"InverterComponentState",
96-
"InverterData",
97-
"InverterError",
98-
"InverterErrorCode",
99-
"InverterType",
100-
"Location",
101-
"Metadata",
102-
"MeterData",
10344
"OperationAborted",
10445
"OperationCancelled",
10546
"OperationNotImplemented",

0 commit comments

Comments
 (0)