Skip to content

Commit

Permalink
Add __static_attributes__ to _RESERVED_ATTRIBUTE_NAMES (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
catchyzheng committed Jun 10, 2024
1 parent 41f8fea commit 019b1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apitools/base/protorpclite/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __str__(self):
# Attributes that are reserved by a class definition that
# may not be used by either Enum or Message class definitions.
_RESERVED_ATTRIBUTE_NAMES = frozenset(
['__module__', '__doc__', '__qualname__'])
['__module__', '__doc__', '__qualname__', '__static_attributes__'])

_POST_INIT_FIELD_ATTRIBUTE_NAMES = frozenset(
['name',
Expand Down

0 comments on commit 019b1ea

Please sign in to comment.