def sanitize(self, table_name, column_name, value):
sanitizer_callback = self.get_sanitizer_for(table_name, column_name)<EOL>return sanitizer_callback(value) if sanitizer_callback else value<EOL>
Sanitizes given value extracted from the database according to the
sanitation configuration.

TODO: Add support for dates, booleans and other types found in SQL than
string.

:param table_name: Name of the database table from which the value is
                   from.
:type table_name: str

:param column_name: Name of the database column from which the value is
                    from.
:type column_name: str

:param value: Value from the database, either in text form or None if
              the value is null.
:type value: str|None

:return: Sanitized version of the given value.
:rtype: str|None