8000 Datasource Refresh Fails because of empty_req function (see solution below) · Issue #257 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

Datasource Refresh Fails because of empty_req function (see solution below) #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
delperdang opened this issue Jan 25, 2018 · 2 comments
Closed
Assignees

Comments

@delperdang
Copy link

In tableauserverclient/server/request_factory.py line 404, myself and a colleague found an issue with the empty_req function within the EmptyRequest class. The issue presented itself when attempting to perform a datasource refresh which uses this function. We believe the empty_req function definition should include the "self" argument in addition to "xml_request". This fix worked for us.

request_factory.py line 404 before the fix:
def empty_req(xml_request):

request_factory.py line 404 after the fix:
def_empty_req(self, xml_request):

@graysonarts
Copy link
Contributor

Oh dang, I thought I caught all of those and fixed it. Thanks! I'll get a fix in place and release a bugfix version this week.

@graysonarts graysonarts self-assigned this Jan 25, 2018
@graysonarts
Copy link
Contributor

Fixed in v0.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0