MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / get_isolation_level

Method get_isolation_level

lib/sqlalchemy/dialects/postgresql/base.py:3621–3626  ·  view source on GitHub ↗
(self, dbapi_connection)

Source from the content-addressed store, hash-verified

3619 cursor.close()
3620
3621 def get_isolation_level(self, dbapi_connection):
3622 cursor = dbapi_connection.cursor()
3623 cursor.execute("show transaction isolation level")
3624 val = cursor.fetchone()[0]
3625 cursor.close()
3626 return val.upper()
3627
3628 def set_readonly(self, connection, value):
3629 raise NotImplementedError()

Callers

nothing calls this directly

Calls 4

cursorMethod · 0.45
executeMethod · 0.45
fetchoneMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected