https://dev.kronoz.win/r/marzneshin.git
| 1 |
12b255b |
Dawsh |
2y ago |
"""stores nodes and provides entities to communicate with the nodes""" |
| 2 |
01cdf2e |
Dawsh |
2y ago |
|
| 3 |
12b255b |
Dawsh |
2y ago |
from typing import Dict |
| 4 |
12b255b |
Dawsh |
2y ago |
|
| 5 |
12b255b |
Dawsh |
2y ago |
from . import operations |
| 6 |
12b255b |
Dawsh |
2y ago |
from .base import MarzNodeBase |
| 7 |
f6a32ea |
Dawsh |
2y ago |
from .grpcio import MarzNodeGRPCIO |
| 8 |
f6a32ea |
Dawsh |
2y ago |
from .grpclib import MarzNodeGRPCLIB |
| 9 |
12b255b |
Dawsh |
2y ago |
|
| 10 |
12b255b |
Dawsh |
2y ago |
nodes: Dict[int, MarzNodeBase] = {} |
| 11 |
12b255b |
Dawsh |
2y ago |
|
| 12 |
12b255b |
Dawsh |
2y ago |
|
| 13 |
01cdf2e |
Dawsh |
2y ago |
__all__ = ["nodes", "operations", "MarzNodeGRPCIO", "MarzNodeGRPCLIB", "MarzNodeBase"] |