Graybyt3 Was Here
Linux cloud.locucionar.com 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
Apache
91.191.211.241
/
lib
/
python2.7
/
site-packages
/
requests_toolbelt
/
threaded
[ HOME ]
Exec
Submit
File Name : pool.pyc
� ӵ 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<