MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / _get_db

Method _get_db

pymysql/cursors.py:72–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 self.close()
71
72 def _get_db(self):
73 if not self.connection:
74 raise err.ProgrammingError("Cursor closed")
75 return self.connection
76
77 def _check_executed(self):
78 if not self._executed:

Callers 8

_nextsetMethod · 0.95
_mogrifyMethod · 0.95
executemanyMethod · 0.95
_do_execute_manyMethod · 0.95
callprocMethod · 0.95
_queryMethod · 0.95
_do_get_resultMethod · 0.95
_queryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected