From ccba06534e31f43149a671036693602637342a65 Mon Sep 17 00:00:00 2001 From: devsjc <47188100+devsjc@users.noreply.github.com> Date: Tue, 10 Sep 2024 16:46:59 +0100 Subject: [PATCH] feat(local): Add MetOffice global asset --- local_archives/nwp/ceda/__init__.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/local_archives/nwp/ceda/__init__.py b/local_archives/nwp/ceda/__init__.py index 9743b5c..a7926e7 100644 --- a/local_archives/nwp/ceda/__init__.py +++ b/local_archives/nwp/ceda/__init__.py @@ -1,10 +1,15 @@ import dagster as dg -from . import ceda_uk +from . import ceda_uk, ceda_global uk_assets = dg.load_assets_from_modules( modules=[ceda_uk], group_name="ceda_uk", ) -all_assets: list[dg.AssetsDefinition] = [*uk_assets] +global_assets = dg.load_assets_from_modules( + modules=[ceda_global], + group_name="ceda_global", +) + +all_assets: list[dg.AssetsDefinition] = [*uk_assets, *global_assets]