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

Method connections

pymysql/tests/base.py:62–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60
61 @property
62 def connections(self):
63 if self._connections is None:
64 self._connections = []
65 for params in self.databases:
66 self._connections.append(pymysql.connect(**params))
67 self.addCleanup(self._teardown_connections)
68 return self._connections
69
70 def connect(self, **params):
71 p = self.databases[0].copy()

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected