This Python script uses the Tableau Metadata API to retrieve information about upstream table dependencies of published workbooks.
This is helpful in an environment where Tableau Prep flows may be obfuscating the direct lineage to table sources.
https://help.tableau.com/current/api/metadata_api/en-us/index.html