MCPcopy Create free account
hub / github.com/intelowlproject/IntelOwl / to_python

Method to_python

api_app/forms.py:48–58  ·  view source on GitHub ↗

Converts the input value to its Python representation after processing it. Args: value (str): The input value. Returns: any: The Python representation of the input value.

(self, value)

Source from the content-addressed store, hash-verified

46 return value
47
48 def to_python(self, value):
49 """
50 Converts the input value to its Python representation after processing it.
51
52 Args:
53 value (str): The input value.
54
55 Returns:
56 any: The Python representation of the input value.
57 """
58 return super().to_python(self._cleaning_and_multiline(value))
59
60 def has_changed(self, initial, data):
61 """

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected