Canon 0.6.0 freeze: ITC-CAP draft, AVT catalog, joinable review
Finish ITC-WP-0013 (AttributeValueType under ITC-DATA) and ITC-WP-0014 T02/T03/T05/T06/T07. Capability contract schemas, live-catalog review CLI, landscape/kernel-map pointers. Sit on this version.
This commit is contained in:
parent
7805560a60
commit
d453e17952
44 changed files with 1485 additions and 137 deletions
|
|
@ -328,6 +328,18 @@ def profile_graph(
|
|||
) from exc
|
||||
|
||||
|
||||
def review_capability_record(
|
||||
path: str | Path,
|
||||
root: Path | str | None = None,
|
||||
) -> dict[str, Any]:
|
||||
from .capability import CapabilityReviewError, review_path
|
||||
|
||||
try:
|
||||
return review_path(path)
|
||||
except CapabilityReviewError as exc:
|
||||
raise CanonServiceError(exc.code, exc.message) from exc
|
||||
|
||||
|
||||
def generate_indexes(root: Path | str | None = None) -> dict[str, Any]:
|
||||
return generation.generate_indexes(load_context(root))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue