Skip to content

docs: fix commas in image generation workflow examples - #167

Merged
runshouse merged 1 commit into
mainfrom
codex/fix-readme-workflow-syntax
Sep 9, 2026
Merged

runshouse merged 1 commit into
mainfrom
codex/fix-readme-workflow-syntax

Conversation

@runshouse

Copy link
Copy Markdown
Contributor

The synchronous and asynchronous Headshot Generator and Photo Colorizer examples omit the comma before wait_for_completion, so copying them raises a Python syntax error. Add the four missing commas in the custom documentation sections.

These README examples are also consumed by web-app code-sample generation and the published API reference. The docs acquisition audit in magichourhq/docs#499 corrects the current reference snapshot; after this source fix is merged, run the existing code-sample sync and publish the refreshed OpenAPI data so subsequent docs syncs retain it. The generator already adds the required separator; no generator or runtime changes are needed.

Validation: all 174 Python fenced snippets across SDK READMEs parse with ast.parse; git diff --check passes. This checks syntax only; no API generation or release was performed.

@runshouse
runshouse merged commit 72fab17 into main Sep 9, 2026
6 checks passed
@runshouse
runshouse deleted the codex/fix-readme-workflow-syntax branch September 9, 2026 07:48
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