Azure / autorest.python

Extension for AutoRest (https://github.com/Azure/autorest) that generates Python code
MIT License
80 stars 57 forks source link

ClientInitialization/ParamAlias Implementation #2894

Open lmazuel opened 2 weeks ago

iscai-msft commented 2 weeks ago

implemented

msyyc commented 1 week ago

implemented

@iscai-msft Could you share the PR link? I don't find any PR to implement this feature.

iscai-msft commented 1 week ago

There isn't any need for us to do anything on the autorest.python side, it's all handled by tcgc

msyyc commented 1 week ago

There isn't any need for us to do anything on the autorest.python side, it's all handled by tcgc

Here is cadl-ranch case https://github.com/Azure/cadl-ranch/pull/727/files for this scenario, and I try to generate Python SDK locally https://github.com/Azure/autorest.python/tree/sample-2024-11-06/packages/typespec-python/tsp-output/%40azure-tools/typespec-python. Then I find "name" is not exposed as client signature: Image Image

iscai-msft commented 1 week ago

hmm ok, i guess it does deserve another look, thanks for following up on this issue @msyyc