Skip to content

Commit 7768c12

Browse files
committed
feat: source_id in DICleanDataset
1 parent edcffda commit 7768c12

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/agent_context_builder/signals.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ class DICleanDataset:
116116
slug: str
117117
name: str
118118
stage: str
119+
source_id: str = ""
119120
source: str = ""
120121
period: dict[str, Any] = field(default_factory=dict)
121122
location: dict[str, Any] = field(default_factory=dict)
@@ -230,6 +231,7 @@ def parse_di_clean_catalog(raw: str) -> DICleanCatalog:
230231
slug=item.get("slug", ""),
231232
name=item.get("name", item.get("slug", "")),
232233
stage=item.get("stage", "incubating"),
234+
source_id=item.get("source_id", ""),
233235
source=item.get("source", ""),
234236
period=item.get("period", {}),
235237
location=item.get("location", {}),

0 commit comments

Comments
 (0)