Skip to content

Commit 1063366

Browse files
TheTechmagedbluhm
authored andcommitted
chore: run ruff
Signed-off-by: Colton Wolkins (Indicio work address) <[email protected]>
1 parent 7436002 commit 1063366

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

didcomm_messaging/quickstart.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __attrs_post_init__(self):
5656
self.id = str(uuid.uuid4())
5757

5858
def as_dict(self):
59-
return attrs.asdict(self, filter=(lambda _, x: not x is None))
59+
return attrs.asdict(self, filter=(lambda _, x: x is not None))
6060

6161
@classmethod
6262
def from_json(cls, data):
@@ -250,7 +250,8 @@ async def setup_relay(
250250
) -> Union[DID, None]:
251251
"""Negotiate services with an outbound relay.
252252
253-
Returns a DID upon successful negotiation."""
253+
Returns a DID upon successful negotiation.
254+
"""
254255

255256
# Request mediation from the outbound relay
256257
message = Message(

0 commit comments

Comments
 (0)