Skip to content

Recipe 0139 Geolocate canvas fragment - #290

Draft
markpbaggett wants to merge 2 commits into
iiif-prezi:mainfrom
markpbaggett:recipe-0139
Draft

Recipe 0139 Geolocate canvas fragment#290
markpbaggett wants to merge 2 commits into
iiif-prezi:mainfrom
markpbaggett:recipe-0139

Conversation

@markpbaggett

Copy link
Copy Markdown
Member

No description provided.

Now when regenerate_skeleton.py runs, the modify_skeleton
post-processing step will match both the single-line
(RootModel[Union[...]]) and multi-line (RootModel[\n    Union[...]\n])
patterns, quoting SpecificResource, Choice, and any other
forward-referenced class names. Pydantic v2's model_rebuild()
calls at the bottom of the skeleton then resolve those quoted
forward references at startup.
@glenrobson

Copy link
Copy Markdown
Contributor

Requires schema change that will be done in #285 and use new classes that the schema brings.

@glenrobson glenrobson changed the title Recipe 0139 Recipe 0139 Geolocate canvas fragment May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants