You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate from the specs listed below, without generating the model property CodeFile.LanguageVariant. To do this, I set the visibility of CodeFile.LanguageVariant to "none" in the client.tsp. However, the CodeFile.LanguageVariant model property is still generated.
I generated with the latest version of @azure-tools/typespec-python - 0.37.3.
I would expect that setting visibility to "none" would ensure that the model property is not generated.
Hi @swathipil It is by design of TCGC to remove property with "none" visibility. So current python emitter will not generate that property after adopt latest TCGC.
I'm trying to generate from the specs listed below, without generating the model property CodeFile.LanguageVariant. To do this, I set the visibility of CodeFile.LanguageVariant to "none" in the client.tsp. However, the CodeFile.LanguageVariant model property is still generated.
I generated with the latest version of @azure-tools/typespec-python - 0.37.3.
I would expect that setting visibility to "none" would ensure that the model property is not generated.
client.tsp here
main.tsp here
The text was updated successfully, but these errors were encountered: