code: def get_connection(self):
          
          if not self.open:
              raise exc.ResourceClosedError('Database closed.')
  
          return Connection(self._engine.connect())
docs: Get a connection to this Database. Connections are retrieved from a
          pool.