[Bug]: typespec-python - discriminated polymorphic types as op
parameters generated incorrectly
#6135
Open
4 tasks done
Labels
bug
Something isn't working
emitter:client:python
Issue for the Python client emitter: @typespec/http-client-python
Describe the bug
We type
base[]
aslist[base]
in method parameters. That does not compute with polymorphic types.Reproduction
repro.py
$> pyright repro.py
Checklist
The text was updated successfully, but these errors were encountered: