ReviewDecision domain model
This commit is contained in:
parent
5aa76af78c
commit
29e855e5b3
7 changed files with 130 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ from repo_registry.core.models import (
|
|||
ObservedFact,
|
||||
Repository,
|
||||
RepositoryAbilityMap,
|
||||
ReviewDecision,
|
||||
ScanSummary,
|
||||
SearchResult,
|
||||
)
|
||||
|
|
@ -112,6 +113,13 @@ class RegistryService:
|
|||
def list_capabilities(self) -> list[CapabilitySummary]:
|
||||
return self.store.list_capabilities()
|
||||
|
||||
def list_review_decisions(
|
||||
self,
|
||||
repository_id: int,
|
||||
analysis_run_id: int | None = None,
|
||||
) -> list[ReviewDecision]:
|
||||
return self.store.list_review_decisions(repository_id, analysis_run_id)
|
||||
|
||||
def list_observed_facts(
|
||||
self,
|
||||
repository_id: int,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue