diff --git a/bcf_api_xml/models/Topic.py b/bcf_api_xml/models/Topic.py index df3b4e0..cd060bf 100644 --- a/bcf_api_xml/models/Topic.py +++ b/bcf_api_xml/models/Topic.py @@ -83,4 +83,7 @@ def to_python(xml): if (description := xml.find("Description")) is not None and description.text is not None: topic["description"] = description.text + if (labels := xml.find("Labels")) is not None and labels.text is not None: + topic["labels"] = labels.text + return topic