mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
feat(automation): add template run context builder
This commit is contained in:
parent
de6da1b775
commit
cb42b3a84f
2 changed files with 53 additions and 0 deletions
12
surfsense_backend/app/automations/templating/__init__.py
Normal file
12
surfsense_backend/app/automations/templating/__init__.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"""Sandboxed template engine for automation definitions."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from .context import build_run_context
|
||||
from .render import evaluate_predicate, render_template
|
||||
|
||||
__all__ = [
|
||||
"build_run_context",
|
||||
"evaluate_predicate",
|
||||
"render_template",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue