mirror of
https://github.com/Comfy-Org/comfy-python-sdk.git
synced 2026-11-04 23:37:47 +00:00
[PR #23] [MERGED] fix: ship py.typed so consumers get the SDK's type information #30
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#30
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/23
Author: @robinjhuang
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @robinjhuang
Base:
main← Head:fix/pep561-py-typed📝 Commits (1)
4805537fix: ship py.typed so consumers get the SDK's type information📊 Changes
2 files changed (+0 additions, -0 deletions)
View changed files
➕
src/comfy_low/py.typed(+0 -0)➕
src/comfy_sdk/py.typed(+0 -0)📄 Description
Both
comfy_sdkandcomfy_loware fully annotated and mypy-gated in CI, but without a PEP 561 marker none of that reaches users — type checkers reportmodule is installed, but missing library stubs or py.typed markerand silently treat every import asAny.Verified against a built wheel installed into a clean venv: mypy goes from that error to
Success: no issues found. The existing wheelpackagesconfig already picks the markers up, so no build change is needed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.