<s> """<STR_LIT>""" <EOL> import requests <EOL> from requests . adapters import HTTPAdapter <EOL> from . . _compat import poolmanager <EOL> class SSLAdapter ( HTTPAdapter ) : <EOL> """<STR_LIT>""" <EOL> __attrs__ = HTTPAdapter . __attrs__ + [ '<STR_LIT>' ] <EOL> def __init__ ( self , ssl_version = None , ** kwargs ) : <EOL> self . ssl_version = ssl_version <EOL> super ( SSLAdapter , self ) . __init__ ( ** kwargs ) <EOL> def init_poolmanager ( self , connections , maxsize , block = False ) : <EOL> self . poolmanager = poolmanager . PoolManager ( <EOL> num_pools = connections , <EOL> maxsize = maxsize , <EOL> block = block , <EOL> ssl_version = self . ssl_version ) <EOL> if requests . __build__ >= <NUM_LIT> : <EOL> def proxy_manager_for ( self , * args , ** kwargs ) : <EOL> kwargs [ '<STR_LIT>' ] = self . ssl_version <EOL> return super ( SSLAdapter , self ) . proxy_manager_for ( * args , ** kwargs ) </s>
