mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 02:00:46 +08:00
Preserve sheet_id/title on compare template import so split sheets round-trip.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
83cf086d8c
commit
9b3e98ede5
2 changed files with 27 additions and 0 deletions
|
|
@ -303,6 +303,9 @@ class RowFilterIn(BaseModel):
|
|||
|
||||
class TemplateMetricIn(BaseModel):
|
||||
metric_id: str
|
||||
# Split sheets share metric_id; identity is sheet_id (export/import must keep both).
|
||||
sheet_id: str = ""
|
||||
title: str = ""
|
||||
key_fields: list[str] = Field(default_factory=list)
|
||||
iface_fields: list[str] = Field(default_factory=list)
|
||||
compare_fields: list[str] = Field(default_factory=list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue