MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / status

Method status

lib/sqlalchemy/pool/impl.py:229–240  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

227 self.logger.info("Pool disposed. %s", self.status())
228
229 def status(self) -> str:
230 return (
231 "Pool size: %d Connections in pool: %d "
232 "Current Overflow: %d Current Checked out "
233 "connections: %d"
234 % (
235 self.size(),
236 self.checkedin(),
237 self.overflow(),
238 self.checkedout(),
239 )
240 )
241
242 def size(self) -> int:
243 return self._pool.maxsize

Callers 1

disposeMethod · 0.95

Calls 4

sizeMethod · 0.95
checkedinMethod · 0.95
overflowMethod · 0.95
checkedoutMethod · 0.95

Tested by

no test coverage detected