Skip to content

Commit c2736ef

Browse files
committed
Merge remote-tracking branch 'origin/v8/develop' into publish_tests
2 parents 7d67229 + ae9f961 commit c2736ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dkg/modules/asset/asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def get(self, ual: UAL, options: dict = {}) -> dict:
595595
),
596596
},
597597
}
598-
metadata = get_public_operation_result.get("data")
598+
metadata = get_public_operation_result.get("data", {}).get("metadata", None)
599599
assertion = get_public_operation_result.get("data", {}).get("assertion", None)
600600

601601
if not assertion:

dkg/modules/asset/async_asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ async def get(self, ual: UAL, options: dict = None) -> dict:
607607
),
608608
},
609609
}
610-
metadata = get_public_operation_result.get("data")
610+
metadata = get_public_operation_result.get("data", {}).get("metadata", None)
611611
assertion = get_public_operation_result.get("data", {}).get("assertion", None)
612612

613613
if not assertion:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "dkg"
3-
version = "8.1.1rc1"
3+
version = "8.1.1rc2"
44
description = "Python library for interacting with the OriginTrail Decentralized Knowledge Graph"
55
authors = ["Uladzislau Hubar <[email protected]>, Zvonimir Sculac <[email protected]>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)