Yang
08/02/2023, 6:23 PM@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
result = badge_csv(context, raw_badge)
What do I pass for config now? Or do I need to use materialize
?Yang
08/02/2023, 6:33 PMconfig = BadgeConfig(data_folder="data_test")