-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
What's the issue?
I'm using the new dagster-tableau
integration in the following way:
@tableau_assets(
workspace=tableau_resource, group_name="tableau_integration", dagster
6940
_tableau_translator=get_translator("tableau")()
)
def tableau_workspace_assets(context: AssetExecutionContext, tableau: TableauServerWorkspace) -> Generator:
yield from tableau.refresh_and_poll(context=context)
When I try to exclude specific projects with the workbook_selector_fn
:
workbook_selector_fn=lambda w: w.project_name not in EXCLUDE_WORKBOOKS
I run into the following error:
File "/opt/dagster/dagster_home/.venv/lib/python3.12/site-packages/dagster_tableau/resources.py", line 831, in defs_from_state
self.translator.get_asset_spec(
File "/opt/dagster/dagster_home/common/translator.py", line 252, in get_asset_spec
try:
File "/opt/dagster/dagster_home/.venv/lib/python3.12/site-packages/dagster_tableau/translator.py", line 227, in get_asset_spec
return self.get_dashboard_spec(data)
File "/opt/dagster/dagster_home/.venv/lib/python3.12/site-packages/dagster_tableau/translator.py", line 290, in get_dashboard_spec
content_data=data.workspace_data.data_sources_by_id[data_source_id],
KeyError: '12345678-0910-1112-1314-15161718192021'
Do you know what can be the issue? Is this a bug?
Thanks a lot for the help!
Dagster version
dagster, version 1.11.6
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
miriamcastel and inesplc
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working