(self)
| 119 | return con |
| 120 | |
| 121 | def __repr__(self) -> str: |
| 122 | if self._con is None: |
| 123 | return '<{classname} [released] {id:#x}>'.format( |
| 124 | classname=self.__class__.__name__, id=id(self)) |
| 125 | else: |
| 126 | return '<{classname} {con!r} {id:#x}>'.format( |
| 127 | classname=self.__class__.__name__, con=self._con, id=id(self)) |
| 128 | |
| 129 | |
| 130 | class PoolConnectionHolder: |
nothing calls this directly
no outgoing calls
no test coverage detected