mirror of
https://github.com/Comfy-Org/comfy-python-sdk.git
synced 2026-11-04 23:37:47 +00:00
[PR #51] [MERGED] docs: cover get_workflow, asset deletion, and job_id in the README #60
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#60
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/51
Author: @wei-hai
Created: 8/13/2026
Status: ✅ Merged
Merged: 8/13/2026
Merged by: @wei-hai
Base:
main← Head:wei/readme-v2-surface📝 Commits (1)
b5f9925docs: cover get_workflow, asset deletion, and job_id in the README📊 Changes
1 file changed (+43 additions, -0 deletions)
View changed files
📝
README.md(+43 -0)📄 Description
comfy-sdk0.1.8 shipped three capabilities the README never mentions. A stale reference doc in a published package is worse than a missing one.Added
get_workflow()on both clients, theformatdiscriminator (apivssave), and why this is the only way to see the graph behind a job rehydrated by id. It states plainly that submissions from this SDK always getapitoday, since v2 has no version-pinning fields yet.asset.delete()andclient.assets.delete(id), noting it needs a proxy new enough to serveDELETE /api/v2/assets/{id}; older ones return405.job_idandexpires_at— on assets and outputs, including thatjob_idisNonefor an uploaded asset, which has no producing job.How it was checked
Every claim was read against the source behind it, not the changelog. The runnable parts were executed against the installed package — including confirming the pre-
COMFY_BASE_URLpositional call really does raiseTypeError, since a sibling doc shipped examples that didn't.The rest of the README was audited at the same time and found accurate: install requirements against
pyproject.toml, theCOMFY_BASE_URLand keyword-onlyapi_keybehaviour, the partner-node key distinction,client_info/User-Agent, the typed-exception list againstexceptions.py's map (exact match), the two-layer architecture description, and the release commands against CI.pytest140 passed / 4 skipped; ruff, ruff format, mypy, and the public-repo hygiene check all clean.Two things found but deliberately not changed
Job.cancel()andJob.refresh()have no README mention. Not stale, just absent, and the README already omits other real methods. Worth a decision on whether this doc aims at full method coverage.AsyncOutputhas noto_stream(), whileOutputdoes. That's a code asymmetry rather than a doc bug, so it stayed out of a docs-only change — but it makes the docs-site claim that the sync and async clients have "the same surface" untrue by exactly one method. Filed here so it isn't lost.🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.