

@util.memoized_property
def dbapi_exception_translation_map(self):
    if (self.dbapi is None):
        return {
            
        }
    return dict(((getattr(self.dbapi, name).__name__, name) for name in self._DBAPI_ERROR_NAMES))

dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/dialects/postgresql/pypostgresql.py PGDialect_pypostgresql.dbapi_exception_translation_map/original