Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit d1abe09

Browse files
authored
Merge pull request #80 from dbluhm/fix/export-new-components
fix: export new components from package
2 parents 207e637 + 6fa7b9d commit d1abe09

File tree

1 file changed

+27
-10
lines changed

1 file changed

+27
-10
lines changed

aries_staticagent/__init__.py

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,40 @@
22
"""
33

44
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
717

818
from . import crypto
919

1020
__all__ = [
1121
"Connection",
22+
"Dispatcher",
23+
"HandlerDispatcher",
24+
"InvalidProtocolIdentifier",
25+
"InvalidType",
1226
"Keys",
13-
"Target",
27+
"Message",
1428
"MessageDeliveryError",
1529
"Module",
16-
"Message",
30+
"ModuleRouter",
31+
"MsgQueue",
32+
"MsgType",
33+
"MsgVersion",
34+
"ProtocolIdentifier",
35+
"QueueDispatcher",
36+
"Target",
1737
"keygen",
38+
"operators",
1839
]
1940

2041

@@ -33,12 +54,8 @@ def keygen():
3354
did = crypto.bytes_to_b58(did_bytes)
3455

3556
print(
36-
"Static Agent Connection info for full agent:\n\tDID: {}\n\tVK: {}\n".format(
37-
did, my_vk
38-
)
57+
f"Static Agent Connection info for full agent:\n\tDID: {did}\n\tVK: {my_vk}\n"
3958
)
4059
print(
41-
"Static Agent Connection info for static agent:\n\tVK: {}\n\tSK: {}".format(
42-
my_vk, my_sk
43-
)
60+
f"Static Agent Connection info for static agent:\n\tVK: {my_vk}\n\tSK: {my_sk}"
4461
)

0 commit comments

Comments
 (0)