MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / status

Method status

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

Source from the content-addressed store, hash-verified

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