SinkConfig
@sink_config (Decorator)​
Declare a SinkConfig which represents a post materialization hook that will be run after offline materialization.Parameters
mode: str(Required) The compute mode for the transformation bodyname: Optional[str] = name of functionThe name of the sink. defaults to name of function.secrets: Optional[Dict[str,Union[Secret, str]]] = NoneA dictionary of Secret references that will be resolved and provided to the transformation function at runtime. During local development and testing, strings may be used instead Secret references.
Returns
An object of typeSinkConfigExample
from tecton import Embedding, batch_feature_viewfrom tecton.types import String@sink_config(mode = "pandas",secrets = {"secret1": Secret(scope='prod', key='my_key')},)def sample_sink(df, context):...