We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b1b66c commit e954f20Copy full SHA for e954f20
1 file changed
kafka/protocol/struct.py
@@ -16,12 +16,12 @@ def SCHEMA(self):
16
17
ALIASES = {} # for compatibility with new protocol defs from json
18
def __getattr__(self, name):
19
- if name in self.ALIASES:
+ if False and name in self.ALIASES:
20
return getattr(self, self.ALIASES[name])
21
raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
22
23
def __setattr__(self, name, value):
24
25
name = self.ALIASES[name]
26
return super().__setattr__(name, value)
27
0 commit comments