feat: Add extraction for quick_list labels in workspace (#33304)

This commit is contained in:
Exequiel Arona 2025-07-14 14:43:56 -03:00 committed by GitHub
parent 0254dc8a84
commit eff2bb2e42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,6 +68,16 @@ def extract(fileobj, *args, **kwargs):
for shortcut in data.get("shortcuts", [])
if shortcut.get("format")
)
yield from (
(
None,
"_",
quick_list.get("label"),
[f"Label of a quick_list in the {workspace_name} Workspace"],
)
for quick_list in data.get("quick_lists", [])
if quick_list.get("label")
)
content = json.loads(data.get("content", "[]"))
for item in content: