We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7436002 commit 1063366Copy full SHA for 1063366
didcomm_messaging/quickstart.py
@@ -56,7 +56,7 @@ def __attrs_post_init__(self):
56
self.id = str(uuid.uuid4())
57
58
def as_dict(self):
59
- return attrs.asdict(self, filter=(lambda _, x: not x is None))
+ return attrs.asdict(self, filter=(lambda _, x: x is not None))
60
61
@classmethod
62
def from_json(cls, data):
@@ -250,7 +250,8 @@ async def setup_relay(
250
) -> Union[DID, None]:
251
"""Negotiate services with an outbound relay.
252
253
- Returns a DID upon successful negotiation."""
+ Returns a DID upon successful negotiation.
254
+ """
255
256
# Request mediation from the outbound relay
257
message = Message(
0 commit comments