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
{{ message }}
Repository navigation
Commit ba7fb8b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(python): validate string enum values excluded by not (#25070)
* fix(python): validate string enum values excluded by not
* fix(python): emit not enum validator once
* test(python): verify not enum validator registration
if value in set([{{#vendorExtensions.x-python-not-string-enum-values}}{{#lambda.pythonStringLiteral}}{{{.}}}{{/lambda.pythonStringLiteral}}{{^-last}}, {{/-last}}{{/vendorExtensions.x-python-not-string-enum-values}}]):
153
+
raise ValueError("must not be one of excluded enum values")
0 commit comments