Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ classifiers = [
]
requires-python = ">= 3.11, < 4"
dependencies = [
"frequenz-api-microgrid >= 0.15.5, < 0.16.0",
"frequenz-channels >= 1.0.0-rc1, < 2.0.0",
"frequenz-client-base >= 0.8.0, < 0.12.0",
"frequenz-api-microgrid >= 0.17.2, < 0.18.0",
"frequenz-channels >= 1.6.1, < 2.0.0",
"frequenz-client-base >= 0.10.0, < 0.12.0",
"frequenz-client-common >= 0.3.2, < 0.4.0",
"grpcio >= 1.63.0, < 2",
"protobuf >= 5.26.1, < 7",
"grpcio >= 1.72.1, < 2",
"protobuf >= 6.31.1, < 7",
"timezonefinder >= 6.2.0, < 7",
"typing-extensions >= 4.13.0, < 5",
]
Expand Down
71 changes: 13 additions & 58 deletions src/frequenz/client/microgrid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,12 @@
"""


from ._client import MicrogridApiClient
from ._component import (
Component,
ComponentCategory,
ComponentMetadata,
ComponentMetricId,
ComponentType,
Fuse,
GridMetadata,
InverterType,
from ._client import (
DEFAULT_CHANNEL_OPTIONS,
DEFAULT_GRPC_CALL_TIMEOUT,
MicrogridApiClient,
)
from ._component_data import (
BatteryData,
ComponentData,
EVChargerData,
InverterData,
MeterData,
)
from ._component_error import (
BatteryError,
BatteryErrorCode,
ErrorLevel,
InverterError,
InverterErrorCode,
)
from ._component_states import (
BatteryComponentState,
BatteryRelayState,
EVChargerCableState,
EVChargerComponentState,
InverterComponentState,
)
from ._connection import Connection
from ._delivery_area import DeliveryArea, EnergyMarketCodeType
from ._exception import (
ApiClientError,
ClientNotConnected,
Expand All @@ -63,45 +36,27 @@
UnrecognizedGrpcStatus,
)
from ._lifetime import Lifetime
from ._metadata import Location, Metadata
from ._location import Location
from ._microgrid_info import MicrogridInfo, MicrogridStatus

__all__ = [
"ApiClientError",
"BatteryComponentState",
"BatteryData",
"BatteryError",
"BatteryErrorCode",
"BatteryRelayState",
"ClientNotConnected",
"Component",
"ComponentCategory",
"ComponentData",
"ComponentMetadata",
"ComponentMetricId",
"ComponentType",
"Connection",
"DEFAULT_CHANNEL_OPTIONS",
"DEFAULT_GRPC_CALL_TIMEOUT",
"DataLoss",
"EVChargerCableState",
"EVChargerComponentState",
"EVChargerData",
"DeliveryArea",
"EnergyMarketCodeType",
"EntityAlreadyExists",
"EntityNotFound",
"ErrorLevel",
"Fuse",
"GridMetadata",
"GrpcError",
"InternalError",
"InvalidArgument",
"InverterComponentState",
"InverterData",
"InverterError",
"InverterErrorCode",
"InverterType",
"Lifetime",
"Location",
"Metadata",
"MeterData",
"MicrogridApiClient",
"MicrogridInfo",
"MicrogridStatus",
"OperationAborted",
"OperationCancelled",
"OperationNotImplemented",
Expand Down
Loading
Loading