mirror of
https://github.com/Comfy-Org/comfy-python-sdk.git
synced 2026-11-04 23:37:47 +00:00
[PR #28] [MERGED] docs: document the public methods that had no docstrings #35
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
effort:medium
effort:small
effort:small
effort:trivial
priority:nice-to-have
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-python-sdk#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-python-sdk/pull/28
Author: @robinjhuang
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @robinjhuang
Base:
main← Head:docs/public-api-docstrings📝 Commits (1)
7bb7888docs: document the public methods that had no docstrings📊 Changes
4 files changed (+65 additions, -0 deletions)
View changed files
📝
src/comfy_sdk/client.py(+8 -0)📝
src/comfy_sdk/jobs.py(+27 -0)📝
src/comfy_sdk/outputs.py(+20 -0)📝
src/comfy_sdk/workflows.py(+10 -0)📄 Description
Runtime introspection is how most people and most tooling explore an installed SDK, and the gaps were in the least guessable places: the
range=tuple onOutput.to_file/to_stream/to_bytesis an inclusive HTTP byte range,Job.get_outputsreads cached state rather than re-fetching, andcancel()is a request rather than a guarantee.Workflowhad no class docstring at all, so nothing pointed at the API-format-vs-UI-format split.Async variants defer to their sync counterpart, matching the existing convention. Public-method docstring coverage goes from 15/28 to 28/28; no behaviour change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.