Skip to content

Small fixes: saxmlpreview Label fallback and fetch_docs future annotations#39

Open
kirkabowman wants to merge 1 commit into
petrowsky:mainfrom
kirkabowman:fix/saxml-preview-and-fetch-docs
Open

Small fixes: saxmlpreview Label fallback and fetch_docs future annotations#39
kirkabowman wants to merge 1 commit into
petrowsky:mainfrom
kirkabowman:fix/saxml-preview-and-fetch-docs

Conversation

@kirkabowman
Copy link
Copy Markdown

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 — add from __future__ import annotations for forward-reference compatibility.

Test plan

  • Run saxmlpreview.py against a script with a step using a label-only layout reference; confirm the label text appears in preview
  • Run fetch_docs.py and confirm no syntax/runtime errors from the new import

🤖 Generated with Claude Code

- 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>
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.

1 participant