Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit ae3e6bf

Browse files
authored
fix: femove vars and setfrom reserved names (#1451)
This fixes #1348. This is also backwar compatible with already released clients dataform and network-services, because removal of unnecessary `_` is already happening in ppostprocesing scripts for those two affected apis.
1 parent 4df65b7 commit ae3e6bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gapic/utils/reserved_names.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
# We CANNOT make exceptions for keywords.
2525
keyword.kwlist,
2626
# We make SOME exceptions for certain names that collide with builtins.
27-
set(dir(builtins)) - {"filter", "map", "id", "input", "property"},
27+
set(dir(builtins)) - {"filter", "map", "id",
28+
"input", "property", "vars", "set"},
2829
# "mapping" and "ignore_unknown_fields" have special uses
2930
# in the constructor of proto.Message
3031
{"mapping", "ignore_unknown_fields"},

0 commit comments

Comments
 (0)