MCPcopy
hub / github.com/apache/caldera / PlainTextEncoder

Class PlainTextEncoder

app/data_encoders/plain_text.py:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class PlainTextEncoder(DataEncoder):
9 def __init__(self):
10 super().__init__('plain-text',
11 'Does not encode or decode data at all, instead keeps it in plain text form')
12
13 def encode(self, data, **_):
14 return data
15
16 def decode(self, encoded_data, **_):
17 return encoded_data

Callers 3

plaintext_encoderFunction · 0.90
store_encodersFunction · 0.90
loadFunction · 0.85

Calls

no outgoing calls

Tested by 2

plaintext_encoderFunction · 0.72
store_encodersFunction · 0.72