(self)
| 101 | return con |
| 102 | |
| 103 | def __repr__(self) -> str: |
| 104 | if self._con is None: |
| 105 | return '<{classname} [released] {id:#x}>'.format( |
| 106 | classname=self.__class__.__name__, id=id(self)) |
| 107 | else: |
| 108 | return '<{classname} {con!r} {id:#x}>'.format( |
| 109 | classname=self.__class__.__name__, con=self._con, id=id(self)) |
| 110 | |
| 111 | |
| 112 | class PoolConnectionHolder: |
nothing calls this directly
no outgoing calls
no test coverage detected