def put(self, conn):
        """
        returns a connection to the pool, will close the connection if the pool is full
        """
        if self.pool.qsize() >= self.size:
            conn.close()
            return

        self.pool.put(conn)
dataset/ETHPy150Open bdeggleston/rexpro-python/rexpro/connection.py/RexProConnectionPool.put/original