microsoft / microsoft/typespec
[python]: typeddict generating non-input types
Open
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
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