MCPcopy Create free account
hub / github.com/piccolo-orm/piccolo / convert_array_out

Function convert_array_out

piccolo/engine/sqlite.py:252–257  ·  view source on GitHub ↗

If the value if from an array column, deserialise the string back into a list.

(value: str)

Source from the content-addressed store, hash-verified

250
251@decode_to_string
252def convert_array_out(value: str) -> list:
253 """
254 If the value if from an array column, deserialise the string back into a
255 list.
256 """
257 return load_json(value)
258
259
260def convert_complex_array_out(value: bytes, converter: Callable):

Callers

nothing calls this directly

Calls 1

load_jsonFunction · 0.90

Tested by

no test coverage detected