MCPcopy Create free account
hub / github.com/pallets/flask / to_python

Method to_python

src/flask/json/tag.py:82–85  ·  view source on GitHub ↗

Convert the JSON representation back to the correct type. The tag will already be removed.

(self, value: t.Any)

Source from the content-addressed store, hash-verified

80 raise NotImplementedError
81
82 def to_python(self, value: t.Any) -> t.Any:
83 """Convert the JSON representation back to the correct type. The tag
84 will already be removed."""
85 raise NotImplementedError
86
87 def tag(self, value: t.Any) -> dict[str, t.Any]:
88 """Convert the value to a valid JSON type and add the tag structure

Callers 1

untagMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected