Closed pes-magic closed 8 months ago
Describe the bug workbooks.refresh is implemented to receive workbook_id as a string type argument, but it can actually receive WorkbookItem as well. The documentation also states that it receives workbook_item.
workbooks.refresh
workbook_id
WorkbookItem
workbook_item
Implementation: https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/workbooks_endpoint.py#L91 Documentation: https://tableau.github.io/server-client-python/docs/api-ref#workbooksrefresh
Versions
To Reproduce Nothing to do
Results Static code analysis displays false warnings
@pes-magic Can you mark this as closed by #1319?
Sure, thank you for reminding me
Describe the bug
workbooks.refresh
is implemented to receiveworkbook_id
as a string type argument, but it can actually receiveWorkbookItem
as well. The documentation also states that it receivesworkbook_item
.Implementation: https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/workbooks_endpoint.py#L91 Documentation: https://tableau.github.io/server-client-python/docs/api-ref#workbooksrefresh
Versions
To Reproduce Nothing to do
Results Static code analysis displays false warnings