Small fixes: saxmlpreview Label fallback and fetch_docs future annotations#39
Open
kirkabowman wants to merge 1 commit into
Open
Small fixes: saxmlpreview Label fallback and fetch_docs future annotations#39kirkabowman wants to merge 1 commit into
kirkabowman wants to merge 1 commit into
Conversation
- saxmlpreview.py: when rendering a step that references a layout, fall back to the <Label> text element if no <LayoutReference> is present. Without this, label-only layout references (e.g. "original layout") rendered as empty. - fetch_docs.py: add `from __future__ import annotations` for forward reference compatibility. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small unrelated fixes batched for convenience:
saxmlpreview.py— when rendering a step that references a layout, fall back to the<Label>text element if no<LayoutReference>is present. Without this, label-only layout references (e.g. "original layout") rendered as empty.fetch_docs.py— addfrom __future__ import annotationsfor forward-reference compatibility.Test plan
saxmlpreview.pyagainst a script with a step using a label-only layout reference; confirm the label text appears in previewfetch_docs.pyand confirm no syntax/runtime errors from the new import🤖 Generated with Claude Code