Skip to content

Commit

Permalink
fix: storevalueresult alias output string
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Jun 12, 2024
1 parent 627cd67 commit fed135c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kiara/interfaces/python_api/base_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1847,6 +1847,8 @@ def store_value(
store_instance.set_archive_metadata_value(
DATA_ARCHIVE_DEFAULT_VALUE_MARKER, str(value_obj.value_id)
)
if isinstance(alias, str):
alias = [alias]
result = StoreValueResult(
value=value_obj,
aliases=sorted(alias) if alias else [],
Expand Down

0 comments on commit fed135c

Please sign in to comment.