Skip to content

Commit

Permalink
fix: register alias in same kiara session
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Jun 12, 2024
1 parent e7b0cac commit 26c3745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/kiara/registries/aliases/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def register_aliases(
# raise NotImplementedError()

self.aliases[actual_alias] = alias_item # type: ignore
self._cached_aliases_by_id.setdefault(value_id, set()).add(alias_item) # type: ignore
self._cached_aliases_by_id.setdefault(value.value_id, set()).add(alias_item) # type: ignore


#
Expand Down
1 change: 1 addition & 0 deletions src/kiara/registries/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ def find_values(self, matcher: ValueMatcher) -> Dict[uuid.UUID, Value]:
reasong=f"find_values not implemented for store: {store_id}",
solution="return all values",
)

all_value_ids = store.value_ids
if all_value_ids is None:
continue
Expand Down

0 comments on commit 26c3745

Please sign in to comment.