Feat: Projektweite XSLT-Parameter mit Vererbungshierarchie (v1.4.0)
Ermöglicht die Definition von XSLT-Parametern auf Projektebene, die als Basis für alle Transformationen dienen und von TreeNode- bzw. XslFile- Parametern überschrieben werden können (Projekt < TreeNode < XslFile). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -162,6 +162,7 @@ class Project(BaseModel):
|
||||
xsl_dir_id: int = Field(..., description="ID des XSL-Verzeichnisses", gt=0)
|
||||
postgre_sql_db_id: int = Field(..., description="ID der PostgreSQL Datenbank", gt=0)
|
||||
fop_config_dir: Path | None = Field(None, description="Optionaler Pfad zum Apache FOP Config-Verzeichnis")
|
||||
xslt_params: dict[str, str] = Field(default_factory=dict, description="Projektweite XSLT-Parameter")
|
||||
|
||||
@staticmethod
|
||||
def _lookup(collection, item_id: int, attr: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user