forked from frequenz-floss/frequenz-dispatch-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
38 lines (32 loc) · 1.15 KB
/
__init__.py
File metadata and controls
38 lines (32 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# License: MIT
# Copyright © 2024 Frequenz Energy-as-a-Service GmbH
"""A highlevel interface for the dispatch API.
A small overview of the most important classes in this module:
* [Dispatcher][frequenz.dispatch.Dispatcher]: The entry point for the API.
* [Dispatch][frequenz.dispatch.Dispatch]: A dispatch type with lots of useful extra functionality.
* [ActorDispatcher][frequenz.dispatch.ActorDispatcher]: A service to manage other actors based on
incoming dispatches.
* [Created][frequenz.dispatch.Created],
[Updated][frequenz.dispatch.Updated],
[Deleted][frequenz.dispatch.Deleted]: Dispatch event types.
"""
from ._actor_dispatcher import ActorDispatcher, DispatchInfo, TargetComponents
from ._bg_service import MergeStrategy
from ._dispatch import Dispatch
from ._dispatcher import Dispatcher
from ._event import Created, Deleted, DispatchEvent, Updated
from ._merge_strategies import MergeByType, MergeByTypeTarget
__all__ = [
"Created",
"Deleted",
"DispatchEvent",
"Dispatcher",
"Updated",
"Dispatch",
"ActorDispatcher",
"DispatchInfo",
"MergeStrategy",
"MergeByType",
"MergeByTypeTarget",
"TargetComponents",
]