microsoft / microsoft/typespec

[python] multipart content anon model not being handled correctly by emitter?

Open
#11,646 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

Do we support anonymous models being declared for the body? If we do we need to add support here --

Image

Image

Image

where the body UploadKnowledgeSourceBodyMultipartRequest is not generated by the python emitter

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.