Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dagster-powerbi cannot find connectionDetails #27213

Open
danielkroeders opened this issue Jan 18, 2025 · 0 comments
Open

dagster-powerbi cannot find connectionDetails #27213

danielkroeders opened this issue Jan 18, 2025 · 0 comments
Labels
type: bug Something isn't working

Comments

@danielkroeders
Copy link

What's the issue?

When your PowerBI workspace contains a data sources which doesn't contain a connectionDetails field it will return an error as this can not find the field:

        connection_name = (
            data.properties["connectionDetails"].get("path")
            or data.properties["connectionDetails"].get("url")
            or data.properties["connectionDetails"].get("database")
        )

You need a check before to see if it contains this field.

The error originated because of a Google Analytics data source.

What did you expect to happen?

No response

How to reproduce?

Use a Google analytics data source and try to load the PBI Workspace with 'load_powerbi_asset_specs(power_bi_workspace, use_workspace_scan=False)'

Dagster version

1.9.3

Deployment type

None

Deployment details

No response

Additional information

No response

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

@danielkroeders danielkroeders added the type: bug Something isn't working label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant