mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
Fix PrimaryParseJob dataclass field order for raw_line_count.
A defaulted field was inserted before required textfsm_command/vendor fields and broke collect startup. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
c18c9afa2e
commit
08231c779e
1 changed files with 2 additions and 1 deletions
|
|
@ -52,10 +52,11 @@ class PrimaryParseJob:
|
|||
merged_params: dict[str, Any]
|
||||
raw_text: str
|
||||
raw_rel_path: str
|
||||
raw_line_count: int = 0
|
||||
textfsm_command: str
|
||||
vendor: str
|
||||
device_type: str
|
||||
# Full CLI line count before DB raw_text truncate (must follow required fields).
|
||||
raw_line_count: int = 0
|
||||
enrich_joins: list[Any] = field(default_factory=list)
|
||||
aux_captures: list[AuxRawCapture] = field(default_factory=list)
|
||||
# Shared across lanes for aux metric de-dupe (may be None).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue