This repository was archived by the owner on Sep 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-10
lines changed Expand file tree Collapse file tree 1 file changed +27
-10
lines changed Original file line number Diff line number Diff line change 2
2
"""
3
3
4
4
from .connection import Connection , Keys , Target , MessageDeliveryError
5
- from .module import Module
6
- from .message import Message
5
+ from .module import Module , ModuleRouter
6
+ from .message import (
7
+ Message ,
8
+ MsgType ,
9
+ MsgVersion ,
10
+ ProtocolIdentifier ,
11
+ InvalidProtocolIdentifier ,
12
+ InvalidType ,
13
+ )
14
+ from .dispatcher import Dispatcher , HandlerDispatcher , QueueDispatcher
15
+ from .dispatcher .queue_dispatcher import MsgQueue
16
+ from . import operators
7
17
8
18
from . import crypto
9
19
10
20
__all__ = [
11
21
"Connection" ,
22
+ "Dispatcher" ,
23
+ "HandlerDispatcher" ,
24
+ "InvalidProtocolIdentifier" ,
25
+ "InvalidType" ,
12
26
"Keys" ,
13
- "Target " ,
27
+ "Message " ,
14
28
"MessageDeliveryError" ,
15
29
"Module" ,
16
- "Message" ,
30
+ "ModuleRouter" ,
31
+ "MsgQueue" ,
32
+ "MsgType" ,
33
+ "MsgVersion" ,
34
+ "ProtocolIdentifier" ,
35
+ "QueueDispatcher" ,
36
+ "Target" ,
17
37
"keygen" ,
38
+ "operators" ,
18
39
]
19
40
20
41
@@ -33,12 +54,8 @@ def keygen():
33
54
did = crypto .bytes_to_b58 (did_bytes )
34
55
35
56
print (
36
- "Static Agent Connection info for full agent:\n \t DID: {}\n \t VK: {}\n " .format (
37
- did , my_vk
38
- )
57
+ f"Static Agent Connection info for full agent:\n \t DID: { did } \n \t VK: { my_vk } \n "
39
58
)
40
59
print (
41
- "Static Agent Connection info for static agent:\n \t VK: {}\n \t SK: {}" .format (
42
- my_vk , my_sk
43
- )
60
+ f"Static Agent Connection info for static agent:\n \t VK: { my_vk } \n \t SK: { my_sk } "
44
61
)
You can’t perform that action at this time.
0 commit comments