Skip to content

Commit 6088ff3

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent bbf8204 commit 6088ff3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/EXTENSION-API-REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ Project-local overrides in `.specify/templates/overrides/`, convention-discovere
901901

902902
### Python API
903903

904-
`ExtensionManifest.iter_contributions()` yields dicts of the form `{layer, sourceId, kind, name, id, ...author-declared fields}`; each entry's `id` is the computed identifier. `ExtensionManifest.contribution_id(kind, name)` returns the id for a single lookup, or `None` if no contribution matches. `PresetManifest` exposes the same two methods.
904+
`ExtensionManifest.iter_contributions()` yields dicts of the form `{layer, sourceId, kind, name, id, ...author-declared fields}`; each entry's `id` is the computed identifier. `ExtensionManifest.contribution_id(kind, name)` returns the id for a single lookup, or `None` if no contribution matches. For hooks whose compound name matches multiple discriminated entries, it raises `ValueError`; callers must use `iter_contributions()` to select the desired full id. `PresetManifest` exposes the same two methods.
905905

906906
`PresetResolver.collect_all_layers()` returns layer dicts that include a `lookupId` field for every layer type (`project override`, convention-discovered preset, convention-discovered extension, manifest-backed preset, manifest-backed extension, core, and bundled core).
907907

0 commit comments

Comments
 (0)