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
It would say the following error: TypeError: publish_req_chunked() takes at most 3 arguments (4 given)
After jumping into the package, I found editing these lines resolved the issue:
server-client-python/tableauserverclient/server/request_factory.py - line 105 and 394, i added either connection_credentials or connections - depending on what was missing:
@RussTheAerialist I know an internal team has a PR out that they’d like released shortly, maybe we can try and get those merged and released next week. I’m on vacation but I’ll support code reviews that I’m tagged in!
I am getting this error TypeError: publish_req_chunked() takes from 2 to 3 positional arguments but 4 were given when I try to publish datasource having size 300MB using this function server.datasources.publish(). @RussTheAerialist
I am getting this error TypeError: publish_req_chunked() takes from 2 to 3 positional arguments but 4 were given when I try to publish datasource having size 300MB using this function server.datasources.publish(). @RussTheAerialist
@samyak53 I am getting this error too. Were you able to resolve?
Activity
t8y8 commentedon Aug 13, 2018
This is fixed in the development branch; can you pull from there and verify your issue is resolved?
fixes datasource chunked upload (tableau#326)
bskim45 commentedon Aug 17, 2018
I just made another PR to cover latter case.
btw, is there any ETA for next release? @t8y8
fixes datasource chunked upload (#326) (#329)
pmehai commentedon Jan 16, 2019
Are there any updates on this issue? I'm running into this error when trying to upload an 84MB extract.
bskim45 commentedon Jan 17, 2019
The fix is merged but not released yet. You should install the package directly from development branch.
t8y8 commentedon Jan 19, 2019
@RussTheAerialist I know an internal team has a PR out that they’d like released shortly, maybe we can try and get those merged and released next week. I’m on vacation but I’ll support code reviews that I’m tagged in!
sharono011 commentedon Mar 27, 2019
This is still broken. When will the fix be released?
irwando commentedon Jul 25, 2019
Released. Please re-open if you still have issues.
samyak53 commentedon Jun 14, 2020
I am getting this error
TypeError: publish_req_chunked() takes from 2 to 3 positional arguments but 4 were givenwhen I try to publish datasource having size 300MB using this function server.datasources.publish(). @RussTheAerialistDuncanTormey commentedon May 10, 2022
@samyak53 I am getting this error too. Were you able to resolve?
fixes datasource chunked upload (tableau#326) (tableau#329)