From 739e0a489c2f6280c185d2b45b4c4ad5a0f6cbf1 Mon Sep 17 00:00:00 2001 From: Maxime Armstrong <46797220+maximearmstrong@users.noreply.github.com> Date: Mon, 28 Oct 2024 19:15:27 -0400 Subject: [PATCH] [dagster-looker] Make new Looker APIs experimental (#25590) ## Summary & Motivation Make `load_looker_asset_specs` and `build_looker_pdt_assets_definitions` experimental before releasing to 1.9 --- .../libraries/dagster-looker/dagster_looker/api/assets.py | 2 ++ .../libraries/dagster-looker/dagster_looker/api/resource.py | 1 + 2 files changed, 3 insertions(+) diff --git a/python_modules/libraries/dagster-looker/dagster_looker/api/assets.py b/python_modules/libraries/dagster-looker/dagster_looker/api/assets.py index 7890a68be9d49..e6632281a05d1 100644 --- a/python_modules/libraries/dagster-looker/dagster_looker/api/assets.py +++ b/python_modules/libraries/dagster-looker/dagster_looker/api/assets.py @@ -1,6 +1,7 @@ from typing import Sequence, Type, cast from dagster import AssetExecutionContext, AssetsDefinition, Failure, multi_asset +from dagster._annotations import experimental from dagster_looker.api.dagster_looker_api_translator import ( DagsterLookerApiTranslator, @@ -12,6 +13,7 @@ from dagster_looker.api.resource import LookerResource +@experimental def build_looker_pdt_assets_definitions( resource_key: str, request_start_pdt_builds: Sequence[RequestStartPdtBuild], diff --git a/python_modules/libraries/dagster-looker/dagster_looker/api/resource.py b/python_modules/libraries/dagster-looker/dagster_looker/api/resource.py index 44ec733b1732e..e9863bd181bf9 100644 --- a/python_modules/libraries/dagster-looker/dagster_looker/api/resource.py +++ b/python_modules/libraries/dagster-looker/dagster_looker/api/resource.py @@ -124,6 +124,7 @@ def build_defs( ) +@experimental def load_looker_asset_specs( looker_resource: LookerResource, dagster_looker_translator: Type[DagsterLookerApiTranslator] = DagsterLookerApiTranslator,