Skip to content

Commit b529f72

Browse files
Copilotjacalata
andauthored
Update refresh() docstring to document None return type (#1735)
* Initial plan * Update refresh() docstring to document None return type Co-authored-by: jacalata <2009720+jacalata@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jacalata <2009720+jacalata@users.noreply.github.com>
1 parent a7cbf40 commit b529f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tableauserverclient/server/endpoint/workbooks_endpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ def refresh(self, workbook_item: Union[WorkbookItem, str], incremental: bool = F
139139
140140
Returns
141141
-------
142-
JobItem
143-
The job item.
142+
JobItem | None
143+
The job item, or None if a refresh job is already queued for this workbook.
144144
"""
145145
id_ = getattr(workbook_item, "id", workbook_item)
146146
url = f"{self.baseurl}/{id_}/refresh"

0 commit comments

Comments
 (0)