MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / get_max_lifetime

Method get_max_lifetime

asyncpg/connection.py:2576–2577  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2574 self._maybe_cleanup()
2575
2576 def get_max_lifetime(self):
2577 return self._max_lifetime
2578
2579 def set_max_lifetime(self, new_lifetime):
2580 assert new_lifetime >= 0

Callers 1

Calls

no outgoing calls

Tested by 1