def pool(self):
        """Create thread pool on first request
         avoids instantiating unused threadpool for blocking clients.
        """
        if self._pool is None:
            atexit.register(self.close)
            self._pool = ThreadPool(self.pool_threads)
        return self._pool
Create thread pool on first request
         avoids instantiating unused threadpool for blocking clients.
        
lightly/openapi_generated/swagger_client/api_client.py