From b3bdf4750c2ebb3cff18af334a2c8970c7c59733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fred=20Lef=C3=A9v=C3=A8re-Laoide?= Date: Sun, 9 Jun 2024 17:05:18 +0200 Subject: [PATCH] scenario tags edit resolves #1365 --- taipy/gui_core/_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taipy/gui_core/_context.py b/taipy/gui_core/_context.py index c9829e2abf..6705b65f5d 100644 --- a/taipy/gui_core/_context.py +++ b/taipy/gui_core/_context.py @@ -846,7 +846,7 @@ def __edit_properties(self, entity: t.Union[Scenario, Sequence, DataNode], data: if isinstance(ent, Scenario): tags = data.get(_GuiCoreContext.__PROP_SCENARIO_TAGS) if isinstance(tags, (list, tuple)): - ent.tags = dict(tags) + ent.tags = set(tags) name = data.get(_GuiCoreContext.__PROP_ENTITY_NAME) if isinstance(name, str): if hasattr(ent, _GuiCoreContext.__PROP_ENTITY_NAME):