Skip to content

Commit ff70e91

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 08abf4e commit ff70e91

File tree

14 files changed

+6
-3016
lines changed

14 files changed

+6
-3016
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,
@@ -63,44 +31,17 @@
6331
UnrecognizedGrpcStatus,
6432
)
6533
from ._id import ComponentId, MicrogridId
66-
from ._metadata import Location, Metadata
6734

6835
__all__ = [
6936
"ApiClientError",
70-
"BatteryComponentState",
71-
"BatteryData",
72-
"BatteryError",
73-
"BatteryErrorCode",
74-
"BatteryRelayState",
7537
"ClientNotConnected",
76-
"Component",
77-
"ComponentCategory",
78-
"ComponentData",
7938
"ComponentId",
80-
"ComponentMetadata",
81-
"ComponentMetricId",
82-
"ComponentType",
83-
"Connection",
8439
"DataLoss",
85-
"EVChargerCableState",
86-
"EVChargerComponentState",
87-
"EVChargerData",
8840
"EntityAlreadyExists",
8941
"EntityNotFound",
90-
"ErrorLevel",
91-
"Fuse",
92-
"GridMetadata",
9342
"GrpcError",
9443
"InternalError",
9544
"InvalidArgument",
96-
"InverterComponentState",
97-
"InverterData",
98-
"InverterError",
99-
"InverterErrorCode",
100-
"InverterType",
101-
"Location",
102-
"Metadata",
103-
"MeterData",
10445
"MicrogridApiClient",
10546
"MicrogridId",
10647
"OperationAborted",

0 commit comments

Comments
 (0)