Skip to content

Commit f961429

Browse files
FIX f-strings connot contain await expressions (https://bugs.python.org/issue28942)
Signed-off-by: George J Padayatti <[email protected]>
1 parent f73cc93 commit f961429

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mydata_did/v1_0/manager.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3663,8 +3663,9 @@ async def generate_firebase_dynamic_link_for_data_agreement_qr_payload(self, *,
36633663
if resp.status == 200:
36643664
jresp = await resp.json()
36653665
else:
3666+
tresp = await resp.text()
36663667
raise ADAManagerError(
3667-
f"Failed to generate firebase dynamic link for data agreement qr payload: {resp.status} {await resp.text()}"
3668+
f"Failed to generate firebase dynamic link for data agreement qr payload: {resp.status} {tresp}"
36683669
)
36693670

36703671
return jresp["shortLink"]
@@ -4005,8 +4006,9 @@ async def generate_firebase_dynamic_link_for_connection_invitation(self, conn_id
40054006
if resp.status == 200:
40064007
jresp = await resp.json()
40074008
else:
4009+
tresp = await resp.text()
40084010
raise ADAManagerError(
4009-
f"Failed to generate firebase dynamic link for connection-invitation: {resp.status} {await resp.text()}"
4011+
f"Failed to generate firebase dynamic link for connection-invitation: {resp.status} {tresp}"
40104012
)
40114013

40124014
return jresp["shortLink"]

0 commit comments

Comments
 (0)