https://dagster.io/ logo
#ask-community
Title
# ask-community
y

Yang

08/02/2023, 6:23 PM
Hi, I have an asset defined with the new config system
Copy code
@asset
def badge_csv(
        context, config: BadgeConfig, raw_badge: pd.DataFrame
)-> Output[pd.DataFrame]:
For unit tests, I used to just
build_op_context
and then call the asset
Copy code
result = badge_csv(context, raw_badge)
What do I pass for config now? Or do I need to use
materialize
?
oh I was able to pass this
Copy code
config = BadgeConfig(data_folder="data_test")
blob thumbs up 2
3 Views