Skip to content

Commit e954f20

Browse files
committed
TEMP: disable struct aliases to check coverage
1 parent 2b1b66c commit e954f20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kafka/protocol/struct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ def SCHEMA(self):
1616

1717
ALIASES = {} # for compatibility with new protocol defs from json
1818
def __getattr__(self, name):
19-
if name in self.ALIASES:
19+
if False and name in self.ALIASES:
2020
return getattr(self, self.ALIASES[name])
2121
raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
2222

2323
def __setattr__(self, name, value):
24-
if name in self.ALIASES:
24+
if False and name in self.ALIASES:
2525
name = self.ALIASES[name]
2626
return super().__setattr__(name, value)
2727

0 commit comments

Comments
 (0)