Skip to content

Commit a14e19d

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 5b4f72a commit a14e19d

18 files changed

+5
-4586
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 ._lifetime import Lifetime
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",
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",
10044
"Lifetime",
101-
"Location",
102-
"Metadata",
103-
"MeterData",
10445
"MicrogridApiClient",
10546
"OperationAborted",
10647
"OperationCancelled",

0 commit comments

Comments
 (0)