From d3cd3ccc7be1dbd4710c9b361c90a4fb45fceeb9 Mon Sep 17 00:00:00 2001 From: Maxime Armstrong Date: Fri, 27 Dec 2024 14:36:31 -0500 Subject: [PATCH] Fix pyright --- docs/content/integrations/powerbi.mdx | 3 ++- .../project_atproto_dashboard/dashboard/definitions.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/integrations/powerbi.mdx b/docs/content/integrations/powerbi.mdx index 7bd09d6017b79..5f9a81b736901 100644 --- a/docs/content/integrations/powerbi.mdx +++ b/docs/content/integrations/powerbi.mdx @@ -122,7 +122,8 @@ class MyCustomPowerBITranslator(DagsterPowerBITranslator): power_bi_specs = load_powerbi_asset_specs( - power_bi_workspace, dagster_powerbi_translator=MyCustomPowerBITranslator + power_bi_workspace, + dagster_powerbi_translator=MyCustomPowerBITranslator, ) defs = dg.Definitions( assets=[*power_bi_specs], resources={"power_bi": power_bi_workspace} diff --git a/examples/project_atproto_dashboard/project_atproto_dashboard/dashboard/definitions.py b/examples/project_atproto_dashboard/project_atproto_dashboard/dashboard/definitions.py index e5414bee55a1e..ce66da2d7a266 100644 --- a/examples/project_atproto_dashboard/project_atproto_dashboard/dashboard/definitions.py +++ b/examples/project_atproto_dashboard/project_atproto_dashboard/dashboard/definitions.py @@ -43,7 +43,7 @@ def get_semantic_model_spec(self, data: PowerBIContentData) -> dg.AssetSpec: power_bi_specs = load_powerbi_asset_specs( power_bi_workspace, - dagster_powerbi_translator=CustomDagsterPowerBITranslator, + dagster_powerbi_translator=CustomDagsterPowerBITranslator, # type: ignore ) defs = dg.Definitions(assets=[*power_bi_specs], resources={"power_bi": power_bi_workspace})