Yuchao Yan
Yuchao Yan
autorest has `clear-output-folder` to avoid [zombie code](https://github.com/Azure/autorest.python/issues/1290#issuecomment-1152801927). But it is not flexible for python codegen. Since `README.md` is in root package folder but if set `clear-output-folder`, it will be deleted...
When I run ` autorest --use=@autorest/[email protected]=. --output-artifact=code-model-v4-no-tags --input-file=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json`, there is duplicated `$host` in output of modelerfour:  It is related with [next_link definition](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fblob%2Fa5df773378a8b52f84bee08b3edaaa6ef520f058%2Fspecification%2Fpolicyinsights%2Fresource-manager%2FMicrosoft.PolicyInsights%2Fstable%2F2019-10-01%2FpolicyEvents.json%23L637-L671&data=05%7C01%7Cyuchaoyan%40microsoft.com%7C8f976e6a244a414d127a08da9be3e755%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637993700437796777%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Wqix6tQcvpfcYIx2btoqi9wG8QMXAfAHLGATFZ0MtJw%3D&reserved=0) which is added by [https://github.com/Azure/azure-rest-api-specs/pull/14035](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fpull%2F14035&data=05%7C01%7Cyuchaoyan%40microsoft.com%7C8f976e6a244a414d127a08da9be3e755%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637993700437796777%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BOvyNIElfuxV5MuLMJDAS4YEgm6uDPNa3mh%2FiIat88g%3D&reserved=0) and [https://github.com/Azure/azure-rest-api-specs/pull/15165](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fpull%2F15165&data=05%7C01%7Cyuchaoyan%40microsoft.com%7C8f976e6a244a414d127a08da9be3e755%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637993700437796777%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=H4jSMiAw8zrhdqtuNlXyWuAo%2FozeF6VS7NCu1uIG%2FkY%3D&reserved=0)...
apiview: https://apiview.dev/Assemblies/Review/e23e634cecdd4793811106492ab03942
https://github.com/Azure/sdk-release-request/issues/3613
fixes https://github.com/Azure/azure-sdk-for-python/issues/33263
Arcboard review: https://github.com/Azure/azure-sdk/issues/6825 Address feedback from https://apiview.dev/Assemblies/Review/1a96d1a388bc44c79a31484bd01d21a1
Test fails even nothing changes in https://github.com/Azure/azure-sdk-for-python/pull/33798. Here is [log](https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_apis/build/builds/3396966/logs/274) 