diff --git a/asyncpg/protocol/settings.pyx b/asyncpg/protocol/settings.pyx index 6121fce4..9ab32f39 100644 --- a/asyncpg/protocol/settings.pyx +++ b/asyncpg/protocol/settings.pyx @@ -107,7 +107,7 @@ cdef class ConnectionSettings(pgproto.CodecContext): except KeyError: raise AttributeError(name) from None - return object.__getattr__(self, name) + return object.__getattribute__(self, name) def __repr__(self): return ''.format(self._settings)