Skip to content

Commit 8d9893a

Browse files
mypy found an issue with str|none
1 parent 0763983 commit 8d9893a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tableauserverclient/models/extract_item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def from_xml_element(cls, parsed_response: ET.Element, ns: dict) -> List["Extrac
6565
for extract_xml in all_extract_xml:
6666
extract_id = extract_xml.get("id", None)
6767
priority = int(extract_xml.get("priority", 0))
68-
refresh_type = extract_xml.get("type", None)
68+
refresh_type = extract_xml.get("type", "")
6969

7070
# Check for workbook or datasource
7171
workbook_elem = extract_xml.find(".//t:workbook", namespaces=ns)

0 commit comments

Comments
 (0)