Closed JustinGrilli closed 1 year ago
There are a number of issues with updating a Datasource Tableau object:
refresh-event
TableauFile.save()
--save_tds
super().__post_init__()
TableauFile
tableau_utilities -d -l online -n 'Orgs Discounts' -pn 'Official Datasources - Business' -f 'Orgs Discounts.tdsx' -tds --include_extract datasource --enforce_connection
tableau_utilities -d -n 'Orgs Discounts' -pn 'Official Datasources - Business' -f 'Orgs Discounts.tdsx' server_operate --publish datasource
Summary
There are a number of issues with updating a Datasource Tableau object:
refresh-event
element is not properly defined and formattedChanges
TableauFile.save()
will include all files, not just the twb/tds that was updated--save_tds
call)refresh-event
elementsuper().__post_init__()
not being called in several childTableauFile
objectsTests
tableau_utilities -d -l online -n 'Orgs Discounts' -pn 'Official Datasources - Business' -f 'Orgs Discounts.tdsx' -tds --include_extract datasource --enforce_connection
refresh-event
element was properly formatted in the XMLtableau_utilities -d -n 'Orgs Discounts' -pn 'Official Datasources - Business' -f 'Orgs Discounts.tdsx' server_operate --publish datasource