Skip to content

Commit f31f8eb

Browse files
author
梁钧
committed
remove test logic
1 parent ab46dfd commit f31f8eb

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

python-client/pypegasus/base/ttypes.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,10 @@ def write(self, oprot):
4444

4545
def validate(self):
4646
return
47-
48-
def raw(self):
49-
if self._is_str:
50-
return self.data.decode('UTF-8')
51-
else:
52-
return self.data
5347

5448
def __init__(self, data=None):
5549
if isinstance(data,str):
56-
self._is_str = True
5750
data = data.encode('UTF-8')
58-
else:
59-
self._is_str = False
6051
self.data = data
6152

6253
def __hash__(self):

0 commit comments

Comments
 (0)