Skip to content
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

Fix filename behavior and refactor #517

Merged
merged 2 commits into from Oct 31, 2019
Merged

Conversation

t8y8
Copy link
Collaborator

@t8y8 t8y8 commented Oct 29, 2019

There was a subtle bug where a non-folder filename would clobber the extension, for mass-download scripts this makes it hard to know what file you've downloaded (I rename to random guids to avoid name collisions).

This fixes it, and also adds tests for filesystem helpers.

@graysonarts
Copy link
Contributor

Should we drop python 2.7 support since it's EOL at the end of the year?

@graysonarts
Copy link
Contributor

🚀 btw

@t8y8
Copy link
Collaborator Author

t8y8 commented Oct 31, 2019

@RussTheAerialist I would love to!

We could officially do it the next release, or maybe in Jan, with that being last release before back compat to 2.7 breaks. Either way works for me, once we do though, I'm going to start looking at adding some mypy types :)

@t8y8 t8y8 merged commit 82de656 into tableau:development Oct 31, 2019
shinchris pushed a commit that referenced this pull request Feb 21, 2020
* Added a way to handle non-xml errors (#515)
* Added Webhooks endpoints for create, delete, get, list, and test (#523, #532)
* Added delete method in the tasks endpoint (#524)
* Added description attribute to WorkbookItem (#533)
* Added support for materializeViews as schedule and task types (#542)
* Added warnings to schedules (#550, #551)
* Added ability to update parent_id attribute of projects (#560, #567)
* Improved filename behavior for download endpoints (#517)
* Improved logging (#508)
* Fixed runtime error in permissions endpoint (#513)
* Fixed move_workbook_sites sample (#503)
* Fixed project permissions endpoints (#527)
* Fixed login.py sample to accept site name (#549)
shinchris pushed a commit that referenced this pull request Feb 21, 2020
Merging v0.10 changes from development to master

* Added a way to handle non-xml errors (#515)
* Added Webhooks endpoints for create, delete, get, list, and test (#523, #532)
* Added delete method in the tasks endpoint (#524)
* Added description attribute to WorkbookItem (#533)
* Added support for materializeViews as schedule and task types (#542)
* Added warnings to schedules (#550, #551)
* Added ability to update parent_id attribute of projects (#560, #567)
* Improved filename behavior for download endpoints (#517)
* Improved logging (#508)
* Fixed runtime error in permissions endpoint (#513)
* Fixed move_workbook_sites sample (#503)
* Fixed project permissions endpoints (#527)
* Fixed login.py sample to accept site name (#549)
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

Successfully merging this pull request may close these issues.

None yet

2 participants