We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab46dfd commit f31f8ebCopy full SHA for f31f8eb
1 file changed
python-client/pypegasus/base/ttypes.py
@@ -44,19 +44,10 @@ def write(self, oprot):
44
45
def validate(self):
46
return
47
-
48
- def raw(self):
49
- if self._is_str:
50
- return self.data.decode('UTF-8')
51
- else:
52
- return self.data
53
54
def __init__(self, data=None):
55
if isinstance(data,str):
56
- self._is_str = True
57
data = data.encode('UTF-8')
58
59
- self._is_str = False
60
self.data = data
61
62
def __hash__(self):
0 commit comments