From 136709dc99fda13c0c46067eea97bf8f75ac24d9 Mon Sep 17 00:00:00 2001 From: zschira Date: Tue, 7 Jan 2025 14:57:58 -0500 Subject: [PATCH] Fix asset keywords --- .../sec_eia_record_linkage/transform_eia_input.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/mozilla_sec_eia/models/sec_eia_record_linkage/transform_eia_input.py b/src/mozilla_sec_eia/models/sec_eia_record_linkage/transform_eia_input.py index c8f311c..b12ac71 100644 --- a/src/mozilla_sec_eia/models/sec_eia_record_linkage/transform_eia_input.py +++ b/src/mozilla_sec_eia/models/sec_eia_record_linkage/transform_eia_input.py @@ -2,7 +2,7 @@ import numpy as np import pandas as pd -from dagster import AssetOut, asset +from dagster import asset from mozilla_sec_eia.library.record_linkage_utils import ( expand_street_name_abbreviations, @@ -75,12 +75,8 @@ def harvest_eia861_utilities(): @asset( - outs={ - "core_eia__parents_and_subsidiaries": AssetOut( - io_manager_key="pandas_parquet_io_manager" - ) - # TODO: allow year partitions? - } + name="core_eia__parents_and_subsidiaries", + io_manager_key="pandas_parquet_io_manager", ) # TODO: add Dagster asset inputs for PUDL inputs instead of reading from AWS? def eia_rl_input_table():