Dagster allows you to represent your Tableau workspace as assets, alongside other your other technologies like dbt and Sling. This allows you to see how your Tableau assets are connected to your other data assets, and how changes to other data assets might impact your Tableau workspace.
Here, we provide interfaces to manage Tableau projects using the Tableau API.
( experimental ) > This API may break in future versions, even between dot releases.
Represents a workspace in Tableau Cloud and provides utilities to interact with Tableau APIs.
( experimental ) > This API may break in future versions, even between dot releases.
Represents a workspace in Tableau Server and provides utilities to interact with Tableau APIs.
Translator class which converts raw response data from the Tableau API into AssetSpecs. Subclass this class to implement custom logic for each type of Tableau content.
( experimental ) > This API may break in future versions, even between dot releases.
Returns a list of AssetSpecs representing the Tableau content in the workspace.
workspace (Union[TableauCloudWorkspace, TableauServerWorkspace]) – The Tableau workspace to fetch assets from.
dagster_tableau_translator (Type[DagsterTableauTranslator]) – The translator to use to convert Tableau content into AssetSpecs. Defaults to DagsterTableauTranslator.
The set of assets representing the Tableau content in the workspace.
List[AssetSpec]
( experimental ) > This API may break in future versions, even between dot releases.
Returns the AssetsDefinition of the executable assets in the Tableau workspace.
resource_key (str) – The resource key to use for the Tableau resource.
specs (Sequence[AssetSpec]) – The asset specs of the executable assets in the Tableau workspace.
refreshable_workbook_ids (Optional[Sequence[str]]) –
A list of workbook IDs. The workbooks provided must have extracts as data sources and be refreshable in Tableau.
When materializing your Tableau assets, the workbooks provided are refreshed, refreshing their sheets and dashboards before pulling their data in Dagster.
This feature is equivalent to selecting Refreshing Extracts for a workbook in Tableau UI and only works for workbooks for which the data sources are extracts. See https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooks_and_views.htm#update_workbook_now for documentation.
The AssetsDefinition of the executable assets in the Tableau workspace.