microsoft / microsoft/typespec

potential bug for multi-services

Open
#10,237 0 comments 0 reactions 1 assignee Claimed by @msyyc View on GitHub
bug emitter:client:python
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

When validate compute which is multi-services, I find there is diff in generated python SDK code when I set "api-version" or not in tspconfig.yaml:

- no "api-version"

Image
- set "api-version"

Image

We could see there is additional signature "api_verison".

During debug, I find there is output diff in emitter output:
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.