We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb2b4d commit cdc1dfdCopy full SHA for cdc1dfd
1 file changed
server/app/interfaces/discovery.py
@@ -42,8 +42,7 @@ def delete_specific_asset_ids_by_aas_id(self, aas_id: model.Identifier) -> None:
42
def search_aas_ids_by_asset_link(self, asset_link: server_model.AssetLink) -> List[model.Identifier]:
43
result = []
44
for asset_key, aas_ids in self.asset_id_to_aas_ids.items():
45
- expected_key = f"{asset_link.name}:{asset_link.value}"
46
- if asset_key == expected_key:
+ if asset_key.name == asset_link.name and asset_key.value == asset_link.value:
47
result.extend(list(aas_ids))
48
return result
49
0 commit comments