You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a fatal error when trying to populate the connections of a DataSourceItem as per the directions in the samples.
When running server.datasources.populate_connections, the following error occurs:
Traceback (most recent call last):
File "port-content.py", line 31, in <module>
main()
File "port-content.py", line 25, in main
get_datasources()
File "port-content.py", line 15, in get_datasources
server.datasources.populate_connections(ds)
File "/Library/Python/2.7/site-packages/tableauserverclient/server/endpoint/endpoint.py", line 108, in wrapper
return func(self, *args, **kwargs)
File "/Library/Python/2.7/site-packages/tableauserverclient/server/endpoint/datasources_endpoint.py", line 60, in populate_connections
datasource_item._set_connections(ConnectionItem.from_response(server_response.content))
TypeError: from_response() takes exactly 3 arguments (2 given)
It looks like this error is due to forgetting to add a namespace to a function call in datasources_endpoint.py as part of CL ff60613
This looks like a simple fix. PR to follow shortly.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
There is a fatal error when trying to populate the connections of a DataSourceItem as per the directions in the samples.
When running
server.datasources.populate_connections
, the following error occurs:It looks like this error is due to forgetting to add a namespace to a function call in datasources_endpoint.py as part of CL ff60613
This looks like a simple fix. PR to follow shortly.
The text was updated successfully, but these errors were encountered: