microsoft / microsoft/typespec
[python] multipart content anon model not being handled correctly by emitter?
Open
bug
emitter:client:python
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Do we support anonymous models being declared for the body? If we do we need to add support here --
where the body UploadKnowledgeSourceBodyMultipartRequest is not generated by the python emitter
Contributor guide
Research direction
Start by tracing the Python emitter's handling of multipart request bodies and anonymous models, using the missing UploadKnowledgeSourceBodyMultipartRequest as the reproduction case. Determine whether anonymous body models are supported; done means the emitter handles this case and generates that body model correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100