We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63ea756 commit 6339abeCopy full SHA for 6339abe
1 file changed
railib/api.py
@@ -300,15 +300,15 @@ def get_transaction(ctx: Context, id: str) -> dict:
300
return _get_resource(ctx, f"{PATH_TRANSACTIONS}/{id}", key="transaction")
301
302
303
-def get_transaction_metadata(ctx: Context, id: str) -> dict:
+def get_transaction_metadata(ctx: Context, id: str) -> list:
304
return _get_collection(ctx, f"{PATH_TRANSACTIONS}/{id}/metadata")
305
306
307
def list_transactions(ctx: Context) -> list:
308
return _get_collection(ctx, PATH_TRANSACTIONS, key="transactions")
309
310
311
-def get_transaction_problems(ctx: Context, id: str) -> dict:
+def get_transaction_problems(ctx: Context, id: str) -> list:
312
return _get_collection(ctx, f"{PATH_TRANSACTIONS}/{id}/problems")
313
314
0 commit comments