Source: factory.core/ObjFeatureRender.py
Feature-driven template rendering engine.
Merges feature store output, source person data,
constants from one or more tables, and templates
into resolved messages. Supports single-record and
...
| Method | Signature | Description |
|---|---|---|
| configure | configure(feature_code: str, source_table: str, constant_tables: str = '', template_table: str = '', pk_column: str = 'PersonNo', template_code_column: str = 'sms_template_code', template_key_column: str = 'TemplateCode', template_subject_column: str = 'Subject', template_body_column: str = 'Body', template_channel_column: str = 'Channel', constant_key_column: str = 'ConstantKey', constant_value_column: str = 'ConstantValue') -> None |
Configure the renderer for a render run. |
| render | render(pk_value: str, template_code: str = '') -> Dict[str, str] |
Render a single record. |
| render_bulk | render_bulk(output_table: str, template_code: str = '', where_clause: str = '', channels: str = '') -> int |
Render all records to an output table. |
Render a single record.
Render all records to an output table.