microsoft / microsoft/typespec

[python]: typeddict generating non-input types

Open
#11,562 1 comment 1 reaction 0 assignees View on GitHub
bug emitter:client:python
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

even if a typeddict is not used in operations it is still being generated (i.e. azure-storage-fileshare -> AccessPolicy)

Contributor guide

Open the contributing guide

Research direction

Reproduce the Python generation for azure-storage-fileshare, focusing on the AccessPolicy TypedDict output and whether it is used by any operations. Trace the generator path that emits non-input types; done when unused TypedDicts are no longer generated and the affected output remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.