From 6f8644e451f6a146ed6d7345e41a465580fda1ed Mon Sep 17 00:00:00 2001 From: Ian Costanzo Date: Wed, 16 Mar 2022 18:45:33 -0700 Subject: [PATCH] Fix black formatting Signed-off-by: Ian Costanzo --- .../protocols/didexchange/v1_0/manager.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/aries_cloudagent/protocols/didexchange/v1_0/manager.py b/aries_cloudagent/protocols/didexchange/v1_0/manager.py index 8489cd4964..c7c9e51eaa 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/manager.py +++ b/aries_cloudagent/protocols/didexchange/v1_0/manager.py @@ -705,7 +705,8 @@ async def accept_response( async with self.profile.session() as session: try: conn_rec = await ConnRecord.retrieve_by_request_id( - session, response._thread_id, + session, + response._thread_id, their_role=ConnRecord.Role.RESPONDER.rfc23, ) except StorageNotFoundError: @@ -713,7 +714,8 @@ async def accept_response( if not conn_rec: try: conn_rec = await ConnRecord.retrieve_by_request_id( - session, response._thread_id, + session, + response._thread_id, their_role=ConnRecord.Role.RESPONDER.rfc160, ) except StorageNotFoundError: @@ -821,7 +823,8 @@ async def accept_complete( async with self.profile.session() as session: try: conn_rec = await ConnRecord.retrieve_by_request_id( - session, complete._thread_id, + session, + complete._thread_id, their_role=ConnRecord.Role.REQUESTER.rfc23, ) except StorageNotFoundError: @@ -830,7 +833,8 @@ async def accept_complete( if not conn_rec: try: conn_rec = await ConnRecord.retrieve_by_request_id( - session, complete._thread_id, + session, + complete._thread_id, their_role=ConnRecord.Role.REQUESTER.rfc160, ) except StorageNotFoundError: