Unable to upload files >64 MB.
See original GitHub issueIt 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:
105 - Previous: def publish_req_chunked(self, datasource_item, connection_credentials=None): 105 - Fixed: def publish_req_chunked(self, datasource_item, connection_credentials=None, connections=None):
394 - Previous: def publish_req_chunked(self, workbook_item, connections=None): 394 - Fixed: def publish_req_chunked(self, workbook_item, connection_credentials=None, connections=None):
Is there a reason why it was left off? Looking at the following lines, it makes more sense to have them there.
After I made these changes, I was able to upload a 700+ MB file.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
@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 just made another PR to cover latter case. btw, is there any ETA for next release? @t8y8