def _convert_to_python(self, value, state):
        dt_mod = import_datetime(self.datetime_module)
        datetime_class = dt_mod.datetime
        try:
            datetime = datetime_class.strptime(value, r"%Y-%m-%dT%H:%M:%S")
            return datetime
        except __HOLE__:
            raise Invalid(self.message('invalidFormat', state), value, state)
dataset/ETHPy150Open formencode/formencode/formencode/validators.py/ISODateTimeConverter._convert_to_python