Skip to content

Commit c788327

Browse files
committed
mypy
1 parent 019e46e commit c788327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tableauserverclient/server/endpoint/workbooks_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def get_by_id(self, workbook_id: str) -> WorkbookItem:
126126
return WorkbookItem.from_response(server_response.content, self.parent_srv.namespace)[0]
127127

128128
@api(version="2.8")
129-
def refresh(self, workbook_item: Union[WorkbookItem, str], incremental: bool = False) -> JobItem:
129+
def refresh(self, workbook_item: Union[WorkbookItem, str], incremental: bool = False) -> JobItem | None:
130130
"""
131131
Refreshes the extract of an existing workbook.
132132

0 commit comments

Comments
 (0)