Samuel Shi
07/18/2023, 5:29 PMdef process_slack_alert(context: OpExecutionContext, config: SlackAlertConfig) -> None:
if condition: yield AssetMaterialization(asset_key="vote_count_slack_alert", description="Sending vote count update to Slack")
else: (materialize different asset with config data)
How would I pass this config data to a second asset that I would like to materialize? I only want the process_slack_alert asset to be tied to the job, because I want to conditionally materialize between two assetsclaire
07/18/2023, 10:15 PM