generated from coulomb/repo-seed
asset listing filters
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user