asset listing filters
This commit is contained in:
parent
dbe93be1a9
commit
f5a52e780d
7 changed files with 282 additions and 11 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Protocol
|
||||
from typing import Any, Protocol
|
||||
|
||||
from kontextual_engine.core import (
|
||||
Actor,
|
||||
|
|
@ -20,6 +20,7 @@ from kontextual_engine.core import (
|
|||
MetadataSchema,
|
||||
MetadataSchemaAssignment,
|
||||
RepresentationKind,
|
||||
Sensitivity,
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -34,6 +35,12 @@ class AssetRegistryRepository(Protocol):
|
|||
*,
|
||||
lifecycle: LifecycleState | None = None,
|
||||
asset_type: str | None = None,
|
||||
sensitivity: Sensitivity | str | None = None,
|
||||
owner: str | None = None,
|
||||
topic: str | None = None,
|
||||
review_state: str | None = None,
|
||||
metadata_filters: dict[str, Any] | None = None,
|
||||
confirmed_metadata_only: bool = False,
|
||||
) -> list[KnowledgeAsset]: ...
|
||||
|
||||
def save_representation(self, representation: AssetRepresentation) -> AssetRepresentation: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue