commit | 9c43962da8e4b530014619e3703a279053cf2182 | [log] [tgz] |
---|---|---|
author | Elvis Pranskevichus <elvispranskevichus@pinterest.com> | Wed Dec 11 16:47:52 2019 -0500 |
committer | Duru Can Celasun <can@dcc.im> | Thu Dec 12 13:50:42 2019 +0000 |
tree | 9b862189ed6e5fbdd9819a964c7f2efe69aa9bb4 | |
parent | 9320f891d7d972fc2cc4f9569b66767c5dfc4242 [diff] [blame] |
Revert "Revert "THRIFT-4002: Make generated exception classes immutable by default"" This reverts commit 1234ddf8a5c98d5d700c82e087f04725170ad581.
diff --git a/lib/py/src/protocol/TBase.py b/lib/py/src/protocol/TBase.py index 9ae1b11..6c6ef18 100644 --- a/lib/py/src/protocol/TBase.py +++ b/lib/py/src/protocol/TBase.py
@@ -80,3 +80,7 @@ [self.__class__, self.thrift_spec]) else: return iprot.readStruct(cls, cls.thrift_spec, True) + + +class TFrozenExceptionBase(TFrozenBase, TExceptionBase): + pass