Closed JustinGrilli closed 1 year ago
@jaybythebay
As far as merging this PR, I have an idea - just to be on the safe side:
release-v2
release-v2
release-v2
off of refactor-to-use-restapi, to see if we still see a diff
a. Assuming we don't see a diff, we can merge into main
Summary
I wanted to re-imagine the tableau-utilities package.
I want to add much more functionality to the TableauServer class - and have the outputs be clearly defined as dataclass objects.
I want to remove the concept of
tds
from the end user - they should just think of the file as a Datasource. They should not need to concern themselves with extracting and repackaging atdsx
file - to them, they are just making updates, and saving those changes.The
TDS
class would now beDatasource
. And in the future, we can addWorkbook
. Rather thantds.add('column', a='bunch', of='args')
you should now be able todatasource.columns.add(Column)
. This way all of the attributes are clearly defined in dataclasses, for the objects we would like to add/update/delete.Changes
tableau_server
andtableau_file
TableauServer
to only use the tableau REST API - to allow for better optimized and more customized codetableau_server
objects andtableau_file
objectsTDS
intoDatasource
, to simplify the code, and make the usage more clear for the end userfolder
elements are contained infolders-common
Development Changes
sample_settings.yaml
file for an example for users to create a localsettings.yaml
file to store credentialsscripted_testing
file, to testing the local packagetest_tableau_utilities
as required for class/functionality changes, and to no longer support legacy tableau filesNotes to reviewer
Since this is a major refactor/change, I think it is worthy of being considered a major release to
2.0.0
.Tests
scripted_testing