From ebd6a8db18eaa2db01441c90d7dbc8c96287ce11 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Mon, 1 Feb 2021 13:48:05 +0100 Subject: [PATCH] Fix enum serializarion --- lib/galaxy/managers/tags.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/galaxy/managers/tags.py b/lib/galaxy/managers/tags.py index c3d797ef8d1..a166d2578ba 100644 --- a/lib/galaxy/managers/tags.py +++ b/lib/galaxy/managers/tags.py @@ -36,6 +36,9 @@ class ItemTagsPayload(BaseModel): description="The list of tags that will replace the current tags associated with the item.", ) + class Config: + use_enum_values = True + class TagsManager: """Interface/service object shared by controllers for interacting with tags."""