wmalgadey / PyTado

Python binding for Tado web API. Pythonize your central heating!
GNU General Public License v3.0
76 stars 41 forks source link

A new request is created every api call #27

Closed bdraco closed 4 years ago

bdraco commented 4 years ago

This has to load all the default ssl certs each request which makes this integration expensive cpu wise.

Ideally this could be refactored to take a requests Session() object and reuse it for all requests

Screen Shot 2020-02-29 at 10 46 00 AM