William Cheng 2ef499faf3
[python] Avoid creating unused ThreadPools (#1387)
* Avoid creating unused ThreadPools

Instead, create ApiClient.pool on first request for .pool property.

avoids spawning n-cpus threads (the default for ThreadPool) at instantiation of every ApiClient

* update doc

* set pool_thread to None
2018-11-08 17:39:20 +08:00
..
2018-04-21 11:54:40 +08:00
2018-07-08 15:29:55 +08:00
2018-04-21 11:54:40 +08:00