Flask application running on a static IP with a proxy server

Hi, as it's been suggested in the official documentation, I bought a third-party proxy server, so now I have an IP and a port. That IP is static. The documentation says literally: "Do note, though, that you'll need to configure your code to use the proxy."

My question is: what are exactly the changes I should do in my flask application in order to use the proxy?

Many thanks

For example, if you are using requests, you can configure it like this: