MCPcopy
hub / github.com/lektor/lektor / deserialize_value

Method deserialize_value

lektor/datamodel.py:211–213  ·  view source on GitHub ↗
(self, value, pad=None)

Source from the content-addressed store, hash-verified

209 }
210
211 def deserialize_value(self, value, pad=None):
212 raw_value = RawValue(self.name, value, field=self, pad=pad)
213 return self.type.value_from_raw_with_default(raw_value)
214
215 def serialize_value(self, value):
216 return self.type.value_to_raw(value)

Callers 15

process_raw_dataMethod · 0.80
process_raw_dataMethod · 0.80
test_markdownFunction · 0.80
mdFunction · 0.80
test_stringFunction · 0.80
test_textFunction · 0.80
test_integerFunction · 0.80
test_floatFunction · 0.80
test_booleanFunction · 0.80
test_datetimeFunction · 0.80

Calls 2

RawValueClass · 0.90

Tested by 15

test_markdownFunction · 0.64
mdFunction · 0.64
test_stringFunction · 0.64
test_textFunction · 0.64
test_integerFunction · 0.64
test_floatFunction · 0.64
test_booleanFunction · 0.64
test_datetimeFunction · 0.64