Evidence with supportive metadata
This commit is contained in:
parent
6c0a7db5e4
commit
eb1513e463
10 changed files with 194 additions and 9 deletions
|
|
@ -145,6 +145,10 @@ class CandidateEvidence:
|
|||
strength: str
|
||||
status: str
|
||||
source_refs: list[SourceReference]
|
||||
target_kind: str = "capability"
|
||||
target_id: int | None = None
|
||||
reference_kind: str = "source"
|
||||
reference_id: int | None = None
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
|
@ -200,6 +204,10 @@ class Evidence:
|
|||
reference: str
|
||||
strength: str
|
||||
source_refs: list[SourceReference] = field(default_factory=list)
|
||||
target_kind: str = "capability"
|
||||
target_id: int | None = None
|
||||
reference_kind: str = "source"
|
||||
reference_id: int | None = None
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue