![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /lib/python2.7/site-packages/requests_toolbelt/threaded/ |
� ӵ Yc @ s� d Z d d l Z d d l Z d d l m Z d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d � Z d d d g Z d S( sE Module implementing the Pool for :mod:``requests_toolbelt.threaded``.i����Ni ( t threadi ( t queuet Poolc B s} e Z d Z d d d e j d � Z d � Z e d � � Z e d d � � Z d � Z d � Z d � Z d � Z d � Z RS( s> Pool that manages the threads containing sessions. :param queue: The queue you're expected to use to which you should add items. :type queue: queue.Queue :param initializer: Function used to initialize an instance of ``session``. :type initializer: collections.Callable :param auth_generator: Function used to generate new auth credentials for the session. :type auth_generator: collections.Callable :param int num_threads: Number of threads to create. :param session: :type session: requests.Session c C s� | d k r! t j � p d } n | d k r<