generated from coulomb/repo-seed
Scope as first class root charactaristic
This commit is contained in:
@@ -210,6 +210,15 @@ class Evidence:
|
||||
reference_id: int | None = None
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class Scope:
|
||||
id: int
|
||||
name: str
|
||||
description: str
|
||||
confidence: float
|
||||
confidence_label: str = ""
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class Feature:
|
||||
id: int
|
||||
@@ -247,6 +256,7 @@ class Ability:
|
||||
@dataclass(frozen=True)
|
||||
class RepositoryAbilityMap:
|
||||
repository: Repository
|
||||
scope: Scope
|
||||
abilities: list[Ability]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user