-
Notifications
You must be signed in to change notification settings - Fork 446
Closed
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels