index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
|---|---|---|---|---|---|---|
709,794
|
configargparse
|
parse
|
Parses the keys and values from a TOML config file.
|
def parse(self, stream):
"""Parses the keys and values from a TOML config file."""
# parse with configparser to allow multi-line values
import toml
try:
config = toml.load(stream)
except Exception as e:
raise ConfigFileParserException("Couldn't parse TOML file: %s" % e)
# convert to dict and filter based on section names
result = OrderedDict()
for section in self.sections:
data = get_toml_section(config, section)
if data:
# Seems a little weird, but anything that is not a list is converted to string,
# It will be converted back to boolean, int or whatever after.
# Because config values are still passed to argparser for computation.
for key, value in data.items():
if isinstance(value, list):
result[key] = value
elif value is None:
pass
else:
result[key] = str(value)
break
return result
|
(self, stream)
|
[
-0.003990859724581242,
0.03164283186197281,
-0.00939722079783678,
-0.0896073505282402,
-0.050257377326488495,
0.03537331521511078,
-0.035335443913936615,
0.005799292121082544,
0.0010787866776809096,
-0.004303311463445425,
-0.03732377290725708,
0.01293360535055399,
-0.018500925973057747,
0.03524076193571091,
0.02541273459792137,
0.029711313545703888,
0.009032693691551685,
0.026416368782520294,
0.00048465514555573463,
0.02346227876842022,
0.008147413842380047,
-0.041698094457387924,
-0.011305069550871849,
0.07847271114587784,
0.006428929511457682,
-0.028953853994607925,
0.03491884097456932,
-0.05052248761057854,
-0.03624439239501953,
0.005870304070413113,
-0.038819752633571625,
-0.0036713071167469025,
0.023272914811968803,
0.041092127561569214,
-0.03058239072561264,
-0.04601560905575752,
-0.002194262808188796,
0.04438707232475281,
-0.045182403177022934,
0.07487478107213974,
-0.034710537642240524,
-0.007205324713140726,
-0.0030179989989846945,
0.003524549538269639,
-0.03728589788079262,
0.019674986600875854,
-0.033536478877067566,
0.053514447063207626,
-0.02192842587828636,
0.006731912959367037,
0.006135414354503155,
-0.03622545674443245,
-0.036660995334386826,
0.019050084054470062,
-0.05673364922404289,
-0.029181091114878654,
-0.0036902434658259153,
0.029578758403658867,
0.05355232208967209,
0.04287215694785118,
-0.023746326565742493,
0.060975417494773865,
0.059043895453214645,
0.003524549538269639,
-0.04143298417329788,
-0.03457798436284065,
-0.026776161044836044,
-0.03827059641480446,
-0.025564227253198624,
-0.027969157323241234,
-0.0238410085439682,
-0.02851831540465355,
-0.020243080332875252,
-0.01469469629228115,
-0.008710773661732674,
-0.009600787423551083,
-0.07567011564970016,
0.08263873308897018,
-0.03819485008716583,
-0.013927769847214222,
-0.06089967116713524,
0.06498994678258896,
0.02973024919629097,
0.003117415588349104,
0.007328411564230919,
0.009217323735356331,
0.058816660195589066,
0.030885374173521996,
0.029048535972833633,
0.06911809742450714,
-0.01984541490674019,
0.010424523614346981,
0.023689517751336098,
0.009392485953867435,
0.03393414616584778,
0.02105734869837761,
-0.023992501199245453,
-0.015811948105692863,
-0.053855303674936295,
-0.03311987593770027,
0.008862265385687351,
-0.004611029289662838,
-0.013861492276191711,
-0.025223370641469955,
0.0070064920000731945,
-0.05779409036040306,
-0.04934842512011528,
-0.020886920392513275,
0.02264801226556301,
0.031472403556108475,
-0.09278867393732071,
-0.0056762052699923515,
-0.04313726723194122,
0.05752898007631302,
0.008994820527732372,
-0.00703963078558445,
0.030961118638515472,
-0.009122641757130623,
-0.07722290605306625,
-0.025355925783514977,
-0.03082856349647045,
0.06498994678258896,
0.019826479256153107,
0.0491211898624897,
0.023519089445471764,
0.025128688663244247,
0.01143762469291687,
-0.013994047418236732,
0.0641188696026802,
0.01635163649916649,
0.02514762431383133,
-0.023916754871606827,
0.04828798398375511,
-0.05165867507457733,
0.05582469701766968,
-0.07267814874649048,
0.01173113938421011,
0.0047009773552417755,
-0.0026984461583197117,
0.04385685175657272,
0.06896660476922989,
0.01294307317584753,
-0.007664533797651529,
-0.11975420266389847,
-0.05476425588130951,
-0.030752819031476974,
-0.003638168331235647,
-0.0007225445006042719,
-0.007460967171937227,
0.014533736743032932,
0.006239565089344978,
-0.020659683272242546,
-0.0303172804415226,
0.052302513271570206,
0.012838923372328281,
-0.001706648850813508,
0.01395617425441742,
-0.015972908586263657,
0.0014048489974811673,
0.009416157379746437,
-0.008762848563492298,
0.03202155977487564,
0.0056288642808794975,
-0.00191139942035079,
-0.045182403177022934,
-0.008578218519687653,
0.040524035692214966,
-0.07839696109294891,
0.017374206334352493,
-0.03578991815447807,
-0.03151027858257294,
-0.011134641245007515,
-0.032684337347745895,
0.03934997320175171,
0.014060324989259243,
-0.01022569090127945,
0.04597773775458336,
0.05866516754031181,
0.002059340476989746,
0.0016048654215410352,
-0.09846961498260498,
0.008152147755026817,
-0.025583162903785706,
-0.003150554373860359,
0.04586411640048027,
0.06949682533740997,
0.010538142174482346,
-0.002554055768996477,
-0.02829107828438282,
-0.028575124219059944,
0.020621810108423233,
-0.06472483277320862,
-0.007366284728050232,
0.021265650168061256,
0.016635684296488762,
0.025318052619695663,
-0.033763717859983444,
0.01034877821803093,
-0.008900138549506664,
0.02563997358083725,
0.022439710795879364,
-0.01853879913687706,
-0.024731023237109184,
0.01150390226393938,
-0.040751270949840546,
-0.002741053234785795,
-0.002568257972598076,
0.024617403745651245,
-0.04067552462220192,
0.04525814950466156,
-0.014202347956597805,
-0.057831961661577225,
-0.01783815026283264,
0.006296374369412661,
0.03476734831929207,
-0.033157750964164734,
-0.03204049915075302,
0.02262907475233078,
-0.06862574815750122,
-0.03590353578329086,
0.1342216581106186,
0.011200918816030025,
0.0648384541273117,
0.01635163649916649,
0.02611338533461094,
0.028253205120563507,
0.03988019376993179,
-0.02757149189710617,
-0.0027954955585300922,
0.08256298303604126,
0.07763950526714325,
-0.03058239072561264,
0.024276547133922577,
0.0484016016125679,
0.10354458540678024,
0.028253205120563507,
-0.0051270476542413235,
-0.03965295851230621,
-0.02781766653060913,
0.030279407277703285,
-0.006088073365390301,
-0.07116323709487915,
-0.022458646446466446,
-0.03721015155315399,
-0.05972560867667198,
0.008511940948665142,
0.03916060924530029,
-0.011693267151713371,
-0.02721169963479042,
-0.011096768081188202,
0.043629612773656845,
0.030184725299477577,
0.033990953117609024,
0.05010588467121124,
-0.020280953496694565,
-0.05283273756504059,
0.02480676770210266,
-0.0006953232805244625,
0.04344024881720543,
-0.09877260029315948,
0.06786829233169556,
-0.023519089445471764,
0.040524035692214966,
0.0691559687256813,
0.020678618922829628,
0.02300780452787876,
0.023519089445471764,
-0.00697808712720871,
-0.0016486559761688113,
-0.0016486559761688113,
0.018964869901537895,
0.003915113862603903,
-0.03755100816488266,
0.006173287518322468,
-0.0016687759198248386,
0.013132438063621521,
0.06199798360466957,
-0.020034778863191605,
0.011153577826917171,
0.05461276322603226,
-0.0004586174909491092,
-0.009913239628076553,
-0.015215449035167694,
-0.019807541742920876,
0.042796410620212555,
-0.04044828936457634,
-0.012630621902644634,
0.005581522826105356,
0.010623356327414513,
0.02454165741801262,
0.022307155653834343,
-0.02660573273897171,
-0.06415674090385437,
-0.0423419363796711,
0.036528438329696655,
0.019769668579101562,
-0.06487632542848587,
-0.05741535872220993,
0.037853993475437164,
-0.05222677066922188,
0.02249651961028576,
-0.030393024906516075,
0.03660418465733528,
-0.026435304433107376,
0.045333895832300186,
0.03132091090083122,
0.002492512110620737,
0.0061401487328112125,
0.049310553818941116,
-0.0032523376867175102,
0.022098854184150696,
0.0051033771596848965,
0.02514762431383133,
-0.03149133920669556,
-0.06979981064796448,
0.0440840907394886,
-0.04571262374520302,
0.021720124408602715,
0.0020143664442002773,
0.023859946057200432,
-0.07657906413078308,
0.017544634640216827,
-0.01650312915444374,
-0.07139047235250473,
0.055786825716495514,
-0.04571262374520302,
0.05586257204413414,
-0.009558180347084999,
0.051961660385131836,
0.04540964215993881,
-0.013444890268146992,
-0.012327638454735279,
0.03418031707406044,
0.05930900573730469,
-0.018264219164848328,
-0.022932058200240135,
-0.008758114650845528,
0.05828643962740898,
-0.019305726513266563,
-0.0734734833240509,
0.052681244909763336,
-0.028328951448202133,
0.005922379437834024,
-0.007210059091448784,
0.03151027858257294,
0.002497246256098151,
0.0011379631469026208,
0.020621810108423233,
0.040258925408124924,
-0.014723101630806923,
0.03169964253902435,
0.007034896407276392,
0.017241651192307472,
0.0249203871935606,
-0.0033162483014166355,
0.0009787784656509757,
-0.037380579859018326,
-0.0409027636051178,
0.013710000552237034,
-0.0373048335313797,
0.053022101521492004,
-0.0344264917075634,
-0.01395617425441742,
0.03597928211092949,
0.03741845488548279,
0.0021327193826436996,
-0.03393414616584778,
0.016285359859466553,
0.10892254114151001,
0.027779793366789818,
-0.012838923372328281,
-0.01191103644669056,
0.04711392521858215,
-0.03397201746702194,
0.023386534303426743,
0.02622700296342373,
-0.02179587073624134,
0.026302749291062355,
-0.07654119282960892,
0.024636341258883476,
-0.0016155170742422342,
0.06608825922012329,
0.021246712654829025,
0.018131664022803307,
-0.0378161184489727,
-0.026624668389558792,
-0.022837376222014427,
-0.008388853631913662,
0.026700414717197418,
0.049196936190128326,
0.023026740178465843,
0.04559900611639023,
0.031112611293792725,
-0.021625442430377007,
-0.007887037470936775,
0.015433218330144882,
-0.0004775539564434439,
0.023859946057200432,
0.0113808149471879,
-0.01347329467535019,
-0.011324006132781506,
-0.06658060848712921,
-0.026700414717197418,
0.018387306481599808,
0.009032693691551685,
-0.01648419164121151,
0.027722984552383423,
0.006215894594788551,
-0.006855000276118517,
0.0008935644291341305,
0.10490801185369492,
-0.06161925569176674,
0.028442569077014923,
-0.03465373069047928,
-0.03734270855784416,
-0.002658206271007657,
-0.04139511287212372,
0.05502936616539955,
0.016900794580578804,
-0.02020520716905594,
0.03347966820001602,
0.0140792615711689,
-0.016095994040369987,
-0.011873163282871246,
0.029711313545703888,
0.030601326376199722,
-0.018273688852787018,
0.016768239438533783,
-0.04150873050093651,
-0.002176509937271476,
-0.019324662163853645,
0.008914340287446976,
0.00962445791810751,
-0.048212237656116486,
0.017374206334352493,
0.01756357029080391,
-0.03429393842816353,
-0.06593676656484604,
0.05654428154230118,
-0.020148398354649544,
0.008885935880243778,
0.05692301318049431,
0.033157750964164734,
0.017478356137871742,
0.03813803941011429,
-0.019296256825327873,
-0.033290304243564606,
0.012573812156915665,
0.027893412858247757,
-0.03132091090083122,
-0.08877414464950562,
-0.04775776341557503,
-0.003910379949957132,
-0.04514453187584877,
0.02649211324751377,
-0.04961353540420532,
0.01924891583621502,
0.006712976843118668,
-0.0071153766475617886,
0.037986546754837036,
0.04741690680384636,
-0.03455904871225357,
0.011636457405984402,
-0.007465701084583998,
0.009188919328153133,
-0.052416134625673294,
-0.015490028075873852,
0.06328566372394562,
0.0066514331847429276,
-0.0010172432521358132,
0.0027741920202970505,
-0.008270501159131527,
-0.016550470143556595,
0.0455232597887516,
-0.04101638123393059,
-0.012232956476509571,
0.06184649467468262,
0.010273031890392303,
-0.027609365060925484,
-0.005931847728788853,
-0.016711430624127388,
-0.05862729251384735,
0.019693922251462936,
0.007754482328891754,
-0.010718039236962795,
-0.044121962040662766,
0.05491574853658676,
-0.076048843562603,
0.0052596027962863445,
-0.0012521736789494753,
-0.02348121628165245,
-0.040372543036937714,
0.01806538738310337,
-0.03168070688843727,
0.05003013834357262,
-0.04684881493449211,
-0.0025871945545077324,
0.019315194338560104,
0.008876468054950237,
0.018264219164848328,
0.022553328424692154,
0.00656148511916399,
0.032911576330661774,
0.013861492276191711,
0.04260704666376114,
0.06620188057422638,
-0.000507142161950469,
0.00961972400546074,
-0.0498407743871212,
-0.01936253532767296,
-0.03289264068007469,
-0.005273805465549231,
0.007475169375538826,
-0.01756357029080391,
-0.011466029100120068,
-0.018624013289809227,
-0.06336141377687454,
0.06336141377687454,
-0.01878497190773487,
0.006722445134073496,
-0.0017859452636912465,
-0.008952213451266289,
0.02334866113960743,
0.011986781843006611,
-0.011276664212346077,
0.01239391602575779,
-0.008407790213823318,
-0.05067398026585579,
-0.02685190737247467,
-0.026302749291062355,
0.042910028249025345,
-0.0469624325633049,
-0.05116632580757141,
-0.005789823830127716,
-0.02226928249001503,
-0.003280742559581995,
0.0351460799574852,
0.002875975565984845,
-0.028234269469976425,
0.03541119024157524,
0.023784199729561806,
-0.007560383528470993,
0.013208184391260147,
0.022174600511789322,
0.03681248798966408,
0.06589889526367188,
0.009856429882347584,
0.009354613721370697,
0.01927732117474079,
0.00865869875997305,
-0.027988094836473465,
-0.0026132320053875446,
0.03033621609210968,
0.024409102275967598,
-0.03563842549920082,
-0.09589425474405289,
-0.014997679740190506,
-0.04203895106911659,
0.028253205120563507,
-0.022079918533563614,
0.010216223075985909,
0.030620263889431953,
-0.1201329305768013,
0.06775467097759247,
-0.014836720190942287,
-0.009349879808723927,
-0.04999226704239845,
0.025336990132927895,
-0.034483302384614944,
0.08688049763441086,
0.005363753531128168,
-0.03107473812997341,
-0.03336605057120323,
-0.004225198645144701,
0.044235579669475555,
0.019002743065357208,
0.012024655006825924,
0.06820914894342422,
0.006608826108276844,
0.000368965178495273,
-0.045220278203487396,
0.028556188568472862,
0.03228667378425598,
-0.026283813640475273,
0.042304061353206635,
0.015963438898324966,
-0.0074088918045163155,
0.03885762393474579,
-0.0025800932198762894,
0.025431672111153603,
-0.01318924780935049,
-0.01293360535055399,
-0.012838923372328281,
-0.007602990604937077,
-0.006935480050742626,
-0.0979393944144249,
0.0286698080599308,
-0.0394635908305645,
0.005742482841014862,
0.011115704663097858,
-0.12096613645553589,
-0.02611338533461094,
-0.019050084054470062,
-0.01842517964541912,
-0.0071011739782989025,
-0.014382245019078255,
0.056998759508132935,
-0.008696570992469788,
-0.009913239628076553,
0.02130352333188057,
0.049045443534851074,
-0.041849587112665176,
0.04514453187584877,
0.022477583959698677,
0.055294476449489594,
-0.006367386318743229,
0.04272066429257393,
-0.0002059340476989746,
0.02393569052219391,
-0.09551552683115005,
0.047947127372026443,
0.018444117158651352,
-0.007716609165072441,
-0.01179741695523262,
-0.08574431389570236,
-0.014278094284236431,
-0.014533736743032932,
-0.020432446151971817,
-0.004353019874542952,
-0.055786825716495514,
0.027609365060925484,
-0.045220278203487396,
0.042910028249025345,
-0.014164475724101067,
-0.034596920013427734,
-0.00278129312209785,
0.037853993475437164,
-0.03516501560807228,
0.002762356773018837,
-0.007550915237516165,
-0.024465912953019142,
-0.05707450583577156,
-0.01963711343705654,
-0.016825048252940178,
0.003874873975291848,
0.0038559376262128353,
0.03510820493102074,
0.007730811834335327,
0.06089967116713524,
0.023878881707787514,
0.038933370262384415,
0.06461121886968613,
-0.008483536541461945,
0.04010743275284767,
-0.020299889147281647,
-0.018131664022803307,
0.03276008367538452,
0.05548384040594101,
0.006637230981141329,
-0.010112072341144085,
-0.0018202676437795162,
-0.005093908868730068,
-0.017980173230171204,
0.006206426303833723,
0.005160186439752579,
-0.04188745841383934,
-0.03444542735815048,
0.10884679853916168,
0.022610139101743698,
0.022723756730556488,
0.04681093990802765,
-0.035202886909246445,
0.04684881493449211,
0.05260549858212471,
0.016048653051257133,
-0.04866671562194824,
-0.003065340220928192,
-0.0025161828380078077,
-0.03755100816488266,
-0.010310905054211617,
-0.054840002208948135,
0.05063610523939133,
-0.01889859139919281,
-0.0007521326770074666,
-0.030071105808019638,
0.0011196184204891324,
0.03395308181643486,
-0.024636341258883476,
-0.020792238414287567,
-0.008829126134514809,
-0.029200028628110886,
-0.006391056813299656,
0.015508964657783508,
0.023443343117833138,
0.044008344411849976,
-0.01258328091353178,
-0.026776161044836044,
0.030298342928290367,
0.03635801374912262,
-0.00010710937931435183,
0.01035824604332447,
-0.06964831799268723,
0.01372893713414669,
0.0035363847855478525,
-0.014817783609032631,
-0.08279022574424744,
-0.025829337537288666,
0.006196958012878895,
0.021852679550647736,
0.02009158954024315,
-0.034369684755802155,
0.06506568938493729,
0.032438162714242935,
-0.05396892502903938,
0.046167101711034775,
0.03137772157788277,
-0.0016072323778644204,
-0.018595607951283455,
0.005870304070413113,
-0.03934997320175171,
-0.02528017945587635,
0.014988211914896965,
-0.014675759710371494,
0.037607818841934204,
0.008497738279402256,
0.002703180303797126,
-0.046167101711034775,
0.02117096818983555,
-0.0065898895263671875,
0.003773090662434697,
-0.0426449179649353,
0.010992617346346378,
-0.06082392483949661,
0.009103705175220966,
-0.045561134815216064,
0.028953853994607925,
-0.04256917163729668,
0.023424407467246056,
-0.01149443443864584,
0.0031245166901499033,
0.025848273187875748,
-0.0071674520149827,
-0.03984232246875763,
0.024143991991877556,
-0.01948562264442444,
-0.07184494286775589,
0.02035669982433319,
0.021947361528873444,
-0.020546063780784607,
0.026302749291062355,
-0.02202310785651207,
0.027287445962429047,
-0.019959034398198128,
0.015177575871348381,
-0.021114157512784004,
-0.03546799719333649,
0.03272221237421036,
-0.06658060848712921,
-0.0070775034837424755,
-0.000866343267261982,
-0.02671935223042965,
-0.012706367298960686,
0.010036326013505459,
0.05552171543240547,
0.040031686425209045,
-0.02478783205151558,
-0.03236241638660431,
-0.002404931001365185
] |
709,796
|
configargparse
|
YAMLConfigFileParser
|
Parses YAML config files. Depends on the PyYAML module.
https://pypi.python.org/pypi/PyYAML
|
class YAMLConfigFileParser(ConfigFileParser):
"""Parses YAML config files. Depends on the PyYAML module.
https://pypi.python.org/pypi/PyYAML
"""
def get_syntax_description(self):
msg = ("The config file uses YAML syntax and must represent a YAML "
"'mapping' (for details, see http://learn.getgrav.org/advanced/yaml).")
return msg
def _load_yaml(self):
"""lazy-import PyYAML so that configargparse doesn't have to depend
on it unless this parser is used."""
try:
import yaml
except ImportError:
raise ConfigFileParserException("Could not import yaml. "
"It can be installed by running 'pip install PyYAML'")
try:
from yaml import CSafeLoader as SafeLoader
from yaml import CDumper as Dumper
except ImportError:
from yaml import SafeLoader
from yaml import Dumper
return yaml, SafeLoader, Dumper
def parse(self, stream):
# see ConfigFileParser.parse docstring
yaml, SafeLoader, _ = self._load_yaml()
try:
parsed_obj = yaml.load(stream, Loader=SafeLoader)
except Exception as e:
raise ConfigFileParserException("Couldn't parse config file: %s" % e)
if not isinstance(parsed_obj, dict):
raise ConfigFileParserException("The config file doesn't appear to "
"contain 'key: value' pairs (aka. a YAML mapping). "
"yaml.load('%s') returned type '%s' instead of 'dict'." % (
getattr(stream, 'name', 'stream'), type(parsed_obj).__name__))
result = OrderedDict()
for key, value in parsed_obj.items():
if isinstance(value, list):
result[key] = value
elif value is None:
pass
else:
result[key] = str(value)
return result
def serialize(self, items, default_flow_style=False):
# see ConfigFileParser.serialize docstring
# lazy-import so there's no dependency on yaml unless this class is used
yaml, _, Dumper = self._load_yaml()
# it looks like ordering can't be preserved: http://pyyaml.org/ticket/29
items = dict(items)
return yaml.dump(items, default_flow_style=default_flow_style, Dumper=Dumper)
|
()
|
[
0.006875551305711269,
-0.0006770208128727973,
-0.04067777469754219,
-0.0397733673453331,
-0.0162176676094532,
0.027646087110042572,
0.0022507410030812025,
0.034367479383945465,
0.00102131231687963,
-0.03958837687969208,
-0.030194872990250587,
-0.05294894054532051,
-0.029537120833992958,
0.041356079280376434,
0.028817705810070038,
0.035806309431791306,
0.009886816143989563,
0.04768693074584007,
0.013627774082124233,
0.0005649334052577615,
0.013781934976577759,
-0.025323405861854553,
0.026597797870635986,
0.0012371367774903774,
-0.0019796756096184254,
0.0023663612082600594,
0.023494036868214607,
-0.03821121156215668,
-0.035374660044908524,
-0.002887937007471919,
-0.049742404371500015,
-0.006772777531296015,
0.028427166864275932,
0.018201198428869247,
0.011325646191835403,
-0.052126750349998474,
-0.002702944679185748,
0.057388756424188614,
-0.04805691912770271,
0.007137623615562916,
-0.014193029142916203,
-0.02626892179250717,
0.01566269062459469,
-0.03447025269269943,
0.0037615124601870775,
0.08813860267400742,
-0.0351896658539772,
0.07625798135995865,
-0.05747097730636597,
-0.0351896658539772,
0.044768162071704865,
-0.0619519017636776,
0.0033478487748652697,
0.050811249762773514,
-0.0169062502682209,
0.043041568249464035,
0.012075893580913544,
-0.006351406220346689,
0.061705246567726135,
-0.0017548585310578346,
0.005426444113254547,
0.025200076401233673,
0.05085235834121704,
-0.03736846521496773,
-0.008067724294960499,
-0.016042953357100487,
-0.03453191742300987,
-0.0719003826379776,
-0.032866984605789185,
-0.012014229781925678,
-0.006942354142665863,
-0.033339742571115494,
0.019681137055158615,
-0.021027470007538795,
0.036998480558395386,
0.009372948668897152,
-0.07658685743808746,
0.0604308545589447,
0.03804677352309227,
0.012271163053810596,
-0.03451136127114296,
0.006577508058398962,
0.025446733459830284,
-0.013977204449474812,
0.04246603697538376,
-0.04505592957139015,
0.03611462935805321,
0.026227813214063644,
0.03923894464969635,
0.019958626478910446,
-0.0056217135861516,
0.030174316838383675,
0.035929638892412186,
0.03231200948357582,
-0.013226957060396671,
0.005729625932872295,
-0.02051360346376896,
0.0006917945574969053,
-0.030112653970718384,
-0.033771391957998276,
-0.01929059810936451,
0.021972987800836563,
-0.02702944725751877,
-0.030832068994641304,
-0.02762553282082081,
-0.052784502506256104,
-0.03810843825340271,
0.01039554551243782,
-0.03231200948357582,
-0.024788983166217804,
-0.0566076785326004,
-0.06667948514223099,
-0.008905328810214996,
0.041787728667259216,
0.034840237349271774,
-0.04254825413227081,
-0.003537979908287525,
-0.02230186201632023,
0.023822911083698273,
-0.02242519147694111,
-0.035395216196775436,
0.038498975336551666,
-0.022815730422735214,
0.013987481594085693,
0.0019282889552414417,
-0.02123301848769188,
0.002376638585701585,
-0.03037986531853676,
0.017635943368077278,
0.029105473309755325,
0.037532903254032135,
-0.00026624774909578264,
-0.022630738094449043,
-0.03183924779295921,
0.09183845669031143,
-0.08789195120334625,
0.01091455202549696,
0.05405889451503754,
-0.03547743335366249,
0.04719362035393715,
0.062116339802742004,
-0.03504578396677971,
0.016299886628985405,
-0.04337044432759285,
-0.027604978531599045,
-0.036628495901823044,
0.017903154715895653,
-0.020616376772522926,
0.0007174879428930581,
0.03438803181052208,
0.016597930341959,
-0.020708872005343437,
-0.029290465638041496,
0.028447721153497696,
0.06803609430789948,
0.00900296401232481,
-0.03545687720179558,
-0.030708739534020424,
-0.026453914120793343,
-0.02655668742954731,
-0.05636101961135864,
-0.018468409776687622,
0.021520784124732018,
-0.016947360709309578,
-0.0017188878264278173,
0.004861189518123865,
0.04043111950159073,
-0.066391721367836,
0.038786742836236954,
-0.006413070019334555,
-0.05138678103685379,
-0.014665787108242512,
-0.07638131082057953,
0.024439552798867226,
0.041664402931928635,
0.0003748023300431669,
-0.012630870565772057,
0.04051333665847778,
-0.0036022132262587547,
-0.019393371418118477,
-0.03654627874493599,
-0.01017972081899643,
0.0012442023726180196,
-0.059197571128606796,
0.03003043495118618,
0.06857051700353622,
0.02351459115743637,
0.08004005253314972,
0.015117990784347057,
-0.025508398190140724,
0.01959891803562641,
-0.028756042942404747,
-0.0162176676094532,
0.021109689027071,
0.02031833305954933,
0.005493246950209141,
-0.06552842259407043,
0.00260659446939826,
0.09455167502164841,
-0.014367744326591492,
0.02135634608566761,
-0.03276421129703522,
0.032270897179841995,
-0.0285299401730299,
-0.007466499228030443,
0.00916226301342249,
-0.01982502080500126,
-0.03321641683578491,
-0.04406930133700371,
0.02517952211201191,
-0.04300045967102051,
-0.05175676569342613,
-0.026577243581414223,
-0.05352447181940079,
0.045425914227962494,
-0.06417181342840195,
0.05689544230699539,
0.035271886736154556,
-0.07268146425485611,
-0.011027603410184383,
0.14799392223358154,
0.08789195120334625,
0.010678173042833805,
0.004223993513733149,
0.02129468135535717,
-0.0018306541023775935,
0.04406930133700371,
-0.018211474642157555,
0.009999867528676987,
0.09800487011671066,
0.031674809753894806,
-0.06548731029033661,
-0.028036627918481827,
0.03237367048859596,
0.09603161364793777,
-0.004324197769165039,
0.04571368172764778,
-0.05747097730636597,
-0.023370707407593727,
0.050153497606515884,
-0.01495355274528265,
-0.018560905009508133,
-0.022240199148654938,
-0.0014208444627001882,
-0.032866984605789185,
-0.02900269813835621,
-0.004902299027889967,
-0.023350153118371964,
-0.006813887041062117,
0.052373405545949936,
0.035621315240859985,
0.013052241876721382,
-0.02072942815721035,
0.05167454481124878,
-0.009593912400305271,
-0.028427166864275932,
-0.030770404264330864,
-0.05253784358501434,
0.030955396592617035,
-0.03597074747085571,
0.024686209857463837,
-0.021685222163796425,
0.008324658498167992,
0.04756360501050949,
0.041787728667259216,
0.023124052211642265,
0.03003043495118618,
-0.06421291828155518,
0.01910560578107834,
0.01702957972884178,
0.12908358871936798,
0.023226825520396233,
-0.003946504555642605,
0.0034223597031086683,
-0.017481783404946327,
0.007718294393271208,
0.05525106564164162,
-0.030914288014173508,
0.05035904422402382,
0.023535145446658134,
0.010277356021106243,
-0.04102720692753792,
-0.014799392782151699,
-0.018242307007312775,
0.0751069188117981,
0.005971143953502178,
-0.10047143697738647,
0.010893997736275196,
-0.011438697576522827,
0.043699316680431366,
0.015611303970217705,
-0.029681004583835602,
0.0028571051079779863,
-0.03664905205368996,
0.02567283622920513,
-0.005647407379001379,
-0.09512721002101898,
-0.012445878237485886,
0.027111666277050972,
-0.053154487162828445,
-0.005385334603488445,
-0.0342647060751915,
0.02035944163799286,
0.011849791742861271,
0.03810843825340271,
0.014789115637540817,
-0.009511693380773067,
-0.023905130103230476,
-0.011150931008160114,
-0.0179750956594944,
0.01816008798778057,
-0.006418209057301283,
0.012260885909199715,
0.00793925765901804,
-0.026947228237986565,
0.027502205222845078,
-0.016639038920402527,
0.002537222346290946,
0.0408422127366066,
0.00228671170771122,
-0.056443240493535995,
0.024480663239955902,
-0.028571050614118576,
-0.02357625588774681,
0.09167401492595673,
0.011644244194030762,
0.049495745450258255,
0.012014229781925678,
0.07074932008981705,
0.03958837687969208,
0.004475788678973913,
-0.03923894464969635,
-0.0380878821015358,
0.05122234299778938,
0.010873442515730858,
-0.033956386148929596,
-0.022034650668501854,
0.010102640837430954,
0.020143618807196617,
-0.09660714864730835,
0.0414588563144207,
-0.0010046116076409817,
0.0008247578516602516,
-0.06565175205469131,
-0.0123533820733428,
-0.0014709465904161334,
0.01956808567047119,
0.019907237961888313,
-0.025981156155467033,
0.05023571848869324,
0.04162329062819481,
0.015498252585530281,
-0.00757955014705658,
0.014850779436528683,
-0.04846801236271858,
-0.03745068609714508,
0.0049331309273839,
-0.024007903411984444,
0.015302983112633228,
-0.018118979409337044,
0.023185715079307556,
-0.047769151628017426,
-0.016166280955076218,
0.0028776596300303936,
0.03833453729748726,
0.005806706380099058,
-0.057388756424188614,
-0.04090387746691704,
0.07654574513435364,
0.013535277917981148,
-0.015066604129970074,
0.02404901385307312,
0.022692402824759483,
-0.1031024381518364,
0.02483009174466133,
-0.0029470319859683514,
-0.012939191423356533,
0.050276827067136765,
-0.020020289346575737,
-0.0012634724844247103,
0.019331706687808037,
0.060389745980501175,
0.022589629516005516,
-0.008725475519895554,
-0.018273139372467995,
-0.03864285722374916,
0.021274127066135406,
0.006361683364957571,
0.0008722905768081546,
0.014521904289722443,
-0.023905130103230476,
0.028982143849134445,
-0.01618683524429798,
0.0076360758394002914,
-0.057512085884809494,
-0.05270228162407875,
-0.0037101255729794502,
0.03899228945374489,
0.016166280955076218,
-0.012158112600445747,
0.019496144726872444,
-0.0370190367102623,
-0.003062652191147208,
0.0006924368790350854,
0.011592857539653778,
0.019814742729067802,
0.01501521747559309,
0.05089346691966057,
-0.01080150157213211,
0.05331892520189285,
0.08509650826454163,
-0.023679029196500778,
0.0257756095379591,
-0.031140388920903206,
0.01252809725701809,
-0.015426311641931534,
-0.021335791796445847,
0.028221620246767998,
0.01232254970818758,
-0.02304183319211006,
-0.01045721024274826,
0.000799706787802279,
0.007964950986206532,
0.012045061215758324,
0.024871202185750008,
-0.0038745631463825703,
-0.05525106564164162,
0.01826286129653454,
-0.07498358935117722,
-0.028756042942404747,
-0.00988167803734541,
0.012106725946068764,
0.02170577645301819,
-0.043699316680431366,
0.041417744010686874,
-0.05463442578911781,
-0.00038764902274124324,
-0.045302584767341614,
0.030174316838383675,
0.023884575814008713,
0.012579483911395073,
0.045302584767341614,
0.055785488337278366,
0.029681004583835602,
0.032990314066410065,
0.020945250988006592,
-0.08945410698652267,
0.06022530794143677,
0.06898161768913269,
0.011952565051615238,
-0.05792317911982536,
0.011068712919950485,
0.011253705248236656,
-0.06273297965526581,
-0.019424203783273697,
-0.04055444896221161,
0.06828275322914124,
-0.0007875023875385523,
-0.006228077691048384,
0.009403781034052372,
0.06881717592477798,
-0.037594567984342575,
0.026536133140325546,
0.009547663852572441,
-0.015765463933348656,
-0.012600038200616837,
-0.004146913066506386,
0.07605243474245071,
-0.025323405861854553,
-0.001061779330484569,
0.013658606447279453,
0.014131364412605762,
-0.03171592205762863,
0.004470650106668472,
-0.06388404220342636,
0.009403781034052372,
0.06795387715101242,
-0.007625798229128122,
-0.030914288014173508,
-0.022527964785695076,
-0.0005360283539630473,
-0.04020501673221588,
-0.0059043411165475845,
0.02123301848769188,
-0.005313393194228411,
-0.06857051700353622,
0.08386322855949402,
-0.04809802770614624,
-0.03691626340150833,
0.020112786442041397,
-0.028139401227235794,
-0.04760471358895302,
-0.003286184510216117,
0.003938796930015087,
0.021561892703175545,
-0.015302983112633228,
-0.002088872715830803,
0.009588773362338543,
0.008144804276525974,
-0.08748085796833038,
0.03989669680595398,
-0.021438565105199814,
0.0365668348968029,
-0.01863284595310688,
0.048303574323654175,
0.012158112600445747,
-0.003342709969729185,
0.026597797870635986,
-0.01149008423089981,
-0.04287713021039963,
-0.04431596025824547,
-0.02949601225554943,
0.033113639801740646,
-0.029804332181811333,
0.003322155447676778,
0.012014229781925678,
-0.042137160897254944,
0.047522496432065964,
0.05426444113254547,
0.0016585083212703466,
-0.00975321140140295,
-0.03632017597556114,
0.008602146990597248,
0.050523482263088226,
-0.02427511475980282,
0.027604978531599045,
0.011767572723329067,
-0.025138413533568382,
-0.023637918755412102,
0.02129468135535717,
0.03985558822751045,
0.0071992878802120686,
0.009141708724200726,
-0.039095062762498856,
-0.0010977501515299082,
0.04641253873705864,
0.024624545127153397,
0.035271886736154556,
-0.00601225346326828,
0.0013071512803435326,
0.04158218204975128,
0.04744027554988861,
0.04744027554988861,
0.03960892930626869,
-0.0318186953663826,
0.032928649336099625,
-0.023288488388061523,
0.024624545127153397,
0.00969154667109251,
0.0002760433708317578,
-0.011037880554795265,
0.01740984059870243,
0.02345292642712593,
-0.00635654479265213,
0.008391461335122585,
-0.0855076014995575,
0.016680149361491203,
-0.035333551466464996,
0.02996877022087574,
0.020534157752990723,
0.0024691347498446703,
0.08526095002889633,
-0.08715198189020157,
-0.011500361375510693,
0.01641293801367283,
0.00020281720208004117,
-0.0009320277604274452,
0.00825271662324667,
-0.004252255894243717,
0.058950915932655334,
0.013134460896253586,
-0.038910068571567535,
0.008067724294960499,
-0.02924935519695282,
0.005041043274104595,
0.06244521588087082,
0.028098290786147118,
0.0566076785326004,
0.0008523782016709447,
-0.022034650668501854,
-0.014059423469007015,
-0.0059403120540082455,
0.04850912094116211,
-0.033463072031736374,
-0.034367479383945465,
-0.02374069206416607,
0.02495342120528221,
0.02489175647497177,
-0.005976282525807619,
0.0460425540804863,
-0.02972211316227913,
0.006495289038866758,
0.010339019820094109,
-0.01969141513109207,
0.000826684816274792,
-0.06137637048959732,
0.038067325949668884,
-0.021130243316292763,
0.03459358215332031,
-0.013812766410410404,
-0.024480663239955902,
-0.053976673632860184,
0.00949113816022873,
0.019300874322652817,
0.018612291663885117,
-0.012127280235290527,
0.0351896658539772,
-0.04427485167980194,
-0.0013058665208518505,
0.042507145553827286,
-0.00952197052538395,
-0.003555965144187212,
0.03541576862335205,
-0.03858119621872902,
-0.01021055318415165,
-0.0047943866811692715,
-0.03276421129703522,
0.006664865650236607,
0.020708872005343437,
-0.0651584342122078,
0.04308267682790756,
0.0025192368775606155,
-0.018108701333403587,
0.0011606989428400993,
-0.054881080985069275,
0.0019488437101244926,
-0.040472228080034256,
-0.003080637427046895,
-0.026721125468611717,
-0.03455246984958649,
0.052620064467191696,
-0.032085906714200974,
0.026412805542349815,
-0.035210222005844116,
-0.0532367043197155,
-0.020770536735653877,
0.035333551466464996,
-0.008895051665604115,
-0.0159093476831913,
0.009650437161326408,
0.05504551902413368,
-0.1109132245182991,
-0.047234728932380676,
0.006443902384489775,
-0.026392251253128052,
0.011479807086288929,
-0.008026614785194397,
-0.005405889358371496,
0.08041003346443176,
-0.024007903411984444,
0.06293852627277374,
0.035559650510549545,
-0.02072942815721035,
-0.0068549965508282185,
-0.04563146084547043,
-0.006890967488288879,
0.023350153118371964,
0.024069568142294884,
-0.014357466250658035,
-0.014193029142916203,
0.0013977204216644168,
-0.015292705968022346,
-0.033339742571115494,
0.00913143064826727,
0.009814875200390816,
-0.027851635590195656,
0.0006718821823596954,
0.09710045903921127,
0.024747872725129128,
0.02633058652281761,
0.017656497657299042,
-0.04768693074584007,
-0.0030138345900923014,
0.01130509190261364,
-0.0024858354590833187,
-0.08419210463762283,
-0.028427166864275932,
0.009136569686233997,
-0.024439552798867226,
0.023494036868214607,
0.009593912400305271,
0.06367849558591843,
-0.06910493969917297,
0.031017061322927475,
-0.038067325949668884,
0.010863165371119976,
0.0394650474190712,
-0.02643335983157158,
-0.006690558977425098,
-0.014357466250658035,
0.02589893713593483,
0.07185927778482437,
0.0077850972302258015,
-0.005765596870332956,
-0.03810843825340271,
-0.012507542036473751,
0.02883826196193695,
-0.01756400242447853,
-0.02536451444029808,
-0.0204211063683033,
0.016371827572584152,
-0.07983450591564178,
0.019239211454987526,
0.03601185604929924,
-0.018365634605288506,
-0.020945250988006592,
-0.05890980362892151,
0.033894721418619156,
0.01116120908409357,
0.01216838974505663,
-0.02213742583990097,
0.08082112669944763,
0.05594992637634277,
-0.04912576079368591,
0.030482638627290726,
-0.016947360709309578,
0.025755055248737335,
-0.012517820112407207,
-0.026412805542349815,
-0.009414058178663254,
-0.061705246567726135,
0.03331919014453888,
-0.022466300055384636,
-0.04661808907985687,
-0.02164411172270775,
-0.025857828557491302,
-0.03677238151431084,
-0.03410026803612709,
-0.0019154422916471958,
0.002370215253904462,
-0.001978391082957387,
0.01970169134438038,
-0.0394650474190712,
0.03755345940589905,
-0.021150799468159676,
-0.003625337267294526,
-0.041417744010686874,
0.003640753449872136,
0.01997918076813221,
0.009768626652657986,
0.039567820727825165,
0.005431582685559988,
-0.0195064228028059,
0.028488831594586372,
-0.017050134018063545,
-0.05340114235877991,
0.05969088524580002,
0.057388756424188614,
-0.036340732127428055,
0.03134593740105629,
-0.02912602759897709,
0.023247379809617996,
-0.05438776686787605,
0.047234728932380676,
-0.04822135344147682,
-0.038190655410289764,
0.04809802770614624,
-0.008458264172077179,
-0.013638051226735115,
-0.04744027554988861,
-0.017738716676831245,
-0.031202053651213646,
-0.01077066920697689,
0.030605966225266457,
0.06339073181152344,
0.02571394480764866,
-0.02104802615940571,
0.031017061322927475
] |
709,797
|
configargparse
|
_load_yaml
|
lazy-import PyYAML so that configargparse doesn't have to depend
on it unless this parser is used.
|
def _load_yaml(self):
"""lazy-import PyYAML so that configargparse doesn't have to depend
on it unless this parser is used."""
try:
import yaml
except ImportError:
raise ConfigFileParserException("Could not import yaml. "
"It can be installed by running 'pip install PyYAML'")
try:
from yaml import CSafeLoader as SafeLoader
from yaml import CDumper as Dumper
except ImportError:
from yaml import SafeLoader
from yaml import Dumper
return yaml, SafeLoader, Dumper
|
(self)
|
[
0.015093189664185047,
-0.029832402244210243,
-0.007463016547262669,
0.0061651007272303104,
-0.042909886687994,
0.030265040695667267,
0.09612444043159485,
0.05242794007062912,
-0.03234957158565521,
-0.010904460214078426,
0.00012344642891548574,
-0.03315585479140282,
-0.04766891524195671,
0.020019371062517166,
0.024168768897652626,
0.016391105949878693,
-0.024817725643515587,
0.09085411578416824,
0.02112063206732273,
-0.054551802575588226,
0.010766803286969662,
-0.0031120486091822386,
0.010953623801469803,
0.009296814911067486,
-0.0288098007440567,
0.05120868608355522,
0.039507776498794556,
-0.030835336074233055,
-0.0306386835873127,
0.010068681091070175,
0.0008972335490398109,
0.03744290769100189,
0.03567302227020264,
0.028062516823410988,
0.002583540976047516,
0.0022824148181825876,
0.0009082953329198062,
-0.002353701740503311,
-0.027334896847605705,
-0.04145465046167374,
0.005422732327133417,
-0.01688273996114731,
0.06458114832639694,
-0.03872115910053253,
-0.0027851113118231297,
0.01983254961669445,
-0.0345914252102375,
0.03258555755019188,
-0.023834457620978355,
-0.05199529975652695,
0.04224126413464546,
-0.015909302979707718,
0.02552567981183529,
0.06768828630447388,
-0.01469988189637661,
0.06792426854372025,
0.004997468087822199,
0.022221894934773445,
0.03189726918935776,
0.05341120809316635,
0.02210390195250511,
0.0029448927380144596,
-0.013510124757885933,
0.017000732943415642,
-0.015142353251576424,
-0.030619017779827118,
-0.02623363398015499,
-0.05470912531018257,
-0.013510124757885933,
-0.01037349458783865,
-0.03740357980132103,
0.014355736784636974,
-0.019380245357751846,
-0.024739064276218414,
0.08456119149923325,
-0.04955679178237915,
-0.07170002162456512,
0.031543292105197906,
0.020275020971894264,
0.013254474848508835,
-0.0036085997708141804,
0.002821984002366662,
-0.04790489748120308,
0.013598619028925896,
-0.0023770544212311506,
-0.030579686164855957,
0.03254622593522072,
0.04924214631319046,
0.031228644773364067,
0.03126797452569008,
-0.006430583540350199,
0.025368357077240944,
0.010024433955550194,
0.04892749711871147,
0.01984238252043724,
0.018780451267957687,
0.0007300777360796928,
0.04420780390501022,
-0.024463748559355736,
-0.0027974022086709738,
-0.036636628210544586,
-0.023578805848956108,
-0.002112800721079111,
-0.00567346578463912,
-0.032428234815597534,
-0.06033342704176903,
0.029222775250673294,
0.031798940151929855,
-0.015280010178685188,
-0.04471910372376442,
-0.03887848183512688,
-0.10918226093053818,
-0.03583034500479698,
0.059546809643507004,
0.0007964484393596649,
-0.08597709983587265,
0.007551510818302631,
-0.02776753529906273,
0.021828586235642433,
0.005412899423390627,
-0.08786498010158539,
0.04542705789208412,
-0.0230281762778759,
-0.0031808773055672646,
0.04766891524195671,
-0.0008290192345157266,
0.011523920111358166,
-0.04224126413464546,
0.03260522335767746,
0.03006838634610176,
0.09864161163568497,
0.014906368218362331,
-0.003097299486398697,
-0.032113585621118546,
0.00796448439359665,
-0.09832696616649628,
0.0407860241830349,
0.09746169298887253,
-0.0018079871078953147,
0.011445258744060993,
-0.014522893354296684,
0.0035151890479028225,
0.0018350270111113787,
-0.02967507764697075,
-0.0005730618722736835,
-0.019980039447546005,
-0.0013925556559115648,
0.011759905144572258,
-0.007492514792829752,
0.0694975033402443,
0.043027881532907486,
-0.061238035559654236,
-0.021454943343997,
0.011602582409977913,
0.04255590960383415,
-0.022851187735795975,
-0.0239917803555727,
-0.03545670583844185,
-0.02273319475352764,
-0.05746227875351906,
-0.05439447611570358,
-0.004341135732829571,
0.006705899257212877,
-0.030501024797558784,
0.012762839905917645,
0.021494274958968163,
0.007723583374172449,
-0.05848487839102745,
0.05683298781514168,
-0.0021656514145433903,
-0.055731724947690964,
0.0024065524339675903,
-0.03706926479935646,
0.022851187735795975,
0.03610566258430481,
-0.03032403625547886,
-0.0032693715766072273,
0.04051071032881737,
-0.015309508889913559,
-0.016548428684473038,
0.004220684990286827,
0.04001907631754875,
0.0025909156538546085,
-0.057383619248867035,
0.022516874596476555,
0.06536776572465897,
0.037226591259241104,
0.056361015886068344,
-0.021238625049591064,
0.005068755242973566,
-0.019999705255031586,
0.028023185208439827,
0.013333136215806007,
0.000531580182723701,
0.002449570456519723,
0.0018534633563831449,
-0.07826826721429825,
0.01819048821926117,
0.049045491963624954,
0.008721602149307728,
0.016705751419067383,
0.015191515907645226,
0.009350894950330257,
0.0008449973538517952,
-0.007497431244701147,
-0.018446138128638268,
-0.09470853209495544,
0.03447343409061432,
-0.05581038445234299,
-0.018377309665083885,
-0.04762958362698555,
-0.05852421000599861,
-0.043932490050792694,
-0.008510199375450611,
0.022792190313339233,
-0.04853419214487076,
0.04578103497624397,
-0.014503227546811104,
-0.08888757973909378,
-0.008898590691387653,
0.1145312488079071,
0.08385323733091354,
-0.018131492659449577,
0.0036430140025913715,
0.035987671464681625,
0.008505282923579216,
-0.021907247602939606,
0.0055898879654705524,
0.006705899257212877,
0.02719723805785179,
0.014876870438456535,
-0.010452156886458397,
-0.03032403625547886,
0.00028130729333497584,
0.04526973515748978,
-0.020235689356923103,
0.027039915323257446,
-0.003679886693134904,
-0.0017293255077674985,
-0.007595757953822613,
0.020589666441082954,
0.013510124757885933,
-0.056400347501039505,
-0.0019640810787677765,
-0.021985908970236778,
-0.008859260007739067,
-0.05754094198346138,
-0.029557086527347565,
0.005599720869213343,
0.05046140030026436,
0.016145287081599236,
-0.0005540110287256539,
0.009370559826493263,
0.005968446843326092,
-0.048730846494436264,
-0.05553507059812546,
0.022143233567476273,
-0.011130612343549728,
0.029871731996536255,
-0.028613146394491196,
0.03325418010354042,
0.02336248755455017,
0.018770618364214897,
0.040707364678382874,
-0.02751188538968563,
0.018760785460472107,
0.07327325642108917,
-0.0707167536020279,
0.011681243777275085,
0.02072732523083687,
0.12672379612922668,
0.006032359320670366,
0.032152917236089706,
-0.025486350059509277,
-0.011386263184249401,
0.006509245373308659,
0.03282153978943825,
-0.028593482449650764,
0.09148340672254562,
0.044876426458358765,
0.0331755168735981,
-0.01309715211391449,
0.01041282620280981,
0.01634194143116474,
0.032093923538923264,
-0.019419575110077858,
-0.08204402029514313,
-0.018977103754878044,
-0.03687261417508125,
0.03616466000676155,
0.018947606906294823,
-0.028868798166513443,
0.030186379328370094,
-0.031798940151929855,
0.011169943027198315,
0.00990152545273304,
-0.06347989290952682,
0.0037683809641748667,
0.05266392230987549,
-0.045859698206186295,
0.00064895796822384,
-0.03384414315223694,
0.033136188983917236,
0.04515174403786659,
0.0644238293170929,
-0.04062870144844055,
-0.00006809910701122135,
-0.03132697194814682,
-0.01633210852742195,
-0.03527971729636192,
-0.0007958338828757405,
0.0083184614777565,
0.023775460198521614,
0.022615201771259308,
-0.005285074468702078,
-0.01183856651186943,
0.00010078513878397644,
0.016145287081599236,
0.007438435219228268,
-0.008097225800156593,
-0.057068970054388046,
0.003379989415407181,
-0.013903433457016945,
0.016361607238650322,
0.07571176439523697,
0.03040269762277603,
0.03730525076389313,
-0.0045672873966395855,
0.042359258979558945,
0.0492028146982193,
-0.008859260007739067,
-0.0121237151324749,
-0.012340034358203411,
0.07299794256687164,
0.04255590960383415,
0.0007196305086836219,
-0.044876426458358765,
-0.026469619944691658,
-0.007664586883038282,
-0.06741296499967575,
0.06265394389629364,
0.011189608834683895,
-0.002728573279455304,
-0.08833694458007812,
0.013008657842874527,
-0.024168768897652626,
0.03000939078629017,
-0.0097638675943017,
0.001766198081895709,
0.0033480331767350435,
0.012281037867069244,
0.03349016606807709,
-0.026312297210097313,
0.0019444157369434834,
-0.009704872034490108,
-0.013372467830777168,
-0.030540356412529945,
0.024778395891189575,
0.004198561422526836,
-0.02263486757874489,
0.056125033646821976,
-0.05148399993777275,
-0.03860316798090935,
0.013972261920571327,
-0.004301804583519697,
0.008397122845053673,
-0.03490607440471649,
-0.05266392230987549,
0.023500144481658936,
0.009518050588667393,
-0.02210390195250511,
0.02875080518424511,
-0.02615497261285782,
-0.07468916475772858,
0.001725638285279274,
0.004213310312479734,
-0.015358672477304935,
0.07103139907121658,
-0.0032275826670229435,
0.017344877123832703,
0.024503080174326897,
0.02908511646091938,
-0.0019100012723356485,
-0.027885528281331062,
0.005211329087615013,
-0.06068740412592888,
-0.0220645722001791,
0.0006944342167116702,
0.00017176491382997483,
-0.026744935661554337,
0.0126055171713233,
0.006440416444092989,
-0.0004987021093256772,
0.005988112185150385,
0.0019112303853034973,
-0.032762546092271805,
-0.009999852627515793,
0.044561780989170074,
0.03227091208100319,
0.012880832888185978,
0.01917375810444355,
-0.010275168344378471,
0.05852421000599861,
-0.018711620941758156,
-0.0467643067240715,
0.06599705666303635,
-0.011415760964155197,
0.03347050026059151,
-0.03419812023639679,
0.03518138825893402,
0.06878954917192459,
-0.022241560742259026,
-0.002750696847215295,
-0.04538772627711296,
-0.006445332895964384,
-0.032152917236089706,
0.05372585356235504,
0.051641322672367096,
0.024758730083703995,
-0.03938978165388107,
-0.015879804268479347,
-0.027590546756982803,
-0.03799353912472725,
-0.024719400331377983,
-0.014581888914108276,
0.01793483830988407,
-0.06855355948209763,
0.011455091647803783,
-0.04047137871384621,
-0.07166069000959396,
-0.0014884244883432984,
0.02235955186188221,
0.019665393978357315,
-0.0612773671746254,
0.030265040695667267,
-0.023893453180789948,
0.0032546226866543293,
0.0017440745141357183,
0.03832785040140152,
-0.02009803242981434,
0.016371440142393112,
0.011238772422075272,
0.049045491963624954,
0.02401144616305828,
0.047747574746608734,
0.014955531805753708,
-0.06808159500360489,
0.08786498010158539,
0.04802289232611656,
-0.004877017345279455,
-0.03227091208100319,
0.014139417558908463,
0.0626932755112648,
-0.03008805215358734,
-0.009798281826078892,
-0.02623363398015499,
0.04444378986954689,
0.02263486757874489,
0.009886776097118855,
0.039507776498794556,
0.057029642164707184,
-0.03034370206296444,
0.010658643208444118,
0.003564352635294199,
0.02747255377471447,
-0.005516143050044775,
0.0027531550731509924,
0.036321982741355896,
-0.017030229791998863,
0.0022111276630312204,
0.0001091582962544635,
-0.04416847229003906,
0.016813911497592926,
-0.005811123643070459,
-0.04251658171415329,
0.0011725490912795067,
0.09659641236066818,
-0.012212209403514862,
0.020353682339191437,
-0.005108085926622152,
0.012300703674554825,
-0.03333284333348274,
-0.0001657731190789491,
0.024837391451001167,
-0.016105957329273224,
-0.06788493692874908,
0.019989872351288795,
-0.020550336688756943,
-0.030815672129392624,
0.030855001881718636,
-0.01593880169093609,
0.015122687444090843,
0.008588860742747784,
-0.03746257349848747,
0.025624006986618042,
-0.03262488916516304,
0.028219839558005333,
0.009036248549818993,
0.03551569953560829,
-0.06934017688035965,
0.010098179802298546,
0.010078513994812965,
0.05522042512893677,
-0.017108893021941185,
0.04660698398947716,
0.007246697321534157,
0.01570281572639942,
0.0025933736469596624,
-0.0011491964105516672,
-0.022831521928310394,
-0.01984238252043724,
-0.024227764457464218,
-0.012812003493309021,
-0.023185499012470245,
0.029832402244210243,
0.014306573197245598,
-0.007364689838141203,
0.06556442379951477,
0.049320805817842484,
0.00940989051014185,
0.017993835732340813,
-0.028062516823410988,
0.0339818000793457,
-0.024090107530355453,
-0.056203693151474,
0.018396975472569466,
-0.011946726590394974,
0.018623126670718193,
-0.023067506030201912,
-0.005398150533437729,
0.05616436153650284,
-0.016459934413433075,
-0.009970354847609997,
-0.04888816922903061,
0.009341062046587467,
0.02776753529906273,
-0.03964543342590332,
0.021612267941236496,
0.005796374753117561,
-0.02525036595761776,
0.05006809160113335,
-0.016361607238650322,
0.02171059511601925,
0.09848429262638092,
-0.0019911210983991623,
0.01661725714802742,
-0.05400117114186287,
0.06080539524555206,
-0.054866448044776917,
0.02527002990245819,
-0.008839594200253487,
0.017040062695741653,
-0.0401763990521431,
-0.03376547992229462,
0.0012567415833473206,
-0.08149339258670807,
0.007295860908925533,
-0.02654828131198883,
0.022831521928310394,
0.010914293117821217,
0.020511005073785782,
-0.004073194693773985,
-0.09494452178478241,
0.01199589017778635,
-0.019685057923197746,
-0.05781625583767891,
-0.02615497261285782,
0.03262488916516304,
-0.02173025906085968,
0.010186674073338509,
-0.0011178547283634543,
-0.05647901073098183,
0.026725269854068756,
-0.024129437282681465,
-0.011887730099260807,
0.0822800025343895,
0.014375402592122555,
0.02975374087691307,
-0.014109919779002666,
0.042634572833776474,
0.0061552682891488075,
-0.005963530391454697,
0.03679395094513893,
-0.02210390195250511,
-0.021356618031859398,
-0.04794422909617424,
0.023559141904115677,
0.024660402908921242,
0.024758730083703995,
0.042949218302965164,
-0.058366887271404266,
0.03282153978943825,
0.04892749711871147,
-0.02877047099173069,
-0.0057177129201591015,
-0.043303195387125015,
0.026646608486771584,
-0.003738882951438427,
0.02137628197669983,
-0.0434211902320385,
0.03710859641432762,
0.0022701239213347435,
0.039448779076337814,
-0.039743758738040924,
0.009513134136795998,
0.02552567981183529,
0.022615201771259308,
-0.022241560742259026,
-0.01921308971941471,
0.03547636792063713,
-0.03427677974104881,
-0.025977984070777893,
0.04259524121880531,
-0.03415878862142563,
-0.0030948412604629993,
0.02593865431845188,
-0.0025442102923989296,
-0.04318520426750183,
0.0016899947077035904,
-0.052624594420194626,
-0.03258555755019188,
0.018711620941758156,
0.01087496243417263,
-0.019242586567997932,
-0.017187554389238358,
0.001975142862647772,
-0.029950393363833427,
-0.04597768932580948,
-0.005058922339230776,
-0.015919135883450508,
0.04161197319626808,
0.002630246337503195,
0.04593835771083832,
-0.03878015652298927,
-0.04062870144844055,
-0.01884927973151207,
0.10532784461975098,
-0.01888860948383808,
0.009498384781181812,
0.02717757411301136,
0.026449954137206078,
-0.08149339258670807,
-0.05085470899939537,
0.022457879036664963,
-0.00647483067587018,
0.017954504117369652,
-0.047747574746608734,
0.023264160379767418,
0.05903550982475281,
-0.01149442233145237,
0.054866448044776917,
-0.012281037867069244,
-0.03030437044799328,
-0.010747137479484081,
-0.07622306793928146,
-0.01858379691839218,
0.03960610181093216,
0.020511005073785782,
0.0017453036271035671,
-0.02365746907889843,
-0.003023554338142276,
0.0008167283958755434,
-0.07480715960264206,
0.07126738876104355,
0.016764746978878975,
-0.03647930547595024,
-0.0006606343085877597,
0.03349016606807709,
0.019655561074614525,
-0.008372541517019272,
-0.018367476761341095,
-0.025466684252023697,
-0.0088002635166049,
0.010806133970618248,
0.012517022900283337,
-0.0641091838479042,
-0.028632812201976776,
-0.03040269762277603,
-0.01149442233145237,
0.04228059574961662,
-0.004041238222271204,
0.026056645438075066,
-0.07150337100028992,
0.021159963682293892,
-0.06599705666303635,
0.041415318846702576,
0.059625472873449326,
-0.0038691661320626736,
0.04090401902794838,
-0.035653356462717056,
0.004085485357791185,
0.07594774663448334,
0.003264455357566476,
0.02015702798962593,
-0.015624155290424824,
-0.0569116473197937,
0.0006809142651036382,
-0.03421778604388237,
0.0013335595140233636,
0.0031808773055672646,
0.015830641612410545,
-0.08637040853500366,
-0.05439447611570358,
0.017128556966781616,
-0.05679365620017052,
-0.02239888347685337,
-0.0593501552939415,
0.08802229911088943,
0.007472849451005459,
0.03447343409061432,
-0.018052831292152405,
0.002401636214926839,
0.04062870144844055,
-0.0401763990521431,
0.04322453588247299,
-0.019891545176506042,
-0.010452156886458397,
0.010108011774718761,
-0.021848252043128014,
-0.012379365041851997,
-0.05120868608355522,
-0.019606396555900574,
-0.015604489482939243,
-0.06438449770212173,
-0.01980305090546608,
0.030422363430261612,
-0.054473139345645905,
-0.0370299369096756,
0.025132372975349426,
0.02137628197669983,
-0.012694011442363262,
-0.013362634927034378,
-0.006386336404830217,
0.04180862754583359,
-0.019950540736317635,
-0.02747255377471447,
-0.007423685863614082,
0.02849515527486801,
0.05388317629694939,
-0.04001907631754875,
0.040137067437171936,
0.002288560150191188,
0.01038332749158144,
0.057383619248867035,
-0.024680068716406822,
-0.04912415146827698,
0.07956618070602417,
-0.002059950027614832,
-0.026351626962423325,
-0.0054817283526062965,
-0.05230994522571564,
0.07048077136278152,
-0.002647453686222434,
0.04912415146827698,
-0.05022541433572769,
-0.06800293177366257,
0.01783651113510132,
-0.02202524058520794,
-0.01566348597407341,
-0.072840616106987,
-0.022929849103093147,
-0.008333210833370686,
-0.013264307752251625,
-0.0012008181074634194,
0.09541648626327515,
-0.018672291189432144,
0.0041420236229896545,
0.030186379328370094
] |
709,798
|
configargparse
|
get_syntax_description
| null |
def get_syntax_description(self):
msg = ("The config file uses YAML syntax and must represent a YAML "
"'mapping' (for details, see http://learn.getgrav.org/advanced/yaml).")
return msg
|
(self)
|
[
0.0574437752366066,
-0.0409570038318634,
0.08822650462388992,
-0.029743026942014694,
0.025417106226086617,
-0.007022659294307232,
-0.011826659552752972,
-0.007602852303534746,
0.043296340852975845,
-0.022613612934947014,
-0.038877591490745544,
-0.002110743196681142,
-0.011724545620381832,
0.00831765029579401,
0.01780497096478939,
0.00390818202868104,
-0.024822987616062164,
0.004694923758506775,
-0.016319675371050835,
-0.025287143886089325,
-0.022743575274944305,
-0.01696949265897274,
0.017582176253199577,
-0.07329929620027542,
0.0025250010658055544,
0.04400185868144035,
0.03022574819624424,
-0.05024009570479393,
-0.0005970188649371266,
-0.04507869482040405,
-0.10894636809825897,
-0.026326850056648254,
-0.007575003430247307,
0.012522891163825989,
0.007157264277338982,
0.018956074491143227,
-0.0003150449483655393,
0.03932317718863487,
-0.04407612234354019,
-0.05532722920179367,
0.005746234208345413,
0.02034853771328926,
-0.06397907435894012,
-0.009041732177138329,
-0.0240617748349905,
0.009162412025034428,
-0.022984936833381653,
0.04793788865208626,
-0.06631840765476227,
-0.0071062068454921246,
0.021406810730695724,
-0.004170428961515427,
-0.02942740172147751,
0.03999156132340431,
-0.06041436269879341,
-0.026828136295080185,
-0.005736950784921646,
0.018464069813489914,
0.047677960246801376,
0.0276450477540493,
0.0016523904632776976,
0.0828794464468956,
0.002331216586753726,
-0.021128317341208458,
0.03605553135275841,
-0.0034579518251121044,
0.0016477488679811358,
-0.05016582831740379,
0.007955609820783138,
0.02701379731297493,
0.02992868982255459,
-0.019494494423270226,
-0.030912697315216064,
0.029501667246222496,
0.017934933304786682,
-0.058966200798749924,
-0.06501878052949905,
0.039248913526535034,
0.0513540655374527,
0.0042307693511247635,
-0.07333642989397049,
-0.013952487148344517,
0.03902611881494522,
-0.029613064602017403,
0.03640828654170036,
-0.02439596690237522,
0.03477446362376213,
0.018417654559016228,
-0.001043187454342842,
-0.06145406886935234,
0.008591501973569393,
-0.010322798043489456,
0.028833284974098206,
0.03674247860908508,
-0.05291362479329109,
0.027329422533512115,
-0.01930883154273033,
-0.0052263811230659485,
0.03664964810013771,
-0.043630532920360565,
0.055512890219688416,
0.002508755773305893,
0.031413983553647995,
-0.031154057011008263,
-0.011603864841163158,
-0.022854972630739212,
-0.020627031102776527,
0.010332081466913223,
-0.03042997606098652,
-0.03605553135275841,
-0.0072733028791844845,
-0.009143846109509468,
-0.003065741155296564,
0.006836997345089912,
0.03444027155637741,
-0.007310435175895691,
0.03137684985995293,
-0.033957552164793015,
-0.03330773487687111,
0.024340268224477768,
-0.008582218550145626,
0.010164986364543438,
-0.07370775192975998,
-0.044298917055130005,
0.007384699769318104,
-0.004316637758165598,
-0.021276846528053284,
-0.006242879666388035,
-0.003666821401566267,
-0.012495041824877262,
-0.007630701642483473,
0.02092408947646618,
-0.006642052438110113,
-0.004281826317310333,
0.0012857082765549421,
-0.0397687666118145,
0.06223385035991669,
-0.01811131276190281,
0.040622811764478683,
0.062308114022016525,
0.0009399130940437317,
0.002710663015022874,
-0.033827587962150574,
-0.04400185868144035,
0.003133043646812439,
-0.04548715054988861,
0.006688467692583799,
-0.0026712098624557257,
0.05261656641960144,
0.00007212527270894498,
0.03323347121477127,
-0.037336595356464386,
-0.004581206012517214,
-0.024785855785012245,
-0.0006532976403832436,
0.026215452700853348,
0.027904974296689034,
0.0024530570954084396,
-0.009208827279508114,
-0.014342376962304115,
0.028610490262508392,
-0.038877591490745544,
-0.004513903521001339,
0.030467107892036438,
0.01382252387702465,
0.013516182079911232,
0.02084982581436634,
-0.03573990613222122,
0.050425756722688675,
-0.012727119028568268,
-0.06145406886935234,
-0.01657032035291195,
-0.035461410880088806,
0.012160850688815117,
0.08421621471643448,
0.04441031441092491,
0.009626566432416439,
0.09617283195257187,
0.005156757775694132,
-0.020812692120671272,
-0.0185104850679636,
0.06297649443149567,
-0.04541288688778877,
0.012457909993827343,
-0.001886788522824645,
0.03150681406259537,
0.024693025276064873,
0.0320081003010273,
-0.020162876695394516,
0.008976750075817108,
-0.0005540845450013876,
-0.007175830192863941,
0.0030564581975340843,
0.025547070428729057,
0.017526477575302124,
0.00137621839530766,
0.015604877844452858,
-0.016087599098682404,
0.06791510432958603,
-0.021870965138077736,
0.022038061171770096,
-0.0057508754543960094,
-0.02881471812725067,
0.03551711142063141,
0.014593021012842655,
0.02042280323803425,
-0.002508755773305893,
0.0028058146126568317,
-0.029910122975707054,
-0.0006736043724231422,
-0.04103126749396324,
-0.00875395629554987,
0.009570867754518986,
-0.004727414809167385,
0.046378329396247864,
-0.028777586296200752,
0.014899362809956074,
0.018566183745861053,
-0.11139710247516632,
0.05904046446084976,
0.12357652187347412,
0.0038083884865045547,
0.06475885212421417,
-0.06936326622962952,
0.0475294329226017,
0.0364268533885479,
0.03076416812837124,
-0.021406810730695724,
-0.010248533450067043,
0.016950925812125206,
-0.005625553894788027,
-0.03217519819736481,
-0.044670239090919495,
0.055475760251283646,
0.06635554134845734,
0.011789526790380478,
0.006089708302170038,
-0.05432465672492981,
0.018250558525323868,
0.06423899531364441,
-0.03676104545593262,
-0.0007049348205327988,
-0.017628591507673264,
0.03122832253575325,
-0.007138697896152735,
-0.04374193027615547,
-0.012903498485684395,
0.009682265110313892,
0.004372336436063051,
0.04014009237289429,
0.008029874414205551,
-0.01613401435315609,
0.00041193721699528396,
0.01930883154273033,
0.011984472163021564,
-0.03631545603275299,
0.006098991725593805,
-0.07489598542451859,
0.04177391529083252,
-0.05425038933753967,
-0.0012787459418177605,
0.012625005096197128,
-0.07872062176465988,
0.0420338399708271,
0.05031435936689377,
0.02868475392460823,
0.007667833939194679,
0.0036041606217622757,
0.004493016749620438,
-0.01444449182599783,
0.18551331758499146,
0.05770369991660118,
-0.050425756722688675,
-0.036166928708553314,
0.00755643704906106,
-0.013117008842527866,
0.06375627964735031,
0.02209375984966755,
0.037745051085948944,
0.01734081655740738,
0.017832819372415543,
-0.02467445842921734,
0.04047428071498871,
0.03284357860684395,
0.07641841471195221,
-0.007212962489575148,
-0.043630532920360565,
-0.0058994051069021225,
-0.003490442642942071,
0.04400185868144035,
-0.02654964290559292,
-0.0053888349793851376,
-0.04574707895517349,
-0.006488881539553404,
0.0657985582947731,
0.029743026942014694,
-0.008011308498680592,
0.013553314842283726,
-0.019086036831140518,
-0.04444744437932968,
-0.01667243428528309,
-0.005314570385962725,
0.03327060118317604,
0.021870965138077736,
-0.03781931847333908,
0.025881260633468628,
0.02580699697136879,
-0.04819781333208084,
0.022706443443894386,
-0.02881471812725067,
-0.007491455413401127,
0.0016523904632776976,
0.06319928914308548,
0.051465462893247604,
-0.011529600247740746,
0.052430905401706696,
0.005453816615045071,
0.04047428071498871,
0.02008861117064953,
0.01971728727221489,
-0.0348672941327095,
-0.00867040827870369,
0.03741086274385452,
-0.06338495016098022,
0.04043715074658394,
-0.03317777067422867,
-0.01667243428528309,
-0.057889364659786224,
0.08028018474578857,
0.034328874200582504,
-0.014165998436510563,
-0.06539010256528854,
-0.0053656273521482944,
-0.004035824444144964,
-0.019494494423270226,
-0.03789358213543892,
0.004423393402248621,
0.015809105709195137,
-0.022502215579152107,
-0.024581627920269966,
0.018185578286647797,
-0.02142537757754326,
0.017563611268997192,
-0.010916916653513908,
0.07162833958864212,
0.019661588594317436,
-0.04689818248152733,
-0.024321701377630234,
-0.018566183745861053,
0.023152031004428864,
0.007672475650906563,
0.02901894599199295,
0.012671421281993389,
-0.009543018415570259,
-0.021945230662822723,
-0.02309633418917656,
-0.0066142030991613865,
0.033994682133197784,
-0.02576986327767372,
0.08310224115848541,
0.012365078553557396,
-0.025287143886089325,
0.03022574819624424,
0.041625384241342545,
-0.0007530908333137631,
0.04184817895293236,
-0.04994303733110428,
0.004882906563580036,
0.06995738297700882,
-0.0018821469275280833,
-0.01023925095796585,
0.006600278429687023,
-0.03806067630648613,
-0.012327946722507477,
-0.009932908229529858,
-0.017099454998970032,
-0.014212413690984249,
0.03221232816576958,
-0.04403898864984512,
-0.022112324833869934,
0.006758091039955616,
0.04541288688778877,
-0.008271235041320324,
0.04986876994371414,
-0.03085699863731861,
0.010202118195593357,
-0.01019283477216959,
-0.015252120792865753,
-0.029371703043580055,
0.009626566432416439,
-0.0409570038318634,
-0.004873623605817556,
0.015001476742327213,
-0.013711127452552319,
-0.032416556030511856,
-0.02614118717610836,
-0.03627832606434822,
0.011046879924833775,
0.002599265892058611,
-0.016254695132374763,
0.025379974395036697,
-0.0420338399708271,
-0.05640406906604767,
-0.024785855785012245,
0.02513861283659935,
-0.010062871500849724,
-0.00654457975178957,
0.09104856848716736,
-0.03059707209467888,
0.050722815096378326,
0.04656399041414261,
-0.05090847611427307,
-0.009009241126477718,
-0.028331996873021126,
-0.01576269045472145,
-0.005671969149261713,
-0.003107515163719654,
0.014490907080471516,
-0.03772648796439171,
-0.0331406407058239,
0.004653149750083685,
-0.046749651432037354,
0.05543862655758858,
-0.015447065234184265,
0.029408836737275124,
0.029631629586219788,
-0.05666399374604225,
-0.009241318330168724,
0.015289252623915672,
-0.01233722921460867,
-0.05191105231642723,
0.005152116063982248,
0.07155407220125198,
-0.018185578286647797,
0.03085699863731861,
-0.1203831359744072,
-0.018668297678232193,
-0.036965273320674896,
0.0027153044939041138,
-0.003936030901968479,
0.05707244947552681,
0.012392927892506123,
0.0707000270485878,
0.035461410880088806,
0.05224524438381195,
0.02276214212179184,
-0.0668753981590271,
-0.011269673705101013,
0.09090004116296768,
0.02614118717610836,
-0.06175113096833229,
0.026661040261387825,
0.01871471293270588,
-0.023170597851276398,
0.10857504606246948,
-0.030207181349396706,
-0.003696991363540292,
-0.013794674538075924,
-0.04485590010881424,
-0.03676104545593262,
0.01102831307798624,
-0.01917886920273304,
-0.026066923514008522,
0.06899194419384003,
0.04032575339078903,
-0.06490737944841385,
-0.005704460199922323,
0.03635258972644806,
-0.00006922431202838197,
0.008391914889216423,
-0.05012869834899902,
-0.0053238533437252045,
-0.007157264277338982,
-0.009487319737672806,
-0.044298917055130005,
-0.03572133928537369,
0.0435933992266655,
0.06271657347679138,
-0.008795729838311672,
0.00569981848821044,
-0.021648170426487923,
-0.06561289727687836,
-0.04797501862049103,
-0.003021646523848176,
-0.015874087810516357,
-0.05982024595141411,
-0.00551415653899312,
-0.03156251460313797,
-0.02801637165248394,
-0.031116925179958344,
0.0017475420609116554,
-0.03267648443579674,
0.0287218876183033,
-0.0441875196993351,
0.0017150512430816889,
-0.039545971900224686,
-0.004757584538310766,
-0.011780244298279285,
-0.03464449942111969,
-0.004602092783898115,
0.005147474817931652,
-0.02734798938035965,
-0.015976201742887497,
-0.043333474546670914,
0.04582134261727333,
-0.07389341294765472,
0.04715810716152191,
-0.019104603677988052,
0.024730157107114792,
-0.01321912370622158,
-0.028926115483045578,
-0.0012984725181013346,
0.027830710634589195,
0.011900924146175385,
0.003030929481610656,
0.023783281445503235,
0.020571332424879074,
0.05944892391562462,
0.06219671666622162,
0.025120047852396965,
-0.017591459676623344,
-0.050054434686899185,
-0.021648170426487923,
0.04236803203821182,
0.015948351472616196,
0.011251107789576054,
0.013571880757808685,
-0.05491877347230911,
-0.06817502528429031,
0.03605553135275841,
0.02677243761718273,
-0.06969745457172394,
0.03455166891217232,
-0.028443394228816032,
-0.07103422284126282,
0.0761956200003624,
-0.01444449182599783,
0.018928224220871925,
-0.04106840118765831,
0.03182243928313255,
0.03221232816576958,
-0.04244229570031166,
-0.0026131905615329742,
-0.0035693489480763674,
0.0038617663085460663,
0.0563669353723526,
-0.03408751264214516,
-0.03568420559167862,
0.024952951818704605,
0.0029427402187138796,
0.031284019351005554,
0.04110553115606308,
-0.02838769555091858,
-0.0386919267475605,
0.024860121309757233,
0.0380978100001812,
0.020738428458571434,
0.005319211632013321,
-0.009004599414765835,
0.028424827381968498,
-0.018287692219018936,
-0.03165534511208534,
-0.032119497656822205,
0.026215452700853348,
0.010452762246131897,
0.0326022207736969,
-0.03145111724734306,
-0.004910755902528763,
-0.018315540626645088,
0.05150259658694267,
0.011390354484319687,
-0.03059707209467888,
0.09379636496305466,
-0.009877210482954979,
-0.027700746431946754,
0.020404236391186714,
0.054101862013339996,
0.07370775192975998,
0.005337778013199568,
0.01390607189387083,
-0.04552428424358368,
0.05272796377539635,
0.044633105397224426,
0.04983163997530937,
-0.00068926956737414,
0.0010838010348379612,
-0.013451200909912586,
-0.0030077218543738127,
0.009728680364787579,
0.028777586296200752,
-0.046749651432037354,
0.0033442338462918997,
0.02939026989042759,
-0.004163466859608889,
-0.019772985950112343,
-0.012708553113043308,
0.0932765081524849,
-0.04953458160161972,
0.01934596337378025,
0.037707921117544174,
-0.030207181349396706,
0.007431115489453077,
0.033790454268455505,
0.01767500676214695,
0.008442972786724567,
0.01046204473823309,
0.08785518258810043,
-0.04756656289100647,
-0.011288239620625973,
0.01321912370622158,
0.009190261363983154,
-0.006739525124430656,
-0.011715262196958065,
-0.08688974380493164,
-0.005969028454273939,
-0.034124646335840225,
0.05725811421871185,
0.030801299959421158,
0.010211401619017124,
-0.02914891019463539,
-0.034161780029535294,
0.002415924798697233,
-0.009942191652953625,
-0.023003501817584038,
-0.016022616997361183,
0.0009416536777280271,
-0.054436054080724716,
-0.015883371233940125,
-0.03327060118317604,
-0.04340773820877075,
0.00423541059717536,
0.015911219641566277,
0.007347567472606897,
-0.077383853495121,
-0.04448457807302475,
0.023987509310245514,
0.044670239090919495,
0.013525465503334999,
-0.0005427707801572978,
0.020905524492263794,
-0.022817840799689293,
-0.08050297200679779,
-0.015846237540245056,
0.005709101911634207,
0.0016071352874860168,
0.02396894432604313,
-0.03180387243628502,
-0.013553314842283726,
0.02205662615597248,
0.004256297834217548,
0.046007003635168076,
0.02784927561879158,
-0.009867927059531212,
0.012634288519620895,
-0.010480610653758049,
0.03557280823588371,
-0.0386919267475605,
0.027607915922999382,
-0.04552428424358368,
-0.050685685127973557,
-0.01307059358805418,
-0.0667639970779419,
-0.07849782705307007,
-0.01102831307798624,
0.04864340275526047,
0.010072154924273491,
0.021573906764388084,
0.06531583517789841,
0.011000464670360088,
0.028239166364073753,
0.0320081003010273,
-0.03388328477740288,
0.013079877011477947,
-0.03438457474112511,
-0.002687455154955387,
-0.008294442668557167,
0.010211401619017124,
-0.02838769555091858,
0.0114646190777421,
-0.003181779757142067,
-0.016551753506064415,
0.01203088741749525,
-0.049051858484745026,
0.021870965138077736,
-0.030411409214138985,
0.10493607074022293,
0.013311954215168953,
-0.010656990110874176,
0.009426980279386044,
0.022112324833869934,
-0.029538799077272415,
0.006980885285884142,
-0.01884467713534832,
0.01767500676214695,
0.020125743001699448,
-0.02922317385673523,
0.03572133928537369,
-0.03135828673839569,
-0.0025435672141611576,
-0.025361407548189163,
0.0020167517941445112,
-0.008684332482516766,
0.0011087493039667606,
0.023244863376021385,
-0.012281530536711216,
-0.032453689724206924,
-0.0046276212669909,
-0.004330562427639961,
-0.01657032035291195,
-0.013581164181232452,
0.01025781687349081,
0.05904046446084976,
0.03713236749172211,
-0.05967171490192413,
0.0032954977359622717,
-0.09914342314004898,
0.021295413374900818,
0.001579286064952612,
0.00041512827738188207,
-0.07300223410129547,
-0.0431106798350811,
0.012940630316734314,
-0.030968395993113518,
-0.009719397872686386,
0.01640322431921959,
0.015391366556286812,
-0.038580529391765594,
-0.0663926750421524,
0.00031446473440155387,
-0.022502215579152107,
0.0003910502709913999,
0.029668763279914856,
-0.05985737964510918,
-0.006256804335862398,
-0.012912780977785587,
0.004966454114764929,
-0.031952403485774994,
0.03806067630648613,
0.0375593900680542,
0.000048192301619565114,
0.023152031004428864,
0.051094140857458115,
0.011520317755639553,
-0.0023637074045836926,
0.012290813960134983,
-0.060562893748283386,
-0.01619899645447731,
0.04712097719311714,
-0.0431106798350811,
0.036668214946985245,
-0.0012416135286912322,
0.01538208406418562,
-0.04374193027615547,
0.026215452700853348,
-0.06371914595365524,
-0.07901768386363983,
0.10285665839910507,
-0.029241740703582764,
-0.0003571089473553002,
-0.008758597075939178,
0.0044187516905367374,
-0.001031003426760435,
0.06598421931266785,
0.03726233169436455,
0.004790075588971376,
-0.022465083748102188,
-0.06780370324850082,
0.011102578602731228
] |
709,799
|
configargparse
|
parse
| null |
def parse(self, stream):
# see ConfigFileParser.parse docstring
yaml, SafeLoader, _ = self._load_yaml()
try:
parsed_obj = yaml.load(stream, Loader=SafeLoader)
except Exception as e:
raise ConfigFileParserException("Couldn't parse config file: %s" % e)
if not isinstance(parsed_obj, dict):
raise ConfigFileParserException("The config file doesn't appear to "
"contain 'key: value' pairs (aka. a YAML mapping). "
"yaml.load('%s') returned type '%s' instead of 'dict'." % (
getattr(stream, 'name', 'stream'), type(parsed_obj).__name__))
result = OrderedDict()
for key, value in parsed_obj.items():
if isinstance(value, list):
result[key] = value
elif value is None:
pass
else:
result[key] = str(value)
return result
|
(self, stream)
|
[
-0.005255064461380243,
0.03686724230647087,
-0.01813712902367115,
-0.07598373293876648,
-0.047602295875549316,
0.0368058979511261,
-0.013239899650216103,
0.05226437747478485,
0.023555776104331017,
0.012698035687208176,
-0.0628562942147255,
-0.017063623294234276,
-0.021367870271205902,
0.018863024190068245,
0.03275725245475769,
0.049319904297590256,
-0.010249421000480652,
0.02369890920817852,
-0.026029950007796288,
0.020396603271365166,
-0.013556839898228645,
-0.01967070810496807,
-0.008552259765565395,
0.03114188089966774,
0.001718886662274599,
0.0002484078868292272,
0.0196809321641922,
-0.02412831224501133,
-0.037603359669446945,
0.022533388808369637,
0.003212848212569952,
0.02200174890458584,
0.009482631459832191,
0.0068959943018853664,
-0.00042556822882033885,
0.012544677592813969,
0.006062749773263931,
0.041958726942539215,
-0.05345034599304199,
0.07377538084983826,
-0.044780511409044266,
-0.008265991695225239,
-0.03719440475106239,
-0.016317281872034073,
-0.02241070382297039,
0.044780511409044266,
-0.0028652369510382414,
0.05161004886031151,
-0.01685914769768715,
0.012769602239131927,
0.001224307343363762,
-0.06645509600639343,
-0.04927901178598404,
-0.0013112102169543505,
-0.020918019115924835,
-0.030508000403642654,
0.016409296542406082,
-0.013628406450152397,
0.0401797741651535,
0.03390232473611832,
-0.016992056742310524,
0.030671583488583565,
0.0494425930082798,
-0.041958726942539215,
-0.009728004224598408,
-0.040936339646577835,
0.01112356036901474,
-0.04428976774215698,
-0.03651963174343109,
-0.032286953181028366,
0.005260176490992308,
0.002880572807043791,
-0.037869181483983994,
-0.04052738472819328,
-0.055045269429683685,
0.012370871379971504,
-0.04457603394985199,
0.10019383579492569,
-0.02907666005194187,
-0.02746129035949707,
-0.06048436090350151,
0.04813393950462341,
0.011236023157835007,
0.0008255767752416432,
0.01634795404970646,
-0.025089355185627937,
0.02934248186647892,
0.022022197023034096,
-0.008879423141479492,
0.06805001944303513,
-0.0003399433917365968,
-0.000013019447578699328,
0.0475613996386528,
0.02746129035949707,
0.02060108073055744,
0.04134529456496239,
-0.028708601370453835,
-0.0047566513530910015,
-0.009906921535730362,
-0.014190719462931156,
0.0019029161194339395,
-0.015254000201821327,
0.016961384564638138,
-0.016808027401566505,
-0.014548554085195065,
-0.02958785369992256,
0.0015233552549034357,
-0.02294234372675419,
-0.03637649863958359,
0.03731709346175194,
-0.03106009028851986,
-0.03089650720357895,
-0.030569344758987427,
0.07062643021345139,
0.010643038898706436,
-0.02582547254860401,
0.020826004445552826,
-0.012125499546527863,
-0.02549831010401249,
-0.01561183575540781,
-0.07430702447891235,
0.05999361723661423,
0.01077594980597496,
0.036417391151189804,
0.006901106331497431,
-0.003959190100431442,
-0.007504314184188843,
-0.04392170533537865,
0.04302200675010681,
0.029874121770262718,
0.026070846244692802,
-0.03582441061735153,
0.004549618344753981,
-0.03388187661767006,
0.05758078396320343,
-0.08367207646369934,
0.0252529364079237,
0.012779826298356056,
-0.01014207024127245,
0.03240963816642761,
0.08448998630046844,
0.023146821185946465,
0.003202624386176467,
-0.09250549226999283,
-0.03519053012132645,
-0.017431683838367462,
0.03218471631407738,
-0.0036908139009028673,
-0.004475495312362909,
0.03155083581805229,
0.007253829389810562,
-0.03504739701747894,
0.02130652591586113,
0.05492258071899414,
-0.0024562824983149767,
-0.03326844424009323,
0.006967561319470406,
-0.012544677592813969,
-0.009620653465390205,
0.016562655568122864,
-0.027829349040985107,
0.02592771127820015,
0.002380881691351533,
-0.016572879627346992,
-0.035292766988277435,
-0.011440500617027283,
0.03692858666181564,
-0.0698494166135788,
0.04600737616419792,
-0.06915419548749924,
-0.05234616994857788,
-0.015029075555503368,
-0.005357303190976381,
0.018167801201343536,
0.013536391779780388,
-0.02635711431503296,
0.029751434922218323,
0.059584662318229675,
0.012800274416804314,
-0.03351381793618202,
-0.07553388178348541,
-0.0015131314285099506,
0.013597735203802586,
-0.02746129035949707,
0.016143476590514183,
0.08588043600320816,
0.0017917316872626543,
0.02926068939268589,
-0.00975867547094822,
-0.052059900015592575,
0.020151229575276375,
-0.026152636855840683,
-0.02533472701907158,
0.0013291019713506103,
0.059830036014318466,
0.006098533049225807,
-0.047029759734869,
0.0005051226471550763,
0.025539204478263855,
0.02206309139728546,
-0.003432661294937134,
-0.010295428335666656,
-0.033493369817733765,
-0.017319221049547195,
-0.026561591774225235,
0.019016381353139877,
-0.018607426434755325,
0.024107864126563072,
-0.011103113181889057,
0.01245266292244196,
-0.03629470616579056,
-0.029976360499858856,
-0.04220409691333771,
-0.03629470616579056,
0.02985367365181446,
-0.03856440261006355,
0.03044665791094303,
-0.03234829753637314,
-0.042122308164834976,
-0.028892630711197853,
0.10657352954149246,
0.059830036014318466,
0.013505720533430576,
-0.041713353246450424,
-0.005104262847453356,
0.02208353951573372,
0.013280795887112617,
-0.022553836926817894,
0.007642336189746857,
0.07459329068660736,
0.02402607351541519,
-0.039136938750743866,
-0.030528448522090912,
0.017135191708803177,
0.14951373636722565,
0.054186463356018066,
0.01266736350953579,
-0.013505720533430576,
-0.022819656878709793,
0.03355471044778824,
0.010939531028270721,
-0.09634966403245926,
-0.06747747957706451,
-0.050178710371255875,
-0.08686192333698273,
-0.02308547869324684,
0.005566892214119434,
-0.00575092202052474,
-0.009160579182207584,
0.016051461920142174,
0.05463631451129913,
0.020488617941737175,
0.02850412391126156,
0.020652199164032936,
-0.0349247083067894,
-0.026070846244692802,
0.0055873398669064045,
-0.03903470188379288,
0.05897122994065285,
-0.09046072512865067,
0.05529063940048218,
-0.023371746763586998,
0.02026369236409664,
0.05345034599304199,
0.01701250486075878,
0.05725362151861191,
0.017585041001439095,
-0.008204648271203041,
0.047356925904750824,
0.017431683838367462,
0.08052312582731247,
-0.002472896361723542,
-0.0024473366793245077,
0.009615541435778141,
0.027134127914905548,
0.013812435790896416,
0.08260879665613174,
-0.019640037789940834,
0.034781575202941895,
0.0741434395313263,
0.015877656638622284,
-0.02856546826660633,
0.006967561319470406,
-0.016634222120046616,
0.09692220389842987,
-0.013761317357420921,
-0.017094295471906662,
0.022022197023034096,
0.00025655500940047204,
0.02617308497428894,
0.038707539439201355,
-0.020498842000961304,
-0.06158853694796562,
-0.02907666005194187,
0.01752369850873947,
0.0703810602426529,
-0.08498073369264603,
-0.018627874553203583,
0.016644446179270744,
-0.018852800130844116,
0.015417582355439663,
-0.01906750164926052,
0.023739805445075035,
0.018965262919664383,
0.03833947703242302,
0.015008628368377686,
0.009978488087654114,
0.0026863194070756435,
0.019619589671492577,
-0.02907666005194187,
0.04065006971359253,
0.04261305183172226,
0.011961917392909527,
-0.006144540384411812,
-0.05259153991937637,
0.05156915634870529,
-0.04747961089015007,
0.01755436882376671,
0.009354832582175732,
0.004337472841143608,
-0.04355364665389061,
0.03678545355796814,
-0.015468701720237732,
-0.05807153135538101,
0.062324658036231995,
0.004976464435458183,
0.05422735959291458,
0.012370871379971504,
0.06391958147287369,
0.05610854923725128,
0.005960511043667793,
-0.057867053896188736,
-0.02815651334822178,
0.06338793784379959,
-0.01104176975786686,
-0.023330850526690483,
-0.005684466566890478,
0.03576306626200676,
-0.022962791845202446,
-0.08956102281808853,
0.01720675826072693,
-0.01650131121277809,
0.023146821185946465,
-0.033922769129276276,
0.017145415768027306,
-0.035722170025110245,
-0.010188077576458454,
0.010581696406006813,
-0.03367739915847778,
-0.038196343928575516,
0.003989861812442541,
0.005556668620556593,
0.02343308925628662,
-0.0031285015866160393,
-0.03490426018834114,
-0.020549960434436798,
-0.06081152707338333,
-0.01599011942744255,
0.014211166650056839,
-0.019210634753108025,
0.011921022087335587,
-0.017687279731035233,
-0.0013137661153450608,
0.004677416291087866,
0.04457603394985199,
0.02566189132630825,
-0.06919509172439575,
-0.011869902722537518,
0.07205777615308762,
0.018413173034787178,
-0.02539607137441635,
0.014272510074079037,
0.033493369817733765,
-0.04833841323852539,
0.03296172618865967,
0.049319904297590256,
0.003938742447644472,
0.035599485039711,
-0.0386870913207531,
-0.0013393257977440953,
0.024250999093055725,
0.060443464666604996,
-0.011225799098610878,
-0.013096765615046024,
-0.023801147937774658,
0.010070502758026123,
-0.013751093298196793,
-0.00577136967331171,
0.02737949974834919,
0.006078085396438837,
-0.02541651763021946,
0.027175022289156914,
0.027870245277881622,
-0.013209228403866291,
-0.010561248287558556,
0.0075707691721618176,
0.0073611801490187645,
0.018924366682767868,
0.03662186861038208,
-0.04510767385363579,
0.006221219431608915,
-0.028606362640857697,
-0.01975249871611595,
0.0038722874596714973,
0.018597202375531197,
-0.07042195647954941,
-0.0062570031732320786,
0.029812779277563095,
-0.017472578212618828,
-0.0006316429353319108,
0.11900573968887329,
-0.07009479403495789,
0.03617202118039131,
-0.02856546826660633,
-0.021347422152757645,
0.024864429607987404,
-0.022819656878709793,
0.04054783284664154,
0.010919083841145039,
-0.05524974316358566,
0.019098171964287758,
0.015202881768345833,
-0.031448595225811005,
-0.028258752077817917,
0.016572879627346992,
0.00009528957889415324,
-0.011921022087335587,
-0.015509597025811672,
-0.0017840637592598796,
-0.056435711681842804,
-0.005873607937246561,
0.036396946758031845,
0.049238115549087524,
-0.033063966780900955,
0.0296900924295187,
-0.03856440261006355,
-0.019568469375371933,
-0.04355364665389061,
0.05140557140111923,
-0.017401011660695076,
0.0149779561907053,
0.04420797526836395,
0.029976360499858856,
0.04310379922389984,
0.03089650720357895,
0.017165862023830414,
-0.02343308925628662,
0.008240431547164917,
0.07348911464214325,
-0.01856653206050396,
-0.0857168510556221,
-0.09201475232839584,
0.006901106331497431,
-0.04173380136489868,
0.024250999093055725,
-0.030835164710879326,
0.019384440034627914,
-0.00552088487893343,
-0.012769602239131927,
0.0216336902230978,
0.023167269304394722,
-0.05332765728235245,
-0.01847451739013195,
-0.003913182765245438,
-0.04122260585427284,
-0.0074174110777676105,
-0.0035272319801151752,
0.08915206789970398,
0.024966668337583542,
-0.017646383494138718,
0.021347422152757645,
-0.0007457028841599822,
-0.021858613938093185,
0.037603359669446945,
-0.05569959431886673,
-0.03457709774374962,
0.11139918863773346,
0.015305119566619396,
-0.0015310231829062104,
0.010520352981984615,
-0.023126373067498207,
0.000230995356105268,
-0.004743871744722128,
-0.01590832695364952,
-0.008383565582334995,
-0.04784766957163811,
0.05631302669644356,
-0.04698886349797249,
0.03285948932170868,
0.008317111060023308,
0.006732412613928318,
-0.04038425162434578,
-0.02866770699620247,
-0.001366163371130824,
0.019476454704999924,
-0.02985367365181446,
-0.013199004344642162,
-0.008342670276761055,
0.020325034856796265,
-0.028115617111325264,
0.028279200196266174,
-0.00043547258246690035,
0.009017445147037506,
0.0006619950290769339,
0.021429212763905525,
0.06518733501434326,
0.009170803241431713,
-0.01634795404970646,
0.013618183322250843,
-0.023146821185946465,
-0.028095170855522156,
-0.0055413325317204,
0.019701380282640457,
-0.03660142421722412,
-0.030528448522090912,
0.00962576549500227,
-0.03809410706162453,
0.05647660791873932,
0.006512599531561136,
0.010765725746750832,
-0.002803893992677331,
-0.021592793986201286,
0.01822914369404316,
0.09226012229919434,
-0.01039255503565073,
-0.04175424948334694,
0.005796929355710745,
-0.07303926348686218,
-0.033493369817733765,
-0.044862303882837296,
0.057867053896188736,
-0.04067051783204079,
-0.05140557140111923,
-0.001837739022448659,
-0.01745213009417057,
0.008107521571218967,
0.051978111267089844,
0.02576413005590439,
-0.07622911036014557,
0.007662783842533827,
0.026806963607668877,
-0.00031102902721613646,
0.02541651763021946,
0.05336855351924896,
0.03463844209909439,
0.03302307054400444,
0.02412831224501133,
0.0017150526400655508,
0.014661016874015331,
-0.00487933773547411,
-0.0012032206868752837,
-0.018075786530971527,
0.012227737344801426,
0.013004750944674015,
-0.03337068110704422,
-0.10739143937826157,
-0.0056384592317044735,
-0.011389381252229214,
0.006379689089953899,
0.0052397288382053375,
0.01650131121277809,
0.02762487158179283,
-0.11368933320045471,
0.043594542890787125,
-0.004664636682718992,
-0.0011616862611845136,
-0.02165413834154606,
0.03668321296572685,
-0.002148288767784834,
0.10739143937826157,
-0.013536391779780388,
-0.026970544829964638,
-0.021797271445393562,
0.025907263159751892,
0.0736117959022522,
0.04355364665389061,
0.016184372827410698,
0.07438880950212479,
-0.000733562046661973,
0.003971970174461603,
-0.029362928122282028,
-0.002290144795551896,
0.02439413219690323,
-0.015192657709121704,
-0.022022197023034096,
0.010469233617186546,
-0.018341606482863426,
0.002709323074668646,
-0.015264224261045456,
0.026561591774225235,
-0.0191492922604084,
-0.05868496373295784,
0.01543803047388792,
0.02958785369992256,
-0.018719889223575592,
-0.09684041142463684,
0.03046710602939129,
-0.027502186596393585,
-0.0062927864491939545,
0.016644446179270744,
-0.06989031285047531,
-0.0013201560359448195,
0.019036829471588135,
-0.0051195984706282616,
0.01484504621475935,
-0.018454069271683693,
0.06526912748813629,
0.019026605412364006,
0.004345140885561705,
0.023392194882035255,
0.03328889235854149,
-0.020304588600993156,
0.011532515287399292,
-0.009119683876633644,
0.043676335364580154,
-0.020570408552885056,
0.03283904120326042,
-0.002811561804264784,
-0.006405248772352934,
-0.07434792071580887,
0.07806940376758575,
0.019128844141960144,
0.007780358195304871,
0.020304588600993156,
-0.05030139535665512,
0.004971352405846119,
-0.0046032932586967945,
-0.019548023119568825,
0.013045646250247955,
-0.043758124113082886,
0.0513237826526165,
-0.007402075454592705,
-0.018014444038271904,
0.010096062906086445,
-0.07958253473043442,
0.005812264978885651,
0.028872184455394745,
0.008225096389651299,
0.017002280801534653,
-0.005170717835426331,
0.04095678776502609,
-0.07451149821281433,
-0.03739888221025467,
0.010198301635682583,
0.016818251460790634,
0.004465271253138781,
0.03944365680217743,
0.014211166650056839,
0.02600950188934803,
0.026990992948412895,
0.06592345237731934,
0.034699782729148865,
-0.01651153527200222,
0.011348485946655273,
-0.01686936989426613,
-0.04498498886823654,
0.03216426819562912,
0.021592793986201286,
0.02026369236409664,
0.0029393599834293127,
0.023228611797094345,
-0.018525635823607445,
-0.04146797955036163,
0.0147121362388134,
-0.011460947804152966,
0.004347696900367737,
-0.009002109989523888,
0.10886367410421371,
0.01565273106098175,
0.02539607137441635,
0.024578161537647247,
-0.040343355387449265,
0.009354832582175732,
0.03525187447667122,
0.029056213796138763,
-0.05161004886031151,
-0.035210978239774704,
-0.005444205831736326,
-0.02762487158179283,
0.008869199082255363,
-0.05860317125916481,
0.03455664962530136,
-0.056435711681842804,
-0.024230550974607468,
-0.0480930432677269,
-0.015121090225875378,
0.031162329018115997,
-0.040588729083538055,
-0.009492854587733746,
-0.008812968619167805,
0.0036422505509108305,
0.027399947866797447,
-0.0003488892689347267,
-0.005104262847453356,
0.018699441105127335,
0.0013099322095513344,
0.010218748822808266,
-0.010745277628302574,
0.012830945663154125,
0.00851647648960352,
0.014303181320428848,
-0.05287780985236168,
0.05328676477074623,
0.023146821185946465,
-0.0043834806419909,
-0.06731390208005905,
-0.026990992948412895,
0.019036829471588135,
0.05606765300035477,
0.032634563744068146,
-0.0357426181435585,
0.03707171976566315,
0.01668534055352211,
-0.048297520726919174,
0.05655840039253235,
0.04559842124581337,
0.013812435790896416,
-0.0266024861484766,
-0.019302649423480034,
-0.02960830181837082,
-0.04792946204543114,
0.03308441489934921,
-0.05312318354845047,
0.05463631451129913,
0.0208873488008976,
-0.015846984460949898,
-0.020396603271365166,
0.030855612829327583,
-0.02566189132630825,
0.010274980217218399,
-0.03175531327724457,
0.024312341585755348,
-0.07189419120550156,
-0.010208525694906712,
-0.05913481116294861,
0.01804511435329914,
-0.050096917897462845,
0.046498119831085205,
0.010571472346782684,
-0.02345353737473488,
0.024169206619262695,
-0.04388081282377243,
-0.017840636894106865,
-0.009615541435778141,
-0.02756352908909321,
-0.08019596338272095,
0.011225799098610878,
0.004779655020684004,
-0.000013219132597441785,
0.040752310305833817,
-0.05524974316358566,
0.0027783343102782965,
-0.010980426333844662,
0.06665957719087601,
-0.0720168799161911,
-0.057376306504011154,
0.009814906865358353,
-0.03568127378821373,
0.02345353737473488,
-0.04494409263134003,
-0.026561591774225235,
-0.02130652591586113,
0.029874121770262718,
0.03917783498764038,
0.0024230550043284893,
-0.021940406411886215,
-0.0266024861484766,
-0.01864832267165184
] |
709,800
|
configargparse
|
serialize
| null |
def serialize(self, items, default_flow_style=False):
# see ConfigFileParser.serialize docstring
# lazy-import so there's no dependency on yaml unless this class is used
yaml, _, Dumper = self._load_yaml()
# it looks like ordering can't be preserved: http://pyyaml.org/ticket/29
items = dict(items)
return yaml.dump(items, default_flow_style=default_flow_style, Dumper=Dumper)
|
(self, items, default_flow_style=False)
|
[
-0.007519653532654047,
0.025120986625552177,
-0.05220400169491768,
-0.06257472932338715,
0.004313837271183729,
-0.00991525687277317,
-0.050241973251104355,
-0.035614341497421265,
0.04116758704185486,
0.017395494505763054,
-0.005014562048017979,
-0.03990628197789192,
-0.019445115700364113,
0.03414281830191612,
0.03931066393852234,
0.032338451594114304,
-0.03454573452472687,
0.004703615792095661,
0.03167276456952095,
0.05462150275707245,
0.004997044336050749,
0.010265619494020939,
0.046528130769729614,
-0.022283051162958145,
0.05003175511956215,
-0.01921737939119339,
0.016230540350079536,
-0.023999826982617378,
-0.024823177605867386,
-0.0036459590774029493,
-0.02683776244521141,
0.009486062452197075,
0.022142905741930008,
0.010361968539655209,
0.03836468607187271,
0.005820395890623331,
-0.05094269663095474,
0.05616309866309166,
-0.044285811483860016,
-0.010861235670745373,
0.014049533754587173,
0.008088992908596992,
-0.006468566134572029,
-0.04134276509284973,
-0.013208664022386074,
0.06937175989151001,
0.05602295324206352,
0.11176561564207077,
0.05031204596161842,
-0.02168743498623371,
0.027608560398221016,
-0.029150154441595078,
0.030464014038443565,
0.04312961548566818,
-0.03829461336135864,
-0.0025948716793209314,
0.030218759551644325,
-0.017518121749162674,
0.016125431284308434,
0.00043904792983084917,
0.014697703532874584,
0.014268510043621063,
0.11113496124744415,
-0.0644666850566864,
0.0012065606424584985,
0.009039350785315037,
-0.04123765975236893,
-0.03352968394756317,
-0.0369281992316246,
0.023509319871664047,
0.03246108070015907,
-0.05672367662191391,
0.0000875221739988774,
0.017395494505763054,
-0.014864126220345497,
0.03566689416766167,
-0.023999826982617378,
-0.015056825242936611,
0.005899227224290371,
-0.0014080189866945148,
-0.016475792974233627,
-0.0011868526926264167,
-0.018376508727669716,
0.0015919592697173357,
0.0189195703715086,
-0.02844942919909954,
-0.011509405449032784,
0.03347713127732277,
-0.00023266255448106676,
-0.03426544740796089,
0.026977907866239548,
0.0841570571064949,
0.011999913491308689,
0.050557300448417664,
-0.035807039588689804,
0.013156109489500523,
-0.016326889395713806,
-0.030726784840226173,
0.018026147037744522,
0.0005225327331572771,
-0.04190334677696228,
-0.01709768734872341,
-0.059982046484947205,
-0.05591784417629242,
-0.061593715101480484,
-0.05679374933242798,
-0.002242319518700242,
0.004883176181465387,
-0.03738367184996605,
-0.007611623965203762,
0.02158232592046261,
-0.006459807511419058,
0.014023256488144398,
0.03396763652563095,
0.0691615417599678,
-0.014242232777178288,
-0.004975146614015102,
-0.007677316665649414,
0.055182084441185,
-0.025453830137848854,
-0.05714411288499832,
0.014399895444512367,
0.002329910174012184,
0.022055314853787422,
-0.0024372085463255644,
-0.0230538472533226,
-0.027012944221496582,
-0.0011890424648299813,
0.05493682995438576,
0.026084482669830322,
0.04831497743725777,
-0.0149692352861166,
-0.03414281830191612,
-0.037418708205223083,
0.06551777571439743,
-0.09060372412204742,
-0.012867060489952564,
0.04470624774694443,
-0.014688944444060326,
0.03773403540253639,
0.027748703956604004,
-0.04383033886551857,
0.0002128178020939231,
0.03636762127280235,
-0.024350188672542572,
-0.015030547976493835,
0.028064031153917313,
0.004738651681691408,
0.012157576158642769,
0.01592397317290306,
0.07736002653837204,
0.011483128182590008,
-0.06341560184955597,
0.014032015576958656,
0.016002804040908813,
-0.014058292843401432,
-0.05269451066851616,
-0.00824227649718523,
0.00018749864830169827,
-0.023947272449731827,
-0.03205816075205803,
0.004261283203959465,
0.02734578773379326,
0.028361838310956955,
0.023018810898065567,
0.025506384670734406,
-0.017150241881608963,
-0.009161977097392082,
0.0506974421441555,
0.03176035359501839,
0.0017244401387870312,
-0.0494711734354496,
-0.08787089586257935,
0.008759060874581337,
0.023789608851075172,
-0.026434846222400665,
-0.003116035833954811,
0.026574989780783653,
0.0035693172831088305,
-0.01716775819659233,
-0.05027700960636139,
-0.006648126989603043,
0.03825957700610161,
-0.03612236678600311,
0.009135700762271881,
0.050487227737903595,
-0.013418881222605705,
0.0899730697274208,
0.014522522687911987,
-0.024770623072981834,
0.06867103278636932,
0.032075680792331696,
-0.016379443928599358,
-0.0075722080655395985,
0.000413318193750456,
-0.012902096845209599,
-0.04586244374513626,
-0.033196840435266495,
0.0575295127928257,
0.005837914068251848,
0.01400573831051588,
-0.01406705193221569,
0.020916637033224106,
-0.01792103797197342,
-0.0009213436860591173,
-0.007379508577287197,
-0.025996891781687737,
-0.08969277888536453,
-0.018078701570630074,
0.015494778752326965,
-0.053535379469394684,
0.012078744359314442,
-0.09095408767461777,
-0.07785053551197052,
0.029412925243377686,
-0.07126371562480927,
0.018323954194784164,
0.01939256116747856,
-0.04155298322439194,
0.011211597360670567,
0.047018639743328094,
0.043865375220775604,
-0.014732739888131618,
-0.011693346314132214,
0.01921737939119339,
-0.026995426043868065,
0.02380712702870369,
-0.08268553018569946,
0.0007116736960597336,
0.053955815732479095,
0.017737098038196564,
-0.02466551586985588,
-0.02046116627752781,
0.023824645206332207,
0.019304970279335976,
0.025331202894449234,
0.011229115538299084,
-0.09263582527637482,
-0.05973679572343826,
0.06155867874622345,
-0.009950293228030205,
-0.023334138095378876,
-0.01745680719614029,
-0.03547419607639313,
0.04022160544991493,
0.02813410386443138,
0.0024612960405647755,
-0.033564720302820206,
0.013410122133791447,
0.07189437001943588,
0.06005211919546127,
-0.0027766223065555096,
-0.01916482485830784,
0.05066240578889847,
-0.022423194721341133,
0.0155560914427042,
-0.03454573452472687,
-0.042674142867326736,
0.0042831809259951115,
-0.02058379352092743,
0.04078218713402748,
-0.002851074328646064,
-0.0013729827478528023,
0.028869863599538803,
0.021915169432759285,
0.034563254565000534,
0.01574879139661789,
-0.031199773773550987,
0.0013499902561306953,
0.04351501539349556,
-0.02615455538034439,
-0.0036634772550314665,
0.025138504803180695,
-0.017132723703980446,
0.01035320945084095,
-0.008824753575026989,
-0.0019839273300021887,
-0.024315152317285538,
0.0029364752117544413,
0.005807257257401943,
0.024157488718628883,
-0.004228436388075352,
-0.0002964394516311586,
-0.03899533674120903,
0.07848118245601654,
-0.039205554872751236,
-0.013856833800673485,
0.01983051374554634,
-0.03316180408000946,
-0.006674404256045818,
-0.0013269976479932666,
0.018376508727669716,
-0.012788228690624237,
-0.05195874720811844,
0.04666827619075775,
-0.023088883608579636,
-0.03773403540253639,
-0.04176320135593414,
0.03417785465717316,
-0.005426238290965557,
-0.020688900724053383,
-0.043234724551439285,
0.0218275785446167,
-0.0033481509890407324,
0.050417155027389526,
0.04179823771119118,
-0.015503537841141224,
-0.008110890164971352,
-0.017956074327230453,
-0.024227561429142952,
-0.022615894675254822,
-0.004055445082485676,
0.022335605695843697,
0.03081437572836876,
-0.025015877559781075,
0.01748308539390564,
-0.022300569340586662,
0.012875819578766823,
0.07301553338766098,
0.013199904933571815,
-0.05731929466128349,
0.02343924716114998,
-0.08703003078699112,
-0.025629011914134026,
0.08688988536596298,
0.02627718262374401,
0.03037642315030098,
-0.0014748068060725927,
0.04761425405740738,
0.021599844098091125,
0.06043751910328865,
-0.0021908599883317947,
-0.0006974402349442244,
0.02745089679956436,
-0.02646988071501255,
-0.013813038356602192,
0.017123963683843613,
0.0335121676325798,
0.017299145460128784,
-0.08485778421163559,
0.005233538802713156,
0.018989643082022667,
0.04221867397427559,
-0.04530186206102371,
-0.0653776302933693,
-0.02263341285288334,
0.0031072767451405525,
0.027993958443403244,
-0.03302165865898132,
0.060402482748031616,
-0.006197035312652588,
0.03533405065536499,
0.04022160544991493,
0.061348460614681244,
-0.034125301986932755,
-0.034318000078201294,
-0.010966343805193901,
-0.015880176797509193,
0.037979286164045334,
-0.017272867262363434,
0.01115904375910759,
-0.009950293228030205,
0.024577924981713295,
0.03832964971661568,
0.06085795536637306,
0.006578054744750261,
0.009897738695144653,
-0.053149979561567307,
0.08562857657670975,
-0.035053759813308716,
-0.022283051162958145,
0.008496289141476154,
0.01753563992679119,
-0.08408698439598083,
0.03386252745985985,
0.06807541847229004,
-0.034808509051799774,
0.038399722427129745,
0.018499135971069336,
-0.033004142343997955,
-0.018078701570630074,
0.002877351362258196,
0.03668294474482536,
0.004944489803165197,
0.06250465661287308,
0.01091378927230835,
0.042428892105817795,
0.018306437879800797,
0.03349464759230614,
-0.013296253979206085,
-0.05388574302196503,
0.01388311106711626,
-0.03987124562263489,
-0.027993958443403244,
-0.06709440797567368,
-0.014356100931763649,
0.010248101316392422,
0.027310751378536224,
0.0028926797676831484,
-0.03433551639318466,
0.03955591842532158,
-0.046703312546014786,
0.05237918347120285,
-0.032338451594114304,
-0.011272910982370377,
-0.028712201863527298,
-0.005172225181013346,
0.029290299862623215,
0.02263341285288334,
0.06390611082315445,
0.05626820772886276,
0.025646530091762543,
-0.03636762127280235,
-0.06299516558647156,
0.005189743358641863,
-0.030464014038443565,
-0.012026190757751465,
0.02114437334239483,
0.01741301268339157,
-0.03515886887907982,
-0.04246392473578453,
0.044110629707574844,
0.054831720888614655,
0.0005720761837437749,
0.02603192813694477,
-0.06839074939489365,
-0.053290124982595444,
0.017956074327230453,
-0.032881513237953186,
-0.00783935934305191,
0.034002672880887985,
-0.005071496125310659,
0.007440822198987007,
-0.023334138095378876,
0.05924628674983978,
-0.020723937079310417,
0.031007075682282448,
-0.08030306547880173,
0.017062650993466377,
0.041447874158620834,
0.0448814257979393,
-0.00018270853615831584,
-0.003048153128474951,
0.021372107788920403,
-0.006954694166779518,
0.017588194459676743,
-0.0850679948925972,
0.027012944221496582,
0.011272910982370377,
0.03123481012880802,
-0.018306437879800797,
-0.003199246944859624,
0.031077148392796516,
-0.052834656089544296,
-0.01965533196926117,
-0.012437866069376469,
0.09207524359226227,
-0.05094269663095474,
0.013296253979206085,
-0.022773558273911476,
0.12592025101184845,
-0.06394114345312119,
0.009100664407014847,
0.03261874243617058,
-0.0008988986373879015,
-0.04859526827931404,
-0.06576302647590637,
0.07427683472633362,
0.018148774281144142,
0.00036131124943494797,
0.009345917962491512,
0.04810476303100586,
-0.05237918347120285,
-0.01339260395616293,
-0.04316465184092522,
0.026189591735601425,
0.03423041105270386,
-0.022861149162054062,
-0.06723455339670181,
-0.02263341285288334,
-0.01792103797197342,
-0.05430617555975914,
-0.010204305872321129,
0.029710734263062477,
-0.02429763413965702,
-0.049120813608169556,
0.030218759551644325,
-0.028677165508270264,
0.029482997953891754,
0.03724352642893791,
0.01939256116747856,
-0.0702827051281929,
-0.038399722427129745,
0.03291654959321022,
0.02175750769674778,
-0.024227561429142952,
-0.048385050147771835,
-0.05945650488138199,
-0.015976527705788612,
-0.0642564669251442,
0.03093700297176838,
-0.029115118086338043,
0.01757943443953991,
0.0025357480626553297,
0.03491361439228058,
-0.01763198897242546,
0.016983818262815475,
-0.029360370710492134,
-0.004291939549148083,
-0.05816016346216202,
-0.0276435948908329,
-0.031024593859910965,
0.019304970279335976,
0.013296253979206085,
-0.015153175219893456,
0.0010330217191949487,
-0.022983774542808533,
0.03724352642893791,
0.04526682570576668,
-0.008321107365190983,
-0.006175138056278229,
-0.044846389442682266,
-0.021810060366988182,
0.06422143429517746,
-0.026872798800468445,
0.03755885362625122,
0.0015788207529112697,
-0.02275604009628296,
-0.021739989519119263,
0.048700377345085144,
0.009188254363834858,
-0.02883482724428177,
0.01305100042372942,
-0.024122454226017,
-0.02969321608543396,
0.06005211919546127,
0.007160532288253307,
0.04439092054963112,
-0.027608560398221016,
-0.032198306173086166,
0.04964635521173477,
0.019970659166574478,
0.03675301745533943,
-0.00908314622938633,
0.009836425073444843,
0.013637857511639595,
0.023018810898065567,
0.014732739888131618,
0.00472551304847002,
-0.051853638142347336,
-0.03296910598874092,
-0.03626251220703125,
-0.04148291051387787,
-0.02188013307750225,
0.06474697589874268,
-0.08408698439598083,
0.011824731715023518,
0.03352968394756317,
0.009556135162711143,
0.05455143004655838,
0.002131736371666193,
0.06310027092695236,
-0.07686951756477356,
-0.015398428775370121,
0.027293233200907707,
0.005351786036044359,
0.011640791781246662,
-0.006744476966559887,
-0.013182386755943298,
0.07771039009094238,
0.04232378304004669,
-0.04025664180517197,
0.07511770725250244,
-0.042498961091041565,
0.048069726675748825,
-0.02033853903412819,
0.003610922722145915,
0.06607835739850998,
-0.050417155027389526,
-0.023456765338778496,
-0.03829461336135864,
0.03484354540705681,
0.004094860982149839,
-0.03414281830191612,
0.014040774665772915,
-0.04246392473578453,
0.01941007934510708,
0.007353231310844421,
-0.033372022211551666,
0.06912650913000107,
-0.028431911021471024,
0.01063349936157465,
-0.0029999783728271723,
0.018867017701268196,
0.02925526350736618,
-0.08023299276828766,
0.0873103141784668,
-0.026172073557972908,
-0.01261304784566164,
0.008964898996055126,
-0.00457222992554307,
0.013086036778986454,
0.019357524812221527,
0.06292509287595749,
0.028221692889928818,
-0.006634988356381655,
0.01904219761490822,
-0.02268596738576889,
0.013410122133791447,
0.058545563369989395,
-0.02839687466621399,
-0.001864585094153881,
0.037593889981508255,
-0.046212803572416306,
-0.010248101316392422,
0.008951759897172451,
-0.019567741081118584,
0.014215955510735512,
0.006604332011193037,
-0.0770096629858017,
0.051853638142347336,
-0.017159000039100647,
-0.03959095478057861,
-0.04719381779432297,
-0.02293122187256813,
0.0020868461579084396,
-0.056198135018348694,
-0.024472815915942192,
0.01214881706982851,
-0.032583706080913544,
0.0643615797162056,
-0.02329910174012184,
0.04179823771119118,
-0.006275867111980915,
-0.03941577300429344,
0.018446581438183784,
-0.0030809997115284204,
0.024525370448827744,
-0.019497668370604515,
-0.0011430574813857675,
0.01877942681312561,
-0.05115291476249695,
-0.005868570879101753,
-0.005097773391753435,
-0.008465631864964962,
-0.04158801957964897,
0.014408654533326626,
-0.0032539910171180964,
0.03924059122800827,
0.0035496093332767487,
-0.017106445506215096,
0.017623230814933777,
-0.04397048428654671,
-0.009074387140572071,
0.0002808373828884214,
0.0642564669251442,
0.06495719403028488,
-0.025926819071173668,
-0.017404254525899887,
-0.0587557777762413,
-0.028869863599538803,
0.02491076849400997,
-0.06695426255464554,
0.005951781757175922,
-0.015941491350531578,
-0.019812995567917824,
-0.01909475214779377,
0.08794096857309341,
0.022160423919558525,
-0.04390041157603264,
0.007611623965203762,
0.0006509076920337975,
0.015976527705788612,
-0.0025554560124874115,
0.0038145710714161396,
-0.04053693264722824,
-0.003497055033221841,
0.029465479776263237,
0.02263341285288334,
-0.021932687610387802,
-0.034861061722040176,
0.0018415924860164523,
-0.057564545422792435,
0.020916637033224106,
0.001258020056411624,
-0.029903434216976166,
-0.00811964925378561,
-0.03118225559592247,
-0.019550222903490067,
0.005272954702377319,
0.02615455538034439,
0.026242146268486977,
-0.004563470836728811,
-0.027240678668022156,
0.021494735032320023,
0.01373420748859644,
0.055567480623722076,
0.00666564516723156,
-0.009004314430058002,
-0.03184794634580612,
-0.005597039591521025,
-0.05083758756518364,
0.07136882841587067,
0.005754702724516392,
0.0321282334625721,
-0.019690368324518204,
0.012218889780342579,
0.03675301745533943,
-0.01904219761490822,
0.003304355777800083,
0.003304355777800083,
0.06632360816001892,
0.028466947376728058,
-0.012350276112556458,
-0.0368230901658535,
-0.03093700297176838,
0.027748703956604004,
-0.02653995342552662,
-0.035123832523822784,
0.00315326196141541,
-0.080583356320858,
0.03451069816946983,
-0.05907110497355461,
-0.054831720888614655,
-0.007199947722256184,
-0.04043182358145714,
-0.025278650224208832,
-0.035561785101890564,
0.00819410104304552,
0.0024109315127134323,
0.033827491104602814,
0.03037642315030098,
-0.026557471603155136,
0.022335605695843697,
0.02349180169403553,
0.012674360536038876,
0.015591127797961235,
0.016834914684295654,
-0.025629011914134026,
0.008176582865417004,
0.045231789350509644,
0.04099240526556969,
0.006201414857059717,
0.0019554602913558483,
-0.021407144144177437,
-0.06835570931434631,
0.06618346273899078,
0.06401121616363525,
-0.06509733945131302,
0.01977795921266079,
-0.0282041747123003,
0.04333983361721039,
-0.05188867449760437,
0.03167276456952095,
0.026574989780783653,
-0.015267042443156242,
0.028869863599538803,
0.021617362275719643,
-0.002487573307007551,
-0.04940110445022583,
-0.026242146268486977,
-0.0414128378033638,
0.009862702339887619,
0.07841110974550247,
0.052659474313259125,
0.030113650485873222,
0.004009460099041462,
0.0026014409959316254
] |
709,802
|
configargparse
|
already_on_command_line
|
Utility method for checking if any of the potential_command_line_args is
already present in existing_args.
Returns:
bool: already on command line?
|
def already_on_command_line(existing_args_list, potential_command_line_args, prefix_chars):
"""Utility method for checking if any of the potential_command_line_args is
already present in existing_args.
Returns:
bool: already on command line?
"""
arg_names = []
for arg_string in existing_args_list:
if arg_string and arg_string[0] in prefix_chars and "=" in arg_string :
option_string, explicit_arg = arg_string.split("=", 1)
arg_names.append(option_string)
else:
arg_names.append(arg_string)
return any(
potential_arg in arg_names for potential_arg in potential_command_line_args
)
|
(existing_args_list, potential_command_line_args, prefix_chars)
|
[
-0.018058335408568382,
-0.010767259635031223,
-0.04513692483305931,
-0.015910230576992035,
0.04595694690942764,
0.020518403500318527,
0.042783815413713455,
0.014635629951953888,
0.06410441547632217,
-0.03690103814005852,
0.005325693637132645,
-0.005860491190105677,
-0.017603756859898567,
-0.01109705213457346,
-0.020001433789730072,
-0.04659870266914368,
0.026615098118782043,
0.024761132895946503,
-0.02034013904631138,
-0.0021581314504146576,
0.04920138791203499,
0.04221336171030998,
0.010214635170996189,
0.05476328358054161,
0.027399467304348946,
0.05765118822455406,
0.073160320520401,
0.015731964260339737,
0.027452947571873665,
0.04916573315858841,
0.040751583874225616,
0.018949665129184723,
0.01401169877499342,
0.05886339768767357,
0.08107532560825348,
0.024297641590237617,
0.03757844865322113,
0.05183972045779228,
-0.0013269666815176606,
-0.08235884457826614,
0.0065958378836512566,
-0.026561617851257324,
0.0707002505660057,
0.004470017272979021,
-0.00865926593542099,
-0.03189176693558693,
-0.028433410450816154,
0.054299790412187576,
-0.007652063388377428,
-0.027595560997724533,
0.0827866792678833,
-0.05287366360425949,
0.024529386311769485,
-0.02513549104332924,
-0.028451235964894295,
0.0071261790581047535,
0.05690247192978859,
0.05476328358054161,
-0.03212351351976395,
-0.010722693055868149,
-0.026508137583732605,
0.025759421288967133,
0.0006038757273927331,
-0.08770681917667389,
0.006698341108858585,
-0.0519823357462883,
-0.017577016726136208,
-0.03176698088645935,
-0.011836855672299862,
0.02599116787314415,
-0.07850830256938934,
-0.013628427870571613,
-0.0007804703782312572,
-0.055333733558654785,
0.0035341212060302496,
0.02613377943634987,
-0.031143050640821457,
0.019056623801589012,
0.002393219619989395,
-0.004389797803014517,
-0.016756994649767876,
-0.018521826714277267,
0.026668576523661613,
0.02019752562046051,
-0.003255580784752965,
0.03394182398915291,
-0.02212279662489891,
0.05593983829021454,
0.08407019823789597,
-0.037043653428554535,
0.004991444759070873,
0.055333733558654785,
0.0252067968249321,
0.036972347646951675,
0.0421777106821537,
-0.03351398929953575,
0.018468346446752548,
0.014216705225408077,
0.010820739902555943,
-0.005481676198542118,
-0.05690247192978859,
0.03846978023648262,
0.08513978868722916,
-0.016186542809009552,
0.0076609766110777855,
0.03271179273724556,
-0.019520115107297897,
-0.03672277554869652,
-0.023798497393727303,
0.03750714287161827,
-0.05957646295428276,
-0.0638904944062233,
0.009171780198812485,
-0.02973475120961666,
-0.016141977161169052,
0.03864804655313492,
-0.03551056608557701,
-0.03212351351976395,
0.006533444859087467,
-0.018878357484936714,
-0.033157456666231155,
0.0364910289645195,
0.018967490643262863,
-0.03463706374168396,
0.06941673904657364,
-0.050520554184913635,
-0.025652462616562843,
0.029681270942091942,
-0.0012601170456036925,
0.014279098249971867,
0.04745437949895859,
0.032997015863657,
-0.016881780698895454,
-0.04898746684193611,
0.006872150115668774,
-0.02690032310783863,
-0.0051964507438242435,
0.010348334908485413,
-0.022443676367402077,
-0.0029658987186849117,
0.039824601262807846,
0.032248299568891525,
0.026686403900384903,
0.01744331791996956,
-0.1228608563542366,
0.029449526220560074,
-0.012309259735047817,
0.013476901687681675,
0.06970196217298508,
0.006800843868404627,
-0.035991884768009186,
-0.000013857387784810271,
-0.0728037878870964,
0.00911384355276823,
-0.014332577586174011,
-0.02230106294155121,
-0.020643189549446106,
-0.06916716694831848,
0.02586638182401657,
-0.005401456728577614,
0.014564323239028454,
-0.050520554184913635,
-0.048523977398872375,
0.01011658925563097,
-0.004425450693815947,
-0.016623293980956078,
-0.03729322552680969,
-0.008935578167438507,
0.03169567510485649,
0.031018264591693878,
0.021659305319190025,
0.03679408133029938,
0.08357104659080505,
0.007250965107232332,
-0.04046635702252388,
0.03925415128469467,
-0.0521605983376503,
-0.00024790101451799273,
-0.0270429365336895,
-0.06923846900463104,
-0.0002806295233312994,
-0.015090207569301128,
0.02226541005074978,
-0.06613664329051971,
0.047632645815610886,
0.03260483220219612,
0.004915682133287191,
0.009207433089613914,
0.0002738052571658045,
0.01841486617922783,
-0.035154033452272415,
-0.01107922475785017,
0.0367584265768528,
0.01748788356781006,
-0.073160320520401,
0.0057312482967972755,
-0.030643906444311142,
-0.0010801799362525344,
-0.007620866876095533,
-0.034102264791727066,
-0.032105688005685806,
-0.04160726070404053,
-0.0026539333630353212,
0.004220445174723864,
0.03278309851884842,
0.017728542909026146,
-0.02110668085515499,
-0.01637372188270092,
0.014822809025645256,
-0.012425133027136326,
0.0025291473139077425,
-0.07565604150295258,
0.024671999737620354,
0.019912300631403923,
0.0012645736569538713,
0.06039648503065109,
0.04652739688754082,
0.01621328294277191,
-0.0715915858745575,
-0.00701921945437789,
0.08021964877843857,
0.015214993618428707,
0.08485456556081772,
0.05897035822272301,
-0.019413156434893608,
-0.0045324102975428104,
0.026508137583732605,
0.11565890908241272,
0.0017592614749446511,
0.05308758094906807,
-0.007616410031914711,
-0.0020689985249191523,
-0.031374797224998474,
0.012656878679990768,
-0.03672277554869652,
-0.0324622206389904,
0.015152600593864918,
0.0407872349023819,
0.049593571573495865,
0.03458358347415924,
-0.023620231077075005,
0.044673431664705276,
0.03750714287161827,
-0.009448092430830002,
0.046670012176036835,
-0.0023687081411480904,
0.006805300246924162,
0.018076160922646523,
0.0033959653228521347,
0.004155823495239019,
0.0006501134485006332,
0.06784799695014954,
0.018628785386681557,
0.020625364035367966,
-0.0018238829215988517,
-0.005169711075723171,
-0.04627782478928566,
0.005147427786141634,
-0.0039909277111291885,
-0.010918785817921162,
-0.028611674904823303,
0.09647750109434128,
0.07337424159049988,
0.010455294512212276,
-0.047596994787454605,
0.020019259303808212,
0.029609965160489082,
0.023727189749479294,
0.004675022792071104,
-0.001369304838590324,
-0.05558330565690994,
-0.019858820363879204,
0.004207075107842684,
0.03786367550492287,
0.024618519470095634,
0.05665289983153343,
0.026436831802129745,
-0.023441964760422707,
-0.000604432774707675,
0.04649174585938454,
0.026739884167909622,
0.022604115307331085,
-0.017675062641501427,
-0.009911583736538887,
-0.011560543440282345,
-0.02597334049642086,
0.003429390024393797,
-0.017871156334877014,
-0.002747523132711649,
0.01017006952315569,
0.004648283123970032,
0.025313757359981537,
0.057259004563093185,
-0.013744300231337547,
-0.0040020691230893135,
0.08100402355194092,
0.07822307199239731,
-0.02492157183587551,
0.0009364529978483915,
0.0021781863179057837,
0.027684692293405533,
0.016881780698895454,
-0.08214492350816727,
-0.02804122492671013,
0.011622936464846134,
0.012416219338774681,
-0.010883132927119732,
-0.008133381605148315,
0.011150531470775604,
-0.020696669816970825,
0.0014673511032015085,
0.0367584265768528,
-0.009733317419886589,
-0.045707374811172485,
0.011819028295576572,
0.02982388436794281,
-0.005517329555004835,
-0.005071664694696665,
-0.037007998675107956,
0.026240739971399307,
-0.01394930575042963,
0.02014404535293579,
-0.018914010375738144,
0.01730961725115776,
-0.025224624201655388,
-0.00038076480268500745,
0.048523977398872375,
0.05964776873588562,
0.011221838183701038,
0.01927054300904274,
0.0078080459497869015,
-0.08207361400127411,
-0.04349687695503235,
0.02807687781751156,
0.03451227769255638,
-0.05569026619195938,
-0.04460212588310242,
-0.010392901487648487,
0.0364018939435482,
-0.005962993949651718,
-0.01062464714050293,
0.07644041627645493,
-0.03679408133029938,
-0.02411937527358532,
0.006689427420496941,
-0.026757709681987762,
0.030483467504382133,
0.08371366560459137,
0.008472086861729622,
-0.059362541884183884,
-0.03388834744691849,
0.02780947834253311,
-0.03248004615306854,
-0.0270429365336895,
0.11309187859296799,
0.014573236927390099,
-0.04460212588310242,
0.021962357684969902,
0.026543790474534035,
-0.004383112769573927,
0.06332004815340042,
-0.07537081837654114,
0.010963352397084236,
0.023441964760422707,
-0.059291236102581024,
-0.008498826064169407,
-0.012719271704554558,
-0.03258700668811798,
-0.006800843868404627,
-0.01742549054324627,
0.0004038836632389575,
0.0012846286408603191,
0.05101969838142395,
-0.057187698781490326,
0.032283954322338104,
-0.019947953522205353,
-0.027773825451731682,
-0.009439178742468357,
-0.01637372188270092,
-0.024547213688492775,
-0.00646213861182332,
-0.014091919176280499,
0.024636346846818924,
-0.004991444759070873,
-0.02588420733809471,
0.016088496893644333,
-0.0055841789580881596,
0.0014940910041332245,
0.03346050903201103,
-0.0023308265954256058,
-0.008128924295306206,
-0.02971692383289337,
0.015571525320410728,
0.002963670529425144,
-0.0003718515217769891,
-0.031178705394268036,
-0.029538657516241074,
0.011694242246448994,
-0.03568883240222931,
0.030412161722779274,
0.009867017157375813,
-0.01451084390282631,
0.04460212588310242,
0.026240739971399307,
-0.05027098208665848,
-0.01834356039762497,
-0.011872508563101292,
0.05091273784637451,
0.002941387239843607,
0.05308758094906807,
-0.03843412548303604,
-0.08414150029420853,
0.013860173523426056,
-0.013245156034827232,
-0.0808614119887352,
0.041892483830451965,
-0.013717560097575188,
-0.025902034714818,
0.01637372188270092,
0.0014250129461288452,
0.0004927380941808224,
0.0017804305534809828,
0.007108352612704039,
0.10631778091192245,
0.022728901356458664,
0.0006384146981872618,
-0.04256989434361458,
-0.005949624348431826,
0.0344766229391098,
-0.0785796046257019,
-0.06168000027537346,
-0.045778680592775345,
0.06071736291050911,
-0.005356890149414539,
-0.008191317319869995,
-0.01827225461602211,
0.04403167590498924,
-0.020928416401147842,
0.016008276492357254,
0.017960289493203163,
-0.05084143206477165,
-0.04125072807073593,
-0.03199872747063637,
0.04841701686382294,
-0.05173276364803314,
-0.0034717281814664602,
-0.031196530908346176,
-0.011346624232828617,
0.05091273784637451,
0.014091919176280499,
-0.0252067968249321,
0.043853409588336945,
-0.0939817801117897,
-0.04221336171030998,
0.025313757359981537,
-0.09355393797159195,
-0.03768540918827057,
0.026757709681987762,
-0.05141188204288483,
0.03551056608557701,
0.03486881032586098,
0.012772751040756702,
-0.014911942183971405,
0.02420850843191147,
-0.012460785917937756,
0.0386836975812912,
0.00651116156950593,
0.03151740878820419,
-0.024493733420968056,
0.07187680900096893,
-0.011293143965303898,
-0.02419068105518818,
0.020554058253765106,
-0.04310469329357147,
0.007625323720276356,
-0.006243763025850058,
0.040822889655828476,
0.077723927795887,
-0.018771398812532425,
0.021605826914310455,
-0.045849986374378204,
0.009688750840723515,
0.008512196131050587,
0.018628785386681557,
0.02304977923631668,
-0.072982057929039,
-0.012460785917937756,
-0.061073895543813705,
-0.02597334049642086,
-0.0029658987186849117,
0.021784091368317604,
-0.01834356039762497,
0.01832573302090168,
-0.021534519270062447,
0.07205507159233093,
-0.041036807000637054,
0.005352433305233717,
0.037970636039972305,
0.04438820853829384,
0.005419283173978329,
0.027773825451731682,
-0.0023597946856170893,
0.02306760661303997,
0.026187259703874588,
0.016088496893644333,
-0.013289722613990307,
-0.012015121057629585,
0.018503999337553978,
-0.09262695908546448,
0.010927699506282806,
-0.027399467304348946,
-0.01911010406911373,
0.04224901646375656,
-0.025331582874059677,
0.026543790474534035,
0.05982603505253792,
-0.02679336443543434,
-0.03342485427856445,
0.006466595456004143,
0.004621543455868959,
-0.006947913207113743,
0.012888624332845211,
-0.03469054400920868,
-0.08920425176620483,
-0.04021678492426872,
0.021677132695913315,
0.00016099638014566153,
-0.01925271563231945,
0.022354543209075928,
-0.039004575461149216,
0.01824551448225975,
0.02135625295341015,
-0.009483745321631432,
-0.008891011588275433,
0.0048622023314237595,
0.05101969838142395,
-0.011533803306519985,
0.03561752662062645,
0.06264263391494751,
0.02394110895693302,
0.03461923450231552,
0.010767259635031223,
0.003823803272098303,
0.025830727070569992,
-0.028486888855695724,
0.035225339233875275,
0.00045624925405718386,
-0.03358529508113861,
0.025670288130640984,
0.0040020691230893135,
-0.036098841577768326,
0.040074173361063004,
0.021748438477516174,
0.02135625295341015,
-0.028736460953950882,
-0.03864804655313492,
-0.009243086911737919,
-0.009122757241129875,
-0.03256917744874954,
0.027631213888525963,
0.0043207197450101376,
-0.048809200525283813,
-0.015847837552428246,
0.0032488959841430187,
-0.03754279762506485,
-0.04142899438738823,
-0.05298062413930893,
0.010900959372520447,
0.04403167590498924,
0.029645618051290512,
-0.007923918776214123,
-0.0406089685857296,
-0.08635199815034866,
-0.019965779036283493,
-0.048523977398872375,
-0.03451227769255638,
0.09776101261377335,
-0.030536947771906853,
-0.0011030201567336917,
-0.016881780698895454,
-0.04891616106033325,
0.003919621463865042,
-0.038897618651390076,
-0.028183838352560997,
-0.002153674839064479,
-0.002774263033643365,
0.030465640127658844,
0.022639768198132515,
-0.01164967566728592,
-0.03399530425667763,
-0.010802913457155228,
0.07679694890975952,
0.008792964741587639,
-0.06902455538511276,
-0.00478643923997879,
0.007166288793087006,
0.0762978047132492,
0.0029525288846343756,
0.04438820853829384,
-0.017113525420427322,
-0.0460282526910305,
-0.025527676567435265,
-0.015500219538807869,
-0.046776968985795975,
0.033175282180309296,
-0.007447057869285345,
-0.04424559324979782,
-0.050484899431467056,
-0.044566474854946136,
-0.01442171074450016,
-0.010847479104995728,
-0.014109745621681213,
-0.044780392199754715,
-0.008485455997288227,
-0.02303195372223854,
0.020482750609517097,
0.007857069373130798,
-0.01640937477350235,
0.05130492523312569,
0.036972347646951675,
-0.01100791897624731,
0.027720347046852112,
0.0134323351085186,
-0.042926426976919174,
-0.0364910289645195,
-0.012371652759611607,
0.00037742231506854296,
0.020375791937112808,
0.03957502916455269,
-0.050591859966516495,
0.03946806862950325,
0.002620508661493659,
0.022479329258203506,
-0.00036460947012528777,
0.0077545661479234695,
-0.06421137601137161,
-0.03376356139779091,
-0.03358529508113861,
-0.027132069692015648,
0.009474832564592361,
-0.018824879080057144,
-0.0404307059943676,
-0.03654450923204422,
0.04249858856201172,
-0.005842664744704962,
0.04057331755757332,
-0.018753571435809135,
0.005575265735387802,
0.02978823147714138,
0.0008261509938165545,
0.0364910289645195,
0.028629502281546593,
0.012763838283717632,
0.024671999737620354,
0.023388484492897987,
-0.03292571008205414,
-0.0523388646543026,
-0.025563329458236694,
0.01621328294277191,
0.0048622023314237595,
0.08407019823789597,
0.0030327485874295235,
0.029146473854780197,
-0.02889690175652504,
-0.013601687736809254,
-0.011337710544466972,
0.02488591894507408,
-0.03786367550492287,
0.042748160660266876,
0.06866802275180817,
-0.019003143534064293,
-0.08235884457826614,
-0.019662728533148766,
-0.0009397955145686865,
0.021891051903367043,
-0.02404806949198246,
-0.028593849390745163,
0.017692890018224716,
0.014216705225408077,
-0.01641828939318657,
-0.038826312869787216,
-0.06182261183857918,
0.03586709871888161,
-0.024279814213514328,
-0.0252067968249321,
-0.011328797787427902,
0.06303481757640839,
0.018646612763404846,
0.04256989434361458,
-0.039931558072566986,
-0.021427560597658157,
-0.015161514282226562,
-0.002843341091647744,
0.04150030016899109,
0.03786367550492287,
-0.03153523802757263,
-0.08414150029420853,
0.01943098194897175,
-0.00672953762114048,
-0.0287899412214756,
0.016578728333115578,
0.08970339596271515,
-0.019484462216496468,
0.019020970910787582,
-0.0029569854959845543,
0.034280531108379364,
-0.05651028826832771,
0.008940034545958042,
0.03256917744874954,
0.045778680592775345,
-0.0038171184714883566,
0.022550635039806366,
0.06246436759829521,
-0.036259282380342484,
0.05034228786826134,
-0.09711925685405731,
0.05016402155160904,
-0.0343874916434288,
0.02973475120961666,
-0.02392328344285488,
0.023798497393727303,
0.04232032224535942,
-0.0349222868680954,
-0.05105535313487053,
-0.016141977161169052,
-0.06328438967466354,
-0.05173276364803314,
-0.06310612708330154,
-0.015651745721697807,
0.010945525951683521,
-0.0708785206079483,
-0.011444670148193836,
0.0025380605366081,
0.05957646295428276,
0.03761410340666771,
-0.004548008553683758,
-0.018771398812532425,
-0.006493335124105215,
-0.04827440530061722,
0.01260339841246605,
-0.012674705125391483,
-0.025492021813988686,
0.056438982486724854,
-0.02789861150085926,
0.001024471828714013,
0.0308934785425663,
0.010312682017683983,
-0.019609248265624046,
0.0022606344427913427,
-0.004189248662441969,
0.02124929428100586,
0.004394254181534052,
-0.016026103869080544,
0.03251569718122482,
-0.002640563528984785,
0.001986550632864237,
-0.04420994222164154,
0.024600693956017494,
0.01638263463973999,
-0.017969202250242233,
-0.06139477342367172,
-0.005298953503370285,
0.016970911994576454,
0.0024333293549716473,
0.00864589586853981,
-0.021730612963438034,
-0.0027987745124846697,
0.02319239266216755
] |
709,807
|
configargparse
|
get_argument_parser
|
Returns the global ArgumentParser instance with the given name. The 1st
time this function is called, a new ArgumentParser instance will be created
for the given name, and any args other than "name" will be passed on to the
ArgumentParser constructor.
|
def get_argument_parser(name=None, **kwargs):
"""Returns the global ArgumentParser instance with the given name. The 1st
time this function is called, a new ArgumentParser instance will be created
for the given name, and any args other than "name" will be passed on to the
ArgumentParser constructor.
"""
if name is None:
name = "default"
if len(kwargs) > 0 or name not in _parsers:
init_argument_parser(name, **kwargs)
return _parsers[name]
|
(name=None, **kwargs)
|
[
-0.004472185391932726,
-0.025795619934797287,
0.010064131580293179,
-0.029470263049006462,
0.022285515442490578,
0.012257947586476803,
0.049653369933366776,
-0.005818183068186045,
-0.043986011296510696,
0.015685785561800003,
-0.010777121409773827,
-0.013162896037101746,
-0.07985490560531616,
0.010448048822581768,
0.018016714602708817,
0.0018076130654662848,
0.01848290115594864,
0.0459604486823082,
-0.03842834383249283,
-0.0012031709775328636,
0.0626334473490715,
-0.0063574961386621,
0.003868886036798358,
-0.019104482606053352,
0.00677797757089138,
0.04047590494155884,
0.03268785774707794,
0.01580461673438549,
-0.021755343303084373,
-0.006640864070504904,
0.016691284254193306,
-0.0401102714240551,
0.01315375603735447,
0.03411383926868439,
0.01012811716645956,
-0.0048126839101314545,
-0.045448556542396545,
0.09477285295724869,
-0.0027651223354041576,
-0.026453765109181404,
0.035576384514570236,
-0.02054874412715435,
0.030073562636971474,
-0.01281554251909256,
-0.001534528681077063,
-0.002266943221911788,
-0.008277085609734058,
-0.010246949270367622,
-0.040951233357191086,
-0.013144615106284618,
0.07700294256210327,
-0.02142626978456974,
0.03031122498214245,
0.008770694024860859,
0.030384352430701256,
0.0518471859395504,
0.03413212299346924,
0.02524716593325138,
0.006302650552242994,
0.021371424198150635,
-0.059342723339796066,
0.019634654745459557,
0.055722929537296295,
-0.012788119725883007,
-0.06691139191389084,
-0.033419132232666016,
-0.023345859721302986,
-0.016846679151058197,
-0.039964016526937485,
0.04157281294465065,
-0.05685640126466751,
0.026362355798482895,
-0.0508965328335762,
-0.0733465850353241,
0.036051709204912186,
0.006352925673127174,
-0.0713721513748169,
0.01272413320839405,
0.025100912898778915,
0.0518471859395504,
-0.026252666488289833,
0.04442477598786354,
-0.05096966028213501,
0.0322856605052948,
0.011910593137145042,
-0.023802904412150383,
-0.04508291929960251,
-0.008606157265603542,
0.09411471337080002,
-0.05020182579755783,
-0.02943369932472706,
-0.01726716011762619,
0.03062201663851738,
0.07053118944168091,
-0.035375285893678665,
-0.06029338017106056,
-0.04976306110620499,
0.05334629490971565,
0.034095559269189835,
0.011672929860651493,
-0.07656417787075043,
0.07466287165880203,
-0.03572263941168785,
-0.012632723897695541,
-0.004668714944273233,
0.026490328833460808,
0.051700931042432785,
0.0018384635914117098,
0.03766050934791565,
-0.004504178650677204,
-0.033035214990377426,
-0.008213099092245102,
-0.05517447367310524,
0.06862988322973251,
-0.024406204000115395,
0.026947373524308205,
-0.0081948172301054,
0.017029497772455215,
0.016490183770656586,
0.006832823157310486,
-0.12446250021457672,
0.06862988322973251,
0.020567025989294052,
0.043400995433330536,
0.03365679457783699,
-0.013738772831857204,
-0.010694853030145168,
-0.07561352849006653,
0.03559466451406479,
0.036143120378255844,
0.10252434015274048,
0.013336573727428913,
0.005690210498869419,
-0.02435135841369629,
0.022066133096814156,
-0.025704212486743927,
0.016673002392053604,
0.0910433679819107,
-0.04000058025121689,
0.018720563501119614,
-0.026545174419879913,
0.0010723419254645705,
0.013181177899241447,
-0.03581404685974121,
-0.0577339269220829,
-0.027623800560832024,
0.0020989791955798864,
0.0024451909121125937,
-0.0009906450286507607,
0.051700931042432785,
0.01996372640132904,
0.01814468763768673,
0.0479348823428154,
0.03989088907837868,
0.062377505004405975,
-0.046216391026973724,
0.008683855645358562,
-0.0005393131286837161,
-0.026417201384902,
-0.022870533168315887,
-0.002991359680891037,
0.02239520661532879,
0.005397701635956764,
-0.097844198346138,
0.030091844499111176,
-0.028720708563923836,
0.009771622717380524,
0.008363923989236355,
0.03519246727228165,
0.012523033656179905,
-0.04844677075743675,
0.03592373803257942,
-0.02884868159890175,
0.006636293604969978,
-0.02632579207420349,
-0.009405986405909061,
-0.00160194281488657,
0.06201186776161194,
0.04351068660616875,
0.0054205539636313915,
0.007477256469428539,
-0.0013345713960006833,
-0.018044136464595795,
-0.04844677075743675,
0.03314490616321564,
0.01011897623538971,
0.045558247715234756,
0.01854688674211502,
-0.03042091615498066,
0.007029352243989706,
0.008798116818070412,
0.008414198644459248,
0.023364141583442688,
-0.05224938690662384,
-0.03588717430830002,
0.05623481795191765,
-0.05978148803114891,
0.03572263941168785,
0.05104278773069382,
0.06340128183364868,
0.020877815783023834,
0.013720490969717503,
-0.032340504229068756,
0.028830399736762047,
-0.022943660616874695,
0.002165250713005662,
0.0163713525980711,
0.018318364396691322,
-0.06442506611347198,
0.03279754891991615,
-0.009232309646904469,
-0.06007399782538414,
-0.002270371187478304,
0.04756924510002136,
-0.004017425701022148,
0.020420771092176437,
0.016709566116333008,
0.016673002392053604,
0.040549032390117645,
0.029470263049006462,
0.04639920964837074,
0.0043967729434370995,
0.09718605130910873,
0.05290753021836281,
-0.006458045914769173,
-0.030366070568561554,
0.0033227172680199146,
0.002054417273029685,
-0.030951088294386864,
0.006599729880690575,
0.030676862224936485,
-0.032541606575250626,
-0.0023332147393375635,
-0.01886681839823723,
-0.008683855645358562,
-0.10691197216510773,
0.012833824381232262,
-0.01724887825548649,
-0.013318291865289211,
-0.05016526207327843,
-0.00006195102469064295,
0.03307177871465683,
-0.006389489397406578,
0.08665573596954346,
-0.008025710470974445,
0.021846752613782883,
-0.002534314524382353,
-0.0459970086812973,
0.03795301914215088,
-0.018711423501372337,
-0.009469972923398018,
0.041536252945661545,
-0.006375778000801802,
0.02171877957880497,
-0.023638367652893066,
0.003487253561615944,
-0.06190217658877373,
0.06530259549617767,
-0.01899479143321514,
-0.036545321345329285,
0.059818051755428314,
0.01744997873902321,
0.005726774223148823,
0.014022140763700008,
-0.007120761554688215,
-0.005639935377985239,
0.06475413590669632,
-0.06841050088405609,
0.033016931265592575,
-0.023053349927067757,
0.07963552325963974,
0.005507392343133688,
0.008391346782445908,
-0.006042134948074818,
-0.020292798057198524,
-0.01471684966236353,
0.006138114724308252,
0.02279740571975708,
0.0007352711982093751,
0.01306234672665596,
-0.0017322006169706583,
0.0332728773355484,
0.011142757721245289,
0.02151767909526825,
-0.034186966717243195,
0.03215768560767174,
0.005132615566253662,
0.003539813682436943,
-0.015886884182691574,
0.03157266974449158,
0.00043819189886562526,
0.011599802412092686,
-0.06643606722354889,
-0.007765194866806269,
0.008830109611153603,
0.029122907668352127,
0.001275155576877296,
0.011033066548407078,
-0.010667430236935616,
-0.033236313611269,
0.017733346670866013,
-0.057660799473524094,
-0.026069847866892815,
0.011362139135599136,
-0.020567025989294052,
0.017879601567983627,
0.017632797360420227,
-0.012806401588022709,
0.027568954974412918,
0.006947084330022335,
-0.03192002326250076,
0.01319945976138115,
-0.029781052842736244,
-0.017148328945040703,
-0.009808186441659927,
-0.023163041099905968,
0.009424268268048763,
-0.021371424198150635,
0.012157397344708443,
0.03696580231189728,
-0.018510323017835617,
0.04669171944260597,
-0.035667791962623596,
-0.09060460329055786,
0.010292653925716877,
0.10303623229265213,
-0.026435483247041702,
0.011718634516000748,
0.051225606352090836,
0.04833707958459854,
-0.053273167461156845,
-0.03617968410253525,
-0.04149968922138214,
0.03199315071105957,
0.003592373803257942,
-0.06149997562170029,
0.019689498469233513,
0.01471684966236353,
-0.011170180514454842,
-0.06380348652601242,
0.047386426478624344,
0.024296512827277184,
-0.049068354070186615,
-0.03934243321418762,
0.0010791975073516369,
-0.0009392275242134929,
0.05802643671631813,
-0.03681954741477966,
0.041609376668930054,
-0.09177464246749878,
-0.0027399847749620676,
0.030366070568561554,
-0.06468100845813751,
-0.01751396432518959,
0.03363851457834244,
-0.0019812900573015213,
-0.001743626780807972,
0.053163476288318634,
0.03959837928414345,
-0.019598091021180153,
-0.03544841334223747,
-0.011133616790175438,
-0.030292943120002747,
-0.008597016334533691,
-0.029890744015574455,
-0.04764237254858017,
0.013172036968171597,
-0.005557667464017868,
0.017056919634342194,
-0.02533857524394989,
0.01668214239180088,
0.03543012961745262,
0.043181613087654114,
-0.018089842051267624,
-0.025356857106089592,
-0.012678428553044796,
0.04460759460926056,
0.005210313014686108,
-0.004321360494941473,
-0.048081137239933014,
-0.03449775651097298,
0.0577339269220829,
0.023930877447128296,
-0.01967121660709381,
-0.03111562505364418,
-0.06899551302194595,
-0.019250735640525818,
0.0010403486667200923,
0.012011143378913403,
-0.014671145007014275,
-0.014012999832630157,
-0.07086025923490524,
-0.024589022621512413,
0.0239857230335474,
-0.011499252170324326,
-0.018939945846796036,
0.011453548446297646,
0.02435135841369629,
-0.0987948477268219,
0.040841542184352875,
0.039561815559864044,
-0.000971791974734515,
0.045631375163793564,
-0.03992745280265808,
-0.056892964988946915,
-0.011261588893830776,
0.01256873831152916,
0.012559597380459309,
0.007061345502734184,
-0.029232598841190338,
-0.020402489230036736,
-0.013272587209939957,
-0.03354710340499878,
-0.046326082199811935,
0.0014591162325814366,
0.01974434405565262,
0.07349283993244171,
0.03959837928414345,
0.014369495213031769,
-0.03413212299346924,
-0.011133616790175438,
0.0071664657443761826,
-0.05440663918852806,
0.011864888481795788,
0.038501471281051636,
0.018693141639232635,
-0.059635233134031296,
0.05078684166073799,
-0.038793981075286865,
-0.025484830141067505,
-0.05213969573378563,
0.01648104377090931,
0.01996372640132904,
-0.04756924510002136,
0.025996720418334007,
-0.00809426698833704,
0.019817471504211426,
-0.01578633487224579,
0.033126622438430786,
0.007655504159629345,
0.014506609179079533,
-0.053858183324337006,
0.03981776162981987,
0.0703849345445633,
-0.031042497605085373,
-0.04277941212058067,
-0.015237880870699883,
0.03628937527537346,
0.021261734887957573,
-0.08958082646131516,
0.03080483339726925,
0.014351213350892067,
0.0616096667945385,
-0.06438849866390228,
0.009195745922625065,
-0.09703979641199112,
-0.031755488365888596,
0.021188607439398766,
0.018830254673957825,
0.03332772105932236,
0.05488196387887001,
0.03080483339726925,
0.05605199933052063,
-0.04950711503624916,
-0.0743703618645668,
0.04881240800023079,
0.006745984312146902,
0.015091626904904842,
0.018464619293808937,
-0.018272660672664642,
-0.00014446907152887434,
0.013226882554590702,
-0.05725859850645065,
-0.050238389521837234,
-0.07758796215057373,
-0.009762481786310673,
0.0035718067083507776,
-0.01917760819196701,
0.04522917419672012,
0.011435266584157944,
0.008459903299808502,
0.009991004131734371,
0.030366070568561554,
0.054443202912807465,
0.007244163658469915,
-0.009259732440114021,
0.023601803928613663,
-0.0479348823428154,
-0.027605518698692322,
-0.023035068064928055,
-0.0318286158144474,
0.005310863256454468,
0.03886710852384567,
-0.03206627815961838,
-0.004504178650677204,
0.019835753366351128,
0.07663730531930923,
0.017486542463302612,
0.02934229001402855,
-0.006965366192162037,
0.03265129774808884,
-0.004913234151899815,
0.07700294256210327,
-0.05499165505170822,
0.03875741735100746,
-0.04862958937883377,
-0.052578460425138474,
-0.008953511714935303,
-0.02914118953049183,
-0.009524818509817123,
-0.044863540679216385,
-0.01776076853275299,
-0.02522888407111168,
0.005671928636729717,
0.013994717970490456,
0.005000072531402111,
-0.03864772617816925,
-0.03698408231139183,
-0.02457074075937271,
0.00023280730238184333,
0.013839323073625565,
0.03824552521109581,
-0.012742415070533752,
-0.01863829605281353,
-0.060110561549663544,
0.004673285409808159,
-0.03449775651097298,
0.039964016526937485,
0.026453765109181404,
-0.02709362842142582,
0.05842863395810127,
-0.004931515548378229,
-0.054845403879880905,
0.018665717914700508,
0.025576239451766014,
0.008075985126197338,
-0.059233035892248154,
0.054552894085645676,
0.007902308367192745,
0.05203000456094742,
0.027623800560832024,
0.018044136464595795,
0.0008695281576365232,
0.019616372883319855,
-0.07265187799930573,
-0.007719490211457014,
-0.036837827414274216,
0.0684836283326149,
-0.0009649362764321268,
-0.02405885048210621,
0.010182962752878666,
0.017047779634594917,
-0.019799189642071724,
-0.022285515442490578,
0.029817616567015648,
-0.03948868811130524,
-0.007664645090699196,
0.01740427501499653,
-0.01471684966236353,
-0.011974579654633999,
0.033601950854063034,
0.021298298612236977,
-0.05926959961652756,
0.0753210186958313,
-0.016673002392053604,
-0.035174183547496796,
-0.03628937527537346,
0.033803049474954605,
-0.0008849534206092358,
0.0029319438617676497,
0.013775336556136608,
-0.07203029096126556,
-0.016782693564891815,
-0.022852251306176186,
-0.016691284254193306,
0.06471757590770721,
0.03480855002999306,
-0.0077332016080617905,
-0.014351213350892067,
0.0479714460670948,
0.031060779467225075,
-0.03219424933195114,
-0.07451661676168442,
-0.04354725033044815,
-0.04705735668540001,
-0.014652863144874573,
0.04281597584486008,
-0.004490467254072428,
0.000980932847596705,
0.008775264024734497,
0.005425124429166317,
0.04062215983867645,
0.009067772887647152,
-0.046033572405576706,
-0.03894023597240448,
-0.010576021857559681,
-0.004677855875343084,
-0.04734986275434494,
0.020201390609145164,
-0.028446482494473457,
-0.02877555415034294,
-0.02142626978456974,
-0.022468332201242447,
-0.014744272455573082,
0.03533872216939926,
0.044936664402484894,
-0.0239674411714077,
-0.05126217007637024,
0.0011711778352037072,
-0.01715747080743313,
-0.005498251412063837,
-0.05857488885521889,
-0.011471830308437347,
0.05974492430686951,
-0.028885245323181152,
0.09645477682352066,
0.0391230545938015,
-0.01496365386992693,
0.044571030884981155,
-0.00594615563750267,
0.00048361075459979475,
0.0499093160033226,
0.03091452457010746,
-0.034863393753767014,
-0.04051246866583824,
-0.02652689255774021,
0.04449790343642235,
-0.024625586345791817,
0.005507392343133688,
0.013729631900787354,
0.026636583730578423,
-0.0259418748319149,
-0.027550673112273216,
-0.07985490560531616,
-0.0012248806888237596,
-0.02583218365907669,
0.025100912898778915,
-0.020567025989294052,
-0.0018270374275743961,
0.04435164853930473,
-0.011243307031691074,
-0.01403128169476986,
0.00748639740049839,
0.0032381638884544373,
-0.021956441923975945,
0.03568607568740845,
0.029598236083984375,
0.05948897823691368,
0.04830051586031914,
0.01744997873902321,
0.027075346559286118,
-0.016901524737477303,
0.030658580362796783,
-0.045558247715234756,
-0.022139260545372963,
-0.08043992519378662,
-0.0065357438288629055,
0.01715747080743313,
0.005914162378758192,
-0.01257787924259901,
-0.019634654745459557,
0.018656577914953232,
0.0410974882543087,
0.03658188134431839,
-0.03568607568740845,
-0.04058559611439705,
-0.05831894278526306,
-0.004161394666880369,
0.005969007965177298,
0.04179219529032707,
-0.024314794689416885,
-0.013949014246463776,
0.07184747606515884,
0.039671506732702255,
-0.007806329056620598,
-0.0006724274717271328,
0.014268944971263409,
-0.010045849718153477,
0.00927344337105751,
0.0430353581905365,
-0.05290753021836281,
0.03071342594921589,
0.01634392887353897,
-0.014095268212258816,
-0.05437007546424866,
0.030603734776377678,
0.033693358302116394,
-0.013254305347800255,
0.07597916573286057,
-0.023309295997023582,
0.0028839539736509323,
0.02524716593325138,
-0.003295294474810362,
0.03210284188389778,
-0.023656649515032768,
0.002666857559233904,
-0.018382349982857704,
0.016919806599617004,
0.013875886797904968,
0.029799334704875946,
0.03952525183558464,
-0.038208965212106705,
-0.03563122823834419,
-0.013418842107057571,
-0.0012340215034782887,
-0.01897650957107544,
-0.03268785774707794,
0.03597858548164368,
0.014771695248782635,
0.001244305050931871,
-0.03226737678050995,
-0.028720708563923836,
0.05627138167619705,
0.03606999292969704,
0.063584104180336,
0.014543171972036362,
-0.03120703436434269,
0.06716733425855637,
-0.03577748313546181,
0.02729472890496254,
0.0030644868966192007,
-0.024186821654438972,
0.035759203135967255,
-0.03352882340550423,
-0.008359353058040142,
-0.028702426701784134,
-0.048775844275951385,
-0.06914176791906357,
0.0010174964554607868,
-0.02073156274855137,
-0.05217625945806503,
-0.006247805431485176,
0.04771549999713898,
-0.001404270762577653,
-0.0056445058435201645,
-0.004607013892382383,
0.05049433186650276,
-0.002449761377647519,
0.00234692613594234,
0.005767907947301865,
0.03864772617816925,
0.020896097645163536,
-0.053858183324337006,
0.05850176140666008,
0.023912595584988594,
-0.026435483247041702,
0.002064700936898589,
0.014415199868381023,
-0.056198254227638245,
0.004547597840428352,
-0.02268771454691887,
-0.01554867159575224,
0.04511948302388191,
0.06837393343448639,
-0.09316405653953552,
-0.044571030884981155,
-0.02954339049756527,
0.0381724014878273,
0.04625295475125313,
0.02670971117913723,
-0.02778833732008934,
-0.011938015930354595,
-0.031371571123600006,
-0.015338431112468243,
0.00821766909211874,
-0.0337664857506752,
0.011864888481795788,
-0.01047547161579132
] |
709,813
|
configargparse
|
get_toml_section
|
Given some TOML data (as loaded with `toml.load()`), returns the requested section of the data.
Returns ``None`` if the section is not found.
|
def get_toml_section(data, section):
"""
Given some TOML data (as loaded with `toml.load()`), returns the requested section of the data.
Returns ``None`` if the section is not found.
"""
sections = parse_toml_section_name(section) if isinstance(section, str) else section
itemdata = data.get(sections[0])
if not itemdata:
return None
sections = sections[1:]
if sections:
return get_toml_section(itemdata, sections)
else:
if not isinstance(itemdata, dict):
return None
return itemdata
|
(data, section)
|
[
0.0001242375437868759,
0.05386983975768089,
0.018983718007802963,
-0.028103694319725037,
0.004517930094152689,
-0.026279699057340622,
0.04675094783306122,
0.01655762642621994,
-0.005193073768168688,
-0.01672585867345333,
0.029732894152402878,
-0.04136750474572182,
-0.01244921050965786,
-0.044094640761613846,
0.02996310591697693,
0.03718825429677963,
-0.03885287046432495,
0.004484726116061211,
-0.013741944916546345,
0.007132175378501415,
0.04721137136220932,
-0.023517142981290817,
0.01151064969599247,
0.014963844791054726,
-0.0230035912245512,
0.007597028743475676,
0.03447882458567619,
-0.0018361699767410755,
0.01338777132332325,
-0.04607801511883736,
-0.02558906003832817,
-0.02971518412232399,
-0.019426435232162476,
0.05224063992500305,
-0.02898912876844406,
0.013281518593430519,
0.025766147300601006,
-0.01645137555897236,
-0.009615819901227951,
0.026740124449133873,
-0.03132667392492294,
0.019107678905129433,
-0.021746274083852768,
0.009686654433608055,
-0.011953366920351982,
-0.011280437000095844,
-0.0042611537501215935,
0.04791972041130066,
-0.029290176928043365,
0.00003856482726405375,
0.03065374493598938,
-0.005498548969626427,
-0.03214127570390701,
-0.007025923579931259,
-0.0036391362082213163,
-0.02126813866198063,
-0.040234148502349854,
0.020878547802567482,
0.0265453290194273,
0.06254710257053375,
0.018151409924030304,
-0.004568842239677906,
0.0023618966806679964,
0.021569186821579933,
-0.05411776155233383,
-0.018966007977724075,
0.040340401232242584,
-0.0005484160501509905,
-0.005502976011484861,
-0.01327266450971365,
-0.047990553081035614,
0.06049289181828499,
0.0009357936796732247,
-0.0007957843481563032,
0.04894682392477989,
-0.03525800630450249,
-0.011014806106686592,
-0.0011997638503089547,
0.0490884929895401,
0.039525799453258514,
-0.07058684527873993,
0.03171626850962639,
-0.050469771027565,
0.040694572031497955,
-0.04207585006952286,
0.023889025673270226,
0.09413940459489822,
0.01841703988611698,
-0.023658812046051025,
-0.04777805134654045,
-0.009810615330934525,
0.006468099541962147,
-0.016194598749279976,
0.006689458154141903,
0.023180676624178886,
-0.016982635483145714,
-0.013015888631343842,
0.0028466721996665,
-0.08733926713466644,
0.024986963719129562,
0.0069418069906532764,
-0.05096561461687088,
-0.024969255551695824,
0.016274288296699524,
0.04898224025964737,
-0.032212112098932266,
-0.051390621811151505,
0.03161001577973366,
-0.00034697967930696905,
0.0035771557595580816,
-0.026633871719241142,
-0.05075310915708542,
-0.11468148976564407,
0.06941807270050049,
0.03447882458567619,
0.012555462308228016,
-0.004019873216748238,
-0.0250046718865633,
-0.05638447403907776,
-0.046219684183597565,
0.000016887242964003235,
-0.0424654446542263,
-0.019780607894062996,
-0.011262727901339531,
0.0030901667196303606,
-0.041615426540374756,
-0.025996359065175056,
-0.001469821436330676,
0.027413055300712585,
-0.020984800532460213,
0.0678597092628479,
0.007353534456342459,
-0.020719168707728386,
-0.05319691076874733,
-0.037967436015605927,
0.04331545904278755,
-0.0060607995837926865,
0.03902995586395264,
-0.030246445909142494,
0.06190958619117737,
-0.010873137041926384,
-0.017133159562945366,
-0.08393920212984085,
-0.04413006082177162,
-0.0200816560536623,
-0.04873431846499443,
-0.026138028129935265,
0.031273551285266876,
-0.011643464677035809,
-0.03145063668489456,
0.001854985486716032,
-0.02913079783320427,
0.009367898106575012,
-0.03272566199302673,
0.03991539031267166,
-0.03238919749855995,
-0.026722416281700134,
-0.07366815954446793,
-0.006596487481147051,
-0.08698509633541107,
0.009323625825345516,
-0.029555806890130043,
0.017487332224845886,
0.0035837965551763773,
0.013458605855703354,
0.02089625597000122,
0.010244478471577168,
-0.06499090045690536,
0.03711741790175438,
0.008911899290978909,
-0.021657729521393776,
0.0330798365175724,
-0.04072999209165573,
0.033044420182704926,
0.010704903863370419,
-0.00868611317127943,
-0.028475577011704445,
-0.03272566199302673,
0.036001771688461304,
-0.04448423534631729,
-0.057376161217689514,
0.05291357263922691,
-0.02018790878355503,
0.046432189643383026,
-0.007459786254912615,
0.015264892019331455,
-0.03194648027420044,
-0.0263151153922081,
-0.006507944315671921,
-0.02571302093565464,
-0.02898912876844406,
-0.05376358702778816,
-0.03256628289818764,
-0.01857641711831093,
0.014875301159918308,
0.0075439028441905975,
0.02934330143034458,
0.05486152693629265,
0.045617591589689255,
0.0031831373926252127,
0.01355600357055664,
-0.03722367063164711,
-0.016194598749279976,
0.12162329256534576,
-0.07614737749099731,
0.02888287603855133,
0.04699886962771416,
0.06389296054840088,
-0.09576860815286636,
0.040942493826150894,
-0.021409807726740837,
-0.00868611317127943,
-0.005046977195888758,
0.05369275435805321,
0.06300752609968185,
0.007946775294840336,
-0.07267647236585617,
-0.03019331954419613,
-0.05376358702778816,
0.0240838211029768,
-0.02068375237286091,
-0.039384130388498306,
0.09576860815286636,
0.057694919407367706,
0.017797235399484634,
-0.03779034689068794,
-0.025872398167848587,
-0.028475577011704445,
-0.0205420833081007,
0.051142700016498566,
0.05351566523313522,
-0.02794431522488594,
0.07728073000907898,
0.001230754074640572,
0.005321461707353592,
-0.024597372859716415,
-0.0335402637720108,
-0.02502238191664219,
0.07912243157625198,
-0.012945054098963737,
-0.010235623456537724,
-0.045511338859796524,
-0.017699837684631348,
0.037967436015605927,
-0.016026366502046585,
0.04993851110339165,
0.003588223597034812,
-0.023517142981290817,
-0.0011139874113723636,
-0.03651532158255577,
-0.03205273300409317,
0.07572236657142639,
0.04172167927026749,
0.05967829003930092,
0.006627477705478668,
-0.046467605978250504,
0.03052978403866291,
0.025624476373195648,
0.02287963032722473,
-0.01056323479861021,
0.012378375977277756,
-0.021887943148612976,
0.05670323222875595,
-0.019054552540183067,
-0.031149588525295258,
-0.050221849232912064,
-0.008181415498256683,
0.023782772943377495,
-0.03315066918730736,
0.01180284284055233,
0.09010182321071625,
-0.0047503565438091755,
0.04285503551363945,
-0.0006358526879921556,
0.07196812331676483,
0.011262727901339531,
0.06414087861776352,
0.00787151325494051,
0.04547591879963875,
-0.003827291075140238,
-0.01351173222064972,
0.040623739361763,
-0.04158000648021698,
0.03309754654765129,
-0.028440158814191818,
-0.07898076623678207,
0.028918294236063957,
0.011138767004013062,
0.07239313423633575,
0.07033892720937729,
-0.012396084144711494,
-0.03396527096629143,
-0.1052604615688324,
0.007335825357586145,
-0.05358650162816048,
0.04182792827486992,
-0.04884057119488716,
0.009164247661828995,
0.07012642174959183,
-0.06729302555322647,
0.013139849528670311,
0.0028112547006458044,
0.032353781163692474,
-0.022702543064951897,
-0.0008074056822806597,
0.03042353317141533,
0.005905848927795887,
0.0014753553550690413,
-0.008354075253009796,
-0.04214668646454811,
-0.01686752960085869,
-0.05624280497431755,
0.006946234498172998,
0.019585812464356422,
-0.08620591461658478,
0.05610113590955734,
-0.01891288347542286,
0.01556594017893076,
0.0540115088224411,
0.01995769515633583,
-0.05471985787153244,
-0.009500713087618351,
0.055003196001052856,
-0.03555905446410179,
0.06403462588787079,
-0.051957301795482635,
0.004856608808040619,
-0.03311525285243988,
0.013839342631399632,
0.057128239423036575,
-0.0254650991410017,
-0.0020132570061832666,
0.026155738160014153,
0.05316149443387985,
-0.021055635064840317,
0.00690196268260479,
-0.03075999766588211,
0.007849377579987049,
0.001560578471980989,
-0.004141620360314846,
0.055711545050144196,
-0.009544984437525272,
0.012688277289271355,
-0.0037608833517879248,
0.11808155477046967,
0.025394264608621597,
0.07841408997774124,
0.02312755212187767,
0.007211864925920963,
-0.0083850659430027,
-0.006578778848052025,
0.0036302818916738033,
0.02535884641110897,
0.0008644055342301726,
-0.03655073791742325,
0.017629003152251244,
0.05305524170398712,
-0.046325936913490295,
0.002181489486247301,
0.043492548167705536,
0.05861577019095421,
0.020347286015748978,
-0.03428402543067932,
0.034230902791023254,
-0.012555462308228016,
-0.006649613846093416,
-0.06704510748386383,
0.045617591589689255,
0.06403462588787079,
-0.022259825840592384,
0.021161885932087898,
-0.03522258624434471,
0.05411776155233383,
-0.010678340680897236,
-0.015716463327407837,
-0.020860839635133743,
0.03532883897423744,
-0.003836145391687751,
-0.018877465277910233,
-0.047494709491729736,
-0.028705788776278496,
0.03168084844946861,
-0.03299129381775856,
0.03849869593977928,
-0.0120419105514884,
-0.0046972306445240974,
-0.053621917963027954,
-0.047034285962581635,
0.0031521471682935953,
-0.012714840471744537,
-0.020807713270187378,
0.068320132791996,
0.03561218082904816,
-0.021693147718906403,
-0.028369324281811714,
0.025411972776055336,
0.03244232386350632,
-0.052205223590135574,
-0.03614344075322151,
0.03230065479874611,
0.063397116959095,
-0.042819615453481674,
0.014158098958432674,
0.0015240543289110065,
0.014990407973527908,
0.04965517297387123,
0.003450981341302395,
-0.04742387682199478,
-0.002490284852683544,
-0.0530906580388546,
0.022844212129712105,
-0.0018383836140856147,
-0.009500713087618351,
-0.02525259368121624,
0.051957301795482635,
0.0057420432567596436,
0.08145998418331146,
0.07763490825891495,
-0.022808795794844627,
0.005020414013415575,
0.009899158962070942,
-0.03842785954475403,
0.0042456588707864285,
0.01914309523999691,
0.014972698874771595,
-0.006463672500103712,
-0.022507747635245323,
-0.00207191682420671,
-0.03290275111794472,
0.007269417867064476,
-0.027041172608733177,
-0.04944266751408577,
-0.021870234981179237,
-0.051496874541044235,
0.04391755536198616,
0.032955873757600784,
-0.003871562657877803,
-0.014344040304422379,
-0.014972698874771595,
-0.011448669247329235,
0.06307835876941681,
0.011439815163612366,
-0.025323430076241493,
0.023517142981290817,
-0.021799400448799133,
-0.004480299074202776,
-0.019337890669703484,
-0.014591962099075317,
-0.013998720794916153,
-0.025341138243675232,
-0.012705986388027668,
0.015344581566751003,
-0.005808450747281313,
0.009181956760585308,
0.01780609041452408,
-0.07409316301345825,
-0.03019331954419613,
0.010324167087674141,
0.03371734917163849,
-0.01620345376431942,
-0.026474494487047195,
0.04055290296673775,
0.12282748520374298,
-0.010997097939252853,
0.07968911528587341,
-0.04791972041130066,
0.00392026174813509,
-0.01715972274541855,
-0.043280042707920074,
-0.041509173810482025,
-0.01666387915611267,
-0.008734812028706074,
0.003435486229136586,
-0.006140488665550947,
0.021870234981179237,
0.03736533969640732,
-0.005737616214901209,
0.011997638270258904,
0.009978847578167915,
0.00004745375917991623,
0.021905651316046715,
-0.02689950354397297,
-0.01016478892415762,
0.05082394555211067,
-0.04264253005385399,
0.004382901359349489,
-0.032955873757600784,
-0.006658467929810286,
-0.03782576695084572,
0.00015979327145032585,
-0.018222244456410408,
-0.005356879439204931,
-0.009243937209248543,
-0.03984455764293671,
0.05245314538478851,
0.0006828914047218859,
0.038357026875019073,
0.03315066918730736,
0.00142333609983325,
0.032707951962947845,
0.01250233594328165,
0.03006935864686966,
0.081247478723526,
-0.04055290296673775,
-0.022153573110699654,
-0.01774410903453827,
-0.04002164304256439,
0.03690491244196892,
0.04742387682199478,
0.005976683460175991,
0.0018007525941357017,
0.043173789978027344,
0.03249545022845268,
-0.015344581566751003,
0.03697574883699417,
0.05780116841197014,
-0.03991539031267166,
0.043634217232465744,
-0.003949038218706846,
-0.016477936878800392,
0.0007321437005884945,
-0.03520487993955612,
0.048344727605581284,
0.0012263269163668156,
0.022525455802679062,
0.049619752913713455,
-0.021586894989013672,
-0.016938364133238792,
-0.06442422419786453,
-0.031645432114601135,
-0.007273844908922911,
0.010244478471577168,
-0.029183924198150635,
0.022844212129712105,
-0.0167701318860054,
-0.016442520543932915,
-0.060669977217912674,
-0.02550051547586918,
0.011289291083812714,
-0.014600816182792187,
-0.01797432266175747,
-0.036338236182928085,
0.07968911528587341,
0.01745191588997841,
-0.01818682625889778,
0.02126813866198063,
-0.032212112098932266,
0.034815289080142975,
-0.02335776388645172,
0.08011411875486374,
-0.03849869593977928,
0.01854100078344345,
0.060882482677698135,
0.014299768954515457,
-0.019196221604943275,
-0.004489153157919645,
-0.07487235218286514,
-0.04629052057862282,
0.02725367620587349,
-0.05121353641152382,
-0.015512813813984394,
0.023446308448910713,
-0.004449308849871159,
0.04345712810754776,
0.033292341977357864,
-0.04476757347583771,
-0.04788430407643318,
-0.041615426540374756,
-0.0490884929895401,
0.00677800178527832,
0.01901913434267044,
0.014689359813928604,
0.02381819114089012,
-0.014680505730211735,
0.011714299209415913,
0.022985881194472313,
-0.022596290335059166,
0.015884695574641228,
0.03743617609143257,
-0.0007946775294840336,
0.0046972306445240974,
-0.01474248617887497,
0.04930099844932556,
-0.005821732338517904,
0.020028529688715935,
-0.024455703794956207,
-0.002662944607436657,
0.02594323270022869,
0.0008522307616658509,
-0.010058537125587463,
0.014308623038232327,
0.00414383364841342,
-0.00663190521299839,
-0.031078753992915154,
0.05319691076874733,
0.025199469178915024,
0.026120319962501526,
-0.004185892175883055,
0.028209945186972618,
-0.023906733840703964,
-0.0205420833081007,
0.016132617369294167,
-0.0016181317623704672,
-0.008283240720629692,
0.0033646514639258385,
0.03607260435819626,
-0.024969255551695824,
0.01315755769610405,
-0.0005860470118932426,
-0.05082394555211067,
0.017992030829191208,
-0.0410841666162014,
0.01737222634255886,
0.009297063574194908,
0.006445963867008686,
-0.029732894152402878,
0.007743125315755606,
-0.0018915096297860146,
0.013821633532643318,
-0.028794333338737488,
-0.00631314842030406,
0.005303753074258566,
-0.010129371657967567,
0.029095379635691643,
-0.0392424613237381,
-0.0305474940687418,
0.028369324281811714,
-0.019461851567029953,
-0.02160460315644741,
-0.04448423534631729,
0.018487874418497086,
-0.0036236410960555077,
0.06244084611535072,
-0.023747354745864868,
-0.020807713270187378,
0.019550396129488945,
0.00812386255711317,
-0.03637365251779556,
0.011475232429802418,
0.007087904028594494,
-0.03279649838805199,
-0.010917408391833305,
0.015778444707393646,
0.006525652948766947,
0.011227310635149479,
0.008185843005776405,
0.05245314538478851,
-0.002450440311804414,
0.0205420833081007,
-0.005135520827025175,
-0.048344727605581284,
0.02675783261656761,
-0.03207043930888176,
0.028617246076464653,
0.03683407977223396,
-0.038817454129457474,
0.045050911605358124,
-0.02925475873053074,
-0.07281813770532608,
-0.012874218635261059,
-0.06722219288349152,
-0.009580402635037899,
-0.07019725441932678,
0.011032515205442905,
0.061024151742458344,
-0.06318461149930954,
-0.032353781163692474,
0.03182251751422882,
0.011404397897422314,
0.0016048501711338758,
-0.00894731655716896,
0.06399921327829361,
0.033292341977357864,
0.025535933673381805,
0.01109449565410614,
-0.05100103095173836,
0.046325936913490295,
-0.04767179861664772,
-0.02491612918674946,
0.00828766729682684,
0.03392985463142395,
0.014777903445065022,
-0.03683407977223396,
0.06336169689893723,
-0.0006552215781994164,
0.11574400961399078,
0.024101529270410538,
-0.040942493826150894,
0.015689900144934654,
-0.0033270204439759254,
0.02006394788622856,
-0.019780607894062996,
-0.054436519742012024,
0.025642186403274536,
0.024863002821803093,
-0.07898076623678207,
-0.03715283423662186,
0.09683112800121307,
0.055392786860466,
0.033770475536584854,
0.04629052057862282,
-0.03042353317141533,
0.0035837965551763773,
-0.05457818880677223,
-0.016336267814040184,
-0.0847892165184021,
-0.028865167871117592,
0.014751340262591839,
-0.04884057119488716,
-0.013122140429913998,
-0.003315952606499195,
0.03150376304984093,
0.013166412711143494,
-0.045511338859796524,
0.03584239259362221,
-0.010439273901283741,
-0.08606424182653427,
0.02208273857831955,
-0.031043335795402527,
-0.019656646996736526,
-0.004254513420164585,
-0.014193516224622726,
-0.005773033481091261,
-0.019886860623955727,
0.033416301012039185,
0.04352796450257301,
0.019939986988902092,
-0.04791972041130066,
-0.05882827565073967,
0.08627674728631973,
-0.016646170988678932,
-0.01803630217909813,
0.03192877024412155,
0.011050223372876644,
0.019550396129488945,
0.016398249194025993,
-0.02840474247932434,
0.016761276870965958,
-0.0037498155143111944,
-0.010616361163556576,
-0.02619115449488163,
0.05316149443387985,
-0.001922499854117632,
0.04969058930873871,
0.024243198335170746,
-0.08408086746931076,
-0.006034236866980791,
-0.001221899758093059,
-0.017212849110364914,
0.018647251650691032,
0.01203305646777153,
0.016902945935726166,
-0.022472329437732697,
0.02782035432755947,
-0.0035948643926531076,
-0.015167494304478168,
-0.011076786555349827,
-0.005737616214901209,
0.046467605978250504,
0.03439027816057205,
-0.014476855285465717,
0.023517142981290817,
-0.010412710718810558,
0.04391755536198616,
0.0026651581283658743,
-0.03465590998530388,
-0.06782428920269012,
-0.00909341312944889
] |
709,815
|
configargparse
|
init_argument_parser
|
Creates a global ArgumentParser instance with the given name,
passing any args other than "name" to the ArgumentParser constructor.
This instance can then be retrieved using get_argument_parser(..)
|
def init_argument_parser(name=None, **kwargs):
"""Creates a global ArgumentParser instance with the given name,
passing any args other than "name" to the ArgumentParser constructor.
This instance can then be retrieved using get_argument_parser(..)
"""
if name is None:
name = "default"
if name in _parsers:
raise ValueError(("kwargs besides 'name' can only be passed in the"
" first time. '%s' ArgumentParser already exists: %s") % (
name, _parsers[name]))
kwargs.setdefault('formatter_class', argparse.ArgumentDefaultsHelpFormatter)
kwargs.setdefault('conflict_handler', 'resolve')
_parsers[name] = ArgumentParser(**kwargs)
|
(name=None, **kwargs)
|
[
-0.023127157241106033,
-0.01869755983352661,
0.03224746137857437,
-0.01734536699950695,
-0.0011027364525943995,
0.02502955123782158,
0.04655272886157036,
0.03748837485909462,
-0.018259262666106224,
0.010183409787714481,
-0.008542126975953579,
-0.014137406833469868,
-0.06326396763324738,
-0.001586494967341423,
-0.011740761809051037,
-0.00677961390465498,
0.013251488097012043,
0.0658377930521965,
-0.07061243057250977,
-0.004788626916706562,
0.048753537237644196,
-0.03159467875957489,
0.004716354422271252,
0.013950897380709648,
0.02016165852546692,
0.0346534326672554,
0.008113156072795391,
0.016384843736886978,
-0.02008705399930477,
-0.014128081500530243,
0.004084554500877857,
-0.03842092305421829,
0.020609280094504356,
0.04890274628996849,
0.03894314914941788,
-0.052222613245248795,
-0.03886854276061058,
0.1077277883887291,
-0.014902095310389996,
-0.02118746004998684,
0.06143617257475853,
-0.01631024107336998,
0.012048502452671528,
-0.01838981918990612,
-0.013148907572031021,
0.01090147066861391,
0.006364631000906229,
0.019285064190626144,
-0.029226012527942657,
-0.018818791955709457,
0.04028601571917534,
-0.04644082114100456,
0.0381411574780941,
0.016123730689287186,
0.0138483177870512,
0.08004980534315109,
0.03120301105082035,
0.05681074038147926,
-0.019359668716788292,
-0.010556427761912346,
-0.039689186960458755,
0.026502976194024086,
0.053677383810281754,
-0.037693534046411514,
-0.05334166809916496,
-0.03983839228749275,
-0.021355317905545235,
-0.023183109238743782,
-0.025216061621904373,
0.037320517003536224,
-0.03920426219701767,
0.019023951143026352,
-0.059869494289159775,
-0.07676723599433899,
0.061585381627082825,
0.06389809399843216,
-0.08288474380970001,
0.030083954334259033,
0.014482449740171432,
0.07691644877195358,
-0.009152945131063461,
0.015489599667489529,
-0.050133708864450455,
0.020254913717508316,
-0.005767800845205784,
-0.014081453904509544,
-0.04785829409956932,
0.011694135144352913,
0.14420901238918304,
-0.05610200762748718,
-0.024190260097384453,
-0.017550528049468994,
0.031389519572257996,
0.05162578076124191,
-0.039726488292217255,
-0.02504820190370083,
-0.02706250362098217,
0.021970799192786217,
0.05005910247564316,
-0.006448559928685427,
-0.07456643134355545,
0.02115015871822834,
-0.026316465809941292,
-0.04125586524605751,
-0.024843042716383934,
0.01075226254761219,
0.045993201434612274,
-0.02458192966878414,
0.015004675835371017,
0.02215730771422386,
-0.030475623905658722,
-0.03301215171813965,
-0.039689186960458755,
0.06747907400131226,
-0.04655272886157036,
0.02392914704978466,
0.013148907572031021,
0.011591554619371891,
0.04726146534085274,
0.01442649681121111,
-0.08646572381258011,
0.03234071657061577,
0.005115018226206303,
0.039353467524051666,
0.03780544176697731,
-0.041479673236608505,
-0.023481523618102074,
-0.0451352559030056,
0.04644082114100456,
0.04230031743645668,
0.11869453638792038,
0.00835561752319336,
-0.0172894150018692,
-0.0624060221016407,
0.02426486276090145,
-0.051140859723091125,
-0.0035157008096575737,
0.08437681943178177,
-0.02290334552526474,
0.006830904167145491,
-0.027137108147144318,
-0.016207661479711533,
0.013531251810491085,
-0.03424311429262161,
-0.034224461764097214,
-0.0015526901697739959,
0.0045857978984713554,
0.027901794761419296,
-0.007441722322255373,
0.048343218863010406,
0.015359043143689632,
0.02568233385682106,
0.05472183600068092,
0.04084554314613342,
0.059533778578042984,
-0.020273564383387566,
-0.010416545905172825,
-0.01975133828818798,
-0.026316465809941292,
0.020254913717508316,
0.005492699798196554,
-0.007082691881805658,
0.0416288822889328,
-0.07244022190570831,
0.0022579284850507975,
-0.01663663238286972,
-0.026502976194024086,
-0.02327636443078518,
0.03773083537817001,
0.02223191224038601,
-0.045284464955329895,
0.016590004786849022,
-0.021019602194428444,
-0.0001525588013464585,
0.029673634096980095,
-0.002282407833263278,
0.011535601690411568,
0.03633201867341995,
0.02566368319094181,
0.005329504143446684,
-0.0032779015600681305,
-0.009651857428252697,
-0.004816603381186724,
-0.03612685576081276,
0.0026880656369030476,
0.012887794524431229,
0.03752567619085312,
0.01697234809398651,
0.00130090257152915,
0.01976998895406723,
0.03612685576081276,
-0.004296708852052689,
-0.00987566914409399,
-0.04125586524605751,
-0.02736091800034046,
0.052632931619882584,
-0.056027401238679886,
0.017830291762948036,
0.04024871438741684,
0.04535906761884689,
-0.014902095310389996,
0.00087950803572312,
-0.053304366767406464,
0.036891546100378036,
0.025589080527424812,
0.018902720883488655,
0.021653732284903526,
0.016403496265411377,
-0.05852662771940231,
0.009306815452873707,
-0.012542752549052238,
-0.05957107990980148,
0.0112838139757514,
0.03504510223865509,
-0.0415915809571743,
0.016832467168569565,
0.011694135144352913,
0.02568233385682106,
0.045657481998205185,
0.040435221046209335,
0.04990989714860916,
0.012216361239552498,
0.08198950439691544,
0.018902720883488655,
-0.021112855523824692,
-0.015470949001610279,
0.011889969930052757,
-0.008015238679945469,
-0.012486799620091915,
0.03551137447357178,
0.0033291915897279978,
-0.008943121880292892,
-0.0346534326672554,
-0.026241863146424294,
-0.024078354239463806,
-0.1004912257194519,
0.0346534326672554,
-0.020236263051629066,
-0.04782099276781082,
-0.05457263067364693,
0.010202060453593731,
0.04330746456980705,
-0.021299365907907486,
0.030289115384221077,
-0.03015855886042118,
-0.016254287213087082,
-0.014370543882250786,
-0.028218861669301987,
0.019527526572346687,
-0.019014626741409302,
-0.009451360441744328,
0.014473123475909233,
-0.008089842274785042,
0.03286294266581535,
-0.023817241191864014,
-0.007539639715105295,
-0.03021451085805893,
0.07479023933410645,
-0.019247762858867645,
-0.03795464709401131,
0.04450112581253052,
0.02670813538134098,
-0.0019898214377462864,
0.022996600717306137,
-0.0055719660595059395,
0.0017508562887087464,
0.04196459800004959,
-0.09086734801530838,
0.03262048214673996,
-0.018902720883488655,
0.08437681943178177,
-0.016450121998786926,
0.010472498834133148,
0.017196159809827805,
-0.012794540263712406,
-0.00450886320322752,
0.006774951238185167,
-0.021579129621386528,
0.0032266112975776196,
0.03336651995778084,
0.04136776924133301,
0.015853293240070343,
0.015741387382149696,
0.04647812619805336,
-0.023425571620464325,
0.022343818098306656,
-0.004767644684761763,
0.03857012838125229,
-0.04200189933180809,
0.004755987785756588,
0.0038141156546771526,
0.04476223886013031,
-0.04136776924133301,
0.012552077881991863,
-0.005567303393036127,
0.020012451335787773,
0.01668325997889042,
0.028610531240701675,
-0.0035599968396127224,
-0.02805100381374359,
0.02739822119474411,
-0.05102895200252533,
-0.028610531240701675,
0.0033548364881426096,
0.008560778573155403,
-0.0032172859646379948,
-0.004310696851462126,
-0.002443272154778242,
0.029972048476338387,
0.01528443954885006,
-0.004951822571456432,
0.03506375476717949,
-0.047671783715486526,
-0.03616415709257126,
0.002302224515005946,
-0.01697234809398651,
0.016739211976528168,
-0.05028291419148445,
0.011843342334032059,
0.012719936668872833,
-0.01526578888297081,
0.0038094529882073402,
-0.06967988610267639,
-0.0935530811548233,
0.028200211003422737,
0.07423071563243866,
0.010826866142451763,
0.007241224870085716,
0.04673923924565315,
0.05647502467036247,
-0.06815050542354584,
-0.048790838569402695,
-0.03260182961821556,
0.02428351528942585,
0.005329504143446684,
-0.09168798476457596,
-0.004133513197302818,
-0.015163208357989788,
-0.007534977048635483,
-0.06072743609547615,
0.022362468764185905,
0.03437367081642151,
-0.06725526601076126,
-0.04095744714140892,
0.012533427216112614,
0.0016272938810288906,
0.037637583911418915,
-0.04782099276781082,
0.0451352559030056,
-0.08474984019994736,
-0.03362763300538063,
0.03092324733734131,
-0.08184029161930084,
-0.0046347565948963165,
0.042151108384132385,
0.01982594095170498,
-0.025514476001262665,
0.00835561752319336,
0.038197111338377,
-0.022791439667344093,
-0.03571653738617897,
0.0011447010328993201,
-0.025570429861545563,
-0.02327636443078518,
-0.02391049638390541,
-0.05770598724484444,
0.016179684549570084,
0.011143932119011879,
0.007935971952974796,
-0.03942807391285896,
0.02978553995490074,
-0.0025132133159786463,
0.0049611483700573444,
0.0002427535509923473,
-0.007567616179585457,
0.0028442672919481993,
0.04763448238372803,
0.003886388149112463,
-0.020273564383387566,
-0.09631341695785522,
-0.02467518486082554,
0.044911447912454605,
0.029692284762859344,
-0.016133056953549385,
-0.013242162764072418,
-0.059869494289159775,
0.005152320023626089,
0.019602131098508835,
0.020721185952425003,
-0.0046347565948963165,
-0.007628231309354305,
-0.03124031238257885,
0.015797339379787445,
0.019285064190626144,
0.006387944333255291,
-0.013587204739451408,
0.019359668716788292,
0.026875995099544525,
-0.09213560819625854,
0.038980450481176376,
0.020683884620666504,
-0.04024871438741684,
0.04293444752693176,
-0.0694560706615448,
-0.03953997790813446,
0.00212620641104877,
0.021933497861027718,
0.01370843593031168,
0.007306503131985664,
-0.0032475937623530626,
-0.005502025131136179,
-0.01872553676366806,
-0.040808241814374924,
-0.04662733152508736,
-0.026931947097182274,
0.030065303668379784,
0.07031401991844177,
0.025104155763983727,
0.007730811834335327,
-0.043866995722055435,
-0.022679533809423447,
0.01008082926273346,
-0.0415169782936573,
0.05308055505156517,
0.05927266553044319,
0.012598705478012562,
-0.05442342162132263,
0.026558928191661835,
-0.016450121998786926,
-0.03321731090545654,
-0.04543367400765419,
0.05759407952427864,
0.05129006505012512,
-0.033105406910181046,
0.04397889971733093,
-0.004427265375852585,
0.019975150004029274,
-0.03504510223865509,
0.019546177238225937,
0.005404107738286257,
0.032396670430898666,
-0.04726146534085274,
0.04569478705525398,
0.06371158361434937,
-0.046291615813970566,
-0.04409080371260643,
-0.004226767458021641,
0.04050982743501663,
0.023873193189501762,
-0.05681074038147926,
0.027342267334461212,
0.00685421796515584,
0.03586574271321297,
-0.08721176534891129,
-0.015843966975808144,
-0.07907995581626892,
-0.030997850000858307,
0.05304325371980667,
-0.00529686501249671,
0.02917005866765976,
0.04759718105196953,
0.02633511647582054,
0.028274813666939735,
-0.015396345406770706,
-0.06277903914451599,
0.04823131114244461,
0.015359043143689632,
0.0014815834583714604,
0.01511658076196909,
-0.005632581654936075,
-0.011022700928151608,
0.0381411574780941,
-0.03864473104476929,
-0.035921696573495865,
-0.08512286096811295,
-0.028983550146222115,
0.0006877531413920224,
-0.007483686786144972,
0.018557678908109665,
0.028647832572460175,
0.0070640407502651215,
0.017149532213807106,
0.0555424764752388,
0.02571963705122471,
0.022325167432427406,
-0.016590004786849022,
0.028218861669301987,
-0.07930376380681992,
-0.012925096787512302,
-0.00536680594086647,
-0.032825641334056854,
-0.015797339379787445,
0.027211710810661316,
-0.008700660429894924,
0.013363393023610115,
0.01633821800351143,
0.08422761410474777,
0.020068403333425522,
0.036966148763895035,
-0.008789252489805222,
0.029897445812821388,
-0.04375508800148964,
0.04535906761884689,
-0.04382969066500664,
0.042897146195173264,
-0.022045401856303215,
-0.05274483934044838,
0.0005840073572471738,
-0.03260182961821556,
0.0138856191188097,
-0.05240911990404129,
-0.026129957288503647,
-0.004998450167477131,
-0.0004930840223096311,
0.03580979257822037,
-0.01632889173924923,
-0.05834011733531952,
-0.03148277476429939,
-0.03015855886042118,
0.000582550244871527,
0.016869768500328064,
0.01008082926273346,
-0.01249612495303154,
-0.02083309181034565,
-0.05274483934044838,
-0.0024712486192584038,
-0.000832880730740726,
0.03853282704949379,
0.032060954719781876,
-0.026447022333741188,
0.04092014580965042,
-0.03513835743069649,
-0.043941598385572433,
0.010798890143632889,
0.02051602676510811,
0.0276966355741024,
-0.04140507057309151,
0.05826551467180252,
0.0018499393481761217,
0.04673923924565315,
0.03086729347705841,
0.042113807052373886,
-0.00970781035721302,
0.00492850923910737,
-0.03124031238257885,
0.006821578834205866,
-0.05274483934044838,
0.0555797815322876,
0.003249925095587969,
-0.027976399287581444,
0.003138019470497966,
0.008532801643013954,
-0.010491149500012398,
-0.002184490440413356,
0.008378931321203709,
-0.043568577617406845,
-0.00701741361990571,
-0.014128081500530243,
0.007227236405014992,
-0.003988968208432198,
0.04304635152220726,
0.039055053144693375,
-0.06113775819540024,
0.060242511332035065,
-0.005907683167606592,
-0.049126558005809784,
-0.020236263051629066,
0.017578504979610443,
-0.020049752667546272,
0.028256163001060486,
0.012039177119731903,
-0.08721176534891129,
-0.043158259242773056,
-0.00794996041804552,
-0.036611780524253845,
0.04397889971733093,
0.05076783895492554,
-0.018156683072447777,
-0.0112931402400136,
0.02191484533250332,
0.02115015871822834,
-0.021038252860307693,
-0.08355618268251419,
-0.03924156352877617,
-0.017112230882048607,
0.010547102428972721,
0.04782099276781082,
0.010686984285712242,
0.016487425193190575,
0.010136782191693783,
-0.03185579180717468,
0.01739199459552765,
0.009306815452873707,
-0.05162578076124191,
-0.0589742511510849,
0.021056903526186943,
0.030289115384221077,
-0.07262673228979111,
0.042897146195173264,
-0.04099475219845772,
-0.03256452828645706,
-0.009838366881012917,
-0.04990989714860916,
-0.010836192406713963,
0.04136776924133301,
0.05129006505012512,
-0.016170358285307884,
-0.035212960094213486,
-0.004821266047656536,
0.000054969252232695,
-0.010509801097214222,
-0.03853282704949379,
0.01335406769067049,
0.06490524858236313,
-0.038383617997169495,
0.08877844363451004,
0.04662733152508736,
-0.016133056953549385,
0.038383617997169495,
-0.0013883288484066725,
-0.03718996047973633,
0.045657481998205185,
0.022082705050706863,
-0.03569788485765457,
-0.05520676076412201,
-0.019247762858867645,
0.031426820904016495,
-0.015694759786128998,
0.012318940833210945,
-0.010435196571052074,
0.030270464718341827,
-0.010537777096033096,
-0.027603380382061005,
-0.07225371152162552,
0.024917645379900932,
-0.019508875906467438,
0.02566368319094181,
-0.004788626916706562,
0.005772463511675596,
0.026129957288503647,
0.015741387382149696,
-0.03256452828645706,
0.014659632928669453,
0.014417171478271484,
-0.026652183383703232,
0.03640662133693695,
0.0208144411444664,
0.06438302248716354,
0.028293464332818985,
0.04140507057309151,
0.04901465028524399,
0.0025621720124036074,
0.026540277525782585,
-0.029990699142217636,
-0.01284116692841053,
-0.0450233519077301,
-0.026782739907503128,
-0.0003188143891748041,
0.034485574811697006,
-0.009120306000113487,
-0.005907683167606592,
0.022381119430065155,
0.021373968571424484,
0.029039502143859863,
0.001007733168080449,
-0.04998449981212616,
-0.038383617997169495,
-0.023145807906985283,
-0.0063180034048855305,
0.0729251503944397,
-0.04360588267445564,
-0.03737647086381912,
0.0731116533279419,
0.048343218863010406,
0.0037674885243177414,
-0.010369918309152126,
0.015489599667489529,
0.016534052789211273,
0.018995974212884903,
0.039092354476451874,
-0.04763448238372803,
0.0012612693244591355,
0.02191484533250332,
-0.05162578076124191,
-0.056363120675086975,
0.01947157457470894,
0.030624831095337868,
-0.0049937875010073185,
0.08930066972970963,
-0.007716823369264603,
0.025421220809221268,
0.012365568429231644,
-0.03704075142741203,
0.05028291419148445,
-0.03439231961965561,
-0.018166009336709976,
-0.029319265857338905,
-0.017820965498685837,
0.0018336197827011347,
0.012346917763352394,
0.07154497504234314,
-0.0016645957948639989,
-0.035157009959220886,
0.003520363476127386,
-0.039353467524051666,
-0.01671123504638672,
-0.062294114381074905,
0.036891546100378036,
0.053602781146764755,
-0.015620156191289425,
-0.0381411574780941,
-0.023369619622826576,
0.05390119552612305,
0.040099505335092545,
0.0486416332423687,
0.019527526572346687,
-0.003566990839317441,
0.04345667362213135,
-0.026913296431303024,
0.026241863146424294,
0.015536227263510227,
-0.0026204560417681932,
0.03437367081642151,
-0.028256163001060486,
-0.028368068858981133,
-0.04726146534085274,
-0.05375199019908905,
-0.05270753800868988,
0.040808241814374924,
-0.03325461223721504,
-0.054982949048280716,
0.010146107524633408,
-0.005087041761726141,
0.012300290167331696,
-0.006970786023885012,
0.004616105929017067,
0.046328917145729065,
0.027901794761419296,
0.007921983487904072,
0.014799514785408974,
0.007684184238314629,
-0.007157295476645231,
-0.05039482191205025,
0.05737026780843735,
0.02571963705122471,
-0.01489276997745037,
0.027510125190019608,
0.03051292523741722,
-0.05755677819252014,
0.03980109095573425,
-0.03773083537817001,
-0.012141757644712925,
0.027827192097902298,
0.07098545134067535,
-0.06919495761394501,
-0.04580669105052948,
-0.03916695713996887,
0.052036102861166,
0.038682036101818085,
0.011507625691592693,
-0.035567328333854675,
-0.04685114324092865,
-0.0006119837053120136,
-0.03717130795121193,
0.03254587948322296,
-0.018203310668468475,
0.03159467875957489,
0.0025924795772880316
] |
709,817
|
configargparse
|
<lambda>
| null |
is_boolean_optional_action = lambda action: isinstance(action, argparse.BooleanOptionalAction)
|
(action)
|
[
0.01617971621453762,
-0.031955599784851074,
0.032218966633081436,
-0.0325876884162426,
0.02428274229168892,
-0.008454186841845512,
0.05541311204433441,
0.0451592281460762,
-0.005245458800345659,
-0.05369242653250694,
0.04435155913233757,
0.03307931125164032,
0.013449444435536861,
0.011667304672300816,
-0.009498889558017254,
0.012088697403669357,
0.015459837391972542,
0.06247143819928169,
0.04052391275763512,
0.032956406474113464,
0.025178201496601105,
-0.032921288162469864,
-0.0004584289563354105,
-0.023931581526994705,
0.02335216850042343,
0.05555357784032822,
0.061769116669893265,
-0.016645003110170364,
-0.007602623198181391,
0.017724821344017982,
-0.013317759148776531,
-0.05555357784032822,
0.007901109755039215,
0.07472693920135498,
0.006435014773160219,
0.07089928537607193,
-0.00804157368838787,
0.15493197739124298,
-0.0451943464577198,
-0.03641533479094505,
0.001449634088203311,
-0.012132592499256134,
-0.006852017715573311,
0.01491553895175457,
-0.013168515637516975,
-0.013256305828690529,
-0.0576605387032032,
0.02284298464655876,
0.006834459491074085,
-0.042771339416503906,
0.03718788921833038,
-0.051480118185281754,
0.05618566647171974,
0.03300907835364342,
-0.04052391275763512,
0.04168274253606796,
0.05235801637172699,
0.04610736295580864,
-0.0017568994080647826,
0.02331705205142498,
-0.009358424693346024,
0.07423531264066696,
0.051971741020679474,
-0.03260524570941925,
0.020700907334685326,
-0.021473459899425507,
-0.05404358729720116,
-0.015336931683123112,
-0.014862864278256893,
0.06900302320718765,
-0.04838990420103073,
-0.005930221639573574,
-0.00638234056532383,
-0.010710393078625202,
0.03704742342233658,
-0.06233097240328789,
-0.05797658488154411,
-0.031920481473207474,
-0.0029870583675801754,
-0.003814480034634471,
-0.0187519658356905,
-0.034220583736896515,
-0.08371664583683014,
0.040207866579294205,
-0.03866276144981384,
-0.01292270328849554,
0.04168274253606796,
-0.024265184998512268,
-0.00519278459250927,
0.0036213418934494257,
-0.025511804968118668,
-0.0650349110364914,
0.0018951689125970006,
0.0014606078621000051,
0.02730272151529789,
0.03908415511250496,
0.0030880169942975044,
-0.045510388910770416,
-0.03687184303998947,
-0.04691503196954727,
0.0012696643825620413,
-0.0006227610283531249,
0.05485125631093979,
-0.02558203600347042,
0.031025022268295288,
-0.012325731106102467,
-0.0350809246301651,
0.00966569036245346,
-0.011447829194366932,
-0.016741573810577393,
-0.01770726405084133,
-0.04529969394207001,
-0.04635317623615265,
-0.008603430353105068,
-0.013265084475278854,
-0.020174166187644005,
0.013142178766429424,
-0.029953982681035995,
-0.009156507439911366,
-0.02482704073190689,
0.007238293997943401,
0.0338343046605587,
0.01625872775912285,
-0.0476173534989357,
0.057765889912843704,
0.045264579355716705,
-0.02628435753285885,
0.05032128840684891,
0.023703327402472496,
0.040769726037979126,
-0.044702719897031784,
0.024616345763206482,
-0.05372754484415054,
0.006698384881019592,
-0.042033903300762177,
-0.039751358330249786,
0.0263019148260355,
0.05734449625015259,
-0.02707446739077568,
0.017487788572907448,
-0.039259735494852066,
-0.028391320258378983,
-0.029725728556513786,
-0.04782804846763611,
-0.03464197367429733,
-0.03985670581459999,
-0.0250552948564291,
0.009911502711474895,
0.05169081315398216,
0.06240120530128479,
0.040102519094944,
0.042033903300762177,
-0.08912451565265656,
0.010306558571755886,
0.021139856427907944,
0.057520076632499695,
0.010482138022780418,
-0.06331422179937363,
0.038487181067466736,
-0.020595557987689972,
0.00852441880851984,
-0.007198788691312075,
-0.057765889912843704,
0.01908556930720806,
0.008853632025420666,
0.0029870583675801754,
0.035502318292856216,
0.05667729303240776,
0.024985063821077347,
0.05565892532467842,
-0.015328152105212212,
0.0288478285074234,
0.024949947372078896,
0.019226033240556717,
0.04540504142642021,
0.10085327178239822,
0.006755448412150145,
0.0010540299117565155,
0.004652875475585461,
-0.04101553559303284,
0.0003637802437879145,
0.014792632311582565,
-0.0803455039858818,
-0.011228354647755623,
0.0652807205915451,
0.04312250018119812,
0.0027192984707653522,
0.019875679165124893,
-0.04336830973625183,
0.016943490132689476,
-0.003990060184150934,
-0.04586154967546463,
0.011333702132105827,
0.02458122931420803,
-0.06931906938552856,
-0.04287668690085411,
-0.034448835998773575,
0.0004290741344448179,
0.04435155913233757,
-0.054781023412942886,
-0.012071139179170132,
-0.03207850456237793,
-0.028900502249598503,
0.05530776455998421,
-0.013396769762039185,
0.0011621215380728245,
-0.019261149689555168,
0.042455293238162994,
-0.05179616063833237,
-0.023510189726948738,
-0.026407264173030853,
-0.047722700983285904,
-0.02854934148490429,
0.026143893599510193,
0.010982542298734188,
-0.007690412923693657,
0.06570211052894592,
-0.0014057389926165342,
-0.05330615118145943,
0.05832774564623833,
0.028022602200508118,
0.0501105897128582,
0.07465670257806778,
0.0675281509757042,
0.0828036293387413,
0.016109483316540718,
0.007554338313639164,
-0.000674337730742991,
-0.04589666798710823,
-0.003349192440509796,
0.0014485367573797703,
-0.013862057588994503,
0.013756709173321724,
0.04154227674007416,
0.010684055276215076,
-0.039470430463552475,
0.055202417075634,
-0.036204639822244644,
-0.02809283323585987,
0.013133399188518524,
0.05495660379528999,
-0.009261855855584145,
-0.009595458395779133,
-0.0017678731819614768,
0.010622602887451649,
-0.02126276306807995,
0.042244598269462585,
0.00213110470212996,
-0.05119919031858444,
-0.005851210560649633,
0.03151664882898331,
0.019664984196424484,
0.012501310557126999,
-0.02552936226129532,
-0.042244598269462585,
0.008958980441093445,
-0.016741573810577393,
-0.029673054814338684,
0.007036376744508743,
-0.018945105373859406,
0.019155800342559814,
0.040242984890937805,
0.02279031090438366,
0.028760038316249847,
-0.04705549404025078,
-0.059275876730680466,
0.04568596929311752,
-0.05281452834606171,
0.02282542735338211,
-0.02535378187894821,
0.07198788225650787,
-0.0026666244957596064,
-0.028637131676077843,
-0.0036388998851180077,
-0.02231624536216259,
-0.02052532695233822,
0.04178809002041817,
-0.04737154021859169,
0.021965084597468376,
-0.0007692608051002026,
0.05183127894997597,
0.0200688187032938,
-0.014757516793906689,
0.04480806738138199,
-0.049478501081466675,
-0.01252764742821455,
0.011333702132105827,
0.04719595983624458,
0.021192532032728195,
-0.011755094863474369,
0.06208516284823418,
0.05242824926972389,
0.07226881384849548,
0.010789403691887856,
0.01903289370238781,
0.06907325237989426,
-0.012457415461540222,
-0.03213117644190788,
0.025652268901467323,
-0.06478909403085709,
0.046739451587200165,
-0.037714630365371704,
-0.05334126576781273,
-0.055518463253974915,
-0.03437860310077667,
0.02229868620634079,
0.006676437333226204,
0.003731079399585724,
0.027899695560336113,
-0.007558728102594614,
0.0324823372066021,
-0.0376092791557312,
-0.05404358729720116,
0.028461551293730736,
0.008897527121007442,
0.004189782775938511,
0.009788597002625465,
-0.024194952100515366,
-0.0009618503390811384,
0.06039959192276001,
-0.03416790813207626,
-0.005991674493998289,
-0.015758324414491653,
-0.003511604154482484,
-0.06967023015022278,
-0.09326820820569992,
-0.00519717438146472,
-0.01204480230808258,
0.0021662209182977676,
0.03715277090668678,
-0.019998585805296898,
-0.011746316216886044,
0.06489444524049759,
0.012808576226234436,
-0.08097758889198303,
0.0039264122024178505,
-0.0021815840154886246,
-0.009261855855584145,
0.0005218024598434567,
-0.007308525964617729,
0.004055902827531099,
0.07620181143283844,
0.00064251379808411,
0.018962662667036057,
-0.005184005480259657,
-0.0010770747903734446,
-0.001212600851431489,
0.03234187513589859,
0.08807103335857391,
-0.05446498095989227,
0.0375390499830246,
0.017382441088557243,
-0.01264177542179823,
-0.00527618546038866,
0.03190292418003082,
0.00031330093042925,
-0.003221896942704916,
0.0025217707734555006,
0.0237735603004694,
-0.04979454725980759,
0.08322501927614212,
-0.020683348178863525,
-0.011087889783084393,
0.032218966633081436,
0.02958526462316513,
-0.005227900575846434,
0.03855741396546364,
-0.011184459552168846,
0.06826558709144592,
-0.07458647340536118,
0.04027809947729111,
-0.002221089554950595,
-0.01429222896695137,
-0.045966897159814835,
0.007694802712649107,
0.014265892095863819,
-0.011043994687497616,
-0.021245205774903297,
-0.02433541603386402,
-0.020419977605342865,
-0.012211603112518787,
0.012334509752690792,
-0.020929161459207535,
0.011351260356605053,
-0.03165711089968681,
-0.05843309313058853,
-0.05095337703824043,
0.029953982681035995,
-0.008599041029810905,
-0.007409484591335058,
0.024704135954380035,
-0.02503773756325245,
-0.022614730522036552,
0.001856760703958571,
0.05105872452259064,
-0.025652268901467323,
-0.020999392494559288,
0.003693768521770835,
-0.029444800689816475,
0.02405448816716671,
0.03810090571641922,
0.0337640754878521,
0.048495255410671234,
-0.001028241589665413,
0.003147275187075138,
0.047652468085289,
-0.025617152452468872,
0.05583450570702553,
-0.04979454725980759,
0.032201409339904785,
0.053271036595106125,
-0.04357900843024254,
-0.04393016919493675,
-0.028268413618206978,
-0.04867083206772804,
0.018242783844470978,
0.011026437394320965,
0.061804234981536865,
0.0038166746962815523,
-0.032201409339904785,
0.03876810893416405,
0.01351089682430029,
0.019998585805296898,
0.01315095741301775,
0.05190150812268257,
-0.02358042262494564,
0.0064569623209536076,
0.033711399883031845,
0.03529162332415581,
0.011535619385540485,
-0.054219167679548264,
0.0037398585118353367,
0.006913470569998026,
-0.04607224836945534,
-0.012334509752690792,
0.024616345763206482,
0.014669726602733135,
-0.07033742964267731,
0.033693842589855194,
0.08603430539369583,
-0.015863671898841858,
0.015038444660604,
-0.03551987558603287,
-0.008050352334976196,
0.034694649279117584,
0.0006084951455704868,
-0.010947425849735737,
0.07964318245649338,
0.07479716837406158,
-0.0012323536211624742,
-0.04712572693824768,
0.008906305767595768,
0.0029431632719933987,
-0.022878101095557213,
0.05291987583041191,
-0.033219777047634125,
-0.02156125009059906,
0.022614730522036552,
-0.030199795961380005,
-0.011307365261018276,
0.025476688519120216,
-0.010201210156083107,
-0.050005242228507996,
-0.06169888377189636,
0.017751159146428108,
0.05593985319137573,
-0.021210089325904846,
-0.0008685733191668987,
-0.017926739528775215,
0.03806578740477562,
-0.02405448816716671,
-0.04789828136563301,
0.03288617357611656,
-0.0016647198935970664,
0.036239754408597946,
0.03402744606137276,
0.028707364574074745,
-0.0007511540898121893,
-0.02707446739077568,
0.007602623198181391,
-0.05158546566963196,
0.019928352907299995,
-0.029725728556513786,
0.011123006232082844,
-0.0476875863969326,
-0.008928253315389156,
0.008972148410975933,
-0.04842502251267433,
0.02156125009059906,
-0.019858121871948242,
-0.02033218741416931,
-0.001917116460390389,
0.04782804846763611,
-0.03434348851442337,
0.07416508346796036,
-0.06032935902476311,
0.009727143682539463,
0.04378970339894295,
0.06605327129364014,
0.05692310258746147,
0.002295711310580373,
0.06679071485996246,
-0.02607366070151329,
0.012870029546320438,
-0.006571089383214712,
-0.057274263352155685,
-0.08182037621736526,
-0.06809000670909882,
-0.09179333597421646,
0.014731179922819138,
0.02960282377898693,
0.029760845005512238,
0.01090353075414896,
0.014704842120409012,
0.025985870510339737,
0.002826841315254569,
0.0375390499830246,
0.010464580729603767,
0.04814409464597702,
-0.01215015072375536,
0.012650554068386555,
-0.011834106408059597,
-0.015503732487559319,
-0.06601815670728683,
-0.015328152105212212,
-0.02333460934460163,
-0.03904903680086136,
0.02554691955447197,
0.008024015463888645,
-0.04656387120485306,
0.035168714821338654,
0.010403127409517765,
-0.007817708887159824,
0.019928352907299995,
-0.06159353628754616,
0.037995558232069016,
-0.033711399883031845,
0.0652104914188385,
-0.05495660379528999,
0.004982088226824999,
0.050040360540151596,
-5.229683779361949e-7,
0.006676437333226204,
0.02233380265533924,
-0.003961528651416302,
0.06826558709144592,
-0.021929968148469925,
-0.01038556918501854,
0.059556808322668076,
0.005794147029519081,
-0.11216063797473907,
0.03227164223790169,
-0.018646618351340294,
0.01670645736157894,
0.031147928908467293,
0.014608273282647133,
0.05695822089910507,
-0.004174419678747654,
0.023615537211298943,
0.04038344696164131,
-0.011368818581104279,
-0.03792532533407211,
-0.052287787199020386,
-0.024493439123034477,
-0.021368110552430153,
0.0004839429457206279,
0.0451592281460762,
-0.006443793885409832,
0.05934610962867737,
0.0006578770698979497,
-0.003239454934373498,
-0.08371664583683014,
-0.044737838208675385,
-0.035203833132982254,
-0.008818515576422215,
-0.003447956405580044,
0.04982966184616089,
0.011509282514452934,
-0.020964276045560837,
0.008348839357495308,
-0.023650653660297394,
-0.03557255119085312,
0.0138006042689085,
-0.03866276144981384,
-0.02458122931420803,
-0.020490210503339767,
0.06970534473657608,
0.014704842120409012,
-0.06043470650911331,
-0.04041856527328491,
0.00025075048324652016,
0.023264378309249878,
0.010482138022780418,
-0.02403693087399006,
-0.02703935280442238,
-0.049021992832422256,
0.05369242653250694,
0.003450151067227125,
0.040769726037979126,
0.005592229776084423,
-0.027478301897644997,
-0.044983647763729095,
-0.0017821390647441149,
-0.02031463012099266,
0.03887345641851425,
0.0038232591468840837,
-0.03978647664189339,
-0.01026266347616911,
-0.0775362178683281,
-0.042033903300762177,
0.003990060184150934,
-0.04709061235189438,
0.009814933873713017,
0.019489403814077377,
0.0023505799472332,
0.005851210560649633,
0.01952451840043068,
0.00966569036245346,
0.012957819737493992,
0.0112722497433424,
-0.05183127894997597,
0.05193662643432617,
0.00790988840162754,
-0.0033338291104882956,
-0.03132350742816925,
-0.04206901788711548,
-0.037960439920425415,
-0.02835620380938053,
-0.020437536761164665,
-0.07297113537788391,
0.012194045819342136,
-0.019489403814077377,
0.03457174450159073,
-0.045756202191114426,
0.011087889783084393,
-0.05442986637353897,
0.0019379665609449148,
0.03235943242907524,
0.0033009080216288567,
0.0017832365119829774,
-0.03662602975964546,
0.004630927927792072,
-0.029444800689816475,
0.0004864120564889163,
0.03817113861441612,
0.0025568867567926645,
-0.04828455671668053,
0.02303612418472767,
0.023668212816119194,
-0.041717857122421265,
-0.019366497173905373,
0.03285105526447296,
-0.062295857816934586,
0.031709786504507065,
0.011763873510062695,
0.025669826194643974,
0.0037749744951725006,
-0.001651551341637969,
0.027706556022167206,
-0.055202417075634,
-0.039997171610593796,
-0.026477495208382607,
0.026161450892686844,
0.06492955982685089,
0.011676084250211716,
-0.060013316571712494,
-0.0287775956094265,
-0.09551563113927841,
-0.0036981580778956413,
0.019612308591604233,
-0.019893238320946693,
-0.012632995843887329,
0.031920481473207474,
0.013194852508604527,
0.04185832291841507,
-0.019717657938599586,
0.02758365124464035,
0.04206901788711548,
-0.01804964616894722,
-0.014362460933625698,
-0.012290614657104015,
-0.033974770456552505,
-0.01806720346212387,
-0.007721139583736658,
-0.02610877715051174,
-0.04554550722241402,
0.023229261860251427,
0.00806352123618126,
0.018664175644516945,
-0.03300907835364342,
-0.031218161806464195,
-0.01601291447877884,
-0.006571089383214712,
0.04129646345973015,
0.04603713005781174,
-0.026459937915205956,
-0.07957295328378677,
-0.0019708878826349974,
0.024247627705335617,
0.013071946799755096,
0.057028450071811676,
-0.018839756026864052,
-0.024265184998512268,
0.022737637162208557,
-0.02207043208181858,
-0.027530977502465248,
-0.03541452810168266,
-0.021139856427907944,
0.0677739605307579,
-0.001056773355230689,
-0.02277275361120701,
0.018927546218037605,
0.0043851155787706375,
-0.03278082609176636,
0.008037184365093708,
-0.06433258950710297,
-0.04315761476755142,
0.008792178705334663,
0.015679312869906425,
-0.019594751298427582,
-0.009964176453649998,
-0.03285105526447296,
0.005083046853542328,
0.013879615813493729,
-0.0045870328322052956,
-0.052287787199020386,
-0.10583975166082382,
-0.021859735250473022,
0.047792933881282806,
-0.017751159146428108,
0.00954278465360403,
-0.021174972876906395,
-0.015196466818451881,
0.010473359376192093,
0.03460685908794403,
-0.009042380377650261,
0.023703327402472496,
-0.03415035083889961,
-0.016206054016947746,
0.026389705017209053,
0.03904903680086136,
0.04610736295580864,
0.03880322724580765,
-0.015863671898841858,
0.05460544303059578,
0.028760038316249847,
-0.01729465089738369,
-0.004644096363335848,
0.020121492445468903,
-0.029515033587813377,
-0.005267406348139048,
-0.0005766712711192667,
0.02131543681025505,
0.04638829082250595,
0.04091018810868263,
0.02052532695233822,
-0.0030155901331454515,
0.02933945320546627,
-0.031130371615290642,
-0.002398864598944783,
-0.05822239816188812,
-0.011605851352214813,
-0.02403693087399006,
-0.014353682287037373,
0.06714186817407608,
-0.012308172881603241,
-0.021929968148469925,
0.005701967049390078
] |
709,820
|
configargparse
|
parse_toml_section_name
|
Parse a TOML section name to a sequence of strings.
The following names are all valid:
.. python::
"a.b.c" # this is best practice -> returns ("a", "b", "c")
" d.e.f " # same as [d.e.f] -> returns ("d", "e", "f")
" g . h . i " # same as [g.h.i] -> returns ("g", "h", "i")
' j . "ʞ" . "l" ' # same as [j."ʞ"."l"], double or simple quotes here are supported. -> returns ("j", "ʞ", "l")
|
def parse_toml_section_name(section_name):
"""
Parse a TOML section name to a sequence of strings.
The following names are all valid:
.. python::
"a.b.c" # this is best practice -> returns ("a", "b", "c")
" d.e.f " # same as [d.e.f] -> returns ("d", "e", "f")
" g . h . i " # same as [g.h.i] -> returns ("g", "h", "i")
' j . "ʞ" . "l" ' # same as [j."ʞ"."l"], double or simple quotes here are supported. -> returns ("j", "ʞ", "l")
"""
section = []
for row in csv.reader([section_name], delimiter='.'):
for a in row:
section.append(unquote_str(a.strip(), triple=False))
return tuple(section)
|
(section_name)
|
[
-0.01891278848052025,
0.10243094712495804,
-0.0027170483954250813,
-0.05423441901803017,
-0.03118390217423439,
-0.01817581057548523,
-0.040844518691301346,
0.0444672517478466,
0.015219022519886494,
-0.006544002331793308,
0.021700870245695114,
0.01880623772740364,
-0.043685875833034515,
0.03686661645770073,
0.03747040778398514,
0.0036182915791869164,
0.044538285583257675,
0.0016171322204172611,
-0.01177387684583664,
0.013833860866725445,
0.004608327057212591,
-0.005527328699827194,
0.037932127714157104,
-0.004639404360204935,
0.0008696108707226813,
-0.023157065734267235,
0.01743883453309536,
0.0101756127551198,
-0.03033149428665638,
-0.04684688523411751,
-0.03967246040701866,
-0.01386937778443098,
-0.00992699433118105,
0.0273303110152483,
-0.047628261148929596,
-0.04254933446645737,
0.010468627326190472,
-0.019818469882011414,
0.059490930289030075,
0.027454620227217674,
0.01889503002166748,
0.027028417214751244,
-0.043011054396629333,
0.010282163508236408,
-0.03430939465761185,
-0.02157656103372574,
-0.05217443406581879,
0.03198303282260895,
-0.041803475469350815,
-0.014704026281833649,
-0.008635063655674458,
0.028289269655942917,
0.006171074230223894,
-0.00005702138878405094,
-0.04389897733926773,
-0.01743883453309536,
-0.0005358068156056106,
0.028484612703323364,
0.04038279876112938,
0.06332676112651825,
-0.02209155634045601,
0.010850435122847557,
0.02603394165635109,
0.060520920902490616,
-0.03828729689121246,
-0.037932127714157104,
0.063575379550457,
-0.018699686974287033,
-0.006299823056906462,
-0.03581886738538742,
-0.02329913340508938,
0.04443173110485077,
-0.008746054954826832,
-0.03839384764432907,
0.027365827932953835,
0.01245757844299078,
-0.05213891714811325,
0.05618784949183464,
0.03233820199966431,
0.030970800668001175,
-0.07785320281982422,
0.050824787467718124,
-0.011862669140100479,
-0.030207185074687004,
0.009261050261557102,
0.0021299084182828665,
0.026957381516695023,
0.001678176922723651,
-0.0003498976875562221,
0.03988556191325188,
-0.0007236583041958511,
-0.02242896892130375,
-0.01743883453309536,
0.01839779131114483,
-0.028147200122475624,
-0.015884965658187866,
0.021612077951431274,
-0.042833469808101654,
-0.09113655239343643,
-0.02285517193377018,
-0.012723955325782299,
-0.04009866341948509,
-0.049510661512613297,
0.0027259276248514652,
0.006499606184661388,
-0.05437648668885231,
-0.05533544346690178,
-0.022571036592125893,
0.06151539832353592,
-0.003123273840174079,
-0.028591163456439972,
-0.06709156185388565,
-0.06385951489210129,
0.04215864837169647,
0.012874902226030827,
-0.014641871675848961,
0.009127861820161343,
-0.07252565771341324,
-0.06425020098686218,
-0.04663378372788429,
0.07131808251142502,
-0.05011444911360741,
-0.03161010518670082,
0.005780387204140425,
-0.005189917515963316,
0.00047143231495283544,
0.005376381799578667,
0.020635360851883888,
-0.00476815365254879,
0.011063536629080772,
0.059917133301496506,
0.017758486792445183,
0.059668514877557755,
-0.061550915241241455,
0.027596687898039818,
0.016195738688111305,
-0.016462117433547974,
0.013940411619842052,
-0.006051204167306423,
0.06641674041748047,
0.00511000445112586,
-0.004543952643871307,
-0.038535915315151215,
-0.059064727276563644,
0.014038083143532276,
-0.066452257335186,
0.001665967982262373,
0.015458762645721436,
-0.03214285895228386,
-0.03935280442237854,
-0.03679558262228966,
-0.00005351825166144408,
0.006299823056906462,
-0.02001381479203701,
0.04365035891532898,
-0.018877271562814713,
0.0077959755435585976,
-0.02773875556886196,
0.028395820409059525,
-0.061124708503484726,
-0.015085834078490734,
-0.023086031898856163,
-0.01584944874048233,
0.02044001780450344,
0.021185874938964844,
0.005731551442295313,
0.030899766832590103,
-0.08055249601602554,
-0.019463300704956055,
-0.005593923386186361,
0.02979874052107334,
0.05799921602010727,
-0.004171024542301893,
0.05242305248975754,
0.023778613656759262,
-0.04993686452507973,
-0.00940311886370182,
0.047628261148929596,
0.01790943369269371,
-0.03409629315137863,
-0.00661503616720438,
0.023228099569678307,
-0.013878257013857365,
0.03588990122079849,
-0.007871448993682861,
0.019960539415478706,
0.0026593334041535854,
-0.02585635706782341,
0.02638911083340645,
-0.04929756000638008,
-0.013034729287028313,
-0.06442778557538986,
0.0028302588034421206,
0.0028302588034421206,
-0.012786109931766987,
0.026158250868320465,
-0.0012430940987542272,
0.053559593856334686,
0.043011054396629333,
-0.04194554314017296,
0.00914562027901411,
-0.012004736810922623,
-0.022304659709334373,
0.09191792458295822,
-0.006410813424736261,
0.012404303066432476,
0.0210438072681427,
0.01030880119651556,
-0.06989740580320358,
0.020812945440411568,
0.006699388846755028,
-0.018664170056581497,
-0.004428522661328316,
0.08197317272424698,
0.01616022177040577,
-0.00940311886370182,
-0.04958169534802437,
0.017500989139080048,
0.0074008493684232235,
-0.005633879918605089,
0.027294794097542763,
0.0019112570444121957,
0.10626678168773651,
-0.0024528908543288708,
0.03281768411397934,
-0.005070047918707132,
-0.040666934102773666,
0.0030167228542268276,
-0.03592541813850403,
0.07479874789714813,
0.07735596597194672,
-0.0743725374341011,
0.0696132630109787,
0.0020810726564377546,
-0.008057912811636925,
-0.00008442217949777842,
-0.027614446356892586,
-0.05483820661902428,
0.08097869902849197,
-0.048161014914512634,
-0.034078534692525864,
-0.045568276196718216,
-0.05629440024495125,
-0.0214877687394619,
0.015014800243079662,
0.018770720809698105,
-0.016213497146964073,
-0.019196923822164536,
-0.03903315216302872,
-0.01571626029908657,
-0.023316891863942146,
0.08559590578079224,
0.036209553480148315,
0.046349648386240005,
0.02963891439139843,
-0.08829519152641296,
0.0050300913862884045,
0.05508682504296303,
0.009554065763950348,
-0.0058558606542646885,
0.016035912558436394,
-0.015503158792853355,
0.04372139275074005,
-0.04709550738334656,
-0.016888320446014404,
-0.027188243344426155,
-0.008382005617022514,
0.04009866341948509,
0.00852851290255785,
0.01215568371117115,
-0.0040866718627512455,
-0.012821626849472523,
-0.04183899238705635,
0.00048225390492007136,
-0.003478443482890725,
-0.02878650650382042,
0.0439700111746788,
0.0297099482268095,
0.013123521581292152,
0.005651638377457857,
-0.03661799803376198,
0.02001381479203701,
-0.040240731090307236,
0.0831807479262352,
-0.019978297874331474,
-0.04581689462065697,
0.0023041635286062956,
-0.03288871794939041,
0.01882399618625641,
0.09085241705179214,
-0.03066890686750412,
-0.05398579686880112,
-0.02981649897992611,
-0.04091555252671242,
-0.0327288918197155,
-0.001624901546165347,
-0.019463300704956055,
-0.0407024510204792,
0.04801894724369049,
-0.08112076669931412,
0.03391870856285095,
0.0402052141726017,
0.016373325139284134,
-0.01172948069870472,
-0.01687944121658802,
0.010015786625444889,
-0.027561170980334282,
0.00971389189362526,
0.0059402137994766235,
-0.013167917728424072,
0.002570540877059102,
-0.060272302478551865,
-0.01288378145545721,
0.0010122336680069566,
-0.049013420939445496,
0.11237569898366928,
-0.0415903739631176,
-0.009873718023300171,
0.053559593856334686,
-0.009811563417315483,
-0.04915548861026764,
-0.009873718023300171,
0.02232241816818714,
-0.042655885219573975,
0.04649171605706215,
-0.048764802515506744,
0.01489937026053667,
-0.032267168164253235,
0.0010238877730444074,
0.024275850504636765,
-0.03075769916176796,
0.011960340663790703,
-0.02646014466881752,
0.051606159657239914,
-0.0351085290312767,
-0.018362274393439293,
-0.016755132004618645,
0.019161406904459,
-0.021523285657167435,
-0.005487372167408466,
0.09838201105594635,
-0.009642858058214188,
-0.006237668450921774,
-0.017154697328805923,
0.06627467274665833,
0.01983623020350933,
0.03164562210440636,
0.044893454760313034,
0.05963299795985222,
-0.00337411230430007,
0.016293412074446678,
0.011809393763542175,
0.03640489652752876,
0.05309787392616272,
-0.024542227387428284,
0.052352018654346466,
0.02963891439139843,
-0.04837411642074585,
0.011809393763542175,
-0.005709353368729353,
0.02963891439139843,
-0.05395027995109558,
0.013043608516454697,
0.007116713561117649,
0.03590765967965126,
-0.020812945440411568,
0.001624901546165347,
0.030313735827803612,
0.03658248111605644,
0.017110301181674004,
-0.04528414085507393,
0.02793409861624241,
0.066452257335186,
-0.009900355711579323,
-0.06098264083266258,
-0.034842152148485184,
0.03619179502129555,
0.031414762139320374,
-0.05316890776157379,
-0.08239937573671341,
-0.004643843974918127,
0.055122341960668564,
0.030136151239275932,
0.08602210879325867,
-0.030704423785209656,
-0.018184689804911613,
-0.053737178444862366,
-0.04705999046564102,
0.007338694296777248,
0.04354380816221237,
0.050292033702135086,
0.07920284569263458,
0.034078534692525864,
-0.030207185074687004,
-0.04880031943321228,
-0.01327446848154068,
-0.001657088752835989,
-0.061728499829769135,
-0.04269140213727951,
0.019640885293483734,
0.02518153376877308,
-0.029852015897631645,
-0.02241121046245098,
0.013887136243283749,
-0.04766377806663513,
0.08112076669931412,
0.004581689368933439,
-0.024844123050570488,
-0.0063575380481779575,
-0.0634688287973404,
0.07984215766191483,
-0.005767068360000849,
-0.015050317160785198,
-0.05096685513854027,
0.023991715162992477,
0.006242108065634966,
-0.008257696405053139,
0.0021043806336820126,
-0.01439325325191021,
-0.0018979382002726197,
-0.023831889033317566,
-0.009784925729036331,
-0.02457774430513382,
0.03299526870250702,
0.04269140213727951,
0.05110892280936241,
0.005536207929253578,
0.0198539886623621,
-0.03283544257283211,
-0.033971983939409256,
-0.02979874052107334,
-0.018841754645109177,
-0.004064473789185286,
-0.04851618409156799,
0.021505527198314667,
0.003454025601968169,
-0.020564327016472816,
0.04148382321000099,
-0.013807223178446293,
-0.06513813138008118,
0.046349648386240005,
0.06602605432271957,
-0.010921468958258629,
0.008346488699316978,
0.010326559655368328,
-0.022127073258161545,
-0.048232048749923706,
-0.023654304444789886,
-0.06329124420881271,
-0.021239150315523148,
-0.025891873985528946,
0.030864249914884567,
0.0012208959087729454,
-0.014606354758143425,
0.025714287534356117,
0.0019312354270368814,
0.051854781806468964,
-0.014384374022483826,
0.012271113693714142,
-0.011578532867133617,
0.03581886738538742,
0.0560457818210125,
0.13581690192222595,
0.05334649235010147,
0.0724901407957077,
-0.07558012008666992,
0.01808701828122139,
0.0007297627744264901,
0.0016948255943134427,
-0.051499608904123306,
-0.005167719442397356,
0.019534334540367126,
0.01533445343375206,
0.04844515025615692,
-0.021789662539958954,
0.02019139938056469,
-0.004175464157015085,
0.03725730627775192,
0.026531178504228592,
0.008297652937471867,
0.012857143767178059,
-0.10669298470020294,
0.0039024273864924908,
0.041803475469350815,
-0.013558604754507542,
0.028502371162176132,
0.004754834808409214,
-0.01786503754556179,
-0.021718628704547882,
-0.023334650322794914,
-0.07465668022632599,
0.001103800954297185,
0.02061760239303112,
-0.005633879918605089,
0.0598105825483799,
-0.0034429265651851892,
0.02578532136976719,
0.024098265916109085,
-0.031911998987197876,
0.031911998987197876,
-0.007929163984954357,
0.00028247092268429697,
0.03331492096185684,
-0.0611957423388958,
0.011587412096560001,
0.07586425542831421,
-0.0001295814581681043,
0.006974645424634218,
0.006277624983340502,
-0.05316890776157379,
-0.003682666225358844,
-0.008626184426248074,
-0.02654893696308136,
0.024275850504636765,
0.004705999046564102,
0.004226519726216793,
-0.023920681327581406,
0.030278218910098076,
-0.01300809159874916,
0.0044884574599564075,
-0.02017364092171192,
-0.013460932299494743,
0.005607242230325937,
0.013114642351865768,
0.004950177855789661,
0.0369376502931118,
-0.02491515688598156,
-0.005238753277808428,
-0.032267168164253235,
0.0073786512948572636,
-0.005984609946608543,
0.019960539415478706,
-0.009376481175422668,
0.006965766195207834,
-0.034593529999256134,
-0.01741219498217106,
-0.06116022542119026,
-0.020333467051386833,
0.018255723640322685,
0.04688240587711334,
-0.00037237326614558697,
0.04457380250096321,
0.04524862393736839,
0.011054657399654388,
-0.00479035172611475,
0.03340371325612068,
0.02028019167482853,
0.02558997832238674,
-0.01503255870193243,
0.017181335017085075,
-0.0054474156349897385,
0.05810576677322388,
-0.006015687249600887,
-0.02415154129266739,
0.0008540722192265093,
-0.057857148349285126,
-0.10200474411249161,
-0.06719811260700226,
0.00702348118647933,
-0.02930150181055069,
-0.0006615036400035024,
0.019445542246103287,
0.0005999038694426417,
0.026868589222431183,
0.037079717963933945,
0.004155485890805721,
-0.05256512016057968,
-0.04183899238705635,
-0.027969615533947945,
0.0686187893152237,
0.02088397927582264,
-0.04897790402173996,
0.059313345700502396,
0.002410714514553547,
-0.01658642664551735,
-0.008546271361410618,
0.04169692471623421,
0.0207951869815588,
0.005691594909876585,
0.02122139185667038,
0.016772890463471413,
0.03478887304663658,
-0.0021176994778215885,
-0.037754543125629425,
0.05686267465353012,
0.017944950610399246,
0.003676006570458412,
0.039494872093200684,
0.02999408356845379,
0.03942383825778961,
-0.016826165840029716,
-0.008839286863803864,
0.01078828051686287,
-0.0005413563339971006,
0.005638319533318281,
-0.04468035325407982,
0.019960539415478706,
0.0243113674223423,
0.022979481145739555,
0.012892660684883595,
0.004648283589631319,
-0.013043608516454697,
0.022304659709334373,
0.015476521104574203,
-0.011543015949428082,
0.03532163053750992,
0.01817581057548523,
-0.01658642664551735,
0.012999212369322777,
0.04116417095065117,
0.05178374797105789,
-0.057004742324352264,
-0.02354775369167328,
-0.0006548441597260535,
0.0006165524246171117,
0.009953632019460201,
-0.0397079773247242,
-0.01792719215154648,
0.031414762139320374,
-0.006792621221393347,
-0.0030677784234285355,
0.013549725525081158,
-0.019782952964305878,
0.0049368590116500854,
-0.03617403656244278,
-0.07806630432605743,
-0.005292029120028019,
-0.055548544973134995,
0.020937254652380943,
-0.05636543408036232,
-0.007573994342237711,
-0.013967049308121204,
0.03842936456203461,
-0.06950671225786209,
0.01507695484906435,
0.007174428552389145,
0.003152131335809827,
-0.05735991150140762,
-0.015920482575893402,
-0.021327942609786987,
-0.027081692591309547,
-0.04073796793818474,
0.008555150590837002,
-0.02044001780450344,
0.004179903771728277,
0.03557024896144867,
0.029088400304317474,
-0.031059592962265015,
0.07479874789714813,
0.021967247128486633,
0.005767068360000849,
0.06556433439254761,
0.016213497146964073,
0.019640885293483734,
-0.03977901116013527,
0.0037914367858320475,
-0.0378255769610405,
-0.004563930910080671,
-0.08424626290798187,
-0.011898186057806015,
-0.017199093475937843,
-0.036475930362939835,
-0.043011054396629333,
0.044041045010089874,
0.033385954797267914,
-0.037505924701690674,
-0.03512628749012947,
0.11138122528791428,
-0.02147001028060913,
0.03496646136045456,
0.005318666808307171,
0.02095501311123371,
0.0513930581510067,
0.012226717546582222,
0.015858327969908714,
-0.03960142284631729,
0.0551578588783741,
-0.00837312638759613,
-0.033545780926942825,
0.021949488669633865,
-0.015680743381381035,
0.0301539096981287,
0.01755426451563835,
0.010735005140304565,
0.015174626372754574,
0.053914763033390045,
0.03287095949053764,
-0.00048058904940262437,
0.04219416528940201,
0.01839779131114483,
0.03146803751587868,
0.05672060698270798,
-0.05199684947729111,
0.030473561957478523,
0.004230959340929985,
-0.03224940970540047,
-0.02543015219271183,
0.05977506563067436,
0.04663378372788429,
-0.004759274423122406,
0.04240726679563522,
-0.04425414651632309,
-0.01671961508691311,
-0.028200475499033928,
-0.024879639968276024,
-0.07103394716978073,
0.023352408781647682,
-0.0008807099075056612,
-0.037576958537101746,
0.03185872361063957,
0.007582873571664095,
0.05302684009075165,
0.022819655016064644,
-0.030562354251742363,
0.0706077441573143,
-0.018681928515434265,
-0.024080507457256317,
-0.016692977398633957,
0.033900950103998184,
-0.0226775873452425,
0.0037514802534133196,
-0.017287885770201683,
0.016684098169207573,
-0.029869774356484413,
-0.04034728184342384,
0.008009077049791813,
-0.025217050686478615,
0.011836031451821327,
-0.037932127714157104,
0.03299526870250702,
-0.04365035891532898,
0.06552881747484207,
-0.018326757475733757,
0.04705999046564102,
0.014561958611011505,
0.03516180440783501,
-0.025625495240092278,
0.03404301777482033,
0.03454025462269783,
-0.03255130723118782,
-0.040063146501779556,
0.011312155984342098,
-0.014189030975103378,
0.013176796957850456,
0.018007105216383934,
-0.05128650739789009,
0.015742897987365723,
0.031130626797676086,
-0.03903315216302872,
0.019800711423158646,
-0.0011454223422333598,
0.013727310113608837,
-0.030953042209148407,
-0.030899766832590103,
-0.015369970351457596,
-0.06577743589878082,
0.06002368405461311,
-0.05292028933763504,
-0.04116417095065117,
0.029940808191895485,
-0.03210734203457832,
0.06851223856210709,
-0.014038083143532276,
0.03903315216302872,
-0.017207972705364227,
-0.039992112666368484,
-0.04215864837169647,
0.013789464719593525
] |
709,825
|
configargparse
|
unquote_str
|
Unquote a maybe quoted string representation.
If the string is not detected as being a quoted representation, it returns the same string as passed.
It supports all kinds of python quotes: ``"""``, ``'''``, ``"`` and ``'``.
:param triple: Also unquote tripple quoted strings.
@raises ValueError: If the string is detected as beeing quoted but literal_eval() fails to evaluate it as string.
This would be a bug in the regex.
|
def unquote_str(text, triple=True):
"""
Unquote a maybe quoted string representation.
If the string is not detected as being a quoted representation, it returns the same string as passed.
It supports all kinds of python quotes: ``\"\"\"``, ``'''``, ``"`` and ``'``.
:param triple: Also unquote tripple quoted strings.
@raises ValueError: If the string is detected as beeing quoted but literal_eval() fails to evaluate it as string.
This would be a bug in the regex.
"""
if is_quoted(text, triple=triple):
try:
s = ast.literal_eval(text)
assert isinstance(s, str)
except Exception as e:
raise ValueError(f"Error trying to unquote the quoted string: {text}: {e}") from e
return s
return text
|
(text, triple=True)
|
[
0.0026444050017744303,
0.012976394034922123,
0.06454560905694962,
0.015959370881319046,
-0.04032772779464722,
-0.04447026178240776,
-0.0029210164211690426,
-0.0036424188874661922,
0.030396273359656334,
-0.006045618560165167,
0.0443994477391243,
0.083417147397995,
-0.08058464527130127,
0.020960506051778793,
-0.049745794385671616,
-0.02294325642287731,
-0.028785288333892822,
0.06320017576217651,
0.039655011147260666,
-0.01379958912730217,
-0.044753510504961014,
0.008661256171762943,
0.010312072932720184,
0.05519835650920868,
0.03753063455224037,
-0.0547734834253788,
-0.02921016328036785,
-0.009719017893075943,
-0.009072854183614254,
0.0006970607209950686,
0.06734270602464676,
0.0028302879072725773,
0.06174851581454277,
0.011091010645031929,
0.0013885892694815993,
-0.07070630043745041,
-0.03188333660364151,
-0.014082839712500572,
-0.026377663016319275,
-0.03721197694540024,
-0.017269402742385864,
-0.008032795041799545,
0.02110213041305542,
-0.019632771611213684,
-0.006647525355219841,
0.00815671682357788,
-0.04450566694140434,
0.011781432665884495,
-0.07484883069992065,
0.011560143902897835,
0.058243297040462494,
0.0534280464053154,
-0.00768315838649869,
0.016074441373348236,
-0.022606896236538887,
-0.035813432186841965,
-0.005589763168245554,
0.039867449551820755,
0.022571491077542305,
-0.021031318232417107,
0.04284157231450081,
0.009161369875073433,
-0.018464364111423492,
-0.002341238781809807,
0.0030006803572177887,
-0.04751519858837128,
-0.004394801799207926,
-0.014436902478337288,
-0.015649566426873207,
-0.03418474271893501,
-0.09963321685791016,
0.010374033823609352,
-0.027475256472826004,
-0.06270448863506317,
0.09467633813619614,
-0.05859735980629921,
0.02448342740535736,
0.006811279337853193,
-0.03352972865104675,
-0.00616954080760479,
-0.0016131977317854762,
-0.032927822321653366,
0.038026321679353714,
0.001641965238377452,
-0.0382387600839138,
0.006572287064045668,
0.030697226524353027,
0.014012026600539684,
-0.008001814596354961,
0.014490011148154736,
0.024200178682804108,
-0.10579390078783035,
0.004096061456948519,
0.07116658240556717,
-0.006222649943083525,
-0.023846115916967392,
0.03650385141372681,
-0.024837490171194077,
-0.017596911638975143,
-0.02106672339141369,
0.021226052194833755,
-0.0016375394770875573,
-0.09156058728694916,
-0.057358138263225555,
0.006585563998669386,
-0.06815704703330994,
0.020323192700743675,
-0.058668170124292374,
0.037105757743120193,
-0.0664929524064064,
-0.00035987142473459244,
-0.007200747728347778,
-0.03884066641330719,
0.026590101420879364,
0.03430866450071335,
0.014640487730503082,
-0.028856100514531136,
-0.05183476209640503,
0.06939626485109329,
-0.00784248672425747,
0.027953241020441055,
0.030396273359656334,
-0.010993643663823605,
0.01704811304807663,
0.04822332412004471,
0.05452563986182213,
-0.005284384358674288,
0.005850884132087231,
0.031104398891329765,
0.02469586580991745,
0.05831410735845566,
0.019632771611213684,
0.007594642695039511,
-0.03372446075081825,
-0.016764864325523376,
0.057145703583955765,
-0.013675667345523834,
0.036928728222846985,
0.005275532603263855,
-0.0006743785925209522,
0.03075033612549305,
0.0008043859270401299,
0.00865683052688837,
0.013498635962605476,
-0.02965274266898632,
0.018464364111423492,
-0.06596186012029648,
-0.0191193800419569,
-0.014073988422751427,
0.0030405125580728054,
0.008386857807636261,
-0.012046979740262032,
0.019154787063598633,
0.013250792399048805,
0.0061739664524793625,
0.025315474718809128,
-0.00790887326002121,
-0.010409439913928509,
-0.006585563998669386,
-0.03011302277445793,
0.011312299408018589,
0.019668176770210266,
0.010046525858342648,
0.0641915500164032,
-0.022323645651340485,
-0.0030095321126282215,
0.10706853121519089,
-0.06089876592159271,
-0.024766677990555763,
-0.017251700162887573,
-0.010170447640120983,
-0.01032977644354105,
0.015561050735414028,
0.03597275912761688,
-0.014861777424812317,
0.06167770177125931,
0.012409893795847893,
0.03255605697631836,
-0.012162050232291222,
0.016233770176768303,
0.040044479072093964,
-0.05427779629826546,
0.042770761996507645,
-0.006359849125146866,
0.026129819452762604,
-0.050170667469501495,
-0.021881068125367165,
0.017499543726444244,
0.03283930569887161,
-0.014649339951574802,
-0.049533355981111526,
-0.03321107104420662,
-0.01224171370267868,
-0.010285518132150173,
-0.0027771785389631987,
-0.012825917452573776,
-0.011037901043891907,
-0.010710393078625202,
-0.045249197632074356,
0.021279161795973778,
-0.033122554421424866,
-0.030909664928913116,
0.022341350093483925,
-0.011701768264174461,
0.0048639350570738316,
-0.058278702199459076,
-0.03032546117901802,
-0.02692645974457264,
-0.0330517441034317,
0.012347932904958725,
0.02225283347070217,
0.020340895280241966,
0.0039898427203297615,
0.05732273310422897,
0.03930094838142395,
0.013250792399048805,
0.01972128637135029,
0.053109388798475266,
0.05665001645684242,
-0.004312925040721893,
-0.053959138691425323,
0.03163549304008484,
0.020712662488222122,
0.021243754774332047,
0.03395460173487663,
-0.0004954109899699688,
-0.01929641142487526,
0.05732273310422897,
0.0467008575797081,
0.023173397406935692,
0.04663004353642464,
-0.051055826246738434,
0.04666544869542122,
-0.02181025594472885,
0.09432227164506912,
-0.035583291202783585,
-0.03699954226613045,
-0.03551247715950012,
0.05271992087364197,
-0.004080571234226227,
-0.022854739800095558,
-0.032007258385419846,
-0.04553245007991791,
-0.008019518107175827,
0.021261459216475487,
0.06298773735761642,
-0.007129935547709465,
0.054844293743371964,
0.004503233358263969,
-0.038097135722637177,
0.019916020333766937,
0.06181932985782623,
0.011091010645031929,
-0.02832500822842121,
-0.01561416033655405,
0.021013615652918816,
0.1181860938668251,
0.013118019327521324,
0.010409439913928509,
0.07279527187347412,
0.007528255693614483,
-0.05633135885000229,
0.011613252572715282,
0.011639807373285294,
-0.0001654136140132323,
-0.08277983218431473,
-0.03257375955581665,
0.025952788069844246,
0.018021786585450172,
0.025262365117669106,
0.06759054958820343,
-0.04963957518339157,
0.028856100514531136,
-0.04606354236602783,
-0.0695732980966568,
0.0195088479667902,
0.0023014068137854338,
0.0048595089465379715,
0.07162686437368393,
-0.030042210593819618,
-0.02402314729988575,
0.01818111352622509,
0.0072317286394536495,
-0.028466632589697838,
-0.011161822825670242,
-0.017685426399111748,
0.041177477687597275,
-0.053569670766592026,
0.03905310481786728,
0.05392373353242874,
0.009772127494215965,
-0.025103038176894188,
0.019384926185011864,
-0.018012933433055878,
0.030272351577878,
0.02627144381403923,
-0.023173397406935692,
-0.03745982050895691,
0.018251925706863403,
-0.033334992825984955,
0.038097135722637177,
0.050170667469501495,
-0.0027262819930911064,
0.013764183036983013,
0.05318020284175873,
0.006975032854825258,
0.004124829079955816,
-0.00092609494458884,
-0.03328188508749008,
-0.013675667345523834,
0.013392417691648006,
-0.027563773095607758,
-0.0953136533498764,
0.0636250451207161,
-0.09354333579540253,
0.06135904788970947,
-0.034662727266550064,
-0.10161596536636353,
-0.035123009234666824,
-0.05686245113611221,
0.015118472278118134,
-0.04691329225897789,
0.04153154045343399,
-0.028165679425001144,
-0.02090739645063877,
-0.08115114271640778,
-0.032219696789979935,
0.005797774996608496,
-0.010860869660973549,
0.05434860661625862,
-0.06875895708799362,
0.06242123618721962,
0.047019511461257935,
-0.013675667345523834,
0.03521152585744858,
-0.009922604076564312,
0.02266000583767891,
-0.05927007645368576,
-0.028236491605639458,
-0.009860643185675144,
0.014020878821611404,
0.02315569296479225,
0.014737855643033981,
0.03788469731807709,
-0.07272445410490036,
0.024979116395115852,
-0.05349885672330856,
0.013834996148943901,
0.08178845793008804,
-0.03271538391709328,
0.012542666867375374,
-0.055800262838602066,
0.010754651390016079,
-0.017809348180890083,
-0.05594189092516899,
0.0018510834779590368,
-0.017216293141245842,
0.011781432665884495,
-0.0180660430341959,
-0.07846026867628098,
0.039159324020147324,
0.002200720366090536,
0.0018643608782440424,
0.015853151679039,
0.027705397456884384,
-0.007160915993154049,
-0.014020878821611404,
0.024979116395115852,
-0.05565863847732544,
0.05604810640215874,
0.0011097649112343788,
0.01168406568467617,
-0.03855741769075394,
-0.01504766009747982,
0.017225144430994987,
0.0005980338319204748,
0.018305035308003426,
0.00203917920589447,
0.004175725858658552,
-0.03584883734583855,
-0.013109167106449604,
-0.001997134415432811,
0.003695528255775571,
-0.032219696789979935,
0.008647979237139225,
0.0035539031960070133,
-0.0436205118894577,
0.01760576292872429,
0.010798908770084381,
-0.0005236254073679447,
0.02359827235341072,
0.006435087416321039,
0.05604810640215874,
-0.039832040667533875,
-0.03414933755993843,
-0.0060279155150055885,
-0.030591007322072983,
-0.016791418194770813,
-0.05052473023533821,
0.0014073988422751427,
-0.052436668425798416,
0.03859282284975052,
0.005616317968815565,
-0.04046935588121414,
-0.008351451717317104,
0.08193008601665497,
-0.034432586282491684,
0.028112569823861122,
-0.032857008278369904,
-0.005957103334367275,
0.055764857679605484,
-0.04039854183793068,
-0.007705287076532841,
-0.026997271925210953,
0.05923467129468918,
0.02581116370856762,
-0.005293235648423433,
0.014428050257265568,
-0.025333179160952568,
0.035370852798223495,
0.003047151258215308,
0.014543120749294758,
-0.02446572482585907,
0.01548138726502657,
-0.043018605560064316,
0.023952335119247437,
0.014844073913991451,
0.012418745085597038,
0.017977528274059296,
0.047302763909101486,
-0.011560143902897835,
-0.03227280452847481,
-0.00042183237383142114,
-0.04351429268717766,
0.03149386867880821,
0.017499543726444244,
0.02198728732764721,
0.03326417878270149,
0.02106672339141369,
-0.03485746309161186,
-0.0005836500786244869,
0.024802085012197495,
0.006532454863190651,
0.03255605697631836,
-0.01603018306195736,
-0.01719859056174755,
-0.01842895708978176,
0.0430540107190609,
-0.02223513089120388,
0.024111662060022354,
-0.015233542770147324,
0.019579662010073662,
-0.02131456881761551,
0.019491145387291908,
-0.00035046663833782077,
-0.06702405214309692,
0.07619427144527435,
-0.012188605032861233,
0.005527802277356386,
0.07506126910448074,
-0.009816385805606842,
-0.010834314860403538,
0.024961411952972412,
0.015543348155915737,
0.005793349351733923,
0.00008478139352519065,
-0.004295221995562315,
-0.004744438920170069,
-0.034255556762218475,
0.004775419365614653,
0.006851111073046923,
0.02759917825460434,
-0.005346345249563456,
0.03905310481786728,
0.005417157430201769,
0.03795551136136055,
-0.02134997397661209,
-0.0029121648985892534,
0.01862369291484356,
-0.0011883225524798036,
-0.017632316797971725,
-0.011055604554712772,
0.024377210065722466,
-0.013967769220471382,
0.02761688269674778,
0.0426645427942276,
0.071485236287117,
-0.05339263752102852,
0.05261370167136192,
0.07902677357196808,
-0.01860598847270012,
0.030413975939154625,
0.0861080214381218,
-0.013144574128091335,
0.020517926663160324,
-0.010568768717348576,
-0.04153154045343399,
0.016552425920963287,
0.061606891453266144,
0.020942801609635353,
0.017995230853557587,
-0.001996027771383524,
-0.026855647563934326,
-0.021951880306005478,
0.035140711814165115,
0.02246527187526226,
0.044293228536844254,
0.03216658532619476,
0.01785360649228096,
0.017880160361528397,
-0.021633224561810493,
0.002239445922896266,
0.041000448167324066,
0.002183017088100314,
0.03321107104420662,
-0.00438152439892292,
0.04595732316374779,
0.0017503969138488173,
-0.00038919225335121155,
-0.00745744351297617,
-0.05045391991734505,
-0.008798455819487572,
-0.046134356409311295,
-0.022093506529927254,
-0.024837490171194077,
-0.08844483643770218,
-0.007165341638028622,
0.01760576292872429,
0.027563773095607758,
-0.04124829173088074,
0.04110666736960411,
0.014720152132213116,
-0.024961411952972412,
-0.03253835067152977,
0.0036977410782128572,
-0.019207894802093506,
-0.07162686437368393,
-0.01289672963321209,
0.014737855643033981,
0.0449659489095211,
0.008240806870162487,
0.06426236033439636,
-0.029546523466706276,
-0.003248524386435747,
-0.0072848377749323845,
0.024766677990555763,
-0.03142305463552475,
0.029776664450764656,
-0.04705491662025452,
0.024748975411057472,
-0.014454605057835579,
0.026997271925210953,
0.004124829079955816,
0.01572037860751152,
0.02802405320107937,
-0.04369132220745087,
-0.019685879349708557,
0.005651724059134722,
-0.0497811995446682,
-0.004197854548692703,
-0.007824783213436604,
-0.04333725944161415,
-0.010568768717348576,
-0.0055455053225159645,
0.04549704119563103,
-0.06454560905694962,
-0.028856100514531136,
-0.0012447512708604336,
-0.0080239437520504,
-0.013312753289937973,
0.019384926185011864,
-0.08929458260536194,
0.12809984385967255,
0.04875442013144493,
-0.029546523466706276,
-0.017189739271998405,
0.06652835756540298,
-0.0664929524064064,
0.024341803044080734,
0.044788919389247894,
0.07902677357196808,
-0.01716318354010582,
-0.07329095900058746,
-0.01202042493969202,
0.022783927619457245,
0.015136175788939,
0.05728732794523239,
0.08313389867544174,
0.011666362173855305,
-0.03643304109573364,
-0.007528255693614483,
0.023031771183013916,
0.029139351099729538,
0.049533355981111526,
0.03494597598910332,
-0.021279161795973778,
0.020022239536046982,
0.050666358321905136,
0.007753970567137003,
-0.025049928575754166,
0.0050055598840117455,
0.026855647563934326,
0.04687788709998131,
-0.013489784672856331,
0.019579662010073662,
0.0016563490498811007,
-0.028909210115671158,
-0.007718564476817846,
-0.0097544239833951,
-0.03678710386157036,
0.02269541285932064,
0.010542213916778564,
-0.04269994795322418,
-0.010630729608237743,
0.022536084055900574,
0.030591007322072983,
-0.05045391991734505,
-0.06146526709198952,
-0.007081252057105303,
0.0195088479667902,
0.036716289818286896,
-0.017561504617333412,
-0.0484357625246048,
0.01301180012524128,
0.006497048772871494,
-0.043195635080337524,
-0.0009437981061637402,
-0.032679978758096695,
-0.07484883069992065,
-0.0372827909886837,
-0.021226052194833755,
-0.01972128637135029,
0.032644569873809814,
-0.006094302516430616,
-0.026820240542292595,
-0.04238129407167435,
-0.06178392097353935,
-0.023474350571632385,
0.026891054585576057,
-0.03588424250483513,
0.032432135194540024,
0.03735360503196716,
-0.027669992297887802,
0.004669200628995895,
-0.012418745085597038,
-0.01134770642966032,
-0.020765770226716995,
-0.07307852059602737,
-0.008842713199555874,
-0.015198136679828167,
0.016269175335764885,
0.0430540107190609,
0.035583291202783585,
-0.0036269286647439003,
-0.040752604603767395,
0.06907761096954346,
-0.0507371686398983,
-0.03352972865104675,
0.017667723819613457,
0.037849292159080505,
0.04022150859236717,
0.033795274794101715,
-0.04751519858837128,
0.07513207942247391,
-0.010940534062683582,
-0.03257375955581665,
-0.035547886043787,
0.03563639894127846,
0.0242178812623024,
-0.05463185906410217,
0.016269175335764885,
0.037566039711236954,
0.0004837933520320803,
-0.022341350093483925,
-0.00571811106055975,
-0.05813707783818245,
0.05300316959619522,
-0.014950293116271496,
0.006629821844398975,
0.010621877387166023,
-0.018995458260178566,
-0.014472308568656445,
-0.003890262683853507,
-0.021049020811915398,
-0.03098047710955143,
-0.005957103334367275,
0.0010743587044999003,
0.02338583394885063,
0.05852654576301575,
-0.027422146871685982,
-0.01860598847270012,
-0.0028081589844077826,
-0.055339984595775604,
-0.01601248048245907,
-0.03721197694540024,
-0.07176848500967026,
0.02333272434771061,
-0.011931909248232841,
0.07732726633548737,
0.044788919389247894,
0.006187243852764368,
-0.04015069827437401,
-0.02336813136935234,
0.008816158398985863,
-0.00815671682357788,
0.02181025594472885,
-0.02807716280221939,
-0.04316022992134094,
0.003334827022626996,
-0.05371129512786865,
-0.026147522032260895,
0.016986152157187462,
-0.022960959002375603,
-0.01616295799612999,
0.07074170559644699,
0.008577166125178337,
-0.04755060747265816,
-0.031104398891329765,
-0.003965501207858324,
0.0005919483955949545,
-0.05364048108458519,
-0.05254288762807846,
-0.01279051136225462,
-0.0287321787327528,
0.011666362173855305,
0.039407167583703995,
-0.007718564476817846,
0.03742441534996033,
0.06107579544186592,
-0.022783927619457245,
-0.022182021290063858,
0.04556785523891449,
-0.002158675342798233,
0.046559229493141174,
-0.023970037698745728,
-0.00442578224465251,
-0.004996708128601313,
-0.034450288861989975,
0.024377210065722466,
0.026554694399237633,
-0.013932363130152225,
0.03643304109573364,
-0.031529273837804794,
0.022359052672982216,
0.03508760407567024,
-0.03253835067152977,
-0.053534265607595444,
0.0180660430341959,
0.011737175285816193,
-0.028218789026141167,
-0.023881521075963974,
0.07576939463615417,
-0.063023142516613,
0.024093959480524063,
0.02804175764322281,
0.012578073889017105,
0.0003388489712961018,
0.040752604603767395,
-0.0188361294567585,
0.005040965974330902,
-0.09156058728694916,
0.07293689250946045,
-0.043408073484897614,
0.006988310255110264,
-0.024979116395115852,
-0.052188824862241745,
0.007652177941054106,
-0.0322905071079731
] |
709,826
|
loops_diff
|
_jupyter_labextension_paths
| null |
def _jupyter_labextension_paths():
return [{
"src": "labextension",
"dest": "loops-diff"
}]
|
()
|
[
-0.001963143702596426,
-0.05359543487429619,
0.023785769939422607,
0.01831263303756714,
-0.04574716091156006,
0.0267805065959692,
-0.027675483375787735,
0.08206263184547424,
0.004681425169110298,
0.005408594850450754,
0.0293277520686388,
-0.022202346473932266,
-0.00020545776351355016,
0.024577481672167778,
-0.07049675285816193,
-0.0626140609383583,
0.05882761627435684,
0.014577819965779781,
-0.04629791900515556,
0.002872105920687318,
-0.015765387564897537,
-0.04127227142453194,
-0.0032485993579030037,
0.000371383735910058,
-0.020894302055239677,
0.07717467099428177,
0.057347457855939865,
-0.0235276035964489,
0.014216386713087559,
-0.04519640654325485,
-0.06361230462789536,
-0.030308784916996956,
-0.0374169796705246,
0.008713130839169025,
-0.044852182269096375,
-0.01428523100912571,
-0.02196139097213745,
0.04313107207417488,
-0.06550552695989609,
-0.026109272614121437,
0.04237378388643265,
0.009982450865209103,
0.0354204885661602,
-0.0337338000535965,
0.04671098664402962,
0.009569384157657623,
-0.0992049053311348,
-0.021496690809726715,
0.00009950179810402915,
0.0013069695560261607,
0.040790360420942307,
-0.03020551986992359,
0.012564118951559067,
-0.0038509885780513287,
-0.024388160556554794,
0.06543668359518051,
0.040205180644989014,
0.0603766143321991,
0.010395517572760582,
0.03824311122298241,
-0.03330352157354355,
-0.025661783292889595,
0.025265926495194435,
0.002426768187433481,
-0.038449645042419434,
0.022563781589269638,
-0.0070866793394088745,
-0.021100835874676704,
-0.011514240875840187,
0.003560550743713975,
-0.022684259340167046,
-0.014904831536114216,
-0.0003270113083999604,
-0.0362810455262661,
0.00437807897105813,
-0.030343208461999893,
0.0032959298696368933,
-0.018329845741391182,
-0.02485286071896553,
0.016230087727308273,
-0.04856978729367256,
-0.006062617525458336,
-0.022013025358319283,
-0.006170187145471573,
0.05421503260731697,
-0.015653515234589577,
0.03132424131035805,
0.010154562070965767,
0.043062228709459305,
-0.013020213693380356,
-0.01858801208436489,
-0.07159826904535294,
0.01555885374546051,
-0.045643895864486694,
0.003044217126443982,
-0.05989470332860947,
-0.010188983753323555,
-0.0005289730615913868,
0.029775241389870644,
0.01025782898068428,
0.002166450023651123,
-0.06581532955169678,
-0.0161526370793581,
0.055247701704502106,
0.028243450447916985,
0.009707072749733925,
-0.0011187229538336396,
0.0151629988104105,
-0.036177776753902435,
-0.06440401822328568,
-0.03559260070323944,
0.03924135863780975,
-0.003046368481591344,
-0.05965374782681465,
0.05421503260731697,
0.0581047460436821,
-0.007215762976557016,
-0.028277873992919922,
0.061822351068258286,
0.018295422196388245,
-0.06619397550821304,
0.0748339593410492,
-0.018174944445490837,
0.0020857728086411953,
0.05369869992136955,
-0.025231504812836647,
0.0081494664773345,
0.057967059314250946,
-0.05228738859295845,
-0.06571206450462341,
0.02147947996854782,
-0.000612608389928937,
-0.06698568910360336,
-0.016651760786771774,
0.0058732954785227776,
0.03555817902088165,
0.02051565796136856,
-0.001010615611448884,
0.05807032436132431,
0.05786379054188728,
-0.0320298969745636,
0.02598879486322403,
-0.02375134825706482,
0.049981098622083664,
-0.00010797289723996073,
-0.021978601813316345,
0.014586425386369228,
0.017366021871566772,
-0.052872564643621445,
0.04037729278206825,
0.0010052371071651578,
0.018863389268517494,
-0.04416373744606972,
-0.050944920629262924,
0.02686656080186367,
-0.018897810950875282,
-0.005399989429861307,
0.017529528588056564,
0.056727856397628784,
-0.01686690002679825,
0.007813849486410618,
-0.006755365524441004,
-0.006755365524441004,
0.021445058286190033,
0.014362681657075882,
0.030343208461999893,
-0.014044275507330894,
-0.012839497067034245,
-0.05421503260731697,
0.04316549375653267,
0.04189186915755272,
-0.019827213138341904,
0.05906857177615166,
-0.0029237393755465746,
0.058380126953125,
-0.003046368481591344,
0.012719019316136837,
0.048673052340745926,
0.06196003779768944,
-0.004573855549097061,
-0.040033068507909775,
0.05459367856383324,
-0.01862243376672268,
0.10347326844930649,
-0.01919040083885193,
0.003696088446304202,
-0.006634887307882309,
-0.0411001592874527,
-0.008278549648821354,
0.02989571914076805,
-0.023424336686730385,
0.09115010499954224,
0.04120342433452606,
0.054937902837991714,
-0.030050618574023247,
0.00518054747954011,
0.020171435549855232,
0.02419883757829666,
-0.02913842909038067,
-0.01135073509067297,
-0.025713415816426277,
0.005610825959593058,
0.025833893567323685,
0.018966656178236008,
0.0235276035964489,
0.00938006117939949,
-0.00950914528220892,
0.014741325750946999,
-0.0038660482969135046,
0.02055007964372635,
0.021186891943216324,
-0.01330419722944498,
0.008287155069410801,
-0.02178928069770336,
0.01581702195107937,
-0.0006927476497367024,
-0.0399642251431942,
0.04381951689720154,
-0.010653684847056866,
0.005068675614893436,
-0.034955788403749466,
-0.04777807369828224,
-0.015610487200319767,
0.017813511192798615,
-0.03944789245724678,
0.013570969924330711,
0.07648622244596481,
0.03944789245724678,
0.02419883757829666,
-0.028415562584996223,
-0.020670557394623756,
0.008454963564872742,
0.05194316431879997,
-0.027864806354045868,
-0.010765557177364826,
0.037279289215803146,
-0.01788235642015934,
0.014216386713087559,
0.044817760586738586,
0.024525849148631096,
-0.015317898243665695,
0.004190908279269934,
0.04027402400970459,
0.007598710246384144,
0.013691447675228119,
-0.03652200102806091,
0.06502361595630646,
-0.03437060862779617,
0.004905169829726219,
-0.0024461306165903807,
0.03381985425949097,
0.021014779806137085,
0.002618241822347045,
-0.009113289415836334,
-0.05738187953829765,
0.012959974817931652,
0.02375134825706482,
-0.016479648649692535,
0.03941347077488899,
-0.031220974400639534,
-0.01674642227590084,
-0.009483328089118004,
-0.050428587943315506,
-0.024560270830988884,
-0.0501532107591629,
-0.015885865315794945,
-0.0050944918766617775,
0.007073771208524704,
-0.03356168791651726,
0.018174944445490837,
0.055385392159223557,
0.05280372127890587,
-0.07579778134822845,
0.01058483961969614,
-0.023303858935832977,
0.01805446669459343,
0.007383571472018957,
0.024594692513346672,
0.008863727562129498,
-0.03559260070323944,
-0.010240617208182812,
-0.0399642251431942,
-0.024697959423065186,
0.022580992430448532,
-0.019603468477725983,
-0.062166571617126465,
-0.03132424131035805,
-0.05689996853470802,
-0.06340577453374863,
-0.01963789016008377,
0.06368114799261093,
0.04054940491914749,
0.013837741687893867,
-0.015240448527038097,
0.0009051974629983306,
0.0535610131919384,
-0.013183719478547573,
-0.007004926446825266,
0.033372364938259125,
0.03349284455180168,
-0.05225296691060066,
-0.0037455703131854534,
-0.016255903989076614,
0.024990549311041832,
-0.07910231500864029,
-0.03951673582196236,
-0.0024956127163022757,
-0.04189186915755272,
0.022804737091064453,
0.028277873992919922,
0.0133902532979846,
-0.03476646542549133,
0.053182367235422134,
0.028604883700609207,
0.0020180039573460817,
0.011522846296429634,
0.01251248549669981,
0.022718681022524834,
-0.02247772552073002,
0.028897473588585854,
-0.007882693782448769,
0.031220974400639534,
-0.02400951460003853,
0.011221651919186115,
0.015481404028832912,
-0.008846516720950603,
0.042132824659347534,
-0.031616829335689545,
0.01919040083885193,
-0.024663537740707397,
0.0027064490132033825,
-0.007189946249127388,
0.021496690809726715,
-0.023217802867293358,
0.03896598145365715,
0.031926631927490234,
0.03593682125210762,
-0.0041349721141159534,
0.002747325226664543,
-0.02440537139773369,
0.048535365611314774,
-0.018742911517620087,
-0.05449041351675987,
0.005998075939714909,
0.021926969289779663,
-0.008764764294028282,
0.019001077860593796,
0.08467871695756912,
-0.029775241389870644,
-0.001768442802131176,
0.022340036928653717,
0.0751093327999115,
-0.08915361016988754,
0.022512147203087807,
-0.019465778023004532,
0.030429262667894363,
-0.047571539878845215,
-0.03900040313601494,
-0.026401860639452934,
0.011677746661007404,
0.023768559098243713,
0.0011552965734153986,
0.04381951689720154,
0.00295816152356565,
0.0011768104741349816,
-0.013510731048882008,
0.09590037167072296,
-0.04825998470187187,
0.019310878589749336,
-0.027400106191635132,
-0.007577196229249239,
0.05201201140880585,
0.02958591841161251,
-0.03958557918667793,
-0.045643895864486694,
-0.05930952727794647,
-0.001587725942954421,
0.003020551986992359,
-0.0572441928088665,
0.02984408475458622,
0.05961932614445686,
0.010490179061889648,
-0.026023216545581818,
0.011066751554608345,
0.0033303520176559687,
0.01955183409154415,
0.015051126480102539,
-0.02953428588807583,
-0.010171772912144661,
-0.03168567642569542,
0.043406449258327484,
-0.07070329040288925,
-0.00533544784411788,
0.05758841335773468,
-0.032012686133384705,
-0.0776565819978714,
-0.039206936955451965,
0.04044613614678383,
0.014612242579460144,
-0.008472174406051636,
0.05741630122065544,
0.00237728632055223,
0.03330352157354355,
0.019741157069802284,
0.037795621901750565,
0.015920286998152733,
0.024112781509757042,
0.09789685904979706,
-0.03199547529220581,
0.014121725223958492,
-0.03597124293446541,
-0.006157279014587402,
-0.002532186219468713,
-0.01150563545525074,
0.0065230149775743484,
0.01319232489913702,
-0.03555817902088165,
-0.041169002652168274,
0.03326909989118576,
0.02712472900748253,
0.006888751406222582,
-0.049154963344335556,
0.028157396242022514,
0.011557267978787422,
0.060238927602767944,
0.030825119465589523,
0.00012215862807352096,
0.013975431211292744,
-0.021548325195908546,
0.024784015491604805,
-0.06822488456964493,
0.021548325195908546,
-0.0021911910735070705,
-0.029861295595765114,
0.009999661706387997,
-0.047571539878845215,
0.016023553907871246,
-0.04798460751771927,
-0.00717703765258193,
-0.02055007964372635,
-0.005942139774560928,
0.014620848000049591,
0.044507961720228195,
-0.005606522783637047,
-0.04746827483177185,
0.01836426742374897,
-0.04271800443530083,
0.02822623960673809,
-0.06791508942842484,
-0.017865143716335297,
-0.031616829335689545,
0.04368182644248009,
0.08006613701581955,
-0.004513616673648357,
0.016798054799437523,
-0.021204102784395218,
-0.020980358123779297,
-0.06220099329948425,
-0.044817760586738586,
-0.034078020602464676,
-0.004793297499418259,
0.03225364163517952,
0.06726106256246567,
-0.022099081426858902,
0.05146125331521034,
-0.0972084179520607,
0.050910498946905136,
-0.03282161056995392,
-0.008738947100937366,
0.004167242906987667,
0.012736230157315731,
-0.013218141160905361,
-0.02406114898622036,
0.00016189210873562843,
0.027468951418995857,
0.03225364163517952,
-0.015584670938551426,
0.023992303758859634,
-0.014724114909768105,
-0.05404292419552803,
-0.08405911922454834,
-0.08591791987419128,
-0.003459435421973467,
0.018828967586159706,
0.034250132739543915,
-0.031393084675073624,
-0.013416069559752941,
-0.012486669234931469,
-0.045334093272686005,
-0.04447354003787041,
0.024990549311041832,
0.039206936955451965,
-0.06251079589128494,
0.007271699141710997,
-0.012185473926365376,
0.020584501326084137,
0.047743652015924454,
0.055385392159223557,
0.014620848000049591,
-0.008984205313026905,
0.04013633728027344,
-0.017727455124258995,
-0.012323163449764252,
0.039551157504320145,
0.02901795133948326,
-0.011996151879429817,
0.024216048419475555,
-0.025317560881376266,
-0.04832883179187775,
0.004296326078474522,
-0.010386912152171135,
0.027073094621300697,
0.02888026274740696,
-0.0064670792780816555,
0.025954371318221092,
-0.012090813368558884,
0.013166508637368679,
0.06939524412155151,
0.09734610468149185,
0.05937837064266205,
-0.007327635306864977,
-0.06485150754451752,
0.04653887450695038,
-0.061684660613536835,
-0.0032808701507747173,
-0.016600126400589943,
-0.019827213138341904,
-0.028983529657125473,
-0.03440503403544426,
0.11180344969034195,
0.0399642251431942,
0.029069585725665092,
0.03662526607513428,
0.010223406367003918,
-0.02712472900748253,
0.030618585646152496,
0.014113119803369045,
0.0009294005576521158,
0.005283814389258623,
0.007934327237308025,
-0.018088888376951218,
-0.0010568704456090927,
0.04578158259391785,
0.007004926446825266,
0.018071677535772324,
0.05824243649840355,
-0.01382913626730442,
0.02060171216726303,
0.06337135285139084,
0.03404359892010689,
0.08454103022813797,
-0.007172734942287207,
-0.06485150754451752,
0.01678084395825863,
-0.02536919340491295,
-0.04409489408135414,
0.0068629346787929535,
0.00040526813245378435,
0.001529638422653079,
-0.01910434477031231,
-0.023992303758859634,
-0.020791035145521164,
-0.0050772810354828835,
-0.052700456231832504,
0.0030721852090209723,
0.03256344422698021,
-0.021944180130958557,
0.008102135732769966,
-0.039860960096120834,
-0.009887789376080036,
0.031926631927490234,
0.0572441928088665,
0.05056627467274666,
-0.07889578491449356,
-0.00727600185200572,
0.009250978007912636,
0.030618585646152496,
-0.0000687772553646937,
-0.009818945080041885,
-0.0019900358747690916,
-0.028776995837688446,
0.031788941472768784,
0.06750202178955078,
0.02471517026424408,
0.009569384157657623,
0.016995983198285103,
0.00837321113795042,
0.00502995029091835,
0.015283476561307907,
0.007073771208524704,
-0.008764764294028282,
0.0022654139902442694,
0.021703224629163742,
-0.024216048419475555,
0.037313710898160934,
0.0008363529341295362,
-0.08550485223531723,
-0.006918870843946934,
0.03989538177847862,
0.023475971072912216,
0.016557099297642708,
-0.00796444620937109,
-0.03624662384390831,
-0.018777333199977875,
-0.008618469350039959,
-0.021858124062418938,
0.037761200219392776,
-0.049636874347925186,
-0.04540294036269188,
0.022030236199498177,
-0.004081187304109335,
-0.012934158556163311,
0.03927578032016754,
-0.09252699464559555,
-0.028243450447916985,
-0.011187229305505753,
0.030911175534129143,
-0.02777875028550625,
-0.03185778483748436,
-0.004690030589699745,
-0.05968816950917244,
0.005227878224104643,
-0.03962000086903572,
-0.012650175020098686,
0.03999864682555199,
0.0020481233950704336,
-0.0026117877569049597,
0.05803590267896652,
-0.009930817410349846,
0.006875843275338411,
0.01941414549946785,
-0.004535130690783262,
0.05776052549481392,
-0.06051430478692055,
0.08158072084188461,
-0.0827510729432106,
-0.004982620012015104,
-0.06003239378333092,
-0.008179585449397564,
0.05875876918435097,
-0.01135073509067297,
-0.0685691088438034,
-0.018295422196388245,
-0.017847932875156403,
-0.03838080167770386,
0.04061824828386307,
-0.036831799894571304,
0.014861803501844406,
0.03170288726687431,
0.010232011787593365,
0.01810610108077526,
-0.003549793967977166,
-0.05249392241239548,
0.02989571914076805,
-0.0697050467133522,
0.09176970273256302,
0.002680632285773754,
-0.01641080528497696,
0.06653819978237152,
-0.06605628877878189,
-0.005219272803515196,
-0.0005722697824239731,
-0.026763293892145157,
0.01819215528666973,
0.002211629180237651,
-0.0225293580442667,
0.020670557394623756,
-0.060101237148046494,
0.04908611997961998,
-0.010903245769441128,
-0.012977185659110546,
-0.02159995771944523,
-0.08364605158567429,
-0.00753847137093544,
-0.03738255798816681,
-0.010868823155760765,
-0.030257152393460274,
0.05727861449122429,
0.016307538375258446,
-0.0267805065959692,
-0.06815604120492935,
-0.010395517572760582,
-0.04140995815396309,
0.023028481751680374,
-0.0025192778557538986,
0.06505803763866425,
0.046779830008745193,
0.052528344094753265,
0.043544139713048935,
0.04127227142453194,
-0.0753847137093544,
0.08288875967264175,
-0.0022589596919715405,
-0.005739909131079912,
0.031444720923900604,
-0.007882693782448769,
0.0078052436001598835,
-0.05965374782681465,
-0.0501532107591629,
-0.048225563019514084,
0.019655101001262665,
-0.0013005153741687536,
-0.038449645042419434,
-0.0014403557870537043,
0.0595160610973835,
0.01058483961969614,
-0.0164366215467453,
-0.04412931576371193,
-0.09500539302825928,
-0.00002717811003094539,
-0.028381140902638435,
-0.019224822521209717,
0.029706396162509918,
-0.033596109598875046,
0.00935424491763115,
-0.07683044672012329,
-0.030308784916996956,
-0.06175350397825241,
0.042752426117658615,
-0.007504049222916365,
0.027727117761969566,
0.004995528142899275,
0.03931020200252533,
0.03163404390215874,
0.014224992133677006,
0.04103131592273712,
-0.017185304313898087,
-0.015722360461950302,
0.005628036800771952,
0.014113119803369045,
-0.07366359978914261,
-0.009956633672118187,
-0.000009975391549232882,
0.018398689106106758,
0.020446812734007835,
-0.010972090065479279,
0.009431694634258747,
0.004444772377610207,
0.01686690002679825,
-0.008880939334630966,
0.04502429440617561,
-0.03340678662061691,
-0.013975431211292744,
0.027210783213377,
0.024663537740707397,
0.0026548155583441257,
0.0187084898352623,
0.012004757300019264,
0.01672060415148735,
-0.005610825959593058,
0.015360926277935505,
-0.00366596900857985,
-0.07159826904535294,
-0.0487418957054615,
0.00894117821007967,
-0.023062903434038162,
0.03137587383389473,
-0.017254149541258812,
-0.0447833389043808,
-0.0010036235908046365,
-0.004276963882148266,
-0.02953428588807583,
0.06502361595630646,
0.00935424491763115,
0.056727856397628784,
-0.01762418821454048,
-0.06447286158800125,
-0.014646665193140507
] |
709,828
|
pytorch_msssim.ssim
|
MS_SSIM
| null |
class MS_SSIM(torch.nn.Module):
def __init__(
self,
data_range: float = 255,
size_average: bool = True,
win_size: int = 11,
win_sigma: float = 1.5,
channel: int = 3,
spatial_dims: int = 2,
weights: Optional[List[float]] = None,
K: Union[Tuple[float, float], List[float]] = (0.01, 0.03),
) -> None:
r""" class for ms-ssim
Args:
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
channel (int, optional): input channels (default: 3)
weights (list, optional): weights for different levels
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
"""
super(MS_SSIM, self).__init__()
self.win_size = win_size
self.win = _fspecial_gauss_1d(win_size, win_sigma).repeat([channel, 1] + [1] * spatial_dims)
self.size_average = size_average
self.data_range = data_range
self.weights = weights
self.K = K
def forward(self, X: Tensor, Y: Tensor) -> Tensor:
return ms_ssim(
X,
Y,
data_range=self.data_range,
size_average=self.size_average,
win=self.win,
weights=self.weights,
K=self.K,
)
|
(data_range: float = 255, size_average: bool = True, win_size: int = 11, win_sigma: float = 1.5, channel: int = 3, spatial_dims: int = 2, weights: Optional[List[float]] = None, K: Union[Tuple[float, float], List[float]] = (0.01, 0.03)) -> None
|
[
-0.020556755363941193,
-0.09424121677875519,
0.013954798690974712,
-0.0003669107682071626,
0.0076502724550664425,
0.027012433856725693,
-0.06510289013385773,
0.004632096271961927,
0.02383335307240486,
0.03805145248770714,
0.01806029863655567,
0.01564185693860054,
0.008264634758234024,
0.029430875554680824,
-0.04501422122120857,
0.025783710181713104,
0.03941670060157776,
0.015300544910132885,
-0.0021185744553804398,
-0.0032351533882319927,
-0.020108172670006752,
-0.017387425526976585,
0.010765966959297657,
0.042556773871183395,
-0.04189365357160568,
0.01753370277583599,
0.005929083097726107,
-0.05168444290757179,
-0.009122791700065136,
-0.045287273824214935,
-0.08043269068002701,
0.005051422864198685,
0.05359578877687454,
0.022975197061896324,
0.0402553528547287,
-0.022234061732888222,
0.006509313825517893,
0.030581586062908173,
-0.11132633686065674,
-0.024867042899131775,
0.0029547896701842546,
-0.0432589016854763,
0.06740431487560272,
0.018099306151270866,
0.014598417095839977,
0.03296102210879326,
-0.007757542189210653,
0.02771456353366375,
-0.006577576510608196,
0.00007839517638785765,
0.01560285035520792,
-0.04637947306036949,
-0.01976686157286167,
-0.020381223410367966,
-0.03902662917971611,
0.06350360065698624,
0.0660390630364418,
0.013837778009474277,
0.00755275459960103,
-0.03768088296055794,
0.01776774600148201,
-0.059719908982515335,
0.04450713098049164,
0.00459308922290802,
-0.027617044746875763,
-0.02186349406838417,
-0.052035506814718246,
0.013603734783828259,
0.01435462199151516,
0.05172344669699669,
-0.013691500760614872,
-0.036705706268548965,
0.035125914961099625,
0.05839366838335991,
0.03654967620968819,
0.0030108625069260597,
-0.010336888022720814,
0.00007127181015675887,
0.00871321652084589,
-0.021824486553668976,
0.039358191192150116,
0.04282982274889946,
-0.04657450690865517,
-0.0027573162224143744,
-0.04598940163850784,
-0.05710643157362938,
0.007616141345351934,
0.0008240255410782993,
0.02081030234694481,
-0.020712783560156822,
-0.05102131888270378,
0.04450713098049164,
0.034969888627529144,
0.012823592871427536,
0.03738832846283913,
0.07653197646141052,
-0.04033336788415909,
-0.05901778116822243,
-0.018118809908628464,
-0.06701423972845078,
-0.0398847870528698,
0.06654615700244904,
0.04002131149172783,
0.06748232990503311,
-0.0035423345398157835,
-0.01674380898475647,
-0.03214187175035477,
0.01560285035520792,
-0.037232302129268646,
-0.019045228138566017,
-0.015046998858451843,
0.04821280762553215,
-0.055468130856752396,
-0.03850003331899643,
-0.011575364507734776,
-0.10882987827062607,
-0.02233157865703106,
0.020849307999014854,
0.0004970360896550119,
0.01180940680205822,
-0.028338676318526268,
0.012765081599354744,
-0.04259578138589859,
0.016568277031183243,
-0.029430875554680824,
0.022370586171746254,
0.0690426155924797,
-0.025452150031924248,
-0.0027329367585480213,
-0.03965074196457863,
-0.0501241572201252,
-0.04922699183225632,
0.00021895796817261726,
0.04275180771946907,
0.015944162383675575,
-0.04201067239046097,
0.008571815676987171,
-0.005202575586736202,
0.034365277737379074,
0.03978726640343666,
0.004853948950767517,
0.04747167229652405,
-0.04669152945280075,
0.06596104800701141,
0.027831584215164185,
0.0243014395236969,
0.07103197276592255,
0.016500014811754227,
0.0463014580309391,
-0.06436175853013992,
-0.04875890538096428,
-0.006699473597109318,
0.03300002962350845,
0.03418974578380585,
-0.013632990419864655,
0.036647193133831024,
0.032824497669935226,
-0.03331208601593971,
-0.0012006880715489388,
0.014715437777340412,
-0.06428374350070953,
-0.038226984441280365,
-0.062372393906116486,
-0.00938121322542429,
-0.024711014702916145,
-0.05527309700846672,
0.014890969730913639,
-0.0038056327030062675,
-0.021668458357453346,
0.05382983386516571,
0.005914455279707909,
-0.04957805573940277,
0.015290793031454086,
0.02976243756711483,
0.018070051446557045,
0.03614010289311409,
-0.010015079751610756,
0.01021011546254158,
-0.01370125263929367,
0.021746471524238586,
0.016802318394184113,
-0.017221646383404732,
-0.017836008220911026,
-0.031556762754917145,
-0.03729081153869629,
0.0516454353928566,
0.0402553528547287,
-0.005300092976540327,
-0.03356563299894333,
-0.0013518406776711345,
0.07099296897649765,
-0.008615698665380478,
0.02149292640388012,
0.0013250232441350818,
0.018918456509709358,
0.017299659550189972,
-0.016656043007969856,
-0.01960108056664467,
0.029021302238106728,
0.022916685789823532,
-0.006714101415127516,
0.017202142626047134,
0.01241401769220829,
0.03214187175035477,
-0.029099315404891968,
-0.05191848427057266,
-0.00492708757519722,
0.0683404803276062,
-0.036042582243680954,
0.011731392703950405,
-0.048407841473817825,
-0.021687962114810944,
0.04243975132703781,
0.0691206231713295,
0.0637376457452774,
-0.0345408096909523,
-0.01355497632175684,
0.013262422755360603,
0.007713659200817347,
-0.036413151770830154,
0.03727130964398384,
-0.022292573004961014,
-0.06553196907043457,
0.016392745077610016,
-0.002179523231461644,
0.03931918367743492,
0.02443796396255493,
-0.07481566816568375,
0.012384762056171894,
0.00835727620869875,
0.0204982440918684,
-0.0030059865675866604,
-0.0018796558724716306,
0.04060641676187515,
0.02535463124513626,
0.01090249139815569,
-0.010336888022720814,
0.008108606562018394,
0.015534588135778904,
-0.026290802285075188,
-0.061319202184677124,
-0.0345408096909523,
-0.034891873598098755,
0.023131225258111954,
0.01139008067548275,
-0.013652494177222252,
0.01879168301820755,
0.029489386826753616,
-0.01986437849700451,
0.05741848796606064,
0.008718092925846577,
-0.05262061208486557,
-0.03311704844236374,
0.03239541873335838,
-0.03340960294008255,
-0.03791492432355881,
-0.04829082265496254,
0.016324482858181,
0.008035467937588692,
-0.06494686752557755,
-0.06689722090959549,
-0.055390119552612305,
-0.025783710181713104,
0.05757451802492142,
0.008908252231776714,
-0.0125310393050313,
-0.027461016550660133,
0.06424473226070404,
0.007777045480906963,
0.030952153727412224,
0.11858166009187698,
0.06884757429361343,
-0.03727130964398384,
-0.012423769570887089,
0.025003567337989807,
0.019113492220640182,
-0.017289908602833748,
-0.007528375368565321,
0.006187505088746548,
0.0020625018514692783,
0.046886563301086426,
-0.02094682678580284,
-0.055858202278614044,
-0.013535472564399242,
0.062996506690979,
0.024789027869701385,
0.004576023202389479,
-0.05211351811885834,
0.04169861599802971,
-0.023501792922616005,
0.0014091323828324676,
0.04419507458806038,
0.03705677017569542,
-0.03202484920620918,
0.01257004588842392,
-0.001428636023774743,
-0.07739013433456421,
0.046418480575084686,
0.021512430161237717,
-0.014257104136049747,
0.04918798431754112,
-0.01619770936667919,
-0.026407824829220772,
0.023404275998473167,
0.012375010177493095,
-0.02839718759059906,
-0.024086900055408478,
0.028572719544172287,
-0.017806753516197205,
-0.02262413315474987,
0.02194150723516941,
0.04505322873592377,
-0.02870924398303032,
0.006304526701569557,
0.032648965716362,
-0.022078033536672592,
0.053556784987449646,
0.029489386826753616,
0.012784585356712341,
0.11553910374641418,
-0.00029072497272863984,
0.010073590092360973,
0.015895403921604156,
0.017543455585837364,
-0.008371904492378235,
-0.06030501425266266,
-0.00641667190939188,
-0.008059847168624401,
-0.044312093406915665,
0.013632990419864655,
-0.023131225258111954,
0.011214548721909523,
0.03508691117167473,
0.00024729908909648657,
-0.05141139030456543,
-0.013155153021216393,
0.021590443328022957,
0.04684755578637123,
0.014296111650764942,
-0.05304969102144241,
0.02026420086622238,
0.009366585873067379,
-0.014374125748872757,
0.025998249650001526,
0.019191505387425423,
-0.04751067981123924,
0.002569594420492649,
-0.03112768568098545,
-0.010980505496263504,
0.01784575916826725,
0.013847529888153076,
0.017416682094335556,
0.034501802176237106,
0.0675603449344635,
0.06326955556869507,
0.07957453280687332,
-0.0463404655456543,
-0.028260663151741028,
0.027304988354444504,
-0.1039929986000061,
0.01511526107788086,
0.03879258781671524,
-0.023482289165258408,
0.002183180069550872,
0.01526153739541769,
-0.013028379529714584,
-0.011711888946592808,
-0.007031034212559462,
0.06888658553361893,
0.030250025913119316,
-0.02445746771991253,
-0.04887592792510986,
-0.06795041263103485,
0.02096633054316044,
-0.02787059172987938,
-0.016490262001752853,
-0.07836531847715378,
0.000010047001524071675,
0.0069481441751122475,
-0.017436185851693153,
0.03469683974981308,
0.013613486662507057,
0.01571987196803093,
0.012423769570887089,
0.06635112315416336,
-0.008250007405877113,
0.009771284647285938,
0.013359940610826015,
0.03422875329852104,
-0.056521326303482056,
-0.005041670985519886,
0.019952144473791122,
0.02968442253768444,
-0.012375010177493095,
-0.06631211191415787,
-0.02962591126561165,
0.026914916932582855,
0.07079793512821198,
-0.04661351442337036,
-0.047120608389377594,
-0.028046123683452606,
-0.061319202184677124,
0.002123450394719839,
0.05039720609784126,
-0.004756431560963392,
-0.02240959368646145,
-0.0020868813153356314,
0.012453025206923485,
0.0030352419707924128,
0.020829804241657257,
-0.0014030375750735402,
-0.01457891333848238,
-0.035886555910110474,
0.0019491373095661402,
0.009244688786566257,
-0.01355497632175684,
0.011195044964551926,
0.015612602233886719,
-0.030581586062908173,
0.022487608715891838,
0.018781930208206177,
-0.004293221514672041,
0.043844010680913925,
0.026524845510721207,
-0.03555499389767647,
-0.02133689820766449,
-0.046652521938085556,
-0.015310296788811684,
-0.04778372868895531,
-0.013301429338753223,
-0.09650363028049469,
0.02239008992910385,
0.0024745145346969366,
-0.018703917041420937,
0.006889633368700743,
-0.03138123080134392,
-0.015788134187459946,
0.00443462235853076,
-0.015710119158029556,
-0.01576863043010235,
0.030776621773838997,
0.011955684050917625,
0.006411796435713768,
-0.026407824829220772,
-0.00755275459960103,
-0.017172886058688164,
-0.022604629397392273,
0.044000037014484406,
-0.05429792031645775,
0.006182629149407148,
-0.01598316989839077,
0.005148940719664097,
0.025081582367420197,
0.004727175924926996,
0.005485376808792353,
-0.013789018616080284,
-0.021824486553668976,
-0.027831584215164185,
0.009444599971175194,
0.01618795655667782,
0.0027426884043961763,
0.03555499389767647,
-0.06506388634443283,
-0.008410911075770855,
0.026895413175225258,
-0.031712792813777924,
0.08854617178440094,
-0.03021101839840412,
0.021843990311026573,
-0.026310306042432785,
0.03311704844236374,
0.019357286393642426,
0.04243975132703781,
-0.04002131149172783,
-0.004544330295175314,
-0.01048316527158022,
-0.021453918889164925,
0.03826598823070526,
-0.019084235653281212,
-0.032824497669935226,
0.01700710691511631,
-0.03851953521370888,
0.02120037190616131,
0.056443311274051666,
-0.05823763832449913,
-0.013467210344970226,
0.05351777747273445,
-0.019250016659498215,
0.0387340746819973,
-0.016226964071393013,
0.0028792135417461395,
-0.009668891318142414,
0.02831917256116867,
0.0076356446370482445,
-0.027929101139307022,
-0.017124127596616745,
-0.02414541132748127,
-0.0024940180592238903,
0.017026610672473907,
-0.024398956447839737,
-0.020147180184721947,
0.01886969618499279,
-0.04649649187922478,
-0.020010655745863914,
0.04302486032247543,
0.086595818400383,
-0.007840432226657867,
0.020634768530726433,
-0.03422875329852104,
-0.018255334347486496,
0.02096633054316044,
-0.024184416979551315,
-0.044000037014484406,
-0.029333358630537987,
0.03719329461455345,
-0.04762769863009453,
-0.02042023092508316,
0.07130502164363861,
-0.010795221664011478,
-0.048797912895679474,
0.016646290197968483,
0.0030108625069260597,
-0.044234078377485275,
0.023735836148262024,
0.010551427491009235,
0.02529611997306347,
-0.004256652668118477,
0.0034594445023685694,
0.031400736421346664,
0.04790075123310089,
0.017231397330760956,
0.022916685789823532,
-0.02839718759059906,
0.056755367666482925,
0.04201067239046097,
-0.002671987982466817,
-0.004788124468177557,
-0.011282810941338539,
-0.014023061841726303,
-0.03734932094812393,
-0.0744255930185318,
-0.009776161052286625,
-0.007840432226657867,
0.01381827425211668,
0.03247343376278877,
0.02945037931203842,
-0.05578019097447395,
0.052581604570150375,
-0.0698227509856224,
-0.010453909635543823,
-0.06857452541589737,
0.009459228254854679,
-0.03401421383023262,
-0.04333691671490669,
0.08745397627353668,
0.07996460795402527,
-0.06658516079187393,
-0.041113510727882385,
-0.04751067981123924,
0.016382992267608643,
-0.0375833660364151,
-0.03007449395954609,
0.04719862341880798,
0.010317384265363216,
-0.0827731192111969,
-0.031069176271557808,
0.018226079642772675,
-0.018655158579349518,
-0.04692557081580162,
0.013496465049684048,
-0.030172010883688927,
0.03502839803695679,
0.03682272508740425,
0.071383036673069,
-0.027890095487236977,
0.03220038115978241,
0.07852134108543396,
-0.04602840915322304,
0.01936703734099865,
-0.041659608483314514,
0.03768088296055794,
-0.041503582149744034,
0.02945037931203842,
0.02301420457661152,
-0.00044096336932852864,
-0.004007982090115547,
-0.11039016395807266,
0.03586705029010773,
-0.06022700294852257,
0.046964578330516815,
0.05605323985219002,
0.0034033716656267643,
-0.019406044855713844,
-0.01618795655667782,
-0.0042542144656181335,
-0.05460997670888901,
-0.02377484366297722,
-0.003247343236580491,
0.11101427674293518,
0.024691510945558548,
-0.0607731007039547,
0.00628502294421196,
-0.006748232524842024,
-0.011604620143771172,
0.03941670060157776,
-0.04064542427659035,
-0.007840432226657867,
-0.015183523297309875,
0.027597540989518166,
-0.003747121896594763,
-0.013681748881936073,
0.03994329646229744,
0.016100190579891205,
0.002845082199200988,
-0.01847962476313114,
0.021902501583099365,
0.0002372425515204668,
0.003247343236580491,
0.10134050995111465,
-0.009113039821386337,
0.02870924398303032,
-0.0062947748228907585,
-0.037095777690410614,
-0.037856414914131165,
0.01606118306517601,
-0.006567824631929398,
0.010034582577645779,
-0.045560322701931,
-0.007367470767349005,
-0.009064280427992344,
-0.027461016550660133,
-0.008488926105201244,
0.06174828112125397,
-0.000990415341220796,
0.00972252618521452,
0.0017260652966797352,
-0.01506650261580944,
0.028650732710957527,
-0.011360825039446354,
0.010551427491009235,
0.051762454211711884,
0.0011805749963968992,
0.011117030866444111,
0.00782092846930027,
-0.028358180075883865,
-0.03976776450872421,
0.020030159503221512,
0.01697785221040249,
0.017065618187189102,
0.02042023092508316,
-0.023930871859192848,
0.048407841473817825,
-0.012023946270346642,
0.012111712247133255,
0.03251243755221367,
-0.005582894664257765,
-0.028572719544172287,
-0.017416682094335556,
0.05457096919417381,
-0.037778399884700775,
-0.016734056174755096,
0.008503553457558155,
0.026154277846217155,
0.05492203310132027,
-0.008601071313023567,
-0.026895413175225258,
0.015534588135778904,
-0.02679789438843727,
-0.018177321180701256,
0.013369692489504814,
-0.04852486401796341,
-0.011984939686954021,
-0.09619157016277313,
-0.026758888736367226,
0.010444157756865025,
-0.005602398421615362,
0.03251243755221367,
-0.05180146172642708,
-0.08394333720207214,
0.03422875329852104,
-0.0067238532938063145,
0.024886546656489372,
-0.0009593315189704299,
0.044000037014484406,
-0.0002629933587741107,
0.03290250897407532,
-0.029976975172758102,
-0.044156067073345184,
-0.0299964789301157,
-0.0027670678682625294,
-0.02315072901546955,
0.006967647932469845,
0.01939629390835762,
-0.007933073677122593,
0.04107450321316719,
-0.04107450321316719,
-0.032453928142786026,
-0.020517747849225998,
-0.0017053427873179317,
-0.06046104431152344,
0.031186196953058243,
-0.014500899240374565,
-0.06518090516328812,
0.006216760724782944,
0.008791230618953705,
-0.01086348481476307,
-0.02157093957066536,
-0.008323145098984241,
0.05328373238444328,
0.04836883395910263,
0.0013628114247694612,
-0.014032813720405102,
0.04115251824259758,
0.02800711616873741,
0.00153712450992316,
0.014393629506230354,
-0.008664458058774471,
0.030172010883688927,
-0.00576817849650979,
0.005480501335114241,
0.05535111203789711,
-0.06217735633254051,
0.06014898791909218,
0.004385863896459341,
-0.058510687202215195,
-0.03742733597755432,
0.045521315187215805,
0.015739375725388527,
0.06771636754274368,
0.010297881439328194,
0.01829434186220169,
-0.00002363664134463761,
-0.030874140560626984,
0.0562092661857605,
0.013730508275330067,
-0.02810463309288025,
0.03356563299894333,
0.007806301116943359,
-0.03467733412981033,
0.02742200903594494,
0.02285817638039589,
-0.012014194391667843,
0.022819168865680695,
-0.014588665217161179,
0.03354612737894058,
0.009434848092496395,
-0.006943268235772848,
-0.007464988622814417,
0.0425177663564682,
-0.012462776154279709,
0.0819929763674736,
-0.020927323028445244,
0.006187505088746548,
-0.0015078692231327295,
0.09658164530992508,
-0.052737634629011154,
0.006211884785443544,
-0.04918798431754112,
-0.07161708176136017,
-0.10539725422859192,
0.027851087972521782,
-0.026212789118289948,
0.05039720609784126,
-0.003347299061715603,
-0.03309754654765129,
0.042244717478752136,
0.040138330310583115,
0.018616151064634323
] |
709,834
|
pytorch_msssim.ssim
|
__init__
|
class for ms-ssim
Args:
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
channel (int, optional): input channels (default: 3)
weights (list, optional): weights for different levels
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
|
def __init__(
self,
data_range: float = 255,
size_average: bool = True,
win_size: int = 11,
win_sigma: float = 1.5,
channel: int = 3,
spatial_dims: int = 2,
weights: Optional[List[float]] = None,
K: Union[Tuple[float, float], List[float]] = (0.01, 0.03),
) -> None:
r""" class for ms-ssim
Args:
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
channel (int, optional): input channels (default: 3)
weights (list, optional): weights for different levels
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
"""
super(MS_SSIM, self).__init__()
self.win_size = win_size
self.win = _fspecial_gauss_1d(win_size, win_sigma).repeat([channel, 1] + [1] * spatial_dims)
self.size_average = size_average
self.data_range = data_range
self.weights = weights
self.K = K
|
(self, data_range: float = 255, size_average: bool = True, win_size: int = 11, win_sigma: float = 1.5, channel: int = 3, spatial_dims: int = 2, weights: Optional[List[float]] = None, K: Union[Tuple[float, float], List[float]] = (0.01, 0.03)) -> NoneType
|
[
0.030301131308078766,
-0.08522431552410126,
-0.010433879680931568,
-0.02976752631366253,
0.0011404611868783832,
-0.0021820624824613333,
-0.04874861240386963,
-0.022316114977002144,
0.018971556797623634,
0.08270874619483948,
0.0027204316575080156,
0.0486723817884922,
0.0043379212729632854,
0.004533258732408285,
-0.05069245770573616,
0.03283575549721718,
0.04082076996564865,
-0.012082337401807308,
-0.023497669026255608,
0.010672096163034439,
-0.010538695380091667,
-0.014740833081305027,
0.010376707650721073,
0.06452807039022446,
0.019286002963781357,
0.03361710533499718,
-0.0012720758095383644,
-0.03012961521744728,
-0.00588394608348608,
-0.06258422136306763,
-0.07226534187793732,
-0.0019271710189059377,
0.04489903524518013,
0.043717481195926666,
0.06643380224704742,
-0.010443408973515034,
0.011291459202766418,
-0.0016841902397572994,
-0.08568169176578522,
0.007784913294017315,
0.008089830167591572,
-0.019629035145044327,
0.03226403519511223,
0.005188353825360537,
0.05660022422671318,
0.0575149767100811,
0.043831825256347656,
0.01666562259197235,
-0.014388272538781166,
0.008971231058239937,
0.015855686739087105,
-0.0027466355822980404,
-0.040515851229429245,
-0.02044849842786789,
-0.09033167362213135,
0.07420918345451355,
0.04832934960722923,
0.031101537868380547,
0.001841413090005517,
-0.037657253444194794,
0.005283640697598457,
-0.018256908282637596,
0.036780618131160736,
-0.018828626722097397,
-0.05831538513302803,
-0.006355614401400089,
-0.053589168936014175,
0.0025870304089039564,
0.006441372446715832,
0.06216496229171753,
-0.010195663198828697,
-0.002132037188857794,
-0.006817754358053207,
0.03748573735356331,
0.04512772336602211,
0.013673623092472553,
-0.025822661817073822,
0.0258988905698061,
-0.019362231716513634,
-0.013721266761422157,
0.05942070856690407,
0.08766365051269531,
-0.040401507169008255,
-0.025536801666021347,
-0.00021052377996966243,
-0.003401730675250292,
-0.0003486892965156585,
0.020715301856398582,
0.0035708644427359104,
-0.007999308407306671,
-0.016799023374915123,
0.05217892676591873,
0.020867759361863136,
0.029576953500509262,
0.05488506704568863,
0.06113586574792862,
-0.02862408757209778,
-0.06471864134073257,
0.012501598335802555,
-0.047795746475458145,
-0.04341256245970726,
-0.002261865185573697,
0.05736251920461655,
0.024698279798030853,
-0.022792547941207886,
-0.018714282661676407,
-0.005097831599414349,
0.02660401165485382,
-0.03784782811999321,
0.008709193207323551,
0.018647583201527596,
0.05747686326503754,
-0.03851483389735222,
0.002808571793138981,
-0.057896122336387634,
-0.06898748129606247,
-0.011443917639553547,
0.05397031456232071,
0.022411402314901352,
-0.016541749238967896,
-0.06814895570278168,
0.00551232835277915,
-0.04863426834344864,
0.08613906055688858,
-0.012749344110488892,
0.016675150021910667,
0.04912975803017616,
0.0027847501914948225,
-0.016151074320077896,
-0.017799532040953636,
-0.009928860701620579,
-0.0727989450097084,
-0.005083538591861725,
0.006441372446715832,
0.012997088953852654,
-0.0628129094839096,
0.017161112278699875,
-0.011663076467812061,
0.019629035145044327,
0.0406683087348938,
0.046423617750406265,
0.03649475798010826,
-0.045851901173591614,
0.043603137135505676,
-0.0006789168692193925,
0.026051349937915802,
0.08522431552410126,
-0.004449883010238409,
0.020143581554293633,
-0.009738287888467312,
-0.06917805224657059,
0.00279666087590158,
0.02660401165485382,
0.02910052053630352,
0.005807716865092516,
-0.028605028986930847,
0.06582396477460861,
-0.07260836660861969,
0.006536658853292465,
-0.016837138682603836,
-0.057095717638731,
-0.010090848430991173,
-0.01620824635028839,
-0.025155656039714813,
-0.021458536386489868,
-0.03895315155386925,
-0.03487488627433777,
0.000445166981080547,
-0.0157032273709774,
0.01556982658803463,
0.002265438437461853,
-0.05168343707919121,
-0.050082623958587646,
0.012997088953852654,
0.014407330192625523,
0.023840701207518578,
-0.0084376260638237,
0.024869795888662338,
0.011739306151866913,
0.006960684433579445,
0.014645546674728394,
-0.0036018325481563807,
-0.022087428718805313,
0.014540730975568295,
-0.0452420674264431,
0.04707156866788864,
0.012606414034962654,
0.01767566055059433,
-0.03662816062569618,
-0.02273537591099739,
0.07112190127372742,
-0.016732322052121162,
-0.0022809223737567663,
0.028223883360624313,
0.026508724316954613,
0.005831538233906031,
-0.01902872882783413,
-0.015484068542718887,
-0.012072809040546417,
0.051530979573726654,
0.0076086330227553844,
0.009481014683842659,
-0.004111615940928459,
-0.002532240701839328,
0.014731304720044136,
-0.06814895570278168,
-0.011034185066819191,
-0.004723832011222839,
-0.0026799349579960108,
0.0529412217438221,
-0.06227930635213852,
-0.04966336116194725,
0.031196825206279755,
0.037237994372844696,
0.06628134101629257,
-0.02635626681149006,
0.037237994372844696,
0.013664094731211662,
-0.006703410763293505,
-0.019000142812728882,
0.052560076117515564,
-0.012720758095383644,
-0.0395248718559742,
0.012968502938747406,
-0.03243555128574371,
0.05930636450648308,
0.017408857122063637,
-0.07058829814195633,
-0.0011362923542037606,
0.020963046699762344,
0.000653904106002301,
-0.02841445617377758,
0.021858740597963333,
0.023592956364154816,
-0.005669551435858011,
0.00036596000427380204,
0.013473521918058395,
0.020181696861982346,
0.010329064913094044,
-0.03178760036826134,
-0.021954026073217392,
-0.014702718704938889,
-0.020658129826188087,
0.037542909383773804,
-0.02887183241546154,
-0.03546566143631935,
0.006679588928818703,
0.046537961810827255,
-0.0015138654271140695,
0.04204043745994568,
0.01987677998840809,
-0.032911982387304306,
-0.059725623577833176,
0.04966336116194725,
-0.017809061333537102,
0.021077390760183334,
-0.030091499909758568,
0.004588048439472914,
0.03241649270057678,
-0.050883032381534576,
-0.03817180171608925,
-0.02738536149263382,
0.027347246184945107,
0.0801931843161583,
0.011034185066819191,
0.007318009156733751,
-0.012854158878326416,
0.05458015203475952,
-0.004054443910717964,
0.02875748835504055,
0.060754720121622086,
0.0801931843161583,
0.006131690926849842,
-0.01306378934532404,
0.008775893598794937,
0.02124890685081482,
-0.0020915402565151453,
-0.07485713064670563,
0.018028220161795616,
0.01754225790500641,
0.06498544663190842,
0.02523188479244709,
-0.013540222309529781,
0.01987677998840809,
0.08217514306306839,
0.01563652604818344,
-0.006846340373158455,
-0.048253122717142105,
0.02637532353401184,
-0.026737412437796593,
-0.040858883410692215,
0.04920598864555359,
0.03430316597223282,
-0.04242158308625221,
0.03872446343302727,
-0.00018506438937038183,
-0.037809714674949646,
-0.0011976331006735563,
0.037333279848098755,
-0.01023377850651741,
0.06681494414806366,
-0.013797496445477009,
0.013797496445477009,
0.0276140496134758,
-0.005407513119280338,
-0.007661040872335434,
-0.024355249479413033,
0.005083538591861725,
-0.012978031300008297,
-0.0016806169878691435,
-0.019953008741140366,
0.06147889792919159,
0.0017175405519083142,
-0.010414822958409786,
0.002438145224004984,
-0.013502107933163643,
0.07512393593788147,
-0.0012685025576502085,
0.0016794259427115321,
0.08331858366727829,
0.0007640792173333466,
-0.051416635513305664,
0.025384344160556793,
-0.050616227090358734,
-0.000761697068810463,
-0.06643380224704742,
-0.04002036154270172,
-0.010148020461201668,
-0.01682760939002037,
0.02648966759443283,
-0.044822804629802704,
-0.00505971722304821,
0.04104945808649063,
0.009076045826077461,
-0.035522833466529846,
-0.039029382169246674,
0.008137473836541176,
0.02830011211335659,
-0.007318009156733751,
-0.06952108442783356,
0.012920859269797802,
-0.0021939733996987343,
-0.01113900076597929,
0.026908928528428078,
0.004368889611214399,
-0.05004451051354408,
0.00958106480538845,
-0.10283327102661133,
-0.03613267093896866,
-0.039944130927324295,
0.013711738400161266,
0.01188223622739315,
0.020543785765767097,
0.06639568507671356,
0.07032149285078049,
0.04714779555797577,
-0.01216809544712305,
-0.05236950144171715,
0.0513785220682621,
-0.08057432621717453,
0.05804857984185219,
0.0702071487903595,
-0.013502107933163643,
-0.02567020244896412,
0.014788476750254631,
-0.006893983576446772,
-0.04002036154270172,
0.0016532221343368292,
0.04531829431653023,
0.023021236062049866,
0.007565754000097513,
-0.05740063264966011,
-0.08026941120624542,
-0.002345240907743573,
0.006584302522242069,
0.0029252979438751936,
-0.08415710180997849,
-0.016151074320077896,
-0.04169740527868271,
-0.0276140496134758,
-0.0007194136269390583,
0.06464241445064545,
0.005493271164596081,
0.01863805390894413,
0.044022396206855774,
0.0011315280571579933,
-0.01204422302544117,
0.027785565704107285,
0.0440986268222332,
-0.01604625955224037,
-0.008690135553479195,
0.03883880749344826,
0.0659383088350296,
-0.0025274765212088823,
-0.013483050279319286,
-0.009595357812941074,
0.03012961521744728,
0.05957316607236862,
-0.01353069394826889,
0.0036494757514446974,
-0.031006252393126488,
-0.05397031456232071,
-0.021915912628173828,
0.0268326997756958,
0.009547715075314045,
-0.06994034349918365,
-0.02795708179473877,
-0.05423711985349655,
0.0009254708420485258,
0.011443917639553547,
0.03235932067036629,
-0.05999242886900902,
-0.04874861240386963,
0.004652366973459721,
-0.00004429337059264071,
-0.0033779090736061335,
-0.04158306121826172,
0.014569316990673542,
-0.023440496996045113,
-0.009590594097971916,
-0.00242385221645236,
-0.02410750277340412,
0.054961297661066055,
0.0341125950217247,
-0.0012160949409008026,
-0.01353069394826889,
-0.039372414350509644,
-0.037885941565036774,
-0.012349139899015427,
-0.048024434596300125,
-0.07763949781656265,
0.06643380224704742,
-0.017618488520383835,
0.009137982502579689,
-0.007927843369543552,
-0.03058699145913124,
-0.059725623577833176,
-0.009976504370570183,
0.011710720136761665,
-0.03186383098363876,
0.022678205743432045,
-0.021572880446910858,
0.013044731691479683,
-0.029710354283452034,
-0.017361214384436607,
-0.03468431159853935,
-0.03878163546323776,
0.05644776672124863,
-0.000542537949513644,
-0.011796478182077408,
-0.007184607908129692,
0.0048643797636032104,
-0.019000142812728882,
-0.01443591620773077,
0.03668533265590668,
-0.025632089003920555,
-0.034131649881601334,
-0.0033826734870672226,
0.019057314842939377,
-0.032111573964357376,
-0.014531202614307404,
-0.009852631948888302,
-0.0468047671020031,
-0.014636018313467503,
0.015827100723981857,
0.011548733338713646,
0.06963542848825455,
-0.02023886889219284,
0.034836772829294205,
-0.04977770522236824,
0.009137982502579689,
0.01641787774860859,
0.04455600306391716,
-0.03508451581001282,
0.02136325091123581,
-0.031101537868380547,
-0.03548472002148628,
0.05713383108377457,
-0.02660401165485382,
-0.013359177857637405,
0.04897730052471161,
-0.01251112762838602,
0.013854668475687504,
0.07889728248119354,
-0.06731043756008148,
-0.022411402314901352,
0.04741460084915161,
-0.05820104107260704,
0.02648966759443283,
-0.016513163223862648,
0.009957446716725826,
-0.0041735521517694,
0.007365652360022068,
0.029939042404294014,
0.004931080155074596,
0.005069245584309101,
0.02044849842786789,
0.002010546624660492,
0.01164401974529028,
-0.025994177907705307,
-0.037466682493686676,
-0.0005014456110075116,
-0.03533226251602173,
-0.04112568497657776,
0.0479482039809227,
0.06048791855573654,
-0.030034327879548073,
0.008513855747878551,
-0.008332811295986176,
-0.054046545177698135,
-0.010176606476306915,
-0.035522833466529846,
-0.04150683060288429,
-0.030891908332705498,
0.04230723902583122,
-0.04112568497657776,
-0.06529036164283752,
0.026623068377375603,
-0.06216496229171753,
-0.004973959177732468,
-0.0002913684875238687,
0.006069754716008902,
-0.03533226251602173,
0.02953883819282055,
-0.008237523958086967,
-0.011386745609343052,
0.016970539465546608,
-0.014283457770943642,
0.037218935787677765,
0.05282687768340111,
0.001700865337625146,
-0.007661040872335434,
-0.016475047916173935,
0.07378992438316345,
0.024698279798030853,
0.03559906408190727,
-0.000293899531243369,
-0.0017675659619271755,
-0.011586847715079784,
-0.017828118056058884,
-0.06037357449531555,
0.005293169058859348,
0.020848702639341354,
0.011348631232976913,
0.04002036154270172,
0.05286499112844467,
-0.03070133365690708,
0.0022404256742447615,
-0.053017448633909225,
-0.04467034712433815,
0.010090848430991173,
0.0017187315970659256,
-0.03190194442868233,
-0.008285167627036572,
0.0702071487903595,
0.0440986268222332,
-0.017618488520383835,
-0.07390426844358444,
-0.037657253444194794,
-0.021801568567752838,
-0.047681402415037155,
0.0013089993735775352,
0.004642838146537542,
0.006436608266085386,
-0.12631188333034515,
-0.038591064512729645,
-0.01774236001074314,
-0.007756327278912067,
-0.05682891234755516,
0.020143581554293633,
-0.016856195405125618,
0.043145760893821716,
0.04444165900349617,
0.06399446725845337,
-0.03329312801361084,
0.050883032381534576,
0.06898748129606247,
-0.019085900858044624,
-0.012072809040546417,
-0.04478469118475914,
0.02896711975336075,
-0.021096447482705116,
0.008008836768567562,
-0.013883253559470177,
-0.016112959012389183,
-0.001523394137620926,
-0.12166190147399902,
-0.01579851470887661,
-0.09909804165363312,
0.03093002177774906,
0.0839284136891365,
0.012768400833010674,
-0.010024148039519787,
-0.006641474086791277,
-0.049853935837745667,
-0.0425359271466732,
0.05454203486442566,
-0.03462713956832886,
0.07927843183279037,
0.0008212511893361807,
-0.07378992438316345,
0.029615066945552826,
-0.033578988164663315,
0.04059208184480667,
0.07112190127372742,
-0.02534622885286808,
0.01459790300577879,
-0.0005318181938491762,
0.029862811788916588,
0.01744697242975235,
0.0063889650627970695,
0.03580869361758232,
-0.008852123282849789,
0.0321878045797348,
0.017408857122063637,
0.047452714294195175,
-0.009862160310149193,
0.019314588978886604,
0.0847669392824173,
0.01079596858471632,
0.03035830333828926,
-0.023612013086676598,
-0.0293292086571455,
-0.02612757869064808,
-0.009209447540342808,
-0.03497017174959183,
0.002760928589850664,
-0.01806633546948433,
-0.010881726630032063,
-0.03636135533452034,
0.0004484424425754696,
-0.013044731691479683,
0.06853010505437851,
-0.040858883410692215,
0.018771454691886902,
0.043145760893821716,
-0.015379252843558788,
0.05839161202311516,
0.0028276292141526937,
0.042917072772979736,
0.07013092190027237,
0.00914751086384058,
0.05191212520003319,
0.014064298942685127,
-0.014140527695417404,
-0.021401364356279373,
0.029481666162610054,
0.013683152385056019,
0.019857721403241158,
0.03275952488183975,
-0.034722428768873215,
0.01557935494929552,
-0.0418117493391037,
-0.006560480687767267,
-0.013454464264214039,
0.016617977991700172,
-0.037104591727256775,
-0.05682891234755516,
0.026070406660437584,
-0.030053386464715004,
-0.05499941110610962,
0.034703370183706284,
0.019314588978886604,
0.03171137347817421,
0.014626489020884037,
-0.03125399723649025,
0.015989087522029877,
-0.02307840809226036,
-0.006874926388263702,
0.0395248718559742,
-0.01534113846719265,
0.0007450219127349555,
-0.058582186698913574,
-0.0030062913428992033,
-0.032911982387304306,
0.008575791493058205,
0.014502616599202156,
-0.04615681618452072,
-0.06769157946109772,
0.018323607742786407,
-0.006012582685798407,
0.02113456279039383,
-0.010081320069730282,
-0.011863178573548794,
-0.005845831241458654,
0.004926315974444151,
-0.03613267093896866,
-0.07211288064718246,
-0.009785931557416916,
0.04112568497657776,
-0.00097370968433097,
0.003032495267689228,
0.0032730938401073217,
-0.019953008741140366,
-0.002453629393130541,
0.0018295022891834378,
-0.029862811788916588,
-0.018742868676781654,
0.029519781470298767,
-0.04741460084915161,
0.04322199150919914,
0.01113900076597929,
-0.07378992438316345,
0.047452714294195175,
-0.016637036576867104,
-0.012768400833010674,
-0.0306822769343853,
0.007360887713730335,
0.08652020990848541,
0.044365428388118744,
0.011624962091445923,
-0.003632800653576851,
0.03148268535733223,
0.011577318422496319,
-0.012625470757484436,
0.015026693232357502,
0.0009689453872852027,
0.04851992428302765,
0.000247745105298236,
-0.01653221994638443,
0.040858883410692215,
-0.0314636267721653,
0.037104591727256775,
-0.02786179445683956,
-0.04627116024494171,
-0.016541749238967896,
0.029157692566514015,
0.008189881220459938,
0.10916030406951904,
-0.010538695380091667,
-0.015322081744670868,
-0.024812623858451843,
-0.04287895932793617,
0.06799650192260742,
0.010500581003725529,
-0.024736395105719566,
-0.0008575791725888848,
0.00006878499698359519,
-0.015836628153920174,
0.04863426834344864,
0.006484251469373703,
0.0018819099059328437,
-0.010586338117718697,
-0.011119943112134933,
-0.030834736302495003,
-0.007641983218491077,
0.010500581003725529,
-0.007208429276943207,
0.039829786866903305,
0.024812623858451843,
0.058124810457229614,
-0.0337505042552948,
0.04299330338835716,
0.013054260984063148,
0.052560076117515564,
-0.05644776672124863,
-0.0011851268354803324,
-0.03798122704029083,
-0.006441372446715832,
-0.04455600306391716,
0.039258070290088654,
-0.02805236726999283,
0.04714779555797577,
0.005440863315016031,
-0.03990601748228073,
0.06163135543465614,
0.03702836483716965,
-0.006941626779735088
] |
709,864
|
pytorch_msssim.ssim
|
forward
| null |
def forward(self, X: Tensor, Y: Tensor) -> Tensor:
return ms_ssim(
X,
Y,
data_range=self.data_range,
size_average=self.size_average,
win=self.win,
weights=self.weights,
K=self.K,
)
|
(self, X: torch.Tensor, Y: torch.Tensor) -> torch.Tensor
|
[
-0.0018847854807972908,
-0.04418503865599632,
-0.0254184752702713,
-0.04871874302625656,
-0.015078283846378326,
0.037960484623909,
-0.06235701963305473,
0.006628685165196657,
0.04132360219955444,
0.046749185770750046,
0.019658440724015236,
-0.04500259459018707,
0.062096890062093735,
-0.004784544929862022,
-0.002295884769409895,
0.06358335167169571,
0.012068201787769794,
-0.04608027637004852,
-0.04039456695318222,
0.015301253646612167,
0.009504057466983795,
-0.054627425968647,
0.021367870271205902,
0.020624639466404915,
-0.02614312432706356,
0.0037045383360236883,
-0.020030055195093155,
-0.03991146385669708,
-0.03233051672577858,
-0.03645544499158859,
-0.013387435115873814,
0.022408392280340195,
0.0028405331540852785,
0.014836734160780907,
0.057600345462560654,
-0.0004497123882174492,
-0.018199851736426353,
-0.011334261856973171,
-0.011919555254280567,
-0.08658632636070251,
-0.047826867550611496,
-0.04191818833351135,
0.06897176802158356,
0.06603600829839706,
-0.002147238701581955,
0.016397517174482346,
-0.032516323029994965,
0.012514139525592327,
0.07343114912509918,
-0.013498920015990734,
0.010256578214466572,
-0.04139792546629906,
-0.0335196852684021,
0.021423611789941788,
0.04132360219955444,
0.015821514651179314,
0.03835068270564079,
0.006902751047164202,
0.008872311562299728,
-0.0554078184068203,
0.05681995302438736,
-0.054144326597452164,
0.007121074944734573,
0.01986282877624035,
-0.011241357773542404,
-0.0273137129843235,
-0.012254009023308754,
0.03755170851945877,
0.043070193380117416,
0.022259745746850967,
-0.024266468361020088,
-0.016258161514997482,
0.018682951107621193,
0.04150941222906113,
0.032256193459033966,
-0.01706642471253872,
-0.011612973175942898,
0.004436155781149864,
-0.001867366023361683,
-0.057228729128837585,
-0.01069322507828474,
0.04905319958925247,
-0.07655271887779236,
0.020606059581041336,
-0.04968494549393654,
-0.02270568534731865,
0.0035605374723672867,
0.006526490673422813,
-0.04262425750494003,
-0.024415114894509315,
-0.0004709060594905168,
0.07848511636257172,
-0.0378304198384285,
0.018682951107621193,
0.06116785109043121,
0.03957701101899147,
-0.03883378207683563,
-0.03283219784498215,
-0.017698170617222786,
0.01623029075562954,
-0.03186599910259247,
0.09119435399770737,
-0.005462742410600185,
0.07662703841924667,
0.007167526986449957,
0.0025827251374721527,
0.007757465820759535,
-0.024433694779872894,
-0.06871163845062256,
-0.017586685717105865,
0.026458997279405594,
0.006925977300852537,
-0.042252641171216965,
-0.019082436338067055,
-0.039985787123441696,
-0.04262425750494003,
-0.024879632517695427,
0.0031889223027974367,
0.0022947234101593494,
0.02281717024743557,
-0.027406616136431694,
0.0046591246500611305,
-0.018552886322140694,
-0.02008579857647419,
-0.05838073790073395,
0.03283219784498215,
0.07391425222158432,
-0.029766371473670006,
0.02008579857647419,
-0.07930266857147217,
-0.0697150006890297,
-0.02473098784685135,
0.0083474051207304,
0.06447522342205048,
-0.017865397036075592,
-0.021720904856920242,
-0.0008018757798708975,
-0.017215071246027946,
0.030491022393107414,
-0.006363909225910902,
0.032757874578237534,
0.06495832651853561,
-0.005546356085687876,
0.06532993912696838,
0.007135010790079832,
0.02911604568362236,
0.021349290385842323,
0.05124572664499283,
0.057600345462560654,
0.0015387189341709018,
-0.03708719089627266,
0.014270021580159664,
0.061390820890665054,
-0.012086782604455948,
-0.021683743223547935,
0.033835556358098984,
-0.007557722739875317,
-0.004303767811506987,
0.046414729207754135,
0.0263660941272974,
-0.08101209998130798,
-0.045560017228126526,
-0.03721725568175316,
-0.02840997651219368,
0.016852745786309242,
-0.014808863401412964,
0.004317703191190958,
0.05384703353047371,
-0.021609419956803322,
0.03801622986793518,
0.07090416550636292,
-0.07789053022861481,
0.04006011039018631,
0.01104625966399908,
0.02900456078350544,
-0.018710821866989136,
0.035953763872385025,
-0.004974997602403164,
-0.0018139464082196355,
0.03901958838105202,
0.03838784247636795,
-0.009689864702522755,
-0.013173756189644337,
-0.08777549862861633,
-0.03177309408783913,
0.027741068974137306,
0.011074131354689598,
0.003061179770156741,
-0.00727901142090559,
-0.0010637483792379498,
0.03545208275318146,
-0.02010437846183777,
0.03613957017660141,
-0.002352788345888257,
0.007701723836362362,
-0.0185250137001276,
-0.004392026457935572,
-0.01015438325703144,
0.03485750034451485,
-0.013350273482501507,
0.0038113777991384268,
-0.0024782083928585052,
0.017317265272140503,
-0.006679782178252935,
-0.027741068974137306,
-0.028335653245449066,
-0.038462165743112564,
0.044259361922740936,
-0.08026886731386185,
0.005546356085687876,
-0.0489417128264904,
-0.02506544068455696,
0.008909473195672035,
-0.0008808440179564059,
0.056634146720170975,
-0.020829027518630028,
0.033203814178705215,
-0.007562368176877499,
0.020271604880690575,
-0.07833646982908249,
0.07153591513633728,
-0.020754706114530563,
-0.1276126354932785,
-0.039762821048498154,
0.011027678847312927,
-0.013703308068215847,
0.0028893076814711094,
-0.07279940694570541,
-0.041881024837493896,
-0.04411071538925171,
0.0470464751124382,
-0.030472440645098686,
-0.033333878964185715,
0.020383089780807495,
0.03504330664873123,
-0.013851954601705074,
-0.01057245023548603,
0.012337622232735157,
0.009541218169033527,
-0.013759050518274307,
-0.03517337143421173,
-0.054255809634923935,
-0.005527775269001722,
0.02863294631242752,
-0.002333046169951558,
0.022259745746850967,
0.004603382665663958,
0.015932999551296234,
0.009727026335895061,
0.06908325105905533,
0.016787713393568993,
0.004069185815751553,
-0.05061398074030876,
-0.002415498485788703,
-0.020773285999894142,
-0.014121375046670437,
-0.01336885429918766,
-0.024452276527881622,
0.02889307774603367,
-0.02958056516945362,
-0.041063472628593445,
-0.011984588578343391,
0.013471048325300217,
0.018209140747785568,
-0.0031889223027974367,
0.02365330420434475,
-0.062319859862327576,
0.026942096650600433,
-0.010600321926176548,
0.04329316318035126,
0.13720031082630157,
0.02484247274696827,
-0.00695384806022048,
-0.0011334262089803815,
0.027127904817461967,
0.008370631374418736,
0.03353826701641083,
-0.011027678847312927,
0.05700576305389404,
0.013554662466049194,
0.01687132753431797,
-0.0613536573946476,
-0.04444517195224762,
-0.031067024916410446,
0.00736262509599328,
0.045708660036325455,
0.05321528762578964,
-0.05042817443609238,
0.08123506605625153,
-0.06023881211876869,
0.018246302381157875,
0.05856654420495033,
0.06023881211876869,
-0.03561931103467941,
-0.010414513759315014,
-0.01658332534134388,
-0.0591982901096344,
0.01270923763513565,
0.04786403104662895,
0.042958710342645645,
0.026403255760669708,
0.016351066529750824,
-0.0475667379796505,
0.01611880585551262,
0.028001200407743454,
-0.016899198293685913,
0.03838784247636795,
-0.0021460773423314095,
-0.037700355052948,
-0.05834357813000679,
-0.026886355131864548,
0.05102275684475899,
-0.07737027108669281,
-0.011334261856973171,
-0.002441046992316842,
0.01610022597014904,
0.0153384143486619,
0.07421154528856277,
0.026997840031981468,
0.08502554148435593,
0.044259361922740936,
-0.02473098784685135,
0.0029915019404143095,
-0.016676228493452072,
-0.03493182361125946,
-0.01568215899169445,
-0.022073939442634583,
-0.03076973371207714,
0.0030913734808564186,
0.006930622272193432,
0.014892476610839367,
-0.03649260476231575,
0.006689072586596012,
0.02592015638947487,
-0.021906713023781776,
-0.021349290385842323,
0.003946088254451752,
0.06629613786935806,
0.020160121843218803,
-0.016676228493452072,
-0.04507691413164139,
-0.00599693926051259,
-0.015422028489410877,
0.012123944237828255,
0.03186599910259247,
-0.03019372932612896,
-0.016722681000828743,
-0.048421453684568405,
0.01971418224275112,
-0.02651474066078663,
-0.019342567771673203,
0.06633330136537552,
0.03799764811992645,
0.04883022978901863,
0.03521053493022919,
0.050093721598386765,
-0.041063472628593445,
0.0024921440053731203,
-0.003358471905812621,
-0.08264720439910889,
-0.03924255818128586,
0.04373910278081894,
-0.04292154684662819,
0.004603382665663958,
-0.027611004188656807,
0.012523430399596691,
-0.029376177117228508,
-0.024638082832098007,
-0.022315489128232002,
0.0767756849527359,
-0.019416891038417816,
-0.014595184475183487,
-0.08405934274196625,
0.04909035935997963,
-0.04845861345529556,
0.06176243722438812,
-0.037737518548965454,
-0.004440800752490759,
0.042364124208688736,
0.0016385904746130109,
0.04983358830213547,
0.04455665498971939,
0.009531928226351738,
0.005583517253398895,
0.09446457028388977,
0.03195890039205551,
0.005504549015313387,
-0.04942481219768524,
0.04169521853327751,
-0.04827280715107918,
0.0006131649715825915,
-0.022538457065820694,
0.003593053901568055,
-0.026700546965003014,
-0.020011475309729576,
-0.044036392122507095,
-0.005221192725002766,
0.09059976786375046,
-0.02330026961863041,
0.035489246249198914,
-0.04990791156888008,
-0.02660764381289482,
-0.027183646336197853,
0.04228980094194412,
-0.06313741207122803,
-0.043553292751312256,
-0.01152006909251213,
0.004909965209662914,
-0.01603519357740879,
0.06666775792837143,
-0.0025455637369304895,
-0.02521408721804619,
-0.005188676528632641,
0.040840502828359604,
0.019937152042984962,
0.006057326681911945,
0.0033282779622823,
0.024508018046617508,
0.005690356716513634,
0.017763203009963036,
0.0013331692898645997,
0.014780991710722446,
0.03389130160212517,
0.00650790985673666,
-0.006349973846226931,
-0.028781592845916748,
-0.038090553134679794,
-0.01836707815527916,
0.004396671429276466,
0.003920539747923613,
-0.04923900589346886,
-0.009912833571434021,
0.00141794397495687,
0.002831242745742202,
-0.017085006460547447,
-0.021553678438067436,
-0.008338114246726036,
-0.023578980937600136,
0.010879033245146275,
-0.004392026457935572,
-0.0027174355927854776,
-0.016992101445794106,
0.059235453605651855,
-0.004666092339903116,
-0.060907721519470215,
-0.033203814178705215,
-0.08881601691246033,
0.020587477833032608,
-0.06458671391010284,
0.01781894639134407,
0.0014655571430921555,
0.011835942044854164,
0.008496050722897053,
0.02021586336195469,
0.0009505218476988375,
-0.019323987886309624,
-0.028781592845916748,
-0.07855944335460663,
0.004770609084516764,
-0.017605267465114594,
0.03539634123444557,
0.01722436212003231,
-0.07484328746795654,
-0.01799546368420124,
-0.010581741109490395,
-0.022742846980690956,
0.014771701768040657,
0.009076699614524841,
0.031159929931163788,
-0.03234909847378731,
0.024916794151067734,
-0.00775282084941864,
0.01973276399075985,
-0.04150941222906113,
0.04552285373210907,
0.02079186774790287,
-0.01783752627670765,
0.037607450038194656,
0.0016339452704414725,
-0.013210917823016644,
-0.02580867148935795,
-0.041546571999788284,
-0.0026036284398287535,
0.03853648900985718,
-0.01581222377717495,
0.02292865328490734,
0.03485750034451485,
-0.024099241942167282,
0.056857116520404816,
0.032980844378471375,
0.006749460007995367,
0.02281717024743557,
0.03953985124826431,
-0.004252670798450708,
-0.05942125990986824,
-0.005588162690401077,
-0.0432560034096241,
-0.0010544579708948731,
-0.00896521471440792,
0.02387627214193344,
-0.016834165900945663,
-0.0029380822088569403,
-0.05774899199604988,
-0.004601059947162867,
0.005885454826056957,
0.08301882445812225,
-0.04121211916208267,
-0.004243380390107632,
-0.04804983735084534,
-0.004677705466747284,
0.033835556358098984,
-0.02566002495586872,
-0.056857116520404816,
0.01259775273501873,
0.04258709400892258,
-0.004900674801319838,
-0.03552640601992607,
0.07008661329746246,
-0.030509602278470993,
-0.05195179581642151,
-0.0413607656955719,
0.00870972964912653,
-0.01623029075562954,
0.015914417803287506,
0.01508757472038269,
0.04150941222906113,
-0.018227722495794296,
-0.014539442025125027,
0.03710577264428139,
0.008166242390871048,
0.01997431367635727,
-0.0008419405203312635,
0.009708445519208908,
0.04693499207496643,
0.014836734160780907,
-0.02805694192647934,
0.03270213305950165,
-0.045560017228126526,
0.0020659479778259993,
-0.02887449599802494,
-0.05169166624546051,
-0.044742461293935776,
-0.03539634123444557,
0.03504330664873123,
-0.027611004188656807,
0.023207364603877068,
-0.06570155918598175,
0.012393364682793617,
-0.09595102816820145,
-0.010340191423892975,
-0.11066699028015137,
-0.004947126377373934,
-0.00003159091647830792,
-0.0016687841853126884,
0.06659343093633652,
0.0724649503827095,
-0.02675629034638405,
0.0264961589127779,
-0.03444872424006462,
0.030509602278470993,
-0.036678414791822433,
-0.06202256679534912,
0.03680847957730293,
0.02292865328490734,
-0.052583541721105576,
-0.019398309290409088,
-0.013294531032443047,
-0.015626415610313416,
-0.010442385450005531,
0.02530699037015438,
0.018199851736426353,
0.0336497500538826,
0.04886738955974579,
0.01116703450679779,
0.01973276399075985,
0.02471240609884262,
0.07517774403095245,
-0.045114077627658844,
-0.022538457065820694,
-0.021460773423314095,
0.02794545888900757,
-0.022854330018162727,
-0.0009185861563310027,
-0.009541218169033527,
0.0024178209714591503,
-0.012904335744678974,
-0.09372133761644363,
0.009058118797838688,
-0.04745525121688843,
0.00727901142090559,
0.020122960209846497,
-0.0008680697064846754,
-0.00596906803548336,
-0.011120582930743694,
-0.023839110508561134,
-0.03768177330493927,
-0.012049620971083641,
-0.025827251374721527,
0.0772959515452385,
0.026347512379288673,
-0.017605267465114594,
0.04314451664686203,
0.008129080757498741,
-0.011575811542570591,
0.02889307774603367,
-0.03233051672577858,
-0.02948766015470028,
-0.011715167202055454,
0.0038462167140096426,
-0.03530343621969223,
0.01962127909064293,
0.020717544481158257,
0.003604666795581579,
0.006103778723627329,
0.013378145173192024,
0.0335196852684021,
0.025232667103409767,
-0.002958985511213541,
0.010433094576001167,
0.009949995204806328,
0.0989239513874054,
-0.04191818833351135,
-0.03853648900985718,
0.009727026335895061,
0.04028308019042015,
0.04032024368643761,
0.0332595556974411,
-0.04686066880822182,
-0.006480039097368717,
-0.018088366836309433,
-0.03301800414919853,
-0.01680629514157772,
0.04232696443796158,
0.010953356511890888,
0.017019974067807198,
-0.022649941965937614,
-0.018952371552586555,
0.05882667750120163,
-0.030007923021912575,
-0.05886383727192879,
-0.006721588782966137,
0.040951989591121674,
0.035024724900722504,
0.036306798458099365,
-0.05503620207309723,
-0.05027952790260315,
-0.006874879822134972,
0.006224553566426039,
0.00816159788519144,
0.04013443365693092,
-0.00018682370136957616,
-0.0254184752702713,
-0.03849932923913002,
0.04860725998878479,
0.055444978177547455,
0.007204688619822264,
-0.0467863455414772,
-0.02365330420434475,
0.03909391164779663,
-0.043181680142879486,
-0.01271852757781744,
0.03853648900985718,
0.0224455539137125,
0.05897532030940056,
0.007423012517392635,
-0.0012971691321581602,
-0.025994479656219482,
-0.020234443247318268,
-0.03521053493022919,
-0.013684727251529694,
-0.017085006460547447,
-0.020643221214413643,
-0.04968494549393654,
-0.013155175372958183,
0.01437221560627222,
-0.027722489088773727,
0.0378304198384285,
-0.03786758333444595,
-0.024192145094275475,
0.029190368950366974,
-0.04466813802719116,
0.01503183227032423,
0.03229335695505142,
0.037960484623909,
-0.03517337143421173,
0.01450228039175272,
-0.04262425750494003,
-0.0057042925618588924,
0.01116703450679779,
0.0177724938839674,
0.028242750093340874,
-0.0068562994711101055,
0.01563570648431778,
-0.03680847957730293,
-0.01621171087026596,
-0.028019782155752182,
0.0017872365424409509,
-0.00727901142090559,
0.06596168875694275,
-0.019472632557153702,
-0.012616333551704884,
0.025046860799193382,
-0.04150941222906113,
-0.03134573623538017,
0.03626963868737221,
-0.012254009023308754,
-0.03508047014474869,
0.009285733103752136,
0.04477962478995323,
0.02616170607507229,
0.03645544499158859,
-0.07153591513633728,
-0.000016793446775409393,
0.07510341703891754,
0.04020875692367554,
0.014585894532501698,
-0.04336748644709587,
0.02270568534731865,
0.02601305954158306,
0.027499519288539886,
0.011278519406914711,
-0.03164302930235863,
0.016174549236893654,
-0.01713145710527897,
-0.041286442428827286,
0.01627674326300621,
0.07584664970636368,
0.0022517554461956024,
0.02710932493209839,
-0.005629969295114279,
0.03461594879627228,
0.0305467639118433,
0.01717790961265564,
0.09342404454946518,
0.011789490468800068,
-0.01474383007735014,
-0.047232285141944885,
0.01378692127764225,
0.028094103559851646,
0.010962646454572678,
0.018199851736426353,
0.00007983919203979895,
0.038425005972385406,
-0.02577150985598564,
-0.010368062183260918,
-0.005629969295114279,
0.0051979669369757175,
-0.04886738955974579,
0.012244719080626965,
0.003813700284808874,
0.031067024916410446,
0.014539442025125027,
0.021070579066872597,
0.02660764381289482,
0.06889744848012924,
0.008184823207557201,
0.003288793843239546,
-0.05856654420495033,
-0.048904553055763245,
-0.07309670001268387,
0.017150038853287697,
-0.03264639154076576,
0.019825667142868042,
0.01627674326300621,
-0.058752354234457016,
0.05254638195037842,
0.0656643956899643,
0.07737027108669281
] |
709,898
|
pytorch_msssim.ssim
|
SSIM
| null |
class SSIM(torch.nn.Module):
def __init__(
self,
data_range: float = 255,
size_average: bool = True,
win_size: int = 11,
win_sigma: float = 1.5,
channel: int = 3,
spatial_dims: int = 2,
K: Union[Tuple[float, float], List[float]] = (0.01, 0.03),
nonnegative_ssim: bool = False,
) -> None:
r""" class for ssim
Args:
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
channel (int, optional): input channels (default: 3)
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
nonnegative_ssim (bool, optional): force the ssim response to be nonnegative with relu.
"""
super(SSIM, self).__init__()
self.win_size = win_size
self.win = _fspecial_gauss_1d(win_size, win_sigma).repeat([channel, 1] + [1] * spatial_dims)
self.size_average = size_average
self.data_range = data_range
self.K = K
self.nonnegative_ssim = nonnegative_ssim
def forward(self, X: Tensor, Y: Tensor) -> Tensor:
return ssim(
X,
Y,
data_range=self.data_range,
size_average=self.size_average,
win=self.win,
K=self.K,
nonnegative_ssim=self.nonnegative_ssim,
)
|
(data_range: float = 255, size_average: bool = True, win_size: int = 11, win_sigma: float = 1.5, channel: int = 3, spatial_dims: int = 2, K: Union[Tuple[float, float], List[float]] = (0.01, 0.03), nonnegative_ssim: bool = False) -> None
|
[
-0.023911453783512115,
-0.09324265271425247,
0.00759499054402113,
-0.003422001376748085,
-0.007885372266173363,
0.03418496623635292,
-0.05571328476071358,
-0.005712514277547598,
0.018504340201616287,
0.023390768095850945,
0.015590507537126541,
0.006698811426758766,
0.016681943088769913,
0.025653744116425514,
-0.03668826073408127,
0.014378913678228855,
0.05955834314227104,
0.0033018433023244143,
-0.004533463157713413,
-0.009562578983604908,
-0.022789977490901947,
0.0012203552760183811,
-0.0055923559702932835,
0.05999892204999924,
-0.03887113183736801,
0.00509420083835721,
0.0052519082091748714,
-0.06484529376029968,
-0.006088008172810078,
-0.028437405824661255,
-0.04670143127441406,
-0.01425875537097454,
0.04441842809319496,
0.01714254915714264,
0.037008680403232574,
-0.011254804208874702,
-0.009537545964121819,
0.044979166239500046,
-0.11407004296779633,
-0.005627402104437351,
-0.012756779789924622,
-0.0516679622232914,
0.05587349459528923,
-0.010433724150061607,
0.01792357675731182,
0.03720894455909729,
-0.011595251969993114,
0.02483266405761242,
-0.011455067433416843,
-0.0006471012020483613,
0.024412112310528755,
-0.03418496623635292,
-0.036748338490724564,
0.006273251958191395,
-0.02787666954100132,
0.060079026967287064,
0.07573962956666946,
0.03570696711540222,
0.02735598385334015,
-0.03266296535730362,
0.032863229513168335,
-0.05759575963020325,
0.02863766998052597,
0.007975490763783455,
-0.012836885638535023,
-0.02597416564822197,
-0.05887744575738907,
0.003694860264658928,
0.006503554526716471,
0.022109081968665123,
-0.022149134427309036,
-0.0156906396150589,
0.034625545144081116,
0.05158785730600357,
0.047101955860853195,
0.000015538016668870114,
0.0037274030037224293,
-0.005642422009259462,
0.007610009983181953,
-0.045860324054956436,
0.0630829781293869,
0.021968897432088852,
-0.025032928213477135,
-0.014659282751381397,
-0.08322948217391968,
-0.05399101972579956,
0.01859445869922638,
-0.013537807390093803,
0.02913832850754261,
-0.025954140350222588,
-0.055432915687561035,
0.017533062025904655,
0.029038196429610252,
0.010804211720824242,
0.028837932273745537,
0.08675411343574524,
-0.030960725620388985,
-0.08803579956293106,
-0.027095641940832138,
-0.0887567475438118,
-0.026074297726154327,
0.1033359244465828,
0.016651904210448265,
0.06288271397352219,
-0.004748746287077665,
-0.007224502973258495,
-0.02144821360707283,
0.019505657255649567,
-0.038670867681503296,
-0.009081946685910225,
-0.014469032175838947,
0.05563317984342575,
-0.06752882897853851,
-0.019275354221463203,
-0.014509085565805435,
-0.10878308862447739,
-0.034625545144081116,
0.008656386286020279,
-0.011124633252620697,
0.009592617861926556,
-0.017182601615786552,
0.025193138048052788,
-0.0542713887989521,
0.026795245707035065,
-0.01505980920046568,
0.04409800469875336,
0.07053277641534805,
-0.002991434885188937,
-0.006668772082775831,
-0.026895377784967422,
-0.027516193687915802,
-0.04654122143983841,
-0.009647690691053867,
0.06500551104545593,
0.024632401764392853,
-0.01835414208471775,
0.021227922290563583,
0.009647690691053867,
0.022369423881173134,
0.03722897171974182,
0.013077201321721077,
0.04297653213143349,
-0.0401928685605526,
0.06869035214185715,
0.04630090296268463,
0.02244953066110611,
0.041694846004247665,
0.021408159285783768,
0.054151229560375214,
-0.06067981943488121,
-0.025133060291409492,
-0.007354674395173788,
0.03388457000255585,
0.046340957283973694,
-0.017843471840023994,
0.026014218106865883,
0.03262291103601456,
-0.047742798924446106,
-0.0023606051690876484,
0.024412112310528755,
-0.06280261278152466,
-0.05142764747142792,
-0.058837395161390305,
-0.034625545144081116,
-0.04221552982926369,
-0.05999892204999924,
0.018193932250142097,
0.002161593409255147,
-0.031341224908828735,
0.06712830066680908,
-0.012566530145704746,
-0.05723528563976288,
-0.0028712768107652664,
0.04429826885461807,
-0.0008817848865874112,
0.039912499487400055,
-0.004408298525959253,
0.008280892856419086,
-0.012646635062992573,
-0.018394196406006813,
0.02447219006717205,
-0.03150143846869469,
-0.024111716076731682,
-0.05647428706288338,
-0.019125157967209816,
0.054792072623968124,
0.01811382733285427,
-0.015310138463973999,
-0.0004759385483339429,
0.004954016301780939,
0.06268244981765747,
-0.017683260142803192,
0.00746982591226697,
-0.009227137081325054,
0.027175746858119965,
0.0035571791231632233,
-0.027075614780187607,
-0.013427662663161755,
0.03288325294852257,
0.010078256949782372,
-0.0047562564723193645,
0.01600104756653309,
0.012786819599568844,
0.028918039053678513,
-0.04525953531265259,
-0.0329032801091671,
0.013567847199738026,
0.08467137813568115,
-0.012095910497009754,
0.012276147492229939,
-0.050145961344242096,
-0.008866663090884686,
0.0401928685605526,
0.050626594573259354,
0.05499233677983284,
-0.025072980672121048,
-0.017052430659532547,
0.012346239760518074,
0.029198408126831055,
-0.029939381405711174,
0.05054648965597153,
-0.03807007521390915,
-0.06800945848226547,
0.015310138463973999,
-0.009051906876266003,
0.0351862832903862,
0.013347556814551353,
-0.07317625731229782,
0.009802894666790962,
-0.01956573687493801,
0.01494966447353363,
0.010684053413569927,
0.012947030365467072,
0.007574963849037886,
0.020527001470327377,
0.02435203269124031,
0.007389720529317856,
0.017122521996498108,
0.022649792954325676,
-0.020076408982276917,
-0.07289588451385498,
-0.02773648500442505,
-0.03716889023780823,
0.015520415268838406,
0.0033118564169853926,
-0.009202104061841965,
0.009782868437469006,
0.039151500910520554,
-0.03280314803123474,
0.04465874284505844,
0.004748746287077665,
-0.031861912459135056,
-0.03704873472452164,
0.019946236163377762,
-0.012716727331280708,
-0.033484045416116714,
-0.04461869224905968,
0.03128114715218544,
0.014298808760941029,
-0.06075992435216904,
-0.06512566655874252,
-0.07397730648517609,
-0.04225558415055275,
0.03256283327937126,
-0.013037148863077164,
-0.01728273369371891,
-0.035626862198114395,
0.07077309489250183,
0.015049796551465988,
0.033724360167980194,
0.1568463146686554,
0.06592671573162079,
-0.05002580210566521,
-0.018153879791498184,
0.029338590800762177,
0.018394196406006813,
-0.011555199511349201,
-0.00218412303365767,
0.02863766998052597,
-0.011645318008959293,
0.05058654025197029,
-0.014539124444127083,
-0.03931171074509621,
-0.007690115366131067,
0.06816966831684113,
0.02309037372469902,
0.008310931734740734,
-0.02369116246700287,
0.04465874284505844,
-0.019385499879717827,
0.013357570394873619,
0.0355667844414711,
0.045219480991363525,
-0.024572322145104408,
0.011825555004179478,
0.006518574431538582,
-0.07497862726449966,
0.05955834314227104,
0.014178650453686714,
-0.011725423857569695,
0.03909141942858696,
-0.026454798877239227,
-0.031962040811777115,
0.016792088747024536,
0.03352409601211548,
-0.06108034402132034,
-0.006788929924368858,
0.03104083053767681,
-0.01266666129231453,
-0.028837932273745537,
0.01285691186785698,
0.039792343974113464,
-0.013137280941009521,
0.0063383374363183975,
0.030079565942287445,
-0.021227922290563583,
0.0340447835624218,
0.005917784292250872,
0.014238729141652584,
0.09260180592536926,
0.0031691687181591988,
0.012055858038365841,
-0.004198022186756134,
0.027836615219712257,
-0.015049796551465988,
-0.06636729836463928,
-0.010694066993892193,
-0.0162613894790411,
-0.0676489844918251,
0.04113410785794258,
-0.02066718600690365,
-0.004678654484450817,
0.03232251852750778,
0.003031487576663494,
-0.04834359139204025,
-0.006017915904521942,
0.027075614780187607,
0.05306980758905411,
0.01096442248672247,
-0.05663449689745903,
0.009081946685910225,
0.0007078060298226774,
-0.012957043945789337,
0.0204769354313612,
0.010003157891333103,
-0.03262291103601456,
-0.0002590907970443368,
-0.01959577575325966,
0.011034514755010605,
0.024752559140324593,
0.020126475021243095,
0.022549660876393318,
0.04301658272743225,
0.06075992435216904,
0.07501868158578873,
0.07025241106748581,
-0.05054648965597153,
-0.020126475021243095,
0.022749925032258034,
-0.10053224116563797,
0.006658758968114853,
0.022109081968665123,
-0.03356415033340454,
-0.00929722934961319,
0.010018178261816502,
-0.009167058393359184,
-0.047222115099430084,
0.00363978766836226,
0.06164108216762543,
0.017693273723125458,
-0.03306348994374275,
-0.06640735268592834,
-0.05811644718050957,
0.021648475900292397,
-0.01578075811266899,
0.010974436067044735,
-0.037529364228248596,
-0.005987876560539007,
-0.008581288158893585,
-0.043817635625600815,
0.021648475900292397,
0.005697494372725487,
-0.002363108331337571,
0.017242681235074997,
0.053430281579494476,
-0.002753622131422162,
0.005787612870335579,
0.021368106827139854,
0.040793661028146744,
-0.0615609772503376,
-0.000062934348534327,
0.003872593864798546,
0.03861078992486,
0.002668510191142559,
-0.07165425270795822,
-0.03522633761167526,
0.02006639540195465,
0.07361683249473572,
-0.05511249601840973,
-0.028477458283305168,
-0.0131072411313653,
-0.04353727027773857,
-0.023751242086291313,
0.035947285592556,
0.013657965697348118,
-0.003779972204938531,
0.01861448585987091,
-0.005962843541055918,
-0.0002736411988735199,
0.026695113629102707,
0.0053920927457511425,
-0.020386816933751106,
-0.027195772156119347,
0.0023743731435388327,
-0.007099338341504335,
0.01274676714092493,
0.004911460448056459,
0.04778285324573517,
-0.019555723294615746,
0.022649792954325676,
0.02735598385334015,
0.0029714086558669806,
0.031461384147405624,
0.036628179252147675,
-0.019866131246089935,
0.0054221320897340775,
-0.03466559946537018,
0.0008730233530513942,
-0.04858390614390373,
0.008726478554308414,
-0.08555253595113754,
0.016792088747024536,
-0.0030364941339939833,
-0.013027136214077473,
0.011174699291586876,
-0.0413343720138073,
-0.016431614756584167,
-0.01714254915714264,
-0.038430552929639816,
0.013627925887703896,
0.03488588705658913,
0.00815572775900364,
-0.016681943088769913,
-0.017182601615786552,
-0.00946244690567255,
-0.005847692023962736,
-0.019275354221463203,
0.04570011422038078,
-0.0321422778069973,
-0.0048588914796710014,
-0.006929114460945129,
-0.011825555004179478,
-0.0011646569473668933,
0.02449221722781658,
-0.009397361427545547,
-0.021648475900292397,
-0.03408483415842056,
-0.029819224029779434,
0.0026559936814010143,
0.004941499792039394,
0.00932226236909628,
0.04309668764472008,
-0.07389720529317856,
-0.005311987362802029,
0.040052685886621475,
-0.006353357341140509,
0.09051907062530518,
-0.031100910156965256,
0.004170485772192478,
-0.04189511016011238,
0.0162613894790411,
-0.004453357774764299,
0.032342541962862015,
-0.036007363349199295,
-0.01399841345846653,
-0.009587611071765423,
-0.017673246562480927,
0.03228246420621872,
-0.0542713887989521,
-0.036648206412792206,
0.018864814192056656,
-0.02649485133588314,
-0.007980497553944588,
0.06520576775074005,
-0.033604200929403305,
-0.03200209513306618,
0.05551302060484886,
-0.02154834382236004,
0.026434771716594696,
0.004591038916260004,
0.007514885161072016,
-0.046100638806819916,
0.01566060073673725,
-0.004388272296637297,
-0.029338590800762177,
-0.011565213091671467,
-0.01975598745048046,
0.012366266921162605,
0.01645164005458355,
-0.024372057989239693,
-0.02068721130490303,
0.004901447333395481,
-0.044698797166347504,
-0.006373383570462465,
0.04834359139204025,
0.06973172724246979,
0.001981356181204319,
0.024251900613307953,
-0.04441842809319496,
-0.001807377440854907,
0.024872716516256332,
-0.010148349218070507,
-0.026294587180018425,
-0.0153902443125844,
0.05086690932512283,
-0.03228246420621872,
0.0036648206878453493,
0.04373753070831299,
-0.006193146575242281,
-0.0436173751950264,
0.014509085565805435,
0.004140446428209543,
-0.030440039932727814,
0.04838364198803902,
0.014589190483093262,
0.017993668094277382,
0.008951774798333645,
0.0037724622525274754,
0.031221067532896996,
0.023811321705579758,
0.01811382733285427,
0.028157036751508713,
-0.04718206450343132,
0.06420445442199707,
0.04998575150966644,
0.01911514438688755,
0.017963629215955734,
-0.009217124432325363,
0.008165741339325905,
-0.051908280700445175,
-0.07237520068883896,
0.012125950306653976,
-0.026715140789747238,
0.019395513460040092,
0.015109875239431858,
0.014418966136872768,
-0.04083371162414551,
0.055192600935697556,
-0.04998575150966644,
-0.025133060291409492,
-0.08627348393201828,
0.01714254915714264,
0.0009938072180375457,
-0.07365688681602478,
0.07133383303880692,
0.07185451686382294,
-0.06572645902633667,
-0.01692225970327854,
-0.03907139599323273,
0.02359103225171566,
-0.02889801189303398,
-0.036387864500284195,
0.06360366195440292,
-0.004878917708992958,
-0.05967850238084793,
-0.016822127625346184,
0.0405733697116375,
-0.023230556398630142,
-0.017803417518734932,
0.0024044127203524113,
-0.03863081336021423,
0.016431614756584167,
0.014048479497432709,
0.08931748569011688,
-0.03668826073408127,
0.010313566774129868,
0.08387032151222229,
-0.050266120582818985,
0.010193408466875553,
-0.03859076276421547,
0.03054017201066017,
-0.052388910204172134,
0.03356415033340454,
0.03642791509628296,
-0.019635828211903572,
0.02056705392897129,
-0.09997150301933289,
0.0539509654045105,
-0.06252223998308182,
0.04898443445563316,
0.041694846004247665,
0.016892218962311745,
-0.018514353781938553,
-0.030500119552016258,
0.001430631848052144,
-0.05407112464308739,
-0.027315931394696236,
0.0047862958163022995,
0.11983763426542282,
0.03244267404079437,
-0.061000239104032516,
-0.009477466344833374,
0.008115675300359726,
-0.03128114715218544,
0.02232937142252922,
-0.03258286044001579,
-0.026534903794527054,
-0.012686687521636486,
0.02194887213408947,
-0.019535697996616364,
-0.014849533326923847,
0.04846374690532684,
0.009142025373876095,
-0.011675357818603516,
-0.02837732806801796,
0.01493965182453394,
0.007810273673385382,
0.014569164253771305,
0.08411063998937607,
-0.0073797074146568775,
0.018814748153090477,
0.0036472976207733154,
-0.03596731275320053,
-0.03258286044001579,
-0.013387610204517841,
-0.004453357774764299,
0.01444900594651699,
-0.03895123675465584,
-0.008426083251833916,
-0.004836361855268478,
-0.030179698020219803,
-0.017493009567260742,
0.04049326479434967,
0.00035046099219471216,
0.016892218962311745,
-0.029078248888254166,
-0.013617913238704205,
0.05018601566553116,
-0.014569164253771305,
0.018794722855091095,
0.042055319994688034,
-0.0057325405068695545,
0.006378389894962311,
0.02937864512205124,
-0.029438722878694534,
-0.04758258908987045,
0.016251377761363983,
0.010493803769350052,
0.030339909717440605,
0.01230618730187416,
-0.012446371838450432,
0.06997203826904297,
-0.006513568107038736,
0.003444531001150608,
0.0547119677066803,
-0.015240046195685863,
-0.01558049488812685,
-0.01455915067344904,
0.06340339779853821,
-0.0202566459774971,
-0.01647166721522808,
0.007474832236766815,
0.039291683584451675,
0.04389774426817894,
-0.02483266405761242,
-0.014208690263330936,
0.014288795180618763,
-0.0344252809882164,
-0.018073774874210358,
-0.005582342855632305,
-0.052268754690885544,
-0.0023931479081511497,
-0.09893013536930084,
-0.013728057965636253,
0.03282317519187927,
-0.0049565196968615055,
0.02623450942337513,
-0.05735544487833977,
-0.09099970012903214,
0.010814225301146507,
-0.005847692023962736,
0.012626608833670616,
-0.00192378053907305,
0.01609116606414318,
0.0020239122677594423,
0.027335956692695618,
-0.03262291103601456,
-0.05018601566553116,
-0.02673516795039177,
-0.01324742566794157,
-0.02347087301313877,
-0.008185767568647861,
0.02309037372469902,
-0.0058076390996575356,
0.04309668764472008,
-0.033864546567201614,
-0.01904505118727684,
-0.009307242929935455,
-0.0056874812580645084,
-0.02989932894706726,
0.039291683584451675,
-0.009707769379019737,
-0.04858390614390373,
0.00784531980752945,
-0.010804211720824242,
0.0031841883901506662,
-0.027716457843780518,
-0.01374808419495821,
0.05098706856369972,
0.025954140350222588,
0.012706714682281017,
-0.019836092367768288,
0.0210476852953434,
0.03406480699777603,
-0.015340178273618221,
0.02435203269124031,
-0.006683791987597942,
0.014979704283177853,
-0.021788660436868668,
0.020527001470327377,
0.033864546567201614,
-0.06092013418674469,
0.0585169717669487,
0.011805528774857521,
-0.056954916566610336,
-0.04594042897224426,
0.06364371627569199,
-0.0014018439687788486,
0.06760893017053604,
0.01928536780178547,
0.013377596624195576,
0.024131743237376213,
-0.023911453783512115,
0.035146232694387436,
-0.004773779306560755,
-0.031060857698321342,
0.019776012748479843,
-0.004185505677014589,
-0.03849063068628311,
0.03052014671266079,
0.04978548735380173,
0.002247957047075033,
0.03857073560357094,
-0.022489583119750023,
0.04237573966383934,
0.015350191853940487,
-0.016812114045023918,
-0.007039259187877178,
0.03780973330140114,
-0.02345084771513939,
0.07581973075866699,
-0.019455591216683388,
0.005627402104437351,
0.017863497138023376,
0.08979812264442444,
-0.06492540240287781,
0.009217124432325363,
-0.029298538342118263,
-0.0684099867939949,
-0.10389666259288788,
0.02547350712120533,
-0.01614123210310936,
0.038430552929639816,
0.000692786299623549,
-0.044979166239500046,
0.03995255380868912,
0.02154834382236004,
0.014208690263330936
] |
709,904
|
pytorch_msssim.ssim
|
__init__
|
class for ssim
Args:
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
channel (int, optional): input channels (default: 3)
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
nonnegative_ssim (bool, optional): force the ssim response to be nonnegative with relu.
|
def __init__(
self,
data_range: float = 255,
size_average: bool = True,
win_size: int = 11,
win_sigma: float = 1.5,
channel: int = 3,
spatial_dims: int = 2,
K: Union[Tuple[float, float], List[float]] = (0.01, 0.03),
nonnegative_ssim: bool = False,
) -> None:
r""" class for ssim
Args:
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
channel (int, optional): input channels (default: 3)
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
nonnegative_ssim (bool, optional): force the ssim response to be nonnegative with relu.
"""
super(SSIM, self).__init__()
self.win_size = win_size
self.win = _fspecial_gauss_1d(win_size, win_sigma).repeat([channel, 1] + [1] * spatial_dims)
self.size_average = size_average
self.data_range = data_range
self.K = K
self.nonnegative_ssim = nonnegative_ssim
|
(self, data_range: float = 255, size_average: bool = True, win_size: int = 11, win_sigma: float = 1.5, channel: int = 3, spatial_dims: int = 2, K: Union[Tuple[float, float], List[float]] = (0.01, 0.03), nonnegative_ssim: bool = False) -> NoneType
|
[
0.02421279065310955,
-0.08835544437170029,
-0.01696246862411499,
-0.021799234673380852,
-0.010223821736872196,
0.008461926132440567,
-0.04066358506679535,
-0.028711657971143723,
0.008775688707828522,
0.07147986441850662,
0.003417594823986292,
0.03776732087135315,
-0.0006257143104448915,
0.017908582463860512,
-0.0484255813062191,
0.026105018332600594,
0.04707399010658264,
-0.02208886109292507,
-0.030623193830251694,
0.006096641533076763,
-0.014017931185662746,
-0.013573837466537952,
0.0010408458765596151,
0.06900838017463684,
0.015794308856129646,
0.036164719611406326,
0.011816768907010555,
-0.04892760142683983,
-0.00288178538903594,
-0.048193879425525665,
-0.057423315942287445,
-0.012656685896217823,
0.05699853226542473,
0.034832436591386795,
0.04919791966676712,
-0.0026500842068344355,
0.001893434440717101,
0.008645356632769108,
-0.06896976381540298,
0.02855719067156315,
0.0020635901018977165,
-0.011488525196909904,
0.031105905771255493,
-0.013631762005388737,
0.05267344042658806,
0.06738647073507309,
0.034175947308540344,
0.0061835297383368015,
-0.026452569290995598,
0.005903557408601046,
0.014017931185662746,
-0.0038375535514205694,
-0.05259620398283005,
-0.016798347234725952,
-0.08179057389497757,
0.07205911725759506,
0.060782987624406815,
0.04537484794855118,
0.01018520537763834,
-0.04433219134807587,
0.0030603886116296053,
-0.02189577743411064,
0.041088372468948364,
-0.015205400995910168,
-0.046649202704429626,
-0.004494040738791227,
-0.05545385554432869,
-0.0017425871919840574,
0.0017256923019886017,
0.045220378786325455,
-0.010648607276380062,
0.01763826422393322,
-0.004409566055983305,
0.03427249193191528,
0.05313684046268463,
0.015794308856129646,
-0.019926315173506737,
0.01763826422393322,
-0.01954980008304119,
-0.02660703845322132,
0.08179057389497757,
0.08897331357002258,
-0.032418880611658096,
-0.02220471203327179,
-0.02027386799454689,
-0.010735495947301388,
0.015079895965754986,
-0.0012574625434353948,
0.006458675023168325,
0.0009081003372557461,
-0.022436413913965225,
0.04591548442840576,
0.03249611333012581,
0.015446756035089493,
0.05641927570104599,
0.07113230973482132,
-0.03440764918923378,
-0.07572772353887558,
0.010561719536781311,
-0.06707753986120224,
-0.033770471811294556,
0.029232986271381378,
0.04815526306629181,
0.020795196294784546,
-0.025699540972709656,
-0.00032522663241252303,
-0.004923653788864613,
0.03682120516896248,
-0.03073904477059841,
0.014490988105535507,
0.01877746358513832,
0.07819920033216476,
-0.059624478220939636,
0.020447643473744392,
-0.06425850838422775,
-0.0771951675415039,
-0.024444492533802986,
0.055222153663635254,
0.011430599726736546,
-0.016392869874835014,
-0.06985795497894287,
0.0040933904238045216,
-0.05159216746687889,
0.088432677090168,
-0.0066083152778446674,
0.028981976211071014,
0.04398464038968086,
0.021664075553417206,
-0.00682553555816412,
-0.02228194661438465,
-0.014510296285152435,
-0.06244351342320442,
-0.00994384940713644,
0.016653534024953842,
0.01771549880504608,
-0.0632544681429863,
0.03707221522927284,
-0.0025704368017613888,
0.014249633066356182,
0.043868787586688995,
0.03633849322795868,
0.03660881146788597,
-0.049545470625162125,
0.05931554362177849,
0.006700030528008938,
0.026935281231999397,
0.08117270469665527,
0.004805389326065779,
0.03380908817052841,
-0.018371986225247383,
-0.057307466864585876,
0.011276132427155972,
0.03537307307124138,
0.047614626586437225,
0.019443605095148087,
-0.03413733094930649,
0.057307466864585876,
-0.07383549213409424,
0.011314748786389828,
-0.009041179902851582,
-0.05977894738316536,
-0.020602110773324966,
-0.01340971514582634,
-0.02826756425201893,
-0.035025518387556076,
-0.043405383825302124,
-0.022320562973618507,
0.008949464187026024,
-0.009818344376981258,
0.03384770452976227,
0.001834302325733006,
-0.05831150338053703,
-0.05452704802155495,
0.01812097616493702,
0.003009703941643238,
0.038867902010679245,
-0.014539259485900402,
0.027224907651543617,
0.008606739342212677,
0.007655798457562923,
0.00922943651676178,
-0.015514335595071316,
-0.02199232019484043,
-0.0005346025573089719,
-0.038501039147377014,
0.04151315614581108,
0.004889864008873701,
0.00620283791795373,
-0.01812097616493702,
-0.01778307743370533,
0.0632544681429863,
-0.021026896312832832,
-0.015639841556549072,
0.011980890296399593,
0.03151138126850128,
0.0026380163617432117,
-0.027611076831817627,
-0.007858537137508392,
0.0001028778133331798,
0.03834657371044159,
0.008587431162595749,
0.01441375445574522,
-0.007940597832202911,
-0.013245593756437302,
-0.006091814488172531,
-0.055801406502723694,
-0.015021970495581627,
0.002693528076633811,
0.017802387475967407,
0.05869767442345619,
-0.058774907141923904,
-0.03398286551237106,
0.02114274725317955,
0.027920011430978775,
0.06719338893890381,
-0.04066358506679535,
0.020775888115167618,
0.009610778652131557,
-0.0016231162007898092,
-0.018188554793596268,
0.06503084301948547,
-0.02295774221420288,
-0.04572239890694618,
0.023015666753053665,
-0.041088372468948364,
0.0638723373413086,
0.025178212672472,
-0.06893114745616913,
0.008432963863015175,
0.01255048904567957,
0.0015229536220431328,
-0.024444492533802986,
0.032824356108903885,
0.008645356632769108,
-0.0015326078282669187,
0.013622107915580273,
0.010349326767027378,
0.031839627772569656,
0.018014779314398766,
-0.027514534071087837,
-0.03575924038887024,
-0.019733231514692307,
-0.02355630323290825,
0.0277655441313982,
-0.02873096615076065,
-0.025911932811141014,
-0.0012960793683305383,
0.06545563042163849,
-0.022243328392505646,
0.034832436591386795,
0.021779926493763924,
-0.02681943029165268,
-0.05916107818484306,
0.05105153098702431,
-0.0063910954631865025,
0.013950351625680923,
-0.03919614478945732,
0.013197322376072407,
0.03919614478945732,
-0.055608320981264114,
-0.026182251051068306,
-0.038867902010679245,
0.017387254163622856,
0.07205911725759506,
-0.007684761192649603,
0.006212492473423481,
-0.018806425854563713,
0.046378884464502335,
-0.002302532084286213,
0.026587728410959244,
0.09383904188871384,
0.09129033237695694,
-0.003992021083831787,
-0.01523436326533556,
0.01168160978704691,
0.0337318554520607,
-0.00395581778138876,
-0.061169154942035675,
0.03556615486741066,
0.005478771403431892,
0.06170979142189026,
0.02048625983297825,
-0.00037862654426135123,
0.012077433057129383,
0.09159926325082779,
0.0002688097592908889,
-0.0013214217033237219,
-0.019028473645448685,
0.02795862965285778,
-0.023594919592142105,
-0.023228060454130173,
0.04707399010658264,
0.02208886109292507,
-0.04363708570599556,
0.0490434505045414,
0.004650921560823917,
-0.047151222825050354,
0.020138708874583244,
0.015205400995910168,
-0.016122551634907722,
0.06414265930652618,
-0.021007588133215904,
-0.0013383165933191776,
0.02788139507174492,
0.007192396093159914,
-0.01940498687326908,
-0.025313371792435646,
0.0037651469465345144,
-0.009055661037564278,
-0.0011440253583714366,
-0.00457368791103363,
0.05773225054144859,
-0.005333958193659782,
-0.008548813872039318,
-0.0042913020588457584,
-0.02228194661438465,
0.07584357261657715,
-0.005623584613204002,
-0.005802188068628311,
0.0726383700966835,
0.009422521106898785,
-0.04811664670705795,
0.018043741583824158,
-0.040122948586940765,
-0.00004001222623628564,
-0.0649149939417839,
-0.040895286947488785,
-0.0015301943058148026,
-0.02681943029165268,
0.04332815110683441,
-0.043096449226140976,
-0.004631613381206989,
0.03044941835105419,
0.013911735266447067,
-0.037805937230587006,
-0.03629987686872482,
0.009755591861903667,
0.028711657971143723,
-0.008273668587207794,
-0.07819920033216476,
-0.0006299380329437554,
-0.00711516197770834,
-0.011227861046791077,
0.022822583094239235,
0.009263226762413979,
-0.03965954855084419,
-0.004578514955937862,
-0.10109902173280716,
-0.014394446276128292,
-0.022224020212888718,
0.021876469254493713,
0.004766772501170635,
0.023285984992980957,
0.055685557425022125,
0.07557325810194016,
0.05622619390487671,
-0.02133583277463913,
-0.04977717250585556,
0.05657374486327171,
-0.08665630221366882,
0.05641927570104599,
0.04827111214399338,
-0.02450241707265377,
-0.032708507031202316,
0.003975126426666975,
-0.006980002857744694,
-0.047730475664138794,
-0.007834401912987232,
0.04525899514555931,
0.033770471811294556,
0.009441830217838287,
-0.054063647985458374,
-0.09600158780813217,
-0.006053197663277388,
0.02048625983297825,
-0.002158925635740161,
-0.06402680277824402,
-0.015533644706010818,
-0.05827288702130318,
-0.029445379972457886,
-0.005990445148199797,
0.053561627864837646,
0.0006492465035989881,
0.013670379295945168,
0.03133760765194893,
0.0061159501783549786,
-0.026954589411616325,
0.03392493724822998,
0.056650977581739426,
-0.024367257952690125,
-0.010851345956325531,
0.030681120231747627,
0.07947356253862381,
0.0025656097568571568,
-0.018063049763441086,
-0.021104130893945694,
0.021567532792687416,
0.06024235114455223,
-0.01408551074564457,
0.00547394435852766,
-0.04047050327062607,
-0.04162900894880295,
-0.027630385011434555,
0.025409914553165436,
0.03537307307124138,
-0.0480780303478241,
-0.02237848751246929,
-0.06630520522594452,
-0.0012574625434353948,
0.009808690287172794,
0.04630165174603462,
-0.06603488326072693,
-0.04004571586847305,
-0.007028274238109589,
-0.0026549112517386675,
0.0018065464682877064,
-0.05081982910633087,
0.023112209513783455,
-0.0256609246134758,
0.009847307577729225,
-0.01306216325610876,
-0.0043106102384626865,
0.035508230328559875,
0.04471835866570473,
-0.024483108893036842,
0.007274456787854433,
-0.040122948586940765,
-0.024869278073310852,
-0.014211015775799751,
-0.030700428411364555,
-0.07688622921705246,
0.07337209582328796,
-0.013486948795616627,
0.01908639818429947,
-0.01291735004633665,
-0.03575924038887024,
-0.06024235114455223,
-0.005879421718418598,
-0.002161339158192277,
-0.019704269245266914,
0.03400217369198799,
-0.019125014543533325,
0.007539947982877493,
-0.023189442232251167,
-0.005222934298217297,
-0.020119400694966316,
-0.04178347438573837,
0.07205911725759506,
0.004967097658663988,
-0.012492564506828785,
0.003673431696370244,
-0.007501331157982349,
-0.0380762554705143,
0.005898729898035526,
0.02546783909201622,
-0.03384770452976227,
-0.04355985298752785,
-0.011363020166754723,
0.020640728995203972,
-0.020312484353780746,
-0.011034776456654072,
0.005652547348290682,
-0.05526077002286911,
-0.014307557605206966,
0.02297705039381981,
0.011276132427155972,
0.08094100654125214,
-0.02353699505329132,
0.01930844597518444,
-0.061632558703422546,
-0.004805389326065779,
0.005111910868436098,
0.036164719611406326,
-0.03546961396932602,
0.0012610828271135688,
-0.024077631533145905,
-0.015060587786138058,
0.05831150338053703,
-0.03917683660984039,
-0.020544186234474182,
0.047730475664138794,
-0.019009163603186607,
-0.004675057251006365,
0.08047760277986526,
-0.05093567818403244,
-0.03575924038887024,
0.039350610226392746,
-0.04413910582661629,
0.01654733717441559,
-0.0004437925526872277,
-0.0003550943802110851,
-0.034928977489471436,
-0.006830362603068352,
0.022127479314804077,
-0.002613880904391408,
-0.0012085880152881145,
0.017367945984005928,
0.005522215273231268,
0.0004374569689389318,
-0.0332491435110569,
-0.04688090458512306,
-0.006719339173287153,
-0.03471658378839493,
-0.022938434034585953,
0.0542181134223938,
0.05657374486327171,
-0.014790269546210766,
0.013844155706465244,
-0.010445868596434593,
-0.04344400390982628,
-0.010648607276380062,
-0.037921786308288574,
-0.02651049569249153,
-0.038867902010679245,
0.041937943547964096,
-0.04830973222851753,
-0.05298237502574921,
0.01792789064347744,
-0.07217496633529663,
-0.003909960389137268,
0.008215743117034435,
0.012955966405570507,
-0.027630385011434555,
0.04390740394592285,
0.004322678316384554,
-0.006569698452949524,
0.04491144418716431,
-0.011459561996161938,
0.024560343474149704,
0.044525276869535446,
-0.004877795930951834,
-0.01402758527547121,
-0.015958430245518684,
0.06908562034368515,
0.03813418000936508,
0.05437258258461952,
0.010223821736872196,
-0.01527298055589199,
-0.007284110877662897,
-0.0345621183514595,
-0.06225042790174484,
0.018902968615293503,
0.020235251635313034,
0.017647918313741684,
0.028286872431635857,
0.04433219134807587,
-0.03572062402963638,
0.009982466697692871,
-0.028479956090450287,
-0.05197833478450775,
-0.0008320733322761953,
0.003403113456442952,
-0.011121664196252823,
-0.028093788772821426,
0.06476052850484848,
0.0584273561835289,
-0.01423032395541668,
-0.056071724742650986,
-0.03629987686872482,
-0.025718849152326584,
-0.042826130986213684,
0.0014058961533010006,
0.020042166113853455,
0.004798148758709431,
-0.11222068220376968,
-0.04101113975048065,
-0.007482022512704134,
-0.006835189647972584,
-0.042246878147125244,
-0.0010589475277811289,
-0.02450241707265377,
0.03699498251080513,
0.033886320888996124,
0.07962802797555923,
-0.04159039258956909,
0.041551776230335236,
0.08016866445541382,
-0.02873096615076065,
-0.006091814488172531,
-0.04888898506760597,
0.026877356693148613,
-0.02826756425201893,
0.007105507887899876,
-0.01344833243638277,
-0.025236137211322784,
0.012656685896217823,
-0.11662300676107407,
-0.0020032511092722416,
-0.10040391236543655,
0.02432864159345627,
0.09538371860980988,
0.02432864159345627,
-0.01937602460384369,
-0.013863463886082172,
-0.046263035386800766,
-0.04769185930490494,
0.06375648826360703,
-0.042439963668584824,
0.07526431977748871,
0.009176339022815228,
-0.0684291273355484,
0.010938234627246857,
-0.04286474734544754,
0.020968971773982048,
0.04757601022720337,
-0.029097827151417732,
0.009369422681629658,
0.011015468277037144,
0.03361600264906883,
0.003608265658840537,
0.007704069837927818,
0.047807712107896805,
-0.0042309630662202835,
0.023208752274513245,
0.00022370644728653133,
0.04757601022720337,
0.005107083823531866,
0.03390562906861305,
0.07480091601610184,
0.009330806322395802,
0.030314259231090546,
-0.02208886109292507,
-0.025139596313238144,
-0.016470104455947876,
-0.018429910764098167,
-0.04850281402468681,
0.00442887470126152,
-0.02208886109292507,
-0.011324402876198292,
-0.03689843788743019,
0.006502118892967701,
-0.010387944057583809,
0.062134578824043274,
-0.026162942871451378,
0.0230735931545496,
0.03075835295021534,
-0.020235251635313034,
0.06981933861970901,
-0.009359768591821194,
0.04865728318691254,
0.06344754993915558,
-0.0021915086545050144,
0.038867902010679245,
0.01979115605354309,
-0.012618068605661392,
-0.040316034108400345,
0.037728700786828995,
0.009808690287172794,
0.02701251581311226,
0.016556991264224052,
-0.021393757313489914,
0.03199409320950508,
-0.024270715191960335,
-0.011642992496490479,
-0.009379077702760696,
0.009818344376981258,
-0.024193482473492622,
-0.04888898506760597,
0.019771847873926163,
-0.019250519573688507,
-0.03933130204677582,
0.031569309532642365,
0.030526652932167053,
0.027321450412273407,
-0.0018415430095046759,
-0.025448530912399292,
0.02268742397427559,
-0.033017441630363464,
-0.015205400995910168,
0.042710281908512115,
-0.029735006392002106,
0.0035913707688450813,
-0.06947178393602371,
-0.002799724694341421,
-0.010079008527100086,
-0.004704019986093044,
0.011449907906353474,
-0.052634820342063904,
-0.07499400526285172,
0.01537917647510767,
-0.006574525497853756,
0.02882750891149044,
-0.00653108162805438,
-0.020640728995203972,
-0.002867304254323244,
0.014790269546210766,
-0.026761505752801895,
-0.08572949469089508,
-0.01273391954600811,
0.02988947369158268,
-0.0063910954631865025,
-0.0024738945066928864,
0.008070929907262325,
-0.02768831141293049,
0.010368634946644306,
0.0016098415944725275,
-0.031318299472332,
-0.0043781897984445095,
0.023788005113601685,
-0.03989124670624733,
0.03546961396932602,
0.012000198476016521,
-0.05753916874527931,
0.05336854234337807,
-0.035508230328559875,
-0.0006438159616664052,
-0.03909960016608238,
0.0072261858731508255,
0.07530293613672256,
0.03595232591032982,
0.018159592524170876,
-0.009113586507737637,
0.02345976047217846,
0.0020442816894501448,
-0.0063186888583004475,
0.025351988151669502,
0.0037241163663566113,
0.03073904477059841,
-0.002739385701715946,
-0.00561875756829977,
0.046571969985961914,
-0.03230302780866623,
0.03940853849053383,
-0.01596808433532715,
-0.05804118514060974,
-0.03191686049103737,
0.032148562371730804,
-0.0007144124829210341,
0.10218029469251633,
-0.009287361986935139,
-0.01014658808708191,
-0.0001903692027553916,
-0.04556792974472046,
0.04873451590538025,
0.005319476593285799,
-0.03813418000936508,
-0.0064635020680725574,
-0.014423408545553684,
-0.014751652255654335,
0.046456120908260345,
0.028499266132712364,
-0.00926805380731821,
-0.008297804743051529,
-0.017290713265538216,
-0.019868390634655952,
-0.008867403492331505,
0.006617969833314419,
-0.00967835821211338,
0.025178212672472,
0.024367257952690125,
0.06317723542451859,
-0.03602955862879753,
0.030816279351711273,
0.021876469254493713,
0.058388739824295044,
-0.059354159981012344,
0.00014096673112362623,
-0.02355630323290825,
0.0012369472533464432,
-0.037323225289583206,
0.03479382023215294,
-0.03151138126850128,
0.0389065183699131,
-0.0036903265863656998,
-0.04178347438573837,
0.05437258258461952,
0.01172988023608923,
-0.012453947216272354
] |
709,934
|
pytorch_msssim.ssim
|
forward
| null |
def forward(self, X: Tensor, Y: Tensor) -> Tensor:
return ssim(
X,
Y,
data_range=self.data_range,
size_average=self.size_average,
win=self.win,
K=self.K,
nonnegative_ssim=self.nonnegative_ssim,
)
|
(self, X: torch.Tensor, Y: torch.Tensor) -> torch.Tensor
|
[
-0.013356789946556091,
-0.0650547668337822,
-0.033910732716321945,
-0.039668451994657516,
-0.01919863373041153,
0.04785637930035591,
-0.05780153349041939,
-0.0035681978333741426,
0.03090101294219494,
0.03832248970866203,
0.04034143313765526,
-0.04527662321925163,
0.056679900735616684,
0.005972700659185648,
0.0020586655009537935,
0.056679900735616684,
0.026283621788024902,
-0.043668944388628006,
-0.04262208938598633,
0.019572511315345764,
0.0027199622709304094,
-0.06109165772795677,
0.010992011986672878,
0.007828069850802422,
-0.022283127531409264,
0.016880590468645096,
-0.00932825542986393,
-0.04179955646395683,
-0.030844932422041893,
-0.034022893756628036,
-0.015422466211020947,
0.010019929148256779,
0.006603619549423456,
0.017497489228844643,
0.04927711561322212,
0.004234167747199535,
-0.02985415607690811,
-0.003315830137580633,
0.000630919064860791,
-0.05282895639538765,
-0.03847204148769379,
-0.044192373752593994,
0.06468088924884796,
0.036060530692338943,
-0.010019929148256779,
0.020768921822309494,
-0.03495759144425392,
-0.008762764744460583,
0.07290620356798172,
-0.025012435391545296,
0.008543111383914948,
-0.039855390787124634,
-0.03114403411746025,
0.02396557666361332,
0.04508968070149422,
0.018806060776114464,
0.056567735970020294,
0.009683439508080482,
0.010935930535197258,
-0.06105427071452141,
0.05488528683781624,
-0.06213851645588875,
0.01931079663336277,
0.02482549659907818,
0.0012887106277048588,
-0.018731286749243736,
-0.019778143614530563,
0.02908770553767681,
0.03951890021562576,
0.015786997973918915,
-0.015039240941405296,
0.00002997595765918959,
0.027536112815141678,
0.036826979368925095,
0.03174223750829697,
-0.024115128442645073,
-0.010477930307388306,
0.00802435539662838,
0.01020686887204647,
-0.06879354268312454,
-0.001362317823804915,
0.05324022099375725,
-0.07843959331512451,
0.02396557666361332,
-0.06000741198658943,
-0.024975048378109932,
0.013599811121821404,
-0.0184602253139019,
-0.04187433049082756,
-0.000398121599573642,
-0.007528967689722776,
0.0669989287853241,
-0.02789129689335823,
0.011786502785980701,
0.07604677975177765,
0.038247715681791306,
-0.034116365015506744,
-0.045725274831056595,
-0.01042184792459011,
0.007879477925598621,
-0.02895684912800789,
0.09062802046537399,
-0.01128176786005497,
0.0674101933836937,
-0.0004892543656751513,
0.011141563765704632,
0.005159515887498856,
-0.004180422984063625,
-0.06385836005210876,
-0.026096681132912636,
0.026414478197693825,
0.018030265346169472,
-0.05081001669168472,
-0.010169480927288532,
-0.04445409029722214,
-0.04621131718158722,
-0.03873375803232193,
-0.000941120961215347,
0.001070809899829328,
0.019441654905676842,
-0.0340602807700634,
0.0030541156884282827,
-0.025891048833727837,
-0.011347196064889431,
-0.04512707144021988,
0.04591221362352371,
0.0611664354801178,
-0.017628345638513565,
0.0028531563002616167,
-0.08681446313858032,
-0.06453133374452591,
-0.025797579437494278,
-0.007342028431594372,
0.06613901257514954,
-0.012534258887171745,
-0.028620358556509018,
0.01172107458114624,
-0.011674339883029461,
0.010720950551331043,
0.00927217397838831,
0.023292597383260727,
0.050623077899217606,
-0.004673474468290806,
0.0735417976975441,
0.019834225997328758,
0.039668451994657516,
0.03484542667865753,
0.05282895639538765,
0.07533641159534454,
-0.007500926498323679,
-0.0207128394395113,
0.015338343568146229,
0.04916495084762573,
0.0004492377338465303,
-0.006636333651840687,
0.038696371018886566,
-0.014338219538331032,
-0.004402413032948971,
0.05417491868138313,
0.021628839895129204,
-0.09017936140298843,
-0.04965099319815636,
-0.041276127099990845,
-0.03918240964412689,
0.014497118070721626,
-0.011113522574305534,
0.015702875331044197,
0.0596335344016552,
-0.015085975639522076,
0.04793115332722664,
0.0677092969417572,
-0.09518933296203613,
0.035200610756874084,
0.024694640189409256,
0.01606740616261959,
-0.0017128284089267254,
0.02918117493391037,
0.0031359014101326466,
0.0012653432786464691,
0.03735040873289108,
0.03658396005630493,
-0.014646668918430805,
-0.01172107458114624,
-0.09279651194810867,
-0.023386066779494286,
0.025760192424058914,
0.021871861070394516,
0.003745789872482419,
0.005089413840323687,
0.007514947094023228,
0.030414972454309464,
-0.00596335344016552,
0.03778036683797836,
-0.0064400481060147285,
0.01437560748308897,
-0.037593428045511246,
-0.010758338496088982,
0.0012314605992287397,
0.03751865401864052,
-0.008599192835390568,
0.01172107458114624,
0.008206621743738651,
0.02017071656882763,
-0.01530095562338829,
-0.04740772768855095,
-0.01183323748409748,
-0.04097702354192734,
0.04576266184449196,
-0.06479305028915405,
0.025461088865995407,
-0.054847896099090576,
-0.017067529261112213,
0.0015878130216151476,
-0.016861896961927414,
0.04632347822189331,
-0.02624623291194439,
0.01908647082746029,
-0.0025353599339723587,
0.004582341760396957,
-0.06879354268312454,
0.08838474750518799,
-0.026750968769192696,
-0.1304086297750473,
-0.03981800377368927,
0.010225562378764153,
-0.012674462981522083,
0.011515441350638866,
-0.08629103749990463,
-0.04770682752132416,
-0.04299596697092056,
0.03895808383822441,
-0.02256353572010994,
-0.034022893756628036,
0.0178994070738554,
0.03286387398838997,
0.012777279131114483,
-0.017002100124955177,
0.014001729898154736,
0.0038088818546384573,
-0.012824013829231262,
-0.04037882015109062,
-0.04307074099779129,
-0.012179074808955193,
0.027274398133158684,
-0.004493545740842819,
0.028283867985010147,
-0.015656139701604843,
0.03338730335235596,
-0.0064307008869946,
0.06254978477954865,
0.01649736426770687,
0.0006151460693217814,
-0.06542864441871643,
-0.0005330682033672929,
-0.02409643493592739,
-0.014011076651513577,
-0.01736663095653057,
-0.04351939633488655,
0.044192373752593994,
-0.025517171248793602,
-0.02615276351571083,
-0.016338467597961426,
0.01778724417090416,
0.001053284271620214,
-0.019890308380126953,
0.02495635487139225,
-0.05481050908565521,
0.00840290728956461,
0.0010521159274503589,
0.04938928037881851,
0.11829499155282974,
0.04221082106232643,
-0.0017338590696454048,
-0.009608663618564606,
0.03847204148769379,
0.012085605412721634,
0.03578012064099312,
-0.0029886870179325342,
0.06139076128602028,
0.004622066393494606,
0.021086717024445534,
-0.06303582340478897,
-0.05324022099375725,
-0.032508689910173416,
0.00937966350466013,
0.032602157443761826,
0.052455078810453415,
-0.024881578981876373,
0.07776661962270737,
-0.05731549113988876,
0.027293091639876366,
0.06961607933044434,
0.04198649525642395,
-0.028040846809744835,
0.00023936951765790582,
-0.012552952393889427,
-0.06628856062889099,
0.028171705082058907,
0.0440802127122879,
0.04168739169836044,
0.030340196564793587,
0.013543729670345783,
-0.05630602315068245,
0.012842708267271519,
0.04411759972572327,
-0.014104546047747135,
0.028022153303027153,
0.006870007608085871,
-0.047258175909519196,
-0.05825018510222435,
-0.01481491420418024,
0.05525916442275047,
-0.07249493896961212,
-0.006028782110661268,
0.002240931149572134,
-0.008818846195936203,
0.017422713339328766,
0.06266194581985474,
0.02428337372839451,
0.08292613178491592,
0.046585194766521454,
-0.026433171704411507,
-0.012964218854904175,
-0.02482549659907818,
-0.029872849583625793,
-0.020525900647044182,
-0.008220641873776913,
-0.02041373774409294,
-0.004245851654559374,
0.02819039858877659,
0.015001852996647358,
-0.02529284358024597,
0.001463965862058103,
0.02908770553767681,
-0.028339950367808342,
-0.01812373474240303,
0.0035985754802823067,
0.07043860852718353,
0.007683192379772663,
-0.014674710109829903,
-0.054287079721689224,
-0.019572511315345764,
-0.011917360126972198,
0.00835149921476841,
0.035630568861961365,
-0.04299596697092056,
-0.013076381757855415,
-0.05163254588842392,
0.027741745114326477,
-0.023629087954759598,
-0.009515194222331047,
0.059932637959718704,
0.04049098491668701,
0.048865851014852524,
0.03174223750829697,
0.0538010373711586,
-0.04374372214078903,
0.009655398316681385,
0.0005362812080420554,
-0.0901045873761177,
-0.026321008801460266,
0.032508689910173416,
-0.05166993290185928,
0.009519867599010468,
-0.031517911702394485,
0.015758955851197243,
-0.026302315294742584,
-0.03090101294219494,
-0.014487771317362785,
0.09264695644378662,
-0.008244008757174015,
-0.010076011531054974,
-0.0901045873761177,
0.03798600286245346,
-0.03746257349848747,
0.05088479071855545,
-0.025442395359277725,
-0.006823272909969091,
0.038883309811353683,
-0.011552829295396805,
0.04217343404889107,
0.054287079721689224,
0.005439924541860819,
0.013973688706755638,
0.07025166600942612,
0.03929457440972328,
-0.001335445325821638,
-0.03665873408317566,
0.057988472282886505,
-0.06303582340478897,
-0.010683562606573105,
-0.024657251313328743,
0.02428337372839451,
-0.02854558266699314,
-0.016674956306815147,
-0.05368887633085251,
-0.005575455259531736,
0.09541365504264832,
-0.012132340110838413,
0.03093840181827545,
-0.0557452030479908,
-0.02420859783887863,
0.0049679032526910305,
0.0353875495493412,
-0.04112657532095909,
-0.03677089884877205,
-0.01030033826828003,
0.002794737694784999,
-0.01636650785803795,
0.04748250171542168,
0.00010544527322053909,
-0.035854898393154144,
-0.0049585564993321896,
0.03755604103207588,
0.02353561855852604,
0.01334744319319725,
0.005196903832256794,
0.035219304263591766,
-0.004727219697088003,
0.021441901102662086,
-0.011580869555473328,
0.02222704514861107,
0.017067529261112213,
0.016132833436131477,
-0.027723051607608795,
-0.013366137631237507,
-0.03297603502869606,
0.002556390594691038,
-0.0012361339759081602,
0.007762641180306673,
-0.054511405527591705,
-0.0027783806435763836,
0.009636704809963703,
0.010711603797972202,
-0.02495635487139225,
-0.026620110496878624,
-0.006140945479273796,
-0.022152269259095192,
0.009089907631278038,
0.022694392129778862,
-0.0014160628197714686,
-0.020114634186029434,
0.05772675946354866,
-0.002252614824101329,
-0.06344708800315857,
-0.012001482769846916,
-0.08928205817937851,
0.039219796657562256,
-0.060156963765621185,
0.009099255315959454,
0.014880343340337276,
-0.003617269219830632,
-0.0028765236493200064,
0.03277040272951126,
-0.006332558114081621,
-0.02985415607690811,
-0.03963106498122215,
-0.08143062144517899,
0.01129111461341381,
-0.00889362208545208,
0.03506975248456001,
0.03604183718562126,
-0.07552334666252136,
-0.027311785146594048,
0.00040250300662592053,
-0.03873375803232193,
0.0207128394395113,
0.0018693897873163223,
0.022170962765812874,
-0.03699522465467453,
0.014039117842912674,
-0.010319031774997711,
0.021180186420679092,
-0.047893766313791275,
0.03903285786509514,
0.023236515000462532,
0.006346578244119883,
0.0464356429874897,
-0.013852178119122982,
-0.021759698167443275,
-0.043556783348321915,
-0.04733294993638992,
-0.01524487417191267,
0.03658396005630493,
-0.009851684793829918,
0.017768550664186478,
0.02482549659907818,
-0.00499127060174942,
0.058811005204916,
0.0529785081744194,
-0.0058138021267950535,
0.002598451916128397,
0.014160627499222755,
-0.005818475969135761,
-0.05989525094628334,
-0.008374866098165512,
-0.03028411604464054,
-0.0032036667689681053,
-0.025218069553375244,
0.022600922733545303,
-0.022488759830594063,
-0.022413983941078186,
-0.04830503463745117,
-0.004668801091611385,
0.0006834956584498286,
0.07686930894851685,
-0.025554558262228966,
-0.0008196106064133346,
-0.04034143313765526,
-0.004916495177894831,
0.043220292776823044,
-0.019348185509443283,
-0.05163254588842392,
-0.010019929148256779,
0.040191881358623505,
-0.0036359631922096014,
-0.02841472439467907,
0.07096203416585922,
-0.034321997314691544,
-0.04793115332722664,
-0.031218810006976128,
0.0025587272830307484,
-0.002526012947782874,
0.03437807783484459,
0.023516923189163208,
0.05058568716049194,
0.010777032002806664,
-0.014562546275556087,
0.016899283975362778,
-0.004846393130719662,
0.002066844142973423,
-0.011459359899163246,
0.005682945251464844,
0.054623570293188095,
0.01703948900103569,
-0.007056946400552988,
0.032714322209358215,
-0.03480803966522217,
0.006491456180810928,
-0.04815548285841942,
-0.05395058915019035,
-0.03460240736603737,
-0.03940673917531967,
0.043145518749952316,
-0.028582969680428505,
0.01813308149576187,
-0.07406522333621979,
0.014927078038454056,
-0.07866392284631729,
-0.026863131672143936,
-0.11156518757343292,
0.013384831137955189,
0.02527415007352829,
-0.02319912798702717,
0.0650547668337822,
0.09631096571683884,
-0.025965824723243713,
0.02222704514861107,
-0.04090224951505661,
0.03355554863810539,
-0.02820909209549427,
-0.061764638870954514,
0.030732769519090652,
0.005626863334327936,
-0.04400543496012688,
-0.03125619888305664,
-0.008617887273430824,
-0.01231927890330553,
-0.004381382372230291,
0.007748620584607124,
0.006407333537936211,
0.029218563809990883,
0.0468469075858593,
0.01617022231221199,
0.010150786489248276,
0.009155336767435074,
0.07791616767644882,
-0.044977519661188126,
-0.016749732196331024,
-0.028171705082058907,
0.019254714250564575,
-0.030414972454309464,
-0.005598822608590126,
-0.009183377958834171,
-0.009145990014076233,
-0.006154966074973345,
-0.08890818059444427,
0.026881825178861618,
-0.05514699965715408,
-0.0012746901484206319,
0.035630568861961365,
0.0065194969065487385,
-0.01756291650235653,
-0.00786545779556036,
-0.023479536175727844,
-0.03959367796778679,
-0.010861154645681381,
-0.04153784364461899,
0.08180449903011322,
0.02048851177096367,
-0.01693667098879814,
0.028246480971574783,
0.0024792782496660948,
-0.007178456988185644,
0.019254714250564575,
-0.02647056058049202,
-0.03247130289673805,
-0.004315953701734543,
-0.005351128522306681,
-0.0483798086643219,
0.025517171248793602,
0.03146183118224144,
0.01583373174071312,
0.0014511138433590531,
-0.006215721368789673,
0.036303550004959106,
0.03772428631782532,
0.01832936704158783,
0.0016754405805841088,
0.019179940223693848,
0.09047846496105194,
-0.04381849616765976,
-0.04067792370915413,
0.020469818264245987,
0.03306950628757477,
0.023685168474912643,
0.04871629923582077,
-0.05013703554868698,
0.005108107812702656,
0.001130980788730085,
-0.019572511315345764,
-0.0076972125098109245,
0.030957095324993134,
0.024918965995311737,
0.011253726668655872,
-0.03506975248456001,
-0.015525282360613346,
0.06950391083955765,
-0.024152517318725586,
-0.05058568716049194,
-0.018525652587413788,
0.030957095324993134,
0.0247507207095623,
0.048978012055158615,
-0.04004232957959175,
-0.07761706411838531,
-0.005818475969135761,
0.0072859469801187515,
0.005949333310127258,
0.021853167563676834,
0.011113522574305534,
-0.018469572067260742,
-0.033237751573324203,
0.04505229368805885,
0.04912756383419037,
0.014870995655655861,
-0.03381726145744324,
-0.006150292698293924,
0.03699522465467453,
-0.03740648925304413,
-0.0019021041225641966,
0.039331961423158646,
0.026657499372959137,
0.07066293805837631,
0.000638513476587832,
0.009795602411031723,
-0.016637569293379784,
-0.03220958635210991,
-0.04695907235145569,
-0.019796838983893394,
-0.0288446843624115,
-0.024489006027579308,
-0.05630602315068245,
-0.011300461366772652,
0.020974554121494293,
-0.03492020070552826,
0.03880853205919266,
-0.022432677447795868,
-0.02723700925707817,
0.02733047865331173,
-0.046921685338020325,
0.01145001221448183,
0.028153011575341225,
0.037144776433706284,
-0.023030882701277733,
0.008038376457989216,
-0.025311538949608803,
-0.018413489684462547,
0.007145742420107126,
0.007505600340664387,
0.015366384759545326,
-0.010505970567464828,
0.02744264341890812,
-0.040528371930122375,
-0.005108107812702656,
-0.03645310178399086,
-0.011945401318371296,
0.0049351891502738,
0.0618768036365509,
-0.025648027658462524,
-0.01491773035377264,
0.020806308835744858,
-0.043444618582725525,
-0.018834102898836136,
0.025629334151744843,
-0.008594519458711147,
-0.03168615698814392,
0.005444597918540239,
0.047781605273485184,
0.01758161187171936,
0.028582969680428505,
-0.07488775998353958,
-0.011066787876188755,
0.051258668303489685,
0.029405502602458,
0.024245986714959145,
-0.04374372214078903,
0.015011200681328773,
0.02037634886801243,
0.029480276629328728,
0.024021659046411514,
-0.03157399594783783,
0.032602157443761826,
-0.007673845160752535,
-0.04632347822189331,
0.005458618048578501,
0.07372873276472092,
-0.0033368607982993126,
0.017497489228844643,
0.0002032961492659524,
0.036939144134521484,
0.04022926837205887,
0.020544594153761864,
0.08150539547204971,
0.007986968383193016,
-0.03262085095047951,
-0.04710862413048744,
0.007491579744964838,
0.03548101708292961,
-0.0022082168143242598,
0.04108918830752373,
-0.010384460911154747,
0.033667709678411484,
-0.03387334197759628,
0.015263567678630352,
-0.011842584237456322,
0.006631660275161266,
-0.05705377832055092,
0.004977250471711159,
0.009155336767435074,
0.02635839581489563,
0.025255456566810608,
0.018806060776114464,
0.03740648925304413,
0.07963600754737854,
-0.0022339208517223597,
0.005187556613236666,
-0.03792991861701012,
-0.041163962334394455,
-0.06139076128602028,
0.0089497035369277,
-0.04034143313765526,
0.009206744842231274,
0.008804826065897942,
-0.054287079721689224,
0.049090176820755005,
0.061353374272584915,
0.06501737982034683
] |
709,968
|
pytorch_msssim.ssim
|
ms_ssim
|
interface of ms-ssim
Args:
X (torch.Tensor): a batch of images, (N,C,[T,]H,W)
Y (torch.Tensor): a batch of images, (N,C,[T,]H,W)
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
win (torch.Tensor, optional): 1-D gauss kernel. if None, a new kernel will be created according to win_size and win_sigma
weights (list, optional): weights for different levels
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
Returns:
torch.Tensor: ms-ssim results
|
def ms_ssim(
X: Tensor,
Y: Tensor,
data_range: float = 255,
size_average: bool = True,
win_size: int = 11,
win_sigma: float = 1.5,
win: Optional[Tensor] = None,
weights: Optional[List[float]] = None,
K: Union[Tuple[float, float], List[float]] = (0.01, 0.03)
) -> Tensor:
r""" interface of ms-ssim
Args:
X (torch.Tensor): a batch of images, (N,C,[T,]H,W)
Y (torch.Tensor): a batch of images, (N,C,[T,]H,W)
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
win (torch.Tensor, optional): 1-D gauss kernel. if None, a new kernel will be created according to win_size and win_sigma
weights (list, optional): weights for different levels
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
Returns:
torch.Tensor: ms-ssim results
"""
if not X.shape == Y.shape:
raise ValueError(f"Input images should have the same dimensions, but got {X.shape} and {Y.shape}.")
for d in range(len(X.shape) - 1, 1, -1):
X = X.squeeze(dim=d)
Y = Y.squeeze(dim=d)
#if not X.type() == Y.type():
# raise ValueError(f"Input images should have the same dtype, but got {X.type()} and {Y.type()}.")
if len(X.shape) == 4:
avg_pool = F.avg_pool2d
elif len(X.shape) == 5:
avg_pool = F.avg_pool3d
else:
raise ValueError(f"Input images should be 4-d or 5-d tensors, but got {X.shape}")
if win is not None: # set win_size
win_size = win.shape[-1]
if not (win_size % 2 == 1):
raise ValueError("Window size should be odd.")
smaller_side = min(X.shape[-2:])
assert smaller_side > (win_size - 1) * (
2 ** 4
), "Image size should be larger than %d due to the 4 downsamplings in ms-ssim" % ((win_size - 1) * (2 ** 4))
if weights is None:
weights = [0.0448, 0.2856, 0.3001, 0.2363, 0.1333]
weights_tensor = X.new_tensor(weights)
if win is None:
win = _fspecial_gauss_1d(win_size, win_sigma)
win = win.repeat([X.shape[1]] + [1] * (len(X.shape) - 1))
levels = weights_tensor.shape[0]
mcs = []
for i in range(levels):
ssim_per_channel, cs = _ssim(X, Y, win=win, data_range=data_range, size_average=False, K=K)
if i < levels - 1:
mcs.append(torch.relu(cs))
padding = [s % 2 for s in X.shape[2:]]
X = avg_pool(X, kernel_size=2, padding=padding)
Y = avg_pool(Y, kernel_size=2, padding=padding)
ssim_per_channel = torch.relu(ssim_per_channel) # type: ignore # (batch, channel)
mcs_and_ssim = torch.stack(mcs + [ssim_per_channel], dim=0) # (level, batch, channel)
ms_ssim_val = torch.prod(mcs_and_ssim ** weights_tensor.view(-1, 1, 1), dim=0)
if size_average:
return ms_ssim_val.mean()
else:
return ms_ssim_val.mean(1)
|
(X: torch.Tensor, Y: torch.Tensor, data_range: float = 255, size_average: bool = True, win_size: int = 11, win_sigma: float = 1.5, win: Optional[torch.Tensor] = None, weights: Optional[List[float]] = None, K: Union[Tuple[float, float], List[float]] = (0.01, 0.03)) -> torch.Tensor
|
[
-0.012575480155646801,
-0.08596763014793396,
-0.0006376954261213541,
-0.056695207953453064,
0.02308017760515213,
0.014314535073935986,
-0.043868422508239746,
-0.02121044136583805,
0.036731258034706116,
0.05102568864822388,
0.010002080351114273,
0.015068461187183857,
0.03556518629193306,
0.02653818391263485,
-0.023683317005634308,
0.04169711470603943,
0.034620266407728195,
0.0019564370159059763,
0.004681878257542849,
0.008680197410285473,
-0.0027769594453275204,
-0.032247912138700485,
0.03339388221502304,
0.054282646626234055,
-0.01595306769013405,
0.009730666875839233,
0.010273493826389313,
-0.051628828048706055,
-0.03640958294272423,
-0.0278650913387537,
-0.04929668456315994,
0.004646695218980312,
0.05384034290909767,
0.006639571860432625,
0.02227598987519741,
0.0067250169813632965,
0.02945336140692234,
0.015832439064979553,
-0.06131928786635399,
-0.06055530905723572,
-0.05677562952041626,
-0.030197234824299812,
0.034077439457178116,
0.013620923273265362,
0.03148393705487251,
0.0503421276807785,
-0.021813582628965378,
0.02915179170668125,
-0.007227634079754353,
0.007323131430894136,
0.0398876927793026,
-0.05593123286962509,
-0.0397871695458889,
-0.0008921453845687211,
-0.03108184225857258,
0.041013557463884354,
0.033293355256319046,
0.01649589277803898,
0.040189262479543686,
-0.060917191207408905,
0.04752747341990471,
-0.044753026217222214,
-0.005563971120864153,
0.009745745919644833,
-0.055609557777643204,
-0.028709489852190018,
-0.04330549016594887,
-0.005322715267539024,
0.013188673183321953,
0.0371534563601017,
-0.040691882371902466,
-0.006544074509292841,
0.032790739089250565,
0.026759333908557892,
0.013701342046260834,
-0.013228882104158401,
0.00033204141072928905,
0.0052975844591856,
-0.015812333673238754,
-0.0372338742017746,
0.06127907708287239,
0.06204305589199066,
-0.04563763365149498,
-0.028769802302122116,
-0.010786162689328194,
-0.013399772346019745,
0.011580297723412514,
0.04035010188817978,
-0.019722694531083107,
-0.04137543961405754,
0.027121219784021378,
0.0504225492477417,
0.03287115693092346,
0.02653818391263485,
0.01722971349954605,
0.0716530978679657,
-0.05950986593961716,
-0.0371333509683609,
-0.003950570244342089,
-0.04981940612196922,
-0.047125380486249924,
0.04290339723229408,
0.05138757452368736,
0.08701307326555252,
-0.011339041404426098,
-0.009695484302937984,
-0.01594301499426365,
0.04189816117286682,
-0.03896287828683853,
-0.04290339723229408,
0.011318936944007874,
-0.0012791604967787862,
-0.04796977713704109,
-0.039706751704216,
-0.01623453199863434,
-0.09207945317029953,
-0.044954072684049606,
0.05725814029574394,
-0.0158827006816864,
-0.01169087365269661,
-0.041576486080884933,
-0.006544074509292841,
-0.0451149120926857,
-0.0037042880430817604,
-0.0319061353802681,
0.015179036185145378,
0.07985580712556839,
-0.00943412259221077,
-0.014847309328615665,
-0.005800201557576656,
-0.0741862878203392,
-0.030136922374367714,
-0.008705328218638897,
0.04571805149316788,
0.004998527001589537,
-0.049779199063777924,
-0.005910777021199465,
-0.019843323156237602,
0.05818295478820801,
-0.013651080429553986,
0.024487504735589027,
0.06678776443004608,
-0.033574823290109634,
0.05979133024811745,
0.034137751907110214,
0.018114320933818817,
0.09392908215522766,
0.013882284052670002,
0.07104995101690292,
-0.021130023524165154,
-0.04825124144554138,
0.00887119211256504,
0.042863186448812485,
0.006986377760767937,
-0.012997678481042385,
-0.01594301499426365,
0.03640958294272423,
-0.02019515447318554,
-0.003990779630839825,
0.0057449135929346085,
-0.04294360429048538,
-0.039143819361925125,
-0.039123713970184326,
-0.01938091591000557,
-0.024789076298475266,
-0.03787722438573837,
0.0036515132524073124,
0.050462756305933,
-0.006544074509292841,
0.036771468818187714,
0.019029082730412483,
-0.03552497550845146,
-0.0398675873875618,
0.0015907831257209182,
0.031725190579891205,
0.031142156571149826,
-0.014314535073935986,
-0.005976117216050625,
-0.029935874044895172,
-0.010434331372380257,
0.0002970153000205755,
-0.023542584851384163,
0.000990155735053122,
-0.009775903075933456,
-0.07406565546989441,
0.054765161126852036,
0.050261709839105606,
0.002588478149846196,
-0.03269021585583687,
-0.021411487832665443,
0.02621650882065296,
-0.033313460648059845,
-0.020908871665596962,
-0.0026839752681553364,
0.02277860790491104,
0.01128877978771925,
-0.02943325787782669,
-0.01314846333116293,
0.029393048956990242,
0.00837862677872181,
-0.00007382188778137788,
-0.01620437577366829,
0.009233076125383377,
-0.012676003389060497,
-0.016003329306840897,
-0.08636972308158875,
-0.02915179170668125,
0.0345599502325058,
-0.015802280977368355,
0.02070782519876957,
-0.05705709382891655,
-0.023462167009711266,
0.017621755599975586,
0.041295021772384644,
0.08669139444828033,
-0.023019863292574883,
0.015772124752402306,
-0.009278311394155025,
-0.022215675562620163,
-0.05946965515613556,
0.009082291275262833,
-0.01880793273448944,
-0.08653055876493454,
0.029252314940094948,
-0.007664910983294249,
0.022979654371738434,
0.01063537783920765,
-0.07828763872385025,
0.022115152329206467,
-0.027483103796839714,
0.009760824032127857,
-0.025090645998716354,
0.0225775595754385,
0.019441230222582817,
0.0032921419478952885,
0.0048427158035337925,
-0.0028975876048207283,
0.005553918890655041,
0.047648102045059204,
-0.015209193341434002,
-0.049457523971796036,
-0.07486984133720398,
-0.02255745604634285,
0.04306423291563988,
0.0018684790702536702,
-0.009755797684192657,
0.02730216085910797,
0.03152414411306381,
-0.00878072064369917,
0.06212347373366356,
0.021130023524165154,
-0.0557301826775074,
-0.03560539707541466,
0.0037017748691141605,
-0.03403722867369652,
-0.00013052337453700602,
-0.008534437976777554,
0.014545738697052002,
0.029875559732317924,
-0.06936115771532059,
-0.04302402585744858,
-0.03399702161550522,
-0.013037887401878834,
0.06819508969783783,
-0.04294360429048538,
-0.01248500868678093,
-0.012957468628883362,
0.06578252464532852,
-0.03562549874186516,
0.028226977214217186,
0.05195050314068794,
0.07937329262495041,
-0.02653818391263485,
-0.018998926505446434,
0.0029604146257042885,
0.04825124144554138,
0.0029981110710650682,
-0.039103612303733826,
0.04374779388308525,
-0.001105129369534552,
0.036208536475896835,
0.0023597872350364923,
-0.031202469021081924,
-0.003953083418309689,
0.0742667019367218,
0.028267186135053635,
0.0017591598443686962,
-0.0664660856127739,
0.04640161246061325,
-0.022356409579515457,
-0.0038098376244306564,
0.037032827734947205,
0.054041389375925064,
-0.031202469021081924,
-0.013862179592251778,
0.009288364090025425,
-0.0345197431743145,
-0.0035710944794118404,
0.015731915831565857,
0.011117890477180481,
0.054765161126852036,
0.03787722438573837,
0.004963343963027,
0.021009394899010658,
0.022396618500351906,
-0.020104683935642242,
-0.01934070698916912,
-0.030941108241677284,
-0.026357240974903107,
-0.02782488241791725,
-0.026317032054066658,
0.039686646312475204,
-0.0021285833790898323,
-0.005609206855297089,
-0.010605220682919025,
-0.01594301499426365,
0.05367950722575188,
0.0398675873875618,
0.028709489852190018,
0.12038684636354446,
0.015048355795443058,
-0.01831536740064621,
0.012193490751087666,
0.01231411937624216,
-0.006106797605752945,
-0.07358314096927643,
-0.029594095423817635,
0.008368575014173985,
-0.030136922374367714,
0.006177164148539305,
-0.020275574177503586,
-0.017621755599975586,
0.030076608061790466,
0.02895074523985386,
-0.03558529168367386,
-0.021934211254119873,
0.010022184811532497,
0.01910950243473053,
0.022718293592333794,
-0.04026968404650688,
-0.014455268159508705,
0.013510347343981266,
-0.00887621846050024,
0.00615705968812108,
0.04644181951880455,
-0.03663073480129242,
0.03074006177484989,
-0.04985961690545082,
-0.03948559984564781,
-0.02145169861614704,
0.002754341810941696,
0.023401852697134018,
0.046039726585149765,
0.07137162983417511,
0.04800998419523239,
0.06843634694814682,
-0.03524351119995117,
-0.031664878129959106,
0.058223165571689606,
-0.0876564234495163,
-0.010514750145375729,
0.056132279336452484,
-0.009363756515085697,
-0.0059308819472789764,
0.0319061353802681,
0.018375681713223457,
-0.033293355256319046,
-0.00017528771422803402,
0.024547819048166275,
-0.004149104002863169,
-0.016274740919470787,
-0.03291136771440506,
-0.0956982970237732,
0.03839994594454765,
-0.019772956147789955,
0.011871815659105778,
-0.09457243233919144,
-0.01472668070346117,
0.008579674176871777,
0.04173732548952103,
0.029513675719499588,
0.06477729231119156,
0.006528996396809816,
0.03359492868185043,
0.0874955877661705,
0.006890880409628153,
-0.020868662744760513,
-0.006277687847614288,
-0.0065390486270189285,
-0.06690838932991028,
0.008122292347252369,
0.043908629566431046,
0.05231238901615143,
0.007333183661103249,
-0.05621269717812538,
-0.01667683571577072,
0.023462167009711266,
0.07937329262495041,
-0.03813858702778816,
0.012334223836660385,
-0.02573399618268013,
-0.025110751390457153,
-0.006956220604479313,
0.018928559496998787,
-0.030900899320840836,
-0.04089292883872986,
-0.026638707146048546,
-0.01618427038192749,
-0.02277860790491104,
0.02410551719367504,
-0.0012358097592368722,
-0.05496620759367943,
-0.0397268570959568,
0.014927728101611137,
-0.0018295262707397342,
0.0036037645768374205,
-0.00688585452735424,
0.06079656630754471,
-0.01340982411056757,
0.009459254331886768,
0.022436827421188354,
-0.03608790785074234,
0.051628828048706055,
0.04322507232427597,
-0.04322507232427597,
-0.051347363740205765,
-0.053719714283943176,
-0.04085271805524826,
-0.031443726271390915,
-0.024004992097616196,
-0.04720579832792282,
0.02201462909579277,
-0.01165066473186016,
0.0032167495228350163,
-0.01726992428302765,
-0.028046034276485443,
-0.015550972893834114,
0.011127942241728306,
0.013661133125424385,
-0.014545738697052002,
-0.001022825832478702,
0.0030860689003020525,
0.0291920006275177,
-0.01622447930276394,
-0.006971299182623625,
-0.008996846154332161,
-0.0423806756734848,
0.05243301764130592,
-0.060354262590408325,
0.017993692308664322,
0.0009034542599692941,
-0.007916219532489777,
0.0041918265633285046,
0.028990954160690308,
0.01261568907648325,
-0.010846477001905441,
-0.02253735065460205,
0.007373393047600985,
-0.010967105627059937,
-0.006031405180692673,
0.004362716339528561,
0.007609623018652201,
-0.04161669686436653,
0.010565011762082577,
0.0030282679945230484,
0.007619675248861313,
0.042863186448812485,
-0.005508683621883392,
0.04173732548952103,
-0.027985719963908195,
0.01968248561024666,
0.001958950189873576,
0.02997608482837677,
-0.015440396964550018,
0.03793754056096077,
-0.01933065429329872,
-0.02410551719367504,
0.055609557777643204,
-0.01222364790737629,
-0.01063537783920765,
0.03506257012486458,
-0.014063226990401745,
-0.0066848075948655605,
0.04483344405889511,
-0.06735069304704666,
-0.027483103796839714,
0.057981908321380615,
-0.017672017216682434,
0.043104443699121475,
-0.0172096099704504,
0.0012502600438892841,
0.000574240053538233,
0.02623661234974861,
-0.01072584930807352,
-0.05520746111869812,
-0.032207705080509186,
-0.03747513145208359,
-0.01750112697482109,
0.022215675562620163,
-0.042300254106521606,
-0.01675725355744362,
0.03108184225857258,
-0.045155119150877,
-0.02227598987519741,
0.045155119150877,
0.08701307326555252,
-0.009167736396193504,
0.03126278519630432,
-0.02621650882065296,
-0.04929668456315994,
-0.0029780063778162003,
-0.027965616434812546,
-0.04374779388308525,
-0.046562448143959045,
0.04640161246061325,
-0.018787827342748642,
-0.006011300720274448,
0.06405352056026459,
0.0051467991434037685,
-0.05094527080655098,
-0.01694824919104576,
0.005684599280357361,
-0.028247080743312836,
0.05464453250169754,
0.013299248181283474,
0.01115809939801693,
0.00005862557372893207,
0.021652745082974434,
0.007192450575530529,
0.048412080854177475,
0.005408159922808409,
0.01648584008216858,
-0.004156643524765968,
0.06771257519721985,
0.03638947755098343,
-0.017139242962002754,
-0.01806405931711197,
-0.024507610127329826,
0.00443559605628252,
-0.013902389444410801,
-0.0638524740934372,
-0.017430761829018593,
-0.007830774411559105,
0.0344393253326416,
0.014515581540763378,
0.053478460758924484,
-0.0305390153080225,
0.03076016716659069,
-0.0635308027267456,
-0.017078928649425507,
-0.06320912390947342,
0.020647510886192322,
0.004380308091640472,
-0.0006546587683260441,
0.08452009409666061,
0.05118652433156967,
-0.05749939754605293,
-0.03920413553714752,
-0.05918819084763527,
-0.025914937257766724,
-0.033534612506628036,
-0.028548652306199074,
0.01642552763223648,
-0.01807411015033722,
-0.07326146960258484,
-0.019813166931271553,
-0.002430153777822852,
0.00021816723165102303,
-0.014274326153099537,
0.012032653205096722,
-0.04985961690545082,
0.07233665138483047,
0.041817743331193924,
0.03872162103652954,
-0.013761656358838081,
0.056655000895261765,
0.061158448457717896,
-0.06610420346260071,
0.006996429990977049,
-0.0239245742559433,
0.04398904740810394,
-0.050060663372278214,
0.06413394212722778,
0.005181982181966305,
0.012866998091340065,
0.005046275909990072,
-0.1326104998588562,
0.012424694374203682,
-0.0715726763010025,
0.0530763678252697,
0.04539637640118599,
0.032790739089250565,
-0.007187424693256617,
-0.01313841063529253,
-0.008308260701596737,
-0.04925647750496864,
0.02784498780965805,
0.0033524560276418924,
0.08677181601524353,
-0.01472668070346117,
-0.03365524113178253,
0.015410240739583969,
-0.00403852853924036,
-0.0007313078967854381,
0.04342611879110336,
-0.034137751907110214,
0.021813582628965378,
-0.03950570523738861,
0.049980245530605316,
-0.009579882025718689,
-0.010343859903514385,
0.04559742286801338,
0.00137340126093477,
0.017661964520812035,
0.009192867204546928,
0.04865333437919617,
0.012294013984501362,
0.013922493904829025,
0.09047108143568039,
-0.0021687927655875683,
0.05416201800107956,
-0.006483760662376881,
-0.023200806230306625,
-0.03126278519630432,
0.017983639612793922,
0.006338001694530249,
0.016264690086245537,
0.00135706621222198,
-0.03025754913687706,
-0.03850046917796135,
-0.014234116300940514,
-0.012324171140789986,
0.07229644060134888,
-0.0010913073783740401,
0.019220078364014626,
0.019481439143419266,
0.007830774411559105,
0.03900308907032013,
-0.04374779388308525,
0.0016096312319859862,
0.07390481978654861,
0.00022335047833621502,
0.040691882371902466,
0.035927072167396545,
-0.03317273035645485,
-0.020506778731942177,
0.037515342235565186,
0.021150127053260803,
-0.018657146021723747,
0.04889459162950516,
-0.020848557353019714,
0.008675171062350273,
-0.05227217823266983,
-0.011399355717003345,
0.04688412323594093,
0.027201637625694275,
-0.023723527789115906,
-0.03206697106361389,
0.0186169371008873,
-0.029875559732317924,
-0.0013093175366520882,
0.03506257012486458,
0.0060364315286278725,
0.0635710135102272,
-0.037253979593515396,
-0.018998926505446434,
0.0076799895614385605,
-0.030679747462272644,
-0.007187424693256617,
0.029232211410999298,
-0.024608133360743523,
-0.037253979593515396,
-0.07390481978654861,
-0.04917605593800545,
0.012153281830251217,
-0.02046656794846058,
0.03297168016433716,
-0.0252313781529665,
-0.09183819591999054,
-0.004666799679398537,
-0.004581355024129152,
0.02436687797307968,
0.007584492210298777,
0.03562549874186516,
0.02330132946372032,
0.0024741326924413443,
-0.02653818391263485,
-0.07382439821958542,
0.00043036590795964,
0.039425287395715714,
0.00648878701031208,
-0.005222191568464041,
-0.008599778637290001,
-0.019471386447548866,
-0.00038513034814968705,
-0.016134008765220642,
-0.014405006542801857,
0.03126278519630432,
0.039626333862543106,
-0.059871748089790344,
0.03417796269059181,
-0.007418628316372633,
-0.06176158785820007,
-0.0077051203697919846,
-0.000492878898512572,
0.00020355993183329701,
-0.024789076298475266,
0.02438698150217533,
0.09875420480966568,
0.05207113176584244,
-0.002661357633769512,
-0.03345419466495514,
0.005639364011585712,
0.034861523658037186,
-0.011509931646287441,
-0.015792230144143105,
-0.030438492074608803,
0.06083677336573601,
0.0060364315286278725,
0.01568165421485901,
0.03206697106361389,
-0.02844812721014023,
0.03630905970931053,
-0.061922427266836166,
-0.05432285740971565,
-0.0038575863000005484,
0.09851295500993729,
0.01421401184052229,
0.07736282795667648,
-0.00020371699065435678,
0.04700475186109543,
-0.006599362473934889,
-0.010655482299625874,
0.07643800973892212,
0.005910777021199465,
0.001330678816884756,
0.00984124280512333,
-0.02762383595108986,
-0.01301778294146061,
0.030116816982626915,
0.00970553606748581,
-0.01313841063529253,
0.005312662571668625,
-0.029895665124058723,
-0.016847725957632065,
-0.0039003086276352406,
0.00917276181280613,
-0.04676349461078644,
0.022396618500351906,
0.0033474299125373363,
0.069039486348629,
-0.031946342438459396,
0.0014425111003220081,
-0.01447537261992693,
0.059871748089790344,
-0.007091927342116833,
-0.00150659482460469,
-0.07350272685289383,
-0.04463239759206772,
-0.05138757452368736,
0.056092068552970886,
-0.007353288121521473,
0.03783701732754707,
0.0007545539410784841,
-0.05363929644227028,
0.04358695447444916,
0.031684983521699905,
0.03506257012486458
] |
709,969
|
pytorch_msssim.ssim
|
ssim
|
interface of ssim
Args:
X (torch.Tensor): a batch of images, (N,C,H,W)
Y (torch.Tensor): a batch of images, (N,C,H,W)
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
win (torch.Tensor, optional): 1-D gauss kernel. if None, a new kernel will be created according to win_size and win_sigma
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
nonnegative_ssim (bool, optional): force the ssim response to be nonnegative with relu
Returns:
torch.Tensor: ssim results
|
def ssim(
X: Tensor,
Y: Tensor,
data_range: float = 255,
size_average: bool = True,
win_size: int = 11,
win_sigma: float = 1.5,
win: Optional[Tensor] = None,
K: Union[Tuple[float, float], List[float]] = (0.01, 0.03),
nonnegative_ssim: bool = False,
) -> Tensor:
r""" interface of ssim
Args:
X (torch.Tensor): a batch of images, (N,C,H,W)
Y (torch.Tensor): a batch of images, (N,C,H,W)
data_range (float or int, optional): value range of input images. (usually 1.0 or 255)
size_average (bool, optional): if size_average=True, ssim of all images will be averaged as a scalar
win_size: (int, optional): the size of gauss kernel
win_sigma: (float, optional): sigma of normal distribution
win (torch.Tensor, optional): 1-D gauss kernel. if None, a new kernel will be created according to win_size and win_sigma
K (list or tuple, optional): scalar constants (K1, K2). Try a larger K2 constant (e.g. 0.4) if you get a negative or NaN results.
nonnegative_ssim (bool, optional): force the ssim response to be nonnegative with relu
Returns:
torch.Tensor: ssim results
"""
if not X.shape == Y.shape:
raise ValueError(f"Input images should have the same dimensions, but got {X.shape} and {Y.shape}.")
for d in range(len(X.shape) - 1, 1, -1):
X = X.squeeze(dim=d)
Y = Y.squeeze(dim=d)
if len(X.shape) not in (4, 5):
raise ValueError(f"Input images should be 4-d or 5-d tensors, but got {X.shape}")
#if not X.type() == Y.type():
# raise ValueError(f"Input images should have the same dtype, but got {X.type()} and {Y.type()}.")
if win is not None: # set win_size
win_size = win.shape[-1]
if not (win_size % 2 == 1):
raise ValueError("Window size should be odd.")
if win is None:
win = _fspecial_gauss_1d(win_size, win_sigma)
win = win.repeat([X.shape[1]] + [1] * (len(X.shape) - 1))
ssim_per_channel, cs = _ssim(X, Y, data_range=data_range, win=win, size_average=False, K=K)
if nonnegative_ssim:
ssim_per_channel = torch.relu(ssim_per_channel)
if size_average:
return ssim_per_channel.mean()
else:
return ssim_per_channel.mean(1)
|
(X: torch.Tensor, Y: torch.Tensor, data_range: float = 255, size_average: bool = True, win_size: int = 11, win_sigma: float = 1.5, win: Optional[torch.Tensor] = None, K: Union[Tuple[float, float], List[float]] = (0.01, 0.03), nonnegative_ssim: bool = False) -> torch.Tensor
|
[
-0.01744088903069496,
-0.09732982516288757,
-0.02330710180103779,
-0.07772977650165558,
0.005274661350995302,
0.0430648997426033,
-0.029814161360263824,
-0.03545361012220383,
0.025693023577332497,
0.0500451996922493,
0.03275219723582268,
-0.006319734267890453,
0.04330151900649071,
0.013083131983876228,
-0.0275071132928133,
0.028591621667146683,
0.02957754023373127,
-0.006290156859904528,
-0.012550735846161842,
0.01156481821089983,
0.0013975388137623668,
-0.019156387075781822,
0.023366257548332214,
0.02894655242562294,
-0.00848875381052494,
0.030563458800315857,
0.026659222319722176,
-0.05363393947482109,
-0.04653533175587654,
-0.01226481981575489,
-0.0358479805290699,
-0.011545100249350071,
0.06680580228567123,
0.031076135113835335,
0.023701468482613564,
0.03070148639380932,
0.02786204218864441,
0.029143735766410828,
-0.037662066519260406,
-0.025436684489250183,
-0.0653860792517662,
-0.01131833903491497,
0.04314377158880234,
-0.0031697263475507498,
0.024095837026834488,
0.054817039519548416,
-0.020408503711223602,
0.007483117748051882,
-0.01886061206459999,
-0.0002454011410009116,
0.04026489332318306,
-0.04838885739445686,
-0.04566772282123566,
0.0012102143373340368,
-0.00849861279129982,
0.03320571780204773,
0.05059731379151344,
0.018663428723812103,
0.051662102341651917,
-0.06179733946919441,
0.04606208950281143,
-0.04503673315048218,
0.007049313746392727,
0.0017672580434009433,
-0.04704800620675087,
-0.03034655563533306,
-0.03539445623755455,
-0.006068325135856867,
0.009800025261938572,
0.026856405660510063,
-0.04054094851016998,
0.0297550056129694,
0.04132968187332153,
0.023957807570695877,
0.00841974001377821,
0.0014049331657588482,
0.009578193537890911,
0.006871848367154598,
-0.01086481660604477,
-0.0484677292406559,
0.08281711488962173,
0.07615230977535248,
-0.03714939206838608,
-0.019895825535058975,
-0.029222609475255013,
-0.015646519139409065,
0.016780324280261993,
0.017657792195677757,
-0.006896496284753084,
-0.031095854938030243,
0.01470989640802145,
0.03555220365524292,
0.03413248062133789,
0.0067486087791621685,
0.0330282524228096,
0.0766649842262268,
-0.055448029190301895,
-0.04243391007184982,
0.010273265652358532,
-0.0638086125254631,
-0.041132498532533646,
0.051859285682439804,
0.04393250495195389,
0.08447345346212387,
-0.01717469096183777,
0.0029405003879219294,
-0.022991608828306198,
0.05556634068489075,
-0.03519727289676666,
-0.028571903705596924,
0.016583140939474106,
0.03507896140217781,
-0.06006212532520294,
-0.023188792169094086,
-0.01712539605796337,
-0.08202838152647018,
-0.049808576703071594,
0.047757867723703384,
-0.015133841894567013,
-0.027901479974389076,
-0.058879025280475616,
-0.007537343073636293,
-0.031194446608424187,
-0.0029232469387352467,
-0.003988038282841444,
0.03710995241999626,
0.05390999838709831,
0.013792992569506168,
-0.023228228092193604,
-0.018840892240405083,
-0.05647338181734085,
-0.027408519759774208,
-0.008922558277845383,
0.04424799978733063,
0.02405639924108982,
-0.04890153184533119,
0.011762001551687717,
-0.004700364079326391,
0.045076172798871994,
-0.008853543549776077,
0.017026804387569427,
0.0509522445499897,
-0.051031116396188736,
0.08108189702033997,
0.03744516521692276,
0.01826906017959118,
0.0971720814704895,
0.02044793963432312,
0.07836076617240906,
-0.02624513767659664,
-0.04866491258144379,
0.011969044804573059,
0.04748181253671646,
0.023997243493795395,
0.005540859419852495,
-0.00982467271387577,
0.03227895498275757,
-0.04030432924628258,
0.010667633265256882,
0.001910216175019741,
-0.04858604073524475,
-0.0500451996922493,
-0.03521699085831642,
-0.030622612684965134,
-0.02486485242843628,
-0.03724798187613487,
-0.011416930705308914,
0.07063116878271103,
-0.0005092882784083486,
0.03714939206838608,
0.016238069161772728,
-0.04799448698759079,
-0.024431047961115837,
0.0016711310017853975,
0.03638037294149399,
0.03332402929663658,
-0.016238069161772728,
-0.012215523980557919,
-0.03273247927427292,
0.0014554614899680018,
-0.008567627519369125,
-0.03850995749235153,
0.0015022925799712539,
-0.022301465272903442,
-0.07481145858764648,
0.05130717158317566,
0.03440853953361511,
0.004399659112095833,
-0.03569023311138153,
-0.02658035047352314,
0.022735269740223885,
-0.021315546706318855,
-0.022616958245635033,
0.002017434686422348,
0.01855497620999813,
-0.008981713093817234,
-0.047126881778240204,
0.0011393515160307288,
0.020102867856621742,
-0.0058366344310343266,
0.01511412300169468,
0.014088768512010574,
0.007700019516050816,
-0.021631041541695595,
-0.02579161524772644,
-0.05651282146573067,
-0.029636695981025696,
0.021473294124007225,
0.005452126730233431,
0.02044793963432312,
-0.06148184835910797,
-0.021197237074375153,
0.00951903872191906,
0.01918596401810646,
0.06818608939647675,
-0.012807074934244156,
0.026521194726228714,
-0.012915525585412979,
-0.02734936587512493,
-0.06388748437166214,
0.045983217656612396,
-0.029222609475255013,
-0.07674385607242584,
0.028374720364809036,
-0.0058662123046815395,
0.03710995241999626,
0.003036627545952797,
-0.08960022777318954,
0.020566249266266823,
-0.028828242793679237,
0.003061275463551283,
-0.02437189407646656,
0.029163455590605736,
0.011131014674901962,
-0.0041679684072732925,
0.030957825481891632,
0.0003422984154894948,
0.015469053760170937,
0.05588183179497719,
0.0013051090063527226,
-0.061126917600631714,
-0.06238889321684837,
-0.03172684088349342,
0.042867716401815414,
-0.0097507294267416,
-0.018673287704586983,
-0.001454229117371142,
0.05596070736646652,
-0.03533530235290527,
0.04109306260943413,
0.010371857322752476,
-0.04030432924628258,
-0.037662066519260406,
-0.0007240335107780993,
-0.024588795378804207,
0.004308461677283049,
-0.03963390365242958,
0.016602858901023865,
0.045076172798871994,
-0.06321706622838974,
-0.025062035769224167,
-0.04274940490722656,
-0.014502854086458683,
0.05469873175024986,
-0.04700857028365135,
-0.010953549295663834,
-0.026659222319722176,
0.05777479708194733,
-0.019235260784626007,
0.03667614981532097,
0.06432129442691803,
0.08321148157119751,
-0.007049313746392727,
-0.026619786396622658,
0.03726769983768463,
0.045707158744335175,
0.02044793963432312,
-0.03712967410683632,
0.0676339790225029,
-0.009233121760189533,
0.022735269740223885,
0.008947205729782581,
-0.026462038978934288,
-0.012590172700583935,
0.088811494410038,
0.026067672297358513,
0.01807187683880329,
-0.025357810780405998,
0.03979165107011795,
-0.014571867883205414,
0.007044384256005287,
0.04752124845981598,
0.026521194726228714,
-0.030602894723415375,
-0.01384228840470314,
0.01890004798769951,
-0.05489591509103775,
0.013901444151997566,
0.0131324278190732,
-0.0005521140992641449,
0.05454098433256149,
0.03539445623755455,
-0.011762001551687717,
0.010154955089092255,
0.0361831896007061,
-0.02344512939453125,
-0.015271870419383049,
-0.03764234855771065,
-0.03647896647453308,
-0.03825362026691437,
-0.009967630729079247,
0.04606208950281143,
-0.015833843499422073,
-0.01605074480175972,
-0.0005268499371595681,
-0.020231038331985474,
0.06006212532520294,
0.027428239583969116,
0.021019771695137024,
0.09772419184446335,
0.03659727796912193,
-0.00703452480956912,
0.0005665947683155537,
-0.007966217584908009,
-0.004101418890058994,
-0.08691853284835815,
-0.030622612684965134,
0.027940915897488594,
-0.033087410032749176,
0.03162825107574463,
-0.02279442362487316,
-0.02234090119600296,
0.03507896140217781,
0.02786204218864441,
-0.04535222798585892,
-0.022281747311353683,
0.015814125537872314,
0.02374090626835823,
0.010352139361202717,
-0.039121225476264954,
-0.037504322826862335,
-0.016415534541010857,
-0.0006556354928761721,
-0.007517624646425247,
0.04957195743918419,
-0.02249864861369133,
0.03478318825364113,
-0.05994381383061409,
-0.010904253460466862,
-0.029163455590605736,
0.013852148316800594,
0.035000089555978775,
0.05596070736646652,
0.04093531519174576,
0.036735303699970245,
0.06069311127066612,
-0.032791633158922195,
-0.0330282524228096,
0.053239572793245316,
-0.10490167886018753,
-0.016474690288305283,
0.03793812543153763,
-0.008715515024960041,
-0.010835238732397556,
0.008114105090498924,
0.020211318507790565,
-0.04211841896176338,
-0.010164815001189709,
0.034073326736688614,
0.021788787096738815,
-0.00872044451534748,
-0.020862024277448654,
-0.10742562264204025,
0.015685955062508583,
-0.0002392391616012901,
0.0018818710232153535,
-0.048980407416820526,
-0.02216343767940998,
-0.01619863323867321,
0.02658035047352314,
0.024963444098830223,
0.07331286370754242,
-0.00164155347738415,
0.031214164569973946,
0.06656918674707413,
0.0071035390719771385,
-0.018436666578054428,
0.011426789686083794,
0.005974662955850363,
-0.07520582526922226,
-0.0018473638920113444,
0.032929662615060806,
0.07256356626749039,
0.027447957545518875,
-0.05375225096940994,
-0.0428282767534256,
0.00951903872191906,
0.06483396887779236,
-0.03985080495476723,
0.025752179324626923,
-0.026777533814311028,
-0.00841481052339077,
-0.0008300197077915072,
0.009849321097135544,
-0.0015392644563689828,
-0.017095819115638733,
-0.03760291263461113,
-0.04278884083032608,
-0.022735269740223885,
0.01683948002755642,
0.015281729400157928,
-0.07323399186134338,
-0.023977525532245636,
0.012767638079822063,
-0.0007301955483853817,
0.028749369084835052,
-0.03332402929663658,
0.06440016627311707,
-0.02644232101738453,
0.01842680759727955,
-0.0007431356934830546,
-0.03821418061852455,
0.0365184023976326,
0.07402272522449493,
-0.04685082286596298,
-0.016129618510603905,
-0.03541417419910431,
-0.017529621720314026,
-0.022084563970565796,
-0.01636623963713646,
-0.04685082286596298,
0.04247334972023964,
0.005397900938987732,
-0.0002531036443542689,
-0.015607082284986973,
-0.04921702668070793,
-0.02362259477376938,
-0.0014209543587639928,
0.004946843720972538,
0.005560577381402254,
0.014335247687995434,
-0.0001962593087228015,
0.019698642194271088,
-0.01157467719167471,
-0.01685919798910618,
0.006945792585611343,
-0.0386677049100399,
0.08258049190044403,
-0.042552221566438675,
0.007088750600814819,
0.014976094476878643,
-0.023405693471431732,
-0.0226563960313797,
0.043656449764966965,
0.010076082311570644,
-0.03068176843225956,
-0.024805696681141853,
0.003751418087631464,
-0.010835238732397556,
-0.003970784600824118,
0.025554994121193886,
0.025850770995020866,
-0.05935226380825043,
-0.0035049384459853172,
0.009154248982667923,
-0.01047044899314642,
0.0462198369204998,
-0.017243705689907074,
0.03334374725818634,
-0.0421578548848629,
0.015301447361707687,
0.004059517290443182,
0.03898319974541664,
-0.016267647966742516,
0.021138081327080727,
-0.006546495482325554,
0.006378889549523592,
0.06664805859327316,
-0.03133247420191765,
-0.011633832938969135,
0.04054094851016998,
-0.009193685837090015,
-0.012560595758259296,
0.035157836973667145,
-0.049177590757608414,
-0.03586769849061966,
0.040186017751693726,
0.00039806441054679453,
0.0298733152449131,
0.012550735846161842,
-0.012136650271713734,
-0.03241698443889618,
0.003884516889229417,
-0.009336643852293491,
-0.04448461905121803,
-0.052174780517816544,
-0.007522554602473974,
-0.010825379751622677,
-0.005082407500594854,
-0.031233882531523705,
-0.0267183780670166,
0.02815781906247139,
-0.025870488956570625,
-0.00511198490858078,
0.043814197182655334,
0.06325650215148926,
0.009814813733100891,
0.01932399347424507,
-0.03007049858570099,
-0.03586769849061966,
0.0017389128915965557,
-0.02044793963432312,
-0.029143735766410828,
-0.06073255091905594,
0.03886488825082779,
-0.03511840105056763,
-0.00401022145524621,
0.044878989458084106,
-0.011614114046096802,
-0.05304238945245743,
-0.014788770116865635,
0.013891585171222687,
-0.008434528484940529,
0.07268187403678894,
0.023642314597964287,
0.006635228171944618,
0.03174655884504318,
0.012708483263850212,
-0.01682962104678154,
0.02157188579440117,
-0.003238740609958768,
0.013339471071958542,
-0.015380321070551872,
0.05438323691487312,
0.0267183780670166,
0.0029577540699392557,
-0.011880312114953995,
-0.026008516550064087,
0.005092266481369734,
-0.01517327781766653,
-0.07705935090780258,
0.012304256670176983,
-0.021197237074375153,
0.054974786937236786,
0.024273300543427467,
0.04704800620675087,
-0.027408519759774208,
0.029380356892943382,
-0.02924232743680477,
-0.04093531519174576,
-0.06294100731611252,
0.038312774151563644,
0.01650426723062992,
-0.026619786396622658,
0.05643394589424133,
0.06905369460582733,
-0.04838885739445686,
-0.027447957545518875,
-0.0619945228099823,
-0.03147050365805626,
-0.022064844146370888,
-0.02468738704919815,
0.007492976728826761,
-0.019698642194271088,
-0.05631563812494278,
-0.029380356892943382,
0.006502129137516022,
-0.014138064347207546,
-0.009238052181899548,
-0.005540859419852495,
-0.048980407416820526,
0.07410159707069397,
0.035019807517528534,
0.041605740785598755,
-0.015271870419383049,
0.04061982035636902,
0.07134103029966354,
-0.0798199251294136,
0.005038041155785322,
-0.04188179597258568,
0.028847960755228996,
-0.07307624071836472,
0.04132968187332153,
-0.011249324306845665,
0.003145078429952264,
0.021473294124007225,
-0.13329611718654633,
0.012136650271713734,
-0.07429878413677216,
0.044918425381183624,
0.07216919958591461,
0.04480011388659477,
-0.015311306342482567,
-0.01919582299888134,
-0.00848875381052494,
-0.04180292412638664,
0.033876143395900726,
-0.013102849945425987,
0.08084527403116226,
-0.01179157942533493,
-0.041290245950222015,
0.0066056507639586926,
-0.01759863644838333,
-0.01746060885488987,
0.03413248062133789,
-0.02529865689575672,
0.013023977167904377,
-0.028433876112103462,
0.06270438432693481,
-0.024016963317990303,
-0.01219580601900816,
0.051662102341651917,
0.009450023993849754,
0.001652645063586533,
0.009701433591544628,
0.05856353044509888,
0.026304293423891068,
0.02565358579158783,
0.07071004062891006,
0.0037686715368181467,
0.05509309843182564,
-0.013023977167904377,
-0.02389865182340145,
-0.02687612548470497,
0.005333816632628441,
-0.010894393548369408,
0.007616216782480478,
0.0018276454648002982,
-0.02579161524772644,
-0.04921702668070793,
-0.011821157298982143,
0.00267183780670166,
0.057025495916604996,
0.01902821846306324,
0.025357810780405998,
-0.008217626251280308,
0.004441560711711645,
0.05130717158317566,
-0.048704348504543304,
-0.004118672572076321,
0.062191709876060486,
0.00849861279129982,
0.033619802445173264,
0.0604170560836792,
-0.019738078117370605,
-0.041290245950222015,
0.03316628187894821,
0.02360287681221962,
-0.00037033544504083693,
0.013073273003101349,
-0.004722547251731157,
0.01637609861791134,
-0.03415219858288765,
-0.004821138922125101,
0.04227616265416145,
0.028374720364809036,
-0.010766224935650826,
-0.036084599792957306,
0.01486764382570982,
-0.0196690633893013,
0.01424651499837637,
0.03780009597539902,
0.011762001551687717,
0.06652975082397461,
-0.05300295352935791,
-0.02376062422990799,
0.004582053981721401,
-0.05584239587187767,
-0.0191662460565567,
0.019688783213496208,
-0.04424799978733063,
-0.036242347210645676,
-0.054817039519548416,
-0.03884517028927803,
0.022459212690591812,
-0.012698624283075333,
0.024628231301903725,
-0.020704278722405434,
-0.09843405336141586,
0.013664823956787586,
-0.03221980109810829,
0.0032658535055816174,
-0.0024574005510658026,
0.028256410732865334,
0.016711309552192688,
0.02376062422990799,
-0.01733243837952614,
-0.09346503019332886,
0.01085495762526989,
0.03841136395931244,
0.0006728890584781766,
-0.0011171683436259627,
-0.00499860430136323,
-0.03803671523928642,
0.012718342244625092,
-0.008168330416083336,
-0.030740924179553986,
0.04704800620675087,
0.03415219858288765,
-0.03841136395931244,
0.033757831901311874,
0.004118672572076321,
-0.048704348504543304,
0.014138064347207546,
-0.020842306315898895,
-0.01794370822608471,
-0.035315584391355515,
0.021808506920933723,
0.0985129252076149,
0.040245171636343,
-0.004688040353357792,
-0.05051843822002411,
-0.0043109264224767685,
0.01605074480175972,
-0.01873244158923626,
0.0005937074893154204,
-0.009331714361906052,
0.052766330540180206,
0.017036663368344307,
0.0063394526951014996,
0.04752124845981598,
-0.043735321611166,
0.03574938699603081,
-0.05316070094704628,
-0.05619732663035393,
-0.017076099291443825,
0.09638334810733795,
0.012314115650951862,
0.08463120460510254,
0.004101418890058994,
0.04345926642417908,
0.014601445756852627,
-0.012511299923062325,
0.07319455593824387,
-0.0018720118096098304,
-0.02784232422709465,
-0.011505663394927979,
-0.034211356192827225,
-0.014690178446471691,
-0.0003176504687871784,
0.036242347210645676,
-0.010904253460466862,
0.008050020784139633,
-0.043498702347278595,
0.01983666978776455,
-0.026619786396622658,
0.014907080680131912,
-0.055605776607990265,
0.014621163718402386,
0.014374684542417526,
0.04069869592785835,
-0.03320571780204773,
0.0027162041515111923,
0.008000724948942661,
0.06625369191169739,
-0.013891585171222687,
-0.016928212717175484,
-0.04200010746717453,
-0.01587327942252159,
-0.034546565264463425,
0.04073813185095787,
-0.008695797063410282,
0.031687404960393906,
-0.02236062102019787,
-0.0597466304898262,
0.03778037801384926,
0.03758319467306137,
0.027250774204730988
] |
709,970
|
urllib3_future._async.connectionpool
|
AsyncHTTPConnectionPool
|
Task-safe async connection pool for one host.
:param host:
Host used for this HTTP Connection (e.g. "localhost"), passed into
:class:`http.client.HTTPConnection`.
:param port:
Port used for this HTTP Connection (None is equivalent to 80), passed
into :class:`http.client.HTTPConnection`.
:param timeout:
Socket timeout in seconds for each individual connection. This can
be a float or integer, which sets the timeout for the HTTP request,
or an instance of :class:`urllib3.util.Timeout` which gives you more
fine-grained control over request timeouts. After the constructor has
been parsed, this is always a `urllib3.util.Timeout` object.
:param maxsize:
Number of connections to save that can be reused. More than 1 is useful
in multithreaded situations. If ``block`` is set to False, more
connections will be created but they will not be saved once they've
been used.
:param block:
If set to True, no more than ``maxsize`` connections will be used at
a time. When no free connections are available, the call will block
until a connection has been released. This is a useful side effect for
particular multithreaded situations where one does not want to use more
than maxsize connections per host to prevent flooding.
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
:param retries:
Retry configuration to use by default with requests in this pool.
:param _proxy:
Parsed proxy URL, should not be used directly, instead, see
:class:`urllib3.ProxyManager`
:param _proxy_headers:
A dictionary with proxy headers, should not be used directly,
instead, see :class:`urllib3.AsyncProxyManager`
:param \**conn_kw:
Additional parameters are used to create fresh :class:`urllib3._async.connection.AsyncHTTPConnection`,
:class:`urllib3._async.connection.AsyncHTTPSConnection` instances.
|
class AsyncHTTPConnectionPool(AsyncConnectionPool, AsyncRequestMethods):
"""
Task-safe async connection pool for one host.
:param host:
Host used for this HTTP Connection (e.g. "localhost"), passed into
:class:`http.client.HTTPConnection`.
:param port:
Port used for this HTTP Connection (None is equivalent to 80), passed
into :class:`http.client.HTTPConnection`.
:param timeout:
Socket timeout in seconds for each individual connection. This can
be a float or integer, which sets the timeout for the HTTP request,
or an instance of :class:`urllib3.util.Timeout` which gives you more
fine-grained control over request timeouts. After the constructor has
been parsed, this is always a `urllib3.util.Timeout` object.
:param maxsize:
Number of connections to save that can be reused. More than 1 is useful
in multithreaded situations. If ``block`` is set to False, more
connections will be created but they will not be saved once they've
been used.
:param block:
If set to True, no more than ``maxsize`` connections will be used at
a time. When no free connections are available, the call will block
until a connection has been released. This is a useful side effect for
particular multithreaded situations where one does not want to use more
than maxsize connections per host to prevent flooding.
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
:param retries:
Retry configuration to use by default with requests in this pool.
:param _proxy:
Parsed proxy URL, should not be used directly, instead, see
:class:`urllib3.ProxyManager`
:param _proxy_headers:
A dictionary with proxy headers, should not be used directly,
instead, see :class:`urllib3.AsyncProxyManager`
:param \\**conn_kw:
Additional parameters are used to create fresh :class:`urllib3._async.connection.AsyncHTTPConnection`,
:class:`urllib3._async.connection.AsyncHTTPSConnection` instances.
"""
scheme = "http"
ConnectionCls: (
type[AsyncHTTPConnection] | type[AsyncHTTPSConnection]
) = AsyncHTTPConnection
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
_proxy_config: ProxyConfig | None = None,
resolver: AsyncResolverDescription
| list[AsyncResolverDescription]
| str
| list[str]
| AsyncBaseResolver
| None = None,
happy_eyeballs: bool | int = False,
**conn_kw: typing.Any,
):
AsyncConnectionPool.__init__(self, host, port)
AsyncRequestMethods.__init__(self, headers)
if not isinstance(timeout, Timeout):
timeout = Timeout.from_float(timeout)
if retries is None:
retries = Retry.DEFAULT
self.timeout = timeout
self.retries = retries
self.happy_eyeballs = happy_eyeballs
self._maxsize = maxsize
if self.QueueCls is not AsyncTrafficPolice and not issubclass(
self.QueueCls, AsyncTrafficPolice
):
warnings.warn(
"ConnectionPool QueueCls no longer support typical queue implementation "
"due to its inability to answer urllib3.future needs to handle concurrent streams "
"in a single connection. You may customize the implementation by passing a subclass of "
"urllib3.util._async.traffic_police.AsyncTrafficPolice if necessary.",
DeprecationWarning,
)
self.QueueCls = AsyncTrafficPolice
self.pool: AsyncTrafficPolice[AsyncHTTPConnection] | None = self.QueueCls(
maxsize
)
self.block = block
self.proxy = _proxy
self.proxy_headers = _proxy_headers or {}
self.proxy_config = _proxy_config
# These are mostly for testing and debugging purposes.
self.num_connections = 0
self.num_requests = 0
self.conn_kw = conn_kw
if self.proxy:
# Enable Nagle's algorithm for proxies, to avoid packet fragmentation.
# We cannot know if the user has added default socket options, so we cannot replace the
# list.
self.conn_kw.setdefault("socket_options", [])
self.conn_kw["proxy"] = self.proxy
self.conn_kw["proxy_config"] = self.proxy_config
self._own_resolver = not isinstance(resolver, AsyncBaseResolver)
if resolver is None:
resolver = [AsyncResolverDescription(ProtocolResolver.SYSTEM)]
elif isinstance(resolver, str):
resolver = [AsyncResolverDescription.from_url(resolver)]
elif isinstance(resolver, AsyncResolverDescription):
resolver = [resolver]
self._resolvers: list[AsyncResolverDescription] = []
if not isinstance(resolver, AsyncBaseResolver):
can_resolve_localhost: bool = False
for resolver_description in resolver:
if isinstance(resolver_description, str):
self._resolvers.append(
AsyncResolverDescription.from_url(resolver_description)
)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
continue
self._resolvers.append(resolver_description)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
if not can_resolve_localhost:
self._resolvers.append(
AsyncResolverDescription.from_url(
"system://default?hosts=localhost"
)
)
#: We want to automatically forward ca_cert_data, ca_cert_dir, and ca_certs.
for rd in self._resolvers:
if "ca_cert_data" in conn_kw:
if "ca_cert_data" not in rd:
rd["ca_cert_data"] = conn_kw["ca_cert_data"]
if "ca_cert_dir" in conn_kw:
if "ca_cert_dir" not in rd:
rd["ca_cert_dir"] = conn_kw["ca_cert_dir"]
if "ca_certs" in conn_kw:
if "ca_certs" not in rd:
rd["ca_certs"] = conn_kw["ca_certs"]
self._resolver: AsyncBaseResolver = (
AsyncManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, AsyncBaseResolver)
else resolver
)
self.conn_kw["resolver"] = self._resolver
@property
def is_idle(self) -> bool:
return self.pool is None or self.pool.bag_only_idle
async def _new_conn(
self, *, heb_timeout: Timeout | None = None
) -> AsyncHTTPConnection:
"""
Return a fresh :class:`HTTPConnection`.
"""
if self.pool is None:
raise ClosedPoolError(self, "Pool is closed")
self.num_connections += 1
log.debug(
"Starting new HTTP connection (%d): %s:%s",
self.num_connections,
self.host,
self.port or "80",
)
conn = None
# this path is applicable if resolver yield at least two records.
# if A/AAAA records only (non-dual stack) -> spawn 4 (default) tasks with each record
# if A/AAAA records mixed (dual stack) -> spawn 4 (default) tasks following this pattern (IPv6, IPv4, IPv6, IPv4)
# if single record A or AAAA -> ignore
# Don't mind about HTTP/2 or 3 in here, we're unencrypted here!
if self.happy_eyeballs:
|
(host: 'str', port: 'int | None' = None, timeout: '_TYPE_TIMEOUT | None' = <_TYPE_DEFAULT.token: -1>, maxsize: 'int' = 1, block: 'bool' = False, headers: 'typing.Mapping[str, str] | None' = None, retries: 'Retry | bool | int | None' = None, _proxy: 'Url | None' = None, _proxy_headers: 'typing.Mapping[str, str] | None' = None, _proxy_config: 'ProxyConfig | None' = None, resolver: 'AsyncResolverDescription | list[AsyncResolverDescription] | str | list[str] | AsyncBaseResolver | None' = None, happy_eyeballs: 'bool | int' = False, **conn_kw: 'typing.Any')
|
[
0.0003522935730870813,
-0.06313915550708771,
-0.057843610644340515,
0.016670772805809975,
-0.031080758199095726,
0.028860703110694885,
-0.04814869537949562,
-0.004865278955549002,
-0.02492978237569332,
-0.11462811380624771,
0.04880045726895332,
0.04684517905116081,
0.01725124567747116,
0.032730523496866226,
0.002269699703902006,
0.026681384071707726,
0.014532188884913921,
-0.003128952346742153,
0.016293974593281746,
-0.05026691406965256,
-0.020347101613879204,
0.0640353187918663,
-0.006649978458881378,
-0.02374846860766411,
-0.01066237036138773,
0.032119497656822205,
-0.019725894555449486,
-0.0031696874648332596,
0.029960546642541885,
-0.0050842296332120895,
0.005201342515647411,
0.04440108314156532,
0.006655070465058088,
0.044156674295663834,
0.07250818610191345,
-0.02083592116832733,
0.02378920279443264,
0.023992879316210747,
-0.03945178911089897,
-0.012424156069755554,
-0.014796965755522251,
-0.06093946844339371,
-0.06216151639819145,
-0.024481697008013725,
0.02763865515589714,
0.030958551913499832,
-0.03478763625025749,
0.04920780658721924,
0.0009311751928180456,
-0.046071216464042664,
-0.005091867409646511,
0.023096710443496704,
0.006583784241229296,
0.021222902461886406,
0.015662584453821182,
0.07955533266067505,
-0.05527731031179428,
0.06761999428272247,
-0.024970516562461853,
0.008987145498394966,
-0.02649807743728161,
-0.012546360492706299,
0.013615652918815613,
-0.014012818224728107,
-0.05507363751530647,
-0.0135341826826334,
-0.028371883556246758,
-0.00704205222427845,
0.023911409080028534,
-0.04354564845561981,
0.05026691406965256,
0.049370743334293365,
-0.01681334525346756,
-0.04476769641041756,
0.043382707983255386,
0.0013226125156506896,
-0.02191539667546749,
0.01910468563437462,
-0.02841261960566044,
0.014135023579001427,
-0.006038954481482506,
0.012067724950611591,
0.04969662427902222,
-0.06550177931785583,
0.0633835643529892,
-0.08766158670186996,
-0.011039168573915958,
0.008299743756651878,
-0.06766073405742645,
-0.027720125392079353,
0.0032129681203514338,
0.002025290159508586,
0.03423771634697914,
0.0031213145703077316,
-0.012210297398269176,
-0.02464463748037815,
-0.016996651887893677,
-0.03812790289521217,
-0.016731875017285347,
-0.027210937812924385,
-0.043382707983255386,
-0.01945093274116516,
-0.04022575169801712,
-0.014124839566648006,
-0.017974290996789932,
-0.07206010818481445,
0.0010132815223187208,
-0.014542372897267342,
-0.02521492727100849,
-0.029634667560458183,
0.002943099243566394,
-0.019613873213529587,
0.05397379398345947,
0.029675401747226715,
-0.003661052556708455,
0.014460902661085129,
-0.04260874539613724,
-0.015133029781281948,
-0.015509827993810177,
-0.005570502951741219,
-0.039248112589120865,
0.013442529365420341,
-0.010703104548156261,
0.03452286124229431,
0.008895492181181908,
0.051000140607357025,
-0.002132219495251775,
-0.02062206156551838,
0.01338142715394497,
-0.05421820282936096,
0.04977809265255928,
0.014053553342819214,
0.012576911598443985,
0.0677829384803772,
0.022852299734950066,
0.053770117461681366,
-0.06419826298952103,
0.03605042025446892,
-0.04374932497739792,
-0.005249714944511652,
-0.00594730069860816,
-0.005651972722262144,
-0.024685371667146683,
-0.018300170078873634,
0.04615268483757973,
-0.028514456003904343,
-0.023117076605558395,
-0.048311635851860046,
-0.033484119921922684,
-0.038922231644392014,
0.010305939242243767,
-0.042282864451408386,
0.02024526335299015,
0.04493063688278198,
-0.01755675859749317,
0.03629482910037041,
-0.03802606463432312,
0.012495442293584347,
-0.024827944114804268,
-0.020459122955799103,
-0.03556160256266594,
-0.015143212862312794,
0.013065731152892113,
-0.04696738347411156,
-0.015061743557453156,
-0.035378292202949524,
0.05381085351109505,
-0.09768237918615341,
0.0032078763470053673,
0.05165190249681473,
-0.04407520219683647,
0.037577979266643524,
-0.033504486083984375,
0.004376459866762161,
0.03397293761372566,
0.060328442603349686,
0.034930210560560226,
-0.004223703872412443,
-0.02486868016421795,
0.003597404109314084,
-0.015479275956749916,
-0.007367931772023439,
-0.014155390672385693,
-0.0298179741948843,
0.014430351555347443,
0.05845463648438454,
0.0036559607833623886,
0.025907419621944427,
0.07381170988082886,
0.016273608431220055,
-0.0503891184926033,
-0.014226676896214485,
0.06322062015533447,
-0.05438114330172539,
0.06990115344524384,
-0.044156674295663834,
-0.004715069197118282,
0.03556160256266594,
0.07731491327285767,
0.04012391343712807,
-0.04770061373710632,
-0.01119192410260439,
0.05144822597503662,
0.009980060160160065,
-0.0013658934039995074,
-0.04301609471440315,
-0.037292834371328354,
-0.04232360050082207,
-0.017169775441288948,
0.057884346693754196,
-0.06342429667711258,
0.045541658997535706,
-0.02325964905321598,
0.02682395651936531,
0.01817796565592289,
0.02385030686855316,
0.016181953251361847,
0.011273394338786602,
0.02655917964875698,
0.01993975229561329,
0.059513743966817856,
-0.024766841903328896,
0.015856074169278145,
-0.01410447247326374,
0.05116308107972145,
-0.017088307067751884,
0.006319007370620966,
-0.0018343451665714383,
0.02596852369606495,
0.03558196872472763,
0.010214285925030708,
0.04260874539613724,
0.05829169601202011,
0.031875088810920715,
0.04737473279237747,
-0.01230195164680481,
-0.029593931511044502,
0.0325675830245018,
-0.002258243039250374,
0.005076591856777668,
-0.006853653118014336,
0.029980914667248726,
-0.012037173844873905,
-0.060043297708034515,
-0.07796666771173477,
-0.01190478540956974,
-0.006802734453231096,
0.03692622110247612,
0.02066279761493206,
0.004302627872675657,
-0.040062811225652695,
-0.01912505365908146,
-0.0380668006837368,
-0.048270899802446365,
-0.0387389250099659,
-0.04782281816005707,
0.005672340281307697,
-0.02321891486644745,
-0.01789282076060772,
0.00029898807406425476,
0.019155604764819145,
0.056784503161907196,
-0.06729412078857422,
0.0737302377820015,
-0.04326050356030464,
0.01725124567747116,
0.03116222657263279,
-0.0655832514166832,
-0.07356730103492737,
0.044441815465688705,
0.08920951187610626,
0.0012716938508674502,
0.024440962821245193,
0.0028590834699571133,
-0.004990030080080032,
0.023931775242090225,
-0.0026834141463041306,
-0.02328001707792282,
-0.06383164972066879,
-0.07038997113704681,
0.009898589923977852,
0.019837914034724236,
-0.010229561477899551,
-0.05821022763848305,
0.010876228101551533,
-0.037048425525426865,
-0.08265119045972824,
0.05556245520710945,
-0.003900370327755809,
0.02621293254196644,
-0.025113089010119438,
-0.06346503645181656,
0.010591084137558937,
-0.03299529850482941,
-0.007984047755599022,
-0.001440998399630189,
-0.03230280429124832,
0.0374150387942791,
-0.017953922972083092,
-0.05332203209400177,
-0.03902406990528107,
0.020163794979453087,
0.009730557911098003,
0.040347956120967865,
0.061998575925827026,
-0.04676370695233345,
-0.025642642751336098,
-0.014674761332571507,
-0.0140841044485569,
0.019756445661187172,
0.013024996034801006,
-0.016049565747380257,
0.010743839666247368,
-0.036539237946271896,
0.016049565747380257,
0.018127046525478363,
0.003477745223790407,
0.02103959582746029,
0.020601695403456688,
0.016538385301828384,
-0.1007782369852066,
0.004526670090854168,
0.007332288660109043,
-0.022302377969026566,
0.009822212159633636,
0.020703531801700592,
0.03470616787672043,
0.053484972566366196,
-0.04871898517012596,
0.04513430967926979,
-0.04713032394647598,
0.021222902461886406,
-0.053240563720464706,
-0.004195698536932468,
-0.0000826632822281681,
-0.011405782774090767,
0.01135486364364624,
0.011986255645751953,
0.02600925788283348,
-0.06941233575344086,
0.012597279623150826,
0.022241275757551193,
-0.0031493199057877064,
0.02515382319688797,
0.0013875338481739163,
-0.045541658997535706,
0.025276029482483864,
-0.004501210525631905,
0.020611878484487534,
-0.051000140607357025,
0.023402221500873566,
-0.06896425038576126,
-0.011344680562615395,
0.055929068475961685,
0.029084745794534683,
-0.005891290493309498,
0.01652820035815239,
-0.040327589958906174,
0.0073832073248922825,
-0.03686511889100075,
-0.04232360050082207,
-0.0011049351887777448,
-0.02039802074432373,
0.03360632434487343,
-0.010754023678600788,
0.018300170078873634,
0.046397093683481216,
-0.003918191883713007,
0.015407990664243698,
-0.020428571850061417,
-0.023117076605558395,
-0.03753724694252014,
0.01681334525346756,
-0.0039360132068395615,
-0.018758438527584076,
-0.012658381834626198,
-0.06146902218461037,
-0.010988249443471432,
-0.0092977499589324,
0.019512034952640533,
-0.00007741229637758806,
-0.015672767534852028,
0.0311418604105711,
-0.031569577753543854,
-0.019226890057325363,
-0.06819028407335281,
0.0034751994535326958,
0.00458777230232954,
0.020734082907438278,
0.06819028407335281,
0.04293462634086609,
0.013086099177598953,
0.010682737454771996,
-0.02185429446399212,
-0.006726356688886881,
-0.03629482910037041,
0.030856715515255928,
0.04134596139192581,
-0.002538295928388834,
-0.07059364765882492,
0.01709849014878273,
0.003352994564920664,
0.06839396059513092,
0.033504486083984375,
-0.008065517991781235,
0.04387152940034866,
0.12570801377296448,
0.011405782774090767,
0.03745577484369278,
0.03941105306148529,
-0.03442102298140526,
-0.028860703110694885,
-0.0298179741948843,
-0.006084781140089035,
-0.04513430967926979,
0.0062629966996610165,
0.0011513985227793455,
0.006385201588273048,
0.06203931197524071,
0.023605896160006523,
0.029471727088093758,
0.003202784573659301,
-0.02902364358305931,
0.015540379099547863,
-0.005040948744863272,
-0.006543049588799477,
0.012984261848032475,
-0.0040633101016283035,
-0.06489075720310211,
-0.0140841044485569,
0.05931007117033005,
0.02183392643928528,
0.00021115336858201772,
0.0009254468604922295,
0.05560319125652313,
0.015021008439362049,
-0.02376883663237095,
0.04195698723196983,
0.03643740341067314,
-0.05034838244318962,
-0.01938983052968979,
0.0039894781075417995,
-0.043341975659132004,
-0.014532188884913921,
0.07882210612297058,
-0.003750160103663802,
0.019512034952640533,
-0.026885058730840683,
0.00029660126892849803,
0.006909663788974285,
-0.07197863608598709,
0.019664790481328964,
0.006293547805398703,
0.026864690706133842,
-0.07271186262369156,
0.02602962590754032,
0.07764079421758652,
0.025785215198993683,
-0.05576613172888756,
-0.01855476386845112,
0.042527273297309875,
-0.04236433655023575,
0.08652100712060928,
-0.013126833364367485,
-0.061143141239881516,
0.0018419829430058599,
0.051814839243888855,
0.03010311909019947,
-0.02242458239197731,
-0.027272040024399757,
-0.05421820282936096,
0.017434554174542427,
-0.017943739891052246,
-0.029186582192778587,
-0.0380668006837368,
-0.02739424630999565,
-0.0010069167474284768,
0.02187466248869896,
0.02598888985812664,
-0.06590913236141205,
0.02026563137769699,
0.0031034930143505335,
0.10289645195007324,
0.006324098911136389,
-0.0035744907800108194,
-0.02513345703482628,
0.047456201165914536,
-0.04191625118255615,
0.012811138294637203,
0.003391183679923415,
0.0025777576956897974,
0.04395299777388573,
0.016405995935201645,
0.03307677060365677,
-0.02378920279443264,
0.010967882350087166,
-0.03827047348022461,
0.013625836931169033,
0.030204955488443375,
-0.020255448296666145,
0.023422589525580406,
-0.022893035784363747,
0.06346503645181656,
0.009766201488673687,
0.0585361048579216,
0.0190334003418684,
-0.06537957489490509,
0.0151839479804039,
-0.02678322233259678,
-0.011283577419817448,
-0.01569313555955887,
0.003783257445320487,
-0.018076129257678986,
-0.03798532858490944,
0.016253240406513214,
0.0420384556055069,
-0.0022735188249498606,
0.037007689476013184,
-0.0008261554758064449,
-0.05063352733850479,
0.06301695108413696,
0.0759299248456955,
-0.025785215198993683,
0.02867739647626877,
-0.039859138429164886,
0.02979760617017746,
0.04668223857879639,
0.01244452316313982,
-0.030856715515255928,
0.018279803916811943,
0.027210937812924385,
-0.01437943335622549,
-0.02985871024429798,
-0.013045364059507847,
0.02924768626689911,
0.043912261724472046,
-0.05344424024224281,
0.0040633101016283035,
-0.06012476980686188,
-0.013961900025606155,
0.003462469670921564,
0.1186201423406601,
-0.028270047158002853,
-0.08733570575714111,
-0.0657869279384613,
-0.013686939142644405,
0.02983834221959114,
0.05344424024224281,
0.017699331045150757,
-0.013727674260735512,
0.002410999033600092,
0.01707812212407589,
0.045826803892850876,
-0.02790343202650547,
-0.05034838244318962,
-0.0728340670466423,
0.03177325055003166,
-0.06570545583963394,
0.0013226125156506896,
-0.011456700973212719,
0.034645065665245056,
-0.01808631233870983,
-0.09564563632011414,
-0.01666058972477913,
-0.0033377190120518208,
0.030836347490549088,
0.03664107620716095,
0.057314056903123856,
0.020275814458727837,
-0.0026197656989097595,
-0.001609030063264072,
-0.0054533896036446095,
-0.02187466248869896,
-0.0014766415115445852,
0.009267197921872139,
0.01626342348754406,
-0.035948581993579865,
-0.0024911961518228054,
0.04211992397904396,
0.01863623410463333,
0.06851616501808167,
-0.013361060060560703,
-0.05340350419282913,
-0.05332203209400177,
-0.016599487513303757,
0.010423052124679089,
-0.007744729984551668,
0.06081726402044296,
0.0012023171875625849,
-0.04570459946990013,
-0.04558239504694939,
0.0024657368194311857,
-0.029166216030716896,
-0.017587309703230858,
0.021772824227809906,
0.03584674373269081,
-0.07104173302650452,
0.03778165578842163,
0.044726960361003876,
-0.003215514123439789,
-0.003296984126791358,
0.04157000407576561,
-0.03425808250904083,
-0.02350405976176262,
-0.014562739990651608,
0.02867739647626877,
-0.03963509574532509,
-0.0035719447769224644,
0.02712946943938732,
-0.05197777971625328,
-0.010967882350087166,
0.00027973446412943304,
0.016823530197143555,
-0.016029197722673416,
-0.08904657512903214,
-0.01973607763648033,
-0.08986127376556396,
0.08700982481241226,
-0.02684432454407215,
-0.04476769641041756,
0.018982481211423874,
-0.03254721686244011,
0.0065634166821837425,
0.023198546841740608,
-0.05470702052116394,
0.06423899531364441,
0.02295413799583912,
-0.0048831007443368435,
-0.08815040439367294,
0.015407990664243698,
0.027414612472057343,
0.015479275956749916,
0.033769264817237854,
0.04150890186429024,
0.026070360094308853,
-0.010163366794586182,
0.0391666442155838,
0.06790514290332794,
0.041183020919561386,
-0.048556044697761536,
0.030490100383758545,
-0.05299615487456322,
-0.015021008439362049,
-0.035989318042993546,
0.0005897018709219992,
-0.00901260506361723,
0.029369890689849854,
-0.02440022863447666,
0.02568337880074978,
-0.001265965518541634,
-0.00035802190541289747,
0.03629482910037041,
0.027007263153791428,
-0.005748718045651913,
-0.0019947390537708998,
0.026986896991729736,
-0.04476769641041756,
0.012933342717587948,
0.04195698723196983,
-0.018758438527584076,
0.009302841499447823,
-0.007250818889588118,
0.024522433057427406,
0.0007211357005871832,
0.05315909534692764,
0.037048425525426865,
-0.025276029482483864,
-0.04403446614742279,
0.0287181306630373,
0.033484119921922684,
0.015632031485438347,
-0.009124626405537128,
-0.0028641752433031797,
0.039777666330337524,
0.02105996198952198,
-0.0052802665159106255,
0.0019221798283979297,
-0.020876655355095863,
-0.0174956563860178,
0.027475714683532715,
0.06798660755157471,
0.0000167971957125701,
-0.06069505587220192,
0.04806722700595856,
0.016202321276068687,
-0.002282429486513138,
0.01938983052968979,
-0.013361060060560703,
0.03971656411886215,
-0.037333570420742035,
0.026661016047000885,
0.03888149932026863,
0.015163580887019634,
0.03992024064064026,
-0.04374932497739792,
-0.006792550906538963,
-0.010672553442418575,
-0.07112320512533188,
0.032934196293354034,
-0.028860703110694885,
0.056214213371276855,
-0.05662156268954277,
-0.03442102298140526,
-0.03745577484369278,
0.02328001707792282,
0.03941105306148529,
-0.013157384470105171,
0.029186582192778587,
0.040368322283029556,
0.035683806985616684,
-0.0020813008304685354,
0.008330294862389565,
0.02568337880074978,
0.008345570415258408,
-0.011690926738083363,
0.02625366672873497,
0.017546573653817177,
-0.005211526062339544,
-0.03201765939593315,
0.03362669050693512,
-0.02431875839829445,
0.031060390174388885,
0.018544580787420273,
-0.010097173042595387,
0.019786996766924858,
-0.0024390043690800667,
-0.0015682950615882874,
0.003093309234827757,
0.020336918532848358,
0.0530368909239769,
0.0341155119240284,
0.04880045726895332,
-0.00880383886396885,
-0.004743074532598257,
-0.03523572161793709,
-0.02930878847837448,
0.05833243206143379,
-0.022648625075817108,
-0.04244580492377281,
0.02156914956867695,
-0.036783650517463684,
-0.0891280472278595,
-0.026905426755547523,
-0.0005944754811935127,
0.0024059072602540255,
-0.06847543269395828,
0.019053766503930092,
0.048556044697761536,
0.02521492727100849,
0.0016612217295914888,
-0.00006193778972374275,
0.03120296262204647,
-0.04761914163827896,
0.05344424024224281,
-0.007698903325945139,
-0.044482551515102386,
-0.020336918532848358,
-0.002468282589688897,
-0.012403788976371288,
-0.008213181979954243,
-0.03065304085612297,
-0.007204992230981588,
0.0316917821764946,
0.0022658808156847954,
-0.033219341188669205,
-0.017373450100421906,
0.03562270477414131,
0.031243696808815002
] |
709,973
|
urllib3_future._async.connectionpool
|
__init__
| null |
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
_proxy_config: ProxyConfig | None = None,
resolver: AsyncResolverDescription
| list[AsyncResolverDescription]
| str
| list[str]
| AsyncBaseResolver
| None = None,
happy_eyeballs: bool | int = False,
**conn_kw: typing.Any,
):
AsyncConnectionPool.__init__(self, host, port)
AsyncRequestMethods.__init__(self, headers)
if not isinstance(timeout, Timeout):
timeout = Timeout.from_float(timeout)
if retries is None:
retries = Retry.DEFAULT
self.timeout = timeout
self.retries = retries
self.happy_eyeballs = happy_eyeballs
self._maxsize = maxsize
if self.QueueCls is not AsyncTrafficPolice and not issubclass(
self.QueueCls, AsyncTrafficPolice
):
warnings.warn(
"ConnectionPool QueueCls no longer support typical queue implementation "
"due to its inability to answer urllib3.future needs to handle concurrent streams "
"in a single connection. You may customize the implementation by passing a subclass of "
"urllib3.util._async.traffic_police.AsyncTrafficPolice if necessary.",
DeprecationWarning,
)
self.QueueCls = AsyncTrafficPolice
self.pool: AsyncTrafficPolice[AsyncHTTPConnection] | None = self.QueueCls(
maxsize
)
self.block = block
self.proxy = _proxy
self.proxy_headers = _proxy_headers or {}
self.proxy_config = _proxy_config
# These are mostly for testing and debugging purposes.
self.num_connections = 0
self.num_requests = 0
self.conn_kw = conn_kw
if self.proxy:
# Enable Nagle's algorithm for proxies, to avoid packet fragmentation.
# We cannot know if the user has added default socket options, so we cannot replace the
# list.
self.conn_kw.setdefault("socket_options", [])
self.conn_kw["proxy"] = self.proxy
self.conn_kw["proxy_config"] = self.proxy_config
self._own_resolver = not isinstance(resolver, AsyncBaseResolver)
if resolver is None:
resolver = [AsyncResolverDescription(ProtocolResolver.SYSTEM)]
elif isinstance(resolver, str):
resolver = [AsyncResolverDescription.from_url(resolver)]
elif isinstance(resolver, AsyncResolverDescription):
resolver = [resolver]
self._resolvers: list[AsyncResolverDescription] = []
if not isinstance(resolver, AsyncBaseResolver):
can_resolve_localhost: bool = False
for resolver_description in resolver:
if isinstance(resolver_description, str):
self._resolvers.append(
AsyncResolverDescription.from_url(resolver_description)
)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
continue
self._resolvers.append(resolver_description)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
if not can_resolve_localhost:
self._resolvers.append(
AsyncResolverDescription.from_url(
"system://default?hosts=localhost"
)
)
#: We want to automatically forward ca_cert_data, ca_cert_dir, and ca_certs.
for rd in self._resolvers:
if "ca_cert_data" in conn_kw:
if "ca_cert_data" not in rd:
rd["ca_cert_data"] = conn_kw["ca_cert_data"]
if "ca_cert_dir" in conn_kw:
if "ca_cert_dir" not in rd:
rd["ca_cert_dir"] = conn_kw["ca_cert_dir"]
if "ca_certs" in conn_kw:
if "ca_certs" not in rd:
rd["ca_certs"] = conn_kw["ca_certs"]
self._resolver: AsyncBaseResolver = (
AsyncManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, AsyncBaseResolver)
else resolver
)
self.conn_kw["resolver"] = self._resolver
|
(self, host: str, port: Optional[int] = None, timeout: Union[float, urllib3_future.util.timeout._TYPE_DEFAULT, urllib3_future.util.timeout.Timeout, NoneType] = <_TYPE_DEFAULT.token: -1>, maxsize: int = 1, block: bool = False, headers: Optional[Mapping[str, str]] = None, retries: Union[urllib3_future.util.retry.Retry, bool, int, NoneType] = None, _proxy: Optional[urllib3_future.util.url.Url] = None, _proxy_headers: Optional[Mapping[str, str]] = None, _proxy_config: Optional[urllib3_future._typing.ProxyConfig] = None, resolver: Union[urllib3_future.contrib.resolver._async.factories.AsyncResolverDescription, list[urllib3_future.contrib.resolver._async.factories.AsyncResolverDescription], str, list[str], urllib3_future.contrib.resolver._async.protocols.AsyncBaseResolver, NoneType] = None, happy_eyeballs: bool | int = False, **conn_kw: Any)
|
[
0.005945319309830666,
-0.06397613883018494,
-0.04148420691490173,
-0.006554177030920982,
-0.05542142689228058,
0.03833246976137161,
-0.030248474329710007,
-0.005725311581045389,
-0.02509108930826187,
-0.07932549715042114,
0.05116453766822815,
0.06475383788347244,
-0.002095187781378627,
0.026851149275898933,
0.011501788161695004,
0.034300707280635834,
0.018797850236296654,
0.009690563194453716,
0.02343335747718811,
-0.06397613883018494,
-0.016403350979089737,
0.05419347807765007,
-0.01237158477306366,
-0.022962644696235657,
-0.008836115710437298,
0.05321111902594566,
-0.03256111219525337,
-0.016925228759646416,
0.0435921847820282,
-0.003159410087391734,
-0.004510154016315937,
0.05280180275440216,
-0.00046655660844407976,
0.05300645902752876,
0.06896979361772537,
0.006850931327790022,
0.01172691211104393,
0.023822208866477013,
-0.05378416180610657,
-0.001806108164601028,
0.0025185742415487766,
-0.07461836189031601,
-0.06602271646261215,
-0.022512396797537804,
0.034157443791627884,
0.023781277239322662,
-0.018398767337203026,
0.05014124512672424,
0.010683155618607998,
-0.04285541549324989,
-0.03319555148482323,
0.018613658845424652,
0.009844057261943817,
0.03090338036417961,
0.014295371249318123,
0.07175314426422119,
-0.06242073327302933,
0.07879338413476944,
-0.02617577649652958,
0.027035340666770935,
-0.038885049521923065,
-0.022942177951335907,
0.006477430462837219,
-0.008176092989742756,
-0.034464433789253235,
-0.025745995342731476,
-0.016362419351935387,
-0.011440390720963478,
0.03980600833892822,
-0.025111554190516472,
0.05255621299147606,
0.062175143510103226,
-0.020916063338518143,
-0.05116453766822815,
0.07474115490913391,
-0.025398075580596924,
0.003609657986089587,
0.03851666301488876,
-0.03346160799264908,
-0.021550502628087997,
-0.005016682669520378,
0.03170154616236687,
0.025111554190516472,
-0.05005938187241554,
0.06696414947509766,
-0.053292982280254364,
-0.0010885255178436637,
-0.011419924907386303,
-0.06454917788505554,
-0.012780901044607162,
-0.016556844115257263,
-0.02640090137720108,
0.029880089685320854,
-0.0013955127215012908,
-0.03319555148482323,
-0.005832757335156202,
-0.0033436024095863104,
-0.04862677678465843,
-0.012064597569406033,
-0.010156160220503807,
-0.0435103215277195,
-0.02650322951376438,
-0.016485214233398438,
-0.017692696303129196,
-0.0033359278459101915,
-0.060578811913728714,
-0.005134361330419779,
-0.022614724934101105,
-0.020015567541122437,
-0.0022154245525598526,
0.016137294471263885,
0.012606942094862461,
0.06618644297122955,
0.034403033554553986,
-0.0292865801602602,
0.031087571755051613,
-0.046089015901088715,
-0.04289634898304939,
-0.01913553662598133,
0.004515270236879587,
-0.028754469007253647,
0.019483456388115883,
0.0007834569551050663,
0.03067825548350811,
-0.01172691211104393,
0.06463104486465454,
-0.004430849105119705,
-0.008984493091702461,
0.01304695662111044,
-0.04543410986661911,
0.06102905794978142,
-0.0052801803685724735,
0.024354320019483566,
0.07801568508148193,
0.038864582777023315,
0.056403785943984985,
-0.04723510146141052,
0.02619624324142933,
-0.05517583712935448,
-0.007838406600058079,
-0.0031875506974756718,
0.015656348317861557,
-0.002554389415308833,
-0.04248703271150589,
0.030043816193938255,
-0.020230457186698914,
-0.023965468630194664,
-0.07142569124698639,
-0.03939669206738472,
-0.03696126118302345,
-0.007096521090716124,
-0.050509631633758545,
0.021161653101444244,
0.02648276463150978,
-0.0219598188996315,
0.018316904082894325,
-0.03491467982530594,
0.007838406600058079,
-0.01693546213209629,
-0.00697884289547801,
-0.04936354607343674,
-0.006809999700635672,
0.01324138231575489,
-0.05599446967244148,
-0.014407933689653873,
-0.04584342613816261,
0.05255621299147606,
-0.08996772021055222,
0.0013226033188402653,
0.051819443702697754,
-0.04207771643996239,
0.03520120307803154,
-0.026585092768073082,
0.009531953372061253,
0.03059639222919941,
0.03475095331668854,
0.031660616397857666,
0.007915154099464417,
-0.0295117050409317,
-0.012085063382983208,
-0.012463681399822235,
0.0021425150334835052,
-0.016403350979089737,
-0.030043816193938255,
0.006052764598280191,
0.06856048107147217,
0.014428399503231049,
0.025439007207751274,
0.0732266828417778,
0.005009008105844259,
-0.04148420691490173,
0.009327295236289501,
0.07629656046628952,
-0.03170154616236687,
0.045966219156980515,
-0.04981379210948944,
-0.005055056419223547,
0.059064339846372604,
0.0439605712890625,
0.028447482734918594,
-0.04273262247443199,
-0.015666581690311432,
0.04821746051311493,
0.015973567962646484,
-0.0020862340461462736,
-0.025520870462059975,
-0.03520120307803154,
-0.03229505568742752,
-0.012995792552828789,
0.04087023064494133,
-0.0441242977976799,
0.03071918711066246,
-0.020271388813853264,
-0.020834200084209442,
-0.005771359894424677,
0.04789000749588013,
0.046089015901088715,
-0.006139744538813829,
0.028222357854247093,
0.033134154975414276,
0.0722443237900734,
0.0047148121520876884,
0.02314683608710766,
-0.037104520946741104,
0.034505363553762436,
0.0027398609090596437,
-0.003729894757270813,
-0.00983894057571888,
0.02355615235865116,
0.00330267078243196,
0.008999842219054699,
0.031169435009360313,
0.04123861715197563,
0.020148593932390213,
0.026748819276690483,
-0.00941427517682314,
-0.01328231394290924,
0.041709329932928085,
-0.02771071344614029,
0.002755210269242525,
0.026687422767281532,
0.028549810871481895,
-0.02341289259493351,
-0.04551597312092781,
-0.04858584329485893,
-0.00987987220287323,
-0.025827858597040176,
0.01459212601184845,
0.025213884189724922,
0.015717744827270508,
-0.04784907400608063,
-0.022348670288920403,
-0.04248703271150589,
-0.049117956310510635,
-0.0437149815261364,
-0.07756543904542923,
-0.0019966959953308105,
-0.03949902206659317,
-0.006313703954219818,
0.0021182119380682707,
0.018511328846216202,
0.04211864620447159,
-0.06622737646102905,
0.07494581490755081,
-0.056240059435367584,
0.011164101772010326,
0.03395278751850128,
-0.0586550235748291,
-0.07842500507831573,
0.051696646958589554,
0.09946385771036148,
-0.025520870462059975,
0.05010031536221504,
0.023883605375885963,
-0.008713320828974247,
0.03853712975978851,
-0.024170126765966415,
-0.03986740857362747,
-0.058982476592063904,
-0.06749625504016876,
0.021223049610853195,
0.020557910203933716,
0.0029547519516199827,
-0.06119278445839882,
0.0064313821494579315,
-0.04658019542694092,
-0.0724899172782898,
0.06606364995241165,
-0.02775164507329464,
0.0051497104577720165,
7.244978519338474e-7,
-0.057877324521541595,
0.004136652685701847,
-0.02766978181898594,
0.003177317790687084,
-0.02640090137720108,
-0.030207542702555656,
0.03978554531931877,
-0.00735746044665575,
-0.06655482947826385,
-0.03773896396160126,
-0.00037797802360728383,
0.0030545229092240334,
0.049117956310510635,
0.09537069499492645,
-0.0433465950191021,
-0.03309322148561478,
-0.0008224699413403869,
0.004123861901462078,
0.02324916608631611,
0.011419924907386303,
-0.01088781375437975,
0.012125995010137558,
-0.021591434255242348,
0.002020999090746045,
0.021223049610853195,
-0.013558601960539818,
0.013415341265499592,
0.016556844115257263,
0.015369826927781105,
-0.08161766827106476,
-0.0010277676628902555,
-0.012688805349171162,
-0.01880808360874653,
-0.004080371931195259,
0.054848384112119675,
0.02365848235785961,
0.053415775299072266,
-0.05583074316382408,
0.03393232077360153,
-0.041913989931344986,
0.023044507950544357,
-0.040419984608888626,
-0.006421149242669344,
-0.00424409843981266,
-0.01177807617932558,
0.0027628850657492876,
0.009608699940145016,
0.019913237541913986,
-0.0438787080347538,
0.006093696225434542,
0.011041306890547276,
-0.01836806908249855,
0.02222587540745735,
0.00005807974230265245,
-0.038578059524297714,
0.02625763975083828,
-0.0217756275087595,
0.0367770679295063,
-0.02932751178741455,
0.027403725311160088,
-0.06970656663179398,
-0.01180877536535263,
0.0724899172782898,
0.04107489064335823,
0.01460235845297575,
0.002110537141561508,
-0.04666205868124962,
0.002272984478622675,
-0.027403725311160088,
-0.03524213284254074,
0.014193042181432247,
-0.020875131711363792,
0.02908192202448845,
-0.018736453726887703,
0.019585784524679184,
0.028529345989227295,
-0.008677505888044834,
0.021304912865161896,
-0.034464433789253235,
-0.014100946485996246,
-0.02337196096777916,
0.0035559353418648243,
-0.022553328424692154,
-0.020956994965672493,
-0.016341952607035637,
-0.07064799219369888,
0.008344936184585094,
-0.008958910591900349,
0.019370893016457558,
-0.013261848129332066,
-0.0023753135465085506,
0.005037148483097553,
-0.03532399609684944,
-0.010104996152222157,
-0.04559783637523651,
-0.010683155618607998,
0.007536536082625389,
0.03092384524643421,
0.05955551937222481,
0.035876572132110596,
-0.004085488151758909,
-0.02466130629181862,
-0.04723510146141052,
0.0020350695122033358,
-0.03325694799423218,
0.028795400634407997,
0.05276086926460266,
-0.008462614379823208,
-0.06262539327144623,
0.0219393540173769,
-0.0009004958556033671,
0.09225989133119583,
0.0437559112906456,
0.008431916125118732,
0.04829932376742363,
0.12868903577327728,
0.011972501873970032,
0.02775164507329464,
0.04066557437181473,
-0.025541337206959724,
-0.029798226431012154,
-0.02906145714223385,
0.008882164023816586,
-0.05947365611791611,
0.005541119258850813,
-0.0037171035073697567,
-0.0069481441751122475,
0.07678773999214172,
0.014735386706888676,
0.01753920316696167,
-0.004003624897450209,
-0.04952727258205414,
0.000997708411887288,
0.02795630320906639,
0.021489106118679047,
0.009429624304175377,
0.005310879088938236,
-0.04936354607343674,
-0.027117203921079636,
0.060578811913728714,
0.031026175245642662,
-0.007710495498031378,
-0.02339242585003376,
0.060742538422346115,
0.030125679448246956,
-0.01886948198080063,
0.01547215599566698,
0.037104520946741104,
-0.04482013359665871,
-0.025152485817670822,
-0.000544902344699949,
-0.044410817325115204,
-0.012381818145513535,
0.07068892568349838,
0.006421149242669344,
0.015758676454424858,
-0.017221983522176743,
0.017549436539411545,
-0.014264672994613647,
-0.046048082411289215,
0.005315995309501886,
0.02488643117249012,
0.009716145694255829,
-0.06139744445681572,
0.027444656938314438,
0.06176582723855972,
0.04148420691490173,
-0.06802836805582047,
-0.026851149275898933,
0.05091894790530205,
-0.06242073327302933,
0.05026404187083244,
-0.029900554567575455,
-0.048749569803476334,
0.04813559725880623,
0.047357894480228424,
0.027301397174596786,
-0.038823649287223816,
-0.03409604728221893,
-0.03917156904935837,
-0.00993103627115488,
-0.031537819653749466,
-0.020793268457055092,
-0.034382570534944534,
-0.025971118360757828,
0.015502854250371456,
0.008662155829370022,
0.006016949657350779,
-0.05693589523434639,
0.020701171830296516,
0.01675126887857914,
0.073799729347229,
0.006022065877914429,
0.010207325220108032,
-0.026892080903053284,
0.028488414362072945,
-0.05226968973875046,
-0.0011563185835257173,
0.015134469605982304,
-0.0004966157721355557,
0.04248703271150589,
0.022942177951335907,
0.016556844115257263,
0.012811600230634212,
0.010918512009084225,
-0.020373718813061714,
0.03159921616315842,
0.01762106642127037,
-0.002147631486877799,
0.021120721474289894,
-0.04715323820710182,
0.06291191279888153,
0.012136228382587433,
0.01901274174451828,
0.012903695926070213,
-0.07523233443498611,
-0.00869797170162201,
-0.03047359734773636,
0.0004320205480325967,
0.0073983920738101006,
0.03084198199212551,
-0.03227458894252777,
-0.031476423144340515,
0.016096362844109535,
0.031353626400232315,
-0.018961576744914055,
0.021468639373779297,
-0.009716145694255829,
-0.04510665684938431,
0.05439813435077667,
0.08018506318330765,
-0.011583651416003704,
0.04211864620447159,
-0.03309322148561478,
0.008237490430474281,
0.05226968973875046,
0.013456272892653942,
-0.014254439622163773,
-0.012719503603875637,
-0.00012591273116413504,
-0.019913237541913986,
-0.044533614069223404,
0.0014492354821413755,
0.037247784435749054,
0.03407558053731918,
-0.05447999760508537,
0.010023132897913456,
-0.051819443702697754,
-0.01376326009631157,
0.024354320019483566,
0.12197625637054443,
-0.028201892971992493,
-0.07674680650234222,
-0.06504035741090775,
-0.02341289259493351,
0.015165168792009354,
0.04080883413553238,
0.019708579406142235,
-0.0020082080736756325,
-0.0056383321061730385,
0.0034740720875561237,
0.03522166609764099,
-0.013292546384036541,
-0.05460279434919357,
-0.07420904189348221,
0.025705063715577126,
-0.07674680650234222,
0.008304004557430744,
-0.0001618877868168056,
0.03245878219604492,
0.0001881895586848259,
-0.09758100658655167,
0.005489954724907875,
0.0038424567319452763,
0.0364086851477623,
0.05128733068704605,
0.059228066354990005,
0.028959127143025398,
-0.00761839933693409,
-0.018787618726491928,
-0.028795400634407997,
-0.0588187500834465,
-0.006242073606699705,
0.001891808700747788,
0.019954169169068336,
-0.02474316954612732,
0.008078880608081818,
0.041586536914110184,
0.017979217693209648,
0.06557247042655945,
-0.012729736976325512,
-0.05226968973875046,
-0.06012856215238571,
-0.016597775742411613,
-0.0033819759264588356,
-0.0073625766672194,
0.047644417732954025,
0.02640090137720108,
-0.056321922689676285,
-0.04698951169848442,
0.0011460856767371297,
-0.025745995342731476,
-0.013313012197613716,
-0.014305604621767998,
0.03051452897489071,
-0.0724899172782898,
0.04879050329327583,
0.0294503066688776,
-0.020158827304840088,
0.0029112622141838074,
0.05730428174138069,
0.0021949587389826775,
-0.025316212326288223,
-0.034546297043561935,
0.014162343926727772,
-0.06373054534196854,
0.015165168792009354,
0.015533553436398506,
-0.021468639373779297,
-0.008575176820158958,
0.011000375263392925,
0.03178340941667557,
-0.03544679284095764,
-0.0723261907696724,
-0.03982647508382797,
-0.061970487236976624,
0.08923095464706421,
-0.02799723483622074,
-0.02331056259572506,
-0.0038654806558042765,
-0.0290205255150795,
0.020158827304840088,
0.02638043463230133,
-0.0733494833111763,
0.0587368868291378,
0.015021908096969128,
-0.04285541549324989,
-0.056158196181058884,
0.011839473620057106,
0.054930247366428375,
0.015533553436398506,
0.020128129050135612,
0.027301397174596786,
-0.0040112994611263275,
-0.032970428466796875,
0.035753779113292694,
0.06827396154403687,
0.043141938745975494,
-0.035815175622701645,
0.03485328331589699,
-0.047357894480228424,
-0.00037829778739251196,
-0.010447798296809196,
-0.0015247032279148698,
-0.009690563194453716,
0.00879006739705801,
-0.03084198199212551,
0.030166611075401306,
0.01021244190633297,
-0.012586476281285286,
0.03370719775557518,
-0.011225499212741852,
0.005617866292595863,
-0.021079789847135544,
0.03329788148403168,
-0.029654964804649353,
0.03211086243391037,
0.049077022820711136,
-0.01249437965452671,
0.013558601960539818,
0.002688696375116706,
0.030964776873588562,
-0.0021834466606378555,
0.03708405792713165,
0.028652140870690346,
-0.006666739005595446,
-0.04547503963112831,
0.00992080383002758,
0.03395278751850128,
0.037431973963975906,
-0.005331344902515411,
-0.004320845007896423,
0.04203678295016289,
0.022594260051846504,
0.009020308032631874,
-0.01671033725142479,
-0.03335927799344063,
-0.005745777394622564,
0.025541337206959724,
0.03647008165717125,
-0.012136228382587433,
-0.05959645286202431,
0.053456708788871765,
0.0037452441174536943,
0.0028473064303398132,
0.033113688230514526,
0.0043285200372338295,
0.04107489064335823,
-0.048872366547584534,
0.037247784435749054,
0.026933012530207634,
-0.004139211028814316,
0.027158135548233986,
-0.011327828280627728,
0.01899227686226368,
-0.03340021148324013,
-0.1161639615893364,
0.03990833833813667,
-0.0001262325095012784,
0.0738406628370285,
-0.047562554478645325,
-0.047685347497463226,
-0.0182657390832901,
0.009230082854628563,
0.04123861715197563,
0.015165168792009354,
0.044533614069223404,
0.012033899314701557,
0.034341637045145035,
0.00029771364643238485,
0.015953103080391884,
0.03554911911487579,
-0.025807391852140427,
-0.025172952562570572,
0.028058631345629692,
0.05607633292675018,
0.016219157725572586,
-0.02167329750955105,
0.035712845623493195,
-0.02335149422287941,
0.02472270466387272,
0.01395768579095602,
-0.010427332483232021,
0.05124640092253685,
-0.009388692677021027,
-0.00022384485055226833,
0.009608699940145016,
0.02476363629102707,
0.036019835621118546,
0.03906923905014992,
0.0361221618950367,
0.002061930950731039,
-0.00018627088866196573,
-0.03663380816578865,
-0.041832126677036285,
0.046007152646780014,
-0.016843365505337715,
-0.03642915189266205,
0.022369135171175003,
-0.018756918609142303,
-0.06029228866100311,
-0.017283380031585693,
0.031087571755051613,
-0.014377234503626823,
-0.06422172486782074,
0.02322869934141636,
0.041873056441545486,
0.03540585935115814,
-0.020261157304048538,
-0.01949368789792061,
0.06008763238787651,
-0.04527038335800171,
0.04111582040786743,
-0.050550561398267746,
-0.07809755206108093,
-0.008616108447313309,
-0.008227257058024406,
-0.030248474329710007,
-0.020619308575987816,
-0.03683846816420555,
0.002967543201521039,
0.03655194491147995,
-0.005602516699582338,
-0.01969834603369236,
0.001038000569678843,
0.050591494888067245,
0.011757610365748405
] |
709,975
|
urllib3_future._async.connectionpool
|
_get_conn
|
Get a connection. Will return a pooled connection if one is available.
If no connections are available and :prop:`.block` is ``False``, then a
fresh connection is returned.
:param timeout:
Seconds to wait before giving up and raising
:class:`urllib3.exceptions.EmptyPoolError` if the pool is empty and
:prop:`.block` is ``True``.
|
@property
def is_idle(self) -> bool:
return self.pool is None or self.pool.bag_only_idle
|
(self, timeout: Optional[float] = None, *, heb_timeout: Optional[urllib3_future.util.timeout.Timeout] = None) -> urllib3_future._async.connection.AsyncHTTPConnection
|
[
0.04591512680053711,
-0.029543472453951836,
-0.0029712775722146034,
0.017590640112757683,
0.029441891238093376,
-0.009565651416778564,
-0.011808924376964569,
-0.014881784096360207,
0.0011047058505937457,
-0.0536353699862957,
-0.038601212203502655,
-0.008973089046776295,
0.010446030646562576,
0.03897368162870407,
-0.04019266739487648,
-0.013544285669922829,
0.0012337997322902083,
-0.034148529171943665,
0.017370546236634254,
-0.055226825177669525,
0.0016253142384812236,
0.047269556671381,
0.07198787480592728,
-0.02559869922697544,
-0.019300606101751328,
0.011063988320529461,
0.010522216558456421,
0.0010549728758633137,
-0.007817592471837997,
0.035181280225515366,
-0.04232589155435562,
-0.0075213112868368626,
0.01877576671540737,
-0.022940633818507195,
0.042901523411273956,
0.06318408995866776,
0.04804835468530655,
0.038533493876457214,
-0.058849919587373734,
-0.04483158513903618,
0.006124556530267,
-0.06264232099056244,
-0.011707342229783535,
0.03379299119114876,
-0.022602027282118797,
-0.02798588015139103,
0.010649194940924644,
-0.010911614634096622,
0.03914298489689827,
-0.0006057893624529243,
0.022585095837712288,
0.0028823933098465204,
0.011715807020664215,
0.0923043042421341,
-0.02006247267127037,
0.04537335783243179,
-0.010225935839116573,
0.04137779399752617,
-0.008274711668491364,
0.007385868113487959,
-0.05390625819563866,
0.003426281036809087,
0.038499630987644196,
-0.07706698775291443,
0.07964039593935013,
-0.011885110288858414,
-0.09135620296001434,
0.036197103559970856,
0.010945475660264492,
0.026428287848830223,
0.028527650982141495,
-0.0009168846299871802,
-0.024870693683624268,
0.08668342977762222,
-0.05038474127650261,
-0.0830264687538147,
-0.0278504379093647,
0.0057097626850008965,
0.010462960228323936,
-0.03240470215678215,
-0.005070642102509737,
-0.016786448657512665,
0.026394426822662354,
0.044289812445640564,
0.0670442134141922,
-0.05722460523247719,
0.037382226437330246,
0.02901863120496273,
-0.05956099554896355,
-0.019842378795146942,
0.0038008650299161673,
0.09027266502380371,
0.028256766498088837,
0.07686381787061691,
0.033996157348155975,
-0.008338200859725475,
0.0037797021213918924,
0.0445268377661705,
-0.06954990327358246,
-0.040802162140607834,
-0.07198787480592728,
0.012105205096304417,
-0.008401690050959587,
0.006882190238684416,
0.036264825612306595,
-0.0034156995825469494,
0.03333587199449539,
0.0014359059277921915,
-0.017505988478660583,
-0.07571255415678024,
-0.019486840814352036,
-0.05245024710893631,
-0.025971166789531708,
0.023668639361858368,
0.016397051513195038,
0.011758132837712765,
-0.05160372704267502,
-0.006458931136876345,
-0.018250925466418266,
-0.019436050206422806,
-0.056411948055028915,
-0.000637004675809294,
-0.014670154079794884,
-0.03003445267677307,
0.05685213953256607,
0.0495043620467186,
-0.0033289315178990364,
0.016473237425088882,
0.003371257334947586,
0.01068305503576994,
-0.0010084144305437803,
0.005421946756541729,
-0.015338903293013573,
0.02673303335905075,
-0.025310883298516273,
-0.07076889276504517,
0.004571196157485247,
0.03132116049528122,
0.008236618712544441,
0.03904140368103981,
-0.02248351462185383,
0.036230962723493576,
0.0012941141612827778,
-0.0030178360175341368,
0.08404228836297989,
0.019266746938228607,
-0.03375913202762604,
0.00047616628580726683,
0.02326231077313423,
-0.06294706463813782,
0.03228618949651718,
-0.06602839380502701,
-0.049673669040203094,
0.009159322828054428,
-0.0022348070051521063,
0.037280645221471786,
-0.051976196467876434,
0.008215455338358879,
0.005739390850067139,
-0.06057681888341904,
-0.008168897591531277,
0.03225233033299446,
-0.05918852984905243,
-0.05912080779671669,
-0.05729232728481293,
-0.02790122851729393,
0.014306151308119297,
-0.015330438502132893,
0.02344854362308979,
0.06677332520484924,
-0.030965622514486313,
-0.05319518223404884,
-0.023854872211813927,
0.040937602519989014,
0.008930763229727745,
0.0651480108499527,
-0.028138253837823868,
0.03238777443766594,
-0.00784722063690424,
0.004393427632749081,
-0.008803785778582096,
-0.015931466594338417,
-0.06467396020889282,
0.0062515344470739365,
0.005840972997248173,
-0.010886219330132008,
0.05001227557659149,
-0.0011766598327085376,
0.018623393028974533,
0.07178471237421036,
-0.03013603575527668,
0.01913130283355713,
-0.014687084592878819,
-0.04374804347753525,
0.017116591334342957,
0.003733143676072359,
-0.004956361837685108,
0.011241757310926914,
-0.001859164796769619,
0.018555670976638794,
-0.0123337646946311,
-0.00209936429746449,
-0.01389135792851448,
-0.002353319665417075,
0.029780497774481773,
0.004668545909225941,
-0.03883823752403259,
0.017125055193901062,
0.020807407796382904,
-0.014153778553009033,
-0.04547493904829025,
-0.020434940233826637,
-0.004672778304666281,
0.1079479530453682,
0.05834200978279114,
-0.00024363842385355383,
0.0001197029123432003,
0.028696954250335693,
-0.02790122851729393,
0.03880437836050987,
-0.00008511472697136924,
-0.039583176374435425,
-0.0076948474161326885,
-0.027613412588834763,
-0.03714520484209061,
0.028205974027514458,
-0.011986692436039448,
0.0448654443025589,
0.04591512680053711,
-0.005121433176100254,
0.04259677976369858,
0.022703608497977257,
-0.005117200314998627,
0.019402189180254936,
0.04591512680053711,
0.03538444638252258,
-0.026394426822662354,
-0.009557186625897884,
-0.07273281365633011,
0.006683258339762688,
-0.008054617792367935,
-0.04892873018980026,
0.029594264924526215,
-0.02549711801111698,
-0.005405016243457794,
-0.014839458279311657,
-0.011436455883085728,
0.04581354558467865,
-0.02439664490520954,
0.011402595788240433,
0.013662798330187798,
-0.03579077497124672,
-0.010259795933961868,
-0.03551989048719406,
-0.03152432292699814,
-0.08763153105974197,
-0.06850022077560425,
-0.006133021786808968,
-0.01999475248157978,
-0.010412169620394707,
-0.005366923287510872,
0.019774656742811203,
-0.05929011106491089,
0.09034038335084915,
0.002683461643755436,
0.039786338806152344,
0.031727489084005356,
-0.01787845604121685,
-0.06054295599460602,
-0.010733846575021744,
0.04601671174168587,
-0.015432020649313927,
0.00942174345254898,
-0.04550879821181297,
-0.023990316316485405,
-0.07144610583782196,
0.0008031338220462203,
-0.009514860808849335,
-0.1114017516374588,
-0.018301716074347496,
0.08187520503997803,
0.032049164175987244,
0.0014644758775830269,
0.006645164918154478,
-0.06833092123270035,
-0.030373061075806618,
-0.02803667075932026,
0.032912615686655045,
-0.004609289579093456,
-0.022026393562555313,
-0.034080807119607925,
0.040768299251794815,
0.0515698678791523,
0.03792399913072586,
0.02128145843744278,
-0.01720970869064331,
-0.013908288441598415,
0.042088866233825684,
-0.004808221478015184,
-0.0013290330534800887,
0.036332547664642334,
-0.03252321481704712,
-0.08499038964509964,
-0.0010719032725319266,
-0.0095825819298625,
0.014924109913408756,
0.007927639409899712,
0.02551404759287834,
0.006018741987645626,
0.009227044880390167,
0.039650894701480865,
-0.007436659187078476,
0.04764202609658241,
0.04354487732052803,
0.03975247964262962,
0.004566963762044907,
-0.02580186352133751,
-0.018623393028974533,
0.020384149625897408,
0.06711193174123764,
-0.04557652026414871,
0.006784840486943722,
0.006738282274454832,
0.020367220044136047,
-0.026496008038520813,
-0.0033987690694630146,
0.05583631619811058,
0.006687491200864315,
-0.003185023320838809,
0.03487653657793999,
-0.06988851726055145,
-0.012943257577717304,
0.02695312909781933,
-0.0378224179148674,
-0.0512312613427639,
0.00028781607397831976,
0.011436455883085728,
-0.011343339458107948,
0.028713885694742203,
-0.05458347126841545,
0.0002650659007485956,
0.0006465280312113464,
-0.02690233662724495,
0.04049741476774216,
0.05204391852021217,
0.012443812564015388,
0.003460141597315669,
0.023973384872078896,
0.09142392873764038,
-0.04500088840723038,
-0.025988098233938217,
0.02136611007153988,
0.02697005867958069,
0.047269556671381,
0.02219569869339466,
-0.03802558034658432,
0.00013306202890817076,
0.04259677976369858,
0.015237321145832539,
0.019706934690475464,
-0.027562621980905533,
-0.05349992960691452,
-0.009125462733209133,
-0.0010544437682256103,
-0.015787558630108833,
0.01887734793126583,
0.031016413122415543,
-0.011047057807445526,
0.010293656960129738,
-0.06284548342227936,
-0.07252965122461319,
-0.029865149408578873,
-0.024041106924414635,
0.025073857977986336,
-0.01887734793126583,
0.02031642757356167,
-0.025310883298516273,
-0.01693035662174225,
0.04564424231648445,
0.07876002043485641,
0.04117462784051895,
0.0025670654140412807,
0.020418010652065277,
0.03792399913072586,
-0.006547815632075071,
0.003096139058470726,
-0.04987683147192001,
-0.027393316850066185,
0.006899120286107063,
-0.02800280973315239,
0.049639806151390076,
0.022077186033129692,
-0.09758657962083817,
0.01619388721883297,
-0.07652521133422852,
-0.0471002534031868,
0.05786795914173126,
-0.03350517526268959,
0.021941741928458214,
-0.009811141528189182,
0.05231480300426483,
0.04574582353234291,
0.026563730090856552,
-0.03890595957636833,
-0.009184719063341618,
0.014238430187106133,
-0.011301013641059399,
-0.007335077039897442,
-0.008113873191177845,
-0.04591512680053711,
-0.013214143924415112,
-0.01787845604121685,
-0.04053127393126488,
-0.041953425854444504,
-0.011512642726302147,
-0.05261955037713051,
0.01341730821877718,
-0.008232385851442814,
0.053093601018190384,
0.006789073348045349,
0.05729232728481293,
0.0577663779258728,
-0.012985583394765854,
-0.02773192524909973,
-0.08295875042676926,
-0.03213381767272949,
0.03252321481704712,
-0.01726049929857254,
0.04019266739487648,
0.0027406015433371067,
-0.010522216558456421,
-0.010488356463611126,
0.02470139041543007,
-0.013205678202211857,
0.07950495928525925,
-0.039617035537958145,
0.0005518238176591694,
-0.0427999421954155,
-0.038635075092315674,
0.028730815276503563,
0.03789013996720314,
0.05129898339509964,
0.028781607747077942,
0.05590403825044632,
0.05820656567811966,
-0.03910912573337555,
-0.033928435295820236,
0.02886625938117504,
0.03203223645687103,
0.002446436556056142,
-0.032049164175987244,
-0.006649397779256105,
0.020333359017968178,
0.031998373568058014,
-0.002188248559832573,
-0.018420228734612465,
-0.025480186566710472,
-0.011969761922955513,
0.012536928988993168,
-0.010581472888588905,
-0.03914298489689827,
0.019859308376908302,
-0.038668934255838394,
0.05891764163970947,
0.020468801259994507,
0.00014245307829696685,
0.008829181082546711,
0.021789370104670525,
0.0021035969257354736,
0.05780023708939552,
-0.004300310742110014,
-0.005718227941542864,
0.00015316682402044535,
-0.0627439022064209,
-0.005371155682951212,
-0.04445911571383476,
-0.008752994239330292,
0.11661630123853683,
0.045136332511901855,
-0.02691926807165146,
-0.03768697381019592,
0.026512939482927322,
0.01687956601381302,
-0.013569680973887444,
-0.05888378247618675,
-0.0018845603335648775,
0.0036760037764906883,
-0.01055607758462429,
0.007796429563313723,
-0.02693619765341282,
-0.07334230840206146,
-0.022839050740003586,
-0.00827047973871231,
0.010234400629997253,
-0.019385259598493576,
0.003614631248638034,
-0.02358398772776127,
0.01060686819255352,
0.06585908681154251,
-0.010708450339734554,
-0.02107829414308071,
0.06921129673719406,
0.015338903293013573,
-0.009684164077043533,
0.05136670172214508,
-0.04479772597551346,
-0.025192370638251305,
-0.008215455338358879,
-0.019351398572325706,
0.02141690067946911,
0.06220213323831558,
-0.03132116049528122,
-0.031050274148583412,
-0.002459134440869093,
0.02023177593946457,
0.023719429969787598,
0.047472719103097916,
-0.005739390850067139,
0.05929011106491089,
-0.02788429707288742,
0.06352269649505615,
0.04808221384882927,
0.04577968642115593,
-0.006505489815026522,
-0.044086650013923645,
0.0019247699528932571,
0.03340359404683113,
-0.0072504254058003426,
-0.03474109247326851,
0.057360049337148666,
0.05014771595597267,
-0.02803667075932026,
-0.0495043620467186,
0.032049164175987244,
-0.011868179775774479,
0.017235103994607925,
-0.06941446661949158,
-0.04611829295754433,
-0.09379417449235916,
-0.013984475284814835,
0.01803082972764969,
-0.010581472888588905,
0.10835428535938263,
0.010327517986297607,
-0.009912723675370216,
0.03430090472102165,
-0.03243856504559517,
0.06988851726055145,
0.015169600024819374,
0.010429100133478642,
0.0018305948469787836,
0.02356705628335476,
-0.008367829024791718,
-0.08803785592317581,
0.08058849722146988,
-0.018301716074347496,
0.04462842270731926,
0.011284083127975464,
0.003032650100067258,
0.028104392811655998,
-0.010242866352200508,
-0.004008261952549219,
0.0021385157015174627,
0.01786152645945549,
0.021823229268193245,
-0.03467337042093277,
-0.011394130066037178,
0.014263825491070747,
0.09562265872955322,
0.02900170162320137,
0.005383853334933519,
-0.06281162798404694,
-0.019825447350740433,
-0.0070260982029139996,
0.03704361990094185,
-0.007707545068114996,
-0.0009327568695880473,
0.04131007194519043,
-0.0278504379093647,
-0.0236347783356905,
0.02365170791745186,
-0.0033077686093747616,
-0.0039193774573504925,
-0.05143442377448082,
0.0009740245877765119,
0.02461673878133297,
-0.04896259307861328,
0.044086650013923645,
0.010699985548853874,
0.009354022331535816,
-0.0037797021213918924,
0.029289517551660538,
0.03809330239892006,
0.00890536792576313,
0.029408030211925507,
0.010361378081142902,
0.03120264783501625,
-0.0027046245522797108,
-0.004715104587376118,
0.05712302401661873,
0.02246658317744732,
0.04781132936477661,
-0.01056454237550497,
-0.006391209550201893,
0.015296577475965023,
-0.01801390014588833,
-0.05597176030278206,
0.012494603171944618,
-0.044188231229782104,
-0.025158509612083435,
-0.032895684242248535,
0.011952832341194153,
-0.0026940430980175734,
0.05045246332883835,
-0.005379620939493179,
-0.02812132239341736,
-0.03910912573337555,
0.013112561777234077,
0.042088866233825684,
-0.02004554308950901,
-0.015127274207770824,
0.016574818640947342,
0.001771338633261621,
-0.011080918833613396,
0.01997782103717327,
-0.057597074657678604,
0.04909803345799446,
-0.07049800455570221,
-0.007398566231131554,
0.017607571557164192,
0.0032781404443085194,
-0.03826260566711426,
0.03785627707839012,
-0.03213381767272949,
0.008829181082546711,
0.021552344784140587,
0.0015406624879688025,
0.037246786057949066,
-0.008702203631401062,
-0.04652462154626846,
-0.04889487102627754,
-0.04269836097955704,
0.017370546236634254,
-0.02566642127931118,
0.01806469075381756,
0.004651615396142006,
-0.0532967634499073,
0.03243856504559517,
0.05214549973607063,
-0.06047523394227028,
-0.0116904117166996,
-0.012723163701593876,
0.05326290428638458,
-0.005417714361101389,
-0.014424663968384266,
-0.03707748278975487,
-0.037348367273807526,
0.03599393740296364,
0.006365814246237278,
-0.06108472868800163,
-0.07124294340610504,
-0.03714520484209061,
-0.04134393110871315,
0.024972276762127876,
0.06406447291374207,
-0.0016030932310968637,
-0.07740559428930283,
-0.014915644191205502,
-0.036264825612306595,
0.05607334151864052,
0.03667115420103073,
0.028612302616238594,
-0.019859308376908302,
-0.031862933188676834,
0.012638511136174202,
-0.028476860374212265,
-0.024193480610847473,
-0.04222431033849716,
-0.012308369390666485,
0.01389135792851448,
0.0022792492527514696,
0.002084550214931369,
-0.054380305111408234,
-0.0007740347646176815,
0.023837942630052567,
0.04940278083086014,
-0.05119739845395088,
-0.028459930792450905,
0.06589294970035553,
-0.04804835468530655,
-0.019385259598493576,
-0.01448392029851675,
0.03135501965880394,
0.08316191285848618,
-0.0345548577606678,
-0.06010276824235916,
-0.02013019472360611,
0.018487948924303055,
-0.001584046520292759,
-0.03022068738937378,
0.020756617188453674,
-0.019283676519989967,
-0.000593091594055295,
0.0034516765736043453,
-0.005637808702886105,
0.026208192110061646,
-0.03812716528773308,
0.00953179132193327,
0.029340308159589767,
0.012714697979390621,
-0.01389982271939516,
0.056479670107364655,
-0.0041860309429466724,
-0.012782419100403786,
0.03934615105390549,
-0.00644200062379241,
-0.06761984527111053,
0.02123066782951355,
-0.06284548342227936,
0.001205229782499373,
-0.03255707770586014,
0.06457237899303436,
-0.0028316022362560034,
-0.040734440088272095,
0.04886101186275482,
0.020739687606692314,
0.008854576386511326,
-0.029272587969899178,
0.0024654832668602467,
0.06853408366441727,
-0.0069414465688169,
0.011834319680929184,
-0.02781657688319683,
0.024108828976750374,
-0.00419872859492898,
-0.002395645482465625,
0.012020553462207317,
0.002440087730064988,
-0.017336685210466385,
0.006293860264122486,
0.049741387367248535,
-0.09535177052021027,
0.04598284885287285,
0.00957411713898182,
0.007174238562583923,
-0.05177303031086922,
0.00561664579436183,
-0.0035003512166440487,
-0.004613522440195084,
-0.014323081821203232,
0.032946474850177765,
0.05600561946630478,
0.02221262827515602,
0.0003454851103015244,
0.07273281365633011,
-0.013358051888644695,
-0.00027908635092899203,
0.006137254182249308,
-0.0235501267015934,
-0.017235103994607925,
-0.042867664247751236,
0.02796895056962967,
-0.007352007552981377,
-0.0046897088177502155,
-0.016151560470461845,
0.01786152645945549,
-0.030779389664530754,
0.012850141152739525
] |
709,977
|
urllib3_future._async.connectionpool
|
_make_request
|
Perform a request on a given urllib connection object taken from our
pool.
:param conn:
a connection from one of our connection pools
:param method:
HTTP request method (such as GET, POST, PUT, etc.)
:param url:
The URL to perform the request on.
:param body:
Data to send in the request body, either :class:`str`, :class:`bytes`,
an iterable of :class:`str`/:class:`bytes`, or a file-like object.
:param headers:
Dictionary of custom headers to send, such as User-Agent,
If-None-Match, etc. If None, pool headers are used. If provided,
these headers completely replace any pool-specific headers.
:param retries:
Configure the number of retries to allow before raising a
:class:`~urllib3.exceptions.MaxRetryError` exception.
Pass ``None`` to retry until you receive a response. Pass a
:class:`~urllib3.util.retry.Retry` object for fine-grained control
over different types of retries.
Pass an integer number to retry connection errors that many times,
but no other types of errors. Pass zero to never retry.
If ``False``, then retries are disabled and any exception is raised
immediately. Also, instead of raising a MaxRetryError on redirects,
the redirect response will be returned.
:type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
:param timeout:
If specified, overrides the default timeout for this one
request. It may be a float (in seconds) or an instance of
:class:`urllib3.util.Timeout`.
:param chunked:
If True, urllib3 will send the body using chunked transfer
encoding. Otherwise, urllib3 will send the body using the standard
content-length form. Defaults to False.
:param response_conn:
Set this to ``None`` if you will handle releasing the connection or
set the connection to have the response release it.
:param preload_content:
If True, the response's body will be preloaded during construction.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param enforce_content_length:
Enforce content length checking. Body returned by server must match
value of Content-Length header, if present. Otherwise, raise error.
|
@typing.overload
async def _make_request(
self,
conn: AsyncHTTPConnection,
method: str,
url: str,
body: _TYPE_BODY | None = ...,
headers: typing.Mapping[str, str] | None = ...,
retries: Retry | None = ...,
timeout: _TYPE_TIMEOUT = ...,
chunked: bool = ...,
response_conn: AsyncHTTPConnection | None = ...,
preload_content: bool = ...,
decode_content: bool = ...,
enforce_content_length: bool = ...,
on_post_connection: typing.Callable[[ConnectionInfo], typing.Awaitable[None]]
| None = ...,
on_upload_body: typing.Callable[
[int, int | None, bool, bool], typing.Awaitable[None]
] = ...,
*,
multiplexed: Literal[False] = ...,
) -> AsyncHTTPResponse:
...
|
(self, conn: 'AsyncHTTPConnection', method: 'str', url: 'str', body: '_TYPE_BODY | None' = None, headers: 'typing.Mapping[str, str] | None' = None, retries: 'Retry | None' = None, timeout: '_TYPE_TIMEOUT' = <_TYPE_DEFAULT.token: -1>, chunked: 'bool' = False, response_conn: 'AsyncHTTPConnection | None' = None, preload_content: 'bool' = True, decode_content: 'bool' = True, enforce_content_length: 'bool' = True, on_post_connection: 'typing.Callable[[ConnectionInfo], typing.Awaitable[None]] | None' = None, on_upload_body: 'typing.Callable[[int, int | None, bool, bool], typing.Awaitable[None]] | None' = None, multiplexed: 'Literal[False] | Literal[True]' = False) -> 'AsyncHTTPResponse | ResponsePromise'
|
[
-0.04429735988378525,
-0.07582298666238785,
-0.05193103849887848,
0.001729505485855043,
-0.08397047221660614,
0.004351289011538029,
-0.03787479177117348,
0.017313404008746147,
-0.02218537963926792,
-0.08426407724618912,
0.058683909475803375,
0.05952801555395126,
-0.005821597762405872,
0.030149362981319427,
-0.010358682833611965,
0.012331327423453331,
0.011780821718275547,
0.028626296669244766,
0.009335659444332123,
-0.04249903932213783,
0.010744036175310612,
0.07358426600694656,
0.0010947035625576973,
-0.008422737009823322,
0.019377801567316055,
0.09424657374620438,
-0.01732257939875126,
-0.01412047166377306,
0.03904920443892479,
0.0007139371009543538,
0.05622498318552971,
0.033617548644542694,
0.03536081686615944,
0.04840780049562454,
0.022038578987121582,
-0.0017799685010686517,
0.001175559009425342,
0.053729359060525894,
-0.07905261963605881,
-0.021029317751526833,
-0.06892331689596176,
-0.04804079979658127,
0.007385951466858387,
-0.02526821196079254,
0.02570861577987671,
-0.0066106561571359634,
-0.07413476705551147,
0.016386719420552254,
0.00030421174596995115,
0.013836043886840343,
-0.003812252078205347,
0.02789228968322277,
0.03563607111573219,
-0.02137797139585018,
0.016001366078853607,
0.047820594161748886,
-0.0435633510351181,
0.025726966559886932,
-0.018671318888664246,
0.05013272166252136,
-0.046058978885412216,
0.04055391997098923,
0.05160073563456535,
-0.030241113156080246,
-0.04939871281385422,
-0.03264498710632324,
-0.0429394468665123,
-0.020442111417651176,
0.006931784562766552,
0.0046976488083601,
0.025433363392949104,
0.026204071938991547,
-0.015597661957144737,
-0.02293773740530014,
0.048628006130456924,
0.0009628115221858025,
-0.014533351175487041,
0.004784812219440937,
-0.001251253648661077,
-0.029231853783130646,
0.01417552214115858,
-0.011331242509186268,
0.0063124652951955795,
-0.03358084708452225,
0.02657107636332512,
-0.058830708265304565,
-0.0389024019241333,
-0.0000395675961044617,
-0.05780309811234474,
-0.014570050872862339,
-0.03249818831682205,
-0.03273674100637436,
-0.03405795246362686,
-0.008597063831984997,
-0.01853369176387787,
-0.017496906220912933,
-0.01702897623181343,
-0.049435414373874664,
-0.04906840994954109,
-0.02535996213555336,
-0.045948877930641174,
0.025635216385126114,
-0.013918619602918625,
-0.004690767265856266,
0.025341613218188286,
-0.10033883899450302,
0.0583903044462204,
-0.027396833524107933,
0.0014347555115818977,
-0.024992959573864937,
0.02141467295587063,
-0.06286775320768356,
-0.008202535100281239,
0.03956301137804985,
-0.0068079205229878426,
0.0218183770775795,
-0.014441600069403648,
-0.033617548644542694,
-0.052261341363191605,
-0.0002008485607802868,
-0.026332523673772812,
-0.009606325067579746,
0.033874452114105225,
0.0074868774972856045,
0.06209704279899597,
0.023836897686123848,
0.009032880887389183,
-0.014661801978945732,
-0.01802906207740307,
-0.05651858448982239,
-0.01027610618621111,
0.046205777674913406,
0.031745828688144684,
0.0831630602478981,
-0.01782720908522606,
0.07072163373231888,
-0.0671616941690445,
0.025231512263417244,
-0.014432424679398537,
0.021910127252340317,
0.02080911584198475,
0.007468527648597956,
0.01058806013315916,
-0.07387786358594894,
-0.015781164169311523,
0.00032313537667505443,
-0.0251581110060215,
-0.09424657374620438,
-0.013239662162959576,
-0.009743951261043549,
-0.0018132281256839633,
-0.04048052057623863,
-0.025378312915563583,
0.07721760123968124,
0.010450433008372784,
-0.0042090751230716705,
-0.0012042312882840633,
-0.012450603768229485,
-0.031085222959518433,
0.009069581516087055,
-0.02172662504017353,
-0.0022547796834260225,
0.007615328766405582,
-0.04481116309762001,
0.005596808157861233,
-0.04910510778427124,
0.07185934484004974,
-0.04994921758770943,
0.01849699206650257,
-0.008441087789833546,
-0.03449835628271103,
0.056408483535051346,
-0.01939615048468113,
-0.004007222596555948,
0.025855418294668198,
0.03101182170212269,
0.020442111417651176,
0.02172662504017353,
-0.06664789468050003,
0.0048673879355192184,
0.021910127252340317,
-0.021689925342798233,
0.0074639399535954,
0.03570947051048279,
0.03438825532793999,
0.06829940527677536,
-0.007142811547964811,
0.005702321417629719,
0.032810140401124954,
-0.025855418294668198,
-0.015937140211462975,
0.0013338294811546803,
0.05409635975956917,
-0.06628088653087616,
0.03484700992703438,
-0.06719839572906494,
-0.016184868291020393,
0.0563717857003212,
0.05758289620280266,
0.030993470922112465,
-0.006752870045602322,
0.005642683710902929,
0.024185551330447197,
0.055454276502132416,
-0.023157939314842224,
-0.00610143830999732,
0.030020911246538162,
-0.018267614766955376,
-0.08918192237615585,
-0.00917050801217556,
-0.0352507159113884,
-0.014368198812007904,
-0.03025946393609047,
0.020497161895036697,
0.006532667670398951,
-0.020020058378577232,
0.0002451470645610243,
-0.003098888322710991,
-0.01093671377748251,
-0.00904664397239685,
0.0830896645784378,
0.03570947051048279,
-0.003922353032976389,
-0.06294115632772446,
0.09365937113761902,
-0.02728673256933689,
0.002413050038740039,
-0.02146972343325615,
-0.0331587940454483,
-0.02036871202290058,
-0.035746172070503235,
0.0015310939634218812,
0.04128792881965637,
0.04275594279170036,
-0.05527077242732048,
0.02435070276260376,
-0.00607391307130456,
-0.010221055708825588,
0.0023327679373323917,
-0.04040711745619774,
0.01874472014605999,
0.006495967507362366,
0.006784982979297638,
-0.010670635849237442,
-0.07130883634090424,
-0.034131355583667755,
0.020093457773327827,
0.04319634661078453,
-0.022974438965320587,
0.010266931727528572,
-0.0048857382498681545,
-0.016083942726254463,
-0.058720607310533524,
-0.022607434540987015,
0.004816925153136253,
0.022001877427101135,
-0.00978065188974142,
-0.054279863834381104,
-0.010000853799283504,
-0.00942282285541296,
0.014313148334622383,
0.07721760123968124,
-0.010266931727528572,
0.0671616941690445,
-0.05772969871759415,
-0.02036871202290058,
-0.002215785440057516,
-0.03202108293771744,
-0.04583877697587013,
0.017359279096126556,
0.030479665845632553,
0.0604088269174099,
0.04007681459188461,
-0.01377181801944971,
-0.002214638516306877,
-0.025892117992043495,
-0.008445675484836102,
0.022864338010549545,
-0.02844279445707798,
-0.0435633510351181,
0.010890837758779526,
-0.058023300021886826,
0.03339734673500061,
-0.04613237828016281,
-0.013872743584215641,
-0.013019460253417492,
-0.00012923982285428792,
0.07927282154560089,
-0.0011228022631257772,
-0.006445504259318113,
0.00806032121181488,
0.01305615995079279,
0.03919600695371628,
0.023212991654872894,
-0.04297614470124245,
-0.0040416293777525425,
-0.03530576452612877,
0.017047327011823654,
0.05328895151615143,
-0.0496189147233963,
-0.03036956489086151,
0.021543122828006744,
-0.015230657532811165,
-0.03262664005160332,
0.037159133702516556,
-0.06617078930139542,
-0.005959224421530962,
-0.03299364075064659,
-0.08947552740573883,
0.014166346751153469,
-0.03712243586778641,
0.025855418294668198,
-0.023011138662695885,
-0.07141894102096558,
-0.010046728886663914,
0.018652968108654022,
0.015019631013274193,
0.046866387128829956,
0.03128707408905029,
0.046352580189704895,
-0.029011650010943413,
-0.004555434919893742,
-0.036259975284338,
-0.032204583287239075,
0.005165578797459602,
-0.03158067911863327,
-0.013368113897740841,
0.0034016664139926434,
-0.03668203204870224,
0.05248154327273369,
-0.04506806656718254,
0.08088763803243637,
-0.01682712510228157,
-0.03915930539369583,
-0.04503136873245239,
-0.015276533551514149,
0.010973413474857807,
-0.005477531813085079,
0.028718048706650734,
-0.021965177729725838,
-0.017506081610918045,
0.011303717270493507,
0.058280203491449356,
0.013634191825985909,
0.033268895000219345,
-0.03868220001459122,
0.03163572773337364,
0.00909251905977726,
0.0926317572593689,
-0.034938763827085495,
-0.009110869839787483,
-0.038572099059820175,
0.005633508320897818,
0.062464047223329544,
0.051197029650211334,
0.02363504469394684,
-0.024112150073051453,
-0.051197029650211334,
-0.005537169985473156,
-0.009560449048876762,
0.008574126288294792,
0.02490120753645897,
0.020387060940265656,
0.04939871281385422,
0.04198523610830307,
0.031195323914289474,
0.03262664005160332,
0.003032368840649724,
-0.04543507099151611,
0.026516025885939598,
-0.024277301505208015,
-0.0059316991828382015,
-0.053325653076171875,
-0.014285623095929623,
-0.04037041962146759,
0.0030553066171705723,
-0.08646609634160995,
-0.035544317215681076,
-0.02789228968322277,
0.03875560313463211,
0.022368881851434708,
-0.025194810703396797,
0.01747855544090271,
-0.018808944150805473,
0.03600307181477547,
-0.06294115632772446,
-0.010716510936617851,
0.026791278272867203,
0.007445589639246464,
0.06488627195358276,
0.02824094332754612,
-0.01293688453733921,
-0.002200875896960497,
0.0055096447467803955,
-0.01184504758566618,
-0.04859130457043648,
-0.004624248016625643,
0.015735289081931114,
-0.035599369555711746,
-0.02712158113718033,
0.005867473315447569,
-0.019469551742076874,
0.00788140669465065,
0.07424487173557281,
-0.026589425280690193,
0.08147484809160233,
0.034736908972263336,
0.03268168866634369,
0.021029317751526833,
-0.009060406126081944,
-0.013634191825985909,
-0.029690608382225037,
-0.0435633510351181,
0.015588486567139626,
-0.028369395062327385,
0.007239149883389473,
-0.025635216385126114,
-0.030828319489955902,
0.02146972343325615,
0.009037468582391739,
0.02591046877205372,
0.05207784101366997,
-0.0020276959985494614,
0.043122947216033936,
0.020332010462880135,
0.00008056880324147642,
0.028736397624015808,
0.008404387161135674,
-0.016634447500109673,
-0.01177164725959301,
0.009220970794558525,
0.038718901574611664,
-0.032553236931562424,
0.007564865984022617,
0.044884566217660904,
0.053032051771879196,
-0.03915930539369583,
0.028516195714473724,
0.048738107085227966,
0.012010199949145317,
-0.022368881851434708,
0.047820594161748886,
-0.05354585498571396,
-0.03565441817045212,
0.05016941949725151,
-0.02055221237242222,
0.027048179879784584,
-0.006362928543239832,
0.0025896707084029913,
-0.00305760046467185,
0.014615926891565323,
0.0603354275226593,
0.027011480182409286,
0.007798830978572369,
-0.04360005259513855,
-0.008450262248516083,
0.05127043277025223,
-0.01586373895406723,
-0.04121452569961548,
-0.037104085087776184,
0.12023044377565384,
-0.0348653607070446,
0.04132463037967682,
-0.012056075036525726,
-0.013459865003824234,
0.011597320437431335,
0.03414970263838768,
0.0052160415798425674,
-0.023414842784404755,
-0.024736056104302406,
0.027928989380598068,
-0.024442452937364578,
-0.011523919180035591,
0.020276959985494614,
0.0361865758895874,
-0.02005675807595253,
0.011514744721353054,
0.03295694291591644,
-0.0020345773082226515,
-0.06128963455557823,
-0.0025782017037272453,
-0.03993001580238342,
0.05596807971596718,
0.05607818067073822,
0.045948877930641174,
0.007982333190739155,
-0.01025775633752346,
0.01220287661999464,
0.04040711745619774,
-0.04081082344055176,
-0.003463598433881998,
0.07699739933013916,
0.03570947051048279,
0.013799343258142471,
-0.004619660321623087,
-0.015460035763680935,
-0.05527077242732048,
0.003674625651910901,
-0.018478641286492348,
0.0004693634691648185,
0.003809958230704069,
-0.04026031866669655,
0.009844876825809479,
-0.014313148334622383,
0.025084709748625755,
-0.004151730332523584,
-0.048774804919958115,
-0.009042056277394295,
-0.031397175043821335,
-0.04693978652358055,
-0.03578286990523338,
0.02198352850973606,
-0.05046302452683449,
0.004968313965946436,
0.010340332053601742,
0.03380104899406433,
0.0006456973496824503,
0.046756286174058914,
-0.03370929881930351,
-0.06073912978172302,
0.051710836589336395,
0.07017112523317337,
0.027855588123202324,
-0.011597320437431335,
-0.001447371207177639,
-0.007161161862313747,
0.06073912978172302,
-0.0037594952154904604,
0.018019886687397957,
0.00029790386906825006,
0.003807664383202791,
-0.026516025885939598,
-0.011606495827436447,
-0.000726552854757756,
0.04158153012394905,
0.005133465863764286,
-0.050499722361564636,
0.016093116253614426,
-0.03031451441347599,
0.0019829673692584038,
0.004729761742055416,
0.10349507629871368,
-0.049325309693813324,
-0.04026031866669655,
-0.07006102800369263,
0.028718048706650734,
0.05648188665509224,
0.04521486908197403,
0.0002083033323287964,
-0.05053642392158508,
-0.06606068462133408,
0.019579652696847916,
0.027470234781503677,
-0.006234477274119854,
-0.08066743612289429,
-0.03912260755896568,
0.017249178141355515,
-0.07670379430055618,
0.006766632664948702,
-0.020588913932442665,
0.011643195524811745,
-0.0008561510476283729,
-0.045141469687223434,
0.05005931854248047,
-0.033415697515010834,
0.037911493331193924,
0.05945461615920067,
0.0696573257446289,
-0.01540498435497284,
-0.03251653537154198,
-0.009000767953693867,
0.02591046877205372,
-0.032553236931562424,
-0.03677378222346306,
0.017047327011823654,
0.02899330109357834,
-0.02137797139585018,
-0.004050804302096367,
0.00032284867484122515,
-0.0070327105931937695,
0.04616907984018326,
-0.025194810703396797,
-0.05798660218715668,
-0.07670379430055618,
-0.01581786386668682,
-0.029066702350974083,
-0.01768958382308483,
0.018258439376950264,
-0.009532923810184002,
-0.011019289493560791,
-0.03136047348380089,
0.001375117339193821,
-0.04965561628341675,
-0.014726027846336365,
-0.016184868291020393,
0.05820680409669876,
-0.03581957146525383,
0.03270003944635391,
0.004353582859039307,
-0.0021125655621290207,
-0.031452227383852005,
0.02959885634481907,
-0.033874452114105225,
-0.02490120753645897,
-0.01930440030992031,
0.041508130729198456,
-0.0631246566772461,
-0.019579652696847916,
0.04462766274809837,
-0.031452227383852005,
0.022240430116653442,
0.01601054146885872,
0.015129731968045235,
0.009899927303195,
-0.03446165844798088,
-0.009597149677574635,
-0.09072334319353104,
0.03616822510957718,
0.0630512535572052,
-0.058280203491449356,
-0.01974480412900448,
-0.04470106214284897,
-0.00979900173842907,
-0.002635546028614044,
-0.012707507237792015,
0.06073912978172302,
-0.002136650262400508,
-0.04000341519713402,
-0.06261084973812103,
-0.040186915546655655,
0.025194810703396797,
0.004619660321623087,
0.07369436323642731,
0.016836300492286682,
0.07233645021915436,
-0.0038994154892861843,
0.008606239221990108,
0.03236973658204079,
0.0043168822303414345,
-0.007023535203188658,
0.01950625143945217,
0.00592252379283309,
-0.041765034198760986,
-0.017964836210012436,
0.012661631219089031,
-0.0034016664139926434,
0.019065847620368004,
-0.050903428345918655,
-0.017194127663969994,
-0.02233218215405941,
-0.004858213011175394,
0.0966688022017479,
0.05714249238371849,
-0.003459010971710086,
0.052665047347545624,
0.0070831733755767345,
-0.013992019928991795,
-0.02339649200439453,
0.07839201390743256,
-0.02400204911828041,
0.031745828688144684,
-0.02258908376097679,
0.10129304975271225,
0.006711582187563181,
-0.008849379606544971,
0.027470234781503677,
-0.022148679941892624,
-0.09204455465078354,
0.03919600695371628,
0.013001109473407269,
0.030828319489955902,
0.02025860920548439,
0.005202278960496187,
0.031195323914289474,
0.05016941949725151,
0.022038578987121582,
0.03025946393609047,
-0.02622242271900177,
0.0013475921005010605,
0.010404557920992374,
0.022148679941892624,
0.016652798280119896,
-0.04389365389943123,
0.04602227732539177,
0.01636837050318718,
-0.04550847038626671,
0.027653736993670464,
0.013166261836886406,
0.016304144635796547,
-0.039636410772800446,
0.054389964789152145,
-0.006528079975396395,
-0.020625613629817963,
0.040040116757154465,
-0.02126787044107914,
0.008927367627620697,
-0.034333206713199615,
-0.07031793147325516,
0.025231512263417244,
0.019267700612545013,
0.07395126670598984,
-0.022222081199288368,
-0.0029383241198956966,
0.015230657532811165,
0.0066611189395189285,
0.01581786386668682,
0.03475525975227356,
0.035691119730472565,
0.03343404829502106,
0.04238893836736679,
-0.026002218946814537,
-0.00497748889029026,
0.053325653076171875,
0.009285196661949158,
-0.0022501919884234667,
0.04653608426451683,
0.00978065188974142,
0.037305936217308044,
-0.036498527973890305,
0.036241624504327774,
-0.048774804919958115,
-0.012368028052151203,
0.011349592357873917,
-0.020295310765504837,
-0.00014500951510854065,
-0.053582556545734406,
-0.0351773165166378,
0.02106601931154728,
0.04807749763131142,
0.030498016625642776,
0.0744650736451149,
0.042866043746471405,
-0.03244313597679138,
-0.032975293695926666,
-0.016304144635796547,
-0.04136132821440697,
0.018552042543888092,
0.01970810443162918,
0.05501386895775795,
0.00019052658171858639,
-0.05284854769706726,
-0.04727008938789368,
-0.003114944789558649,
-0.002136650262400508,
0.05123373121023178,
-0.03325054422020912,
0.05941791459918022,
0.0281858928501606,
0.012863483279943466,
-0.001992142526432872,
0.017561132088303566,
0.016148166730999947,
-0.015083856880664825,
0.001861397409811616,
0.04712328687310219,
-0.040186915546655655,
0.006271177437156439,
0.000756945344619453,
-0.030149362981319427,
-0.008358512073755264,
-0.021744975820183754,
0.03743438795208931,
0.06316135823726654,
-0.023451542481780052,
-0.062464047223329544,
0.009431998245418072,
0.0016182573745027184,
0.036039773374795914
] |
709,978
|
urllib3_future._async.connectionpool
|
_new_conn
|
Return a fresh :class:`HTTPConnection`.
|
@property
def is_idle(self) -> bool:
return self.pool is None or self.pool.bag_only_idle
|
(self, *, heb_timeout: Optional[urllib3_future.util.timeout.Timeout] = None) -> urllib3_future._async.connection.AsyncHTTPConnection
|
[
0.04591512680053711,
-0.029543472453951836,
-0.0029712775722146034,
0.017590640112757683,
0.029441891238093376,
-0.009565651416778564,
-0.011808924376964569,
-0.014881784096360207,
0.0011047058505937457,
-0.0536353699862957,
-0.038601212203502655,
-0.008973089046776295,
0.010446030646562576,
0.03897368162870407,
-0.04019266739487648,
-0.013544285669922829,
0.0012337997322902083,
-0.034148529171943665,
0.017370546236634254,
-0.055226825177669525,
0.0016253142384812236,
0.047269556671381,
0.07198787480592728,
-0.02559869922697544,
-0.019300606101751328,
0.011063988320529461,
0.010522216558456421,
0.0010549728758633137,
-0.007817592471837997,
0.035181280225515366,
-0.04232589155435562,
-0.0075213112868368626,
0.01877576671540737,
-0.022940633818507195,
0.042901523411273956,
0.06318408995866776,
0.04804835468530655,
0.038533493876457214,
-0.058849919587373734,
-0.04483158513903618,
0.006124556530267,
-0.06264232099056244,
-0.011707342229783535,
0.03379299119114876,
-0.022602027282118797,
-0.02798588015139103,
0.010649194940924644,
-0.010911614634096622,
0.03914298489689827,
-0.0006057893624529243,
0.022585095837712288,
0.0028823933098465204,
0.011715807020664215,
0.0923043042421341,
-0.02006247267127037,
0.04537335783243179,
-0.010225935839116573,
0.04137779399752617,
-0.008274711668491364,
0.007385868113487959,
-0.05390625819563866,
0.003426281036809087,
0.038499630987644196,
-0.07706698775291443,
0.07964039593935013,
-0.011885110288858414,
-0.09135620296001434,
0.036197103559970856,
0.010945475660264492,
0.026428287848830223,
0.028527650982141495,
-0.0009168846299871802,
-0.024870693683624268,
0.08668342977762222,
-0.05038474127650261,
-0.0830264687538147,
-0.0278504379093647,
0.0057097626850008965,
0.010462960228323936,
-0.03240470215678215,
-0.005070642102509737,
-0.016786448657512665,
0.026394426822662354,
0.044289812445640564,
0.0670442134141922,
-0.05722460523247719,
0.037382226437330246,
0.02901863120496273,
-0.05956099554896355,
-0.019842378795146942,
0.0038008650299161673,
0.09027266502380371,
0.028256766498088837,
0.07686381787061691,
0.033996157348155975,
-0.008338200859725475,
0.0037797021213918924,
0.0445268377661705,
-0.06954990327358246,
-0.040802162140607834,
-0.07198787480592728,
0.012105205096304417,
-0.008401690050959587,
0.006882190238684416,
0.036264825612306595,
-0.0034156995825469494,
0.03333587199449539,
0.0014359059277921915,
-0.017505988478660583,
-0.07571255415678024,
-0.019486840814352036,
-0.05245024710893631,
-0.025971166789531708,
0.023668639361858368,
0.016397051513195038,
0.011758132837712765,
-0.05160372704267502,
-0.006458931136876345,
-0.018250925466418266,
-0.019436050206422806,
-0.056411948055028915,
-0.000637004675809294,
-0.014670154079794884,
-0.03003445267677307,
0.05685213953256607,
0.0495043620467186,
-0.0033289315178990364,
0.016473237425088882,
0.003371257334947586,
0.01068305503576994,
-0.0010084144305437803,
0.005421946756541729,
-0.015338903293013573,
0.02673303335905075,
-0.025310883298516273,
-0.07076889276504517,
0.004571196157485247,
0.03132116049528122,
0.008236618712544441,
0.03904140368103981,
-0.02248351462185383,
0.036230962723493576,
0.0012941141612827778,
-0.0030178360175341368,
0.08404228836297989,
0.019266746938228607,
-0.03375913202762604,
0.00047616628580726683,
0.02326231077313423,
-0.06294706463813782,
0.03228618949651718,
-0.06602839380502701,
-0.049673669040203094,
0.009159322828054428,
-0.0022348070051521063,
0.037280645221471786,
-0.051976196467876434,
0.008215455338358879,
0.005739390850067139,
-0.06057681888341904,
-0.008168897591531277,
0.03225233033299446,
-0.05918852984905243,
-0.05912080779671669,
-0.05729232728481293,
-0.02790122851729393,
0.014306151308119297,
-0.015330438502132893,
0.02344854362308979,
0.06677332520484924,
-0.030965622514486313,
-0.05319518223404884,
-0.023854872211813927,
0.040937602519989014,
0.008930763229727745,
0.0651480108499527,
-0.028138253837823868,
0.03238777443766594,
-0.00784722063690424,
0.004393427632749081,
-0.008803785778582096,
-0.015931466594338417,
-0.06467396020889282,
0.0062515344470739365,
0.005840972997248173,
-0.010886219330132008,
0.05001227557659149,
-0.0011766598327085376,
0.018623393028974533,
0.07178471237421036,
-0.03013603575527668,
0.01913130283355713,
-0.014687084592878819,
-0.04374804347753525,
0.017116591334342957,
0.003733143676072359,
-0.004956361837685108,
0.011241757310926914,
-0.001859164796769619,
0.018555670976638794,
-0.0123337646946311,
-0.00209936429746449,
-0.01389135792851448,
-0.002353319665417075,
0.029780497774481773,
0.004668545909225941,
-0.03883823752403259,
0.017125055193901062,
0.020807407796382904,
-0.014153778553009033,
-0.04547493904829025,
-0.020434940233826637,
-0.004672778304666281,
0.1079479530453682,
0.05834200978279114,
-0.00024363842385355383,
0.0001197029123432003,
0.028696954250335693,
-0.02790122851729393,
0.03880437836050987,
-0.00008511472697136924,
-0.039583176374435425,
-0.0076948474161326885,
-0.027613412588834763,
-0.03714520484209061,
0.028205974027514458,
-0.011986692436039448,
0.0448654443025589,
0.04591512680053711,
-0.005121433176100254,
0.04259677976369858,
0.022703608497977257,
-0.005117200314998627,
0.019402189180254936,
0.04591512680053711,
0.03538444638252258,
-0.026394426822662354,
-0.009557186625897884,
-0.07273281365633011,
0.006683258339762688,
-0.008054617792367935,
-0.04892873018980026,
0.029594264924526215,
-0.02549711801111698,
-0.005405016243457794,
-0.014839458279311657,
-0.011436455883085728,
0.04581354558467865,
-0.02439664490520954,
0.011402595788240433,
0.013662798330187798,
-0.03579077497124672,
-0.010259795933961868,
-0.03551989048719406,
-0.03152432292699814,
-0.08763153105974197,
-0.06850022077560425,
-0.006133021786808968,
-0.01999475248157978,
-0.010412169620394707,
-0.005366923287510872,
0.019774656742811203,
-0.05929011106491089,
0.09034038335084915,
0.002683461643755436,
0.039786338806152344,
0.031727489084005356,
-0.01787845604121685,
-0.06054295599460602,
-0.010733846575021744,
0.04601671174168587,
-0.015432020649313927,
0.00942174345254898,
-0.04550879821181297,
-0.023990316316485405,
-0.07144610583782196,
0.0008031338220462203,
-0.009514860808849335,
-0.1114017516374588,
-0.018301716074347496,
0.08187520503997803,
0.032049164175987244,
0.0014644758775830269,
0.006645164918154478,
-0.06833092123270035,
-0.030373061075806618,
-0.02803667075932026,
0.032912615686655045,
-0.004609289579093456,
-0.022026393562555313,
-0.034080807119607925,
0.040768299251794815,
0.0515698678791523,
0.03792399913072586,
0.02128145843744278,
-0.01720970869064331,
-0.013908288441598415,
0.042088866233825684,
-0.004808221478015184,
-0.0013290330534800887,
0.036332547664642334,
-0.03252321481704712,
-0.08499038964509964,
-0.0010719032725319266,
-0.0095825819298625,
0.014924109913408756,
0.007927639409899712,
0.02551404759287834,
0.006018741987645626,
0.009227044880390167,
0.039650894701480865,
-0.007436659187078476,
0.04764202609658241,
0.04354487732052803,
0.03975247964262962,
0.004566963762044907,
-0.02580186352133751,
-0.018623393028974533,
0.020384149625897408,
0.06711193174123764,
-0.04557652026414871,
0.006784840486943722,
0.006738282274454832,
0.020367220044136047,
-0.026496008038520813,
-0.0033987690694630146,
0.05583631619811058,
0.006687491200864315,
-0.003185023320838809,
0.03487653657793999,
-0.06988851726055145,
-0.012943257577717304,
0.02695312909781933,
-0.0378224179148674,
-0.0512312613427639,
0.00028781607397831976,
0.011436455883085728,
-0.011343339458107948,
0.028713885694742203,
-0.05458347126841545,
0.0002650659007485956,
0.0006465280312113464,
-0.02690233662724495,
0.04049741476774216,
0.05204391852021217,
0.012443812564015388,
0.003460141597315669,
0.023973384872078896,
0.09142392873764038,
-0.04500088840723038,
-0.025988098233938217,
0.02136611007153988,
0.02697005867958069,
0.047269556671381,
0.02219569869339466,
-0.03802558034658432,
0.00013306202890817076,
0.04259677976369858,
0.015237321145832539,
0.019706934690475464,
-0.027562621980905533,
-0.05349992960691452,
-0.009125462733209133,
-0.0010544437682256103,
-0.015787558630108833,
0.01887734793126583,
0.031016413122415543,
-0.011047057807445526,
0.010293656960129738,
-0.06284548342227936,
-0.07252965122461319,
-0.029865149408578873,
-0.024041106924414635,
0.025073857977986336,
-0.01887734793126583,
0.02031642757356167,
-0.025310883298516273,
-0.01693035662174225,
0.04564424231648445,
0.07876002043485641,
0.04117462784051895,
0.0025670654140412807,
0.020418010652065277,
0.03792399913072586,
-0.006547815632075071,
0.003096139058470726,
-0.04987683147192001,
-0.027393316850066185,
0.006899120286107063,
-0.02800280973315239,
0.049639806151390076,
0.022077186033129692,
-0.09758657962083817,
0.01619388721883297,
-0.07652521133422852,
-0.0471002534031868,
0.05786795914173126,
-0.03350517526268959,
0.021941741928458214,
-0.009811141528189182,
0.05231480300426483,
0.04574582353234291,
0.026563730090856552,
-0.03890595957636833,
-0.009184719063341618,
0.014238430187106133,
-0.011301013641059399,
-0.007335077039897442,
-0.008113873191177845,
-0.04591512680053711,
-0.013214143924415112,
-0.01787845604121685,
-0.04053127393126488,
-0.041953425854444504,
-0.011512642726302147,
-0.05261955037713051,
0.01341730821877718,
-0.008232385851442814,
0.053093601018190384,
0.006789073348045349,
0.05729232728481293,
0.0577663779258728,
-0.012985583394765854,
-0.02773192524909973,
-0.08295875042676926,
-0.03213381767272949,
0.03252321481704712,
-0.01726049929857254,
0.04019266739487648,
0.0027406015433371067,
-0.010522216558456421,
-0.010488356463611126,
0.02470139041543007,
-0.013205678202211857,
0.07950495928525925,
-0.039617035537958145,
0.0005518238176591694,
-0.0427999421954155,
-0.038635075092315674,
0.028730815276503563,
0.03789013996720314,
0.05129898339509964,
0.028781607747077942,
0.05590403825044632,
0.05820656567811966,
-0.03910912573337555,
-0.033928435295820236,
0.02886625938117504,
0.03203223645687103,
0.002446436556056142,
-0.032049164175987244,
-0.006649397779256105,
0.020333359017968178,
0.031998373568058014,
-0.002188248559832573,
-0.018420228734612465,
-0.025480186566710472,
-0.011969761922955513,
0.012536928988993168,
-0.010581472888588905,
-0.03914298489689827,
0.019859308376908302,
-0.038668934255838394,
0.05891764163970947,
0.020468801259994507,
0.00014245307829696685,
0.008829181082546711,
0.021789370104670525,
0.0021035969257354736,
0.05780023708939552,
-0.004300310742110014,
-0.005718227941542864,
0.00015316682402044535,
-0.0627439022064209,
-0.005371155682951212,
-0.04445911571383476,
-0.008752994239330292,
0.11661630123853683,
0.045136332511901855,
-0.02691926807165146,
-0.03768697381019592,
0.026512939482927322,
0.01687956601381302,
-0.013569680973887444,
-0.05888378247618675,
-0.0018845603335648775,
0.0036760037764906883,
-0.01055607758462429,
0.007796429563313723,
-0.02693619765341282,
-0.07334230840206146,
-0.022839050740003586,
-0.00827047973871231,
0.010234400629997253,
-0.019385259598493576,
0.003614631248638034,
-0.02358398772776127,
0.01060686819255352,
0.06585908681154251,
-0.010708450339734554,
-0.02107829414308071,
0.06921129673719406,
0.015338903293013573,
-0.009684164077043533,
0.05136670172214508,
-0.04479772597551346,
-0.025192370638251305,
-0.008215455338358879,
-0.019351398572325706,
0.02141690067946911,
0.06220213323831558,
-0.03132116049528122,
-0.031050274148583412,
-0.002459134440869093,
0.02023177593946457,
0.023719429969787598,
0.047472719103097916,
-0.005739390850067139,
0.05929011106491089,
-0.02788429707288742,
0.06352269649505615,
0.04808221384882927,
0.04577968642115593,
-0.006505489815026522,
-0.044086650013923645,
0.0019247699528932571,
0.03340359404683113,
-0.0072504254058003426,
-0.03474109247326851,
0.057360049337148666,
0.05014771595597267,
-0.02803667075932026,
-0.0495043620467186,
0.032049164175987244,
-0.011868179775774479,
0.017235103994607925,
-0.06941446661949158,
-0.04611829295754433,
-0.09379417449235916,
-0.013984475284814835,
0.01803082972764969,
-0.010581472888588905,
0.10835428535938263,
0.010327517986297607,
-0.009912723675370216,
0.03430090472102165,
-0.03243856504559517,
0.06988851726055145,
0.015169600024819374,
0.010429100133478642,
0.0018305948469787836,
0.02356705628335476,
-0.008367829024791718,
-0.08803785592317581,
0.08058849722146988,
-0.018301716074347496,
0.04462842270731926,
0.011284083127975464,
0.003032650100067258,
0.028104392811655998,
-0.010242866352200508,
-0.004008261952549219,
0.0021385157015174627,
0.01786152645945549,
0.021823229268193245,
-0.03467337042093277,
-0.011394130066037178,
0.014263825491070747,
0.09562265872955322,
0.02900170162320137,
0.005383853334933519,
-0.06281162798404694,
-0.019825447350740433,
-0.0070260982029139996,
0.03704361990094185,
-0.007707545068114996,
-0.0009327568695880473,
0.04131007194519043,
-0.0278504379093647,
-0.0236347783356905,
0.02365170791745186,
-0.0033077686093747616,
-0.0039193774573504925,
-0.05143442377448082,
0.0009740245877765119,
0.02461673878133297,
-0.04896259307861328,
0.044086650013923645,
0.010699985548853874,
0.009354022331535816,
-0.0037797021213918924,
0.029289517551660538,
0.03809330239892006,
0.00890536792576313,
0.029408030211925507,
0.010361378081142902,
0.03120264783501625,
-0.0027046245522797108,
-0.004715104587376118,
0.05712302401661873,
0.02246658317744732,
0.04781132936477661,
-0.01056454237550497,
-0.006391209550201893,
0.015296577475965023,
-0.01801390014588833,
-0.05597176030278206,
0.012494603171944618,
-0.044188231229782104,
-0.025158509612083435,
-0.032895684242248535,
0.011952832341194153,
-0.0026940430980175734,
0.05045246332883835,
-0.005379620939493179,
-0.02812132239341736,
-0.03910912573337555,
0.013112561777234077,
0.042088866233825684,
-0.02004554308950901,
-0.015127274207770824,
0.016574818640947342,
0.001771338633261621,
-0.011080918833613396,
0.01997782103717327,
-0.057597074657678604,
0.04909803345799446,
-0.07049800455570221,
-0.007398566231131554,
0.017607571557164192,
0.0032781404443085194,
-0.03826260566711426,
0.03785627707839012,
-0.03213381767272949,
0.008829181082546711,
0.021552344784140587,
0.0015406624879688025,
0.037246786057949066,
-0.008702203631401062,
-0.04652462154626846,
-0.04889487102627754,
-0.04269836097955704,
0.017370546236634254,
-0.02566642127931118,
0.01806469075381756,
0.004651615396142006,
-0.0532967634499073,
0.03243856504559517,
0.05214549973607063,
-0.06047523394227028,
-0.0116904117166996,
-0.012723163701593876,
0.05326290428638458,
-0.005417714361101389,
-0.014424663968384266,
-0.03707748278975487,
-0.037348367273807526,
0.03599393740296364,
0.006365814246237278,
-0.06108472868800163,
-0.07124294340610504,
-0.03714520484209061,
-0.04134393110871315,
0.024972276762127876,
0.06406447291374207,
-0.0016030932310968637,
-0.07740559428930283,
-0.014915644191205502,
-0.036264825612306595,
0.05607334151864052,
0.03667115420103073,
0.028612302616238594,
-0.019859308376908302,
-0.031862933188676834,
0.012638511136174202,
-0.028476860374212265,
-0.024193480610847473,
-0.04222431033849716,
-0.012308369390666485,
0.01389135792851448,
0.0022792492527514696,
0.002084550214931369,
-0.054380305111408234,
-0.0007740347646176815,
0.023837942630052567,
0.04940278083086014,
-0.05119739845395088,
-0.028459930792450905,
0.06589294970035553,
-0.04804835468530655,
-0.019385259598493576,
-0.01448392029851675,
0.03135501965880394,
0.08316191285848618,
-0.0345548577606678,
-0.06010276824235916,
-0.02013019472360611,
0.018487948924303055,
-0.001584046520292759,
-0.03022068738937378,
0.020756617188453674,
-0.019283676519989967,
-0.000593091594055295,
0.0034516765736043453,
-0.005637808702886105,
0.026208192110061646,
-0.03812716528773308,
0.00953179132193327,
0.029340308159589767,
0.012714697979390621,
-0.01389982271939516,
0.056479670107364655,
-0.0041860309429466724,
-0.012782419100403786,
0.03934615105390549,
-0.00644200062379241,
-0.06761984527111053,
0.02123066782951355,
-0.06284548342227936,
0.001205229782499373,
-0.03255707770586014,
0.06457237899303436,
-0.0028316022362560034,
-0.040734440088272095,
0.04886101186275482,
0.020739687606692314,
0.008854576386511326,
-0.029272587969899178,
0.0024654832668602467,
0.06853408366441727,
-0.0069414465688169,
0.011834319680929184,
-0.02781657688319683,
0.024108828976750374,
-0.00419872859492898,
-0.002395645482465625,
0.012020553462207317,
0.002440087730064988,
-0.017336685210466385,
0.006293860264122486,
0.049741387367248535,
-0.09535177052021027,
0.04598284885287285,
0.00957411713898182,
0.007174238562583923,
-0.05177303031086922,
0.00561664579436183,
-0.0035003512166440487,
-0.004613522440195084,
-0.014323081821203232,
0.032946474850177765,
0.05600561946630478,
0.02221262827515602,
0.0003454851103015244,
0.07273281365633011,
-0.013358051888644695,
-0.00027908635092899203,
0.006137254182249308,
-0.0235501267015934,
-0.017235103994607925,
-0.042867664247751236,
0.02796895056962967,
-0.007352007552981377,
-0.0046897088177502155,
-0.016151560470461845,
0.01786152645945549,
-0.030779389664530754,
0.012850141152739525
] |
709,979
|
urllib3_future._async.connectionpool
|
_prepare_proxy
| null |
@property
def is_idle(self) -> bool:
return self.pool is None or self.pool.bag_only_idle
|
(self, conn: urllib3_future._async.connection.AsyncHTTPConnection) -> NoneType
|
[
0.04591512680053711,
-0.029543472453951836,
-0.0029712775722146034,
0.017590640112757683,
0.029441891238093376,
-0.009565651416778564,
-0.011808924376964569,
-0.014881784096360207,
0.0011047058505937457,
-0.0536353699862957,
-0.038601212203502655,
-0.008973089046776295,
0.010446030646562576,
0.03897368162870407,
-0.04019266739487648,
-0.013544285669922829,
0.0012337997322902083,
-0.034148529171943665,
0.017370546236634254,
-0.055226825177669525,
0.0016253142384812236,
0.047269556671381,
0.07198787480592728,
-0.02559869922697544,
-0.019300606101751328,
0.011063988320529461,
0.010522216558456421,
0.0010549728758633137,
-0.007817592471837997,
0.035181280225515366,
-0.04232589155435562,
-0.0075213112868368626,
0.01877576671540737,
-0.022940633818507195,
0.042901523411273956,
0.06318408995866776,
0.04804835468530655,
0.038533493876457214,
-0.058849919587373734,
-0.04483158513903618,
0.006124556530267,
-0.06264232099056244,
-0.011707342229783535,
0.03379299119114876,
-0.022602027282118797,
-0.02798588015139103,
0.010649194940924644,
-0.010911614634096622,
0.03914298489689827,
-0.0006057893624529243,
0.022585095837712288,
0.0028823933098465204,
0.011715807020664215,
0.0923043042421341,
-0.02006247267127037,
0.04537335783243179,
-0.010225935839116573,
0.04137779399752617,
-0.008274711668491364,
0.007385868113487959,
-0.05390625819563866,
0.003426281036809087,
0.038499630987644196,
-0.07706698775291443,
0.07964039593935013,
-0.011885110288858414,
-0.09135620296001434,
0.036197103559970856,
0.010945475660264492,
0.026428287848830223,
0.028527650982141495,
-0.0009168846299871802,
-0.024870693683624268,
0.08668342977762222,
-0.05038474127650261,
-0.0830264687538147,
-0.0278504379093647,
0.0057097626850008965,
0.010462960228323936,
-0.03240470215678215,
-0.005070642102509737,
-0.016786448657512665,
0.026394426822662354,
0.044289812445640564,
0.0670442134141922,
-0.05722460523247719,
0.037382226437330246,
0.02901863120496273,
-0.05956099554896355,
-0.019842378795146942,
0.0038008650299161673,
0.09027266502380371,
0.028256766498088837,
0.07686381787061691,
0.033996157348155975,
-0.008338200859725475,
0.0037797021213918924,
0.0445268377661705,
-0.06954990327358246,
-0.040802162140607834,
-0.07198787480592728,
0.012105205096304417,
-0.008401690050959587,
0.006882190238684416,
0.036264825612306595,
-0.0034156995825469494,
0.03333587199449539,
0.0014359059277921915,
-0.017505988478660583,
-0.07571255415678024,
-0.019486840814352036,
-0.05245024710893631,
-0.025971166789531708,
0.023668639361858368,
0.016397051513195038,
0.011758132837712765,
-0.05160372704267502,
-0.006458931136876345,
-0.018250925466418266,
-0.019436050206422806,
-0.056411948055028915,
-0.000637004675809294,
-0.014670154079794884,
-0.03003445267677307,
0.05685213953256607,
0.0495043620467186,
-0.0033289315178990364,
0.016473237425088882,
0.003371257334947586,
0.01068305503576994,
-0.0010084144305437803,
0.005421946756541729,
-0.015338903293013573,
0.02673303335905075,
-0.025310883298516273,
-0.07076889276504517,
0.004571196157485247,
0.03132116049528122,
0.008236618712544441,
0.03904140368103981,
-0.02248351462185383,
0.036230962723493576,
0.0012941141612827778,
-0.0030178360175341368,
0.08404228836297989,
0.019266746938228607,
-0.03375913202762604,
0.00047616628580726683,
0.02326231077313423,
-0.06294706463813782,
0.03228618949651718,
-0.06602839380502701,
-0.049673669040203094,
0.009159322828054428,
-0.0022348070051521063,
0.037280645221471786,
-0.051976196467876434,
0.008215455338358879,
0.005739390850067139,
-0.06057681888341904,
-0.008168897591531277,
0.03225233033299446,
-0.05918852984905243,
-0.05912080779671669,
-0.05729232728481293,
-0.02790122851729393,
0.014306151308119297,
-0.015330438502132893,
0.02344854362308979,
0.06677332520484924,
-0.030965622514486313,
-0.05319518223404884,
-0.023854872211813927,
0.040937602519989014,
0.008930763229727745,
0.0651480108499527,
-0.028138253837823868,
0.03238777443766594,
-0.00784722063690424,
0.004393427632749081,
-0.008803785778582096,
-0.015931466594338417,
-0.06467396020889282,
0.0062515344470739365,
0.005840972997248173,
-0.010886219330132008,
0.05001227557659149,
-0.0011766598327085376,
0.018623393028974533,
0.07178471237421036,
-0.03013603575527668,
0.01913130283355713,
-0.014687084592878819,
-0.04374804347753525,
0.017116591334342957,
0.003733143676072359,
-0.004956361837685108,
0.011241757310926914,
-0.001859164796769619,
0.018555670976638794,
-0.0123337646946311,
-0.00209936429746449,
-0.01389135792851448,
-0.002353319665417075,
0.029780497774481773,
0.004668545909225941,
-0.03883823752403259,
0.017125055193901062,
0.020807407796382904,
-0.014153778553009033,
-0.04547493904829025,
-0.020434940233826637,
-0.004672778304666281,
0.1079479530453682,
0.05834200978279114,
-0.00024363842385355383,
0.0001197029123432003,
0.028696954250335693,
-0.02790122851729393,
0.03880437836050987,
-0.00008511472697136924,
-0.039583176374435425,
-0.0076948474161326885,
-0.027613412588834763,
-0.03714520484209061,
0.028205974027514458,
-0.011986692436039448,
0.0448654443025589,
0.04591512680053711,
-0.005121433176100254,
0.04259677976369858,
0.022703608497977257,
-0.005117200314998627,
0.019402189180254936,
0.04591512680053711,
0.03538444638252258,
-0.026394426822662354,
-0.009557186625897884,
-0.07273281365633011,
0.006683258339762688,
-0.008054617792367935,
-0.04892873018980026,
0.029594264924526215,
-0.02549711801111698,
-0.005405016243457794,
-0.014839458279311657,
-0.011436455883085728,
0.04581354558467865,
-0.02439664490520954,
0.011402595788240433,
0.013662798330187798,
-0.03579077497124672,
-0.010259795933961868,
-0.03551989048719406,
-0.03152432292699814,
-0.08763153105974197,
-0.06850022077560425,
-0.006133021786808968,
-0.01999475248157978,
-0.010412169620394707,
-0.005366923287510872,
0.019774656742811203,
-0.05929011106491089,
0.09034038335084915,
0.002683461643755436,
0.039786338806152344,
0.031727489084005356,
-0.01787845604121685,
-0.06054295599460602,
-0.010733846575021744,
0.04601671174168587,
-0.015432020649313927,
0.00942174345254898,
-0.04550879821181297,
-0.023990316316485405,
-0.07144610583782196,
0.0008031338220462203,
-0.009514860808849335,
-0.1114017516374588,
-0.018301716074347496,
0.08187520503997803,
0.032049164175987244,
0.0014644758775830269,
0.006645164918154478,
-0.06833092123270035,
-0.030373061075806618,
-0.02803667075932026,
0.032912615686655045,
-0.004609289579093456,
-0.022026393562555313,
-0.034080807119607925,
0.040768299251794815,
0.0515698678791523,
0.03792399913072586,
0.02128145843744278,
-0.01720970869064331,
-0.013908288441598415,
0.042088866233825684,
-0.004808221478015184,
-0.0013290330534800887,
0.036332547664642334,
-0.03252321481704712,
-0.08499038964509964,
-0.0010719032725319266,
-0.0095825819298625,
0.014924109913408756,
0.007927639409899712,
0.02551404759287834,
0.006018741987645626,
0.009227044880390167,
0.039650894701480865,
-0.007436659187078476,
0.04764202609658241,
0.04354487732052803,
0.03975247964262962,
0.004566963762044907,
-0.02580186352133751,
-0.018623393028974533,
0.020384149625897408,
0.06711193174123764,
-0.04557652026414871,
0.006784840486943722,
0.006738282274454832,
0.020367220044136047,
-0.026496008038520813,
-0.0033987690694630146,
0.05583631619811058,
0.006687491200864315,
-0.003185023320838809,
0.03487653657793999,
-0.06988851726055145,
-0.012943257577717304,
0.02695312909781933,
-0.0378224179148674,
-0.0512312613427639,
0.00028781607397831976,
0.011436455883085728,
-0.011343339458107948,
0.028713885694742203,
-0.05458347126841545,
0.0002650659007485956,
0.0006465280312113464,
-0.02690233662724495,
0.04049741476774216,
0.05204391852021217,
0.012443812564015388,
0.003460141597315669,
0.023973384872078896,
0.09142392873764038,
-0.04500088840723038,
-0.025988098233938217,
0.02136611007153988,
0.02697005867958069,
0.047269556671381,
0.02219569869339466,
-0.03802558034658432,
0.00013306202890817076,
0.04259677976369858,
0.015237321145832539,
0.019706934690475464,
-0.027562621980905533,
-0.05349992960691452,
-0.009125462733209133,
-0.0010544437682256103,
-0.015787558630108833,
0.01887734793126583,
0.031016413122415543,
-0.011047057807445526,
0.010293656960129738,
-0.06284548342227936,
-0.07252965122461319,
-0.029865149408578873,
-0.024041106924414635,
0.025073857977986336,
-0.01887734793126583,
0.02031642757356167,
-0.025310883298516273,
-0.01693035662174225,
0.04564424231648445,
0.07876002043485641,
0.04117462784051895,
0.0025670654140412807,
0.020418010652065277,
0.03792399913072586,
-0.006547815632075071,
0.003096139058470726,
-0.04987683147192001,
-0.027393316850066185,
0.006899120286107063,
-0.02800280973315239,
0.049639806151390076,
0.022077186033129692,
-0.09758657962083817,
0.01619388721883297,
-0.07652521133422852,
-0.0471002534031868,
0.05786795914173126,
-0.03350517526268959,
0.021941741928458214,
-0.009811141528189182,
0.05231480300426483,
0.04574582353234291,
0.026563730090856552,
-0.03890595957636833,
-0.009184719063341618,
0.014238430187106133,
-0.011301013641059399,
-0.007335077039897442,
-0.008113873191177845,
-0.04591512680053711,
-0.013214143924415112,
-0.01787845604121685,
-0.04053127393126488,
-0.041953425854444504,
-0.011512642726302147,
-0.05261955037713051,
0.01341730821877718,
-0.008232385851442814,
0.053093601018190384,
0.006789073348045349,
0.05729232728481293,
0.0577663779258728,
-0.012985583394765854,
-0.02773192524909973,
-0.08295875042676926,
-0.03213381767272949,
0.03252321481704712,
-0.01726049929857254,
0.04019266739487648,
0.0027406015433371067,
-0.010522216558456421,
-0.010488356463611126,
0.02470139041543007,
-0.013205678202211857,
0.07950495928525925,
-0.039617035537958145,
0.0005518238176591694,
-0.0427999421954155,
-0.038635075092315674,
0.028730815276503563,
0.03789013996720314,
0.05129898339509964,
0.028781607747077942,
0.05590403825044632,
0.05820656567811966,
-0.03910912573337555,
-0.033928435295820236,
0.02886625938117504,
0.03203223645687103,
0.002446436556056142,
-0.032049164175987244,
-0.006649397779256105,
0.020333359017968178,
0.031998373568058014,
-0.002188248559832573,
-0.018420228734612465,
-0.025480186566710472,
-0.011969761922955513,
0.012536928988993168,
-0.010581472888588905,
-0.03914298489689827,
0.019859308376908302,
-0.038668934255838394,
0.05891764163970947,
0.020468801259994507,
0.00014245307829696685,
0.008829181082546711,
0.021789370104670525,
0.0021035969257354736,
0.05780023708939552,
-0.004300310742110014,
-0.005718227941542864,
0.00015316682402044535,
-0.0627439022064209,
-0.005371155682951212,
-0.04445911571383476,
-0.008752994239330292,
0.11661630123853683,
0.045136332511901855,
-0.02691926807165146,
-0.03768697381019592,
0.026512939482927322,
0.01687956601381302,
-0.013569680973887444,
-0.05888378247618675,
-0.0018845603335648775,
0.0036760037764906883,
-0.01055607758462429,
0.007796429563313723,
-0.02693619765341282,
-0.07334230840206146,
-0.022839050740003586,
-0.00827047973871231,
0.010234400629997253,
-0.019385259598493576,
0.003614631248638034,
-0.02358398772776127,
0.01060686819255352,
0.06585908681154251,
-0.010708450339734554,
-0.02107829414308071,
0.06921129673719406,
0.015338903293013573,
-0.009684164077043533,
0.05136670172214508,
-0.04479772597551346,
-0.025192370638251305,
-0.008215455338358879,
-0.019351398572325706,
0.02141690067946911,
0.06220213323831558,
-0.03132116049528122,
-0.031050274148583412,
-0.002459134440869093,
0.02023177593946457,
0.023719429969787598,
0.047472719103097916,
-0.005739390850067139,
0.05929011106491089,
-0.02788429707288742,
0.06352269649505615,
0.04808221384882927,
0.04577968642115593,
-0.006505489815026522,
-0.044086650013923645,
0.0019247699528932571,
0.03340359404683113,
-0.0072504254058003426,
-0.03474109247326851,
0.057360049337148666,
0.05014771595597267,
-0.02803667075932026,
-0.0495043620467186,
0.032049164175987244,
-0.011868179775774479,
0.017235103994607925,
-0.06941446661949158,
-0.04611829295754433,
-0.09379417449235916,
-0.013984475284814835,
0.01803082972764969,
-0.010581472888588905,
0.10835428535938263,
0.010327517986297607,
-0.009912723675370216,
0.03430090472102165,
-0.03243856504559517,
0.06988851726055145,
0.015169600024819374,
0.010429100133478642,
0.0018305948469787836,
0.02356705628335476,
-0.008367829024791718,
-0.08803785592317581,
0.08058849722146988,
-0.018301716074347496,
0.04462842270731926,
0.011284083127975464,
0.003032650100067258,
0.028104392811655998,
-0.010242866352200508,
-0.004008261952549219,
0.0021385157015174627,
0.01786152645945549,
0.021823229268193245,
-0.03467337042093277,
-0.011394130066037178,
0.014263825491070747,
0.09562265872955322,
0.02900170162320137,
0.005383853334933519,
-0.06281162798404694,
-0.019825447350740433,
-0.0070260982029139996,
0.03704361990094185,
-0.007707545068114996,
-0.0009327568695880473,
0.04131007194519043,
-0.0278504379093647,
-0.0236347783356905,
0.02365170791745186,
-0.0033077686093747616,
-0.0039193774573504925,
-0.05143442377448082,
0.0009740245877765119,
0.02461673878133297,
-0.04896259307861328,
0.044086650013923645,
0.010699985548853874,
0.009354022331535816,
-0.0037797021213918924,
0.029289517551660538,
0.03809330239892006,
0.00890536792576313,
0.029408030211925507,
0.010361378081142902,
0.03120264783501625,
-0.0027046245522797108,
-0.004715104587376118,
0.05712302401661873,
0.02246658317744732,
0.04781132936477661,
-0.01056454237550497,
-0.006391209550201893,
0.015296577475965023,
-0.01801390014588833,
-0.05597176030278206,
0.012494603171944618,
-0.044188231229782104,
-0.025158509612083435,
-0.032895684242248535,
0.011952832341194153,
-0.0026940430980175734,
0.05045246332883835,
-0.005379620939493179,
-0.02812132239341736,
-0.03910912573337555,
0.013112561777234077,
0.042088866233825684,
-0.02004554308950901,
-0.015127274207770824,
0.016574818640947342,
0.001771338633261621,
-0.011080918833613396,
0.01997782103717327,
-0.057597074657678604,
0.04909803345799446,
-0.07049800455570221,
-0.007398566231131554,
0.017607571557164192,
0.0032781404443085194,
-0.03826260566711426,
0.03785627707839012,
-0.03213381767272949,
0.008829181082546711,
0.021552344784140587,
0.0015406624879688025,
0.037246786057949066,
-0.008702203631401062,
-0.04652462154626846,
-0.04889487102627754,
-0.04269836097955704,
0.017370546236634254,
-0.02566642127931118,
0.01806469075381756,
0.004651615396142006,
-0.0532967634499073,
0.03243856504559517,
0.05214549973607063,
-0.06047523394227028,
-0.0116904117166996,
-0.012723163701593876,
0.05326290428638458,
-0.005417714361101389,
-0.014424663968384266,
-0.03707748278975487,
-0.037348367273807526,
0.03599393740296364,
0.006365814246237278,
-0.06108472868800163,
-0.07124294340610504,
-0.03714520484209061,
-0.04134393110871315,
0.024972276762127876,
0.06406447291374207,
-0.0016030932310968637,
-0.07740559428930283,
-0.014915644191205502,
-0.036264825612306595,
0.05607334151864052,
0.03667115420103073,
0.028612302616238594,
-0.019859308376908302,
-0.031862933188676834,
0.012638511136174202,
-0.028476860374212265,
-0.024193480610847473,
-0.04222431033849716,
-0.012308369390666485,
0.01389135792851448,
0.0022792492527514696,
0.002084550214931369,
-0.054380305111408234,
-0.0007740347646176815,
0.023837942630052567,
0.04940278083086014,
-0.05119739845395088,
-0.028459930792450905,
0.06589294970035553,
-0.04804835468530655,
-0.019385259598493576,
-0.01448392029851675,
0.03135501965880394,
0.08316191285848618,
-0.0345548577606678,
-0.06010276824235916,
-0.02013019472360611,
0.018487948924303055,
-0.001584046520292759,
-0.03022068738937378,
0.020756617188453674,
-0.019283676519989967,
-0.000593091594055295,
0.0034516765736043453,
-0.005637808702886105,
0.026208192110061646,
-0.03812716528773308,
0.00953179132193327,
0.029340308159589767,
0.012714697979390621,
-0.01389982271939516,
0.056479670107364655,
-0.0041860309429466724,
-0.012782419100403786,
0.03934615105390549,
-0.00644200062379241,
-0.06761984527111053,
0.02123066782951355,
-0.06284548342227936,
0.001205229782499373,
-0.03255707770586014,
0.06457237899303436,
-0.0028316022362560034,
-0.040734440088272095,
0.04886101186275482,
0.020739687606692314,
0.008854576386511326,
-0.029272587969899178,
0.0024654832668602467,
0.06853408366441727,
-0.0069414465688169,
0.011834319680929184,
-0.02781657688319683,
0.024108828976750374,
-0.00419872859492898,
-0.002395645482465625,
0.012020553462207317,
0.002440087730064988,
-0.017336685210466385,
0.006293860264122486,
0.049741387367248535,
-0.09535177052021027,
0.04598284885287285,
0.00957411713898182,
0.007174238562583923,
-0.05177303031086922,
0.00561664579436183,
-0.0035003512166440487,
-0.004613522440195084,
-0.014323081821203232,
0.032946474850177765,
0.05600561946630478,
0.02221262827515602,
0.0003454851103015244,
0.07273281365633011,
-0.013358051888644695,
-0.00027908635092899203,
0.006137254182249308,
-0.0235501267015934,
-0.017235103994607925,
-0.042867664247751236,
0.02796895056962967,
-0.007352007552981377,
-0.0046897088177502155,
-0.016151560470461845,
0.01786152645945549,
-0.030779389664530754,
0.012850141152739525
] |
709,980
|
urllib3_future._async.connectionpool
|
_put_conn
|
Put a connection back into the pool.
:param conn:
Connection object for the current host and port as returned by
:meth:`._new_conn` or :meth:`._get_conn`.
If the pool is already full, the connection is closed and discarded
because we exceeded maxsize. If connections are discarded frequently,
then maxsize should be increased.
If the pool is closed, then the connection will be closed and discarded.
|
@property
def is_idle(self) -> bool:
return self.pool is None or self.pool.bag_only_idle
|
(self, conn: urllib3_future._async.connection.AsyncHTTPConnection) -> NoneType
|
[
0.04591512680053711,
-0.029543472453951836,
-0.0029712775722146034,
0.017590640112757683,
0.029441891238093376,
-0.009565651416778564,
-0.011808924376964569,
-0.014881784096360207,
0.0011047058505937457,
-0.0536353699862957,
-0.038601212203502655,
-0.008973089046776295,
0.010446030646562576,
0.03897368162870407,
-0.04019266739487648,
-0.013544285669922829,
0.0012337997322902083,
-0.034148529171943665,
0.017370546236634254,
-0.055226825177669525,
0.0016253142384812236,
0.047269556671381,
0.07198787480592728,
-0.02559869922697544,
-0.019300606101751328,
0.011063988320529461,
0.010522216558456421,
0.0010549728758633137,
-0.007817592471837997,
0.035181280225515366,
-0.04232589155435562,
-0.0075213112868368626,
0.01877576671540737,
-0.022940633818507195,
0.042901523411273956,
0.06318408995866776,
0.04804835468530655,
0.038533493876457214,
-0.058849919587373734,
-0.04483158513903618,
0.006124556530267,
-0.06264232099056244,
-0.011707342229783535,
0.03379299119114876,
-0.022602027282118797,
-0.02798588015139103,
0.010649194940924644,
-0.010911614634096622,
0.03914298489689827,
-0.0006057893624529243,
0.022585095837712288,
0.0028823933098465204,
0.011715807020664215,
0.0923043042421341,
-0.02006247267127037,
0.04537335783243179,
-0.010225935839116573,
0.04137779399752617,
-0.008274711668491364,
0.007385868113487959,
-0.05390625819563866,
0.003426281036809087,
0.038499630987644196,
-0.07706698775291443,
0.07964039593935013,
-0.011885110288858414,
-0.09135620296001434,
0.036197103559970856,
0.010945475660264492,
0.026428287848830223,
0.028527650982141495,
-0.0009168846299871802,
-0.024870693683624268,
0.08668342977762222,
-0.05038474127650261,
-0.0830264687538147,
-0.0278504379093647,
0.0057097626850008965,
0.010462960228323936,
-0.03240470215678215,
-0.005070642102509737,
-0.016786448657512665,
0.026394426822662354,
0.044289812445640564,
0.0670442134141922,
-0.05722460523247719,
0.037382226437330246,
0.02901863120496273,
-0.05956099554896355,
-0.019842378795146942,
0.0038008650299161673,
0.09027266502380371,
0.028256766498088837,
0.07686381787061691,
0.033996157348155975,
-0.008338200859725475,
0.0037797021213918924,
0.0445268377661705,
-0.06954990327358246,
-0.040802162140607834,
-0.07198787480592728,
0.012105205096304417,
-0.008401690050959587,
0.006882190238684416,
0.036264825612306595,
-0.0034156995825469494,
0.03333587199449539,
0.0014359059277921915,
-0.017505988478660583,
-0.07571255415678024,
-0.019486840814352036,
-0.05245024710893631,
-0.025971166789531708,
0.023668639361858368,
0.016397051513195038,
0.011758132837712765,
-0.05160372704267502,
-0.006458931136876345,
-0.018250925466418266,
-0.019436050206422806,
-0.056411948055028915,
-0.000637004675809294,
-0.014670154079794884,
-0.03003445267677307,
0.05685213953256607,
0.0495043620467186,
-0.0033289315178990364,
0.016473237425088882,
0.003371257334947586,
0.01068305503576994,
-0.0010084144305437803,
0.005421946756541729,
-0.015338903293013573,
0.02673303335905075,
-0.025310883298516273,
-0.07076889276504517,
0.004571196157485247,
0.03132116049528122,
0.008236618712544441,
0.03904140368103981,
-0.02248351462185383,
0.036230962723493576,
0.0012941141612827778,
-0.0030178360175341368,
0.08404228836297989,
0.019266746938228607,
-0.03375913202762604,
0.00047616628580726683,
0.02326231077313423,
-0.06294706463813782,
0.03228618949651718,
-0.06602839380502701,
-0.049673669040203094,
0.009159322828054428,
-0.0022348070051521063,
0.037280645221471786,
-0.051976196467876434,
0.008215455338358879,
0.005739390850067139,
-0.06057681888341904,
-0.008168897591531277,
0.03225233033299446,
-0.05918852984905243,
-0.05912080779671669,
-0.05729232728481293,
-0.02790122851729393,
0.014306151308119297,
-0.015330438502132893,
0.02344854362308979,
0.06677332520484924,
-0.030965622514486313,
-0.05319518223404884,
-0.023854872211813927,
0.040937602519989014,
0.008930763229727745,
0.0651480108499527,
-0.028138253837823868,
0.03238777443766594,
-0.00784722063690424,
0.004393427632749081,
-0.008803785778582096,
-0.015931466594338417,
-0.06467396020889282,
0.0062515344470739365,
0.005840972997248173,
-0.010886219330132008,
0.05001227557659149,
-0.0011766598327085376,
0.018623393028974533,
0.07178471237421036,
-0.03013603575527668,
0.01913130283355713,
-0.014687084592878819,
-0.04374804347753525,
0.017116591334342957,
0.003733143676072359,
-0.004956361837685108,
0.011241757310926914,
-0.001859164796769619,
0.018555670976638794,
-0.0123337646946311,
-0.00209936429746449,
-0.01389135792851448,
-0.002353319665417075,
0.029780497774481773,
0.004668545909225941,
-0.03883823752403259,
0.017125055193901062,
0.020807407796382904,
-0.014153778553009033,
-0.04547493904829025,
-0.020434940233826637,
-0.004672778304666281,
0.1079479530453682,
0.05834200978279114,
-0.00024363842385355383,
0.0001197029123432003,
0.028696954250335693,
-0.02790122851729393,
0.03880437836050987,
-0.00008511472697136924,
-0.039583176374435425,
-0.0076948474161326885,
-0.027613412588834763,
-0.03714520484209061,
0.028205974027514458,
-0.011986692436039448,
0.0448654443025589,
0.04591512680053711,
-0.005121433176100254,
0.04259677976369858,
0.022703608497977257,
-0.005117200314998627,
0.019402189180254936,
0.04591512680053711,
0.03538444638252258,
-0.026394426822662354,
-0.009557186625897884,
-0.07273281365633011,
0.006683258339762688,
-0.008054617792367935,
-0.04892873018980026,
0.029594264924526215,
-0.02549711801111698,
-0.005405016243457794,
-0.014839458279311657,
-0.011436455883085728,
0.04581354558467865,
-0.02439664490520954,
0.011402595788240433,
0.013662798330187798,
-0.03579077497124672,
-0.010259795933961868,
-0.03551989048719406,
-0.03152432292699814,
-0.08763153105974197,
-0.06850022077560425,
-0.006133021786808968,
-0.01999475248157978,
-0.010412169620394707,
-0.005366923287510872,
0.019774656742811203,
-0.05929011106491089,
0.09034038335084915,
0.002683461643755436,
0.039786338806152344,
0.031727489084005356,
-0.01787845604121685,
-0.06054295599460602,
-0.010733846575021744,
0.04601671174168587,
-0.015432020649313927,
0.00942174345254898,
-0.04550879821181297,
-0.023990316316485405,
-0.07144610583782196,
0.0008031338220462203,
-0.009514860808849335,
-0.1114017516374588,
-0.018301716074347496,
0.08187520503997803,
0.032049164175987244,
0.0014644758775830269,
0.006645164918154478,
-0.06833092123270035,
-0.030373061075806618,
-0.02803667075932026,
0.032912615686655045,
-0.004609289579093456,
-0.022026393562555313,
-0.034080807119607925,
0.040768299251794815,
0.0515698678791523,
0.03792399913072586,
0.02128145843744278,
-0.01720970869064331,
-0.013908288441598415,
0.042088866233825684,
-0.004808221478015184,
-0.0013290330534800887,
0.036332547664642334,
-0.03252321481704712,
-0.08499038964509964,
-0.0010719032725319266,
-0.0095825819298625,
0.014924109913408756,
0.007927639409899712,
0.02551404759287834,
0.006018741987645626,
0.009227044880390167,
0.039650894701480865,
-0.007436659187078476,
0.04764202609658241,
0.04354487732052803,
0.03975247964262962,
0.004566963762044907,
-0.02580186352133751,
-0.018623393028974533,
0.020384149625897408,
0.06711193174123764,
-0.04557652026414871,
0.006784840486943722,
0.006738282274454832,
0.020367220044136047,
-0.026496008038520813,
-0.0033987690694630146,
0.05583631619811058,
0.006687491200864315,
-0.003185023320838809,
0.03487653657793999,
-0.06988851726055145,
-0.012943257577717304,
0.02695312909781933,
-0.0378224179148674,
-0.0512312613427639,
0.00028781607397831976,
0.011436455883085728,
-0.011343339458107948,
0.028713885694742203,
-0.05458347126841545,
0.0002650659007485956,
0.0006465280312113464,
-0.02690233662724495,
0.04049741476774216,
0.05204391852021217,
0.012443812564015388,
0.003460141597315669,
0.023973384872078896,
0.09142392873764038,
-0.04500088840723038,
-0.025988098233938217,
0.02136611007153988,
0.02697005867958069,
0.047269556671381,
0.02219569869339466,
-0.03802558034658432,
0.00013306202890817076,
0.04259677976369858,
0.015237321145832539,
0.019706934690475464,
-0.027562621980905533,
-0.05349992960691452,
-0.009125462733209133,
-0.0010544437682256103,
-0.015787558630108833,
0.01887734793126583,
0.031016413122415543,
-0.011047057807445526,
0.010293656960129738,
-0.06284548342227936,
-0.07252965122461319,
-0.029865149408578873,
-0.024041106924414635,
0.025073857977986336,
-0.01887734793126583,
0.02031642757356167,
-0.025310883298516273,
-0.01693035662174225,
0.04564424231648445,
0.07876002043485641,
0.04117462784051895,
0.0025670654140412807,
0.020418010652065277,
0.03792399913072586,
-0.006547815632075071,
0.003096139058470726,
-0.04987683147192001,
-0.027393316850066185,
0.006899120286107063,
-0.02800280973315239,
0.049639806151390076,
0.022077186033129692,
-0.09758657962083817,
0.01619388721883297,
-0.07652521133422852,
-0.0471002534031868,
0.05786795914173126,
-0.03350517526268959,
0.021941741928458214,
-0.009811141528189182,
0.05231480300426483,
0.04574582353234291,
0.026563730090856552,
-0.03890595957636833,
-0.009184719063341618,
0.014238430187106133,
-0.011301013641059399,
-0.007335077039897442,
-0.008113873191177845,
-0.04591512680053711,
-0.013214143924415112,
-0.01787845604121685,
-0.04053127393126488,
-0.041953425854444504,
-0.011512642726302147,
-0.05261955037713051,
0.01341730821877718,
-0.008232385851442814,
0.053093601018190384,
0.006789073348045349,
0.05729232728481293,
0.0577663779258728,
-0.012985583394765854,
-0.02773192524909973,
-0.08295875042676926,
-0.03213381767272949,
0.03252321481704712,
-0.01726049929857254,
0.04019266739487648,
0.0027406015433371067,
-0.010522216558456421,
-0.010488356463611126,
0.02470139041543007,
-0.013205678202211857,
0.07950495928525925,
-0.039617035537958145,
0.0005518238176591694,
-0.0427999421954155,
-0.038635075092315674,
0.028730815276503563,
0.03789013996720314,
0.05129898339509964,
0.028781607747077942,
0.05590403825044632,
0.05820656567811966,
-0.03910912573337555,
-0.033928435295820236,
0.02886625938117504,
0.03203223645687103,
0.002446436556056142,
-0.032049164175987244,
-0.006649397779256105,
0.020333359017968178,
0.031998373568058014,
-0.002188248559832573,
-0.018420228734612465,
-0.025480186566710472,
-0.011969761922955513,
0.012536928988993168,
-0.010581472888588905,
-0.03914298489689827,
0.019859308376908302,
-0.038668934255838394,
0.05891764163970947,
0.020468801259994507,
0.00014245307829696685,
0.008829181082546711,
0.021789370104670525,
0.0021035969257354736,
0.05780023708939552,
-0.004300310742110014,
-0.005718227941542864,
0.00015316682402044535,
-0.0627439022064209,
-0.005371155682951212,
-0.04445911571383476,
-0.008752994239330292,
0.11661630123853683,
0.045136332511901855,
-0.02691926807165146,
-0.03768697381019592,
0.026512939482927322,
0.01687956601381302,
-0.013569680973887444,
-0.05888378247618675,
-0.0018845603335648775,
0.0036760037764906883,
-0.01055607758462429,
0.007796429563313723,
-0.02693619765341282,
-0.07334230840206146,
-0.022839050740003586,
-0.00827047973871231,
0.010234400629997253,
-0.019385259598493576,
0.003614631248638034,
-0.02358398772776127,
0.01060686819255352,
0.06585908681154251,
-0.010708450339734554,
-0.02107829414308071,
0.06921129673719406,
0.015338903293013573,
-0.009684164077043533,
0.05136670172214508,
-0.04479772597551346,
-0.025192370638251305,
-0.008215455338358879,
-0.019351398572325706,
0.02141690067946911,
0.06220213323831558,
-0.03132116049528122,
-0.031050274148583412,
-0.002459134440869093,
0.02023177593946457,
0.023719429969787598,
0.047472719103097916,
-0.005739390850067139,
0.05929011106491089,
-0.02788429707288742,
0.06352269649505615,
0.04808221384882927,
0.04577968642115593,
-0.006505489815026522,
-0.044086650013923645,
0.0019247699528932571,
0.03340359404683113,
-0.0072504254058003426,
-0.03474109247326851,
0.057360049337148666,
0.05014771595597267,
-0.02803667075932026,
-0.0495043620467186,
0.032049164175987244,
-0.011868179775774479,
0.017235103994607925,
-0.06941446661949158,
-0.04611829295754433,
-0.09379417449235916,
-0.013984475284814835,
0.01803082972764969,
-0.010581472888588905,
0.10835428535938263,
0.010327517986297607,
-0.009912723675370216,
0.03430090472102165,
-0.03243856504559517,
0.06988851726055145,
0.015169600024819374,
0.010429100133478642,
0.0018305948469787836,
0.02356705628335476,
-0.008367829024791718,
-0.08803785592317581,
0.08058849722146988,
-0.018301716074347496,
0.04462842270731926,
0.011284083127975464,
0.003032650100067258,
0.028104392811655998,
-0.010242866352200508,
-0.004008261952549219,
0.0021385157015174627,
0.01786152645945549,
0.021823229268193245,
-0.03467337042093277,
-0.011394130066037178,
0.014263825491070747,
0.09562265872955322,
0.02900170162320137,
0.005383853334933519,
-0.06281162798404694,
-0.019825447350740433,
-0.0070260982029139996,
0.03704361990094185,
-0.007707545068114996,
-0.0009327568695880473,
0.04131007194519043,
-0.0278504379093647,
-0.0236347783356905,
0.02365170791745186,
-0.0033077686093747616,
-0.0039193774573504925,
-0.05143442377448082,
0.0009740245877765119,
0.02461673878133297,
-0.04896259307861328,
0.044086650013923645,
0.010699985548853874,
0.009354022331535816,
-0.0037797021213918924,
0.029289517551660538,
0.03809330239892006,
0.00890536792576313,
0.029408030211925507,
0.010361378081142902,
0.03120264783501625,
-0.0027046245522797108,
-0.004715104587376118,
0.05712302401661873,
0.02246658317744732,
0.04781132936477661,
-0.01056454237550497,
-0.006391209550201893,
0.015296577475965023,
-0.01801390014588833,
-0.05597176030278206,
0.012494603171944618,
-0.044188231229782104,
-0.025158509612083435,
-0.032895684242248535,
0.011952832341194153,
-0.0026940430980175734,
0.05045246332883835,
-0.005379620939493179,
-0.02812132239341736,
-0.03910912573337555,
0.013112561777234077,
0.042088866233825684,
-0.02004554308950901,
-0.015127274207770824,
0.016574818640947342,
0.001771338633261621,
-0.011080918833613396,
0.01997782103717327,
-0.057597074657678604,
0.04909803345799446,
-0.07049800455570221,
-0.007398566231131554,
0.017607571557164192,
0.0032781404443085194,
-0.03826260566711426,
0.03785627707839012,
-0.03213381767272949,
0.008829181082546711,
0.021552344784140587,
0.0015406624879688025,
0.037246786057949066,
-0.008702203631401062,
-0.04652462154626846,
-0.04889487102627754,
-0.04269836097955704,
0.017370546236634254,
-0.02566642127931118,
0.01806469075381756,
0.004651615396142006,
-0.0532967634499073,
0.03243856504559517,
0.05214549973607063,
-0.06047523394227028,
-0.0116904117166996,
-0.012723163701593876,
0.05326290428638458,
-0.005417714361101389,
-0.014424663968384266,
-0.03707748278975487,
-0.037348367273807526,
0.03599393740296364,
0.006365814246237278,
-0.06108472868800163,
-0.07124294340610504,
-0.03714520484209061,
-0.04134393110871315,
0.024972276762127876,
0.06406447291374207,
-0.0016030932310968637,
-0.07740559428930283,
-0.014915644191205502,
-0.036264825612306595,
0.05607334151864052,
0.03667115420103073,
0.028612302616238594,
-0.019859308376908302,
-0.031862933188676834,
0.012638511136174202,
-0.028476860374212265,
-0.024193480610847473,
-0.04222431033849716,
-0.012308369390666485,
0.01389135792851448,
0.0022792492527514696,
0.002084550214931369,
-0.054380305111408234,
-0.0007740347646176815,
0.023837942630052567,
0.04940278083086014,
-0.05119739845395088,
-0.028459930792450905,
0.06589294970035553,
-0.04804835468530655,
-0.019385259598493576,
-0.01448392029851675,
0.03135501965880394,
0.08316191285848618,
-0.0345548577606678,
-0.06010276824235916,
-0.02013019472360611,
0.018487948924303055,
-0.001584046520292759,
-0.03022068738937378,
0.020756617188453674,
-0.019283676519989967,
-0.000593091594055295,
0.0034516765736043453,
-0.005637808702886105,
0.026208192110061646,
-0.03812716528773308,
0.00953179132193327,
0.029340308159589767,
0.012714697979390621,
-0.01389982271939516,
0.056479670107364655,
-0.0041860309429466724,
-0.012782419100403786,
0.03934615105390549,
-0.00644200062379241,
-0.06761984527111053,
0.02123066782951355,
-0.06284548342227936,
0.001205229782499373,
-0.03255707770586014,
0.06457237899303436,
-0.0028316022362560034,
-0.040734440088272095,
0.04886101186275482,
0.020739687606692314,
0.008854576386511326,
-0.029272587969899178,
0.0024654832668602467,
0.06853408366441727,
-0.0069414465688169,
0.011834319680929184,
-0.02781657688319683,
0.024108828976750374,
-0.00419872859492898,
-0.002395645482465625,
0.012020553462207317,
0.002440087730064988,
-0.017336685210466385,
0.006293860264122486,
0.049741387367248535,
-0.09535177052021027,
0.04598284885287285,
0.00957411713898182,
0.007174238562583923,
-0.05177303031086922,
0.00561664579436183,
-0.0035003512166440487,
-0.004613522440195084,
-0.014323081821203232,
0.032946474850177765,
0.05600561946630478,
0.02221262827515602,
0.0003454851103015244,
0.07273281365633011,
-0.013358051888644695,
-0.00027908635092899203,
0.006137254182249308,
-0.0235501267015934,
-0.017235103994607925,
-0.042867664247751236,
0.02796895056962967,
-0.007352007552981377,
-0.0046897088177502155,
-0.016151560470461845,
0.01786152645945549,
-0.030779389664530754,
0.012850141152739525
] |
709,982
|
urllib3_future._async.connectionpool
|
_validate_conn
|
Called right before a request is made, after the socket is created.
|
@property
def is_idle(self) -> bool:
return self.pool is None or self.pool.bag_only_idle
|
(self, conn: urllib3_future._async.connection.AsyncHTTPConnection) -> NoneType
|
[
0.04591512680053711,
-0.029543472453951836,
-0.0029712775722146034,
0.017590640112757683,
0.029441891238093376,
-0.009565651416778564,
-0.011808924376964569,
-0.014881784096360207,
0.0011047058505937457,
-0.0536353699862957,
-0.038601212203502655,
-0.008973089046776295,
0.010446030646562576,
0.03897368162870407,
-0.04019266739487648,
-0.013544285669922829,
0.0012337997322902083,
-0.034148529171943665,
0.017370546236634254,
-0.055226825177669525,
0.0016253142384812236,
0.047269556671381,
0.07198787480592728,
-0.02559869922697544,
-0.019300606101751328,
0.011063988320529461,
0.010522216558456421,
0.0010549728758633137,
-0.007817592471837997,
0.035181280225515366,
-0.04232589155435562,
-0.0075213112868368626,
0.01877576671540737,
-0.022940633818507195,
0.042901523411273956,
0.06318408995866776,
0.04804835468530655,
0.038533493876457214,
-0.058849919587373734,
-0.04483158513903618,
0.006124556530267,
-0.06264232099056244,
-0.011707342229783535,
0.03379299119114876,
-0.022602027282118797,
-0.02798588015139103,
0.010649194940924644,
-0.010911614634096622,
0.03914298489689827,
-0.0006057893624529243,
0.022585095837712288,
0.0028823933098465204,
0.011715807020664215,
0.0923043042421341,
-0.02006247267127037,
0.04537335783243179,
-0.010225935839116573,
0.04137779399752617,
-0.008274711668491364,
0.007385868113487959,
-0.05390625819563866,
0.003426281036809087,
0.038499630987644196,
-0.07706698775291443,
0.07964039593935013,
-0.011885110288858414,
-0.09135620296001434,
0.036197103559970856,
0.010945475660264492,
0.026428287848830223,
0.028527650982141495,
-0.0009168846299871802,
-0.024870693683624268,
0.08668342977762222,
-0.05038474127650261,
-0.0830264687538147,
-0.0278504379093647,
0.0057097626850008965,
0.010462960228323936,
-0.03240470215678215,
-0.005070642102509737,
-0.016786448657512665,
0.026394426822662354,
0.044289812445640564,
0.0670442134141922,
-0.05722460523247719,
0.037382226437330246,
0.02901863120496273,
-0.05956099554896355,
-0.019842378795146942,
0.0038008650299161673,
0.09027266502380371,
0.028256766498088837,
0.07686381787061691,
0.033996157348155975,
-0.008338200859725475,
0.0037797021213918924,
0.0445268377661705,
-0.06954990327358246,
-0.040802162140607834,
-0.07198787480592728,
0.012105205096304417,
-0.008401690050959587,
0.006882190238684416,
0.036264825612306595,
-0.0034156995825469494,
0.03333587199449539,
0.0014359059277921915,
-0.017505988478660583,
-0.07571255415678024,
-0.019486840814352036,
-0.05245024710893631,
-0.025971166789531708,
0.023668639361858368,
0.016397051513195038,
0.011758132837712765,
-0.05160372704267502,
-0.006458931136876345,
-0.018250925466418266,
-0.019436050206422806,
-0.056411948055028915,
-0.000637004675809294,
-0.014670154079794884,
-0.03003445267677307,
0.05685213953256607,
0.0495043620467186,
-0.0033289315178990364,
0.016473237425088882,
0.003371257334947586,
0.01068305503576994,
-0.0010084144305437803,
0.005421946756541729,
-0.015338903293013573,
0.02673303335905075,
-0.025310883298516273,
-0.07076889276504517,
0.004571196157485247,
0.03132116049528122,
0.008236618712544441,
0.03904140368103981,
-0.02248351462185383,
0.036230962723493576,
0.0012941141612827778,
-0.0030178360175341368,
0.08404228836297989,
0.019266746938228607,
-0.03375913202762604,
0.00047616628580726683,
0.02326231077313423,
-0.06294706463813782,
0.03228618949651718,
-0.06602839380502701,
-0.049673669040203094,
0.009159322828054428,
-0.0022348070051521063,
0.037280645221471786,
-0.051976196467876434,
0.008215455338358879,
0.005739390850067139,
-0.06057681888341904,
-0.008168897591531277,
0.03225233033299446,
-0.05918852984905243,
-0.05912080779671669,
-0.05729232728481293,
-0.02790122851729393,
0.014306151308119297,
-0.015330438502132893,
0.02344854362308979,
0.06677332520484924,
-0.030965622514486313,
-0.05319518223404884,
-0.023854872211813927,
0.040937602519989014,
0.008930763229727745,
0.0651480108499527,
-0.028138253837823868,
0.03238777443766594,
-0.00784722063690424,
0.004393427632749081,
-0.008803785778582096,
-0.015931466594338417,
-0.06467396020889282,
0.0062515344470739365,
0.005840972997248173,
-0.010886219330132008,
0.05001227557659149,
-0.0011766598327085376,
0.018623393028974533,
0.07178471237421036,
-0.03013603575527668,
0.01913130283355713,
-0.014687084592878819,
-0.04374804347753525,
0.017116591334342957,
0.003733143676072359,
-0.004956361837685108,
0.011241757310926914,
-0.001859164796769619,
0.018555670976638794,
-0.0123337646946311,
-0.00209936429746449,
-0.01389135792851448,
-0.002353319665417075,
0.029780497774481773,
0.004668545909225941,
-0.03883823752403259,
0.017125055193901062,
0.020807407796382904,
-0.014153778553009033,
-0.04547493904829025,
-0.020434940233826637,
-0.004672778304666281,
0.1079479530453682,
0.05834200978279114,
-0.00024363842385355383,
0.0001197029123432003,
0.028696954250335693,
-0.02790122851729393,
0.03880437836050987,
-0.00008511472697136924,
-0.039583176374435425,
-0.0076948474161326885,
-0.027613412588834763,
-0.03714520484209061,
0.028205974027514458,
-0.011986692436039448,
0.0448654443025589,
0.04591512680053711,
-0.005121433176100254,
0.04259677976369858,
0.022703608497977257,
-0.005117200314998627,
0.019402189180254936,
0.04591512680053711,
0.03538444638252258,
-0.026394426822662354,
-0.009557186625897884,
-0.07273281365633011,
0.006683258339762688,
-0.008054617792367935,
-0.04892873018980026,
0.029594264924526215,
-0.02549711801111698,
-0.005405016243457794,
-0.014839458279311657,
-0.011436455883085728,
0.04581354558467865,
-0.02439664490520954,
0.011402595788240433,
0.013662798330187798,
-0.03579077497124672,
-0.010259795933961868,
-0.03551989048719406,
-0.03152432292699814,
-0.08763153105974197,
-0.06850022077560425,
-0.006133021786808968,
-0.01999475248157978,
-0.010412169620394707,
-0.005366923287510872,
0.019774656742811203,
-0.05929011106491089,
0.09034038335084915,
0.002683461643755436,
0.039786338806152344,
0.031727489084005356,
-0.01787845604121685,
-0.06054295599460602,
-0.010733846575021744,
0.04601671174168587,
-0.015432020649313927,
0.00942174345254898,
-0.04550879821181297,
-0.023990316316485405,
-0.07144610583782196,
0.0008031338220462203,
-0.009514860808849335,
-0.1114017516374588,
-0.018301716074347496,
0.08187520503997803,
0.032049164175987244,
0.0014644758775830269,
0.006645164918154478,
-0.06833092123270035,
-0.030373061075806618,
-0.02803667075932026,
0.032912615686655045,
-0.004609289579093456,
-0.022026393562555313,
-0.034080807119607925,
0.040768299251794815,
0.0515698678791523,
0.03792399913072586,
0.02128145843744278,
-0.01720970869064331,
-0.013908288441598415,
0.042088866233825684,
-0.004808221478015184,
-0.0013290330534800887,
0.036332547664642334,
-0.03252321481704712,
-0.08499038964509964,
-0.0010719032725319266,
-0.0095825819298625,
0.014924109913408756,
0.007927639409899712,
0.02551404759287834,
0.006018741987645626,
0.009227044880390167,
0.039650894701480865,
-0.007436659187078476,
0.04764202609658241,
0.04354487732052803,
0.03975247964262962,
0.004566963762044907,
-0.02580186352133751,
-0.018623393028974533,
0.020384149625897408,
0.06711193174123764,
-0.04557652026414871,
0.006784840486943722,
0.006738282274454832,
0.020367220044136047,
-0.026496008038520813,
-0.0033987690694630146,
0.05583631619811058,
0.006687491200864315,
-0.003185023320838809,
0.03487653657793999,
-0.06988851726055145,
-0.012943257577717304,
0.02695312909781933,
-0.0378224179148674,
-0.0512312613427639,
0.00028781607397831976,
0.011436455883085728,
-0.011343339458107948,
0.028713885694742203,
-0.05458347126841545,
0.0002650659007485956,
0.0006465280312113464,
-0.02690233662724495,
0.04049741476774216,
0.05204391852021217,
0.012443812564015388,
0.003460141597315669,
0.023973384872078896,
0.09142392873764038,
-0.04500088840723038,
-0.025988098233938217,
0.02136611007153988,
0.02697005867958069,
0.047269556671381,
0.02219569869339466,
-0.03802558034658432,
0.00013306202890817076,
0.04259677976369858,
0.015237321145832539,
0.019706934690475464,
-0.027562621980905533,
-0.05349992960691452,
-0.009125462733209133,
-0.0010544437682256103,
-0.015787558630108833,
0.01887734793126583,
0.031016413122415543,
-0.011047057807445526,
0.010293656960129738,
-0.06284548342227936,
-0.07252965122461319,
-0.029865149408578873,
-0.024041106924414635,
0.025073857977986336,
-0.01887734793126583,
0.02031642757356167,
-0.025310883298516273,
-0.01693035662174225,
0.04564424231648445,
0.07876002043485641,
0.04117462784051895,
0.0025670654140412807,
0.020418010652065277,
0.03792399913072586,
-0.006547815632075071,
0.003096139058470726,
-0.04987683147192001,
-0.027393316850066185,
0.006899120286107063,
-0.02800280973315239,
0.049639806151390076,
0.022077186033129692,
-0.09758657962083817,
0.01619388721883297,
-0.07652521133422852,
-0.0471002534031868,
0.05786795914173126,
-0.03350517526268959,
0.021941741928458214,
-0.009811141528189182,
0.05231480300426483,
0.04574582353234291,
0.026563730090856552,
-0.03890595957636833,
-0.009184719063341618,
0.014238430187106133,
-0.011301013641059399,
-0.007335077039897442,
-0.008113873191177845,
-0.04591512680053711,
-0.013214143924415112,
-0.01787845604121685,
-0.04053127393126488,
-0.041953425854444504,
-0.011512642726302147,
-0.05261955037713051,
0.01341730821877718,
-0.008232385851442814,
0.053093601018190384,
0.006789073348045349,
0.05729232728481293,
0.0577663779258728,
-0.012985583394765854,
-0.02773192524909973,
-0.08295875042676926,
-0.03213381767272949,
0.03252321481704712,
-0.01726049929857254,
0.04019266739487648,
0.0027406015433371067,
-0.010522216558456421,
-0.010488356463611126,
0.02470139041543007,
-0.013205678202211857,
0.07950495928525925,
-0.039617035537958145,
0.0005518238176591694,
-0.0427999421954155,
-0.038635075092315674,
0.028730815276503563,
0.03789013996720314,
0.05129898339509964,
0.028781607747077942,
0.05590403825044632,
0.05820656567811966,
-0.03910912573337555,
-0.033928435295820236,
0.02886625938117504,
0.03203223645687103,
0.002446436556056142,
-0.032049164175987244,
-0.006649397779256105,
0.020333359017968178,
0.031998373568058014,
-0.002188248559832573,
-0.018420228734612465,
-0.025480186566710472,
-0.011969761922955513,
0.012536928988993168,
-0.010581472888588905,
-0.03914298489689827,
0.019859308376908302,
-0.038668934255838394,
0.05891764163970947,
0.020468801259994507,
0.00014245307829696685,
0.008829181082546711,
0.021789370104670525,
0.0021035969257354736,
0.05780023708939552,
-0.004300310742110014,
-0.005718227941542864,
0.00015316682402044535,
-0.0627439022064209,
-0.005371155682951212,
-0.04445911571383476,
-0.008752994239330292,
0.11661630123853683,
0.045136332511901855,
-0.02691926807165146,
-0.03768697381019592,
0.026512939482927322,
0.01687956601381302,
-0.013569680973887444,
-0.05888378247618675,
-0.0018845603335648775,
0.0036760037764906883,
-0.01055607758462429,
0.007796429563313723,
-0.02693619765341282,
-0.07334230840206146,
-0.022839050740003586,
-0.00827047973871231,
0.010234400629997253,
-0.019385259598493576,
0.003614631248638034,
-0.02358398772776127,
0.01060686819255352,
0.06585908681154251,
-0.010708450339734554,
-0.02107829414308071,
0.06921129673719406,
0.015338903293013573,
-0.009684164077043533,
0.05136670172214508,
-0.04479772597551346,
-0.025192370638251305,
-0.008215455338358879,
-0.019351398572325706,
0.02141690067946911,
0.06220213323831558,
-0.03132116049528122,
-0.031050274148583412,
-0.002459134440869093,
0.02023177593946457,
0.023719429969787598,
0.047472719103097916,
-0.005739390850067139,
0.05929011106491089,
-0.02788429707288742,
0.06352269649505615,
0.04808221384882927,
0.04577968642115593,
-0.006505489815026522,
-0.044086650013923645,
0.0019247699528932571,
0.03340359404683113,
-0.0072504254058003426,
-0.03474109247326851,
0.057360049337148666,
0.05014771595597267,
-0.02803667075932026,
-0.0495043620467186,
0.032049164175987244,
-0.011868179775774479,
0.017235103994607925,
-0.06941446661949158,
-0.04611829295754433,
-0.09379417449235916,
-0.013984475284814835,
0.01803082972764969,
-0.010581472888588905,
0.10835428535938263,
0.010327517986297607,
-0.009912723675370216,
0.03430090472102165,
-0.03243856504559517,
0.06988851726055145,
0.015169600024819374,
0.010429100133478642,
0.0018305948469787836,
0.02356705628335476,
-0.008367829024791718,
-0.08803785592317581,
0.08058849722146988,
-0.018301716074347496,
0.04462842270731926,
0.011284083127975464,
0.003032650100067258,
0.028104392811655998,
-0.010242866352200508,
-0.004008261952549219,
0.0021385157015174627,
0.01786152645945549,
0.021823229268193245,
-0.03467337042093277,
-0.011394130066037178,
0.014263825491070747,
0.09562265872955322,
0.02900170162320137,
0.005383853334933519,
-0.06281162798404694,
-0.019825447350740433,
-0.0070260982029139996,
0.03704361990094185,
-0.007707545068114996,
-0.0009327568695880473,
0.04131007194519043,
-0.0278504379093647,
-0.0236347783356905,
0.02365170791745186,
-0.0033077686093747616,
-0.0039193774573504925,
-0.05143442377448082,
0.0009740245877765119,
0.02461673878133297,
-0.04896259307861328,
0.044086650013923645,
0.010699985548853874,
0.009354022331535816,
-0.0037797021213918924,
0.029289517551660538,
0.03809330239892006,
0.00890536792576313,
0.029408030211925507,
0.010361378081142902,
0.03120264783501625,
-0.0027046245522797108,
-0.004715104587376118,
0.05712302401661873,
0.02246658317744732,
0.04781132936477661,
-0.01056454237550497,
-0.006391209550201893,
0.015296577475965023,
-0.01801390014588833,
-0.05597176030278206,
0.012494603171944618,
-0.044188231229782104,
-0.025158509612083435,
-0.032895684242248535,
0.011952832341194153,
-0.0026940430980175734,
0.05045246332883835,
-0.005379620939493179,
-0.02812132239341736,
-0.03910912573337555,
0.013112561777234077,
0.042088866233825684,
-0.02004554308950901,
-0.015127274207770824,
0.016574818640947342,
0.001771338633261621,
-0.011080918833613396,
0.01997782103717327,
-0.057597074657678604,
0.04909803345799446,
-0.07049800455570221,
-0.007398566231131554,
0.017607571557164192,
0.0032781404443085194,
-0.03826260566711426,
0.03785627707839012,
-0.03213381767272949,
0.008829181082546711,
0.021552344784140587,
0.0015406624879688025,
0.037246786057949066,
-0.008702203631401062,
-0.04652462154626846,
-0.04889487102627754,
-0.04269836097955704,
0.017370546236634254,
-0.02566642127931118,
0.01806469075381756,
0.004651615396142006,
-0.0532967634499073,
0.03243856504559517,
0.05214549973607063,
-0.06047523394227028,
-0.0116904117166996,
-0.012723163701593876,
0.05326290428638458,
-0.005417714361101389,
-0.014424663968384266,
-0.03707748278975487,
-0.037348367273807526,
0.03599393740296364,
0.006365814246237278,
-0.06108472868800163,
-0.07124294340610504,
-0.03714520484209061,
-0.04134393110871315,
0.024972276762127876,
0.06406447291374207,
-0.0016030932310968637,
-0.07740559428930283,
-0.014915644191205502,
-0.036264825612306595,
0.05607334151864052,
0.03667115420103073,
0.028612302616238594,
-0.019859308376908302,
-0.031862933188676834,
0.012638511136174202,
-0.028476860374212265,
-0.024193480610847473,
-0.04222431033849716,
-0.012308369390666485,
0.01389135792851448,
0.0022792492527514696,
0.002084550214931369,
-0.054380305111408234,
-0.0007740347646176815,
0.023837942630052567,
0.04940278083086014,
-0.05119739845395088,
-0.028459930792450905,
0.06589294970035553,
-0.04804835468530655,
-0.019385259598493576,
-0.01448392029851675,
0.03135501965880394,
0.08316191285848618,
-0.0345548577606678,
-0.06010276824235916,
-0.02013019472360611,
0.018487948924303055,
-0.001584046520292759,
-0.03022068738937378,
0.020756617188453674,
-0.019283676519989967,
-0.000593091594055295,
0.0034516765736043453,
-0.005637808702886105,
0.026208192110061646,
-0.03812716528773308,
0.00953179132193327,
0.029340308159589767,
0.012714697979390621,
-0.01389982271939516,
0.056479670107364655,
-0.0041860309429466724,
-0.012782419100403786,
0.03934615105390549,
-0.00644200062379241,
-0.06761984527111053,
0.02123066782951355,
-0.06284548342227936,
0.001205229782499373,
-0.03255707770586014,
0.06457237899303436,
-0.0028316022362560034,
-0.040734440088272095,
0.04886101186275482,
0.020739687606692314,
0.008854576386511326,
-0.029272587969899178,
0.0024654832668602467,
0.06853408366441727,
-0.0069414465688169,
0.011834319680929184,
-0.02781657688319683,
0.024108828976750374,
-0.00419872859492898,
-0.002395645482465625,
0.012020553462207317,
0.002440087730064988,
-0.017336685210466385,
0.006293860264122486,
0.049741387367248535,
-0.09535177052021027,
0.04598284885287285,
0.00957411713898182,
0.007174238562583923,
-0.05177303031086922,
0.00561664579436183,
-0.0035003512166440487,
-0.004613522440195084,
-0.014323081821203232,
0.032946474850177765,
0.05600561946630478,
0.02221262827515602,
0.0003454851103015244,
0.07273281365633011,
-0.013358051888644695,
-0.00027908635092899203,
0.006137254182249308,
-0.0235501267015934,
-0.017235103994607925,
-0.042867664247751236,
0.02796895056962967,
-0.007352007552981377,
-0.0046897088177502155,
-0.016151560470461845,
0.01786152645945549,
-0.030779389664530754,
0.012850141152739525
] |
709,983
|
urllib3_future._async.connectionpool
|
close
|
Close all pooled connections and disable the pool.
|
@typing.overload
async def _make_request(
self,
conn: AsyncHTTPConnection,
method: str,
url: str,
body: _TYPE_BODY | None = ...,
headers: typing.Mapping[str, str] | None = ...,
retries: Retry | None = ...,
timeout: _TYPE_TIMEOUT = ...,
chunked: bool = ...,
response_conn: AsyncHTTPConnection | None = ...,
preload_content: bool = ...,
decode_content: bool = ...,
enforce_content_length: bool = ...,
on_post_connection: typing.Callable[[ConnectionInfo], typing.Awaitable[None]]
| None = ...,
on_upload_body: typing.Callable[
[int, int | None, bool, bool], typing.Awaitable[None]
] = ...,
*,
multiplexed: Literal[False] = ...,
) -> AsyncHTTPResponse:
...
|
(self) -> NoneType
|
[
-0.04429735988378525,
-0.07582298666238785,
-0.05193103849887848,
0.001729505485855043,
-0.08397047221660614,
0.004351289011538029,
-0.03787479177117348,
0.017313404008746147,
-0.02218537963926792,
-0.08426407724618912,
0.058683909475803375,
0.05952801555395126,
-0.005821597762405872,
0.030149362981319427,
-0.010358682833611965,
0.012331327423453331,
0.011780821718275547,
0.028626296669244766,
0.009335659444332123,
-0.04249903932213783,
0.010744036175310612,
0.07358426600694656,
0.0010947035625576973,
-0.008422737009823322,
0.019377801567316055,
0.09424657374620438,
-0.01732257939875126,
-0.01412047166377306,
0.03904920443892479,
0.0007139371009543538,
0.05622498318552971,
0.033617548644542694,
0.03536081686615944,
0.04840780049562454,
0.022038578987121582,
-0.0017799685010686517,
0.001175559009425342,
0.053729359060525894,
-0.07905261963605881,
-0.021029317751526833,
-0.06892331689596176,
-0.04804079979658127,
0.007385951466858387,
-0.02526821196079254,
0.02570861577987671,
-0.0066106561571359634,
-0.07413476705551147,
0.016386719420552254,
0.00030421174596995115,
0.013836043886840343,
-0.003812252078205347,
0.02789228968322277,
0.03563607111573219,
-0.02137797139585018,
0.016001366078853607,
0.047820594161748886,
-0.0435633510351181,
0.025726966559886932,
-0.018671318888664246,
0.05013272166252136,
-0.046058978885412216,
0.04055391997098923,
0.05160073563456535,
-0.030241113156080246,
-0.04939871281385422,
-0.03264498710632324,
-0.0429394468665123,
-0.020442111417651176,
0.006931784562766552,
0.0046976488083601,
0.025433363392949104,
0.026204071938991547,
-0.015597661957144737,
-0.02293773740530014,
0.048628006130456924,
0.0009628115221858025,
-0.014533351175487041,
0.004784812219440937,
-0.001251253648661077,
-0.029231853783130646,
0.01417552214115858,
-0.011331242509186268,
0.0063124652951955795,
-0.03358084708452225,
0.02657107636332512,
-0.058830708265304565,
-0.0389024019241333,
-0.0000395675961044617,
-0.05780309811234474,
-0.014570050872862339,
-0.03249818831682205,
-0.03273674100637436,
-0.03405795246362686,
-0.008597063831984997,
-0.01853369176387787,
-0.017496906220912933,
-0.01702897623181343,
-0.049435414373874664,
-0.04906840994954109,
-0.02535996213555336,
-0.045948877930641174,
0.025635216385126114,
-0.013918619602918625,
-0.004690767265856266,
0.025341613218188286,
-0.10033883899450302,
0.0583903044462204,
-0.027396833524107933,
0.0014347555115818977,
-0.024992959573864937,
0.02141467295587063,
-0.06286775320768356,
-0.008202535100281239,
0.03956301137804985,
-0.0068079205229878426,
0.0218183770775795,
-0.014441600069403648,
-0.033617548644542694,
-0.052261341363191605,
-0.0002008485607802868,
-0.026332523673772812,
-0.009606325067579746,
0.033874452114105225,
0.0074868774972856045,
0.06209704279899597,
0.023836897686123848,
0.009032880887389183,
-0.014661801978945732,
-0.01802906207740307,
-0.05651858448982239,
-0.01027610618621111,
0.046205777674913406,
0.031745828688144684,
0.0831630602478981,
-0.01782720908522606,
0.07072163373231888,
-0.0671616941690445,
0.025231512263417244,
-0.014432424679398537,
0.021910127252340317,
0.02080911584198475,
0.007468527648597956,
0.01058806013315916,
-0.07387786358594894,
-0.015781164169311523,
0.00032313537667505443,
-0.0251581110060215,
-0.09424657374620438,
-0.013239662162959576,
-0.009743951261043549,
-0.0018132281256839633,
-0.04048052057623863,
-0.025378312915563583,
0.07721760123968124,
0.010450433008372784,
-0.0042090751230716705,
-0.0012042312882840633,
-0.012450603768229485,
-0.031085222959518433,
0.009069581516087055,
-0.02172662504017353,
-0.0022547796834260225,
0.007615328766405582,
-0.04481116309762001,
0.005596808157861233,
-0.04910510778427124,
0.07185934484004974,
-0.04994921758770943,
0.01849699206650257,
-0.008441087789833546,
-0.03449835628271103,
0.056408483535051346,
-0.01939615048468113,
-0.004007222596555948,
0.025855418294668198,
0.03101182170212269,
0.020442111417651176,
0.02172662504017353,
-0.06664789468050003,
0.0048673879355192184,
0.021910127252340317,
-0.021689925342798233,
0.0074639399535954,
0.03570947051048279,
0.03438825532793999,
0.06829940527677536,
-0.007142811547964811,
0.005702321417629719,
0.032810140401124954,
-0.025855418294668198,
-0.015937140211462975,
0.0013338294811546803,
0.05409635975956917,
-0.06628088653087616,
0.03484700992703438,
-0.06719839572906494,
-0.016184868291020393,
0.0563717857003212,
0.05758289620280266,
0.030993470922112465,
-0.006752870045602322,
0.005642683710902929,
0.024185551330447197,
0.055454276502132416,
-0.023157939314842224,
-0.00610143830999732,
0.030020911246538162,
-0.018267614766955376,
-0.08918192237615585,
-0.00917050801217556,
-0.0352507159113884,
-0.014368198812007904,
-0.03025946393609047,
0.020497161895036697,
0.006532667670398951,
-0.020020058378577232,
0.0002451470645610243,
-0.003098888322710991,
-0.01093671377748251,
-0.00904664397239685,
0.0830896645784378,
0.03570947051048279,
-0.003922353032976389,
-0.06294115632772446,
0.09365937113761902,
-0.02728673256933689,
0.002413050038740039,
-0.02146972343325615,
-0.0331587940454483,
-0.02036871202290058,
-0.035746172070503235,
0.0015310939634218812,
0.04128792881965637,
0.04275594279170036,
-0.05527077242732048,
0.02435070276260376,
-0.00607391307130456,
-0.010221055708825588,
0.0023327679373323917,
-0.04040711745619774,
0.01874472014605999,
0.006495967507362366,
0.006784982979297638,
-0.010670635849237442,
-0.07130883634090424,
-0.034131355583667755,
0.020093457773327827,
0.04319634661078453,
-0.022974438965320587,
0.010266931727528572,
-0.0048857382498681545,
-0.016083942726254463,
-0.058720607310533524,
-0.022607434540987015,
0.004816925153136253,
0.022001877427101135,
-0.00978065188974142,
-0.054279863834381104,
-0.010000853799283504,
-0.00942282285541296,
0.014313148334622383,
0.07721760123968124,
-0.010266931727528572,
0.0671616941690445,
-0.05772969871759415,
-0.02036871202290058,
-0.002215785440057516,
-0.03202108293771744,
-0.04583877697587013,
0.017359279096126556,
0.030479665845632553,
0.0604088269174099,
0.04007681459188461,
-0.01377181801944971,
-0.002214638516306877,
-0.025892117992043495,
-0.008445675484836102,
0.022864338010549545,
-0.02844279445707798,
-0.0435633510351181,
0.010890837758779526,
-0.058023300021886826,
0.03339734673500061,
-0.04613237828016281,
-0.013872743584215641,
-0.013019460253417492,
-0.00012923982285428792,
0.07927282154560089,
-0.0011228022631257772,
-0.006445504259318113,
0.00806032121181488,
0.01305615995079279,
0.03919600695371628,
0.023212991654872894,
-0.04297614470124245,
-0.0040416293777525425,
-0.03530576452612877,
0.017047327011823654,
0.05328895151615143,
-0.0496189147233963,
-0.03036956489086151,
0.021543122828006744,
-0.015230657532811165,
-0.03262664005160332,
0.037159133702516556,
-0.06617078930139542,
-0.005959224421530962,
-0.03299364075064659,
-0.08947552740573883,
0.014166346751153469,
-0.03712243586778641,
0.025855418294668198,
-0.023011138662695885,
-0.07141894102096558,
-0.010046728886663914,
0.018652968108654022,
0.015019631013274193,
0.046866387128829956,
0.03128707408905029,
0.046352580189704895,
-0.029011650010943413,
-0.004555434919893742,
-0.036259975284338,
-0.032204583287239075,
0.005165578797459602,
-0.03158067911863327,
-0.013368113897740841,
0.0034016664139926434,
-0.03668203204870224,
0.05248154327273369,
-0.04506806656718254,
0.08088763803243637,
-0.01682712510228157,
-0.03915930539369583,
-0.04503136873245239,
-0.015276533551514149,
0.010973413474857807,
-0.005477531813085079,
0.028718048706650734,
-0.021965177729725838,
-0.017506081610918045,
0.011303717270493507,
0.058280203491449356,
0.013634191825985909,
0.033268895000219345,
-0.03868220001459122,
0.03163572773337364,
0.00909251905977726,
0.0926317572593689,
-0.034938763827085495,
-0.009110869839787483,
-0.038572099059820175,
0.005633508320897818,
0.062464047223329544,
0.051197029650211334,
0.02363504469394684,
-0.024112150073051453,
-0.051197029650211334,
-0.005537169985473156,
-0.009560449048876762,
0.008574126288294792,
0.02490120753645897,
0.020387060940265656,
0.04939871281385422,
0.04198523610830307,
0.031195323914289474,
0.03262664005160332,
0.003032368840649724,
-0.04543507099151611,
0.026516025885939598,
-0.024277301505208015,
-0.0059316991828382015,
-0.053325653076171875,
-0.014285623095929623,
-0.04037041962146759,
0.0030553066171705723,
-0.08646609634160995,
-0.035544317215681076,
-0.02789228968322277,
0.03875560313463211,
0.022368881851434708,
-0.025194810703396797,
0.01747855544090271,
-0.018808944150805473,
0.03600307181477547,
-0.06294115632772446,
-0.010716510936617851,
0.026791278272867203,
0.007445589639246464,
0.06488627195358276,
0.02824094332754612,
-0.01293688453733921,
-0.002200875896960497,
0.0055096447467803955,
-0.01184504758566618,
-0.04859130457043648,
-0.004624248016625643,
0.015735289081931114,
-0.035599369555711746,
-0.02712158113718033,
0.005867473315447569,
-0.019469551742076874,
0.00788140669465065,
0.07424487173557281,
-0.026589425280690193,
0.08147484809160233,
0.034736908972263336,
0.03268168866634369,
0.021029317751526833,
-0.009060406126081944,
-0.013634191825985909,
-0.029690608382225037,
-0.0435633510351181,
0.015588486567139626,
-0.028369395062327385,
0.007239149883389473,
-0.025635216385126114,
-0.030828319489955902,
0.02146972343325615,
0.009037468582391739,
0.02591046877205372,
0.05207784101366997,
-0.0020276959985494614,
0.043122947216033936,
0.020332010462880135,
0.00008056880324147642,
0.028736397624015808,
0.008404387161135674,
-0.016634447500109673,
-0.01177164725959301,
0.009220970794558525,
0.038718901574611664,
-0.032553236931562424,
0.007564865984022617,
0.044884566217660904,
0.053032051771879196,
-0.03915930539369583,
0.028516195714473724,
0.048738107085227966,
0.012010199949145317,
-0.022368881851434708,
0.047820594161748886,
-0.05354585498571396,
-0.03565441817045212,
0.05016941949725151,
-0.02055221237242222,
0.027048179879784584,
-0.006362928543239832,
0.0025896707084029913,
-0.00305760046467185,
0.014615926891565323,
0.0603354275226593,
0.027011480182409286,
0.007798830978572369,
-0.04360005259513855,
-0.008450262248516083,
0.05127043277025223,
-0.01586373895406723,
-0.04121452569961548,
-0.037104085087776184,
0.12023044377565384,
-0.0348653607070446,
0.04132463037967682,
-0.012056075036525726,
-0.013459865003824234,
0.011597320437431335,
0.03414970263838768,
0.0052160415798425674,
-0.023414842784404755,
-0.024736056104302406,
0.027928989380598068,
-0.024442452937364578,
-0.011523919180035591,
0.020276959985494614,
0.0361865758895874,
-0.02005675807595253,
0.011514744721353054,
0.03295694291591644,
-0.0020345773082226515,
-0.06128963455557823,
-0.0025782017037272453,
-0.03993001580238342,
0.05596807971596718,
0.05607818067073822,
0.045948877930641174,
0.007982333190739155,
-0.01025775633752346,
0.01220287661999464,
0.04040711745619774,
-0.04081082344055176,
-0.003463598433881998,
0.07699739933013916,
0.03570947051048279,
0.013799343258142471,
-0.004619660321623087,
-0.015460035763680935,
-0.05527077242732048,
0.003674625651910901,
-0.018478641286492348,
0.0004693634691648185,
0.003809958230704069,
-0.04026031866669655,
0.009844876825809479,
-0.014313148334622383,
0.025084709748625755,
-0.004151730332523584,
-0.048774804919958115,
-0.009042056277394295,
-0.031397175043821335,
-0.04693978652358055,
-0.03578286990523338,
0.02198352850973606,
-0.05046302452683449,
0.004968313965946436,
0.010340332053601742,
0.03380104899406433,
0.0006456973496824503,
0.046756286174058914,
-0.03370929881930351,
-0.06073912978172302,
0.051710836589336395,
0.07017112523317337,
0.027855588123202324,
-0.011597320437431335,
-0.001447371207177639,
-0.007161161862313747,
0.06073912978172302,
-0.0037594952154904604,
0.018019886687397957,
0.00029790386906825006,
0.003807664383202791,
-0.026516025885939598,
-0.011606495827436447,
-0.000726552854757756,
0.04158153012394905,
0.005133465863764286,
-0.050499722361564636,
0.016093116253614426,
-0.03031451441347599,
0.0019829673692584038,
0.004729761742055416,
0.10349507629871368,
-0.049325309693813324,
-0.04026031866669655,
-0.07006102800369263,
0.028718048706650734,
0.05648188665509224,
0.04521486908197403,
0.0002083033323287964,
-0.05053642392158508,
-0.06606068462133408,
0.019579652696847916,
0.027470234781503677,
-0.006234477274119854,
-0.08066743612289429,
-0.03912260755896568,
0.017249178141355515,
-0.07670379430055618,
0.006766632664948702,
-0.020588913932442665,
0.011643195524811745,
-0.0008561510476283729,
-0.045141469687223434,
0.05005931854248047,
-0.033415697515010834,
0.037911493331193924,
0.05945461615920067,
0.0696573257446289,
-0.01540498435497284,
-0.03251653537154198,
-0.009000767953693867,
0.02591046877205372,
-0.032553236931562424,
-0.03677378222346306,
0.017047327011823654,
0.02899330109357834,
-0.02137797139585018,
-0.004050804302096367,
0.00032284867484122515,
-0.0070327105931937695,
0.04616907984018326,
-0.025194810703396797,
-0.05798660218715668,
-0.07670379430055618,
-0.01581786386668682,
-0.029066702350974083,
-0.01768958382308483,
0.018258439376950264,
-0.009532923810184002,
-0.011019289493560791,
-0.03136047348380089,
0.001375117339193821,
-0.04965561628341675,
-0.014726027846336365,
-0.016184868291020393,
0.05820680409669876,
-0.03581957146525383,
0.03270003944635391,
0.004353582859039307,
-0.0021125655621290207,
-0.031452227383852005,
0.02959885634481907,
-0.033874452114105225,
-0.02490120753645897,
-0.01930440030992031,
0.041508130729198456,
-0.0631246566772461,
-0.019579652696847916,
0.04462766274809837,
-0.031452227383852005,
0.022240430116653442,
0.01601054146885872,
0.015129731968045235,
0.009899927303195,
-0.03446165844798088,
-0.009597149677574635,
-0.09072334319353104,
0.03616822510957718,
0.0630512535572052,
-0.058280203491449356,
-0.01974480412900448,
-0.04470106214284897,
-0.00979900173842907,
-0.002635546028614044,
-0.012707507237792015,
0.06073912978172302,
-0.002136650262400508,
-0.04000341519713402,
-0.06261084973812103,
-0.040186915546655655,
0.025194810703396797,
0.004619660321623087,
0.07369436323642731,
0.016836300492286682,
0.07233645021915436,
-0.0038994154892861843,
0.008606239221990108,
0.03236973658204079,
0.0043168822303414345,
-0.007023535203188658,
0.01950625143945217,
0.00592252379283309,
-0.041765034198760986,
-0.017964836210012436,
0.012661631219089031,
-0.0034016664139926434,
0.019065847620368004,
-0.050903428345918655,
-0.017194127663969994,
-0.02233218215405941,
-0.004858213011175394,
0.0966688022017479,
0.05714249238371849,
-0.003459010971710086,
0.052665047347545624,
0.0070831733755767345,
-0.013992019928991795,
-0.02339649200439453,
0.07839201390743256,
-0.02400204911828041,
0.031745828688144684,
-0.02258908376097679,
0.10129304975271225,
0.006711582187563181,
-0.008849379606544971,
0.027470234781503677,
-0.022148679941892624,
-0.09204455465078354,
0.03919600695371628,
0.013001109473407269,
0.030828319489955902,
0.02025860920548439,
0.005202278960496187,
0.031195323914289474,
0.05016941949725151,
0.022038578987121582,
0.03025946393609047,
-0.02622242271900177,
0.0013475921005010605,
0.010404557920992374,
0.022148679941892624,
0.016652798280119896,
-0.04389365389943123,
0.04602227732539177,
0.01636837050318718,
-0.04550847038626671,
0.027653736993670464,
0.013166261836886406,
0.016304144635796547,
-0.039636410772800446,
0.054389964789152145,
-0.006528079975396395,
-0.020625613629817963,
0.040040116757154465,
-0.02126787044107914,
0.008927367627620697,
-0.034333206713199615,
-0.07031793147325516,
0.025231512263417244,
0.019267700612545013,
0.07395126670598984,
-0.022222081199288368,
-0.0029383241198956966,
0.015230657532811165,
0.0066611189395189285,
0.01581786386668682,
0.03475525975227356,
0.035691119730472565,
0.03343404829502106,
0.04238893836736679,
-0.026002218946814537,
-0.00497748889029026,
0.053325653076171875,
0.009285196661949158,
-0.0022501919884234667,
0.04653608426451683,
0.00978065188974142,
0.037305936217308044,
-0.036498527973890305,
0.036241624504327774,
-0.048774804919958115,
-0.012368028052151203,
0.011349592357873917,
-0.020295310765504837,
-0.00014500951510854065,
-0.053582556545734406,
-0.0351773165166378,
0.02106601931154728,
0.04807749763131142,
0.030498016625642776,
0.0744650736451149,
0.042866043746471405,
-0.03244313597679138,
-0.032975293695926666,
-0.016304144635796547,
-0.04136132821440697,
0.018552042543888092,
0.01970810443162918,
0.05501386895775795,
0.00019052658171858639,
-0.05284854769706726,
-0.04727008938789368,
-0.003114944789558649,
-0.002136650262400508,
0.05123373121023178,
-0.03325054422020912,
0.05941791459918022,
0.0281858928501606,
0.012863483279943466,
-0.001992142526432872,
0.017561132088303566,
0.016148166730999947,
-0.015083856880664825,
0.001861397409811616,
0.04712328687310219,
-0.040186915546655655,
0.006271177437156439,
0.000756945344619453,
-0.030149362981319427,
-0.008358512073755264,
-0.021744975820183754,
0.03743438795208931,
0.06316135823726654,
-0.023451542481780052,
-0.062464047223329544,
0.009431998245418072,
0.0016182573745027184,
0.036039773374795914
] |
709,984
|
urllib3_future._async.connectionpool
|
get_response
|
Retrieve the first response available in the pool.
This method should be called after issuing at least one request with ``multiplexed=True``.
If none available, return None.
|
def _raise_timeout(
self,
err: BaseSSLError | OSError | SocketTimeout,
url: str,
timeout_value: _TYPE_TIMEOUT | None,
) -> None:
"""Is the error actually a timeout? Will raise a ReadTimeout or pass"""
if isinstance(err, SocketTimeout):
raise ReadTimeoutError(
self, url, f"Read timed out. (read timeout={timeout_value})"
) from err
# See the above comment about EAGAIN in Python 3.
if hasattr(err, "errno") and err.errno in _blocking_errnos:
raise ReadTimeoutError(
self, url, f"Read timed out. (read timeout={timeout_value})"
) from err
|
(self, *, promise: Optional[urllib3_future.backend._base.ResponsePromise] = None) -> urllib3_future._async.response.AsyncHTTPResponse | None
|
[
-0.01675492711365223,
-0.004207494203001261,
-0.027562137693166733,
0.06019015237689018,
-0.008973173797130585,
0.02921323850750923,
-0.022327395156025887,
-0.021745756268501282,
0.024128597229719162,
-0.06484325975179672,
0.023809634149074554,
0.0425909124314785,
0.022852744907140732,
-0.020732581615447998,
0.008077263832092285,
0.0464559905230999,
-0.00726109417155385,
0.056963000446558,
0.03883840888738632,
-0.0547490231692791,
-0.042290713638067245,
0.032158952206373215,
0.010169284418225288,
-0.08112911880016327,
-0.0021131285466253757,
0.06600653380155563,
-0.01158585399389267,
-0.012139348313212395,
0.02589227259159088,
-0.026586486026644707,
-0.03185875341296196,
0.003388979472219944,
-0.014662906527519226,
0.05230989679694176,
-0.015798039734363556,
0.03827553242444992,
-0.07760176807641983,
-0.023640770465135574,
0.0014400231884792447,
0.015694845467805862,
-0.11347570270299911,
0.013433962129056454,
-0.03281564265489578,
-0.016989458352327347,
-0.006557499524205923,
-0.03534858301281929,
-0.043491512537002563,
0.02163318172097206,
-0.08015347272157669,
0.0017073890194296837,
-0.07238578796386719,
0.07790196686983109,
0.02084515616297722,
-0.01650163345038891,
-0.0055443234741687775,
0.016276482492685318,
-0.053022872656583786,
0.015300832688808441,
0.0014634763356298208,
-0.028631599619984627,
-0.02311542071402073,
0.0226838830858469,
-0.03159607946872711,
0.0005086400778964162,
0.007026562467217445,
-0.005422367248684168,
0.0036797986831516027,
-0.02688668668270111,
-0.019344154745340347,
0.010169284418225288,
0.07110993564128876,
0.07730156928300858,
-0.045105088502168655,
0.01621081493794918,
0.06660693138837814,
0.006923368666321039,
-0.08293032646179199,
0.033659953624010086,
-0.012242542579770088,
0.020451143383979797,
0.047656793147325516,
0.018096446990966797,
0.057450827211141586,
-0.013480868190526962,
0.04187793657183647,
-0.012936755083501339,
0.00952666811645031,
-0.017017602920532227,
0.018527984619140625,
0.011360703967511654,
-0.002638478996232152,
-0.03296574205160141,
-0.06094065308570862,
-0.02390344627201557,
-0.02572341077029705,
0.024203646928071976,
0.040677137672901154,
-0.025742173194885254,
-0.024691471830010414,
-0.05576220154762268,
0.03463560715317726,
0.0013286207104101777,
0.02975735068321228,
-0.06281690299510956,
0.07501254230737686,
-0.05125919729471207,
-0.002638478996232152,
-0.03189627826213837,
0.04623084142804146,
0.018865710124373436,
0.01700822077691555,
-0.010704015381634235,
0.011914198286831379,
0.038313060998916626,
0.00944223627448082,
0.03103320300579071,
-0.00745340995490551,
-0.002542321104556322,
-0.044166963547468185,
0.0010290067875757813,
0.03966395929455757,
0.013724780641496181,
0.01882818527519703,
-0.017411615699529648,
-0.021877095103263855,
0.035085905343294144,
-0.08720817416906357,
-0.004594471305608749,
0.07197301089763641,
0.024372508749365807,
-0.05321049690246582,
0.013584062457084656,
0.00504711689427495,
0.02958848886191845,
-0.0024250552523881197,
0.04773184284567833,
-0.09779023379087448,
0.09156107902526855,
0.0006402708822861314,
-0.05613745003938675,
-0.025760935619473457,
0.03234658017754555,
0.006965584121644497,
-0.07069716602563858,
0.041952986270189285,
0.014597238041460514,
-0.03701844438910484,
-0.028519025072455406,
-0.006932749878615141,
-0.0066935280337929726,
0.00647306814789772,
-0.0009815141092985868,
-0.011660903692245483,
-0.005370770581066608,
0.020507430657744408,
0.018434172496199608,
-0.024804046377539635,
-0.053960997611284256,
-0.02544197253882885,
-0.006702909246087074,
-0.041465163230895996,
-0.004172314889729023,
0.05204722285270691,
-0.04945799335837364,
-0.034935805946588516,
-0.03838811069726944,
-0.013058711774647236,
-0.042403288185596466,
0.03504838049411774,
0.052459996193647385,
-0.013706018216907978,
0.013152523897588253,
-0.0248978603631258,
-0.005173764191567898,
-0.0481070913374424,
-0.013555917888879776,
0.005760092753916979,
0.018209023401141167,
-0.028519025072455406,
-0.03943881019949913,
0.013368293642997742,
-0.029194476082921028,
-0.03242162987589836,
0.02123916894197464,
-0.015826182439923286,
0.04653104022145271,
-0.023640770465135574,
0.023040371015667915,
0.0011585854226723313,
0.01094792876392603,
-0.01526330690830946,
-0.01700822077691555,
-0.013302624225616455,
-0.02135174348950386,
0.023528195917606354,
-0.0024696162436157465,
0.0010929165873676538,
0.03943881019949913,
0.06281690299510956,
0.12495835870504379,
0.027111835777759552,
0.07932791858911514,
-0.021595656871795654,
0.010413196869194508,
-0.04244081303477287,
-0.07775186747312546,
-0.002304271562024951,
-0.04739411547780037,
-0.0282000619918108,
0.03427911922335625,
-0.04548034071922302,
-0.0091983238235116,
-0.014597238041460514,
0.04690629243850708,
0.026586486026644707,
0.010797828435897827,
-0.05977737903594971,
-0.026867924258112907,
0.0367932952940464,
0.022083481773734093,
0.01953178085386753,
-0.025310635566711426,
-0.03598650544881821,
-0.07433709502220154,
0.038800884038209915,
0.02422240935266018,
0.008255507797002792,
-0.041840411722660065,
0.038238007575273514,
0.02172699384391308,
0.0061400337144732475,
0.0331721305847168,
0.009104511700570583,
0.022477494552731514,
0.02495414763689041,
-0.002781543182209134,
0.004057394340634346,
-0.0015983318444341421,
-0.032721828669309616,
-0.024353746324777603,
-0.0093390429392457,
-0.02200843207538128,
-0.05685042589902878,
0.03472941741347313,
0.021651944145560265,
-0.026980498805642128,
-0.015591651201248169,
0.07343649119138718,
-0.023528195917606354,
-0.012045536190271378,
0.04210308939218521,
0.016304627060890198,
-0.005394223611801863,
-0.021802043542265892,
0.024879097938537598,
-0.029138188809156418,
-0.05249752104282379,
-0.07058458775281906,
-0.012655317783355713,
0.005520870443433523,
0.015798039734363556,
-0.022045956924557686,
-0.015769895166158676,
0.04660608991980553,
-0.05609992519021034,
-0.03472941741347313,
0.013884262181818485,
0.0425909124314785,
0.023246757686138153,
0.019034573808312416,
0.05369832366704941,
-0.00019260896078776568,
-0.023040371015667915,
-0.004397464916110039,
-0.03701844438910484,
0.040789712220430374,
0.0018316906644031405,
0.014587856829166412,
-0.011041740886867046,
-0.0030348370783030987,
0.03311584144830704,
0.05880172923207283,
0.03484199196100235,
-0.005825761239975691,
-0.06011510267853737,
0.021820807829499245,
-0.006885843817144632,
0.06623168289661407,
-0.08142932504415512,
0.05880172923207283,
0.015769895166158676,
-0.07197301089763641,
0.016304627060890198,
-0.04199051111936569,
-0.030020026490092278,
-0.019034573808312416,
-0.03322841599583626,
0.020713819190859795,
0.024822808802127838,
-0.029232000932097435,
-0.03159607946872711,
0.009203014895319939,
-0.01752419024705887,
0.046831242740154266,
0.0010037946049124002,
-0.056775376200675964,
-0.02178328111767769,
-0.013743543066084385,
-0.04457974061369896,
0.002287854440510273,
-0.005652208346873522,
-0.029832402244210243,
-0.013752925209701061,
-0.05182207003235817,
0.05099651962518692,
0.07992832362651825,
-0.012477073818445206,
-0.013903024606406689,
-0.009962896816432476,
0.018574891611933708,
-0.019869504496455193,
0.006046221125870943,
0.007899019867181778,
-0.08165447413921356,
0.0009604063234291971,
-0.013068092986941338,
0.024184884503483772,
0.011811004020273685,
-0.027956150472164154,
0.002354695927351713,
0.0038486612029373646,
0.0028167227283120155,
0.025760935619473457,
-0.08398102223873138,
-0.026117423549294472,
-0.0017671945970505476,
0.014250131323933601,
0.04116496071219444,
0.06979656219482422,
0.030676715075969696,
-0.031333401799201965,
0.010976072400808334,
0.014418994076550007,
-0.008607304655015469,
0.07947801798582077,
-0.001889150938950479,
-0.005492726806551218,
-0.0014282965566962957,
0.047544218599796295,
0.006627859082072973,
-0.02217729389667511,
0.005173764191567898,
-0.026642773300409317,
0.04619331657886505,
-0.022533781826496124,
0.045330241322517395,
0.027843574061989784,
-0.033716242760419846,
0.002455544425174594,
-0.019034573808312416,
-0.015169494785368443,
0.020057130604982376,
0.005018973257392645,
-0.004090228583663702,
-0.011811004020273685,
0.03887593373656273,
0.007237640675157309,
-0.03176493942737579,
0.01303056813776493,
0.022308632731437683,
-0.06660693138837814,
-0.07362411916255951,
0.01413755677640438,
-0.019925793632864952,
0.045330241322517395,
-0.0431537888944149,
-0.057000525295734406,
-0.022815220057964325,
-0.01828407309949398,
0.046043217182159424,
0.02041361853480339,
-0.03125835210084915,
0.022327395156025887,
-0.08623252809047699,
0.036305468529462814,
-0.0398140586912632,
-0.050246018916368484,
0.0052488138899207115,
-0.0123082110658288,
0.038575734943151474,
-0.01774934120476246,
0.05534942448139191,
0.044242013245821,
0.026586486026644707,
-0.029175713658332825,
0.0378815196454525,
0.004284889902919531,
-0.004101955331861973,
0.022758932784199715,
-0.03412901610136032,
-0.04724401608109474,
0.052459996193647385,
-0.05598735064268112,
0.07932791858911514,
0.01868746615946293,
0.0613909550011158,
0.04364161565899849,
-0.03767513483762741,
-0.037919044494628906,
-0.046831242740154266,
-0.06176620349287987,
-0.013236955739557743,
-0.009048223495483398,
0.005811689421534538,
0.008973173797130585,
0.034823231399059296,
-0.03666195645928383,
0.009672077372670174,
0.009038842283189297,
-0.016933171078562737,
0.02058248035609722,
-0.06724485754966736,
-0.0042520551942288876,
0.006768577732145786,
0.014465900138020515,
-0.010882259346544743,
-0.03671824559569359,
0.0006004005554132164,
-0.0070969220250844955,
-0.03699968382716179,
0.0669446587562561,
0.06615663319826126,
0.013846737332642078,
0.004214530345052481,
0.040189310908317566,
0.03191504254937172,
-0.05936460196971893,
0.009545430541038513,
0.02140803076326847,
-0.010750922374427319,
0.06844566017389297,
0.0179744902998209,
-0.007087540812790394,
0.06383008509874344,
0.0956888347864151,
-0.03898850828409195,
0.07099736481904984,
0.05895182862877846,
-0.06322968006134033,
-0.0124489301815629,
0.026361336931586266,
-0.005689733196049929,
0.05542447417974472,
-0.013612206093966961,
-0.056963000446558,
0.0100942337885499,
-0.09673953801393509,
0.06379255652427673,
0.014813006855547428,
0.007420575246214867,
-0.003979998640716076,
0.03821924701333046,
0.0359489805996418,
-0.10101739317178726,
-0.06319215893745422,
0.041727837175130844,
0.02799367532134056,
-0.03656814619898796,
0.039138611406087875,
-0.0002481635892763734,
-0.0015396990347653627,
0.004033941309899092,
-0.0036704172380268574,
-0.00029081900720484555,
0.019663117825984955,
-0.030789289623498917,
0.00900131743401289,
0.05170949548482895,
0.01712079718708992,
0.003168520051985979,
0.054448824375867844,
-0.056963000446558,
0.04082723706960678,
-0.009662696160376072,
-0.020601242780685425,
-0.02146431989967823,
-0.04784441739320755,
0.01347148697823286,
0.026736587285995483,
0.0021952143870294094,
-0.025535784661769867,
0.027843574061989784,
0.021051544696092606,
0.04821966961026192,
0.038238007575273514,
-0.01848107948899269,
-0.05411109700798988,
0.006130652502179146,
-0.005581848789006472,
-0.00003684709008666687,
-0.00875740498304367,
-0.03690586984157562,
0.0002678056189324707,
0.027956150472164154,
0.07700137048959732,
-0.017599239945411682,
-0.029457151889801025,
0.05317297205328941,
0.06975903362035751,
-0.05219732224941254,
0.00827896036207676,
0.07095983624458313,
0.01894075982272625,
0.0351421944797039,
-0.009052914567291737,
-0.07666364312171936,
-0.051521871238946915,
0.02925076335668564,
0.0036446189042180777,
0.02245873212814331,
0.04003921151161194,
0.030958153307437897,
-0.009606408886611462,
-0.02925076335668564,
-0.032721828669309616,
-0.02362200804054737,
0.04052703455090523,
0.04026436060667038,
-0.02078886888921261,
-0.029963739216327667,
-0.01973816752433777,
-0.007636344525963068,
0.0240535456687212,
-0.06777021288871765,
0.013377674855291843,
0.039363760501146317,
-0.059477176517248154,
0.033978916704654694,
-0.1078469455242157,
-0.041840411722660065,
0.016023188829421997,
0.03765637055039406,
0.08338062465190887,
-0.023640770465135574,
-0.010244334116578102,
-0.03478570654988289,
-0.03330346569418907,
0.06814546138048172,
-0.016661114990711212,
0.02084515616297722,
0.027299461886286736,
-0.008377463556826115,
0.03966395929455757,
-0.028612837195396423,
0.012289448641240597,
0.022496256977319717,
0.025291873142123222,
-0.0486699678003788,
0.029344575479626656,
-0.0021999049931764603,
0.05670032650232315,
0.01167028583586216,
0.04236576333642006,
-0.00867297314107418,
0.03568630665540695,
-0.03563001751899719,
0.018462317064404488,
0.0010999524965882301,
-0.009052914567291737,
-0.030883101746439934,
-0.017674291506409645,
-0.004725808743387461,
-0.014343944378197193,
-0.021764518693089485,
0.011473279446363449,
0.006477758754044771,
-0.03705596923828125,
0.0370747335255146,
-0.023884683847427368,
-0.0075425319373607635,
0.013368293642997742,
-0.03129587695002556,
-0.023659532889723778,
-0.029232000932097435,
0.01819964125752449,
-0.021483082324266434,
-0.019944556057453156,
-0.009123274125158787,
-0.008067882619798183,
0.02129545621573925,
0.0036047485191375017,
-0.019756929948925972,
-0.020507430657744408,
-0.03242162987589836,
0.05170949548482895,
0.06135343015193939,
0.03189627826213837,
-0.060152627527713776,
-0.017167702317237854,
0.03245915472507477,
0.011435753665864468,
0.032271530479192734,
0.010976072400808334,
-0.0008149968343786895,
-0.03489828109741211,
0.016942553222179413,
-0.01973816752433777,
0.04071466252207756,
0.014531569555401802,
-0.029232000932097435,
0.03189627826213837,
0.02257130853831768,
-0.032871928066015244,
0.0016206123400479555,
-0.04780689254403114,
0.03534858301281929,
-0.06277938187122345,
0.02283398248255253,
0.0123082110658288,
-0.02615494839847088,
0.010544534772634506,
0.009099820628762245,
0.017299041152000427,
-0.014062506146728992,
-0.03251544013619423,
-0.0065762619487941265,
-0.002415674040094018,
-0.007134446874260902,
-0.12255676090717316,
-0.03302203118801117,
-0.0063933273777365685,
0.00530979223549366,
0.03699968382716179,
-0.004864182323217392,
-0.09006007760763168,
0.04116496071219444,
0.043491512537002563,
-0.0005244709900580347,
-0.01774934120476246,
0.024353746324777603,
0.0099535146728158,
-0.033322229981422424,
-0.07095983624458313,
0.006060292944312096,
0.017955727875232697,
-0.00413948018103838,
0.008888741955161095,
0.03645557165145874,
-0.0018352086190134287,
0.005886739585548639,
0.013208812102675438,
0.036211658269166946,
0.019015811383724213,
-0.044879939407110214,
0.0020380783826112747,
-0.06574385613203049,
0.02776852436363697,
0.02583598531782627,
0.0033983609173446894,
0.025066722184419632,
-0.000918777019251138,
-0.01360282488167286,
-0.026361336931586266,
-0.032158952206373215,
0.05306039750576019,
-0.023134183138608932,
-0.013302624225616455,
-0.0037243596743792295,
0.0036211656406521797,
0.020113417878746986,
0.015056919306516647,
-0.03690586984157562,
-0.009700221009552479,
0.055837251245975494,
0.04897017031908035,
-0.006369874347001314,
-0.014925582334399223,
-0.06675703823566437,
-0.012542742304503918,
-0.003304548328742385,
-0.020432380959391594,
0.020057130604982376,
-0.06390513479709625,
0.006074364762753248,
0.0032576420344412327,
0.007265784777700901,
0.014250131323933601,
0.03200885280966759,
-0.0161826703697443,
-0.05050869658589363,
-0.015338357537984848,
-0.014662906527519226,
-0.0989910364151001,
0.07992832362651825,
-0.0641302838921547,
-0.05801369994878769,
-0.0011609307257458568,
-0.03199009224772453,
0.022777695208787918,
0.048032041639089584,
0.043341413140296936,
-0.013734161853790283,
0.018021397292613983,
0.013086855411529541,
0.043829239904880524,
-0.02456013485789299,
-0.005516179837286472,
0.029719825834035873,
-0.0007317381678149104,
0.015619794838130474,
0.0010729813948273659,
-0.04563044011592865,
0.03821924701333046,
0.0099535146728158,
-0.05718814954161644,
0.008785548619925976,
0.04611826688051224,
0.010741541162133217,
-0.009859702549874783,
0.012186254374682903,
0.005633445456624031,
0.02609866112470627,
0.014831769280135632,
-0.01609823852777481,
-0.03579888120293617,
0.03245915472507477,
-0.050583746284246445,
0.006144724320620298,
0.04746916890144348,
0.04829471930861473,
0.02615494839847088,
0.05568714812397957,
0.020620005205273628,
0.0048454198986291885,
-0.02289026975631714,
0.03358490392565727,
-0.011182460002601147,
0.020338568836450577,
0.01868746615946293,
0.020113417878746986,
0.0034147780388593674,
0.03639928251504898,
-0.00817576702684164,
-0.06848318874835968,
-0.007697322405874729,
-0.020770106464624405,
-0.06555623561143875,
0.056963000446558,
0.043941814452409744,
0.015366501174867153,
-0.010929166339337826,
-0.011651522479951382,
-0.013039949350059032,
0.008325866423547268,
0.06957141309976578,
-0.01211120467633009,
-0.005098714027553797,
-0.0025212131440639496,
0.01321819331496954,
0.06176620349287987,
0.02510424703359604,
0.055612098425626755,
0.01678307168185711,
0.03452303260564804,
0.0036891798954457045,
-0.002224530791863799,
-0.04908274486660957,
-0.006942131090909243
] |
709,986
|
urllib3_future._request_methods
|
request
|
Make a request using :meth:`urlopen` with the appropriate encoding of
``fields`` based on the ``method`` used.
This is a convenience method that requires the least amount of manual
effort. It can be used in most situations, while still having the
option to drop down to more specific methods when necessary, such as
:meth:`request_encode_url`, :meth:`request_encode_body`,
or even the lowest level :meth:`urlopen`.
|
@typing.overload
async def request(
self,
method: str,
url: str,
body: _TYPE_BODY | None = ...,
fields: _TYPE_FIELDS | None = ...,
headers: typing.Mapping[str, str] | None = ...,
json: typing.Any | None = ...,
*,
multiplexed: Literal[True],
**urlopen_kw: typing.Any,
) -> ResponsePromise:
...
|
(self, method: 'str', url: 'str', body: '_TYPE_BODY | None' = None, fields: '_TYPE_FIELDS | None' = None, headers: 'typing.Mapping[str, str] | None' = None, json: 'typing.Any | None' = None, **urlopen_kw: 'typing.Any') -> 'AsyncHTTPResponse | ResponsePromise'
|
[
-0.046987585723400116,
-0.07782652229070663,
-0.034822747111320496,
-0.00072640017606318,
-0.07274005562067032,
0.02504107542335987,
-0.020968344062566757,
0.0023120311088860035,
-0.04051389917731285,
-0.02852690778672695,
0.06907637417316437,
0.015552855096757412,
0.01703789085149765,
0.06374091655015945,
-0.00999508798122406,
0.0020808279514312744,
0.010795406997203827,
0.054990772157907486,
-0.004086070228368044,
-0.0555243156850338,
0.009746100753545761,
0.0777553841471672,
0.024774301797151566,
0.008287742733955383,
-0.0071806348860263824,
0.10386355221271515,
-0.008661224506795406,
-0.032955337315797806,
0.0035814251750707626,
0.004455105867236853,
0.061073191463947296,
-0.002229776233434677,
-0.024525314569473267,
0.03841528668999672,
0.010590881109237671,
0.013374210335314274,
-0.0302876066416502,
0.062353700399398804,
-0.11673978716135025,
0.0017295770812779665,
-0.08743034303188324,
-0.0449245423078537,
0.020683785900473595,
-0.02756652422249317,
0.00932815670967102,
-0.012894019484519958,
-0.058369893580675125,
0.005339902825653553,
0.0035792021080851555,
0.017607005313038826,
0.007060587406158447,
0.04599163308739662,
0.04044276103377342,
-0.03601432964205742,
0.008901319466531277,
0.04890834912657738,
-0.04641846939921379,
0.06338521838188171,
-0.004288373049348593,
0.0648791491985321,
-0.009114737622439861,
0.044035300612449646,
0.023920629173517227,
-0.007438515312969685,
-0.033862363547086716,
-0.035302937030792236,
-0.03558749333024025,
-0.0027188595850020647,
0.002950062742456794,
-0.002378724282607436,
0.0010009538382291794,
0.032777488231658936,
-0.034040212631225586,
0.002576580736786127,
0.09248124063014984,
-0.006002388428896666,
-0.0289003886282444,
-0.017971595749258995,
-0.007714180741459131,
-0.0300386194139719,
0.030429886654019356,
-0.024311896413564682,
-0.053247854113578796,
-0.011159996502101421,
-0.03352444991469383,
-0.05495519936084747,
0.015944121405482292,
-0.04399973154067993,
-0.006784921977669001,
0.004212787374854088,
-0.06594624370336533,
-0.0024943258613348007,
-0.05737394094467163,
-0.006802706979215145,
-0.020541507750749588,
-0.0025387878995388746,
0.000274275807896629,
-0.023387083783745766,
-0.035071734338998795,
-0.015001525171101093,
-0.02312031015753746,
0.005775631405413151,
-0.02721082791686058,
0.005544428247958422,
0.015695134177803993,
-0.05260759964585304,
0.05431494489312172,
-0.010279646143317223,
0.022835753858089447,
0.021519673988223076,
-0.022906892001628876,
-0.05221633240580559,
-0.043857451528310776,
0.03969579562544823,
-0.005495520308613777,
0.05356798321008682,
-0.003997146151959896,
-0.0317993201315403,
-0.04937075823545456,
0.001187139074318111,
-0.05004658177495003,
0.02758430875837803,
0.026695067062973976,
0.0016739994753152132,
0.06352750211954117,
0.02420518733561039,
-0.0053621334955096245,
-0.017802638933062553,
-0.020007962360978127,
-0.015437253750860691,
-0.007865351624786854,
0.04869493097066879,
0.0015717365313321352,
0.08814173936843872,
0.009114737622439861,
0.06576839089393616,
-0.08173919469118118,
0.015508392825722694,
-0.0021019475534558296,
0.041687700897455215,
-0.028313487768173218,
0.013534273952245712,
0.02034587413072586,
-0.058974578976631165,
-0.03866427391767502,
-0.011791358701884747,
-0.030785582959651947,
-0.10244075953960419,
-0.019118718802928925,
0.01991903781890869,
0.0009781670523807406,
-0.032315079122781754,
0.012476075440645218,
0.027299752458930016,
-0.0029656244441866875,
-0.0023564931470900774,
-0.004481783602386713,
-0.024187402799725533,
-0.004699647892266512,
-0.013987787999212742,
-0.012111485935747623,
-0.016539914533495903,
0.017900455743074417,
-0.050117719918489456,
0.001959668705239892,
-0.05292772874236107,
0.03313318267464638,
-0.04638290032744408,
0.023867275565862656,
-0.004019377287477255,
-0.034413695335388184,
0.044888973236083984,
-0.024045122787356377,
-0.017731500789523125,
0.03046545572578907,
0.01273395586758852,
0.009479327127337456,
0.014805891551077366,
-0.05630685016512871,
-0.025396771728992462,
0.05694710463285446,
-0.04474669322371483,
-0.02324480563402176,
0.03588983789086342,
0.011933637782931328,
0.041403140872716904,
-0.021875372156500816,
-0.022497840225696564,
0.008309973403811455,
0.026232659816741943,
0.0015895214164629579,
0.016575485467910767,
0.03884212300181389,
-0.05847660079598427,
-0.007825336419045925,
-0.07398499548435211,
-0.04047833010554314,
0.04069174826145172,
0.027139687910676003,
0.0020608201157301664,
-0.023511577397584915,
0.014992632903158665,
-0.015179373323917389,
0.0499754399061203,
-0.03201273828744888,
-0.0099061643704772,
0.021928725764155388,
-0.03226172551512718,
-0.050793543457984924,
-0.0038481978699564934,
-0.014619150198996067,
0.010679805651307106,
-0.014379055239260197,
0.01649545319378376,
-0.02143074944615364,
0.002374278148636222,
-0.01824726164340973,
-0.021537458524107933,
0.006175790913403034,
-0.038024019449949265,
0.0999508798122406,
0.00651814928278327,
0.003439146326854825,
-0.026286015287041664,
0.05346127226948738,
-0.011675757355988026,
0.019883466884493828,
0.0037281501572579145,
-0.04197225719690323,
-0.03866427391767502,
-0.024098478257656097,
0.017607005313038826,
0.06964549422264099,
0.02150188945233822,
-0.0578007772564888,
0.0020385889802128077,
0.010590881109237671,
0.00015075443661771715,
-0.014592473395168781,
-0.05260759964585304,
0.03670794144272804,
0.03169260919094086,
-0.02256898023188114,
0.017740393057465553,
-0.04296820983290672,
-0.02425854094326496,
-0.020185809582471848,
0.030074188485741615,
-0.01505487971007824,
0.007665272336453199,
-0.0037703891284763813,
-0.025805823504924774,
-0.02973627671599388,
-0.0065892888233065605,
0.017144599929451942,
-0.0063225156627595425,
-0.017109030857682228,
-0.05346127226948738,
-0.00915030762553215,
-0.03315097093582153,
0.025272278115153313,
0.03508951887488365,
-0.026037028059363365,
0.04449770599603653,
-0.04015820100903511,
0.0001918819034472108,
0.014121174812316895,
-0.02607259713113308,
-0.024134047329425812,
-0.011408984661102295,
0.028918173164129257,
0.01878080703318119,
0.045671507716178894,
-0.0011826928239315748,
0.01234268955886364,
-0.00930147897452116,
-0.022017650306224823,
0.006807153113186359,
-0.009354833513498306,
-0.03389793261885643,
0.021163977682590485,
-0.05171835795044899,
0.015330544672906399,
-0.04599163308739662,
-0.012182625010609627,
-0.020541507750749588,
-0.010235183872282505,
0.10158708691596985,
-0.029309440404176712,
-0.03480495885014534,
0.05851217359304428,
0.0335778072476387,
0.044035300612449646,
0.02715747244656086,
-0.03046545572578907,
0.02160859853029251,
-0.058618880808353424,
0.05655583739280701,
0.0732024610042572,
-0.02632158435881138,
-0.011088856495916843,
0.0003673683968372643,
0.03674351051449776,
-0.03674351051449776,
0.03094564750790596,
-0.06160673499107361,
0.008065431378781796,
0.010048442520201206,
-0.10343671590089798,
0.0022853538393974304,
-0.015606209635734558,
0.04086959734559059,
-0.05442165583372116,
-0.06530598551034927,
-0.0441775806248188,
0.02246227115392685,
-0.015001525171101093,
0.04051389917731285,
0.015063771978020668,
0.025129999965429306,
-0.030020834878087044,
-0.018202798441052437,
-0.014485764317214489,
-0.018389539793133736,
0.007687503471970558,
-0.035320721566677094,
0.009221446700394154,
0.013125223107635975,
-0.015419469214975834,
0.05242975056171417,
-0.026588357985019684,
0.05545317754149437,
-0.017491403967142105,
-0.039766933768987656,
-0.07206422835588455,
0.0034435924608260393,
-0.023458223789930344,
-0.030358746647834778,
0.03830857574939728,
0.005664476193487644,
-0.02649943344295025,
-0.032724130898714066,
0.0005054789362475276,
-0.013694338500499725,
0.009434865787625313,
-0.044462136924266815,
0.07096157222986221,
0.011186673305928707,
0.12051017582416534,
-0.06733345985412598,
-0.03523179888725281,
-0.008985797874629498,
0.03505394980311394,
0.06320737302303314,
0.038806553930044174,
0.026214875280857086,
-0.03124799020588398,
-0.06527041643857956,
-0.02077271044254303,
-0.030003050342202187,
0.012902911752462387,
0.030003050342202187,
-0.011159996502101421,
0.042363524436950684,
0.010635343380272388,
-0.029273871332406998,
0.046027202159166336,
0.009194769896566868,
-0.016771117225289345,
0.011631295084953308,
-0.03220837190747261,
-0.01601526141166687,
-0.058298755437135696,
0.013205254450440407,
-0.028864819556474686,
-0.01230711955577135,
-0.04912176728248596,
-0.03505394980311394,
-0.056804824620485306,
0.039589084684848785,
0.010581988841295242,
-0.019243212416768074,
0.01740247942507267,
-0.01963447965681553,
0.05965040251612663,
-0.035071734338998795,
0.010252968408167362,
0.038024019449949265,
-0.00852339155972004,
0.03283084183931351,
0.04118972271680832,
-0.037597183138132095,
0.009497112594544888,
0.06704889982938766,
-0.021519673988223076,
-0.054812923073768616,
0.0021441865246742964,
-0.01782931759953499,
-0.059152428060770035,
-0.026108166202902794,
0.06470130383968353,
-0.009746100753545761,
-0.008896873332560062,
0.04243466258049011,
-0.016602162271738052,
0.05424380674958229,
0.04396416246891022,
-0.01961669512093067,
0.02408069372177124,
-0.00020605421741493046,
0.00743406917899847,
-0.051931776106357574,
-0.06893409788608551,
-0.021466320380568504,
-0.009923948906362057,
0.021519673988223076,
0.016388744115829468,
0.01812276616692543,
0.03366672992706299,
0.021750876680016518,
0.057160522788763046,
-0.03624553233385086,
-0.009123630821704865,
0.060361795127391815,
0.03859313577413559,
-0.0024120709858834743,
0.01890530064702034,
0.005255424417555332,
0.010208506137132645,
-0.008496714755892754,
0.03304425999522209,
0.04912176728248596,
-0.03480495885014534,
-0.04296820983290672,
0.08237944543361664,
0.03823743760585785,
-0.047236572951078415,
-0.0034435924608260393,
0.038806553930044174,
0.001542836194857955,
-0.012102593667805195,
0.04474669322371483,
-0.04243466258049011,
-0.01824726164340973,
0.06694219261407852,
-0.024863226339221,
0.02155524305999279,
0.01890530064702034,
0.03745490312576294,
-0.042292382568120956,
0.016273142769932747,
0.01075094472616911,
0.06413218379020691,
0.0055933366529643536,
-0.0578007772564888,
-0.04659631848335266,
0.06068192422389984,
0.02239113114774227,
-0.025983672589063644,
-0.021644167602062225,
0.10464608669281006,
-0.06238926947116852,
0.03009197488427162,
-0.01472585927695036,
-0.010359677486121655,
0.06004166975617409,
-0.00008961899584392086,
-0.006500364281237125,
-0.026748420670628548,
-0.03969579562544823,
-0.005468843039125204,
0.010955470614135265,
-0.018496248871088028,
0.0026632819790393114,
0.0492284782230854,
-0.0046418472193181515,
-0.0137565853074193,
0.017411373555660248,
-0.029060453176498413,
-0.06388320028781891,
0.024418605491518974,
-0.055310897529125214,
0.08735920488834381,
0.030358746647834778,
0.04086959734559059,
-0.005548874847590923,
0.012111485935747623,
0.03548078611493111,
0.043501753360033035,
-0.02148410491645336,
0.012974051758646965,
0.08294856548309326,
0.01188917551189661,
-0.01273395586758852,
0.01938549242913723,
0.015179373323917389,
-0.03798845037817955,
-0.022924678400158882,
0.0085811922326684,
0.006744906306266785,
0.021768661215901375,
-0.04944189637899399,
0.06530598551034927,
-0.010822083801031113,
-0.0011226689675822854,
0.015526178292930126,
-0.01878080703318119,
0.02150188945233822,
-0.028562476858496666,
0.006816045381128788,
-0.028971528634428978,
0.05694710463285446,
-0.002449863823130727,
0.002454309957101941,
0.03594319149851799,
0.014156743884086609,
-0.002223106799647212,
0.07377157360315323,
-0.029060453176498413,
-0.041758839040994644,
0.048445943742990494,
0.06953877955675125,
0.07010789960622787,
-0.04111858457326889,
0.007709734607487917,
-0.01860295794904232,
0.004312827251851559,
0.017491403967142105,
0.017126815393567085,
0.0001140036983997561,
0.030963432043790817,
-0.004019377287477255,
-0.04136757180094719,
-0.005188731476664543,
0.04908619821071625,
0.02336929924786091,
-0.05869001895189285,
0.02071935497224331,
0.03283084183931351,
0.018514033406972885,
0.03391571715474129,
0.08337540179491043,
-0.029273871332406998,
0.019794542342424393,
-0.0805298238992691,
-0.009852809831500053,
-0.011311167851090431,
0.030323177576065063,
0.023529361933469772,
-0.01902979426085949,
-0.08992022275924683,
-0.02690848521888256,
0.01945663057267666,
0.0015495055122300982,
-0.10478836297988892,
-0.011293382383883,
0.018211690708994865,
-0.08486932516098022,
0.016948966309428215,
-0.027246396988630295,
0.006073527969419956,
0.012422720901668072,
-0.03466268256306648,
0.05328342318534851,
-0.018994225189089775,
0.00758524052798748,
0.07391385734081268,
0.05356798321008682,
-0.020434798672795296,
-0.03551635518670082,
0.035498570650815964,
0.025556836277246475,
-0.03869984298944473,
-0.0025098875630646944,
0.0037214807234704494,
0.037490472197532654,
0.0020774933509528637,
-0.022533411160111427,
0.005406595766544342,
0.017482511699199677,
0.0022342223674058914,
-0.002727752085775137,
-0.03400464355945587,
-0.10557089745998383,
-0.014387947507202625,
-0.018585173413157463,
-0.005682261195033789,
0.007247328292578459,
0.027904437854886055,
-0.00007898976764408872,
-0.02975406125187874,
-0.03869984298944473,
-0.017482511699199677,
-0.009479327127337456,
-0.04371517151594162,
0.0603262260556221,
-0.044711124151945114,
0.010955470614135265,
-0.0010865434305742383,
-0.007047248538583517,
-0.002051927614957094,
0.048019107431173325,
-0.004601831082254648,
-0.047343283891677856,
-0.004339504521340132,
0.04204339534044266,
-0.0626026913523674,
-0.009915056638419628,
0.0252367090433836,
-0.02877589501440525,
0.04044276103377342,
-0.00002582624802016653,
-0.01204034686088562,
0.02450753003358841,
-0.017411373555660248,
-0.012547214515507221,
-0.0529988668859005,
0.03601432964205742,
0.047414422035217285,
-0.061073191463947296,
-0.033026475459337234,
-0.028580261394381523,
-0.019243212416768074,
0.008879088796675205,
-0.010528634302318096,
0.022675689309835434,
-0.012831772677600384,
-0.014583581127226353,
-0.04673859849572182,
-0.04396416246891022,
0.01824726164340973,
0.0024832102935761213,
0.061677876859903336,
-0.0020241388119757175,
0.04182997718453407,
-0.021235115826129913,
0.014761429280042648,
0.003492500865831971,
-0.021537458524107933,
0.036636799573898315,
-0.012360474094748497,
0.03119463473558426,
-0.030376531183719635,
0.009701638482511044,
-0.041332002729177475,
0.023440439254045486,
-0.03564084693789482,
-0.03144362196326256,
0.03866427391767502,
-0.027851082384586334,
0.005748954135924578,
0.08693236857652664,
0.04538694769144058,
0.009132523089647293,
0.04581378400325775,
0.018442893400788307,
-0.03252850100398064,
-0.016104185953736305,
0.07231321930885315,
-0.02304917201399803,
0.02324480563402176,
-0.007033910136669874,
0.09909720718860626,
-0.0001245634484803304,
-0.00863899290561676,
-0.001067647011950612,
-0.014281238429248333,
-0.08771490305662155,
0.05908128619194031,
0.015775166451931,
0.011240027844905853,
0.03475160524249077,
0.03617439419031143,
0.044817835092544556,
0.030785582959651947,
-0.00018660203204490244,
0.009648283943533897,
-0.04218567535281181,
-0.01114221103489399,
0.026054812595248222,
-0.02100391313433647,
-0.01230711955577135,
-0.04257694259285927,
0.011266705580055714,
-0.05374583229422569,
0.004270588047802448,
0.02319145016372204,
0.03930452838540077,
-0.024952150881290436,
-0.03414691984653473,
0.05442165583372116,
-0.05431494489312172,
-0.02998526580631733,
0.03318654000759125,
-0.006411440204828978,
0.009283694438636303,
-0.024116262793540955,
-0.10023543983697891,
0.028402412310242653,
0.04677416756749153,
0.0701790377497673,
-0.0246142391115427,
0.0033524450846016407,
0.014138959348201752,
-0.018496248871088028,
0.033079829066991806,
0.03763275220990181,
0.04069174826145172,
0.00001992112083826214,
0.01763368397951126,
-0.03185267373919487,
-0.003986030351370573,
0.051327090710401535,
0.0029433935414999723,
0.030803367495536804,
0.05214519426226616,
0.027424246072769165,
0.047449991106987,
-0.03372008353471756,
0.04154542088508606,
-0.030020834878087044,
-0.010537526570260525,
0.03692135959863663,
-0.015401683747768402,
0.0056289066560566425,
-0.01486813835799694,
-0.025912532582879066,
0.02993191033601761,
0.07291790097951889,
0.01745583489537239,
0.0555243156850338,
0.041403140872716904,
-0.029362795874476433,
-0.03756161406636238,
-0.009141415357589722,
-0.07377157360315323,
-0.006162452045828104,
0.018620742484927177,
0.06242483854293823,
-0.007714180741459131,
-0.04894391819834709,
-0.009710530750453472,
0.0025965888053178787,
-0.00606463523581624,
0.013329748995602131,
-0.028011146932840347,
0.05164721980690956,
-0.006744906306266785,
0.010653127916157246,
0.013543167151510715,
0.02004353143274784,
0.01212927047163248,
0.008354435674846172,
0.0077942125499248505,
0.025805823504924774,
-0.019118718802928925,
0.015730703249573708,
0.003056771820411086,
-0.004141647834330797,
0.010030657984316349,
-0.0529988668859005,
0.04588492587208748,
0.047236572951078415,
-0.03448483347892761,
-0.04382188245654106,
0.005624460056424141,
-0.0052954405546188354,
0.004601831082254648
] |
709,987
|
urllib3_future._request_methods
|
request_encode_body
|
Make a request using :meth:`urlopen` with the ``fields`` encoded in
the body. This is useful for request methods like POST, PUT, PATCH, etc.
When ``encode_multipart=True`` (default), then
:func:`urllib3.encode_multipart_formdata` is used to encode
the payload with the appropriate content type. Otherwise
:func:`urllib.parse.urlencode` is used with the
'application/x-www-form-urlencoded' content type.
Multipart encoding must be used when posting files, and it's reasonably
safe to use it in other times too. However, it may break request
signing, such as with OAuth.
Supports an optional ``fields`` parameter of key/value strings AND
key/filetuple. A filetuple is a (filename, data, MIME type) tuple where
the MIME type is optional. For example::
fields = {
'foo': 'bar',
'fakefile': ('foofile.txt', 'contents of foofile'),
'realfile': ('barfile.txt', open('realfile').read()),
'typedfile': ('bazfile.bin', open('bazfile').read(),
'image/jpeg'),
'nonamefile': 'contents of nonamefile field',
}
When uploading a file, providing a filename (the first parameter of the
tuple) is optional but recommended to best mimic behavior of browsers.
Note that if ``headers`` are supplied, the 'Content-Type' header will
be overwritten because it depends on the dynamic random boundary string
which is used to compose the body of the request. The random boundary
string can be explicitly set with the ``multipart_boundary`` parameter.
|
@typing.overload
async def request_encode_body(
self,
method: str,
url: str,
fields: _TYPE_FIELDS | None = ...,
headers: typing.Mapping[str, str] | None = ...,
encode_multipart: bool = ...,
multipart_boundary: str | None = ...,
*,
multiplexed: Literal[True],
**urlopen_kw: typing.Any,
) -> ResponsePromise:
...
|
(self, method: 'str', url: 'str', fields: '_TYPE_FIELDS | None' = None, headers: 'typing.Mapping[str, str] | None' = None, encode_multipart: 'bool' = True, multipart_boundary: 'str | None' = None, **urlopen_kw: 'typing.Any') -> 'AsyncHTTPResponse | ResponsePromise'
|
[
-0.07015055418014526,
-0.07590290158987045,
-0.04349334537982941,
0.0345316119492054,
-0.09266888350248337,
0.008010316640138626,
-0.041564203798770905,
-0.02341274730861187,
-0.0259732436388731,
-0.033812567591667175,
0.07590290158987045,
-0.002165898447856307,
-0.005388439632952213,
0.0507890023291111,
0.00025032239500433207,
-0.002125342609360814,
0.0018250105204060674,
0.025324350222945213,
0.023149684071540833,
-0.03981044143438339,
-0.005612044595181942,
0.056646574288606644,
0.032655082643032074,
-0.0013723202282562852,
0.02179928496479988,
0.07912982255220413,
-0.008098004385828972,
-0.046088915318250656,
-0.030585642904043198,
0.04359856992959976,
0.09589581191539764,
-0.030813630670309067,
0.018011154606938362,
0.024096716195344925,
0.023517973721027374,
-0.018975725397467613,
-0.042756762355566025,
0.05433160439133644,
-0.1142752543091774,
-0.019098488613963127,
-0.0904240682721138,
-0.033759955316782,
0.020501499995589256,
-0.03148006275296211,
0.029024792835116386,
-0.014258100651204586,
-0.04693072289228439,
-0.009654469788074493,
0.029322931542992592,
0.057207778096199036,
0.00029128920868970454,
0.0074491119012236595,
0.03626783564686775,
-0.03714472055435181,
0.006949289236217737,
0.06646765023469925,
-0.060820531100034714,
0.02695535123348236,
0.009750926867127419,
0.05836526304483414,
-0.017932236194610596,
0.02658705972135067,
0.05212186276912689,
-0.017949772998690605,
-0.034023020416498184,
-0.0017121119890362024,
-0.04893001168966293,
-0.0015334472991526127,
-0.012004513293504715,
-0.029410621151328087,
-0.013048003427684307,
-0.01783577911555767,
-0.03368980437517166,
0.03148006275296211,
0.03533834218978882,
0.019589543342590332,
-0.036373063921928406,
0.014994680881500244,
0.013565363362431526,
-0.01607324555516243,
0.05064870044589043,
-0.023342596367001534,
-0.019080951809883118,
-0.023658275604248047,
-0.003119507571682334,
-0.052683066576719284,
-0.00920726079493761,
0.007273735478520393,
0.018537284806370735,
-0.02423701621592045,
-0.032812923192977905,
0.001147619215771556,
-0.03393533080816269,
0.02343028597533703,
-0.030497953295707703,
0.005419130437076092,
0.003531642025336623,
-0.021957123652100563,
-0.058645863085985184,
0.000938811746891588,
-0.050087496638298035,
-0.003665366442874074,
-0.05436668172478676,
-0.0012364034773781896,
0.026131082326173782,
-0.02358812466263771,
0.03511035442352295,
-0.05071885138750076,
-0.00352068105712533,
0.005182372406125069,
0.01648538000881672,
-0.08670608699321747,
-0.05096437782049179,
0.022956769913434982,
-0.007707792334258556,
0.04496650770306587,
0.007054515182971954,
-0.008746897801756859,
-0.01131177693605423,
-0.013977497816085815,
0.0054936655797064304,
0.024324705824255943,
0.01983506977558136,
0.004013927187770605,
0.07506109029054642,
0.050297949463129044,
0.006519617047160864,
0.01160991657525301,
-0.03910893574357033,
-0.045948613435029984,
-0.005717270076274872,
0.05696225166320801,
0.011574842035770416,
0.0679057389497757,
0.01841452158987522,
0.03505773842334747,
-0.10396312177181244,
-0.020939940586686134,
0.011732680723071098,
0.026060931384563446,
-0.01823914423584938,
-0.0014906992437317967,
0.052472613751888275,
-0.05990857258439064,
-0.02895464189350605,
-0.013784583657979965,
-0.008461910299956799,
-0.12220226973295212,
-0.03053302876651287,
-0.007054515182971954,
0.011908057145774364,
-0.021957123652100563,
0.001406299415975809,
0.040371645241975784,
0.02993674948811531,
-0.007400883361697197,
0.018800348043441772,
-0.001954350620508194,
-0.019326478242874146,
-0.012390341609716415,
0.005857571493834257,
-0.023289984092116356,
0.009189723059535027,
-0.04268661141395569,
0.011469615623354912,
-0.045703087002038956,
0.052437540143728256,
-0.041914958506822586,
0.025868017226457596,
-0.0033277668990194798,
-0.0009103130432777107,
0.020747026428580284,
-0.049491215497255325,
-0.007102743722498417,
0.017107967287302017,
0.028603889048099518,
-0.0027051807846874,
0.016318771988153458,
-0.09259873628616333,
0.016529224812984467,
0.0377059243619442,
-0.029673684388399124,
0.018712660297751427,
0.04977181926369667,
0.034636836498975754,
0.014021342620253563,
-0.025710178539156914,
-0.011899287812411785,
0.031602825969457626,
-0.005204294342547655,
0.006716915871948004,
0.004331796895712614,
0.006677456200122833,
-0.05808465927839279,
-0.03437377139925957,
-0.08586428314447403,
-0.024675458669662476,
0.00953170657157898,
0.03967013955116272,
0.01944924145936966,
-0.017011510208249092,
-0.004426061641424894,
0.006239015143364668,
0.04938599094748497,
-0.011320546269416809,
0.004360295366495848,
0.038617879152297974,
-0.03169051185250282,
-0.0575234554708004,
-0.023553049191832542,
0.008159385994076729,
-0.004515942186117172,
-0.05994364991784096,
0.012697250582277775,
-0.01528405211865902,
0.0031874659471213818,
0.013065541163086891,
-0.004568554926663637,
0.023763500154018402,
-0.03409317135810852,
0.06495941430330276,
0.03451407328248024,
-0.0012857281835749745,
-0.052472613751888275,
0.05299874395132065,
-0.02104516699910164,
0.015248976647853851,
-0.0088258171454072,
-0.021729134023189545,
-0.04202018305659294,
-0.043773945420980453,
0.0188529621809721,
0.02281646803021431,
0.028603889048099518,
-0.06653780490159988,
0.025622490793466568,
0.013986267149448395,
-0.032444633543491364,
-0.010461201891303062,
-0.04166942834854126,
0.04072239622473717,
0.004555401857942343,
-0.039354462176561356,
0.0021900127176195383,
-0.039354462176561356,
-0.046509817242622375,
0.004390986170619726,
0.02441239356994629,
-0.001401914982125163,
0.02677997387945652,
-0.027621781453490257,
-0.029498308897018433,
-0.04461575299501419,
0.013442600145936012,
0.04615906625986099,
0.014494858682155609,
0.0004658435354940593,
-0.05910184234380722,
-0.010259518399834633,
-0.027288565412163734,
0.024833297356963158,
0.009294948540627956,
-0.01566111110150814,
0.033759955316782,
-0.04893001168966293,
0.007541184779256582,
0.005555047187954187,
-0.026832588016986847,
-0.03237448260188103,
-0.01338998693972826,
-0.0064538512378931046,
0.03523311764001846,
0.0295333843678236,
-0.0032948839943856,
0.01566988043487072,
-0.010610271245241165,
-0.0025868017692118883,
0.006063638720661402,
-0.010469970293343067,
-0.0404067188501358,
0.027814695611596107,
-0.04202018305659294,
0.02995428629219532,
-0.053244270384311676,
0.030252426862716675,
-0.009777233935892582,
-0.020782101899385452,
0.06839679181575775,
-0.021290693432092667,
-0.05036810040473938,
0.01904587633907795,
0.05215693637728691,
0.04882478713989258,
0.020589187741279602,
-0.041564203798770905,
-0.017976079136133194,
-0.04359856992959976,
0.0003671942977234721,
0.08242690563201904,
-0.0369342677295208,
-0.0311643835157156,
0.04759715124964714,
0.04801805317401886,
-0.037179794162511826,
0.03488236293196678,
-0.07134311646223068,
-0.012907702475786209,
0.002816983265802264,
-0.10347206890583038,
0.014994680881500244,
-0.030813630670309067,
0.05650627240538597,
-0.05334949865937233,
-0.060575004667043686,
-0.03390025720000267,
-0.017528869211673737,
0.02144853211939335,
0.0579092837870121,
0.008163770660758018,
0.01623985357582569,
-0.0018447403563186526,
-0.07548199594020844,
-0.014714078977704048,
-0.04345826804637909,
0.03851265460252762,
-0.02478068321943283,
0.029603533446788788,
-0.00495876744389534,
-0.005555047187954187,
0.023044457659125328,
-0.024254554882645607,
0.06457358598709106,
-0.0008582482114434242,
-0.026885200291872025,
-0.06422283500432968,
0.0031414295081049204,
-0.01181160006672144,
-0.04131867736577988,
0.03288307413458824,
-0.01071549765765667,
-0.05626074597239494,
-0.029428157955408096,
-0.0030449724290519953,
0.004831619560718536,
-0.012057126499712467,
-0.049877043813467026,
0.0492456890642643,
0.009093265980482101,
0.0917569249868393,
-0.038372352719306946,
-0.0259732436388731,
-0.0523323155939579,
0.05538386479020119,
0.04724640026688576,
0.008479448035359383,
0.03053302876651287,
-0.03707456961274147,
-0.055454012006521225,
-0.02022089809179306,
0.020887328311800957,
0.04977181926369667,
0.022851543501019478,
0.010996099561452866,
0.034443922340869904,
0.033830106258392334,
0.01761655882000923,
0.020747026428580284,
0.04223063588142395,
-0.027446404099464417,
0.013767046853899956,
-0.008461910299956799,
-0.0029901673551648855,
-0.036022309213876724,
-0.0071685099974274635,
-0.037951450794935226,
0.006414391566067934,
-0.06089068204164505,
-0.03970521315932274,
-0.06401237845420837,
0.03554879501461983,
0.013118153437972069,
-0.006554692517966032,
0.011644992046058178,
-0.025236662477254868,
0.05334949865937233,
-0.03230433166027069,
0.0504031740128994,
0.026622135192155838,
-0.01564357429742813,
0.01922125183045864,
0.026885200291872025,
-0.025271737948060036,
-0.0005283213686197996,
0.04072239622473717,
-0.052262164652347565,
-0.048684485256671906,
-0.007984010502696037,
-0.01160991657525301,
-0.02420194074511528,
-0.03316367417573929,
0.049280766397714615,
-0.04524710774421692,
0.0015970212407410145,
0.03952983766794205,
-0.002461845986545086,
0.045738160610198975,
0.03409317135810852,
0.0004104903491679579,
0.03668874129652977,
-0.00044200330739840865,
0.016888746991753578,
-0.025903092697262764,
-0.039003707468509674,
-0.005563816055655479,
-0.016713369637727737,
-0.00963693205267191,
-0.02660459838807583,
-0.03805667534470558,
0.013372449204325676,
0.02243063971400261,
0.03528572991490364,
0.012907702475786209,
-0.03230433166027069,
0.06509971618652344,
0.01270601898431778,
-0.02144853211939335,
0.023079533129930496,
-0.013328605331480503,
0.02400902658700943,
0.005914568901062012,
0.025534801185131073,
0.051244981586933136,
-0.06334595382213593,
0.007900706492364407,
0.07095728814601898,
0.04815835505723953,
-0.032637543976306915,
0.009180953726172447,
0.03840743005275726,
0.0022886618971824646,
-0.0022185114212334156,
0.04626429080963135,
-0.05096437782049179,
-0.024710532277822495,
0.06429298222064972,
-0.03195357695221901,
-0.00922479759901762,
0.016993971541523933,
0.012346497736871243,
-0.0013339566066861153,
0.02660459838807583,
0.013302299194037914,
0.023500435054302216,
-0.016134627163410187,
-0.05113975331187248,
-0.0014556240057572722,
0.11048712581396103,
-0.005594506859779358,
-0.041739579290151596,
-0.056786876171827316,
0.10017499327659607,
-0.06394223123788834,
0.07064160704612732,
0.03567155823111534,
0.03546110540628433,
0.03430362045764923,
-0.032830458134412766,
-0.010312131606042385,
-0.014319482259452343,
-0.0252015870064497,
0.01052258349955082,
0.0321289524435997,
-0.027639318257570267,
0.013942423276603222,
0.08712699264287949,
0.019326478242874146,
-0.003766207955777645,
0.047527000308036804,
-0.029621072113513947,
-0.07898952811956406,
-0.0017340340418741107,
-0.047281473875045776,
0.0702207088470459,
0.028498662635684013,
0.056471195071935654,
-0.004248492885380983,
0.01906341314315796,
0.025324350222945213,
0.06857217103242874,
-0.0014413746539503336,
0.029094941914081573,
0.06352132558822632,
-0.004555401857942343,
0.04703594744205475,
0.01901080086827278,
-0.0028520585037767887,
-0.04763222858309746,
-0.02023843489587307,
0.0012725748820230365,
-0.013311067596077919,
0.022114962339401245,
-0.03447899967432022,
0.04517695680260658,
-0.03325136378407478,
0.0033979176077991724,
-0.005318289157003164,
-0.026060931384563446,
-0.008641671389341354,
-0.015310358256101608,
0.017353493720293045,
-0.04086269810795784,
0.032216642051935196,
-0.02739379182457924,
-0.025903092697262764,
0.021273156628012657,
0.05212186276912689,
-0.006708147004246712,
0.056436121463775635,
-0.007878784090280533,
-0.029200168326497078,
0.02258847840130329,
0.06857217103242874,
0.05875109136104584,
-0.04615906625986099,
0.026657210662961006,
-0.0004395370779093355,
0.012697250582277775,
0.006519617047160864,
0.0108207231387496,
0.003676327643916011,
0.004130113869905472,
0.003928431309759617,
0.012416648678481579,
0.022079886868596077,
0.04068732261657715,
0.015976788476109505,
-0.04517695680260658,
0.03326890245079994,
0.03291814774274826,
0.020694414153695107,
-0.0032576164230704308,
0.07814771682024002,
-0.021571295335888863,
0.010285825468599796,
-0.052262164652347565,
0.02237802743911743,
0.020729489624500275,
0.012434185482561588,
0.03332151472568512,
-0.03374241665005684,
-0.08432096987962723,
-0.00863290298730135,
0.018712660297751427,
0.024675458669662476,
-0.0857941284775734,
-0.04121345281600952,
0.01347767561674118,
-0.061171285808086395,
-0.0022908539976924658,
-0.03056810423731804,
0.006239015143364668,
0.03493497520685196,
-0.04893001168966293,
0.025148974731564522,
-0.0484740324318409,
0.023517973721027374,
0.050297949463129044,
0.054436828941106796,
-0.015722492709755898,
-0.006274090148508549,
0.019975369796156883,
0.032216642051935196,
-0.030392728745937347,
-0.02955092117190361,
0.026692286133766174,
0.018379446119070053,
-0.0017570521449670196,
0.00047844869550317526,
-0.009628163650631905,
-0.03277784585952759,
0.01922125183045864,
-0.001401914982125163,
-0.004329604562371969,
-0.11329314857721329,
-0.02025597356259823,
-0.0365484394133091,
0.0074403430335223675,
0.014109030365943909,
0.020483961328864098,
0.026341533288359642,
-0.03805667534470558,
-0.004629936534911394,
0.017169348895549774,
-0.023482898250222206,
0.014240562915802002,
0.05391070246696472,
-0.06404745578765869,
-0.007365808356553316,
-0.03218156844377518,
-0.019922757521271706,
0.03291814774274826,
0.03647828847169876,
-0.02143099531531334,
-0.0005842226091772318,
-0.016196008771657944,
0.012372803874313831,
-0.05313904583454132,
0.006028563249856234,
0.024692995473742485,
-0.011837906204164028,
0.036022309213876724,
0.009216029196977615,
0.021571295335888863,
0.0021516489796340466,
-0.029849061742424965,
-0.014109030365943909,
-0.08551352471113205,
0.01645907387137413,
0.04854418337345123,
-0.03767084702849388,
-0.0313572995364666,
-0.035776782780885696,
-0.03970521315932274,
-0.007015055511146784,
-0.010557658970355988,
0.010417357087135315,
-0.007593797519803047,
-0.008650440722703934,
-0.038372352719306946,
-0.05398085340857506,
0.007251813542097807,
0.011960669420659542,
0.07569245249032974,
-0.023465361446142197,
0.05755852907896042,
-0.008155002258718014,
-0.015161288902163506,
0.002659144578501582,
-0.035408493131399155,
0.012521874159574509,
-0.026674749329686165,
0.0259732436388731,
-0.05826003476977348,
-0.008361069485545158,
-0.047106098383665085,
0.036022309213876724,
-0.02935800701379776,
-0.0634862557053566,
-0.01687120832502842,
-0.053665176033973694,
-0.008575905114412308,
0.08712699264287949,
0.05373532697558403,
0.014906993135809898,
0.0511748306453228,
0.034023020416498184,
-0.018204068765044212,
0.010943486355245113,
0.04893001168966293,
-0.023254908621311188,
0.035022664815187454,
-0.01666075736284256,
0.10087649524211884,
-0.005607659928500652,
-0.04854418337345123,
0.011908057145774364,
-0.023675812408328056,
-0.07225507497787476,
0.06288997083902359,
-0.0139950355514884,
0.03211141750216484,
0.03291814774274826,
0.02178174816071987,
0.033654727041721344,
0.020589187741279602,
0.04661504551768303,
-0.011794062331318855,
-0.05633089691400528,
0.01587156392633915,
0.0224131029099226,
0.0003507527871988714,
-0.03511035442352295,
-0.036758892238140106,
0.0436687208712101,
-0.02399148978292942,
-0.019484316930174828,
0.02935800701379776,
0.045948613435029984,
-0.012206196784973145,
-0.03200618922710419,
0.07008040696382523,
-0.05952274426817894,
-0.02383365109562874,
0.01609078422188759,
0.02041381224989891,
0.03277784585952759,
-0.0007097263005562127,
-0.07179909199476242,
0.049280766397714615,
0.030392728745937347,
0.033759955316782,
-0.03114684671163559,
0.0024640383198857307,
-0.010741803795099258,
-0.014749154448509216,
0.04026641696691513,
0.04331796616315842,
0.0492456890642643,
-0.009023115038871765,
0.03714472055435181,
-0.044545602053403854,
0.013810890726745129,
0.04840388149023056,
-0.00004161763718002476,
0.018888037651777267,
0.06801096349954605,
0.03465437516570091,
0.04973674193024635,
-0.010934717953205109,
0.02362320013344288,
-0.02500867284834385,
0.04784267768263817,
0.007475418504327536,
-0.025675103068351746,
0.00491492310538888,
-0.021062703803181648,
-0.04363364353775978,
0.04563293606042862,
0.05727792903780937,
-0.0020946518052369356,
0.0619429387152195,
0.055804766714572906,
-0.024850834161043167,
-0.011837906204164028,
-0.02937554568052292,
-0.045738160610198975,
-0.02441239356994629,
0.007313195150345564,
0.016573067754507065,
-0.014521164819598198,
0.0022711241617798805,
-0.002317160600796342,
0.023517973721027374,
0.028112834319472313,
0.018116381019353867,
-0.022465715184807777,
0.08551352471113205,
-0.0263590719550848,
-0.01665198802947998,
-0.005432283505797386,
0.021571295335888863,
0.03465437516570091,
-0.0033913408406078815,
-0.010057835839688778,
0.03239201754331589,
-0.022079886868596077,
0.023938877508044243,
0.03514542803168297,
-0.012644637376070023,
0.029287856072187424,
-0.04387917369604111,
0.039740290492773056,
0.04009104147553444,
-0.017300881445407867,
-0.048684485256671906,
0.04019626975059509,
-0.006642380729317665,
0.006922983098775148
] |
709,988
|
urllib3_future._request_methods
|
request_encode_url
|
Make a request using :meth:`urlopen` with the ``fields`` encoded in
the url. This is useful for request methods like GET, HEAD, DELETE, etc.
|
@typing.overload
async def request_encode_url(
self,
method: str,
url: str,
fields: _TYPE_ENCODE_URL_FIELDS | None = ...,
headers: typing.Mapping[str, str] | None = ...,
*,
multiplexed: Literal[True],
**urlopen_kw: typing.Any,
) -> ResponsePromise:
...
|
(self, method: 'str', url: 'str', fields: '_TYPE_ENCODE_URL_FIELDS | None' = None, headers: 'typing.Mapping[str, str] | None' = None, **urlopen_kw: 'typing.Any') -> 'AsyncHTTPResponse | ResponsePromise'
|
[
-0.07827102392911911,
-0.07707119733095169,
-0.043158456683158875,
0.046052154153585434,
-0.06704911589622498,
0.04464059695601463,
-0.038712043315172195,
-0.01861495152115822,
-0.009095742367208004,
-0.04562868922948837,
0.06591986864805222,
0.013559801504015923,
0.037865106016397476,
0.05646241456270218,
0.019391309469938278,
-0.0018206923268735409,
0.0009103461634367704,
0.039311956614255905,
0.012854021042585373,
-0.05123963952064514,
-0.012245286256074905,
0.06235567852854729,
0.018314994871616364,
-0.01868552900850773,
0.008804607205092907,
0.09139852970838547,
-0.019497176632285118,
-0.03151308372616768,
-0.041217561811208725,
0.008270861580967903,
0.08815193921327591,
-0.0026554979849606752,
0.0026841701474040747,
0.03281877934932709,
0.029660411179065704,
-0.028072405606508255,
-0.02823120728135109,
0.07227189093828201,
-0.12280575186014175,
-0.029519256204366684,
-0.08758731931447983,
-0.06232038885354996,
0.01145128346979618,
-0.05395689234137535,
0.04404068365693092,
0.008782551623880863,
-0.07262478023767471,
-0.008641395717859268,
0.00616675429046154,
-0.0056462413631379604,
-0.00020263610349502414,
0.03467145189642906,
0.04661678150296211,
-0.020132379606366158,
0.011424816213548183,
0.06415541470050812,
-0.033542200922966,
0.06807249784469604,
0.019020775333046913,
0.06186163052916527,
0.001966259442269802,
0.01889726333320141,
0.022990789264440536,
0.019779488444328308,
-0.045663975179195404,
0.006801956333220005,
-0.045487530529499054,
0.0031671884935349226,
-0.005875620059669018,
-0.0277724489569664,
0.021385138854384422,
0.002171376720070839,
-0.04538166522979736,
0.008006193675100803,
0.0647200420498848,
0.022090919315814972,
-0.02590213157236576,
-0.0038531185127794743,
0.014265581965446472,
-0.026413822546601295,
0.041252851486206055,
-0.03590656444430351,
-0.03329518064856529,
-0.03239531069993973,
-0.02660791203379631,
-0.06359079480171204,
-0.010533768683671951,
-0.041746895760297775,
-0.019408954307436943,
0.019638333469629288,
-0.043970104306936264,
-0.015535986050963402,
-0.042593833059072495,
0.009298653341829777,
-0.016365278512239456,
0.013753890991210938,
0.008853130042552948,
-0.04679322615265846,
-0.04538166522979736,
-0.024367060512304306,
-0.007790048606693745,
-0.030507348477840424,
-0.06175576522946358,
0.004342753440141678,
-0.002028015209361911,
-0.06207336485385895,
0.03544780984520912,
-0.022214431315660477,
-0.012959888204932213,
0.012342330999672413,
0.0003192552539985627,
-0.06909587979316711,
-0.018491439521312714,
0.017670970410108566,
0.01256288681179285,
0.038888487964868546,
0.015977097675204277,
-0.026519689708948135,
-0.008835485205054283,
-0.009016341529786587,
-0.028460584580898285,
0.02801947295665741,
-0.0044442093931138515,
0.002388624707236886,
0.07502443343400955,
0.043264325708150864,
0.01646232232451439,
0.014477315358817577,
-0.04404068365693092,
-0.040688227862119675,
0.00022152122983243316,
0.0763654112815857,
-0.013912691734731197,
0.08137645572423935,
0.016082964837551117,
0.03280113264918327,
-0.08052951842546463,
0.004064852837473154,
-0.0011722567724063993,
0.0643671527504921,
-0.03364806994795799,
0.008001782931387424,
0.03627710044384003,
-0.03857088461518288,
-0.009845633059740067,
-0.03211299702525139,
-0.005306584760546684,
-0.09386876225471497,
-0.010313212871551514,
0.011565972119569778,
0.042699698358774185,
-0.03410682827234268,
0.01730925776064396,
0.033330466598272324,
-0.0003851464425679296,
-0.0002541911380831152,
0.010869015008211136,
0.0095897875726223,
0.003160571912303567,
-0.022655542939901352,
-0.007865037769079208,
-0.044570017606019974,
0.0031164605170488358,
-0.04693438112735748,
0.01822677254676819,
-0.02643146738409996,
0.06535524129867554,
-0.03551838546991348,
0.019532466307282448,
-0.01233350858092308,
0.012871665880084038,
0.01603885367512703,
-0.024155326187610626,
0.004839005414396524,
0.044111259281635284,
0.011654195375740528,
0.0032090942841023207,
0.010966059751808643,
-0.07502443343400955,
-0.006047653965651989,
0.04943989962339401,
-0.04908701032400131,
-0.014883139170706272,
0.02579626441001892,
0.028248852118849754,
-0.00041381875053048134,
-0.019161932170391083,
0.0042611476965248585,
0.018085617572069168,
0.012633465230464935,
0.016232943162322044,
-0.014883139170706272,
0.018262062221765518,
-0.06450830399990082,
-0.008050304837524891,
-0.09584494680166245,
-0.041358716785907745,
0.02202034182846546,
0.01464493852108717,
0.01448613777756691,
-0.029236942529678345,
0.012739332392811775,
-0.020132379606366158,
0.0260079987347126,
0.002909137634560466,
-0.005200717598199844,
0.039558976888656616,
-0.031001394614577293,
-0.015491874888539314,
-0.009898566640913486,
0.014292048290371895,
-0.006378488149493933,
-0.03645354509353638,
0.010242634452879429,
-0.05547432228922844,
-0.002613592194393277,
-0.002443763893097639,
0.016479967162013054,
0.03303051367402077,
-0.040158890187740326,
0.07424807548522949,
0.018456151708960533,
0.019250154495239258,
-0.06232038885354996,
0.07431865483522415,
-0.040794093161821365,
0.012598175555467606,
-0.001085137017071247,
-0.0551920086145401,
-0.038535598665475845,
-0.017979750409722328,
0.030789660289883614,
0.03535958752036095,
0.040794093161821365,
-0.027260759845376015,
0.0021801991388201714,
0.024931684136390686,
0.0063740769401192665,
-0.006100587546825409,
-0.039629556238651276,
0.031777750700712204,
0.044746462255716324,
-0.03761808201670647,
0.003692112397402525,
-0.039629556238651276,
-0.0233613234013319,
-0.008182639256119728,
0.03190126270055771,
-0.009210431016981602,
0.015236029401421547,
-0.026802001520991325,
-0.02487875148653984,
-0.05085146054625511,
-0.012651109136641026,
0.011257193982601166,
-0.0028275318909436464,
-0.023873014375567436,
-0.03534194082021713,
-0.004741960670799017,
-0.02547866478562355,
-0.00621968787163496,
0.019391309469938278,
-0.008231161162257195,
0.01542129646986723,
-0.042311519384384155,
-0.009139853529632092,
0.018059149384498596,
-0.015518341213464737,
-0.018385574221611023,
0.01519191823899746,
-0.03648883476853371,
0.037829816341400146,
0.008822252042591572,
0.017812127247452736,
0.023167233914136887,
0.013303956016898155,
0.0028231206815689802,
-0.03230708837509155,
0.0007857318269088864,
-0.04386423900723457,
0.018667886033654213,
-0.04905172064900398,
0.020449981093406677,
-0.05699174851179123,
0.022955499589443207,
-0.010366146452724934,
-0.003974424675107002,
0.09330413490533829,
-0.0044442093931138515,
-0.046263888478279114,
0.02981921285390854,
0.041782185435295105,
0.04912229999899864,
0.025884486734867096,
-0.030895527452230453,
-0.004689027089625597,
-0.00718131335452199,
0.03013681247830391,
0.05053386092185974,
-0.026378532871603966,
-0.0502515472471714,
0.015491874888539314,
0.041358716785907745,
-0.018138550221920013,
0.04633446782827377,
-0.05565076693892479,
-0.010339679196476936,
0.013180444948375225,
-0.09330413490533829,
0.010101478546857834,
-0.02957218885421753,
0.06450830399990082,
-0.06807249784469604,
-0.05109848454594612,
-0.021314561367034912,
0.00005434645208879374,
0.004144252743571997,
0.05857975408434868,
0.015068406239151955,
0.030048590153455734,
-0.010286745615303516,
-0.05085146054625511,
-0.004896349739283323,
-0.019638333469629288,
0.008169405162334442,
-0.035783056169748306,
0.042664412409067154,
-0.0005398115608841181,
-0.005072794854640961,
0.01293342188000679,
-0.043546635657548904,
0.06539053469896317,
-0.012924599461257458,
-0.03375393524765968,
-0.08441130816936493,
-0.0009053836110979319,
-0.02858409658074379,
-0.04774602875113487,
0.022267363965511322,
0.013462756760418415,
-0.04545224457979202,
-0.04711082577705383,
-0.025637464597821236,
-0.01620647683739662,
-0.01519191823899746,
-0.0700133889913559,
0.029589833691716194,
0.006387310568243265,
0.07869448512792587,
-0.03585363179445267,
-0.01492725033313036,
-0.041252851486206055,
0.042064499109983444,
0.0558977909386158,
0.04771073907613754,
0.041676320135593414,
-0.031036682426929474,
-0.067790187895298,
-0.027437204495072365,
-0.004728727042675018,
0.04675793647766113,
-0.010533768683671951,
0.004391275811940432,
0.005522729828953743,
0.02621973305940628,
-0.008694329299032688,
0.05296880006790161,
0.02985450066626072,
-0.015218384563922882,
-0.0008507959428243339,
-0.029801568016409874,
0.0037825405597686768,
-0.0305955708026886,
-0.008641395717859268,
-0.0463697575032711,
0.006052064709365368,
-0.017079880461096764,
-0.02413768135011196,
-0.08045893907546997,
0.021579228341579437,
0.026237377896904945,
0.008981052786111832,
0.013947980478405952,
-0.004367014858871698,
0.06196749955415726,
-0.039558976888656616,
0.05296880006790161,
0.04633446782827377,
0.0021592462435364723,
0.040970537811517715,
0.024772884324193,
-0.01737101376056671,
0.008681096136569977,
0.06810778379440308,
-0.019920645281672478,
-0.038535598665475845,
-0.02223207615315914,
-0.009995611384510994,
-0.016268232837319374,
-0.023096656426787376,
0.04633446782827377,
-0.046652067452669144,
0.027613649144768715,
0.04718140512704849,
-0.005681530572474003,
0.046652067452669144,
0.040300048887729645,
-0.003160571912303567,
0.027684226632118225,
-0.029942722991108894,
-0.021226339042186737,
-0.042205654084682465,
-0.06246154382824898,
-0.039876580238342285,
-0.013515690341591835,
-0.02717253565788269,
-0.038147419691085815,
-0.000051382725359871984,
-0.001199826248921454,
0.03648883476853371,
0.03740634769201279,
-0.02710195817053318,
-0.029236942529678345,
0.06807249784469604,
0.02801947295665741,
-0.018809041008353233,
0.041923340409994125,
-0.006365254987031221,
0.021649805828928947,
0.018967842683196068,
0.025072840973734856,
0.06457888334989548,
-0.018950197845697403,
-0.03295993432402611,
0.05332169309258461,
0.0587209090590477,
-0.018667886033654213,
0.016647590324282646,
0.04936932399868965,
0.00040030968375504017,
-0.020520558580756187,
0.021438073366880417,
-0.0530746690928936,
-0.038782618939876556,
0.08871656656265259,
-0.020697003230452538,
-0.017847415059804916,
0.023484835401177406,
0.020767580717802048,
-0.007534203119575977,
-0.0007504427921958268,
0.01646232232451439,
0.023378968238830566,
-0.013383356854319572,
-0.04806362837553024,
-0.006987223867326975,
0.07650656998157501,
0.020502913743257523,
-0.04594628885388374,
-0.01245701964944601,
0.09429223090410233,
-0.03779452666640282,
0.043405480682849884,
0.010630813427269459,
0.007313646841794252,
0.06764902919530869,
-0.019991222769021988,
-0.0009577657328918576,
-0.025425730273127556,
-0.04668735712766647,
-0.03511256352066994,
0.025708042085170746,
-0.021367494016885757,
0.021226339042186737,
0.06179105490446091,
0.01194532960653305,
-0.014971361495554447,
0.03324224427342415,
-0.022073274478316307,
-0.07565963268280029,
-0.017679793760180473,
-0.038253284990787506,
0.09175141900777817,
0.023661280050873756,
0.04933403432369232,
0.015394830144941807,
0.03301286697387695,
0.023378968238830566,
0.05071030557155609,
0.012465842068195343,
0.00865462888032198,
0.08215281367301941,
0.006316732615232468,
0.028813475742936134,
0.021332206204533577,
0.016365278512239456,
-0.04852238669991493,
-0.0268902238458395,
-0.011698306538164616,
-0.0008237778092734516,
0.042276233434677124,
-0.03442442789673805,
0.05600365623831749,
-0.029625123366713524,
0.010436723940074444,
0.02928987704217434,
-0.019638333469629288,
0.006832834333181381,
-0.02322016842663288,
0.016797568649053574,
-0.0324835330247879,
0.03445971757173538,
-0.0030370603781193495,
-0.011354238726198673,
0.02816062793135643,
0.03357749059796333,
-0.003522284096106887,
0.030648503452539444,
-0.036524124443531036,
-0.019497176632285118,
0.008663451299071312,
0.07650656998157501,
0.07276593893766403,
-0.05056915059685707,
0.009139853529632092,
0.003656823420897126,
0.0003076760331168771,
0.023943591862916946,
-0.01822677254676819,
0.007481270004063845,
0.009003108367323875,
-0.0022309268824756145,
-0.003473761724308133,
0.013630379922688007,
0.05434507131576538,
0.05490969866514206,
-0.05621539056301117,
0.04816949740052223,
0.029519256204366684,
0.042205654084682465,
0.0027503371238708496,
0.0724836215376854,
-0.04446415230631828,
-0.010374968871474266,
-0.04541695490479469,
-0.009228075854480267,
0.01222764141857624,
0.040688227862119675,
0.022884922102093697,
-0.032589398324489594,
-0.10170292109251022,
0.0023092245683073997,
0.03666527941823006,
0.01256288681179285,
-0.06704911589622498,
-0.019320731982588768,
0.024861106649041176,
-0.06309674680233002,
0.0021074155811220407,
-0.008570818230509758,
0.0005558019038289785,
0.02202034182846546,
-0.06323790550231934,
0.015438941307365894,
-0.06574342399835587,
0.014971361495554447,
0.0622498095035553,
0.041076406836509705,
-0.020061802119016647,
-0.0182973500341177,
0.04644033685326576,
0.012289397418498993,
-0.030048590153455734,
0.004918405320495367,
-0.01673581264913082,
0.010401435196399689,
0.0034561173524707556,
-0.041252851486206055,
0.03818270564079285,
-0.012730509974062443,
0.00005565600440604612,
0.017256325110793114,
-0.016788745298981667,
-0.08744616061449051,
-0.009439810179173946,
-0.023273101076483727,
0.03056028112769127,
0.016091788187623024,
0.020255891606211662,
0.00005458768646349199,
-0.05466267466545105,
-0.05455680564045906,
-0.013136333785951138,
0.016012387350201607,
-0.0015438940608873963,
0.013577446341514587,
-0.07488327473402023,
0.007168079726397991,
-0.019708910956978798,
-0.006960757076740265,
0.020732292905449867,
0.03393037989735603,
-0.014503782615065575,
-0.019073709845542908,
0.00017024189583025873,
0.01321573369204998,
-0.04721669480204582,
0.017115168273448944,
0.006184398662298918,
-0.038253284990787506,
0.044322993606328964,
0.010030901059508324,
0.005743286106735468,
0.012245286256074905,
-0.01642703264951706,
-0.008769318461418152,
-0.07488327473402023,
0.011636550538241863,
0.027084313333034515,
-0.017079880461096764,
-0.005161017645150423,
-0.018367929384112358,
-0.020114734768867493,
0.0040450026281178,
-0.010383790358901024,
0.013718602247536182,
0.005086028482764959,
-0.0027216647285968065,
-0.020061802119016647,
-0.07615368068218231,
0.00738422479480505,
0.018367929384112358,
0.05441565066576004,
-0.01217470783740282,
0.043723080307245255,
-0.03253646567463875,
0.005990309175103903,
0.017697438597679138,
-0.02636088989675045,
0.003092199331149459,
-0.035783056169748306,
0.03366571292281151,
-0.05610952153801918,
0.019761845469474792,
-0.02801947295665741,
0.0534275583922863,
-0.03603007644414902,
-0.06687267124652863,
-0.006929879076778889,
-0.05049857124686241,
0.02307901158928871,
0.0702604129910469,
0.06980165839195251,
0.010816081427037716,
0.06277914345264435,
0.02544337511062622,
-0.04622860252857208,
-0.00859728455543518,
0.06200278922915459,
-0.01701812446117401,
0.03645354509353638,
0.0021559379529207945,
0.09132795035839081,
-0.012527598068118095,
-0.04940460994839668,
0.015412474051117897,
-0.002842970658093691,
-0.08328206092119217,
0.03590656444430351,
-0.014168537221848965,
0.011098393239080906,
0.008001782931387424,
0.026978446170687675,
0.045169930905103683,
0.05692116916179657,
0.021685095503926277,
-0.006127053871750832,
-0.042734988033771515,
-0.0010674925288185477,
0.021914474666118622,
-0.0141508923843503,
-0.04859296604990959,
-0.019550111144781113,
0.017953282222151756,
-0.05296880006790161,
-0.011380705051124096,
0.016965189948678017,
0.021773317828774452,
-0.0077327038161456585,
-0.024772884324193,
0.07227189093828201,
-0.042946722358465195,
-0.038112130016088486,
0.00621968787163496,
0.004966928157955408,
0.042099788784980774,
-0.0029620712157338858,
-0.09845633059740067,
0.05815628543496132,
0.02593742124736309,
0.05536845326423645,
-0.031036682426929474,
0.01383329089730978,
-0.029589833691716194,
-0.011415993794798851,
0.03183068707585335,
0.0611911416053772,
0.029589833691716194,
-0.005430096294730902,
0.06376723945140839,
-0.03197184205055237,
-0.025143418461084366,
0.016435855999588966,
-0.010860192589461803,
0.028072405606508255,
0.043934814631938934,
0.01603003218770027,
0.039311956614255905,
-0.021720385178923607,
0.06062651798129082,
-0.001329954480752349,
0.008539940230548382,
0.02470230497419834,
-0.006819600705057383,
-0.01822677254676819,
-0.014530248939990997,
-0.041711606085300446,
0.04891056567430496,
0.05385102704167366,
-0.01397444773465395,
0.02576097659766674,
0.05723877251148224,
-0.043546635657548904,
-0.0058976756408810616,
-0.020114734768867493,
-0.04746371507644653,
-0.03324224427342415,
0.009580966085195541,
0.05113377422094345,
0.004503759555518627,
-0.019973577931523323,
0.011821817606687546,
0.009889744222164154,
0.0056197745725512505,
0.03403624892234802,
-0.017115168273448944,
0.06969579309225082,
-0.02399652637541294,
-0.006665211636573076,
-0.008897241204977036,
0.01761803776025772,
0.04958105832338333,
-0.005893264431506395,
-0.013012821786105633,
0.05247475579380989,
-0.038147419691085815,
0.006100587546825409,
0.04880470037460327,
-0.016091788187623024,
0.019338376820087433,
-0.0678960531949997,
0.04922816529870033,
0.026943158358335495,
-0.042876146733760834,
-0.0615440309047699,
0.043229036033153534,
0.018914908170700073,
-0.004649326670914888
] |
709,989
|
urllib3_future._async.connectionpool
|
urlopen
|
Get a connection from the pool and perform an HTTP request. This is the
lowest level call for making a request, so you'll need to specify all
the raw details.
.. note::
More commonly, it's appropriate to use a convenience method
such as :meth:`request`.
.. note::
`release_conn` will only behave as expected if
`preload_content=False` because we want to make
`preload_content=False` the default behaviour someday soon without
breaking backwards compatibility.
:param method:
HTTP request method (such as GET, POST, PUT, etc.)
:param url:
The URL to perform the request on.
:param body:
Data to send in the request body, either :class:`str`, :class:`bytes`,
an iterable of :class:`str`/:class:`bytes`, or a file-like object.
:param headers:
Dictionary of custom headers to send, such as User-Agent,
If-None-Match, etc. If None, pool headers are used. If provided,
these headers completely replace any pool-specific headers.
:param retries:
Configure the number of retries to allow before raising a
:class:`~urllib3.exceptions.MaxRetryError` exception.
Pass ``None`` to retry until you receive a response. Pass a
:class:`~urllib3.util.retry.Retry` object for fine-grained control
over different types of retries.
Pass an integer number to retry connection errors that many times,
but no other types of errors. Pass zero to never retry.
If ``False``, then retries are disabled and any exception is raised
immediately. Also, instead of raising a MaxRetryError on redirects,
the redirect response will be returned.
:type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
:param redirect:
If True, automatically handle redirects (status codes 301, 302,
303, 307, 308). Each redirect counts as a retry. Disabling retries
will disable redirect, too.
:param assert_same_host:
If ``True``, will make sure that the host of the pool requests is
consistent else will raise HostChangedError. When ``False``, you can
use the pool on an HTTP proxy and request foreign hosts.
:param timeout:
If specified, overrides the default timeout for this one
request. It may be a float (in seconds) or an instance of
:class:`urllib3.util.Timeout`.
:param pool_timeout:
If set and the pool is set to block=True, then this method will
block for ``pool_timeout`` seconds and raise EmptyPoolError if no
connection is available within the time period.
:param bool preload_content:
If True, the response's body will be preloaded into memory.
:param bool decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param release_conn:
If False, then the urlopen call will not release the connection
back into the pool once a response is received (but will release if
you read the entire contents of the response such as when
`preload_content=True`). This is useful if you're not preloading
the response's content immediately. You will need to call
``r.release_conn()`` on the response ``r`` to return the connection
back into the pool. If None, it takes the value of ``preload_content``
which defaults to ``True``.
:param bool chunked:
If True, urllib3 will send the body using chunked transfer
encoding. Otherwise, urllib3 will send the body using the standard
content-length form. Defaults to False.
:param int body_pos:
Position to seek to in file-like body in the event of a retry or
redirect. Typically this won't need to be set because urllib3 will
auto-populate the value when needed.
:param on_post_connection:
Callable to be invoked that will inform you of the connection specifications
for the request to be sent. See ``urllib3.ConnectionInfo`` class for more.
:param on_upload_body:
Callable that will be invoked upon body upload in order to be able to track
the progress. The values are expressed in bytes. It is possible that the total isn't
available, thus set to None. In order, arguments are:
(total_sent, total_to_be_sent, completed, any_error)
:param multiplexed:
Dispatch the request in a non-blocking way, this means that the
response will be retrieved in the future with the get_response()
method.
|
@typing.overload
async def urlopen(
self,
method: str,
url: str,
body: _TYPE_BODY | None = ...,
headers: typing.Mapping[str, str] | None = ...,
retries: Retry | bool | int | None = ...,
redirect: bool = ...,
assert_same_host: bool = ...,
timeout: _TYPE_TIMEOUT = ...,
pool_timeout: int | None = ...,
release_conn: bool | None = ...,
chunked: bool = ...,
body_pos: _TYPE_BODY_POSITION | None = ...,
preload_content: bool = ...,
decode_content: bool = ...,
on_post_connection: typing.Callable[[ConnectionInfo], typing.Awaitable[None]]
| None = ...,
on_upload_body: typing.Callable[
[int, int | None, bool, bool], typing.Awaitable[None]
] = ...,
*,
multiplexed: Literal[True],
**response_kw: typing.Any,
) -> ResponsePromise:
...
|
(self, method: str, url: str, body: Union[bytes, IO[Any], Iterable[bytes], Iterable[str], str, urllib3_future.backend._base.LowLevelResponse, urllib3_future.backend._async._base.AsyncLowLevelResponse, NoneType] = None, headers: Optional[Mapping[str, str]] = None, retries: Union[urllib3_future.util.retry.Retry, bool, int, NoneType] = None, redirect: bool = True, assert_same_host: bool = True, timeout: Union[float, urllib3_future.util.timeout._TYPE_DEFAULT, urllib3_future.util.timeout.Timeout, NoneType] = <_TYPE_DEFAULT.token: -1>, pool_timeout: Optional[int] = None, release_conn: Optional[bool] = None, chunked: bool = False, body_pos: Union[int, urllib3_future.util.request._TYPE_FAILEDTELL, NoneType] = None, preload_content: bool = True, decode_content: bool = True, on_post_connection: Optional[Callable[[urllib3_future.backend._base.ConnectionInfo], Awaitable[NoneType]]] = None, on_upload_body: Optional[Callable[[int, int | None, bool, bool], Awaitable[NoneType]]] = None, multiplexed: bool = False, **response_kw: Any) -> urllib3_future._async.response.AsyncHTTPResponse | urllib3_future.backend._base.ResponsePromise
|
[
-0.04873576760292053,
-0.08448011428117752,
-0.062229618430137634,
0.009815340861678123,
-0.058533165603876114,
0.028423216193914413,
-0.029804900288581848,
0.004250473342835903,
-0.07217057049274445,
-0.010766370221972466,
0.08290104568004608,
0.020276663824915886,
0.009698704816401005,
0.059717465192079544,
-0.036749210208654404,
0.004340192768722773,
-0.0011198145803064108,
0.03443444147706032,
-0.017764510586857796,
-0.05706176161766052,
-0.021837787702679634,
0.07529281079769135,
0.024098724126815796,
-0.0022867321968078613,
-0.0015319647500291467,
0.04263482615351677,
-0.016248246654868126,
-0.021873675286769867,
-0.018930867314338684,
0.009689733386039734,
0.06639261543750763,
0.016768621280789375,
-0.010290855541825294,
0.048879317939281464,
0.01916413940489292,
0.009097582660615444,
-0.01928974688053131,
0.048269227147102356,
-0.06940719485282898,
0.002194769447669387,
-0.07400085031986237,
-0.053401194512844086,
0.0005764493835158646,
-0.031599294394254684,
0.02074320614337921,
0.02031255140900612,
-0.06642850488424301,
-0.016194414347410202,
0.0006891598459333181,
-0.0028014990966767073,
-0.0015263572568073869,
0.06721803545951843,
0.01954096183180809,
-0.025982839986681938,
0.026449382305145264,
0.08211151510477066,
-0.049166422337293625,
0.05368829891085625,
-0.00811963714659214,
0.051427360624074936,
-0.0019043016945943236,
0.03429088741540909,
0.02126358076930046,
-0.023955173790454865,
-0.01804264262318611,
-0.021496852859854698,
-0.02228638529777527,
0.03409350663423538,
0.005163371562957764,
-0.018661707639694214,
0.005777951795607805,
0.041665852069854736,
-0.030002284795045853,
-0.0030639295000582933,
0.10235229134559631,
-0.003494584234431386,
-0.023470686748623848,
-0.004948044195771217,
-0.0009398143738508224,
-0.0029024339746683836,
0.015063946135342121,
-0.012300577946007252,
0.019235914573073387,
-0.01663404144346714,
-0.0010620575631037354,
-0.07378552109003067,
0.02323741465806961,
-0.03653388097882271,
-0.0282437764108181,
0.014417964033782482,
-0.046797823160886765,
-0.011887867003679276,
-0.03983556851744652,
-0.03667743504047394,
-0.019361522048711777,
-0.010012724436819553,
-0.015404880978167057,
-0.025982839986681938,
-0.012964503839612007,
-0.029607517644762993,
-0.03854360431432724,
-0.015046002343297005,
-0.04536230489611626,
-0.004102435428649187,
0.013763009570538998,
-0.06886888295412064,
0.04224005714058876,
-0.02085087075829506,
0.012354409322142601,
0.00040149586857296526,
0.005625428166240454,
-0.06431111693382263,
-0.011367492377758026,
0.06782813370227814,
-0.007007112260907888,
0.025408633053302765,
-0.01068562176078558,
-0.030199667438864708,
-0.03432677686214447,
0.008128609508275986,
-0.04582884907722473,
0.015476657077670097,
0.01483964640647173,
0.026844149455428123,
0.06635672599077225,
0.025318913161754608,
0.0062758964486420155,
-0.024888258427381516,
-0.022896479815244675,
-0.026377607136964798,
0.00811066571623087,
0.059071484953165054,
0.02268115244805813,
0.08282927423715591,
-0.0008108422625809908,
0.03972790390253067,
-0.0932367667555809,
0.03983556851744652,
-0.017414603382349014,
0.013978336937725544,
-0.02228638529777527,
0.011241884902119637,
0.011457212269306183,
-0.03958435356616974,
-0.023416854441165924,
-0.008186927065253258,
-0.021622460335493088,
-0.10608462989330292,
-0.01200450211763382,
0.008850852958858013,
0.0076172067783772945,
-0.045613519847393036,
0.027633683755993843,
0.06161952391266823,
0.0015039272839203477,
-0.036336500197649,
0.006930850446224213,
-0.008595151826739311,
-0.026718541979789734,
-0.006903934758156538,
0.003914024215191603,
-0.029248638078570366,
0.024314051494002342,
-0.029589572921395302,
-0.013888617046177387,
-0.07306776195764542,
0.07687187939882278,
-0.05476493388414383,
0.02616227976977825,
0.01582656428217888,
-0.015351049602031708,
0.037682294845581055,
-0.04629538953304291,
0.007845992222428322,
0.014130860567092896,
0.06423933804035187,
0.009600013494491577,
0.01794395036995411,
-0.06897654384374619,
-0.015207497403025627,
0.05347296968102455,
-0.04525464028120041,
-0.02456526830792427,
-0.0010816837893798947,
0.006136830896139145,
0.06280382722616196,
-0.035726405680179596,
-0.005589540582150221,
0.014507683925330639,
0.012040390633046627,
-0.030917426571249962,
-0.017809370532631874,
0.04999184608459473,
-0.05996868014335632,
0.03936902806162834,
-0.058425500988960266,
-0.06136830896139145,
0.0232553593814373,
0.06176307424902916,
0.008985432796180248,
-0.008474030531942844,
0.0229503121227026,
0.01116113644093275,
0.03172490373253822,
-0.038077060133218765,
-0.010990669019520283,
0.02454732358455658,
-0.00313570536673069,
-0.051427360624074936,
0.012758148834109306,
-0.01234543789178133,
0.027220971882343292,
-0.05304231494665146,
0.01466020755469799,
0.001563366618938744,
0.0009308424196206033,
-0.030056117102503777,
-0.012910672463476658,
0.007872908376157284,
-0.0229503121227026,
0.09582069516181946,
0.001413086079992354,
-0.003490098286420107,
-0.02546246536076069,
0.04966885223984718,
0.01979217678308487,
-0.005051221698522568,
-0.01860787533223629,
-0.0184822678565979,
0.0015510302037000656,
-0.024260221049189568,
0.023416854441165924,
0.07170402258634567,
0.028566768392920494,
-0.020940588787198067,
-0.010048612020909786,
-0.016185441985726357,
0.01916413940489292,
-0.03326808288693428,
-0.019433297216892242,
0.01597011461853981,
0.010613846592605114,
-0.007567861117422581,
0.01927180215716362,
-0.05250399932265282,
-0.008545806631445885,
-0.013610485941171646,
0.044034454971551895,
-0.02546246536076069,
-0.018060585483908653,
-0.008249730803072453,
-0.014758898876607418,
-0.028871815651655197,
-0.01977423205971718,
0.0390460342168808,
0.02269909717142582,
0.014435907825827599,
-0.06248083338141441,
-0.018141333013772964,
-0.016149554401636124,
0.05716942623257637,
0.009339826181530952,
0.009030292741954327,
0.06036344915628433,
-0.06614139676094055,
-0.013009363785386086,
0.032281167805194855,
-0.035726405680179596,
-0.022483769804239273,
-0.00637458823621273,
0.03482920676469803,
0.035726405680179596,
0.0025502839125692844,
-0.020635543391108513,
0.01326955109834671,
0.012928616255521774,
0.015683012083172798,
-0.034936871379613876,
0.005867671687155962,
-0.050494275987148285,
0.024098724126815796,
-0.04676193371415138,
0.033339858055114746,
-0.045469969511032104,
0.03133013844490051,
0.023327134549617767,
-0.04259893670678139,
0.10895566642284393,
-0.005437016952782869,
-0.030038172379136086,
0.0302176121622324,
0.015979086980223656,
0.03389612212777138,
0.023434799164533615,
-0.037825845181941986,
0.004692343063652515,
-0.06266027688980103,
0.04683370888233185,
0.04392679035663605,
-0.03850771486759186,
-0.0477667935192585,
0.00461608124896884,
0.05821017548441887,
-0.017845258116722107,
0.028154058381915092,
-0.08440834283828735,
0.025911062955856323,
-0.02772340178489685,
-0.08778180181980133,
0.0057869236916303635,
0.03077387437224388,
0.039943233132362366,
-0.051678575575351715,
-0.04959707707166672,
-0.0014837404014542699,
0.022878536954522133,
-0.007666552439332008,
0.038364164531230927,
0.009949920699000359,
-0.006302812602370977,
-0.04751557856798172,
-0.04109164699912071,
-0.001860563294030726,
-0.020420214161276817,
0.018518155440688133,
-0.038615379482507706,
0.000471028673928231,
-0.0007558888755738735,
-0.03671332076191902,
0.04726436361670494,
-0.03947668895125389,
0.06287559866905212,
-0.016311051324009895,
-0.03865126892924309,
-0.044967539608478546,
-0.020617598667740822,
-0.03048677183687687,
-0.0281361136585474,
0.042706601321697235,
-0.019487129524350166,
-0.038077060133218765,
-0.023004144430160522,
0.01412188820540905,
0.026341717690229416,
-0.006051597185432911,
-0.03272976353764534,
0.029661349952220917,
0.002731966320425272,
0.12072689831256866,
-0.06980196386575699,
-0.021963395178318024,
-0.05297053977847099,
0.006459821946918964,
0.040337998420000076,
0.03533163666725159,
0.017037780955433846,
-0.023470686748623848,
-0.0438191257417202,
-0.019433297216892242,
-0.03190434351563454,
0.013682262040674686,
0.007859449833631516,
-0.04371146112680435,
0.032388828694820404,
0.01538693718612194,
-0.00037373884697444737,
0.057348862290382385,
0.036892760545015335,
-0.04424978047609329,
0.01671478897333145,
-0.031114809215068817,
-0.02113797329366207,
-0.05002773180603981,
-0.004849352408200502,
-0.0013166373828426003,
-0.006791784893721342,
-0.030127892270684242,
-0.03298097848892212,
-0.04658249393105507,
0.009052722714841366,
0.032281167805194855,
-0.007294215727597475,
0.023721901699900627,
-0.04938175156712532,
0.04751557856798172,
-0.046259503811597824,
-0.004288604017347097,
0.05799484625458717,
-0.026951812207698822,
0.049309972673654556,
0.0504583865404129,
-0.0013413102133199573,
-0.004400753881782293,
0.03682098537683487,
0.007428795099258423,
-0.04220417141914368,
-0.028010506182909012,
0.021209748461842537,
-0.030127892270684242,
-0.0377899594604969,
0.03350135311484337,
-0.007886365987360477,
-0.01055104285478592,
0.05131969600915909,
-0.023686014115810394,
0.06571074575185776,
0.05210923030972481,
0.00876561924815178,
0.02522919327020645,
-0.037287529557943344,
0.02718508429825306,
-0.02967929281294346,
-0.06190662831068039,
-0.029894620180130005,
-0.010111415758728981,
0.03394995257258415,
-0.009949920699000359,
-0.004939072299748659,
0.04579295963048935,
0.006311784498393536,
0.04834100231528282,
0.01280300784856081,
-0.030827706679701805,
0.0400867834687233,
-0.0005831783637404442,
-0.008819451555609703,
0.02059965394437313,
-0.0011854221811518073,
-0.02878209576010704,
0.007150663994252682,
0.0427783764898777,
0.0459006242454052,
-0.03140191361308098,
-0.0031244903802871704,
0.05505203828215599,
0.03454210236668587,
-0.04094809293746948,
0.038364164531230927,
0.04557763412594795,
-0.00479103485122323,
-0.008079263381659985,
0.03520603105425835,
-0.05236044526100159,
-0.0034878551959991455,
0.07636944949626923,
-0.04460866004228592,
0.012309549376368523,
-0.0077742161229252815,
-0.012228801846504211,
-0.030038172379136086,
-0.016795536503195763,
0.03721575066447258,
0.0477667935192585,
0.009075152687728405,
-0.07945580780506134,
-0.008913656696677208,
0.05849727615714073,
0.01135852001607418,
-0.05096081644296646,
-0.02400900423526764,
0.08907376974821091,
-0.05218100547790527,
0.06531597673892975,
-0.02601872757077217,
-0.02994845248758793,
0.02747218683362007,
0.04288604110479355,
-0.03646210581064224,
-0.022627320140600204,
-0.01821311004459858,
-0.0019222456030547619,
-0.0019962643273174763,
0.0073256175965070724,
0.03382434695959091,
0.011573847383260727,
-0.011313660070300102,
0.017764510586857796,
0.022734984755516052,
-0.012497961521148682,
-0.09022217988967896,
-0.012883756309747696,
-0.04410623013973236,
0.07407262176275253,
0.023416854441165924,
0.033196307718753815,
0.00699814036488533,
0.026431437581777573,
0.0140680568292737,
0.07209879159927368,
-0.015485628508031368,
0.000609533570241183,
0.054729048162698746,
0.008352908305823803,
-0.01127777248620987,
-0.004737203009426594,
0.000930281647015363,
-0.05110437050461769,
-0.01966656930744648,
-0.007747300434857607,
-0.02759779430925846,
0.028979478403925896,
-0.0544060580432415,
0.056559331715106964,
-0.024583211168646812,
0.0398714579641819,
-0.003474397351965308,
0.0038400052580982447,
0.01601497456431389,
-0.03685687482357025,
-0.011035528965294361,
-0.04715669900178909,
0.03271182253956795,
-0.014740955084562302,
-0.006087485235184431,
0.011035528965294361,
0.021460963413119316,
0.016481518745422363,
0.07385729998350143,
-0.02810022607445717,
-0.010416463017463684,
0.06373690813779831,
0.05935858562588692,
0.037825845181941986,
-0.02799256145954132,
-0.022806759923696518,
-0.020007504150271416,
0.02467293106019497,
0.0180695578455925,
0.008613095618784428,
-0.016194414347410202,
0.01239926926791668,
-0.02323741465806961,
-0.024888258427381516,
-0.03264004364609718,
0.04966885223984718,
0.046403054147958755,
-0.05792307108640671,
-0.0005231783143244684,
-0.013942449353635311,
-0.000577010156121105,
0.0026086017023772,
0.11412352323532104,
-0.05228867009282112,
-0.018805259838700294,
-0.062265507876873016,
-0.013951420783996582,
0.007168607786297798,
0.033860232681035995,
0.04227594658732414,
-0.02099442109465599,
-0.03692864999175072,
-0.027274804189801216,
0.05806662142276764,
-0.016768621280789375,
-0.08799713104963303,
-0.005961877293884754,
0.0242961086332798,
-0.09883527457714081,
0.011143192648887634,
-0.03811294957995415,
-0.004961502272635698,
0.007949169725179672,
-0.04371146112680435,
0.04701314866542816,
0.005347297061234713,
0.02639554999768734,
0.07400085031986237,
0.03983556851744652,
-0.017988810315728188,
-0.03115069679915905,
0.02944602258503437,
0.021855730563402176,
-0.035421356558799744,
-0.026216110214591026,
0.029230695217847824,
0.010515154339373112,
0.012174970470368862,
-0.0352957509458065,
0.032550323754549026,
0.02164040319621563,
0.028225833550095558,
0.011735343374311924,
-0.05652344226837158,
-0.10436201095581055,
-0.025121530517935753,
-0.02589312009513378,
0.013709178194403648,
0.02797461859881878,
0.037431079894304276,
0.002599629806354642,
-0.05329352989792824,
-0.040983982384204865,
-0.028459103778004646,
-0.019505074247717857,
-0.008936086669564247,
0.04686959832906723,
-0.03579818084836006,
0.008514404296875,
0.000006488034614449134,
0.025013865903019905,
0.03264004364609718,
0.028979478403925896,
-0.03630061075091362,
-0.03890248388051987,
-0.021586570888757706,
0.022609377279877663,
-0.07281655073165894,
0.003557387972250581,
0.024188444018363953,
-0.01075739786028862,
0.03958435356616974,
-0.007724870461970568,
0.020904701203107834,
0.03470359742641449,
-0.04543408006429672,
0.007895338349044323,
-0.07651299983263016,
0.048520442098379135,
0.029894620180130005,
-0.03353724256157875,
-0.044680435210466385,
-0.0336449071764946,
-0.009277022443711758,
0.0153151610866189,
-0.027400411665439606,
-0.0006499074515886605,
-0.025964895263314247,
-0.003216453129425645,
-0.06384457647800446,
-0.028351441025733948,
0.021084140986204147,
-0.0045667351223528385,
0.08964797109365463,
0.0003288789594080299,
0.04209650680422783,
-0.01642768643796444,
0.022537600249052048,
0.026700597256422043,
0.023937229067087173,
0.005149913486093283,
0.009770480915904045,
0.00082149647641927,
-0.05099670588970184,
0.004582436289638281,
-0.005136455874890089,
0.020761150866746902,
-0.01412188820540905,
-0.007841506041586399,
0.031617239117622375,
-0.03962024301290512,
0.010407490655779839,
0.07572346925735474,
0.07737430930137634,
-0.0005943933501839638,
0.007330103777348995,
0.018428437411785126,
-0.012506932951509953,
-0.011295716278254986,
0.04435744509100914,
0.000887664791662246,
0.014130860567092896,
-0.0244037713855505,
0.08663339167833328,
0.017952922731637955,
-0.007612720597535372,
0.006127859000116587,
-0.012130110524594784,
-0.054585494101047516,
0.012318521738052368,
-0.015279273502528667,
0.029356302693486214,
0.03256826847791672,
0.021460963413119316,
0.04923819750547409,
0.04762324318289757,
-0.005697204265743494,
-0.008460571989417076,
-0.05716942623257637,
-0.025318913161754608,
0.037036310881376266,
0.013215718790888786,
0.004014958627521992,
-0.0620860680937767,
0.002810471225529909,
-0.017450490966439247,
0.02271704003214836,
0.023668069392442703,
0.04292192682623863,
-0.024654986336827278,
-0.047192588448524475,
0.04424978047609329,
0.004391781985759735,
-0.01538693718612194,
0.035421356558799744,
-0.014749926514923573,
0.014929366298019886,
-0.0012493474641814828,
-0.08857133984565735,
0.04518286511301994,
0.029212750494480133,
0.07378552109003067,
-0.04514697939157486,
-0.016535349190235138,
-0.007348047569394112,
0.0012975719291716814,
0.03929724916815758,
0.032532382756471634,
0.06014811992645264,
-0.012838896363973618,
0.05422661826014519,
-0.03897425904870033,
-0.014373104088008404,
0.04134286195039749,
-0.012695344164967537,
0.011214968748390675,
0.05713353678584099,
0.023309191688895226,
0.03552902117371559,
-0.03631855547428131,
0.01887703500688076,
-0.03829238936305046,
-0.009133470244705677,
0.03271182253956795,
0.005885615479201078,
0.006136830896139145,
-0.02230433002114296,
-0.011789174750447273,
0.0614759735763073,
0.07845094799995422,
0.015449740923941135,
0.03508042171597481,
0.044429220259189606,
-0.033447522670030594,
-0.0554468035697937,
-0.041629962623119354,
-0.0604352243244648,
0.019899841398000717,
0.012130110524594784,
0.06240905821323395,
0.004642996937036514,
-0.017970865592360497,
-0.02880004048347473,
-0.00028429945814423263,
-0.011528987437486649,
0.03804117441177368,
-0.05878438055515289,
0.03335780277848244,
-0.004302062094211578,
0.005670288112014532,
0.009860200807452202,
-0.003395892446860671,
0.019630681723356247,
-0.004903184249997139,
0.0406968779861927,
0.03890248388051987,
-0.035457246005535126,
0.030325274914503098,
0.007419823203235865,
-0.024457603693008423,
-0.0016822452889755368,
-0.03786173462867737,
0.05598512291908264,
0.044536884874105453,
-0.022394049912691116,
-0.06298326700925827,
0.04202473163604736,
-0.029463965445756912,
-0.004308790899813175
] |
709,990
|
urllib3_future._async.response
|
AsyncHTTPResponse
| null |
class AsyncHTTPResponse(HTTPResponse):
def __init__(
self,
body: _TYPE_BODY = "",
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
status: int = 0,
version: int = 0,
reason: str | None = None,
preload_content: bool = True,
decode_content: bool = True,
original_response: AsyncLowLevelResponse | None = None,
pool: AsyncHTTPConnectionPool | None = None,
connection: AsyncHTTPConnection | None = None,
msg: Message | None = None,
retries: Retry | None = None,
enforce_content_length: bool = True,
request_method: str | None = None,
request_url: str | None = None,
auto_close: bool = True,
police_officer: AsyncTrafficPolice[AsyncHTTPConnection] | None = None,
) -> None:
if isinstance(headers, HTTPHeaderDict):
self.headers = headers
else:
self.headers = HTTPHeaderDict(headers) # type: ignore[arg-type]
try:
self.status = int(status)
except ValueError:
self.status = 0 # merely for tests, was supported due to broken httplib.
self.version = version
self.reason = reason
self.decode_content = decode_content
self._has_decoded_content = False
self._request_url: str | None = request_url
self._retries: Retry | None = None
self.retries = retries
self.chunked = False
if "transfer-encoding" in self.headers:
tr_enc = self.headers.get("transfer-encoding", "").lower()
# Don't incur the penalty of creating a list and then discarding it
encodings = (enc.strip() for enc in tr_enc.split(","))
if "chunked" in encodings:
self.chunked = True
self._decoder: ContentDecoder | None = None
self.enforce_content_length = enforce_content_length
self.auto_close = auto_close
self._body = None
self._fp: AsyncLowLevelResponse | typing.IO[typing.Any] | None = None # type: ignore[assignment]
self._original_response = original_response # type: ignore[assignment]
self._fp_bytes_read = 0
if msg is not None:
warnings.warn(
"Passing msg=.. is deprecated and no-op in urllib3.future and is scheduled to be removed in a future major.",
DeprecationWarning,
stacklevel=2,
)
self.msg = msg
if body and isinstance(body, (str, bytes)):
self._body = body
self._pool: AsyncHTTPConnectionPool = pool # type: ignore[assignment]
self._connection: AsyncHTTPConnection = connection # type: ignore[assignment]
if hasattr(body, "read"):
self._fp = body # type: ignore[assignment]
# Are we using the chunked-style of transfer encoding?
self.chunk_left: int | None = None
# Determine length of response
self.length_remaining: int | None = self._init_length(request_method)
# Used to return the correct amount of bytes for partial read()s
self._decoded_buffer = BytesQueueBuffer()
self._police_officer: AsyncTrafficPolice[AsyncHTTPConnection] | None = police_officer # type: ignore[assignment]
if self._police_officer is not None:
self._police_officer.memorize(self, self._connection)
async def readinto(self, b: bytearray) -> int: # type: ignore[override]
temp = await self.read(len(b))
if len(temp) == 0:
return 0
else:
b[: len(temp)] = temp
return len(temp)
@asynccontextmanager
async def _error_catcher(self) -> typing.AsyncGenerator[None, None]: # type: ignore[override]
"""
Catch low-level python exceptions, instead re-raising urllib3
variants, so that low-level exceptions are not leaked in the
high-level api.
On exit, release the connection back to the pool.
"""
clean_exit = False
try:
try:
yield
except SocketTimeout as e:
# FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
# there is yet no clean way to get at it from this context.
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
except BaseSSLError as e:
# FIXME: Is there a better way to differentiate between SSLErrors?
if "read operation timed out" not in str(e):
# SSL errors related to framing/MAC get wrapped and reraised here
raise SSLError(e) from e
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
except OSError as e:
# This includes IncompleteRead.
raise ProtocolError(f"Connection broken: {e!r}", e) from e
# If no exception is thrown, we should avoid cleaning up
# unnecessarily.
clean_exit = True
finally:
# If we didn't terminate cleanly, we need to throw away our
# connection.
if not clean_exit:
# The response may not be closed but we're not going to use it
# anymore so close it now to ensure that the connection is
# released back to the pool.
if self._original_response:
self._original_response.close()
# Closing the response may not actually be sufficient to close
# everything, so if we have a hold of the connection close that
# too.
if self._connection:
await self._connection.close()
# If we hold the original response but it's closed now, we should
# return the connection back to the pool.
if self._original_response and self._original_response.isclosed():
self.release_conn()
async def drain_conn(self) -> None: # type: ignore[override]
"""
Read and discard any remaining HTTP response data in the response connection.
Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
"""
try:
await self.read()
except (HTTPError, OSError, BaseSSLError):
pass
async def json(self) -> typing.Any:
"""
Parses the body of the HTTP response as JSON.
To use a custom JSON decoder pass the result of :attr:`HTTPResponse.data` to the decoder.
This method can raise either `UnicodeDecodeError` or `json.JSONDecodeError`.
Read more :ref:`here <json>`.
"""
data = (await self.data).decode("utf-8")
return _json.loads(data)
@property
async def data(self) -> bytes: # type: ignore[override]
# For backwards-compat with earlier urllib3 0.4 and earlier.
if self._body:
return self._body # type: ignore[return-value]
if self._fp:
return await self.read(cache_content=True)
return None # type: ignore[return-value]
async def _fp_read(self, amt: int | None = None) -> bytes: # type: ignore[override]
"""
Read a response with the thought that reading the number of bytes
larger than can fit in a 32-bit int at a time via SSL in some
known cases leads to an overflow error that has to be prevented
if `amt` or `self.length_remaining` indicate that a problem may
happen.
The known cases:
* 3.8 <= CPython < 3.9.7 because of a bug
https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900.
* urllib3 injected with pyOpenSSL-backed SSL-support.
* CPython < 3.10 only when `amt` does not fit 32-bit int.
"""
assert self._fp
c_int_max = 2**31 - 1
if (
(amt and amt > c_int_max)
or (self.length_remaining and self.length_remaining > c_int
|
(body: '_TYPE_BODY' = '', headers: 'typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None' = None, status: 'int' = 0, version: 'int' = 0, reason: 'str | None' = None, preload_content: 'bool' = True, decode_content: 'bool' = True, original_response: 'AsyncLowLevelResponse | None' = None, pool: 'AsyncHTTPConnectionPool | None' = None, connection: 'AsyncHTTPConnection | None' = None, msg: 'Message | None' = None, retries: 'Retry | None' = None, enforce_content_length: 'bool' = True, request_method: 'str | None' = None, request_url: 'str | None' = None, auto_close: 'bool' = True, police_officer: 'AsyncTrafficPolice[AsyncHTTPConnection] | None' = None) -> 'None'
|
[
-0.03319628909230232,
-0.05384894087910652,
-0.08113240450620651,
0.029331834986805916,
-0.026840001344680786,
0.033787570893764496,
-0.03657504543662071,
0.029669711366295815,
-0.008969544433057308,
-0.11960799992084503,
0.08603160083293915,
0.0838354080915451,
0.040376149117946625,
0.0360259972512722,
-0.0058389147743582726,
0.058705903589725494,
0.035371363162994385,
0.00873725488781929,
0.007327679544687271,
-0.051779452711343765,
-0.02067377045750618,
0.06816642731428146,
0.004524366930127144,
0.03454779088497162,
-0.018414225429296494,
0.038243308663368225,
-0.030155407264828682,
-0.016344737261533737,
0.02800145000219345,
-0.01220575999468565,
0.025953078642487526,
0.024115879088640213,
0.00034810436773113906,
0.04937208816409111,
0.001945424941368401,
0.004698584321886301,
-0.018942156806588173,
-0.015996303409337997,
-0.058748140931129456,
0.02367241680622101,
-0.04835846275091171,
-0.0327739454805851,
-0.04831622540950775,
-0.025213975459337234,
0.007454382721334696,
-0.006213745567947626,
-0.06618140637874603,
0.028275974094867706,
-0.013493911363184452,
-0.022426500916481018,
-0.0009555547148920596,
0.0488230399787426,
0.01460256613790989,
0.0030989537481218576,
0.04345926269888878,
0.07965420186519623,
-0.05511597543954849,
0.05828355997800827,
-0.03872900456190109,
-0.003172864206135273,
-0.04764047637581825,
0.018614839762449265,
-0.01567954383790493,
-0.04225558042526245,
-0.05262414366006851,
-0.006356286816298962,
-0.012089615687727928,
-0.010896491818130016,
-0.0011693667620420456,
-0.049667730927467346,
0.040376149117946625,
0.07969643175601959,
-0.024179231375455856,
0.005073415115475655,
0.03239383548498154,
-0.012311345897614956,
0.0011211930541321635,
0.01201570499688387,
-0.017569536343216896,
0.012522518634796143,
0.03406209498643875,
0.01076450850814581,
0.06905335187911987,
-0.05591842904686928,
0.06107103452086449,
-0.0788939818739891,
0.02760022133588791,
0.0019137491472065449,
-0.08020325005054474,
0.028740553185343742,
-0.02852937951683998,
0.008842840790748596,
-0.010157388634979725,
-0.02210974134504795,
0.022194210439920425,
-0.02728346362709999,
-0.009729764424264431,
-0.037673141807317734,
-0.015711219981312752,
-0.018308639526367188,
-0.026966705918312073,
0.027557987719774246,
-0.041410893201828,
-0.004270960111171007,
0.020557625219225883,
-0.035751473158597946,
0.01978684589266777,
0.0038670930080115795,
0.002511630766093731,
-0.0484851635992527,
0.020642094314098358,
-0.027410166338086128,
0.007095389999449253,
0.036638397723436356,
-0.01856204681098461,
0.023841354995965958,
-0.04350149631500244,
-0.02567855454981327,
-0.025425147265195847,
-0.00023146465537138283,
-0.0140851940959692,
-0.00999373011291027,
-0.011762297712266445,
0.01854093000292778,
0.02546738088130951,
0.03598376363515854,
-0.02622760273516178,
-0.031063448637723923,
0.011730622500181198,
-0.0023717291187494993,
-0.0030883951112627983,
0.052666377276182175,
0.03296399861574173,
0.08104793727397919,
-0.02122281864285469,
0.05004784092307091,
-0.06043751910328865,
0.05976176634430885,
-0.042508989572525024,
0.0190794188529253,
0.02105388045310974,
0.03178143501281738,
0.00445573590695858,
-0.02776915952563286,
0.011962912045419216,
-0.029099546372890472,
-0.006266538519412279,
-0.06204242631793022,
-0.03222489729523659,
-0.033597517758607864,
-0.003106872783973813,
-0.045528750866651535,
0.003112151985988021,
0.06930675357580185,
0.014581448398530483,
0.0013581019593402743,
-0.02850826270878315,
0.004447816871106625,
-0.013852904550731182,
-0.026966705918312073,
-0.02743128500878811,
-0.0308100413531065,
0.028107035905122757,
-0.05038571357727051,
-0.006092321593314409,
-0.04024944454431534,
0.058199092745780945,
-0.08429998904466629,
0.012448607943952084,
0.038792356848716736,
-0.021877452731132507,
0.05710099637508392,
-0.02068432793021202,
0.0009007819462567568,
-0.003025043522939086,
0.04350149631500244,
0.05524268001317978,
0.014771503396332264,
-0.054482460021972656,
-0.02297554910182953,
0.02690335363149643,
-0.05021677911281586,
-0.032372716814279556,
-0.004653709940612316,
0.0035476949997246265,
0.06639257818460464,
-0.0003190681745763868,
0.006303493864834309,
0.0517372190952301,
-0.0024007651954889297,
-0.043015800416469574,
-0.01693601906299591,
0.06706833094358444,
-0.029184013605117798,
0.05646747723221779,
-0.01785461977124214,
-0.013694524765014648,
0.004658989142626524,
0.1044880598783493,
-0.0014320123009383678,
-0.049667730927467346,
0.01799188181757927,
0.035012371838092804,
0.0040281121619045734,
-0.07365690171718597,
-0.009064571931958199,
-0.03560365363955498,
-0.003405153751373291,
-0.0324360691010952,
0.044853001832962036,
-0.07745800912380219,
0.0313168540596962,
0.006229583639651537,
0.029268482699990273,
0.024517105892300606,
0.009196554310619831,
-0.006599134765565395,
-0.01908997818827629,
0.03798989951610565,
0.006356286816298962,
0.06216913089156151,
-0.027325697243213654,
-0.037145212292671204,
-0.010558616369962692,
0.03530801087617874,
0.005643580108880997,
-0.026945587247610092,
0.022342031821608543,
0.01997690089046955,
0.038750119507312775,
-0.0019573033787310123,
0.06499884277582169,
0.06267594546079636,
0.014222456142306328,
0.04111525043845177,
0.007433265447616577,
-0.04008050635457039,
0.027241230010986328,
-0.04717589542269707,
-0.0015560759929940104,
-0.02175074815750122,
-0.004891278687864542,
-0.007977033965289593,
-0.0021077636629343033,
-0.04975219815969467,
0.0008255518041551113,
0.010648364201188087,
0.05097699910402298,
0.009154319763183594,
-0.013610055670142174,
-0.028022566810250282,
-0.031232386827468872,
-0.02493945136666298,
-0.06284487992525101,
-0.007998151704668999,
-0.05114593729376793,
0.006382683292031288,
-0.08387764543294907,
-0.014782062731683254,
0.02973306179046631,
0.04759823903441429,
0.016334179788827896,
-0.04379713907837868,
0.057481106370687485,
-0.04628897085785866,
0.0049176751635968685,
0.026100898161530495,
-0.0424245186150074,
-0.03516019135713577,
0.03585705906152725,
0.11217473447322845,
-0.021814100444316864,
0.02855049818754196,
0.005928663071244955,
-0.023946940898895264,
0.011867884546518326,
0.03154914453625679,
0.004204968921840191,
-0.0648721382021904,
-0.028803903609514236,
0.017970765009522438,
-0.0014900846872478724,
0.0334496945142746,
-0.04210776090621948,
0.03332299366593361,
-0.007111228071153164,
-0.04050284996628761,
0.0392780527472496,
0.006314052268862724,
0.005902266129851341,
0.0011000757804140449,
-0.061620082706213,
0.03427326679229736,
-0.008082620799541473,
-0.0008869237499311566,
0.0007945358520373702,
-0.0517372190952301,
0.009032895788550377,
-0.0028191504534333944,
-0.060690924525260925,
-0.03794766589999199,
-0.014539213851094246,
0.06495660543441772,
0.037166327238082886,
0.015225524082779884,
-0.05638300999999046,
-0.007169300224632025,
-0.015932951122522354,
-0.043923843652009964,
-0.0025301084388047457,
0.03148579224944115,
0.014708152040839195,
0.011793973855674267,
-0.04688025638461113,
0.006324611138552427,
0.04103078320622444,
0.02510838955640793,
0.04561322182416916,
0.02409476228058338,
0.016798758879303932,
-0.06005740910768509,
-0.02690335363149643,
0.0413053072988987,
0.002755798865109682,
0.0104371914640069,
-0.0013343450846150517,
0.027177877724170685,
0.015415579080581665,
-0.018034115433692932,
0.035223543643951416,
-0.041622065007686615,
0.01159336045384407,
-0.07061602175235748,
-0.05490480363368988,
-0.01851981319487095,
-0.014676475897431374,
-0.00775002408772707,
-0.023038899526000023,
0.03632164001464844,
-0.08506020903587341,
0.0028323486912995577,
-0.012501400895416737,
0.03220377862453461,
0.04544428363442421,
0.00356089323759079,
-0.048020586371421814,
0.02032533660531044,
-0.020599858835339546,
0.03942587226629257,
-0.027895864099264145,
-0.0069528487510979176,
-0.0484851635992527,
0.001297389972023666,
0.06719503551721573,
0.010183785110712051,
-0.01443362794816494,
-0.006725838407874107,
-0.029627475887537003,
-0.002307057613506913,
0.004437258467078209,
-0.022004155442118645,
0.0015362786361947656,
-0.024918334558606148,
0.028275974094867706,
-0.038032133132219315,
-0.013599497266113758,
0.048569634556770325,
0.01443362794816494,
-0.023397892713546753,
0.028043683618307114,
-0.053384363651275635,
-0.04274127632379532,
-0.009682251140475273,
-0.012997656129300594,
-0.006108159199357033,
-0.013958490453660488,
-0.05118817090988159,
0.004922954831272364,
-0.03651169314980507,
0.028656084090471268,
0.030345462262630463,
-0.02316560409963131,
-0.03980598226189613,
-0.04350149631500244,
0.01997690089046955,
-0.04459959268569946,
-0.009735044091939926,
-0.010273532941937447,
-0.002250304911285639,
0.07712013274431229,
0.03847559541463852,
0.023968057706952095,
0.0331118181347847,
-0.0054165697656571865,
-0.027748042717576027,
-0.01319826953113079,
-0.010368560440838337,
0.040355030447244644,
0.005017982330173254,
-0.027389049530029297,
-0.0002860724925994873,
0.025256209075450897,
0.039848215878009796,
0.06064869090914726,
-0.017875736579298973,
0.06668821722269058,
0.11276601999998093,
-0.007586365565657616,
0.019111094996333122,
0.022553203627467155,
-0.04263569042086601,
-0.00872141681611538,
-0.043226972222328186,
-0.03934140130877495,
-0.028825022280216217,
0.013166594319045544,
-0.00498894602060318,
-0.01817137748003006,
0.042846862226724625,
-0.018329758197069168,
0.03478008136153221,
0.02800145000219345,
-0.008969544433057308,
0.001245916704647243,
-0.012606987729668617,
-0.02512950636446476,
0.003341801930218935,
0.024010293185710907,
-0.0491609163582325,
0.01868874952197075,
0.05435575544834137,
-0.0011086546583101153,
-0.022384265437722206,
-0.01534166932106018,
0.030218759551644325,
0.035519182682037354,
-0.05638300999999046,
0.029268482699990273,
0.03796878457069397,
-0.02855049818754196,
0.029310718178749084,
0.04261457547545433,
-0.012226877734065056,
0.017210543155670166,
0.10203846544027328,
-0.011867884546518326,
0.0013541424414142966,
0.0008017948712222278,
-0.020557625219225883,
-0.034526675939559937,
-0.019501764327287674,
0.025763023644685745,
0.018287522718310356,
0.015204407274723053,
-0.11217473447322845,
0.022025272250175476,
0.04014385864138603,
0.013747317716479301,
-0.08130134642124176,
-0.01873098500072956,
0.013409442268311977,
-0.0003047150676138699,
0.0756419226527214,
-0.03908799588680267,
-0.058917075395584106,
0.021507900208234787,
0.04599333181977272,
-0.0029854485765099525,
-0.04645790904760361,
-0.004157455172389746,
-0.0420866422355175,
0.00521859573200345,
-0.004793611820787191,
0.003141188295558095,
-0.004424060229212046,
-0.029817530885338783,
0.02034645341336727,
0.00426832027733326,
0.0020351731218397617,
-0.046246737241744995,
0.04022832587361336,
-0.01707328110933304,
0.08995940536260605,
-0.006467152386903763,
-0.006519945338368416,
-0.052666377276182175,
0.016344737261533737,
0.004537565167993307,
0.018963273614645004,
0.0015758734662085772,
-0.013525586575269699,
0.04637344181537628,
-0.007232652045786381,
-0.001846437924541533,
-0.03315405547618866,
0.008610551245510578,
-0.05469363182783127,
0.0167248472571373,
0.02512950636446476,
-0.06499884277582169,
-0.004342230968177319,
-0.06542118638753891,
0.06043751910328865,
-0.008077341131865978,
0.05773451179265976,
0.02443263679742813,
-0.046795785427093506,
0.018984392285346985,
0.031042329967021942,
-0.025741904973983765,
-0.01641864702105522,
0.03921470046043396,
-0.013694524765014648,
-0.019375059753656387,
0.015299434773623943,
0.04257233813405037,
-0.019818522036075592,
0.04438842087984085,
-0.004830566700547934,
-0.02890949137508869,
0.06305605173110962,
0.08594713360071182,
0.017199985682964325,
-0.0007529613212682307,
-0.05021677911281586,
0.009640016593039036,
0.03864453360438347,
-0.030049821361899376,
-0.02082158997654915,
-0.019660143181681633,
0.013673407956957817,
-0.006921172607690096,
-0.004270960111171007,
-0.054271284490823746,
0.01959679089486599,
0.03148579224944115,
-0.06398521363735199,
-0.001164747285656631,
-0.05988847091794014,
-0.022743258625268936,
0.020452039316296577,
0.1201992854475975,
-0.0014201338635757565,
-0.059803999960422516,
-0.05156828090548515,
-0.02015639841556549,
0.0067205592058598995,
0.07657108455896378,
0.006820865906774998,
-0.01319826953113079,
-0.033048469573259354,
-0.03828554227948189,
0.0599307045340538,
-0.03454779088497162,
-0.041263069957494736,
-0.06677268445491791,
0.023228954523801804,
-0.03898240998387337,
0.01514105498790741,
-0.014380834996700287,
0.022342031821608543,
0.002776915905997157,
-0.06508331000804901,
-0.026122014969587326,
0.007026758976280689,
0.05541161820292473,
0.03955257683992386,
0.05093476176261902,
-0.014412511140108109,
-0.036110468208789825,
-0.0006655227625742555,
0.03676510229706764,
-0.008066782727837563,
0.008246279321610928,
0.028402676805853844,
-0.016460882499814034,
-0.016492558643221855,
-0.00169465783983469,
0.07074272632598877,
0.026312071830034256,
0.054102346301078796,
-0.01601742021739483,
-0.04459959268569946,
-0.06377404183149338,
0.00022123599774204195,
-0.01336720772087574,
0.017960205674171448,
0.0420866422355175,
0.02745240181684494,
-0.010453029535710812,
-0.03319628909230232,
-0.05042795091867447,
0.004653709940612316,
-0.0563407763838768,
0.042846862226724625,
0.06597023457288742,
-0.048738572746515274,
0.013229945674538612,
0.028275974094867706,
0.024517105892300606,
0.009312699548900127,
0.06512553989887238,
-0.053215425461530685,
-0.019744612276554108,
0.012522518634796143,
0.029500773176550865,
-0.031992606818675995,
0.026586594060063362,
0.016693171113729477,
-0.04793611541390419,
0.010468867607414722,
-0.01976572908461094,
0.01713663339614868,
-0.027198994532227516,
-0.06280265003442764,
-0.039130229502916336,
-0.08827003091573715,
0.05663641542196274,
-0.0029168175533413887,
-0.035582534968853,
0.014496979303658009,
-0.02282772772014141,
-0.02105388045310974,
0.05118817090988159,
-0.05828355997800827,
0.06580129265785217,
0.008610551245510578,
-0.007116507273167372,
-0.09485860913991928,
-0.013356649316847324,
0.009022337384521961,
0.030028704553842545,
0.05063912272453308,
0.03222489729523659,
0.020895501598715782,
0.03471672907471657,
0.02156069315969944,
0.028022566810250282,
0.053046487271785736,
0.010595571249723434,
0.026607712730765343,
-0.05596066638827324,
-0.03792654722929001,
-0.006847262382507324,
-0.023271190002560616,
0.013029332272708416,
0.027705809101462364,
-0.02015639841556549,
0.03655392676591873,
-0.02120169997215271,
0.00031098423642106354,
0.07775364816188812,
0.028275974094867706,
-0.04405054450035095,
-0.016798758879303932,
-0.009133202955126762,
0.0014570889761671424,
0.002307057613506913,
0.03509683907032013,
0.006102879997342825,
0.0056066252291202545,
-0.02229979634284973,
0.034294385462999344,
-0.0026343746576458216,
0.0573544017970562,
0.03497013449668884,
-0.029543006792664528,
-0.03211931139230728,
0.038074370473623276,
-0.008240999653935432,
0.009122644551098347,
0.03372421860694885,
-0.01693601906299591,
0.028022566810250282,
0.02013527974486351,
0.014961558394134045,
-0.003304846817627549,
-0.049118682742118835,
0.01300821453332901,
0.026143133640289307,
0.03638499230146408,
0.030535517260432243,
-0.09232454001903534,
0.005643580108880997,
0.005701652728021145,
-0.008652785792946815,
-0.0057755629532039165,
0.0008757052128203213,
-0.018118584528565407,
-0.08573596179485321,
0.041263069957494736,
0.0033629192039370537,
-0.021814100444316864,
0.023250073194503784,
-0.04493746906518936,
-0.008024548180401325,
-0.02354571409523487,
-0.059635061770677567,
0.020388687029480934,
-0.009164879098534584,
0.03336522728204727,
-0.07614874094724655,
-0.008969544433057308,
-0.025572968646883965,
0.011350512504577637,
0.04472629725933075,
-0.028951724991202354,
0.027389049530029297,
0.015785131603479385,
0.0424245186150074,
-0.019121654331684113,
0.02496056817471981,
0.024305934086441994,
-0.03334410861134529,
-0.031802549958229065,
0.05253967270255089,
-0.0011264723725616932,
0.020979970693588257,
-0.04459959268569946,
0.022553203627467155,
-0.04920314997434616,
0.03385092318058014,
0.024369286373257637,
0.03260500729084015,
-0.017780710011720657,
-0.007047876249998808,
-0.007470220793038607,
0.03283729404211044,
0.008668623864650726,
0.05655194818973541,
0.028592731803655624,
0.061957959085702896,
-0.040566202253103256,
-0.03921470046043396,
-0.03045104816555977,
-0.04742930456995964,
0.03532912954688072,
-0.008050944656133652,
0.02265878953039646,
0.012786484323441982,
-0.006673045456409454,
-0.05900154635310173,
-0.019924107939004898,
-0.017390040680766106,
0.0055432734079658985,
-0.024918334558606148,
0.007058434654027224,
0.024158112704753876,
0.018424784764647484,
0.0140851940959692,
0.017009930685162544,
0.0007819975144229829,
-0.05490480363368988,
0.04493746906518936,
0.011783415451645851,
-0.01355726271867752,
-0.011931235902011395,
0.006519945338368416,
-0.009550267830491066,
0.020050812512636185,
-0.06005740910768509,
0.0484851635992527,
0.06436531990766525,
0.016534792259335518,
-0.04772494360804558,
0.016186358407139778,
-0.02085326611995697,
0.03826442360877991
] |
709,991
|
urllib3_future._async.response
|
__aiter__
| null |
@property
async def data(self) -> bytes: # type: ignore[override]
# For backwards-compat with earlier urllib3 0.4 and earlier.
if self._body:
return self._body # type: ignore[return-value]
if self._fp:
return await self.read(cache_content=True)
return None # type: ignore[return-value]
|
(self) -> AsyncIterator[bytes]
|
[
-0.025602862238883972,
-0.03602202236652374,
-0.054451894015073776,
0.047889743000268936,
0.008647728711366653,
-0.0070770010352134705,
-0.02727830596268177,
0.032060299068689346,
0.054486799985170364,
-0.04352661222219467,
0.07602322101593018,
0.01907561533153057,
-0.005580446682870388,
0.02891884371638298,
0.011719373986124992,
0.039268191903829575,
-0.04994914308190346,
0.007823096588253975,
0.012164413928985596,
0.02420666068792343,
-0.05218306556344032,
0.02047181874513626,
-0.002080123405903578,
0.008150331676006317,
-0.006160743068903685,
0.06000179797410965,
-0.003621400101110339,
-0.032583873718976974,
0.012975956313312054,
0.04984442889690399,
0.022566121071577072,
-0.03307254612445831,
0.028325457125902176,
0.054940566420555115,
0.02452080510556698,
0.027697166427969933,
-0.004175517708063126,
0.023037340492010117,
-0.11874701827764511,
-0.012888694182038307,
-0.06604037433862686,
-0.015489120967686176,
-0.007111906073987484,
-0.004537657834589481,
0.03654559701681137,
-0.01183281559497118,
-0.0501236692070961,
0.028988653793931007,
0.001996133243665099,
-0.049809522926807404,
0.04094363749027252,
0.10869435966014862,
0.007596213836222887,
-0.016300663352012634,
0.012862514704465866,
0.02837781421840191,
-0.023979777470231056,
0.0449577197432518,
-0.040629491209983826,
0.07581379264593124,
-0.008364125154912472,
-0.013770046643912792,
0.04666806757450104,
-0.1081358790397644,
-0.018429871648550034,
0.011396502144634724,
-0.009005505591630936,
0.00856919214129448,
0.02223452366888523,
0.00016416286234743893,
0.009895584546029568,
0.04900670424103737,
-0.03518430143594742,
0.031205125153064728,
0.027243399992585182,
-0.02649294212460518,
-0.008381578139960766,
-0.010968915186822414,
-0.001263126847334206,
0.045341674238443375,
0.016841690987348557,
-0.01998314820230007,
0.042304933071136475,
-0.029512228444218636,
0.003909366670995951,
-0.0571046806871891,
-0.002500074915587902,
0.00480817211791873,
-0.06450455635786057,
0.049774616956710815,
-0.002500074915587902,
0.04638882726430893,
-0.08649474382400513,
-0.028726864606142044,
0.017234373837709427,
-0.04073420539498329,
-0.004947792273014784,
-0.005785513669252396,
-0.023316580802202225,
0.01972135901451111,
-0.04328227415680885,
0.09920018166303635,
-0.015401857905089855,
-0.011265608482062817,
0.014590315520763397,
-0.02776697650551796,
0.03815123066306114,
-0.03104805201292038,
-0.007770739030092955,
-0.045586008578538895,
0.028691960498690605,
-0.027958953753113747,
-0.015366952866315842,
0.07525531202554703,
0.030751358717679977,
-0.028430171310901642,
-0.041083257645368576,
-0.009668702259659767,
0.005000149831175804,
-0.0066406880505383015,
0.0024760777596384287,
0.05521980673074722,
-0.028779223561286926,
0.007535130251199007,
0.04377094656229019,
0.02952968142926693,
-0.014162728562951088,
-0.04960009083151817,
0.02464297227561474,
-0.02165859006345272,
0.01008756272494793,
0.05364907905459404,
0.03891914337873459,
0.06275930255651474,
-0.001400565612129867,
0.012609452940523624,
0.024747688323259354,
0.02555050514638424,
0.008944422006607056,
0.02099539339542389,
-0.012565822340548038,
0.006597056519240141,
0.04872746393084526,
-0.03424186632037163,
-0.0035755871795117855,
-0.01336863823235035,
0.00380465155467391,
-0.05829145014286041,
-0.052811358124017715,
-0.06813468039035797,
0.05124063044786453,
-0.0047950828447937965,
-0.007949627935886383,
0.029058463871479034,
0.028360361233353615,
-0.002098666736856103,
-0.046528447419404984,
0.004904161207377911,
-0.03199048712849617,
-0.022984983399510384,
-0.03265368565917015,
-0.00530993239954114,
0.010419161058962345,
-0.04960009083151817,
0.04307284578680992,
0.0059818546287715435,
0.056860342621803284,
-0.0671224296092987,
0.030140521004796028,
0.026754729449748993,
-0.0534745529294014,
0.0397917702794075,
-0.04446904733777046,
0.0622706301510334,
0.06631961464881897,
0.024014681577682495,
-0.0017594331875443459,
0.0397917702794075,
-0.017443804070353508,
-0.0031632711179554462,
-0.03542863577604294,
-0.059617843478918076,
0.010776937939226627,
0.01554147806018591,
0.04987933114171028,
0.017086027190089226,
0.00541464751586318,
0.003819922683760524,
0.025288715958595276,
0.025672672316432,
-0.06049047037959099,
-0.044119998812675476,
-0.023473653942346573,
-0.03661540895700455,
0.028482530266046524,
-0.08907771855592728,
0.003095642663538456,
-0.015340774320065975,
0.019372308626770973,
-0.017513614147901535,
-0.011597206816077232,
-0.0628989189863205,
0.02989618480205536,
0.027662260457873344,
-0.08747208118438721,
0.019372308626770973,
0.0005895682843402028,
0.036196548491716385,
-0.010995094664394855,
0.04935575649142265,
-0.03261877968907356,
0.02305479347705841,
-0.026999063789844513,
0.014616494067013264,
0.02584719844162464,
-0.05783768743276596,
-0.037104081362485886,
-0.016396652907133102,
0.015611288137733936,
0.04565582051873207,
0.07448740303516388,
-0.011448860168457031,
-0.045306768268346786,
0.0002561977016739547,
0.000047040022764122114,
-0.005109228193759918,
-0.04631901532411575,
-0.028203289955854416,
-0.04939066246151924,
-0.03001835197210312,
-0.010436613112688065,
0.034556008875370026,
0.059129174798727036,
0.02691180258989334,
0.06422530859708786,
0.010017752647399902,
-0.008241957984864712,
0.021309539675712585,
-0.04827369749546051,
0.016990037634968758,
0.0025306169409304857,
-0.039233289659023285,
-0.0048561664298176765,
0.02530616894364357,
-0.04729635640978813,
-0.007844912819564342,
0.06474889069795609,
0.05546414107084274,
-0.0029669301584362984,
-0.03096078895032406,
0.010070109739899635,
-0.022862814366817474,
-0.06705262511968613,
-0.007792554795742035,
0.01612613908946514,
-0.04600486904382706,
0.03370083495974541,
-0.04712183400988579,
0.031763605773448944,
0.008207052014768124,
0.01829025149345398,
-0.02427647076547146,
0.013316281139850616,
0.060141421854496,
-0.025725029408931732,
-0.027295757085084915,
-0.028273100033402443,
-0.04757559671998024,
-0.03031504526734352,
0.037348415702581406,
0.0677507221698761,
-0.015724729746580124,
0.03602202236652374,
-0.024800045415759087,
-0.015602562576532364,
-0.048622749745845795,
-0.00025142551749013364,
0.004107889253646135,
-0.025655219331383705,
-0.05567357316613197,
-0.004040260799229145,
0.0026855082251131535,
0.058465976268053055,
-0.05853578820824623,
0.03469562903046608,
-0.041083257645368576,
-0.00961634423583746,
0.03237444534897804,
-0.002173930872231722,
-0.023107150569558144,
0.022740647196769714,
-0.013621699996292591,
-0.01907561533153057,
-0.04994914308190346,
0.05218306556344032,
-0.015305869281291962,
-0.04851803556084633,
0.001436561462469399,
0.06373663991689682,
-0.006933017633855343,
-0.043247371912002563,
-0.024311374872922897,
0.01585562340915203,
0.014904460869729519,
-0.008089248090982437,
-0.011763005517423153,
-0.018970901146531105,
0.02017512544989586,
-0.05288116633892059,
-0.015846896916627884,
0.05302078649401665,
-0.001604542019777,
0.00812415312975645,
0.019389761611819267,
0.004443850368261337,
0.014799745753407478,
-0.0016329024219885468,
0.0647139847278595,
0.03167634457349777,
0.03019287809729576,
-0.07085727155208588,
-0.03951252996921539,
0.054940566420555115,
-0.002200109651312232,
0.05371888726949692,
-0.017417624592781067,
0.030053257942199707,
0.026876896619796753,
-0.024136848747730255,
0.05968765541911125,
0.0033116177655756474,
0.033491406589746475,
-0.0022993709426373243,
-0.0016972585581243038,
-0.034224413335323334,
0.004720909520983696,
-0.002319005085155368,
-0.03846537694334984,
0.054242465645074844,
-0.04338699206709862,
0.006029849406331778,
0.005855323746800423,
0.07700056582689285,
0.02764480747282505,
0.008996779099106789,
-0.03237444534897804,
0.023316580802202225,
-0.007120632566511631,
0.058326356112957,
-0.04935575649142265,
-0.038779523223638535,
-0.06823939085006714,
0.01181536354124546,
0.005449552554637194,
0.002543706214055419,
-0.04195588454604149,
0.0017670687520876527,
-0.01771431788802147,
0.011797910556197166,
0.03640597686171532,
0.05204344540834427,
0.013700236566364765,
-0.006309089716523886,
0.03933800384402275,
-0.03602202236652374,
0.00021133924019522965,
-0.011056178249418736,
0.06293382495641708,
-0.0033268886618316174,
0.005702614318579435,
-0.07096198946237564,
-0.007792554795742035,
-0.02132699266076088,
-0.026143889874219894,
0.0229326244443655,
-0.03640597686171532,
-0.025498146191239357,
-0.04994914308190346,
-0.017426351085305214,
0.01292359922081232,
0.012496012263000011,
0.002425901824608445,
-0.04928594455122948,
-0.007714018691331148,
0.05413774773478508,
0.01458158902823925,
-0.039687056094408035,
0.007063911762088537,
-0.021274635568261147,
0.04848312959074974,
0.03277585282921791,
0.001229312620125711,
-0.008922605775296688,
0.012461107224225998,
-0.05179911106824875,
-0.01841242052614689,
0.004142794292420149,
0.012836336158216,
0.004895434714853764,
0.00023397298355121166,
0.004908523987978697,
0.01548039447516203,
0.022566121071577072,
0.04966990277171135,
-0.01189389917999506,
0.0205067228525877,
0.04904161021113396,
-0.04125778377056122,
0.005589172709733248,
-0.03237444534897804,
0.015550204552710056,
-0.030384855344891548,
0.004629283677786589,
-0.03167634457349777,
0.04240964725613594,
-0.012155687436461449,
0.038290850818157196,
-0.06994973868131638,
0.04960009083151817,
0.026510393247008324,
-0.0129846828058362,
0.06981012225151062,
-0.005754971876740456,
0.012827609665691853,
-0.011701921932399273,
-0.02649294212460518,
0.02014021947979927,
-0.01187644712626934,
-0.012810157611966133,
0.05745372921228409,
0.05919898301362991,
0.0020528538152575493,
-0.029058463871479034,
0.006610145792365074,
0.044818099588155746,
0.05881502851843834,
-0.03909366950392723,
-0.010349350981414318,
0.022286880761384964,
0.008695723488926888,
-0.007242800202220678,
0.03059428557753563,
-0.021484065800905228,
0.006304726470261812,
0.030664095655083656,
-0.04024553671479225,
-0.008826617151498795,
-0.0047950828447937965,
0.028988653793931007,
-0.05745372921228409,
-0.06918182969093323,
0.03577768802642822,
0.020646343007683754,
-0.027365567162632942,
-0.08593626320362091,
0.023491106927394867,
0.0504378117620945,
-0.007801281288266182,
-0.05218306556344032,
-0.04164173826575279,
-0.006583967246115208,
-0.010279540903866291,
0.01688532344996929,
-0.0975247398018837,
-0.007020280230790377,
-0.01014864630997181,
0.0050306920893490314,
-0.0010362439788877964,
-0.046772781759500504,
-0.014398337341845036,
0.01898835226893425,
-0.016876596957445145,
-0.030297592282295227,
-0.04073420539498329,
0.03308999910950661,
0.024904761463403702,
0.012094603851437569,
0.03506213426589966,
-0.0042955041863024235,
-0.09270784258842468,
-0.04083891957998276,
-0.017539793625473976,
0.016291936859488487,
0.0097210593521595,
-0.003067282261326909,
-0.05466132611036301,
0.007862364873290062,
0.020332198590040207,
0.09954923391342163,
-0.006008033640682697,
0.02661510929465294,
0.06230553239583969,
-0.03867480903863907,
-0.012609452940523624,
0.000590113690122962,
0.03363102674484253,
0.00270732375793159,
-0.005650256760418415,
0.020663795992732048,
-0.030175425112247467,
-0.014319801703095436,
-0.029756564646959305,
0.05804711580276489,
0.021396802738308907,
0.013787498697638512,
-0.013743868097662926,
-0.017784127965569496,
0.020785963162779808,
0.05640657991170883,
0.008285588584840298,
-0.007098816800862551,
0.05340474471449852,
0.001133323647081852,
-0.019669001922011375,
0.003599584335461259,
0.01353443693369627,
-0.021623685956001282,
0.039687056094408035,
-0.0565112940967083,
-0.003918093163520098,
0.0419209785759449,
0.0683441087603569,
0.014651399105787277,
-0.045062433928251266,
-0.05556885525584221,
0.014101644977927208,
-0.021641137078404427,
-0.022740647196769714,
-0.03933800384402275,
-0.004555110353976488,
0.029180631041526794,
-0.024555711075663567,
0.0504378117620945,
-0.023473653942346573,
0.009965394623577595,
0.033369239419698715,
-0.016065053641796112,
-0.009843227453529835,
-0.12216771394014359,
-0.008695723488926888,
0.020733606070280075,
0.03319471329450607,
0.006291637197136879,
-0.05291607230901718,
-0.028517434373497963,
-0.025829745456576347,
-0.01788884401321411,
0.05745372921228409,
0.03363102674484253,
0.003939908929169178,
-0.03167634457349777,
-0.02099539339542389,
0.0235434640198946,
-0.044818099588155746,
-0.010419161058962345,
-0.010567506775259972,
-0.011963709257543087,
-0.03071645274758339,
0.009502902626991272,
-0.023595821112394333,
0.011483765207231045,
-0.023403843864798546,
-0.08084011822938919,
0.034521106630563736,
-0.025131644681096077,
0.06307344883680344,
0.033281974494457245,
0.027225947007536888,
-0.04680768772959709,
-0.06426021456718445,
0.006976649165153503,
0.06017632409930229,
0.039268191903829575,
0.029232988134026527,
0.08097974210977554,
0.016536273062229156,
-0.007111906073987484,
-0.009241115301847458,
0.03661540895700455,
-0.05455661192536354,
0.047191642224788666,
-0.024084491655230522,
0.009546534158289433,
-0.05277645215392113,
-0.009511629119515419,
-0.07385911047458649,
-0.013019587844610214,
0.03801161050796509,
0.012085877358913422,
-0.03186831995844841,
-0.0008693541749380529,
-0.05389341339468956,
-0.009607617743313313,
-0.04359642043709755,
0.034067340195178986,
0.03916347771883011,
-0.013010861352086067,
0.0021695676259696484,
-0.0075569455511868,
-0.0006975558353587985,
0.03071645274758339,
0.04188607260584831,
-0.05780278146266937,
-0.012687989510595798,
0.008857158944010735,
0.03542863577604294,
-0.08614569157361984,
0.04785483703017235,
0.03717388957738876,
-0.009904311038553715,
0.003667213022708893,
-0.026807086542248726,
0.017147110775113106,
-0.0010602412512525916,
-0.014703757129609585,
0.010654769837856293,
-0.057279206812381744,
0.00757876131683588,
-0.04893689602613449,
0.03235699236392975,
0.040699299424886703,
-0.02029729261994362,
0.000724825426004827,
0.03539373353123665,
-0.03567297384142876,
0.012007340788841248,
0.0013242107816040516,
-0.00655342498794198,
-0.07986278086900711,
-0.012443654239177704,
0.018517134711146355,
0.007727107964456081,
0.06516774743795395,
0.04754069447517395,
0.01554147806018591,
0.022496310994029045,
-0.00757876131683588,
0.028325457125902176,
0.0370691753923893,
-0.024712782353162766,
0.04265398532152176,
0.03104805201292038,
-0.05968765541911125,
-0.02087322622537613,
-0.056860342621803284,
0.01865675486624241,
-0.000507214164827019,
-0.02530616894364357,
-0.0008164512109942734,
-0.06401588022708893,
-0.041083257645368576,
0.017330363392829895,
0.08928714692592621,
0.03186831995844841,
0.03703426942229271,
-0.009118947200477123,
0.07204404473304749,
-0.01719946786761284,
-0.0023582731373608112,
-0.03640597686171532,
-0.012443654239177704,
0.010157372802495956,
-0.023595821112394333,
-0.026999063789844513,
0.028447624295949936,
0.014345980249345303,
-0.049774616956710815,
0.02202509343624115,
0.03548099473118782,
-0.042304933071136475,
0.00013873398711439222,
0.12188847362995148,
-0.051659490913152695,
-0.004598741885274649,
0.05930369719862938,
-0.010811842978000641,
0.001785611966624856,
-0.09633796662092209,
0.008451388217508793,
0.03171124681830406,
0.04401528090238571,
0.005157222971320152,
-0.027452830225229263,
0.015183701179921627,
-0.04991423711180687,
0.04380585253238678,
0.025288715958595276,
-0.0019405032508075237,
0.009939216077327728,
-0.06523755937814713,
0.004075165838003159,
-0.039233289659023285,
-0.04240964725613594,
0.03727860376238823,
0.03731350973248482,
-0.020681248977780342,
-0.015969065949320793,
-0.041083257645368576,
0.035097040235996246,
0.013953298330307007,
0.008800438605248928,
-0.05131043866276741,
0.01977371610701084,
-0.041571926325559616,
0.007984532974660397,
-0.0012565822107717395,
0.003675939282402396,
0.020314745604991913,
-0.05106610432267189,
0.04380585253238678,
-0.016475189477205276,
0.04000119864940643,
-0.04429452121257782,
-0.0534745529294014,
-0.0011087810853496194,
0.042514365166425705,
-0.05888483673334122,
0.009049137122929096,
-0.03954743221402168,
0.022374143823981285,
-0.051205724477767944,
0.024049587547779083,
-0.009851953014731407,
0.04502752795815468,
0.014337253756821156,
0.01464267261326313,
-0.0662149041891098,
0.00544518930837512,
0.0002335639437660575,
0.041781358420848846,
0.02223452366888523,
0.05385850742459297,
0.03769746422767639,
-0.04827369749546051,
-0.023281674832105637,
-0.030978241935372353,
0.00988685805350542,
-0.04729635640978813,
-0.032706040889024734,
0.0531604066491127,
-0.024765141308307648,
-0.03563806787133217,
-0.01219931896775961,
0.0479944571852684,
0.019669001922011375,
-0.06649414449930191,
0.02506183460354805,
0.005432100035250187,
0.007709655445069075,
0.02661510929465294,
0.0024891672655940056,
0.028430171310901642,
-0.01353443693369627,
0.04960009083151817,
0.035952214151620865,
0.019546834751963615,
-0.023700537160038948,
0.006570877507328987,
0.007700928952544928,
0.012120782397687435,
-0.06303854286670685,
0.05532452091574669,
-0.00022742828878108412,
0.045586008578538895,
-0.08251556754112244,
0.033613573759794235,
0.007565672043710947,
0.05288116633892059
] |
709,992
|
urllib3_future._async.response
|
__del__
| null |
def __del__(self) -> None:
if not self.closed:
if not self.closed and self._fp:
self._fp.close()
if not self.auto_close:
io.IOBase.close(self)
|
(self) -> NoneType
|
[
-0.00767939630895853,
-0.031545884907245636,
-0.009093673899769783,
0.03085857257246971,
-0.03385455161333084,
-0.01968533731997013,
-0.04176745563745499,
0.09432043135166168,
-0.020178792998194695,
-0.0013151462189853191,
-0.006119725294411182,
-0.04934551939368248,
0.04388226568698883,
0.023562485352158546,
-0.020513636991381645,
0.049169283360242844,
-0.049944713711738586,
0.018275465816259384,
-0.027104787528514862,
0.0004750056832563132,
-0.062386833131313324,
0.010653344914317131,
-0.032585665583610535,
-0.057346541434526443,
-0.0019330666400492191,
0.042190417647361755,
0.006613180506974459,
-0.007362175267189741,
-0.011992722749710083,
-0.040287092328071594,
-0.0715862512588501,
-0.0031171387527137995,
0.02206449583172798,
0.05072014406323433,
0.014680291526019573,
0.022593198344111443,
-0.018451698124408722,
-0.009957220405340195,
-0.032585665583610535,
0.03767882660031319,
0.027985958382487297,
0.02752774953842163,
0.005732010584324598,
-0.046561021357774734,
-0.014768408611416817,
0.0470544770359993,
-0.03438325226306915,
0.01079433225095272,
0.025113344192504883,
-0.043424054980278015,
-0.0030422392301261425,
0.0593203604221344,
-0.02352723851799965,
0.019068518653512,
0.015808189287781715,
0.018416451290249825,
0.054033342748880386,
0.015464533120393753,
-0.011948664672672749,
-0.039476413279771805,
0.013288043439388275,
-0.0018790949834510684,
0.024514148011803627,
-0.04804138466715813,
0.012644789181649685,
0.052940692752599716,
-0.007644149474799633,
0.04053381830453873,
0.04201418533921242,
0.030100766569375992,
0.006723326630890369,
-0.008961498737335205,
-0.012494989670813084,
0.04768892005085945,
0.018469322472810745,
-0.0299950260668993,
-0.015817001461982727,
-0.03433038294315338,
0.02419692650437355,
-0.07578061521053314,
0.03484145924448967,
0.02918434888124466,
-0.03274427726864815,
0.050367675721645355,
0.03522917628288269,
-0.06901323050260544,
0.04592657834291458,
-0.0015475547406822443,
-0.026822812855243683,
0.06323275715112686,
0.01445118710398674,
0.03979363664984703,
-0.018892284482717514,
-0.05917937308549881,
0.07052884250879288,
-0.04952175170183182,
-0.0735953152179718,
0.02657608687877655,
0.010547604411840439,
-0.022804679349064827,
-0.03609272092580795,
-0.011393527500331402,
0.0018086013151332736,
0.00008143937884597108,
0.008952686563134193,
-0.02410881035029888,
0.04892255738377571,
-0.03188072890043259,
-0.044763434678316116,
-0.03247992321848869,
-0.062210600823163986,
-0.011190858669579029,
-0.030682338401675224,
0.04938076436519623,
0.025465812534093857,
-0.021853014826774597,
-0.05135458707809448,
0.01735023595392704,
0.02002018131315708,
-0.011270163580775261,
-0.015596708282828331,
0.017605775967240334,
-0.0805036872625351,
-0.022557951509952545,
0.043565042316913605,
0.00936683639883995,
-0.008622247725725174,
0.005520530045032501,
0.05357513204216957,
0.006948024965822697,
-0.029149102047085762,
0.05685308575630188,
0.016654111444950104,
-0.016997769474983215,
-0.01394892018288374,
0.010759085416793823,
0.023544861003756523,
0.0005826736451126635,
-0.04183794930577278,
0.002130228327587247,
-0.043424054980278015,
-0.02557155303657055,
-0.017649834975600243,
-0.024443654343485832,
0.03901820629835129,
0.03859524428844452,
0.0015497576678171754,
-0.028602777048945427,
-0.0735248252749443,
-0.04074529930949211,
-0.023544861003756523,
0.011005813255906105,
-0.03362544625997543,
0.03630420193076134,
0.027069540694355965,
-0.019068518653512,
-0.05205952003598213,
0.08339392393827438,
-0.03323772922158241,
-0.013173490762710571,
0.017376672476530075,
0.055443212389945984,
-0.0018273262539878488,
-0.02002018131315708,
0.019473856315016747,
-0.03433038294315338,
-0.009736928157508373,
-0.009763362817466259,
0.02856753021478653,
0.0003106124058831483,
-0.05015619471669197,
-0.008657494559884071,
0.034488990902900696,
0.027562996372580528,
-0.03644518926739693,
0.05470303073525429,
0.037291113287210464,
0.028972867876291275,
-0.023738719522953033,
0.0014671479584649205,
-0.01052998099476099,
-0.07704950124025345,
-0.05946134775876999,
-0.022734185680747032,
0.055407967418432236,
-0.008780858479440212,
0.014786032028496265,
-0.005304642952978611,
0.0053663249127566814,
-0.001977125182747841,
-0.011085118167102337,
-0.0024893051013350487,
-0.0013856397708877921,
0.010018902830779552,
0.07324285060167313,
-0.05128409340977669,
-0.034101277589797974,
-0.007172723300755024,
0.059390854090452194,
0.039335425943136215,
-0.038137037307024,
0.06192862614989281,
0.03537016361951828,
-0.03669191896915436,
-0.046173304319381714,
0.05632438510656357,
0.011217293329536915,
-0.020002558827400208,
-0.04871107637882233,
0.054174330085515976,
0.0019980529323220253,
-0.002504725707694888,
-0.003881553653627634,
-0.012724094092845917,
0.07592160254716873,
-0.02358010783791542,
-0.012591918930411339,
0.0014572348445653915,
-0.05332840606570244,
0.05234149470925331,
0.034013159573078156,
0.04405849799513817,
-0.017755575478076935,
-0.005190091207623482,
-0.005251773167401552,
0.022134989500045776,
-0.0029254842083901167,
0.021324312314391136,
0.023897329345345497,
-0.02347436733543873,
0.010221571661531925,
0.034488990902900696,
-0.007300493307411671,
0.010362558998167515,
0.02585352584719658,
0.011076305992901325,
-0.0579809844493866,
0.028250308707356453,
-0.08959735929965973,
-0.025606799870729446,
-0.004209789447486401,
-0.05805147811770439,
-0.013155867345631123,
-0.004626142326742411,
0.020284531638026237,
0.03626895695924759,
0.04211992397904396,
0.0573112927377224,
0.06411392986774445,
-0.017834879457950592,
0.0633384957909584,
-0.05509074777364731,
-0.001746919471770525,
-0.020954221487045288,
-0.0030664715450257063,
-0.09340401738882065,
-0.031158169731497765,
-0.0953778401017189,
0.03360782191157341,
0.023985445499420166,
0.0259063970297575,
0.02856753021478653,
0.044904422014951706,
0.03785506263375282,
0.018037548288702965,
0.021553417667746544,
0.050085701048374176,
-0.08755304664373398,
0.026928553357720375,
-0.01461861003190279,
0.07549864053726196,
-0.039582155644893646,
-0.013138243928551674,
-0.0579809844493866,
-0.04536262899637222,
0.01411634311079979,
-0.013561205938458443,
-0.013041315600275993,
-0.0036039850674569607,
0.022505080327391624,
0.08522675931453705,
0.00034585921093821526,
0.06390244513750076,
0.030294623225927353,
0.02148292399942875,
0.03593410924077034,
-0.0279507115483284,
0.00761771434918046,
0.01383436843752861,
-0.023597732186317444,
-0.04754793271422386,
-0.03915919363498688,
-0.009966032579541206,
0.09009081870317459,
0.06897798180580139,
-0.011481644585728645,
-0.06030727177858353,
-0.029818791896104813,
0.034964825958013535,
0.0034894330892711878,
-0.048464346677064896,
-0.03032987006008625,
-0.010952943004667759,
0.0573112927377224,
-0.029959779232740402,
-0.0388772189617157,
0.022804679349064827,
-0.01435425877571106,
0.019227128475904465,
0.03332584723830223,
0.03937067463994026,
0.006745356135070324,
-0.033960290253162384,
0.01573769561946392,
0.06009579077363014,
-0.010688591748476028,
-0.014204460196197033,
0.02657608687877655,
-0.0036788845900446177,
0.04441096633672714,
-0.051319338381290436,
-0.03937067463994026,
-0.002158866496756673,
-0.0038903653621673584,
-0.009842668659985065,
-0.013719816692173481,
0.020830858498811722,
0.06097695976495743,
0.02414405718445778,
0.017720328643918037,
-0.017420729622244835,
0.00288803456351161,
-0.0053266724571585655,
-0.021218571811914444,
-0.0014396114274859428,
-0.04180270433425903,
0.015720071271061897,
-0.06048350781202316,
0.022734185680747032,
-0.038665737956762314,
-0.06591151654720306,
0.01283864676952362,
0.04462244734168053,
-0.007040548138320446,
-0.10010090470314026,
0.017843691632151604,
-0.01407228410243988,
-0.033343471586704254,
0.0845923200249672,
-0.01578175462782383,
0.053222667425870895,
0.021271442994475365,
-0.0005311802960932255,
0.01283864676952362,
0.019227128475904465,
-0.013508335687220097,
0.01001009065657854,
0.06915421783924103,
0.038524750620126724,
-0.019984934478998184,
0.05671209841966629,
-0.03309674561023712,
-0.03803129494190216,
-0.006304771173745394,
0.013684569858014584,
-0.01730617880821228,
-0.004899304825812578,
-0.00022166932467371225,
-0.024443654343485832,
0.007229999639093876,
-0.02780972421169281,
-0.06545330584049225,
-0.010344935581088066,
-0.0286203995347023,
0.014107530936598778,
0.03219795227050781,
0.03993462398648262,
0.06080072745680809,
0.03996986895799637,
0.01996731199324131,
0.007481133099645376,
0.032726652920246124,
-0.008979122154414654,
-0.02363297902047634,
-0.038101788610219955,
-0.0429658479988575,
-0.029554439708590508,
0.031246287748217583,
0.00924347247928381,
0.03470047190785408,
0.02666420303285122,
-0.014363070018589497,
0.013402595184743404,
-0.040287092328071594,
0.021165702491998672,
0.010961754247546196,
-0.01394892018288374,
-0.016900839284062386,
0.0013647120213136077,
0.03993462398648262,
-0.0016654112841933966,
0.03531729057431221,
-0.03662142530083656,
0.027686359360814095,
0.04786515235900879,
0.03912394493818283,
0.0416264683008194,
0.009578317403793335,
0.0790233239531517,
-0.007560438476502895,
0.0033065902534872293,
-0.008670712821185589,
-0.0006900662556290627,
0.0009500113665126264,
0.07655604928731918,
0.004042366985231638,
0.021888261660933495,
-0.0170594509691,
0.0858611986041069,
0.03535253927111626,
-0.012591918930411339,
0.08529724925756454,
-0.010380182415246964,
-0.01257429551333189,
-0.0674271285533905,
-0.043811772018671036,
-0.02176489867269993,
0.012794587761163712,
0.0022734184749424458,
0.02139480598270893,
-0.04539787769317627,
-0.002167678205296397,
-0.0134730888530612,
0.009349212981760502,
-0.021976379677653313,
0.03792555630207062,
-0.029959779232740402,
0.008049488067626953,
0.023597732186317444,
0.013261607848107815,
0.05057915672659874,
-0.009604752995073795,
0.013578829355537891,
-0.023932576179504395,
-0.0019198490772396326,
-0.046032316982746124,
0.06326800584793091,
0.04811187833547592,
-0.0016037293244153261,
-0.010239195078611374,
-0.004223007243126631,
0.0030973125249147415,
-0.040428079664707184,
-0.04645527899265289,
-0.06647545844316483,
-0.008071516640484333,
0.05537271872162819,
-0.018698425963521004,
-0.015173747204244137,
0.0028704111464321613,
-0.005784880835562944,
0.08388738334178925,
0.014962266199290752,
-0.06566478312015533,
-0.04782990738749504,
-0.0167246051132679,
0.04567985236644745,
-0.01549977995455265,
-0.03297337889671326,
0.0002471406478434801,
-0.007243216969072819,
-0.013904862105846405,
-0.05646537244319916,
-0.016143033280968666,
-0.05424482375383377,
0.008965904824435711,
0.02428504452109337,
0.07535765320062637,
0.03669191896915436,
-0.02557155303657055,
0.0023593325167894363,
-0.054174330085515976,
-0.024549394845962524,
-0.03304387256503105,
-0.02676994353532791,
-0.006758573465049267,
0.025976890698075294,
-0.06122368946671486,
0.01787012629210949,
0.021095208823680878,
-0.005331078078597784,
-0.023227639496326447,
-0.034577108919620514,
-0.0654180571436882,
0.05639487877488136,
0.011886983178555965,
-0.040146104991436005,
-0.00991316232830286,
-0.004797970410436392,
-0.11370617151260376,
-0.01179005391895771,
0.009261095896363258,
-0.08163158595561981,
0.0034519832115620375,
0.02881425805389881,
-0.046173304319381714,
0.029307713732123375,
-0.006273929961025715,
-0.04215517267584801,
-0.03276189789175987,
-0.055830929428339005,
-0.011199669912457466,
0.022187858819961548,
0.037573087960481644,
0.049134038388729095,
-0.0007611105684190989,
-0.04620855301618576,
0.0006647325935773551,
-0.02581827901303768,
0.001114679966121912,
0.04962749406695366,
0.009604752995073795,
-0.014874149113893509,
-0.006489816587418318,
-0.06122368946671486,
-0.020795611664652824,
0.001928660785779357,
0.03951166197657585,
0.023280510678887367,
0.0066175865940749645,
0.04412899166345596,
-0.06587626785039902,
-0.000402859877794981,
-0.06041301414370537,
-0.008313838392496109,
0.02268131449818611,
-0.029360583052039146,
-0.061012208461761475,
-0.010018902830779552,
0.011701936833560467,
-0.0038441040087491274,
0.01915663480758667,
0.04197893664240837,
0.0012479569995775819,
-0.0279507115483284,
-0.020284531638026237,
0.014653856866061687,
-0.003540100296959281,
0.08621367067098618,
0.025589175522327423,
0.03676241263747215,
-0.018028737977147102,
0.05632438510656357,
-0.006956836674362421,
0.026470346376299858,
0.030735207721590996,
0.030576597899198532,
0.0004392081464175135,
0.01683034561574459,
-0.04645527899265289,
-0.033061496913433075,
0.05244723707437515,
0.00048602031893096864,
0.00915535632520914,
0.036127969622612,
-0.003084094962105155,
0.07331334054470062,
-0.008679524064064026,
0.019984934478998184,
-0.030576597899198532,
-0.012177769094705582,
-0.030294623225927353,
0.08015122264623642,
-0.04842910170555115,
0.03993462398648262,
-0.013552393764257431,
-0.0023747531231492758,
0.027404386550188065,
0.003546709194779396,
-0.03318485990166664,
-0.024796122685074806,
0.00703614205121994,
-0.026981424540281296,
-0.06034252047538757,
-0.02599451318383217,
-0.03279714658856392,
0.02581827901303768,
-0.020901352167129517,
-0.03276189789175987,
-0.009754551574587822,
0.007419451139867306,
-0.03318485990166664,
0.022892795503139496,
-0.08515626192092896,
-0.035440657287836075,
0.03739685192704201,
0.035493526607751846,
-0.009296342730522156,
0.009904350154101849,
0.017940619960427284,
-0.012036781758069992,
-0.010045337490737438,
-0.05086113139986992,
-0.011631443165242672,
-0.025659669190645218,
0.09241710603237152,
-0.03799604997038841,
0.04293059930205345,
-0.016081351786851883,
0.05103736370801926,
-0.03369593992829323,
-0.0012127101654186845,
0.053927600383758545,
-0.022787055000662804,
-0.015023947693407536,
0.005533747375011444,
0.00813319906592369,
0.0038727419450879097,
-0.05184803903102875,
0.049557000398635864,
-0.0026060601230710745,
-0.053821861743927,
-0.0004312225501053035,
0.02618837170302868,
-0.04416424036026001,
0.028444167226552963,
-0.03318485990166664,
-0.011085118167102337,
-0.03774932026863098,
0.06859026849269867,
-0.012257074005901814,
-0.01103224791586399,
0.027985958382487297,
0.057064566761255264,
-0.001274392008781433,
0.038630492985248566,
-0.003079689107835293,
0.03297337889671326,
0.040569063276052475,
-0.037432100623846054,
0.030964313074946404,
-0.03803129494190216,
0.006754167843610048,
-0.02305140532553196,
-0.04680774733424187,
-0.049803726375103,
0.015200181864202023,
-0.03669191896915436,
0.043952759355306625,
-0.056923579424619675,
-0.018099231645464897,
0.04652577266097069,
0.0027977146673947573,
-0.08191356062889099,
0.006472193170338869,
-0.07803641259670258,
0.0470544770359993,
0.013552393764257431,
-0.015746507793664932,
0.07789542526006699,
-0.03551115095615387,
-0.02315714582800865,
0.010195136070251465,
0.023791588842868805,
0.0259063970297575,
-0.009763362817466259,
-0.014653856866061687,
0.03249754756689072,
-0.0695066899061203,
-0.03609272092580795,
-0.046173304319381714,
0.06280979514122009,
-0.03024175390601158,
-0.020689871162176132,
-0.009736928157508373,
-0.00760449655354023,
0.04782990738749504,
-0.00416132528334856,
-0.022540327161550522,
0.038383763283491135,
-0.042754366993904114,
0.06820255517959595,
-0.015772942453622818,
-0.03979363664984703,
0.057205554097890854,
0.055125992745161057,
-0.03237418457865715,
-0.009728115983307362,
-0.036868151277303696,
-0.05234149470925331,
0.016980145126581192,
0.061963871121406555,
0.004828811623156071,
-0.03693864494562149,
-0.05463253706693649,
-0.0167246051132679,
0.003883756697177887,
-0.03494720160961151,
-0.009895538911223412,
-0.029783545061945915,
0.01735023595392704,
-0.011129176244139671,
0.05230624973773956,
-0.02571254037320614,
0.02134193666279316,
0.014389505609869957,
-0.007115447428077459,
0.020337402820587158,
-0.009710492566227913,
0.028743764385581017,
0.005696763750165701,
0.039758387953042984,
-0.02994215488433838,
0.023703472688794136,
0.030840948224067688,
0.05061440169811249,
-0.028250308707356453,
-0.01305012684315443,
0.013402595184743404,
-0.014230894856154919,
-0.006243089213967323,
0.0344184972345829,
0.015676014125347137,
0.0012358408421278,
0.0059302737936377525,
-0.020513636991381645,
-0.06263355910778046,
0.002069647889584303,
-0.03085857257246971,
0.011569761671125889,
-0.023544861003756523,
-0.025219084694981575,
-0.02067224681377411,
0.0334492102265358,
-0.05216526240110397,
-0.055689942091703415,
0.06866076588630676,
0.03683290258049965,
0.04596182703971863,
-0.010582851245999336,
-0.042190417647361755,
-0.03778456896543503,
-0.014081096276640892,
0.0269461777061224,
0.07137476652860641,
-0.021377183496952057,
0.002524551935493946,
0.06964767724275589,
-0.031211040914058685,
0.012759340927004814,
0.009675245732069016,
0.009860292077064514,
0.04857008904218674,
0.08163158595561981,
0.0015684824902564287,
-0.018469322472810745,
-0.03845425695180893,
0.0028527877293527126,
-0.011543326079845428,
0.003760392777621746,
-0.06633447110652924,
0.013164679519832134,
0.05205952003598213,
0.014468810521066189,
0.03665667027235031,
0.03417177125811577,
-0.0238620825111866,
0.012530236504971981
] |
709,993
|
urllib3_future._async.response
|
__init__
| null |
def __init__(
self,
body: _TYPE_BODY = "",
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
status: int = 0,
version: int = 0,
reason: str | None = None,
preload_content: bool = True,
decode_content: bool = True,
original_response: AsyncLowLevelResponse | None = None,
pool: AsyncHTTPConnectionPool | None = None,
connection: AsyncHTTPConnection | None = None,
msg: Message | None = None,
retries: Retry | None = None,
enforce_content_length: bool = True,
request_method: str | None = None,
request_url: str | None = None,
auto_close: bool = True,
police_officer: AsyncTrafficPolice[AsyncHTTPConnection] | None = None,
) -> None:
if isinstance(headers, HTTPHeaderDict):
self.headers = headers
else:
self.headers = HTTPHeaderDict(headers) # type: ignore[arg-type]
try:
self.status = int(status)
except ValueError:
self.status = 0 # merely for tests, was supported due to broken httplib.
self.version = version
self.reason = reason
self.decode_content = decode_content
self._has_decoded_content = False
self._request_url: str | None = request_url
self._retries: Retry | None = None
self.retries = retries
self.chunked = False
if "transfer-encoding" in self.headers:
tr_enc = self.headers.get("transfer-encoding", "").lower()
# Don't incur the penalty of creating a list and then discarding it
encodings = (enc.strip() for enc in tr_enc.split(","))
if "chunked" in encodings:
self.chunked = True
self._decoder: ContentDecoder | None = None
self.enforce_content_length = enforce_content_length
self.auto_close = auto_close
self._body = None
self._fp: AsyncLowLevelResponse | typing.IO[typing.Any] | None = None # type: ignore[assignment]
self._original_response = original_response # type: ignore[assignment]
self._fp_bytes_read = 0
if msg is not None:
warnings.warn(
"Passing msg=.. is deprecated and no-op in urllib3.future and is scheduled to be removed in a future major.",
DeprecationWarning,
stacklevel=2,
)
self.msg = msg
if body and isinstance(body, (str, bytes)):
self._body = body
self._pool: AsyncHTTPConnectionPool = pool # type: ignore[assignment]
self._connection: AsyncHTTPConnection = connection # type: ignore[assignment]
if hasattr(body, "read"):
self._fp = body # type: ignore[assignment]
# Are we using the chunked-style of transfer encoding?
self.chunk_left: int | None = None
# Determine length of response
self.length_remaining: int | None = self._init_length(request_method)
# Used to return the correct amount of bytes for partial read()s
self._decoded_buffer = BytesQueueBuffer()
self._police_officer: AsyncTrafficPolice[AsyncHTTPConnection] | None = police_officer # type: ignore[assignment]
if self._police_officer is not None:
self._police_officer.memorize(self, self._connection)
|
(self, body: '_TYPE_BODY' = '', headers: 'typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None' = None, status: 'int' = 0, version: 'int' = 0, reason: 'str | None' = None, preload_content: 'bool' = True, decode_content: 'bool' = True, original_response: 'AsyncLowLevelResponse | None' = None, pool: 'AsyncHTTPConnectionPool | None' = None, connection: 'AsyncHTTPConnection | None' = None, msg: 'Message | None' = None, retries: 'Retry | None' = None, enforce_content_length: 'bool' = True, request_method: 'str | None' = None, request_url: 'str | None' = None, auto_close: 'bool' = True, police_officer: 'AsyncTrafficPolice[AsyncHTTPConnection] | None' = None) -> 'None'
|
[
-0.017227983102202415,
-0.03399387374520302,
-0.10254417359828949,
-0.006067464593797922,
-0.038273245096206665,
0.006424079183489084,
-0.00880987849086523,
0.040925249457359314,
-0.05316063389182091,
-0.05918791890144348,
0.08293541520833969,
0.08044413477182388,
0.015078253112733364,
0.044521529227495193,
-0.006218146998435259,
0.07964050024747849,
0.02117585390806198,
0.01444538775831461,
0.005278895143419504,
-0.08438196033239365,
0.004809269681572914,
0.04544571414589882,
0.004131200257688761,
0.06413029134273529,
0.006313578691333532,
0.035741787403821945,
-0.05255790799856186,
-0.032266054302453995,
0.027785774320364,
-0.0017190312501043081,
0.05737973377108574,
0.0077902632765471935,
-0.0010535188484936953,
0.032306235283613205,
-0.0028554252348840237,
0.01904621347784996,
-0.020221533253788948,
-0.010065562091767788,
-0.06609920412302017,
0.010537699796259403,
-0.049343355000019073,
-0.02240140177309513,
-0.03903670236468315,
-0.03572169691324234,
0.004359734710305929,
-0.0005091798375360668,
-0.03544042259454727,
0.03765042871236801,
0.02999577857553959,
-0.016233481466770172,
-0.0326879657804966,
0.030096232891082764,
0.023928312584757805,
-0.022984039038419724,
-0.010296608321368694,
0.0862303301692009,
-0.037047699093818665,
0.044280439615249634,
-0.05480809137225151,
0.02521413378417492,
-0.0613175593316555,
0.03465687483549118,
0.011411655694246292,
-0.022501856088638306,
-0.03457651287317276,
-0.011723064817488194,
-0.0011276041623204947,
0.0006943932385183871,
-0.0009505527559667826,
-0.00751903560012579,
0.058344099670648575,
0.06388919800519943,
-0.03114096075296402,
-0.00197644648142159,
0.0331098735332489,
-0.0013322806917130947,
-0.013762296177446842,
0.005710850469768047,
-0.0005616046255454421,
-0.009970130398869514,
0.04825844615697861,
0.03889606520533562,
0.02426985837519169,
-0.06549647450447083,
0.05669664219021797,
-0.060795191675424576,
0.021838854998350143,
-0.00937744788825512,
-0.05211590602993965,
0.01301893126219511,
-0.04223116114735603,
0.004776621703058481,
-0.018604213371872902,
-0.03517924249172211,
0.009231788106262684,
-0.011170564219355583,
-0.014174160547554493,
-0.0314624160528183,
-0.01573120802640915,
-0.01201438345015049,
-0.0502675399184227,
0.02370731346309185,
-0.026982136070728302,
0.0009028367348946631,
0.023084493353962898,
-0.03168341517448425,
0.017840757966041565,
-0.0314624160528183,
-0.008242309093475342,
-0.05408481881022453,
0.03306969255208969,
-0.02836841158568859,
-0.03276832774281502,
0.04829862713813782,
-0.018744850531220436,
0.03564133122563362,
-0.0294332318007946,
-0.0482182614505291,
-0.027785774320364,
0.004384848289191723,
-0.02346622198820114,
-0.005997146479785442,
-0.017017029225826263,
0.010899336077272892,
0.02252194657921791,
0.02019139751791954,
0.000269972049864009,
-0.04721371456980705,
0.042070433497428894,
-0.04805753380060196,
0.0013134453911334276,
0.01790102943778038,
0.029975686222314835,
0.07759121805429459,
0.00283031165599823,
0.040322523564100266,
-0.05074972286820412,
0.03959924727678299,
-0.03174369037151337,
0.03296923637390137,
-0.0022213049232959747,
0.025836952030658722,
0.018423395231366158,
-0.05295972526073456,
0.003782120067626238,
-0.020794125273823738,
0.002036719350144267,
-0.08317650109529495,
-0.03315005451440811,
-0.004080972634255886,
0.01503807120025158,
-0.05054881051182747,
-0.0028830503579229116,
0.0694744810461998,
0.014425297267735004,
-0.025595860555768013,
-0.015389662235975266,
-0.008312627673149109,
0.00002929275251517538,
0.003078937064856291,
-0.007478853687644005,
-0.015580526553094387,
0.03536006063222885,
-0.04303479939699173,
0.008674264885485172,
-0.02782595530152321,
0.058464642614126205,
-0.07063975185155869,
0.023225130513310432,
0.04500371217727661,
-0.033451419323682785,
0.053200818598270416,
-0.03258750960230827,
-0.0033803011756390333,
-0.007338216993957758,
0.04797717183828354,
0.03752988204360008,
0.015007934533059597,
-0.0727292150259018,
-0.02848895639181137,
0.003669108496978879,
-0.025194043293595314,
-0.052316814661026,
-0.017720211297273636,
-0.0028830503579229116,
0.07759121805429459,
0.0024573735427111387,
0.017951257526874542,
0.041829343885183334,
-0.002377009717747569,
-0.04026224836707115,
-0.021557582542300224,
0.0698762983083725,
0.0005531287752091885,
0.03136196359992027,
-0.007529080845415592,
-0.017177756875753403,
-0.004754019435495138,
0.07775194942951202,
0.0036665971856564283,
-0.04243206977844238,
0.029031412675976753,
0.03869515657424927,
0.04066406935453415,
-0.06268373876810074,
0.02386803925037384,
-0.027966592460870743,
0.01790102943778038,
-0.017961302772164345,
0.011451837606728077,
-0.06875120848417282,
-0.0016750823706388474,
-0.04327589273452759,
0.01351115945726633,
0.022300947457551956,
-0.015660889446735382,
0.0036766426637768745,
-0.02097494527697563,
0.043999165296554565,
0.012004338204860687,
0.0731310322880745,
0.021135671064257622,
-0.02991541475057602,
-0.043878618627786636,
0.026741044595837593,
0.026158407330513,
-0.032466962933540344,
0.0042341663502156734,
-0.0018345542484894395,
0.00710214814171195,
0.001196666737087071,
0.03369251266121864,
0.03162314370274544,
0.016092846170067787,
0.01936766877770424,
0.015751298516988754,
-0.03465687483549118,
0.04215079918503761,
-0.07385430485010147,
-0.005675691179931164,
0.039016611874103546,
-0.018523849546909332,
0.0020103498827666044,
0.015228934586048126,
-0.03407423943281174,
-0.027926411479711533,
-0.010818973183631897,
0.02730359137058258,
0.00010312304220860824,
-0.00395540427416563,
-0.03501851484179497,
-0.0300359595566988,
-0.04299461841583252,
-0.05480809137225151,
0.00018678298511076719,
-0.04753516986966133,
0.056013550609350204,
-0.08225232362747192,
0.011029927991330624,
0.02173840068280697,
0.03156287223100662,
0.003759517800062895,
-0.031944599002599716,
0.07831449806690216,
-0.05500900000333786,
-0.012818021699786186,
0.009995244443416595,
-0.026941955089569092,
-0.04194989055395126,
0.025274405255913734,
0.09997253119945526,
-0.02366713061928749,
0.039217520505189896,
0.005258804187178612,
-0.01675584726035595,
-0.016032572835683823,
0.012476475909352303,
-0.01896584965288639,
-0.04243206977844238,
-0.029774777591228485,
0.029654230922460556,
-0.01485725212842226,
0.05637518689036369,
-0.046811897307634354,
0.024952951818704605,
-0.011271018534898758,
-0.04022206738591194,
0.07759121805429459,
0.00532409967854619,
-0.037871427834033966,
-0.0018332985928282142,
-0.013912977650761604,
0.03126150742173195,
-0.00597705552354455,
0.022381311282515526,
-0.01479697972536087,
-0.04112616181373596,
0.015439889393746853,
0.028026865795254707,
-0.07309085130691528,
-0.03817279264330864,
-0.01187374722212553,
0.05432590842247009,
0.022200491279363632,
0.020774034783244133,
-0.05464736372232437,
-0.011230836622416973,
-0.002903141314163804,
-0.03065877966582775,
0.004158825147897005,
0.039418429136276245,
0.02097494527697563,
0.014515706337988377,
-0.0318843275308609,
0.008352809585630894,
0.026258861646056175,
0.033371057361364365,
0.03736915439367294,
0.027645137161016464,
0.019136622548103333,
-0.034757331013679504,
-0.021637946367263794,
0.00825737789273262,
0.018322939053177834,
-0.005218622274696827,
-0.004450143780559301,
0.03572169691324234,
0.011250928044319153,
-0.016685528680682182,
0.02493285946547985,
-0.06196046620607376,
0.02579677104949951,
-0.02256212942302227,
-0.026921862736344337,
-0.02354658581316471,
-0.006650102324783802,
-0.00793089997023344,
-0.021879035979509354,
0.038072336465120316,
-0.06573756784200668,
-0.021356672048568726,
-0.01896584965288639,
0.0061729419976472855,
0.05155336111783981,
-0.002724834019318223,
-0.05733955278992653,
0.030176596716046333,
-0.03106059692800045,
0.07297030836343765,
-0.05737973377108574,
-0.02394840307533741,
-0.05697791278362274,
0.017298301681876183,
0.07956013083457947,
0.03156287223100662,
-0.02983505092561245,
-0.008287513628602028,
-0.04468225687742233,
0.006414033472537994,
0.020372215658426285,
0.0008984418818727136,
0.0024448165204375982,
-0.0351390577852726,
0.03797188028693199,
-0.05187481641769409,
-0.00710214814171195,
0.02726341038942337,
0.012757748365402222,
-0.01868457719683647,
-0.00008067769522313029,
-0.01765993796288967,
-0.02991541475057602,
-0.04749498888850212,
0.0014842184027656913,
-0.01444538775831461,
-0.016816118732094765,
-0.05930846184492111,
0.005050360690802336,
-0.044200073927640915,
0.027323681861162186,
0.03306969255208969,
-0.001418922794982791,
-0.05729936808347702,
-0.03144232556223869,
0.013601568527519703,
-0.018202394247055054,
0.006268374156206846,
0.0030940051656216383,
0.01252670306712389,
0.05243736132979393,
0.03998097777366638,
0.004676166921854019,
0.018011530861258507,
-0.023265311494469643,
0.00314674386754632,
-0.0037168243434280157,
-0.033250510692596436,
0.036686062812805176,
-0.010658245533704758,
-0.05062917619943619,
0.04070425033569336,
0.010376972146332264,
0.03851433843374252,
0.0858285054564476,
-0.008955537341535091,
0.06224174052476883,
0.10198162496089935,
0.010818973183631897,
0.03765042871236801,
0.009739084169268608,
-0.002544015645980835,
-0.02501322329044342,
-0.04520462080836296,
-0.043878618627786636,
-0.04620916768908501,
-0.005791214294731617,
-0.01610289141535759,
-0.03612351417541504,
0.061116646975278854,
-0.012948612682521343,
0.017710166051983833,
0.05504918470978737,
-0.0016474573640152812,
-0.0038574610371142626,
-0.0021246171090751886,
0.0016926618991419673,
-0.00630353344604373,
0.01357143186032772,
-0.012958657927811146,
-0.014043568633496761,
0.03511896729469299,
0.01933753304183483,
-0.03893624618649483,
0.0022439071908593178,
0.0347372405230999,
0.051513176411390305,
-0.05488845705986023,
0.017911074683070183,
0.04950408264994621,
-0.024450678378343582,
0.01357143186032772,
0.01066829077899456,
-0.02346622198820114,
0.009231788106262684,
0.05693773180246353,
-0.00565057760104537,
-0.02121603488922119,
-0.0031994825694710016,
0.004676166921854019,
-0.020000534132122993,
0.018202394247055054,
0.0355609692633152,
0.01684625633060932,
0.009256902150809765,
-0.09338270127773285,
0.015108388848602772,
0.04223116114735603,
0.03118114359676838,
-0.07385430485010147,
-0.05034790188074112,
0.0482182614505291,
-0.027966592460870743,
0.041588250547647476,
-0.008834992535412312,
-0.033612146973609924,
0.06814847886562347,
0.05316063389182091,
-0.00995003990828991,
-0.03421487659215927,
-0.018383212387561798,
-0.00774505827575922,
0.003917733673006296,
0.009497993625700474,
0.013611613772809505,
-0.008001217618584633,
0.004972508177161217,
0.03847415745258331,
0.0034305285662412643,
-0.01009569875895977,
-0.06364810466766357,
0.0649741068482399,
-0.00790578592568636,
0.05938882753252983,
-0.0057711233384907246,
-0.008342764340341091,
-0.0674653872847557,
-0.007287989370524883,
0.0033451418858021498,
0.05529027432203293,
0.0025967543479055166,
-0.013561386615037918,
0.041668616235256195,
-0.005585282109677792,
-0.008136832155287266,
-0.00046271953033283353,
0.00661996565759182,
-0.033210329711437225,
0.020834308117628098,
0.005288940854370594,
-0.07047902792692184,
0.008066513575613499,
-0.05995137244462967,
0.05251772329211235,
-0.005128213204443455,
0.029151957482099533,
-0.022742947563529015,
-0.04580735042691231,
-0.009578357450664043,
0.010738609358668327,
-0.018995987251400948,
-0.012978749349713326,
0.024832405149936676,
-0.04970499128103256,
-0.024209586903452873,
-0.005454691126942635,
0.039016611874103546,
-0.04825844615697861,
0.04194989055395126,
-0.020995035767555237,
-0.03150259703397751,
0.07429631054401398,
0.08261395990848541,
0.048620082437992096,
-0.003061357419937849,
-0.043878618627786636,
-0.004239188972860575,
0.035822149366140366,
-0.016655391082167625,
0.010658245533704758,
-0.033371057361364365,
-0.00984958466142416,
-0.044039346277713776,
-0.006147828418761492,
-0.02386803925037384,
0.03903670236468315,
0.03284869343042374,
-0.06216137856245041,
-0.009739084169268608,
-0.04805753380060196,
-0.02639949880540371,
0.0392376109957695,
0.10591945052146912,
-0.024952951818704605,
-0.048901356756687164,
-0.049343355000019073,
-0.04010152071714401,
0.030598506331443787,
0.05653591454029083,
0.011200700886547565,
-0.014244478195905685,
-0.04966481029987335,
-0.0482182614505291,
0.024048859253525734,
-0.017680030316114426,
-0.08100668340921402,
-0.03429523855447769,
0.01379243191331625,
-0.03302951157093048,
0.03911706432700157,
-0.019799623638391495,
-0.0025063450448215008,
0.0023330608382821083,
-0.08606959879398346,
0.007539126556366682,
-0.00968383438885212,
0.06167919561266899,
0.041668616235256195,
0.04777626320719719,
-0.0032898918725550175,
-0.044280439615249634,
-0.005756055004894733,
0.029252413660287857,
-0.019759442657232285,
0.0070318300276994705,
0.03397378325462341,
0.005685736890882254,
-0.010437244549393654,
0.023365765810012817,
0.048780810087919235,
0.00791080854833126,
0.05038808658719063,
-0.02541504241526127,
-0.029814958572387695,
-0.10672308504581451,
-0.024691767990589142,
-0.040844887495040894,
0.013481022790074348,
0.020794125273823738,
0.029493503272533417,
-0.027323681861162186,
-0.04002115875482559,
-0.03817279264330864,
0.004944883286952972,
-0.01764989271759987,
0.02232103794813156,
0.06513483822345734,
-0.01732843741774559,
-0.0010855387663468719,
-0.001432735356502235,
0.0214571263641119,
0.017459029331803322,
0.0702781155705452,
-0.039056792855262756,
-0.02398858591914177,
0.019588669762015343,
0.007388444151729345,
-0.07714921981096268,
0.06613938510417938,
0.03306969255208969,
-0.03773079067468643,
0.019709214568138123,
-0.030558323487639427,
0.018855350092053413,
-0.024571223184466362,
-0.0331098735332489,
-0.05508936569094658,
-0.055852822959423065,
0.053964272141456604,
0.010577881708741188,
-0.0412667952477932,
0.0017742813797667623,
-0.04833880811929703,
-0.005891669075936079,
0.043958984315395355,
-0.05653591454029083,
0.051673904061317444,
0.005278895143419504,
-0.07353284955024719,
-0.05778155103325844,
-0.03483769670128822,
0.028087137266993523,
0.05159354209899902,
0.029252413660287857,
0.021437035873532295,
0.031703509390354156,
0.051673904061317444,
0.03142223507165909,
0.03493814915418625,
0.05219626799225807,
0.011441792361438274,
-0.004133711569011211,
-0.02828804776072502,
-0.01536957174539566,
0.0075039672665297985,
-0.03505869582295418,
0.02410913072526455,
0.00847837794572115,
-0.018292803317308426,
0.03889606520533562,
-0.009970130398869514,
-0.01671566441655159,
0.07244794070720673,
0.010467381216585636,
-0.019729305058717728,
-0.034676969051361084,
0.03984034061431885,
0.0021647990215569735,
0.0008576321415603161,
0.03612351417541504,
-0.003867506515234709,
0.00532409967854619,
-0.01586179994046688,
0.06806811690330505,
0.002366964239627123,
0.028267957270145416,
0.040844887495040894,
-0.012235384434461594,
-0.053924091160297394,
0.03327060118317604,
-0.009186583571135998,
0.02410913072526455,
0.036886971443891525,
0.015660889446735382,
0.016173208132386208,
0.0150179797783494,
0.04026224836707115,
-0.0006162268691696227,
-0.050910450518131256,
0.030879778787493706,
0.04070425033569336,
0.03935815766453743,
0.04283389076590538,
-0.08261395990848541,
0.006052396725863218,
0.01534948032349348,
-0.0019839806482195854,
-0.0001595503417775035,
0.009287038818001747,
-0.01679602824151516,
-0.10696417838335037,
0.056254640221595764,
0.009945016354322433,
-0.0355609692633152,
0.027685320004820824,
-0.002644470427185297,
0.010467381216585636,
-0.04556625708937645,
-0.11644710600376129,
0.025234224274754524,
0.01586179994046688,
0.029332777485251427,
-0.053682997822761536,
-0.02284340187907219,
-0.035339970141649246,
-0.025274405255913734,
0.05207572504878044,
-0.02963414043188095,
0.04958444833755493,
0.0033074715174734592,
0.015439889393746853,
-0.015299253165721893,
0.05299990624189377,
0.055571548640728,
-0.03971979394555092,
-0.006509465631097555,
0.04315534606575966,
0.026700863614678383,
0.034596603363752365,
-0.040362704545259476,
0.02836841158568859,
-0.03140214458107948,
0.033210329711437225,
0.01912657730281353,
0.0030312209855765104,
0.036886971443891525,
-0.03994079306721687,
-0.028267957270145416,
0.028187593445181847,
0.014334888197481632,
0.0355609692633152,
0.049463901668787,
0.05545100197196007,
-0.04966481029987335,
-0.03825315460562706,
-0.021879035979509354,
-0.08486413955688477,
0.05657609552145004,
0.008192081935703754,
0.024691767990589142,
0.017991438508033752,
-0.023606857284903526,
-0.056174274533987045,
-0.007599398959428072,
0.014324842020869255,
-0.042030252516269684,
-0.01116051897406578,
0.048620082437992096,
-0.018202394247055054,
0.02244158275425434,
0.032667871564626694,
0.005248758941888809,
-0.0206333976238966,
-0.028348321095108986,
0.04311516508460045,
0.0028629594016820192,
-0.04267316311597824,
-0.013481022790074348,
0.01187374722212553,
-0.01610289141535759,
-0.0020166283939033747,
-0.08108704537153244,
0.0163439828902483,
0.06995666027069092,
-0.0035083808470517397,
-0.03895633667707443,
0.037991974502801895,
0.0019513327861204743,
0.03915724903345108
] |
709,994
|
urllib3_future.response
|
__iter__
| null |
def __iter__(self) -> typing.Iterator[bytes]:
buffer: list[bytes] = []
for chunk in self.stream(-1, decode_content=True):
if b"\n" in chunk:
chunks = chunk.split(b"\n")
yield b"".join(buffer) + chunks[0] + b"\n"
for x in chunks[1:-1]:
yield x + b"\n"
if chunks[-1]:
buffer = [chunks[-1]]
else:
buffer = []
else:
buffer.append(chunk)
if buffer:
yield b"".join(buffer)
|
(self) -> Iterator[bytes]
|
[
-0.014474461786448956,
-0.05606160685420036,
-0.09436037391424179,
0.003887962317094207,
-0.01971150003373623,
0.009134368970990181,
-0.038823410868644714,
0.062282346189022064,
0.09241171181201935,
0.01272253692150116,
0.03991016745567322,
0.018118841573596,
-0.0462433286011219,
0.0855913832783699,
0.002332777250558138,
0.03453259915113449,
-0.011598306708037853,
-0.030916325747966766,
-0.01632007211446762,
0.09878234565258026,
-0.04890400916337967,
0.044556982815265656,
0.021641427651047707,
0.04332033172249794,
-0.021941224113106728,
0.05085267126560211,
0.00791176874190569,
-0.04474435746669769,
-0.010380391031503677,
0.02495790645480156,
0.012151053175330162,
-0.0862659215927124,
0.02044224925339222,
-0.022653235122561455,
0.009195265360176563,
0.015111525543034077,
-0.056998465210199356,
0.04298306256532669,
-0.030728954821825027,
0.0056960987858474255,
0.04328285530209541,
0.012975488789379597,
0.032471511512994766,
-0.02291555516421795,
-0.04283316433429718,
-0.04283316433429718,
0.006389374379068613,
0.011186089366674423,
-0.004520341753959656,
-0.017912732437253,
0.031890660524368286,
0.008586307056248188,
-0.005639887414872646,
-0.039310578256845474,
0.02922998182475567,
-0.0018280448857694864,
-0.00014016279601491988,
-0.01024923101067543,
-0.007485498674213886,
0.05977156385779381,
-0.06310678273439407,
-0.07551078498363495,
0.058647334575653076,
-0.05100256949663162,
0.003656089771538973,
-0.025164015591144562,
-0.0052838814444839954,
-0.06647947430610657,
-0.007171650882810354,
0.040434807538986206,
-0.009125000797212124,
0.03237782418727875,
-0.019561603665351868,
0.043732549995183945,
-0.08506674319505692,
0.0038036450278013945,
-0.02636319398880005,
0.07659754157066345,
0.041071873158216476,
-0.04852926358580589,
0.05411294102668762,
0.05317608267068863,
-0.006389374379068613,
-0.010286704637110233,
0.033483318984508514,
-0.03069148026406765,
0.05133983865380287,
0.011513989418745041,
-0.040135014802217484,
0.05433778464794159,
-0.03237782418727875,
0.03606904670596123,
0.014540041796863079,
-0.004426655825227499,
0.016666710376739502,
-0.019898872822523117,
-0.04009753838181496,
0.03886088728904724,
-0.04182135686278343,
0.019121279940009117,
-0.0008068692986853421,
0.10972485691308975,
0.04811704531311989,
0.0018912828527390957,
-0.013659395277500153,
0.02831185981631279,
-0.023758728057146072,
-0.037755392491817474,
0.020760782063007355,
-0.00047252795775420964,
0.018709061667323112,
0.03385806083679199,
-0.0070779649540781975,
0.0054150414653122425,
-0.010530288331210613,
-0.023027978837490082,
0.01520521193742752,
0.0034195331390947104,
0.049128852784633636,
-0.016395021229982376,
0.019355494529008865,
0.004951296374201775,
-0.023683778941631317,
0.03904825821518898,
0.006192633882164955,
0.008553517051041126,
0.038242559880018234,
-0.00474518770352006,
0.02922998182475567,
-0.06396868824958801,
0.0019029935356229544,
0.04905390366911888,
0.046205855906009674,
-0.004222888965159655,
-0.03108496032655239,
-0.005129299592226744,
0.001036399626173079,
-0.0028831816744059324,
-0.03464502468705177,
-0.004012096207588911,
0.005241722799837589,
-0.023871151730418205,
0.0527263879776001,
0.024358317255973816,
-0.08154415339231491,
-0.038486141711473465,
0.06261961162090302,
-0.00379427638836205,
0.005836627911776304,
-0.02181006222963333,
-0.023177877068519592,
0.009246792644262314,
0.032227929681539536,
0.05984651297330856,
0.0025669920723885298,
0.05920945107936859,
-0.02287808246910572,
0.06018378213047981,
0.003147844225168228,
0.0017144508892670274,
-0.025238964706659317,
0.02044224925339222,
-0.0064690071158111095,
0.040622178465127945,
0.007724397350102663,
0.005635203327983618,
-0.028143225237727165,
-0.06659189611673355,
-0.005260459613054991,
-0.020517198368906975,
0.04643069952726364,
0.026588041335344315,
-0.021529005840420723,
-0.0007044004159979522,
0.038336243480443954,
0.05430031195282936,
-0.006965542212128639,
0.08019507676362991,
0.005152720957994461,
0.00597247201949358,
-0.030279261991381645,
-0.00868936162441969,
-0.016769764944911003,
-0.035862937569618225,
0.006478375755250454,
0.009874487295746803,
0.012834959663450718,
-0.0215664803981781,
0.04508162662386894,
-0.06355646997690201,
-0.0551622211933136,
-0.008572254329919815,
0.023346511647105217,
-0.0093451626598835,
-0.04676796868443489,
-0.021060576662421227,
0.0011458948720246553,
0.021941224113106728,
0.021978696808218956,
0.030953800305724144,
-0.07727207988500595,
-0.008562885224819183,
-0.004396208096295595,
-0.003930120728909969,
-0.06231981888413429,
0.026494355872273445,
-0.03779286891222,
0.015233317390084267,
-0.05564938858151436,
0.03395174816250801,
0.0024826747830957174,
-0.013322126120328903,
0.009125000797212124,
-0.0054009887389838696,
0.01830621249973774,
-0.04676796868443489,
-0.018043892458081245,
-0.02821817435324192,
0.03486986830830574,
-0.039647847414016724,
0.047817252576351166,
-0.02403978630900383,
-0.0665169432759285,
-0.010839451104402542,
-0.017500514164566994,
0.016104595735669136,
0.015786062926054,
-0.04260832071304321,
-0.040772076696157455,
0.014933522790670395,
0.01762230694293976,
0.03029800020158291,
0.0111205093562603,
0.02132289670407772,
0.029604725539684296,
0.02986704558134079,
0.01850295253098011,
-0.01690092496573925,
-0.04860421270132065,
0.02403978630900383,
-0.03142223134636879,
-0.03254646062850952,
-0.005194879602640867,
-0.01714450865983963,
-0.016957135871052742,
-0.006745380349457264,
0.023046717047691345,
0.01655428670346737,
0.02788090519607067,
0.029941994696855545,
-0.00980890728533268,
-0.0011353552108630538,
-0.008117877878248692,
-0.030916325747966766,
0.020573409274220467,
-0.044069819152355194,
-0.030654005706310272,
-0.08888912200927734,
0.03451386094093323,
0.04984086751937866,
0.01593596115708351,
-0.04991581290960312,
-0.049616020172834396,
0.014661833643913269,
0.037755392491817474,
0.055199697613716125,
-0.06659189611673355,
-0.014043507166206837,
0.03419532999396324,
0.07614784687757492,
0.09743326902389526,
-0.02019866742193699,
-0.029642198234796524,
0.008904838934540749,
-0.0034757445100694895,
0.010211756452918053,
-0.0011546779423952103,
0.03663116320967674,
-0.03258393332362175,
-0.04590605944395065,
-0.02870533987879753,
0.032078031450510025,
0.017997048795223236,
-0.07397434115409851,
0.0338018499314785,
-0.0296796727925539,
-0.011748204007744789,
-0.04395739361643791,
0.0037825657054781914,
-0.05092762038111687,
0.03054158389568329,
0.010605236515402794,
-0.05628645047545433,
-0.02675667591392994,
0.08858932554721832,
-0.023721253499388695,
-0.03715580329298973,
0.011008085682988167,
0.021791325882077217,
-0.04152156412601471,
-0.017687886953353882,
-0.036200206726789474,
0.04864168539643288,
0.043732549995183945,
-0.04369507357478142,
-0.008042928762733936,
-0.013490760698914528,
0.00033199918107129633,
-0.027618585154414177,
-0.015167737379670143,
0.02671920135617256,
0.0018280448857694864,
0.041446615010499954,
-0.058010272681713104,
-0.01333149429410696,
-0.027955854311585426,
0.008464515209197998,
0.1034291684627533,
-0.011289143934845924,
0.032265402376651764,
-0.033239737153053284,
0.004815452266484499,
0.024152208119630814,
0.02685036137700081,
-0.019336756318807602,
0.07374949008226395,
0.03606904670596123,
0.014802362769842148,
-0.04118429496884346,
0.02199743501842022,
0.06389374285936356,
-0.024021048098802567,
-0.05928439646959305,
0.06415606290102005,
-0.0200112946331501,
0.006173896603286266,
0.00166643678676337,
-0.010605236515402794,
0.037998974323272705,
-0.0945102721452713,
0.04890400916337967,
-0.035375773906707764,
0.07131365686655045,
0.008356777019798756,
-0.01592659205198288,
-0.01055839378386736,
-0.006853119004517794,
-0.019786449149250984,
0.019065067172050476,
0.03423280641436577,
0.026381932199001312,
-0.000026349141990067437,
0.05017813667654991,
-0.018100103363394737,
0.009481007233262062,
0.008113193325698376,
-0.037174541503190994,
-0.006487744394689798,
-0.0037872500251978636,
0.06134548783302307,
0.01820315793156624,
0.03612525761127472,
0.013228440657258034,
0.01316286064684391,
-0.023852413520216942,
-0.03998511657118797,
-0.038336243480443954,
0.039797745645046234,
0.03599409759044647,
0.06093326956033707,
-0.04335780441761017,
0.02218480594456196,
-0.06539271771907806,
-0.04579363763332367,
-0.01766914874315262,
-0.04710523784160614,
-0.010577131062746048,
0.009827644564211369,
-0.020460987463593483,
0.030766429379582405,
-0.003986332565546036,
0.015439426526427269,
0.009551270864903927,
-0.017893994227051735,
-0.02422715723514557,
0.01464309636503458,
0.03458881005644798,
-0.011364092119038105,
-0.04579363763332367,
-0.02092941664159298,
-0.006497113034129143,
-0.012778748758137226,
0.003201713552698493,
-0.0012507059145718813,
-0.08311807364225388,
-0.08521664142608643,
0.06303182989358902,
-0.01597343571484089,
-0.0020247851498425007,
-0.03745559975504875,
-0.0000309053466480691,
0.03322099894285202,
0.0021594585850834846,
0.02782469429075718,
-0.008679992519319057,
-0.05546201765537262,
0.024901695549488068,
-0.03385806083679199,
-0.015598691999912262,
-0.006928067654371262,
0.026157086715102196,
-0.06809086352586746,
0.025632444769144058,
-0.03856109082698822,
0.0056070974096655846,
0.0016851740656420588,
-0.01839989796280861,
-0.04260832071304321,
0.01928054541349411,
0.05182700604200363,
0.0010984664550051093,
0.0458311103284359,
-0.005649256054311991,
0.034214068204164505,
-0.040921974927186966,
-0.025950977578759193,
0.002092707436531782,
-0.01748177781701088,
-0.028087014332413673,
-0.036537475883960724,
-0.008726836182177067,
-0.06876540184020996,
-0.021941224113106728,
0.002494385465979576,
0.009705852717161179,
-0.018146947026252747,
-0.022372178733348846,
-0.010118070058524609,
0.009415426291525364,
0.024658111855387688,
0.014390144497156143,
0.010080596432089806,
0.041446615010499954,
0.0037123013753443956,
0.08379261195659637,
0.011916838586330414,
-0.021304160356521606,
0.021247947588562965,
0.009354530833661556,
0.027318790555000305,
-0.03297741338610649,
-0.023346511647105217,
0.014802362769842148,
-0.058497436344623566,
-0.033333420753479004,
0.019486654549837112,
0.0993819385766983,
-0.02705647051334381,
-0.050328031182289124,
0.008726836182177067,
0.024751799181103706,
0.034120380878448486,
-0.006150475237518549,
-0.056361399590969086,
-0.006061473861336708,
-0.05628645047545433,
-0.012094841338694096,
0.032471511512994766,
-0.02559497021138668,
0.003023710334673524,
0.00010700679558794945,
-0.0019779421854764223,
0.013865504413843155,
-0.04185883328318596,
0.023852413520216942,
0.018493585288524628,
0.004023806657642126,
0.014511936344206333,
-0.015542480163276196,
-0.019449179992079735,
-0.06363142281770706,
-0.033127311617136,
-0.0021208131220191717,
-0.024414530023932457,
-0.022128595039248466,
-0.005358830094337463,
0.06216992065310478,
-0.00971522182226181,
0.028517968952655792,
-0.0056960987858474255,
0.018624745309352875,
0.04230852425098419,
-0.09503491222858429,
-0.014952260069549084,
0.03237782418727875,
0.036256417632102966,
0.03968532010912895,
-0.01946791633963585,
0.002317553386092186,
-0.05411294102668762,
-0.027375001460313797,
-0.02205364592373371,
0.015795432031154633,
-0.030035680159926414,
0.025707393884658813,
0.07281263172626495,
0.010577131062746048,
-0.03663116320967674,
-0.02733752690255642,
0.012535165064036846,
-0.0018690325086936355,
0.024152208119630814,
-0.05763552710413933,
-0.004965349566191435,
-0.047854725271463394,
-0.0069421203806996346,
0.0037849077489227057,
0.015045945532619953,
-0.03449512645602226,
-0.010820713825523853,
0.018231263384222984,
0.004681949969381094,
-0.008389567025005817,
-0.017519252374768257,
-0.0003018440620508045,
-0.0031712655909359455,
-0.038973309099674225,
-0.05115246772766113,
0.001128914300352335,
-0.05317608267068863,
-0.0008261919720098376,
0.02812448889017105,
0.02190374955534935,
0.006693853065371513,
-0.003911383915692568,
-0.017931468784809113,
0.03972279652953148,
0.0438074991106987,
-0.006295688450336456,
0.03745559975504875,
-0.008656571619212627,
0.022934293374419212,
-0.04006006568670273,
-0.050103187561035156,
-0.043882448226213455,
0.05085267126560211,
0.032415300607681274,
0.02685036137700081,
0.05774794891476631,
-0.02437705546617508,
-0.04500667750835419,
-0.03588167577981949,
-0.05148973688483238,
0.037998974323272705,
0.0005720691406168044,
-0.02715015597641468,
-0.016741659492254257,
-0.01143904123455286,
-0.029511038213968277,
0.022409653291106224,
0.05074024945497513,
0.07772177457809448,
-0.11691992729902267,
0.007902400568127632,
0.0312348585575819,
0.08866427838802338,
0.012685062363743782,
0.06400616466999054,
0.018877696245908737,
0.03773665428161621,
0.02418968267738819,
0.03050410933792591,
-0.0013900636695325375,
0.007031122222542763,
0.09473511576652527,
-0.004363418091088533,
-0.03016684018075466,
-0.00939668994396925,
0.02122921124100685,
-0.06190760061144829,
0.031572125852108,
-0.022896818816661835,
0.019992558285593987,
-0.02840554527938366,
0.008965734392404556,
-0.0400225892663002,
-0.06468070298433304,
0.024489477276802063,
0.022016171365976334,
0.0076728700660169125,
0.03308983892202377,
-0.00455078948289156,
-0.005260459613054991,
-0.0427207425236702,
0.0065580084919929504,
-0.007433971390128136,
-0.0021161288022994995,
-0.02574486844241619,
-0.10297947376966476,
-0.01976771093904972,
0.015008470974862576,
0.04526899755001068,
-0.03694969415664673,
0.058984603732824326,
0.03949794918298721,
-0.027562374249100685,
-0.04613090679049492,
0.02355261892080307,
0.033146049827337265,
0.06291940808296204,
-0.03704338148236275,
-0.015907855704426765,
0.0338018499314785,
-0.006169212516397238,
-0.03629389405250549,
0.003932463005185127,
-0.012422742322087288,
-0.0033094522077590227,
-0.005059035029262304,
-0.004396208096295595,
0.06104569137096405,
0.015252054668962955,
-0.01498036552220583,
0.0527263879776001,
-0.026213297620415688,
0.0027754430193454027,
-0.01483983639627695,
-0.026944046840071678,
0.05351335182785988,
-0.010830082930624485,
0.017790941521525383,
-0.011298512108623981,
0.012441479600965977,
-0.012235370464622974,
0.029323667287826538,
0.025576233863830566,
-0.04065965488553047,
0.0008379027131013572,
-0.008295880630612373,
-0.01820315793156624,
0.017856521531939507,
-0.0312348585575819,
-0.06947741657495499,
-0.07157597690820694,
-0.08394251018762589,
-0.03458881005644798,
0.04058470577001572,
0.022522075101733208,
0.000804527138825506,
-0.017809677869081497,
0.012094841338694096,
0.06835319101810455,
0.05400051549077034,
0.0156830083578825,
0.01737872324883938,
0.027805956080555916,
0.03293994069099426,
0.001322141382843256,
0.023683778941631317,
-0.0027684164233505726,
0.05411294102668762,
-0.014774256385862827,
0.012319687753915787,
-0.005817890632897615,
-0.043732549995183945,
-0.012863065116107464,
-0.025969713926315308,
0.036537475883960724,
0.0369122214615345,
-0.029005136340856552,
0.011916838586330414,
0.07063911855220795,
-0.07656006515026093,
-0.04987834021449089,
-0.0030752376187592745,
0.009855750016868114,
-0.01864348165690899,
-0.011879364028573036,
0.020816992968320847,
-0.02287808246910572,
-0.027375001460313797,
0.02239091508090496,
-0.04451951012015343,
-0.01335960067808628,
-0.05036550760269165,
-0.06445585936307907,
-0.005419725552201271,
-0.033577002584934235,
0.013144123367965221,
-0.08079466968774796,
0.056211501359939575,
0.03646252676844597,
0.04298306256532669,
-0.005124615505337715,
-0.017032084986567497,
0.07952053844928741,
0.006525218486785889,
-0.07862115651369095,
0.011785678565502167,
-0.020554672926664352,
0.014212141744792461,
-0.061795178800821304,
0.010820713825523853,
0.012619482353329659,
0.023908626288175583,
0.024601900950074196,
-0.01903696171939373,
0.015476900152862072,
-0.028255648910999298,
0.08514168858528137,
-0.0016453575808554888,
0.054862428456544876,
-0.045194048434495926,
-0.05658624693751335,
0.041109345853328705,
-0.015476900152862072,
0.006642325781285763,
0.04433213919401169,
0.0451565757393837,
0.05808521807193756,
-0.03694969415664673,
0.04114681854844093,
0.005527464672923088,
0.09308625012636185,
-0.027656059712171555,
0.020030032843351364,
-0.07326232641935349,
0.07558573782444,
-0.019636550918221474,
0.020460987463593483,
0.01762230694293976,
-0.003239187877625227,
0.002838680986315012,
-0.03209676966071129,
0.0041666775941848755,
-0.031141173094511032,
-0.03901078179478645,
-0.0215664803981781,
0.003986332565546036,
-0.024845484644174576,
-0.007972665131092072,
-0.015467531979084015,
-0.019149385392665863,
0.04871663451194763,
-0.020816992968320847,
-0.02733752690255642,
0.06872793287038803,
0.012685062363743782,
-0.026775412261486053,
0.0071388608776032925,
0.034214068204164505,
-0.05778542533516884,
-0.012525796890258789,
0.020386038348078728,
0.008417672477662563,
0.02889271266758442,
-0.01582353748381138,
-0.003955884370952845,
-0.04065965488553047,
0.03874846175312996,
-0.02111678756773472,
0.0032860308419913054,
0.05609907954931259,
0.015223948284983635,
-0.04654312506318092,
-0.010155544616281986,
0.01055839378386736,
0.03700590506196022
] |
709,996
|
urllib3_future._async.response
|
_error_catcher
|
Catch low-level python exceptions, instead re-raising urllib3
variants, so that low-level exceptions are not leaked in the
high-level api.
On exit, release the connection back to the pool.
|
@property
async def data(self) -> bytes: # type: ignore[override]
# For backwards-compat with earlier urllib3 0.4 and earlier.
if self._body:
return self._body # type: ignore[return-value]
if self._fp:
return await self.read(cache_content=True)
return None # type: ignore[return-value]
|
(self) -> AsyncGenerator[NoneType, NoneType]
|
[
-0.025602862238883972,
-0.03602202236652374,
-0.054451894015073776,
0.047889743000268936,
0.008647728711366653,
-0.0070770010352134705,
-0.02727830596268177,
0.032060299068689346,
0.054486799985170364,
-0.04352661222219467,
0.07602322101593018,
0.01907561533153057,
-0.005580446682870388,
0.02891884371638298,
0.011719373986124992,
0.039268191903829575,
-0.04994914308190346,
0.007823096588253975,
0.012164413928985596,
0.02420666068792343,
-0.05218306556344032,
0.02047181874513626,
-0.002080123405903578,
0.008150331676006317,
-0.006160743068903685,
0.06000179797410965,
-0.003621400101110339,
-0.032583873718976974,
0.012975956313312054,
0.04984442889690399,
0.022566121071577072,
-0.03307254612445831,
0.028325457125902176,
0.054940566420555115,
0.02452080510556698,
0.027697166427969933,
-0.004175517708063126,
0.023037340492010117,
-0.11874701827764511,
-0.012888694182038307,
-0.06604037433862686,
-0.015489120967686176,
-0.007111906073987484,
-0.004537657834589481,
0.03654559701681137,
-0.01183281559497118,
-0.0501236692070961,
0.028988653793931007,
0.001996133243665099,
-0.049809522926807404,
0.04094363749027252,
0.10869435966014862,
0.007596213836222887,
-0.016300663352012634,
0.012862514704465866,
0.02837781421840191,
-0.023979777470231056,
0.0449577197432518,
-0.040629491209983826,
0.07581379264593124,
-0.008364125154912472,
-0.013770046643912792,
0.04666806757450104,
-0.1081358790397644,
-0.018429871648550034,
0.011396502144634724,
-0.009005505591630936,
0.00856919214129448,
0.02223452366888523,
0.00016416286234743893,
0.009895584546029568,
0.04900670424103737,
-0.03518430143594742,
0.031205125153064728,
0.027243399992585182,
-0.02649294212460518,
-0.008381578139960766,
-0.010968915186822414,
-0.001263126847334206,
0.045341674238443375,
0.016841690987348557,
-0.01998314820230007,
0.042304933071136475,
-0.029512228444218636,
0.003909366670995951,
-0.0571046806871891,
-0.002500074915587902,
0.00480817211791873,
-0.06450455635786057,
0.049774616956710815,
-0.002500074915587902,
0.04638882726430893,
-0.08649474382400513,
-0.028726864606142044,
0.017234373837709427,
-0.04073420539498329,
-0.004947792273014784,
-0.005785513669252396,
-0.023316580802202225,
0.01972135901451111,
-0.04328227415680885,
0.09920018166303635,
-0.015401857905089855,
-0.011265608482062817,
0.014590315520763397,
-0.02776697650551796,
0.03815123066306114,
-0.03104805201292038,
-0.007770739030092955,
-0.045586008578538895,
0.028691960498690605,
-0.027958953753113747,
-0.015366952866315842,
0.07525531202554703,
0.030751358717679977,
-0.028430171310901642,
-0.041083257645368576,
-0.009668702259659767,
0.005000149831175804,
-0.0066406880505383015,
0.0024760777596384287,
0.05521980673074722,
-0.028779223561286926,
0.007535130251199007,
0.04377094656229019,
0.02952968142926693,
-0.014162728562951088,
-0.04960009083151817,
0.02464297227561474,
-0.02165859006345272,
0.01008756272494793,
0.05364907905459404,
0.03891914337873459,
0.06275930255651474,
-0.001400565612129867,
0.012609452940523624,
0.024747688323259354,
0.02555050514638424,
0.008944422006607056,
0.02099539339542389,
-0.012565822340548038,
0.006597056519240141,
0.04872746393084526,
-0.03424186632037163,
-0.0035755871795117855,
-0.01336863823235035,
0.00380465155467391,
-0.05829145014286041,
-0.052811358124017715,
-0.06813468039035797,
0.05124063044786453,
-0.0047950828447937965,
-0.007949627935886383,
0.029058463871479034,
0.028360361233353615,
-0.002098666736856103,
-0.046528447419404984,
0.004904161207377911,
-0.03199048712849617,
-0.022984983399510384,
-0.03265368565917015,
-0.00530993239954114,
0.010419161058962345,
-0.04960009083151817,
0.04307284578680992,
0.0059818546287715435,
0.056860342621803284,
-0.0671224296092987,
0.030140521004796028,
0.026754729449748993,
-0.0534745529294014,
0.0397917702794075,
-0.04446904733777046,
0.0622706301510334,
0.06631961464881897,
0.024014681577682495,
-0.0017594331875443459,
0.0397917702794075,
-0.017443804070353508,
-0.0031632711179554462,
-0.03542863577604294,
-0.059617843478918076,
0.010776937939226627,
0.01554147806018591,
0.04987933114171028,
0.017086027190089226,
0.00541464751586318,
0.003819922683760524,
0.025288715958595276,
0.025672672316432,
-0.06049047037959099,
-0.044119998812675476,
-0.023473653942346573,
-0.03661540895700455,
0.028482530266046524,
-0.08907771855592728,
0.003095642663538456,
-0.015340774320065975,
0.019372308626770973,
-0.017513614147901535,
-0.011597206816077232,
-0.0628989189863205,
0.02989618480205536,
0.027662260457873344,
-0.08747208118438721,
0.019372308626770973,
0.0005895682843402028,
0.036196548491716385,
-0.010995094664394855,
0.04935575649142265,
-0.03261877968907356,
0.02305479347705841,
-0.026999063789844513,
0.014616494067013264,
0.02584719844162464,
-0.05783768743276596,
-0.037104081362485886,
-0.016396652907133102,
0.015611288137733936,
0.04565582051873207,
0.07448740303516388,
-0.011448860168457031,
-0.045306768268346786,
0.0002561977016739547,
0.000047040022764122114,
-0.005109228193759918,
-0.04631901532411575,
-0.028203289955854416,
-0.04939066246151924,
-0.03001835197210312,
-0.010436613112688065,
0.034556008875370026,
0.059129174798727036,
0.02691180258989334,
0.06422530859708786,
0.010017752647399902,
-0.008241957984864712,
0.021309539675712585,
-0.04827369749546051,
0.016990037634968758,
0.0025306169409304857,
-0.039233289659023285,
-0.0048561664298176765,
0.02530616894364357,
-0.04729635640978813,
-0.007844912819564342,
0.06474889069795609,
0.05546414107084274,
-0.0029669301584362984,
-0.03096078895032406,
0.010070109739899635,
-0.022862814366817474,
-0.06705262511968613,
-0.007792554795742035,
0.01612613908946514,
-0.04600486904382706,
0.03370083495974541,
-0.04712183400988579,
0.031763605773448944,
0.008207052014768124,
0.01829025149345398,
-0.02427647076547146,
0.013316281139850616,
0.060141421854496,
-0.025725029408931732,
-0.027295757085084915,
-0.028273100033402443,
-0.04757559671998024,
-0.03031504526734352,
0.037348415702581406,
0.0677507221698761,
-0.015724729746580124,
0.03602202236652374,
-0.024800045415759087,
-0.015602562576532364,
-0.048622749745845795,
-0.00025142551749013364,
0.004107889253646135,
-0.025655219331383705,
-0.05567357316613197,
-0.004040260799229145,
0.0026855082251131535,
0.058465976268053055,
-0.05853578820824623,
0.03469562903046608,
-0.041083257645368576,
-0.00961634423583746,
0.03237444534897804,
-0.002173930872231722,
-0.023107150569558144,
0.022740647196769714,
-0.013621699996292591,
-0.01907561533153057,
-0.04994914308190346,
0.05218306556344032,
-0.015305869281291962,
-0.04851803556084633,
0.001436561462469399,
0.06373663991689682,
-0.006933017633855343,
-0.043247371912002563,
-0.024311374872922897,
0.01585562340915203,
0.014904460869729519,
-0.008089248090982437,
-0.011763005517423153,
-0.018970901146531105,
0.02017512544989586,
-0.05288116633892059,
-0.015846896916627884,
0.05302078649401665,
-0.001604542019777,
0.00812415312975645,
0.019389761611819267,
0.004443850368261337,
0.014799745753407478,
-0.0016329024219885468,
0.0647139847278595,
0.03167634457349777,
0.03019287809729576,
-0.07085727155208588,
-0.03951252996921539,
0.054940566420555115,
-0.002200109651312232,
0.05371888726949692,
-0.017417624592781067,
0.030053257942199707,
0.026876896619796753,
-0.024136848747730255,
0.05968765541911125,
0.0033116177655756474,
0.033491406589746475,
-0.0022993709426373243,
-0.0016972585581243038,
-0.034224413335323334,
0.004720909520983696,
-0.002319005085155368,
-0.03846537694334984,
0.054242465645074844,
-0.04338699206709862,
0.006029849406331778,
0.005855323746800423,
0.07700056582689285,
0.02764480747282505,
0.008996779099106789,
-0.03237444534897804,
0.023316580802202225,
-0.007120632566511631,
0.058326356112957,
-0.04935575649142265,
-0.038779523223638535,
-0.06823939085006714,
0.01181536354124546,
0.005449552554637194,
0.002543706214055419,
-0.04195588454604149,
0.0017670687520876527,
-0.01771431788802147,
0.011797910556197166,
0.03640597686171532,
0.05204344540834427,
0.013700236566364765,
-0.006309089716523886,
0.03933800384402275,
-0.03602202236652374,
0.00021133924019522965,
-0.011056178249418736,
0.06293382495641708,
-0.0033268886618316174,
0.005702614318579435,
-0.07096198946237564,
-0.007792554795742035,
-0.02132699266076088,
-0.026143889874219894,
0.0229326244443655,
-0.03640597686171532,
-0.025498146191239357,
-0.04994914308190346,
-0.017426351085305214,
0.01292359922081232,
0.012496012263000011,
0.002425901824608445,
-0.04928594455122948,
-0.007714018691331148,
0.05413774773478508,
0.01458158902823925,
-0.039687056094408035,
0.007063911762088537,
-0.021274635568261147,
0.04848312959074974,
0.03277585282921791,
0.001229312620125711,
-0.008922605775296688,
0.012461107224225998,
-0.05179911106824875,
-0.01841242052614689,
0.004142794292420149,
0.012836336158216,
0.004895434714853764,
0.00023397298355121166,
0.004908523987978697,
0.01548039447516203,
0.022566121071577072,
0.04966990277171135,
-0.01189389917999506,
0.0205067228525877,
0.04904161021113396,
-0.04125778377056122,
0.005589172709733248,
-0.03237444534897804,
0.015550204552710056,
-0.030384855344891548,
0.004629283677786589,
-0.03167634457349777,
0.04240964725613594,
-0.012155687436461449,
0.038290850818157196,
-0.06994973868131638,
0.04960009083151817,
0.026510393247008324,
-0.0129846828058362,
0.06981012225151062,
-0.005754971876740456,
0.012827609665691853,
-0.011701921932399273,
-0.02649294212460518,
0.02014021947979927,
-0.01187644712626934,
-0.012810157611966133,
0.05745372921228409,
0.05919898301362991,
0.0020528538152575493,
-0.029058463871479034,
0.006610145792365074,
0.044818099588155746,
0.05881502851843834,
-0.03909366950392723,
-0.010349350981414318,
0.022286880761384964,
0.008695723488926888,
-0.007242800202220678,
0.03059428557753563,
-0.021484065800905228,
0.006304726470261812,
0.030664095655083656,
-0.04024553671479225,
-0.008826617151498795,
-0.0047950828447937965,
0.028988653793931007,
-0.05745372921228409,
-0.06918182969093323,
0.03577768802642822,
0.020646343007683754,
-0.027365567162632942,
-0.08593626320362091,
0.023491106927394867,
0.0504378117620945,
-0.007801281288266182,
-0.05218306556344032,
-0.04164173826575279,
-0.006583967246115208,
-0.010279540903866291,
0.01688532344996929,
-0.0975247398018837,
-0.007020280230790377,
-0.01014864630997181,
0.0050306920893490314,
-0.0010362439788877964,
-0.046772781759500504,
-0.014398337341845036,
0.01898835226893425,
-0.016876596957445145,
-0.030297592282295227,
-0.04073420539498329,
0.03308999910950661,
0.024904761463403702,
0.012094603851437569,
0.03506213426589966,
-0.0042955041863024235,
-0.09270784258842468,
-0.04083891957998276,
-0.017539793625473976,
0.016291936859488487,
0.0097210593521595,
-0.003067282261326909,
-0.05466132611036301,
0.007862364873290062,
0.020332198590040207,
0.09954923391342163,
-0.006008033640682697,
0.02661510929465294,
0.06230553239583969,
-0.03867480903863907,
-0.012609452940523624,
0.000590113690122962,
0.03363102674484253,
0.00270732375793159,
-0.005650256760418415,
0.020663795992732048,
-0.030175425112247467,
-0.014319801703095436,
-0.029756564646959305,
0.05804711580276489,
0.021396802738308907,
0.013787498697638512,
-0.013743868097662926,
-0.017784127965569496,
0.020785963162779808,
0.05640657991170883,
0.008285588584840298,
-0.007098816800862551,
0.05340474471449852,
0.001133323647081852,
-0.019669001922011375,
0.003599584335461259,
0.01353443693369627,
-0.021623685956001282,
0.039687056094408035,
-0.0565112940967083,
-0.003918093163520098,
0.0419209785759449,
0.0683441087603569,
0.014651399105787277,
-0.045062433928251266,
-0.05556885525584221,
0.014101644977927208,
-0.021641137078404427,
-0.022740647196769714,
-0.03933800384402275,
-0.004555110353976488,
0.029180631041526794,
-0.024555711075663567,
0.0504378117620945,
-0.023473653942346573,
0.009965394623577595,
0.033369239419698715,
-0.016065053641796112,
-0.009843227453529835,
-0.12216771394014359,
-0.008695723488926888,
0.020733606070280075,
0.03319471329450607,
0.006291637197136879,
-0.05291607230901718,
-0.028517434373497963,
-0.025829745456576347,
-0.01788884401321411,
0.05745372921228409,
0.03363102674484253,
0.003939908929169178,
-0.03167634457349777,
-0.02099539339542389,
0.0235434640198946,
-0.044818099588155746,
-0.010419161058962345,
-0.010567506775259972,
-0.011963709257543087,
-0.03071645274758339,
0.009502902626991272,
-0.023595821112394333,
0.011483765207231045,
-0.023403843864798546,
-0.08084011822938919,
0.034521106630563736,
-0.025131644681096077,
0.06307344883680344,
0.033281974494457245,
0.027225947007536888,
-0.04680768772959709,
-0.06426021456718445,
0.006976649165153503,
0.06017632409930229,
0.039268191903829575,
0.029232988134026527,
0.08097974210977554,
0.016536273062229156,
-0.007111906073987484,
-0.009241115301847458,
0.03661540895700455,
-0.05455661192536354,
0.047191642224788666,
-0.024084491655230522,
0.009546534158289433,
-0.05277645215392113,
-0.009511629119515419,
-0.07385911047458649,
-0.013019587844610214,
0.03801161050796509,
0.012085877358913422,
-0.03186831995844841,
-0.0008693541749380529,
-0.05389341339468956,
-0.009607617743313313,
-0.04359642043709755,
0.034067340195178986,
0.03916347771883011,
-0.013010861352086067,
0.0021695676259696484,
-0.0075569455511868,
-0.0006975558353587985,
0.03071645274758339,
0.04188607260584831,
-0.05780278146266937,
-0.012687989510595798,
0.008857158944010735,
0.03542863577604294,
-0.08614569157361984,
0.04785483703017235,
0.03717388957738876,
-0.009904311038553715,
0.003667213022708893,
-0.026807086542248726,
0.017147110775113106,
-0.0010602412512525916,
-0.014703757129609585,
0.010654769837856293,
-0.057279206812381744,
0.00757876131683588,
-0.04893689602613449,
0.03235699236392975,
0.040699299424886703,
-0.02029729261994362,
0.000724825426004827,
0.03539373353123665,
-0.03567297384142876,
0.012007340788841248,
0.0013242107816040516,
-0.00655342498794198,
-0.07986278086900711,
-0.012443654239177704,
0.018517134711146355,
0.007727107964456081,
0.06516774743795395,
0.04754069447517395,
0.01554147806018591,
0.022496310994029045,
-0.00757876131683588,
0.028325457125902176,
0.0370691753923893,
-0.024712782353162766,
0.04265398532152176,
0.03104805201292038,
-0.05968765541911125,
-0.02087322622537613,
-0.056860342621803284,
0.01865675486624241,
-0.000507214164827019,
-0.02530616894364357,
-0.0008164512109942734,
-0.06401588022708893,
-0.041083257645368576,
0.017330363392829895,
0.08928714692592621,
0.03186831995844841,
0.03703426942229271,
-0.009118947200477123,
0.07204404473304749,
-0.01719946786761284,
-0.0023582731373608112,
-0.03640597686171532,
-0.012443654239177704,
0.010157372802495956,
-0.023595821112394333,
-0.026999063789844513,
0.028447624295949936,
0.014345980249345303,
-0.049774616956710815,
0.02202509343624115,
0.03548099473118782,
-0.042304933071136475,
0.00013873398711439222,
0.12188847362995148,
-0.051659490913152695,
-0.004598741885274649,
0.05930369719862938,
-0.010811842978000641,
0.001785611966624856,
-0.09633796662092209,
0.008451388217508793,
0.03171124681830406,
0.04401528090238571,
0.005157222971320152,
-0.027452830225229263,
0.015183701179921627,
-0.04991423711180687,
0.04380585253238678,
0.025288715958595276,
-0.0019405032508075237,
0.009939216077327728,
-0.06523755937814713,
0.004075165838003159,
-0.039233289659023285,
-0.04240964725613594,
0.03727860376238823,
0.03731350973248482,
-0.020681248977780342,
-0.015969065949320793,
-0.041083257645368576,
0.035097040235996246,
0.013953298330307007,
0.008800438605248928,
-0.05131043866276741,
0.01977371610701084,
-0.041571926325559616,
0.007984532974660397,
-0.0012565822107717395,
0.003675939282402396,
0.020314745604991913,
-0.05106610432267189,
0.04380585253238678,
-0.016475189477205276,
0.04000119864940643,
-0.04429452121257782,
-0.0534745529294014,
-0.0011087810853496194,
0.042514365166425705,
-0.05888483673334122,
0.009049137122929096,
-0.03954743221402168,
0.022374143823981285,
-0.051205724477767944,
0.024049587547779083,
-0.009851953014731407,
0.04502752795815468,
0.014337253756821156,
0.01464267261326313,
-0.0662149041891098,
0.00544518930837512,
0.0002335639437660575,
0.041781358420848846,
0.02223452366888523,
0.05385850742459297,
0.03769746422767639,
-0.04827369749546051,
-0.023281674832105637,
-0.030978241935372353,
0.00988685805350542,
-0.04729635640978813,
-0.032706040889024734,
0.0531604066491127,
-0.024765141308307648,
-0.03563806787133217,
-0.01219931896775961,
0.0479944571852684,
0.019669001922011375,
-0.06649414449930191,
0.02506183460354805,
0.005432100035250187,
0.007709655445069075,
0.02661510929465294,
0.0024891672655940056,
0.028430171310901642,
-0.01353443693369627,
0.04960009083151817,
0.035952214151620865,
0.019546834751963615,
-0.023700537160038948,
0.006570877507328987,
0.007700928952544928,
0.012120782397687435,
-0.06303854286670685,
0.05532452091574669,
-0.00022742828878108412,
0.045586008578538895,
-0.08251556754112244,
0.033613573759794235,
0.007565672043710947,
0.05288116633892059
] |
709,998
|
urllib3_future._async.response
|
_fp_read
|
Read a response with the thought that reading the number of bytes
larger than can fit in a 32-bit int at a time via SSL in some
known cases leads to an overflow error that has to be prevented
if `amt` or `self.length_remaining` indicate that a problem may
happen.
The known cases:
* 3.8 <= CPython < 3.9.7 because of a bug
https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900.
* urllib3 injected with pyOpenSSL-backed SSL-support.
* CPython < 3.10 only when `amt` does not fit 32-bit int.
|
@property
async def data(self) -> bytes: # type: ignore[override]
# For backwards-compat with earlier urllib3 0.4 and earlier.
if self._body:
return self._body # type: ignore[return-value]
if self._fp:
return await self.read(cache_content=True)
return None # type: ignore[return-value]
|
(self, amt: Optional[int] = None) -> bytes
|
[
-0.025602862238883972,
-0.03602202236652374,
-0.054451894015073776,
0.047889743000268936,
0.008647728711366653,
-0.0070770010352134705,
-0.02727830596268177,
0.032060299068689346,
0.054486799985170364,
-0.04352661222219467,
0.07602322101593018,
0.01907561533153057,
-0.005580446682870388,
0.02891884371638298,
0.011719373986124992,
0.039268191903829575,
-0.04994914308190346,
0.007823096588253975,
0.012164413928985596,
0.02420666068792343,
-0.05218306556344032,
0.02047181874513626,
-0.002080123405903578,
0.008150331676006317,
-0.006160743068903685,
0.06000179797410965,
-0.003621400101110339,
-0.032583873718976974,
0.012975956313312054,
0.04984442889690399,
0.022566121071577072,
-0.03307254612445831,
0.028325457125902176,
0.054940566420555115,
0.02452080510556698,
0.027697166427969933,
-0.004175517708063126,
0.023037340492010117,
-0.11874701827764511,
-0.012888694182038307,
-0.06604037433862686,
-0.015489120967686176,
-0.007111906073987484,
-0.004537657834589481,
0.03654559701681137,
-0.01183281559497118,
-0.0501236692070961,
0.028988653793931007,
0.001996133243665099,
-0.049809522926807404,
0.04094363749027252,
0.10869435966014862,
0.007596213836222887,
-0.016300663352012634,
0.012862514704465866,
0.02837781421840191,
-0.023979777470231056,
0.0449577197432518,
-0.040629491209983826,
0.07581379264593124,
-0.008364125154912472,
-0.013770046643912792,
0.04666806757450104,
-0.1081358790397644,
-0.018429871648550034,
0.011396502144634724,
-0.009005505591630936,
0.00856919214129448,
0.02223452366888523,
0.00016416286234743893,
0.009895584546029568,
0.04900670424103737,
-0.03518430143594742,
0.031205125153064728,
0.027243399992585182,
-0.02649294212460518,
-0.008381578139960766,
-0.010968915186822414,
-0.001263126847334206,
0.045341674238443375,
0.016841690987348557,
-0.01998314820230007,
0.042304933071136475,
-0.029512228444218636,
0.003909366670995951,
-0.0571046806871891,
-0.002500074915587902,
0.00480817211791873,
-0.06450455635786057,
0.049774616956710815,
-0.002500074915587902,
0.04638882726430893,
-0.08649474382400513,
-0.028726864606142044,
0.017234373837709427,
-0.04073420539498329,
-0.004947792273014784,
-0.005785513669252396,
-0.023316580802202225,
0.01972135901451111,
-0.04328227415680885,
0.09920018166303635,
-0.015401857905089855,
-0.011265608482062817,
0.014590315520763397,
-0.02776697650551796,
0.03815123066306114,
-0.03104805201292038,
-0.007770739030092955,
-0.045586008578538895,
0.028691960498690605,
-0.027958953753113747,
-0.015366952866315842,
0.07525531202554703,
0.030751358717679977,
-0.028430171310901642,
-0.041083257645368576,
-0.009668702259659767,
0.005000149831175804,
-0.0066406880505383015,
0.0024760777596384287,
0.05521980673074722,
-0.028779223561286926,
0.007535130251199007,
0.04377094656229019,
0.02952968142926693,
-0.014162728562951088,
-0.04960009083151817,
0.02464297227561474,
-0.02165859006345272,
0.01008756272494793,
0.05364907905459404,
0.03891914337873459,
0.06275930255651474,
-0.001400565612129867,
0.012609452940523624,
0.024747688323259354,
0.02555050514638424,
0.008944422006607056,
0.02099539339542389,
-0.012565822340548038,
0.006597056519240141,
0.04872746393084526,
-0.03424186632037163,
-0.0035755871795117855,
-0.01336863823235035,
0.00380465155467391,
-0.05829145014286041,
-0.052811358124017715,
-0.06813468039035797,
0.05124063044786453,
-0.0047950828447937965,
-0.007949627935886383,
0.029058463871479034,
0.028360361233353615,
-0.002098666736856103,
-0.046528447419404984,
0.004904161207377911,
-0.03199048712849617,
-0.022984983399510384,
-0.03265368565917015,
-0.00530993239954114,
0.010419161058962345,
-0.04960009083151817,
0.04307284578680992,
0.0059818546287715435,
0.056860342621803284,
-0.0671224296092987,
0.030140521004796028,
0.026754729449748993,
-0.0534745529294014,
0.0397917702794075,
-0.04446904733777046,
0.0622706301510334,
0.06631961464881897,
0.024014681577682495,
-0.0017594331875443459,
0.0397917702794075,
-0.017443804070353508,
-0.0031632711179554462,
-0.03542863577604294,
-0.059617843478918076,
0.010776937939226627,
0.01554147806018591,
0.04987933114171028,
0.017086027190089226,
0.00541464751586318,
0.003819922683760524,
0.025288715958595276,
0.025672672316432,
-0.06049047037959099,
-0.044119998812675476,
-0.023473653942346573,
-0.03661540895700455,
0.028482530266046524,
-0.08907771855592728,
0.003095642663538456,
-0.015340774320065975,
0.019372308626770973,
-0.017513614147901535,
-0.011597206816077232,
-0.0628989189863205,
0.02989618480205536,
0.027662260457873344,
-0.08747208118438721,
0.019372308626770973,
0.0005895682843402028,
0.036196548491716385,
-0.010995094664394855,
0.04935575649142265,
-0.03261877968907356,
0.02305479347705841,
-0.026999063789844513,
0.014616494067013264,
0.02584719844162464,
-0.05783768743276596,
-0.037104081362485886,
-0.016396652907133102,
0.015611288137733936,
0.04565582051873207,
0.07448740303516388,
-0.011448860168457031,
-0.045306768268346786,
0.0002561977016739547,
0.000047040022764122114,
-0.005109228193759918,
-0.04631901532411575,
-0.028203289955854416,
-0.04939066246151924,
-0.03001835197210312,
-0.010436613112688065,
0.034556008875370026,
0.059129174798727036,
0.02691180258989334,
0.06422530859708786,
0.010017752647399902,
-0.008241957984864712,
0.021309539675712585,
-0.04827369749546051,
0.016990037634968758,
0.0025306169409304857,
-0.039233289659023285,
-0.0048561664298176765,
0.02530616894364357,
-0.04729635640978813,
-0.007844912819564342,
0.06474889069795609,
0.05546414107084274,
-0.0029669301584362984,
-0.03096078895032406,
0.010070109739899635,
-0.022862814366817474,
-0.06705262511968613,
-0.007792554795742035,
0.01612613908946514,
-0.04600486904382706,
0.03370083495974541,
-0.04712183400988579,
0.031763605773448944,
0.008207052014768124,
0.01829025149345398,
-0.02427647076547146,
0.013316281139850616,
0.060141421854496,
-0.025725029408931732,
-0.027295757085084915,
-0.028273100033402443,
-0.04757559671998024,
-0.03031504526734352,
0.037348415702581406,
0.0677507221698761,
-0.015724729746580124,
0.03602202236652374,
-0.024800045415759087,
-0.015602562576532364,
-0.048622749745845795,
-0.00025142551749013364,
0.004107889253646135,
-0.025655219331383705,
-0.05567357316613197,
-0.004040260799229145,
0.0026855082251131535,
0.058465976268053055,
-0.05853578820824623,
0.03469562903046608,
-0.041083257645368576,
-0.00961634423583746,
0.03237444534897804,
-0.002173930872231722,
-0.023107150569558144,
0.022740647196769714,
-0.013621699996292591,
-0.01907561533153057,
-0.04994914308190346,
0.05218306556344032,
-0.015305869281291962,
-0.04851803556084633,
0.001436561462469399,
0.06373663991689682,
-0.006933017633855343,
-0.043247371912002563,
-0.024311374872922897,
0.01585562340915203,
0.014904460869729519,
-0.008089248090982437,
-0.011763005517423153,
-0.018970901146531105,
0.02017512544989586,
-0.05288116633892059,
-0.015846896916627884,
0.05302078649401665,
-0.001604542019777,
0.00812415312975645,
0.019389761611819267,
0.004443850368261337,
0.014799745753407478,
-0.0016329024219885468,
0.0647139847278595,
0.03167634457349777,
0.03019287809729576,
-0.07085727155208588,
-0.03951252996921539,
0.054940566420555115,
-0.002200109651312232,
0.05371888726949692,
-0.017417624592781067,
0.030053257942199707,
0.026876896619796753,
-0.024136848747730255,
0.05968765541911125,
0.0033116177655756474,
0.033491406589746475,
-0.0022993709426373243,
-0.0016972585581243038,
-0.034224413335323334,
0.004720909520983696,
-0.002319005085155368,
-0.03846537694334984,
0.054242465645074844,
-0.04338699206709862,
0.006029849406331778,
0.005855323746800423,
0.07700056582689285,
0.02764480747282505,
0.008996779099106789,
-0.03237444534897804,
0.023316580802202225,
-0.007120632566511631,
0.058326356112957,
-0.04935575649142265,
-0.038779523223638535,
-0.06823939085006714,
0.01181536354124546,
0.005449552554637194,
0.002543706214055419,
-0.04195588454604149,
0.0017670687520876527,
-0.01771431788802147,
0.011797910556197166,
0.03640597686171532,
0.05204344540834427,
0.013700236566364765,
-0.006309089716523886,
0.03933800384402275,
-0.03602202236652374,
0.00021133924019522965,
-0.011056178249418736,
0.06293382495641708,
-0.0033268886618316174,
0.005702614318579435,
-0.07096198946237564,
-0.007792554795742035,
-0.02132699266076088,
-0.026143889874219894,
0.0229326244443655,
-0.03640597686171532,
-0.025498146191239357,
-0.04994914308190346,
-0.017426351085305214,
0.01292359922081232,
0.012496012263000011,
0.002425901824608445,
-0.04928594455122948,
-0.007714018691331148,
0.05413774773478508,
0.01458158902823925,
-0.039687056094408035,
0.007063911762088537,
-0.021274635568261147,
0.04848312959074974,
0.03277585282921791,
0.001229312620125711,
-0.008922605775296688,
0.012461107224225998,
-0.05179911106824875,
-0.01841242052614689,
0.004142794292420149,
0.012836336158216,
0.004895434714853764,
0.00023397298355121166,
0.004908523987978697,
0.01548039447516203,
0.022566121071577072,
0.04966990277171135,
-0.01189389917999506,
0.0205067228525877,
0.04904161021113396,
-0.04125778377056122,
0.005589172709733248,
-0.03237444534897804,
0.015550204552710056,
-0.030384855344891548,
0.004629283677786589,
-0.03167634457349777,
0.04240964725613594,
-0.012155687436461449,
0.038290850818157196,
-0.06994973868131638,
0.04960009083151817,
0.026510393247008324,
-0.0129846828058362,
0.06981012225151062,
-0.005754971876740456,
0.012827609665691853,
-0.011701921932399273,
-0.02649294212460518,
0.02014021947979927,
-0.01187644712626934,
-0.012810157611966133,
0.05745372921228409,
0.05919898301362991,
0.0020528538152575493,
-0.029058463871479034,
0.006610145792365074,
0.044818099588155746,
0.05881502851843834,
-0.03909366950392723,
-0.010349350981414318,
0.022286880761384964,
0.008695723488926888,
-0.007242800202220678,
0.03059428557753563,
-0.021484065800905228,
0.006304726470261812,
0.030664095655083656,
-0.04024553671479225,
-0.008826617151498795,
-0.0047950828447937965,
0.028988653793931007,
-0.05745372921228409,
-0.06918182969093323,
0.03577768802642822,
0.020646343007683754,
-0.027365567162632942,
-0.08593626320362091,
0.023491106927394867,
0.0504378117620945,
-0.007801281288266182,
-0.05218306556344032,
-0.04164173826575279,
-0.006583967246115208,
-0.010279540903866291,
0.01688532344996929,
-0.0975247398018837,
-0.007020280230790377,
-0.01014864630997181,
0.0050306920893490314,
-0.0010362439788877964,
-0.046772781759500504,
-0.014398337341845036,
0.01898835226893425,
-0.016876596957445145,
-0.030297592282295227,
-0.04073420539498329,
0.03308999910950661,
0.024904761463403702,
0.012094603851437569,
0.03506213426589966,
-0.0042955041863024235,
-0.09270784258842468,
-0.04083891957998276,
-0.017539793625473976,
0.016291936859488487,
0.0097210593521595,
-0.003067282261326909,
-0.05466132611036301,
0.007862364873290062,
0.020332198590040207,
0.09954923391342163,
-0.006008033640682697,
0.02661510929465294,
0.06230553239583969,
-0.03867480903863907,
-0.012609452940523624,
0.000590113690122962,
0.03363102674484253,
0.00270732375793159,
-0.005650256760418415,
0.020663795992732048,
-0.030175425112247467,
-0.014319801703095436,
-0.029756564646959305,
0.05804711580276489,
0.021396802738308907,
0.013787498697638512,
-0.013743868097662926,
-0.017784127965569496,
0.020785963162779808,
0.05640657991170883,
0.008285588584840298,
-0.007098816800862551,
0.05340474471449852,
0.001133323647081852,
-0.019669001922011375,
0.003599584335461259,
0.01353443693369627,
-0.021623685956001282,
0.039687056094408035,
-0.0565112940967083,
-0.003918093163520098,
0.0419209785759449,
0.0683441087603569,
0.014651399105787277,
-0.045062433928251266,
-0.05556885525584221,
0.014101644977927208,
-0.021641137078404427,
-0.022740647196769714,
-0.03933800384402275,
-0.004555110353976488,
0.029180631041526794,
-0.024555711075663567,
0.0504378117620945,
-0.023473653942346573,
0.009965394623577595,
0.033369239419698715,
-0.016065053641796112,
-0.009843227453529835,
-0.12216771394014359,
-0.008695723488926888,
0.020733606070280075,
0.03319471329450607,
0.006291637197136879,
-0.05291607230901718,
-0.028517434373497963,
-0.025829745456576347,
-0.01788884401321411,
0.05745372921228409,
0.03363102674484253,
0.003939908929169178,
-0.03167634457349777,
-0.02099539339542389,
0.0235434640198946,
-0.044818099588155746,
-0.010419161058962345,
-0.010567506775259972,
-0.011963709257543087,
-0.03071645274758339,
0.009502902626991272,
-0.023595821112394333,
0.011483765207231045,
-0.023403843864798546,
-0.08084011822938919,
0.034521106630563736,
-0.025131644681096077,
0.06307344883680344,
0.033281974494457245,
0.027225947007536888,
-0.04680768772959709,
-0.06426021456718445,
0.006976649165153503,
0.06017632409930229,
0.039268191903829575,
0.029232988134026527,
0.08097974210977554,
0.016536273062229156,
-0.007111906073987484,
-0.009241115301847458,
0.03661540895700455,
-0.05455661192536354,
0.047191642224788666,
-0.024084491655230522,
0.009546534158289433,
-0.05277645215392113,
-0.009511629119515419,
-0.07385911047458649,
-0.013019587844610214,
0.03801161050796509,
0.012085877358913422,
-0.03186831995844841,
-0.0008693541749380529,
-0.05389341339468956,
-0.009607617743313313,
-0.04359642043709755,
0.034067340195178986,
0.03916347771883011,
-0.013010861352086067,
0.0021695676259696484,
-0.0075569455511868,
-0.0006975558353587985,
0.03071645274758339,
0.04188607260584831,
-0.05780278146266937,
-0.012687989510595798,
0.008857158944010735,
0.03542863577604294,
-0.08614569157361984,
0.04785483703017235,
0.03717388957738876,
-0.009904311038553715,
0.003667213022708893,
-0.026807086542248726,
0.017147110775113106,
-0.0010602412512525916,
-0.014703757129609585,
0.010654769837856293,
-0.057279206812381744,
0.00757876131683588,
-0.04893689602613449,
0.03235699236392975,
0.040699299424886703,
-0.02029729261994362,
0.000724825426004827,
0.03539373353123665,
-0.03567297384142876,
0.012007340788841248,
0.0013242107816040516,
-0.00655342498794198,
-0.07986278086900711,
-0.012443654239177704,
0.018517134711146355,
0.007727107964456081,
0.06516774743795395,
0.04754069447517395,
0.01554147806018591,
0.022496310994029045,
-0.00757876131683588,
0.028325457125902176,
0.0370691753923893,
-0.024712782353162766,
0.04265398532152176,
0.03104805201292038,
-0.05968765541911125,
-0.02087322622537613,
-0.056860342621803284,
0.01865675486624241,
-0.000507214164827019,
-0.02530616894364357,
-0.0008164512109942734,
-0.06401588022708893,
-0.041083257645368576,
0.017330363392829895,
0.08928714692592621,
0.03186831995844841,
0.03703426942229271,
-0.009118947200477123,
0.07204404473304749,
-0.01719946786761284,
-0.0023582731373608112,
-0.03640597686171532,
-0.012443654239177704,
0.010157372802495956,
-0.023595821112394333,
-0.026999063789844513,
0.028447624295949936,
0.014345980249345303,
-0.049774616956710815,
0.02202509343624115,
0.03548099473118782,
-0.042304933071136475,
0.00013873398711439222,
0.12188847362995148,
-0.051659490913152695,
-0.004598741885274649,
0.05930369719862938,
-0.010811842978000641,
0.001785611966624856,
-0.09633796662092209,
0.008451388217508793,
0.03171124681830406,
0.04401528090238571,
0.005157222971320152,
-0.027452830225229263,
0.015183701179921627,
-0.04991423711180687,
0.04380585253238678,
0.025288715958595276,
-0.0019405032508075237,
0.009939216077327728,
-0.06523755937814713,
0.004075165838003159,
-0.039233289659023285,
-0.04240964725613594,
0.03727860376238823,
0.03731350973248482,
-0.020681248977780342,
-0.015969065949320793,
-0.041083257645368576,
0.035097040235996246,
0.013953298330307007,
0.008800438605248928,
-0.05131043866276741,
0.01977371610701084,
-0.041571926325559616,
0.007984532974660397,
-0.0012565822107717395,
0.003675939282402396,
0.020314745604991913,
-0.05106610432267189,
0.04380585253238678,
-0.016475189477205276,
0.04000119864940643,
-0.04429452121257782,
-0.0534745529294014,
-0.0011087810853496194,
0.042514365166425705,
-0.05888483673334122,
0.009049137122929096,
-0.03954743221402168,
0.022374143823981285,
-0.051205724477767944,
0.024049587547779083,
-0.009851953014731407,
0.04502752795815468,
0.014337253756821156,
0.01464267261326313,
-0.0662149041891098,
0.00544518930837512,
0.0002335639437660575,
0.041781358420848846,
0.02223452366888523,
0.05385850742459297,
0.03769746422767639,
-0.04827369749546051,
-0.023281674832105637,
-0.030978241935372353,
0.00988685805350542,
-0.04729635640978813,
-0.032706040889024734,
0.0531604066491127,
-0.024765141308307648,
-0.03563806787133217,
-0.01219931896775961,
0.0479944571852684,
0.019669001922011375,
-0.06649414449930191,
0.02506183460354805,
0.005432100035250187,
0.007709655445069075,
0.02661510929465294,
0.0024891672655940056,
0.028430171310901642,
-0.01353443693369627,
0.04960009083151817,
0.035952214151620865,
0.019546834751963615,
-0.023700537160038948,
0.006570877507328987,
0.007700928952544928,
0.012120782397687435,
-0.06303854286670685,
0.05532452091574669,
-0.00022742828878108412,
0.045586008578538895,
-0.08251556754112244,
0.033613573759794235,
0.007565672043710947,
0.05288116633892059
] |
709,999
|
urllib3_future.response
|
_init_decoder
|
Set-up the _decoder attribute if necessary.
|
def _init_decoder(self) -> None:
"""
Set-up the _decoder attribute if necessary.
"""
# Note: content-encoding value should be case-insensitive, per RFC 7230
# Section 3.2
if "content-encoding" not in self.headers:
return
content_encoding = self.headers.get("content-encoding", "").lower()
if self._decoder is None:
if content_encoding in self.CONTENT_DECODERS:
self._decoder = _get_decoder(content_encoding)
elif "," in content_encoding:
encodings = [
e.strip()
for e in content_encoding.split(",")
if e.strip() in self.CONTENT_DECODERS
]
if encodings:
self._decoder = _get_decoder(content_encoding)
|
(self) -> NoneType
|
[
-0.009005948901176453,
-0.02625402994453907,
-0.06309493631124496,
0.0021504589822143316,
-0.0397895984351635,
0.031582992523908615,
0.010347072035074234,
0.0320093110203743,
0.01642209105193615,
0.024211259558796883,
0.05925808101892471,
0.05467516928911209,
-0.02687574177980423,
0.03588169068098068,
0.04621988162398338,
0.04476329684257507,
-0.018900059163570404,
0.03708958998322487,
0.0017574479570612311,
-0.0500212088227272,
-0.046433039009571075,
-0.020392168313264847,
-0.039931703358888626,
0.03957643732428551,
-0.028136929497122765,
0.0280658770352602,
-0.04248960688710213,
-0.04764093831181526,
0.013793135061860085,
0.019504008814692497,
0.017443476244807243,
0.0013300206046551466,
0.0038435151800513268,
0.036219190806150436,
-0.02984219789505005,
0.021422434598207474,
-0.013366817496716976,
-0.00921910721808672,
-0.08384236693382263,
0.004127726890146732,
-0.043342240154743195,
0.009867465123534203,
0.03822643309831619,
-0.020054668188095093,
-0.038261961191892624,
0.001835161936469376,
-0.03460273891687393,
-0.018793480470776558,
0.014938862062990665,
-0.03014417365193367,
-0.00815331470221281,
0.010951020754873753,
0.03460273891687393,
-0.00681663304567337,
-0.02170664630830288,
0.015667153522372246,
0.03085470199584961,
0.05218832194805145,
-0.05261463671922684,
0.08171077817678452,
-0.05371595546603203,
-0.009352331981062889,
-0.01677735522389412,
-0.014574716798961163,
-0.049665942788124084,
0.01820729300379753,
0.021866515278816223,
-0.017825383692979813,
-0.021298091858625412,
0.023713890463113785,
0.027337584644556046,
-0.004613994620740414,
-0.074250228703022,
0.03483366221189499,
0.032151415944099426,
-0.005693109706044197,
-0.05932913348078728,
-0.012203327380120754,
-0.02206191048026085,
0.019024401903152466,
0.06785547733306885,
0.03328826278448105,
0.014441492035984993,
-0.0003708070726133883,
0.0898108035326004,
-0.08078709244728088,
0.02568560652434826,
0.01080891489982605,
0.02669810876250267,
0.04927515238523483,
-0.024459945037961006,
-0.013828661292791367,
0.017301369458436966,
0.03501129150390625,
-0.03982512280344963,
0.002344744047150016,
0.0001856810849858448,
0.027781665325164795,
0.0015487301861867309,
-0.00928127858787775,
-0.007722557056695223,
0.07439233362674713,
-0.06643442064523697,
-0.03776459023356438,
-0.007056436501443386,
0.004496313165873289,
0.029078379273414612,
-0.034105367958545685,
-0.0474633052945137,
-0.02280796505510807,
0.05321858823299408,
-0.048067253082990646,
0.009565490297973156,
0.06629230827093124,
0.02930930256843567,
-0.041921183466911316,
0.009858583100140095,
0.008393118157982826,
0.019077690318226814,
0.028740879148244858,
-0.05733965337276459,
0.01820729300379753,
-0.03925669938325882,
0.00978753063827753,
0.012789513915777206,
-0.01838492602109909,
0.041352760046720505,
-0.024850735440850258,
0.061993613839149475,
0.01516090240329504,
0.03328826278448105,
0.02373165264725685,
-0.013278001919388771,
-0.0007138591026887298,
0.0046584028750658035,
-0.023394152522087097,
-0.02948693372309208,
0.009254634380340576,
0.0017341336933895946,
0.016848407685756683,
-0.02524152584373951,
0.022026384249329567,
0.01731913350522518,
-0.02470862865447998,
-0.07481865584850311,
0.0057419585064053535,
0.012833921238780022,
-0.02179546281695366,
-0.017949726432561874,
-0.0015287465648725629,
-0.006159394048154354,
-0.002573445439338684,
-0.01930861361324787,
0.027923770248889923,
0.03694748505949974,
-0.019130980595946312,
-0.017061566933989525,
0.06583046913146973,
-0.00892601441591978,
0.08576079457998276,
0.026325082406401634,
0.004278713837265968,
-0.008215486072003841,
-0.038794856518507004,
0.04554487764835358,
-0.017026040703058243,
0.039931703358888626,
-0.06249098479747772,
0.00686104129999876,
0.026325082406401634,
-0.021955331787467003,
0.0036636628210544586,
-0.06916995346546173,
-0.042240921407938004,
0.04511856287717819,
0.02325204573571682,
0.042063288390636444,
0.040073808282613754,
-0.051300160586833954,
0.01429938618093729,
0.038261961191892624,
-0.013482279144227505,
-0.02316322922706604,
-0.001518754754215479,
0.031103385612368584,
0.026378370821475983,
0.04891989007592201,
-0.00043297832598909736,
0.043342240154743195,
0.002435780595988035,
0.04973699524998665,
-0.00435864832252264,
-0.035597480833530426,
-0.059080448001623154,
-0.006030610762536526,
-0.028705352917313576,
0.05375148355960846,
-0.017141500487923622,
0.03115667589008808,
-0.0207829587161541,
-0.03160075470805168,
0.023536257445812225,
-0.0075937737710773945,
0.018722426146268845,
-0.059435710310935974,
0.04447908699512482,
-0.022861255332827568,
0.026804689317941666,
-0.022488227114081383,
-0.021138222888112068,
-0.0744633898139,
-0.02625402994453907,
0.029273774474859238,
0.008202163502573967,
-0.005151331890374422,
-0.0691344290971756,
-0.05265016481280327,
-0.028794169425964355,
0.04742778092622757,
-0.012167801149189472,
0.06956074386835098,
0.01562274619936943,
-0.03652116656303406,
-0.018136240541934967,
0.0164487361907959,
-0.017390185967087746,
-0.038084328174591064,
-0.010862205177545547,
-0.046610672026872635,
0.033270496875047684,
-0.03508234769105911,
0.0509093701839447,
-0.02373165264725685,
0.01469905860722065,
0.04618435353040695,
0.022577043622732162,
0.06064360961318016,
0.0006222675438039005,
-0.0656883642077446,
-0.024246785789728165,
0.02987772412598133,
-0.00038135398062877357,
-0.007655944675207138,
-0.0037347155157476664,
-0.022079674527049065,
0.04423040151596069,
0.011421745643019676,
0.06710942089557648,
-0.018793480470776558,
0.015498403459787369,
-0.04177907854318619,
-0.01734577678143978,
0.008575190789997578,
-0.02533034235239029,
0.002344744047150016,
-0.06064360961318016,
-0.013979649171233177,
-0.02996654063463211,
0.04149486497044563,
-0.01716814562678337,
-0.016519788652658463,
0.01921979710459709,
-0.002411356195807457,
0.06185150891542435,
-0.019734930247068405,
-0.002082736697047949,
0.03854617103934288,
-0.00813555158674717,
-0.01600465551018715,
-0.0032884147949516773,
0.049879103899002075,
-0.03506458178162575,
-0.00332616176456213,
-0.04437250643968582,
0.03975407034158707,
-0.008695092983543873,
0.01080891489982605,
-0.020623089745640755,
-0.017416831105947495,
0.032329048961400986,
0.06938310712575912,
-0.01330464705824852,
0.050767261534929276,
0.021759936586022377,
0.06750021129846573,
-0.008703974075615406,
-0.03172509744763374,
-0.0009120299946516752,
-0.011892471462488174,
-0.02824350818991661,
-0.020694144070148468,
0.013278001919388771,
0.006847718730568886,
0.054781749844551086,
0.043875135481357574,
-0.008477493189275265,
0.03380339592695236,
0.03346589207649231,
0.026680346578359604,
-0.02859877236187458,
-0.05897386744618416,
0.014601361006498337,
0.059826500713825226,
0.03369681537151337,
-0.04256065934896469,
-0.013464516028761864,
-0.04920409992337227,
0.021404672414064407,
0.008557427674531937,
0.014059583656489849,
0.06554625928401947,
0.04639751464128494,
0.007731438614428043,
-0.008823876269161701,
-0.025490211322903633,
0.012425367720425129,
0.02289678156375885,
0.045722510665655136,
0.009645424783229828,
0.052401479333639145,
0.02135138213634491,
-0.034940239042043686,
-0.02108493447303772,
0.02254151739180088,
0.0345672145485878,
0.012061221525073051,
0.06309493631124496,
0.005484391935169697,
0.009148054756224155,
0.03154746815562248,
-0.06465809792280197,
-0.025170473381876945,
-0.031671810895204544,
-0.011945760808885098,
0.09030817449092865,
-0.05513701215386391,
-0.05158437043428421,
-0.031192202121019363,
0.03145864978432655,
-0.07396601885557175,
-0.01829610951244831,
-0.0994739904999733,
-0.016102353110909462,
0.0038435151800513268,
-0.028261272236704826,
-0.02156454138457775,
0.0015920279547572136,
-0.018127359449863434,
-0.012052340433001518,
-0.0056664650328457355,
-0.03344812989234924,
-0.04508303478360176,
0.09137396514415741,
0.0622422993183136,
0.005795248318463564,
-0.05144226551055908,
-0.06497783213853836,
-0.02554349973797798,
0.0034194185864180326,
0.026733634993433952,
0.04071328416466713,
0.06281071901321411,
0.008739501237869263,
0.0021715527400374413,
-0.04451461136341095,
-0.03676985204219818,
-0.02025006338953972,
0.04621988162398338,
0.03076588548719883,
-0.011821418069303036,
-0.005919590592384338,
-0.003625915851444006,
-0.039540912955999374,
0.0466817244887352,
-0.03744485229253769,
-0.02794153429567814,
-0.021067170426249504,
0.015445114113390446,
0.0036792054306715727,
0.006088341120630503,
-0.01843821443617344,
0.0397895984351635,
-0.06643442064523697,
-0.0014765671221539378,
0.004367529880255461,
-0.04650409147143364,
0.00686104129999876,
0.00522682536393404,
0.0293981172144413,
-0.018109595403075218,
0.032115887850522995,
-0.009503318928182125,
0.0159780103713274,
0.01710597425699234,
-0.027461927384138107,
-0.00031862762989476323,
-0.02268362231552601,
0.03536655753850937,
0.032595496624708176,
0.01651090756058693,
0.00057619420113042,
0.005084719974547625,
0.053644903004169464,
0.057837020605802536,
0.010045097209513187,
0.042240921407938004,
0.07496076077222824,
0.06511993706226349,
0.03698300942778587,
0.03694748505949974,
-0.011421745643019676,
-0.07226075232028961,
0.0026245147455483675,
-0.06920547783374786,
-0.034105367958545685,
0.004058894235640764,
0.011608259752392769,
-0.009796411730349064,
-0.002779942937195301,
-0.016732946038246155,
-0.024637576192617416,
0.04202776402235031,
-0.0035437610931694508,
-0.013189185410737991,
-0.0255079735070467,
-0.01085332315415144,
-0.014565834775567055,
0.005852978676557541,
-0.047889623790979385,
-0.0380132757127285,
0.009112528525292873,
0.0011307395761832595,
0.00035914996988140047,
-0.07531602680683136,
0.038261961191892624,
0.03925669938325882,
-0.05936465784907341,
0.028918510302901268,
-0.024548759683966637,
-0.017923081293702126,
-0.012727342545986176,
-0.0008565199095755816,
-0.017985252663493156,
-0.0030574931297451258,
0.042454078793525696,
0.023411914706230164,
-0.02355402149260044,
0.07972130179405212,
-0.024069154635071754,
-0.04096196964383125,
-0.03224023059010506,
0.013100369833409786,
-0.014725703746080399,
-0.06554625928401947,
-0.001508762943558395,
-0.015267482027411461,
0.09805293381214142,
0.04074881225824356,
-0.006670086644589901,
-0.02037440612912178,
0.014006293378770351,
-0.011803654953837395,
0.023767178878188133,
-0.03394550085067749,
-0.03858169913291931,
0.08156867325305939,
-0.017354659736156464,
0.015462877228856087,
-0.01936190202832222,
0.020090194419026375,
-0.0650133565068245,
0.09528187662363052,
0.01135957520455122,
-0.01321583054959774,
-0.05733965337276459,
-0.05851202458143234,
0.014601361006498337,
-0.042596183717250824,
-0.037551432847976685,
-0.00584409711882472,
0.026378370821475983,
-0.02788824401795864,
0.012514183297753334,
-0.0441238209605217,
0.010355953127145767,
-0.06678967922925949,
-0.011235232464969158,
-0.04543830081820488,
0.012301024980843067,
0.03271983936429024,
-0.016031300649046898,
0.05915150046348572,
-0.03474484384059906,
-0.0001264241145690903,
0.0397895984351635,
-0.00974312238395214,
0.01838492602109909,
-0.028918510302901268,
0.046042248606681824,
-0.05932913348078728,
0.012141156010329723,
-0.04867120459675789,
0.011812536977231503,
-0.018864532932639122,
0.007722557056695223,
-0.010764507576823235,
-0.04856462404131889,
-0.01657307706773281,
0.00046545168152078986,
0.026094160974025726,
-0.017976371571421623,
0.02753297984600067,
-0.057446230202913284,
-0.02414020709693432,
-0.01516090240329504,
0.037942223250865936,
-0.05080278962850571,
0.010462532751262188,
-0.023767178878188133,
0.037729065865278244,
0.04113960266113281,
0.02788824401795864,
0.044585663825273514,
-0.03577511012554169,
0.012540828436613083,
0.05481727421283722,
-0.07574234157800674,
-0.003732495242729783,
0.002957575023174286,
-0.04465671628713608,
-0.040819864720106125,
-0.05812123417854309,
-0.014752348884940147,
0.037551432847976685,
-0.016804000362753868,
0.025650080293416977,
0.01564939133822918,
0.0319027304649353,
-0.045509353280067444,
0.007198542356491089,
0.016493143513798714,
0.04927515238523483,
-0.042454078793525696,
-0.04536724463105202,
-0.0535738505423069,
-0.03154746815562248,
-0.032471153885126114,
0.06178045645356178,
0.029717855155467987,
-0.006989824585616589,
-0.05304095521569252,
-0.0052001806907355785,
-0.01254971046000719,
-0.05922255292534828,
0.0063459076918661594,
-0.05453306436538696,
0.010471413843333721,
0.03925669938325882,
0.04998568072915077,
0.016697419807314873,
0.041388288140296936,
0.03751590475440025,
-0.10387927293777466,
0.028723115101456642,
-0.024602049961686134,
0.05016331374645233,
0.00644360575824976,
-0.0008726178202778101,
-0.039185646921396255,
-0.019255323335528374,
0.030446147546172142,
-0.007798050530254841,
0.010560230351984501,
0.076026551425457,
0.013482279144227505,
-0.007318443618714809,
0.019077690318226814,
0.027781665325164795,
0.037551432847976685,
-0.0028887426014989614,
0.04238302633166313,
-0.018331635743379593,
-0.0057641626335680485,
-0.0354020856320858,
-0.03904354199767113,
-0.055634383112192154,
0.03058825246989727,
0.012007932178676128,
0.03398102521896362,
-0.03369681537151337,
-0.047179095447063446,
-0.048422519117593765,
-0.005981761962175369,
-0.022257305681705475,
0.009894109331071377,
0.03483366221189499,
-0.014725703746080399,
0.0013733183732256293,
-0.030819175764918327,
-0.03319944441318512,
0.01838492602109909,
0.02577442303299904,
-0.04106855019927025,
0.01891782134771347,
0.08071604371070862,
-0.015107613056898117,
-0.04465671628713608,
0.06952521950006485,
0.022879019379615784,
-0.028794169425964355,
-0.04096196964383125,
-0.024655340239405632,
-0.01089773140847683,
-0.03133430704474449,
0.022577043622732162,
-0.03669879958033562,
0.023625073954463005,
0.013340173289179802,
-0.0041010817512869835,
0.007025350816547871,
0.023056650534272194,
0.023234283551573753,
-0.024495471268892288,
0.049310680478811264,
-0.03435405343770981,
0.047676462680101395,
-0.0021715527400374413,
-0.04742778092622757,
-0.022950071841478348,
-0.01586254872381687,
0.05975544825196266,
0.0673581063747406,
0.017390185967087746,
-0.0011157518019899726,
0.004667284432798624,
0.06881468743085861,
0.0002500727423466742,
0.02630731835961342,
0.05687780678272247,
0.03915012255311012,
0.01930861361324787,
-0.018091833218932152,
0.015551692806184292,
0.005701991263777018,
-0.08298972994089127,
0.03399879112839699,
0.025348104536533356,
0.007811373099684715,
0.006967620458453894,
-0.01962834969162941,
0.008584072813391685,
0.031849440187215805,
0.061993613839149475,
0.01388195063918829,
-0.01310925092548132,
-0.04199223592877388,
0.0233408622443676,
0.02616521343588829,
0.02842114120721817,
-0.0026089719031006098,
0.043342240154743195,
-0.005928472615778446,
0.04632645845413208,
-0.017683278769254684,
0.07773181796073914,
-0.024690866470336914,
-0.04018038883805275,
-0.033874448388814926,
0.02179546281695366,
-0.03524221479892731,
0.015791496261954308,
0.019877035170793533,
-0.021120460703969002,
-0.023713890463113785,
0.006883244961500168,
0.010364835150539875,
0.018331635743379593,
-0.08178183436393738,
0.11816089600324631,
0.057446230202913284,
-0.035828400403261185,
0.034460633993148804,
-0.022204017266631126,
0.023447440937161446,
-0.05442648380994797,
-0.015835905447602272,
-0.013100369833409786,
-0.004181016236543655,
0.016732946038246155,
-0.07144363969564438,
0.05392911657691002,
-0.0272310059517622,
-0.008628481067717075,
-0.007389496546238661,
-0.039398808032274246,
0.009991807863116264,
-0.018722426146268845,
-0.07986340671777725,
-0.004272052552551031,
0.011554970405995846,
0.002775502158328891,
-0.04920409992337227,
-0.0041188448667526245,
-0.020054668188095093,
0.0061149862594902515,
0.025827711448073387,
-0.04028696566820145,
0.0013599960366263986,
-0.0015964687336236238,
-0.027035610750317574,
0.01173260249197483,
0.01085332315415144,
-0.014565834775567055,
-0.034584976732730865,
0.030375095084309578,
0.01719479076564312,
-0.018402688205242157,
0.055492278188467026,
0.004471888765692711,
0.037196166813373566,
0.0072207460179924965,
0.010178321041166782,
0.0015431791543960571,
0.08433973789215088,
0.01168819423764944,
-0.030090883374214172,
-0.038475118577480316,
-0.00045046399463899434,
0.012096747756004333,
-0.04096196964383125,
0.0071452525444328785,
0.06316598504781723,
-0.04053565114736557,
-0.017923081293702126,
-0.09073448926210403,
-0.11794773489236832,
0.03350142017006874,
0.022434938699007034,
0.023180993273854256,
0.016493143513798714,
-0.037906695157289505,
-0.05009226128458977,
-0.018420452252030373,
0.09549503773450851,
-0.03280865401029587,
0.023678362369537354,
0.05325411260128021,
-0.038261961191892624,
-0.002535698702558875,
0.0544620119035244,
-0.018065188080072403,
-0.03080141171813011,
-0.03561524301767349,
0.056238334625959396,
-0.03307510167360306,
-0.035561952739953995,
-0.04181460291147232,
0.017594462260603905,
-0.019770456477999687,
0.0005234596901573241,
-0.0655817836523056,
-0.0010269357590004802,
0.06366335600614548,
-0.05410674586892128,
-0.018278345465660095,
0.040571179240942,
0.06448046118021011,
-0.0004485211393330246
] |
710,000
|
urllib3_future.response
|
_init_length
|
Set initial length value for Response content if available.
|
def _init_length(self, request_method: str | None) -> int | None:
"""
Set initial length value for Response content if available.
"""
length: int | None
content_length: str | None = self.headers.get("content-length")
if content_length is not None:
if self.chunked:
# This Response will fail with an IncompleteRead if it can't be
# received as chunked. This method falls back to attempt reading
# the response before raising an exception.
log.warning(
"Received response with both Content-Length and "
"Transfer-Encoding set. This is expressly forbidden "
"by RFC 7230 sec 3.3.2. Ignoring Content-Length and "
"attempting to process response as Transfer-Encoding: "
"chunked."
)
return None
try:
# RFC 7230 section 3.3.2 specifies multiple content lengths can
# be sent in a single Content-Length header
# (e.g. Content-Length: 42, 42). This line ensures the values
# are all valid ints and that as long as the `set` length is 1,
# all values are the same. Otherwise, the header is invalid.
if "," in content_length:
lengths = {int(val) for val in content_length.split(",")}
if len(lengths) > 1:
raise InvalidHeader(
"Content-Length contained multiple "
"unmatching values (%s)" % content_length
)
length = lengths.pop()
else:
length = int(content_length)
except ValueError:
length = None
else:
if length < 0:
length = None
else: # if content_length is None
length = None
# Check for responses that shouldn't include a body
if (
self.status in (204, 304)
or 100 <= self.status < 200
or request_method == "HEAD"
):
length = 0
return length
|
(self, request_method: str | None) -> int | None
|
[
-0.026216991245746613,
-0.010749333538115025,
-0.028089633211493492,
0.005783159751445055,
0.001005168305709958,
0.045200444757938385,
-0.008257066830992699,
0.02151702716946602,
0.02138851210474968,
-0.029264625161886215,
0.0674518421292305,
0.05577536299824715,
0.045090287923812866,
0.0031968022231012583,
0.04083094373345375,
0.038150496780872345,
0.03212866559624672,
0.021847492083907127,
0.03699386492371559,
-0.06355968117713928,
0.029338061809539795,
0.027887681499123573,
-0.022288113832473755,
0.018322519958019257,
-0.03312006592750549,
0.0228388924151659,
-0.022288113832473755,
-0.03423997759819031,
0.09091494232416153,
0.011015542782843113,
-0.007756778039038181,
0.01339306402951479,
-0.009376980364322662,
0.048835571855306625,
0.003529563546180725,
-0.01935063675045967,
-0.0019724706653505564,
-0.01055656187236309,
-0.03429505601525307,
0.04839495196938515,
-0.09194306284189224,
0.0006769968895241618,
0.011300111189484596,
-0.009207157418131828,
-0.03304662927985191,
-0.020507268607616425,
-0.045494191348552704,
0.02456466108560562,
-0.03203687071800232,
-0.03423997759819031,
-0.009877270087599754,
0.06730496883392334,
0.040059857070446014,
-0.040280167013406754,
-0.0017051142640411854,
0.057905036956071854,
-0.004245573654770851,
0.06499170511960983,
-0.061209697276353836,
0.03212866559624672,
-0.007072896230965853,
0.05386600270867348,
-0.03392787277698517,
-0.0899602621793747,
-0.03363412246108055,
0.022104522213339806,
0.013815326616168022,
-0.0012174469884485006,
0.048615261912345886,
0.003967890050262213,
0.039839547127485275,
0.06245812773704529,
-0.06660731136798859,
0.0395825169980526,
0.03782003000378609,
0.02111312374472618,
-0.01760650984942913,
-0.003378099761903286,
0.018478572368621826,
-0.01141944620758295,
0.047073084861040115,
0.020415471866726875,
0.07240883260965347,
-0.036589961498975754,
0.07042603939771652,
-0.05096524581313133,
0.0006615062593482435,
0.010932926088571548,
0.013953020796179771,
0.026216991245746613,
-0.04839495196938515,
0.036259494721889496,
0.009519265033304691,
-0.006880124565213919,
0.0015995486173778772,
-0.012080378830432892,
-0.008192810229957104,
-0.04402545094490051,
0.012410844676196575,
-0.04832151532173157,
-0.0750158429145813,
0.09693677723407745,
0.012162994593381882,
-0.014558875933289528,
0.020745938643813133,
0.00900520570576191,
0.019938131794333458,
-0.05896987020969391,
-0.010354610159993172,
-0.029246265068650246,
0.05555505305528641,
-0.07865097373723984,
-0.03354232758283615,
0.016908857971429825,
0.0019609960727393627,
-0.0010883585782721639,
-0.02157210372388363,
-0.005585798062384129,
-0.02471153438091278,
-0.007889882661402225,
0.014008098281919956,
0.01425594836473465,
0.011171596124768257,
-0.04630199819803238,
0.050744932144880295,
0.0022650710307061672,
-0.02662089467048645,
-0.050855088979005814,
0.007605314254760742,
0.018221544101834297,
0.02458301931619644,
0.034643881022930145,
0.021645542234182358,
0.06286203116178513,
-0.02845681831240654,
0.013310447335243225,
-0.0678190216422081,
0.06627684831619263,
-0.023775212466716766,
0.030935315415263176,
0.006067728158086538,
0.025354107841849327,
0.022416628897190094,
-0.05158945918083191,
-0.038223933428525925,
0.039766110479831696,
0.04428248107433319,
-0.038187213242053986,
-0.03877471014857292,
-0.0005961015122011304,
-0.011309290304780006,
-0.045200444757938385,
0.01412743330001831,
-0.0030407486483454704,
0.03785674646496773,
-0.04934963211417198,
-0.020617423579096794,
0.00761449383571744,
-0.010161838494241238,
-0.03390951082110405,
-0.006687352433800697,
-0.013448141515254974,
0.008234118111431599,
-0.0913555696606636,
0.00966613832861185,
-0.015183089300990105,
0.03255092725157738,
-0.027208389714360237,
0.021755697205662727,
0.02331623248755932,
-0.003208276815712452,
0.047109805047512054,
-0.002836502157151699,
-0.03693878650665283,
0.03873798996210098,
0.052287109196186066,
0.03334037587046623,
-0.02124163880944252,
-0.049055881798267365,
0.017321940511465073,
0.015550274401903152,
-0.07398772984743118,
-0.027961120009422302,
0.017110809683799744,
0.022177958860993385,
0.05357225611805916,
0.017257682979106903,
-0.020874453708529472,
-0.010235275141894817,
0.04457622766494751,
0.01332880649715662,
-0.03965595364570618,
-0.03223882243037224,
-0.020745938643813133,
0.013971379958093166,
-0.003591525834053755,
0.014880162663757801,
-0.03736104816198349,
0.054490216076374054,
-0.0047917612828314304,
-0.040206730365753174,
0.020140083506703377,
0.01421923004090786,
-0.002053939737379551,
-0.04064735397696495,
0.01966274343430996,
-0.008876691572368145,
0.04031688719987869,
-0.07791660726070404,
0.00989562924951315,
-0.07171118259429932,
-0.00976711418479681,
0.020470550283789635,
0.0048927366733551025,
-0.02133343368768692,
-0.04990040883421898,
-0.013953020796179771,
-0.03737940639257431,
0.014843443408608437,
-0.010712615214288235,
0.09355867654085159,
0.019038530066609383,
-0.05713394656777382,
0.014237589202821255,
0.025813087821006775,
-0.004043621942400932,
-0.036681756377220154,
-0.013080957345664501,
-0.024068960919976234,
0.0300357136875391,
-0.030972033739089966,
0.06267844140529633,
0.014880162663757801,
0.018533650785684586,
-0.009455007500946522,
-0.01242002472281456,
0.048725418746471405,
0.027924399822950363,
-0.06065892055630684,
-0.03899502009153366,
-0.05133242905139923,
0.001251870533451438,
0.011759092099964619,
0.032881394028663635,
-0.05482068285346031,
-0.0010355757549405098,
-0.05122227221727371,
0.09333836287260056,
-0.030916957184672356,
-0.01066671684384346,
-0.041675470769405365,
-0.039839547127485275,
-0.03541497141122818,
-0.06444092094898224,
0.07490569353103638,
-0.013301268219947815,
-0.004874377511441708,
-0.02814471162855625,
0.007022408302873373,
-0.014751647599041462,
0.05896987020969391,
-0.027814244851469994,
0.011024721898138523,
-0.0019311623182147741,
-0.06326593458652496,
0.00380724691785872,
0.03712237998843193,
0.015339143574237823,
-0.052727729082107544,
0.01598171703517437,
0.005195664241909981,
-0.027153313159942627,
-0.018753960728645325,
-0.0384809635579586,
0.026253709569573402,
0.006306398194283247,
0.018818218261003494,
-0.015531915239989758,
-0.027410341426730156,
0.013383883982896805,
0.05203007906675339,
-0.003664962947368622,
0.043584831058979034,
-0.007573185488581657,
-0.011612217873334885,
0.06814949214458466,
-0.004787171259522438,
0.01747799478471279,
-0.034827474504709244,
0.0050763292238116264,
-0.019956491887569427,
0.03330365568399429,
-0.011410266160964966,
0.02674940973520279,
0.0019449318060651422,
0.012548538856208324,
-0.015476837754249573,
0.039912983775138855,
0.05125899240374565,
-0.03253256902098656,
-0.07945878058671951,
-0.006425733212381601,
-0.007779727224260569,
-0.018552009016275406,
-0.009399930015206337,
-0.03251421079039574,
0.014926060102880001,
-0.015623711049556732,
0.048798855394124985,
-0.01765240728855133,
0.02146194875240326,
0.07101353257894516,
-0.010602460242807865,
-0.05669332668185234,
0.06756199151277542,
0.059630803763866425,
0.0321103073656559,
0.043548110872507095,
-0.039876263588666916,
0.06506513804197311,
0.001839366159401834,
-0.023775212466716766,
-0.0067470199428498745,
0.01631218194961548,
0.029356421902775764,
0.020360395312309265,
0.043291084468364716,
0.017367839813232422,
-0.012062019668519497,
0.018524471670389175,
-0.03932548686861992,
0.01795533485710621,
-0.036388009786605835,
-0.02129671536386013,
0.0005223776679486036,
-0.04850510507822037,
0.0018015002133324742,
-0.027318546548485756,
0.01512801181524992,
-0.022343192249536514,
0.010106760077178478,
-0.0823962613940239,
0.022379910573363304,
0.011079800315201283,
0.03936220705509186,
-0.04630199819803238,
0.05393943935632706,
-0.023389669135212898,
0.01801041141152382,
-0.028071274980902672,
-0.034552086144685745,
-0.036388009786605835,
0.04310749098658562,
0.019938131794333458,
0.030861878767609596,
-0.05797847360372543,
-0.016532493755221367,
-0.0285118967294693,
0.016908857971429825,
0.057611286640167236,
-0.0029191188514232635,
0.04116141051054001,
-0.014430360868573189,
0.03133922070264816,
-0.010740154422819614,
-0.022600222378969193,
-0.027245108038187027,
0.012208892963826656,
-0.03356068581342697,
0.002425714395940304,
-0.014623132534325123,
-0.08423218131065369,
-0.03526809439063072,
-0.028860721737146378,
0.013953020796179771,
0.006710301619023085,
-0.05852925032377243,
-0.002073446521535516,
-0.01502703595906496,
-0.009142900817096233,
-0.01339306402951479,
0.00040476382127963006,
-0.04068407043814659,
-0.019222121685743332,
-0.0283283032476902,
-0.04251999408006668,
-0.004860608372837305,
-0.04274030402302742,
-0.020268598571419716,
0.05008400231599808,
0.02495020441710949,
-0.004883557092398405,
0.0282365083694458,
0.008504916913807392,
-0.03144937381148338,
0.03168804571032524,
-0.02649237960577011,
0.018946733325719833,
0.05830894038081169,
-0.004518667235970497,
0.077696293592453,
0.0027355265337973833,
0.0089730778709054,
0.10339922457933426,
-0.01936899498105049,
0.020654141902923584,
0.06289874762296677,
0.007642032578587532,
-0.008280016481876373,
-0.013237010687589645,
0.004851428791880608,
-0.052727729082107544,
0.03943564370274544,
-0.029631810262799263,
-0.016605930402874947,
0.004454410169273615,
0.03354232758283615,
0.009202567860484123,
0.07174789905548096,
-0.023628339171409607,
0.024546300992369652,
0.03381771594285965,
0.045457471162080765,
0.057501133531332016,
0.0105198435485363,
0.02856697328388691,
-0.0007401067996397614,
-0.0005467610317282379,
-0.06267844140529633,
-0.014173331670463085,
0.02634550631046295,
0.02660253643989563,
-0.024527940899133682,
-0.03334037587046623,
0.017165888100862503,
0.012153815478086472,
-0.06194406747817993,
0.02858533337712288,
-0.029411498457193375,
0.017129169777035713,
0.04193250089883804,
0.020837735384702682,
-0.013163573108613491,
0.027795886620879173,
0.052140235900878906,
-0.02298576571047306,
-0.007311566267162561,
-0.025721292942762375,
-0.04652230814099312,
-0.06374327093362808,
-0.04130828380584717,
-0.0027561804745346308,
-0.009638600051403046,
-0.010896207764744759,
-0.034515365958213806,
0.024307630956172943,
-0.01767076551914215,
0.04406217113137245,
-0.07314320653676987,
-0.050598058849573135,
0.027281828224658966,
0.05658316984772682,
-0.00898225698620081,
-0.04747698828577995,
-0.04222624748945236,
0.03337709605693817,
0.0054113855585455894,
0.004195085726678371,
-0.038260649889707565,
0.017413737252354622,
-0.040280167013406754,
0.013337986543774605,
-0.013484859839081764,
0.015412580221891403,
0.011290931142866611,
-0.04406217113137245,
0.014962778426706791,
-0.015522735193371773,
-0.045457471162080765,
-0.009849730879068375,
0.032716162502765656,
0.029319703578948975,
0.04736683517694473,
-0.017285222187638283,
0.010354610159993172,
-0.07472209632396698,
-0.048798855394124985,
-0.0036947967018932104,
0.011079800315201283,
-0.009262235835194588,
0.011869247071444988,
0.0352497361600399,
-0.03899502009153366,
-0.006981099955737591,
0.0003241552913095802,
0.017083270475268364,
0.013852044939994812,
-0.029741965234279633,
0.004660951439291239,
-0.03587394952774048,
0.0019082132494077086,
-0.05544489994645119,
0.045237161219120026,
0.014825084246695042,
0.000646015687379986,
0.031173985451459885,
-0.03255092725157738,
-0.020507268607616425,
-0.005594977643340826,
-0.02315099909901619,
-0.026235351338982582,
0.023940445855259895,
-0.013163573108613491,
0.001760191866196692,
0.007747598458081484,
0.0913555696606636,
-0.036112621426582336,
0.027814244851469994,
-0.0036374239716678858,
0.01960766687989235,
0.01342060323804617,
0.06047533079981804,
0.027850963175296783,
-0.019075248390436172,
-0.022434988990426064,
0.04193250089883804,
-0.008642611093819141,
-0.059447210282087326,
0.016422338783740997,
-0.002074593910947442,
0.005966752301901579,
-0.03416654095053673,
-0.006467041559517384,
0.038077060133218765,
0.01759732887148857,
0.041859060525894165,
-0.05463709309697151,
-0.018322519958019257,
-0.02645566128194332,
0.004367203917354345,
0.004328190349042416,
0.03200015053153038,
-0.03699386492371559,
-0.01501785684376955,
-0.08423218131065369,
-0.015274886041879654,
0.01425594836473465,
0.022416628897190094,
0.05118555575609207,
-0.029668528586626053,
-0.08481968194246292,
-0.02340802736580372,
0.029723605141043663,
-0.02315099909901619,
-0.02151702716946602,
-0.04413560777902603,
0.02634550631046295,
-0.02144359052181244,
0.06065892055630684,
0.01936899498105049,
0.019075248390436172,
-0.04806448519229889,
-0.020250238478183746,
-0.004823889583349228,
-0.0494597852230072,
0.0784306675195694,
0.008238707669079304,
-0.00311648054048419,
-0.025225592777132988,
-0.03754464164376259,
0.0018531355308368802,
0.03859111666679382,
-0.05526130646467209,
0.004240984097123146,
0.040206730365753174,
-0.015531915239989758,
-0.043548110872507095,
0.02305920235812664,
0.027373623102903366,
0.03502942621707916,
0.03141265735030174,
-0.01942407339811325,
0.011015542782843113,
-0.04832151532173157,
-0.04222624748945236,
-0.047256678342819214,
-0.01806548982858658,
0.005471053067594767,
0.011254212819039822,
0.022104522213339806,
-0.07578693330287933,
-0.02662089467048645,
0.0013012109557166696,
-0.0784306675195694,
0.013071777299046516,
0.07439163327217102,
0.01764322817325592,
-0.05217695236206055,
-0.03936220705509186,
0.022600222378969193,
0.047330114990472794,
0.05107539892196655,
-0.06532216817140579,
0.09598209708929062,
0.018928373232483864,
0.005613336805254221,
-0.04457622766494751,
0.09730395674705505,
-0.003880683798342943,
-0.048615261912345886,
-0.0010000047041103244,
-0.0526910126209259,
0.03251421079039574,
-0.03914189338684082,
-0.029741965234279633,
-0.000005840353423991473,
-0.022196318954229355,
0.02496856264770031,
0.01962602511048317,
-0.04472310468554497,
-0.02340802736580372,
-0.013686811551451683,
-0.01940571516752243,
0.021718978881835938,
-0.06455107778310776,
0.09194306284189224,
-0.014770006760954857,
-0.018735602498054504,
-0.08423218131065369,
-0.03225718066096306,
0.05713394656777382,
-0.005686773918569088,
0.07615412026643753,
-0.0010677044047042727,
0.0393989235162735,
0.045237161219120026,
-0.022379910573363304,
0.008325913920998573,
0.03692042827606201,
0.04648559167981148,
0.06532216817140579,
-0.022471707314252853,
0.01947915181517601,
-0.024381067603826523,
-0.029741965234279633,
0.005067149642854929,
0.04321764409542084,
0.03677355498075485,
0.021976007148623466,
-0.04229968413710594,
-0.02302248403429985,
0.001226626569405198,
0.050708215683698654,
-0.023756854236125946,
0.010363789275288582,
-0.04960666224360466,
0.02153538540005684,
0.01756061054766178,
0.0013551412848755717,
-0.05856596678495407,
0.002811258193105459,
-0.02476661093533039,
0.08070720732212067,
-0.036608319729566574,
0.08496655523777008,
-0.03227553889155388,
-0.00710961502045393,
-0.05885971710085869,
0.05838237702846527,
0.018891654908657074,
0.05507771298289299,
0.03759972006082535,
-0.0012553129345178604,
0.04806448519229889,
0.029429858550429344,
0.018597908318042755,
0.0022788404021412134,
-0.02990719862282276,
0.03339545428752899,
0.057684723287820816,
-0.005594977643340826,
0.06568935513496399,
-0.06561591476202011,
-0.000048013709601946175,
0.04986368864774704,
-0.03759972006082535,
0.007990858517587185,
-0.011208314448595047,
0.013943840749561787,
-0.03168804571032524,
0.03710401803255081,
-0.048872292041778564,
-0.014503797516226768,
0.04615512490272522,
-0.05819878354668617,
-0.011272571980953217,
-0.04832151532173157,
-0.031302500516176224,
0.017119988799095154,
0.020488908514380455,
0.02998063527047634,
-0.026235351338982582,
-0.018083849921822548,
-0.00797249935567379,
-0.04630199819803238,
-0.030604848638176918,
-0.05147930234670639,
0.014485438354313374,
-0.014678210951387882,
0.010161838494241238,
-0.013943840749561787,
0.05636285990476608,
0.02696971967816353,
-0.06903073191642761,
-0.01957094669342041,
0.08790402859449387,
0.0006695384508930147,
0.038113776594400406,
-0.002909939270466566,
0.04031688719987869,
-0.01583484187722206,
-0.00571431266143918,
0.041859060525894165,
0.06051204726099968,
-0.033156782388687134,
-0.041822344064712524,
0.0231142807751894,
0.018588727340102196,
0.02696971967816353,
-0.034423571079969406,
-0.01156631950289011,
0.027649011462926865,
0.0008232970722019672,
-0.045494191348552704,
-0.02287561073899269,
-0.04788089171051979,
-0.007770547177642584,
0.010033323429524899,
0.015329963527619839,
0.00973039586097002,
-0.00486519793048501,
-0.05012071877717972,
-0.01575222611427307,
0.004550796002149582,
0.036479804664850235,
-0.031173985451459885,
0.03495598956942558,
0.007118794601410627,
0.014356924220919609,
0.03703058138489723,
-0.016367260366678238,
-0.07303304970264435,
0.01062081940472126,
0.014870982617139816,
-0.02667597308754921,
0.00269880797713995,
-0.05559177324175835,
0.047293394804000854,
0.029264625161886215,
0.03888486698269844,
-0.043805141001939774,
-0.019185403361916542,
0.04211609065532684,
0.04130828380584717,
0.018542829900979996,
0.0573909766972065,
0.04773401841521263,
0.027190031483769417
] |
710,001
|
urllib3_future._async.response
|
_raw_read
|
Reads `amt` of bytes from the socket.
|
@property
async def data(self) -> bytes: # type: ignore[override]
# For backwards-compat with earlier urllib3 0.4 and earlier.
if self._body:
return self._body # type: ignore[return-value]
if self._fp:
return await self.read(cache_content=True)
return None # type: ignore[return-value]
|
(self, amt: Optional[int] = None) -> bytes
|
[
-0.025602862238883972,
-0.03602202236652374,
-0.054451894015073776,
0.047889743000268936,
0.008647728711366653,
-0.0070770010352134705,
-0.02727830596268177,
0.032060299068689346,
0.054486799985170364,
-0.04352661222219467,
0.07602322101593018,
0.01907561533153057,
-0.005580446682870388,
0.02891884371638298,
0.011719373986124992,
0.039268191903829575,
-0.04994914308190346,
0.007823096588253975,
0.012164413928985596,
0.02420666068792343,
-0.05218306556344032,
0.02047181874513626,
-0.002080123405903578,
0.008150331676006317,
-0.006160743068903685,
0.06000179797410965,
-0.003621400101110339,
-0.032583873718976974,
0.012975956313312054,
0.04984442889690399,
0.022566121071577072,
-0.03307254612445831,
0.028325457125902176,
0.054940566420555115,
0.02452080510556698,
0.027697166427969933,
-0.004175517708063126,
0.023037340492010117,
-0.11874701827764511,
-0.012888694182038307,
-0.06604037433862686,
-0.015489120967686176,
-0.007111906073987484,
-0.004537657834589481,
0.03654559701681137,
-0.01183281559497118,
-0.0501236692070961,
0.028988653793931007,
0.001996133243665099,
-0.049809522926807404,
0.04094363749027252,
0.10869435966014862,
0.007596213836222887,
-0.016300663352012634,
0.012862514704465866,
0.02837781421840191,
-0.023979777470231056,
0.0449577197432518,
-0.040629491209983826,
0.07581379264593124,
-0.008364125154912472,
-0.013770046643912792,
0.04666806757450104,
-0.1081358790397644,
-0.018429871648550034,
0.011396502144634724,
-0.009005505591630936,
0.00856919214129448,
0.02223452366888523,
0.00016416286234743893,
0.009895584546029568,
0.04900670424103737,
-0.03518430143594742,
0.031205125153064728,
0.027243399992585182,
-0.02649294212460518,
-0.008381578139960766,
-0.010968915186822414,
-0.001263126847334206,
0.045341674238443375,
0.016841690987348557,
-0.01998314820230007,
0.042304933071136475,
-0.029512228444218636,
0.003909366670995951,
-0.0571046806871891,
-0.002500074915587902,
0.00480817211791873,
-0.06450455635786057,
0.049774616956710815,
-0.002500074915587902,
0.04638882726430893,
-0.08649474382400513,
-0.028726864606142044,
0.017234373837709427,
-0.04073420539498329,
-0.004947792273014784,
-0.005785513669252396,
-0.023316580802202225,
0.01972135901451111,
-0.04328227415680885,
0.09920018166303635,
-0.015401857905089855,
-0.011265608482062817,
0.014590315520763397,
-0.02776697650551796,
0.03815123066306114,
-0.03104805201292038,
-0.007770739030092955,
-0.045586008578538895,
0.028691960498690605,
-0.027958953753113747,
-0.015366952866315842,
0.07525531202554703,
0.030751358717679977,
-0.028430171310901642,
-0.041083257645368576,
-0.009668702259659767,
0.005000149831175804,
-0.0066406880505383015,
0.0024760777596384287,
0.05521980673074722,
-0.028779223561286926,
0.007535130251199007,
0.04377094656229019,
0.02952968142926693,
-0.014162728562951088,
-0.04960009083151817,
0.02464297227561474,
-0.02165859006345272,
0.01008756272494793,
0.05364907905459404,
0.03891914337873459,
0.06275930255651474,
-0.001400565612129867,
0.012609452940523624,
0.024747688323259354,
0.02555050514638424,
0.008944422006607056,
0.02099539339542389,
-0.012565822340548038,
0.006597056519240141,
0.04872746393084526,
-0.03424186632037163,
-0.0035755871795117855,
-0.01336863823235035,
0.00380465155467391,
-0.05829145014286041,
-0.052811358124017715,
-0.06813468039035797,
0.05124063044786453,
-0.0047950828447937965,
-0.007949627935886383,
0.029058463871479034,
0.028360361233353615,
-0.002098666736856103,
-0.046528447419404984,
0.004904161207377911,
-0.03199048712849617,
-0.022984983399510384,
-0.03265368565917015,
-0.00530993239954114,
0.010419161058962345,
-0.04960009083151817,
0.04307284578680992,
0.0059818546287715435,
0.056860342621803284,
-0.0671224296092987,
0.030140521004796028,
0.026754729449748993,
-0.0534745529294014,
0.0397917702794075,
-0.04446904733777046,
0.0622706301510334,
0.06631961464881897,
0.024014681577682495,
-0.0017594331875443459,
0.0397917702794075,
-0.017443804070353508,
-0.0031632711179554462,
-0.03542863577604294,
-0.059617843478918076,
0.010776937939226627,
0.01554147806018591,
0.04987933114171028,
0.017086027190089226,
0.00541464751586318,
0.003819922683760524,
0.025288715958595276,
0.025672672316432,
-0.06049047037959099,
-0.044119998812675476,
-0.023473653942346573,
-0.03661540895700455,
0.028482530266046524,
-0.08907771855592728,
0.003095642663538456,
-0.015340774320065975,
0.019372308626770973,
-0.017513614147901535,
-0.011597206816077232,
-0.0628989189863205,
0.02989618480205536,
0.027662260457873344,
-0.08747208118438721,
0.019372308626770973,
0.0005895682843402028,
0.036196548491716385,
-0.010995094664394855,
0.04935575649142265,
-0.03261877968907356,
0.02305479347705841,
-0.026999063789844513,
0.014616494067013264,
0.02584719844162464,
-0.05783768743276596,
-0.037104081362485886,
-0.016396652907133102,
0.015611288137733936,
0.04565582051873207,
0.07448740303516388,
-0.011448860168457031,
-0.045306768268346786,
0.0002561977016739547,
0.000047040022764122114,
-0.005109228193759918,
-0.04631901532411575,
-0.028203289955854416,
-0.04939066246151924,
-0.03001835197210312,
-0.010436613112688065,
0.034556008875370026,
0.059129174798727036,
0.02691180258989334,
0.06422530859708786,
0.010017752647399902,
-0.008241957984864712,
0.021309539675712585,
-0.04827369749546051,
0.016990037634968758,
0.0025306169409304857,
-0.039233289659023285,
-0.0048561664298176765,
0.02530616894364357,
-0.04729635640978813,
-0.007844912819564342,
0.06474889069795609,
0.05546414107084274,
-0.0029669301584362984,
-0.03096078895032406,
0.010070109739899635,
-0.022862814366817474,
-0.06705262511968613,
-0.007792554795742035,
0.01612613908946514,
-0.04600486904382706,
0.03370083495974541,
-0.04712183400988579,
0.031763605773448944,
0.008207052014768124,
0.01829025149345398,
-0.02427647076547146,
0.013316281139850616,
0.060141421854496,
-0.025725029408931732,
-0.027295757085084915,
-0.028273100033402443,
-0.04757559671998024,
-0.03031504526734352,
0.037348415702581406,
0.0677507221698761,
-0.015724729746580124,
0.03602202236652374,
-0.024800045415759087,
-0.015602562576532364,
-0.048622749745845795,
-0.00025142551749013364,
0.004107889253646135,
-0.025655219331383705,
-0.05567357316613197,
-0.004040260799229145,
0.0026855082251131535,
0.058465976268053055,
-0.05853578820824623,
0.03469562903046608,
-0.041083257645368576,
-0.00961634423583746,
0.03237444534897804,
-0.002173930872231722,
-0.023107150569558144,
0.022740647196769714,
-0.013621699996292591,
-0.01907561533153057,
-0.04994914308190346,
0.05218306556344032,
-0.015305869281291962,
-0.04851803556084633,
0.001436561462469399,
0.06373663991689682,
-0.006933017633855343,
-0.043247371912002563,
-0.024311374872922897,
0.01585562340915203,
0.014904460869729519,
-0.008089248090982437,
-0.011763005517423153,
-0.018970901146531105,
0.02017512544989586,
-0.05288116633892059,
-0.015846896916627884,
0.05302078649401665,
-0.001604542019777,
0.00812415312975645,
0.019389761611819267,
0.004443850368261337,
0.014799745753407478,
-0.0016329024219885468,
0.0647139847278595,
0.03167634457349777,
0.03019287809729576,
-0.07085727155208588,
-0.03951252996921539,
0.054940566420555115,
-0.002200109651312232,
0.05371888726949692,
-0.017417624592781067,
0.030053257942199707,
0.026876896619796753,
-0.024136848747730255,
0.05968765541911125,
0.0033116177655756474,
0.033491406589746475,
-0.0022993709426373243,
-0.0016972585581243038,
-0.034224413335323334,
0.004720909520983696,
-0.002319005085155368,
-0.03846537694334984,
0.054242465645074844,
-0.04338699206709862,
0.006029849406331778,
0.005855323746800423,
0.07700056582689285,
0.02764480747282505,
0.008996779099106789,
-0.03237444534897804,
0.023316580802202225,
-0.007120632566511631,
0.058326356112957,
-0.04935575649142265,
-0.038779523223638535,
-0.06823939085006714,
0.01181536354124546,
0.005449552554637194,
0.002543706214055419,
-0.04195588454604149,
0.0017670687520876527,
-0.01771431788802147,
0.011797910556197166,
0.03640597686171532,
0.05204344540834427,
0.013700236566364765,
-0.006309089716523886,
0.03933800384402275,
-0.03602202236652374,
0.00021133924019522965,
-0.011056178249418736,
0.06293382495641708,
-0.0033268886618316174,
0.005702614318579435,
-0.07096198946237564,
-0.007792554795742035,
-0.02132699266076088,
-0.026143889874219894,
0.0229326244443655,
-0.03640597686171532,
-0.025498146191239357,
-0.04994914308190346,
-0.017426351085305214,
0.01292359922081232,
0.012496012263000011,
0.002425901824608445,
-0.04928594455122948,
-0.007714018691331148,
0.05413774773478508,
0.01458158902823925,
-0.039687056094408035,
0.007063911762088537,
-0.021274635568261147,
0.04848312959074974,
0.03277585282921791,
0.001229312620125711,
-0.008922605775296688,
0.012461107224225998,
-0.05179911106824875,
-0.01841242052614689,
0.004142794292420149,
0.012836336158216,
0.004895434714853764,
0.00023397298355121166,
0.004908523987978697,
0.01548039447516203,
0.022566121071577072,
0.04966990277171135,
-0.01189389917999506,
0.0205067228525877,
0.04904161021113396,
-0.04125778377056122,
0.005589172709733248,
-0.03237444534897804,
0.015550204552710056,
-0.030384855344891548,
0.004629283677786589,
-0.03167634457349777,
0.04240964725613594,
-0.012155687436461449,
0.038290850818157196,
-0.06994973868131638,
0.04960009083151817,
0.026510393247008324,
-0.0129846828058362,
0.06981012225151062,
-0.005754971876740456,
0.012827609665691853,
-0.011701921932399273,
-0.02649294212460518,
0.02014021947979927,
-0.01187644712626934,
-0.012810157611966133,
0.05745372921228409,
0.05919898301362991,
0.0020528538152575493,
-0.029058463871479034,
0.006610145792365074,
0.044818099588155746,
0.05881502851843834,
-0.03909366950392723,
-0.010349350981414318,
0.022286880761384964,
0.008695723488926888,
-0.007242800202220678,
0.03059428557753563,
-0.021484065800905228,
0.006304726470261812,
0.030664095655083656,
-0.04024553671479225,
-0.008826617151498795,
-0.0047950828447937965,
0.028988653793931007,
-0.05745372921228409,
-0.06918182969093323,
0.03577768802642822,
0.020646343007683754,
-0.027365567162632942,
-0.08593626320362091,
0.023491106927394867,
0.0504378117620945,
-0.007801281288266182,
-0.05218306556344032,
-0.04164173826575279,
-0.006583967246115208,
-0.010279540903866291,
0.01688532344996929,
-0.0975247398018837,
-0.007020280230790377,
-0.01014864630997181,
0.0050306920893490314,
-0.0010362439788877964,
-0.046772781759500504,
-0.014398337341845036,
0.01898835226893425,
-0.016876596957445145,
-0.030297592282295227,
-0.04073420539498329,
0.03308999910950661,
0.024904761463403702,
0.012094603851437569,
0.03506213426589966,
-0.0042955041863024235,
-0.09270784258842468,
-0.04083891957998276,
-0.017539793625473976,
0.016291936859488487,
0.0097210593521595,
-0.003067282261326909,
-0.05466132611036301,
0.007862364873290062,
0.020332198590040207,
0.09954923391342163,
-0.006008033640682697,
0.02661510929465294,
0.06230553239583969,
-0.03867480903863907,
-0.012609452940523624,
0.000590113690122962,
0.03363102674484253,
0.00270732375793159,
-0.005650256760418415,
0.020663795992732048,
-0.030175425112247467,
-0.014319801703095436,
-0.029756564646959305,
0.05804711580276489,
0.021396802738308907,
0.013787498697638512,
-0.013743868097662926,
-0.017784127965569496,
0.020785963162779808,
0.05640657991170883,
0.008285588584840298,
-0.007098816800862551,
0.05340474471449852,
0.001133323647081852,
-0.019669001922011375,
0.003599584335461259,
0.01353443693369627,
-0.021623685956001282,
0.039687056094408035,
-0.0565112940967083,
-0.003918093163520098,
0.0419209785759449,
0.0683441087603569,
0.014651399105787277,
-0.045062433928251266,
-0.05556885525584221,
0.014101644977927208,
-0.021641137078404427,
-0.022740647196769714,
-0.03933800384402275,
-0.004555110353976488,
0.029180631041526794,
-0.024555711075663567,
0.0504378117620945,
-0.023473653942346573,
0.009965394623577595,
0.033369239419698715,
-0.016065053641796112,
-0.009843227453529835,
-0.12216771394014359,
-0.008695723488926888,
0.020733606070280075,
0.03319471329450607,
0.006291637197136879,
-0.05291607230901718,
-0.028517434373497963,
-0.025829745456576347,
-0.01788884401321411,
0.05745372921228409,
0.03363102674484253,
0.003939908929169178,
-0.03167634457349777,
-0.02099539339542389,
0.0235434640198946,
-0.044818099588155746,
-0.010419161058962345,
-0.010567506775259972,
-0.011963709257543087,
-0.03071645274758339,
0.009502902626991272,
-0.023595821112394333,
0.011483765207231045,
-0.023403843864798546,
-0.08084011822938919,
0.034521106630563736,
-0.025131644681096077,
0.06307344883680344,
0.033281974494457245,
0.027225947007536888,
-0.04680768772959709,
-0.06426021456718445,
0.006976649165153503,
0.06017632409930229,
0.039268191903829575,
0.029232988134026527,
0.08097974210977554,
0.016536273062229156,
-0.007111906073987484,
-0.009241115301847458,
0.03661540895700455,
-0.05455661192536354,
0.047191642224788666,
-0.024084491655230522,
0.009546534158289433,
-0.05277645215392113,
-0.009511629119515419,
-0.07385911047458649,
-0.013019587844610214,
0.03801161050796509,
0.012085877358913422,
-0.03186831995844841,
-0.0008693541749380529,
-0.05389341339468956,
-0.009607617743313313,
-0.04359642043709755,
0.034067340195178986,
0.03916347771883011,
-0.013010861352086067,
0.0021695676259696484,
-0.0075569455511868,
-0.0006975558353587985,
0.03071645274758339,
0.04188607260584831,
-0.05780278146266937,
-0.012687989510595798,
0.008857158944010735,
0.03542863577604294,
-0.08614569157361984,
0.04785483703017235,
0.03717388957738876,
-0.009904311038553715,
0.003667213022708893,
-0.026807086542248726,
0.017147110775113106,
-0.0010602412512525916,
-0.014703757129609585,
0.010654769837856293,
-0.057279206812381744,
0.00757876131683588,
-0.04893689602613449,
0.03235699236392975,
0.040699299424886703,
-0.02029729261994362,
0.000724825426004827,
0.03539373353123665,
-0.03567297384142876,
0.012007340788841248,
0.0013242107816040516,
-0.00655342498794198,
-0.07986278086900711,
-0.012443654239177704,
0.018517134711146355,
0.007727107964456081,
0.06516774743795395,
0.04754069447517395,
0.01554147806018591,
0.022496310994029045,
-0.00757876131683588,
0.028325457125902176,
0.0370691753923893,
-0.024712782353162766,
0.04265398532152176,
0.03104805201292038,
-0.05968765541911125,
-0.02087322622537613,
-0.056860342621803284,
0.01865675486624241,
-0.000507214164827019,
-0.02530616894364357,
-0.0008164512109942734,
-0.06401588022708893,
-0.041083257645368576,
0.017330363392829895,
0.08928714692592621,
0.03186831995844841,
0.03703426942229271,
-0.009118947200477123,
0.07204404473304749,
-0.01719946786761284,
-0.0023582731373608112,
-0.03640597686171532,
-0.012443654239177704,
0.010157372802495956,
-0.023595821112394333,
-0.026999063789844513,
0.028447624295949936,
0.014345980249345303,
-0.049774616956710815,
0.02202509343624115,
0.03548099473118782,
-0.042304933071136475,
0.00013873398711439222,
0.12188847362995148,
-0.051659490913152695,
-0.004598741885274649,
0.05930369719862938,
-0.010811842978000641,
0.001785611966624856,
-0.09633796662092209,
0.008451388217508793,
0.03171124681830406,
0.04401528090238571,
0.005157222971320152,
-0.027452830225229263,
0.015183701179921627,
-0.04991423711180687,
0.04380585253238678,
0.025288715958595276,
-0.0019405032508075237,
0.009939216077327728,
-0.06523755937814713,
0.004075165838003159,
-0.039233289659023285,
-0.04240964725613594,
0.03727860376238823,
0.03731350973248482,
-0.020681248977780342,
-0.015969065949320793,
-0.041083257645368576,
0.035097040235996246,
0.013953298330307007,
0.008800438605248928,
-0.05131043866276741,
0.01977371610701084,
-0.041571926325559616,
0.007984532974660397,
-0.0012565822107717395,
0.003675939282402396,
0.020314745604991913,
-0.05106610432267189,
0.04380585253238678,
-0.016475189477205276,
0.04000119864940643,
-0.04429452121257782,
-0.0534745529294014,
-0.0011087810853496194,
0.042514365166425705,
-0.05888483673334122,
0.009049137122929096,
-0.03954743221402168,
0.022374143823981285,
-0.051205724477767944,
0.024049587547779083,
-0.009851953014731407,
0.04502752795815468,
0.014337253756821156,
0.01464267261326313,
-0.0662149041891098,
0.00544518930837512,
0.0002335639437660575,
0.041781358420848846,
0.02223452366888523,
0.05385850742459297,
0.03769746422767639,
-0.04827369749546051,
-0.023281674832105637,
-0.030978241935372353,
0.00988685805350542,
-0.04729635640978813,
-0.032706040889024734,
0.0531604066491127,
-0.024765141308307648,
-0.03563806787133217,
-0.01219931896775961,
0.0479944571852684,
0.019669001922011375,
-0.06649414449930191,
0.02506183460354805,
0.005432100035250187,
0.007709655445069075,
0.02661510929465294,
0.0024891672655940056,
0.028430171310901642,
-0.01353443693369627,
0.04960009083151817,
0.035952214151620865,
0.019546834751963615,
-0.023700537160038948,
0.006570877507328987,
0.007700928952544928,
0.012120782397687435,
-0.06303854286670685,
0.05532452091574669,
-0.00022742828878108412,
0.045586008578538895,
-0.08251556754112244,
0.033613573759794235,
0.007565672043710947,
0.05288116633892059
] |
710,003
|
urllib3_future._async.response
|
drain_conn
|
Read and discard any remaining HTTP response data in the response connection.
Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
|
@asynccontextmanager
async def _error_catcher(self) -> typing.AsyncGenerator[None, None]: # type: ignore[override]
"""
Catch low-level python exceptions, instead re-raising urllib3
variants, so that low-level exceptions are not leaked in the
high-level api.
On exit, release the connection back to the pool.
"""
clean_exit = False
try:
try:
yield
except SocketTimeout as e:
# FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
# there is yet no clean way to get at it from this context.
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
except BaseSSLError as e:
# FIXME: Is there a better way to differentiate between SSLErrors?
if "read operation timed out" not in str(e):
# SSL errors related to framing/MAC get wrapped and reraised here
raise SSLError(e) from e
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
except OSError as e:
# This includes IncompleteRead.
raise ProtocolError(f"Connection broken: {e!r}", e) from e
# If no exception is thrown, we should avoid cleaning up
# unnecessarily.
clean_exit = True
finally:
# If we didn't terminate cleanly, we need to throw away our
# connection.
if not clean_exit:
# The response may not be closed but we're not going to use it
# anymore so close it now to ensure that the connection is
# released back to the pool.
if self._original_response:
self._original_response.close()
# Closing the response may not actually be sufficient to close
# everything, so if we have a hold of the connection close that
# too.
if self._connection:
await self._connection.close()
# If we hold the original response but it's closed now, we should
# return the connection back to the pool.
if self._original_response and self._original_response.isclosed():
self.release_conn()
|
(self) -> NoneType
|
[
-0.025714082643389702,
-0.05271875858306885,
-0.043097976595163345,
0.03799426928162575,
-0.027571754530072212,
0.023132897913455963,
-0.014577831141650677,
0.012778823263943195,
0.04724351689219475,
-0.0918276309967041,
0.07415042072534561,
0.05099796876311302,
0.03203016519546509,
0.033848728984594345,
-0.017686987295746803,
0.07618407905101776,
0.01105803344398737,
0.0274153184145689,
0.021333888173103333,
-0.04919895902276039,
-0.0479474738240242,
0.07630140334367752,
-0.002593406941741705,
-0.031717292964458466,
-0.023954182863235474,
0.04724351689219475,
-0.03443536162376404,
-0.0022206506691873074,
0.06343458592891693,
-0.03435714170336723,
-0.00950834434479475,
0.024990567937493324,
-0.005118373315781355,
0.09190584719181061,
0.0011622667079791427,
-0.0011249911040067673,
-0.032264817506074905,
0.005137927830219269,
-0.036762338131666183,
0.015174241736531258,
-0.06546825170516968,
-0.040595006197690964,
-0.031384870409965515,
-0.014763598330318928,
0.0135218920186162,
-0.021646760404109955,
-0.06417765468358994,
-0.004644178319722414,
-0.05013757199048996,
-0.04876876249909401,
-0.005157482344657183,
0.07469794154167175,
0.0329296700656414,
0.014352955855429173,
0.053109847009181976,
0.02764997072517872,
-0.052953410893678665,
0.04642222821712494,
-0.021275226026773453,
0.0023367549292743206,
-0.04384104534983635,
0.03793560341000557,
-0.03701654449105263,
0.0018417834071442485,
-0.0417291633784771,
-0.03130665048956871,
-0.02768908068537712,
-0.02512745000422001,
-0.010129197500646114,
-0.024384381249547005,
0.0603058785200119,
0.06253508478403091,
-0.034885112196207047,
0.010842934250831604,
0.05878063291311264,
-0.04876876249909401,
-0.015829315409064293,
-0.00950834434479475,
-0.001660904847085476,
0.001662126975134015,
0.008701724000275135,
0.03678189218044281,
0.03723164647817612,
-0.008286192081868649,
0.09276624023914337,
-0.06222221255302429,
0.020610375329852104,
0.000753456843085587,
-0.05518261715769768,
0.03863956406712532,
-0.015985751524567604,
-0.00790976919233799,
-0.025518538430333138,
-0.013502337969839573,
-0.011703329160809517,
-0.016533274203538895,
-0.008476847782731056,
-0.0363321416079998,
-0.014851593412458897,
-0.03654723986983299,
0.014665826223790646,
0.02381730265915394,
0.004284865688532591,
-0.0005420244997367263,
0.007029819302260876,
-0.051584601402282715,
0.04477965831756592,
-0.0032191488426178694,
0.020062850788235664,
-0.04943361133337021,
-0.025577200576663017,
-0.04509252682328224,
0.030074721202254295,
0.05318806320428848,
-0.024560371413826942,
-0.020180176943540573,
-0.01968153938651085,
-0.02244849130511284,
-0.02884279191493988,
-0.017598992213606834,
-0.023641312494874,
0.008511068299412727,
-0.027082892134785652,
0.03977372124791145,
0.035980161279439926,
0.04763460531830788,
-0.014548500068485737,
-0.011018924415111542,
-0.010882043279707432,
0.032655905932188034,
-0.023954182863235474,
0.05522172525525093,
0.006443186663091183,
0.024482153356075287,
-0.015487113036215305,
0.050880640745162964,
-0.08557020872831345,
0.06190934404730797,
-0.019642429426312447,
-0.011067810468375683,
-0.007298693060874939,
0.03846357390284538,
-0.048182129859924316,
-0.01809762977063656,
0.0019957744516432285,
-0.020571265369653702,
-0.015184018760919571,
-0.04395836964249611,
0.0016694599762558937,
-0.05838954448699951,
0.016112854704260826,
-0.01980864256620407,
0.019642429426312447,
0.07504992187023163,
-0.016357285901904106,
0.010930929332971573,
-0.03203016519546509,
0.01357077807188034,
-0.025753190740942955,
-0.006443186663091183,
-0.0260465070605278,
-0.020043296739459038,
0.024873241782188416,
-0.03860045596957207,
-0.02379774861037731,
-0.052405886352062225,
0.058037564158439636,
-0.0808771476149559,
0.02862769365310669,
0.011673998087644577,
-0.050489552319049835,
0.06425587832927704,
-0.007386688143014908,
0.009195473045110703,
-0.008393741212785244,
0.05154549330472946,
0.02199874073266983,
0.03187372907996178,
-0.04743906110525131,
-0.01943710818886757,
0.03949996083974838,
-0.08408407121896744,
-0.017696764320135117,
0.022956907749176025,
0.007288915570825338,
0.04368460923433304,
-0.0051917023956775665,
-0.003800893435254693,
0.019251341000199318,
0.01414763368666172,
-0.03994971141219139,
0.028666801750659943,
0.039871495217084885,
-0.018870029598474503,
0.07849150151014328,
-0.016836369410157204,
-0.02698512002825737,
0.03343808278441429,
0.05467420071363449,
0.0274153184145689,
-0.030680909752845764,
0.04560094326734543,
0.017638100311160088,
-0.01761854626238346,
-0.04450589418411255,
-0.03785738721489906,
-0.021529434248805046,
-0.020101958885788918,
-0.04974648356437683,
0.06855785101652145,
-0.04673510044813156,
0.04771282151341438,
0.022507155314087868,
0.05936726555228233,
0.03848312795162201,
0.043254412710666656,
0.015682656317949295,
0.0010614391649141908,
0.025792300701141357,
0.03234303742647171,
0.014851593412458897,
-0.06413854658603668,
-0.015213350765407085,
-0.0035515744239091873,
0.038013823330402374,
0.0034635793417692184,
-0.022350719198584557,
0.01138068176805973,
0.02217472903430462,
0.02102101780474186,
-0.005959214176982641,
0.05181925371289253,
0.040595006197690964,
0.010197637602686882,
0.025518538430333138,
-0.006228087469935417,
-0.016758151352405548,
-0.016298621892929077,
-0.013414342887699604,
-0.0018870029598474503,
-0.027825960889458656,
-0.002740065334364772,
-0.029566306620836258,
-0.028979673981666565,
-0.015017806552350521,
-0.005338361021131277,
0.003089600708335638,
0.04462322220206261,
0.0016156851779669523,
-0.011458898894488811,
0.00918569602072239,
0.014323623850941658,
-0.007083594333380461,
-0.05510439723730087,
-0.010148751549422741,
-0.09628604352474213,
-0.01622040383517742,
-0.06409943848848343,
-0.007655561435967684,
0.013873872347176075,
0.025303440168499947,
0.05166281759738922,
-0.026828685775399208,
0.06190934404730797,
-0.04493609070777893,
-0.019427331164479256,
0.043215300887823105,
-0.043645501136779785,
0.010598503984510899,
0.030720017850399017,
0.09479990601539612,
0.017510997131466866,
0.021548988297581673,
0.012211744673550129,
-0.027513090521097183,
0.05060688033699989,
-0.008432850241661072,
0.012681051157414913,
-0.07786576449871063,
-0.015868423506617546,
0.026144281029701233,
0.04532718285918236,
0.02819749526679516,
-0.011067810468375683,
-0.003778894664719701,
0.02166631445288658,
-0.028432149440050125,
0.024443043395876884,
0.0053823585622012615,
0.01940777711570263,
-0.008726166561245918,
-0.07027863711118698,
0.03539352864027023,
0.003255813382565975,
-0.014851593412458897,
-0.004583070985972881,
-0.05670786276459694,
0.0260465070605278,
-0.010999370366334915,
-0.034885112196207047,
-0.04560094326734543,
-0.0009361685952171683,
0.032147493213415146,
0.08431872725486755,
0.04352817311882973,
-0.03805293142795563,
0.009483900852501392,
-0.029253436252474785,
-0.05619944632053375,
-0.008804384618997574,
0.023778192698955536,
0.00015353287744801491,
0.024012846872210503,
-0.03371184691786766,
0.015086246654391289,
0.043606389313936234,
-0.007821774110198021,
0.03251902759075165,
-0.02358264848589897,
0.024814577773213387,
-0.07387665659189224,
-0.019026465713977814,
0.05205390602350235,
-0.03075912594795227,
-0.0059738801792263985,
0.01483203936368227,
-0.018840698525309563,
0.032538581639528275,
-0.040203917771577835,
0.0410643145442009,
-0.01752077415585518,
0.011937982402741909,
-0.08791673928499222,
-0.03032892942428589,
0.0031115994788706303,
-0.00648718373849988,
-0.0032020388171076775,
-0.017960749566555023,
0.040477681905031204,
-0.09738108515739441,
0.005005935672670603,
0.008853270672261715,
0.007420908194035292,
0.020610375329852104,
-0.02084502764046192,
-0.020180176943540573,
0.0011983203003183007,
-0.03054402768611908,
0.01042251382023096,
-0.007420908194035292,
0.021275226026773453,
0.009591450914740562,
-0.01877225749194622,
0.037583623081445694,
0.03684055805206299,
-0.013531669043004513,
-0.005470353178679943,
-0.007078705821186304,
0.009884767234325409,
-0.01576087437570095,
-0.004402192309498787,
-0.011605557054281235,
0.01055939495563507,
0.010598503984510899,
0.02090369164943695,
-0.03075912594795227,
0.05917172133922577,
0.030407147482037544,
-0.043606389313936234,
0.008491513319313526,
-0.07943011820316315,
-0.018146516755223274,
-0.009224805049598217,
-0.0159466415643692,
-0.02896011807024479,
-0.028060615062713623,
-0.06202666833996773,
-0.013482782989740372,
-0.01813673973083496,
0.07825685292482376,
0.02774774469435215,
-0.016513720154762268,
0.012016200460493565,
-0.06319993734359741,
0.04196381941437721,
-0.09339198470115662,
-0.016132408753037453,
0.015418672002851963,
-0.004355750512331724,
0.06464696675539017,
0.026515813544392586,
0.01149800792336464,
0.029077446088194847,
0.009699000045657158,
-0.02354354038834572,
-0.028432149440050125,
-0.026359379291534424,
0.0070004877634346485,
-0.03545219078660011,
0.021099235862493515,
-0.025850962847471237,
0.05099796876311302,
0.03343808278441429,
0.011898874305188656,
-0.012896150350570679,
0.05385291576385498,
0.0671108216047287,
0.003255813382565975,
0.03519798442721367,
0.011507784947752953,
-0.07321180403232574,
-0.041455402970314026,
-0.01880159042775631,
-0.05643410235643387,
0.0023929739836603403,
-0.0018833365757018328,
0.01357077807188034,
0.02583140879869461,
0.037290308624506,
0.036977436393499374,
0.053344499319791794,
-0.010148751549422741,
-0.022292057052254677,
0.0017085687723010778,
-0.0020581043791025877,
-0.031932391226291656,
-0.004492631647735834,
0.023250224068760872,
-0.03437669575214386,
0.014020530506968498,
0.02759130857884884,
0.00212532258592546,
0.006086317822337151,
-0.005827221553772688,
0.032206155359745026,
0.015174241736531258,
-0.0636301338672638,
0.0520147979259491,
0.015428449958562851,
-0.00324359186924994,
0.030446255579590797,
0.04489698261022568,
-0.023015569895505905,
0.025635864585638046,
0.1000404879450798,
-0.03263635188341141,
0.03918708860874176,
0.019495772197842598,
-0.016562607139348984,
-0.021138343960046768,
-0.043254412710666656,
0.018381169065833092,
0.033574964851140976,
-0.008863047696650028,
-0.0904197096824646,
0.03410293534398079,
0.035921499133110046,
0.030993780121207237,
-0.045835595577955246,
0.012700606137514114,
0.02217472903430462,
-0.007489348761737347,
0.05529994145035744,
-0.05354004353284836,
-0.05518261715769768,
-0.015672879293560982,
0.05713805928826332,
-0.0054654646664857864,
-0.031345758587121964,
-0.006736502982676029,
-0.023504430428147316,
-0.0030089388601481915,
0.008530622348189354,
-0.0024724139366298914,
-0.02145121619105339,
-0.04892519861459732,
0.017569659277796745,
0.01837139204144478,
0.026691803708672523,
-0.04560094326734543,
0.027904178947210312,
-0.03875689208507538,
0.0821286290884018,
-0.004847055766731501,
-0.0304853655397892,
-0.0006300194654613733,
0.028041061013936996,
-0.011879319325089455,
0.005739226937294006,
0.019055796787142754,
-0.03367273882031441,
0.024834133684635162,
-0.014577831141650677,
-0.008995040319859982,
-0.0029111665207892656,
-0.016503943130373955,
-0.09519099444150925,
0.03212793916463852,
0.04603113979101181,
-0.07708358764648438,
0.026457151398062706,
-0.074737049639225,
0.05193658173084259,
-0.02512745000422001,
0.07434596121311188,
0.029194772243499756,
-0.03863956406712532,
0.02610517106950283,
0.049785591661930084,
-0.017667433246970177,
0.0033658072352409363,
0.05971924588084221,
-0.005147705320268869,
-0.009987427853047848,
0.030641799792647362,
-0.013121026568114758,
-0.0160933006554842,
0.03271457180380821,
0.017902085557579994,
0.012641942128539085,
0.07461972534656525,
0.07579299062490463,
0.00015826871094759554,
-0.018635377287864685,
-0.06601577252149582,
-0.015252459794282913,
0.07520636171102524,
0.020336613059043884,
-0.015477336011826992,
0.004409525077790022,
0.024169282987713814,
0.0077631110325455666,
-0.0016010194085538387,
-0.07641873508691788,
0.022311611101031303,
0.007230252493172884,
-0.05095885694026947,
0.014480059035122395,
-0.07438506931066513,
-0.021803194656968117,
0.03572595492005348,
0.11427611857652664,
-0.0003480078303255141,
-0.061283599585294724,
-0.052953410893678665,
-0.021979184821248055,
-0.0181660708039999,
0.05862419679760933,
-0.03326209634542465,
-0.007518680300563574,
0.00017125408339779824,
-0.00028888622182421386,
0.06057964265346527,
-0.018048744648694992,
-0.008027095347642899,
-0.06464696675539017,
0.027161110192537308,
-0.024931905791163445,
0.016083523631095886,
0.0004054489836562425,
0.009791883639991283,
0.019945524632930756,
-0.05674697086215019,
-0.01499825157225132,
0.02720022015273571,
0.033574964851140976,
0.019212232902646065,
0.05146727338433266,
-0.004074655473232269,
-0.01667015627026558,
-0.010471399873495102,
-0.014616940170526505,
0.009019482880830765,
0.005739226937294006,
0.012778823263943195,
-0.007411131169646978,
-0.029038336127996445,
0.0005566903273575008,
0.06421676278114319,
0.02053215727210045,
0.06308260560035706,
-0.02577274665236473,
-0.031775958836078644,
-0.04395836964249611,
0.015487113036215305,
-0.01861582323908806,
0.010432290844619274,
0.039108872413635254,
0.02610517106950283,
0.03562818095088005,
-0.005177036859095097,
-0.06347369402647018,
-0.023621758446097374,
-0.08025140315294266,
0.03764228895306587,
0.03863956406712532,
-0.020923245698213577,
-0.018273619934916496,
0.01042251382023096,
0.03347719460725784,
-0.002088658045977354,
0.05991479009389877,
-0.029566306620836258,
-0.01992597058415413,
-0.016709264367818832,
0.00874572154134512,
-0.009992316365242004,
0.013463228940963745,
-0.006462740711867809,
-0.029624968767166138,
-0.01034429669380188,
-0.016787482425570488,
0.026848239824175835,
-0.020375721156597137,
-0.073250912129879,
0.008662614971399307,
-0.08588308095932007,
0.04826034605503082,
0.015369785949587822,
-0.025107895955443382,
0.008066204376518726,
-0.02540121227502823,
-0.017090575769543648,
0.023778192698955536,
-0.03996926546096802,
0.04192471131682396,
0.011713107116520405,
-0.009576784446835518,
-0.12123750150203705,
-0.008481736294925213,
0.008589285425841808,
-0.008437738753855228,
0.06836230307817459,
-0.007445351220667362,
-0.010256301611661911,
0.05592568591237068,
0.054713308811187744,
0.027356654405593872,
0.03126754239201546,
-0.002913610776886344,
0.05338360741734505,
-0.09245336800813675,
-0.0445450022816658,
0.012651720084249973,
-0.013912980444729328,
0.0034342478029429913,
0.02369997650384903,
-0.03005516715347767,
0.06562468409538269,
-0.014411618933081627,
0.02878412976861,
0.08244150131940842,
0.04470143839716911,
-0.05529994145035744,
-0.037075210362672806,
-0.044193025678396225,
-0.017999857664108276,
-0.0037300086114555597,
0.014959143474698067,
0.0012759269447997212,
-0.0033560299780219793,
0.008643059991300106,
-0.008863047696650028,
0.02221383899450302,
0.049120742827653885,
0.004741950426250696,
-0.0479474738240242,
-0.011253577657043934,
0.03449402377009392,
-0.006804943550378084,
0.00993365328758955,
-0.0026911792811006308,
-0.026066062971949577,
0.02129478007555008,
0.015506667084991932,
-0.010197637602686882,
0.0026227387133985758,
-0.062143996357917786,
-0.025088340044021606,
0.01108736451715231,
0.00953767541795969,
0.01895802468061447,
-0.09073258191347122,
0.02978140488266945,
0.0010437179589644074,
-0.00845729373395443,
-0.01931978203356266,
0.02780640684068203,
0.01880159042775631,
-0.05260143056511879,
0.0019798865541815758,
0.022624481469392776,
-0.037407636642456055,
0.022956907749176025,
-0.0958949476480484,
-0.024091064929962158,
-0.02166631445288658,
-0.09253159165382385,
0.037407636642456055,
-0.016904808580875397,
0.06613309681415558,
-0.07825685292482376,
0.001427473733201623,
-0.031345758587121964,
0.04681331664323807,
0.014020530506968498,
-0.015232904814183712,
0.04215936362743378,
-0.00832041259855032,
0.060227662324905396,
-0.010852711275219917,
-0.04689153656363487,
0.016376839950680733,
-0.018048744648694992,
-0.03779872506856918,
0.0239737369120121,
-0.019798865541815758,
0.005387247074395418,
-0.018870029598474503,
0.009317688643932343,
-0.036156151443719864,
-0.0008671170216985047,
0.010006981901824474,
0.017843421548604965,
-0.012710383161902428,
0.013609887100756168,
-0.04231579974293709,
0.030309375375509262,
0.03750540688633919,
0.060227662324905396,
0.007357356138527393,
0.04051679000258446,
-0.017354561015963554,
-0.009601227939128876,
-0.030250711366534233,
-0.01051050890237093,
0.01989663764834404,
0.015232904814183712,
0.03435714170336723,
0.006017877720296383,
-0.024423489347100258,
-0.04305886849761009,
-0.031071998178958893,
-0.008359520696103573,
0.029214326292276382,
-0.05565192177891731,
-0.01042251382023096,
0.0698484405875206,
0.01959354430437088,
-0.012993922457098961,
0.024423489347100258,
0.017139462754130363,
-0.008863047696650028,
0.03848312795162201,
-0.00908303540199995,
-0.04493609070777893,
0.029292544350028038,
-0.04591381549835205,
-0.007670227438211441,
0.03895243629813194,
-0.013717436231672764,
0.03328165039420128,
0.06847963482141495,
0.009699000045657158,
-0.02495145983994007,
0.006540958769619465,
-0.01630839891731739,
0.015711989253759384
] |
710,005
|
urllib3_future.response
|
flush
| null |
def flush(self) -> None:
if (
self._fp is not None
and hasattr(self._fp, "flush")
and not getattr(self._fp, "closed", False)
):
return self._fp.flush() # type: ignore[return-value]
|
(self) -> NoneType
|
[
-0.02243170142173767,
-0.03471773490309715,
-0.06040211766958237,
0.05015533044934273,
0.023813670501112938,
-0.040279313921928406,
-0.04718915373086929,
0.05099799484014511,
0.013322509825229645,
-0.015505007468163967,
-0.040380433201789856,
-0.11170347034931183,
0.0182183850556612,
0.03572893142700195,
-0.01176358200609684,
0.04513305425643921,
-0.04466116428375244,
-0.018252091482281685,
-0.022954152897000313,
0.0730757787823677,
0.004752621985971928,
0.026274247094988823,
0.0027786828577518463,
-0.04172869399189949,
-0.003745639231055975,
-0.021673304960131645,
0.021942956373095512,
-0.019954271614551544,
-0.027487682178616524,
0.015850499272346497,
0.012243900448083878,
-0.010701825842261314,
-0.01076081208884716,
0.019667765125632286,
0.0002283091307617724,
0.04776216670870781,
-0.021471064537763596,
-0.025279903784394264,
0.023897936567664146,
-0.017931878566741943,
-0.008287595584988594,
0.0277404822409153,
0.02553270384669304,
-0.024386681616306305,
-0.024757452309131622,
0.025414729490876198,
-0.030049379914999008,
0.07401955872774124,
0.04695320874452591,
-0.014005066826939583,
0.03842545300722122,
0.09822085499763489,
-0.04132421687245369,
-0.004988567903637886,
0.05288555845618248,
-0.026493338868021965,
0.03711089864373207,
-0.05935721471905708,
-0.01647407002747059,
-0.04361626133322716,
0.04132421687245369,
-0.025195637717843056,
0.007984236814081669,
-0.05258220061659813,
0.04422298073768616,
0.026493338868021965,
-0.013212963007390499,
0.03882993385195732,
0.027369709685444832,
0.03822321444749832,
-0.011030464433133602,
0.02905503660440445,
-0.03990854322910309,
0.05076204612851143,
-0.015665113925933838,
0.012378726154565811,
-0.015378608368337154,
-0.010937771759927273,
-0.016844842582941055,
-0.035257041454315186,
0.046009425073862076,
0.03616711497306824,
0.004769475199282169,
0.018150970339775085,
0.012134353630244732,
-0.027487682178616524,
0.055143896490335464,
0.02180813066661358,
-0.09343452751636505,
0.028077546507120132,
0.02836405299603939,
0.08959197998046875,
-0.021673304960131645,
-0.09040093421936035,
0.09242332726716995,
-0.056155093014240265,
-0.04766104742884636,
0.005624778568744659,
-0.021049734205007553,
-0.033335767686367035,
-0.07037924975156784,
0.04897560179233551,
0.02312268503010273,
-0.01921272650361061,
0.03758279234170914,
-0.01302757766097784,
0.044593751430511475,
-0.008713140152394772,
-0.052245136350393295,
-0.01167088933289051,
0.0039057452231645584,
-0.037346843630075455,
-0.033251501619815826,
-0.0022688712924718857,
0.048200350254774094,
-0.06775014102458954,
-0.03515591844916344,
0.05066092684864998,
0.04624537006020546,
0.0023004713002592325,
-0.008047436363995075,
0.020560989156365395,
-0.019836297258734703,
-0.04799811169505119,
0.013954507187008858,
0.03670642152428627,
-0.017864465713500977,
0.012184914201498032,
0.06212115287780762,
-0.0008400301449000835,
-0.032712195068597794,
0.06353682279586792,
0.04280730336904526,
0.02411702834069729,
-0.030605537816882133,
0.004272304009646177,
0.0177127867937088,
-0.009825455956161022,
0.010929345153272152,
-0.010575426742434502,
-0.023459751158952713,
-0.10320942103862762,
0.013912374153733253,
-0.014535944908857346,
0.04779587313532829,
0.04833517596125603,
0.021437358111143112,
-0.022381141781806946,
-0.015361755155026913,
-0.020864346995949745,
0.0064210956916213036,
0.004950647708028555,
-0.03738055005669594,
0.04884077608585358,
0.006661254912614822,
-0.02674613893032074,
-0.05126764625310898,
0.055143896490335464,
-0.03261107578873634,
-0.050930581986904144,
-0.05099799484014511,
-0.027706775814294815,
0.04614425078034401,
-0.061480727046728134,
0.00540147302672267,
-0.01838691718876362,
-0.0599302276968956,
0.038560278713703156,
0.018066704273223877,
0.0023510311730206013,
-0.01040689367800951,
0.020662108436226845,
0.0063705360516905785,
0.0282460805028677,
0.011814141646027565,
0.06222227215766907,
0.0008711033733561635,
0.06360423564910889,
-0.0032821742352098227,
0.008317088708281517,
-0.0012134354328736663,
-0.06788496673107147,
-0.02937524951994419,
-0.025515850633382797,
0.05177324265241623,
-0.01167088933289051,
-0.01610329933464527,
0.001127062365412712,
-0.013785974122583866,
0.020830640569329262,
-0.0015347008593380451,
-0.014283145777881145,
0.023375485092401505,
0.012387152761220932,
0.01176358200609684,
-0.04809923097491264,
-0.042874716222286224,
-0.008228608407080173,
0.06775014102458954,
0.002555377082899213,
0.013036004267632961,
-0.016667883843183517,
0.03781873732805252,
-0.006054536905139685,
-0.0338076576590538,
0.04351514205336571,
0.035257041454315186,
-0.0032990274485200644,
-0.0591212697327137,
0.0356278121471405,
-0.040481552481651306,
-0.009311431087553501,
-0.04065008461475372,
-0.045200467109680176,
0.010870358906686306,
-0.05339115858078003,
0.015024689957499504,
-0.02514507807791233,
-0.070042185485363,
0.061682965606451035,
0.016651030629873276,
-0.034245844930410385,
-0.02103288099169731,
-0.012960163876414299,
-0.020999174565076828,
0.03616711497306824,
-0.04462745785713196,
-0.03127966821193695,
-0.03227401152253151,
-0.04823405668139458,
0.0077019440941512585,
0.028633704409003258,
-0.022886740043759346,
-0.02131938561797142,
-0.0011923687998205423,
0.006888773757964373,
-0.03065609745681286,
0.03680754080414772,
-0.06266045570373535,
0.02040930837392807,
-0.0073143187910318375,
-0.06464914232492447,
0.019347554072737694,
0.007171066012233496,
-0.013684854842722416,
0.0024879639968276024,
0.055346135050058365,
-0.0015368075110018253,
0.0645817294716835,
-0.0061682965606451035,
0.0354255735874176,
-0.050020504742860794,
-0.0169038288295269,
-0.010347907431423664,
0.02393164299428463,
-0.0585145503282547,
-0.0615481398999691,
-0.05322262644767761,
0.018066704273223877,
0.04442521929740906,
0.017780199646949768,
0.02140365168452263,
0.017055507749319077,
0.03249310329556465,
0.008881673216819763,
0.014906716533005238,
-0.05258220061659813,
-0.0674130767583847,
0.04233541339635849,
0.02715061791241169,
-0.028903357684612274,
-0.021589038893580437,
-0.04078491032123566,
-0.03798726946115494,
-0.019785737618803978,
0.01186470128595829,
0.0013124484103173018,
0.0011460223468020558,
-0.019027341157197952,
-0.013440482318401337,
0.04847000166773796,
-0.010592279955744743,
0.04759363457560539,
-0.009227165021002293,
0.02423500083386898,
0.07233422994613647,
-0.031010014936327934,
0.028010133653879166,
-0.025869768112897873,
-0.03579634428024292,
-0.03508850559592247,
0.02170701138675213,
0.006766587495803833,
0.014257865957915783,
0.023594576865434647,
-0.01828579790890217,
-0.049919385462999344,
-0.08878302574157715,
0.046919502317905426,
0.019667765125632286,
-0.02362828329205513,
-0.047020621597766876,
-0.028178665786981583,
0.06869392842054367,
-0.005270860157907009,
-0.018740836530923843,
-0.003170521231368184,
0.017072362825274467,
-0.013676428236067295,
0.04371738061308861,
-0.010845079086720943,
0.007259545847773552,
-0.01669316366314888,
-0.03116169571876526,
0.0684242770075798,
-0.033403180539608,
-0.019667765125632286,
0.04300954192876816,
0.024993399158120155,
0.027791041880846024,
-0.08231136947870255,
-0.010347907431423664,
0.057469647377729416,
0.031313374638557434,
-0.014493811875581741,
-0.01630553789436817,
0.02694837749004364,
0.04597571864724159,
-0.006665468215942383,
-0.022195756435394287,
-0.0015473407693207264,
-0.00844770111143589,
-0.005312993191182613,
0.012648378498852253,
-0.01730830781161785,
-0.008207541890442371,
0.029880845919251442,
-0.029122449457645416,
0.04294212907552719,
-0.030234765261411667,
-0.03882993385195732,
0.0269315242767334,
0.07739021629095078,
-0.03365597873926163,
-0.024268707260489464,
0.04742509871721268,
-0.00969905685633421,
0.006315762642771006,
0.0690309926867485,
0.016254978254437447,
0.030133645981550217,
-0.04405444487929344,
-0.0012987550580874085,
-0.019684618338942528,
-0.006454802118241787,
-0.01598532684147358,
0.04853741452097893,
0.07678349316120148,
0.03274590149521828,
0.006054536905139685,
0.034953679889440536,
0.013440482318401337,
-0.04779587313532829,
0.01202480774372816,
-0.0015715673798695207,
-0.003848865395411849,
-0.035560399293899536,
0.05949204042553902,
-0.037852443754673004,
0.0348188541829586,
-0.056862931698560715,
-0.022364288568496704,
0.0009206098620779812,
-0.06340199708938599,
-0.018471183255314827,
0.04260506480932236,
0.009581083431839943,
0.04135792329907417,
0.024285560473799706,
-0.014637064188718796,
0.0611436627805233,
-0.027100056409835815,
-0.03903217241168022,
-0.03048756532371044,
-0.021791277453303337,
-0.014519091695547104,
-0.050424981862306595,
-0.025263050571084023,
-0.029004476964473724,
0.020173363387584686,
0.029644900932908058,
-0.007883116602897644,
0.0039225984364748,
-0.03348744660615921,
-0.02666187286376953,
0.03471773490309715,
0.030335884541273117,
0.006345255766063929,
0.003339054062962532,
-0.0036529460921883583,
0.009985562413930893,
-0.0045461696572601795,
-0.018639715388417244,
0.0566943995654583,
0.0017864465480670333,
-0.00944625772535801,
0.0158926323056221,
-0.04307695850729942,
0.06491879373788834,
0.019465526565909386,
0.02674613893032074,
0.003168414579704404,
-0.015125809237360954,
0.03085833601653576,
0.05332374572753906,
0.013668001629412174,
0.027807895094156265,
-0.028835944831371307,
0.05902015045285225,
0.036032289266586304,
-0.018134117126464844,
0.08008673787117004,
0.00648429524153471,
0.05875049903988838,
-0.022971006110310555,
-0.04968343675136566,
-0.0043017971329391,
0.006631761323660612,
-0.06684006750583649,
0.04223429411649704,
-0.016052739694714546,
-0.013036004267632961,
0.0009774896316230297,
0.10125444084405899,
0.002315217861905694,
0.05581802874803543,
0.027673067525029182,
-0.0147297577932477,
0.00034417535061948,
0.04462745785713196,
0.07981708645820618,
0.02716747112572193,
-0.024656333029270172,
-0.030403297394514084,
-0.005746964830905199,
-0.07118821144104004,
0.029897699132561684,
-0.006673894822597504,
0.011645609512925148,
0.03599858283996582,
-0.03229086473584175,
0.006766587495803833,
-0.0047020623460412025,
-0.009833882562816143,
-0.09815344214439392,
0.023156391456723213,
0.021487917751073837,
0.001950765959918499,
-0.023881083354353905,
-0.03407730907201767,
0.010474306531250477,
0.05804266035556793,
-0.01287589780986309,
-0.012092220596969128,
-0.0008110635681077838,
-0.030639244243502617,
0.04425668716430664,
-0.003943664953112602,
-0.035931169986724854,
-0.014898289926350117,
0.03920070454478264,
0.001261888537555933,
-0.07240164279937744,
-0.03186953067779541,
0.008237035013735294,
0.003880465403199196,
0.010457453317940235,
0.07550264894962311,
0.01909475401043892,
-0.03154931962490082,
-0.06451431661844254,
-0.03596487641334534,
-0.0538630485534668,
0.00538040604442358,
0.011814141646027565,
-0.046818383038043976,
0.05298667773604393,
-0.012901177629828453,
0.023088978603482246,
0.009867588989436626,
0.04044784605503082,
-0.05733482167124748,
-0.04179610684514046,
-0.07233422994613647,
0.002534310333430767,
-0.0012292353203520179,
-0.035122212022542953,
-0.01697966828942299,
-0.02826293371617794,
-0.08601908385753632,
-0.00736487889662385,
-0.0026017234195023775,
-0.09174919873476028,
0.0552787221968174,
0.0009211365249939263,
-0.031245961785316467,
0.04523417353630066,
-0.023392338305711746,
-0.01005297526717186,
-0.015909485518932343,
-0.01729145459830761,
0.01820153184235096,
-0.05470571294426918,
0.02676299214363098,
0.02445409446954727,
0.035560399293899536,
0.035661518573760986,
-0.011974248103797436,
-0.029880845919251442,
-0.006686534732580185,
0.017426280304789543,
0.044088151305913925,
0.009033352136611938,
0.013684854842722416,
-0.08703028410673141,
0.03626823425292969,
0.011586622335016727,
0.026712432503700256,
-0.006433735601603985,
-0.05780671536922455,
0.02344289794564247,
-0.006121950224041939,
0.039470355957746506,
-0.0294595155864954,
0.025583263486623764,
0.01650777831673622,
0.007175279315561056,
-0.04638019576668739,
-0.10509698837995529,
-0.025616969913244247,
-0.01081137266010046,
0.011713022366166115,
0.0075966110453009605,
-0.005367766134440899,
0.002460577292367816,
-0.06555921584367752,
0.0071794926188886166,
0.007183705922216177,
0.05120023339986801,
-0.029526928439736366,
-0.004980141296982765,
0.006328402552753687,
0.07819917052984238,
-0.006429522298276424,
0.014603357762098312,
0.04584089294075966,
0.00528350006788969,
0.038863640278577805,
-0.0005208713700994849,
-0.037751324474811554,
-0.0026438566856086254,
-0.016819562762975693,
0.025313610211014748,
-0.007019386626780033,
0.020830640569329262,
-0.03215603902935982,
0.04263877123594284,
0.03274590149521828,
0.007895756512880325,
-0.003838332137092948,
-0.00910076592117548,
0.057267408818006516,
0.046312782913446426,
-0.04081861674785614,
0.08783923834562302,
-0.02694837749004364,
-0.0172071885317564,
0.05349227786064148,
-0.018959928303956985,
-0.03616711497306824,
-0.014940422959625721,
-0.04024560749530792,
-0.013609015382826328,
-0.052851852029561996,
-0.03748167306184769,
-0.041088271886110306,
0.0024732172023504972,
-0.0014462211402133107,
-0.014468532055616379,
0.022077782079577446,
-0.030437003821134567,
0.01869027502834797,
0.023695696145296097,
-0.07374990731477737,
0.001846486353315413,
0.014797170646488667,
0.0680197924375534,
0.010819799266755581,
0.01524378266185522,
0.0294595155864954,
-0.010853505693376064,
0.02201036922633648,
-0.021572185680270195,
0.0043017971329391,
0.005068620666861534,
0.020459869876503944,
-0.034346964210271835,
0.06990735977888107,
0.050424981862306595,
0.019431820139288902,
-0.01850488968193531,
-0.01252197939902544,
0.05986281484365463,
0.03599858283996582,
-0.039672594517469406,
0.014637064188718796,
0.001668473705649376,
0.017342014238238335,
-0.03768391162157059,
0.06353682279586792,
0.021673304960131645,
-0.0301673524081707,
-0.027774188667535782,
0.015353328548371792,
0.000970116350799799,
0.015917912125587463,
-0.0054899523966014385,
0.001585260615684092,
-0.036942366510629654,
0.016238125041127205,
-0.03650418296456337,
0.03176841139793396,
0.001241875346750021,
0.0690309926867485,
-0.01177200861275196,
0.034144725650548935,
-0.054469767957925797,
0.04331290349364281,
-0.004067957866936922,
-0.015648260712623596,
0.017173482105135918,
0.021336238831281662,
-0.004234383814036846,
-0.06016617268323898,
-0.01970147155225277,
-0.02725173719227314,
-0.03869510814547539,
-0.034549202769994736,
0.019937418401241302,
-0.05551467090845108,
-0.0269315242767334,
0.022701354697346687,
0.02421814762055874,
-0.04065008461475372,
0.04877336323261261,
-0.05217772349715233,
0.046312782913446426,
0.010625986382365227,
-0.03721201792359352,
0.03254366293549538,
-0.007095226552337408,
-0.04654873162508011,
0.013566882349550724,
-0.007756717037409544,
-0.014207306317985058,
0.04402073845267296,
-0.05372822284698486,
0.034650322049856186,
-0.05160471051931381,
-0.08588425815105438,
-0.060671769082546234,
0.061581846326589584,
-0.07732280343770981,
-0.014847730286419392,
-0.048301469534635544,
0.009993989020586014,
0.025364169850945473,
-0.023409191519021988,
-0.016440363600850105,
0.041998349130153656,
-0.010777666233479977,
-0.013086563907563686,
-0.010684972628951073,
-0.0043734232895076275,
0.034549202769994736,
0.03913329169154167,
-0.011249557137489319,
-0.03738055005669594,
-0.03458290919661522,
-0.05982910469174385,
0.03808838874101639,
-0.0002264658105559647,
-0.0004152751062065363,
0.010583853349089622,
-0.02261708676815033,
0.0009653763263486326,
0.0045293159782886505,
0.0006604375084862113,
0.00006208059494383633,
-0.00007129723235266283,
-0.006892987061291933,
0.033740244805812836,
0.05824489891529083,
-0.02676299214363098,
0.016128579154610634,
0.039268117398023605,
0.0005545779131352901,
0.06687377393245697,
-0.055952854454517365,
0.04914413392543793,
-0.024791158735752106,
0.04472857713699341,
-0.052144017070531845,
0.05578432232141495,
-0.005650058388710022,
0.018757689744234085,
-0.026813551783561707,
-0.024858571588993073,
0.0038994252681732178,
0.025600116699934006,
-0.04381849989295006,
0.02733600325882435,
-0.028313493356108665,
-0.004236490465700626,
0.011898408643901348,
0.0015304875560104847,
-0.05881791189312935,
0.023813670501112938,
-0.029880845919251442,
-0.00955580361187458,
0.0023110045585781336,
-0.025178784504532814,
0.029206715524196625,
0.025381023064255714,
0.008898526430130005,
-0.025667529553174973,
0.04081861674785614,
0.012286033481359482,
0.04031302034854889,
-0.009623216465115547,
0.01186470128595829,
-0.03791985660791397,
-0.016566764563322067,
-0.016457216814160347,
0.07199716567993164,
-0.03336947411298752,
0.03478514775633812,
0.038762520998716354,
-0.04604313150048256,
0.03532445430755615,
0.028380906209349632,
-0.007086799945682287,
0.037751324474811554,
0.07894071191549301,
0.06384018808603287,
0.02482486516237259,
-0.0680197924375534,
0.06016617268323898,
0.004672568757086992,
0.045200467109680176,
-0.023965349420905113,
0.009943429380655289,
0.037447962909936905,
0.0651884451508522,
-0.020341895520687103,
0.042975835502147675,
-0.02342604473233223,
0.054941657930612564
] |
710,009
|
urllib3_future.response
|
is_from_promise
|
Determine if this response came from given promise.
|
def is_from_promise(self, promise: ResponsePromise) -> bool:
"""
Determine if this response came from given promise.
"""
return (
self._fp is not None
and hasattr(self._fp, "from_promise")
and self._fp.from_promise == promise
)
|
(self, promise: urllib3_future.backend._base.ResponsePromise) -> bool
|
[
0.02558429352939129,
-0.03507021442055702,
-0.04995688050985336,
0.043205950409173965,
0.007702983915805817,
0.042305827140808105,
0.04884903505444527,
0.05743483453989029,
0.011762197129428387,
0.04476385563611984,
0.053522754460573196,
0.00003176331301801838,
0.06394342333078384,
0.005201677791774273,
-0.024562997743487358,
0.004379449412226677,
0.0563616082072258,
0.011043828912079334,
0.012740216217935085,
-0.019352665171027184,
-0.01826213113963604,
0.04092102125287056,
0.03929387405514717,
-0.008010237477719784,
-0.024320656433701515,
0.030811935663223267,
-0.00969364307820797,
0.01068031694740057,
-0.03202364221215248,
0.043552152812480927,
-0.019854657351970673,
-0.035762619227170944,
0.07595661282539368,
0.020391270518302917,
0.018816053867340088,
0.039086151868104935,
-0.005123782437294722,
0.023697493597865105,
-0.10545298457145691,
-0.032941076904535294,
-0.06300868093967438,
0.009935983456671238,
-0.04815663397312164,
0.02745378017425537,
-0.003407921176403761,
0.01076686754822731,
-0.06567443162202835,
0.06730157881975174,
0.025566982105374336,
0.001227933564223349,
0.07997255027294159,
-0.016695568338036537,
-0.027817292138934135,
0.01569158397614956,
-0.013934611342847347,
0.04317133128643036,
-0.005660395137965679,
0.06338950246572495,
-0.05023384094238281,
0.03669736161828041,
-0.02001044899225235,
0.027592262253165245,
-0.00284750759601593,
-0.09028936177492142,
0.0166176725178957,
-0.015267487615346909,
0.04871055483818054,
-0.03964007645845413,
-0.011762197129428387,
0.011061138473451138,
-0.038359127938747406,
0.056950151920318604,
-0.023801354691386223,
0.04189038649201393,
0.03645502030849457,
-0.08364228904247284,
-0.0016076733591035008,
0.00392938731238246,
0.00034187399432994425,
-0.015622343868017197,
0.0005988204502500594,
-0.03981317579746246,
-0.06442810595035553,
-0.07505649328231812,
-0.06470506638288498,
0.005296883173286915,
0.016470538452267647,
-0.005253608338534832,
-0.035035595297813416,
0.020650921389460564,
-0.03929387405514717,
0.005063197109848261,
-0.007426022551953793,
-0.04691030830144882,
0.04126722365617752,
0.01769089885056019,
0.04808739200234413,
-0.003211019095033407,
-0.05542686581611633,
-0.0183140616863966,
-0.03749362379312515,
0.036835841834545135,
0.006153732072561979,
0.039086151868104935,
0.0631125420331955,
0.03538179770112038,
0.015094386413693428,
-0.009953293949365616,
0.06744005531072617,
-0.024891890585422516,
-0.00501559441909194,
0.0010364408371970057,
-0.03828988969326019,
0.0321275033056736,
0.03320072591304779,
-0.07318700104951859,
0.007672691252082586,
0.0007400057511404157,
-0.020702851936221123,
-0.007793861906975508,
0.016358021646738052,
0.018694883212447166,
0.004111143294721842,
-0.03037918359041214,
0.046529486775398254,
-0.03487980365753174,
0.02643248625099659,
-0.01893722265958786,
-0.03545103594660759,
-0.01350185927003622,
-0.0157867893576622,
0.04493695870041847,
-0.003217510413378477,
0.0411633625626564,
-0.056396227329969406,
0.05871577933430672,
-0.029842572286725044,
0.02778267301619053,
-0.024545688182115555,
-0.003381956135854125,
-0.0012690449366346002,
0.005846478510648012,
-0.011338099837303162,
-0.06158925220370293,
0.00559548195451498,
-0.010611076839268208,
-0.01361437514424324,
0.0011040583485737443,
0.008719950914382935,
-0.005530569236725569,
-0.0002215148851973936,
-0.0422712080180645,
0.06588215380907059,
0.013882680796086788,
-0.05888887867331505,
0.001862996956333518,
-0.000234497434576042,
-0.02615552581846714,
-0.01776013895869255,
-0.04417531564831734,
0.018521782010793686,
-0.0024645221419632435,
-0.011338099837303162,
-0.03342575579881668,
-0.0010212945053353906,
0.0010126394918188453,
-0.03787444531917572,
-0.030032983049750328,
-0.009676332585513592,
0.03597033768892288,
0.0006777976523153484,
0.013346068561077118,
0.030690765008330345,
-0.008217958733439445,
-0.013571100309491158,
0.01611568033695221,
0.04829511418938637,
-0.000558790925424546,
-0.04137108102440834,
-0.039432354271411896,
0.047706570476293564,
-0.0433790497481823,
-0.0205816812813282,
-0.00955516193062067,
0.018781432881951332,
0.008040530607104301,
0.004833838902413845,
-0.033391136676073074,
0.043136708438396454,
0.0450754389166832,
-0.08108039945363998,
0.011338099837303162,
0.04036709666252136,
-0.006954323034733534,
-0.01776013895869255,
-0.04085177928209305,
-0.00030644243815913796,
-0.014021161943674088,
0.015674274414777756,
-0.0191622544080019,
-0.014410638250410557,
-0.07477953284978867,
-0.029167478904128075,
0.025843944400548935,
-0.049299098551273346,
0.05310731381177902,
-0.023697493597865105,
0.04081716015934944,
0.038255270570516586,
-0.012021848000586033,
-0.08938923478126526,
-0.10081388801336288,
-0.013475893996655941,
-0.0032737681176513433,
0.0400208979845047,
0.023022402077913284,
-0.023818664252758026,
-0.04244430735707283,
0.005110800266265869,
0.004660738166421652,
0.08925075083971024,
-0.0024234107695519924,
-0.007793861906975508,
0.01245460007339716,
0.013735545799136162,
0.05348813533782959,
-0.03245639428496361,
0.044209934771060944,
0.016808083280920982,
-0.034966353327035904,
-0.005474311765283346,
0.05573844537138939,
0.05213794857263565,
-0.04085177928209305,
0.006958650890737772,
0.008339129388332367,
0.042652029544115067,
0.055773064494132996,
-0.023818664252758026,
0.026467107236385345,
0.029340580105781555,
0.02278006076812744,
0.0006918621365912259,
-0.008975274860858917,
-0.04781043156981468,
-0.031469717621803284,
0.005050214938819408,
-0.018037099391222,
-0.04808739200234413,
-0.021429874002933502,
-0.02975602075457573,
-0.028215425089001656,
-0.018417920917272568,
-0.06698999553918839,
-0.002232999773696065,
-0.08378077298402786,
0.009806158021092415,
-0.019750796258449554,
0.03787444531917572,
0.05625774711370468,
0.005534897092729807,
-0.02001044899225235,
0.025688152760267258,
0.007651053834706545,
-0.06744005531072617,
-0.016219541430473328,
-0.0262074563652277,
-0.012670976109802723,
-0.011493890546262264,
-0.029963742941617966,
0.05414591729640961,
-0.04808739200234413,
-0.0004995579947717488,
-0.008503574877977371,
0.02073747105896473,
-0.027367230504751205,
-0.00560846459120512,
0.015700239688158035,
-0.03534717485308647,
-0.018573712557554245,
-0.013571100309491158,
-0.0194565262645483,
0.0580579973757267,
0.009321476332843304,
-0.052172571420669556,
-0.010048499330878258,
0.01663498394191265,
0.05206871032714844,
0.037909068167209625,
-0.0529688335955143,
0.03569337725639343,
-0.008711296133697033,
0.0284577663987875,
-0.031071586534380913,
-0.03822064772248268,
0.03055228479206562,
-0.009858088567852974,
-0.029288649559020996,
-0.031469717621803284,
-0.0035226005129516125,
0.07879547029733658,
0.015752170234918594,
0.025566982105374336,
0.0020696360152214766,
-0.016894634813070297,
-0.001821885583922267,
0.0417172834277153,
0.022641580551862717,
-0.03320072591304779,
-0.033339206129312515,
-0.03545103594660759,
0.0693095475435257,
-0.037735965102910995,
-0.05064928159117699,
0.059269700199365616,
0.029859881848096848,
0.013571100309491158,
-0.03462015092372894,
0.01186605729162693,
0.03519138693809509,
-0.05902735888957977,
0.01836599037051201,
0.016176266595721245,
0.038982290774583817,
-0.03839375078678131,
-0.00011352975707268342,
-0.013086417689919472,
0.018521782010793686,
-0.02970409020781517,
0.02840583585202694,
-0.02435527741909027,
-0.032560255378484726,
0.00034187399432994425,
0.026570966467261314,
-0.01679077371954918,
0.011623715981841087,
-0.009286856278777122,
0.007252921815961599,
0.007188009098172188,
0.026865238323807716,
0.0433790497481823,
-0.0558076873421669,
0.04012475535273552,
-0.006417710799723864,
-0.03922463208436966,
-0.0038731296081095934,
-0.014341398142278194,
0.013095072470605373,
0.11646219342947006,
-0.06404728442430496,
-0.1048298254609108,
0.008646382950246334,
0.056569330394268036,
0.012645010836422443,
0.008140063844621181,
0.04469461739063263,
-0.007101458963006735,
0.04310208931565285,
-0.014791459776461124,
0.041232600808143616,
0.08294988423585892,
-0.00562144722789526,
-0.022849300876259804,
-0.035589516162872314,
-0.10046768188476562,
-0.0006069345399737358,
0.026847928762435913,
-0.013848060742020607,
-0.011130379512906075,
0.017102355137467384,
-0.028959758579730988,
0.00622730003669858,
-0.03481056168675423,
-0.03037918359041214,
-0.020945193246006966,
0.010325460694730282,
-0.009832123294472694,
0.037632107734680176,
-0.034239329397678375,
0.026536347344517708,
0.07304852455854416,
0.050199221819639206,
-0.03510483354330063,
0.0007410876569338143,
-0.009676332585513592,
-0.022503098472952843,
-0.025376571342349052,
-0.019179563969373703,
-0.06806322187185287,
-0.008053513243794441,
0.0009022877202369273,
-0.02418217621743679,
-0.021828006953001022,
0.026588277891278267,
-0.016470538452267647,
-0.07865698635578156,
-0.007841464132070541,
0.019248804077506065,
-0.013562444597482681,
-0.02580932341516018,
0.06518974900245667,
0.010351425968110561,
0.016583053395152092,
0.015345382504165173,
0.0003334894427098334,
-0.004881441593170166,
-0.019075704738497734,
-0.002598675200715661,
-0.01848716102540493,
-0.013934611342847347,
0.013683615252375603,
-0.10012148320674896,
-0.03545103594660759,
-0.037008944898843765,
-0.050026122480630875,
0.011320790275931358,
-0.03032725304365158,
-0.029565609991550446,
0.03808216750621796,
0.012679630890488625,
0.030483044683933258,
0.03269873559474945,
-0.05044156312942505,
-0.009615747258067131,
-0.013449929654598236,
-0.004517930094152689,
-0.011459270492196083,
0.0417172834277153,
0.046010181307792664,
0.008676676079630852,
0.04299822822213173,
-0.008049185387790203,
0.05798875540494919,
-0.05276111140847206,
0.01821020059287548,
0.022901231423020363,
-0.04327519237995148,
-0.014401983469724655,
-0.02168952487409115,
0.021949177607893944,
0.01995851844549179,
0.06148539111018181,
-0.05996210500597954,
-0.020702851936221123,
0.03752824664115906,
-0.041959624737501144,
0.015483863651752472,
0.021620284765958786,
0.03442974016070366,
-0.022831991314888,
-0.03082924522459507,
-0.0015113860135897994,
0.004647755529731512,
-0.037008944898843765,
-0.06865176558494568,
0.03877457231283188,
0.04999149963259697,
-0.0060109240002930164,
-0.05615388602018356,
0.025376571342349052,
-0.03828988969326019,
0.0025467448867857456,
-0.02992912195622921,
-0.0428251288831234,
0.046702586114406586,
0.059096600860357285,
0.008404041640460491,
0.01516362652182579,
-0.041232600808143616,
0.0256362222135067,
0.008611762896180153,
-0.05393819883465767,
0.003011953318491578,
-0.017145629972219467,
0.0074822804890573025,
-0.00071349972859025,
0.020945193246006966,
0.07817230373620987,
-0.02011430822312832,
0.07477953284978867,
-0.051549408584833145,
-0.028371214866638184,
0.01798516884446144,
-0.01950845681130886,
0.043032851070165634,
-0.04497157782316208,
-0.026519037783145905,
-0.01536269299685955,
0.014350052922964096,
0.003072538645938039,
0.019941207021474838,
-0.012584425508975983,
0.004942026920616627,
0.020668230950832367,
0.05708863213658333,
0.01761300303041935,
0.04542164131999016,
0.03451629355549812,
0.04587170109152794,
0.001474602147936821,
-0.006928358227014542,
-0.010463940910995007,
0.029565609991550446,
0.04497157782316208,
0.033789269626140594,
0.007789534516632557,
0.0010153441689908504,
0.013155657798051834,
-0.0307253859937191,
0.056050028651952744,
0.042928989976644516,
0.08108039945363998,
-0.0191622544080019,
-0.014644324779510498,
0.02627669647336006,
0.03714742511510849,
-0.0091570308431983,
-0.0028345249593257904,
-0.048606693744659424,
-0.02570546418428421,
0.06917106360197067,
0.006595138926059008,
0.06273171305656433,
-0.019248804077506065,
-0.0529688335955143,
0.025688152760267258,
-0.030933106318116188,
-0.0019668573513627052,
0.014168297871947289,
-0.08862759172916412,
0.057400211691856384,
-0.004708340857177973,
-0.008339129388332367,
0.009226270951330662,
0.05476908013224602,
0.042859748005867004,
-0.04981840029358864,
-0.05632698908448219,
-0.05428440123796463,
0.0259304940700531,
0.0066513968631625175,
0.024424517527222633,
-0.04351753368973732,
0.0400208979845047,
0.012246878817677498,
0.01791592873632908,
-0.006724964827299118,
-0.017950549721717834,
0.016020474955439568,
0.007495263125747442,
-0.0024082644376903772,
-0.023247431963682175,
0.08253444731235504,
-0.03529524430632591,
-0.0042106760665774345,
0.0383245088160038,
0.03912077099084854,
-0.003211019095033407,
0.023489773273468018,
-0.024251416325569153,
0.014168297871947289,
-0.034360501915216446,
0.0015936088748276234,
0.027938462793827057,
-0.06356260180473328,
-0.02040858007967472,
0.024545688182115555,
0.007902049459517002,
0.04164804518222809,
-0.03950159251689911,
0.06685151159763336,
0.019093014299869537,
-0.03519138693809509,
-0.016955219209194183,
0.07031352818012238,
-0.0027133545372635126,
0.008196321316063404,
-0.025826632976531982,
0.0032759320456534624,
0.0389130525290966,
0.011822782456874847,
-0.06100070849061012,
-0.02125677466392517,
-0.026467107236385345,
-0.05760793387889862,
0.006309522781521082,
-0.05206871032714844,
0.042305827140808105,
0.022278068587183952,
-0.02525540068745613,
-0.03624729812145233,
-0.024251416325569153,
0.021152913570404053,
-0.025099610909819603,
0.021897247061133385,
0.018279440701007843,
0.05857729911804199,
-0.023368602618575096,
-0.012004537507891655,
-0.019421905279159546,
0.026917168870568275,
0.017405280843377113,
0.013242208398878574,
-0.06975960731506348,
0.05078776553273201,
0.0052189878188073635,
-0.08502709865570068,
0.014878010377287865,
-0.003059556009247899,
-0.011121723800897598,
0.049679920077323914,
0.03417009115219116,
0.03981317579746246,
-0.031417787075042725,
-0.011372719891369343,
-0.021724145859479904,
-0.05321117490530014,
0.0017439902294427156,
-0.049922261387109756,
0.04933371767401695,
0.054595980793237686,
0.014401983469724655,
0.028146184980869293,
0.0371820442378521,
-0.050199221819639206,
-0.02880396693944931,
0.07588737457990646,
-0.06072374805808067,
-0.037459004670381546,
-0.0766490176320076,
0.02778267301619053,
0.004282080102711916,
0.017950549721717834,
-0.03860146924853325,
-0.015856029465794563,
-0.044106073677539825,
-0.03160819783806801,
-0.01848716102540493,
0.026622897014021873,
0.002191888401284814,
-0.028094254434108734,
-0.02835390530526638,
-0.10379121452569962,
0.008261233568191528,
-0.00514542032033205,
0.00284750759601593,
-0.014722219668328762,
-0.030569594353437424,
0.003808216890320182,
0.002475340850651264,
-0.0031525976955890656,
0.08031875640153885,
-0.047429610043764114,
0.0026484415866434574,
0.038255270570516586,
-0.02136063389480114,
0.005707997828722,
0.024043696001172066,
0.023593634366989136,
0.062143173068761826,
0.03555489704012871,
-0.03867071121931076,
0.01905839331448078,
0.01978541724383831,
0.06698999553918839,
0.023472463712096214,
-0.04109412059187889,
-0.016228197142481804,
-0.03579723834991455,
0.0160637516528368,
-0.013648995198309422,
0.06304329633712769,
0.005798875354230404,
-0.02248578891158104,
0.040055517107248306,
0.007149061653763056,
-0.02525540068745613,
-0.038809191435575485,
-0.00858147069811821,
-0.009918673895299435,
-0.001938728499226272,
0.016219541430473328,
-0.006668706890195608,
0.05341889709234238,
-0.009408026933670044,
0.01234208419919014,
0.05947742238640785,
-0.0383245088160038,
-0.03600496053695679,
-0.02123946323990822,
0.02672675810754299,
-0.05868116021156311,
-0.029859881848096848,
0.08745050430297852,
0.013744200579822063,
0.03808216750621796,
-0.0783800259232521,
-0.014618359506130219,
-0.028717417269945145,
0.02193186618387699,
0.07754914462566376,
-0.031989019364118576,
0.0490567572414875,
0.006949995644390583,
-0.042132724076509476,
0.036835841834545135,
-0.04995688050985336,
0.02333398349583149,
0.019369974732398987,
0.027142200618982315,
-0.049679920077323914,
-0.0039856452494859695,
0.04054019972681999,
-0.05570382624864578,
0.022174207493662834,
0.0031396150588989258,
-0.041682664304971695,
0.0349317342042923,
0.05736559256911278,
0.013475893996655941,
-0.043032851070165634,
-0.013259518891572952,
0.03025801293551922,
0.015232867561280727,
-0.013224897906184196,
-0.006573501508682966,
0.017007149755954742,
0.014549119397997856,
-0.03233522176742554,
0.01911032386124134,
-0.025411192327737808,
0.014722219668328762,
-0.0591658391058445,
0.013034487143158913,
0.01061973161995411,
-0.013804785907268524,
0.0017786103999242187,
0.05341889709234238,
0.0042582787573337555,
0.009234925732016563,
0.039986275136470795,
-0.03095041587948799,
0.04926447570323944,
-0.03442974016070366,
0.05338427424430847,
-0.015224211849272251,
-0.005803203210234642,
-0.0335296168923378,
-0.021602975204586983,
-0.017950549721717834,
0.038359127938747406,
0.01061973161995411,
-0.0074000577442348,
-0.010914003476500511,
-0.0012766181025654078,
0.032716043293476105,
-0.0580579973757267,
0.05753869190812111,
0.01663498394191265,
-0.009364751167595387,
-0.10566070675849915,
0.07879547029733658,
-0.020945193246006966,
0.02091057226061821,
-0.01853909157216549,
0.016228197142481804,
-0.02018354833126068,
0.034135472029447556
] |
710,011
|
urllib3_future._async.response
|
json
|
Parses the body of the HTTP response as JSON.
To use a custom JSON decoder pass the result of :attr:`HTTPResponse.data` to the decoder.
This method can raise either `UnicodeDecodeError` or `json.JSONDecodeError`.
Read more :ref:`here <json>`.
|
@asynccontextmanager
async def _error_catcher(self) -> typing.AsyncGenerator[None, None]: # type: ignore[override]
"""
Catch low-level python exceptions, instead re-raising urllib3
variants, so that low-level exceptions are not leaked in the
high-level api.
On exit, release the connection back to the pool.
"""
clean_exit = False
try:
try:
yield
except SocketTimeout as e:
# FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
# there is yet no clean way to get at it from this context.
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
except BaseSSLError as e:
# FIXME: Is there a better way to differentiate between SSLErrors?
if "read operation timed out" not in str(e):
# SSL errors related to framing/MAC get wrapped and reraised here
raise SSLError(e) from e
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
except OSError as e:
# This includes IncompleteRead.
raise ProtocolError(f"Connection broken: {e!r}", e) from e
# If no exception is thrown, we should avoid cleaning up
# unnecessarily.
clean_exit = True
finally:
# If we didn't terminate cleanly, we need to throw away our
# connection.
if not clean_exit:
# The response may not be closed but we're not going to use it
# anymore so close it now to ensure that the connection is
# released back to the pool.
if self._original_response:
self._original_response.close()
# Closing the response may not actually be sufficient to close
# everything, so if we have a hold of the connection close that
# too.
if self._connection:
await self._connection.close()
# If we hold the original response but it's closed now, we should
# return the connection back to the pool.
if self._original_response and self._original_response.isclosed():
self.release_conn()
|
(self) -> Any
|
[
-0.025714082643389702,
-0.05271875858306885,
-0.043097976595163345,
0.03799426928162575,
-0.027571754530072212,
0.023132897913455963,
-0.014577831141650677,
0.012778823263943195,
0.04724351689219475,
-0.0918276309967041,
0.07415042072534561,
0.05099796876311302,
0.03203016519546509,
0.033848728984594345,
-0.017686987295746803,
0.07618407905101776,
0.01105803344398737,
0.0274153184145689,
0.021333888173103333,
-0.04919895902276039,
-0.0479474738240242,
0.07630140334367752,
-0.002593406941741705,
-0.031717292964458466,
-0.023954182863235474,
0.04724351689219475,
-0.03443536162376404,
-0.0022206506691873074,
0.06343458592891693,
-0.03435714170336723,
-0.00950834434479475,
0.024990567937493324,
-0.005118373315781355,
0.09190584719181061,
0.0011622667079791427,
-0.0011249911040067673,
-0.032264817506074905,
0.005137927830219269,
-0.036762338131666183,
0.015174241736531258,
-0.06546825170516968,
-0.040595006197690964,
-0.031384870409965515,
-0.014763598330318928,
0.0135218920186162,
-0.021646760404109955,
-0.06417765468358994,
-0.004644178319722414,
-0.05013757199048996,
-0.04876876249909401,
-0.005157482344657183,
0.07469794154167175,
0.0329296700656414,
0.014352955855429173,
0.053109847009181976,
0.02764997072517872,
-0.052953410893678665,
0.04642222821712494,
-0.021275226026773453,
0.0023367549292743206,
-0.04384104534983635,
0.03793560341000557,
-0.03701654449105263,
0.0018417834071442485,
-0.0417291633784771,
-0.03130665048956871,
-0.02768908068537712,
-0.02512745000422001,
-0.010129197500646114,
-0.024384381249547005,
0.0603058785200119,
0.06253508478403091,
-0.034885112196207047,
0.010842934250831604,
0.05878063291311264,
-0.04876876249909401,
-0.015829315409064293,
-0.00950834434479475,
-0.001660904847085476,
0.001662126975134015,
0.008701724000275135,
0.03678189218044281,
0.03723164647817612,
-0.008286192081868649,
0.09276624023914337,
-0.06222221255302429,
0.020610375329852104,
0.000753456843085587,
-0.05518261715769768,
0.03863956406712532,
-0.015985751524567604,
-0.00790976919233799,
-0.025518538430333138,
-0.013502337969839573,
-0.011703329160809517,
-0.016533274203538895,
-0.008476847782731056,
-0.0363321416079998,
-0.014851593412458897,
-0.03654723986983299,
0.014665826223790646,
0.02381730265915394,
0.004284865688532591,
-0.0005420244997367263,
0.007029819302260876,
-0.051584601402282715,
0.04477965831756592,
-0.0032191488426178694,
0.020062850788235664,
-0.04943361133337021,
-0.025577200576663017,
-0.04509252682328224,
0.030074721202254295,
0.05318806320428848,
-0.024560371413826942,
-0.020180176943540573,
-0.01968153938651085,
-0.02244849130511284,
-0.02884279191493988,
-0.017598992213606834,
-0.023641312494874,
0.008511068299412727,
-0.027082892134785652,
0.03977372124791145,
0.035980161279439926,
0.04763460531830788,
-0.014548500068485737,
-0.011018924415111542,
-0.010882043279707432,
0.032655905932188034,
-0.023954182863235474,
0.05522172525525093,
0.006443186663091183,
0.024482153356075287,
-0.015487113036215305,
0.050880640745162964,
-0.08557020872831345,
0.06190934404730797,
-0.019642429426312447,
-0.011067810468375683,
-0.007298693060874939,
0.03846357390284538,
-0.048182129859924316,
-0.01809762977063656,
0.0019957744516432285,
-0.020571265369653702,
-0.015184018760919571,
-0.04395836964249611,
0.0016694599762558937,
-0.05838954448699951,
0.016112854704260826,
-0.01980864256620407,
0.019642429426312447,
0.07504992187023163,
-0.016357285901904106,
0.010930929332971573,
-0.03203016519546509,
0.01357077807188034,
-0.025753190740942955,
-0.006443186663091183,
-0.0260465070605278,
-0.020043296739459038,
0.024873241782188416,
-0.03860045596957207,
-0.02379774861037731,
-0.052405886352062225,
0.058037564158439636,
-0.0808771476149559,
0.02862769365310669,
0.011673998087644577,
-0.050489552319049835,
0.06425587832927704,
-0.007386688143014908,
0.009195473045110703,
-0.008393741212785244,
0.05154549330472946,
0.02199874073266983,
0.03187372907996178,
-0.04743906110525131,
-0.01943710818886757,
0.03949996083974838,
-0.08408407121896744,
-0.017696764320135117,
0.022956907749176025,
0.007288915570825338,
0.04368460923433304,
-0.0051917023956775665,
-0.003800893435254693,
0.019251341000199318,
0.01414763368666172,
-0.03994971141219139,
0.028666801750659943,
0.039871495217084885,
-0.018870029598474503,
0.07849150151014328,
-0.016836369410157204,
-0.02698512002825737,
0.03343808278441429,
0.05467420071363449,
0.0274153184145689,
-0.030680909752845764,
0.04560094326734543,
0.017638100311160088,
-0.01761854626238346,
-0.04450589418411255,
-0.03785738721489906,
-0.021529434248805046,
-0.020101958885788918,
-0.04974648356437683,
0.06855785101652145,
-0.04673510044813156,
0.04771282151341438,
0.022507155314087868,
0.05936726555228233,
0.03848312795162201,
0.043254412710666656,
0.015682656317949295,
0.0010614391649141908,
0.025792300701141357,
0.03234303742647171,
0.014851593412458897,
-0.06413854658603668,
-0.015213350765407085,
-0.0035515744239091873,
0.038013823330402374,
0.0034635793417692184,
-0.022350719198584557,
0.01138068176805973,
0.02217472903430462,
0.02102101780474186,
-0.005959214176982641,
0.05181925371289253,
0.040595006197690964,
0.010197637602686882,
0.025518538430333138,
-0.006228087469935417,
-0.016758151352405548,
-0.016298621892929077,
-0.013414342887699604,
-0.0018870029598474503,
-0.027825960889458656,
-0.002740065334364772,
-0.029566306620836258,
-0.028979673981666565,
-0.015017806552350521,
-0.005338361021131277,
0.003089600708335638,
0.04462322220206261,
0.0016156851779669523,
-0.011458898894488811,
0.00918569602072239,
0.014323623850941658,
-0.007083594333380461,
-0.05510439723730087,
-0.010148751549422741,
-0.09628604352474213,
-0.01622040383517742,
-0.06409943848848343,
-0.007655561435967684,
0.013873872347176075,
0.025303440168499947,
0.05166281759738922,
-0.026828685775399208,
0.06190934404730797,
-0.04493609070777893,
-0.019427331164479256,
0.043215300887823105,
-0.043645501136779785,
0.010598503984510899,
0.030720017850399017,
0.09479990601539612,
0.017510997131466866,
0.021548988297581673,
0.012211744673550129,
-0.027513090521097183,
0.05060688033699989,
-0.008432850241661072,
0.012681051157414913,
-0.07786576449871063,
-0.015868423506617546,
0.026144281029701233,
0.04532718285918236,
0.02819749526679516,
-0.011067810468375683,
-0.003778894664719701,
0.02166631445288658,
-0.028432149440050125,
0.024443043395876884,
0.0053823585622012615,
0.01940777711570263,
-0.008726166561245918,
-0.07027863711118698,
0.03539352864027023,
0.003255813382565975,
-0.014851593412458897,
-0.004583070985972881,
-0.05670786276459694,
0.0260465070605278,
-0.010999370366334915,
-0.034885112196207047,
-0.04560094326734543,
-0.0009361685952171683,
0.032147493213415146,
0.08431872725486755,
0.04352817311882973,
-0.03805293142795563,
0.009483900852501392,
-0.029253436252474785,
-0.05619944632053375,
-0.008804384618997574,
0.023778192698955536,
0.00015353287744801491,
0.024012846872210503,
-0.03371184691786766,
0.015086246654391289,
0.043606389313936234,
-0.007821774110198021,
0.03251902759075165,
-0.02358264848589897,
0.024814577773213387,
-0.07387665659189224,
-0.019026465713977814,
0.05205390602350235,
-0.03075912594795227,
-0.0059738801792263985,
0.01483203936368227,
-0.018840698525309563,
0.032538581639528275,
-0.040203917771577835,
0.0410643145442009,
-0.01752077415585518,
0.011937982402741909,
-0.08791673928499222,
-0.03032892942428589,
0.0031115994788706303,
-0.00648718373849988,
-0.0032020388171076775,
-0.017960749566555023,
0.040477681905031204,
-0.09738108515739441,
0.005005935672670603,
0.008853270672261715,
0.007420908194035292,
0.020610375329852104,
-0.02084502764046192,
-0.020180176943540573,
0.0011983203003183007,
-0.03054402768611908,
0.01042251382023096,
-0.007420908194035292,
0.021275226026773453,
0.009591450914740562,
-0.01877225749194622,
0.037583623081445694,
0.03684055805206299,
-0.013531669043004513,
-0.005470353178679943,
-0.007078705821186304,
0.009884767234325409,
-0.01576087437570095,
-0.004402192309498787,
-0.011605557054281235,
0.01055939495563507,
0.010598503984510899,
0.02090369164943695,
-0.03075912594795227,
0.05917172133922577,
0.030407147482037544,
-0.043606389313936234,
0.008491513319313526,
-0.07943011820316315,
-0.018146516755223274,
-0.009224805049598217,
-0.0159466415643692,
-0.02896011807024479,
-0.028060615062713623,
-0.06202666833996773,
-0.013482782989740372,
-0.01813673973083496,
0.07825685292482376,
0.02774774469435215,
-0.016513720154762268,
0.012016200460493565,
-0.06319993734359741,
0.04196381941437721,
-0.09339198470115662,
-0.016132408753037453,
0.015418672002851963,
-0.004355750512331724,
0.06464696675539017,
0.026515813544392586,
0.01149800792336464,
0.029077446088194847,
0.009699000045657158,
-0.02354354038834572,
-0.028432149440050125,
-0.026359379291534424,
0.0070004877634346485,
-0.03545219078660011,
0.021099235862493515,
-0.025850962847471237,
0.05099796876311302,
0.03343808278441429,
0.011898874305188656,
-0.012896150350570679,
0.05385291576385498,
0.0671108216047287,
0.003255813382565975,
0.03519798442721367,
0.011507784947752953,
-0.07321180403232574,
-0.041455402970314026,
-0.01880159042775631,
-0.05643410235643387,
0.0023929739836603403,
-0.0018833365757018328,
0.01357077807188034,
0.02583140879869461,
0.037290308624506,
0.036977436393499374,
0.053344499319791794,
-0.010148751549422741,
-0.022292057052254677,
0.0017085687723010778,
-0.0020581043791025877,
-0.031932391226291656,
-0.004492631647735834,
0.023250224068760872,
-0.03437669575214386,
0.014020530506968498,
0.02759130857884884,
0.00212532258592546,
0.006086317822337151,
-0.005827221553772688,
0.032206155359745026,
0.015174241736531258,
-0.0636301338672638,
0.0520147979259491,
0.015428449958562851,
-0.00324359186924994,
0.030446255579590797,
0.04489698261022568,
-0.023015569895505905,
0.025635864585638046,
0.1000404879450798,
-0.03263635188341141,
0.03918708860874176,
0.019495772197842598,
-0.016562607139348984,
-0.021138343960046768,
-0.043254412710666656,
0.018381169065833092,
0.033574964851140976,
-0.008863047696650028,
-0.0904197096824646,
0.03410293534398079,
0.035921499133110046,
0.030993780121207237,
-0.045835595577955246,
0.012700606137514114,
0.02217472903430462,
-0.007489348761737347,
0.05529994145035744,
-0.05354004353284836,
-0.05518261715769768,
-0.015672879293560982,
0.05713805928826332,
-0.0054654646664857864,
-0.031345758587121964,
-0.006736502982676029,
-0.023504430428147316,
-0.0030089388601481915,
0.008530622348189354,
-0.0024724139366298914,
-0.02145121619105339,
-0.04892519861459732,
0.017569659277796745,
0.01837139204144478,
0.026691803708672523,
-0.04560094326734543,
0.027904178947210312,
-0.03875689208507538,
0.0821286290884018,
-0.004847055766731501,
-0.0304853655397892,
-0.0006300194654613733,
0.028041061013936996,
-0.011879319325089455,
0.005739226937294006,
0.019055796787142754,
-0.03367273882031441,
0.024834133684635162,
-0.014577831141650677,
-0.008995040319859982,
-0.0029111665207892656,
-0.016503943130373955,
-0.09519099444150925,
0.03212793916463852,
0.04603113979101181,
-0.07708358764648438,
0.026457151398062706,
-0.074737049639225,
0.05193658173084259,
-0.02512745000422001,
0.07434596121311188,
0.029194772243499756,
-0.03863956406712532,
0.02610517106950283,
0.049785591661930084,
-0.017667433246970177,
0.0033658072352409363,
0.05971924588084221,
-0.005147705320268869,
-0.009987427853047848,
0.030641799792647362,
-0.013121026568114758,
-0.0160933006554842,
0.03271457180380821,
0.017902085557579994,
0.012641942128539085,
0.07461972534656525,
0.07579299062490463,
0.00015826871094759554,
-0.018635377287864685,
-0.06601577252149582,
-0.015252459794282913,
0.07520636171102524,
0.020336613059043884,
-0.015477336011826992,
0.004409525077790022,
0.024169282987713814,
0.0077631110325455666,
-0.0016010194085538387,
-0.07641873508691788,
0.022311611101031303,
0.007230252493172884,
-0.05095885694026947,
0.014480059035122395,
-0.07438506931066513,
-0.021803194656968117,
0.03572595492005348,
0.11427611857652664,
-0.0003480078303255141,
-0.061283599585294724,
-0.052953410893678665,
-0.021979184821248055,
-0.0181660708039999,
0.05862419679760933,
-0.03326209634542465,
-0.007518680300563574,
0.00017125408339779824,
-0.00028888622182421386,
0.06057964265346527,
-0.018048744648694992,
-0.008027095347642899,
-0.06464696675539017,
0.027161110192537308,
-0.024931905791163445,
0.016083523631095886,
0.0004054489836562425,
0.009791883639991283,
0.019945524632930756,
-0.05674697086215019,
-0.01499825157225132,
0.02720022015273571,
0.033574964851140976,
0.019212232902646065,
0.05146727338433266,
-0.004074655473232269,
-0.01667015627026558,
-0.010471399873495102,
-0.014616940170526505,
0.009019482880830765,
0.005739226937294006,
0.012778823263943195,
-0.007411131169646978,
-0.029038336127996445,
0.0005566903273575008,
0.06421676278114319,
0.02053215727210045,
0.06308260560035706,
-0.02577274665236473,
-0.031775958836078644,
-0.04395836964249611,
0.015487113036215305,
-0.01861582323908806,
0.010432290844619274,
0.039108872413635254,
0.02610517106950283,
0.03562818095088005,
-0.005177036859095097,
-0.06347369402647018,
-0.023621758446097374,
-0.08025140315294266,
0.03764228895306587,
0.03863956406712532,
-0.020923245698213577,
-0.018273619934916496,
0.01042251382023096,
0.03347719460725784,
-0.002088658045977354,
0.05991479009389877,
-0.029566306620836258,
-0.01992597058415413,
-0.016709264367818832,
0.00874572154134512,
-0.009992316365242004,
0.013463228940963745,
-0.006462740711867809,
-0.029624968767166138,
-0.01034429669380188,
-0.016787482425570488,
0.026848239824175835,
-0.020375721156597137,
-0.073250912129879,
0.008662614971399307,
-0.08588308095932007,
0.04826034605503082,
0.015369785949587822,
-0.025107895955443382,
0.008066204376518726,
-0.02540121227502823,
-0.017090575769543648,
0.023778192698955536,
-0.03996926546096802,
0.04192471131682396,
0.011713107116520405,
-0.009576784446835518,
-0.12123750150203705,
-0.008481736294925213,
0.008589285425841808,
-0.008437738753855228,
0.06836230307817459,
-0.007445351220667362,
-0.010256301611661911,
0.05592568591237068,
0.054713308811187744,
0.027356654405593872,
0.03126754239201546,
-0.002913610776886344,
0.05338360741734505,
-0.09245336800813675,
-0.0445450022816658,
0.012651720084249973,
-0.013912980444729328,
0.0034342478029429913,
0.02369997650384903,
-0.03005516715347767,
0.06562468409538269,
-0.014411618933081627,
0.02878412976861,
0.08244150131940842,
0.04470143839716911,
-0.05529994145035744,
-0.037075210362672806,
-0.044193025678396225,
-0.017999857664108276,
-0.0037300086114555597,
0.014959143474698067,
0.0012759269447997212,
-0.0033560299780219793,
0.008643059991300106,
-0.008863047696650028,
0.02221383899450302,
0.049120742827653885,
0.004741950426250696,
-0.0479474738240242,
-0.011253577657043934,
0.03449402377009392,
-0.006804943550378084,
0.00993365328758955,
-0.0026911792811006308,
-0.026066062971949577,
0.02129478007555008,
0.015506667084991932,
-0.010197637602686882,
0.0026227387133985758,
-0.062143996357917786,
-0.025088340044021606,
0.01108736451715231,
0.00953767541795969,
0.01895802468061447,
-0.09073258191347122,
0.02978140488266945,
0.0010437179589644074,
-0.00845729373395443,
-0.01931978203356266,
0.02780640684068203,
0.01880159042775631,
-0.05260143056511879,
0.0019798865541815758,
0.022624481469392776,
-0.037407636642456055,
0.022956907749176025,
-0.0958949476480484,
-0.024091064929962158,
-0.02166631445288658,
-0.09253159165382385,
0.037407636642456055,
-0.016904808580875397,
0.06613309681415558,
-0.07825685292482376,
0.001427473733201623,
-0.031345758587121964,
0.04681331664323807,
0.014020530506968498,
-0.015232904814183712,
0.04215936362743378,
-0.00832041259855032,
0.060227662324905396,
-0.010852711275219917,
-0.04689153656363487,
0.016376839950680733,
-0.018048744648694992,
-0.03779872506856918,
0.0239737369120121,
-0.019798865541815758,
0.005387247074395418,
-0.018870029598474503,
0.009317688643932343,
-0.036156151443719864,
-0.0008671170216985047,
0.010006981901824474,
0.017843421548604965,
-0.012710383161902428,
0.013609887100756168,
-0.04231579974293709,
0.030309375375509262,
0.03750540688633919,
0.060227662324905396,
0.007357356138527393,
0.04051679000258446,
-0.017354561015963554,
-0.009601227939128876,
-0.030250711366534233,
-0.01051050890237093,
0.01989663764834404,
0.015232904814183712,
0.03435714170336723,
0.006017877720296383,
-0.024423489347100258,
-0.04305886849761009,
-0.031071998178958893,
-0.008359520696103573,
0.029214326292276382,
-0.05565192177891731,
-0.01042251382023096,
0.0698484405875206,
0.01959354430437088,
-0.012993922457098961,
0.024423489347100258,
0.017139462754130363,
-0.008863047696650028,
0.03848312795162201,
-0.00908303540199995,
-0.04493609070777893,
0.029292544350028038,
-0.04591381549835205,
-0.007670227438211441,
0.03895243629813194,
-0.013717436231672764,
0.03328165039420128,
0.06847963482141495,
0.009699000045657158,
-0.02495145983994007,
0.006540958769619465,
-0.01630839891731739,
0.015711989253759384
] |
710,015
|
urllib3_future.response
|
release_conn
| null |
def release_conn(self) -> None:
if not self._connection:
return None
if self._police_officer is not None:
if self._police_officer.busy:
self._police_officer.release()
self._connection = None
|
(self) -> NoneType
|
[
-0.03920586034655571,
-0.06947250664234161,
-0.017491303384304047,
-0.005296662449836731,
-0.04205655679106712,
-0.037340592592954636,
-0.003838320728391409,
0.022013703361153603,
-0.0006796796806156635,
-0.03938182815909386,
-0.03762214258313179,
-0.025832228362560272,
0.0391002781689167,
0.058773595839738846,
-0.02643052116036415,
-0.019532542675733566,
-0.01965572126209736,
-0.08340923488140106,
-0.002595540601760149,
0.008534489199519157,
-0.0262017622590065,
0.023263081908226013,
0.03917066752910614,
-0.005806972272694111,
-0.029809124767780304,
0.03677748888731003,
-0.023579826578497887,
-0.006154510658234358,
-0.026712073013186455,
-0.0017497902736067772,
0.019163008779287338,
0.06672739237546921,
0.04986957460641861,
0.05535980314016342,
0.0573306530714035,
0.09854255616664886,
0.03271260857582092,
-0.007109141908586025,
0.0034203946124762297,
0.026219358667731285,
-0.023051919415593147,
-0.029122846201062202,
0.003053059568628669,
-0.010285379365086555,
-0.0034225941635668278,
0.0008902924018912017,
-0.04536477103829384,
-0.01879347302019596,
0.053600113838911057,
-0.006999161094427109,
0.015414871275424957,
0.057154685258865356,
-0.04719484597444534,
0.04691329598426819,
-0.014112702570855618,
0.021151456981897354,
-0.017262544482946396,
0.08446504920721054,
0.013769563287496567,
-0.07622970640659332,
-0.05032709240913391,
-0.01529169362038374,
0.008455303497612476,
-0.009801465086638927,
0.06401746720075607,
0.00247676158323884,
-0.004097874742001295,
0.03088253363966942,
0.06422863155603409,
0.019990062341094017,
0.05616925656795502,
0.025568274781107903,
-0.06447498500347137,
-0.007069548591971397,
0.01629471592605114,
-0.04177500680088997,
0.0005400044028647244,
-0.02817261405289173,
-0.009687085635960102,
-0.003558970056474209,
0.02257680334150791,
0.02639532834291458,
0.006304084323346615,
0.026307344436645508,
0.08559124916791916,
-0.026712073013186455,
0.001612314605154097,
0.011693130247294903,
-0.10670751333236694,
0.03144563362002373,
0.013883942738175392,
0.035369738936424255,
0.006444859318435192,
0.021380215883255005,
0.07996024936437607,
-0.04114151746034622,
-0.04617422819137573,
-0.024706026539206505,
-0.032008733600378036,
-0.04325314611196518,
-0.052121974527835846,
0.009854256175458431,
-0.05384647101163864,
0.0032994160428643227,
0.051171742379665375,
-0.025621065869927406,
0.04768756031990051,
-0.002617536811158061,
-0.03871314972639084,
-0.05743623524904251,
-0.030495403334498405,
-0.017429715022444725,
-0.03528175503015518,
0.025198740884661674,
-0.010602123104035854,
0.009915844537317753,
-0.05039748176932335,
-0.04462570324540138,
-0.0020005458500236273,
-0.011349990963935852,
-0.10431433469057083,
-0.010329371318221092,
-0.051699649542570114,
-0.03899469971656799,
0.018723085522651672,
0.029210830107331276,
-0.011508363299071789,
0.025497887283563614,
0.03631997108459473,
0.00809896644204855,
-0.013655182905495167,
0.05799933522939682,
0.018089598044753075,
-0.026219358667731285,
-0.0564156137406826,
0.008090168237686157,
0.029914705082774162,
0.0319911390542984,
0.002098428551107645,
-0.02817261405289173,
-0.02945718541741371,
0.054163213819265366,
-0.026905637234449387,
-0.0035435727331787348,
0.09108147770166397,
0.03498260676860809,
-0.023051919415593147,
-0.013408826664090157,
0.0013791559031233191,
-0.012300223112106323,
-0.011402782052755356,
-0.05909034237265587,
0.025568274781107903,
-0.010883674025535583,
0.020060449838638306,
-0.02518114261329174,
-0.05402243882417679,
0.03459547832608223,
0.01593397930264473,
-0.04613903537392616,
0.05050306022167206,
0.013127276673913002,
-0.01748250611126423,
-0.03719981759786606,
-0.011781115084886551,
-0.008085768669843674,
0.011781115084886551,
0.0031366448383778334,
0.07996024936437607,
-0.026518506929278374,
-0.02102827839553356,
0.009792666882276535,
-0.03334609791636467,
-0.0009755273349583149,
-0.03267741575837135,
0.06764242798089981,
0.05398724600672722,
0.01051413919776678,
-0.006176506634801626,
0.0007209224277175963,
0.0016739037819206715,
-0.05444476380944252,
-0.027926256880164146,
0.021767348051071167,
0.05310739949345589,
-0.030231449753046036,
0.0488489530980587,
0.004036285448819399,
0.011473169550299644,
-0.009255961515009403,
-0.002386577660217881,
0.024670833721756935,
0.007122339215129614,
0.0012779737589880824,
0.05609887093305588,
-0.0346834622323513,
0.04466089606285095,
0.030231449753046036,
-0.0337684229016304,
0.034155555069446564,
0.01319766417145729,
0.007738230284303427,
-0.011305999010801315,
-0.00870605930685997,
0.07088025659322739,
-0.01662025786936283,
0.0017992815701290965,
-0.06824072450399399,
0.029738737270236015,
-0.008948015980422497,
-0.008041776716709137,
0.025339515879750252,
-0.016708243638277054,
-0.02106347121298313,
0.03002028726041317,
0.036390360444784164,
0.004993116017431021,
-0.008213345892727375,
-0.014543825760483742,
0.02396695874631405,
-0.038501985371112823,
-0.02423091046512127,
0.02083471231162548,
-0.04627981036901474,
-0.021186649799346924,
0.01051413919776678,
-0.025040367618203163,
0.0284365676343441,
0.05486708879470825,
-0.006884781643748283,
0.007408288773149252,
0.04649097099900246,
-0.01790483109652996,
-0.05184042453765869,
-0.021485798060894012,
-0.008569682948291302,
-0.07042273879051208,
0.016937002539634705,
-0.06018134951591492,
-0.008450903929769993,
0.03755175322294235,
-0.02563866227865219,
-0.015344483777880669,
-0.04881376028060913,
-0.0417398139834404,
0.03343408182263374,
0.02215447835624218,
0.02034199982881546,
0.04518880322575569,
-0.015889987349510193,
0.01879347302019596,
-0.08861791342496872,
0.03436671569943428,
-0.005006313789635897,
-0.02396695874631405,
-0.10579247772693634,
-0.032079122960567474,
-0.02449486404657364,
-0.016347507014870644,
0.011877898126840591,
0.013822353444993496,
0.07439963519573212,
-0.054233599454164505,
0.08777326345443726,
0.023527035489678383,
-0.02423091046512127,
0.010100612416863441,
-0.03322292119264603,
-0.018406342715024948,
-0.014675802551209927,
0.06412304937839508,
-0.024266105145215988,
0.030565790832042694,
-0.04029686748981476,
-0.026800056919455528,
-0.009229565970599651,
0.0022633993066847324,
0.01856471411883831,
-0.041563842445611954,
-0.03584485501050949,
0.022629594430327415,
0.04673732817173004,
0.081649549305439,
0.015159716829657555,
0.0015166315715759993,
-0.052121974527835846,
0.010804487392306328,
0.0284365676343441,
0.028260597959160805,
-0.014596616849303246,
-0.042514074593782425,
-0.012150648981332779,
0.02475881762802601,
0.05944227799773216,
0.013039291836321354,
0.030917728319764137,
0.0173153355717659,
0.022875951603055,
0.00939673651009798,
0.0005971943028271198,
-0.01849432662129402,
-0.03061858005821705,
-0.04089516028761864,
0.08861791342496872,
0.01555564720183611,
-0.03142803907394409,
0.028594939038157463,
0.016048358753323555,
-0.025093158707022667,
0.025040367618203163,
-0.03920586034655571,
-0.04332353174686432,
-0.021520990878343582,
0.034648265689611435,
0.01958533376455307,
-0.028718117624521255,
-0.004089076071977615,
0.03144563362002373,
0.003231228096410632,
0.020130837336182594,
-0.011332394555211067,
-0.006840789224952459,
0.02386137656867504,
0.0193213801831007,
-0.021943315863609314,
0.03311733901500702,
0.027011219412088394,
0.0825645849108696,
0.0056354026310145855,
0.008288132958114147,
-0.05666197091341019,
-0.0010833082487806678,
-0.04592787101864815,
-0.023949360474944115,
-0.014746190048754215,
-0.04233810678124428,
0.03440191224217415,
-0.057752978056669235,
-0.020658742636442184,
-0.026712073013186455,
-0.05852724239230156,
0.016171537339687347,
0.015159716829657555,
-0.004817147273570299,
-0.0070079597644507885,
0.04367547109723091,
-0.042654849588871,
-0.03825562819838524,
0.05099577456712723,
-0.05275546386837959,
-0.015881188213825226,
0.08495776355266571,
0.002925482112914324,
0.08488737791776657,
-0.026448119431734085,
-0.04927127808332443,
0.0015727216377854347,
0.10529976338148117,
0.019866883754730225,
-0.04888414964079857,
-0.021186649799346924,
-0.006620828062295914,
-0.0009381339768879116,
-0.006642824038863182,
-0.02298153191804886,
0.04589267820119858,
-0.043992213904857635,
0.016109948977828026,
-0.03397958725690842,
0.01051413919776678,
-0.06408786028623581,
-0.0186351016163826,
0.011464370414614677,
0.011772315949201584,
-0.00046824212768115103,
0.058316078037023544,
0.008939217776060104,
0.028067031875252724,
0.04571670666337013,
0.025585871189832687,
-0.005362650845199823,
-0.004588387906551361,
0.0417398139834404,
-0.016145141795277596,
-0.006229297257959843,
-0.05409282445907593,
-0.04181019961833954,
-0.02896447293460369,
-0.015036538243293762,
-0.012141850776970387,
0.02665928192436695,
0.0093175508081913,
-0.018511923030018806,
0.014508632011711597,
-0.006893579848110676,
-0.002470162697136402,
0.036495938897132874,
-0.07376614212989807,
0.013356036506593227,
0.020746728405356407,
-0.020236417651176453,
0.031322456896305084,
-0.041528649628162384,
0.012089060619473457,
0.0001772061368683353,
0.062398556619882584,
0.07059870660305023,
0.022787965834140778,
0.04782833531498909,
-0.04427376389503479,
-0.08270536363124847,
-0.024019747972488403,
-0.015564445406198502,
-0.02445967122912407,
0.023720601573586464,
-0.004671973176300526,
0.009449527598917484,
0.03288858011364937,
0.09298194199800491,
0.03631997108459473,
0.0009958737064152956,
0.025198740884661674,
-0.0012163846986368299,
0.019409364089369774,
-0.05141809955239296,
-0.01632111147046089,
0.031621601432561874,
-0.021345021203160286,
0.06778319925069809,
0.0017585887107998133,
-0.01041735615581274,
0.024054942652583122,
0.04261965677142143,
-0.05500786378979683,
0.011015649884939194,
0.06722009927034378,
0.022471223026514053,
0.03225509077310562,
0.008811640553176403,
-0.0262017622590065,
0.027380753308534622,
0.030952921137213707,
-0.03130485862493515,
-0.0635247528553009,
0.07133777439594269,
-0.03024904616177082,
0.014605415053665638,
0.0023931763134896755,
-0.04874337092041969,
-0.004817147273570299,
0.007293908856809139,
0.006414064671844244,
-0.012185842730104923,
-0.008015381172299385,
-0.05757701024413109,
0.012652160599827766,
0.02540990337729454,
-0.013153672218322754,
0.02627214975655079,
-0.029087651520967484,
-0.015485258772969246,
0.06503808498382568,
0.04286601394414902,
0.03959299251437187,
0.007579858414828777,
0.03343408182263374,
0.034085165709257126,
0.0047467597760260105,
-0.01777285523712635,
0.013470415957272053,
0.006801196373999119,
-0.0030376622453331947,
-0.001729993848130107,
-0.004715965129435062,
0.012027471326291561,
-0.03568648546934128,
-0.0007451181299984455,
0.06341917812824249,
0.07679280638694763,
-0.027081606909632683,
-0.04972879961133003,
-0.007496273145079613,
0.028911683708429337,
-0.027046412229537964,
-0.04423857107758522,
0.006114917807281017,
0.016145141795277596,
-0.025621065869927406,
-0.05894956737756729,
-0.008420109748840332,
-0.052121974527835846,
0.06250413507223129,
-0.02324548549950123,
-0.024846801534295082,
-0.028524551540613174,
0.010302976705133915,
-0.06109638512134552,
0.01259057130664587,
0.006031332537531853,
-0.04075438529253006,
0.029809124767780304,
-0.012810532934963703,
-0.03273020684719086,
0.011376386508345604,
0.029668349772691727,
-0.03628477826714516,
-0.028647730126976967,
0.04054322466254234,
-0.008732454851269722,
0.01574041321873665,
-0.01461421325802803,
-0.031815167516469955,
0.0015177313471212983,
-0.0035105785354971886,
-0.010426154360175133,
0.031621601432561874,
0.014447042718529701,
-0.011754719540476799,
-0.022471223026514053,
-0.06060367450118065,
0.028401372954249382,
0.0576825886964798,
0.032607030123472214,
0.023491842672228813,
-0.0483914352953434,
-0.039980124682188034,
0.021274633705615997,
0.00511189503595233,
-0.04719484597444534,
-0.008270536549389362,
0.016972195357084274,
-0.008134160190820694,
-0.019567737355828285,
-0.05806972086429596,
0.02745114080607891,
-0.012599370442330837,
-0.09966875612735748,
-0.05592290312051773,
0.0077470289543271065,
-0.02027161233127117,
-0.008142958395183086,
0.012159448117017746,
0.053248174488544464,
-0.028348581865429878,
-0.02416052296757698,
-0.010373364202678204,
0.01859990879893303,
0.10339929908514023,
0.013294447213411331,
0.020517967641353607,
0.03758694604039192,
0.038361210376024246,
0.07341420650482178,
-0.014667004346847534,
-0.041950974613428116,
0.005371449515223503,
0.010839681141078472,
-0.07214722782373428,
0.022295253351330757,
-0.017464909702539444,
-0.04874337092041969,
-0.0029210830107331276,
-0.017306536436080933,
0.04462570324540138,
0.05750662088394165,
-0.0011360988719388843,
0.04490725323557854,
0.025920212268829346,
0.07686319202184677,
-0.01962052658200264,
0.021503394469618797,
-0.09284117072820663,
0.03624958544969559,
-0.0020698336884379387,
0.007566660642623901,
-0.04117671027779579,
-0.0412822924554348,
0.006409665569663048,
0.011622742749750614,
0.03100571222603321,
0.020922696217894554,
-0.01084848027676344,
-0.028102226555347443,
-0.0629616528749466,
-0.007817416451871395,
-0.005314259324222803,
0.013910338282585144,
0.034313928335905075,
0.007302707526832819,
-0.03297656401991844,
0.022823160514235497,
-0.0004390972899273038,
-0.006088522262871265,
-0.035668887197971344,
0.017077777534723282,
-0.003948301076889038,
0.014640608802437782,
0.029633155092597008,
0.03255423903465271,
0.01882866770029068,
0.02057075873017311,
0.05497267097234726,
-0.03292377293109894,
-0.03588004782795906,
-0.02412533015012741,
0.06201142445206642,
-0.0661642923951149,
0.012335416860878468,
0.021996106952428818,
-0.02222486585378647,
-0.044977638870477676,
0.01830076053738594,
-0.012326618656516075,
0.016778631135821342,
-0.035862453281879425,
0.004227651748806238,
-0.0568731352686882,
0.015845995396375656,
-0.03709423542022705,
0.025585871189832687,
0.004588387906551361,
0.0028858892619609833,
0.020940294489264488,
0.024846801534295082,
-0.04423857107758522,
0.001956553664058447,
0.022136881947517395,
-0.0763704851269722,
-0.023491842672228813,
0.0599701851606369,
-0.01224743202328682,
-0.07278072088956833,
0.002698922296985984,
0.058773595839738846,
-0.0035303751938045025,
0.014499833807349205,
0.0314808264374733,
-0.00012139101454522461,
0.018441535532474518,
-0.007531466893851757,
0.014183090068399906,
-0.026078583672642708,
0.02412533015012741,
-0.010628518648445606,
0.02030680514872074,
0.025761840865015984,
-0.05155887454748154,
-0.060709256678819656,
-0.020359596237540245,
-0.02182013727724552,
-0.010936464183032513,
-0.027644706889986992,
0.08010102063417435,
-0.04645577818155289,
-0.01659386232495308,
-0.02866532653570175,
0.024934787303209305,
0.014825375750660896,
-0.02540990337729454,
0.056767553091049194,
-0.04388663172721863,
-0.013039291836321354,
-0.01134119275957346,
0.031181681901216507,
0.02577943727374077,
0.052227556705474854,
-0.05944227799773216,
-0.020553162321448326,
-0.09333387762308121,
0.04068399965763092,
0.011939486488699913,
0.002965075196698308,
-0.02011324092745781,
0.01461421325802803,
0.02382618375122547,
0.006576836109161377,
-0.020025255158543587,
-0.030337030068039894,
-0.04877856746315956,
0.02827819436788559,
0.019866883754730225,
0.008776446804404259,
-0.017368126660585403,
-0.031287264078855515,
0.023544631898403168,
-0.004795151297003031,
-0.05578212812542915,
-0.013716772198677063,
-0.003218030324205756,
-0.06268010288476944,
0.0018333755433559418,
0.041563842445611954,
-0.026870444416999817,
0.005155887454748154,
-0.055500578135252,
-0.07411808520555496,
-0.01538847666233778,
-0.04135268181562424,
-0.010751697234809399,
-0.023298276588320732,
0.09537512063980103,
-0.013373632915318012,
0.022295253351330757,
-0.0056486004032194614,
0.025304321199655533,
0.0599701851606369,
0.022875951603055,
-0.03471865504980087,
0.021908123046159744,
0.024477267637848854,
0.00966069009155035,
0.04803949594497681,
0.0046675740741193295,
-0.0019048628164455295,
0.03426113724708557,
0.02502277120947838,
-0.05747142806649208,
-0.030794549733400345,
-0.028559744358062744,
0.020588355138897896,
-0.01794002391397953,
-0.005006313789635897,
0.007553462870419025,
-0.04283081740140915,
0.04740601032972336,
0.021784944459795952,
-0.02238323912024498,
0.007465478498488665,
0.013734369538724422,
0.0514884851872921,
-0.059266310185194016,
-0.024090135470032692,
-0.024019747972488403,
0.038924310356378555,
-0.003682148177176714,
-0.04423857107758522,
0.04730042815208435,
0.014763786457479,
0.06384149938821793,
-0.04029686748981476,
-0.050080735236406326,
-0.06310243159532547,
0.002240303438156843,
0.013699175789952278,
0.018054405227303505,
-0.02521633729338646,
0.003374202875420451,
0.014834174886345863,
0.03501780331134796,
-0.013083284720778465,
0.0020885304547846317,
0.04181019961833954,
0.04680771380662918,
0.019602930173277855,
0.011622742749750614,
-0.05409282445907593,
-0.02665928192436695,
0.08552086353302002,
-0.06725529581308365,
0.021749749779701233,
-0.013619989156723022,
0.11494285613298416,
0.009141582064330578,
0.004742360673844814,
-0.03871314972639084,
-0.0017794850282371044,
0.03054819256067276,
0.024054942652583122
] |
710,017
|
urllib3_future.response
|
supports_chunked_reads
|
Checks if the underlying file-like object looks like a
:class:`http.client.HTTPResponse` object. We do this by testing for
the fp attribute. If it is present we assume it returns raw chunks as
processed by read_chunked().
|
def supports_chunked_reads(self) -> bool:
"""
Checks if the underlying file-like object looks like a
:class:`http.client.HTTPResponse` object. We do this by testing for
the fp attribute. If it is present we assume it returns raw chunks as
processed by read_chunked().
"""
return False
|
(self) -> bool
|
[
-0.013335449621081352,
-0.01779772900044918,
-0.11565954238176346,
0.030113963410258293,
0.015596565790474415,
0.07591870427131653,
-0.0004568804579321295,
0.061632558703422546,
-0.011434055864810944,
-0.06865572184324265,
0.08660762012004852,
0.01968199387192726,
-0.009198633953928947,
-0.02271394431591034,
0.04087139666080475,
-0.0007446054369211197,
-0.012478966265916824,
0.01727527379989624,
0.019219491630792618,
-0.001871416694484651,
-0.06361959874629974,
0.05587698891758919,
0.02151486836373806,
-0.0126502625644207,
0.0069417995400726795,
0.05796680971980095,
0.02017875388264656,
-0.02285098284482956,
0.01723244972527027,
0.05628810077905655,
-0.0038734469562768936,
-0.01815745234489441,
-0.0012965020723640919,
0.0599881112575531,
0.0012365481816232204,
0.012838688679039478,
-0.024563949555158615,
0.013875034637749195,
-0.08153723925352097,
0.021686164662241936,
-0.09750209003686905,
-0.008646202273666859,
-0.01949356682598591,
0.008607660420238972,
-0.012735910713672638,
-0.018174581229686737,
-0.05066956952214241,
-0.0021990216337144375,
0.0045479279942810535,
0.002672228729352355,
0.05032697692513466,
0.030028315261006355,
-0.005297351162880659,
-0.00530591607093811,
0.013977812603116035,
0.01240188255906105,
-0.036486200988292694,
0.03799361363053322,
-0.08537428826093674,
0.03552693873643875,
-0.05152605473995209,
-0.01654726266860962,
0.03434499353170395,
-0.09551504999399185,
-0.020709773525595665,
-0.03391674906015396,
0.0035801015328615904,
-0.0253005251288414,
-0.026157008484005928,
0.013224106281995773,
-0.04196769744157791,
0.05443809553980827,
-0.012187761254608631,
0.030439427122473717,
-0.07626129686832428,
0.012007899582386017,
-0.029463035985827446,
0.0418991781771183,
0.00966969970613718,
0.03576675429940224,
0.008110899478197098,
-0.008778956718742847,
0.0472436361014843,
-0.015493787825107574,
0.00004362713298178278,
-0.06766220182180405,
0.023364871740341187,
0.005036123562604189,
0.0057427226565778255,
0.03744546324014664,
-0.03412230685353279,
0.0837298333644867,
0.01856856420636177,
-0.04402325674891472,
0.014251886866986752,
-0.025043580681085587,
-0.017292404547333717,
0.015322491526603699,
-0.07893352955579758,
-0.04786030203104019,
-0.06063903868198395,
0.06745664775371552,
0.03256350755691528,
0.030456556007266045,
0.02178894355893135,
-0.00725441612303257,
-0.0004777572466991842,
-0.03127878159284592,
0.007070272229611874,
-0.02319357544183731,
0.05066956952214241,
-0.05248531326651573,
0.0180889330804348,
0.05844644084572792,
-0.0045907520689070225,
-0.037890832871198654,
0.007477101869881153,
0.005348740145564079,
-0.03362554684281349,
-0.026876455172896385,
0.029206089675426483,
0.002432413399219513,
0.023039408028125763,
-0.02648247219622135,
0.0539584681391716,
0.006226635538041592,
0.023364871740341187,
-0.02810979075729847,
0.013095634058117867,
0.019013935700058937,
0.03139868751168251,
-0.004817720036953688,
-0.0025437562726438046,
0.03926120698451996,
-0.02276533469557762,
0.0670112743973732,
-0.0388500951230526,
0.06488719582557678,
-0.0028478079475462437,
-0.043132513761520386,
0.016898421570658684,
-0.045667704194784164,
0.009549791924655437,
-0.03160424530506134,
-0.06231774762272835,
0.008847475983202457,
0.0011144992895424366,
-0.04820289835333824,
-0.00038862944347783923,
-0.014166238717734814,
-0.011605353094637394,
0.003042657859623432,
0.02824682928621769,
0.007507078815251589,
-0.027767198160290718,
0.021669035777449608,
-0.02074403315782547,
-0.004706377163529396,
-0.009798171930015087,
-0.004787743091583252,
-0.02656812034547329,
0.002646534238010645,
0.011082897894084454,
-0.004714942071586847,
-0.013900728896260262,
-0.029548684135079384,
-0.06725109368562698,
-0.07180758565664291,
0.011511139571666718,
0.06063903868198395,
0.013155587948858738,
0.10462803393602371,
0.04114547371864319,
-0.009241458028554916,
0.04196769744157791,
0.048751045018434525,
0.039501022547483444,
0.011553963646292686,
-0.03939824551343918,
-0.0010909460252150893,
0.010834517888724804,
-0.04141954705119133,
-0.011691001243889332,
-0.00011923857528017834,
0.011125721968710423,
0.03967231884598732,
-0.003145436057820916,
-0.03271767497062683,
0.04501677677035332,
0.03484175354242325,
-0.03758250176906586,
-0.038301944732666016,
0.011202805675566196,
-0.02992553636431694,
0.014919944107532501,
-0.04035750776529312,
0.02816118113696575,
-0.013712302781641483,
0.060159407556056976,
0.04039176553487778,
-0.05313624069094658,
-0.011442621238529682,
0.024067189544439316,
0.003676455933600664,
-0.06910109519958496,
0.07550759613513947,
-0.022953759878873825,
0.02235422097146511,
-0.05293068662285805,
0.047277893871068954,
-0.08160575479269028,
-0.047346413135528564,
-0.02389589138329029,
0.0676964595913887,
0.08551131933927536,
0.055260322988033295,
0.003918412607163191,
-0.02094958908855915,
-0.019390787929296494,
-0.0018564282217994332,
0.08955392241477966,
0.0006600276683457196,
-0.0175921730697155,
0.004027613904327154,
0.021429220214486122,
-0.006033926736563444,
-0.02620839886367321,
0.019236622378230095,
-0.014380359090864658,
0.011202805675566196,
-0.04535936936736107,
0.06454460322856903,
0.05755569785833359,
0.049367714673280716,
0.056733474135398865,
0.05769273638725281,
0.03580101579427719,
0.04241306707262993,
0.04148806631565094,
0.021206533536314964,
-0.03098757565021515,
-0.0007381818140856922,
-0.03878157585859299,
-0.021771812811493874,
-0.07276684790849686,
-0.04494825750589371,
0.03364267572760582,
0.02908618375658989,
0.010671786032617092,
0.0042031933553516865,
0.04135102778673172,
-0.003226801985874772,
-0.02795562520623207,
-0.04854549095034599,
0.018551435321569443,
-0.004997581709176302,
-0.036828793585300446,
-0.07564463466405869,
-0.01079169288277626,
0.010286368429660797,
-0.017438005656003952,
-0.009104420430958271,
0.023793114349246025,
0.04368066415190697,
-0.07201313972473145,
0.02600284107029438,
0.0315185971558094,
-0.03898713365197182,
-0.004151804372668266,
-0.0023060820531100035,
0.0010679280385375023,
0.021908849477767944,
-0.03840472549200058,
-0.04731215536594391,
-0.011065768077969551,
-0.026859326288104057,
0.07221869379281998,
0.010868776589632034,
-0.03559545800089836,
0.027064882218837738,
-0.02411857806146145,
-0.006492145825177431,
0.011596787720918655,
-0.02165190503001213,
0.011930816806852818,
-0.0032888969872146845,
-0.012564614415168762,
0.04148806631565094,
-0.00827363133430481,
-0.02740747481584549,
-0.03174128383398056,
0.004822002723813057,
0.001329690800048411,
-0.04100843518972397,
0.0006669866270385683,
-0.009832431562244892,
-0.05330754071474075,
-0.06666868180036545,
0.006243765354156494,
-0.04563344642519951,
-0.057144585996866226,
-0.017849117517471313,
0.008757544681429863,
0.049299195408821106,
-0.025112098082900047,
-0.03778805583715439,
0.05388994887471199,
-0.050772346556186676,
-0.07030017673969269,
-0.013575265184044838,
0.0024366958532482386,
0.010808822698891163,
0.014149108901619911,
-0.05923440679907799,
0.03292322903871536,
0.03153572604060173,
0.013344014063477516,
0.08283909410238266,
-0.03425934538245201,
0.024649597704410553,
-0.07715204358100891,
0.01829448901116848,
0.038713060319423676,
0.003350991988554597,
0.028126921504735947,
0.020504217594861984,
0.0559455081820488,
0.005631379783153534,
-0.0392269492149353,
0.07393166422843933,
-0.0234676506370306,
0.010834517888724804,
-0.004231028724461794,
0.0134896170347929,
-0.027698678895831108,
-0.04463992640376091,
-0.0036743145901709795,
-0.011245629750192165,
0.03511582687497139,
-0.009095855988562107,
-0.011331277899444103,
-0.006200941279530525,
0.07557611167430878,
0.014080590568482876,
0.008059510961174965,
0.007674092892557383,
0.03503017872571945,
0.006860433612018824,
0.05752143636345863,
-0.002719335490837693,
-0.035287123173475266,
-0.01677851378917694,
0.005048970691859722,
0.031861189752817154,
-0.030576463788747787,
0.01679564267396927,
0.02046995796263218,
0.023450519889593124,
-0.00560568505898118,
0.06529831141233444,
0.0045136683620512486,
-0.019596343860030174,
-0.026448212563991547,
0.02173755317926407,
-0.039569541811943054,
-0.022542648017406464,
0.03198109567165375,
0.0244611706584692,
-0.035081569105386734,
0.030542204156517982,
-0.0783853754401207,
-0.01563939079642296,
-0.030165351927280426,
-0.03765101730823517,
-0.006813326850533485,
-0.03590379282832146,
-0.028298217803239822,
-0.03491027280688286,
-0.006192376371473074,
0.0811261236667633,
0.019253751263022423,
0.029034793376922607,
-0.032974619418382645,
-0.04385196045041084,
-0.020572736859321594,
-0.037034351378679276,
-0.04810011759400368,
-0.004642141051590443,
-0.04443436861038208,
-0.01990467868745327,
0.03496165946125984,
0.009284282103180885,
-0.01661578193306923,
-0.02816118113696575,
-0.037034351378679276,
-0.038576021790504456,
0.008033815771341324,
0.026294047012925148,
0.04638715088367462,
-0.012693086639046669,
0.027852846309542656,
0.045873261988162994,
-0.03285470977425575,
0.07550759613513947,
-0.038438983261585236,
0.028983404859900475,
0.058275144547224045,
-0.032974619418382645,
0.01723244972527027,
-0.01795189641416073,
0.02627691626548767,
-0.03194683790206909,
-0.025060709565877914,
0.010414840653538704,
-0.041111212223768234,
0.07591870427131653,
-0.061564039438962936,
-0.06046774238348007,
0.017626432701945305,
0.011185675859451294,
0.05152605473995209,
0.03441350907087326,
-0.021669035777449608,
0.006907540373504162,
0.006059621460735798,
-0.0556371733546257,
-0.010149330832064152,
-0.004856261890381575,
0.010346321389079094,
-0.028332477435469627,
0.0052245501428842545,
-0.0029677157290279865,
-0.009729653596878052,
0.016898421570658684,
0.016178974881768227,
-0.01475721225142479,
-0.07557611167430878,
0.01602480746805668,
0.01198220532387495,
-0.0021433501970022917,
0.008950253948569298,
0.0015641531208530068,
-0.0031647069845348597,
0.007245851214975119,
0.06361959874629974,
-0.035184346139431,
0.00936136581003666,
-0.02908618375658989,
-0.020487086847424507,
-0.05066956952214241,
-0.044126033782958984,
-0.04100843518972397,
-0.026157008484005928,
-0.005215985234826803,
-0.04436584934592247,
0.00679619750007987,
0.02382737398147583,
0.031569983810186386,
-0.06046774238348007,
-0.02985701896250248,
0.012598874047398567,
0.027938494458794594,
0.044468626379966736,
-0.02473524585366249,
0.01720675453543663,
0.0023853068705648184,
0.0006498569273389876,
0.014842860400676727,
-0.007382888812571764,
0.01271878182888031,
0.0021358560770750046,
0.005481495056301355,
-0.01033775694668293,
-0.04786030203104019,
0.038370463997125626,
0.03747972100973129,
0.017309533432126045,
0.0546436533331871,
0.0239644106477499,
0.003440922824665904,
-0.026927843689918518,
-0.06238626316189766,
0.0024217073805630207,
-0.008406386710703373,
0.012881513684988022,
-0.10168173164129257,
-0.031073225662112236,
0.017849117517471313,
0.05289642512798309,
-0.026054231449961662,
0.07715204358100891,
-0.021891720592975616,
-0.016444485634565353,
-0.002834960585460067,
0.032066747546195984,
0.005412976257503033,
0.022816723212599754,
0.0021904567256569862,
0.04669548571109772,
0.0075370557606220245,
-0.005978255532681942,
0.016033373773097992,
0.031569983810186386,
0.001871416694484651,
0.02641395479440689,
0.014457442797720432,
0.05166308954358101,
-0.011074332520365715,
-0.011185675859451294,
-0.022594036534428596,
-0.0180889330804348,
0.05933718383312225,
-0.010449100285768509,
0.06529831141233444,
0.027424605563282967,
0.044811222702264786,
-0.01023497898131609,
0.035218603909015656,
0.010714610107243061,
0.017609301954507828,
0.06132422387599945,
-0.014705823734402657,
0.023244963958859444,
-0.02725330740213394,
-0.03383110091090202,
0.0044151730835437775,
-0.005220267456024885,
-0.018106063827872276,
-0.02775006927549839,
-0.038644541054964066,
0.04162510111927986,
0.009035902097821236,
0.017515089362859726,
-0.03294035792350769,
-0.034584809094667435,
0.03891861438751221,
-0.004616446793079376,
-0.02495793253183365,
-0.013104199431836605,
0.026174139231443405,
0.024067189544439316,
0.007006035652011633,
0.01289864256978035,
-0.020281530916690826,
-0.0512862391769886,
0.004355219192802906,
0.028538033366203308,
-0.03658897802233696,
0.08414094895124435,
-0.01940791867673397,
0.03035377897322178,
-0.03484175354242325,
0.04696955904364586,
-0.00213371473364532,
0.06091311201453209,
0.011887992732226849,
-0.025403304025530815,
-0.04114547371864319,
-0.046010300517082214,
-0.031073225662112236,
0.019459307193756104,
-0.03503017872571945,
-0.03926120698451996,
0.04183065891265869,
-0.00827363133430481,
0.03559545800089836,
0.030662111937999725,
0.04368066415190697,
0.0057855467312037945,
-0.030816279351711273,
0.020726902410387993,
0.044537145644426346,
-0.048888083547353745,
0.00489052152261138,
0.09496690332889557,
0.017746340483427048,
0.015725038945674896,
-0.015536612831056118,
-0.00678334990516305,
-0.03771953657269478,
0.01870560087263584,
-0.05889181047677994,
0.009224328212440014,
-0.0361778661608696,
-0.009232893586158752,
-0.04539363086223602,
-0.015082675963640213,
0.005652791820466518,
0.0012429718626663089,
0.014620174653828144,
0.006265177391469479,
0.004967604763805866,
0.04385196045041084,
-0.10346321761608124,
0.061906635761260986,
0.03645194321870804,
-0.027458863332867622,
-0.04378344118595123,
0.008654766716063023,
0.026807935908436775,
0.030251000076532364,
0.032632023096084595,
-0.04515381529927254,
-0.019990326836705208,
-0.0031839776784181595,
0.01899680681526661,
-0.03198109567165375,
0.031638503074645996,
0.030370907858014107,
-0.01856856420636177,
0.0019966773688793182,
-0.024512561038136482,
-0.0016037655295804143,
-0.03239221125841141,
-0.046147335320711136,
0.03425934538245201,
-0.02355329878628254,
0.021189404651522636,
0.02956581301987171,
-0.01023497898131609,
0.06923813372850418,
-0.02536904439330101,
0.029771368950605392,
0.054061245173215866,
-0.05430106073617935,
-0.01331831980496645,
0.01884263940155506,
0.010877341963350773,
-0.06461311876773834,
-0.001381079782731831,
0.0012825841549783945,
0.005177443381398916,
0.0777687132358551,
0.006153834518045187,
0.025180617347359657,
-0.014551656320691109,
-0.0077554588206112385,
-0.005460083018988371,
0.0479288212954998,
0.024546820670366287,
-0.007164485286921263,
-0.05920014530420303,
-0.022799592465162277,
-0.0422075130045414,
-0.04851122945547104,
-0.028983404859900475,
0.05752143636345863,
0.05221123993396759,
0.06262607872486115,
-0.0011316289892420173,
0.013155587948858738,
0.08633354306221008,
0.004864826798439026,
-0.0486140102148056,
-0.015613695606589317,
-0.024444041773676872,
0.059542737901210785,
0.010029423050582409,
0.003400239860638976,
-0.0239644106477499,
0.04309825599193573,
-0.022868111729621887,
0.05443809553980827,
0.018979676067829132,
0.06057051941752434,
0.025351913645863533,
-0.0330088771879673,
-0.022679684683680534,
0.028760718181729317,
0.0019281586864963174,
-0.035492680966854095,
0.07763167470693588,
-0.03455054759979248,
-0.01485999021679163,
-0.0194250475615263,
0.03376258164644241,
-0.017395181581377983,
-0.044331591576337814,
0.024426912888884544,
0.011168546043336391,
-0.010663220658898354,
0.04244732856750488,
-0.0583094023168087,
0.06204367056488991,
0.037856575101614,
0.014457442797720432,
-0.014568786136806011,
-0.03597231209278107,
0.024375522509217262,
-0.028623681515455246,
0.05580846965312958,
0.010663220658898354,
-0.0037385509349405766,
0.04176213964819908,
-0.0340023972094059,
-0.006256612483412027,
0.018928287550807,
0.02038430981338024,
-0.009035902097821236,
0.00921576377004385,
0.019579214975237846,
-0.03256350755691528,
-0.01517688948661089,
-0.02124079316854477,
-0.035218603909015656,
-0.023724595084786415,
-0.08208538591861725,
0.018534304574131966,
-0.0010716750985011458,
0.029754240065813065,
-0.038576021790504456,
0.034242212772369385,
0.011913686990737915,
-0.031638503074645996,
-0.013917858712375164,
0.02180607244372368,
0.005695615895092487,
0.007053142413496971,
0.044331591576337814,
-0.0021123026963323355,
-0.045736223459243774,
0.020007457584142685,
-0.027801457792520523,
0.07221869379281998,
-0.07317795604467392,
-0.03994639590382576,
-0.04738067090511322,
0.02951442450284958,
-0.02944590523838997,
0.032135263085365295,
0.07132795453071594,
-0.025694508105516434,
-0.02720191888511181,
-0.03939824551343918,
-0.030165351927280426,
-0.027458863332867622,
0.009155809879302979,
0.02305653877556324,
0.02648247219622135,
-0.021292181685566902,
0.047140855342149734,
-0.07119091600179672,
0.0047620488330721855,
-0.053650133311748505,
-0.007023165468126535,
-0.02775006927549839,
0.04758622869849205,
0.012872948311269283,
-0.0256431195884943,
0.02768155001103878,
0.044537145644426346,
-0.06817609071731567,
0.004903368651866913,
0.04553066939115524,
0.007982427254319191,
0.05440383777022362,
-0.09489838033914566,
-0.014063460752367973,
-0.00015724504191894084,
0.02291950024664402,
-0.07064276933670044,
0.054917726665735245,
0.013361143879592419,
0.053718652576208115,
-0.07742612063884735,
0.005018993746489286,
-0.008462057448923588,
0.004085426684468985
] |
710,019
|
urllib3_future._async.connectionpool
|
AsyncHTTPSConnectionPool
|
Same as :class:`.HTTPConnectionPool`, but HTTPS.
:class:`.HTTPSConnection` uses one of ``assert_fingerprint``,
``assert_hostname`` and ``host`` in this order to verify connections.
If ``assert_hostname`` is False, no verification is done.
The ``key_file``, ``cert_file``, ``cert_reqs``, ``ca_certs``,
``ca_cert_dir``, ``ssl_version``, ``key_password`` are only used if :mod:`ssl`
is available and are fed into :meth:`urllib3.util.ssl_wrap_socket` to upgrade
the connection socket into an SSL socket.
|
class AsyncHTTPSConnectionPool(AsyncHTTPConnectionPool):
"""
Same as :class:`.HTTPConnectionPool`, but HTTPS.
:class:`.HTTPSConnection` uses one of ``assert_fingerprint``,
``assert_hostname`` and ``host`` in this order to verify connections.
If ``assert_hostname`` is False, no verification is done.
The ``key_file``, ``cert_file``, ``cert_reqs``, ``ca_certs``,
``ca_cert_dir``, ``ssl_version``, ``key_password`` are only used if :mod:`ssl`
is available and are fed into :meth:`urllib3.util.ssl_wrap_socket` to upgrade
the connection socket into an SSL socket.
"""
scheme = "https"
ConnectionCls: type[AsyncHTTPSConnection] = AsyncHTTPSConnection
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
key_file: str | None = None,
cert_file: str | None = None,
cert_reqs: int | str | None = None,
key_password: str | None = None,
ca_certs: str | None = None,
ssl_version: int | str | None = None,
ssl_minimum_version: ssl.TLSVersion | None = None,
ssl_maximum_version: ssl.TLSVersion | None = None,
assert_hostname: str | Literal[False] | None = None,
assert_fingerprint: str | None = None,
ca_cert_dir: str | None = None,
ca_cert_data: None | str | bytes = None,
cert_data: str | bytes | None = None,
key_data: str | bytes | None = None,
**conn_kw: typing.Any,
) -> None:
super().__init__(
host,
port,
timeout,
maxsize,
block,
headers,
retries,
_proxy,
_proxy_headers,
**conn_kw,
)
self.key_file = key_file
self.cert_file = cert_file
self.cert_reqs = cert_reqs
self.key_password = key_password
self.ca_certs = ca_certs
self.ca_cert_dir = ca_cert_dir
self.ca_cert_data = ca_cert_data
self.cert_data = cert_data
self.key_data = key_data
self.ssl_version = ssl_version
self.ssl_minimum_version = ssl_minimum_version
self.ssl_maximum_version = ssl_maximum_version
self.assert_hostname = assert_hostname
self.assert_fingerprint = assert_fingerprint
async def _prepare_proxy(self, conn: AsyncHTTPSConnection) -> None: # type: ignore[override]
"""Establishes a tunnel connection through HTTP CONNECT."""
if self.proxy and self.proxy.scheme == "https":
tunnel_scheme = "https"
else:
tunnel_scheme = "http"
conn.set_tunnel(
scheme=tunnel_scheme,
host=self._tunnel_host,
port=self.port,
headers=self.proxy_headers,
)
await conn.connect()
async def _new_conn(
self, *, heb_timeout: Timeout | None = None
) -> AsyncHTTPSConnection:
"""
Return a fresh :class:`urllib3.connection.HTTPConnection`.
"""
if self.pool is None:
raise ClosedPoolError(self, "Pool is closed")
self.num_connections += 1
log.debug(
"Starting new HTTPS connection (%d): %s:%s",
self.num_connections,
self.host,
self.port or "443",
)
if not self.ConnectionCls or self.ConnectionCls is DummyConnection: # type: ignore[comparison-overlap]
raise ImportError(
"Can't connect to HTTPS URL because the SSL module is not available."
)
actual_host: str = self.host
actual_port = self.port
if self.proxy is not None and self.proxy.host is not None:
actual_host = self.proxy.host
actual_port = self.proxy.port
conn = None
if self.happy_eyeballs:
# Taking this path forward will establish a connection (aka. connect) prior to what usually
# take place. This is the only place where it is the most convenient.
log.debug(
"Attempting Happy-Eyeball %s:%s",
self.host,
self.port or "443",
)
# we have to get this metric here, as the underlying Connection object
# will have the DNS resolution set to 0s!
dt_pre_resolve = datetime.now(tz=timezone.utc)
ip_addresses = await self._resolver.getaddrinfo(
actual_host,
actual_port,
socket.AF_UNSPEC
if "socket_family" not in self.conn_kw
else self.conn_kw["socket_family"],
socket.SOCK_STREAM,
quic_upgrade_via_dns_rr=True, # we don't know if H3 is actually supported by the underlying Connection,
# we don't care, it will sort it out later.
)
delta_post_resolve = datetime.now(tz=timezone.utc) - dt_pre_resolve
target_pqc = {}
# does the user provided us with a quic capability cache? if so, use it!
if (
"preemptive_quic_cache" in self.conn_kw
and self.conn_kw["preemptive_quic_cache"] is not None
):
target_pqc = self.conn_kw["preemptive_quic_cache"]
# if the resolver hinted us toward using a DGRAM, we inject it into the quic capability cache.
if any(_[1] == socket.SOCK_DGRAM for _ in ip_addresses):
if (self.host, self.port) not in target_pqc:
target_pqc[(self.host, self.port)] = (self.host, self.port)
# HEB algorithm only make sense if the name resolution yield more than 1 record.
if len(ip_addresses) > 1:
ipv6_addresses = []
ipv4_addresses = []
for ip_address in ip_addresses:
if ip_address[0] == socket.AF_INET6:
ipv6_addresses.append(ip_address)
else:
ipv4_addresses.append(ip_address)
# if we have BOTH IPv4 and IPv6 entries, we want to reorder the records
# so that we can be as fair as possible when spawning the tasks.
if ipv4_addresses and ipv6_addresses:
log.debug(
"Happy-Eyeball Dual-Stack %s:%s",
self.host,
self.port or "443",
)
intermediary_addresses = []
for ipv6_entry, ipv4_entry in zip_longest(
ipv6_addresses, ipv4_addresses
):
if ipv6_entry:
intermediary_addresses.append(ipv6_entry)
if ipv4_entry:
intermediary_addresses.append(ipv4_entry)
ip_addresses = intermediary_addresses
else:
log.debug(
"Happy-Eyeball Single-Stack %s:%s",
self.host,
self.port or "443",
)
challengers = []
max_task = (
4 if isinstance(self.happy_eyeballs, bool) else self.happy_eyeballs
)
if heb_timeout is None:
heb_timeout = self.timeout
override_timeout = (
heb_timeout.connect_timeout
if heb_timeout.connect_timeout is not None
and isinstance(heb_timeout.connect_timeout, (float, int))
else None
)
for ip_address in ip_addresses[:max_task]:
conn_kw = self.conn_kw.copy()
target_solo_addr = (
f"[{ip_address[-1][0]}]"
|
(host: 'str', port: 'int | None' = None, timeout: '_TYPE_TIMEOUT | None' = <_TYPE_DEFAULT.token: -1>, maxsize: 'int' = 1, block: 'bool' = False, headers: 'typing.Mapping[str, str] | None' = None, retries: 'Retry | bool | int | None' = None, _proxy: 'Url | None' = None, _proxy_headers: 'typing.Mapping[str, str] | None' = None, key_file: 'str | None' = None, cert_file: 'str | None' = None, cert_reqs: 'int | str | None' = None, key_password: 'str | None' = None, ca_certs: 'str | None' = None, ssl_version: 'int | str | None' = None, ssl_minimum_version: 'ssl.TLSVersion | None' = None, ssl_maximum_version: 'ssl.TLSVersion | None' = None, assert_hostname: 'str | Literal[False] | None' = None, assert_fingerprint: 'str | None' = None, ca_cert_dir: 'str | None' = None, ca_cert_data: 'None | str | bytes' = None, cert_data: 'str | bytes | None' = None, key_data: 'str | bytes | None' = None, **conn_kw: 'typing.Any') -> 'None'
|
[
0.00448904512450099,
-0.07571068406105042,
-0.08994463831186295,
0.012978662736713886,
-0.044295553117990494,
-0.01126491092145443,
-0.03650180622935295,
0.006603945046663284,
-0.043160330504179,
-0.11238713562488556,
0.021449176594614983,
0.05261324718594551,
0.052351273596286774,
0.03185175359249115,
0.0028053121641278267,
0.018622033298015594,
0.019473452121019363,
-0.004802869167178869,
0.028904540464282036,
-0.056280892342329025,
0.0029062817338854074,
0.03276866674423218,
0.010287963785231113,
-0.009529328905045986,
-0.011908932588994503,
0.021143540740013123,
-0.011013852432370186,
0.004038776271045208,
0.02717987261712551,
0.020182965323328972,
-0.047504741698503494,
0.045496270060539246,
-0.00244919047690928,
0.07191205024719238,
0.05558229610323906,
-0.024974919855594635,
0.040955375880002975,
-0.00723705068230629,
-0.04619487002491951,
0.012116328813135624,
-0.04213426262140274,
-0.04366244748234749,
-0.023905189707875252,
-0.021601995453238487,
0.02212594449520111,
0.03027990646660328,
-0.02109987661242485,
0.06789510697126389,
0.011559632606804371,
-0.07261064648628235,
0.00462549040094018,
0.007728253025561571,
0.025695350021123886,
0.04008212685585022,
0.023381240665912628,
0.04802869260311127,
-0.034667983651161194,
0.04497231915593147,
-0.024778438732028008,
0.005736154038459063,
-0.025455206632614136,
-0.01737765409052372,
-0.01495438814163208,
0.010146060958504677,
-0.044120904058218,
-0.03464615345001221,
-0.03150245547294617,
-0.02929750271141529,
0.011177586391568184,
-0.06156405061483383,
0.07920368015766144,
0.035322919487953186,
-0.021056214347481728,
-0.02905735932290554,
0.039863813668489456,
0.007679132744669914,
-0.02899186499416828,
0.005687033757567406,
-0.042221587151288986,
-0.010964731685817242,
0.01059905905276537,
0.020051978528499603,
0.030301738530397415,
-0.09282635897397995,
0.06012319028377533,
-0.06204433739185333,
0.05553863197565079,
0.04436104744672775,
-0.06632325798273087,
-0.04484133422374725,
-0.015107207000255585,
-0.004510876722633839,
0.005643371492624283,
0.028293265029788017,
0.0503864623606205,
-0.03501728177070618,
-0.0343405157327652,
-0.021994957700371742,
-0.04158848151564598,
-0.03909972310066223,
-0.025826336815953255,
-0.011559632606804371,
-0.056149907410144806,
0.03052004985511303,
-0.008055721409618855,
-0.06789510697126389,
-0.014146632514894009,
0.0004932492156513035,
-0.026743248105049133,
-0.04484133422374725,
-0.033336278051137924,
-0.01083920244127512,
0.024472801014780998,
-0.0045354366302490234,
0.00979676190763712,
0.0009626204846426845,
-0.02178756147623062,
-0.021012552082538605,
-0.008044806309044361,
-0.00677859503775835,
-0.040606074035167694,
0.013327961787581444,
-0.025171400979161263,
0.012640278786420822,
-0.007826494053006172,
0.012694856151938438,
-0.011417729780077934,
-0.0029417574405670166,
0.03086934983730316,
-0.08077552914619446,
0.056761182844638824,
0.019298801198601723,
-0.0011017945362254977,
0.08278399705886841,
0.0006423155427910388,
0.010408035479485989,
-0.02151467092335224,
0.0417194664478302,
-0.02621929906308651,
-0.02015022002160549,
0.020401278510689735,
-0.01377550233155489,
-0.019571691751480103,
-0.027201704680919647,
0.0651443675160408,
-0.04645684361457825,
-0.02294461615383625,
-0.056892167776823044,
-0.040715232491493225,
-0.053792133927345276,
0.03458065912127495,
-0.06261195242404938,
0.0037795305252075195,
0.00001563789373904001,
-0.02044494077563286,
0.019877329468727112,
-0.05405410751700401,
-0.009283727966248989,
-0.03215739130973816,
-0.023184759542346,
-0.04298567771911621,
-0.05837669223546982,
-0.007389869075268507,
-0.01819632388651371,
-0.04863996431231499,
-0.01587129943072796,
0.00916911382228136,
-0.09492216259241104,
0.003588507417589426,
0.06252462416887283,
-0.04514697194099426,
0.027703823521733284,
-0.0325721837580204,
0.013753671199083328,
0.029406657442450523,
0.06182602420449257,
0.044666681438684464,
-0.026655923575162888,
-0.014037476852536201,
-0.018993165343999863,
-0.018731189891695976,
-0.0393180325627327,
-0.012738519348204136,
-0.04209059849381447,
0.008803441189229488,
0.09850247949361801,
0.01587129943072796,
0.018567455932497978,
0.05387945845723152,
0.017628712579607964,
-0.04741741716861725,
-0.011679704301059246,
0.05745977908372879,
-0.01102476753294468,
0.05117238685488701,
-0.03927437216043472,
-0.008213997818529606,
0.04951321333646774,
0.04802869260311127,
0.03294331580400467,
-0.052831560373306274,
0.01997556909918785,
0.03281232714653015,
0.015554746612906456,
-0.01210541371256113,
-0.036065179854631424,
-0.03471164405345917,
-0.02942848950624466,
-0.030847519636154175,
0.04571458324790001,
-0.05667385458946228,
0.009905917569994926,
-0.0542287603020668,
0.017061101272702217,
0.013207890093326569,
0.005143981892615557,
0.02044494077563286,
0.028686227276921272,
0.025280557572841644,
0.017028354108333588,
0.05641188099980354,
-0.0385102778673172,
-0.0057798163034021854,
-0.0043171243742108345,
0.03988564386963844,
-0.0053923120722174644,
0.021973125636577606,
0.018141746520996094,
0.032790496945381165,
0.0052476804703474045,
0.020936142653226852,
0.0348208025097847,
0.06444577127695084,
0.028074953705072403,
0.061302077025175095,
0.020936142653226852,
-0.04182862490415573,
0.047548405826091766,
0.004639135207980871,
0.003615796333178878,
-0.019648101180791855,
0.020270291715860367,
-0.005375938955694437,
-0.02979961968958378,
-0.056106243282556534,
-0.026306623592972755,
0.03390388935804367,
0.02055409736931324,
-0.002299100626260042,
0.005580606404691935,
-0.048465315252542496,
-0.041632141917943954,
-0.01670088618993759,
-0.0734838992357254,
-0.033096134662628174,
-0.06767679005861282,
0.0072861709631979465,
-0.03794266656041145,
0.010921069420874119,
-0.0003090482496190816,
0.015718480572104454,
0.0494258888065815,
-0.06152038648724556,
0.050168152898550034,
-0.03473347797989845,
0.04342230409383774,
0.0029035527259111404,
-0.025564363226294518,
-0.06405281275510788,
0.017388569191098213,
0.06937962770462036,
-0.024669282138347626,
-0.020292121917009354,
0.03167710453271866,
0.0015036255354061723,
0.03383839502930641,
0.004038776271045208,
-0.00756997661665082,
-0.05523299425840378,
-0.04346596449613571,
0.03543207421898842,
0.01087194960564375,
0.0042543597519397736,
-0.02621929906308651,
0.00723705068230629,
-0.008808898739516735,
-0.09422355890274048,
0.03691659867763519,
0.009190944954752922,
0.01277126558125019,
-0.03936169669032097,
-0.06593029201030731,
0.03894690424203873,
-0.034777138382196426,
0.012454712763428688,
0.0348208025097847,
-0.02742001600563526,
0.040715232491493225,
0.023403070867061615,
-0.049862515181303024,
-0.027354523539543152,
0.02195129543542862,
0.03580320626497269,
0.02451646327972412,
0.017050186172127724,
-0.06344153732061386,
-0.006150947418063879,
-0.005823479034006596,
-0.0010806455975398421,
-0.016504405066370964,
0.01444135420024395,
-0.02287912182509899,
0.019451620057225227,
-0.02591366320848465,
0.029581308364868164,
0.00981859304010868,
-0.0067294747568666935,
0.03761519864201546,
0.023927021771669388,
0.02820594049990177,
-0.09107986092567444,
0.018665695562958717,
0.015358265489339828,
-0.0010171985486522317,
0.020805155858397484,
-0.02201678976416588,
0.047679390758275986,
0.004237986169755459,
-0.018043506890535355,
-0.0034138576593250036,
-0.02421082742512226,
-0.00397874042391777,
-0.0261538065969944,
0.004434467293322086,
-0.025280557572841644,
-0.006396548356860876,
0.005468721501529217,
0.03903422877192497,
0.007067858707159758,
-0.060516152530908585,
0.025389712303876877,
0.028249602764844894,
0.0008261753828264773,
0.04331314563751221,
0.03794266656041145,
-0.057372454553842545,
-0.035082776099443436,
-0.027048885822296143,
-0.02058684453368187,
-0.02639394998550415,
0.014277620241045952,
-0.05322452262043953,
-0.0009305559215135872,
0.0701218917965889,
0.0670655220746994,
-0.01604594849050045,
-0.022595316171646118,
-0.04850897938013077,
0.0203794464468956,
-0.03492995724081993,
-0.014452270232141018,
-0.005938092712312937,
-0.034908127039670944,
0.029144683852791786,
-0.01225823163986206,
-0.0037113078869879246,
0.050517451018095016,
0.011603294871747494,
0.031153155490756035,
-0.01392832025885582,
-0.057852741330862045,
-0.04960054159164429,
0.022377004846930504,
-0.009425630792975426,
0.0064292955212295055,
-0.019473452121019363,
-0.012181823141872883,
0.02953764609992504,
-0.03274683654308319,
0.016744548454880714,
0.02639394998550415,
0.008388647809624672,
-0.0054987394250929356,
-0.01994282193481922,
-0.030410895124077797,
-0.0672401711344719,
0.0023987055756151676,
-0.008890765719115734,
0.07003456354141235,
0.05291888490319252,
0.049556877464056015,
0.029865114018321037,
0.030367230996489525,
-0.010347999632358551,
0.003768614958971739,
-0.010631806217133999,
0.002228149212896824,
0.033641915768384933,
-0.008858018554747105,
-0.05750344321131706,
-0.006762221455574036,
-0.005313173867762089,
0.06510070711374283,
0.033336278051137924,
-0.02013930305838585,
0.03038906306028366,
0.11064063757658005,
0.015150869265198708,
0.042177923023700714,
0.031022168695926666,
-0.0417194664478302,
-0.01850196160376072,
-0.042046938091516495,
-0.017967097461223602,
-0.06405281275510788,
0.01966993324458599,
0.021383684128522873,
0.022660810500383377,
0.06047248840332031,
0.04014762118458748,
0.010800997726619244,
-0.019451620057225227,
-0.011439560912549496,
0.028839046135544777,
-0.008677911013364792,
0.009294643066823483,
-0.020816070958971977,
0.007870156317949295,
-0.03403487801551819,
-0.019004080444574356,
0.05427242070436478,
0.037025753408670425,
0.012039919383823872,
-0.014408607967197895,
0.04257088527083397,
0.02475660666823387,
-0.006238271947950125,
0.049251239746809006,
0.03704758733510971,
-0.05104140192270279,
-0.004658237099647522,
-0.0020507704466581345,
-0.027987629175186157,
-0.005389583297073841,
0.08850377798080444,
-0.0101078562438488,
-0.009654858149588108,
-0.030738363042473793,
-0.018687527626752853,
0.029275670647621155,
-0.04479767009615898,
0.002928112866356969,
0.004469943232834339,
-0.006751305889338255,
-0.08269667625427246,
0.022988278418779373,
0.06942328810691833,
0.028293265029788017,
-0.04968786612153053,
-0.025957325473427773,
0.040540583431720734,
0.00676767947152257,
0.05601891875267029,
-0.0075863501988351345,
-0.04881461709737778,
-0.021732982248067856,
0.02724536694586277,
0.01326246839016676,
-0.03565038740634918,
-0.02591366320848465,
-0.027201704680919647,
0.0057798163034021854,
-0.006227356381714344,
0.011297658085823059,
-0.037637028843164444,
-0.030367230996489525,
0.01864386536180973,
0.03331444784998894,
-0.007793746888637543,
-0.043138496577739716,
0.02731086127460003,
-0.007690048310905695,
0.09204044193029404,
-0.026110142469406128,
0.02471294440329075,
-0.04113002493977547,
0.03573771193623543,
-0.04475400969386101,
-0.01346986461430788,
-0.008012059144675732,
-0.03748420998454094,
0.04584556818008423,
0.021012552082538605,
0.025149568915367126,
0.009851339273154736,
0.021121708676218987,
-0.005692491307854652,
0.018785767257213593,
0.04331314563751221,
-0.039863813668489456,
-0.0000159576866280986,
-0.008814356289803982,
0.051434364169836044,
-0.0017887959256768227,
0.05641188099980354,
0.024145333096385002,
-0.039994802325963974,
0.04433921352028847,
-0.007351664360612631,
0.019309716299176216,
-0.0010895144660025835,
0.01986641250550747,
0.025477038696408272,
-0.03418769687414169,
-0.006593029480427504,
0.060821790248155594,
-0.0284024216234684,
0.03420952707529068,
-0.023468565195798874,
-0.008224913850426674,
0.05104140192270279,
0.1065363734960556,
0.024603789672255516,
-0.0033456350211054087,
-0.041632141917943954,
0.011439560912549496,
0.05187098681926727,
-0.0010704122250899673,
0.0033401772379875183,
0.01724666729569435,
0.010609974153339863,
-0.007449904922395945,
-0.027594666928052902,
-0.01317514292895794,
0.03558489307761192,
0.0661049410700798,
-0.0625682845711708,
-0.007095147855579853,
-0.08588403463363647,
-0.046587832272052765,
0.01672271639108658,
0.08605868369340897,
-0.06619226932525635,
-0.10828287154436111,
-0.07793746888637543,
0.003768614958971739,
0.0146814975887537,
0.08396288752555847,
-0.029166514053940773,
-0.014583257026970387,
-0.0060308752581477165,
0.028555240482091904,
0.06396548449993134,
-0.04527795687317848,
-0.027660159394145012,
-0.06593029201030731,
0.05261324718594551,
-0.040715232491493225,
0.013218806125223637,
0.001524092280305922,
0.01904774270951748,
-0.046413179486989975,
-0.04455752670764923,
-0.02543337456882,
-0.010484444908797741,
0.0026524935383349657,
0.02597915567457676,
0.05466538295149803,
0.0026988850440829992,
0.007133352104574442,
-0.0014613275416195393,
0.02488759532570839,
0.01598045602440834,
0.0048601762391626835,
-0.004827429074794054,
-0.02530238777399063,
-0.035694051533937454,
0.009218234568834305,
0.06540634483098984,
0.005676118191331625,
0.05636822059750557,
0.008377731777727604,
-0.05383579805493355,
-0.037877172231674194,
0.006052706856280565,
0.04414273425936699,
0.006374717224389315,
0.06584297120571136,
-0.01462691929191351,
-0.031393300741910934,
-0.08802349120378494,
-0.029275670647621155,
-0.012356472201645374,
-0.0023236607667058706,
0.025651687756180763,
0.013382540084421635,
-0.03942719101905823,
0.03728773072361946,
0.04885827749967575,
0.013524442911148071,
-0.014670582488179207,
0.04355328902602196,
0.0023400343488901854,
-0.06732749193906784,
0.021569248288869858,
0.016395248472690582,
-0.0637035071849823,
0.01126491092145443,
-0.0004458345065359026,
-0.052351273596286774,
-0.013306130655109882,
0.02737635374069214,
0.0006910946685820818,
-0.031567949801683426,
-0.07361488789319992,
-0.03150245547294617,
-0.07261064648628235,
0.0675458088517189,
-0.024865763261914253,
-0.0417194664478302,
0.03534474968910217,
-0.013033240102231503,
0.012236400507390499,
0.0537484735250473,
-0.05719780549407005,
0.06086545065045357,
0.027638329192996025,
-0.000005249940386420349,
-0.09247706085443497,
0.015478337183594704,
0.032419368624687195,
0.022682640701532364,
0.018556540831923485,
0.04117368906736374,
0.022660810500383377,
-0.024145333096385002,
0.041806794703006744,
0.043793436139822006,
0.028227772563695908,
-0.01991007663309574,
0.0017724224599078298,
-0.015423759818077087,
0.008563297800719738,
-0.021623827517032623,
0.010642721317708492,
0.013098734430968761,
0.03534474968910217,
-0.05545130744576454,
0.02875172160565853,
-0.007826494053006172,
0.0005781863001175225,
0.04073706269264221,
0.02188580110669136,
-0.004461756441742182,
0.004696441814303398,
0.010795540176331997,
-0.05977388843894005,
0.00030921882716938853,
0.023948851972818375,
-0.032244715839624405,
0.022038619965314865,
0.010424409061670303,
0.023403070867061615,
-0.01591496169567108,
0.05453439801931381,
0.06920497864484787,
0.011657873168587685,
-0.043487798422575,
0.006915039848536253,
0.04433921352028847,
0.015816722065210342,
-0.037440549582242966,
-0.015041712671518326,
0.04933856427669525,
0.007187930401414633,
-0.020783325657248497,
0.002540608635172248,
-0.023206589743494987,
-0.047854043543338776,
0.012825843878090382,
0.09955038130283356,
-0.01519453153014183,
-0.06758946925401688,
0.04536528140306473,
0.012978662736713886,
0.016122357919812202,
0.03438417613506317,
-0.003891415661200881,
0.0009994606953114271,
-0.06536268442869186,
0.012662109918892384,
0.051609013229608536,
0.011243079788982868,
0.05479637160897255,
-0.03458065912127495,
-0.031218649819493294,
-0.04372794181108475,
-0.06387815624475479,
0.0458892323076725,
-0.06335420906543732,
0.05187098681926727,
-0.042221587151288986,
-0.02331574633717537,
-0.020848818123340607,
0.025477038696408272,
0.053792133927345276,
-0.04842165485024452,
0.011199417524039745,
0.031939078122377396,
0.031808093190193176,
0.005828936584293842,
-0.004851989448070526,
0.026262961328029633,
-0.03667645528912544,
0.01744314841926098,
0.0038368375971913338,
-0.0034957246389240026,
-0.02373054064810276,
-0.04436104744672775,
0.048770952969789505,
-0.006527535617351532,
0.02977778948843479,
0.026786910369992256,
-0.025891831144690514,
-0.007815578021109104,
0.005643371492624283,
0.007253423798829317,
-0.013011408969759941,
0.03106583096086979,
0.062218986451625824,
-0.0032119187526404858,
0.04872729256749153,
-0.024363646283745766,
0.0458892323076725,
-0.016842788085341454,
-0.019790004938840866,
0.03761519864201546,
-0.013699092902243137,
-0.0025515242014080286,
0.039208877831697464,
-0.0021408244501799345,
-0.052394937723875046,
-0.021667489781975746,
-0.014812485314905643,
0.023839695379137993,
-0.04715544357895851,
0.005119421985000372,
0.042898353189229965,
0.04746108129620552,
-0.024363646283745766,
-0.008808898739516735,
0.039208877831697464,
-0.032419368624687195,
0.025695350021123886,
0.02239883504807949,
-0.02687423676252365,
-0.024319982156157494,
0.0006375399534590542,
-0.0054987394250929356,
-0.016711801290512085,
-0.02379603311419487,
0.010544480755925179,
0.010478987358510494,
0.02554253116250038,
-0.045408945530653,
-0.013295215554535389,
0.034908127039670944,
0.043618783354759216
] |
710,022
|
urllib3_future._async.connectionpool
|
__init__
| null |
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
key_file: str | None = None,
cert_file: str | None = None,
cert_reqs: int | str | None = None,
key_password: str | None = None,
ca_certs: str | None = None,
ssl_version: int | str | None = None,
ssl_minimum_version: ssl.TLSVersion | None = None,
ssl_maximum_version: ssl.TLSVersion | None = None,
assert_hostname: str | Literal[False] | None = None,
assert_fingerprint: str | None = None,
ca_cert_dir: str | None = None,
ca_cert_data: None | str | bytes = None,
cert_data: str | bytes | None = None,
key_data: str | bytes | None = None,
**conn_kw: typing.Any,
) -> None:
super().__init__(
host,
port,
timeout,
maxsize,
block,
headers,
retries,
_proxy,
_proxy_headers,
**conn_kw,
)
self.key_file = key_file
self.cert_file = cert_file
self.cert_reqs = cert_reqs
self.key_password = key_password
self.ca_certs = ca_certs
self.ca_cert_dir = ca_cert_dir
self.ca_cert_data = ca_cert_data
self.cert_data = cert_data
self.key_data = key_data
self.ssl_version = ssl_version
self.ssl_minimum_version = ssl_minimum_version
self.ssl_maximum_version = ssl_maximum_version
self.assert_hostname = assert_hostname
self.assert_fingerprint = assert_fingerprint
|
(self, host: 'str', port: 'int | None' = None, timeout: '_TYPE_TIMEOUT | None' = <_TYPE_DEFAULT.token: -1>, maxsize: 'int' = 1, block: 'bool' = False, headers: 'typing.Mapping[str, str] | None' = None, retries: 'Retry | bool | int | None' = None, _proxy: 'Url | None' = None, _proxy_headers: 'typing.Mapping[str, str] | None' = None, key_file: 'str | None' = None, cert_file: 'str | None' = None, cert_reqs: 'int | str | None' = None, key_password: 'str | None' = None, ca_certs: 'str | None' = None, ssl_version: 'int | str | None' = None, ssl_minimum_version: 'ssl.TLSVersion | None' = None, ssl_maximum_version: 'ssl.TLSVersion | None' = None, assert_hostname: 'str | Literal[False] | None' = None, assert_fingerprint: 'str | None' = None, ca_cert_dir: 'str | None' = None, ca_cert_data: 'None | str | bytes' = None, cert_data: 'str | bytes | None' = None, key_data: 'str | bytes | None' = None, **conn_kw: 'typing.Any') -> 'None'
|
[
-0.002712717978283763,
-0.07387588918209076,
-0.015245568938553333,
0.013540164567530155,
-0.06870345026254654,
0.009979428723454475,
-0.030172545462846756,
0.028073586523532867,
-0.025168776512145996,
-0.05123710632324219,
0.023575816303491592,
0.0890558660030365,
0.016810419037938118,
0.040105123072862625,
0.002537023974582553,
0.010466687381267548,
0.017307046800851822,
0.012828017584979534,
0.01235949993133545,
-0.049737848341464996,
0.030547359958291054,
0.05674687772989273,
0.020839672535657883,
0.02306981571018696,
-0.02809232659637928,
0.0618443489074707,
-0.027211513370275497,
0.01118820533156395,
0.03661935031414032,
-0.018909377977252007,
-0.04422808066010475,
0.04741400107741356,
-0.0016562103992328048,
0.09160459786653519,
0.043928228318691254,
-0.008405209518969059,
-0.006371842231601477,
-0.013624497689306736,
-0.07833617925643921,
0.02121448516845703,
-0.03558861091732979,
-0.022657521069049835,
-0.02698662504553795,
-0.04733903706073761,
0.037593867629766464,
0.039018161594867706,
-0.005631583742797375,
0.04955044388771057,
-0.020633524283766747,
-0.04302867501974106,
-0.047788817435503006,
0.025393664836883545,
0.03954290226101875,
0.0027595697902143,
-0.010719687677919865,
0.06866596639156342,
-0.01189098134636879,
0.0656299740076065,
-0.030809730291366577,
0.055772360414266586,
-0.0703151524066925,
-0.027567587792873383,
0.008409894071519375,
-0.006446804851293564,
-0.009417207911610603,
-0.050037700682878494,
-0.056934282183647156,
-0.028111068531870842,
0.05461043491959572,
-0.032590098679065704,
0.09910088777542114,
0.05134955048561096,
-0.04580229893326759,
-0.01154427882283926,
0.06660448759794235,
-0.0013247340684756637,
-0.04947547987103462,
-0.003235115436837077,
-0.0311470627784729,
-0.06064494326710701,
-0.005547250621020794,
0.0018693860620260239,
-0.01986515522003174,
-0.03883075341582298,
0.06079487130045891,
-0.04351593181490898,
0.05000022053718567,
-0.010026280768215656,
-0.03969282656908035,
0.04179178923368454,
-0.036431945860385895,
0.0072385999374091625,
-0.04314111918210983,
-0.017250824719667435,
0.001707747345790267,
-0.026630552485585213,
0.017513195052742958,
-0.010035651735961437,
-0.016688603907823563,
-0.00009926720667863265,
-0.03255261853337288,
-0.00395429041236639,
-0.0495879240334034,
0.00662952708080411,
0.02035241387784481,
-0.04014260694384575,
-0.0064749158918857574,
-0.05022510886192322,
-0.0220765583217144,
-0.011291278526186943,
-0.004141697194427252,
-0.03287120908498764,
0.04014260694384575,
0.030378693714737892,
-0.01041046530008316,
0.025524849072098732,
-0.02513129450380802,
-0.07162699848413467,
-0.03422053903341293,
0.0032632264774292707,
0.016098272055387497,
0.022788705304265022,
-0.0036895775701850653,
0.05314866080880165,
0.009604615159332752,
0.03414557874202728,
-0.0014606042532250285,
-0.011075761169195175,
0.029797732830047607,
-0.03648816794157028,
0.05910820513963699,
0.025637293234467506,
0.03541994467377663,
0.09602741152048111,
0.007468173746019602,
-0.010166835971176624,
0.0042541418224573135,
0.0486883707344532,
-0.06982789188623428,
0.014683348126709461,
0.004450919106602669,
0.011741056106984615,
-0.00758998841047287,
-0.01876882277429104,
0.015151865780353546,
-0.05580984055995941,
-0.05547250807285309,
-0.10097495466470718,
-0.047076668590307236,
-0.0016023308271542192,
-0.004055021330714226,
-0.0721142590045929,
-0.011085131205618382,
0.011984685435891151,
0.002381241647526622,
-0.026236996054649353,
-0.032515134662389755,
-0.010663464665412903,
-0.005982972215861082,
0.005022510886192322,
-0.0444529689848423,
-0.012687462382018566,
0.021158263087272644,
-0.05157443881034851,
-0.036900460720062256,
-0.0400676429271698,
0.006460860371589661,
-0.09715185314416885,
0.017588159069418907,
0.034932687878608704,
-0.04299119487404823,
0.012593758292496204,
-0.03585098311305046,
0.024981368333101273,
0.006531137973070145,
0.04077978804707527,
0.04209163784980774,
-0.001550793880596757,
-0.0533735491335392,
-0.017400750890374184,
0.0021446403115987778,
-0.019921377301216125,
-0.029928917065262794,
-0.007266710978001356,
0.022676261141896248,
0.06979040801525116,
0.008625412359833717,
0.05097473785281181,
0.05734657868742943,
-0.0004919436760246754,
-0.0049850293435156345,
0.014064904302358627,
0.03367706015706062,
0.012097129598259926,
0.024906406179070473,
-0.0532236211001873,
-0.010654094628989697,
0.01189098134636879,
0.018956230953335762,
0.03646942600607872,
-0.054348066449165344,
0.02072722837328911,
0.0350826121866703,
-0.0028017363511025906,
-0.0026658661663532257,
-0.028766993433237076,
-0.012968572787940502,
0.004017540253698826,
-0.05037503316998482,
0.04314111918210983,
-0.008274024352431297,
-0.006460860371589661,
-0.0483885183930397,
-0.007622784469276667,
-0.017175862565636635,
-0.02792366035282612,
0.02520625852048397,
0.005462917499244213,
0.015611013397574425,
0.01892811991274357,
0.10937079787254333,
0.03483898192644119,
-0.0054863435216248035,
-0.05907072499394417,
0.04062986373901367,
0.017410121858119965,
0.033152319490909576,
-0.023894408717751503,
-0.03367706015706062,
0.00046119719627313316,
0.0019654321949929,
0.0038441885262727737,
0.024138037115335464,
0.052473992109298706,
0.006161008961498737,
-0.020521080121397972,
-0.01487075537443161,
0.03217780217528343,
0.005439491476863623,
-0.02511255443096161,
0.046514447778463364,
0.009735800325870514,
0.003117986023426056,
-0.007009026128798723,
-0.014177348464727402,
-0.010832131840288639,
-0.050824809819459915,
0.030884694308042526,
0.0077071175910532475,
0.034932687878608704,
-0.021551819518208504,
-0.019584044814109802,
-0.032908689230680466,
-0.03984275460243225,
0.000984473037533462,
-0.022807447239756584,
-0.01790674962103367,
-0.09482800215482712,
-0.006563934497535229,
-0.009988799691200256,
0.016182605177164078,
0.031896691769361496,
-0.03733149915933609,
0.06323116272687912,
-0.008386468514800072,
0.007163637317717075,
0.006207861006259918,
-0.006802878342568874,
-0.00430567841976881,
0.026799218729138374,
0.06930315494537354,
-0.013230943121016026,
0.00444389134645462,
0.03482024371623993,
0.015348643064498901,
0.012012796476483345,
-0.016726085916161537,
-0.01369946077466011,
-0.019902635365724564,
-0.02661181055009365,
0.044565413147211075,
0.0023824130184948444,
0.029535362496972084,
-0.03412683680653572,
0.01486138440668583,
-0.0030383379198610783,
-0.1074967235326767,
0.07698684185743332,
-0.030716026201844215,
-0.002668208908289671,
-0.0110382791608572,
-0.0016515252646058798,
0.05258643627166748,
-0.011206945404410362,
0.0013809562660753727,
-0.05569739639759064,
-0.046364519745111465,
0.025075072422623634,
0.021233227103948593,
-0.07012774795293808,
-0.014036793261766434,
-0.0011824218090623617,
-0.01690412312746048,
0.014205459505319595,
0.03476402163505554,
-0.04040497541427612,
-0.046064671128988266,
0.027961142361164093,
0.01934041455388069,
0.015386124141514301,
0.05236154794692993,
-0.015254939906299114,
0.0017627981724217534,
-0.040030159056186676,
0.02550610899925232,
0.003103930503129959,
0.008391153998672962,
-0.021495597437024117,
0.005045936908572912,
0.04325356334447861,
-0.039955198764801025,
-0.004952233284711838,
-0.018665749579668045,
-0.015283050946891308,
0.009276652708649635,
0.010672835633158684,
0.05562243238091469,
-0.0019349785288795829,
-0.012500055134296417,
0.03824979439377785,
-0.05584732070565224,
0.0491381473839283,
-0.024531591683626175,
-0.05408569425344467,
-0.016641752794384956,
-0.028054846450686455,
-0.01727893576025963,
0.029385436326265335,
-0.008836246095597744,
-0.046364519745111465,
0.010569761507213116,
-0.026874180883169174,
-0.01619197428226471,
0.01650119759142399,
0.004710946697741747,
-0.056934282183647156,
-0.016145123168826103,
-0.04531504213809967,
0.031053360551595688,
0.008035080507397652,
-0.005167751107364893,
-0.04047993943095207,
0.020989596843719482,
0.06094479560852051,
0.059745389968156815,
-0.029928917065262794,
-0.031578101217746735,
-0.04437800496816635,
-0.006587360054254532,
-0.03097839653491974,
0.004230715800076723,
0.016613641753792763,
-0.04216660186648369,
0.03050987981259823,
-0.012200203724205494,
0.013802533969283104,
0.047151632606983185,
-0.029516620561480522,
-0.005369213875383139,
-0.012659351341426373,
0.0049850293435156345,
-0.03693794459104538,
-0.04568985477089882,
-0.021626781672239304,
0.01705404743552208,
-0.055509988218545914,
-0.03422053903341293,
0.016332531347870827,
-0.040742307901382446,
0.016182605177164078,
0.0009628040716052055,
0.005158381070941687,
0.025468626990914345,
0.0037973367143422365,
-0.023688260465860367,
-0.05674687772989273,
-0.004209632519632578,
-0.005059992428869009,
0.07316374033689499,
0.04677681624889374,
0.027811216190457344,
0.001707747345790267,
-0.00006771546031814069,
0.015020680613815784,
0.014158607460558414,
-0.017944231629371643,
0.0016761224251240492,
0.02919803000986576,
-0.007693062070757151,
-0.030097583308815956,
0.012828017584979534,
0.013596386648714542,
0.032121580094099045,
0.041604381054639816,
-0.012556277215480804,
0.06581737846136093,
0.08185943216085434,
-0.023032335564494133,
0.0675790086388588,
0.0177661944180727,
0.02693040296435356,
-0.0003537309530656785,
-0.03811860829591751,
0.0013305905740708113,
-0.047788817435503006,
0.018815675750374794,
-0.029160548001527786,
0.029235510155558586,
0.05299873277544975,
-0.01091646496206522,
0.006465545855462551,
-0.0036146147176623344,
-0.026630552485585213,
0.011703575029969215,
0.02385692670941353,
0.03703164681792259,
-0.030790990218520164,
-0.03879327327013016,
-0.023725740611553192,
-0.057796355336904526,
0.006226601544767618,
0.04583978280425072,
0.01190035231411457,
-0.014374125748872757,
0.05970790982246399,
0.04280378669500351,
-0.03943045809864998,
0.023107297718524933,
-0.006952804047614336,
-0.020596042275428772,
-0.018047304823994637,
-0.025787219405174255,
-0.01369946077466011,
0.012003426440060139,
0.07271396368741989,
0.018431490287184715,
-0.017035307362675667,
-0.003708318341523409,
0.015760939568281174,
0.018337786197662354,
-0.029947657138109207,
-0.0223764106631279,
0.029310474172234535,
-0.05030006915330887,
-0.06004524230957031,
0.012696832418441772,
0.0067372857592999935,
0.030884694308042526,
0.017241455614566803,
-0.0352325402200222,
0.09182948619127274,
-0.03208409994840622,
0.05753398686647415,
-0.053336065262556076,
-0.07728669792413712,
0.024437887594103813,
0.01707278937101364,
0.036188315600156784,
0.01580779068171978,
-0.02355707436800003,
0.0019420062890276313,
0.008147524669766426,
-0.04257889837026596,
0.02693040296435356,
0.008231857791543007,
-0.023519594222307205,
0.03155935928225517,
0.02886069566011429,
-0.01275305449962616,
-0.06098227575421333,
0.0035185685846954584,
0.0029329215176403522,
0.05712169036269188,
-0.015873383730649948,
0.02106456086039543,
-0.03245891258120537,
-0.007285451982170343,
-0.01800045371055603,
-0.0003206418768968433,
0.06911574304103851,
-0.028935659676790237,
0.09190445393323898,
-0.021083300933241844,
0.01863763853907585,
0.03905564546585083,
0.013680719770491123,
-0.021701743826270103,
0.029160548001527786,
-0.00037920658360235393,
-0.029235510155558586,
-0.01917174831032753,
-0.033995650708675385,
0.03834349662065506,
0.012724943459033966,
0.024868924170732498,
0.008302135393023491,
-0.09415333718061447,
0.021964114159345627,
0.019621524959802628,
-0.008794079534709454,
0.011647352948784828,
0.050674885511398315,
-0.027192773297429085,
-0.003907438367605209,
0.003164837835356593,
0.06180686876177788,
-0.05127458646893501,
0.04265385866165161,
-0.037294015288352966,
-0.012350128963589668,
0.04951296001672745,
0.1259375810623169,
0.017410121858119965,
-0.019733969122171402,
-0.04014260694384575,
0.010532280430197716,
0.072564035654068,
-0.015086272731423378,
0.04497770965099335,
0.022114040330052376,
-0.006414008792489767,
-0.022432632744312286,
-0.04235401004552841,
0.007158951833844185,
0.03601964935660362,
0.033208541572093964,
-0.05532258003950119,
-0.008016339503228664,
-0.07027766853570938,
-0.05828361585736275,
0.0375751294195652,
0.07818625122308731,
-0.03155935928225517,
-0.11296901106834412,
-0.09257911890745163,
0.009182948619127274,
0.006915322504937649,
0.07143959403038025,
-0.04546496644616127,
-0.011694204062223434,
0.01041046530008316,
-0.015554791316390038,
0.009941947646439075,
-0.05663442984223366,
-0.06630463898181915,
-0.04688926041126251,
0.06514271348714828,
-0.08463305234909058,
0.018721971660852432,
-0.0015449374914169312,
0.01790674962103367,
-0.014645866118371487,
-0.040030159056186676,
0.013474571518599987,
-0.03693794459104538,
-0.007782080676406622,
0.04666437208652496,
0.032608840614557266,
-0.017813047394156456,
0.02338840812444687,
-0.008367727510631084,
0.001397354295477271,
-0.020877152681350708,
0.03264632076025009,
-0.018375268206000328,
0.02646188624203205,
-0.019068675115704536,
0.05547250807285309,
0.04329104349017143,
0.0077211735770106316,
0.06832863390445709,
0.03004136122763157,
-0.041679345071315765,
-0.05970790982246399,
-0.026330700144171715,
0.00731824804097414,
-0.012200203724205494,
-0.0024269220884889364,
0.00002344419226574246,
-0.042766306549310684,
-0.0621442012488842,
-0.018094157800078392,
-0.031428173184394836,
-0.0035443371161818504,
-0.03390194848179817,
0.020839672535657883,
-0.020633524283766747,
0.02143937535583973,
0.059033241122961044,
0.03467031568288803,
-0.016416864469647408,
0.04681430011987686,
0.0067888228222727776,
-0.00013016010052524507,
-0.035794761031866074,
-0.018881266936659813,
-0.07177692651748657,
0.07185188680887222,
0.024606555700302124,
-0.03750016540288925,
-0.02269500307738781,
0.005687806289643049,
-0.03167180344462395,
-0.04763888940215111,
-0.055135175585746765,
-0.029910176992416382,
-0.06548004597425461,
0.06964048743247986,
-0.004486057907342911,
-0.03356461599469185,
0.005622213706374168,
-0.029853954911231995,
-0.01971522904932499,
0.053336065262556076,
-0.0535234734416008,
0.02989143505692482,
0.015461087226867676,
-0.017934860661625862,
-0.06795382499694824,
0.016463715583086014,
0.05573487654328346,
0.004553993232548237,
0.019124897196888924,
0.0165948998183012,
0.0026728941593319178,
0.022582557052373886,
0.04494022578001022,
0.04239149019122124,
0.06349353492259979,
0.0314469151198864,
0.005430121440440416,
-0.004204947035759687,
0.020558560267090797,
0.0008491885382682085,
-0.04029253125190735,
0.0025346812326461077,
0.032290246337652206,
-0.05344850942492485,
0.05258643627166748,
-0.03551365062594414,
0.003944919910281897,
0.061619460582733154,
0.013202831149101257,
-0.011113242246210575,
0.004172150976955891,
-0.005200547631829977,
-0.019733969122171402,
0.05524761974811554,
0.043553415685892105,
-0.019996339455246925,
0.024868924170732498,
0.005078732967376709,
0.0657799020409584,
0.005631583742797375,
0.026405662298202515,
0.0036966053303331137,
0.013230943121016026,
-0.05667191371321678,
-0.003441263223066926,
0.03620705381035805,
0.05416065827012062,
0.006020453758537769,
-0.05112466216087341,
0.0573090985417366,
0.049662888050079346,
-0.011066390201449394,
-0.03369579836726189,
-0.0724141076207161,
-0.012050277553498745,
0.019106155261397362,
0.05198673531413078,
0.010307391174137592,
-0.06251901388168335,
0.03958038240671158,
-0.04524007812142372,
0.006845044903457165,
0.022676261141896248,
0.04797622188925743,
-0.045052669942379,
-0.07192685455083847,
0.02018374763429165,
0.010860242880880833,
0.027248995378613472,
0.03347091004252434,
-0.05149947479367256,
-0.01252816617488861,
-0.026649292558431625,
-0.10007540136575699,
0.028073586523532867,
-0.00966083724051714,
0.01181601919233799,
-0.034070614725351334,
-0.04857592657208443,
0.032196544110774994,
0.0035958741791546345,
0.003743457142263651,
-0.009478115476667881,
0.025487368926405907,
0.02306981571018696,
0.01792549155652523,
0.0495879240334034,
0.03528876230120659,
0.06720419228076935,
-0.03281498700380325,
-0.026892920956015587,
0.04422808066010475,
0.02481270208954811,
-0.014111756347119808,
-0.04763888940215111,
0.005331732332706451,
-0.005856472533196211,
0.02769877202808857,
-0.016229456290602684,
-0.007037137169390917,
0.041754305362701416,
-0.013755682855844498,
-0.017250824719667435,
0.013914979062974453,
0.05221162363886833,
0.014842644333839417,
0.028354696929454803,
0.0406673438847065,
-0.02306981571018696,
0.004563363268971443,
-0.049962736666202545,
-0.04666437208652496,
0.026180773973464966,
-0.017784936353564262,
0.024119297042489052,
0.06049501895904541,
-0.0015379097312688828,
0.010897723957896233,
0.004532909486442804,
0.02644314430654049,
-0.011010168120265007,
-0.01908741518855095,
0.014158607460558414,
0.03581349924206734,
0.048950739204883575,
-0.024006852880120277,
-0.054348066449165344,
0.04553993046283722,
-0.02215152233839035,
0.02685544081032276,
-0.008470801636576653,
-0.06409323215484619,
-0.022020336240530014,
-0.005917379632592201,
-0.004247114062309265,
-0.0165948998183012,
-0.030191287398338318,
0.0027361440006643534,
0.018825044855475426,
-0.010363614186644554,
-0.05610969290137291,
0.05569739639759064,
0.04404067248106003,
0.03343342989683151
] |
710,027
|
urllib3_future._async.connectionpool
|
_new_conn
|
Return a fresh :class:`urllib3.connection.HTTPConnection`.
|
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
key_file: str | None = None,
cert_file: str | None = None,
cert_reqs: int | str | None = None,
key_password: str | None = None,
ca_certs: str | None = None,
ssl_version: int | str | None = None,
ssl_minimum_version: ssl.TLSVersion | None = None,
ssl_maximum_version: ssl.TLSVersion | None = None,
assert_hostname: str | Literal[False] | None = None,
assert_fingerprint: str | None = None,
ca_cert_dir: str | None = None,
ca_cert_data: None | str | bytes = None,
cert_data: str | bytes | None = None,
key_data: str | bytes | None = None,
**conn_kw: typing.Any,
) -> None:
super().__init__(
host,
port,
timeout,
maxsize,
block,
headers,
retries,
_proxy,
_proxy_headers,
**conn_kw,
)
self.key_file = key_file
self.cert_file = cert_file
self.cert_reqs = cert_reqs
self.key_password = key_password
self.ca_certs = ca_certs
self.ca_cert_dir = ca_cert_dir
self.ca_cert_data = ca_cert_data
self.cert_data = cert_data
self.key_data = key_data
self.ssl_version = ssl_version
self.ssl_minimum_version = ssl_minimum_version
self.ssl_maximum_version = ssl_maximum_version
self.assert_hostname = assert_hostname
self.assert_fingerprint = assert_fingerprint
|
(self, *, heb_timeout: Optional[urllib3_future.util.timeout.Timeout] = None) -> urllib3_future._async.connection.AsyncHTTPSConnection
|
[
-0.002712717978283763,
-0.07387588918209076,
-0.015245568938553333,
0.013540164567530155,
-0.06870345026254654,
0.009979428723454475,
-0.030172545462846756,
0.028073586523532867,
-0.025168776512145996,
-0.05123710632324219,
0.023575816303491592,
0.0890558660030365,
0.016810419037938118,
0.040105123072862625,
0.002537023974582553,
0.010466687381267548,
0.017307046800851822,
0.012828017584979534,
0.01235949993133545,
-0.049737848341464996,
0.030547359958291054,
0.05674687772989273,
0.020839672535657883,
0.02306981571018696,
-0.02809232659637928,
0.0618443489074707,
-0.027211513370275497,
0.01118820533156395,
0.03661935031414032,
-0.018909377977252007,
-0.04422808066010475,
0.04741400107741356,
-0.0016562103992328048,
0.09160459786653519,
0.043928228318691254,
-0.008405209518969059,
-0.006371842231601477,
-0.013624497689306736,
-0.07833617925643921,
0.02121448516845703,
-0.03558861091732979,
-0.022657521069049835,
-0.02698662504553795,
-0.04733903706073761,
0.037593867629766464,
0.039018161594867706,
-0.005631583742797375,
0.04955044388771057,
-0.020633524283766747,
-0.04302867501974106,
-0.047788817435503006,
0.025393664836883545,
0.03954290226101875,
0.0027595697902143,
-0.010719687677919865,
0.06866596639156342,
-0.01189098134636879,
0.0656299740076065,
-0.030809730291366577,
0.055772360414266586,
-0.0703151524066925,
-0.027567587792873383,
0.008409894071519375,
-0.006446804851293564,
-0.009417207911610603,
-0.050037700682878494,
-0.056934282183647156,
-0.028111068531870842,
0.05461043491959572,
-0.032590098679065704,
0.09910088777542114,
0.05134955048561096,
-0.04580229893326759,
-0.01154427882283926,
0.06660448759794235,
-0.0013247340684756637,
-0.04947547987103462,
-0.003235115436837077,
-0.0311470627784729,
-0.06064494326710701,
-0.005547250621020794,
0.0018693860620260239,
-0.01986515522003174,
-0.03883075341582298,
0.06079487130045891,
-0.04351593181490898,
0.05000022053718567,
-0.010026280768215656,
-0.03969282656908035,
0.04179178923368454,
-0.036431945860385895,
0.0072385999374091625,
-0.04314111918210983,
-0.017250824719667435,
0.001707747345790267,
-0.026630552485585213,
0.017513195052742958,
-0.010035651735961437,
-0.016688603907823563,
-0.00009926720667863265,
-0.03255261853337288,
-0.00395429041236639,
-0.0495879240334034,
0.00662952708080411,
0.02035241387784481,
-0.04014260694384575,
-0.0064749158918857574,
-0.05022510886192322,
-0.0220765583217144,
-0.011291278526186943,
-0.004141697194427252,
-0.03287120908498764,
0.04014260694384575,
0.030378693714737892,
-0.01041046530008316,
0.025524849072098732,
-0.02513129450380802,
-0.07162699848413467,
-0.03422053903341293,
0.0032632264774292707,
0.016098272055387497,
0.022788705304265022,
-0.0036895775701850653,
0.05314866080880165,
0.009604615159332752,
0.03414557874202728,
-0.0014606042532250285,
-0.011075761169195175,
0.029797732830047607,
-0.03648816794157028,
0.05910820513963699,
0.025637293234467506,
0.03541994467377663,
0.09602741152048111,
0.007468173746019602,
-0.010166835971176624,
0.0042541418224573135,
0.0486883707344532,
-0.06982789188623428,
0.014683348126709461,
0.004450919106602669,
0.011741056106984615,
-0.00758998841047287,
-0.01876882277429104,
0.015151865780353546,
-0.05580984055995941,
-0.05547250807285309,
-0.10097495466470718,
-0.047076668590307236,
-0.0016023308271542192,
-0.004055021330714226,
-0.0721142590045929,
-0.011085131205618382,
0.011984685435891151,
0.002381241647526622,
-0.026236996054649353,
-0.032515134662389755,
-0.010663464665412903,
-0.005982972215861082,
0.005022510886192322,
-0.0444529689848423,
-0.012687462382018566,
0.021158263087272644,
-0.05157443881034851,
-0.036900460720062256,
-0.0400676429271698,
0.006460860371589661,
-0.09715185314416885,
0.017588159069418907,
0.034932687878608704,
-0.04299119487404823,
0.012593758292496204,
-0.03585098311305046,
0.024981368333101273,
0.006531137973070145,
0.04077978804707527,
0.04209163784980774,
-0.001550793880596757,
-0.0533735491335392,
-0.017400750890374184,
0.0021446403115987778,
-0.019921377301216125,
-0.029928917065262794,
-0.007266710978001356,
0.022676261141896248,
0.06979040801525116,
0.008625412359833717,
0.05097473785281181,
0.05734657868742943,
-0.0004919436760246754,
-0.0049850293435156345,
0.014064904302358627,
0.03367706015706062,
0.012097129598259926,
0.024906406179070473,
-0.0532236211001873,
-0.010654094628989697,
0.01189098134636879,
0.018956230953335762,
0.03646942600607872,
-0.054348066449165344,
0.02072722837328911,
0.0350826121866703,
-0.0028017363511025906,
-0.0026658661663532257,
-0.028766993433237076,
-0.012968572787940502,
0.004017540253698826,
-0.05037503316998482,
0.04314111918210983,
-0.008274024352431297,
-0.006460860371589661,
-0.0483885183930397,
-0.007622784469276667,
-0.017175862565636635,
-0.02792366035282612,
0.02520625852048397,
0.005462917499244213,
0.015611013397574425,
0.01892811991274357,
0.10937079787254333,
0.03483898192644119,
-0.0054863435216248035,
-0.05907072499394417,
0.04062986373901367,
0.017410121858119965,
0.033152319490909576,
-0.023894408717751503,
-0.03367706015706062,
0.00046119719627313316,
0.0019654321949929,
0.0038441885262727737,
0.024138037115335464,
0.052473992109298706,
0.006161008961498737,
-0.020521080121397972,
-0.01487075537443161,
0.03217780217528343,
0.005439491476863623,
-0.02511255443096161,
0.046514447778463364,
0.009735800325870514,
0.003117986023426056,
-0.007009026128798723,
-0.014177348464727402,
-0.010832131840288639,
-0.050824809819459915,
0.030884694308042526,
0.0077071175910532475,
0.034932687878608704,
-0.021551819518208504,
-0.019584044814109802,
-0.032908689230680466,
-0.03984275460243225,
0.000984473037533462,
-0.022807447239756584,
-0.01790674962103367,
-0.09482800215482712,
-0.006563934497535229,
-0.009988799691200256,
0.016182605177164078,
0.031896691769361496,
-0.03733149915933609,
0.06323116272687912,
-0.008386468514800072,
0.007163637317717075,
0.006207861006259918,
-0.006802878342568874,
-0.00430567841976881,
0.026799218729138374,
0.06930315494537354,
-0.013230943121016026,
0.00444389134645462,
0.03482024371623993,
0.015348643064498901,
0.012012796476483345,
-0.016726085916161537,
-0.01369946077466011,
-0.019902635365724564,
-0.02661181055009365,
0.044565413147211075,
0.0023824130184948444,
0.029535362496972084,
-0.03412683680653572,
0.01486138440668583,
-0.0030383379198610783,
-0.1074967235326767,
0.07698684185743332,
-0.030716026201844215,
-0.002668208908289671,
-0.0110382791608572,
-0.0016515252646058798,
0.05258643627166748,
-0.011206945404410362,
0.0013809562660753727,
-0.05569739639759064,
-0.046364519745111465,
0.025075072422623634,
0.021233227103948593,
-0.07012774795293808,
-0.014036793261766434,
-0.0011824218090623617,
-0.01690412312746048,
0.014205459505319595,
0.03476402163505554,
-0.04040497541427612,
-0.046064671128988266,
0.027961142361164093,
0.01934041455388069,
0.015386124141514301,
0.05236154794692993,
-0.015254939906299114,
0.0017627981724217534,
-0.040030159056186676,
0.02550610899925232,
0.003103930503129959,
0.008391153998672962,
-0.021495597437024117,
0.005045936908572912,
0.04325356334447861,
-0.039955198764801025,
-0.004952233284711838,
-0.018665749579668045,
-0.015283050946891308,
0.009276652708649635,
0.010672835633158684,
0.05562243238091469,
-0.0019349785288795829,
-0.012500055134296417,
0.03824979439377785,
-0.05584732070565224,
0.0491381473839283,
-0.024531591683626175,
-0.05408569425344467,
-0.016641752794384956,
-0.028054846450686455,
-0.01727893576025963,
0.029385436326265335,
-0.008836246095597744,
-0.046364519745111465,
0.010569761507213116,
-0.026874180883169174,
-0.01619197428226471,
0.01650119759142399,
0.004710946697741747,
-0.056934282183647156,
-0.016145123168826103,
-0.04531504213809967,
0.031053360551595688,
0.008035080507397652,
-0.005167751107364893,
-0.04047993943095207,
0.020989596843719482,
0.06094479560852051,
0.059745389968156815,
-0.029928917065262794,
-0.031578101217746735,
-0.04437800496816635,
-0.006587360054254532,
-0.03097839653491974,
0.004230715800076723,
0.016613641753792763,
-0.04216660186648369,
0.03050987981259823,
-0.012200203724205494,
0.013802533969283104,
0.047151632606983185,
-0.029516620561480522,
-0.005369213875383139,
-0.012659351341426373,
0.0049850293435156345,
-0.03693794459104538,
-0.04568985477089882,
-0.021626781672239304,
0.01705404743552208,
-0.055509988218545914,
-0.03422053903341293,
0.016332531347870827,
-0.040742307901382446,
0.016182605177164078,
0.0009628040716052055,
0.005158381070941687,
0.025468626990914345,
0.0037973367143422365,
-0.023688260465860367,
-0.05674687772989273,
-0.004209632519632578,
-0.005059992428869009,
0.07316374033689499,
0.04677681624889374,
0.027811216190457344,
0.001707747345790267,
-0.00006771546031814069,
0.015020680613815784,
0.014158607460558414,
-0.017944231629371643,
0.0016761224251240492,
0.02919803000986576,
-0.007693062070757151,
-0.030097583308815956,
0.012828017584979534,
0.013596386648714542,
0.032121580094099045,
0.041604381054639816,
-0.012556277215480804,
0.06581737846136093,
0.08185943216085434,
-0.023032335564494133,
0.0675790086388588,
0.0177661944180727,
0.02693040296435356,
-0.0003537309530656785,
-0.03811860829591751,
0.0013305905740708113,
-0.047788817435503006,
0.018815675750374794,
-0.029160548001527786,
0.029235510155558586,
0.05299873277544975,
-0.01091646496206522,
0.006465545855462551,
-0.0036146147176623344,
-0.026630552485585213,
0.011703575029969215,
0.02385692670941353,
0.03703164681792259,
-0.030790990218520164,
-0.03879327327013016,
-0.023725740611553192,
-0.057796355336904526,
0.006226601544767618,
0.04583978280425072,
0.01190035231411457,
-0.014374125748872757,
0.05970790982246399,
0.04280378669500351,
-0.03943045809864998,
0.023107297718524933,
-0.006952804047614336,
-0.020596042275428772,
-0.018047304823994637,
-0.025787219405174255,
-0.01369946077466011,
0.012003426440060139,
0.07271396368741989,
0.018431490287184715,
-0.017035307362675667,
-0.003708318341523409,
0.015760939568281174,
0.018337786197662354,
-0.029947657138109207,
-0.0223764106631279,
0.029310474172234535,
-0.05030006915330887,
-0.06004524230957031,
0.012696832418441772,
0.0067372857592999935,
0.030884694308042526,
0.017241455614566803,
-0.0352325402200222,
0.09182948619127274,
-0.03208409994840622,
0.05753398686647415,
-0.053336065262556076,
-0.07728669792413712,
0.024437887594103813,
0.01707278937101364,
0.036188315600156784,
0.01580779068171978,
-0.02355707436800003,
0.0019420062890276313,
0.008147524669766426,
-0.04257889837026596,
0.02693040296435356,
0.008231857791543007,
-0.023519594222307205,
0.03155935928225517,
0.02886069566011429,
-0.01275305449962616,
-0.06098227575421333,
0.0035185685846954584,
0.0029329215176403522,
0.05712169036269188,
-0.015873383730649948,
0.02106456086039543,
-0.03245891258120537,
-0.007285451982170343,
-0.01800045371055603,
-0.0003206418768968433,
0.06911574304103851,
-0.028935659676790237,
0.09190445393323898,
-0.021083300933241844,
0.01863763853907585,
0.03905564546585083,
0.013680719770491123,
-0.021701743826270103,
0.029160548001527786,
-0.00037920658360235393,
-0.029235510155558586,
-0.01917174831032753,
-0.033995650708675385,
0.03834349662065506,
0.012724943459033966,
0.024868924170732498,
0.008302135393023491,
-0.09415333718061447,
0.021964114159345627,
0.019621524959802628,
-0.008794079534709454,
0.011647352948784828,
0.050674885511398315,
-0.027192773297429085,
-0.003907438367605209,
0.003164837835356593,
0.06180686876177788,
-0.05127458646893501,
0.04265385866165161,
-0.037294015288352966,
-0.012350128963589668,
0.04951296001672745,
0.1259375810623169,
0.017410121858119965,
-0.019733969122171402,
-0.04014260694384575,
0.010532280430197716,
0.072564035654068,
-0.015086272731423378,
0.04497770965099335,
0.022114040330052376,
-0.006414008792489767,
-0.022432632744312286,
-0.04235401004552841,
0.007158951833844185,
0.03601964935660362,
0.033208541572093964,
-0.05532258003950119,
-0.008016339503228664,
-0.07027766853570938,
-0.05828361585736275,
0.0375751294195652,
0.07818625122308731,
-0.03155935928225517,
-0.11296901106834412,
-0.09257911890745163,
0.009182948619127274,
0.006915322504937649,
0.07143959403038025,
-0.04546496644616127,
-0.011694204062223434,
0.01041046530008316,
-0.015554791316390038,
0.009941947646439075,
-0.05663442984223366,
-0.06630463898181915,
-0.04688926041126251,
0.06514271348714828,
-0.08463305234909058,
0.018721971660852432,
-0.0015449374914169312,
0.01790674962103367,
-0.014645866118371487,
-0.040030159056186676,
0.013474571518599987,
-0.03693794459104538,
-0.007782080676406622,
0.04666437208652496,
0.032608840614557266,
-0.017813047394156456,
0.02338840812444687,
-0.008367727510631084,
0.001397354295477271,
-0.020877152681350708,
0.03264632076025009,
-0.018375268206000328,
0.02646188624203205,
-0.019068675115704536,
0.05547250807285309,
0.04329104349017143,
0.0077211735770106316,
0.06832863390445709,
0.03004136122763157,
-0.041679345071315765,
-0.05970790982246399,
-0.026330700144171715,
0.00731824804097414,
-0.012200203724205494,
-0.0024269220884889364,
0.00002344419226574246,
-0.042766306549310684,
-0.0621442012488842,
-0.018094157800078392,
-0.031428173184394836,
-0.0035443371161818504,
-0.03390194848179817,
0.020839672535657883,
-0.020633524283766747,
0.02143937535583973,
0.059033241122961044,
0.03467031568288803,
-0.016416864469647408,
0.04681430011987686,
0.0067888228222727776,
-0.00013016010052524507,
-0.035794761031866074,
-0.018881266936659813,
-0.07177692651748657,
0.07185188680887222,
0.024606555700302124,
-0.03750016540288925,
-0.02269500307738781,
0.005687806289643049,
-0.03167180344462395,
-0.04763888940215111,
-0.055135175585746765,
-0.029910176992416382,
-0.06548004597425461,
0.06964048743247986,
-0.004486057907342911,
-0.03356461599469185,
0.005622213706374168,
-0.029853954911231995,
-0.01971522904932499,
0.053336065262556076,
-0.0535234734416008,
0.02989143505692482,
0.015461087226867676,
-0.017934860661625862,
-0.06795382499694824,
0.016463715583086014,
0.05573487654328346,
0.004553993232548237,
0.019124897196888924,
0.0165948998183012,
0.0026728941593319178,
0.022582557052373886,
0.04494022578001022,
0.04239149019122124,
0.06349353492259979,
0.0314469151198864,
0.005430121440440416,
-0.004204947035759687,
0.020558560267090797,
0.0008491885382682085,
-0.04029253125190735,
0.0025346812326461077,
0.032290246337652206,
-0.05344850942492485,
0.05258643627166748,
-0.03551365062594414,
0.003944919910281897,
0.061619460582733154,
0.013202831149101257,
-0.011113242246210575,
0.004172150976955891,
-0.005200547631829977,
-0.019733969122171402,
0.05524761974811554,
0.043553415685892105,
-0.019996339455246925,
0.024868924170732498,
0.005078732967376709,
0.0657799020409584,
0.005631583742797375,
0.026405662298202515,
0.0036966053303331137,
0.013230943121016026,
-0.05667191371321678,
-0.003441263223066926,
0.03620705381035805,
0.05416065827012062,
0.006020453758537769,
-0.05112466216087341,
0.0573090985417366,
0.049662888050079346,
-0.011066390201449394,
-0.03369579836726189,
-0.0724141076207161,
-0.012050277553498745,
0.019106155261397362,
0.05198673531413078,
0.010307391174137592,
-0.06251901388168335,
0.03958038240671158,
-0.04524007812142372,
0.006845044903457165,
0.022676261141896248,
0.04797622188925743,
-0.045052669942379,
-0.07192685455083847,
0.02018374763429165,
0.010860242880880833,
0.027248995378613472,
0.03347091004252434,
-0.05149947479367256,
-0.01252816617488861,
-0.026649292558431625,
-0.10007540136575699,
0.028073586523532867,
-0.00966083724051714,
0.01181601919233799,
-0.034070614725351334,
-0.04857592657208443,
0.032196544110774994,
0.0035958741791546345,
0.003743457142263651,
-0.009478115476667881,
0.025487368926405907,
0.02306981571018696,
0.01792549155652523,
0.0495879240334034,
0.03528876230120659,
0.06720419228076935,
-0.03281498700380325,
-0.026892920956015587,
0.04422808066010475,
0.02481270208954811,
-0.014111756347119808,
-0.04763888940215111,
0.005331732332706451,
-0.005856472533196211,
0.02769877202808857,
-0.016229456290602684,
-0.007037137169390917,
0.041754305362701416,
-0.013755682855844498,
-0.017250824719667435,
0.013914979062974453,
0.05221162363886833,
0.014842644333839417,
0.028354696929454803,
0.0406673438847065,
-0.02306981571018696,
0.004563363268971443,
-0.049962736666202545,
-0.04666437208652496,
0.026180773973464966,
-0.017784936353564262,
0.024119297042489052,
0.06049501895904541,
-0.0015379097312688828,
0.010897723957896233,
0.004532909486442804,
0.02644314430654049,
-0.011010168120265007,
-0.01908741518855095,
0.014158607460558414,
0.03581349924206734,
0.048950739204883575,
-0.024006852880120277,
-0.054348066449165344,
0.04553993046283722,
-0.02215152233839035,
0.02685544081032276,
-0.008470801636576653,
-0.06409323215484619,
-0.022020336240530014,
-0.005917379632592201,
-0.004247114062309265,
-0.0165948998183012,
-0.030191287398338318,
0.0027361440006643534,
0.018825044855475426,
-0.010363614186644554,
-0.05610969290137291,
0.05569739639759064,
0.04404067248106003,
0.03343342989683151
] |
710,028
|
urllib3_future._async.connectionpool
|
_prepare_proxy
|
Establishes a tunnel connection through HTTP CONNECT.
|
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
key_file: str | None = None,
cert_file: str | None = None,
cert_reqs: int | str | None = None,
key_password: str | None = None,
ca_certs: str | None = None,
ssl_version: int | str | None = None,
ssl_minimum_version: ssl.TLSVersion | None = None,
ssl_maximum_version: ssl.TLSVersion | None = None,
assert_hostname: str | Literal[False] | None = None,
assert_fingerprint: str | None = None,
ca_cert_dir: str | None = None,
ca_cert_data: None | str | bytes = None,
cert_data: str | bytes | None = None,
key_data: str | bytes | None = None,
**conn_kw: typing.Any,
) -> None:
super().__init__(
host,
port,
timeout,
maxsize,
block,
headers,
retries,
_proxy,
_proxy_headers,
**conn_kw,
)
self.key_file = key_file
self.cert_file = cert_file
self.cert_reqs = cert_reqs
self.key_password = key_password
self.ca_certs = ca_certs
self.ca_cert_dir = ca_cert_dir
self.ca_cert_data = ca_cert_data
self.cert_data = cert_data
self.key_data = key_data
self.ssl_version = ssl_version
self.ssl_minimum_version = ssl_minimum_version
self.ssl_maximum_version = ssl_maximum_version
self.assert_hostname = assert_hostname
self.assert_fingerprint = assert_fingerprint
|
(self, conn: urllib3_future._async.connection.AsyncHTTPSConnection) -> NoneType
|
[
-0.002712717978283763,
-0.07387588918209076,
-0.015245568938553333,
0.013540164567530155,
-0.06870345026254654,
0.009979428723454475,
-0.030172545462846756,
0.028073586523532867,
-0.025168776512145996,
-0.05123710632324219,
0.023575816303491592,
0.0890558660030365,
0.016810419037938118,
0.040105123072862625,
0.002537023974582553,
0.010466687381267548,
0.017307046800851822,
0.012828017584979534,
0.01235949993133545,
-0.049737848341464996,
0.030547359958291054,
0.05674687772989273,
0.020839672535657883,
0.02306981571018696,
-0.02809232659637928,
0.0618443489074707,
-0.027211513370275497,
0.01118820533156395,
0.03661935031414032,
-0.018909377977252007,
-0.04422808066010475,
0.04741400107741356,
-0.0016562103992328048,
0.09160459786653519,
0.043928228318691254,
-0.008405209518969059,
-0.006371842231601477,
-0.013624497689306736,
-0.07833617925643921,
0.02121448516845703,
-0.03558861091732979,
-0.022657521069049835,
-0.02698662504553795,
-0.04733903706073761,
0.037593867629766464,
0.039018161594867706,
-0.005631583742797375,
0.04955044388771057,
-0.020633524283766747,
-0.04302867501974106,
-0.047788817435503006,
0.025393664836883545,
0.03954290226101875,
0.0027595697902143,
-0.010719687677919865,
0.06866596639156342,
-0.01189098134636879,
0.0656299740076065,
-0.030809730291366577,
0.055772360414266586,
-0.0703151524066925,
-0.027567587792873383,
0.008409894071519375,
-0.006446804851293564,
-0.009417207911610603,
-0.050037700682878494,
-0.056934282183647156,
-0.028111068531870842,
0.05461043491959572,
-0.032590098679065704,
0.09910088777542114,
0.05134955048561096,
-0.04580229893326759,
-0.01154427882283926,
0.06660448759794235,
-0.0013247340684756637,
-0.04947547987103462,
-0.003235115436837077,
-0.0311470627784729,
-0.06064494326710701,
-0.005547250621020794,
0.0018693860620260239,
-0.01986515522003174,
-0.03883075341582298,
0.06079487130045891,
-0.04351593181490898,
0.05000022053718567,
-0.010026280768215656,
-0.03969282656908035,
0.04179178923368454,
-0.036431945860385895,
0.0072385999374091625,
-0.04314111918210983,
-0.017250824719667435,
0.001707747345790267,
-0.026630552485585213,
0.017513195052742958,
-0.010035651735961437,
-0.016688603907823563,
-0.00009926720667863265,
-0.03255261853337288,
-0.00395429041236639,
-0.0495879240334034,
0.00662952708080411,
0.02035241387784481,
-0.04014260694384575,
-0.0064749158918857574,
-0.05022510886192322,
-0.0220765583217144,
-0.011291278526186943,
-0.004141697194427252,
-0.03287120908498764,
0.04014260694384575,
0.030378693714737892,
-0.01041046530008316,
0.025524849072098732,
-0.02513129450380802,
-0.07162699848413467,
-0.03422053903341293,
0.0032632264774292707,
0.016098272055387497,
0.022788705304265022,
-0.0036895775701850653,
0.05314866080880165,
0.009604615159332752,
0.03414557874202728,
-0.0014606042532250285,
-0.011075761169195175,
0.029797732830047607,
-0.03648816794157028,
0.05910820513963699,
0.025637293234467506,
0.03541994467377663,
0.09602741152048111,
0.007468173746019602,
-0.010166835971176624,
0.0042541418224573135,
0.0486883707344532,
-0.06982789188623428,
0.014683348126709461,
0.004450919106602669,
0.011741056106984615,
-0.00758998841047287,
-0.01876882277429104,
0.015151865780353546,
-0.05580984055995941,
-0.05547250807285309,
-0.10097495466470718,
-0.047076668590307236,
-0.0016023308271542192,
-0.004055021330714226,
-0.0721142590045929,
-0.011085131205618382,
0.011984685435891151,
0.002381241647526622,
-0.026236996054649353,
-0.032515134662389755,
-0.010663464665412903,
-0.005982972215861082,
0.005022510886192322,
-0.0444529689848423,
-0.012687462382018566,
0.021158263087272644,
-0.05157443881034851,
-0.036900460720062256,
-0.0400676429271698,
0.006460860371589661,
-0.09715185314416885,
0.017588159069418907,
0.034932687878608704,
-0.04299119487404823,
0.012593758292496204,
-0.03585098311305046,
0.024981368333101273,
0.006531137973070145,
0.04077978804707527,
0.04209163784980774,
-0.001550793880596757,
-0.0533735491335392,
-0.017400750890374184,
0.0021446403115987778,
-0.019921377301216125,
-0.029928917065262794,
-0.007266710978001356,
0.022676261141896248,
0.06979040801525116,
0.008625412359833717,
0.05097473785281181,
0.05734657868742943,
-0.0004919436760246754,
-0.0049850293435156345,
0.014064904302358627,
0.03367706015706062,
0.012097129598259926,
0.024906406179070473,
-0.0532236211001873,
-0.010654094628989697,
0.01189098134636879,
0.018956230953335762,
0.03646942600607872,
-0.054348066449165344,
0.02072722837328911,
0.0350826121866703,
-0.0028017363511025906,
-0.0026658661663532257,
-0.028766993433237076,
-0.012968572787940502,
0.004017540253698826,
-0.05037503316998482,
0.04314111918210983,
-0.008274024352431297,
-0.006460860371589661,
-0.0483885183930397,
-0.007622784469276667,
-0.017175862565636635,
-0.02792366035282612,
0.02520625852048397,
0.005462917499244213,
0.015611013397574425,
0.01892811991274357,
0.10937079787254333,
0.03483898192644119,
-0.0054863435216248035,
-0.05907072499394417,
0.04062986373901367,
0.017410121858119965,
0.033152319490909576,
-0.023894408717751503,
-0.03367706015706062,
0.00046119719627313316,
0.0019654321949929,
0.0038441885262727737,
0.024138037115335464,
0.052473992109298706,
0.006161008961498737,
-0.020521080121397972,
-0.01487075537443161,
0.03217780217528343,
0.005439491476863623,
-0.02511255443096161,
0.046514447778463364,
0.009735800325870514,
0.003117986023426056,
-0.007009026128798723,
-0.014177348464727402,
-0.010832131840288639,
-0.050824809819459915,
0.030884694308042526,
0.0077071175910532475,
0.034932687878608704,
-0.021551819518208504,
-0.019584044814109802,
-0.032908689230680466,
-0.03984275460243225,
0.000984473037533462,
-0.022807447239756584,
-0.01790674962103367,
-0.09482800215482712,
-0.006563934497535229,
-0.009988799691200256,
0.016182605177164078,
0.031896691769361496,
-0.03733149915933609,
0.06323116272687912,
-0.008386468514800072,
0.007163637317717075,
0.006207861006259918,
-0.006802878342568874,
-0.00430567841976881,
0.026799218729138374,
0.06930315494537354,
-0.013230943121016026,
0.00444389134645462,
0.03482024371623993,
0.015348643064498901,
0.012012796476483345,
-0.016726085916161537,
-0.01369946077466011,
-0.019902635365724564,
-0.02661181055009365,
0.044565413147211075,
0.0023824130184948444,
0.029535362496972084,
-0.03412683680653572,
0.01486138440668583,
-0.0030383379198610783,
-0.1074967235326767,
0.07698684185743332,
-0.030716026201844215,
-0.002668208908289671,
-0.0110382791608572,
-0.0016515252646058798,
0.05258643627166748,
-0.011206945404410362,
0.0013809562660753727,
-0.05569739639759064,
-0.046364519745111465,
0.025075072422623634,
0.021233227103948593,
-0.07012774795293808,
-0.014036793261766434,
-0.0011824218090623617,
-0.01690412312746048,
0.014205459505319595,
0.03476402163505554,
-0.04040497541427612,
-0.046064671128988266,
0.027961142361164093,
0.01934041455388069,
0.015386124141514301,
0.05236154794692993,
-0.015254939906299114,
0.0017627981724217534,
-0.040030159056186676,
0.02550610899925232,
0.003103930503129959,
0.008391153998672962,
-0.021495597437024117,
0.005045936908572912,
0.04325356334447861,
-0.039955198764801025,
-0.004952233284711838,
-0.018665749579668045,
-0.015283050946891308,
0.009276652708649635,
0.010672835633158684,
0.05562243238091469,
-0.0019349785288795829,
-0.012500055134296417,
0.03824979439377785,
-0.05584732070565224,
0.0491381473839283,
-0.024531591683626175,
-0.05408569425344467,
-0.016641752794384956,
-0.028054846450686455,
-0.01727893576025963,
0.029385436326265335,
-0.008836246095597744,
-0.046364519745111465,
0.010569761507213116,
-0.026874180883169174,
-0.01619197428226471,
0.01650119759142399,
0.004710946697741747,
-0.056934282183647156,
-0.016145123168826103,
-0.04531504213809967,
0.031053360551595688,
0.008035080507397652,
-0.005167751107364893,
-0.04047993943095207,
0.020989596843719482,
0.06094479560852051,
0.059745389968156815,
-0.029928917065262794,
-0.031578101217746735,
-0.04437800496816635,
-0.006587360054254532,
-0.03097839653491974,
0.004230715800076723,
0.016613641753792763,
-0.04216660186648369,
0.03050987981259823,
-0.012200203724205494,
0.013802533969283104,
0.047151632606983185,
-0.029516620561480522,
-0.005369213875383139,
-0.012659351341426373,
0.0049850293435156345,
-0.03693794459104538,
-0.04568985477089882,
-0.021626781672239304,
0.01705404743552208,
-0.055509988218545914,
-0.03422053903341293,
0.016332531347870827,
-0.040742307901382446,
0.016182605177164078,
0.0009628040716052055,
0.005158381070941687,
0.025468626990914345,
0.0037973367143422365,
-0.023688260465860367,
-0.05674687772989273,
-0.004209632519632578,
-0.005059992428869009,
0.07316374033689499,
0.04677681624889374,
0.027811216190457344,
0.001707747345790267,
-0.00006771546031814069,
0.015020680613815784,
0.014158607460558414,
-0.017944231629371643,
0.0016761224251240492,
0.02919803000986576,
-0.007693062070757151,
-0.030097583308815956,
0.012828017584979534,
0.013596386648714542,
0.032121580094099045,
0.041604381054639816,
-0.012556277215480804,
0.06581737846136093,
0.08185943216085434,
-0.023032335564494133,
0.0675790086388588,
0.0177661944180727,
0.02693040296435356,
-0.0003537309530656785,
-0.03811860829591751,
0.0013305905740708113,
-0.047788817435503006,
0.018815675750374794,
-0.029160548001527786,
0.029235510155558586,
0.05299873277544975,
-0.01091646496206522,
0.006465545855462551,
-0.0036146147176623344,
-0.026630552485585213,
0.011703575029969215,
0.02385692670941353,
0.03703164681792259,
-0.030790990218520164,
-0.03879327327013016,
-0.023725740611553192,
-0.057796355336904526,
0.006226601544767618,
0.04583978280425072,
0.01190035231411457,
-0.014374125748872757,
0.05970790982246399,
0.04280378669500351,
-0.03943045809864998,
0.023107297718524933,
-0.006952804047614336,
-0.020596042275428772,
-0.018047304823994637,
-0.025787219405174255,
-0.01369946077466011,
0.012003426440060139,
0.07271396368741989,
0.018431490287184715,
-0.017035307362675667,
-0.003708318341523409,
0.015760939568281174,
0.018337786197662354,
-0.029947657138109207,
-0.0223764106631279,
0.029310474172234535,
-0.05030006915330887,
-0.06004524230957031,
0.012696832418441772,
0.0067372857592999935,
0.030884694308042526,
0.017241455614566803,
-0.0352325402200222,
0.09182948619127274,
-0.03208409994840622,
0.05753398686647415,
-0.053336065262556076,
-0.07728669792413712,
0.024437887594103813,
0.01707278937101364,
0.036188315600156784,
0.01580779068171978,
-0.02355707436800003,
0.0019420062890276313,
0.008147524669766426,
-0.04257889837026596,
0.02693040296435356,
0.008231857791543007,
-0.023519594222307205,
0.03155935928225517,
0.02886069566011429,
-0.01275305449962616,
-0.06098227575421333,
0.0035185685846954584,
0.0029329215176403522,
0.05712169036269188,
-0.015873383730649948,
0.02106456086039543,
-0.03245891258120537,
-0.007285451982170343,
-0.01800045371055603,
-0.0003206418768968433,
0.06911574304103851,
-0.028935659676790237,
0.09190445393323898,
-0.021083300933241844,
0.01863763853907585,
0.03905564546585083,
0.013680719770491123,
-0.021701743826270103,
0.029160548001527786,
-0.00037920658360235393,
-0.029235510155558586,
-0.01917174831032753,
-0.033995650708675385,
0.03834349662065506,
0.012724943459033966,
0.024868924170732498,
0.008302135393023491,
-0.09415333718061447,
0.021964114159345627,
0.019621524959802628,
-0.008794079534709454,
0.011647352948784828,
0.050674885511398315,
-0.027192773297429085,
-0.003907438367605209,
0.003164837835356593,
0.06180686876177788,
-0.05127458646893501,
0.04265385866165161,
-0.037294015288352966,
-0.012350128963589668,
0.04951296001672745,
0.1259375810623169,
0.017410121858119965,
-0.019733969122171402,
-0.04014260694384575,
0.010532280430197716,
0.072564035654068,
-0.015086272731423378,
0.04497770965099335,
0.022114040330052376,
-0.006414008792489767,
-0.022432632744312286,
-0.04235401004552841,
0.007158951833844185,
0.03601964935660362,
0.033208541572093964,
-0.05532258003950119,
-0.008016339503228664,
-0.07027766853570938,
-0.05828361585736275,
0.0375751294195652,
0.07818625122308731,
-0.03155935928225517,
-0.11296901106834412,
-0.09257911890745163,
0.009182948619127274,
0.006915322504937649,
0.07143959403038025,
-0.04546496644616127,
-0.011694204062223434,
0.01041046530008316,
-0.015554791316390038,
0.009941947646439075,
-0.05663442984223366,
-0.06630463898181915,
-0.04688926041126251,
0.06514271348714828,
-0.08463305234909058,
0.018721971660852432,
-0.0015449374914169312,
0.01790674962103367,
-0.014645866118371487,
-0.040030159056186676,
0.013474571518599987,
-0.03693794459104538,
-0.007782080676406622,
0.04666437208652496,
0.032608840614557266,
-0.017813047394156456,
0.02338840812444687,
-0.008367727510631084,
0.001397354295477271,
-0.020877152681350708,
0.03264632076025009,
-0.018375268206000328,
0.02646188624203205,
-0.019068675115704536,
0.05547250807285309,
0.04329104349017143,
0.0077211735770106316,
0.06832863390445709,
0.03004136122763157,
-0.041679345071315765,
-0.05970790982246399,
-0.026330700144171715,
0.00731824804097414,
-0.012200203724205494,
-0.0024269220884889364,
0.00002344419226574246,
-0.042766306549310684,
-0.0621442012488842,
-0.018094157800078392,
-0.031428173184394836,
-0.0035443371161818504,
-0.03390194848179817,
0.020839672535657883,
-0.020633524283766747,
0.02143937535583973,
0.059033241122961044,
0.03467031568288803,
-0.016416864469647408,
0.04681430011987686,
0.0067888228222727776,
-0.00013016010052524507,
-0.035794761031866074,
-0.018881266936659813,
-0.07177692651748657,
0.07185188680887222,
0.024606555700302124,
-0.03750016540288925,
-0.02269500307738781,
0.005687806289643049,
-0.03167180344462395,
-0.04763888940215111,
-0.055135175585746765,
-0.029910176992416382,
-0.06548004597425461,
0.06964048743247986,
-0.004486057907342911,
-0.03356461599469185,
0.005622213706374168,
-0.029853954911231995,
-0.01971522904932499,
0.053336065262556076,
-0.0535234734416008,
0.02989143505692482,
0.015461087226867676,
-0.017934860661625862,
-0.06795382499694824,
0.016463715583086014,
0.05573487654328346,
0.004553993232548237,
0.019124897196888924,
0.0165948998183012,
0.0026728941593319178,
0.022582557052373886,
0.04494022578001022,
0.04239149019122124,
0.06349353492259979,
0.0314469151198864,
0.005430121440440416,
-0.004204947035759687,
0.020558560267090797,
0.0008491885382682085,
-0.04029253125190735,
0.0025346812326461077,
0.032290246337652206,
-0.05344850942492485,
0.05258643627166748,
-0.03551365062594414,
0.003944919910281897,
0.061619460582733154,
0.013202831149101257,
-0.011113242246210575,
0.004172150976955891,
-0.005200547631829977,
-0.019733969122171402,
0.05524761974811554,
0.043553415685892105,
-0.019996339455246925,
0.024868924170732498,
0.005078732967376709,
0.0657799020409584,
0.005631583742797375,
0.026405662298202515,
0.0036966053303331137,
0.013230943121016026,
-0.05667191371321678,
-0.003441263223066926,
0.03620705381035805,
0.05416065827012062,
0.006020453758537769,
-0.05112466216087341,
0.0573090985417366,
0.049662888050079346,
-0.011066390201449394,
-0.03369579836726189,
-0.0724141076207161,
-0.012050277553498745,
0.019106155261397362,
0.05198673531413078,
0.010307391174137592,
-0.06251901388168335,
0.03958038240671158,
-0.04524007812142372,
0.006845044903457165,
0.022676261141896248,
0.04797622188925743,
-0.045052669942379,
-0.07192685455083847,
0.02018374763429165,
0.010860242880880833,
0.027248995378613472,
0.03347091004252434,
-0.05149947479367256,
-0.01252816617488861,
-0.026649292558431625,
-0.10007540136575699,
0.028073586523532867,
-0.00966083724051714,
0.01181601919233799,
-0.034070614725351334,
-0.04857592657208443,
0.032196544110774994,
0.0035958741791546345,
0.003743457142263651,
-0.009478115476667881,
0.025487368926405907,
0.02306981571018696,
0.01792549155652523,
0.0495879240334034,
0.03528876230120659,
0.06720419228076935,
-0.03281498700380325,
-0.026892920956015587,
0.04422808066010475,
0.02481270208954811,
-0.014111756347119808,
-0.04763888940215111,
0.005331732332706451,
-0.005856472533196211,
0.02769877202808857,
-0.016229456290602684,
-0.007037137169390917,
0.041754305362701416,
-0.013755682855844498,
-0.017250824719667435,
0.013914979062974453,
0.05221162363886833,
0.014842644333839417,
0.028354696929454803,
0.0406673438847065,
-0.02306981571018696,
0.004563363268971443,
-0.049962736666202545,
-0.04666437208652496,
0.026180773973464966,
-0.017784936353564262,
0.024119297042489052,
0.06049501895904541,
-0.0015379097312688828,
0.010897723957896233,
0.004532909486442804,
0.02644314430654049,
-0.011010168120265007,
-0.01908741518855095,
0.014158607460558414,
0.03581349924206734,
0.048950739204883575,
-0.024006852880120277,
-0.054348066449165344,
0.04553993046283722,
-0.02215152233839035,
0.02685544081032276,
-0.008470801636576653,
-0.06409323215484619,
-0.022020336240530014,
-0.005917379632592201,
-0.004247114062309265,
-0.0165948998183012,
-0.030191287398338318,
0.0027361440006643534,
0.018825044855475426,
-0.010363614186644554,
-0.05610969290137291,
0.05569739639759064,
0.04404067248106003,
0.03343342989683151
] |
710,031
|
urllib3_future._async.connectionpool
|
_validate_conn
|
Called right before a request is made, after the socket is created.
|
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
key_file: str | None = None,
cert_file: str | None = None,
cert_reqs: int | str | None = None,
key_password: str | None = None,
ca_certs: str | None = None,
ssl_version: int | str | None = None,
ssl_minimum_version: ssl.TLSVersion | None = None,
ssl_maximum_version: ssl.TLSVersion | None = None,
assert_hostname: str | Literal[False] | None = None,
assert_fingerprint: str | None = None,
ca_cert_dir: str | None = None,
ca_cert_data: None | str | bytes = None,
cert_data: str | bytes | None = None,
key_data: str | bytes | None = None,
**conn_kw: typing.Any,
) -> None:
super().__init__(
host,
port,
timeout,
maxsize,
block,
headers,
retries,
_proxy,
_proxy_headers,
**conn_kw,
)
self.key_file = key_file
self.cert_file = cert_file
self.cert_reqs = cert_reqs
self.key_password = key_password
self.ca_certs = ca_certs
self.ca_cert_dir = ca_cert_dir
self.ca_cert_data = ca_cert_data
self.cert_data = cert_data
self.key_data = key_data
self.ssl_version = ssl_version
self.ssl_minimum_version = ssl_minimum_version
self.ssl_maximum_version = ssl_maximum_version
self.assert_hostname = assert_hostname
self.assert_fingerprint = assert_fingerprint
|
(self, conn: urllib3_future._async.connection.AsyncHTTPConnection) -> NoneType
|
[
-0.002712717978283763,
-0.07387588918209076,
-0.015245568938553333,
0.013540164567530155,
-0.06870345026254654,
0.009979428723454475,
-0.030172545462846756,
0.028073586523532867,
-0.025168776512145996,
-0.05123710632324219,
0.023575816303491592,
0.0890558660030365,
0.016810419037938118,
0.040105123072862625,
0.002537023974582553,
0.010466687381267548,
0.017307046800851822,
0.012828017584979534,
0.01235949993133545,
-0.049737848341464996,
0.030547359958291054,
0.05674687772989273,
0.020839672535657883,
0.02306981571018696,
-0.02809232659637928,
0.0618443489074707,
-0.027211513370275497,
0.01118820533156395,
0.03661935031414032,
-0.018909377977252007,
-0.04422808066010475,
0.04741400107741356,
-0.0016562103992328048,
0.09160459786653519,
0.043928228318691254,
-0.008405209518969059,
-0.006371842231601477,
-0.013624497689306736,
-0.07833617925643921,
0.02121448516845703,
-0.03558861091732979,
-0.022657521069049835,
-0.02698662504553795,
-0.04733903706073761,
0.037593867629766464,
0.039018161594867706,
-0.005631583742797375,
0.04955044388771057,
-0.020633524283766747,
-0.04302867501974106,
-0.047788817435503006,
0.025393664836883545,
0.03954290226101875,
0.0027595697902143,
-0.010719687677919865,
0.06866596639156342,
-0.01189098134636879,
0.0656299740076065,
-0.030809730291366577,
0.055772360414266586,
-0.0703151524066925,
-0.027567587792873383,
0.008409894071519375,
-0.006446804851293564,
-0.009417207911610603,
-0.050037700682878494,
-0.056934282183647156,
-0.028111068531870842,
0.05461043491959572,
-0.032590098679065704,
0.09910088777542114,
0.05134955048561096,
-0.04580229893326759,
-0.01154427882283926,
0.06660448759794235,
-0.0013247340684756637,
-0.04947547987103462,
-0.003235115436837077,
-0.0311470627784729,
-0.06064494326710701,
-0.005547250621020794,
0.0018693860620260239,
-0.01986515522003174,
-0.03883075341582298,
0.06079487130045891,
-0.04351593181490898,
0.05000022053718567,
-0.010026280768215656,
-0.03969282656908035,
0.04179178923368454,
-0.036431945860385895,
0.0072385999374091625,
-0.04314111918210983,
-0.017250824719667435,
0.001707747345790267,
-0.026630552485585213,
0.017513195052742958,
-0.010035651735961437,
-0.016688603907823563,
-0.00009926720667863265,
-0.03255261853337288,
-0.00395429041236639,
-0.0495879240334034,
0.00662952708080411,
0.02035241387784481,
-0.04014260694384575,
-0.0064749158918857574,
-0.05022510886192322,
-0.0220765583217144,
-0.011291278526186943,
-0.004141697194427252,
-0.03287120908498764,
0.04014260694384575,
0.030378693714737892,
-0.01041046530008316,
0.025524849072098732,
-0.02513129450380802,
-0.07162699848413467,
-0.03422053903341293,
0.0032632264774292707,
0.016098272055387497,
0.022788705304265022,
-0.0036895775701850653,
0.05314866080880165,
0.009604615159332752,
0.03414557874202728,
-0.0014606042532250285,
-0.011075761169195175,
0.029797732830047607,
-0.03648816794157028,
0.05910820513963699,
0.025637293234467506,
0.03541994467377663,
0.09602741152048111,
0.007468173746019602,
-0.010166835971176624,
0.0042541418224573135,
0.0486883707344532,
-0.06982789188623428,
0.014683348126709461,
0.004450919106602669,
0.011741056106984615,
-0.00758998841047287,
-0.01876882277429104,
0.015151865780353546,
-0.05580984055995941,
-0.05547250807285309,
-0.10097495466470718,
-0.047076668590307236,
-0.0016023308271542192,
-0.004055021330714226,
-0.0721142590045929,
-0.011085131205618382,
0.011984685435891151,
0.002381241647526622,
-0.026236996054649353,
-0.032515134662389755,
-0.010663464665412903,
-0.005982972215861082,
0.005022510886192322,
-0.0444529689848423,
-0.012687462382018566,
0.021158263087272644,
-0.05157443881034851,
-0.036900460720062256,
-0.0400676429271698,
0.006460860371589661,
-0.09715185314416885,
0.017588159069418907,
0.034932687878608704,
-0.04299119487404823,
0.012593758292496204,
-0.03585098311305046,
0.024981368333101273,
0.006531137973070145,
0.04077978804707527,
0.04209163784980774,
-0.001550793880596757,
-0.0533735491335392,
-0.017400750890374184,
0.0021446403115987778,
-0.019921377301216125,
-0.029928917065262794,
-0.007266710978001356,
0.022676261141896248,
0.06979040801525116,
0.008625412359833717,
0.05097473785281181,
0.05734657868742943,
-0.0004919436760246754,
-0.0049850293435156345,
0.014064904302358627,
0.03367706015706062,
0.012097129598259926,
0.024906406179070473,
-0.0532236211001873,
-0.010654094628989697,
0.01189098134636879,
0.018956230953335762,
0.03646942600607872,
-0.054348066449165344,
0.02072722837328911,
0.0350826121866703,
-0.0028017363511025906,
-0.0026658661663532257,
-0.028766993433237076,
-0.012968572787940502,
0.004017540253698826,
-0.05037503316998482,
0.04314111918210983,
-0.008274024352431297,
-0.006460860371589661,
-0.0483885183930397,
-0.007622784469276667,
-0.017175862565636635,
-0.02792366035282612,
0.02520625852048397,
0.005462917499244213,
0.015611013397574425,
0.01892811991274357,
0.10937079787254333,
0.03483898192644119,
-0.0054863435216248035,
-0.05907072499394417,
0.04062986373901367,
0.017410121858119965,
0.033152319490909576,
-0.023894408717751503,
-0.03367706015706062,
0.00046119719627313316,
0.0019654321949929,
0.0038441885262727737,
0.024138037115335464,
0.052473992109298706,
0.006161008961498737,
-0.020521080121397972,
-0.01487075537443161,
0.03217780217528343,
0.005439491476863623,
-0.02511255443096161,
0.046514447778463364,
0.009735800325870514,
0.003117986023426056,
-0.007009026128798723,
-0.014177348464727402,
-0.010832131840288639,
-0.050824809819459915,
0.030884694308042526,
0.0077071175910532475,
0.034932687878608704,
-0.021551819518208504,
-0.019584044814109802,
-0.032908689230680466,
-0.03984275460243225,
0.000984473037533462,
-0.022807447239756584,
-0.01790674962103367,
-0.09482800215482712,
-0.006563934497535229,
-0.009988799691200256,
0.016182605177164078,
0.031896691769361496,
-0.03733149915933609,
0.06323116272687912,
-0.008386468514800072,
0.007163637317717075,
0.006207861006259918,
-0.006802878342568874,
-0.00430567841976881,
0.026799218729138374,
0.06930315494537354,
-0.013230943121016026,
0.00444389134645462,
0.03482024371623993,
0.015348643064498901,
0.012012796476483345,
-0.016726085916161537,
-0.01369946077466011,
-0.019902635365724564,
-0.02661181055009365,
0.044565413147211075,
0.0023824130184948444,
0.029535362496972084,
-0.03412683680653572,
0.01486138440668583,
-0.0030383379198610783,
-0.1074967235326767,
0.07698684185743332,
-0.030716026201844215,
-0.002668208908289671,
-0.0110382791608572,
-0.0016515252646058798,
0.05258643627166748,
-0.011206945404410362,
0.0013809562660753727,
-0.05569739639759064,
-0.046364519745111465,
0.025075072422623634,
0.021233227103948593,
-0.07012774795293808,
-0.014036793261766434,
-0.0011824218090623617,
-0.01690412312746048,
0.014205459505319595,
0.03476402163505554,
-0.04040497541427612,
-0.046064671128988266,
0.027961142361164093,
0.01934041455388069,
0.015386124141514301,
0.05236154794692993,
-0.015254939906299114,
0.0017627981724217534,
-0.040030159056186676,
0.02550610899925232,
0.003103930503129959,
0.008391153998672962,
-0.021495597437024117,
0.005045936908572912,
0.04325356334447861,
-0.039955198764801025,
-0.004952233284711838,
-0.018665749579668045,
-0.015283050946891308,
0.009276652708649635,
0.010672835633158684,
0.05562243238091469,
-0.0019349785288795829,
-0.012500055134296417,
0.03824979439377785,
-0.05584732070565224,
0.0491381473839283,
-0.024531591683626175,
-0.05408569425344467,
-0.016641752794384956,
-0.028054846450686455,
-0.01727893576025963,
0.029385436326265335,
-0.008836246095597744,
-0.046364519745111465,
0.010569761507213116,
-0.026874180883169174,
-0.01619197428226471,
0.01650119759142399,
0.004710946697741747,
-0.056934282183647156,
-0.016145123168826103,
-0.04531504213809967,
0.031053360551595688,
0.008035080507397652,
-0.005167751107364893,
-0.04047993943095207,
0.020989596843719482,
0.06094479560852051,
0.059745389968156815,
-0.029928917065262794,
-0.031578101217746735,
-0.04437800496816635,
-0.006587360054254532,
-0.03097839653491974,
0.004230715800076723,
0.016613641753792763,
-0.04216660186648369,
0.03050987981259823,
-0.012200203724205494,
0.013802533969283104,
0.047151632606983185,
-0.029516620561480522,
-0.005369213875383139,
-0.012659351341426373,
0.0049850293435156345,
-0.03693794459104538,
-0.04568985477089882,
-0.021626781672239304,
0.01705404743552208,
-0.055509988218545914,
-0.03422053903341293,
0.016332531347870827,
-0.040742307901382446,
0.016182605177164078,
0.0009628040716052055,
0.005158381070941687,
0.025468626990914345,
0.0037973367143422365,
-0.023688260465860367,
-0.05674687772989273,
-0.004209632519632578,
-0.005059992428869009,
0.07316374033689499,
0.04677681624889374,
0.027811216190457344,
0.001707747345790267,
-0.00006771546031814069,
0.015020680613815784,
0.014158607460558414,
-0.017944231629371643,
0.0016761224251240492,
0.02919803000986576,
-0.007693062070757151,
-0.030097583308815956,
0.012828017584979534,
0.013596386648714542,
0.032121580094099045,
0.041604381054639816,
-0.012556277215480804,
0.06581737846136093,
0.08185943216085434,
-0.023032335564494133,
0.0675790086388588,
0.0177661944180727,
0.02693040296435356,
-0.0003537309530656785,
-0.03811860829591751,
0.0013305905740708113,
-0.047788817435503006,
0.018815675750374794,
-0.029160548001527786,
0.029235510155558586,
0.05299873277544975,
-0.01091646496206522,
0.006465545855462551,
-0.0036146147176623344,
-0.026630552485585213,
0.011703575029969215,
0.02385692670941353,
0.03703164681792259,
-0.030790990218520164,
-0.03879327327013016,
-0.023725740611553192,
-0.057796355336904526,
0.006226601544767618,
0.04583978280425072,
0.01190035231411457,
-0.014374125748872757,
0.05970790982246399,
0.04280378669500351,
-0.03943045809864998,
0.023107297718524933,
-0.006952804047614336,
-0.020596042275428772,
-0.018047304823994637,
-0.025787219405174255,
-0.01369946077466011,
0.012003426440060139,
0.07271396368741989,
0.018431490287184715,
-0.017035307362675667,
-0.003708318341523409,
0.015760939568281174,
0.018337786197662354,
-0.029947657138109207,
-0.0223764106631279,
0.029310474172234535,
-0.05030006915330887,
-0.06004524230957031,
0.012696832418441772,
0.0067372857592999935,
0.030884694308042526,
0.017241455614566803,
-0.0352325402200222,
0.09182948619127274,
-0.03208409994840622,
0.05753398686647415,
-0.053336065262556076,
-0.07728669792413712,
0.024437887594103813,
0.01707278937101364,
0.036188315600156784,
0.01580779068171978,
-0.02355707436800003,
0.0019420062890276313,
0.008147524669766426,
-0.04257889837026596,
0.02693040296435356,
0.008231857791543007,
-0.023519594222307205,
0.03155935928225517,
0.02886069566011429,
-0.01275305449962616,
-0.06098227575421333,
0.0035185685846954584,
0.0029329215176403522,
0.05712169036269188,
-0.015873383730649948,
0.02106456086039543,
-0.03245891258120537,
-0.007285451982170343,
-0.01800045371055603,
-0.0003206418768968433,
0.06911574304103851,
-0.028935659676790237,
0.09190445393323898,
-0.021083300933241844,
0.01863763853907585,
0.03905564546585083,
0.013680719770491123,
-0.021701743826270103,
0.029160548001527786,
-0.00037920658360235393,
-0.029235510155558586,
-0.01917174831032753,
-0.033995650708675385,
0.03834349662065506,
0.012724943459033966,
0.024868924170732498,
0.008302135393023491,
-0.09415333718061447,
0.021964114159345627,
0.019621524959802628,
-0.008794079534709454,
0.011647352948784828,
0.050674885511398315,
-0.027192773297429085,
-0.003907438367605209,
0.003164837835356593,
0.06180686876177788,
-0.05127458646893501,
0.04265385866165161,
-0.037294015288352966,
-0.012350128963589668,
0.04951296001672745,
0.1259375810623169,
0.017410121858119965,
-0.019733969122171402,
-0.04014260694384575,
0.010532280430197716,
0.072564035654068,
-0.015086272731423378,
0.04497770965099335,
0.022114040330052376,
-0.006414008792489767,
-0.022432632744312286,
-0.04235401004552841,
0.007158951833844185,
0.03601964935660362,
0.033208541572093964,
-0.05532258003950119,
-0.008016339503228664,
-0.07027766853570938,
-0.05828361585736275,
0.0375751294195652,
0.07818625122308731,
-0.03155935928225517,
-0.11296901106834412,
-0.09257911890745163,
0.009182948619127274,
0.006915322504937649,
0.07143959403038025,
-0.04546496644616127,
-0.011694204062223434,
0.01041046530008316,
-0.015554791316390038,
0.009941947646439075,
-0.05663442984223366,
-0.06630463898181915,
-0.04688926041126251,
0.06514271348714828,
-0.08463305234909058,
0.018721971660852432,
-0.0015449374914169312,
0.01790674962103367,
-0.014645866118371487,
-0.040030159056186676,
0.013474571518599987,
-0.03693794459104538,
-0.007782080676406622,
0.04666437208652496,
0.032608840614557266,
-0.017813047394156456,
0.02338840812444687,
-0.008367727510631084,
0.001397354295477271,
-0.020877152681350708,
0.03264632076025009,
-0.018375268206000328,
0.02646188624203205,
-0.019068675115704536,
0.05547250807285309,
0.04329104349017143,
0.0077211735770106316,
0.06832863390445709,
0.03004136122763157,
-0.041679345071315765,
-0.05970790982246399,
-0.026330700144171715,
0.00731824804097414,
-0.012200203724205494,
-0.0024269220884889364,
0.00002344419226574246,
-0.042766306549310684,
-0.0621442012488842,
-0.018094157800078392,
-0.031428173184394836,
-0.0035443371161818504,
-0.03390194848179817,
0.020839672535657883,
-0.020633524283766747,
0.02143937535583973,
0.059033241122961044,
0.03467031568288803,
-0.016416864469647408,
0.04681430011987686,
0.0067888228222727776,
-0.00013016010052524507,
-0.035794761031866074,
-0.018881266936659813,
-0.07177692651748657,
0.07185188680887222,
0.024606555700302124,
-0.03750016540288925,
-0.02269500307738781,
0.005687806289643049,
-0.03167180344462395,
-0.04763888940215111,
-0.055135175585746765,
-0.029910176992416382,
-0.06548004597425461,
0.06964048743247986,
-0.004486057907342911,
-0.03356461599469185,
0.005622213706374168,
-0.029853954911231995,
-0.01971522904932499,
0.053336065262556076,
-0.0535234734416008,
0.02989143505692482,
0.015461087226867676,
-0.017934860661625862,
-0.06795382499694824,
0.016463715583086014,
0.05573487654328346,
0.004553993232548237,
0.019124897196888924,
0.0165948998183012,
0.0026728941593319178,
0.022582557052373886,
0.04494022578001022,
0.04239149019122124,
0.06349353492259979,
0.0314469151198864,
0.005430121440440416,
-0.004204947035759687,
0.020558560267090797,
0.0008491885382682085,
-0.04029253125190735,
0.0025346812326461077,
0.032290246337652206,
-0.05344850942492485,
0.05258643627166748,
-0.03551365062594414,
0.003944919910281897,
0.061619460582733154,
0.013202831149101257,
-0.011113242246210575,
0.004172150976955891,
-0.005200547631829977,
-0.019733969122171402,
0.05524761974811554,
0.043553415685892105,
-0.019996339455246925,
0.024868924170732498,
0.005078732967376709,
0.0657799020409584,
0.005631583742797375,
0.026405662298202515,
0.0036966053303331137,
0.013230943121016026,
-0.05667191371321678,
-0.003441263223066926,
0.03620705381035805,
0.05416065827012062,
0.006020453758537769,
-0.05112466216087341,
0.0573090985417366,
0.049662888050079346,
-0.011066390201449394,
-0.03369579836726189,
-0.0724141076207161,
-0.012050277553498745,
0.019106155261397362,
0.05198673531413078,
0.010307391174137592,
-0.06251901388168335,
0.03958038240671158,
-0.04524007812142372,
0.006845044903457165,
0.022676261141896248,
0.04797622188925743,
-0.045052669942379,
-0.07192685455083847,
0.02018374763429165,
0.010860242880880833,
0.027248995378613472,
0.03347091004252434,
-0.05149947479367256,
-0.01252816617488861,
-0.026649292558431625,
-0.10007540136575699,
0.028073586523532867,
-0.00966083724051714,
0.01181601919233799,
-0.034070614725351334,
-0.04857592657208443,
0.032196544110774994,
0.0035958741791546345,
0.003743457142263651,
-0.009478115476667881,
0.025487368926405907,
0.02306981571018696,
0.01792549155652523,
0.0495879240334034,
0.03528876230120659,
0.06720419228076935,
-0.03281498700380325,
-0.026892920956015587,
0.04422808066010475,
0.02481270208954811,
-0.014111756347119808,
-0.04763888940215111,
0.005331732332706451,
-0.005856472533196211,
0.02769877202808857,
-0.016229456290602684,
-0.007037137169390917,
0.041754305362701416,
-0.013755682855844498,
-0.017250824719667435,
0.013914979062974453,
0.05221162363886833,
0.014842644333839417,
0.028354696929454803,
0.0406673438847065,
-0.02306981571018696,
0.004563363268971443,
-0.049962736666202545,
-0.04666437208652496,
0.026180773973464966,
-0.017784936353564262,
0.024119297042489052,
0.06049501895904541,
-0.0015379097312688828,
0.010897723957896233,
0.004532909486442804,
0.02644314430654049,
-0.011010168120265007,
-0.01908741518855095,
0.014158607460558414,
0.03581349924206734,
0.048950739204883575,
-0.024006852880120277,
-0.054348066449165344,
0.04553993046283722,
-0.02215152233839035,
0.02685544081032276,
-0.008470801636576653,
-0.06409323215484619,
-0.022020336240530014,
-0.005917379632592201,
-0.004247114062309265,
-0.0165948998183012,
-0.030191287398338318,
0.0027361440006643534,
0.018825044855475426,
-0.010363614186644554,
-0.05610969290137291,
0.05569739639759064,
0.04404067248106003,
0.03343342989683151
] |
710,039
|
urllib3_future._async.poolmanager
|
AsyncPoolManager
|
Allows for arbitrary async requests while transparently keeping track of
necessary connection pools for you.
:param num_pools:
Number of connection pools to cache before discarding the least
recently used pool.
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
:param \**connection_pool_kw:
Additional parameters are used to create fresh
:class:`urllib3._async.connectionpool.AsyncConnectionPool` instances.
Example:
.. code-block:: python
import urllib3
http = urllib3.AsyncPoolManager(num_pools=2)
resp1 = await http.request("GET", "https://google.com/")
resp2 = await http.request("GET", "https://google.com/mail")
resp3 = await http.request("GET", "https://yahoo.com/")
print(len(http.pools))
# 2
|
class AsyncPoolManager(AsyncRequestMethods):
"""
Allows for arbitrary async requests while transparently keeping track of
necessary connection pools for you.
:param num_pools:
Number of connection pools to cache before discarding the least
recently used pool.
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
:param \\**connection_pool_kw:
Additional parameters are used to create fresh
:class:`urllib3._async.connectionpool.AsyncConnectionPool` instances.
Example:
.. code-block:: python
import urllib3
http = urllib3.AsyncPoolManager(num_pools=2)
resp1 = await http.request("GET", "https://google.com/")
resp2 = await http.request("GET", "https://google.com/mail")
resp3 = await http.request("GET", "https://yahoo.com/")
print(len(http.pools))
# 2
"""
proxy: Url | None = None
proxy_config: ProxyConfig | None = None
def __init__(
self,
num_pools: int = 10,
headers: typing.Mapping[str, str] | None = None,
preemptive_quic_cache: QuicPreemptiveCacheType | None = None,
resolver: AsyncResolverDescription
| list[AsyncResolverDescription]
| str
| list[str]
| AsyncBaseResolver
| None = None,
**connection_pool_kw: typing.Any,
) -> None:
super().__init__(headers)
self.connection_pool_kw = connection_pool_kw
self._num_pools = num_pools
self.pools: AsyncTrafficPolice[AsyncHTTPConnectionPool] = AsyncTrafficPolice(
num_pools, concurrency=True
)
# Locally set the pool classes and keys so other PoolManagers can
# override them.
self.pool_classes_by_scheme = pool_classes_by_scheme
self.key_fn_by_scheme = key_fn_by_scheme.copy()
self._preemptive_quic_cache = preemptive_quic_cache
self._own_resolver = not isinstance(resolver, AsyncBaseResolver)
if resolver is None:
resolver = [AsyncResolverDescription(ProtocolResolver.SYSTEM)]
elif isinstance(resolver, str):
resolver = [AsyncResolverDescription.from_url(resolver)]
elif isinstance(resolver, AsyncResolverDescription):
resolver = [resolver]
self._resolvers: list[AsyncResolverDescription] = []
if not isinstance(resolver, AsyncBaseResolver):
can_resolve_localhost: bool = False
for resolver_description in resolver:
if isinstance(resolver_description, str):
self._resolvers.append(
AsyncResolverDescription.from_url(resolver_description)
)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
continue
self._resolvers.append(resolver_description)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
if not can_resolve_localhost:
self._resolvers.append(
AsyncResolverDescription.from_url(
"system://default?hosts=localhost"
)
)
#: We want to automatically forward ca_cert_data, ca_cert_dir, and ca_certs.
for rd in self._resolvers:
if "ca_cert_data" in connection_pool_kw:
if "ca_cert_data" not in rd:
rd["ca_cert_data"] = connection_pool_kw["ca_cert_data"]
if "ca_cert_dir" in connection_pool_kw:
if "ca_cert_dir" not in rd:
rd["ca_cert_dir"] = connection_pool_kw["ca_cert_dir"]
if "ca_certs" in connection_pool_kw:
if "ca_certs" not in rd:
rd["ca_certs"] = connection_pool_kw["ca_certs"]
self._resolver: AsyncBaseResolver = (
AsyncManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, AsyncBaseResolver)
else resolver
)
async def __aenter__(self: _SelfT) -> _SelfT:
return self
async def __aexit__(
self,
exc_type: type[BaseException] | None,
exc_val: BaseException | None,
exc_tb: TracebackType | None,
) -> Literal[False]:
await self.clear()
# Return False to re-raise any potential exceptions
return False
def _new_pool(
self,
scheme: str,
host: str,
port: int,
request_context: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
"""
pool_cls: type[AsyncHTTPConnectionPool] = self.pool_classes_by_scheme[scheme]
if request_context is None:
request_context = self.connection_pool_kw.copy()
# Default blocksize to DEFAULT_BLOCKSIZE if missing or explicitly
# set to 'None' in the request_context.
if request_context.get("blocksize") is None:
request_context["blocksize"] = DEFAULT_BLOCKSIZE
# Although the context has everything necessary to create the pool,
# this function has historically only used the scheme, host, and port
# in the positional args. When an API change is acceptable these can
# be removed.
for key in ("scheme", "host", "port"):
request_context.pop(key, None)
if scheme == "http":
for kw in SSL_KEYWORDS:
request_context.pop(kw, None)
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
if not self._resolver.is_available():
self._resolver = self._resolver.recycle()
request_context["resolver"] = self._resolver
# By default, each HttpPool can have up to num_pools connections
if "maxsize" not in request_context:
request_context["maxsize"] = self._num_pools
return pool_cls(host, port, **request_context)
async def clear(self) -> None:
"""
Empty our store of pools and direct them all to close.
This will not affect in-flight connections, but they will not be
re-used after completion.
"""
await self.pools.clear()
if self._own_resolver and self._resolver.is_available():
await self._resolver.close()
async def connection_from_host(
self,
host: str | None,
port: int | None = None,
scheme: str | None = "http",
pool_kwargs: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Get a :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on the host, port, and scheme.
If ``port`` isn't given, it will be derived from the ``scheme`` using
``urllib3.connectionpool.port_by_scheme``. If ``pool_kwargs`` is
provided, it is merged with the instance's ``connection_pool_kw``
variable and used to create the new connection pool, if one is
needed.
"""
if not host:
raise LocationValueError("No host specified.")
request_context = self._merge_pool_kwargs(pool_kwargs)
request_context["scheme"] = scheme or "http"
if not port:
port = port_by_scheme.get(request_context["scheme"].lower())
request_context["port"] = port
request_context["host"] = host
return await self.connection_from_context(request_context)
async def connection_from_context(
self, request_context: dict[str, typing.Any]
) -> A
|
(num_pools: 'int' = 10, headers: 'typing.Mapping[str, str] | None' = None, preemptive_quic_cache: 'QuicPreemptiveCacheType | None' = None, resolver: 'AsyncResolverDescription | list[AsyncResolverDescription] | str | list[str] | AsyncBaseResolver | None' = None, **connection_pool_kw: 'typing.Any') -> 'None'
|
[
0.004723517224192619,
-0.05628020316362381,
-0.05871182307600975,
0.009368594735860825,
-0.027983224019408226,
0.041651271283626556,
-0.04553401842713356,
-0.018266554921865463,
-0.01626635156571865,
-0.09671566635370255,
0.043298497796058655,
0.02906176447868347,
0.023571012541651726,
0.044514309614896774,
0.002398526994511485,
0.012854241766035557,
0.008628323674201965,
-0.033317096531391144,
0.03225816413760185,
-0.07467421889305115,
-0.02492409013211727,
0.07341919094324112,
0.025786923244595528,
-0.015834935009479523,
-0.005598605610430241,
0.016619328409433365,
-0.017795918509364128,
-0.0026742902118712664,
0.027473367750644684,
-0.0052064089104533195,
-0.0013334682444110513,
0.05533893406391144,
0.005034822970628738,
0.057574450969696045,
0.06981098651885986,
-0.01588395982980728,
0.0523582398891449,
0.049965839833021164,
-0.016109474003314972,
-0.022198325023055077,
-0.017168404534459114,
-0.07157587260007858,
-0.05259355530142784,
-0.017364501953125,
0.034591734409332275,
0.030787428840994835,
-0.0319836288690567,
0.02547316625714302,
0.004625468049198389,
-0.030022645369172096,
0.0058241188526153564,
0.03484666347503662,
0.009324472397565842,
0.036474280059337616,
0.02651248686015606,
0.07624300569295883,
-0.046161532402038574,
0.053887806832790375,
-0.011020722799003124,
0.03137572482228279,
0.007402709685266018,
-0.003296902170404792,
-0.002637521829456091,
-0.038278382271528244,
-0.05957465618848801,
-0.02557121403515339,
-0.032120898365974426,
0.016727183014154434,
0.02221793495118618,
-0.042474884539842606,
0.05286809429526329,
0.026061460375785828,
-0.012501264922320843,
-0.026767414063215256,
0.027904784306883812,
0.004458784591406584,
0.024492673575878143,
0.009672547690570354,
-0.011167796328663826,
0.010059840977191925,
-0.01990397460758686,
-0.008785202167928219,
0.02304154634475708,
-0.08020419627428055,
0.08369474112987518,
-0.09357809275388718,
-0.01620752178132534,
-0.0006667341222055256,
-0.06157485768198967,
-0.0374939888715744,
-0.0006673469324596226,
0.01455049216747284,
0.03384656086564064,
0.006324169225990772,
0.0074174171313643456,
-0.023296475410461426,
-0.01758020929992199,
-0.026983121410012245,
-0.013687659054994583,
-0.020100072026252747,
-0.03104235604405403,
-0.04267098382115364,
-0.026924293488264084,
-0.0020369708072394133,
-0.002228166675195098,
-0.049534425139427185,
0.022296372801065445,
-0.013471951708197594,
-0.03323865681886673,
-0.03992560878396034,
-0.012138483114540577,
-0.013050340116024017,
0.028414640575647354,
0.010785404592752457,
-0.016619328409433365,
0.010736380703747272,
-0.0600845105946064,
-0.01946275308728218,
-0.007843931205570698,
-0.008417518809437752,
-0.07369372993707657,
0.011197211220860481,
0.000117582363600377,
0.034748613834381104,
0.010510867461562157,
0.05176994577050209,
-0.007603710517287254,
-0.028355810791254044,
-0.030846258625388145,
-0.04200424998998642,
0.055417370051145554,
0.022531691938638687,
-0.012569899670779705,
0.05977075174450874,
0.023845549672842026,
0.04702436551451683,
-0.07236026227474213,
0.0297677181661129,
-0.03384656086564064,
0.03286607190966606,
0.004995603580027819,
0.0038876482285559177,
-0.043847572058439255,
0.004794602748006582,
0.02766946703195572,
-0.02684585377573967,
0.013275853358209133,
-0.0424356646835804,
-0.025394726544618607,
-0.07028161734342575,
0.01768806390464306,
-0.018266554921865463,
0.03774891793727875,
0.052122920751571655,
-0.02474760264158249,
0.01742333173751831,
-0.012648338451981544,
0.017188014462590218,
-0.015560397878289223,
-0.036788035184144974,
-0.03980794921517372,
0.018060650676488876,
-0.0023372462019324303,
-0.07314465194940567,
-0.015913374722003937,
-0.04376913607120514,
0.06686951220035553,
-0.09506843984127045,
-0.01234438642859459,
0.024178916588425636,
-0.04416133090853691,
0.009996109642088413,
-0.02933630160987377,
0.03382695093750954,
0.0358467623591423,
0.041102197021245956,
0.0140602458268404,
-0.0071722944267094135,
-0.02723805047571659,
-0.024218136444687843,
0.017080159857869148,
-0.022453252226114273,
-0.03080703876912594,
-0.004838725086301565,
-0.010069645941257477,
0.045337919145822525,
-0.006804610136896372,
0.016736987978219986,
0.060947343707084656,
0.007182099390774965,
-0.04745578020811081,
0.012383606284856796,
0.055103614926338196,
-0.04984818026423454,
0.05882948264479637,
-0.038945116102695465,
-0.02833620086312294,
0.013619025237858295,
0.036905694752931595,
0.015148591250181198,
-0.02359062246978283,
-0.010442232713103294,
0.043180838227272034,
0.012109068222343922,
0.0011379828210920095,
-0.04482806473970413,
-0.032885681837797165,
-0.01924704574048519,
-0.021864958107471466,
0.055103614926338196,
-0.04937754571437836,
0.0523582398891449,
-0.001469511422328651,
0.04608309268951416,
0.0012072300305590034,
0.03651349991559982,
0.0114423343911767,
0.0024965761695057154,
0.01477600447833538,
-0.004944127518683672,
0.03600364178419113,
-0.02264934964478016,
0.04725968465209007,
0.01540351938456297,
0.023884769529104233,
-0.00283116870559752,
0.0022686119191348553,
0.027081171050667763,
0.02635560743510723,
0.02586536295711994,
0.01353078056126833,
0.0336308553814888,
0.06251613050699234,
0.0012844436569139361,
0.030140304937958717,
-0.03490549325942993,
-0.01891367882490158,
0.03765086829662323,
-0.009299960918724537,
0.012560094706714153,
-0.005176994483917952,
0.032375823706388474,
0.00446368707343936,
-0.057692110538482666,
-0.06247691065073013,
0.008432225324213505,
-0.006373194046318531,
0.02523784711956978,
0.03741554915904999,
0.005985899828374386,
-0.025884972885251045,
-0.014462247490882874,
-0.04474962502717972,
-0.0496128611266613,
-0.0496128611266613,
-0.06259457021951675,
-0.007113464642316103,
-0.015776105225086212,
-0.006657536141574383,
-0.0020087817683815956,
0.010255939327180386,
0.07071303576231003,
-0.061261098831892014,
0.06212393194437027,
-0.037846967577934265,
0.0126777533441782,
0.038219552487134933,
-0.05616254359483719,
-0.07698818296194077,
0.042082689702510834,
0.10346145182847977,
0.008216517977416515,
0.05494673550128937,
0.009045032784342766,
0.002804205287247896,
0.01824694499373436,
-0.0054956539534032345,
0.003701354842633009,
-0.07624300569295883,
-0.048867691308259964,
0.05718225613236427,
0.02502213977277279,
-0.0181979201734066,
-0.05192682147026062,
0.02231598272919655,
-0.027826344594359398,
-0.07683130353689194,
0.04047468304634094,
0.008907764218747616,
0.03159143030643463,
-0.04733812436461449,
-0.044788844883441925,
0.006682048551738262,
-0.03345436602830887,
-0.020158901810646057,
-0.007191904354840517,
-0.010157890617847443,
0.03472900390625,
-0.010942284017801285,
-0.048867691308259964,
-0.038180332630872726,
0.004858334548771381,
0.03374851122498512,
0.04608309268951416,
0.05671162158250809,
-0.0578882098197937,
0.010187305510044098,
-0.006912464275956154,
-0.03510159254074097,
0.02468877285718918,
0.02937552146613598,
0.0010675099911168218,
0.03329748660326004,
-0.030473671853542328,
0.008991105481982231,
0.02821854129433632,
-0.004453882109373808,
0.020962905138731003,
0.0007984876283444464,
0.004505357705056667,
-0.10934440046548843,
0.004929420538246632,
0.026865463703870773,
-0.015972204506397247,
0.005338775459676981,
0.02502213977277279,
0.02745375782251358,
0.043298497796058655,
-0.03496432304382324,
0.05208370089530945,
-0.05243667960166931,
0.01781552843749523,
-0.049142226576805115,
-0.0036400742828845978,
-0.013001315295696259,
0.009486254304647446,
0.01642323099076748,
-0.007642930373549461,
0.015854544937610626,
-0.0821259543299675,
0.022668959572911263,
-0.00199162308126688,
-0.015099567361176014,
0.011756091378629208,
-0.0485147126019001,
-0.051063988357782364,
0.04459274560213089,
-0.018668554723262787,
0.006750682834535837,
-0.05847650393843651,
0.02310037612915039,
-0.06051592528820038,
-0.0093734972178936,
0.05086789280176163,
0.03147377446293831,
-0.0046769436448812485,
0.016501668840646744,
-0.030728599056601524,
0.009549985639750957,
-0.028630347922444344,
-0.02696351334452629,
-0.017884163185954094,
0.0007359813316725194,
-0.004198954440653324,
-0.0012783156707882881,
-0.002995401155203581,
0.09146023541688919,
-0.006623219233006239,
-0.005686849821358919,
-0.05263277515769005,
-0.02117861434817314,
-0.029532399028539658,
0.008280249312520027,
-0.002760083181783557,
-0.019668657332658768,
-0.017119379714131355,
-0.06545760482549667,
-0.013854342512786388,
-0.03108157590031624,
0.031395334750413895,
0.005946679972112179,
-0.015040737576782703,
0.013050340116024017,
-0.008319469168782234,
-0.028630347922444344,
-0.0639672577381134,
-0.0114423343911767,
0.01664874330163002,
0.028806835412979126,
0.07137977331876755,
0.055260494351387024,
-0.005407409742474556,
0.02419852651655674,
0.02155119925737381,
-0.015501568093895912,
-0.0212178323417902,
0.012265946716070175,
0.02672819420695305,
-0.01951177790760994,
-0.059064798057079315,
0.03153260052204132,
-0.00807924848049879,
0.07636066526174545,
0.012128678150475025,
-0.01691347546875477,
0.03986677899956703,
0.08824422210454941,
0.024433845654129982,
0.04325927793979645,
0.03980794921517372,
-0.041651271283626556,
-0.0352780781686306,
-0.025120189413428307,
-0.04922066628932953,
-0.052554335445165634,
-0.02243364229798317,
0.0010460617486387491,
0.007088952697813511,
0.06706561148166656,
0.024178916588425636,
0.03870980069041252,
0.009520570747554302,
-0.024237746372818947,
-0.004149929620325565,
0.002279642503708601,
-0.025218237191438675,
0.030199134722352028,
0.00975588895380497,
-0.05467220023274422,
-0.003399853827431798,
0.04702436551451683,
0.031611040234565735,
0.006868341937661171,
-0.001927891164086759,
0.035140808671712875,
0.019658852368593216,
-0.017099769786000252,
0.0617317371070385,
0.02413969673216343,
-0.02678702399134636,
-0.021570809185504913,
0.01261892355978489,
-0.04525947943329811,
0.00689285434782505,
0.07079147547483444,
0.00566233741119504,
0.009853938594460487,
-0.020923685282468796,
-0.007677247282117605,
0.009878450073301792,
-0.06263379007577896,
0.006618316750973463,
0.007701759692281485,
0.04306318238377571,
-0.08463601768016815,
0.033552415668964386,
0.06012373045086861,
-0.0016913475701585412,
-0.06510462611913681,
-0.004042075481265783,
0.033650465309619904,
-0.04647529125213623,
0.09193087369203568,
0.002173013985157013,
-0.0622808113694191,
0.006946781184524298,
0.057848989963531494,
0.03604286164045334,
-0.020256951451301575,
-0.006735975854098797,
-0.0578882098197937,
0.02172768861055374,
-0.02425735630095005,
-0.018423432484269142,
-0.05875104293227196,
-0.015942789614200592,
-0.011922774836421013,
0.023237645626068115,
0.032336603850126266,
-0.06181017681956291,
0.03439563885331154,
0.028296981006860733,
0.10291237384080887,
0.012824826873838902,
-0.016511473804712296,
-0.04706358537077904,
0.05533893406391144,
-0.02696351334452629,
-0.0020247146021574736,
0.004436723422259092,
-0.010579502210021019,
0.02349257282912731,
-0.000936369237024337,
0.020315781235694885,
-0.03159143030643463,
0.013824928551912308,
-0.029081374406814575,
0.02586536295711994,
0.03557222709059715,
-0.01758020929992199,
0.024492673575878143,
-0.005012762267142534,
0.06659497320652008,
-0.011834531091153622,
0.06035904958844185,
0.031885579228401184,
-0.0634181797504425,
0.010442232713103294,
-0.009589205496013165,
-0.0001502143422840163,
-0.019727487117052078,
-0.009878450073301792,
-0.019423533231019974,
-0.02915981225669384,
0.026767414063215256,
0.06318286061286926,
0.00305913295596838,
0.030944308266043663,
-0.003745476948097348,
-0.03878823667764664,
0.06863439828157425,
0.08934237062931061,
-0.008147883228957653,
0.012334581464529037,
-0.03567027673125267,
0.011873750016093254,
0.0374939888715744,
-0.0004219176771584898,
-0.03667037561535835,
0.02821854129433632,
0.021472761407494545,
-0.014177905395627022,
-0.047102805227041245,
-0.0029463765677064657,
0.014677955769002438,
0.04392601177096367,
-0.05396624282002449,
0.012403215281665325,
-0.050907112658023834,
-0.014099465683102608,
-0.0023384718224406242,
0.12542445957660675,
0.004495552740991116,
-0.05114242807030678,
-0.0490637868642807,
-0.014805419370532036,
0.04074922204017639,
0.053887806832790375,
0.0044685895554721355,
-0.010059840977191925,
-0.009500961750745773,
0.014354393817484379,
0.04992661997675896,
-0.025610433891415596,
-0.018433237448334694,
-0.09083271771669388,
0.04325927793979645,
-0.05588800832629204,
-0.03129728510975838,
-0.006789902690798044,
0.03353280574083328,
0.0016901219496503472,
-0.0689089298248291,
-0.008113565854728222,
-0.016619328409433365,
0.041376736015081406,
0.02696351334452629,
0.04753421992063522,
0.00647614523768425,
0.005328970495611429,
-0.001935244770720601,
-0.015030932612717152,
-0.004122965969145298,
-0.019335290417075157,
-0.007236026227474213,
0.005240726284682751,
-0.0358467623591423,
-0.007294855546206236,
0.04651451110839844,
0.017364501953125,
0.04455352574586868,
-0.006701658479869366,
-0.03884706646203995,
-0.06377115845680237,
0.0021068307105451822,
0.010025524534285069,
-0.01643303595483303,
0.06361427903175354,
0.015560397878289223,
0.01582513004541397,
-0.061927832663059235,
-0.011079552583396435,
-0.012609118595719337,
-0.015227030962705612,
0.02392398938536644,
0.017844943329691887,
-0.0942840501666069,
0.017335087060928345,
0.021021734923124313,
0.01091286912560463,
0.002163209021091461,
0.0358271561563015,
-0.04937754571437836,
-0.002451228443533182,
-0.004603406880050898,
0.023904379457235336,
-0.024629943072795868,
-0.003917063120752573,
0.005515263881534338,
-0.0490637868642807,
-0.009569595567882061,
-0.009172496385872364,
0.021355101838707924,
-0.009035227820277214,
-0.07024239748716354,
-0.03904316574335098,
-0.09914728999137878,
0.08408693969249725,
0.00494657875970006,
-0.054044682532548904,
-0.00015580620674882084,
-0.02486526034772396,
0.020551098510622978,
0.021139394491910934,
-0.03823916241526604,
0.05047569423913956,
0.015550592914223671,
0.002573789795860648,
-0.0892639309167862,
0.007084050215780735,
0.03137572482228279,
0.017276257276535034,
0.037121403962373734,
0.013187608681619167,
0.04882847145199776,
0.0137857086956501,
0.03245426341891289,
0.06745780259370804,
0.028963714838027954,
-0.05718225613236427,
0.020766807720065117,
-0.06330052018165588,
-0.002706156112253666,
-0.03388578072190285,
-0.005863338243216276,
0.0015026030596345663,
0.01663893833756447,
-0.03408188000321388,
0.061653297394514084,
-0.020031439140439034,
-0.0017942992271855474,
0.03339553624391556,
0.03247387334704399,
-0.029728498309850693,
-0.006280047353357077,
0.0159820094704628,
-0.060006070882081985,
0.008530274964869022,
0.00848615262657404,
-0.04604387283325195,
-0.005348580423742533,
0.008456737734377384,
0.033552415668964386,
0.018825434148311615,
0.029022544622421265,
0.019148996099829674,
-0.02961083874106407,
-0.04204346984624863,
0.025786923244595528,
0.05831962451338768,
0.014070050790905952,
-0.02492409013211727,
-0.005510361399501562,
0.03302294760942459,
0.005853533279150724,
0.005598605610430241,
-0.004566638730466366,
-0.022472862154245377,
-0.03829799219965935,
0.0463184118270874,
0.06345739960670471,
-0.0011680102907121181,
-0.07808633148670197,
0.061770956963300705,
0.015736887231469154,
-0.004350930452346802,
-0.014668150804936886,
-0.020962905138731003,
0.040710002183914185,
-0.021511981263756752,
0.023845549672842026,
0.04157283529639244,
0.030297182500362396,
0.020139291882514954,
-0.04890690743923187,
0.0039660874754190445,
-0.020825635641813278,
-0.071654312312603,
0.04604387283325195,
-0.011040332727134228,
0.052240580320358276,
-0.08040028810501099,
-0.023963209241628647,
-0.06745780259370804,
0.01857050694525242,
0.05800586938858032,
-0.00410580774769187,
0.028787225484848022,
0.029846157878637314,
0.06263379007577896,
-0.0029635352548211813,
0.010481452569365501,
0.028865665197372437,
-0.019874559715390205,
-0.005677044857293367,
0.040317803621292114,
-0.019609827548265457,
-0.008226322941482067,
-0.03770969808101654,
0.02574770338833332,
-0.030003035441040993,
0.04322005808353424,
0.032218948006629944,
-0.04824017360806465,
0.032552313059568405,
-0.011746286414563656,
0.023237645626068115,
-0.006304559297859669,
0.026983121410012245,
0.06679107248783112,
0.01911958120763302,
0.031611040234565735,
-0.048044078052043915,
-0.02717922069132328,
-0.008378298953175545,
-0.024178916588425636,
0.047495000064373016,
-0.03278763219714165,
-0.04255332425236702,
0.008893056772649288,
-0.010569697245955467,
-0.06679107248783112,
-0.023551402613520622,
0.01642323099076748,
0.019168606027960777,
-0.06608511507511139,
0.0206687580794096,
0.01780572347342968,
0.020864855498075485,
-0.003698903601616621,
0.018168505281209946,
0.05494673550128937,
-0.04718124493956566,
0.052397459745407104,
-0.019982414320111275,
-0.06365349888801575,
0.025669263675808907,
-0.013893562369048595,
-0.018325382843613625,
0.00421856390312314,
-0.04102375730872154,
0.0033679879270493984,
0.04569089785218239,
-0.015442739240825176,
-0.01477600447833538,
-0.024159306660294533,
0.02700273133814335,
0.014452442526817322
] |
710,040
|
urllib3_future._async.poolmanager
|
__aenter__
| null |
def __init__(
self,
num_pools: int = 10,
headers: typing.Mapping[str, str] | None = None,
preemptive_quic_cache: QuicPreemptiveCacheType | None = None,
resolver: AsyncResolverDescription
| list[AsyncResolverDescription]
| str
| list[str]
| AsyncBaseResolver
| None = None,
**connection_pool_kw: typing.Any,
) -> None:
super().__init__(headers)
self.connection_pool_kw = connection_pool_kw
self._num_pools = num_pools
self.pools: AsyncTrafficPolice[AsyncHTTPConnectionPool] = AsyncTrafficPolice(
num_pools, concurrency=True
)
# Locally set the pool classes and keys so other PoolManagers can
# override them.
self.pool_classes_by_scheme = pool_classes_by_scheme
self.key_fn_by_scheme = key_fn_by_scheme.copy()
self._preemptive_quic_cache = preemptive_quic_cache
self._own_resolver = not isinstance(resolver, AsyncBaseResolver)
if resolver is None:
resolver = [AsyncResolverDescription(ProtocolResolver.SYSTEM)]
elif isinstance(resolver, str):
resolver = [AsyncResolverDescription.from_url(resolver)]
elif isinstance(resolver, AsyncResolverDescription):
resolver = [resolver]
self._resolvers: list[AsyncResolverDescription] = []
if not isinstance(resolver, AsyncBaseResolver):
can_resolve_localhost: bool = False
for resolver_description in resolver:
if isinstance(resolver_description, str):
self._resolvers.append(
AsyncResolverDescription.from_url(resolver_description)
)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
continue
self._resolvers.append(resolver_description)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
if not can_resolve_localhost:
self._resolvers.append(
AsyncResolverDescription.from_url(
"system://default?hosts=localhost"
)
)
#: We want to automatically forward ca_cert_data, ca_cert_dir, and ca_certs.
for rd in self._resolvers:
if "ca_cert_data" in connection_pool_kw:
if "ca_cert_data" not in rd:
rd["ca_cert_data"] = connection_pool_kw["ca_cert_data"]
if "ca_cert_dir" in connection_pool_kw:
if "ca_cert_dir" not in rd:
rd["ca_cert_dir"] = connection_pool_kw["ca_cert_dir"]
if "ca_certs" in connection_pool_kw:
if "ca_certs" not in rd:
rd["ca_certs"] = connection_pool_kw["ca_certs"]
self._resolver: AsyncBaseResolver = (
AsyncManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, AsyncBaseResolver)
else resolver
)
|
(self: ~_SelfT) -> ~_SelfT
|
[
-0.03090568818151951,
-0.028864212334156036,
-0.06627237796783447,
-0.00769334239885211,
-0.03731365501880646,
0.051150333136320114,
-0.04135880619287491,
-0.015991566702723503,
-0.012900997884571552,
-0.05886257812380791,
0.038296591490507126,
0.06562969088554382,
0.022853197529911995,
0.039922211319208145,
0.005784183740615845,
0.017172977328300476,
0.02863738127052784,
0.0030504008755087852,
0.02718188427388668,
-0.09375670552253723,
-0.02032025344669819,
0.03251240774989128,
-0.0003656464396044612,
-0.0005198204307816923,
-0.007679165806621313,
0.03341972827911377,
-0.03447827324271202,
-0.012702520936727524,
0.0038679365534335375,
0.0027668625116348267,
0.004472818691283464,
0.05088569596409798,
-0.01201257761567831,
0.06793580949306488,
0.06929679214954376,
-0.006039368454366922,
0.034421563148498535,
0.011473855003714561,
-0.07693342864513397,
0.011899162083864212,
0.008681001141667366,
-0.07447609305381775,
-0.022607464343309402,
-0.03236118704080582,
0.003671822603791952,
0.042568568140268326,
-0.008756611496210098,
0.03965757414698601,
0.03289045765995979,
-0.0422661267220974,
-0.017163526266813278,
0.004867409821599722,
0.019431833177804947,
0.05655646324157715,
0.019318418577313423,
0.09315182268619537,
-0.030149586498737335,
0.08415420353412628,
-0.020244643092155457,
0.02795688807964325,
-0.030527636408805847,
-0.058408915996551514,
-0.013543684966862202,
-0.007145168259739876,
-0.0211330633610487,
-0.040942948311567307,
-0.01618059352040291,
-0.003877387847751379,
0.02232392504811287,
-0.07065777480602264,
0.06638579815626144,
0.026482488960027695,
-0.040905144065618515,
-0.03703011944890022,
0.053116198629140854,
-0.008454171009361744,
-0.01613333635032177,
0.02198367938399315,
-0.007357822265475988,
-0.017314746975898743,
-0.011143060401082039,
0.0030882060527801514,
0.0038821136113256216,
-0.056102801114320755,
0.06604555249214172,
-0.0669906809926033,
0.025291627272963524,
-0.014290336519479752,
-0.05236009508371353,
-0.02402515523135662,
-0.01559461373835802,
-0.012022029608488083,
0.02876969799399376,
0.017957434058189392,
0.010765008628368378,
0.01766444370150566,
-0.0035820354241877794,
-0.030281903222203255,
-0.03151056915521622,
-0.010812264867126942,
-0.029903853312134743,
-0.024951381608843803,
-0.0005718024913221598,
0.011615623719990253,
0.0026723495684564114,
-0.04336247593164444,
0.007811483461409807,
-0.015509551391005516,
-0.026009924709796906,
-0.029469093307852745,
-0.01165342889726162,
-0.010415310971438885,
0.017210781574249268,
0.023401372134685516,
-0.018420545384287834,
0.012900997884571552,
-0.03368436545133591,
-0.04207710176706314,
-0.0038750250823795795,
0.007570475805550814,
-0.03912830352783203,
0.0016610625898465514,
-0.0014873952604830265,
0.025556262582540512,
-0.01566077210009098,
0.05852233245968819,
-0.006261473521590233,
-0.022437341511249542,
-0.008354932069778442,
-0.03081117570400238,
0.0725480318069458,
0.009895491413772106,
0.005259637720882893,
0.07670659571886063,
0.04408077523112297,
0.03151056915521622,
-0.02765444666147232,
0.02670932002365589,
-0.02521601691842079,
0.003463894361630082,
-0.009867137297987938,
0.0006615896709263325,
-0.01431869063526392,
-0.007891819812357426,
0.04430760443210602,
-0.013647649437189102,
0.0008086751913651824,
-0.07795416563749313,
-0.0439673587679863,
-0.05009178817272186,
0.013609844259917736,
-0.01839219219982624,
0.002634544624015689,
0.04574419930577278,
-0.022456243634223938,
0.00779730686917901,
-0.012626911513507366,
0.029714826494455338,
-0.02394954487681389,
-0.015537905506789684,
-0.05009178817272186,
0.018637925386428833,
-0.001612624735571444,
-0.07160290330648422,
-0.01732419803738594,
-0.03939293697476387,
0.05772842466831207,
-0.08869081735610962,
-0.007598829921334982,
0.05496864765882492,
-0.03854232281446457,
-0.00785401463508606,
-0.0447990708053112,
0.03478071466088295,
0.03996001556515694,
0.007579927332699299,
0.017891274765133858,
-0.006502481177449226,
-0.02744651958346367,
-0.019904397428035736,
0.002573111094534397,
-0.010935131460428238,
-0.04975154250860214,
-0.00604881951585412,
-0.011247023940086365,
0.07916393131017685,
0.013865028508007526,
0.029204457998275757,
0.08869081735610962,
0.004590959753841162,
-0.029204457998275757,
0.021737946197390556,
0.03905269131064415,
-0.03897708281874657,
0.06672604382038116,
-0.05073447525501251,
-0.009607226587831974,
0.0015311074675992131,
-0.006639524828642607,
-0.00937094446271658,
-0.04408077523112297,
-0.014687290415167809,
0.026236755773425102,
0.007579927332699299,
0.012806485407054424,
-0.0055715302005410194,
-0.028656283393502235,
0.022248314693570137,
-0.027049565687775612,
0.040186844766139984,
-0.034572783857584,
0.03081117570400238,
-0.015055890195071697,
0.012125993147492409,
-0.015159854665398598,
0.02996055968105793,
0.011710137128829956,
0.00004581655957736075,
0.0409807525575161,
-0.004328686743974686,
0.06562969088554382,
0.009545793756842613,
0.058749161660671234,
0.003031498286873102,
0.02181355655193329,
0.006138606928288937,
0.004210545681416988,
0.02313673496246338,
0.006105527281761169,
0.016237299889326096,
0.027200786396861076,
0.03980879485607147,
0.02941238507628441,
-0.0020710118114948273,
0.03118922747671604,
-0.032285574823617935,
-0.017012305557727814,
0.05039422959089279,
-0.02996055968105793,
0.027805667370557785,
0.026822734624147415,
0.039279524236917496,
-0.005888147745281458,
-0.04245515167713165,
-0.046878352761268616,
-0.004612225107848644,
-0.027730057016015053,
0.0023238337598741055,
0.02653919719159603,
0.03351424261927605,
-0.04037586972117424,
-0.027503227815032005,
-0.0529271736741066,
-0.04789908975362778,
-0.04366491734981537,
-0.08990058302879333,
-0.015254367142915726,
-0.06063941866159439,
0.011322634294629097,
-0.024592231959104538,
0.019772078841924667,
0.04540395364165306,
-0.07757611572742462,
0.059807706624269485,
-0.060790639370679855,
0.0008606572519056499,
0.014252531342208385,
-0.0413966104388237,
-0.058749161660671234,
0.03778621926903725,
0.05319180712103844,
-0.02086842805147171,
0.056102801114320755,
0.020339155569672585,
-0.003815954551100731,
0.014772351831197739,
-0.020962940528988838,
0.021189771592617035,
-0.069145567715168,
-0.023287955671548843,
0.045479562133550644,
0.03168069198727608,
-0.01865682750940323,
-0.054514989256858826,
0.01920500211417675,
-0.025499556213617325,
-0.08634690195322037,
0.06555408239364624,
0.0007371999090537429,
-0.0018878933042287827,
-0.023401372134685516,
-0.022115997970104218,
0.016662608832120895,
-0.03599047660827637,
-0.014176920987665653,
-0.03563132882118225,
-0.00582671444863081,
0.02795688807964325,
0.005410858429968357,
-0.05432596057653427,
-0.031019102782011032,
0.0012711972231045365,
0.035234373062849045,
0.028089206665754318,
0.04771006479859352,
-0.050507646054029465,
-0.015263818204402924,
0.014328141696751118,
0.00028102792566642165,
0.020301351323723793,
0.029866047203540802,
-0.0024785983841866255,
0.011804649606347084,
0.018231520429253578,
0.03487522527575493,
0.054817426949739456,
-0.011747942306101322,
0.028410550206899643,
0.0211330633610487,
0.020944038406014442,
-0.09284938126802444,
0.00045425217831507325,
0.0070081246085464954,
-0.005127319600433111,
-0.0035347789525985718,
0.029166651889681816,
0.03875024989247322,
0.02049037627875805,
-0.016407422721385956,
0.03858012706041336,
-0.07485414296388626,
0.03302277624607086,
-0.035744745284318924,
0.005259637720882893,
-0.006596994120627642,
0.023155637085437775,
0.004404296632856131,
0.005935404449701309,
0.016804376617074013,
-0.07077118754386902,
0.01908213645219803,
-0.020717207342386246,
-0.03141605854034424,
0.025329433381557465,
-0.054817426949739456,
-0.059732094407081604,
0.014800705946981907,
-0.020452572032809258,
0.020169032737612724,
-0.06683945655822754,
0.011086352169513702,
-0.06332357972860336,
0.009333140216767788,
0.09897381067276001,
0.07266144454479218,
0.03272033482789993,
-0.011190316639840603,
-0.028864212334156036,
0.011322634294629097,
-0.03064105287194252,
-0.024611135944724083,
-0.023836130276322365,
-0.01647358201444149,
0.008629019372165203,
-0.023117832839488983,
-0.0011636889539659023,
0.06638579815626144,
-0.004980824887752533,
0.0060960762202739716,
-0.05167960375547409,
-0.012948255054652691,
-0.029374580830335617,
0.00812810193747282,
-0.014734546653926373,
-0.008496701717376709,
-0.02313673496246338,
-0.05326741933822632,
0.003196895821020007,
-0.04464785009622574,
0.01801414042711258,
-0.0015795453218743205,
0.02778676524758339,
-0.0066300733014941216,
0.010868973098695278,
-0.04755884408950806,
-0.061773572117090225,
-0.01231501903384924,
0.01796688511967659,
0.04672713205218315,
0.05946745723485947,
0.06649921089410782,
-0.014649485237896442,
0.01314673200249672,
-0.018666280433535576,
-0.013250695541501045,
-0.0221916064620018,
-0.0023592759389430285,
0.04147221893072128,
-0.011870808899402618,
-0.0563296340405941,
0.048201531171798706,
-0.033986806869506836,
0.07545902580022812,
0.03793743997812271,
-0.009819881059229374,
0.035536814481019974,
0.10638361424207687,
0.013071121647953987,
0.04888202250003815,
0.035744745284318924,
-0.013137280009686947,
-0.026066632941365242,
-0.024081863462924957,
-0.0456685870885849,
-0.08952253311872482,
-0.01292935200035572,
-0.03423253819346428,
-0.014044603332877159,
0.061433326452970505,
0.023590397089719772,
0.030092878267169,
0.005146222189068794,
-0.048541776835918427,
-0.005207655485719442,
0.03111361712217331,
0.0015192934079095721,
0.03737036511301994,
0.024081863462924957,
-0.0379752479493618,
-0.03404351323843002,
0.04430760443210602,
0.03738926723599434,
-0.01988549530506134,
-0.03162398561835289,
0.044836875051259995,
0.03748377785086632,
-0.029431289061903954,
0.045857615768909454,
0.022475145757198334,
-0.041169777512550354,
-0.04275759309530258,
-0.002561297034844756,
-0.041547831147909164,
-0.017286391928792,
0.04997837170958519,
0.0074476092122495174,
-0.01848670467734337,
-0.008392737247049809,
-0.014772351831197739,
0.0005121412687003613,
-0.0375593900680542,
-0.01848670467734337,
0.000887239002622664,
0.0177117008715868,
-0.03827768564224243,
0.053494248539209366,
0.06975045055150986,
0.04037586972117424,
-0.060450393706560135,
-0.04041367769241333,
0.02910994552075863,
-0.04812592267990112,
0.07617732137441635,
-0.028523964807391167,
-0.053494248539209366,
0.051830824464559555,
0.053154002875089645,
0.04173685610294342,
-0.05602719262242317,
-0.016019921749830246,
-0.03912830352783203,
0.004201094154268503,
-0.009040149860084057,
-0.011851905845105648,
-0.039279524236917496,
-0.008955088444054127,
0.0017851106822490692,
0.013137280009686947,
0.008633744902908802,
-0.05356986075639725,
0.050507646054029465,
0.035877060145139694,
0.08929570019245148,
0.004392482805997133,
0.004215271212160587,
-0.0670284852385521,
0.03977099061012268,
-0.0409807525575161,
-0.0026605355087667704,
0.017862921580672264,
-0.02816481702029705,
0.03812646493315697,
-0.0015783639391884208,
0.016955597326159477,
0.013978444039821625,
0.024289792403578758,
0.011521111242473125,
0.04759664833545685,
0.035914868116378784,
-0.030452026054263115,
0.013042767532169819,
-0.028826406225562096,
0.04657591134309769,
0.003626928897574544,
0.05296497792005539,
0.02198367938399315,
-0.07413584738969803,
-0.019271161407232285,
-0.03355204686522484,
0.014205275103449821,
0.0027337828651070595,
0.00715934531763196,
-0.0371246300637722,
-0.040224652737379074,
0.020206838846206665,
0.04404296725988388,
-0.030206292867660522,
0.004742179997265339,
-0.050129592418670654,
-0.022040387615561485,
0.06022356078028679,
0.08029808104038239,
0.0073767248541116714,
0.056102801114320755,
-0.025178212672472,
-0.004895763471722603,
0.021794654428958893,
0.011048546992242336,
0.005396681372076273,
0.004787073936313391,
-0.006398517172783613,
-0.012976608239114285,
-0.035309985280036926,
0.02910994552075863,
0.028202621266245842,
0.017985787242650986,
-0.05621621757745743,
-0.008841672912240028,
-0.03946854919195175,
-0.029261166229844093,
0.011549465358257294,
0.13466185331344604,
-0.012513495981693268,
-0.06627237796783447,
-0.028051400557160378,
-0.03253130987286568,
0.006025191396474838,
0.054136935621500015,
0.012702520936727524,
0.008718806318938732,
-0.03568803519010544,
-0.002573111094534397,
0.05099911242723465,
-0.01813700795173645,
-0.05984551087021828,
-0.07954198122024536,
0.03835329785943031,
-0.06355041265487671,
-0.024989185854792595,
0.0019339682767167687,
0.039581965655088425,
-0.01158727053552866,
-0.06286992132663727,
0.007537396624684334,
-0.01847725361585617,
0.029677022248506546,
0.04657591134309769,
0.04306003451347351,
0.020944038406014442,
-0.006951416842639446,
-0.008870027028024197,
-0.041207585483789444,
-0.020849525928497314,
0.010207382962107658,
-0.0631345584988594,
0.0037403444293886423,
-0.02795688807964325,
0.00769334239885211,
0.06162235140800476,
0.013723259791731834,
0.027162980288267136,
0.00019877224985975772,
-0.02612333931028843,
-0.06067722290754318,
0.00829822476953268,
0.0004117214120924473,
0.016284557059407234,
0.05372108146548271,
0.02364710532128811,
-0.013269598595798016,
-0.10162016749382019,
-0.03256911411881447,
-0.009867137297987938,
0.006351260468363762,
0.00395772373303771,
0.017740054056048393,
-0.08717861771583557,
0.033136188983917236,
0.008676275610923767,
0.0021040914580225945,
-0.001496846554800868,
0.04200149327516556,
-0.005363601725548506,
-0.02548065222799778,
-0.009148839861154556,
-0.007140442728996277,
-0.04616005718708038,
0.021189771592617035,
-0.00005663384581566788,
-0.021322090178728104,
-0.007140442728996277,
0.007868191227316856,
0.03703011944890022,
-0.0221916064620018,
-0.013628747314214706,
-0.04891983047127724,
-0.0806761309504509,
0.05258692800998688,
-0.014167469926178455,
-0.040942948311567307,
0.006412694230675697,
-0.02676602639257908,
0.00928588304668665,
0.029506899416446686,
-0.05126374587416649,
0.042228322476148605,
0.059127211570739746,
-0.04929788038134575,
-0.07005289196968079,
0.010264091193675995,
0.054136935621500015,
0.020339155569672585,
0.028694087639451027,
0.010490921325981617,
0.01056653168052435,
0.01067049615085125,
0.04740762338042259,
0.08543957769870758,
0.05432596057653427,
-0.05243570730090141,
0.016662608832120895,
-0.04888202250003815,
0.013779967091977596,
-0.0070223016664385796,
-0.008463622070848942,
0.015159854665398598,
-0.006833275780081749,
-0.03738926723599434,
0.06483578681945801,
-0.002325015142560005,
-0.008936186321079731,
0.03653865307569504,
-0.009210272692143917,
0.007664988748729229,
0.000632645096629858,
0.023193443194031715,
-0.012154347263276577,
-0.0028330213390290737,
0.011048546992242336,
-0.028145914897322655,
0.0056093353778123856,
0.01702175661921501,
0.04033806547522545,
0.003019684227183461,
0.026425780728459358,
0.003170904703438282,
0.005821988917887211,
-0.035139862447977066,
-0.002530580386519432,
0.04967593029141426,
0.03332521766424179,
-0.020981842651963234,
-0.022815391421318054,
0.027937985956668854,
0.028523964807391167,
0.03786183148622513,
-0.004595685284584761,
-0.03701121732592583,
-0.01578363962471485,
0.036463040858507156,
0.05995892360806465,
-0.003823043080046773,
-0.05277595296502113,
0.027503227815032005,
-0.007017576135694981,
-0.018203167244791985,
0.019639762118458748,
0.00928588304668665,
0.023873934522271156,
-0.0559137761592865,
0.04196368530392647,
0.037445973604917526,
0.01618059352040291,
0.01065159309655428,
-0.009687562473118305,
-0.0033575675915926695,
-0.051112525165081024,
-0.11281048506498337,
0.04559297859668732,
0.01203148066997528,
0.03737036511301994,
-0.06260528415441513,
-0.033476438373327255,
-0.07931514829397202,
-0.007825660519301891,
0.04638688638806343,
0.008317126892507076,
0.03549901023507118,
0.020584888756275177,
0.018240971490740776,
0.0044917212799191475,
0.039203912019729614,
0.03453497961163521,
-0.015282721258699894,
-0.020112326368689537,
0.028712991625070572,
0.0006385521846823394,
0.03555571660399437,
-0.02402515523135662,
0.03226667270064354,
-0.00802413746714592,
0.05160399153828621,
0.033741071820259094,
-0.03731365501880646,
0.05882477015256882,
-0.02364710532128811,
0.027295298874378204,
0.00013586216664407402,
0.02483796514570713,
0.05069667100906372,
0.04245515167713165,
0.016908342018723488,
-0.037578292191028595,
-0.015254367142915726,
-0.03294716402888298,
-0.021926971152424812,
0.04634908214211464,
-0.027597740292549133,
-0.01848670467734337,
0.05001617968082428,
-0.009432378225028515,
-0.05893818661570549,
0.0006273287581279874,
0.024762354791164398,
-0.02667151391506195,
-0.04960032179951668,
0.023760519921779633,
-0.005821988917887211,
0.0388258621096611,
0.0010981207014992833,
-0.008359657600522041,
0.09035424143075943,
-0.05440157279372215,
0.02863738127052784,
-0.044496629387140274,
-0.08029808104038239,
0.02616114541888237,
-0.0006161053897812963,
-0.04234173893928528,
-0.012040931731462479,
-0.05171740800142288,
0.026047728955745697,
0.02130318619310856,
-0.0061480579897761345,
-0.007357822265475988,
-0.012409531511366367,
0.05428815633058548,
0.016114434227347374
] |
710,043
|
urllib3_future._async.poolmanager
|
_merge_pool_kwargs
|
Merge a dictionary of override values for self.connection_pool_kw.
This does not modify self.connection_pool_kw and returns a new dict.
Any keys in the override dictionary with a value of ``None`` are
removed from the merged dictionary.
|
def _merge_pool_kwargs(
self, override: dict[str, typing.Any] | None
) -> dict[str, typing.Any]:
"""
Merge a dictionary of override values for self.connection_pool_kw.
This does not modify self.connection_pool_kw and returns a new dict.
Any keys in the override dictionary with a value of ``None`` are
removed from the merged dictionary.
"""
base_pool_kwargs = self.connection_pool_kw.copy()
if override:
base_pool_kwargs.update(
{k: v for k, v in override.items() if v is not None}
)
return {
k: v
for k, v in base_pool_kwargs.items()
if k not in override or override[k] is not None
}
return base_pool_kwargs
|
(self, override: dict[str, typing.Any] | None) -> dict[str, typing.Any]
|
[
-0.016217919066548347,
-0.06152300536632538,
0.03541046008467674,
0.017910068854689598,
-0.08998674899339676,
-0.03343331813812256,
-0.03215084597468376,
0.0035357025917619467,
0.04677458480000496,
-0.06216423958539963,
0.00236233021132648,
-0.013635165058076382,
-0.05756871774792671,
0.016431665048003197,
-0.005682060960680246,
-0.005597453564405441,
-0.018542399629950523,
-0.02495475672185421,
0.014748421497642994,
-0.04057596996426582,
0.032133035361766815,
0.021623892709612846,
-0.0036848788149654865,
0.027020961046218872,
0.0032573884818702936,
0.04638271778821945,
-0.013635165058076382,
-0.0021385655272752047,
0.04292716830968857,
0.052973195910453796,
-0.026130355894565582,
-0.013314547017216682,
0.02550693228840828,
0.07121279090642929,
0.06223548948764801,
-0.03736979141831398,
0.040647219866514206,
0.11456745117902756,
-0.02630847692489624,
-0.03405674174427986,
-0.03619419410824776,
-0.05842369794845581,
-0.019397379830479622,
-0.045777104794979095,
0.01378656830638647,
0.039507243782281876,
0.019967367872595787,
0.04014848172664642,
0.050443876534700394,
-0.038616638630628586,
0.038153525441884995,
-0.03482266142964363,
-0.026379724964499474,
0.04627584293484688,
-0.0631260946393013,
-0.015683555975556374,
-0.03829602152109146,
0.050016384571790695,
-0.06497855484485626,
0.05902931094169617,
-0.0440671443939209,
-0.06508542597293854,
0.0005109846824780107,
-0.04388902336359024,
-0.04438776150345802,
-0.027145644649863243,
-0.07445459067821503,
0.00005385378244682215,
-0.009609629400074482,
-0.01742023602128029,
0.021214215084910393,
-0.05511064827442169,
-0.03765478730201721,
-0.005463862791657448,
0.0037917515728622675,
0.0525457039475441,
-0.01114147063344717,
0.009199950844049454,
0.009796656668186188,
-0.02719908207654953,
-0.0124951908364892,
-0.03329082205891609,
-0.026575658470392227,
0.002905599307268858,
0.09476038813591003,
-0.036835428327322006,
-0.034252673387527466,
0.0576043426990509,
0.025008192285895348,
-0.06430169194936752,
-0.0017823235830292106,
0.05425566807389259,
0.026700342074036598,
0.030013393610715866,
0.07388460636138916,
-0.0013258884428068995,
-0.023903843015432358,
0.04716644808650017,
-0.0003089286619797349,
-0.03291676566004753,
-0.04581272974610329,
-0.06594040244817734,
0.0324002169072628,
-0.06180799752473831,
0.005076449364423752,
-0.06458668410778046,
0.03583795204758644,
-0.024562889710068703,
-0.027947189286351204,
-0.0031416097190231085,
-0.04595522582530975,
-0.07595080882310867,
-0.021997947245836258,
0.02206919528543949,
0.0046177878975868225,
0.027092209085822105,
-0.06836285442113876,
0.00014500165707431734,
0.046204596757888794,
0.028926854953169823,
-0.10152898728847504,
0.06640352308750153,
0.006817582529038191,
0.015897301957011223,
0.014463427476584911,
-0.025221938267350197,
-0.009119796566665173,
0.06294797360897064,
0.018016941845417023,
0.023369479924440384,
0.03564201667904854,
-0.0022098140325397253,
-0.03307707607746124,
-0.048235174268484116,
0.01260206289589405,
-0.03136711195111275,
-0.020875785499811172,
0.06326858699321747,
0.07758951932191849,
-0.010393362492322922,
0.03403892740607262,
-0.02516850270330906,
-0.00026203272864222527,
0.017963506281375885,
-0.013278922997415066,
-0.005419332534074783,
0.036586061120033264,
-0.021641705185174942,
-0.032898955047130585,
-0.0065370420925319195,
0.009119796566665173,
0.030850563198328018,
-0.03829602152109146,
0.01760726422071457,
-0.05129885673522949,
0.020145488902926445,
-0.024669762700796127,
-0.026718154549598694,
-0.06041865423321724,
-0.045990850776433945,
0.01810600236058235,
-0.017874445766210556,
0.060133662074804306,
-0.04762956500053406,
0.003920888993889093,
-0.016280261799693108,
0.05076449364423752,
-0.08656682074069977,
0.06494292616844177,
0.0020617509726434946,
-0.0345376692712307,
-0.022211693227291107,
0.04371090233325958,
0.011586773209273815,
0.012530814856290817,
0.10366643965244293,
-0.016885872930288315,
-0.10573264211416245,
-0.009805562905967236,
0.016422759741544724,
0.012504096142947674,
-0.04720207303762436,
0.026379724964499474,
0.023583224043250084,
-0.006465793587267399,
-0.016485100612044334,
0.01798131875693798,
-0.010028214193880558,
-0.02851717732846737,
-0.00046506288344971836,
0.013011741451919079,
-0.02338729240000248,
-0.025275373831391335,
-0.02741282619535923,
0.010883195325732231,
-0.010437892749905586,
-0.01114147063344717,
-0.03751228749752045,
-0.02185545116662979,
0.06768599152565002,
-0.014605924487113953,
-0.04819955304265022,
-0.024562889710068703,
0.025008192285895348,
0.04335466027259827,
-0.05432691425085068,
-0.004272678401321173,
-0.018649272620677948,
0.03808227553963661,
0.00812677200883627,
0.004001043736934662,
0.01171145774424076,
-0.012192384339869022,
0.008910504169762135,
0.004301622975617647,
0.00892831664532423,
0.004947311710566282,
0.05186884477734566,
-0.08485686033964157,
0.03063681721687317,
0.024135399609804153,
-0.052973195910453796,
0.04520711675286293,
0.03541046008467674,
0.02402852661907673,
0.018738333135843277,
-0.002856616163626313,
-0.0002670424000825733,
0.05771121382713318,
-0.0020316930022090673,
-0.016422759741544724,
-0.005837916862219572,
-0.00366929336450994,
0.025702865794301033,
0.06807785481214523,
-0.02744845114648342,
-0.007387569639831781,
-0.04143095016479492,
0.02744845114648342,
0.02295980043709278,
0.031331490725278854,
0.03142055124044418,
0.032934579998254776,
0.00826926901936531,
-0.00522339902818203,
-0.030440883710980415,
0.025310998782515526,
0.01809709705412388,
0.07310087233781815,
0.033540189266204834,
0.043995894491672516,
0.00008495538349961862,
-0.026415349915623665,
0.0474514439702034,
0.013136425986886024,
0.04748706892132759,
0.007298509124666452,
0.03936474770307541,
-0.05514627322554588,
-0.04046909883618355,
0.026593470945954323,
0.08977299928665161,
-0.011916297487914562,
0.03829602152109146,
0.006140722427517176,
0.012388317845761776,
0.007725999690592289,
-0.05147697776556015,
-0.07787451148033142,
0.016066517680883408,
0.07345711439847946,
0.001448346651159227,
0.043746527284383774,
0.013029553927481174,
0.0009902416495606303,
0.0478789322078228,
0.006470246706157923,
-0.0028009533416479826,
-0.038794759660959244,
-0.018088189885020256,
0.06882596760988235,
0.021107342094182968,
0.021588269621133804,
-0.032685209065675735,
0.01742023602128029,
0.01911238580942154,
-0.04948202148079872,
-0.019005514681339264,
0.009395884349942207,
-0.0023935013450682163,
-0.019717998802661896,
0.014427803456783295,
0.011853954754769802,
0.06415919214487076,
-0.05176197364926338,
-0.006091739516705275,
0.03571326658129692,
0.012228009290993214,
0.04584835469722748,
0.012049888260662556,
-0.01169364620000124,
-0.01315423846244812,
0.04919702932238579,
0.02851717732846737,
0.0673653706908226,
-0.055181894451379776,
0.05389942601323128,
-0.044174015522003174,
-0.012815807946026325,
0.01381328608840704,
-0.032560523599386215,
-0.023654473945498466,
0.04021972790360451,
-0.03850976750254631,
-0.006532588973641396,
-0.04563460871577263,
0.00581565173342824,
-0.00946713238954544,
-0.022567935287952423,
0.008474107831716537,
-0.06896845996379852,
-0.01720649190247059,
-0.06195049360394478,
-0.02203357219696045,
0.02007424086332321,
0.0005357546615414321,
0.02922966144979,
0.04403151944279671,
0.00021972898684907705,
0.032008349895477295,
-0.0470239520072937,
-0.02000299096107483,
-0.0105892950668931,
0.045990850776433945,
-0.05147697776556015,
-0.010233053006231785,
-0.0035112109035253525,
0.015603402629494667,
0.009538381360471249,
-0.0014249682426452637,
-0.014632643200457096,
-0.00733858672901988,
-0.012548626400530338,
-0.007369757629930973,
-0.0025092801079154015,
-0.006808676291257143,
0.035909198224544525,
0.002700760029256344,
-0.013670789077877998,
-0.05119198560714722,
-0.010785228572785854,
-0.028909044340252876,
0.01607542298734188,
-0.016885872930288315,
0.10088775306940079,
-0.018364278599619865,
-0.02694971300661564,
-0.014427803456783295,
0.0423571802675724,
-0.009315730072557926,
-0.014962166547775269,
-0.030405260622501373,
0.022514497861266136,
0.04677458480000496,
0.08571183681488037,
0.09547287225723267,
-0.020822348073124886,
0.005793386604636908,
-0.04007723182439804,
-0.0792282372713089,
-0.0020495050121098757,
-0.05457628518342972,
0.022354189306497574,
-0.03500078245997429,
0.000952390895690769,
-0.006496964488178492,
-0.09027174115180969,
-0.0007353058899752796,
-0.031331490725278854,
0.0211785901337862,
-0.00858988706022501,
-0.02855280227959156,
0.06301922351121902,
0.0005221172468736768,
-0.06341108679771423,
-0.023547600954771042,
-0.02627285197377205,
-0.023280419409275055,
0.06686663627624512,
0.04559898376464844,
-0.023494163528084755,
0.023886030539870262,
-0.01447233371436596,
0.047130826860666275,
-0.05617937445640564,
0.005450503434985876,
-0.0005165509646758437,
-0.028624050319194794,
-0.04791455715894699,
-0.05283069983124733,
0.004591069649904966,
-0.03957849368453026,
0.025097252801060677,
-0.027982814237475395,
0.006781958509236574,
-0.007565690670162439,
0.008193567395210266,
0.045349616557359695,
0.05161947384476662,
-0.03386080637574196,
-0.0249903816729784,
-0.01603979803621769,
-0.0023222528398036957,
0.00040773017099127173,
-0.02821437083184719,
-0.00840731244534254,
0.02215825580060482,
0.03957849368453026,
0.04189406707882881,
0.011016786098480225,
0.05176197364926338,
0.0021252066362649202,
-0.04046909883618355,
0.012708935886621475,
0.00895948801189661,
0.006198612041771412,
-0.011470994912087917,
-0.04862704128026962,
-0.0005711005651392043,
-0.02787594124674797,
0.023031050339341164,
0.04898328334093094,
-0.01269112341105938,
0.05019450560212135,
0.06529916822910309,
0.025916609913110733,
0.031972724944353104,
-0.008554262109100819,
0.026931900531053543,
0.005005200859159231,
-0.05731934681534767,
-0.00568651407957077,
-0.025738488882780075,
0.025952234864234924,
0.03546389564871788,
0.0006685105036012828,
-0.02800062671303749,
-0.01868489570915699,
-0.002177529502660036,
-0.005958148743957281,
0.01978924684226513,
-0.03751228749752045,
-0.02409977652132511,
0.01923707127571106,
-0.04342590644955635,
0.002834351034834981,
-0.02605910785496235,
-0.001825740560889244,
0.015959644690155983,
0.002464749850332737,
0.03284551948308945,
-0.053400684148073196,
0.04075409099459648,
0.06622540205717087,
-0.04282029718160629,
0.02203357219696045,
0.031758978962898254,
-0.04413839057087898,
-0.018667083233594894,
0.03979223966598511,
0.02262137085199356,
-0.03893725574016571,
-0.026344100013375282,
-0.04613334685564041,
-0.047130826860666275,
0.012940493412315845,
0.05443378910422325,
0.015451999381184578,
0.033575814217329025,
0.03393205627799034,
-0.010927725583314896,
0.03435954824090004,
0.005250117275863886,
-0.018702708184719086,
0.016467289999127388,
-0.06123800948262215,
-0.0026027935091406107,
0.003457774640992284,
-0.026023482903838158,
0.04114595800638199,
0.011951921507716179,
0.011408652178943157,
-0.0218198262155056,
0.009226669557392597,
0.027234705165028572,
0.0044240811839699745,
0.015932926908135414,
0.03403892740607262,
0.07053592801094055,
-0.03321957215666771,
-0.012993928976356983,
-0.03339769318699837,
0.037298545241355896,
0.006078380160033703,
0.022300753742456436,
-0.0440671443939209,
-0.03936474770307541,
0.07630705088376999,
-0.03225771710276604,
0.06387419998645782,
-0.025364434346556664,
0.019433004781603813,
0.00397877860814333,
-0.02593442238867283,
0.023618848994374275,
-0.025132877752184868,
-0.029550278559327126,
0.016004174947738647,
0.002102941507473588,
-0.03865226358175278,
0.06195049360394478,
0.07687703520059586,
0.008821443654596806,
-0.040397848933935165,
0.013937970623373985,
-0.02089359611272812,
0.07164027541875839,
0.01171145774424076,
-0.008714571595191956,
0.01726883463561535,
-0.026931900531053543,
-0.033486753702163696,
-0.03542827442288399,
0.02409977652132511,
0.0038852649740874767,
0.020448293536901474,
-0.014561394229531288,
0.016182295978069305,
-0.06216423958539963,
-0.017562733963131905,
-0.00023587120813317597,
0.05286632105708122,
-0.011934109032154083,
-0.0368710532784462,
-0.013109708204865456,
0.06537041813135147,
-0.006430169101804495,
0.05553813651204109,
-0.021000469103455544,
-0.009182139299809933,
0.0030614552088081837,
0.02342291548848152,
0.013635165058076382,
0.039720989763736725,
-0.031331490725278854,
-0.10288270562887192,
-0.01025086548179388,
-0.04342590644955635,
0.006109551526606083,
0.017910068854689598,
0.03585576266050339,
-0.014614830724895,
-0.0007464384543709457,
0.009476038627326488,
-0.01684134267270565,
-0.01570136845111847,
-0.040860965847969055,
0.09326416999101639,
-0.03029838763177395,
0.047130826860666275,
-0.014997790567576885,
0.020109863951802254,
-0.04588397964835167,
-0.013359077274799347,
-0.020751100033521652,
-0.013314547017216682,
0.003747221315279603,
0.02351197600364685,
-0.030619004741311073,
-0.02787594124674797,
-0.03161648288369179,
0.02012767642736435,
0.017384612932801247,
-0.04089658707380295,
-0.0047602844424545765,
0.011408652178943157,
-0.03054775670170784,
0.024117587134242058,
0.03614075854420662,
0.01966456137597561,
-0.07025093585252762,
0.07481083273887634,
-0.0007436553132720292,
-0.03875913470983505,
-0.02185545116662979,
0.015345127321779728,
-0.03350456431508064,
0.006158534903079271,
0.0017110751941800117,
-0.02944340743124485,
-0.02655784599483013,
-0.03150961175560951,
-0.014748421497642994,
0.013252205215394497,
-0.02185545116662979,
-0.027519699186086655,
-0.025097252801060677,
0.03350456431508064,
-0.012655499391257763,
0.0021229800768196583,
0.004081198014318943,
-0.00690664304420352,
0.05443378910422325,
0.001552992733195424,
-0.0006612743018195033,
-0.016494007781147957,
-0.011551149189472198,
-0.021499209105968475,
0.009182139299809933,
-0.06572666019201279,
-0.04160907119512558,
-0.0037828453350812197,
0.007601315155625343,
-0.02071547508239746,
-0.03118899278342724,
0.002449164167046547,
-0.018756143748760223,
0.007485536392778158,
-0.05838807299733162,
-0.00548612792044878,
-0.004965123720467091,
-0.013421420007944107,
0.08841928094625473,
0.008768008090555668,
0.00812677200883627,
0.04805705323815346,
0.05354318395256996,
-0.02258574776351452,
-0.041074708104133606,
-0.05286632105708122,
0.0983228087425232,
-0.02873092330992222,
0.024349145591259003,
-0.048448920249938965,
-0.02707439661026001,
0.015986362472176552,
0.019539877772331238,
0.03751228749752045,
-0.001455026213079691,
-0.010553671047091484,
0.025916609913110733,
-0.027145644649863243,
0.01807037927210331,
-0.027092209085822105,
0.028588425368070602,
0.020822348073124886,
-0.008140130899846554,
0.0068888310343027115,
0.06415919214487076,
-0.031919289380311966,
-0.04584835469722748,
0.030155891552567482,
-0.022229505702853203,
0.00403444143012166,
0.0063589210622012615,
0.00010889039549510926,
-0.03389643132686615,
-0.027733445167541504,
0.061879247426986694,
0.02901591546833515,
0.045064620673656464,
-0.03665730729699135,
-0.06964532285928726,
0.021285463124513626,
-0.011016786098480225,
-0.05500377342104912,
-0.03418142721056938,
0.018791768699884415,
-0.015131381340324879,
-0.03140273690223694,
0.0894167572259903,
-0.04339028149843216,
-0.024456018581986427,
-0.0027720085345208645,
0.009289011359214783,
0.05332943797111511,
-0.04524274170398712,
0.01008165068924427,
0.02003861591219902,
0.07359960675239563,
0.037726033478975296,
-0.06173675134778023,
0.00011243890185141936,
0.03662168234586716,
-0.008122319355607033,
-0.05129885673522949,
-0.019130198284983635,
-0.07509582489728928,
0.01364407129585743,
-0.0064479815773665905,
0.007547878660261631,
-0.00936026033014059,
-0.0605967752635479,
-0.04855579510331154,
0.013172050006687641,
0.0427846722304821,
-0.02431352064013481,
-0.01868489570915699,
0.05528876930475235,
0.053151316940784454,
0.013029553927481174,
0.013777662068605423,
0.05788933485746384,
0.001918140915222466,
0.032898955047130585,
0.04656083881855011,
-0.03126024082303047,
-0.034430794417858124,
-0.038153525441884995,
-0.006879924796521664,
-0.041929692029953,
0.06341108679771423,
0.0047647375613451,
-0.012192384339869022,
0.04121720790863037,
-0.029835272580385208,
0.012833620421588421,
-0.04730894789099693,
0.0427846722304821,
0.08834803104400635,
-0.0020205604378134012,
0.002355650532990694,
0.0036759728100150824,
-0.04563460871577263,
-0.01269112341105938,
0.00674633402377367,
0.008429577574133873,
-0.012566438876092434,
-0.043960269540548325,
0.02944340743124485,
-0.028267808258533478,
-0.015256066806614399,
0.03101087175309658,
0.0703578069806099,
0.03651481121778488,
-0.05938555300235748,
0.04527836665511131,
-0.006265407428145409,
0.00403444143012166,
-0.021427959203720093,
0.010598201304674149,
0.08271940797567368,
0.012397224083542824,
-0.010865382850170135,
0.026415349915623665,
-0.04631146788597107,
0.002731931395828724,
-0.014712797477841377,
0.013964689336717129,
0.0013247751630842686,
0.0034132443834096193,
-0.01982486993074417,
0.02178420126438141,
-0.006612743251025677,
0.03407455235719681,
-0.01902332529425621,
0.07050030678510666,
-0.017963506281375885
] |
710,044
|
urllib3_future._async.poolmanager
|
_new_pool
|
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
|
def _new_pool(
self,
scheme: str,
host: str,
port: int,
request_context: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
"""
pool_cls: type[AsyncHTTPConnectionPool] = self.pool_classes_by_scheme[scheme]
if request_context is None:
request_context = self.connection_pool_kw.copy()
# Default blocksize to DEFAULT_BLOCKSIZE if missing or explicitly
# set to 'None' in the request_context.
if request_context.get("blocksize") is None:
request_context["blocksize"] = DEFAULT_BLOCKSIZE
# Although the context has everything necessary to create the pool,
# this function has historically only used the scheme, host, and port
# in the positional args. When an API change is acceptable these can
# be removed.
for key in ("scheme", "host", "port"):
request_context.pop(key, None)
if scheme == "http":
for kw in SSL_KEYWORDS:
request_context.pop(kw, None)
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
if not self._resolver.is_available():
self._resolver = self._resolver.recycle()
request_context["resolver"] = self._resolver
# By default, each HttpPool can have up to num_pools connections
if "maxsize" not in request_context:
request_context["maxsize"] = self._num_pools
return pool_cls(host, port, **request_context)
|
(self, scheme: str, host: str, port: int, request_context: Optional[dict[str, Any]] = None) -> urllib3_future._async.connectionpool.AsyncHTTPConnectionPool
|
[
0.009885604493319988,
-0.07312033325433731,
-0.04605918377637863,
-0.03698357194662094,
-0.04723735526204109,
0.026877062395215034,
-0.04086786136031151,
-0.008960554376244545,
-0.04315057024359703,
-0.08711113780736923,
0.04749508202075958,
0.05423275753855705,
-0.020489158108830452,
0.03917423635721207,
0.0023632484953850508,
-0.011220253072679043,
0.005771204829216003,
-0.031258389353752136,
-0.006498358212411404,
-0.06652992963790894,
-0.00025125336833298206,
0.08909930288791656,
-0.0014692640397697687,
-0.007570679299533367,
0.01881394349038601,
0.052723221480846405,
-0.02466798759996891,
0.006507562473416328,
0.03475609049201012,
-0.0018109801458194852,
0.02001052536070347,
0.07429850846529007,
0.007276135962456465,
0.09329654276371002,
0.05600001662969589,
-0.0017638071440160275,
0.03197633847594261,
0.07827483862638474,
0.010345827788114548,
-0.0059046694077551365,
-0.024575943127274513,
-0.07426168769598007,
-0.062111783772706985,
-0.004859962034970522,
0.04425510764122009,
0.038290608674287796,
0.01175411231815815,
-0.010511508211493492,
-0.003957923501729965,
-0.04675872251391411,
-0.016282713040709496,
0.04377647489309311,
0.0012805723818019032,
0.012987511232495308,
-0.017230773344635963,
0.0763603076338768,
-0.04458646848797798,
0.054785024374723434,
-0.02229323424398899,
0.06954900175333023,
-0.0235082246363163,
0.01703747920691967,
0.009199870750308037,
-0.019458256661891937,
-0.08917293697595596,
-0.022422097623348236,
-0.05519002303481102,
-0.012085473164916039,
0.010962527245283127,
-0.011036163195967674,
0.07072716951370239,
0.05511638522148132,
-0.01437738724052906,
-0.027834327891469002,
0.020323477685451508,
0.013180805370211601,
0.03446154668927193,
-0.016209077090024948,
-0.03170020505785942,
-0.0048461551778018475,
-0.0003819856501650065,
-0.007381987292319536,
0.025367528200149536,
-0.04933597519993782,
0.0735989660024643,
-0.08136754482984543,
-0.017497703433036804,
0.0022619992960244417,
-0.05029324069619179,
-0.008909930475056171,
-0.002814267762005329,
-0.010502303950488567,
0.030117036774754524,
0.005030244588851929,
0.010833664797246456,
-0.04167785495519638,
-0.04491782933473587,
-0.014128866605460644,
0.008790272288024426,
-0.02437344565987587,
-0.03998422995209694,
-0.04616963863372803,
-0.06137542799115181,
-0.008422092534601688,
0.00791124440729618,
-0.0557791069149971,
0.03630244359374046,
-0.022440506145358086,
-0.031221572309732437,
-0.051802776753902435,
-0.0020387908443808556,
0.02588297799229622,
0.021869828924536705,
0.05033005774021149,
-0.02963840402662754,
0.013143987394869328,
-0.05633137747645378,
-0.00794346071779728,
-0.01320841908454895,
-0.03414859622716904,
-0.13909800350666046,
0.043592385947704315,
0.023968448862433434,
0.031865887343883514,
0.03085339441895485,
0.05640501156449318,
0.007455623243004084,
-0.049777790904045105,
-0.025128211826086044,
-0.007368180900812149,
0.05209731683135033,
0.03170020505785942,
0.01055753044784069,
0.03917423635721207,
-0.016080215573310852,
0.035971082746982574,
-0.08681659400463104,
0.05084551125764847,
-0.007998687215149403,
0.03482972830533981,
0.009581856429576874,
0.02759501151740551,
-0.0410519503057003,
0.014128866605460644,
0.003789941780269146,
-0.00410059280693531,
0.017552930861711502,
-0.035676538944244385,
-0.024502307176589966,
-0.01646680198609829,
0.02139119617640972,
-0.002076759235933423,
0.07864301651716232,
0.0528336763381958,
-0.017157137393951416,
0.0053017763420939445,
0.00609796354547143,
-0.009489811956882477,
-0.016255099326372147,
-0.03285996988415718,
-0.010097307153046131,
0.04878370836377144,
0.021372787654399872,
-0.04970415681600571,
-0.036854710429906845,
-0.032215654850006104,
0.08836293965578079,
-0.09815650433301926,
0.005444446112960577,
-0.030061809346079826,
-0.04322420433163643,
0.014055230654776096,
-0.02054438367486,
0.0410151332616806,
0.02380276843905449,
0.03847469761967659,
0.0071610803715884686,
-0.015730444341897964,
0.0006310816970653832,
-0.008730443194508553,
0.011744908057153225,
0.0014658123254776,
-0.025772524997591972,
0.015316243283450603,
-0.0052005271427333355,
0.02584616094827652,
-0.003391848411411047,
0.030614078044891357,
0.02293754741549492,
0.003150230972096324,
-0.04812098667025566,
0.0219986904412508,
0.02643524669110775,
-0.043629202991724014,
0.05069823935627937,
-0.050955962389707565,
-0.01706509292125702,
0.025698889046907425,
0.0022412892431020737,
0.07212625443935394,
0.01074162032455206,
0.015362265519797802,
0.008122947998344898,
0.023434588685631752,
0.037112437188625336,
-0.062443144619464874,
-0.05780409276485443,
0.001011341460980475,
-0.030429989099502563,
0.03650493919849396,
-0.023545041680336,
0.009337938390672207,
-0.02612229436635971,
0.04845234751701355,
-0.009351744316518307,
0.06796582788228989,
-0.0047863260842859745,
-0.006696254480630159,
-0.01912689581513405,
-0.008877714164555073,
0.020194614306092262,
-0.014469431713223457,
0.020065750926733017,
-0.010815256275236607,
0.026324793696403503,
-0.007524657063186169,
0.005697568878531456,
-0.0190900769084692,
-0.023637088015675545,
0.021593693643808365,
-0.014147275127470493,
0.002316075609996915,
0.0410151332616806,
0.022992774844169617,
0.04340829700231552,
-0.026877062395215034,
0.004473373759537935,
0.018022358417510986,
-0.013585802167654037,
0.020102569833397865,
0.021612102165818214,
0.016227485612034798,
0.02553320862352848,
-0.03471927344799042,
-0.04020513966679573,
0.026343202218413353,
-0.0351610891520977,
0.014653521589934826,
0.040389228612184525,
0.02463117055594921,
-0.053570035845041275,
-0.023894812911748886,
-0.043040115386247635,
-0.05323867127299309,
-0.03407495841383934,
-0.019495073705911636,
-0.024281401187181473,
-0.028239324688911438,
-0.01484681572765112,
-0.014073639176785946,
0.0070000020787119865,
0.03490336239337921,
-0.04550691694021225,
0.06862854957580566,
-0.006765287835150957,
0.006484551355242729,
0.04602236673235893,
-0.032399747520685196,
-0.04469692334532738,
0.02788955345749855,
0.09786196053028107,
0.04259830340743065,
0.041604217141866684,
0.0191084872931242,
0.026637746021151543,
0.0038405663799494505,
-0.028036825358867645,
0.020360294729471207,
-0.04882052540779114,
-0.06575675308704376,
0.04922552406787872,
0.012996716424822807,
0.004443459212779999,
-0.0705062672495842,
0.003571335691958666,
0.006590402685105801,
-0.05368048697710037,
0.03400132432579994,
0.023876404389739037,
0.01027219183743,
-0.064652219414711,
-0.01845496892929077,
-0.03961605206131935,
-0.014589089900255203,
0.0035828412510454655,
0.03490336239337921,
-0.00008363126835320145,
0.053606852889060974,
-0.0009549640817567706,
-0.012803422287106514,
-0.04491782933473587,
-0.01874951273202896,
-0.002604865934699774,
0.08917293697595596,
0.059718623757362366,
-0.05220777168869972,
0.033909279853105545,
-0.006015123333781958,
-0.026564110070466995,
0.027797508984804153,
0.04616963863372803,
0.0053293900564312935,
0.05195004492998123,
-0.015481923706829548,
0.011395137757062912,
0.01642077974975109,
-0.001624589553102851,
-0.007681132759898901,
-0.03633926063776016,
0.004645958077162504,
-0.10014466941356659,
-0.025459572672843933,
-0.015058518387377262,
-0.02461276203393936,
-0.02969363145530224,
0.036854710429906845,
-0.004915188532322645,
0.03297042474150658,
-0.03792243078351021,
0.055374111980199814,
-0.017424067482352257,
0.05747273191809654,
-0.0033780415542423725,
0.004029258154332638,
-0.008527944795787334,
-0.01235240325331688,
0.031552933156490326,
-0.010520712472498417,
-0.00749704334884882,
-0.08048391342163086,
0.013420121744275093,
0.0024368842132389545,
-0.0191084872931242,
0.006323473062366247,
-0.004657463636249304,
-0.04256148263812065,
0.027963189408183098,
-0.03116634674370289,
-0.006010521203279495,
-0.050661422312259674,
-0.003329718252643943,
-0.04933597519993782,
-0.021961873397231102,
0.03501381725072861,
0.027779100462794304,
0.028147278353571892,
0.011404342018067837,
-0.01647600717842579,
0.005886260420084,
-0.037130843847990036,
-0.007234715856611729,
-0.010180147364735603,
0.041236039251089096,
0.033688370138406754,
0.011984224431216717,
0.022735048085451126,
0.06229587644338608,
-0.010262987576425076,
-0.02170414850115776,
-0.036210399121046066,
0.002183761214837432,
-0.02991453744471073,
-0.010520712472498417,
-0.0007455623126588762,
-0.028994090855121613,
-0.059203170239925385,
-0.08453388512134552,
-0.00882248766720295,
-0.003709402633830905,
0.005573308560997248,
0.015334652736783028,
-0.014625907875597477,
0.06509403139352798,
-0.01940302923321724,
-0.04436556249856949,
-0.06608811765909195,
-0.027116378769278526,
0.025643661618232727,
0.02761342003941536,
0.060933612287044525,
0.013714664615690708,
-0.01674293726682663,
0.02148324064910412,
0.011413547210395336,
0.0013484553201124072,
-0.015343856997787952,
-0.0019030248513445258,
0.010042080655694008,
-0.030448397621512413,
-0.02881000190973282,
0.011717294342815876,
-0.02028665877878666,
0.04425510764122009,
-0.00778238195925951,
-0.03633926063776016,
0.031055891886353493,
0.06365813314914703,
0.05496911332011223,
0.03256542608141899,
-0.0021595994476228952,
-0.03646812215447426,
-0.032454971224069595,
-0.057951364666223526,
-0.05073505640029907,
-0.030908621847629547,
-0.04200921580195427,
0.009848786517977715,
0.03661539405584335,
0.07879029214382172,
0.049814607948064804,
0.04572782292962074,
0.013134783133864403,
0.0034033539704978466,
-0.004691980313509703,
-0.016383962705731392,
-0.007428009994328022,
0.008541750721633434,
0.005264958832412958,
-0.015168971382081509,
-0.040131501853466034,
0.024152537807822227,
0.05253913253545761,
-0.007483236491680145,
-0.003150230972096324,
0.058650903403759,
-0.0050992779433727264,
-0.016218282282352448,
0.05555820092558861,
0.0308718029409647,
-0.028589094057679176,
0.013843527995049953,
-0.03562131151556969,
-0.010686393827199936,
0.004452663939446211,
0.06616175174713135,
0.006111770402640104,
0.0146903395652771,
-0.059166353195905685,
-0.0294174961745739,
0.004385931417346001,
-0.04377647489309311,
0.01878632977604866,
0.02028665877878666,
0.04377647489309311,
-0.0469796322286129,
0.0034493764396756887,
0.03983696177601814,
-0.02026825025677681,
-0.028570685535669327,
0.014119662344455719,
0.03311769291758537,
-0.048305075615644455,
0.07768575102090836,
-0.006802105810493231,
-0.07367260009050369,
-0.035418812185525894,
0.04734781011939049,
0.010815256275236607,
0.028110461309552193,
0.0036610793322324753,
-0.046869177371263504,
0.03022748976945877,
-0.021777784451842308,
-0.011450364254415035,
-0.07190534472465515,
-0.013548984192311764,
0.004174228757619858,
0.025385936722159386,
0.052723221480846405,
-0.0441446527838707,
0.010962527245283127,
0.041788309812545776,
0.08004210144281387,
0.042451031506061554,
-0.0351794958114624,
-0.017166342586278915,
0.03987377882003784,
0.0005125741008669138,
0.02409731037914753,
0.02229323424398899,
-0.0037623285315930843,
0.03751743212342262,
-0.009664696641266346,
0.0015739649534225464,
-0.025312300771474838,
-0.008053913712501526,
-0.002770546358078718,
0.03171861544251442,
0.017985541373491287,
0.004988824483007193,
0.017405658960342407,
0.007437214255332947,
0.035345178097486496,
-0.015969760715961456,
0.059497714042663574,
0.004749508108943701,
-0.02728205919265747,
0.009342540055513382,
-0.032105203717947006,
-0.010621962137520313,
-0.01822485774755478,
-0.004333005752414465,
-0.02139119617640972,
-0.033007241785526276,
-0.0019904673099517822,
0.05195004492998123,
-0.02111506089568138,
0.04204603284597397,
-0.00469888374209404,
-0.04550691694021225,
0.08563841879367828,
0.08247207850217819,
0.006682447623461485,
0.013116374611854553,
-0.054748207330703735,
-0.01338330376893282,
0.03690993785858154,
0.0045654186978936195,
-0.01762656681239605,
0.019789617508649826,
0.024447081610560417,
-0.030466806143522263,
-0.04134649410843849,
-0.009913217276334763,
0.027815917506814003,
0.048599619418382645,
-0.08048391342163086,
-0.003292900277301669,
-0.0527600422501564,
-0.01967916451394558,
-0.008840896189212799,
0.07871665805578232,
-0.012269563041627407,
-0.0470164492726326,
-0.0732676088809967,
0.026950698345899582,
0.028294550254940987,
0.06988035887479782,
0.005637739785015583,
-0.0030788963194936514,
0.025938205420970917,
0.017249181866645813,
0.015454310923814774,
-0.030485214665532112,
0.015951352193951607,
-0.06822355836629868,
0.043592385947704315,
-0.04904143139719963,
-0.006907957140356302,
-0.008265617303550243,
0.02198028191924095,
-0.009342540055513382,
-0.07069035619497299,
0.030172262340784073,
-0.03635766729712486,
0.02529389224946499,
0.00521433399990201,
0.038364242762327194,
-0.002551940269768238,
0.005357003305107355,
0.02706115134060383,
-0.005218936130404472,
0.015113744884729385,
-0.003216963494196534,
0.03784879297018051,
0.010051284916698933,
-0.03972650691866875,
-0.0010228471364825964,
0.02058120258152485,
0.03873242437839508,
-0.015334652736783028,
0.001845496823079884,
-0.033614736050367355,
-0.06376858800649643,
-0.02463117055594921,
-0.0007668476901017129,
-0.06365813314914703,
0.009922422468662262,
0.058319542557001114,
0.03295201435685158,
-0.03204997628927231,
0.004602236673235893,
-0.042414210736751556,
-0.0264168381690979,
0.004068376962095499,
-0.01903485134243965,
-0.12105723470449448,
-0.025330711156129837,
-0.001481920131482184,
0.023342544212937355,
-0.02286391146481037,
0.07753848284482956,
-0.050035517662763596,
0.010023671202361584,
0.010732416063547134,
0.012867853976786137,
-0.025072984397411346,
-0.013539779931306839,
0.003608153434470296,
-0.06314268708229065,
-0.010944118723273277,
-0.021667329594492912,
0.037167664617300034,
-0.005030244588851929,
-0.038327425718307495,
0.0024161741603165865,
-0.0587245374917984,
0.06686129420995712,
0.0028994090389460325,
-0.07768575102090836,
-0.009406971745193005,
-0.009885604493319988,
0.03081657551229,
0.02001052536070347,
-0.00983958225697279,
0.029601585119962692,
0.025919796898961067,
-0.02669297158718109,
-0.08107300102710724,
-0.014469431713223457,
0.011928997002542019,
0.0014128866605460644,
0.015656808391213417,
-0.028349777683615685,
0.03291519731283188,
0.024539126083254814,
0.048599619418382645,
0.07293624430894852,
0.016107827425003052,
-0.03355950862169266,
0.023931629955768585,
-0.03166338801383972,
0.00851413793861866,
-0.07709667086601257,
0.019826434552669525,
-0.031865887343883514,
0.05080869048833847,
-0.021575285121798515,
0.04940961301326752,
-0.017810655757784843,
-0.0037393171805888414,
0.006756083108484745,
0.03795924782752991,
-0.04808416962623596,
0.0007674229564145207,
0.030374761670827866,
-0.02851545810699463,
0.026582518592476845,
0.020120978355407715,
-0.040389228612184525,
-0.00838527549058199,
0.013171601109206676,
0.03665221109986305,
0.043629202991724014,
0.018408946692943573,
0.03792243078351021,
-0.013797505758702755,
-0.056220922619104385,
0.004498686175793409,
0.056810010224580765,
-0.0023632484953850508,
0.01671532355248928,
-0.02586456947028637,
0.0469428151845932,
-0.010226169601082802,
0.001894970890134573,
-0.03175543248653412,
-0.018372127786278725,
-0.04292966425418854,
0.03648653253912926,
0.08416569977998734,
-0.022679822519421577,
-0.07013808935880661,
0.04429192468523979,
0.022256415337324142,
0.005610126536339521,
-0.03466404601931572,
-0.0175897479057312,
0.005715977866202593,
-0.00996844470500946,
-0.018408946692943573,
0.057656820863485336,
0.012453651987016201,
0.024852078408002853,
-0.047090083360672,
0.033080875873565674,
-0.026564110070466995,
-0.08365025371313095,
0.051876410841941833,
0.0033826439175754786,
0.037738341838121414,
-0.08836293965578079,
-0.029178179800510406,
-0.030098628252744675,
0.02198028191924095,
0.038953330367803574,
0.013088760897517204,
0.0058448403142392635,
0.026637746021151543,
0.07507168501615524,
-0.03352269157767296,
-0.0031019074376672506,
0.021059835329651833,
-0.006157792638987303,
-0.015500333160161972,
0.054527297616004944,
-0.008408286608755589,
-0.012490469962358475,
-0.0323813371360302,
-0.019218940287828445,
-0.03609994426369667,
0.02555161714553833,
0.020728474482893944,
-0.040352411568164825,
0.025975022464990616,
-0.018427355214953423,
0.008578568696975708,
-0.009894808754324913,
0.036320850253105164,
0.053017765283584595,
0.007800790946930647,
0.037738341838121414,
-0.04138331115245819,
-0.02557002566754818,
-0.006420120131224394,
-0.016844185069203377,
0.06826037168502808,
-0.029509540647268295,
-0.012113086879253387,
0.015316243283450603,
-0.012453651987016201,
-0.031847476959228516,
-0.010787642560899258,
0.013815914280712605,
0.034240640699863434,
-0.08851021528244019,
0.012361607514321804,
-0.0005654998240061104,
0.015445105731487274,
0.01993688941001892,
-0.002466798759996891,
0.03737016022205353,
-0.009655492380261421,
0.06660357117652893,
-0.015767263248562813,
-0.09314926713705063,
0.03381723538041115,
-0.03140566125512123,
-0.010170943103730679,
0.008081527426838875,
-0.04296648129820824,
0.010677188634872437,
0.08541750907897949,
-0.022458914667367935,
-0.011708090081810951,
-0.029435904696583748,
0.04429192468523979,
-0.01676134578883648
] |
710,046
|
urllib3_future._async.poolmanager
|
clear
|
Empty our store of pools and direct them all to close.
This will not affect in-flight connections, but they will not be
re-used after completion.
|
def _new_pool(
self,
scheme: str,
host: str,
port: int,
request_context: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
"""
pool_cls: type[AsyncHTTPConnectionPool] = self.pool_classes_by_scheme[scheme]
if request_context is None:
request_context = self.connection_pool_kw.copy()
# Default blocksize to DEFAULT_BLOCKSIZE if missing or explicitly
# set to 'None' in the request_context.
if request_context.get("blocksize") is None:
request_context["blocksize"] = DEFAULT_BLOCKSIZE
# Although the context has everything necessary to create the pool,
# this function has historically only used the scheme, host, and port
# in the positional args. When an API change is acceptable these can
# be removed.
for key in ("scheme", "host", "port"):
request_context.pop(key, None)
if scheme == "http":
for kw in SSL_KEYWORDS:
request_context.pop(kw, None)
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
if not self._resolver.is_available():
self._resolver = self._resolver.recycle()
request_context["resolver"] = self._resolver
# By default, each HttpPool can have up to num_pools connections
if "maxsize" not in request_context:
request_context["maxsize"] = self._num_pools
return pool_cls(host, port, **request_context)
|
(self) -> NoneType
|
[
0.009885604493319988,
-0.07312033325433731,
-0.04605918377637863,
-0.03698357194662094,
-0.04723735526204109,
0.026877062395215034,
-0.04086786136031151,
-0.008960554376244545,
-0.04315057024359703,
-0.08711113780736923,
0.04749508202075958,
0.05423275753855705,
-0.020489158108830452,
0.03917423635721207,
0.0023632484953850508,
-0.011220253072679043,
0.005771204829216003,
-0.031258389353752136,
-0.006498358212411404,
-0.06652992963790894,
-0.00025125336833298206,
0.08909930288791656,
-0.0014692640397697687,
-0.007570679299533367,
0.01881394349038601,
0.052723221480846405,
-0.02466798759996891,
0.006507562473416328,
0.03475609049201012,
-0.0018109801458194852,
0.02001052536070347,
0.07429850846529007,
0.007276135962456465,
0.09329654276371002,
0.05600001662969589,
-0.0017638071440160275,
0.03197633847594261,
0.07827483862638474,
0.010345827788114548,
-0.0059046694077551365,
-0.024575943127274513,
-0.07426168769598007,
-0.062111783772706985,
-0.004859962034970522,
0.04425510764122009,
0.038290608674287796,
0.01175411231815815,
-0.010511508211493492,
-0.003957923501729965,
-0.04675872251391411,
-0.016282713040709496,
0.04377647489309311,
0.0012805723818019032,
0.012987511232495308,
-0.017230773344635963,
0.0763603076338768,
-0.04458646848797798,
0.054785024374723434,
-0.02229323424398899,
0.06954900175333023,
-0.0235082246363163,
0.01703747920691967,
0.009199870750308037,
-0.019458256661891937,
-0.08917293697595596,
-0.022422097623348236,
-0.05519002303481102,
-0.012085473164916039,
0.010962527245283127,
-0.011036163195967674,
0.07072716951370239,
0.05511638522148132,
-0.01437738724052906,
-0.027834327891469002,
0.020323477685451508,
0.013180805370211601,
0.03446154668927193,
-0.016209077090024948,
-0.03170020505785942,
-0.0048461551778018475,
-0.0003819856501650065,
-0.007381987292319536,
0.025367528200149536,
-0.04933597519993782,
0.0735989660024643,
-0.08136754482984543,
-0.017497703433036804,
0.0022619992960244417,
-0.05029324069619179,
-0.008909930475056171,
-0.002814267762005329,
-0.010502303950488567,
0.030117036774754524,
0.005030244588851929,
0.010833664797246456,
-0.04167785495519638,
-0.04491782933473587,
-0.014128866605460644,
0.008790272288024426,
-0.02437344565987587,
-0.03998422995209694,
-0.04616963863372803,
-0.06137542799115181,
-0.008422092534601688,
0.00791124440729618,
-0.0557791069149971,
0.03630244359374046,
-0.022440506145358086,
-0.031221572309732437,
-0.051802776753902435,
-0.0020387908443808556,
0.02588297799229622,
0.021869828924536705,
0.05033005774021149,
-0.02963840402662754,
0.013143987394869328,
-0.05633137747645378,
-0.00794346071779728,
-0.01320841908454895,
-0.03414859622716904,
-0.13909800350666046,
0.043592385947704315,
0.023968448862433434,
0.031865887343883514,
0.03085339441895485,
0.05640501156449318,
0.007455623243004084,
-0.049777790904045105,
-0.025128211826086044,
-0.007368180900812149,
0.05209731683135033,
0.03170020505785942,
0.01055753044784069,
0.03917423635721207,
-0.016080215573310852,
0.035971082746982574,
-0.08681659400463104,
0.05084551125764847,
-0.007998687215149403,
0.03482972830533981,
0.009581856429576874,
0.02759501151740551,
-0.0410519503057003,
0.014128866605460644,
0.003789941780269146,
-0.00410059280693531,
0.017552930861711502,
-0.035676538944244385,
-0.024502307176589966,
-0.01646680198609829,
0.02139119617640972,
-0.002076759235933423,
0.07864301651716232,
0.0528336763381958,
-0.017157137393951416,
0.0053017763420939445,
0.00609796354547143,
-0.009489811956882477,
-0.016255099326372147,
-0.03285996988415718,
-0.010097307153046131,
0.04878370836377144,
0.021372787654399872,
-0.04970415681600571,
-0.036854710429906845,
-0.032215654850006104,
0.08836293965578079,
-0.09815650433301926,
0.005444446112960577,
-0.030061809346079826,
-0.04322420433163643,
0.014055230654776096,
-0.02054438367486,
0.0410151332616806,
0.02380276843905449,
0.03847469761967659,
0.0071610803715884686,
-0.015730444341897964,
0.0006310816970653832,
-0.008730443194508553,
0.011744908057153225,
0.0014658123254776,
-0.025772524997591972,
0.015316243283450603,
-0.0052005271427333355,
0.02584616094827652,
-0.003391848411411047,
0.030614078044891357,
0.02293754741549492,
0.003150230972096324,
-0.04812098667025566,
0.0219986904412508,
0.02643524669110775,
-0.043629202991724014,
0.05069823935627937,
-0.050955962389707565,
-0.01706509292125702,
0.025698889046907425,
0.0022412892431020737,
0.07212625443935394,
0.01074162032455206,
0.015362265519797802,
0.008122947998344898,
0.023434588685631752,
0.037112437188625336,
-0.062443144619464874,
-0.05780409276485443,
0.001011341460980475,
-0.030429989099502563,
0.03650493919849396,
-0.023545041680336,
0.009337938390672207,
-0.02612229436635971,
0.04845234751701355,
-0.009351744316518307,
0.06796582788228989,
-0.0047863260842859745,
-0.006696254480630159,
-0.01912689581513405,
-0.008877714164555073,
0.020194614306092262,
-0.014469431713223457,
0.020065750926733017,
-0.010815256275236607,
0.026324793696403503,
-0.007524657063186169,
0.005697568878531456,
-0.0190900769084692,
-0.023637088015675545,
0.021593693643808365,
-0.014147275127470493,
0.002316075609996915,
0.0410151332616806,
0.022992774844169617,
0.04340829700231552,
-0.026877062395215034,
0.004473373759537935,
0.018022358417510986,
-0.013585802167654037,
0.020102569833397865,
0.021612102165818214,
0.016227485612034798,
0.02553320862352848,
-0.03471927344799042,
-0.04020513966679573,
0.026343202218413353,
-0.0351610891520977,
0.014653521589934826,
0.040389228612184525,
0.02463117055594921,
-0.053570035845041275,
-0.023894812911748886,
-0.043040115386247635,
-0.05323867127299309,
-0.03407495841383934,
-0.019495073705911636,
-0.024281401187181473,
-0.028239324688911438,
-0.01484681572765112,
-0.014073639176785946,
0.0070000020787119865,
0.03490336239337921,
-0.04550691694021225,
0.06862854957580566,
-0.006765287835150957,
0.006484551355242729,
0.04602236673235893,
-0.032399747520685196,
-0.04469692334532738,
0.02788955345749855,
0.09786196053028107,
0.04259830340743065,
0.041604217141866684,
0.0191084872931242,
0.026637746021151543,
0.0038405663799494505,
-0.028036825358867645,
0.020360294729471207,
-0.04882052540779114,
-0.06575675308704376,
0.04922552406787872,
0.012996716424822807,
0.004443459212779999,
-0.0705062672495842,
0.003571335691958666,
0.006590402685105801,
-0.05368048697710037,
0.03400132432579994,
0.023876404389739037,
0.01027219183743,
-0.064652219414711,
-0.01845496892929077,
-0.03961605206131935,
-0.014589089900255203,
0.0035828412510454655,
0.03490336239337921,
-0.00008363126835320145,
0.053606852889060974,
-0.0009549640817567706,
-0.012803422287106514,
-0.04491782933473587,
-0.01874951273202896,
-0.002604865934699774,
0.08917293697595596,
0.059718623757362366,
-0.05220777168869972,
0.033909279853105545,
-0.006015123333781958,
-0.026564110070466995,
0.027797508984804153,
0.04616963863372803,
0.0053293900564312935,
0.05195004492998123,
-0.015481923706829548,
0.011395137757062912,
0.01642077974975109,
-0.001624589553102851,
-0.007681132759898901,
-0.03633926063776016,
0.004645958077162504,
-0.10014466941356659,
-0.025459572672843933,
-0.015058518387377262,
-0.02461276203393936,
-0.02969363145530224,
0.036854710429906845,
-0.004915188532322645,
0.03297042474150658,
-0.03792243078351021,
0.055374111980199814,
-0.017424067482352257,
0.05747273191809654,
-0.0033780415542423725,
0.004029258154332638,
-0.008527944795787334,
-0.01235240325331688,
0.031552933156490326,
-0.010520712472498417,
-0.00749704334884882,
-0.08048391342163086,
0.013420121744275093,
0.0024368842132389545,
-0.0191084872931242,
0.006323473062366247,
-0.004657463636249304,
-0.04256148263812065,
0.027963189408183098,
-0.03116634674370289,
-0.006010521203279495,
-0.050661422312259674,
-0.003329718252643943,
-0.04933597519993782,
-0.021961873397231102,
0.03501381725072861,
0.027779100462794304,
0.028147278353571892,
0.011404342018067837,
-0.01647600717842579,
0.005886260420084,
-0.037130843847990036,
-0.007234715856611729,
-0.010180147364735603,
0.041236039251089096,
0.033688370138406754,
0.011984224431216717,
0.022735048085451126,
0.06229587644338608,
-0.010262987576425076,
-0.02170414850115776,
-0.036210399121046066,
0.002183761214837432,
-0.02991453744471073,
-0.010520712472498417,
-0.0007455623126588762,
-0.028994090855121613,
-0.059203170239925385,
-0.08453388512134552,
-0.00882248766720295,
-0.003709402633830905,
0.005573308560997248,
0.015334652736783028,
-0.014625907875597477,
0.06509403139352798,
-0.01940302923321724,
-0.04436556249856949,
-0.06608811765909195,
-0.027116378769278526,
0.025643661618232727,
0.02761342003941536,
0.060933612287044525,
0.013714664615690708,
-0.01674293726682663,
0.02148324064910412,
0.011413547210395336,
0.0013484553201124072,
-0.015343856997787952,
-0.0019030248513445258,
0.010042080655694008,
-0.030448397621512413,
-0.02881000190973282,
0.011717294342815876,
-0.02028665877878666,
0.04425510764122009,
-0.00778238195925951,
-0.03633926063776016,
0.031055891886353493,
0.06365813314914703,
0.05496911332011223,
0.03256542608141899,
-0.0021595994476228952,
-0.03646812215447426,
-0.032454971224069595,
-0.057951364666223526,
-0.05073505640029907,
-0.030908621847629547,
-0.04200921580195427,
0.009848786517977715,
0.03661539405584335,
0.07879029214382172,
0.049814607948064804,
0.04572782292962074,
0.013134783133864403,
0.0034033539704978466,
-0.004691980313509703,
-0.016383962705731392,
-0.007428009994328022,
0.008541750721633434,
0.005264958832412958,
-0.015168971382081509,
-0.040131501853466034,
0.024152537807822227,
0.05253913253545761,
-0.007483236491680145,
-0.003150230972096324,
0.058650903403759,
-0.0050992779433727264,
-0.016218282282352448,
0.05555820092558861,
0.0308718029409647,
-0.028589094057679176,
0.013843527995049953,
-0.03562131151556969,
-0.010686393827199936,
0.004452663939446211,
0.06616175174713135,
0.006111770402640104,
0.0146903395652771,
-0.059166353195905685,
-0.0294174961745739,
0.004385931417346001,
-0.04377647489309311,
0.01878632977604866,
0.02028665877878666,
0.04377647489309311,
-0.0469796322286129,
0.0034493764396756887,
0.03983696177601814,
-0.02026825025677681,
-0.028570685535669327,
0.014119662344455719,
0.03311769291758537,
-0.048305075615644455,
0.07768575102090836,
-0.006802105810493231,
-0.07367260009050369,
-0.035418812185525894,
0.04734781011939049,
0.010815256275236607,
0.028110461309552193,
0.0036610793322324753,
-0.046869177371263504,
0.03022748976945877,
-0.021777784451842308,
-0.011450364254415035,
-0.07190534472465515,
-0.013548984192311764,
0.004174228757619858,
0.025385936722159386,
0.052723221480846405,
-0.0441446527838707,
0.010962527245283127,
0.041788309812545776,
0.08004210144281387,
0.042451031506061554,
-0.0351794958114624,
-0.017166342586278915,
0.03987377882003784,
0.0005125741008669138,
0.02409731037914753,
0.02229323424398899,
-0.0037623285315930843,
0.03751743212342262,
-0.009664696641266346,
0.0015739649534225464,
-0.025312300771474838,
-0.008053913712501526,
-0.002770546358078718,
0.03171861544251442,
0.017985541373491287,
0.004988824483007193,
0.017405658960342407,
0.007437214255332947,
0.035345178097486496,
-0.015969760715961456,
0.059497714042663574,
0.004749508108943701,
-0.02728205919265747,
0.009342540055513382,
-0.032105203717947006,
-0.010621962137520313,
-0.01822485774755478,
-0.004333005752414465,
-0.02139119617640972,
-0.033007241785526276,
-0.0019904673099517822,
0.05195004492998123,
-0.02111506089568138,
0.04204603284597397,
-0.00469888374209404,
-0.04550691694021225,
0.08563841879367828,
0.08247207850217819,
0.006682447623461485,
0.013116374611854553,
-0.054748207330703735,
-0.01338330376893282,
0.03690993785858154,
0.0045654186978936195,
-0.01762656681239605,
0.019789617508649826,
0.024447081610560417,
-0.030466806143522263,
-0.04134649410843849,
-0.009913217276334763,
0.027815917506814003,
0.048599619418382645,
-0.08048391342163086,
-0.003292900277301669,
-0.0527600422501564,
-0.01967916451394558,
-0.008840896189212799,
0.07871665805578232,
-0.012269563041627407,
-0.0470164492726326,
-0.0732676088809967,
0.026950698345899582,
0.028294550254940987,
0.06988035887479782,
0.005637739785015583,
-0.0030788963194936514,
0.025938205420970917,
0.017249181866645813,
0.015454310923814774,
-0.030485214665532112,
0.015951352193951607,
-0.06822355836629868,
0.043592385947704315,
-0.04904143139719963,
-0.006907957140356302,
-0.008265617303550243,
0.02198028191924095,
-0.009342540055513382,
-0.07069035619497299,
0.030172262340784073,
-0.03635766729712486,
0.02529389224946499,
0.00521433399990201,
0.038364242762327194,
-0.002551940269768238,
0.005357003305107355,
0.02706115134060383,
-0.005218936130404472,
0.015113744884729385,
-0.003216963494196534,
0.03784879297018051,
0.010051284916698933,
-0.03972650691866875,
-0.0010228471364825964,
0.02058120258152485,
0.03873242437839508,
-0.015334652736783028,
0.001845496823079884,
-0.033614736050367355,
-0.06376858800649643,
-0.02463117055594921,
-0.0007668476901017129,
-0.06365813314914703,
0.009922422468662262,
0.058319542557001114,
0.03295201435685158,
-0.03204997628927231,
0.004602236673235893,
-0.042414210736751556,
-0.0264168381690979,
0.004068376962095499,
-0.01903485134243965,
-0.12105723470449448,
-0.025330711156129837,
-0.001481920131482184,
0.023342544212937355,
-0.02286391146481037,
0.07753848284482956,
-0.050035517662763596,
0.010023671202361584,
0.010732416063547134,
0.012867853976786137,
-0.025072984397411346,
-0.013539779931306839,
0.003608153434470296,
-0.06314268708229065,
-0.010944118723273277,
-0.021667329594492912,
0.037167664617300034,
-0.005030244588851929,
-0.038327425718307495,
0.0024161741603165865,
-0.0587245374917984,
0.06686129420995712,
0.0028994090389460325,
-0.07768575102090836,
-0.009406971745193005,
-0.009885604493319988,
0.03081657551229,
0.02001052536070347,
-0.00983958225697279,
0.029601585119962692,
0.025919796898961067,
-0.02669297158718109,
-0.08107300102710724,
-0.014469431713223457,
0.011928997002542019,
0.0014128866605460644,
0.015656808391213417,
-0.028349777683615685,
0.03291519731283188,
0.024539126083254814,
0.048599619418382645,
0.07293624430894852,
0.016107827425003052,
-0.03355950862169266,
0.023931629955768585,
-0.03166338801383972,
0.00851413793861866,
-0.07709667086601257,
0.019826434552669525,
-0.031865887343883514,
0.05080869048833847,
-0.021575285121798515,
0.04940961301326752,
-0.017810655757784843,
-0.0037393171805888414,
0.006756083108484745,
0.03795924782752991,
-0.04808416962623596,
0.0007674229564145207,
0.030374761670827866,
-0.02851545810699463,
0.026582518592476845,
0.020120978355407715,
-0.040389228612184525,
-0.00838527549058199,
0.013171601109206676,
0.03665221109986305,
0.043629202991724014,
0.018408946692943573,
0.03792243078351021,
-0.013797505758702755,
-0.056220922619104385,
0.004498686175793409,
0.056810010224580765,
-0.0023632484953850508,
0.01671532355248928,
-0.02586456947028637,
0.0469428151845932,
-0.010226169601082802,
0.001894970890134573,
-0.03175543248653412,
-0.018372127786278725,
-0.04292966425418854,
0.03648653253912926,
0.08416569977998734,
-0.022679822519421577,
-0.07013808935880661,
0.04429192468523979,
0.022256415337324142,
0.005610126536339521,
-0.03466404601931572,
-0.0175897479057312,
0.005715977866202593,
-0.00996844470500946,
-0.018408946692943573,
0.057656820863485336,
0.012453651987016201,
0.024852078408002853,
-0.047090083360672,
0.033080875873565674,
-0.026564110070466995,
-0.08365025371313095,
0.051876410841941833,
0.0033826439175754786,
0.037738341838121414,
-0.08836293965578079,
-0.029178179800510406,
-0.030098628252744675,
0.02198028191924095,
0.038953330367803574,
0.013088760897517204,
0.0058448403142392635,
0.026637746021151543,
0.07507168501615524,
-0.03352269157767296,
-0.0031019074376672506,
0.021059835329651833,
-0.006157792638987303,
-0.015500333160161972,
0.054527297616004944,
-0.008408286608755589,
-0.012490469962358475,
-0.0323813371360302,
-0.019218940287828445,
-0.03609994426369667,
0.02555161714553833,
0.020728474482893944,
-0.040352411568164825,
0.025975022464990616,
-0.018427355214953423,
0.008578568696975708,
-0.009894808754324913,
0.036320850253105164,
0.053017765283584595,
0.007800790946930647,
0.037738341838121414,
-0.04138331115245819,
-0.02557002566754818,
-0.006420120131224394,
-0.016844185069203377,
0.06826037168502808,
-0.029509540647268295,
-0.012113086879253387,
0.015316243283450603,
-0.012453651987016201,
-0.031847476959228516,
-0.010787642560899258,
0.013815914280712605,
0.034240640699863434,
-0.08851021528244019,
0.012361607514321804,
-0.0005654998240061104,
0.015445105731487274,
0.01993688941001892,
-0.002466798759996891,
0.03737016022205353,
-0.009655492380261421,
0.06660357117652893,
-0.015767263248562813,
-0.09314926713705063,
0.03381723538041115,
-0.03140566125512123,
-0.010170943103730679,
0.008081527426838875,
-0.04296648129820824,
0.010677188634872437,
0.08541750907897949,
-0.022458914667367935,
-0.011708090081810951,
-0.029435904696583748,
0.04429192468523979,
-0.01676134578883648
] |
710,047
|
urllib3_future._async.poolmanager
|
connection_from_context
|
Get a :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on the request context.
``request_context`` must at least contain the ``scheme`` key and its
value must be a key in ``key_fn_by_scheme`` instance variable.
|
def _new_pool(
self,
scheme: str,
host: str,
port: int,
request_context: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
"""
pool_cls: type[AsyncHTTPConnectionPool] = self.pool_classes_by_scheme[scheme]
if request_context is None:
request_context = self.connection_pool_kw.copy()
# Default blocksize to DEFAULT_BLOCKSIZE if missing or explicitly
# set to 'None' in the request_context.
if request_context.get("blocksize") is None:
request_context["blocksize"] = DEFAULT_BLOCKSIZE
# Although the context has everything necessary to create the pool,
# this function has historically only used the scheme, host, and port
# in the positional args. When an API change is acceptable these can
# be removed.
for key in ("scheme", "host", "port"):
request_context.pop(key, None)
if scheme == "http":
for kw in SSL_KEYWORDS:
request_context.pop(kw, None)
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
if not self._resolver.is_available():
self._resolver = self._resolver.recycle()
request_context["resolver"] = self._resolver
# By default, each HttpPool can have up to num_pools connections
if "maxsize" not in request_context:
request_context["maxsize"] = self._num_pools
return pool_cls(host, port, **request_context)
|
(self, request_context: dict[str, typing.Any]) -> urllib3_future._async.connectionpool.AsyncHTTPConnectionPool
|
[
0.009885604493319988,
-0.07312033325433731,
-0.04605918377637863,
-0.03698357194662094,
-0.04723735526204109,
0.026877062395215034,
-0.04086786136031151,
-0.008960554376244545,
-0.04315057024359703,
-0.08711113780736923,
0.04749508202075958,
0.05423275753855705,
-0.020489158108830452,
0.03917423635721207,
0.0023632484953850508,
-0.011220253072679043,
0.005771204829216003,
-0.031258389353752136,
-0.006498358212411404,
-0.06652992963790894,
-0.00025125336833298206,
0.08909930288791656,
-0.0014692640397697687,
-0.007570679299533367,
0.01881394349038601,
0.052723221480846405,
-0.02466798759996891,
0.006507562473416328,
0.03475609049201012,
-0.0018109801458194852,
0.02001052536070347,
0.07429850846529007,
0.007276135962456465,
0.09329654276371002,
0.05600001662969589,
-0.0017638071440160275,
0.03197633847594261,
0.07827483862638474,
0.010345827788114548,
-0.0059046694077551365,
-0.024575943127274513,
-0.07426168769598007,
-0.062111783772706985,
-0.004859962034970522,
0.04425510764122009,
0.038290608674287796,
0.01175411231815815,
-0.010511508211493492,
-0.003957923501729965,
-0.04675872251391411,
-0.016282713040709496,
0.04377647489309311,
0.0012805723818019032,
0.012987511232495308,
-0.017230773344635963,
0.0763603076338768,
-0.04458646848797798,
0.054785024374723434,
-0.02229323424398899,
0.06954900175333023,
-0.0235082246363163,
0.01703747920691967,
0.009199870750308037,
-0.019458256661891937,
-0.08917293697595596,
-0.022422097623348236,
-0.05519002303481102,
-0.012085473164916039,
0.010962527245283127,
-0.011036163195967674,
0.07072716951370239,
0.05511638522148132,
-0.01437738724052906,
-0.027834327891469002,
0.020323477685451508,
0.013180805370211601,
0.03446154668927193,
-0.016209077090024948,
-0.03170020505785942,
-0.0048461551778018475,
-0.0003819856501650065,
-0.007381987292319536,
0.025367528200149536,
-0.04933597519993782,
0.0735989660024643,
-0.08136754482984543,
-0.017497703433036804,
0.0022619992960244417,
-0.05029324069619179,
-0.008909930475056171,
-0.002814267762005329,
-0.010502303950488567,
0.030117036774754524,
0.005030244588851929,
0.010833664797246456,
-0.04167785495519638,
-0.04491782933473587,
-0.014128866605460644,
0.008790272288024426,
-0.02437344565987587,
-0.03998422995209694,
-0.04616963863372803,
-0.06137542799115181,
-0.008422092534601688,
0.00791124440729618,
-0.0557791069149971,
0.03630244359374046,
-0.022440506145358086,
-0.031221572309732437,
-0.051802776753902435,
-0.0020387908443808556,
0.02588297799229622,
0.021869828924536705,
0.05033005774021149,
-0.02963840402662754,
0.013143987394869328,
-0.05633137747645378,
-0.00794346071779728,
-0.01320841908454895,
-0.03414859622716904,
-0.13909800350666046,
0.043592385947704315,
0.023968448862433434,
0.031865887343883514,
0.03085339441895485,
0.05640501156449318,
0.007455623243004084,
-0.049777790904045105,
-0.025128211826086044,
-0.007368180900812149,
0.05209731683135033,
0.03170020505785942,
0.01055753044784069,
0.03917423635721207,
-0.016080215573310852,
0.035971082746982574,
-0.08681659400463104,
0.05084551125764847,
-0.007998687215149403,
0.03482972830533981,
0.009581856429576874,
0.02759501151740551,
-0.0410519503057003,
0.014128866605460644,
0.003789941780269146,
-0.00410059280693531,
0.017552930861711502,
-0.035676538944244385,
-0.024502307176589966,
-0.01646680198609829,
0.02139119617640972,
-0.002076759235933423,
0.07864301651716232,
0.0528336763381958,
-0.017157137393951416,
0.0053017763420939445,
0.00609796354547143,
-0.009489811956882477,
-0.016255099326372147,
-0.03285996988415718,
-0.010097307153046131,
0.04878370836377144,
0.021372787654399872,
-0.04970415681600571,
-0.036854710429906845,
-0.032215654850006104,
0.08836293965578079,
-0.09815650433301926,
0.005444446112960577,
-0.030061809346079826,
-0.04322420433163643,
0.014055230654776096,
-0.02054438367486,
0.0410151332616806,
0.02380276843905449,
0.03847469761967659,
0.0071610803715884686,
-0.015730444341897964,
0.0006310816970653832,
-0.008730443194508553,
0.011744908057153225,
0.0014658123254776,
-0.025772524997591972,
0.015316243283450603,
-0.0052005271427333355,
0.02584616094827652,
-0.003391848411411047,
0.030614078044891357,
0.02293754741549492,
0.003150230972096324,
-0.04812098667025566,
0.0219986904412508,
0.02643524669110775,
-0.043629202991724014,
0.05069823935627937,
-0.050955962389707565,
-0.01706509292125702,
0.025698889046907425,
0.0022412892431020737,
0.07212625443935394,
0.01074162032455206,
0.015362265519797802,
0.008122947998344898,
0.023434588685631752,
0.037112437188625336,
-0.062443144619464874,
-0.05780409276485443,
0.001011341460980475,
-0.030429989099502563,
0.03650493919849396,
-0.023545041680336,
0.009337938390672207,
-0.02612229436635971,
0.04845234751701355,
-0.009351744316518307,
0.06796582788228989,
-0.0047863260842859745,
-0.006696254480630159,
-0.01912689581513405,
-0.008877714164555073,
0.020194614306092262,
-0.014469431713223457,
0.020065750926733017,
-0.010815256275236607,
0.026324793696403503,
-0.007524657063186169,
0.005697568878531456,
-0.0190900769084692,
-0.023637088015675545,
0.021593693643808365,
-0.014147275127470493,
0.002316075609996915,
0.0410151332616806,
0.022992774844169617,
0.04340829700231552,
-0.026877062395215034,
0.004473373759537935,
0.018022358417510986,
-0.013585802167654037,
0.020102569833397865,
0.021612102165818214,
0.016227485612034798,
0.02553320862352848,
-0.03471927344799042,
-0.04020513966679573,
0.026343202218413353,
-0.0351610891520977,
0.014653521589934826,
0.040389228612184525,
0.02463117055594921,
-0.053570035845041275,
-0.023894812911748886,
-0.043040115386247635,
-0.05323867127299309,
-0.03407495841383934,
-0.019495073705911636,
-0.024281401187181473,
-0.028239324688911438,
-0.01484681572765112,
-0.014073639176785946,
0.0070000020787119865,
0.03490336239337921,
-0.04550691694021225,
0.06862854957580566,
-0.006765287835150957,
0.006484551355242729,
0.04602236673235893,
-0.032399747520685196,
-0.04469692334532738,
0.02788955345749855,
0.09786196053028107,
0.04259830340743065,
0.041604217141866684,
0.0191084872931242,
0.026637746021151543,
0.0038405663799494505,
-0.028036825358867645,
0.020360294729471207,
-0.04882052540779114,
-0.06575675308704376,
0.04922552406787872,
0.012996716424822807,
0.004443459212779999,
-0.0705062672495842,
0.003571335691958666,
0.006590402685105801,
-0.05368048697710037,
0.03400132432579994,
0.023876404389739037,
0.01027219183743,
-0.064652219414711,
-0.01845496892929077,
-0.03961605206131935,
-0.014589089900255203,
0.0035828412510454655,
0.03490336239337921,
-0.00008363126835320145,
0.053606852889060974,
-0.0009549640817567706,
-0.012803422287106514,
-0.04491782933473587,
-0.01874951273202896,
-0.002604865934699774,
0.08917293697595596,
0.059718623757362366,
-0.05220777168869972,
0.033909279853105545,
-0.006015123333781958,
-0.026564110070466995,
0.027797508984804153,
0.04616963863372803,
0.0053293900564312935,
0.05195004492998123,
-0.015481923706829548,
0.011395137757062912,
0.01642077974975109,
-0.001624589553102851,
-0.007681132759898901,
-0.03633926063776016,
0.004645958077162504,
-0.10014466941356659,
-0.025459572672843933,
-0.015058518387377262,
-0.02461276203393936,
-0.02969363145530224,
0.036854710429906845,
-0.004915188532322645,
0.03297042474150658,
-0.03792243078351021,
0.055374111980199814,
-0.017424067482352257,
0.05747273191809654,
-0.0033780415542423725,
0.004029258154332638,
-0.008527944795787334,
-0.01235240325331688,
0.031552933156490326,
-0.010520712472498417,
-0.00749704334884882,
-0.08048391342163086,
0.013420121744275093,
0.0024368842132389545,
-0.0191084872931242,
0.006323473062366247,
-0.004657463636249304,
-0.04256148263812065,
0.027963189408183098,
-0.03116634674370289,
-0.006010521203279495,
-0.050661422312259674,
-0.003329718252643943,
-0.04933597519993782,
-0.021961873397231102,
0.03501381725072861,
0.027779100462794304,
0.028147278353571892,
0.011404342018067837,
-0.01647600717842579,
0.005886260420084,
-0.037130843847990036,
-0.007234715856611729,
-0.010180147364735603,
0.041236039251089096,
0.033688370138406754,
0.011984224431216717,
0.022735048085451126,
0.06229587644338608,
-0.010262987576425076,
-0.02170414850115776,
-0.036210399121046066,
0.002183761214837432,
-0.02991453744471073,
-0.010520712472498417,
-0.0007455623126588762,
-0.028994090855121613,
-0.059203170239925385,
-0.08453388512134552,
-0.00882248766720295,
-0.003709402633830905,
0.005573308560997248,
0.015334652736783028,
-0.014625907875597477,
0.06509403139352798,
-0.01940302923321724,
-0.04436556249856949,
-0.06608811765909195,
-0.027116378769278526,
0.025643661618232727,
0.02761342003941536,
0.060933612287044525,
0.013714664615690708,
-0.01674293726682663,
0.02148324064910412,
0.011413547210395336,
0.0013484553201124072,
-0.015343856997787952,
-0.0019030248513445258,
0.010042080655694008,
-0.030448397621512413,
-0.02881000190973282,
0.011717294342815876,
-0.02028665877878666,
0.04425510764122009,
-0.00778238195925951,
-0.03633926063776016,
0.031055891886353493,
0.06365813314914703,
0.05496911332011223,
0.03256542608141899,
-0.0021595994476228952,
-0.03646812215447426,
-0.032454971224069595,
-0.057951364666223526,
-0.05073505640029907,
-0.030908621847629547,
-0.04200921580195427,
0.009848786517977715,
0.03661539405584335,
0.07879029214382172,
0.049814607948064804,
0.04572782292962074,
0.013134783133864403,
0.0034033539704978466,
-0.004691980313509703,
-0.016383962705731392,
-0.007428009994328022,
0.008541750721633434,
0.005264958832412958,
-0.015168971382081509,
-0.040131501853466034,
0.024152537807822227,
0.05253913253545761,
-0.007483236491680145,
-0.003150230972096324,
0.058650903403759,
-0.0050992779433727264,
-0.016218282282352448,
0.05555820092558861,
0.0308718029409647,
-0.028589094057679176,
0.013843527995049953,
-0.03562131151556969,
-0.010686393827199936,
0.004452663939446211,
0.06616175174713135,
0.006111770402640104,
0.0146903395652771,
-0.059166353195905685,
-0.0294174961745739,
0.004385931417346001,
-0.04377647489309311,
0.01878632977604866,
0.02028665877878666,
0.04377647489309311,
-0.0469796322286129,
0.0034493764396756887,
0.03983696177601814,
-0.02026825025677681,
-0.028570685535669327,
0.014119662344455719,
0.03311769291758537,
-0.048305075615644455,
0.07768575102090836,
-0.006802105810493231,
-0.07367260009050369,
-0.035418812185525894,
0.04734781011939049,
0.010815256275236607,
0.028110461309552193,
0.0036610793322324753,
-0.046869177371263504,
0.03022748976945877,
-0.021777784451842308,
-0.011450364254415035,
-0.07190534472465515,
-0.013548984192311764,
0.004174228757619858,
0.025385936722159386,
0.052723221480846405,
-0.0441446527838707,
0.010962527245283127,
0.041788309812545776,
0.08004210144281387,
0.042451031506061554,
-0.0351794958114624,
-0.017166342586278915,
0.03987377882003784,
0.0005125741008669138,
0.02409731037914753,
0.02229323424398899,
-0.0037623285315930843,
0.03751743212342262,
-0.009664696641266346,
0.0015739649534225464,
-0.025312300771474838,
-0.008053913712501526,
-0.002770546358078718,
0.03171861544251442,
0.017985541373491287,
0.004988824483007193,
0.017405658960342407,
0.007437214255332947,
0.035345178097486496,
-0.015969760715961456,
0.059497714042663574,
0.004749508108943701,
-0.02728205919265747,
0.009342540055513382,
-0.032105203717947006,
-0.010621962137520313,
-0.01822485774755478,
-0.004333005752414465,
-0.02139119617640972,
-0.033007241785526276,
-0.0019904673099517822,
0.05195004492998123,
-0.02111506089568138,
0.04204603284597397,
-0.00469888374209404,
-0.04550691694021225,
0.08563841879367828,
0.08247207850217819,
0.006682447623461485,
0.013116374611854553,
-0.054748207330703735,
-0.01338330376893282,
0.03690993785858154,
0.0045654186978936195,
-0.01762656681239605,
0.019789617508649826,
0.024447081610560417,
-0.030466806143522263,
-0.04134649410843849,
-0.009913217276334763,
0.027815917506814003,
0.048599619418382645,
-0.08048391342163086,
-0.003292900277301669,
-0.0527600422501564,
-0.01967916451394558,
-0.008840896189212799,
0.07871665805578232,
-0.012269563041627407,
-0.0470164492726326,
-0.0732676088809967,
0.026950698345899582,
0.028294550254940987,
0.06988035887479782,
0.005637739785015583,
-0.0030788963194936514,
0.025938205420970917,
0.017249181866645813,
0.015454310923814774,
-0.030485214665532112,
0.015951352193951607,
-0.06822355836629868,
0.043592385947704315,
-0.04904143139719963,
-0.006907957140356302,
-0.008265617303550243,
0.02198028191924095,
-0.009342540055513382,
-0.07069035619497299,
0.030172262340784073,
-0.03635766729712486,
0.02529389224946499,
0.00521433399990201,
0.038364242762327194,
-0.002551940269768238,
0.005357003305107355,
0.02706115134060383,
-0.005218936130404472,
0.015113744884729385,
-0.003216963494196534,
0.03784879297018051,
0.010051284916698933,
-0.03972650691866875,
-0.0010228471364825964,
0.02058120258152485,
0.03873242437839508,
-0.015334652736783028,
0.001845496823079884,
-0.033614736050367355,
-0.06376858800649643,
-0.02463117055594921,
-0.0007668476901017129,
-0.06365813314914703,
0.009922422468662262,
0.058319542557001114,
0.03295201435685158,
-0.03204997628927231,
0.004602236673235893,
-0.042414210736751556,
-0.0264168381690979,
0.004068376962095499,
-0.01903485134243965,
-0.12105723470449448,
-0.025330711156129837,
-0.001481920131482184,
0.023342544212937355,
-0.02286391146481037,
0.07753848284482956,
-0.050035517662763596,
0.010023671202361584,
0.010732416063547134,
0.012867853976786137,
-0.025072984397411346,
-0.013539779931306839,
0.003608153434470296,
-0.06314268708229065,
-0.010944118723273277,
-0.021667329594492912,
0.037167664617300034,
-0.005030244588851929,
-0.038327425718307495,
0.0024161741603165865,
-0.0587245374917984,
0.06686129420995712,
0.0028994090389460325,
-0.07768575102090836,
-0.009406971745193005,
-0.009885604493319988,
0.03081657551229,
0.02001052536070347,
-0.00983958225697279,
0.029601585119962692,
0.025919796898961067,
-0.02669297158718109,
-0.08107300102710724,
-0.014469431713223457,
0.011928997002542019,
0.0014128866605460644,
0.015656808391213417,
-0.028349777683615685,
0.03291519731283188,
0.024539126083254814,
0.048599619418382645,
0.07293624430894852,
0.016107827425003052,
-0.03355950862169266,
0.023931629955768585,
-0.03166338801383972,
0.00851413793861866,
-0.07709667086601257,
0.019826434552669525,
-0.031865887343883514,
0.05080869048833847,
-0.021575285121798515,
0.04940961301326752,
-0.017810655757784843,
-0.0037393171805888414,
0.006756083108484745,
0.03795924782752991,
-0.04808416962623596,
0.0007674229564145207,
0.030374761670827866,
-0.02851545810699463,
0.026582518592476845,
0.020120978355407715,
-0.040389228612184525,
-0.00838527549058199,
0.013171601109206676,
0.03665221109986305,
0.043629202991724014,
0.018408946692943573,
0.03792243078351021,
-0.013797505758702755,
-0.056220922619104385,
0.004498686175793409,
0.056810010224580765,
-0.0023632484953850508,
0.01671532355248928,
-0.02586456947028637,
0.0469428151845932,
-0.010226169601082802,
0.001894970890134573,
-0.03175543248653412,
-0.018372127786278725,
-0.04292966425418854,
0.03648653253912926,
0.08416569977998734,
-0.022679822519421577,
-0.07013808935880661,
0.04429192468523979,
0.022256415337324142,
0.005610126536339521,
-0.03466404601931572,
-0.0175897479057312,
0.005715977866202593,
-0.00996844470500946,
-0.018408946692943573,
0.057656820863485336,
0.012453651987016201,
0.024852078408002853,
-0.047090083360672,
0.033080875873565674,
-0.026564110070466995,
-0.08365025371313095,
0.051876410841941833,
0.0033826439175754786,
0.037738341838121414,
-0.08836293965578079,
-0.029178179800510406,
-0.030098628252744675,
0.02198028191924095,
0.038953330367803574,
0.013088760897517204,
0.0058448403142392635,
0.026637746021151543,
0.07507168501615524,
-0.03352269157767296,
-0.0031019074376672506,
0.021059835329651833,
-0.006157792638987303,
-0.015500333160161972,
0.054527297616004944,
-0.008408286608755589,
-0.012490469962358475,
-0.0323813371360302,
-0.019218940287828445,
-0.03609994426369667,
0.02555161714553833,
0.020728474482893944,
-0.040352411568164825,
0.025975022464990616,
-0.018427355214953423,
0.008578568696975708,
-0.009894808754324913,
0.036320850253105164,
0.053017765283584595,
0.007800790946930647,
0.037738341838121414,
-0.04138331115245819,
-0.02557002566754818,
-0.006420120131224394,
-0.016844185069203377,
0.06826037168502808,
-0.029509540647268295,
-0.012113086879253387,
0.015316243283450603,
-0.012453651987016201,
-0.031847476959228516,
-0.010787642560899258,
0.013815914280712605,
0.034240640699863434,
-0.08851021528244019,
0.012361607514321804,
-0.0005654998240061104,
0.015445105731487274,
0.01993688941001892,
-0.002466798759996891,
0.03737016022205353,
-0.009655492380261421,
0.06660357117652893,
-0.015767263248562813,
-0.09314926713705063,
0.03381723538041115,
-0.03140566125512123,
-0.010170943103730679,
0.008081527426838875,
-0.04296648129820824,
0.010677188634872437,
0.08541750907897949,
-0.022458914667367935,
-0.011708090081810951,
-0.029435904696583748,
0.04429192468523979,
-0.01676134578883648
] |
710,048
|
urllib3_future._async.poolmanager
|
connection_from_host
|
Get a :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on the host, port, and scheme.
If ``port`` isn't given, it will be derived from the ``scheme`` using
``urllib3.connectionpool.port_by_scheme``. If ``pool_kwargs`` is
provided, it is merged with the instance's ``connection_pool_kw``
variable and used to create the new connection pool, if one is
needed.
|
def _new_pool(
self,
scheme: str,
host: str,
port: int,
request_context: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
"""
pool_cls: type[AsyncHTTPConnectionPool] = self.pool_classes_by_scheme[scheme]
if request_context is None:
request_context = self.connection_pool_kw.copy()
# Default blocksize to DEFAULT_BLOCKSIZE if missing or explicitly
# set to 'None' in the request_context.
if request_context.get("blocksize") is None:
request_context["blocksize"] = DEFAULT_BLOCKSIZE
# Although the context has everything necessary to create the pool,
# this function has historically only used the scheme, host, and port
# in the positional args. When an API change is acceptable these can
# be removed.
for key in ("scheme", "host", "port"):
request_context.pop(key, None)
if scheme == "http":
for kw in SSL_KEYWORDS:
request_context.pop(kw, None)
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
if not self._resolver.is_available():
self._resolver = self._resolver.recycle()
request_context["resolver"] = self._resolver
# By default, each HttpPool can have up to num_pools connections
if "maxsize" not in request_context:
request_context["maxsize"] = self._num_pools
return pool_cls(host, port, **request_context)
|
(self, host: str | None, port: Optional[int] = None, scheme: str | None = 'http', pool_kwargs: Optional[dict[str, Any]] = None) -> urllib3_future._async.connectionpool.AsyncHTTPConnectionPool
|
[
0.009840121492743492,
-0.07312434166669846,
-0.04602488875389099,
-0.0370224192738533,
-0.04727676510810852,
0.02678648568689823,
-0.040870100259780884,
-0.008924225345253944,
-0.043116115033626556,
-0.08718954771757126,
0.04742404446005821,
0.05423572659492493,
-0.020582329481840134,
0.03917638584971428,
0.002344968030229211,
-0.011248482391238213,
0.0057439059019088745,
-0.03120487369596958,
-0.006549341604113579,
-0.06657040119171143,
-0.0003161334607284516,
0.08910418301820755,
-0.001456687692552805,
-0.007612516637891531,
0.01885179430246353,
0.052689291536808014,
-0.024669339880347252,
0.006507919169962406,
0.03473958373069763,
-0.0018064768519252539,
0.01993798092007637,
0.07422894239425659,
0.007216702215373516,
0.09330165386199951,
0.056003082543611526,
-0.0017846149858087301,
0.03194127231836319,
0.07827913016080856,
0.010475264862179756,
-0.005877378396689892,
-0.02450365014374256,
-0.07430257648229599,
-0.06211518868803978,
-0.004869433119893074,
0.04425753280520439,
0.03825588524341583,
0.011736346408724785,
-0.01049367431551218,
-0.003978851716965437,
-0.04676128551363945,
-0.01638486050069332,
0.04377887398004532,
0.001330119208432734,
0.012942198663949966,
-0.017194898799061775,
0.07636449486017227,
-0.04458891227841377,
0.054751206189394,
-0.02225763536989689,
0.06962645053863525,
-0.02349110320210457,
0.017029209062457085,
0.009154350496828556,
-0.019440913572907448,
-0.08917782455682755,
-0.02242332510650158,
-0.05526668578386307,
-0.012104545719921589,
0.010963127948343754,
-0.011027563363313675,
0.07073105126619339,
0.055119406431913376,
-0.01439658459275961,
-0.027799032628536224,
0.02026936039328575,
0.013181528076529503,
0.03444502502679825,
-0.01622837595641613,
-0.031683534383773804,
-0.004832613281905651,
-0.00040444370824843645,
-0.007331764791160822,
0.025350509211421013,
-0.049338679760694504,
0.07360300421714783,
-0.08137200027704239,
-0.017535481601953506,
0.0023104494903236628,
-0.050185538828372955,
-0.00891962368041277,
-0.002784505719318986,
-0.010447649285197258,
0.030118687078356743,
0.005030520260334015,
0.010917103849351406,
-0.04168013855814934,
-0.044883470982313156,
-0.01412964053452015,
0.008809163235127926,
-0.024448420852422714,
-0.03998642414808273,
-0.046135347336530685,
-0.06145242974162102,
-0.008450169116258621,
0.007953100837767124,
-0.05574534460902214,
0.03635966032743454,
-0.022478554397821426,
-0.03126010298728943,
-0.051768794655799866,
-0.0020711198449134827,
0.02575552649796009,
0.021797386929392815,
0.05025917664170265,
-0.02967684715986252,
0.01314470823854208,
-0.05629764124751091,
-0.007916280999779701,
-0.013209142722189426,
-0.034168876707553864,
-0.13910561800003052,
0.04359477385878563,
0.023951351642608643,
0.031849224120378494,
0.030818264931440353,
0.05633446201682091,
0.00745142949745059,
-0.04978051781654358,
-0.025147998705506325,
-0.0073133548721671104,
0.05210017412900925,
0.031683534383773804,
0.01050287950783968,
0.03913956508040428,
-0.016136325895786285,
0.03586259111762047,
-0.08682134747505188,
0.05081147700548172,
-0.007930087856948376,
0.03477640450000763,
0.00960999634116888,
0.027578113600611687,
-0.041017379611730576,
0.014221690595149994,
0.0036865936126559973,
-0.004146842285990715,
0.017517073079943657,
-0.035715311765670776,
-0.024448420852422714,
-0.01644008979201317,
0.02137395739555359,
-0.0020066851284354925,
0.07857368886470795,
0.052836570888757706,
-0.01712125912308693,
0.005343489348888397,
0.006093695294111967,
-0.009490331634879112,
-0.016302015632390976,
-0.03286176919937134,
-0.010116270743310452,
0.048786379396915436,
0.021392367780208588,
-0.04974369704723358,
-0.03687513992190361,
-0.032199010252952576,
0.0882941484451294,
-0.09816188365221024,
0.005467756651341915,
-0.030045047402381897,
-0.04322657361626625,
0.014000770635902882,
-0.020600739866495132,
0.041017379611730576,
0.023859301581978798,
0.03851362690329552,
0.007115447893738747,
-0.01571289636194706,
0.0005931457271799445,
-0.008684895932674408,
0.011754756793379784,
0.0014198677381500602,
-0.025810757651925087,
0.015225033275783062,
-0.005187004804611206,
0.025700297206640244,
-0.0033690216951072216,
0.030615756288170815,
0.02292039431631565,
0.0031849222723394632,
-0.04812362417578697,
0.021963076665997505,
0.026399875059723854,
-0.04359477385878563,
0.050737835466861725,
-0.05095875635743141,
-0.017056822776794434,
0.025700297206640244,
0.0022793826647102833,
0.07209338247776031,
0.010723798535764217,
0.0154459523037076,
0.008114187978208065,
0.023380642756819725,
0.03718810901045799,
-0.06248338893055916,
-0.05784408003091812,
0.0009383324068039656,
-0.030394835397601128,
0.03652535006403923,
-0.02349110320210457,
0.009370666928589344,
-0.026178956031799316,
0.04845500364899635,
-0.009379872120916843,
0.06800637394189835,
-0.004800396040081978,
-0.006692018825560808,
-0.019164763391017914,
-0.008924225345253944,
0.02014049142599106,
-0.014488634653389454,
0.020066851750016212,
-0.010806643404066563,
0.026344645768404007,
-0.0074560316279530525,
0.005766918417066336,
-0.01907271333038807,
-0.02363838255405426,
0.021631697192788124,
-0.014194075018167496,
0.002239110879600048,
0.04094374179840088,
0.0229572132229805,
0.043484315276145935,
-0.026915354654192924,
0.00450583640486002,
0.01802334561944008,
-0.013558931648731232,
0.020158901810646057,
0.021576467901468277,
0.01622837595641613,
0.025534607470035553,
-0.03472117707133293,
-0.04020734131336212,
0.026381466537714005,
-0.035181425511837006,
0.014718758873641491,
0.04035462066531181,
0.02470616064965725,
-0.05357297137379646,
-0.023896122351288795,
-0.04304247349500656,
-0.05324159190058708,
-0.03404000774025917,
-0.019496142864227295,
-0.024301141500473022,
-0.0282408706843853,
-0.01483842357993126,
-0.01401918102055788,
0.007087832782417536,
0.03492368385195732,
-0.04550940915942192,
0.06866913288831711,
-0.006756453774869442,
0.006475701928138733,
0.045988067984580994,
-0.032383110374212265,
-0.04466255009174347,
0.027835851535201073,
0.09794095903635025,
0.04256381466984749,
0.041569679975509644,
0.019127942621707916,
0.026676025241613388,
0.0038752956315875053,
-0.028001541271805763,
0.020379820838570595,
-0.04882320016622543,
-0.06572353839874268,
0.04922822117805481,
0.013015838339924812,
0.004441401455551386,
-0.0705101266503334,
0.003479481441900134,
0.006595366634428501,
-0.05368342995643616,
0.033966366201639175,
0.02380407229065895,
0.010272755287587643,
-0.06469257920980453,
-0.018428364768624306,
-0.039618223905563354,
-0.014645119197666645,
0.0035991461481899023,
0.034850046038627625,
-0.000044478740164777264,
0.05357297137379646,
-0.0009555917349644005,
-0.01271207444369793,
-0.044920291751623154,
-0.01868610456585884,
-0.0026372261345386505,
0.08910418301820755,
0.059721894562244415,
-0.05221063271164894,
0.033929549157619476,
-0.005987837910652161,
-0.026510335505008698,
0.027817443013191223,
0.04620898887515068,
0.005311272107064724,
0.051952894777059555,
-0.015491977334022522,
0.011460197158157825,
0.01639406569302082,
-0.0016534441383555532,
-0.007699963636696339,
-0.03632284328341484,
0.0046324050053954124,
-0.10015015304088593,
-0.025479378178715706,
-0.015031727962195873,
-0.02455887943506241,
-0.02967684715986252,
0.03683831915259361,
-0.004920060746371746,
0.03295382112264633,
-0.03792450949549675,
0.055303506553173065,
-0.017397407442331314,
0.05747587978839874,
-0.003385130548849702,
0.004047888796776533,
-0.008491591550409794,
-0.012307055294513702,
0.03155466169118881,
-0.010512084700167179,
-0.007511261850595474,
-0.08048832416534424,
0.013439266942441463,
0.00240710168145597,
-0.019109534099698067,
0.00625938456505537,
-0.004613995086401701,
-0.04252699762582779,
0.027946311980485916,
-0.031186463311314583,
-0.006070682778954506,
-0.05062737688422203,
-0.003378226887434721,
-0.0493755005300045,
-0.021944666281342506,
0.034997325390577316,
0.027817443013191223,
0.028148820623755455,
0.01137735228985548,
-0.016504524275660515,
0.005881980527192354,
-0.037132877856492996,
-0.007239714730530977,
-0.010199115611612797,
0.04123830050230026,
0.03372703865170479,
0.011892830953001976,
0.022717883810400963,
0.06229928880929947,
-0.010254344902932644,
-0.021760566160082817,
-0.03617556020617485,
0.0022103453520685434,
-0.029916176572442055,
-0.010521288961172104,
-0.0007732181111350656,
-0.02895885892212391,
-0.05924323573708534,
-0.08453851193189621,
-0.008813765831291676,
-0.0036290623247623444,
0.005628843791782856,
0.01533549278974533,
-0.014599094167351723,
0.06509760022163391,
-0.01938568241894245,
-0.044367991387844086,
-0.06612855941057205,
-0.027099454775452614,
0.0256082471460104,
0.02770698256790638,
0.06090013310313225,
0.0136878015473485,
-0.016716239973902702,
0.02153964713215828,
0.011450991965830326,
0.0013347218045964837,
-0.015372312627732754,
-0.0018559535965323448,
0.009978195652365685,
-0.03050529584288597,
-0.028848400339484215,
0.011745551601052284,
-0.020232541486620903,
0.044220712035894394,
-0.007782808504998684,
-0.03635966032743454,
0.031002365052700043,
0.063551165163517,
0.054935306310653687,
0.03258562088012695,
-0.0021758265793323517,
-0.03650693967938423,
-0.03249357268214226,
-0.05791771784424782,
-0.05077465623617172,
-0.0308734942227602,
-0.041937876492738724,
0.009876941330730915,
0.036617401987314224,
0.07879460602998734,
0.04981733858585358,
0.045803967863321304,
0.013126297853887081,
0.003421950386837125,
-0.00467152614146471,
-0.016458500176668167,
-0.007400801870971918,
0.008556026965379715,
0.005274452269077301,
-0.015234237536787987,
-0.040133703500032425,
0.024117041379213333,
0.052505191415548325,
-0.007492851931601763,
-0.0031411985401064157,
0.058654118329286575,
-0.005177800077944994,
-0.01621917076408863,
0.055524423718452454,
0.030836675316095352,
-0.02859066054224968,
0.013825876638293266,
-0.03562326356768608,
-0.010640953667461872,
0.0044989329762756824,
0.06620220094919205,
0.006139719858765602,
0.014709554612636566,
-0.059206414967775345,
-0.029419109225273132,
0.004420690704137087,
-0.043852511793375015,
0.01871372014284134,
0.020250950008630753,
0.04377887398004532,
-0.04694538563489914,
0.003449565265327692,
0.03983914479613304,
-0.020250950008630753,
-0.02859066054224968,
0.014212485402822495,
0.03313791751861572,
-0.04830772057175636,
0.0776900127530098,
-0.006692018825560808,
-0.07367663830518723,
-0.03545757383108139,
0.04731358587741852,
0.010889488272368908,
0.028112001717090607,
0.0036888946779072285,
-0.046871744096279144,
0.03019232675433159,
-0.021778976544737816,
-0.01147860661149025,
-0.07187246531248093,
-0.013476086780428886,
0.004185963422060013,
0.02540573850274086,
0.05279975011944771,
-0.0441470742225647,
0.010898693464696407,
0.04175378009676933,
0.08004648238420486,
0.04249017685651779,
-0.035236652940511703,
-0.01725933328270912,
0.039949603378772736,
0.0005077120731584728,
0.024061812087893486,
0.022294456139206886,
-0.0037740408442914486,
0.037519488483667374,
-0.009692841209471226,
0.0016292810905724764,
-0.02524004876613617,
-0.00802213791757822,
-0.0027799031231552362,
0.0317387618124485,
0.01802334561944008,
0.00494767539203167,
0.017388202250003815,
0.0074100070632994175,
0.0352918840944767,
-0.015961430966854095,
0.059537794440984726,
0.004772780928760767,
-0.027301963418722153,
0.009333847090601921,
-0.03214378282427788,
-0.010640953667461872,
-0.01819824054837227,
-0.004416088107973337,
-0.021300317719578743,
-0.03300904855132103,
-0.0019537564367055893,
0.051989711821079254,
-0.021060988306999207,
0.042048338800668716,
-0.004745165817439556,
-0.04547258839011192,
0.08564311265945435,
0.08247660100460052,
0.006692018825560808,
0.013043452985584736,
-0.054714385420084,
-0.013356422074139118,
0.036948781460523605,
0.004563367459923029,
-0.017599917948246002,
0.019827522337436676,
0.024448420852422714,
-0.030450066551566124,
-0.04127512127161026,
-0.009932170622050762,
0.027817443013191223,
0.048602283000946045,
-0.08048832416534424,
-0.0032976833172142506,
-0.05276293307542801,
-0.01975388266146183,
-0.008822971023619175,
0.07872097194194794,
-0.012242619879543781,
-0.04698220640420914,
-0.07323480397462845,
0.026933765038847923,
0.0282592810690403,
0.06995783001184464,
0.005624241195619106,
-0.0031181862577795982,
0.026013266295194626,
0.01731456257402897,
0.0154459523037076,
-0.03052370622754097,
0.015924612060189247,
-0.06822729110717773,
0.04359477385878563,
-0.04904412105679512,
-0.006903733126819134,
-0.008215442299842834,
0.021981487050652504,
-0.009297027252614498,
-0.0706205889582634,
0.03015550598502159,
-0.03634124994277954,
0.025313688442111015,
0.005150184966623783,
0.038366347551345825,
-0.002561284927651286,
0.005352694541215897,
0.027081044390797615,
-0.0052560423500835896,
0.015160597860813141,
-0.0032010308932513,
0.037850867956876755,
0.010079450905323029,
-0.03969186171889305,
-0.0009509892552159727,
0.020545510575175285,
0.038697727024555206,
-0.015353902243077755,
0.0018271880690008402,
-0.033616576343774796,
-0.06377208232879639,
-0.024632519111037254,
-0.0008048602030612528,
-0.06369844824075699,
0.00989535078406334,
0.05839637666940689,
0.033064279705286026,
-0.032033320516347885,
0.00458177737891674,
-0.0423797182738781,
-0.0264919251203537,
0.00406399741768837,
-0.019017484039068222,
-0.12106386572122574,
-0.025368917733430862,
-0.001469344599172473,
0.023380642756819725,
-0.022846754640340805,
0.0775427296757698,
-0.050038259476423264,
0.010033425875008106,
0.010723798535764217,
0.01286855898797512,
-0.02503753826022148,
-0.01358654722571373,
0.003578434931114316,
-0.06310932338237762,
-0.010907898657023907,
-0.02166851796209812,
0.037151288241147995,
-0.004993700422346592,
-0.038366347551345825,
0.0024554277770221233,
-0.05872775614261627,
0.06686495989561081,
0.002874254249036312,
-0.0776900127530098,
-0.009370666928589344,
-0.009904555976390839,
0.030799854546785355,
0.01995639130473137,
-0.009803300723433495,
0.029529567807912827,
0.025976447388529778,
-0.026712844148278236,
-0.081077441573143,
-0.01447022520005703,
0.011837600730359554,
0.0013669391628354788,
0.015648461878299713,
-0.02840656042098999,
0.03293541073799133,
0.024632519111037254,
0.048639100044965744,
0.07294024527072906,
0.01607189141213894,
-0.0335429385304451,
0.02398817241191864,
-0.03160989284515381,
0.00845937430858612,
-0.07710089534521103,
0.019809111952781677,
-0.03188604116439819,
0.05081147700548172,
-0.02153964713215828,
0.049485959112644196,
-0.01783004216849804,
-0.0036865936126559973,
0.00671042874455452,
0.03799814730882645,
-0.04797634482383728,
0.0008014083723537624,
0.030431656166911125,
-0.028517020866274834,
0.02662079595029354,
0.02010367065668106,
-0.04042826220393181,
-0.008353517390787601,
0.013126297853887081,
0.036598991602659225,
0.04363159462809563,
0.01832710951566696,
0.03792450949549675,
-0.013807466253638268,
-0.05622400343418121,
0.004480523057281971,
0.05684994161128998,
-0.002312750555574894,
0.016688624396920204,
-0.025884397327899933,
0.046871744096279144,
-0.010143885388970375,
0.0018076275009661913,
-0.031867630779743195,
-0.01836393028497696,
-0.042968835681676865,
0.03654376044869423,
0.08417031168937683,
-0.022681064903736115,
-0.07014192640781403,
0.04425753280520439,
0.02222081646323204,
0.005661061033606529,
-0.034684356302022934,
-0.017590712755918503,
0.005670266225934029,
-0.009941375814378262,
-0.018455980345606804,
0.05769680067896843,
0.01252797432243824,
0.02487184852361679,
-0.04709266498684883,
0.033101100474596024,
-0.026565564796328545,
-0.08372847735881805,
0.05184243246912956,
0.003389732912182808,
0.03774040937423706,
-0.08836778253316879,
-0.029198188334703445,
-0.030045047402381897,
0.021981487050652504,
0.03899228572845459,
0.013089478015899658,
0.00582214817404747,
0.026676025241613388,
0.07507579773664474,
-0.0335245281457901,
-0.0030905711464583874,
0.021079398691654205,
-0.006102900020778179,
-0.015501182526350021,
0.05453028902411461,
-0.008427157066762447,
-0.012472745031118393,
-0.032383110374212265,
-0.019275223836302757,
-0.036065101623535156,
0.025553017854690552,
0.020692789927124977,
-0.040465082973241806,
0.025994855910539627,
-0.018391545861959457,
0.008542219176888466,
-0.009978195652365685,
0.03630443289875984,
0.0529838502407074,
0.00785184558480978,
0.03770358860492706,
-0.04134875908493996,
-0.025479378178715706,
-0.006438881624490023,
-0.016909543424844742,
0.06822729110717773,
-0.029492748901247978,
-0.012058520689606667,
0.015307878144085407,
-0.012435924261808395,
-0.03188604116439819,
-0.010788233950734138,
0.013789056800305843,
0.034297745674848557,
-0.08851506561040878,
0.012389900162816048,
-0.0006012000958435237,
0.0154367471113801,
0.020030030980706215,
-0.002499151509255171,
0.037335388362407684,
-0.009646816179156303,
0.06671767681837082,
-0.015786536037921906,
-0.09308073669672012,
0.033800676465034485,
-0.03137056529521942,
-0.010189910419285297,
0.008054355159401894,
-0.04293201491236687,
0.01067777443677187,
0.08542219549417496,
-0.022460145875811577,
-0.011690321378409863,
-0.029419109225273132,
0.044367991387844086,
-0.016697829589247704
] |
710,049
|
urllib3_future._async.poolmanager
|
connection_from_pool_key
|
Get a :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on the provided pool key.
``pool_key`` should be a namedtuple that only contains immutable
objects. At a minimum it must have the ``scheme``, ``host``, and
``port`` fields.
|
def _new_pool(
self,
scheme: str,
host: str,
port: int,
request_context: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
"""
pool_cls: type[AsyncHTTPConnectionPool] = self.pool_classes_by_scheme[scheme]
if request_context is None:
request_context = self.connection_pool_kw.copy()
# Default blocksize to DEFAULT_BLOCKSIZE if missing or explicitly
# set to 'None' in the request_context.
if request_context.get("blocksize") is None:
request_context["blocksize"] = DEFAULT_BLOCKSIZE
# Although the context has everything necessary to create the pool,
# this function has historically only used the scheme, host, and port
# in the positional args. When an API change is acceptable these can
# be removed.
for key in ("scheme", "host", "port"):
request_context.pop(key, None)
if scheme == "http":
for kw in SSL_KEYWORDS:
request_context.pop(kw, None)
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
if not self._resolver.is_available():
self._resolver = self._resolver.recycle()
request_context["resolver"] = self._resolver
# By default, each HttpPool can have up to num_pools connections
if "maxsize" not in request_context:
request_context["maxsize"] = self._num_pools
return pool_cls(host, port, **request_context)
|
(self, pool_key: urllib3_future.poolmanager.PoolKey, request_context: dict[str, typing.Any]) -> urllib3_future._async.connectionpool.AsyncHTTPConnectionPool
|
[
0.009840121492743492,
-0.07312434166669846,
-0.04602488875389099,
-0.0370224192738533,
-0.04727676510810852,
0.02678648568689823,
-0.040870100259780884,
-0.008924225345253944,
-0.043116115033626556,
-0.08718954771757126,
0.04742404446005821,
0.05423572659492493,
-0.020582329481840134,
0.03917638584971428,
0.002344968030229211,
-0.011248482391238213,
0.0057439059019088745,
-0.03120487369596958,
-0.006549341604113579,
-0.06657040119171143,
-0.0003161334607284516,
0.08910418301820755,
-0.001456687692552805,
-0.007612516637891531,
0.01885179430246353,
0.052689291536808014,
-0.024669339880347252,
0.006507919169962406,
0.03473958373069763,
-0.0018064768519252539,
0.01993798092007637,
0.07422894239425659,
0.007216702215373516,
0.09330165386199951,
0.056003082543611526,
-0.0017846149858087301,
0.03194127231836319,
0.07827913016080856,
0.010475264862179756,
-0.005877378396689892,
-0.02450365014374256,
-0.07430257648229599,
-0.06211518868803978,
-0.004869433119893074,
0.04425753280520439,
0.03825588524341583,
0.011736346408724785,
-0.01049367431551218,
-0.003978851716965437,
-0.04676128551363945,
-0.01638486050069332,
0.04377887398004532,
0.001330119208432734,
0.012942198663949966,
-0.017194898799061775,
0.07636449486017227,
-0.04458891227841377,
0.054751206189394,
-0.02225763536989689,
0.06962645053863525,
-0.02349110320210457,
0.017029209062457085,
0.009154350496828556,
-0.019440913572907448,
-0.08917782455682755,
-0.02242332510650158,
-0.05526668578386307,
-0.012104545719921589,
0.010963127948343754,
-0.011027563363313675,
0.07073105126619339,
0.055119406431913376,
-0.01439658459275961,
-0.027799032628536224,
0.02026936039328575,
0.013181528076529503,
0.03444502502679825,
-0.01622837595641613,
-0.031683534383773804,
-0.004832613281905651,
-0.00040444370824843645,
-0.007331764791160822,
0.025350509211421013,
-0.049338679760694504,
0.07360300421714783,
-0.08137200027704239,
-0.017535481601953506,
0.0023104494903236628,
-0.050185538828372955,
-0.00891962368041277,
-0.002784505719318986,
-0.010447649285197258,
0.030118687078356743,
0.005030520260334015,
0.010917103849351406,
-0.04168013855814934,
-0.044883470982313156,
-0.01412964053452015,
0.008809163235127926,
-0.024448420852422714,
-0.03998642414808273,
-0.046135347336530685,
-0.06145242974162102,
-0.008450169116258621,
0.007953100837767124,
-0.05574534460902214,
0.03635966032743454,
-0.022478554397821426,
-0.03126010298728943,
-0.051768794655799866,
-0.0020711198449134827,
0.02575552649796009,
0.021797386929392815,
0.05025917664170265,
-0.02967684715986252,
0.01314470823854208,
-0.05629764124751091,
-0.007916280999779701,
-0.013209142722189426,
-0.034168876707553864,
-0.13910561800003052,
0.04359477385878563,
0.023951351642608643,
0.031849224120378494,
0.030818264931440353,
0.05633446201682091,
0.00745142949745059,
-0.04978051781654358,
-0.025147998705506325,
-0.0073133548721671104,
0.05210017412900925,
0.031683534383773804,
0.01050287950783968,
0.03913956508040428,
-0.016136325895786285,
0.03586259111762047,
-0.08682134747505188,
0.05081147700548172,
-0.007930087856948376,
0.03477640450000763,
0.00960999634116888,
0.027578113600611687,
-0.041017379611730576,
0.014221690595149994,
0.0036865936126559973,
-0.004146842285990715,
0.017517073079943657,
-0.035715311765670776,
-0.024448420852422714,
-0.01644008979201317,
0.02137395739555359,
-0.0020066851284354925,
0.07857368886470795,
0.052836570888757706,
-0.01712125912308693,
0.005343489348888397,
0.006093695294111967,
-0.009490331634879112,
-0.016302015632390976,
-0.03286176919937134,
-0.010116270743310452,
0.048786379396915436,
0.021392367780208588,
-0.04974369704723358,
-0.03687513992190361,
-0.032199010252952576,
0.0882941484451294,
-0.09816188365221024,
0.005467756651341915,
-0.030045047402381897,
-0.04322657361626625,
0.014000770635902882,
-0.020600739866495132,
0.041017379611730576,
0.023859301581978798,
0.03851362690329552,
0.007115447893738747,
-0.01571289636194706,
0.0005931457271799445,
-0.008684895932674408,
0.011754756793379784,
0.0014198677381500602,
-0.025810757651925087,
0.015225033275783062,
-0.005187004804611206,
0.025700297206640244,
-0.0033690216951072216,
0.030615756288170815,
0.02292039431631565,
0.0031849222723394632,
-0.04812362417578697,
0.021963076665997505,
0.026399875059723854,
-0.04359477385878563,
0.050737835466861725,
-0.05095875635743141,
-0.017056822776794434,
0.025700297206640244,
0.0022793826647102833,
0.07209338247776031,
0.010723798535764217,
0.0154459523037076,
0.008114187978208065,
0.023380642756819725,
0.03718810901045799,
-0.06248338893055916,
-0.05784408003091812,
0.0009383324068039656,
-0.030394835397601128,
0.03652535006403923,
-0.02349110320210457,
0.009370666928589344,
-0.026178956031799316,
0.04845500364899635,
-0.009379872120916843,
0.06800637394189835,
-0.004800396040081978,
-0.006692018825560808,
-0.019164763391017914,
-0.008924225345253944,
0.02014049142599106,
-0.014488634653389454,
0.020066851750016212,
-0.010806643404066563,
0.026344645768404007,
-0.0074560316279530525,
0.005766918417066336,
-0.01907271333038807,
-0.02363838255405426,
0.021631697192788124,
-0.014194075018167496,
0.002239110879600048,
0.04094374179840088,
0.0229572132229805,
0.043484315276145935,
-0.026915354654192924,
0.00450583640486002,
0.01802334561944008,
-0.013558931648731232,
0.020158901810646057,
0.021576467901468277,
0.01622837595641613,
0.025534607470035553,
-0.03472117707133293,
-0.04020734131336212,
0.026381466537714005,
-0.035181425511837006,
0.014718758873641491,
0.04035462066531181,
0.02470616064965725,
-0.05357297137379646,
-0.023896122351288795,
-0.04304247349500656,
-0.05324159190058708,
-0.03404000774025917,
-0.019496142864227295,
-0.024301141500473022,
-0.0282408706843853,
-0.01483842357993126,
-0.01401918102055788,
0.007087832782417536,
0.03492368385195732,
-0.04550940915942192,
0.06866913288831711,
-0.006756453774869442,
0.006475701928138733,
0.045988067984580994,
-0.032383110374212265,
-0.04466255009174347,
0.027835851535201073,
0.09794095903635025,
0.04256381466984749,
0.041569679975509644,
0.019127942621707916,
0.026676025241613388,
0.0038752956315875053,
-0.028001541271805763,
0.020379820838570595,
-0.04882320016622543,
-0.06572353839874268,
0.04922822117805481,
0.013015838339924812,
0.004441401455551386,
-0.0705101266503334,
0.003479481441900134,
0.006595366634428501,
-0.05368342995643616,
0.033966366201639175,
0.02380407229065895,
0.010272755287587643,
-0.06469257920980453,
-0.018428364768624306,
-0.039618223905563354,
-0.014645119197666645,
0.0035991461481899023,
0.034850046038627625,
-0.000044478740164777264,
0.05357297137379646,
-0.0009555917349644005,
-0.01271207444369793,
-0.044920291751623154,
-0.01868610456585884,
-0.0026372261345386505,
0.08910418301820755,
0.059721894562244415,
-0.05221063271164894,
0.033929549157619476,
-0.005987837910652161,
-0.026510335505008698,
0.027817443013191223,
0.04620898887515068,
0.005311272107064724,
0.051952894777059555,
-0.015491977334022522,
0.011460197158157825,
0.01639406569302082,
-0.0016534441383555532,
-0.007699963636696339,
-0.03632284328341484,
0.0046324050053954124,
-0.10015015304088593,
-0.025479378178715706,
-0.015031727962195873,
-0.02455887943506241,
-0.02967684715986252,
0.03683831915259361,
-0.004920060746371746,
0.03295382112264633,
-0.03792450949549675,
0.055303506553173065,
-0.017397407442331314,
0.05747587978839874,
-0.003385130548849702,
0.004047888796776533,
-0.008491591550409794,
-0.012307055294513702,
0.03155466169118881,
-0.010512084700167179,
-0.007511261850595474,
-0.08048832416534424,
0.013439266942441463,
0.00240710168145597,
-0.019109534099698067,
0.00625938456505537,
-0.004613995086401701,
-0.04252699762582779,
0.027946311980485916,
-0.031186463311314583,
-0.006070682778954506,
-0.05062737688422203,
-0.003378226887434721,
-0.0493755005300045,
-0.021944666281342506,
0.034997325390577316,
0.027817443013191223,
0.028148820623755455,
0.01137735228985548,
-0.016504524275660515,
0.005881980527192354,
-0.037132877856492996,
-0.007239714730530977,
-0.010199115611612797,
0.04123830050230026,
0.03372703865170479,
0.011892830953001976,
0.022717883810400963,
0.06229928880929947,
-0.010254344902932644,
-0.021760566160082817,
-0.03617556020617485,
0.0022103453520685434,
-0.029916176572442055,
-0.010521288961172104,
-0.0007732181111350656,
-0.02895885892212391,
-0.05924323573708534,
-0.08453851193189621,
-0.008813765831291676,
-0.0036290623247623444,
0.005628843791782856,
0.01533549278974533,
-0.014599094167351723,
0.06509760022163391,
-0.01938568241894245,
-0.044367991387844086,
-0.06612855941057205,
-0.027099454775452614,
0.0256082471460104,
0.02770698256790638,
0.06090013310313225,
0.0136878015473485,
-0.016716239973902702,
0.02153964713215828,
0.011450991965830326,
0.0013347218045964837,
-0.015372312627732754,
-0.0018559535965323448,
0.009978195652365685,
-0.03050529584288597,
-0.028848400339484215,
0.011745551601052284,
-0.020232541486620903,
0.044220712035894394,
-0.007782808504998684,
-0.03635966032743454,
0.031002365052700043,
0.063551165163517,
0.054935306310653687,
0.03258562088012695,
-0.0021758265793323517,
-0.03650693967938423,
-0.03249357268214226,
-0.05791771784424782,
-0.05077465623617172,
-0.0308734942227602,
-0.041937876492738724,
0.009876941330730915,
0.036617401987314224,
0.07879460602998734,
0.04981733858585358,
0.045803967863321304,
0.013126297853887081,
0.003421950386837125,
-0.00467152614146471,
-0.016458500176668167,
-0.007400801870971918,
0.008556026965379715,
0.005274452269077301,
-0.015234237536787987,
-0.040133703500032425,
0.024117041379213333,
0.052505191415548325,
-0.007492851931601763,
-0.0031411985401064157,
0.058654118329286575,
-0.005177800077944994,
-0.01621917076408863,
0.055524423718452454,
0.030836675316095352,
-0.02859066054224968,
0.013825876638293266,
-0.03562326356768608,
-0.010640953667461872,
0.0044989329762756824,
0.06620220094919205,
0.006139719858765602,
0.014709554612636566,
-0.059206414967775345,
-0.029419109225273132,
0.004420690704137087,
-0.043852511793375015,
0.01871372014284134,
0.020250950008630753,
0.04377887398004532,
-0.04694538563489914,
0.003449565265327692,
0.03983914479613304,
-0.020250950008630753,
-0.02859066054224968,
0.014212485402822495,
0.03313791751861572,
-0.04830772057175636,
0.0776900127530098,
-0.006692018825560808,
-0.07367663830518723,
-0.03545757383108139,
0.04731358587741852,
0.010889488272368908,
0.028112001717090607,
0.0036888946779072285,
-0.046871744096279144,
0.03019232675433159,
-0.021778976544737816,
-0.01147860661149025,
-0.07187246531248093,
-0.013476086780428886,
0.004185963422060013,
0.02540573850274086,
0.05279975011944771,
-0.0441470742225647,
0.010898693464696407,
0.04175378009676933,
0.08004648238420486,
0.04249017685651779,
-0.035236652940511703,
-0.01725933328270912,
0.039949603378772736,
0.0005077120731584728,
0.024061812087893486,
0.022294456139206886,
-0.0037740408442914486,
0.037519488483667374,
-0.009692841209471226,
0.0016292810905724764,
-0.02524004876613617,
-0.00802213791757822,
-0.0027799031231552362,
0.0317387618124485,
0.01802334561944008,
0.00494767539203167,
0.017388202250003815,
0.0074100070632994175,
0.0352918840944767,
-0.015961430966854095,
0.059537794440984726,
0.004772780928760767,
-0.027301963418722153,
0.009333847090601921,
-0.03214378282427788,
-0.010640953667461872,
-0.01819824054837227,
-0.004416088107973337,
-0.021300317719578743,
-0.03300904855132103,
-0.0019537564367055893,
0.051989711821079254,
-0.021060988306999207,
0.042048338800668716,
-0.004745165817439556,
-0.04547258839011192,
0.08564311265945435,
0.08247660100460052,
0.006692018825560808,
0.013043452985584736,
-0.054714385420084,
-0.013356422074139118,
0.036948781460523605,
0.004563367459923029,
-0.017599917948246002,
0.019827522337436676,
0.024448420852422714,
-0.030450066551566124,
-0.04127512127161026,
-0.009932170622050762,
0.027817443013191223,
0.048602283000946045,
-0.08048832416534424,
-0.0032976833172142506,
-0.05276293307542801,
-0.01975388266146183,
-0.008822971023619175,
0.07872097194194794,
-0.012242619879543781,
-0.04698220640420914,
-0.07323480397462845,
0.026933765038847923,
0.0282592810690403,
0.06995783001184464,
0.005624241195619106,
-0.0031181862577795982,
0.026013266295194626,
0.01731456257402897,
0.0154459523037076,
-0.03052370622754097,
0.015924612060189247,
-0.06822729110717773,
0.04359477385878563,
-0.04904412105679512,
-0.006903733126819134,
-0.008215442299842834,
0.021981487050652504,
-0.009297027252614498,
-0.0706205889582634,
0.03015550598502159,
-0.03634124994277954,
0.025313688442111015,
0.005150184966623783,
0.038366347551345825,
-0.002561284927651286,
0.005352694541215897,
0.027081044390797615,
-0.0052560423500835896,
0.015160597860813141,
-0.0032010308932513,
0.037850867956876755,
0.010079450905323029,
-0.03969186171889305,
-0.0009509892552159727,
0.020545510575175285,
0.038697727024555206,
-0.015353902243077755,
0.0018271880690008402,
-0.033616576343774796,
-0.06377208232879639,
-0.024632519111037254,
-0.0008048602030612528,
-0.06369844824075699,
0.00989535078406334,
0.05839637666940689,
0.033064279705286026,
-0.032033320516347885,
0.00458177737891674,
-0.0423797182738781,
-0.0264919251203537,
0.00406399741768837,
-0.019017484039068222,
-0.12106386572122574,
-0.025368917733430862,
-0.001469344599172473,
0.023380642756819725,
-0.022846754640340805,
0.0775427296757698,
-0.050038259476423264,
0.010033425875008106,
0.010723798535764217,
0.01286855898797512,
-0.02503753826022148,
-0.01358654722571373,
0.003578434931114316,
-0.06310932338237762,
-0.010907898657023907,
-0.02166851796209812,
0.037151288241147995,
-0.004993700422346592,
-0.038366347551345825,
0.0024554277770221233,
-0.05872775614261627,
0.06686495989561081,
0.002874254249036312,
-0.0776900127530098,
-0.009370666928589344,
-0.009904555976390839,
0.030799854546785355,
0.01995639130473137,
-0.009803300723433495,
0.029529567807912827,
0.025976447388529778,
-0.026712844148278236,
-0.081077441573143,
-0.01447022520005703,
0.011837600730359554,
0.0013669391628354788,
0.015648461878299713,
-0.02840656042098999,
0.03293541073799133,
0.024632519111037254,
0.048639100044965744,
0.07294024527072906,
0.01607189141213894,
-0.0335429385304451,
0.02398817241191864,
-0.03160989284515381,
0.00845937430858612,
-0.07710089534521103,
0.019809111952781677,
-0.03188604116439819,
0.05081147700548172,
-0.02153964713215828,
0.049485959112644196,
-0.01783004216849804,
-0.0036865936126559973,
0.00671042874455452,
0.03799814730882645,
-0.04797634482383728,
0.0008014083723537624,
0.030431656166911125,
-0.028517020866274834,
0.02662079595029354,
0.02010367065668106,
-0.04042826220393181,
-0.008353517390787601,
0.013126297853887081,
0.036598991602659225,
0.04363159462809563,
0.01832710951566696,
0.03792450949549675,
-0.013807466253638268,
-0.05622400343418121,
0.004480523057281971,
0.05684994161128998,
-0.002312750555574894,
0.016688624396920204,
-0.025884397327899933,
0.046871744096279144,
-0.010143885388970375,
0.0018076275009661913,
-0.031867630779743195,
-0.01836393028497696,
-0.042968835681676865,
0.03654376044869423,
0.08417031168937683,
-0.022681064903736115,
-0.07014192640781403,
0.04425753280520439,
0.02222081646323204,
0.005661061033606529,
-0.034684356302022934,
-0.017590712755918503,
0.005670266225934029,
-0.009941375814378262,
-0.018455980345606804,
0.05769680067896843,
0.01252797432243824,
0.02487184852361679,
-0.04709266498684883,
0.033101100474596024,
-0.026565564796328545,
-0.08372847735881805,
0.05184243246912956,
0.003389732912182808,
0.03774040937423706,
-0.08836778253316879,
-0.029198188334703445,
-0.030045047402381897,
0.021981487050652504,
0.03899228572845459,
0.013089478015899658,
0.00582214817404747,
0.026676025241613388,
0.07507579773664474,
-0.0335245281457901,
-0.0030905711464583874,
0.021079398691654205,
-0.006102900020778179,
-0.015501182526350021,
0.05453028902411461,
-0.008427157066762447,
-0.012472745031118393,
-0.032383110374212265,
-0.019275223836302757,
-0.036065101623535156,
0.025553017854690552,
0.020692789927124977,
-0.040465082973241806,
0.025994855910539627,
-0.018391545861959457,
0.008542219176888466,
-0.009978195652365685,
0.03630443289875984,
0.0529838502407074,
0.00785184558480978,
0.03770358860492706,
-0.04134875908493996,
-0.025479378178715706,
-0.006438881624490023,
-0.016909543424844742,
0.06822729110717773,
-0.029492748901247978,
-0.012058520689606667,
0.015307878144085407,
-0.012435924261808395,
-0.03188604116439819,
-0.010788233950734138,
0.013789056800305843,
0.034297745674848557,
-0.08851506561040878,
0.012389900162816048,
-0.0006012000958435237,
0.0154367471113801,
0.020030030980706215,
-0.002499151509255171,
0.037335388362407684,
-0.009646816179156303,
0.06671767681837082,
-0.015786536037921906,
-0.09308073669672012,
0.033800676465034485,
-0.03137056529521942,
-0.010189910419285297,
0.008054355159401894,
-0.04293201491236687,
0.01067777443677187,
0.08542219549417496,
-0.022460145875811577,
-0.011690321378409863,
-0.029419109225273132,
0.044367991387844086,
-0.016697829589247704
] |
710,050
|
urllib3_future._async.poolmanager
|
connection_from_url
|
Similar to :func:`urllib3.async_connection_from_url`.
If ``pool_kwargs`` is not provided and a new pool needs to be
constructed, ``self.connection_pool_kw`` is used to initialize
the :class:`urllib3.connectionpool.ConnectionPool`. If ``pool_kwargs``
is provided, it is used instead. Note that if a new pool does not
need to be created for the request, the provided ``pool_kwargs`` are
not used.
|
def _new_pool(
self,
scheme: str,
host: str,
port: int,
request_context: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
"""
Create a new :class:`urllib3._async.connectionpool.AsyncConnectionPool` based on host, port, scheme, and
any additional pool keyword arguments.
If ``request_context`` is provided, it is provided as keyword arguments
to the pool class used. This method is used to actually create the
connection pools handed out by :meth:`connection_from_url` and
companion methods. It is intended to be overridden for customization.
"""
pool_cls: type[AsyncHTTPConnectionPool] = self.pool_classes_by_scheme[scheme]
if request_context is None:
request_context = self.connection_pool_kw.copy()
# Default blocksize to DEFAULT_BLOCKSIZE if missing or explicitly
# set to 'None' in the request_context.
if request_context.get("blocksize") is None:
request_context["blocksize"] = DEFAULT_BLOCKSIZE
# Although the context has everything necessary to create the pool,
# this function has historically only used the scheme, host, and port
# in the positional args. When an API change is acceptable these can
# be removed.
for key in ("scheme", "host", "port"):
request_context.pop(key, None)
if scheme == "http":
for kw in SSL_KEYWORDS:
request_context.pop(kw, None)
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
if not self._resolver.is_available():
self._resolver = self._resolver.recycle()
request_context["resolver"] = self._resolver
# By default, each HttpPool can have up to num_pools connections
if "maxsize" not in request_context:
request_context["maxsize"] = self._num_pools
return pool_cls(host, port, **request_context)
|
(self, url: str, pool_kwargs: Optional[dict[str, Any]] = None) -> urllib3_future._async.connectionpool.AsyncHTTPConnectionPool
|
[
0.009840121492743492,
-0.07312434166669846,
-0.04602488875389099,
-0.0370224192738533,
-0.04727676510810852,
0.02678648568689823,
-0.040870100259780884,
-0.008924225345253944,
-0.043116115033626556,
-0.08718954771757126,
0.04742404446005821,
0.05423572659492493,
-0.020582329481840134,
0.03917638584971428,
0.002344968030229211,
-0.011248482391238213,
0.0057439059019088745,
-0.03120487369596958,
-0.006549341604113579,
-0.06657040119171143,
-0.0003161334607284516,
0.08910418301820755,
-0.001456687692552805,
-0.007612516637891531,
0.01885179430246353,
0.052689291536808014,
-0.024669339880347252,
0.006507919169962406,
0.03473958373069763,
-0.0018064768519252539,
0.01993798092007637,
0.07422894239425659,
0.007216702215373516,
0.09330165386199951,
0.056003082543611526,
-0.0017846149858087301,
0.03194127231836319,
0.07827913016080856,
0.010475264862179756,
-0.005877378396689892,
-0.02450365014374256,
-0.07430257648229599,
-0.06211518868803978,
-0.004869433119893074,
0.04425753280520439,
0.03825588524341583,
0.011736346408724785,
-0.01049367431551218,
-0.003978851716965437,
-0.04676128551363945,
-0.01638486050069332,
0.04377887398004532,
0.001330119208432734,
0.012942198663949966,
-0.017194898799061775,
0.07636449486017227,
-0.04458891227841377,
0.054751206189394,
-0.02225763536989689,
0.06962645053863525,
-0.02349110320210457,
0.017029209062457085,
0.009154350496828556,
-0.019440913572907448,
-0.08917782455682755,
-0.02242332510650158,
-0.05526668578386307,
-0.012104545719921589,
0.010963127948343754,
-0.011027563363313675,
0.07073105126619339,
0.055119406431913376,
-0.01439658459275961,
-0.027799032628536224,
0.02026936039328575,
0.013181528076529503,
0.03444502502679825,
-0.01622837595641613,
-0.031683534383773804,
-0.004832613281905651,
-0.00040444370824843645,
-0.007331764791160822,
0.025350509211421013,
-0.049338679760694504,
0.07360300421714783,
-0.08137200027704239,
-0.017535481601953506,
0.0023104494903236628,
-0.050185538828372955,
-0.00891962368041277,
-0.002784505719318986,
-0.010447649285197258,
0.030118687078356743,
0.005030520260334015,
0.010917103849351406,
-0.04168013855814934,
-0.044883470982313156,
-0.01412964053452015,
0.008809163235127926,
-0.024448420852422714,
-0.03998642414808273,
-0.046135347336530685,
-0.06145242974162102,
-0.008450169116258621,
0.007953100837767124,
-0.05574534460902214,
0.03635966032743454,
-0.022478554397821426,
-0.03126010298728943,
-0.051768794655799866,
-0.0020711198449134827,
0.02575552649796009,
0.021797386929392815,
0.05025917664170265,
-0.02967684715986252,
0.01314470823854208,
-0.05629764124751091,
-0.007916280999779701,
-0.013209142722189426,
-0.034168876707553864,
-0.13910561800003052,
0.04359477385878563,
0.023951351642608643,
0.031849224120378494,
0.030818264931440353,
0.05633446201682091,
0.00745142949745059,
-0.04978051781654358,
-0.025147998705506325,
-0.0073133548721671104,
0.05210017412900925,
0.031683534383773804,
0.01050287950783968,
0.03913956508040428,
-0.016136325895786285,
0.03586259111762047,
-0.08682134747505188,
0.05081147700548172,
-0.007930087856948376,
0.03477640450000763,
0.00960999634116888,
0.027578113600611687,
-0.041017379611730576,
0.014221690595149994,
0.0036865936126559973,
-0.004146842285990715,
0.017517073079943657,
-0.035715311765670776,
-0.024448420852422714,
-0.01644008979201317,
0.02137395739555359,
-0.0020066851284354925,
0.07857368886470795,
0.052836570888757706,
-0.01712125912308693,
0.005343489348888397,
0.006093695294111967,
-0.009490331634879112,
-0.016302015632390976,
-0.03286176919937134,
-0.010116270743310452,
0.048786379396915436,
0.021392367780208588,
-0.04974369704723358,
-0.03687513992190361,
-0.032199010252952576,
0.0882941484451294,
-0.09816188365221024,
0.005467756651341915,
-0.030045047402381897,
-0.04322657361626625,
0.014000770635902882,
-0.020600739866495132,
0.041017379611730576,
0.023859301581978798,
0.03851362690329552,
0.007115447893738747,
-0.01571289636194706,
0.0005931457271799445,
-0.008684895932674408,
0.011754756793379784,
0.0014198677381500602,
-0.025810757651925087,
0.015225033275783062,
-0.005187004804611206,
0.025700297206640244,
-0.0033690216951072216,
0.030615756288170815,
0.02292039431631565,
0.0031849222723394632,
-0.04812362417578697,
0.021963076665997505,
0.026399875059723854,
-0.04359477385878563,
0.050737835466861725,
-0.05095875635743141,
-0.017056822776794434,
0.025700297206640244,
0.0022793826647102833,
0.07209338247776031,
0.010723798535764217,
0.0154459523037076,
0.008114187978208065,
0.023380642756819725,
0.03718810901045799,
-0.06248338893055916,
-0.05784408003091812,
0.0009383324068039656,
-0.030394835397601128,
0.03652535006403923,
-0.02349110320210457,
0.009370666928589344,
-0.026178956031799316,
0.04845500364899635,
-0.009379872120916843,
0.06800637394189835,
-0.004800396040081978,
-0.006692018825560808,
-0.019164763391017914,
-0.008924225345253944,
0.02014049142599106,
-0.014488634653389454,
0.020066851750016212,
-0.010806643404066563,
0.026344645768404007,
-0.0074560316279530525,
0.005766918417066336,
-0.01907271333038807,
-0.02363838255405426,
0.021631697192788124,
-0.014194075018167496,
0.002239110879600048,
0.04094374179840088,
0.0229572132229805,
0.043484315276145935,
-0.026915354654192924,
0.00450583640486002,
0.01802334561944008,
-0.013558931648731232,
0.020158901810646057,
0.021576467901468277,
0.01622837595641613,
0.025534607470035553,
-0.03472117707133293,
-0.04020734131336212,
0.026381466537714005,
-0.035181425511837006,
0.014718758873641491,
0.04035462066531181,
0.02470616064965725,
-0.05357297137379646,
-0.023896122351288795,
-0.04304247349500656,
-0.05324159190058708,
-0.03404000774025917,
-0.019496142864227295,
-0.024301141500473022,
-0.0282408706843853,
-0.01483842357993126,
-0.01401918102055788,
0.007087832782417536,
0.03492368385195732,
-0.04550940915942192,
0.06866913288831711,
-0.006756453774869442,
0.006475701928138733,
0.045988067984580994,
-0.032383110374212265,
-0.04466255009174347,
0.027835851535201073,
0.09794095903635025,
0.04256381466984749,
0.041569679975509644,
0.019127942621707916,
0.026676025241613388,
0.0038752956315875053,
-0.028001541271805763,
0.020379820838570595,
-0.04882320016622543,
-0.06572353839874268,
0.04922822117805481,
0.013015838339924812,
0.004441401455551386,
-0.0705101266503334,
0.003479481441900134,
0.006595366634428501,
-0.05368342995643616,
0.033966366201639175,
0.02380407229065895,
0.010272755287587643,
-0.06469257920980453,
-0.018428364768624306,
-0.039618223905563354,
-0.014645119197666645,
0.0035991461481899023,
0.034850046038627625,
-0.000044478740164777264,
0.05357297137379646,
-0.0009555917349644005,
-0.01271207444369793,
-0.044920291751623154,
-0.01868610456585884,
-0.0026372261345386505,
0.08910418301820755,
0.059721894562244415,
-0.05221063271164894,
0.033929549157619476,
-0.005987837910652161,
-0.026510335505008698,
0.027817443013191223,
0.04620898887515068,
0.005311272107064724,
0.051952894777059555,
-0.015491977334022522,
0.011460197158157825,
0.01639406569302082,
-0.0016534441383555532,
-0.007699963636696339,
-0.03632284328341484,
0.0046324050053954124,
-0.10015015304088593,
-0.025479378178715706,
-0.015031727962195873,
-0.02455887943506241,
-0.02967684715986252,
0.03683831915259361,
-0.004920060746371746,
0.03295382112264633,
-0.03792450949549675,
0.055303506553173065,
-0.017397407442331314,
0.05747587978839874,
-0.003385130548849702,
0.004047888796776533,
-0.008491591550409794,
-0.012307055294513702,
0.03155466169118881,
-0.010512084700167179,
-0.007511261850595474,
-0.08048832416534424,
0.013439266942441463,
0.00240710168145597,
-0.019109534099698067,
0.00625938456505537,
-0.004613995086401701,
-0.04252699762582779,
0.027946311980485916,
-0.031186463311314583,
-0.006070682778954506,
-0.05062737688422203,
-0.003378226887434721,
-0.0493755005300045,
-0.021944666281342506,
0.034997325390577316,
0.027817443013191223,
0.028148820623755455,
0.01137735228985548,
-0.016504524275660515,
0.005881980527192354,
-0.037132877856492996,
-0.007239714730530977,
-0.010199115611612797,
0.04123830050230026,
0.03372703865170479,
0.011892830953001976,
0.022717883810400963,
0.06229928880929947,
-0.010254344902932644,
-0.021760566160082817,
-0.03617556020617485,
0.0022103453520685434,
-0.029916176572442055,
-0.010521288961172104,
-0.0007732181111350656,
-0.02895885892212391,
-0.05924323573708534,
-0.08453851193189621,
-0.008813765831291676,
-0.0036290623247623444,
0.005628843791782856,
0.01533549278974533,
-0.014599094167351723,
0.06509760022163391,
-0.01938568241894245,
-0.044367991387844086,
-0.06612855941057205,
-0.027099454775452614,
0.0256082471460104,
0.02770698256790638,
0.06090013310313225,
0.0136878015473485,
-0.016716239973902702,
0.02153964713215828,
0.011450991965830326,
0.0013347218045964837,
-0.015372312627732754,
-0.0018559535965323448,
0.009978195652365685,
-0.03050529584288597,
-0.028848400339484215,
0.011745551601052284,
-0.020232541486620903,
0.044220712035894394,
-0.007782808504998684,
-0.03635966032743454,
0.031002365052700043,
0.063551165163517,
0.054935306310653687,
0.03258562088012695,
-0.0021758265793323517,
-0.03650693967938423,
-0.03249357268214226,
-0.05791771784424782,
-0.05077465623617172,
-0.0308734942227602,
-0.041937876492738724,
0.009876941330730915,
0.036617401987314224,
0.07879460602998734,
0.04981733858585358,
0.045803967863321304,
0.013126297853887081,
0.003421950386837125,
-0.00467152614146471,
-0.016458500176668167,
-0.007400801870971918,
0.008556026965379715,
0.005274452269077301,
-0.015234237536787987,
-0.040133703500032425,
0.024117041379213333,
0.052505191415548325,
-0.007492851931601763,
-0.0031411985401064157,
0.058654118329286575,
-0.005177800077944994,
-0.01621917076408863,
0.055524423718452454,
0.030836675316095352,
-0.02859066054224968,
0.013825876638293266,
-0.03562326356768608,
-0.010640953667461872,
0.0044989329762756824,
0.06620220094919205,
0.006139719858765602,
0.014709554612636566,
-0.059206414967775345,
-0.029419109225273132,
0.004420690704137087,
-0.043852511793375015,
0.01871372014284134,
0.020250950008630753,
0.04377887398004532,
-0.04694538563489914,
0.003449565265327692,
0.03983914479613304,
-0.020250950008630753,
-0.02859066054224968,
0.014212485402822495,
0.03313791751861572,
-0.04830772057175636,
0.0776900127530098,
-0.006692018825560808,
-0.07367663830518723,
-0.03545757383108139,
0.04731358587741852,
0.010889488272368908,
0.028112001717090607,
0.0036888946779072285,
-0.046871744096279144,
0.03019232675433159,
-0.021778976544737816,
-0.01147860661149025,
-0.07187246531248093,
-0.013476086780428886,
0.004185963422060013,
0.02540573850274086,
0.05279975011944771,
-0.0441470742225647,
0.010898693464696407,
0.04175378009676933,
0.08004648238420486,
0.04249017685651779,
-0.035236652940511703,
-0.01725933328270912,
0.039949603378772736,
0.0005077120731584728,
0.024061812087893486,
0.022294456139206886,
-0.0037740408442914486,
0.037519488483667374,
-0.009692841209471226,
0.0016292810905724764,
-0.02524004876613617,
-0.00802213791757822,
-0.0027799031231552362,
0.0317387618124485,
0.01802334561944008,
0.00494767539203167,
0.017388202250003815,
0.0074100070632994175,
0.0352918840944767,
-0.015961430966854095,
0.059537794440984726,
0.004772780928760767,
-0.027301963418722153,
0.009333847090601921,
-0.03214378282427788,
-0.010640953667461872,
-0.01819824054837227,
-0.004416088107973337,
-0.021300317719578743,
-0.03300904855132103,
-0.0019537564367055893,
0.051989711821079254,
-0.021060988306999207,
0.042048338800668716,
-0.004745165817439556,
-0.04547258839011192,
0.08564311265945435,
0.08247660100460052,
0.006692018825560808,
0.013043452985584736,
-0.054714385420084,
-0.013356422074139118,
0.036948781460523605,
0.004563367459923029,
-0.017599917948246002,
0.019827522337436676,
0.024448420852422714,
-0.030450066551566124,
-0.04127512127161026,
-0.009932170622050762,
0.027817443013191223,
0.048602283000946045,
-0.08048832416534424,
-0.0032976833172142506,
-0.05276293307542801,
-0.01975388266146183,
-0.008822971023619175,
0.07872097194194794,
-0.012242619879543781,
-0.04698220640420914,
-0.07323480397462845,
0.026933765038847923,
0.0282592810690403,
0.06995783001184464,
0.005624241195619106,
-0.0031181862577795982,
0.026013266295194626,
0.01731456257402897,
0.0154459523037076,
-0.03052370622754097,
0.015924612060189247,
-0.06822729110717773,
0.04359477385878563,
-0.04904412105679512,
-0.006903733126819134,
-0.008215442299842834,
0.021981487050652504,
-0.009297027252614498,
-0.0706205889582634,
0.03015550598502159,
-0.03634124994277954,
0.025313688442111015,
0.005150184966623783,
0.038366347551345825,
-0.002561284927651286,
0.005352694541215897,
0.027081044390797615,
-0.0052560423500835896,
0.015160597860813141,
-0.0032010308932513,
0.037850867956876755,
0.010079450905323029,
-0.03969186171889305,
-0.0009509892552159727,
0.020545510575175285,
0.038697727024555206,
-0.015353902243077755,
0.0018271880690008402,
-0.033616576343774796,
-0.06377208232879639,
-0.024632519111037254,
-0.0008048602030612528,
-0.06369844824075699,
0.00989535078406334,
0.05839637666940689,
0.033064279705286026,
-0.032033320516347885,
0.00458177737891674,
-0.0423797182738781,
-0.0264919251203537,
0.00406399741768837,
-0.019017484039068222,
-0.12106386572122574,
-0.025368917733430862,
-0.001469344599172473,
0.023380642756819725,
-0.022846754640340805,
0.0775427296757698,
-0.050038259476423264,
0.010033425875008106,
0.010723798535764217,
0.01286855898797512,
-0.02503753826022148,
-0.01358654722571373,
0.003578434931114316,
-0.06310932338237762,
-0.010907898657023907,
-0.02166851796209812,
0.037151288241147995,
-0.004993700422346592,
-0.038366347551345825,
0.0024554277770221233,
-0.05872775614261627,
0.06686495989561081,
0.002874254249036312,
-0.0776900127530098,
-0.009370666928589344,
-0.009904555976390839,
0.030799854546785355,
0.01995639130473137,
-0.009803300723433495,
0.029529567807912827,
0.025976447388529778,
-0.026712844148278236,
-0.081077441573143,
-0.01447022520005703,
0.011837600730359554,
0.0013669391628354788,
0.015648461878299713,
-0.02840656042098999,
0.03293541073799133,
0.024632519111037254,
0.048639100044965744,
0.07294024527072906,
0.01607189141213894,
-0.0335429385304451,
0.02398817241191864,
-0.03160989284515381,
0.00845937430858612,
-0.07710089534521103,
0.019809111952781677,
-0.03188604116439819,
0.05081147700548172,
-0.02153964713215828,
0.049485959112644196,
-0.01783004216849804,
-0.0036865936126559973,
0.00671042874455452,
0.03799814730882645,
-0.04797634482383728,
0.0008014083723537624,
0.030431656166911125,
-0.028517020866274834,
0.02662079595029354,
0.02010367065668106,
-0.04042826220393181,
-0.008353517390787601,
0.013126297853887081,
0.036598991602659225,
0.04363159462809563,
0.01832710951566696,
0.03792450949549675,
-0.013807466253638268,
-0.05622400343418121,
0.004480523057281971,
0.05684994161128998,
-0.002312750555574894,
0.016688624396920204,
-0.025884397327899933,
0.046871744096279144,
-0.010143885388970375,
0.0018076275009661913,
-0.031867630779743195,
-0.01836393028497696,
-0.042968835681676865,
0.03654376044869423,
0.08417031168937683,
-0.022681064903736115,
-0.07014192640781403,
0.04425753280520439,
0.02222081646323204,
0.005661061033606529,
-0.034684356302022934,
-0.017590712755918503,
0.005670266225934029,
-0.009941375814378262,
-0.018455980345606804,
0.05769680067896843,
0.01252797432243824,
0.02487184852361679,
-0.04709266498684883,
0.033101100474596024,
-0.026565564796328545,
-0.08372847735881805,
0.05184243246912956,
0.003389732912182808,
0.03774040937423706,
-0.08836778253316879,
-0.029198188334703445,
-0.030045047402381897,
0.021981487050652504,
0.03899228572845459,
0.013089478015899658,
0.00582214817404747,
0.026676025241613388,
0.07507579773664474,
-0.0335245281457901,
-0.0030905711464583874,
0.021079398691654205,
-0.006102900020778179,
-0.015501182526350021,
0.05453028902411461,
-0.008427157066762447,
-0.012472745031118393,
-0.032383110374212265,
-0.019275223836302757,
-0.036065101623535156,
0.025553017854690552,
0.020692789927124977,
-0.040465082973241806,
0.025994855910539627,
-0.018391545861959457,
0.008542219176888466,
-0.009978195652365685,
0.03630443289875984,
0.0529838502407074,
0.00785184558480978,
0.03770358860492706,
-0.04134875908493996,
-0.025479378178715706,
-0.006438881624490023,
-0.016909543424844742,
0.06822729110717773,
-0.029492748901247978,
-0.012058520689606667,
0.015307878144085407,
-0.012435924261808395,
-0.03188604116439819,
-0.010788233950734138,
0.013789056800305843,
0.034297745674848557,
-0.08851506561040878,
0.012389900162816048,
-0.0006012000958435237,
0.0154367471113801,
0.020030030980706215,
-0.002499151509255171,
0.037335388362407684,
-0.009646816179156303,
0.06671767681837082,
-0.015786536037921906,
-0.09308073669672012,
0.033800676465034485,
-0.03137056529521942,
-0.010189910419285297,
0.008054355159401894,
-0.04293201491236687,
0.01067777443677187,
0.08542219549417496,
-0.022460145875811577,
-0.011690321378409863,
-0.029419109225273132,
0.044367991387844086,
-0.016697829589247704
] |
710,051
|
urllib3_future._async.poolmanager
|
get_response
|
Retrieve the first response available in the pools.
This method should be called after issuing at least one request with ``multiplexed=True``.
If none available, return None.
|
def _proxy_requires_url_absolute_form(self, parsed_url: Url) -> bool:
"""
Indicates if the proxy requires the complete destination URL in the
request. Normally this is only needed when not using an HTTP CONNECT
tunnel.
"""
if self.proxy is None:
return False
return not connection_requires_http_tunnel(
self.proxy, self.proxy_config, parsed_url.scheme
)
|
(self, *, promise: Optional[urllib3_future.backend._base.ResponsePromise] = None) -> urllib3_future._async.response.AsyncHTTPResponse | None
|
[
-0.0032124482095241547,
0.05547073855996132,
-0.04162045568227768,
0.03897567465901375,
-0.026621779426932335,
0.040506862103939056,
0.018356846645474434,
0.027091573923826218,
-0.004732760600745678,
-0.027021976187825203,
0.043812837451696396,
0.027665769681334496,
0.0314241386950016,
-0.030484545975923538,
0.006120399106293917,
-0.022828610613942146,
0.07060861587524414,
-0.013632786460220814,
0.010109315626323223,
0.005972500424832106,
-0.02429019846022129,
-0.04102885723114014,
0.025264589115977287,
0.01602526754140854,
-0.039288874715566635,
0.03095434233546257,
0.01305859163403511,
0.019139841198921204,
-0.017269356176257133,
0.01811324991285801,
-0.04562241956591606,
0.028239965438842773,
0.04955478757619858,
0.05042478069663048,
0.07704655826091766,
0.002442504744976759,
0.02721337415277958,
0.03584370017051697,
-0.09702159464359283,
-0.058707110583782196,
-0.029092557728290558,
-0.005955100525170565,
-0.030936943367123604,
0.06584104895591736,
0.04388243332505226,
0.000007051698958093766,
-0.11017588526010513,
0.07927373796701431,
-0.025577787309885025,
-0.08191851526498795,
-0.03601770102977753,
0.03443431481719017,
0.010727010667324066,
0.03412111476063728,
-0.006129099056124687,
-0.010935809463262558,
0.029249155893921852,
0.08344970643520355,
-0.023107007145881653,
0.02524719014763832,
-0.06622385233640671,
-0.006529295817017555,
-0.018252449110150337,
-0.05529674142599106,
0.03335552290081978,
-0.024498995393514633,
-0.02524719014763832,
-0.026586979627609253,
0.0019107216503471136,
0.04269924387335777,
-0.011527404189109802,
0.05780231952667236,
-0.04443923011422157,
0.014154782518744469,
0.03135453909635544,
-0.051399171352386475,
0.04910239204764366,
0.004195540212094784,
0.040158867835998535,
-0.05473994463682175,
-0.036122098565101624,
-0.05741952359676361,
0.016616862267255783,
-0.04541362076997757,
-0.04910239204764366,
-0.003638744819909334,
0.033842720091342926,
0.012980291619896889,
0.006316147278994322,
0.03660929575562477,
-0.004784960299730301,
0.026586979627609253,
-0.011336005292832851,
-0.05359155312180519,
-0.005946400575339794,
0.05063357949256897,
-0.04443923011422157,
-0.01247569639235735,
-0.050737977027893066,
-0.044126033782958984,
-0.042594846338033676,
0.0454484224319458,
-0.061317089945077896,
0.03629609942436218,
0.02550818771123886,
0.012240798212587833,
0.02442939765751362,
-0.0620826855301857,
-0.02072322741150856,
-0.04071566089987755,
0.011066308245062828,
-0.08797366917133331,
0.0480584017932415,
0.021697619929909706,
-0.008621628396213055,
-0.00238378020003438,
-0.0006144323851913214,
-0.04624881595373154,
-0.047954000532627106,
0.012571395374834538,
0.018496045842766762,
0.02864016219973564,
0.011066308245062828,
-0.06584104895591736,
0.01976623572409153,
0.012519195675849915,
-0.005976850166916847,
-0.010326813906431198,
0.026621779426932335,
-0.04440443217754364,
0.028657561168074608,
0.029875552281737328,
-0.014641977846622467,
0.020653627812862396,
-0.051747169345617294,
0.029701553285121918,
-0.02938835509121418,
0.021628020331263542,
-0.03278132900595665,
0.012014600448310375,
0.010761810466647148,
0.016164464876055717,
-0.002207606565207243,
-0.03220713138580322,
-0.0038518928922712803,
0.015833867713809013,
-0.03883647546172142,
0.009778718464076519,
0.01910504139959812,
-0.020479628816246986,
0.039984866976737976,
-0.03967167064547539,
-0.028883758932352066,
0.009378521703183651,
-0.07245299965143204,
0.028657561168074608,
-0.035112906247377396,
-0.01118810661137104,
0.016860458999872208,
0.018878843635320663,
-0.008334530517458916,
-0.04175965115427971,
-0.018948443233966827,
-0.0053243557922542095,
-0.019992433488368988,
-0.023089608177542686,
0.02228921465575695,
-0.08637288212776184,
0.005328705534338951,
0.06552785634994507,
0.01260619517415762,
0.047780003398656845,
0.044474031776189804,
0.010344213806092739,
0.05380035191774368,
0.029962550848722458,
0.042072851210832596,
-0.045204825699329376,
-0.025699585676193237,
0.0019335589604452252,
-0.0050590080209076405,
0.003227673238143325,
-0.00936112180352211,
-0.04228165000677109,
0.05915950983762741,
0.028483564034104347,
-0.028622761368751526,
-0.055714335292577744,
0.011318606324493885,
0.058846309781074524,
-0.08734727650880814,
-0.014206982217729092,
0.05550554022192955,
-0.0454484224319458,
0.04036766290664673,
-0.06577145308256149,
0.04287324473261833,
0.05526193976402283,
0.0472928062081337,
0.02355940453708172,
-0.021262623369693756,
-0.05119037255644798,
-0.00940462201833725,
-0.013180390000343323,
-0.009195823222398758,
0.03688769415020943,
-0.02843136340379715,
-0.006016000173985958,
0.04781480133533478,
0.009656920097768307,
0.00966561958193779,
-0.024394597858190536,
-0.019209440797567368,
0.03681809455156326,
-0.030327947810292244,
0.045518022030591965,
-0.034416913986206055,
-0.009030524641275406,
-0.015094374306499958,
0.01811324991285801,
0.05846351385116577,
-0.028570562601089478,
0.06998221576213837,
-0.04141165688633919,
0.014972575940191746,
-0.014180881902575493,
0.024829594418406487,
0.01640806347131729,
-0.018443847075104713,
0.0028644511476159096,
-0.004158565308898687,
-0.05825471505522728,
-0.01475507766008377,
0.05915950983762741,
0.12451336532831192,
-0.03779248520731926,
0.01512917410582304,
0.028657561168074608,
0.07760335505008698,
0.024133598431944847,
-0.05146877095103264,
0.014902976341545582,
-0.02121042273938656,
-0.02559518627822399,
-0.08344970643520355,
0.012832392938435078,
0.0076559362933039665,
0.016660360619425774,
-0.056097134947776794,
-0.020792827010154724,
-0.027926767244935036,
0.06928622722625732,
-0.03995006904006004,
-0.03539130464196205,
0.00415639067068696,
-0.00997011736035347,
-0.024481596425175667,
-0.03758368641138077,
-0.006342247128486633,
0.004117240663617849,
-0.01488557644188404,
0.015094374306499958,
0.02121042273938656,
0.04242084547877312,
-0.016521163284778595,
-0.021836819127202034,
0.030554145574569702,
-0.04697960987687111,
-0.04652721434831619,
0.03469531238079071,
0.04471762850880623,
-0.008525929413735867,
-0.05216476693749428,
0.024968791753053665,
0.036678895354270935,
0.02364640310406685,
0.05216476693749428,
-0.025403788313269615,
-0.0078081851825118065,
-0.028883758932352066,
0.02956235408782959,
0.00827363133430481,
0.015555470250546932,
-0.017095357179641724,
-0.04757120460271835,
0.009517720900475979,
-0.024829594418406487,
0.07081741094589233,
0.0069729918614029884,
-0.024498995393514633,
-0.02390740066766739,
0.004271664656698704,
0.07210499793291092,
0.004023716319352388,
-0.03765328601002693,
0.014902976341545582,
0.04628361389040947,
-0.006551045458763838,
-0.05463554710149765,
-0.029962550848722458,
-0.06744183599948883,
-0.02225441485643387,
-0.06347467005252838,
-0.011762302368879318,
0.018861442804336548,
-0.03740968927741051,
0.007599386852234602,
-0.032154932618141174,
0.03988046944141388,
0.0028644511476159096,
0.004149865359067917,
0.002140182303264737,
-0.02460339479148388,
-0.02208041585981846,
0.026795776560902596,
0.040680862963199615,
0.005146007053554058,
-0.031076140701770782,
0.009770018979907036,
-0.0032668227795511484,
-0.03126753866672516,
0.033807918429374695,
0.019366038963198662,
-0.026395579800009727,
-0.06778983771800995,
0.021401822566986084,
0.05237356573343277,
-0.02877936139702797,
-0.05811551585793495,
0.019261639565229416,
-0.006994741968810558,
0.03740968927741051,
0.001343051320873201,
0.007377538830041885,
-0.011014108546078205,
-0.04262964427471161,
-0.010570412501692772,
-0.0051764571107923985,
0.06016869843006134,
-0.009378521703183651,
-0.003888867562636733,
0.020166432484984398,
0.03547830507159233,
-0.03412111476063728,
0.06845103204250336,
-0.0014974750811234117,
-0.046875208616256714,
0.025664785876870155,
0.06222188100218773,
-0.016860458999872208,
-0.07767295092344284,
-0.004243389703333378,
0.0013474012957885861,
-0.005755002144724131,
0.002751352032646537,
0.04322123900055885,
0.009074024856090546,
-0.013510988093912601,
0.02133222296833992,
0.025629986077547073,
0.059925101697444916,
-0.0769769623875618,
-0.029405755922198296,
0.0022445812355726957,
0.01889624260365963,
0.018217649310827255,
0.08184891939163208,
-0.004793660249561071,
-0.026412980630993843,
-0.0010320289293304086,
-0.022097816690802574,
-0.03706169128417969,
0.04781480133533478,
-0.06462306529283524,
-0.005694102495908737,
0.02289821021258831,
0.03147633746266365,
-0.024881793186068535,
0.009221923537552357,
-0.024655595421791077,
0.03495630994439125,
0.01588606834411621,
0.002897075843065977,
0.005032908171415329,
0.011449105106294155,
-0.060795094817876816,
-0.02054922841489315,
0.01317169051617384,
-0.032102733850479126,
0.025438588112592697,
0.04102885723114014,
-0.003740968881174922,
-0.00942202191799879,
0.009378521703183651,
0.011710102669894695,
-0.029892951250076294,
0.0036561444867402315,
0.005772402044385672,
-0.02312440797686577,
0.008621628396213055,
0.026412980630993843,
-0.0007068691193126142,
-0.015520671382546425,
0.03883647546172142,
-0.022445812821388245,
-0.01628626510500908,
0.022602412849664688,
0.020914625376462936,
0.005254756193608046,
0.009996216744184494,
0.0002529775956645608,
-0.009735219180583954,
-0.025194991379976273,
0.045518022030591965,
-0.058881111443042755,
0.04416083171963692,
-0.027195973321795464,
-0.04095925763249397,
-0.013858985155820847,
0.011048908345401287,
0.08421529829502106,
-0.002019470790401101,
0.0011788401752710342,
0.015590270049870014,
-0.011083708144724369,
0.010309414006769657,
-0.013589287176728249,
-0.037896886467933655,
0.02460339479148388,
-0.020253431051969528,
0.013815484941005707,
0.021297423169016838,
-0.0026795777957886457,
-0.0009287172579206526,
0.02634338103234768,
0.020584028214216232,
-0.00588985113427043,
0.048997990787029266,
-0.020758027210831642,
-0.010074515827000141,
-0.029805952683091164,
-0.048128001391887665,
-0.04513522610068321,
0.04927638918161392,
0.10203275084495544,
0.000440161966253072,
0.023002609610557556,
-0.03747928887605667,
-0.06789423525333405,
0.023803001269698143,
-0.06998221576213837,
0.0011516528902575374,
-0.029440555721521378,
-0.028048567473888397,
-0.07746415585279465,
0.02202821709215641,
-0.01482467632740736,
0.03814048320055008,
-0.04513522610068321,
0.04088966175913811,
0.03300752490758896,
-0.007051291409879923,
0.021193023771047592,
0.0344691127538681,
-0.00017780477355699986,
0.05324355885386467,
-0.014989974908530712,
0.014198281802237034,
-0.02611718326807022,
0.062187083065509796,
-0.0839368999004364,
-0.0683814287185669,
0.06437946110963821,
-0.0045718117617070675,
0.009169723838567734,
-0.0017867475980892777,
0.012875893153250217,
0.10620871931314468,
0.05915950983762741,
-0.0010532350279390812,
-0.1013367548584938,
0.0050590080209076405,
-0.0076254867017269135,
0.008852176368236542,
0.004010666627436876,
-0.003027574857696891,
-0.06420546770095825,
-0.0006416196702048182,
0.010970608331263065,
0.03681809455156326,
0.007103491108864546,
0.0028296515811234713,
0.024394597858190536,
-0.025403788313269615,
0.013780685141682625,
0.006842493079602718,
0.0002260621840832755,
0.07005181908607483,
0.04791920259594917,
-0.007360138930380344,
0.027578771114349365,
0.04972878471016884,
0.026047583669424057,
0.02524719014763832,
0.02263721264898777,
-0.004108540713787079,
-0.04558762162923813,
0.018304647877812386,
-0.04871959611773491,
0.035982899367809296,
-0.017173657193779945,
0.04858039692044258,
0.04610961675643921,
0.07920414209365845,
0.0516427718102932,
0.03220713138580322,
0.018304647877812386,
-0.03112834133207798,
0.02964935265481472,
-0.03608730062842369,
0.04054166376590729,
0.003925842233002186,
0.030049549415707588,
-0.06417066603899002,
-0.000861292821355164,
0.029440555721521378,
-0.004697960801422596,
0.014467979781329632,
-0.02355940453708172,
-0.029701553285121918,
0.08505049347877502,
0.013711085543036461,
0.01331958919763565,
0.028048567473888397,
0.04252524673938751,
0.09562960267066956,
-0.006089949514716864,
-0.03688769415020943,
-0.0814313217997551,
0.03942807391285896,
0.020601429045200348,
-0.013484887778759003,
-0.02028823085129261,
-0.048963192850351334,
-0.032589927315711975,
0.03020614944398403,
0.02611718326807022,
0.023002609610557556,
-0.004832809790968895,
-0.02373340353369713,
-0.047432005405426025,
0.04791920259594917,
0.048963192850351334,
-0.008356280624866486,
0.05237356573343277,
-0.016094865277409554,
0.0011483904672786593,
0.007903884164988995,
-0.03182433545589447,
0.0039280173368752,
-0.010196315124630928,
-0.06886862963438034,
-0.06138668954372406,
0.04711880907416344,
-0.04148125648498535,
-0.009187123738229275,
0.008569428697228432,
-0.010918409563601017,
-0.0049372087232768536,
0.029440555721521378,
0.019870635122060776,
-0.02228921465575695,
-0.03988046944141388,
0.014328780584037304,
0.050215981900691986,
-0.04736240580677986,
0.024272797629237175,
-0.010161515325307846,
0.02089722640812397,
0.015076974406838417,
0.030710743740200996,
0.002019470790401101,
0.008256231434643269,
-0.004863259382545948,
0.000540211156476289,
-0.06156068667769432,
-0.009056624956429005,
0.009804818779230118,
-0.003675719490274787,
-0.09931837767362595,
-0.03800128400325775,
0.03991526737809181,
-0.0015409747138619423,
-0.03292052447795868,
-0.011379505507647991,
-0.020166432484984398,
-0.040646061301231384,
-0.020671028643846512,
0.06100389361381531,
0.056271132081747055,
0.0003129255201201886,
0.015833867713809013,
-0.013928583823144436,
-0.008952225558459759,
-0.043604038655757904,
0.0015300997765734792,
-0.07586336880922318,
0.017817452549934387,
-0.035025909543037415,
-0.06465785950422287,
0.042038049548864365,
-0.0023685554042458534,
-0.03126753866672516,
-0.06410107016563416,
-0.09333282709121704,
-0.018095849081873894,
-0.049798384308815,
0.027700569480657578,
-0.012519195675849915,
0.04976358637213707,
0.05547073855996132,
-0.052965160459280014,
0.018652644008398056,
0.04287324473261833,
-0.07690735906362534,
-0.002270681085065007,
0.03744448721408844,
0.045866020023822784,
-0.03584370017051697,
0.030884742736816406,
0.020740628242492676,
-0.004715360701084137,
0.05769792199134827,
0.023716002702713013,
-0.034764911979436874,
-0.05181676894426346,
0.02251541242003441,
0.027891967445611954,
0.04496122524142265,
-0.030902143567800522,
-0.02672617696225643,
-0.0024860042612999678,
-0.01693875901401043,
0.0056419032625854015,
-0.011318606324493885,
-0.00018405784794595093,
0.055087942630052567,
0.009091424755752087,
0.040298063308000565,
-0.0077255358919501305,
0.0008911988115869462,
0.05449634790420532,
0.08512008935213089,
-0.0036322197411209345,
0.048267196863889694,
-0.009013124741613865,
-0.03880167752504349,
0.023785602301359177,
0.03629609942436218,
-0.01846124604344368,
0.008177932351827621,
-0.02472519502043724,
0.06263948231935501,
-0.013502287678420544,
0.005668002646416426,
0.07405378669500351,
0.03043234720826149,
-0.03182433545589447,
-0.06399666517972946,
-0.02002723328769207,
-0.016207965090870857,
-0.0249513927847147,
-0.023281006142497063,
-0.017730452120304108,
0.053173959255218506,
-0.006646744906902313,
-0.05254756286740303,
-0.07537617534399033,
-0.008560729213058949,
-0.051573172211647034,
0.042212050408124924,
-0.025177590548992157,
-0.016216665506362915,
0.011858001351356506,
0.015007374808192253,
0.016521163284778595,
0.02503839135169983,
-0.013963383622467518,
-0.004062866326421499,
0.009056624956429005,
0.028239965438842773,
-0.0022380563896149397,
0.00985701847821474,
0.03880167752504349,
0.003780118655413389,
-0.024672994390130043,
-0.02368120290338993,
0.024011800065636635,
0.03796648606657982,
-0.009874417446553707,
0.07725536078214645,
0.02355940453708172,
-0.012023299932479858,
0.033581722527742386,
-0.016564661636948586,
0.018391646444797516,
-0.02594318427145481,
-0.004184665158390999,
-0.002025995636358857,
0.026934975758194923,
0.0021945566404610872,
-0.021558420732617378,
-0.009761318564414978,
-0.047954000532627106,
0.014467979781329632,
-0.02573438547551632,
-0.0034429964143782854,
-0.0015268373535946012,
0.017991449683904648,
-0.034712713211774826,
-0.021732419729232788,
-0.013824185356497765,
-0.017269356176257133,
-0.0024816542863845825,
0.021889017894864082,
-0.02912735752761364,
-0.06016869843006134,
-0.052791159600019455,
0.012066799215972424,
-0.0005981200374662876,
-0.021628020331263542,
0.03862768039107323,
-0.012667094357311726,
0.05734992399811745,
-0.01640806347131729,
0.020932026207447052,
-0.006533645559102297,
0.05098157748579979,
-0.00010140852828044444,
-0.01746075414121151,
0.018182849511504173,
-0.07690735906362534,
0.06977342069149017,
-0.0248991921544075,
0.003197223413735628,
-0.010466013103723526,
-0.02877936139702797,
-0.010892309248447418,
-0.005015508271753788,
-0.0073209889233112335,
0.024881793186068535,
-0.01636456325650215,
0.019226839765906334,
-0.020009834319353104,
0.02843136340379715,
-0.0076428866013884544,
-0.0899224504828453,
-0.0014746377710253,
-0.040472064167261124,
-0.020601429045200348,
-0.045204825699329376,
0.03516510874032974,
0.017921850085258484,
0.002118432428687811,
-0.015598970465362072,
-0.0033886218443512917,
-0.012814993038773537,
0.017730452120304108
] |
710,055
|
urllib3_future._async.poolmanager
|
urlopen
|
Same as :meth:`urllib3.AsyncHTTPConnectionPool.urlopen`
with custom cross-host redirect logic and only sends the request-uri
portion of the ``url``.
The given ``url`` parameter must be absolute, such that an appropriate
:class:`urllib3._async.connectionpool.AsyncConnectionPool` can be chosen for it.
|
@typing.overload
async def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
*,
multiplexed: Literal[True],
**kw: typing.Any,
) -> ResponsePromise:
...
|
(self, method: str, url: str, redirect: bool = True, **kw: Any) -> urllib3_future._async.response.AsyncHTTPResponse | urllib3_future.backend._base.ResponsePromise
|
[
-0.054062992334365845,
-0.10127988457679749,
-0.016515325754880905,
0.0215793214738369,
-0.039559148252010345,
0.044464342296123505,
-0.034936267882585526,
-0.00784301571547985,
-0.010727904736995697,
-0.015050826594233513,
0.06422626972198486,
0.01562427543103695,
0.01621536910533905,
0.05632149800658226,
-0.020573580637574196,
-0.010736726224422455,
0.012651163153350353,
0.07565996050834656,
-0.03779469057917595,
-0.033471766859292984,
-0.020114820450544357,
0.08391761779785156,
0.013727483339607716,
-0.020855892449617386,
-0.010719082318246365,
0.0707547664642334,
-0.0127658536657691,
-0.0016221984988078475,
-0.03715948387980461,
-0.024084851145744324,
0.038676917552948,
0.00451039569452405,
-0.006612305995076895,
0.050145894289016724,
0.026907984167337418,
0.010198567062616348,
-0.023978983983397484,
0.08744653314352036,
-0.1400979608297348,
-0.004790503531694412,
-0.07156641781330109,
-0.06553196907043457,
0.010251500643789768,
-0.024561254307627678,
0.0022331420332193375,
0.0040119364857673645,
-0.07036658376455307,
0.005880055949091911,
-0.01425682008266449,
-0.020538290962576866,
0.0077900816686451435,
0.07061360776424408,
0.02087353728711605,
-0.01404508575797081,
0.01370983850210905,
0.07911829650402069,
-0.019109079614281654,
0.11080796271562576,
0.008791412226855755,
0.05607447400689125,
0.011195485480129719,
-0.0027988713700324297,
0.010189744643867016,
0.006665240041911602,
-0.00928104855120182,
-0.017662223428487778,
-0.04340566694736481,
0.017873959615826607,
-0.0034274596255272627,
0.009413382969796658,
0.011998314410448074,
0.03627725690603256,
-0.04760507494211197,
0.0025694919750094414,
0.10219740122556686,
-0.013939217664301395,
-0.04577003791928291,
-0.010339723899960518,
-0.005041938740760088,
0.015086115337908268,
0.0008166132029145956,
-0.03895923122763634,
-0.027472609654068947,
0.0253552608191967,
-0.054557040333747864,
-0.06786105036735535,
0.025831663981080055,
-0.06740229576826096,
-0.02886653132736683,
0.03648899123072624,
-0.06112082302570343,
0.016065388917922974,
-0.04569946229457855,
-0.007348967250436544,
-0.004918426740914583,
-0.0018780449172481894,
-0.014353865757584572,
-0.021879278123378754,
-0.0034252540208399296,
-0.03663014620542526,
-0.04157062992453575,
-0.005765366367995739,
-0.04326450824737549,
-0.020044242963194847,
0.023237911984324455,
-0.06775518506765366,
0.045311279594898224,
0.0022960009519010782,
0.003729623043909669,
0.01273056399077177,
-0.012386495247483253,
-0.06334403902292252,
-0.02055593580007553,
0.06263826042413712,
-0.009483961388468742,
0.0417470745742321,
0.016100678592920303,
-0.03835931420326233,
-0.03253660351037979,
0.023484935984015465,
-0.07149583846330643,
0.020503001287579536,
0.0006230742437765002,
0.009633940644562244,
0.05603918433189392,
0.048734329640865326,
0.0038112292531877756,
-0.015491941012442112,
-0.027366742491722107,
-0.005218384321779013,
0.013295190408825874,
0.07925945520401001,
0.0022166003473103046,
0.05169861763715744,
-0.008125328458845615,
0.035218581557273865,
-0.07131939381361008,
0.023343779146671295,
-0.006788752041757107,
0.04344095662236214,
-0.06376750767230988,
0.03576556220650673,
0.01898556761443615,
0.005231617949903011,
-0.016435926780104637,
-0.01385099533945322,
-0.03146028518676758,
-0.08617612719535828,
0.010136811062693596,
0.04562888294458389,
0.04171178489923477,
-0.033330611884593964,
0.0205206461250782,
0.040335509926080704,
-0.024578899145126343,
0.005152217112481594,
0.009501606225967407,
0.0016387403011322021,
0.0008232299005612731,
-0.03638312220573425,
-0.009395739063620567,
-0.04164120927453041,
0.02325555495917797,
-0.04347624257206917,
-0.01059557031840086,
-0.05162803828716278,
0.04644053429365158,
-0.03737121820449829,
0.026960916817188263,
0.030313387513160706,
0.01618007943034172,
0.03641841188073158,
-0.011195485480129719,
-0.011989491991698742,
0.049545980989933014,
0.04354682192206383,
0.010622036643326283,
0.02500236965715885,
-0.03488333523273468,
-0.005906523205339909,
0.06542610377073288,
-0.0566038116812706,
-0.05321605131030083,
-0.006259414833039045,
0.0232908446341753,
0.03641841188073158,
-0.027402032166719437,
-0.00804151687771082,
0.005333074368536472,
0.02399662882089615,
-0.016303591430187225,
0.0048346146941185,
0.04633466526865959,
-0.05191035196185112,
0.014662645757198334,
-0.08017697185277939,
-0.039594437927007675,
0.02648451365530491,
0.02784314565360546,
0.0038200514391064644,
-0.017776913940906525,
0.020644158124923706,
-0.01593305543065071,
0.019003212451934814,
-0.0005108657060191035,
-0.01203360315412283,
0.03477746620774269,
-0.008359119296073914,
-0.04746391996741295,
-0.011442509479820728,
-0.02080295979976654,
0.01534196175634861,
-0.0018471669172868133,
0.015386073850095272,
-0.008248841390013695,
0.001414874684996903,
-0.029378224164247513,
-0.004124420695006847,
0.011442509479820728,
-0.029554670676589012,
0.09930369257926941,
-0.020926471799612045,
0.020008953288197517,
-0.008420875295996666,
0.05346307530999184,
0.008588499389588833,
0.009219292551279068,
-0.02570815198123455,
-0.04294690489768982,
0.011292531155049801,
-0.007437190506607294,
0.021314652636647224,
0.08864636719226837,
0.03191904351115227,
-0.032942429184913635,
-0.03211313486099243,
0.002221011556684971,
0.026572735980153084,
-0.025072947144508362,
-0.009192826226353645,
0.01583600975573063,
0.039665013551712036,
-0.0014733223943039775,
0.04241757094860077,
-0.035853784531354904,
0.006815218832343817,
-0.008601732552051544,
0.035642050206661224,
0.00025115956668742,
0.022143946960568428,
-0.02591988816857338,
-0.01145133189857006,
-0.026043400168418884,
-0.020997049286961555,
0.018156273290514946,
0.01498907059431076,
-0.044746652245521545,
-0.028813598677515984,
-0.022426260635256767,
-0.008817878551781178,
0.03779469057917595,
0.04262930527329445,
-0.020714735612273216,
0.04248814657330513,
-0.059179920703172684,
-0.01806804910302162,
0.02136758528649807,
-0.03846518322825432,
-0.001907820114865899,
0.025196459144353867,
0.016903506591916084,
0.009351626969873905,
-0.006674061994999647,
-0.00784301571547985,
0.008072394877672195,
0.021808700636029243,
0.008341475389897823,
-0.03412461653351784,
0.008147384971380234,
-0.032942429184913635,
0.02503765933215618,
-0.024084851145744324,
0.00540365232154727,
-0.028143104165792465,
-0.015465473756194115,
0.009581007063388824,
-0.006524083204567432,
0.09746865928173065,
-0.032836563885211945,
-0.0521220862865448,
0.04397029057145119,
0.018720898777246475,
0.049228377640247345,
0.04079426825046539,
-0.012218871153891087,
0.026396291330456734,
-0.049863580614328384,
0.025972820818424225,
0.04135889559984207,
-0.03871220722794533,
-0.030313387513160706,
-0.04329979792237282,
0.05208680033683777,
-0.019708994776010513,
0.026396291330456734,
-0.0690961703658104,
0.002931205788627267,
0.00016307451005559415,
-0.0787653997540474,
0.025443483144044876,
-0.00952807255089283,
0.031125038862228394,
-0.06016801670193672,
-0.04238228127360344,
-0.020785314962267876,
0.04181765392422676,
-0.01866796612739563,
0.025090591982007027,
0.02374960482120514,
0.017282865941524506,
-0.04838143661618233,
-0.03782998025417328,
0.005928578786551952,
-0.009078136645257473,
0.0018626059172675014,
-0.05018118396401405,
0.013595148921012878,
-0.008756122551858425,
-0.022567417472600937,
0.03474217653274536,
-0.058015376329422,
0.06782576441764832,
-0.02343200147151947,
-0.036100808531045914,
-0.07424838840961456,
-0.002538613975048065,
-0.027507899329066277,
-0.0458759069442749,
0.04164120927453041,
0.000601569889113307,
-0.026361001655459404,
-0.0628499910235405,
-0.01500671450048685,
0.00478168111294508,
0.003363498020917177,
-0.010375012643635273,
0.02644922398030758,
0.0024746523704379797,
0.10544400662183762,
-0.0731191411614418,
-0.012227693572640419,
-0.032765984535217285,
0.0019012034172192216,
0.0603797510266304,
0.05145159363746643,
0.03723006322979927,
-0.014706756919622421,
-0.02983698435127735,
-0.018332717940211296,
-0.06447329372167587,
0.02297324314713478,
0.012051247991621494,
-0.028707731515169144,
0.02819603867828846,
0.03375408053398132,
-0.008729655295610428,
0.07714210450649261,
0.015562519431114197,
-0.034971557557582855,
0.007362200878560543,
-0.04771094396710396,
-0.040335509926080704,
-0.04329979792237282,
-0.006144724786281586,
-0.007309267297387123,
-0.005200739949941635,
-0.014080374501645565,
-0.03892394155263901,
-0.04548772796988487,
0.008222374133765697,
0.02104998379945755,
0.006255003623664379,
0.06062677502632141,
-0.022196881473064423,
0.0413941852748394,
-0.0500047393143177,
-0.013021700084209442,
0.054204147309064865,
-0.03708890452980995,
0.06027388200163841,
0.05123985931277275,
-0.01297758799046278,
0.0020754437427967787,
0.04785209894180298,
-0.006250592414289713,
-0.040511954575777054,
-0.01596834510564804,
0.0034142262302339077,
-0.018932633101940155,
-0.013401058502495289,
0.05303960666060448,
0.00202361261472106,
0.001422594184987247,
0.03197197988629341,
-0.014071552082896233,
0.04859317094087601,
0.05603918433189392,
-0.00391489127650857,
0.0072210440412163734,
-0.039488568902015686,
-0.009351626969873905,
-0.02343200147151947,
-0.09902138262987137,
-0.024543609470129013,
0.02858421951532364,
0.023661380633711815,
0.013083456084132195,
0.03758295625448227,
0.007697447668761015,
0.02161460928618908,
0.08010639250278473,
-0.028178393840789795,
0.020132465288043022,
0.05981512367725372,
0.03864162787795067,
-0.004230287857353687,
0.04188823327422142,
0.007719503715634346,
-0.03641841188073158,
-0.0004138205258641392,
0.02780785784125328,
0.04114716127514839,
-0.02780785784125328,
-0.05268671363592148,
0.048981353640556335,
0.022602707147598267,
-0.04753449559211731,
0.006091791205108166,
0.040476664900779724,
-0.0059109339490532875,
-0.011063151061534882,
0.03576556220650673,
-0.05063994228839874,
-0.00828413013368845,
0.08822289854288101,
-0.07153112441301346,
0.0024525965563952923,
0.009775097481906414,
0.03026045486330986,
-0.053110186010599136,
-0.028001947328448296,
0.012430606409907341,
0.07438954710960388,
0.002787843579426408,
-0.058297690004110336,
-0.03491862118244171,
0.03779469057917595,
0.029607605189085007,
-0.0362066775560379,
-0.017035841941833496,
0.08060044050216675,
-0.04714631661772728,
0.02886653132736683,
-0.04308806359767914,
-0.015562519431114197,
0.0431586429476738,
0.02392604947090149,
-0.03414226323366165,
-0.05678025633096695,
-0.03086037002503872,
-0.02442009747028351,
-0.003923713229596615,
0.019973663613200188,
0.0012902598828077316,
0.03558911755681038,
0.005628620740026236,
-0.027031496167182922,
0.004644935484975576,
0.013551036827266216,
-0.06440271437168121,
-0.04354682192206383,
-0.03140735253691673,
0.06884914636611938,
0.03828873857855797,
0.012245338410139084,
0.0057477219961583614,
0.032660115510225296,
0.02318497747182846,
0.05575687065720558,
-0.009678051806986332,
-0.007300444878637791,
0.09549246728420258,
0.02073238044977188,
-0.02041477896273136,
0.03638312220573425,
0.01365690492093563,
-0.05148688331246376,
-0.011601311154663563,
0.012377672828733921,
0.007260744459927082,
0.024790633469820023,
-0.05286316201090813,
0.03257189318537712,
-0.02357315830886364,
0.040229640901088715,
0.014468555338680744,
-0.03158379718661308,
0.012148292735219002,
-0.044640786945819855,
0.020291266962885857,
-0.039912037551403046,
0.04686400294303894,
0.012430606409907341,
0.019038502126932144,
0.043864425271749496,
0.000565177935641259,
-0.003348059020936489,
0.05720372870564461,
-0.018226850777864456,
-0.03393052518367767,
0.03941798955202103,
0.04167649522423744,
0.05205151066184044,
-0.021738121286034584,
0.00007292174268513918,
-0.040300220251083374,
-0.013198145665228367,
0.013321657665073872,
0.00404722522944212,
0.001998248742893338,
0.032907139509916306,
-0.008010638877749443,
-0.032271936535835266,
-0.007507768459618092,
0.027013851329684258,
0.0360831655561924,
-0.06789634376764297,
0.03555382788181305,
0.013092278502881527,
0.02528468333184719,
0.00891492422670126,
0.06539081037044525,
-0.05251026898622513,
-0.0016255069058388472,
-0.06599073112010956,
-0.017776913940906525,
-0.048522595316171646,
0.05166332796216011,
0.0284783523529768,
0.00008925676229409873,
-0.06736700236797333,
-0.02823132649064064,
0.030172230675816536,
0.0023665791377425194,
-0.07707152515649796,
-0.004764036275446415,
0.021173495799303055,
-0.08695248514413834,
-0.015386073850095272,
-0.017750447615981102,
-0.006078557576984167,
0.0013531186850741506,
-0.04562888294458389,
0.018897345289587975,
-0.018438585102558136,
0.003775940043851733,
0.10325607657432556,
0.011901268735527992,
-0.03892394155263901,
-0.033154163509607315,
0.06267354637384415,
-0.009210470132529736,
-0.014609712176024914,
0.0003468262730166316,
-0.012227693572640419,
0.040053196251392365,
0.04213525727391243,
-0.05575687065720558,
0.03541267290711403,
0.030736858025193214,
-0.0013751743827015162,
0.026502158492803574,
-0.03599494323134422,
-0.1003623679280281,
-0.004488340113312006,
-0.016382992267608643,
0.029748762026429176,
0.009184003807604313,
0.015403717756271362,
-0.01593305543065071,
-0.054062992334365845,
-0.0458759069442749,
-0.02164989896118641,
-0.032518960535526276,
-0.020291266962885857,
0.04220583289861679,
-0.044323183596134186,
0.019550194963812828,
0.028390128165483475,
0.015103760175406933,
-0.0000754719294491224,
0.04319393262267113,
-0.01831507310271263,
-0.04298219457268715,
-0.01500671450048685,
0.044852521270513535,
-0.048734329640865326,
-0.009581007063388824,
-0.02389076165854931,
-0.012915831990540028,
0.03590672090649605,
0.004653757903724909,
0.01078966073691845,
0.029713472351431847,
-0.006819630041718483,
0.024631833657622337,
-0.08038870245218277,
0.044711366295814514,
0.024190718308091164,
-0.0037649122532457113,
-0.020926471799612045,
-0.03380701318383217,
-0.009625118225812912,
0.008134150877594948,
-0.03165437653660774,
-0.002022509928792715,
-0.01835036277770996,
0.009078136645257473,
-0.029272357001900673,
-0.026396291330456734,
0.009695696644484997,
-0.010622036643326283,
0.08215316385030746,
-0.006660828832536936,
0.03008400835096836,
-0.050145894289016724,
0.026784472167491913,
0.017715157940983772,
0.020714735612273216,
0.007529824506491423,
-0.012439428828656673,
0.019461970776319504,
-0.03237780183553696,
-0.010242678225040436,
-0.010375012643635273,
0.03370114788413048,
-0.03562440723180771,
0.001113262725993991,
0.04644053429365158,
-0.02893711067736149,
0.021667543798685074,
0.0635557770729065,
0.05116927996277809,
0.021455809473991394,
0.019920730963349342,
0.014000973664224148,
-0.010480879805982113,
-0.013321657665073872,
0.07573053240776062,
-0.00695196446031332,
0.00572566594928503,
-0.015280205756425858,
0.05607447400689125,
0.01064850389957428,
-0.012324739247560501,
-0.0054433527402579784,
-0.02279679663479328,
-0.07989465445280075,
0.02090882696211338,
-0.01390392892062664,
0.028743019327521324,
0.04195880889892578,
0.022779151797294617,
0.05293373763561249,
0.0345480851829052,
-0.025937531143426895,
-0.017776913940906525,
-0.06404982507228851,
-0.010269145481288433,
0.04322921857237816,
-0.03375408053398132,
-0.022355683147907257,
-0.05092225596308708,
-0.015544874593615532,
-0.0655672550201416,
0.019250236451625824,
0.011768934316933155,
0.040017906576395035,
-0.019726639613509178,
-0.05180448666214943,
0.03818286955356598,
-0.016171257942914963,
-0.03920625522732735,
0.026113977655768394,
-0.01667412742972374,
0.011195485480129719,
-0.011548377573490143,
-0.10269145667552948,
0.03885336592793465,
0.011821867898106575,
0.07043716311454773,
-0.035465605556964874,
-0.018720898777246475,
-0.01887970045208931,
-0.008112095296382904,
0.02189692296087742,
0.044429052621126175,
0.006329992786049843,
0.005928578786551952,
0.04164120927453041,
-0.03708890452980995,
-0.0004207129532005638,
0.03648899123072624,
0.0036502224393188953,
0.02350258082151413,
0.004865492694079876,
0.0024437743704766035,
0.022461550310254097,
-0.015774253755807877,
0.029360581189393997,
-0.04580532759428024,
-0.023414356634020805,
0.03548324853181839,
-0.0015626481035724282,
0.017662223428487778,
-0.00569919915869832,
-0.01772397942841053,
0.04241757094860077,
0.08652901649475098,
0.018085693940520287,
0.017944537103176117,
0.014830268919467926,
-0.04700516164302826,
-0.02119114063680172,
-0.014406799338757992,
-0.044817231595516205,
-0.005549220368266106,
0.02371431514620781,
0.06062677502632141,
-0.005575687158852816,
-0.03551853820681572,
-0.00161558180116117,
-0.0035531772300601006,
-0.010974928736686707,
0.008204729296267033,
-0.0641556903719902,
0.03737121820449829,
-0.0003071259707212448,
0.021914567798376083,
0.008954623714089394,
0.009810386225581169,
0.02129700779914856,
-0.00537718553096056,
0.028425417840480804,
0.0521220862865448,
-0.013577504083514214,
0.01287172082811594,
0.009907431900501251,
-0.020344199612736702,
-0.00423911027610302,
-0.058121245354413986,
0.077353835105896,
0.044817231595516205,
-0.03551853820681572,
-0.05088696628808975,
0.0324307382106781,
-0.014768512919545174,
-0.00006072216638131067
] |
710,056
|
urllib3_future._async.poolmanager
|
AsyncProxyManager
|
Behaves just like :class:`PoolManager`, but sends all requests through
the defined proxy, using the CONNECT method for HTTPS URLs.
:param proxy_url:
The URL of the proxy to be used.
:param proxy_headers:
A dictionary containing headers that will be sent to the proxy. In case
of HTTP they are being sent with each request, while in the
HTTPS/CONNECT case they are sent only once. Could be used for proxy
authentication.
:param proxy_ssl_context:
The proxy SSL context is used to establish the TLS connection to the
proxy when using HTTPS proxies.
:param use_forwarding_for_https:
(Defaults to False) If set to True will forward requests to the HTTPS
proxy to be made on behalf of the client instead of creating a TLS
tunnel via the CONNECT method. **Enabling this flag means that request
and response headers and content will be visible from the HTTPS proxy**
whereas tunneling keeps request and response headers and content
private. IP address, target hostname, SNI, and port are always visible
to an HTTPS proxy even when this flag is disabled.
:param proxy_assert_hostname:
The hostname of the certificate to verify against.
:param proxy_assert_fingerprint:
The fingerprint of the certificate to verify against.
Example:
.. code-block:: python
import urllib3
proxy = urllib3.AsyncProxyManager("https://localhost:3128/")
resp1 = await proxy.request("GET", "https://google.com/")
resp2 = await proxy.request("GET", "https://httpbin.org/")
print(len(proxy.pools))
# 1
resp3 = await proxy.request("GET", "https://httpbin.org/")
resp4 = await proxy.request("GET", "https://twitter.com/")
print(len(proxy.pools))
# 3
|
class AsyncProxyManager(AsyncPoolManager):
"""
Behaves just like :class:`PoolManager`, but sends all requests through
the defined proxy, using the CONNECT method for HTTPS URLs.
:param proxy_url:
The URL of the proxy to be used.
:param proxy_headers:
A dictionary containing headers that will be sent to the proxy. In case
of HTTP they are being sent with each request, while in the
HTTPS/CONNECT case they are sent only once. Could be used for proxy
authentication.
:param proxy_ssl_context:
The proxy SSL context is used to establish the TLS connection to the
proxy when using HTTPS proxies.
:param use_forwarding_for_https:
(Defaults to False) If set to True will forward requests to the HTTPS
proxy to be made on behalf of the client instead of creating a TLS
tunnel via the CONNECT method. **Enabling this flag means that request
and response headers and content will be visible from the HTTPS proxy**
whereas tunneling keeps request and response headers and content
private. IP address, target hostname, SNI, and port are always visible
to an HTTPS proxy even when this flag is disabled.
:param proxy_assert_hostname:
The hostname of the certificate to verify against.
:param proxy_assert_fingerprint:
The fingerprint of the certificate to verify against.
Example:
.. code-block:: python
import urllib3
proxy = urllib3.AsyncProxyManager("https://localhost:3128/")
resp1 = await proxy.request("GET", "https://google.com/")
resp2 = await proxy.request("GET", "https://httpbin.org/")
print(len(proxy.pools))
# 1
resp3 = await proxy.request("GET", "https://httpbin.org/")
resp4 = await proxy.request("GET", "https://twitter.com/")
print(len(proxy.pools))
# 3
"""
def __init__(
self,
proxy_url: str,
num_pools: int = 10,
headers: typing.Mapping[str, str] | None = None,
proxy_headers: typing.Mapping[str, str] | None = None,
proxy_ssl_context: ssl.SSLContext | None = None,
use_forwarding_for_https: bool = False,
proxy_assert_hostname: None | str | Literal[False] = None,
proxy_assert_fingerprint: str | None = None,
**connection_pool_kw: typing.Any,
) -> None:
if isinstance(proxy_url, AsyncHTTPConnectionPool):
str_proxy_url = f"{proxy_url.scheme}://{proxy_url.host}:{proxy_url.port}"
else:
str_proxy_url = proxy_url
proxy = parse_url(str_proxy_url)
if proxy.scheme not in ("http", "https"):
raise ProxySchemeUnknown(proxy.scheme)
if not proxy.port:
port = port_by_scheme.get(proxy.scheme, 80)
proxy = proxy._replace(port=port)
self.proxy = proxy
self.proxy_headers = proxy_headers or {}
self.proxy_ssl_context = proxy_ssl_context
self.proxy_config = ProxyConfig(
proxy_ssl_context,
use_forwarding_for_https,
proxy_assert_hostname,
proxy_assert_fingerprint,
)
connection_pool_kw["_proxy"] = self.proxy
connection_pool_kw["_proxy_headers"] = self.proxy_headers
connection_pool_kw["_proxy_config"] = self.proxy_config
super().__init__(num_pools, headers, **connection_pool_kw)
async def connection_from_host(
self,
host: str | None,
port: int | None = None,
scheme: str | None = "http",
pool_kwargs: dict[str, typing.Any] | None = None,
) -> AsyncHTTPConnectionPool:
if scheme == "https":
return await super().connection_from_host(
host, port, scheme, pool_kwargs=pool_kwargs
)
return await super().connection_from_host(
self.proxy.host, self.proxy.port, self.proxy.scheme, pool_kwargs=pool_kwargs # type: ignore[union-attr]
)
def _set_proxy_headers(
self, url: str, headers: typing.Mapping[str, str] | None = None
) -> typing.Mapping[str, str]:
"""
Sets headers needed by proxies: specifically, the Accept and Host
headers. Only sets headers not provided by the user.
"""
headers_ = {"Accept": "*/*"}
netloc = parse_url(url).netloc
if netloc:
headers_["Host"] = netloc
if headers:
headers_.update(headers)
return headers_
@typing.overload # type: ignore[override]
async def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
*,
multiplexed: Literal[False] = ...,
**kw: typing.Any,
) -> AsyncHTTPResponse:
...
@typing.overload
async def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
*,
multiplexed: Literal[True],
**kw: typing.Any,
) -> ResponsePromise:
...
async def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
**kw: typing.Any,
) -> AsyncHTTPResponse | ResponsePromise:
"Same as HTTP(S)ConnectionPool.urlopen, ``url`` must be absolute."
u = parse_url(url)
if not connection_requires_http_tunnel(self.proxy, self.proxy_config, u.scheme):
# For connections using HTTP CONNECT, httplib sets the necessary
# headers on the CONNECT to the proxy. If we're not using CONNECT,
# we'll definitely need to set 'Host' at the very least.
headers = kw.get("headers", self.headers)
kw["headers"] = self._set_proxy_headers(url, headers)
return await super().urlopen(method, url, redirect=redirect, **kw) # type: ignore[no-any-return]
|
(proxy_url: 'str', num_pools: 'int' = 10, headers: 'typing.Mapping[str, str] | None' = None, proxy_headers: 'typing.Mapping[str, str] | None' = None, proxy_ssl_context: 'ssl.SSLContext | None' = None, use_forwarding_for_https: 'bool' = False, proxy_assert_hostname: 'None | str | Literal[False]' = None, proxy_assert_fingerprint: 'str | None' = None, **connection_pool_kw: 'typing.Any') -> 'None'
|
[
0.005260384175926447,
-0.08043167740106583,
-0.050274819135665894,
0.027867991477251053,
-0.03316853195428848,
0.045094747096300125,
-0.035678256303071976,
0.02061990462243557,
-0.01001882366836071,
-0.05593675747513771,
0.04730330407619476,
0.030839504674077034,
0.017638349905610085,
0.03692308068275452,
-0.0018948427168652415,
-0.0029388885013759136,
0.01353243924677372,
-0.015198896639049053,
0.0006311959587037563,
-0.03758564591407776,
-0.024514997377991676,
0.04429163411259651,
0.03718408942222595,
-0.024956708773970604,
-0.021503327414393425,
0.02646254375576973,
-0.025177564471960068,
0.006831472273916006,
0.006128749344497919,
-0.014014306478202343,
-0.04593801498413086,
0.031000128015875816,
-0.004055716097354889,
0.05589660257101059,
0.07091479748487473,
-0.009050069376826286,
0.024896476417779922,
0.049752794206142426,
-0.07557284832000732,
0.0035663198214024305,
-0.00780022656545043,
-0.07344460487365723,
-0.022687917575240135,
-0.003972895443439484,
0.01887313462793827,
0.020358892157673836,
-0.06714017689228058,
0.037886813282966614,
0.00046806377940811217,
-0.06802359968423843,
-0.012899988330900669,
0.041520897299051285,
0.008146568201482296,
0.03433304280042648,
0.04529552534222603,
0.06529301404953003,
-0.02234659530222416,
0.0413602739572525,
-0.01355251669883728,
0.052202288061380386,
-0.009933493100106716,
-0.03198394179344177,
-0.006033380050212145,
-0.02885180339217186,
-0.022065505385398865,
-0.0693085789680481,
-0.022587528452277184,
0.012719288468360901,
0.04525536671280861,
-0.04308696463704109,
0.048548128455877304,
0.03419249877333641,
-0.0030894719529896975,
-0.04999373108148575,
0.0776609405875206,
0.010340068489313126,
0.02059982530772686,
-0.0007679759874008596,
0.010244699195027351,
-0.03182331845164299,
-0.016513992100954056,
0.002750659128651023,
0.006966997869312763,
-0.03981428220868111,
0.031582385301589966,
-0.08392521739006042,
0.02128247171640396,
-0.001679006265476346,
-0.050435442477464676,
-0.03672230243682861,
-0.013181077316403389,
0.026321999728679657,
0.02949429303407669,
-0.02947421558201313,
-0.0322248749434948,
-0.007323378697037697,
-0.03716401383280754,
-0.021423015743494034,
-0.022707995027303696,
0.002158363815397024,
-0.036862846463918686,
-0.0075693316757678986,
-0.05521395802497864,
0.02698456682264805,
0.014556406997144222,
-0.05461162328720093,
0.025438576936721802,
-0.017467688769102097,
-0.024535074830055237,
-0.02240682765841484,
-0.022105660289525986,
-0.027366045862436295,
0.029855692759156227,
0.019214456900954247,
-0.0008677375735715032,
0.01937508024275303,
-0.03656167909502983,
-0.05312586575746536,
-0.02363157458603382,
0.012408082373440266,
-0.050917308777570724,
0.034754678606987,
-0.007489020470529795,
0.02477600984275341,
0.00016062242502812296,
0.026301922276616096,
0.017527922987937927,
0.004660559818148613,
0.0016074790619313717,
-0.052202288061380386,
0.06609612703323364,
0.03013678267598152,
-0.019385118037462234,
0.06384741514921188,
0.05168026685714722,
0.03232526406645775,
-0.045094747096300125,
0.029012424871325493,
-0.032766975462436676,
0.020429164171218872,
-0.003977914806455374,
0.012016565538942814,
-0.038027357310056686,
0.025759821757674217,
0.0018659807974472642,
-0.03202409669756889,
-0.02935374714434147,
-0.011273686774075031,
0.01028987392783165,
-0.06356632709503174,
0.01833103410899639,
-0.024294141680002213,
0.027446357533335686,
0.03057849407196045,
-0.04477350041270256,
0.017558038234710693,
-0.03367047756910324,
0.02642238885164261,
-0.004770988132804632,
0.005852679722011089,
-0.03401179984211922,
-0.018070023506879807,
-0.0034307946916669607,
-0.04109926149249077,
-0.023089474067091942,
-0.04613879323005676,
0.055093493312597275,
-0.12785544991493225,
-0.0018182960338890553,
0.05545489117503166,
-0.010751663707196712,
-0.005712134763598442,
-0.005958088207989931,
0.03724432364106178,
0.06011294201016426,
0.06734095513820648,
0.018983563408255577,
-0.0003491655515972525,
-0.04726314917206764,
-0.0030267287511378527,
0.027948301285505295,
-0.025438576936721802,
-0.04637972638010979,
-0.051479488611221313,
-0.0173773393034935,
0.03826829418540001,
0.002921320265159011,
0.00573221268132329,
0.05581629276275635,
0.027928223833441734,
-0.04818672686815262,
0.010219601914286613,
0.06693939864635468,
-0.05059606209397316,
0.05838625133037567,
-0.03758564591407776,
-0.026201533153653145,
-0.0006700966623611748,
0.05645878240466118,
-0.002318986225873232,
-0.06866608560085297,
0.0031446858774870634,
0.04886937141418457,
0.02594052068889141,
-0.007388631347566843,
-0.042042918503284454,
-0.013251350261271,
-0.025057097896933556,
-0.0159216970205307,
0.053888823837041855,
-0.005057096481323242,
0.03196386247873306,
-0.043287742882966995,
0.034754678606987,
0.004407077562063932,
0.00937633402645588,
0.008794077672064304,
0.010470574721693993,
0.016413604840636253,
-0.01055088546127081,
0.07529176026582718,
-0.019736479967832565,
-0.0030292384326457977,
-0.011604970321059227,
0.041480742394924164,
0.005797465797513723,
0.004113439936190844,
-0.009506839327514172,
0.02945413626730442,
0.01768854446709156,
0.03433304280042648,
0.008683649823069572,
0.057382360100746155,
0.04288618639111519,
0.05465177819132805,
-0.03768603503704071,
-0.03816790506243706,
0.030176937580108643,
-0.014616640284657478,
0.01619274728000164,
-0.0413602739572525,
0.03192370757460594,
0.03866984695196152,
-0.03114067204296589,
-0.052162133157253265,
0.007433806546032429,
-0.025097254663705826,
0.01173547562211752,
0.019796714186668396,
0.029755303636193275,
-0.04605847969651222,
0.012769483029842377,
-0.04714268073439598,
-0.04300665482878685,
-0.043247587978839874,
-0.04356883093714714,
0.0205797478556633,
-0.018381228670477867,
-0.017929477617144585,
0.011032752692699432,
0.00545112369582057,
0.05023466423153877,
-0.054491158574819565,
0.042765721678733826,
-0.043769609183073044,
-0.004530054517090321,
0.02889195829629898,
-0.04706237092614174,
-0.0669795498251915,
0.041440583765506744,
0.10914293676614761,
0.0021345214918255806,
0.009687540121376514,
-0.000705860264133662,
0.02351110801100731,
0.044974278658628464,
-0.002758188173174858,
-0.026040909811854362,
-0.046741124242544174,
-0.040276072919368744,
0.03778642416000366,
0.020760448649525642,
-0.017527922987937927,
-0.05344711244106293,
-0.018943406641483307,
-0.028108924627304077,
-0.06332539021968842,
0.05846656113862991,
-0.02246706187725067,
-0.013472205959260464,
-0.00895971991121769,
-0.03698331490159035,
0.018320994451642036,
-0.027225501835346222,
-0.01823064498603344,
-0.021402938291430473,
-0.04071778431534767,
0.06569457054138184,
-0.033891331404447556,
-0.06420881301164627,
-0.04529552534222603,
0.018943406641483307,
0.02535826526582241,
0.029915926977992058,
0.05312586575746536,
-0.07918685674667358,
-0.002495921915397048,
-0.02055967040359974,
-0.016012048348784447,
-0.0001808570814318955,
0.029855692759156227,
0.0027230519335716963,
0.0173773393034935,
-0.021483249962329865,
0.00027920695720240474,
0.009802987799048424,
-0.012126993387937546,
0.023671729490160942,
0.02949429303407669,
0.0026954449713230133,
-0.09380349516868591,
0.01770862191915512,
0.01468691322952509,
0.001089220866560936,
0.000011097691640316043,
0.013432050123810768,
0.030397793278098106,
0.033831097185611725,
-0.039071403443813324,
0.053928978741168976,
-0.06685908138751984,
0.011584891937673092,
-0.05943029746413231,
-0.014747146517038345,
-0.017869245260953903,
0.00383235071785748,
0.01875266805291176,
0.02584013342857361,
0.020820681005716324,
-0.04935124143958092,
0.026803867891430855,
-0.0016350861405953765,
-0.02116200514137745,
0.025779899209737778,
0.00650018872693181,
-0.03597942367196083,
0.03638098016381264,
-0.025037020444869995,
0.04127996414899826,
-0.04489396885037422,
0.01858200691640377,
-0.059149209409952164,
0.01658426597714424,
0.01772869937121868,
0.03355000913143158,
-0.023310329765081406,
-0.016865354031324387,
-0.03828836977481842,
-0.016182709485292435,
-0.029815537855029106,
-0.06079558655619621,
-0.012317731976509094,
-0.002805873053148389,
0.03525662049651146,
-0.019696325063705444,
-0.012408082373440266,
0.07352491468191147,
-0.018421383574604988,
-0.008121470920741558,
-0.01471702940762043,
-0.04690174758434296,
-0.012237421236932278,
-0.01858200691640377,
-0.016614381223917007,
0.004035638645291328,
-0.01380348950624466,
-0.024294141680002213,
-0.01877274550497532,
-0.02895219251513481,
0.024996865540742874,
0.03712385892868042,
-0.011855943128466606,
0.011615009047091007,
0.017558038234710693,
-0.014827457256615162,
-0.06420881301164627,
-0.03112059459090233,
0.007579370867460966,
0.022125739604234695,
0.035015687346458435,
0.0394127257168293,
0.004344334825873375,
0.00677123898640275,
0.036501444876194,
0.003937758971005678,
-0.054451003670692444,
-0.02953444793820381,
0.022005273029208183,
-0.03361024335026741,
-0.06710001826286316,
0.04180198535323143,
0.033268921077251434,
0.0836842805147171,
0.021463170647621155,
-0.014295395463705063,
0.05589660257101059,
0.06962981820106506,
0.0018986072391271591,
0.05408960208296776,
0.033309075981378555,
-0.033931486308574677,
-0.016945665702223778,
-0.021001381799578667,
-0.00807629618793726,
-0.03350985422730446,
0.005792445968836546,
-0.016574226319789886,
0.014616640284657478,
0.05135902017354965,
0.029112813994288445,
0.049110304564237595,
0.01382356695830822,
-0.03011670522391796,
0.027968378737568855,
-0.005897854454815388,
0.002445727353915572,
0.027446357533335686,
0.0005264148931019008,
-0.06766219437122345,
-0.0030217093881219625,
0.05172042176127434,
0.023270172998309135,
0.00911532249301672,
-0.0047433809377253056,
0.058587029576301575,
0.01848161779344082,
-0.019385118037462234,
0.0460183247923851,
-0.013642867095768452,
-0.019877025857567787,
-0.004259003791958094,
-0.010159368626773357,
-0.04409085586667061,
0.01681515946984291,
0.09227758646011353,
0.019174301996827126,
0.012297654524445534,
-0.054451003670692444,
-0.0023967877496033907,
0.01710628904402256,
-0.08187728375196457,
0.0322248749434948,
0.009160497225821018,
0.014596562832593918,
-0.0916350930929184,
0.03160246089100838,
0.04641988128423691,
0.0032802110072225332,
-0.06055465340614319,
-0.0026251727249473333,
0.06593550741672516,
-0.0518408864736557,
0.06661815196275711,
-0.006881666835397482,
-0.055093493312597275,
-0.0040105413645505905,
0.0504755973815918,
0.02760697901248932,
-0.0223265178501606,
-0.0030744136311113834,
-0.023290252313017845,
-0.013321622274816036,
-0.0043267663568258286,
-0.015098507516086102,
-0.04296649992465973,
-0.009326139464974403,
-0.011685281060636044,
0.05878780782222748,
0.035336934030056,
-0.060916054993867874,
-0.0059480490162968636,
0.023169783875346184,
0.10014808177947998,
-0.026944411918520927,
-0.002129501895979047,
-0.009426528587937355,
0.05007404088973999,
-0.03375078737735748,
0.010821935720741749,
0.029674993827939034,
-0.0008432677132077515,
0.05412975698709488,
-0.01298030000180006,
-0.011765592731535435,
-0.016865354031324387,
0.00926088634878397,
-0.015520141460001469,
0.012458276934921741,
0.03646128997206688,
-0.026141298934817314,
0.019284728914499283,
-0.01208683755248785,
0.08131510019302368,
-0.006711005698889494,
0.05838625133037567,
0.035336934030056,
-0.06645752489566803,
0.020780526101589203,
-0.014335551299154758,
-0.0026377213653177023,
-0.022065505385398865,
0.01206676010042429,
-0.034413352608680725,
-0.02772744558751583,
0.03525662049651146,
0.03487514331936836,
0.00006505678902612999,
0.07051324099302292,
-0.02061990462243557,
-0.06786297261714935,
0.055053334683179855,
0.08312210440635681,
-0.021503327414393425,
-0.00780022656545043,
-0.0390312485396862,
0.030980050563812256,
0.03929226100444794,
0.005031999200582504,
0.006690927781164646,
0.008487891405820847,
0.020519515499472618,
-0.012468315660953522,
-0.06051449850201607,
0.0002605408662930131,
0.03310829773545265,
0.05308571085333824,
-0.06685908138751984,
-0.00247082463465631,
-0.04866859316825867,
0.006726064253598452,
0.020860837772488594,
0.10657297819852829,
-0.034995611757040024,
-0.07288242876529694,
-0.06236165761947632,
-0.008467813022434711,
0.025579120963811874,
0.060956209897994995,
-0.004723303020000458,
-0.014857574366033077,
-0.01704605482518673,
0.0024231397546827793,
0.04473334550857544,
-0.024555152282118797,
-0.06103651970624924,
-0.04770486056804657,
0.05726189538836479,
-0.06786297261714935,
-0.0021822061389684677,
-0.0042113191448152065,
0.017949555069208145,
-0.01090224739164114,
-0.06842515617609024,
-0.003232526360079646,
0.00017395534086972475,
0.03473459929227829,
0.034473586827516556,
0.050395283848047256,
-0.024976786226034164,
0.004858828149735928,
0.024836242198944092,
-0.03842891380190849,
-0.027968378737568855,
0.010104154236614704,
-0.016614381223917007,
0.0066256751306355,
0.030277326703071594,
-0.006861589383333921,
0.08424646407365799,
0.03236541897058487,
0.03768603503704071,
0.02830970287322998,
-0.04352867603302002,
-0.0685456171631813,
0.018652278929948807,
0.009210691787302494,
-0.004648011177778244,
0.03850922733545303,
0.027526667341589928,
-0.03583887964487076,
-0.08769984543323517,
0.0002073660580208525,
-0.03304806351661682,
-0.039091482758522034,
-0.004186221864074469,
0.007398670539259911,
-0.06962981820106506,
0.03314845263957977,
0.06420881301164627,
0.03202409669756889,
0.005777387879788876,
0.03640105575323105,
-0.03814782574772835,
-0.030739115551114082,
-0.025599198415875435,
-0.005571590270847082,
-0.0658150389790535,
0.008849292062222958,
0.016885431483387947,
-0.036180201917886734,
-0.0205797478556633,
-0.009145439602434635,
0.015831347554922104,
-0.04469319060444832,
-0.0788254514336586,
-0.03774626925587654,
-0.06517254561185837,
0.06605596840381622,
0.012197265401482582,
-0.01560045313090086,
0.020941149443387985,
-0.059711385518312454,
-0.0020931109320372343,
0.009411470033228397,
-0.03897101432085037,
0.027908146381378174,
0.0306788831949234,
0.003822311758995056,
-0.0564989373087883,
0.010490652173757553,
0.023109551519155502,
0.0026251727249473333,
0.052684154361486435,
0.01562053058296442,
0.04597816988825798,
-0.00960220955312252,
0.0017618272686377168,
0.05698080360889435,
0.03873008117079735,
-0.07035262137651443,
0.015088468790054321,
-0.01875266805291176,
0.004259003791958094,
0.0017505334690213203,
-0.04493412375450134,
0.0050721550360322,
0.023832352831959724,
-0.017136404290795326,
0.06416866183280945,
-0.013100766576826572,
-0.011966370977461338,
0.04818672686815262,
0.04007529467344284,
0.027908146381378174,
0.0021633831784129143,
0.01858200691640377,
-0.0762956514954567,
-0.004994353279471397,
0.05007404088973999,
-0.026663322001695633,
0.012046681717038155,
0.0029715148266404867,
0.026643244549632072,
0.01760823279619217,
0.01970636285841465,
0.024354375898838043,
-0.030538339167833328,
-0.03316853195428848,
0.02292885072529316,
0.018220607191324234,
0.044371943920850754,
-0.006254235748201609,
-0.02186472713947296,
0.012538587674498558,
0.05702096223831177,
-0.01875266805291176,
0.007890576496720314,
-0.06734095513820648,
-0.02993600443005562,
0.027506589889526367,
0.05364789068698883,
-0.0003661061928141862,
-0.07894591987133026,
0.04662065953016281,
-0.015730958431959152,
0.01652403175830841,
-0.008387502282857895,
-0.0064499941654503345,
0.01904379576444626,
-0.002765717450529337,
0.0065052080899477005,
0.04778517037630081,
0.03927218168973923,
0.041480742394924164,
-0.04878906160593033,
-0.004409587476402521,
-0.017276950180530548,
-0.09886310249567032,
0.04188229888677597,
-0.03774626925587654,
0.05842640623450279,
-0.07460911571979523,
-0.03599949926137924,
-0.01644372008740902,
0.006038399413228035,
0.031000128015875816,
-0.025679510086774826,
0.03290751948952675,
0.04774501547217369,
0.05473209172487259,
0.03547747805714607,
0.0029012425802648067,
0.04754423722624779,
-0.03531685471534729,
0.019314846023917198,
0.006108671426773071,
-0.013181077316403389,
0.006078554783016443,
-0.03698331490159035,
0.01862216182053089,
-0.040416616946458817,
0.04654034599661827,
0.03308821842074394,
-0.009963610209524632,
0.034553900361061096,
0.008317230269312859,
0.014556406997144222,
-0.02413352020084858,
0.012799599207937717,
0.050997618585824966,
0.013703100383281708,
0.04641988128423691,
-0.03716401383280754,
-0.02537834271788597,
-0.03304806351661682,
-0.0179595947265625,
0.03808759152889252,
-0.00024360022507607937,
-0.03190362825989723,
0.022226128727197647,
-0.005350734572857618,
-0.08440708369016647,
-0.015399674884974957,
0.028470324352383614,
0.030317483469843864,
-0.07657673954963684,
0.027225501835346222,
0.0349554568529129,
0.027847912162542343,
0.016654537990689278,
0.011926215142011642,
0.030859583988785744,
-0.049110304564237595,
0.040336307138204575,
-0.004073284100741148,
-0.055695824325084686,
0.0023152215871959925,
-0.03754549100995064,
-0.025739744305610657,
-0.019846908748149872,
-0.031100517138838768,
0.019877025857567787,
0.02893211506307125,
-0.021041536703705788,
-0.03822813555598259,
0.0036039657425135374,
0.0036616893485188484,
0.025077175348997116
] |
710,059
|
urllib3_future._async.poolmanager
|
__init__
| null |
def __init__(
self,
proxy_url: str,
num_pools: int = 10,
headers: typing.Mapping[str, str] | None = None,
proxy_headers: typing.Mapping[str, str] | None = None,
proxy_ssl_context: ssl.SSLContext | None = None,
use_forwarding_for_https: bool = False,
proxy_assert_hostname: None | str | Literal[False] = None,
proxy_assert_fingerprint: str | None = None,
**connection_pool_kw: typing.Any,
) -> None:
if isinstance(proxy_url, AsyncHTTPConnectionPool):
str_proxy_url = f"{proxy_url.scheme}://{proxy_url.host}:{proxy_url.port}"
else:
str_proxy_url = proxy_url
proxy = parse_url(str_proxy_url)
if proxy.scheme not in ("http", "https"):
raise ProxySchemeUnknown(proxy.scheme)
if not proxy.port:
port = port_by_scheme.get(proxy.scheme, 80)
proxy = proxy._replace(port=port)
self.proxy = proxy
self.proxy_headers = proxy_headers or {}
self.proxy_ssl_context = proxy_ssl_context
self.proxy_config = ProxyConfig(
proxy_ssl_context,
use_forwarding_for_https,
proxy_assert_hostname,
proxy_assert_fingerprint,
)
connection_pool_kw["_proxy"] = self.proxy
connection_pool_kw["_proxy_headers"] = self.proxy_headers
connection_pool_kw["_proxy_config"] = self.proxy_config
super().__init__(num_pools, headers, **connection_pool_kw)
|
(self, proxy_url: 'str', num_pools: 'int' = 10, headers: 'typing.Mapping[str, str] | None' = None, proxy_headers: 'typing.Mapping[str, str] | None' = None, proxy_ssl_context: 'ssl.SSLContext | None' = None, use_forwarding_for_https: 'bool' = False, proxy_assert_hostname: 'None | str | Literal[False]' = None, proxy_assert_fingerprint: 'str | None' = None, **connection_pool_kw: 'typing.Any') -> 'None'
|
[
-0.018811536952853203,
-0.06056580692529678,
-0.04607367888092995,
0.007090791594237089,
-0.05830729380249977,
0.04953673109412193,
-0.035308096557855606,
0.022171076387166977,
-0.024279022589325905,
-0.026819849386811256,
0.029097184538841248,
0.07844571024179459,
0.008972886949777603,
0.049499090760946274,
0.00842707883566618,
-0.0054204328916966915,
0.048445116728544235,
-0.01257239282131195,
0.012148921377956867,
-0.061807990074157715,
-0.006554394960403442,
0.005349854007363319,
0.04118023067712784,
0.03784892335534096,
-0.009165801107883453,
0.012610034085810184,
-0.02928539365530014,
0.017983414232730865,
-0.00963632483035326,
-0.016741232946515083,
-0.0467512309551239,
0.04091673716902733,
-0.03521399199962616,
0.08725391328334808,
0.07584841549396515,
-0.012280668132007122,
0.010360931046307087,
0.021248849108815193,
-0.07430510222911835,
0.02649989351630211,
0.012779423035681248,
-0.0586460717022419,
-0.034856393933296204,
-0.02028898149728775,
0.000110205466626212,
0.039185211062431335,
-0.03828180581331253,
0.0285513773560524,
0.003096045693382621,
-0.04577254503965378,
-0.05868371203541756,
0.04080381244421005,
0.015103810466825962,
0.028476092964410782,
0.02341325767338276,
0.06613680720329285,
0.019874919205904007,
0.042987044900655746,
-0.03156272694468498,
0.06165742129087448,
-0.06011410430073738,
-0.03346364572644234,
0.029699454084038734,
-0.01870802231132984,
-0.00298312003724277,
-0.058721356093883514,
-0.04799341410398483,
0.003794773481786251,
0.04419158399105072,
-0.055634718388319016,
0.07746701687574387,
0.03929813578724861,
-0.02213343419134617,
-0.04272355139255524,
0.06165742129087448,
0.028080852702260017,
-0.002745505655184388,
-0.023563826456665993,
0.030696963891386986,
-0.06798125803470612,
-0.015771953389048576,
0.004949909169226885,
-0.0385829396545887,
-0.0394863486289978,
0.024862471967935562,
-0.07031505554914474,
0.04682651534676552,
-0.009532809257507324,
-0.01683533750474453,
0.0071190232411026955,
-0.040201544761657715,
0.014341562055051327,
-0.005392201244831085,
-0.04426686838269234,
-0.01479326467961073,
0.004110024310648441,
-0.01866096816956997,
-0.010643245652318,
-0.027196267619729042,
0.014040426351130009,
-0.03835709020495415,
-0.018021056428551674,
-0.06286196410655975,
0.014407435432076454,
0.0029878253117203712,
-0.03978748247027397,
0.02333797514438629,
-0.04193307086825371,
-0.040728528052568436,
-0.05571000277996063,
-0.025577666237950325,
-0.012892348691821098,
0.022434568032622337,
0.024015529081225395,
0.017936361953616142,
0.029755916446447372,
-0.019460858777165413,
-0.06813182681798935,
-0.02311212383210659,
-0.002340855309739709,
-0.015611975453794003,
0.004171192180365324,
0.00013446684170048684,
0.05375262349843979,
-0.001958554843440652,
0.028852511197328568,
0.02928539365530014,
-0.020966535434126854,
0.029962947592139244,
-0.04788048937916756,
0.08492011576890945,
0.017437607049942017,
-0.025013038888573647,
0.05277393385767937,
0.03542102128267288,
0.021286491304636,
-0.04754171147942543,
0.03079107031226158,
-0.03632442653179169,
0.011499598622322083,
0.02132413350045681,
-0.00030966338817961514,
-0.028833691030740738,
0.02725273184478283,
-0.0011345501989126205,
-0.019140902906656265,
-0.030640501528978348,
-0.03570333495736122,
0.016374224796891212,
-0.031205130741000175,
0.00043052915134467185,
-0.00778246158733964,
0.019018566235899925,
0.019084440544247627,
-0.04400337487459183,
-0.0104173943400383,
-0.004373517353087664,
0.017127061262726784,
0.013080557808279991,
0.021531162783503532,
-0.009330484084784985,
0.006704962346702814,
-0.0017868136055767536,
-0.034310586750507355,
-0.03679495304822922,
-0.03547748550772667,
0.045132629573345184,
-0.13031624257564545,
0.0033336603082716465,
0.037340760231018066,
-0.0014727391535416245,
-0.032503776252269745,
-0.005307507235556841,
0.059248343110084534,
0.02875840663909912,
0.048445116728544235,
0.0009598683100193739,
0.029398320242762566,
-0.04701472446322441,
0.0007722469745203853,
0.028212599456310272,
-0.002681985031813383,
-0.06937400996685028,
-0.03570333495736122,
-0.01104789599776268,
0.02776089683175087,
0.010869096964597702,
0.03030172549188137,
0.06519576162099838,
0.030264083296060562,
-0.015226146206259727,
0.010464446619153023,
0.046148963272571564,
-0.014200404286384583,
0.058984849601984024,
-0.04219656437635422,
-0.00196208362467587,
-0.019686710089445114,
0.028325526043772697,
0.045094989240169525,
-0.0760742649435997,
0.021455880254507065,
0.026838671416044235,
-0.006690846756100655,
0.0011892486363649368,
-0.00023129179317038506,
-0.029925305396318436,
0.01349461916834116,
-0.015847237780690193,
0.04347638785839081,
0.025521203875541687,
0.003535985480993986,
-0.0502895712852478,
0.0540161170065403,
-0.02570941299200058,
-0.004808751866221428,
-0.010539730079472065,
-0.008972886949777603,
0.026819849386811256,
-0.03828180581331253,
0.08047837018966675,
0.021662909537553787,
0.004964024759829044,
-0.02333797514438629,
0.04215892031788826,
0.021531162783503532,
0.02830670401453972,
-0.015997804701328278,
-0.017635228112339973,
0.014190994203090668,
0.018933873623609543,
-0.013409924693405628,
0.05698982626199722,
0.03079107031226158,
0.07483208924531937,
-0.07396632432937622,
-0.04373988136649132,
0.01401219516992569,
-0.0027996159624308348,
0.008718803524971008,
0.002778442343696952,
0.030000589787960052,
0.03214617818593979,
-0.042572982609272,
-0.006930813658982515,
-0.006662615109235048,
-0.08153234422206879,
0.027892643585801125,
0.020401906222105026,
0.04648773744702339,
-0.01205481681972742,
0.022942734882235527,
-0.06259846687316895,
-0.05732860416173935,
-0.046638306230306625,
-0.026612818241119385,
0.008187112398445606,
-0.070352703332901,
-0.021644089370965958,
-0.006276785861700773,
0.0026913953479379416,
0.025389457121491432,
-0.03822534531354904,
0.02081596665084362,
-0.05386555194854736,
-0.002489070175215602,
0.009918639436364174,
-0.026688102632761,
-0.027798539027571678,
0.039938051253557205,
0.10750524699687958,
0.010172721929848194,
0.006512047722935677,
0.023507362231612206,
0.006817888002842665,
0.01346638798713684,
-0.019197365269064903,
-0.03216499835252762,
-0.03596682846546173,
-0.038394730538129807,
0.05288686230778694,
0.01283588632941246,
-0.013278177939355373,
-0.04351402819156647,
-0.012638266198337078,
0.007123728282749653,
-0.0549195222556591,
0.08273687958717346,
-0.007542494684457779,
-0.023808497935533524,
-0.02365793101489544,
0.025370636954903603,
0.039975691586732864,
-0.01760699599981308,
-0.03784892335534096,
-0.055408868938684464,
-0.011339620687067509,
0.050214286893606186,
-0.03751014918088913,
-0.02928539365530014,
-0.05680161714553833,
-0.007170781027525663,
0.002747858176007867,
0.0365879200398922,
0.022208716720342636,
-0.07577313482761383,
0.018039878457784653,
0.011546650901436806,
0.0104173943400383,
-0.0033336603082716465,
0.0668143630027771,
0.025803517550230026,
-0.012553571723401546,
0.00706256041303277,
0.022415747866034508,
0.006601447239518166,
-0.022246358916163445,
-0.004441743716597557,
0.008714098483324051,
0.005735683720558882,
-0.07174544781446457,
0.007307232823222876,
0.01667535863816738,
-0.01401219516992569,
-0.04325053468346596,
0.033783599734306335,
0.025314174592494965,
-0.012017174623906612,
-0.021662909537553787,
0.07016449421644211,
-0.0679059773683548,
0.04193307086825371,
-0.026123475283384323,
-0.018811536952853203,
0.009880997240543365,
-0.009815123863518238,
0.01478385366499424,
0.033275432884693146,
-0.0029078363440930843,
-0.037679534405469894,
0.015753133222460747,
-0.016383634880185127,
-0.03645617514848709,
0.006060345098376274,
0.0026114063803106546,
-0.05657576769590378,
-0.00989040732383728,
-0.02772325463593006,
0.03355775028467178,
-0.025351814925670624,
-0.021135924383997917,
-0.0549195222556591,
0.03542102128267288,
0.027553865686058998,
0.04340110346674919,
-0.009739840403199196,
-0.035101067274808884,
-0.027290374040603638,
-0.012760601937770844,
-0.025050681084394455,
-0.045057348906993866,
-0.04396573081612587,
-0.039448704570531845,
0.049197956919670105,
-0.02160644717514515,
0.007443684618920088,
0.07246064394712448,
-0.033802419900894165,
-0.04061560332775116,
-0.014115710742771626,
-0.0226039569824934,
0.0010992609895765781,
-0.03873350843787193,
-0.029191289097070694,
0.008921128697693348,
-0.041782502084970474,
-0.011951301246881485,
-0.012591213919222355,
-0.02591644413769245,
0.0133440513163805,
0.0031407454516738653,
-0.0045946636237204075,
0.012610034085810184,
0.02567177265882492,
-0.0699009969830513,
-0.04238477349281311,
-0.008403552696108818,
0.010577372275292873,
0.06161978095769882,
0.007980081252753735,
0.0333130769431591,
-0.01208304800093174,
0.007914207875728607,
0.05108005180954933,
0.010596193373203278,
-0.04261062294244766,
-0.009542220272123814,
0.012243025936186314,
-0.033294256776571274,
-0.04550905153155327,
0.026424609124660492,
0.021004177629947662,
0.03963691368699074,
0.043024685233831406,
-0.02284863032400608,
0.049386166036129,
0.027685612440109253,
0.02830670401453972,
0.07927382737398148,
0.011151411570608616,
0.020194876939058304,
-0.023432079702615738,
-0.030433472245931625,
-0.012403003871440887,
-0.07660125195980072,
-0.0028913679998368025,
-0.042798832058906555,
0.004806399345397949,
0.04908502846956253,
-0.000841061060782522,
0.04957437515258789,
0.022999197244644165,
-0.032089713960886,
0.0012598271714523435,
-0.012073637917637825,
0.03466818481683731,
0.013071147724986076,
-0.023808497935533524,
-0.011509008705615997,
-0.025238890200853348,
-0.014567413367331028,
0.020891251042485237,
-0.016637716442346573,
-0.006690846756100655,
0.07456859201192856,
0.020232517272233963,
-0.025276532396674156,
0.060001179575920105,
-0.026838671416044235,
0.0030536986887454987,
-0.017494069412350655,
-0.021135924383997917,
-0.022698061540722847,
0.023846140131354332,
0.05552179366350174,
0.04550905153155327,
0.007693062070757151,
-0.05939890816807747,
-0.03297429904341698,
0.021455880254507065,
-0.0432128943502903,
-0.0036489111371338367,
-0.01644950732588768,
-0.0328613743185997,
-0.04889681935310364,
0.008577646687626839,
0.007213127799332142,
0.026857491582632065,
-0.0008192993700504303,
0.008779971860349178,
0.07468152046203613,
-0.04705236852169037,
0.04889681935310364,
-0.014021605253219604,
-0.10434333235025406,
0.020928893238306046,
0.041519008576869965,
0.04836983233690262,
0.011866606771945953,
-0.006088576279580593,
-0.0021091224625706673,
0.01628953032195568,
-0.016600076109170914,
0.00025761171127669513,
-0.04648773744702339,
0.0008757621981203556,
0.02266041934490204,
0.06847060471773148,
0.07377811521291733,
-0.059210699051618576,
-0.009711608290672302,
0.042271848767995834,
0.081155925989151,
-0.029850022867321968,
-0.005298096686601639,
-0.010022154077887535,
0.02006313018500805,
-0.035044603049755096,
0.03724665567278862,
0.06259846687316895,
0.0014668576186522841,
0.06929872930049896,
-0.03538338094949722,
-0.023262690752744675,
0.013814575038850307,
0.011104358360171318,
-0.0017303507775068283,
0.03783010318875313,
0.045659616589546204,
-0.030885174870491028,
0.00042758838390000165,
-0.0013033505529165268,
0.03568451479077339,
-0.0023726157378405333,
0.04106730595231056,
0.018971513956785202,
-0.059700045734643936,
0.025351814925670624,
-0.015583744272589684,
-0.027026880532503128,
0.0009204619564116001,
-0.0014468602603301406,
-0.05371498316526413,
0.020100772380828857,
0.03758542984724045,
0.041519008576869965,
-0.009645734913647175,
0.06335131078958511,
-0.0672660619020462,
-0.022773345932364464,
0.06749191880226135,
0.08258631825447083,
-0.01673182286322117,
-0.03591036796569824,
-0.03538338094949722,
0.011866606771945953,
0.061770349740982056,
0.02059011533856392,
0.05363969877362251,
0.02956770732998848,
-0.004954614210873842,
-0.02725273184478283,
-0.0632760226726532,
0.04772992059588432,
0.04682651534676552,
0.046638306230306625,
-0.06320074200630188,
-0.004888740833848715,
-0.02264159917831421,
-0.013739291578531265,
0.014322740957140923,
0.07238536328077316,
-0.010878507047891617,
-0.07995138317346573,
-0.0780692920088768,
-0.007994197309017181,
0.02881487086415291,
0.08183347433805466,
-0.02617993764579296,
-0.03521399199962616,
-0.01349461916834116,
-0.014040426351130009,
0.015828415751457214,
-0.03545866534113884,
-0.04118023067712784,
-0.027045700699090958,
0.060754016041755676,
-0.04437979310750961,
-0.0010922030778601766,
-0.007481326349079609,
0.023977886885404587,
-0.019385576248168945,
-0.003098398447036743,
0.017004726454615593,
-0.027158627286553383,
0.018077518790960312,
0.011254926212131977,
0.020176054909825325,
-0.0328613743185997,
0.00452879024669528,
0.010972612537443638,
-0.03190150484442711,
-0.033783599734306335,
0.04336346313357353,
-0.034084733575582504,
-0.00012439468991942704,
0.035289276391267776,
0.023206228390336037,
0.08650106936693192,
0.03551512584090233,
0.01758817583322525,
0.04208363592624664,
-0.03645617514848709,
-0.06948693841695786,
0.011546650901436806,
0.0021338248625397682,
-0.010360931046307087,
0.015282608568668365,
0.031750936061143875,
-0.03414119780063629,
-0.07031505554914474,
-0.020627757534384727,
-0.043815165758132935,
-0.0008610583026893437,
-0.026593998074531555,
-0.004865214694291353,
-0.06895995140075684,
0.005298096686601639,
0.06192091479897499,
0.025238890200853348,
-0.003623032243922353,
0.0610927939414978,
-0.021700551733374596,
-0.0131182000041008,
-0.02567177265882492,
-0.030527576804161072,
-0.08800674974918365,
0.05631227418780327,
-0.00031495679286308587,
-0.034272946417331696,
-0.0008298861212097108,
-0.005255749449133873,
0.002413786482065916,
-0.04347638785839081,
-0.0659109577536583,
-0.028400808572769165,
-0.0509294830262661,
0.05115533247590065,
0.0002593761892057955,
-0.03899700194597244,
0.030433472245931625,
-0.06865881383419037,
-0.014040426351130009,
0.03756660968065262,
-0.017371734604239464,
0.007584841456264257,
0.05732860416173935,
-0.033745959401130676,
-0.02700805850327015,
0.0328613743185997,
0.03805595636367798,
0.000985747086815536,
0.034348227083683014,
-0.004107671789824963,
0.013071147724986076,
0.045621976256370544,
0.013682828284800053,
0.07069147378206253,
0.05062834918498993,
-0.05168231949210167,
0.00047052366426214576,
-0.002124414313584566,
0.032804910093545914,
0.018453938886523247,
-0.042045995593070984,
-0.007749524898827076,
0.024241380393505096,
-0.02156880497932434,
0.0789726972579956,
-0.00440174899995327,
0.0008704687934368849,
0.03959927335381508,
0.03246613219380379,
0.031732115894556046,
0.009993922896683216,
0.023036839440464973,
-0.07438038289546967,
0.020928893238306046,
0.054844241589307785,
-0.022961555048823357,
0.012130100280046463,
0.008845845237374306,
0.04633717238903046,
0.013645187020301819,
-0.026669282466173172,
0.026593998074531555,
0.006008587311953306,
-0.045621976256370544,
-0.020872430875897408,
0.030734606087207794,
0.03214617818593979,
-0.00007204894063761458,
-0.030941637232899666,
0.010652655735611916,
0.060791660100221634,
-0.019178545102477074,
-0.015179093927145004,
-0.04618660360574722,
-0.027629150077700615,
0.013005274347960949,
0.06485698372125626,
0.004288823343813419,
-0.05811908468604088,
0.02693277597427368,
-0.03295547887682915,
-0.0031383929308503866,
-0.03464936465024948,
0.02951124496757984,
-0.014765032567083836,
0.009824533946812153,
-0.002179700881242752,
0.05348912999033928,
0.049499090760946274,
0.03184504061937332,
-0.054354894906282425,
-0.035872723907232285,
-0.021738193929195404,
-0.1279071569442749,
0.04780520498752594,
-0.018943283706903458,
-0.0005372792365960777,
-0.04648773744702339,
-0.04772992059588432,
-0.017296450212597847,
-0.015997804701328278,
0.013475798070430756,
-0.01981845684349537,
0.037623073905706406,
0.05597349628806114,
0.019347934052348137,
0.042798832058906555,
0.017390554770827293,
0.06086694449186325,
-0.028137315064668655,
-0.0023820260539650917,
0.04727821797132492,
0.02134295366704464,
0.017522301524877548,
-0.051268260926008224,
-0.006187386345118284,
-0.014209815301001072,
0.04309996962547302,
0.014934421516954899,
-0.014717980287969112,
0.05729096382856369,
-0.01931029185652733,
0.0016550670843571424,
-0.01452977117151022,
0.012440646067261696,
0.011217284016311169,
0.03003823198378086,
0.03758542984724045,
-0.045621976256370544,
-0.03180740028619766,
-0.03751014918088913,
-0.040201544761657715,
0.06365244090557098,
-0.011781913228332996,
0.02335679531097412,
0.041255515068769455,
-0.0013080558273941278,
-0.05985061079263687,
0.010963201522827148,
0.02725273184478283,
0.013522850349545479,
-0.04313760995864868,
0.032503776252269745,
0.007020213175565004,
0.013334641233086586,
0.010765581391751766,
-0.009513989090919495,
0.03630560636520386,
-0.020420728251338005,
0.013005274347960949,
0.00044611527118831873,
-0.08266159892082214,
-0.02079714648425579,
-0.015320250764489174,
-0.03160037100315094,
-0.035853903740644455,
-0.03681377321481705,
0.013306409120559692,
0.010878507047891617,
-0.039448704570531845,
-0.035552769899368286,
0.024975396692752838,
0.03493167832493782,
0.024241380393505096
] |
710,073
|
urllib3_future._async.poolmanager
|
urlopen
|
Same as HTTP(S)ConnectionPool.urlopen, ``url`` must be absolute.
|
@typing.overload
async def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
*,
multiplexed: Literal[True],
**kw: typing.Any,
) -> ResponsePromise:
...
|
(self, method: str, url: str, redirect: bool = True, **kw: Any) -> urllib3_future._async.response.AsyncHTTPResponse | urllib3_future.backend._base.ResponsePromise
|
[
-0.054062992334365845,
-0.10127988457679749,
-0.016515325754880905,
0.0215793214738369,
-0.039559148252010345,
0.044464342296123505,
-0.034936267882585526,
-0.00784301571547985,
-0.010727904736995697,
-0.015050826594233513,
0.06422626972198486,
0.01562427543103695,
0.01621536910533905,
0.05632149800658226,
-0.020573580637574196,
-0.010736726224422455,
0.012651163153350353,
0.07565996050834656,
-0.03779469057917595,
-0.033471766859292984,
-0.020114820450544357,
0.08391761779785156,
0.013727483339607716,
-0.020855892449617386,
-0.010719082318246365,
0.0707547664642334,
-0.0127658536657691,
-0.0016221984988078475,
-0.03715948387980461,
-0.024084851145744324,
0.038676917552948,
0.00451039569452405,
-0.006612305995076895,
0.050145894289016724,
0.026907984167337418,
0.010198567062616348,
-0.023978983983397484,
0.08744653314352036,
-0.1400979608297348,
-0.004790503531694412,
-0.07156641781330109,
-0.06553196907043457,
0.010251500643789768,
-0.024561254307627678,
0.0022331420332193375,
0.0040119364857673645,
-0.07036658376455307,
0.005880055949091911,
-0.01425682008266449,
-0.020538290962576866,
0.0077900816686451435,
0.07061360776424408,
0.02087353728711605,
-0.01404508575797081,
0.01370983850210905,
0.07911829650402069,
-0.019109079614281654,
0.11080796271562576,
0.008791412226855755,
0.05607447400689125,
0.011195485480129719,
-0.0027988713700324297,
0.010189744643867016,
0.006665240041911602,
-0.00928104855120182,
-0.017662223428487778,
-0.04340566694736481,
0.017873959615826607,
-0.0034274596255272627,
0.009413382969796658,
0.011998314410448074,
0.03627725690603256,
-0.04760507494211197,
0.0025694919750094414,
0.10219740122556686,
-0.013939217664301395,
-0.04577003791928291,
-0.010339723899960518,
-0.005041938740760088,
0.015086115337908268,
0.0008166132029145956,
-0.03895923122763634,
-0.027472609654068947,
0.0253552608191967,
-0.054557040333747864,
-0.06786105036735535,
0.025831663981080055,
-0.06740229576826096,
-0.02886653132736683,
0.03648899123072624,
-0.06112082302570343,
0.016065388917922974,
-0.04569946229457855,
-0.007348967250436544,
-0.004918426740914583,
-0.0018780449172481894,
-0.014353865757584572,
-0.021879278123378754,
-0.0034252540208399296,
-0.03663014620542526,
-0.04157062992453575,
-0.005765366367995739,
-0.04326450824737549,
-0.020044242963194847,
0.023237911984324455,
-0.06775518506765366,
0.045311279594898224,
0.0022960009519010782,
0.003729623043909669,
0.01273056399077177,
-0.012386495247483253,
-0.06334403902292252,
-0.02055593580007553,
0.06263826042413712,
-0.009483961388468742,
0.0417470745742321,
0.016100678592920303,
-0.03835931420326233,
-0.03253660351037979,
0.023484935984015465,
-0.07149583846330643,
0.020503001287579536,
0.0006230742437765002,
0.009633940644562244,
0.05603918433189392,
0.048734329640865326,
0.0038112292531877756,
-0.015491941012442112,
-0.027366742491722107,
-0.005218384321779013,
0.013295190408825874,
0.07925945520401001,
0.0022166003473103046,
0.05169861763715744,
-0.008125328458845615,
0.035218581557273865,
-0.07131939381361008,
0.023343779146671295,
-0.006788752041757107,
0.04344095662236214,
-0.06376750767230988,
0.03576556220650673,
0.01898556761443615,
0.005231617949903011,
-0.016435926780104637,
-0.01385099533945322,
-0.03146028518676758,
-0.08617612719535828,
0.010136811062693596,
0.04562888294458389,
0.04171178489923477,
-0.033330611884593964,
0.0205206461250782,
0.040335509926080704,
-0.024578899145126343,
0.005152217112481594,
0.009501606225967407,
0.0016387403011322021,
0.0008232299005612731,
-0.03638312220573425,
-0.009395739063620567,
-0.04164120927453041,
0.02325555495917797,
-0.04347624257206917,
-0.01059557031840086,
-0.05162803828716278,
0.04644053429365158,
-0.03737121820449829,
0.026960916817188263,
0.030313387513160706,
0.01618007943034172,
0.03641841188073158,
-0.011195485480129719,
-0.011989491991698742,
0.049545980989933014,
0.04354682192206383,
0.010622036643326283,
0.02500236965715885,
-0.03488333523273468,
-0.005906523205339909,
0.06542610377073288,
-0.0566038116812706,
-0.05321605131030083,
-0.006259414833039045,
0.0232908446341753,
0.03641841188073158,
-0.027402032166719437,
-0.00804151687771082,
0.005333074368536472,
0.02399662882089615,
-0.016303591430187225,
0.0048346146941185,
0.04633466526865959,
-0.05191035196185112,
0.014662645757198334,
-0.08017697185277939,
-0.039594437927007675,
0.02648451365530491,
0.02784314565360546,
0.0038200514391064644,
-0.017776913940906525,
0.020644158124923706,
-0.01593305543065071,
0.019003212451934814,
-0.0005108657060191035,
-0.01203360315412283,
0.03477746620774269,
-0.008359119296073914,
-0.04746391996741295,
-0.011442509479820728,
-0.02080295979976654,
0.01534196175634861,
-0.0018471669172868133,
0.015386073850095272,
-0.008248841390013695,
0.001414874684996903,
-0.029378224164247513,
-0.004124420695006847,
0.011442509479820728,
-0.029554670676589012,
0.09930369257926941,
-0.020926471799612045,
0.020008953288197517,
-0.008420875295996666,
0.05346307530999184,
0.008588499389588833,
0.009219292551279068,
-0.02570815198123455,
-0.04294690489768982,
0.011292531155049801,
-0.007437190506607294,
0.021314652636647224,
0.08864636719226837,
0.03191904351115227,
-0.032942429184913635,
-0.03211313486099243,
0.002221011556684971,
0.026572735980153084,
-0.025072947144508362,
-0.009192826226353645,
0.01583600975573063,
0.039665013551712036,
-0.0014733223943039775,
0.04241757094860077,
-0.035853784531354904,
0.006815218832343817,
-0.008601732552051544,
0.035642050206661224,
0.00025115956668742,
0.022143946960568428,
-0.02591988816857338,
-0.01145133189857006,
-0.026043400168418884,
-0.020997049286961555,
0.018156273290514946,
0.01498907059431076,
-0.044746652245521545,
-0.028813598677515984,
-0.022426260635256767,
-0.008817878551781178,
0.03779469057917595,
0.04262930527329445,
-0.020714735612273216,
0.04248814657330513,
-0.059179920703172684,
-0.01806804910302162,
0.02136758528649807,
-0.03846518322825432,
-0.001907820114865899,
0.025196459144353867,
0.016903506591916084,
0.009351626969873905,
-0.006674061994999647,
-0.00784301571547985,
0.008072394877672195,
0.021808700636029243,
0.008341475389897823,
-0.03412461653351784,
0.008147384971380234,
-0.032942429184913635,
0.02503765933215618,
-0.024084851145744324,
0.00540365232154727,
-0.028143104165792465,
-0.015465473756194115,
0.009581007063388824,
-0.006524083204567432,
0.09746865928173065,
-0.032836563885211945,
-0.0521220862865448,
0.04397029057145119,
0.018720898777246475,
0.049228377640247345,
0.04079426825046539,
-0.012218871153891087,
0.026396291330456734,
-0.049863580614328384,
0.025972820818424225,
0.04135889559984207,
-0.03871220722794533,
-0.030313387513160706,
-0.04329979792237282,
0.05208680033683777,
-0.019708994776010513,
0.026396291330456734,
-0.0690961703658104,
0.002931205788627267,
0.00016307451005559415,
-0.0787653997540474,
0.025443483144044876,
-0.00952807255089283,
0.031125038862228394,
-0.06016801670193672,
-0.04238228127360344,
-0.020785314962267876,
0.04181765392422676,
-0.01866796612739563,
0.025090591982007027,
0.02374960482120514,
0.017282865941524506,
-0.04838143661618233,
-0.03782998025417328,
0.005928578786551952,
-0.009078136645257473,
0.0018626059172675014,
-0.05018118396401405,
0.013595148921012878,
-0.008756122551858425,
-0.022567417472600937,
0.03474217653274536,
-0.058015376329422,
0.06782576441764832,
-0.02343200147151947,
-0.036100808531045914,
-0.07424838840961456,
-0.002538613975048065,
-0.027507899329066277,
-0.0458759069442749,
0.04164120927453041,
0.000601569889113307,
-0.026361001655459404,
-0.0628499910235405,
-0.01500671450048685,
0.00478168111294508,
0.003363498020917177,
-0.010375012643635273,
0.02644922398030758,
0.0024746523704379797,
0.10544400662183762,
-0.0731191411614418,
-0.012227693572640419,
-0.032765984535217285,
0.0019012034172192216,
0.0603797510266304,
0.05145159363746643,
0.03723006322979927,
-0.014706756919622421,
-0.02983698435127735,
-0.018332717940211296,
-0.06447329372167587,
0.02297324314713478,
0.012051247991621494,
-0.028707731515169144,
0.02819603867828846,
0.03375408053398132,
-0.008729655295610428,
0.07714210450649261,
0.015562519431114197,
-0.034971557557582855,
0.007362200878560543,
-0.04771094396710396,
-0.040335509926080704,
-0.04329979792237282,
-0.006144724786281586,
-0.007309267297387123,
-0.005200739949941635,
-0.014080374501645565,
-0.03892394155263901,
-0.04548772796988487,
0.008222374133765697,
0.02104998379945755,
0.006255003623664379,
0.06062677502632141,
-0.022196881473064423,
0.0413941852748394,
-0.0500047393143177,
-0.013021700084209442,
0.054204147309064865,
-0.03708890452980995,
0.06027388200163841,
0.05123985931277275,
-0.01297758799046278,
0.0020754437427967787,
0.04785209894180298,
-0.006250592414289713,
-0.040511954575777054,
-0.01596834510564804,
0.0034142262302339077,
-0.018932633101940155,
-0.013401058502495289,
0.05303960666060448,
0.00202361261472106,
0.001422594184987247,
0.03197197988629341,
-0.014071552082896233,
0.04859317094087601,
0.05603918433189392,
-0.00391489127650857,
0.0072210440412163734,
-0.039488568902015686,
-0.009351626969873905,
-0.02343200147151947,
-0.09902138262987137,
-0.024543609470129013,
0.02858421951532364,
0.023661380633711815,
0.013083456084132195,
0.03758295625448227,
0.007697447668761015,
0.02161460928618908,
0.08010639250278473,
-0.028178393840789795,
0.020132465288043022,
0.05981512367725372,
0.03864162787795067,
-0.004230287857353687,
0.04188823327422142,
0.007719503715634346,
-0.03641841188073158,
-0.0004138205258641392,
0.02780785784125328,
0.04114716127514839,
-0.02780785784125328,
-0.05268671363592148,
0.048981353640556335,
0.022602707147598267,
-0.04753449559211731,
0.006091791205108166,
0.040476664900779724,
-0.0059109339490532875,
-0.011063151061534882,
0.03576556220650673,
-0.05063994228839874,
-0.00828413013368845,
0.08822289854288101,
-0.07153112441301346,
0.0024525965563952923,
0.009775097481906414,
0.03026045486330986,
-0.053110186010599136,
-0.028001947328448296,
0.012430606409907341,
0.07438954710960388,
0.002787843579426408,
-0.058297690004110336,
-0.03491862118244171,
0.03779469057917595,
0.029607605189085007,
-0.0362066775560379,
-0.017035841941833496,
0.08060044050216675,
-0.04714631661772728,
0.02886653132736683,
-0.04308806359767914,
-0.015562519431114197,
0.0431586429476738,
0.02392604947090149,
-0.03414226323366165,
-0.05678025633096695,
-0.03086037002503872,
-0.02442009747028351,
-0.003923713229596615,
0.019973663613200188,
0.0012902598828077316,
0.03558911755681038,
0.005628620740026236,
-0.027031496167182922,
0.004644935484975576,
0.013551036827266216,
-0.06440271437168121,
-0.04354682192206383,
-0.03140735253691673,
0.06884914636611938,
0.03828873857855797,
0.012245338410139084,
0.0057477219961583614,
0.032660115510225296,
0.02318497747182846,
0.05575687065720558,
-0.009678051806986332,
-0.007300444878637791,
0.09549246728420258,
0.02073238044977188,
-0.02041477896273136,
0.03638312220573425,
0.01365690492093563,
-0.05148688331246376,
-0.011601311154663563,
0.012377672828733921,
0.007260744459927082,
0.024790633469820023,
-0.05286316201090813,
0.03257189318537712,
-0.02357315830886364,
0.040229640901088715,
0.014468555338680744,
-0.03158379718661308,
0.012148292735219002,
-0.044640786945819855,
0.020291266962885857,
-0.039912037551403046,
0.04686400294303894,
0.012430606409907341,
0.019038502126932144,
0.043864425271749496,
0.000565177935641259,
-0.003348059020936489,
0.05720372870564461,
-0.018226850777864456,
-0.03393052518367767,
0.03941798955202103,
0.04167649522423744,
0.05205151066184044,
-0.021738121286034584,
0.00007292174268513918,
-0.040300220251083374,
-0.013198145665228367,
0.013321657665073872,
0.00404722522944212,
0.001998248742893338,
0.032907139509916306,
-0.008010638877749443,
-0.032271936535835266,
-0.007507768459618092,
0.027013851329684258,
0.0360831655561924,
-0.06789634376764297,
0.03555382788181305,
0.013092278502881527,
0.02528468333184719,
0.00891492422670126,
0.06539081037044525,
-0.05251026898622513,
-0.0016255069058388472,
-0.06599073112010956,
-0.017776913940906525,
-0.048522595316171646,
0.05166332796216011,
0.0284783523529768,
0.00008925676229409873,
-0.06736700236797333,
-0.02823132649064064,
0.030172230675816536,
0.0023665791377425194,
-0.07707152515649796,
-0.004764036275446415,
0.021173495799303055,
-0.08695248514413834,
-0.015386073850095272,
-0.017750447615981102,
-0.006078557576984167,
0.0013531186850741506,
-0.04562888294458389,
0.018897345289587975,
-0.018438585102558136,
0.003775940043851733,
0.10325607657432556,
0.011901268735527992,
-0.03892394155263901,
-0.033154163509607315,
0.06267354637384415,
-0.009210470132529736,
-0.014609712176024914,
0.0003468262730166316,
-0.012227693572640419,
0.040053196251392365,
0.04213525727391243,
-0.05575687065720558,
0.03541267290711403,
0.030736858025193214,
-0.0013751743827015162,
0.026502158492803574,
-0.03599494323134422,
-0.1003623679280281,
-0.004488340113312006,
-0.016382992267608643,
0.029748762026429176,
0.009184003807604313,
0.015403717756271362,
-0.01593305543065071,
-0.054062992334365845,
-0.0458759069442749,
-0.02164989896118641,
-0.032518960535526276,
-0.020291266962885857,
0.04220583289861679,
-0.044323183596134186,
0.019550194963812828,
0.028390128165483475,
0.015103760175406933,
-0.0000754719294491224,
0.04319393262267113,
-0.01831507310271263,
-0.04298219457268715,
-0.01500671450048685,
0.044852521270513535,
-0.048734329640865326,
-0.009581007063388824,
-0.02389076165854931,
-0.012915831990540028,
0.03590672090649605,
0.004653757903724909,
0.01078966073691845,
0.029713472351431847,
-0.006819630041718483,
0.024631833657622337,
-0.08038870245218277,
0.044711366295814514,
0.024190718308091164,
-0.0037649122532457113,
-0.020926471799612045,
-0.03380701318383217,
-0.009625118225812912,
0.008134150877594948,
-0.03165437653660774,
-0.002022509928792715,
-0.01835036277770996,
0.009078136645257473,
-0.029272357001900673,
-0.026396291330456734,
0.009695696644484997,
-0.010622036643326283,
0.08215316385030746,
-0.006660828832536936,
0.03008400835096836,
-0.050145894289016724,
0.026784472167491913,
0.017715157940983772,
0.020714735612273216,
0.007529824506491423,
-0.012439428828656673,
0.019461970776319504,
-0.03237780183553696,
-0.010242678225040436,
-0.010375012643635273,
0.03370114788413048,
-0.03562440723180771,
0.001113262725993991,
0.04644053429365158,
-0.02893711067736149,
0.021667543798685074,
0.0635557770729065,
0.05116927996277809,
0.021455809473991394,
0.019920730963349342,
0.014000973664224148,
-0.010480879805982113,
-0.013321657665073872,
0.07573053240776062,
-0.00695196446031332,
0.00572566594928503,
-0.015280205756425858,
0.05607447400689125,
0.01064850389957428,
-0.012324739247560501,
-0.0054433527402579784,
-0.02279679663479328,
-0.07989465445280075,
0.02090882696211338,
-0.01390392892062664,
0.028743019327521324,
0.04195880889892578,
0.022779151797294617,
0.05293373763561249,
0.0345480851829052,
-0.025937531143426895,
-0.017776913940906525,
-0.06404982507228851,
-0.010269145481288433,
0.04322921857237816,
-0.03375408053398132,
-0.022355683147907257,
-0.05092225596308708,
-0.015544874593615532,
-0.0655672550201416,
0.019250236451625824,
0.011768934316933155,
0.040017906576395035,
-0.019726639613509178,
-0.05180448666214943,
0.03818286955356598,
-0.016171257942914963,
-0.03920625522732735,
0.026113977655768394,
-0.01667412742972374,
0.011195485480129719,
-0.011548377573490143,
-0.10269145667552948,
0.03885336592793465,
0.011821867898106575,
0.07043716311454773,
-0.035465605556964874,
-0.018720898777246475,
-0.01887970045208931,
-0.008112095296382904,
0.02189692296087742,
0.044429052621126175,
0.006329992786049843,
0.005928578786551952,
0.04164120927453041,
-0.03708890452980995,
-0.0004207129532005638,
0.03648899123072624,
0.0036502224393188953,
0.02350258082151413,
0.004865492694079876,
0.0024437743704766035,
0.022461550310254097,
-0.015774253755807877,
0.029360581189393997,
-0.04580532759428024,
-0.023414356634020805,
0.03548324853181839,
-0.0015626481035724282,
0.017662223428487778,
-0.00569919915869832,
-0.01772397942841053,
0.04241757094860077,
0.08652901649475098,
0.018085693940520287,
0.017944537103176117,
0.014830268919467926,
-0.04700516164302826,
-0.02119114063680172,
-0.014406799338757992,
-0.044817231595516205,
-0.005549220368266106,
0.02371431514620781,
0.06062677502632141,
-0.005575687158852816,
-0.03551853820681572,
-0.00161558180116117,
-0.0035531772300601006,
-0.010974928736686707,
0.008204729296267033,
-0.0641556903719902,
0.03737121820449829,
-0.0003071259707212448,
0.021914567798376083,
0.008954623714089394,
0.009810386225581169,
0.02129700779914856,
-0.00537718553096056,
0.028425417840480804,
0.0521220862865448,
-0.013577504083514214,
0.01287172082811594,
0.009907431900501251,
-0.020344199612736702,
-0.00423911027610302,
-0.058121245354413986,
0.077353835105896,
0.044817231595516205,
-0.03551853820681572,
-0.05088696628808975,
0.0324307382106781,
-0.014768512919545174,
-0.00006072216638131067
] |
710,074
|
urllib3_future.contrib.resolver._async.factories
|
AsyncResolverDescription
|
Describe how a BaseResolver must be instantiated.
|
class AsyncResolverDescription(ResolverDescription):
"""Describe how a BaseResolver must be instantiated."""
def new(self) -> AsyncBaseResolver:
kwargs = {**self.kwargs}
if self.server:
kwargs["server"] = self.server
if self.port:
kwargs["port"] = self.port
if self.host_patterns:
kwargs["patterns"] = self.host_patterns
return AsyncResolverFactory.new(
self.protocol,
self.specifier,
self.implementation,
**kwargs,
)
@staticmethod
def from_url(url: str) -> AsyncResolverDescription:
parsed_url = parse_url(url)
schema = parsed_url.scheme
if schema is None:
raise ValueError("Given DNS url is missing a protocol")
specifier = None
implementation = None
if "+" in schema:
schema, specifier = tuple(schema.lower().split("+", 1))
protocol = ProtocolResolver(schema)
kwargs: dict[str, typing.Any] = {}
if parsed_url.path:
kwargs["path"] = parsed_url.path
if parsed_url.auth:
kwargs["headers"] = dict()
if ":" in parsed_url.auth:
username, password = parsed_url.auth.split(":")
username = username.strip("'\"")
password = password.strip("'\"")
kwargs["headers"][
"Authorization"
] = f"Basic {b64encode(f'{username}:{password}'.encode()).decode()}"
else:
kwargs["headers"]["Authorization"] = f"Bearer {parsed_url.auth}"
if parsed_url.query:
parameters = parse_qs(parsed_url.query)
for parameter in parameters:
if not parameters[parameter]:
continue
parameter_insensible = parameter.lower()
if (
isinstance(parameters[parameter], list)
and len(parameters[parameter]) > 1
):
if parameter == "implementation":
raise ValueError("Only one implementation can be passed to URL")
values = []
for e in parameters[parameter]:
if "," in e:
values.extend(e.split(","))
else:
values.append(e)
if parameter_insensible in kwargs:
if isinstance(kwargs[parameter_insensible], list):
kwargs[parameter_insensible].extend(values)
else:
values.append(kwargs[parameter_insensible])
kwargs[parameter_insensible] = values
continue
kwargs[parameter_insensible] = values
continue
value: str = parameters[parameter][0].lower().strip(" ")
if parameter == "implementation":
implementation = value
continue
if "," in value:
list_of_values = value.split(",")
if parameter_insensible in kwargs:
if isinstance(kwargs[parameter_insensible], list):
kwargs[parameter_insensible].extend(list_of_values)
else:
list_of_values.append(kwargs[parameter_insensible])
continue
kwargs[parameter_insensible] = list_of_values
continue
value_converted: bool | int | float | None = None
if value in ["false", "true"]:
value_converted = True if value == "true" else False
elif value.isdigit():
value_converted = int(value)
elif (
value.count(".") == 1
and value.index(".") > 0
and value.replace(".", "").isdigit()
):
value_converted = float(value)
kwargs[parameter_insensible] = (
value if value_converted is None else value_converted
)
host_patterns = []
if "hosts" in kwargs:
host_patterns = (
kwargs["hosts"].split(",")
if isinstance(kwargs["hosts"], str)
else kwargs["hosts"]
)
del kwargs["hosts"]
return AsyncResolverDescription(
protocol,
specifier,
implementation,
parsed_url.host,
parsed_url.port,
*host_patterns,
**kwargs,
)
|
(protocol: 'ProtocolResolver', specifier: 'str | None' = None, implementation: 'str | None' = None, server: 'str | None' = None, port: 'int | None' = None, *host_patterns: 'str', **kwargs: 'typing.Any') -> 'None'
|
[
0.03367351368069649,
-0.02231583744287491,
-0.05125223100185394,
-0.024351468309760094,
0.004625352099537849,
0.03624183312058449,
-0.006083110813051462,
-0.03319789841771126,
-0.024161221459507942,
-0.04927367344498634,
0.06026988476514816,
0.06213429197669029,
-0.012613299302756786,
-0.0035885123070329428,
0.0209650918841362,
0.03865795582532883,
0.003569487715139985,
0.08523013442754745,
0.023742681369185448,
-0.060574278235435486,
-0.0273002777248621,
0.006306649651378393,
-0.05227955803275108,
-0.016475290060043335,
0.036565251648426056,
0.043604347854852676,
0.0102827874943614,
-0.04280531406402588,
-0.013022327795624733,
0.001128395670093596,
0.011043771170079708,
0.05304054170846939,
-0.007914227433502674,
0.06597726047039032,
0.03635597974061966,
-0.010805963538587093,
-0.0017252919496968389,
0.06814605742692947,
-0.11026649177074432,
0.003612292930483818,
-0.061601605266332626,
-0.02341926284134388,
-0.017768962308764458,
-0.009959369897842407,
0.05619862303137779,
0.012052074074745178,
-0.03192325308918953,
0.06114501506090164,
-0.022848526015877724,
-0.02880322001874447,
0.026234902441501617,
-0.03723111003637314,
-0.01451575756072998,
0.014468196779489517,
-0.0055313981138169765,
0.09390534460544586,
-0.02638709917664528,
0.12335540354251862,
0.03572816774249077,
0.022525107488036156,
0.004511204548180103,
-0.005540910176932812,
-0.02859394997358322,
0.03192325308918953,
-0.04375654458999634,
-0.01568577066063881,
-0.008660942316055298,
-0.04516436159610748,
-0.030762752518057823,
0.01675114594399929,
0.05787278711795807,
0.0008941554697230458,
-0.008113984949886799,
-0.028974441811442375,
0.11681094765663147,
-0.007215073797851801,
-0.04299556091427803,
0.0029250297229737043,
0.03247496485710144,
-0.0023424020037055016,
0.019557273015379906,
-0.0032508259173482656,
0.031618859618902206,
-0.0980907529592514,
0.04109310358762741,
-0.04200628027319908,
-0.022658279165625572,
-0.03882917761802673,
0.0030035062227398157,
0.0022449009120464325,
-0.027433451265096664,
-0.05323078855872154,
-0.017417006194591522,
0.04078871011734009,
-0.053344935178756714,
0.0066728731617331505,
0.0006551591213792562,
-0.05661716312170029,
0.0040736389346420765,
-0.06514018028974533,
0.006972510367631912,
0.03675549849867821,
-0.0636943057179451,
-0.008694235235452652,
0.014829663559794426,
-0.04333800449967384,
-0.015581134706735611,
-0.006920192390680313,
-0.04097895324230194,
0.014829663559794426,
-0.009712050668895245,
0.003248447785153985,
-0.0011670393869280815,
0.022715354338288307,
-0.026406122371554375,
0.024199271574616432,
-0.024351468309760094,
-0.017464568838477135,
0.0009750099270604551,
-0.007291171699762344,
-0.04166384041309357,
0.05916645750403404,
-0.02678661420941353,
0.015638208016753197,
-0.0028822245076298714,
0.038315512239933014,
-0.03295058012008667,
-0.01989971473813057,
0.02558806538581848,
-0.05056734383106232,
0.03551889955997467,
0.050453197211027145,
0.00646835844963789,
0.03823941573500633,
0.019138731062412262,
0.0310481209307909,
-0.057454243302345276,
0.007957031950354576,
-0.05178491771221161,
0.0334261953830719,
-0.03584231808781624,
0.023267066106200218,
0.016560900956392288,
-0.07244561612606049,
0.01616138406097889,
-0.011604996398091316,
0.03586134314537048,
-0.05619862303137779,
-0.027623696252703667,
0.00010909410048043355,
0.046534132212400436,
-0.013688188046216965,
0.0036979035940021276,
0.051556624472141266,
0.012213783338665962,
-0.020736796781420708,
0.019471662119030952,
-0.01169060729444027,
-0.05056734383106232,
0.015352839604020119,
-0.0403321199119091,
-0.04493606835603714,
0.02298169769346714,
-0.06125916168093681,
0.0025754531379789114,
-0.028974441811442375,
0.050491247326135635,
-0.07876177877187729,
-0.023590484634041786,
0.038030143827199936,
-0.05669325962662697,
0.050453197211027145,
-0.06970607489347458,
0.012442078441381454,
0.05071954056620598,
0.02954517863690853,
0.02463683672249317,
0.01473454013466835,
-0.016475290060043335,
0.012889156118035316,
0.01887238770723343,
-0.0273002777248621,
-0.038429658859968185,
-0.042348723858594894,
0.04082675650715828,
0.06856460124254227,
-0.03148568794131279,
0.018406284973025322,
0.02796613983809948,
0.015048446133732796,
-0.027756867930293083,
-0.012375491671264172,
0.04683852568268776,
0.008071179501712322,
0.0209650918841362,
-0.059432800859212875,
-0.0059214020147919655,
0.0381823405623436,
0.03034421242773533,
0.005550422240048647,
-0.011795242317020893,
0.0022758159320801497,
-0.005812010727822781,
0.032455939799547195,
-0.03884820267558098,
-0.007072389125823975,
0.02041337825357914,
-0.006444578059017658,
0.014392098411917686,
-0.005940426606684923,
-0.0917745977640152,
-0.014553806744515896,
-0.04915952682495117,
0.012860618531703949,
-0.03666037321090698,
-0.004444618709385395,
0.00674421526491642,
0.00876082107424736,
0.05886206403374672,
0.00925546046346426,
0.08462134748697281,
0.012537200935184956,
0.0648738294839859,
-0.011595483869314194,
0.026919785887002945,
0.002216364024206996,
0.02001386322081089,
-0.034910112619400024,
-0.05585617944598198,
0.005293590482324362,
-0.00102138239890337,
-0.04501216486096382,
0.05486690253019333,
0.04505021497607231,
0.04390874132514,
0.017550179734826088,
0.05882401391863823,
0.021783148869872093,
0.005108100827783346,
0.019157756119966507,
-0.005345907993614674,
0.007215073797851801,
-0.0310481209307909,
-0.046610232442617416,
-0.038315512239933014,
-0.02859394997358322,
-0.029716400429606438,
0.03310277685523033,
0.0057596927508711815,
-0.03523353114724159,
-0.05958499759435654,
-0.008442159742116928,
-0.031029097735881805,
0.0021818820387125015,
-0.030230063945055008,
-0.06202014535665512,
-0.04269116744399071,
-0.0407506600022316,
0.06928753852844238,
-0.008722771890461445,
-0.009165093302726746,
0.03416815400123596,
-0.03863893076777458,
0.08355597406625748,
-0.0450882650911808,
-0.03808721899986267,
0.012014024890959263,
-0.02863200008869171,
-0.048436593264341354,
-0.01627553254365921,
-0.017321884632110596,
-0.014943811111152172,
-0.016760658472776413,
-0.0024755741469562054,
-0.0013340989826247096,
0.03968528285622597,
-0.020774846896529198,
-0.04276726394891739,
-0.012327930890023708,
-0.04002772644162178,
0.004813219886273146,
-0.00041556826909072697,
0.006297137588262558,
-0.04329995438456535,
0.07309245318174362,
-0.005317371338605881,
-0.02657734416425228,
0.05231760814785957,
-0.046610232442617416,
0.01493429858237505,
-0.015638208016753197,
-0.05718789994716644,
0.008622893132269382,
-0.003291253000497818,
0.0009262594394385815,
0.029050540179014206,
-0.02100314013659954,
-0.006706166081130505,
0.03382571041584015,
-0.07906617224216461,
-0.04402288794517517,
0.03496718779206276,
0.03437742218375206,
0.005483836401253939,
0.03867698088288307,
-0.02931688353419304,
-0.01784506067633629,
-0.011880853213369846,
0.0006290003075264394,
0.008147277869284153,
0.006563481409102678,
-0.02448463998734951,
-0.03226569667458534,
-0.030192015692591667,
0.017359932884573936,
0.04425118491053581,
-0.016551388427615166,
0.01319354958832264,
0.047447312623262405,
0.03551889955997467,
-0.0581391304731369,
0.04295751079916954,
-0.0006801288691349328,
-0.0225441325455904,
0.017797498032450676,
0.027167106047272682,
-0.014258925803005695,
0.07518515735864639,
-0.018567994236946106,
0.010311325080692768,
-0.013126962818205357,
-0.009136556647717953,
-0.009260216727852821,
0.0034529620315879583,
-0.0016016322188079357,
-0.05768254026770592,
0.03664134815335274,
-0.03690769523382187,
0.04607754200696945,
0.0020891372114419937,
0.02591148391366005,
-0.0009928455110639334,
-0.031105196103453636,
0.01847287081182003,
-0.008289963006973267,
-0.03177105635404587,
0.03837258741259575,
-0.007362514268606901,
0.02646319754421711,
-0.06582506000995636,
-0.03279838338494301,
-0.07301635295152664,
-0.0006105702486820519,
0.0498444102704525,
0.072407566010952,
0.00029919130611233413,
-0.008456427603960037,
-0.05486690253019333,
0.01075840275734663,
-0.052393704652786255,
-0.001445868401788175,
-0.03926674276590347,
-0.021022165194153786,
-0.014506245963275433,
-0.022258764132857323,
-0.03409205377101898,
0.021783148869872093,
0.02060362510383129,
0.0802837461233139,
-0.04828439652919769,
-0.020032886415719986,
-0.031067145988345146,
0.0482463464140892,
-0.05471470579504967,
0.006449333857744932,
-0.019195806235074997,
-0.019452637061476707,
-0.006525432225316763,
-0.029716400429606438,
0.015923576429486275,
0.0037145500537008047,
0.05802498385310173,
0.009845222346484661,
0.0013733372325077653,
0.022049494087696075,
-0.033806685358285904,
0.01696992851793766,
0.033521316945552826,
-0.015248204581439495,
0.056236669421195984,
0.01866311766207218,
-0.004751389846205711,
-0.006853606551885605,
-0.025854410603642464,
-0.013688188046216965,
-0.017207736149430275,
-0.004489801824092865,
0.03329302370548248,
-0.025645140558481216,
-0.024541713297367096,
0.031162269413471222,
-0.07309245318174362,
0.09040482342243195,
0.062324538826942444,
0.05787278711795807,
-0.01612333580851555,
0.14428244531154633,
0.03907649591565132,
-0.004156871698796749,
0.05958499759435654,
-0.043490201234817505,
-0.10821183770895004,
-0.036336954683065414,
-0.009374364279210567,
-0.04896927997469902,
0.02844175323843956,
0.024693910032510757,
-0.014563319273293018,
0.028194433078169823,
0.022848526015877724,
0.012546713463962078,
-0.033121801912784576,
-0.007219829596579075,
0.05170882120728493,
0.030230063945055008,
0.04021796956658363,
0.013031840324401855,
0.010948648676276207,
-0.051404427736997604,
-0.042310673743486404,
0.06890704482793808,
0.02939298190176487,
-0.053459081798791885,
-0.05661716312170029,
0.02994469553232193,
0.002589721465483308,
0.0008608624339103699,
0.004135468974709511,
0.03477694094181061,
-0.05368737503886223,
-0.05296444147825241,
0.03302667662501335,
-0.012984278611838818,
0.0016753524541854858,
0.02290559932589531,
-0.026406122371554375,
0.005041514988988638,
0.01707456447184086,
-0.002324566477909684,
-0.047371216118335724,
-0.061601605266332626,
0.003208020469173789,
-0.0008168680942617357,
0.006501651834696531,
-0.059280604124069214,
-0.014430147595703602,
0.10090639442205429,
0.052545901387929916,
-0.044517528265714645,
-0.013555016368627548,
0.08591502159833908,
-0.03907649591565132,
-0.008817894384264946,
-0.00273002777248621,
-0.033007655292749405,
0.05619862303137779,
0.04798000305891037,
0.0010677548125386238,
-0.07845738530158997,
-0.006977266166359186,
-0.03171398118138313,
0.019842641428112984,
-0.004423215985298157,
0.002653929404914379,
-0.051556624472141266,
0.010720353573560715,
0.0620962418615818,
0.02140265703201294,
-0.020717771723866463,
-0.02385682798922062,
0.008746552281081676,
0.0005529019981622696,
0.012898667715489864,
0.062438685446977615,
0.03865795582532883,
-0.032532040029764175,
0.0498444102704525,
-0.04261506721377373,
-0.005179442930966616,
0.008289963006973267,
0.005079564172774553,
0.015514548867940903,
0.030914949253201485,
0.02012800984084606,
0.0035575972869992256,
-0.012147197499871254,
-0.0006670494913123548,
0.0067109218798577785,
0.032094474881887436,
-0.007990325801074505,
0.031504712998867035,
-0.034434497356414795,
0.04307165741920471,
0.011262553744018078,
0.05992744117975235,
0.01279403269290924,
-0.0470668226480484,
0.017207736149430275,
-0.05988939106464386,
0.014040143229067326,
-0.05798693373799324,
0.01429697498679161,
0.028194433078169823,
-0.006021280772984028,
0.0029060053639113903,
0.023038771003484726,
-0.014163803309202194,
0.009412413462996483,
-0.019252879545092583,
-0.01299379114061594,
0.007519466802477837,
0.0541820153594017,
0.027281254529953003,
0.038106244057416916,
0.024237319827079773,
0.020660698413848877,
-0.00664433604106307,
0.0010725109605118632,
0.007020071614533663,
-0.01920531876385212,
0.026444172486662865,
-0.0006765617872588336,
-0.0006581317284144461,
0.015619183890521526,
0.07693541795015335,
0.04109310358762741,
-0.02855590172111988,
-0.011081820353865623,
-0.04912147670984268,
0.01865360513329506,
0.007248366717249155,
0.0957317054271698,
-0.0684124082326889,
-0.05083369091153145,
-0.04094090685248375,
-0.06924948841333389,
0.02147875539958477,
0.026330024003982544,
0.06399869918823242,
-0.013307697139680386,
-0.037002816796302795,
0.020223133265972137,
0.04501216486096382,
0.0048203538171947,
-0.06125916168093681,
-0.0025088670663535595,
-0.003778757993131876,
-0.02910761348903179,
-0.022848526015877724,
-0.016950905323028564,
0.01129109039902687,
0.0620962418615818,
-0.07092364877462387,
0.027167106047272682,
-0.034034982323646545,
0.033882785588502884,
0.050301000475883484,
0.004879805725067854,
-0.020070936530828476,
0.0019107817206531763,
-0.03574719280004501,
-0.004651511088013649,
-0.015895040705800056,
-0.010473033413290977,
-0.02231583744287491,
0.03260813653469086,
0.016703585162758827,
-0.0282895565032959,
0.04915952682495117,
0.004356629680842161,
0.04295751079916954,
-0.0225441325455904,
-0.028213458135724068,
-0.03770672529935837,
-0.019186293706297874,
-0.007942764088511467,
0.014896249398589134,
0.06582506000995636,
-0.0026491733733564615,
-0.030876901000738144,
-0.044479478150606155,
-0.029716400429606438,
-0.016874806955456734,
0.013555016368627548,
-0.031029097735881805,
0.013497942127287388,
-0.06213429197669029,
-0.001178335165604949,
0.05231760814785957,
-0.03979942947626114,
-0.06894509494304657,
0.02899346686899662,
0.003034421242773533,
-0.02939298190176487,
0.03013494238257408,
0.025607090443372726,
-0.02634904906153679,
-0.015343327075242996,
-0.026596369221806526,
-0.036336954683065414,
0.02983054891228676,
0.01704602688550949,
0.01427795086055994,
-0.007719225250184536,
0.00809971708804369,
-0.02587343379855156,
-0.05574203282594681,
0.030192015692591667,
-0.006230551283806562,
-0.05205126106739044,
0.01598065160214901,
0.037992093712091446,
0.007429100107401609,
0.004104554187506437,
-0.05090978741645813,
0.06106891483068466,
-0.031828127801418304,
-0.027813943102955818,
-0.06898314505815506,
-0.03061055578291416,
0.045392658561468124,
0.031143244355916977,
-0.02693881094455719,
0.015276741236448288,
-0.0023126760497689247,
-0.06000353768467903,
0.025930508971214294,
0.01993776485323906,
0.01686529442667961,
-0.035309627652168274,
-0.010710841044783592,
-0.03709793835878372,
-0.025968557223677635,
0.0003302549012005329,
-0.043642397969961166,
0.016047237440943718,
-0.019519222900271416,
-0.0518229678273201,
0.044517528265714645,
0.018453847616910934,
0.03774477541446686,
0.0921550840139389,
0.03808721899986267,
0.03354034200310707,
0.03456766903400421,
0.03279838338494301,
-0.006853606551885605,
0.0053411521948874,
0.045506805181503296,
0.024275369942188263,
-0.00009735236380947754,
0.00876082107424736,
0.06221039220690727,
-0.027661746367812157,
-0.010844012722373009,
0.021821198984980583,
0.015733331441879272,
-0.04459362477064133,
0.01623748242855072,
0.03761160373687744,
0.026881737634539604,
-0.03705989196896553,
0.02456073835492134,
0.0399516262114048,
0.013203061185777187,
-0.0046990723349153996,
-0.01075840275734663,
-0.034586694091558456,
0.00480132969096303,
0.04417508468031883,
0.03726916015148163,
-0.04105505347251892,
-0.029278835281729698,
0.05231760814785957,
-0.027794918045401573,
0.013887946493923664,
0.05376347526907921,
-0.0065111638978123665,
0.023666583001613617,
-0.055513735860586166,
0.04763755947351456,
0.0014803505036979914,
-0.01989971473813057,
0.0012235186295583844,
0.01942410133779049,
0.002180692972615361,
-0.06806996464729309,
-0.09261167794466019,
0.022049494087696075,
-0.00009720373782329261,
0.07058120518922806,
-0.03683159500360489,
0.0027799673844128847,
-0.02250608243048191,
0.011918902397155762,
0.05201321467757225,
0.007005803287029266,
0.012851106934249401,
0.01046352181583643,
-0.014696490950882435,
-0.009341070428490639,
0.020908018574118614,
0.025530992075800896,
-0.02613977901637554,
0.00933155883103609,
-0.022753402590751648,
0.01708407700061798,
0.03586134314537048,
0.02653929591178894,
0.022848526015877724,
0.03057250753045082,
-0.0064255534671247005,
0.057568393647670746,
-0.00804739911109209,
0.014468196779489517,
0.00350527954287827,
-0.003288875101134181,
0.03414912894368172,
0.06023183465003967,
0.014011606574058533,
0.013326721265912056,
0.0771637111902237,
-0.018501408398151398,
0.0009993851417675614,
-0.0032032644376158714,
-0.05988939106464386,
0.04474582150578499,
-0.006639579776674509,
-0.028023213148117065,
0.02060362510383129,
-0.023590484634041786,
0.008589600212872028,
-0.024808058515191078,
0.018758239224553108,
0.026044655591249466,
0.003688391298055649,
0.020299231633543968,
0.020432403311133385,
0.008270937949419022,
-0.0050890762358903885,
-0.02880322001874447,
0.015952114015817642,
-0.0557800829410553,
0.038429658859968185,
-0.06175380200147629,
-0.0854584351181984,
0.009431437589228153,
0.030363235622644424,
-0.03726916015148163,
-0.027794918045401573,
-0.05285029485821724,
0.010549131780862808,
0.0486648865044117,
-0.016227969899773598,
-0.01402111817151308,
0.026291975751519203,
0.009526561014354229,
0.00022353886743076146
] |
710,075
|
urllib3_future.contrib.resolver.factories
|
__contains__
| null |
def __contains__(self, item: str) -> bool:
return item in self.kwargs
|
(self, item: str) -> bool
|
[
0.059437260031700134,
-0.03654565289616585,
-0.005533261690288782,
0.003607366234064102,
-0.007796294055879116,
-0.006473030894994736,
0.0479746013879776,
-0.0046272058971226215,
0.028032943606376648,
-0.027021532878279686,
-0.00725266057997942,
0.04632262885570526,
0.023532165214419365,
-0.005389978177845478,
-0.014345181174576283,
-0.050840266048908234,
-0.03219658508896828,
0.044097524136304855,
0.01795254647731781,
-0.037186216562986374,
-0.017252987250685692,
0.08232886344194412,
0.05660530924797058,
0.03775934875011444,
0.0562344565987587,
0.009094271808862686,
0.01712656207382679,
0.003508332185447216,
0.028909500688314438,
0.060313817113637924,
-0.049323149025440216,
-0.024290723726153374,
0.012086362577974796,
0.04976142570376396,
0.04274897649884224,
-0.007509727496653795,
-0.0249312836676836,
0.07545126974582672,
-0.0029562704730778933,
-0.04015301913022995,
-0.04534493014216423,
-0.012103219516575336,
0.025369562208652496,
0.023296169936656952,
0.027122674509882927,
-0.0054658339358866215,
-0.02048107422888279,
0.06223549693822861,
-0.01241507101804018,
0.011530086398124695,
0.02922978065907955,
-0.0062833912670612335,
0.0044881366193294525,
-0.03573652729392052,
-0.08212658017873764,
0.020076509565114975,
-0.018593108281493187,
0.08954359591007233,
0.036309659481048584,
0.09932056814432144,
-0.021762195974588394,
0.03440483286976814,
0.03420255333185196,
-0.07322616130113602,
-0.018997671082615852,
-0.03270229324698448,
-0.04635634273290634,
0.01201050728559494,
0.0049601285718381405,
0.034725114703178406,
-0.03332599624991417,
-0.04517636075615883,
-0.013325341045856476,
0.038973040878772736,
-0.011412088759243488,
-0.03651193901896477,
-0.00807443168014288,
0.010948524810373783,
0.034556545317173004,
-0.006603671703487635,
0.006536244414746761,
-0.04554721340537071,
-0.030308619141578674,
-0.026819251477718353,
-0.05620074272155762,
0.05478476732969284,
-0.05663902312517166,
-0.005027555860579014,
0.05121111497282982,
-0.021037351340055466,
-0.043153539299964905,
0.04804202914237976,
0.027796948328614235,
0.008799276314675808,
-0.0031838377472013235,
-0.006974522490054369,
0.06334804743528366,
-0.026043836027383804,
-0.015693729743361473,
-0.012086362577974796,
0.012617353349924088,
-0.02474585734307766,
0.08145231008529663,
-0.04868258908390999,
0.018357111141085625,
0.020295649766921997,
-0.051683105528354645,
-0.017547981813549995,
0.025251563638448715,
0.0026823466178029776,
-0.013999614864587784,
-0.013536051847040653,
0.0033692631404846907,
0.022571325302124023,
-0.020143937319517136,
-0.017817692831158638,
-0.03580395132303238,
-0.04787345975637436,
-0.044063810259103775,
-0.03400027006864548,
0.0010251073399558663,
0.0481431670486927,
-0.00018344995623920113,
0.039006754755973816,
0.07808093726634979,
-0.037219926714897156,
-0.05933611840009689,
0.043254680931568146,
0.0264821145683527,
-0.009009987115859985,
0.012870206497609615,
-0.006258106324821711,
-0.004867415875196457,
0.0002757675538305193,
0.03076375462114811,
0.020969923585653305,
0.010914811864495277,
0.015634730458259583,
-0.022487040609121323,
0.0809803158044815,
0.019065098837018013,
0.02488071285188198,
0.007994362153112888,
-0.0136709064245224,
-0.05613331496715546,
-0.016477571800351143,
-0.04895229637622833,
0.008799276314675808,
-0.011723940260708332,
-0.020009083673357964,
-0.012870206497609615,
-0.020835068076848984,
-0.018508823588490486,
0.01879538968205452,
-0.07025935500860214,
-0.01324105728417635,
-0.032078590244054794,
0.004119392950087786,
0.0023515308275818825,
-0.01196836493909359,
0.05212138593196869,
-0.0018848067848011851,
-0.06280863285064697,
0.0844191163778305,
-0.014421036466956139,
0.04268154874444008,
-0.028420651331543922,
-0.010914811864495277,
0.020733928307890892,
0.03180887922644615,
0.03657936677336693,
0.02988719753921032,
-0.01450532115995884,
0.024223295971751213,
-0.03924275189638138,
0.07059649378061295,
-0.04355810582637787,
0.012212788686156273,
0.025234706699848175,
-0.00985282938927412,
-0.02213304676115513,
-0.026852965354919434,
-0.04295125976204872,
-0.023329881951212883,
0.06786568462848663,
-0.010215251706540585,
-0.010923240333795547,
-0.008537995629012585,
-0.005153982434421778,
0.03826505318284035,
-0.03624223172664642,
-0.05822356417775154,
0.05198653042316437,
-0.007851079106330872,
-0.07477699220180511,
-0.008790847845375538,
0.0028382723685353994,
-0.02048107422888279,
0.007952219806611538,
0.04682833328843117,
-0.02815094217658043,
-0.07470956444740295,
-0.02550441585481167,
0.058493275195360184,
-0.0011136058019474149,
0.012364501133561134,
0.026987819001078606,
-0.0046567050740122795,
0.015499874949455261,
-0.031269460916519165,
-0.03772563487291336,
-0.0361073762178421,
0.05545904114842415,
0.02582469768822193,
0.06685427576303482,
0.04369296133518219,
-0.02821836993098259,
0.006274963263422251,
-0.04129928722977638,
0.023498451337218285,
0.07329358905553818,
0.0001352498948108405,
0.049120865762233734,
0.057717859745025635,
0.043018683791160583,
-0.012836492620408535,
0.056773874908685684,
0.044704370200634,
-0.027240673080086708,
0.02654954232275486,
0.006401389371603727,
0.02294217422604561,
0.07005707919597626,
0.04942429065704346,
-0.03226401284337044,
-0.02043050341308117,
-0.010055111721158028,
0.028707219287753105,
0.005524833220988512,
0.005499547813087702,
0.05286308750510216,
0.03907418251037598,
-0.001944859279319644,
0.014775030314922333,
0.012566782534122467,
-0.008061788976192474,
0.03499482572078705,
0.04382781311869621,
0.014185040257871151,
-0.03073004074394703,
0.01877853274345398,
0.05576246604323387,
-0.03927646577358246,
0.00855906680226326,
-0.02064964361488819,
0.016755711287260056,
-0.028420651331543922,
0.014707603491842747,
0.020127080380916595,
-0.01613200642168522,
-0.01712656207382679,
0.013991187326610088,
0.07794608175754547,
0.06985479593276978,
-0.06864109635353088,
0.013780476525425911,
0.06931537389755249,
0.02826894074678421,
-0.06591028720140457,
-0.0249312836676836,
0.031168319284915924,
-0.0015908654313534498,
0.03934389352798462,
0.03346085175871849,
0.010341678746044636,
0.033730559051036835,
0.004644062835723162,
-0.027173245325684547,
-0.08522824198007584,
0.0021281775552779436,
0.03221344202756882,
0.028639791533350945,
0.023683875799179077,
0.0061063943430781364,
0.0041467854753136635,
-0.04183870553970337,
0.05228995531797409,
0.07437243312597275,
-0.01626686193048954,
-0.003343977965414524,
-0.040793582797050476,
-0.06439317017793655,
0.04979513958096504,
-0.010577674023807049,
-0.013055631890892982,
0.05104254558682442,
0.048379164189100266,
-0.03319114074110985,
0.023717589676380157,
-0.02214990369975567,
0.0032428367994725704,
0.01322420034557581,
-0.06071837991476059,
-0.0424792654812336,
-0.009524120949208736,
0.022554468363523483,
0.017767122015357018,
0.023616449907422066,
0.010206823237240314,
-0.012499355711042881,
-0.025049282237887383,
0.026043836027383804,
-0.04598549008369446,
-0.02218361757695675,
-0.0328371487557888,
-0.0170675627887249,
-0.04025416076183319,
-0.01623314805328846,
-0.06307833641767502,
0.05738072469830513,
-0.019975369796156883,
-0.023717589676380157,
-0.04885115474462509,
-0.0017204524483531713,
-0.00745494244620204,
-0.021998191252350807,
-0.003889718558639288,
-0.00405407277867198,
-0.020717071369290352,
0.018188543617725372,
0.014404179528355598,
-0.029684916138648987,
0.04210841655731201,
0.0029056998901069164,
0.010442819446325302,
-0.0378267765045166,
-0.005453191697597504,
0.07545126974582672,
0.07862035930156708,
0.004205784294754267,
-0.015853868797421455,
-0.01637643203139305,
-0.005684973206371069,
0.008967844769358635,
0.0042289625853300095,
-0.029769200831651688,
-0.028842072933912277,
0.05036827176809311,
0.06280863285064697,
0.01194307953119278,
0.004144678357988596,
-0.025470701977610588,
0.051817961037158966,
-0.03509596362709999,
0.039748456329107285,
-0.0107041010633111,
-0.006443531718105078,
0.040759868919849396,
0.004989628214389086,
0.014109184965491295,
0.13917016983032227,
-0.06179721653461456,
0.008411568589508533,
-0.0002502189017832279,
-0.04355810582637787,
0.00021913906675763428,
0.011605942621827126,
0.004121500067412853,
0.020379934459924698,
-0.08050832152366638,
0.02306017279624939,
-0.024172725155949593,
-0.01072938647121191,
-0.030578328296542168,
0.04129928722977638,
-0.045075222849845886,
0.0054321205243468285,
0.01808740198612213,
-0.04160270839929581,
0.0445358008146286,
-0.015162738040089607,
0.011471087113022804,
0.045749496668577194,
-0.007353801745921373,
0.01619100570678711,
0.01957080513238907,
-0.012920776382088661,
0.0187448188662529,
0.020969923585653305,
0.023717589676380157,
-0.027173245325684547,
-0.01958766207098961,
-0.06958508491516113,
0.01072938647121191,
-0.05643673986196518,
-0.08711621165275574,
-0.006536244414746761,
-0.047502607107162476,
-0.044839225709438324,
0.04649119824171066,
0.023515308275818825,
-0.05461619794368744,
-0.03268543630838394,
0.018289683386683464,
0.006489887833595276,
0.018255969509482384,
-0.018222257494926453,
0.03843362256884575,
0.007863720878958702,
0.010400677099823952,
0.006662670522928238,
-0.07073134928941727,
-0.033865414559841156,
-0.042310696095228195,
-0.0849585309624672,
-0.01625843346118927,
0.0036474012304097414,
0.0077120098285377026,
-0.0007870042463764548,
0.0017878798535093665,
0.017446842044591904,
0.0033776916097849607,
0.010173110291361809,
0.038062769919633865,
0.008095502853393555,
0.015247022733092308,
-0.008373641408979893,
-0.044704370200634,
0.07100106030702591,
-0.023447880521416664,
-0.09365666657686234,
-0.061257798224687576,
0.007851079106330872,
0.006814382504671812,
0.025470701977610588,
-0.006392960902303457,
-0.04794088751077652,
-0.10876040905714035,
-0.014345181174576283,
0.02302645891904831,
-0.030460331588983536,
-0.050031136721372604,
-0.0529642291367054,
0.03735478222370148,
-0.02474585734307766,
-0.03492739796638489,
-0.01960451900959015,
0.03322485461831093,
0.11462659388780594,
-0.026144977658987045,
-0.026852965354919434,
0.05903269350528717,
-0.05289680138230324,
-0.021829623728990555,
0.025015568360686302,
-0.04726661369204521,
-0.08017119020223618,
0.007105162832885981,
0.0038243981543928385,
0.018188543617725372,
0.014749744907021523,
-0.016620855778455734,
-0.05721215531229973,
-0.015162738040089607,
0.019520234316587448,
0.0631120502948761,
-0.02312760055065155,
0.02474585734307766,
0.009701117873191833,
0.05458248406648636,
-0.036444514989852905,
-0.017598552629351616,
-0.050907693803310394,
-0.035567957907915115,
-0.008655993267893791,
0.03691650554537773,
-0.001345387427136302,
0.04615405946969986,
-0.023481594398617744,
0.00987811479717493,
0.0023346738889813423,
-0.008807704783976078,
-0.009515692479908466,
-0.0031606596894562244,
-0.013485481031239033,
-0.05394192412495613,
0.009532549418509007,
0.007594011723995209,
0.0222679004073143,
0.004871630109846592,
0.010771527886390686,
-0.023717589676380157,
0.03393284231424332,
0.03418569639325142,
0.07673238962888718,
-0.0412655733525753,
-0.0169832780957222,
0.038062769919633865,
0.008908846415579319,
0.027223816141486168,
0.010923240333795547,
0.05306537076830864,
0.035433102399110794,
0.013965901918709278,
0.027796948328614235,
-0.07086620479822159,
-0.025133565068244934,
-0.005638617090880871,
-0.06891080737113953,
-0.024139011278748512,
0.0022841033060103655,
-0.025302134454250336,
0.05667273700237274,
-0.01628371886909008,
0.07713695615530014,
0.0378267765045166,
-0.031994305551052094,
0.005950468592345715,
-0.003504117950797081,
0.004762060474604368,
0.05144711211323738,
0.014033328741788864,
0.016662998124957085,
-0.09446579962968826,
-0.019351664930582047,
0.0150447404012084,
0.01111709326505661,
-0.0212396327406168,
0.0007337998249568045,
0.00940612331032753,
0.010518675670027733,
-0.017379414290189743,
-0.04173756390810013,
0.04288383200764656,
0.025133565068244934,
0.06992222368717194,
0.01239821407943964,
0.009288125671446323,
0.01632586121559143,
0.04113071784377098,
0.05920126289129257,
-0.00536047900095582,
0.031286317855119705,
-0.04456951469182968,
-0.021610483527183533,
0.05212138593196869,
-0.012347644194960594,
-0.02563927136361599,
0.0041952491737902164,
0.026229260489344597,
0.0017225595656782389,
-0.03590509295463562,
-0.026768680661916733,
-0.0018510930240154266,
0.05326765030622482,
-0.02831951156258583,
-0.03003890998661518,
0.04042273014783859,
-0.013839474879205227,
0.060313817113637924,
0.018407681956887245,
-0.018289683386683464,
0.05036827176809311,
0.0137551911175251,
-0.053537361323833466,
-0.05727958306670189,
-0.03519710525870323,
-0.022099332883954048,
0.020919352769851685,
-0.005524833220988512,
0.019166240468621254,
-0.05228995531797409,
-0.05481848120689392,
0.024105297401547432,
-0.03187630698084831,
-0.0031227318104356527,
0.021155348047614098,
-0.03273600712418556,
-0.043018683791160583,
-0.02988719753921032,
-0.06503373384475708,
0.041535284370183945,
-0.0023157100658863783,
0.014100756496191025,
0.006456174422055483,
-0.00745494244620204,
0.04123185947537422,
0.014648604206740856,
-0.06783197075128555,
-0.004917986690998077,
0.0030426618177443743,
0.033764272928237915,
-0.008723421022295952,
-0.03826505318284035,
0.033696845173835754,
-0.018323397263884544,
0.04042273014783859,
-0.05070541054010391,
-0.02993776835501194,
-0.006447745952755213,
-0.02145877294242382,
-0.008171359077095985,
0.008226143196225166,
0.0006331854965537786,
0.020767642185091972,
0.015432448126375675,
-0.009170127101242542,
0.004260569345206022,
-0.061055514961481094,
-0.061055514961481094,
-0.02385244518518448,
0.004850558936595917,
0.02998833917081356,
0.036444514989852905,
-0.020969923585653305,
0.0003589982516132295,
0.00987811479717493,
0.044097524136304855,
0.03226401284337044,
-0.01618257723748684,
-0.046659763902425766,
-0.007872149348258972,
-0.003689543344080448,
0.025184135884046555,
-0.035635385662317276,
-0.07976662367582321,
0.006553100887686014,
-0.044805511832237244,
-0.019301095977425575,
-0.07949691265821457,
0.014395751059055328,
0.020379934459924698,
0.05461619794368744,
-0.01319048646837473,
0.015339734964072704,
0.004601920489221811,
-0.011353089474141598,
0.0009761170949786901,
-0.013881617225706577,
0.004808417055755854,
-0.061156656593084335,
-0.029415206983685493,
-0.04976142570376396,
0.015634730458259583,
-0.009810687974095345,
0.048446591943502426,
-0.0000189474958460778,
-0.022503897547721863,
0.0582909919321537,
-0.014884600415825844,
-0.016047723591327667,
0.05121111497282982,
-0.002059696475043893,
0.02311074361205101,
0.027628380805253983,
0.020110223442316055,
-0.016890564933419228,
0.04382781311869621,
-0.006995593663305044,
-0.036377087235450745,
0.011091808788478374,
0.011302518658339977,
-0.020278792828321457,
-0.05384078249335289,
0.015752727165818214,
-0.00278138043358922,
-0.00557961780577898,
-0.08509338647127151,
0.02820151299238205,
0.06183093041181564,
0.01324948575347662,
0.022099332883954048,
-0.03654565289616585,
-0.030460331588983536,
0.0016488108085468411,
-0.009616834111511707,
-0.030460331588983536,
-0.04628891497850418,
-0.0030384475830942392,
-0.021728482097387314,
-0.003965574316680431,
-0.060381241142749786,
-0.018997671082615852,
0.05222252756357193,
0.020110223442316055,
0.0668879896402359,
-0.015702158212661743,
-0.018424538895487785,
-0.01241507101804018,
-0.0462552011013031,
-0.028488079085946083,
-0.0637863278388977,
-0.01505316887050867,
0.05363850295543671,
0.07612553983926773,
0.016780996695160866,
-0.007876363582909107,
-0.004812631290405989,
0.05613331496715546,
-0.0062328209169209,
-0.017463698983192444,
0.02579098381102085,
0.026751823723316193,
0.007379086688160896,
-0.01244878489524126,
0.008866704069077969,
-0.022487040609121323,
0.011369946412742138,
0.057819001376628876,
0.0007143091061152518,
-0.03678165003657341,
0.01613200642168522,
0.04561464115977287,
-0.048278022557497025,
0.0249312836676836,
-0.04534493014216423,
0.010189967229962349,
-0.024627860635519028,
0.026768680661916733,
-0.04945800453424454,
0.049255721271038055,
0.02061592973768711,
-0.04355810582637787,
0.011791368015110493,
-0.028707219287753105,
-0.06365147233009338,
-0.037961628288030624,
-0.0617297925055027,
0.013021918013691902,
-0.018289683386683464,
-0.0007153626647777855,
0.012280216440558434,
-0.016612427309155464,
0.049356862902641296,
0.004816845525056124,
-0.028707219287753105,
-0.04601920396089554,
-0.044872939586639404,
-0.05923497676849365,
0.04527750238776207,
0.06870852410793304,
0.07315873354673386,
0.04446837306022644,
-0.027628380805253983,
-0.017682837322354317,
0.010594530962407589,
0.005259337835013866,
0.015752727165818214,
0.013156772591173649,
-0.05879670009016991,
0.02810037136077881,
0.038096483796834946,
-0.03278657793998718,
0.020228222012519836,
0.06537087261676788,
0.015879154205322266,
-0.0340508408844471,
-0.011066523380577564,
0.00850849598646164,
0.006957665551453829,
-0.09122928231954575,
-0.012802778743207455,
0.01869424805045128,
0.02552127279341221,
-0.005423692055046558,
0.01709284819662571,
-0.00848321057856083,
0.04628891497850418
] |
710,076
|
urllib3_future.contrib.resolver.factories
|
__init__
| null |
def __init__(
self,
protocol: ProtocolResolver,
specifier: str | None = None,
implementation: str | None = None,
server: str | None = None,
port: int | None = None,
*host_patterns: str,
**kwargs: typing.Any,
) -> None:
self.protocol = protocol
self.specifier = specifier
self.implementation = implementation
self.server = server
self.port = port
self.host_patterns = host_patterns
self.kwargs = kwargs
|
(self, protocol: urllib3_future.contrib.resolver.protocols.ProtocolResolver, specifier: Optional[str] = None, implementation: Optional[str] = None, server: Optional[str] = None, port: Optional[int] = None, *host_patterns: str, **kwargs: Any) -> NoneType
|
[
0.02938053011894226,
-0.04042477905750275,
0.00784955732524395,
-0.03272566199302673,
-0.037026546895504,
0.004676991142332554,
0.014097345061600208,
0.009902655147016048,
-0.0282300878316164,
0.0030353982001543045,
0.029610618948936462,
0.07879646122455597,
-0.026176990941166878,
0.013796459883451462,
0.0036128319334238768,
0.0070575219579041,
-0.008420353755354881,
0.0468672551214695,
-0.004042035434395075,
-0.04856637120246887,
-0.002973451279103756,
0.049663715064525604,
0.015106194652616978,
0.056778762489557266,
0.029203539714217186,
0.07047787308692932,
-0.020176991820335388,
-0.023274336010217667,
0.024991150945425034,
-0.026902655139565468,
-0.004243362694978714,
0.02286725677549839,
-0.0360884964466095,
0.0651327446103096,
0.019681416451931,
-0.002008849522098899,
-0.019433628767728806,
0.0770973414182663,
-0.1105840727686882,
0.02511504478752613,
-0.005026548635214567,
0.01132743339985609,
-0.020672567188739777,
-0.020230088382959366,
0.04014159366488457,
0.029575221240520477,
0.03451327607035637,
0.03355752304196358,
-0.010336283594369888,
-0.033398229628801346,
-0.05897345021367073,
0.0110707962885499,
0.008955752477049828,
-0.015088495798408985,
-0.006663716863840818,
0.10562831908464432,
0.057699114084243774,
0.14166371524333954,
-0.013946902938187122,
0.04792920500040054,
-0.07716814428567886,
0.00966371688991785,
0.002991150366142392,
0.029681416228413582,
-0.025061946362257004,
-0.030619468539953232,
-0.053876105695962906,
-0.033115044236183167,
0.009318583644926548,
0.021150441840291023,
0.0810619443655014,
0.012424779124557972,
-0.04046017676591873,
-0.004243362694978714,
0.08934513479471207,
0.00958407111465931,
-0.04074336215853691,
-0.00432964600622654,
0.014274336397647858,
0.02792920358479023,
0.02453097328543663,
0.007601770106703043,
-0.026654867455363274,
-0.024991150945425034,
0.08141592890024185,
-0.05826548486948013,
-0.03118584118783474,
-0.0492035411298275,
0.02814159356057644,
0.03808849677443504,
-0.07153982669115067,
-0.007190265692770481,
-0.03270796313881874,
0.012938053347170353,
-0.01084955781698227,
-0.01895575225353241,
-0.005314159207046032,
-0.02338053099811077,
0.01916814222931862,
-0.02054867334663868,
-0.00007812499825377017,
0.0230796467512846,
-0.08757521957159042,
-0.00707522127777338,
-0.01371681410819292,
0.0003711283206939697,
0.020867256447672844,
-0.015070796012878418,
-0.060530971735715866,
0.037946902215480804,
0.027115045115351677,
0.060460176318883896,
0.010265486314892769,
0.03943362832069397,
-0.026300884783267975,
0.05469026416540146,
-0.0028694691136479378,
-0.05391150340437889,
0.039327435195446014,
-0.015681415796279907,
-0.06552212685346603,
0.04817699268460274,
-0.040707964450120926,
0.08573451638221741,
0.027681415900588036,
-0.010336283594369888,
-0.00685840705409646,
-0.05699114874005318,
0.0021946902852505445,
-0.06261947005987167,
0.0817699134349823,
0.034849558025598526,
-0.012637168169021606,
0.019345132634043694,
-0.01128318626433611,
-0.003097345121204853,
-0.04081415757536888,
0.00980530958622694,
-0.044389382004737854,
0.008942478336393833,
-0.03688495606184006,
0.04276106134057045,
0.003949115052819252,
-0.01207964587956667,
-0.026318583637475967,
-0.007783185690641403,
0.003984513226896524,
-0.06470796465873718,
-0.0159292034804821,
0.03681416064500809,
-0.0010973451426252723,
-0.034336283802986145,
-0.00851769931614399,
0.052849557250738144,
-0.009646018035709858,
-0.010256636887788773,
0.022460177540779114,
-0.015814159065485,
0.015814159065485,
0.028123894706368446,
-0.022017698734998703,
-0.05815929174423218,
0.05890265479683876,
-0.017964601516723633,
-0.016840707510709763,
-0.004712389316409826,
0.018707964569330215,
-0.0878584086894989,
-0.000530973426066339,
0.02626548707485199,
-0.024725664407014847,
0.033026549965143204,
-0.038230087608098984,
-0.018566371873021126,
0.07483185827732086,
0.02343362756073475,
0.03532743453979492,
0.02047787606716156,
0.006163716781884432,
-0.0013340708101168275,
0.043681416660547256,
-0.014000000432133675,
-0.037734512239694595,
0.010867256671190262,
0.06552212685346603,
0.05012389272451401,
-0.02989380620419979,
0.03837168216705322,
0.025929203256964684,
-0.014858406968414783,
0.0283539816737175,
0.004991150461137295,
0.026424778625369072,
0.022053096443414688,
0.006172566208988428,
-0.05628318712115288,
0.04081415757536888,
-0.001070796512067318,
0.0027168141677975655,
0.03536283224821091,
-0.00750884972512722,
0.03511504456400871,
-0.0075973449274897575,
0.037663716822862625,
-0.0022212390322238207,
0.013132743537425995,
0.05985840782523155,
0.026761062443256378,
-0.0291681420058012,
-0.03623008728027344,
-0.006101769860833883,
-0.05752212554216385,
0.008323009125888348,
0.00879645999521017,
-0.008287610486149788,
-0.05447787791490555,
-0.02258407138288021,
0.006296460051089525,
0.03589380532503128,
0.007022123783826828,
0.06835398077964783,
0.01946902647614479,
0.0031150442082434893,
-0.018283186480402946,
0.02497345209121704,
0.0012035397812724113,
0.012530973181128502,
-0.027327433228492737,
-0.05847787484526634,
0.01374336238950491,
-0.015079646371304989,
-0.014486725442111492,
0.018796460703015327,
0.03456637263298035,
0.014964601956307888,
-0.012026548385620117,
0.018495574593544006,
-0.0026261061429977417,
-0.017061946913599968,
-0.0285840705037117,
0.03957522287964821,
0.01096460223197937,
0.012106195092201233,
-0.023168141022324562,
0.027539823204278946,
0.016725663095712662,
-0.04831858351826668,
0.010982301086187363,
0.04233628138899803,
0.0070619466714560986,
-0.037734512239694595,
0.013433628715574741,
-0.05362831801176071,
-0.0068628317676484585,
-0.035628318786621094,
-0.01545132789760828,
-0.05953982472419739,
-0.04407079517841339,
0.0480353981256485,
0.0016703539295122027,
-0.03407079726457596,
0.05635398253798485,
-0.01219469029456377,
0.05723893642425537,
-0.013707964681088924,
-0.033469025045633316,
-0.019292036071419716,
-0.01700885035097599,
-0.0002928650355897844,
-0.021433629095554352,
0.061238937079906464,
-0.016619468107819557,
0.04187610745429993,
0.059079647064208984,
-0.028389381244778633,
-0.04173451289534569,
-0.014000000432133675,
-0.03674336150288582,
-0.005194690078496933,
-0.005513274110853672,
0.05681416019797325,
-0.013106194324791431,
0.008438053540885448,
-0.019876105710864067,
0.052849557250738144,
0.028637168928980827,
-0.00426991144195199,
0.04385840892791748,
-0.046053096652030945,
-0.03226548805832863,
-0.017495574429631233,
0.0029668142087757587,
0.027876107022166252,
0.048070795834064484,
0.0335044264793396,
0.034902654588222504,
-0.005632743239402771,
0.03391150385141373,
0.041486725211143494,
-0.08375221490859985,
-0.021469026803970337,
-0.03155752271413803,
0.006367256864905357,
0.018513273447752,
0.0027079645078629255,
-0.013327433727681637,
-0.024495575577020645,
0.03261946886777878,
0.024212390184402466,
0.03203539922833443,
0.06736283004283905,
-0.011566371656954288,
-0.048672568053007126,
-0.012575221247971058,
0.00879645999521017,
0.04456637054681778,
-0.008367256261408329,
0.003984513226896524,
-0.0033761062659323215,
0.04672566428780556,
0.006615044083446264,
0.026796460151672363,
-0.035415928810834885,
-0.002533185761421919,
-0.020584071055054665,
0.020743362605571747,
0.007415929343551397,
-0.00006564574141521007,
-0.01642477884888649,
0.023752212524414062,
-0.041486725211143494,
0.0431150458753109,
-0.0037632742896676064,
-0.02907964587211609,
0.0008932522032409906,
-0.05759292095899582,
-0.000032684594771126285,
-0.027769912034273148,
-0.02329203486442566,
-0.020300885662436485,
0.021451327949762344,
-0.026424778625369072,
-0.04877876117825508,
0.006380531005561352,
0.045415930449962616,
-0.03971681371331215,
-0.027451327070593834,
-0.04038938134908676,
0.006920353975147009,
-0.03320353850722313,
-0.011769911274313927,
-0.02923893742263317,
0.0069601768627762794,
-0.0031415929552167654,
0.08332743495702744,
-0.002880530897527933,
-0.018938053399324417,
-0.019274335354566574,
0.014592920430004597,
-0.018053097650408745,
0.03575221076607704,
-0.005831858608871698,
-0.020353982225060463,
-0.042300883680582047,
-0.02902654930949211,
-0.02596460096538067,
0.05840707942843437,
0.022159291431307793,
0.03851327300071716,
-0.034053098410367966,
0.0035442477092146873,
-0.023327434435486794,
-0.03456637263298035,
-0.04697345197200775,
-0.009451327845454216,
-0.02647787518799305,
0.001764380489476025,
0.04166371747851372,
-0.05635398253798485,
-0.013575221411883831,
-0.026796460151672363,
0.03532743453979492,
0.060106195509433746,
-0.008725663647055626,
-0.010796460323035717,
-0.012902654707431793,
-0.005699114874005318,
0.028407080098986626,
0.02996460162103176,
0.0749734491109848,
0.01939822919666767,
-0.027964601293206215,
0.011734513565897942,
-0.02915044315159321,
0.0230796467512846,
-0.013946902938187122,
-0.02539823018014431,
0.02656637132167816,
-0.029858406633138657,
0.028672566637396812,
0.04378760978579521,
-0.06598230451345444,
0.033681415021419525,
0.031946901232004166,
0.06435398012399673,
0.04067256674170494,
0.0932389348745346,
0.03692035377025604,
0.035274337977170944,
0.04332743212580681,
0.00816371664404869,
-0.02656637132167816,
-0.07617699354887009,
-0.026371682062745094,
-0.01916814222931862,
0.018778761848807335,
0.032371681183576584,
-0.02424778789281845,
0.02546902745962143,
-0.01925663650035858,
-0.008097345009446144,
-0.028690265491604805,
0.010557522065937519,
0.047504425048828125,
0.08276106417179108,
0.0438230074942112,
-0.018761061131954193,
-0.037876106798648834,
0.03992920368909836,
-0.03352212533354759,
-0.020070796832442284,
0.013814159668982029,
-0.03830088675022125,
-0.03488495573401451,
0.06807079911231995,
0.009823008440434933,
-0.013176991604268551,
-0.007119468878954649,
0.018637167289853096,
-0.05752212554216385,
-0.05607079714536667,
-0.022973451763391495,
0.04828318580985069,
0.008207964710891247,
-0.014053096994757652,
-0.016247788444161415,
0.0033893806394189596,
-0.01642477884888649,
-0.04322123900055885,
-0.0017311946721747518,
-0.01726548746228218,
-0.02010619454085827,
-0.011132743209600449,
-0.018513273447752,
-0.022159291431307793,
-0.08184070885181427,
0.047858405858278275,
0.03989380598068237,
-0.024000000208616257,
-0.04530973359942436,
0.07097344845533371,
-0.029999999329447746,
-0.00280530983582139,
-0.05161061882972717,
-0.07079645991325378,
0.028973450884222984,
0.04527433589100838,
-0.009424778632819653,
-0.016787610948085785,
-0.00553539814427495,
-0.024442477151751518,
0.058867257088422775,
-0.023168141022324562,
0.010663717053830624,
-0.01918584108352661,
0.021238937973976135,
0.04640708118677139,
-0.03352212533354759,
-0.025238938629627228,
-0.03380531072616577,
-0.006097345147281885,
0.04863716661930084,
0.03699114918708801,
0.038831859827041626,
-0.00727433618158102,
-0.03392920270562172,
0.002553097438067198,
-0.05607079714536667,
-0.011300885118544102,
0.026000000536441803,
-0.007973451167345047,
0.05653097480535507,
-0.019079646095633507,
-0.02511504478752613,
0.06952212750911713,
0.013654867187142372,
-0.02915044315159321,
0.05738053098320961,
0.0031039821915328503,
0.0015165929216891527,
-0.015212389640510082,
-0.021238937973976135,
0.006535398308187723,
-0.058654867112636566,
0.03132743388414383,
-0.03423008695244789,
-0.04375221207737923,
0.02148672565817833,
-0.020088495686650276,
0.04506194591522217,
0.005800885148346424,
-0.0027389379683882,
-0.027539823204278946,
0.027628319337964058,
0.007876106537878513,
0.03837168216705322,
-0.0480353981256485,
-0.026654867455363274,
-0.048884954303503036,
0.017893806099891663,
0.02242477796971798,
0.05830088630318642,
0.07224778831005096,
-0.011389380320906639,
0.04141592979431152,
-0.04276106134057045,
0.013159291818737984,
-0.015504424460232258,
0.06084955856204033,
0.020513273775577545,
0.01078761089593172,
-0.01193805318325758,
-0.050619468092918396,
0.038831859827041626,
0.04679645970463753,
0.03207079693675041,
-0.023769911378622055,
-0.012876106426119804,
-0.032601770013570786,
0.0077168140560388565,
0.005884955637156963,
0.03762831911444664,
-0.07695575058460236,
-0.08955752104520798,
-0.06099114939570427,
-0.05815929174423218,
-0.014185840263962746,
0.029486725106835365,
0.00431194668635726,
-0.000591814168728888,
-0.004867256619036198,
-0.044743362814188004,
-0.04014159366488457,
0.02380530908703804,
-0.039115045219659805,
0.021610619500279427,
0.007393805310130119,
-0.004871681332588196,
-0.008800884708762169,
0.004236725624650717,
-0.009460177272558212,
0.018336283043026924,
-0.03688495606184006,
0.06141592934727669,
-0.031646016985177994,
-0.019115043804049492,
0.03060176968574524,
-0.04470796510577202,
-0.0705132707953453,
0.033398229628801346,
-0.018495574593544006,
0.0161681417375803,
0.012716813944280148,
0.040035396814346313,
-0.04669026657938957,
-0.0020431415177881718,
-0.012044248171150684,
0.007154867053031921,
0.04821239039301872,
-0.0021991149988025427,
-0.008247788064181805,
0.02106194756925106,
-0.04297345131635666,
-0.060884956270456314,
-0.011026548221707344,
0.003165929112583399,
0.03090265579521656,
-0.03184070810675621,
-0.05391150340437889,
-0.033327434211969376,
0.0029668142087757587,
-0.0461592935025692,
-0.019734513014554977,
0.004792035557329655,
-0.06400000303983688,
-0.02265486679971218,
-0.04980530962347984,
-0.020796461030840874,
0.06757522374391556,
-0.009716814383864403,
-0.07398229837417603,
0.07139822840690613,
-0.01801769994199276,
-0.040035396814346313,
0.0637168139219284,
-0.005380530841648579,
-0.02945132739841938,
0.03992920368909836,
-0.020796461030840874,
-0.05122124031186104,
0.00311283185146749,
0.03553982451558113,
-0.004404867067933083,
0.005017699208110571,
0.0060088494792580605,
-0.005575221031904221,
-0.0038053097669035196,
0.04042477905750275,
-0.014716814272105694,
-0.024707963690161705,
-0.011460176669061184,
0.02663716860115528,
0.0033783186227083206,
0.03017699159681797,
-0.028778761625289917,
0.044601768255233765,
-0.04527433589100838,
-0.04856637120246887,
-0.025079645216464996,
-0.014168141409754753,
0.06488495320081711,
-0.003851769957691431,
-0.03741592913866043,
-0.004867256619036198,
-0.01567256636917591,
-0.042584069073200226,
0.008491150103509426,
-0.005893805529922247,
0.03263716772198677,
0.0013185840798541903,
-0.05638938024640083,
-0.03407079726457596,
0.0026128317695111036,
-0.033823009580373764,
-0.04877876117825508,
0.01576991192996502,
-0.007566371466964483,
-0.05784070864319801,
0.02966371737420559,
0.005469026509672403,
0.05348672717809677,
0.06035398319363594,
0.0041061947122216225,
0.04038938134908676,
0.01334513258188963,
0.05953982472419739,
-0.02323893830180168,
0.02099115028977394,
0.07171681523323059,
-0.0027234512381255627,
-0.04506194591522217,
0.016061946749687195,
0.1166725680232048,
-0.008982300758361816,
0.016230087727308273,
0.008561946451663971,
0.01766371726989746,
-0.10718584060668945,
-0.004946902859956026,
0.05040707811713219,
0.015327434055507183,
0.00024433076032437384,
0.006685840897262096,
0.03493805229663849,
-0.01567256636917591,
0.0008412610623054206,
-0.04530973359942436,
-0.00808407086879015,
0.0199115052819252,
0.014796460047364235,
0.03221238777041435,
-0.05210619419813156,
-0.014265486970543861,
-0.06063716858625412,
-0.0560000017285347,
0.02539823018014431,
-0.027238938957452774,
0.06438937783241272,
0.009389380924403667,
-0.06336282938718796,
-0.00008483130659442395,
0.008508849889039993,
0.022601770237088203,
-0.01219469029456377,
-0.00468584056943655,
0.008022123947739601,
-0.038194689899683,
-0.13373450934886932,
0.04484955593943596,
-0.02982300892472267,
0.008420353755354881,
0.008429203182458878,
-0.03414159268140793,
-0.0035553097259253263,
-0.017769912257790565,
0.022389380261301994,
-0.0028982299845665693,
0.00353761063888669,
0.020566372200846672,
-0.03272566199302673,
0.0020254424307495356,
0.02106194756925106,
0.03352212533354759,
-0.041061945259571075,
-0.0047876108437776566,
0.025309734046459198,
0.04892035573720932,
0.03223009034991264,
-0.008168141357600689,
-0.015035398304462433,
0.031026547774672508,
-0.012522123754024506,
0.027256637811660767,
-0.02084955759346485,
0.03269026428461075,
-0.039327435195446014,
-0.03153982385993004,
0.0011847345158457756,
0.07539822906255722,
-0.010610619559884071,
0.023415928706526756,
0.04976991191506386,
-0.028530973941087723,
-0.0045442478731274605,
-0.01576991192996502,
-0.06378760933876038,
0.04385840892791748,
-0.042867258191108704,
0.020230088382959366,
0.05033628270030022,
-0.02460177056491375,
0.006761061958968639,
0.004690265282988548,
0.02757522091269493,
0.0400707982480526,
-0.004712389316409826,
0.020318584516644478,
0.0257699117064476,
0.040707964450120926,
-0.026601769030094147,
-0.07246017456054688,
-0.011336282826960087,
-0.022973451763391495,
0.015256636776030064,
-0.03791150450706482,
-0.10237167775630951,
0.018902655690908432,
0.019628318026661873,
-0.028247786685824394,
-0.009486725553870201,
-0.09932743012905121,
0.0027367256116122007,
0.08920353651046753,
-0.05752212554216385,
-0.004539823159575462,
0.02546902745962143,
0.024141592904925346,
0.016318583860993385
] |
710,077
|
urllib3_future.contrib.resolver.factories
|
__setitem__
| null |
def __setitem__(self, key: str, value: typing.Any) -> None:
self.kwargs[key] = value
|
(self, key: str, value: Any) -> NoneType
|
[
-0.000105464001535438,
-0.004491307307034731,
-0.016436995938420296,
0.01548609510064125,
-0.037900179624557495,
0.015808722004294395,
-0.01631813310086727,
0.051280710846185684,
0.05902376025915146,
-0.028068548068404198,
-0.04506589472293854,
0.043401818722486496,
0.0031158975325524807,
0.030428819358348846,
0.0018031027866527438,
-0.015095546841621399,
0.009050535969436169,
0.06374429911375046,
0.003578612580895424,
-0.011996629647910595,
0.016122858971357346,
0.030717484652996063,
0.03759453445672989,
0.00753503805026412,
0.03250042349100113,
-0.009016575291752815,
0.0299533698707819,
0.02445172891020775,
0.08266042917966843,
0.028153449296951294,
-0.013855979777872562,
-0.06921198219060898,
-0.01849162019789219,
0.04075288400053978,
0.051246751099824905,
-0.034911636263132095,
-0.04262072220444679,
0.043401818722486496,
-0.03637194633483887,
-0.01866142451763153,
-0.01178437564522028,
0.003797234734520316,
-0.01891613006591797,
-0.024893218651413918,
0.05589937046170235,
0.03861335664987564,
-0.012828667648136616,
0.07287973910570145,
0.015019135549664497,
-0.017252054065465927,
-0.05284290388226509,
-0.0028463341295719147,
0.03180423006415367,
-0.017455818131566048,
-0.02845909632742405,
0.06055199354887009,
-0.018848208710551262,
0.03163442388176918,
0.002691388363018632,
0.059363365173339844,
-0.026387492194771767,
-0.011809845454990864,
-0.014560665935277939,
-0.060178425163030624,
-0.013567313551902771,
-0.03277210891246796,
-0.041296254843473434,
0.048054441809654236,
0.027219530194997787,
-0.01197115983814001,
0.005896432790905237,
-0.04710353910923004,
-0.01647944748401642,
-0.02823835238814354,
-0.013439960777759552,
0.04472628980875015,
-0.10568580776453018,
0.029189253225922585,
0.0028505793306976557,
0.021361302584409714,
0.004597434774041176,
0.005896432790905237,
-0.024893218651413918,
0.015273841097950935,
-0.017710523679852486,
0.03986990451812744,
-0.07240428775548935,
0.012828667648136616,
0.014501234516501427,
0.00013796548591926694,
-0.02905340865254402,
0.02227824181318283,
-0.019204795360565186,
0.026625216007232666,
-0.030870309099555016,
-0.036168184131383896,
0.04567718878388405,
-0.06252171099185944,
0.01401729416102171,
0.03058164194226265,
0.01930667832493782,
-0.07634373754262924,
0.0789247527718544,
-0.03373999148607254,
-0.028408154845237732,
-0.049956243485212326,
0.0053488160483539104,
-0.025164905935525894,
-0.02570827677845955,
0.000570964883081615,
0.027932705357670784,
0.003098917193710804,
-0.026268629357218742,
0.035353124141693115,
-0.049582675099372864,
0.10154259949922562,
-0.03117595613002777,
-0.08361133188009262,
0.026234667748212814,
0.034300342202186584,
-0.031057093292474747,
0.03455504775047302,
-0.010748572647571564,
0.08775454014539719,
0.03908880800008774,
0.004162312485277653,
-0.027915725484490395,
0.04564322903752327,
0.048495929688215256,
-0.048054441809654236,
0.00347673031501472,
-0.008409527130424976,
0.00711901905015111,
0.003648656653240323,
0.07403440773487091,
-0.008804320357739925,
-0.01539270393550396,
-0.006724225822836161,
-0.006677529774606228,
0.0331796370446682,
-0.009194869548082352,
0.010493867099285126,
0.020223617553710938,
-0.0007068078266456723,
0.020529264584183693,
-0.03970009833574295,
-0.03837563097476959,
0.014679527841508389,
-0.034911636263132095,
-0.01507007610052824,
-0.022753693163394928,
0.03603234142065048,
0.007017137017101049,
0.038069985806941986,
-0.021938635036349297,
0.0015101914759725332,
-0.02907039038836956,
0.015435154549777508,
0.018406718969345093,
0.037900179624557495,
0.018933109939098358,
-0.05399756878614426,
0.010485377162694931,
0.0081760473549366,
-0.0178463663905859,
0.03562481328845024,
0.03525124490261078,
-0.0069110095500946045,
0.001386022544465959,
0.04282448813319206,
0.02290651574730873,
-0.016513407230377197,
0.02462153322994709,
0.013321098871529102,
0.022753693163394928,
0.04910722374916077,
-0.04577907174825668,
0.009067516773939133,
0.044488564133644104,
0.004302400629967451,
0.01806711219251156,
-0.023093299940228462,
-0.03593045845627785,
0.01828785613179207,
0.04116041213274002,
-0.01549458596855402,
-0.017897307872772217,
0.0462205596268177,
0.018797267228364944,
0.0738985612988472,
0.024995101615786552,
-0.04761295020580292,
0.015061586163938046,
-0.04479420930147171,
-0.026608236134052277,
-0.0014252896653488278,
0.013635235838592052,
-0.062080226838588715,
-0.01666623167693615,
0.10459906607866287,
-0.019629305228590965,
-0.04136417806148529,
0.006579892709851265,
0.03508143872022629,
0.03314567729830742,
-0.032806072384119034,
0.08259250968694687,
-0.035794615745544434,
-0.030004309490323067,
-0.025623375549912453,
0.0010273122461512685,
-0.03292493522167206,
0.0526731014251709,
-0.008541124872863293,
0.04160190001130104,
-0.07702294737100601,
-0.044692330062389374,
0.001844492508098483,
0.013533352874219418,
0.02207447774708271,
0.08496975898742676,
0.010977807454764843,
0.04262072220444679,
0.00551437446847558,
0.04781671613454819,
-0.022193340584635735,
0.030428819358348846,
-0.04268864542245865,
-0.05223161354660988,
0.04346974194049835,
-0.004270562436431646,
0.029426977038383484,
0.04007366672158241,
0.0327041894197464,
0.01762562245130539,
-0.0671403780579567,
-0.004308768548071384,
-0.06408391147851944,
-0.0027041235007345676,
0.012599432840943336,
0.05820870026946068,
0.04153398051857948,
0.007734557613730431,
0.059533171355724335,
-0.04910722374916077,
0.046797893941402435,
0.0197311881929636,
0.1039198487997055,
0.0017797547625377774,
0.012183413840830326,
0.047477107495069504,
0.02253294736146927,
-0.03154952451586723,
0.03973406180739403,
-0.003156225895509124,
0.05522015690803528,
0.010052377358078957,
0.037017203867435455,
0.017345445230603218,
-0.039971787482500076,
-0.041703782975673676,
0.01740487664937973,
0.0011737679596990347,
0.041296254843473434,
-0.025164905935525894,
-0.000767300371080637,
0.045541346073150635,
0.020274559035897255,
-0.06591778993606567,
0.01782938651740551,
0.03912276774644852,
0.0058794524520635605,
0.02311027981340885,
0.022397104650735855,
-0.005735119339078665,
0.014288979582488537,
0.024961140006780624,
0.007063833065330982,
-0.055491842329502106,
-0.008685458451509476,
0.07491738349199295,
-0.05111090838909149,
0.024468710646033287,
0.018763305619359016,
-0.02543659135699272,
0.029987329617142677,
0.03688135743141174,
0.072947658598423,
0.025844119489192963,
-0.004750257823616266,
0.01548609510064125,
-0.012820177711546421,
-0.011436278000473976,
0.08150576800107956,
-0.015214409679174423,
0.013838999904692173,
-0.06201230362057686,
0.01974816806614399,
0.05284290388226509,
0.025979962199926376,
0.033841874450445175,
-0.0044785719364881516,
-0.06381222605705261,
0.01993495225906372,
0.042994290590286255,
-0.01633511483669281,
0.020868871361017227,
0.03102313168346882,
-0.04411499574780464,
0.008719419129192829,
0.023398946970701218,
0.017982209101319313,
-0.1113232895731926,
0.03438524529337883,
0.017438838258385658,
0.007738802582025528,
-0.026234667748212814,
-0.02166694961488247,
-0.0364738292992115,
0.0833396464586258,
-0.023738553747534752,
-0.10466698557138443,
-0.09026763588190079,
-0.03983594477176666,
0.0441829189658165,
-0.013728627003729343,
0.051280710846185684,
-0.013524862937629223,
0.029019448906183243,
0.03881712257862091,
-0.0359983816742897,
0.0014125544112175703,
-0.012064551003277302,
0.02740631438791752,
-0.032143834978342056,
0.002345413202419877,
-0.05158635601401329,
0.017302995547652245,
0.02929113432765007,
-0.029019448906183243,
-0.051688238978385925,
0.02671011909842491,
-0.049752477556467056,
-0.002716858871281147,
0.03462297096848488,
-0.01209002174437046,
0.011190062388777733,
-0.00635914783924818,
0.06092555820941925,
-0.02013871632516384,
0.00003006387487403117,
-0.02631957083940506,
0.028781723231077194,
-0.02508000284433365,
0.03610026091337204,
-0.017506759613752365,
0.001182258129119873,
-0.03277210891246796,
-0.062283989042043686,
-0.06690265238285065,
0.0789247527718544,
-0.008621782064437866,
0.02292349748313427,
0.006227550096809864,
0.0017521617701277137,
0.05498243123292923,
-0.00503467908129096,
0.008719419129192829,
0.036813437938690186,
-0.04092268645763397,
0.041500020772218704,
-0.04285844787955284,
-0.0036571468226611614,
0.05668046697974205,
0.012497550807893276,
0.010162750259041786,
0.009559947066009045,
0.0279836468398571,
-0.06051803007721901,
-0.018712365999817848,
-0.014645567163825035,
-0.02949489839375019,
0.07804176956415176,
0.0356927327811718,
0.028340233489871025,
0.01369466632604599,
0.019187815487384796,
-0.010723101906478405,
0.05005812644958496,
0.03908880800008774,
-0.035353124141693115,
-0.006138402968645096,
-0.028153449296951294,
0.02015569619834423,
0.015477605164051056,
-0.04577907174825668,
-0.009610888548195362,
-0.035556890070438385,
-0.05114486813545227,
0.01845766045153141,
0.03015713393688202,
-0.06676680594682693,
-0.015307801775634289,
0.04581303149461746,
0.07131754606962204,
-0.01759166084229946,
-0.02783082239329815,
0.05555976554751396,
0.004580454435199499,
-0.014755940064787865,
0.028917565941810608,
-0.02969866432249546,
-0.02421400509774685,
-0.05776721239089966,
0.037492651492357254,
-0.0025704032741487026,
-0.0065077259205281734,
-0.06944970786571503,
-0.0018625340890139341,
0.029189253225922585,
0.03312869742512703,
0.0025152170564979315,
-0.016063427552580833,
0.042145274579524994,
0.020699068903923035,
0.03224571794271469,
-0.013957862742245197,
-0.03929257020354271,
0.046186599880456924,
-0.02803458832204342,
-0.04139813780784607,
-0.02083491161465645,
0.02316122129559517,
0.07376271486282349,
-0.0015908482018858194,
0.024978121742606163,
0.003822705242782831,
-0.05097506567835808,
-0.004136842209845781,
-0.01293055061250925,
-0.08476599305868149,
-0.04642432555556297,
0.0022286733146756887,
0.033247560262680054,
-0.017489779740571976,
-0.0352172814309597,
-0.011190062388777733,
0.020699068903923035,
0.04122833162546158,
-0.02927415445446968,
0.043843310326337814,
0.04771483317017555,
-0.002799638081341982,
-0.0002699613105505705,
0.05433717742562294,
-0.040684960782527924,
-0.09502214193344116,
-0.06866861134767532,
0.043809350579977036,
0.0009174704900942743,
0.013414490967988968,
0.0005667197983711958,
-0.0352172814309597,
-0.013567313551902771,
-0.01581721194088459,
0.05226557329297066,
0.01411917619407177,
0.02037644200026989,
-0.009610888548195362,
0.0018105317139998078,
-0.017353935167193413,
-0.011631552129983902,
-0.013482412323355675,
-0.0322287380695343,
-0.06095952168107033,
0.028085527941584587,
0.004232356790453196,
0.0013541843509301543,
-0.04567718878388405,
-0.014314450323581696,
0.008201518096029758,
0.022583888843655586,
0.024112122133374214,
0.009330712258815765,
-0.01317676529288292,
0.011224023066461086,
0.01082498487085104,
-0.0020408278796821833,
0.029630741104483604,
0.0713854655623436,
-0.027423294261097908,
-0.0014634954277426004,
0.01825389638543129,
0.019884010776877403,
0.05970297381281853,
-0.005000718403607607,
-0.04852989315986633,
0.03501351922750473,
0.009916534647345543,
-0.0030967947095632553,
-0.022397104650735855,
-0.006427069194614887,
0.009160908870398998,
-0.020019853487610817,
0.029376035556197166,
-0.03739076852798462,
-0.034045636653900146,
0.040447235107421875,
-0.06724225729703903,
-0.036202143877744675,
0.030242035165429115,
-0.011589101515710354,
0.01165702287107706,
-0.04907326400279999,
0.057631369680166245,
-0.013406000100076199,
-0.06109536439180374,
-0.021174518391489983,
-0.044047072529792786,
0.007989263162016869,
0.04078684374690056,
0.02508000284433365,
0.051925964653491974,
-0.05100902542471886,
0.0035361615009605885,
-0.042994290590286255,
0.008668477647006512,
-0.041058529168367386,
0.03465693071484566,
0.05756344646215439,
-0.03654175251722336,
0.017133191227912903,
-0.016496427357196808,
0.07274389266967773,
0.05321647226810455,
0.025113964453339577,
0.05056753382086754,
0.024129102006554604,
0.037254925817251205,
-0.01647944748401642,
-0.019612325355410576,
0.014416332356631756,
-0.003058588830754161,
-0.0913543775677681,
-0.010188221000134945,
0.002273246645927429,
-0.034707870334386826,
0.002389986766502261,
-0.014908762648701668,
-0.02655729465186596,
-0.08123408257961273,
-0.02910435013473034,
-0.023517809808254242,
0.057223841547966,
-0.08564897626638412,
-0.0547107458114624,
0.00342578929848969,
-0.03538708761334419,
0.004406405612826347,
0.03375697135925293,
-0.0017415490001440048,
0.0038099701050668955,
0.0658838301897049,
0.05155239626765251,
0.0005821082158945501,
0.01614833064377308,
-0.07315142452716827,
0.005845491774380207,
-0.020036833360791206,
-0.019884010776877403,
0.016173800453543663,
-0.0411943718791008,
-0.028306273743510246,
0.0061256675980985165,
-0.04153398051857948,
-0.00456771906465292,
0.009203359484672546,
0.0025003592018038034,
-0.03735680878162384,
-0.03582857549190521,
-0.04832612723112106,
0.10018417239189148,
-0.0034958331380039454,
0.012769236229360104,
0.012658864259719849,
0.001924087991937995,
0.04713750258088112,
0.031074073165655136,
-0.08164160698652267,
-0.00753503805026412,
-0.06170665845274925,
-0.0009095109417103231,
-0.016598310321569443,
-0.040243472903966904,
0.018185973167419434,
-0.019646285101771355,
-0.01495121419429779,
-0.041058529168367386,
-0.015256860293447971,
-0.014373881742358208,
-0.015868153423070908,
-0.015537036582827568,
-0.03457202762365341,
0.022974437102675438,
0.0019474358996376395,
0.010239161550998688,
-0.012353217229247093,
0.06048407033085823,
-0.01476443000137806,
-0.045133817940950394,
-0.027134627103805542,
0.024689454585313797,
0.011249493807554245,
0.039801981300115585,
-0.03289097175002098,
-0.009492025710642338,
0.0004176109214313328,
0.02482529729604721,
0.0007195430807769299,
-0.01952742226421833,
-0.038749199360609055,
0.008536879904568195,
-0.028289292007684708,
0.004380934871733189,
-0.012590942904353142,
-0.09556551277637482,
-0.005276649259030819,
-0.0036104507744312286,
-0.03528520464897156,
-0.08605650812387466,
-0.014815370552241802,
0.03178725019097328,
0.051484476774930954,
-0.03857939690351486,
0.03844355419278145,
0.007186940871179104,
-0.0035913477186113596,
-0.002237163484096527,
0.019833069294691086,
0.013439960777759552,
0.020053815096616745,
-0.014178607612848282,
0.03497955948114395,
-0.012455100193619728,
-0.024027220904827118,
0.07077417522668839,
-0.002527952194213867,
-0.021565066650509834,
-0.005599276162683964,
-0.00849018432199955,
-0.007335518952459097,
-0.02440078929066658,
-0.019459500908851624,
-0.0025428100489079952,
0.027219530194997787,
0.014755940064787865,
0.0014900272944942117,
0.005913413129746914,
-0.004028592258691788,
-0.03248344361782074,
-0.02316122129559517,
0.003160470863804221,
-0.040243472903966904,
-0.0429263710975647,
0.05579748749732971,
-0.015987016260623932,
-0.05301271006464958,
-0.04459044709801674,
0.02905340865254402,
0.041907548904418945,
0.021123576909303665,
-0.07464569807052612,
-0.05372588336467743,
0.004729032516479492,
0.02041040174663067,
-0.08822999149560928,
-0.02314424142241478,
0.0021947126369923353,
0.03990386426448822,
0.006843088194727898,
-0.030513720586895943,
-0.02506302297115326,
0.0032644758466631174,
0.019034992903470993,
-0.04526966065168381,
0.08245666325092316,
-0.005726628936827183,
0.03902088478207588,
-0.005968599114567041,
-0.0521976500749588,
0.03139670193195343,
-0.047409188002347946,
-0.02526678703725338,
-0.03253438323736191,
-0.043639544397592545,
-0.049990203231573105,
-0.016725663095712662,
-0.061876460909843445,
0.048292167484760284,
-0.005471923388540745,
-0.027474235743284225,
0.04778275638818741,
-0.02375553548336029,
-0.044896092265844345,
0.006248775403946638,
-0.007394950371235609,
-0.019255736842751503,
0.010111808776855469,
0.025572434067726135,
-0.021157538518309593,
0.009542967192828655,
0.005662952549755573,
-0.0041792928241193295,
-0.036813437938690186,
-0.008018978871405125,
-0.018984051421284676,
-0.007607204839587212,
-0.04095664620399475,
-0.012421139515936375,
0.011402317322790623,
0.020495304837822914,
0.030259015038609505,
-0.0007948934799060225,
-0.021700909361243248,
-0.0031901865731924772,
-0.08211705833673477,
-0.013406000100076199,
-0.01978212781250477,
0.021191498264670372,
0.010833474807441235,
0.014382371678948402,
0.009831633418798447,
0.010239161550998688,
-0.012573962099850178,
-0.014042763970792294,
-0.024349847808480263,
-0.04289240762591362,
-0.02015569619834423,
0.021089617162942886,
0.06904217600822449,
-0.014730469323694706,
0.057835131883621216,
-0.007140244822949171,
0.020733028650283813,
-0.002797515597194433,
0.006681774742901325,
-0.005841246340423822,
0.019799109548330307,
0.02146318554878235,
-0.010358024388551712,
-0.02394231967628002,
0.06333677470684052,
-0.04852989315986633,
0.04839404672384262,
0.06408391147851944,
-0.07077417522668839,
0.025521492585539818,
0.0030755691695958376,
0.056544624269008636,
0.010442926548421383,
-0.08293211460113525,
-0.045303620398044586,
0.0006855823448859155,
-0.03438524529337883,
-0.0037335583474487066,
0.027270471677184105,
0.015239880420267582,
0.02633655071258545
] |
710,078
|
urllib3_future.contrib.resolver._async.factories
|
from_url
| null |
@staticmethod
def from_url(url: str) -> AsyncResolverDescription:
parsed_url = parse_url(url)
schema = parsed_url.scheme
if schema is None:
raise ValueError("Given DNS url is missing a protocol")
specifier = None
implementation = None
if "+" in schema:
schema, specifier = tuple(schema.lower().split("+", 1))
protocol = ProtocolResolver(schema)
kwargs: dict[str, typing.Any] = {}
if parsed_url.path:
kwargs["path"] = parsed_url.path
if parsed_url.auth:
kwargs["headers"] = dict()
if ":" in parsed_url.auth:
username, password = parsed_url.auth.split(":")
username = username.strip("'\"")
password = password.strip("'\"")
kwargs["headers"][
"Authorization"
] = f"Basic {b64encode(f'{username}:{password}'.encode()).decode()}"
else:
kwargs["headers"]["Authorization"] = f"Bearer {parsed_url.auth}"
if parsed_url.query:
parameters = parse_qs(parsed_url.query)
for parameter in parameters:
if not parameters[parameter]:
continue
parameter_insensible = parameter.lower()
if (
isinstance(parameters[parameter], list)
and len(parameters[parameter]) > 1
):
if parameter == "implementation":
raise ValueError("Only one implementation can be passed to URL")
values = []
for e in parameters[parameter]:
if "," in e:
values.extend(e.split(","))
else:
values.append(e)
if parameter_insensible in kwargs:
if isinstance(kwargs[parameter_insensible], list):
kwargs[parameter_insensible].extend(values)
else:
values.append(kwargs[parameter_insensible])
kwargs[parameter_insensible] = values
continue
kwargs[parameter_insensible] = values
continue
value: str = parameters[parameter][0].lower().strip(" ")
if parameter == "implementation":
implementation = value
continue
if "," in value:
list_of_values = value.split(",")
if parameter_insensible in kwargs:
if isinstance(kwargs[parameter_insensible], list):
kwargs[parameter_insensible].extend(list_of_values)
else:
list_of_values.append(kwargs[parameter_insensible])
continue
kwargs[parameter_insensible] = list_of_values
continue
value_converted: bool | int | float | None = None
if value in ["false", "true"]:
value_converted = True if value == "true" else False
elif value.isdigit():
value_converted = int(value)
elif (
value.count(".") == 1
and value.index(".") > 0
and value.replace(".", "").isdigit()
):
value_converted = float(value)
kwargs[parameter_insensible] = (
value if value_converted is None else value_converted
)
host_patterns = []
if "hosts" in kwargs:
host_patterns = (
kwargs["hosts"].split(",")
if isinstance(kwargs["hosts"], str)
else kwargs["hosts"]
)
del kwargs["hosts"]
return AsyncResolverDescription(
protocol,
specifier,
implementation,
parsed_url.host,
parsed_url.port,
*host_patterns,
**kwargs,
)
|
(url: str) -> urllib3_future.contrib.resolver._async.factories.AsyncResolverDescription
|
[
0.022171884775161743,
-0.009400193579494953,
-0.04784860461950302,
-0.03226733207702637,
0.012228823266923428,
0.04560093954205513,
-0.0012988363159820437,
-0.029695849865674973,
-0.02064804546535015,
-0.04003892093896866,
0.04114370420575142,
0.0723443478345871,
-0.010552598163485527,
-0.0013976478949189186,
0.029143458232283592,
0.04586761072278023,
0.00661918381229043,
0.09478290379047394,
0.025010040029883385,
-0.06788711249828339,
-0.03034348227083683,
0.0044072335585951805,
-0.03394355624914169,
-0.0007922782097011805,
0.033467356115579605,
0.04662953317165375,
0.015124121680855751,
-0.04041988030076027,
-0.023219525814056396,
-0.005752499680966139,
0.04449615627527237,
0.06506800651550293,
0.0024190975818783045,
0.07363961637020111,
0.014695541001856327,
-0.00884303916245699,
0.011257374659180641,
0.058325011283159256,
-0.11931674182415009,
0.010362118482589722,
-0.05802024528384209,
-0.010019253939390182,
-0.009566863998770714,
-0.007290626410394907,
0.05817262828350067,
0.025048134848475456,
-0.04255325719714165,
0.03670552000403404,
-0.04255325719714165,
-0.043581850826740265,
0.009643055498600006,
-0.02171473391354084,
0.008409697562456131,
0.007647776510566473,
-0.017438454553484917,
0.07840161770582199,
-0.027638664469122887,
0.12084058672189713,
0.027295799925923347,
0.03234352543950081,
-0.0009768058080226183,
-0.013514564372599125,
-0.054248735308647156,
0.038610320538282394,
-0.048381950706243515,
-0.009781153872609138,
-0.010152590461075306,
-0.03731505572795868,
-0.04152466356754303,
-0.005833453498780727,
0.07283959537744522,
0.013666948303580284,
-0.018076563253998756,
-0.04426757991313934,
0.11024989187717438,
-0.005900121759623289,
-0.03786744549870491,
0.015514605678617954,
0.037715062499046326,
-0.003531025256961584,
0.02681959979236126,
-0.003754839301109314,
0.03935319185256958,
-0.07855399698019028,
0.03561978042125702,
-0.03316258639097214,
-0.010933558456599712,
-0.03278162702918053,
-0.007038240320980549,
0.03697219118475914,
-0.017009874805808067,
-0.08289694786071777,
-0.0368959978222847,
0.039848439395427704,
-0.06849665194749832,
0.027848193421959877,
0.020305180922150612,
-0.06544896960258484,
0.013028839603066444,
-0.055696386843919754,
0.02074328437447548,
0.025733863934874535,
-0.0816778764128685,
-0.009690675884485245,
-0.0004026868846267462,
-0.0700966864824295,
-0.015609845519065857,
0.0024190975818783045,
-0.03131493180990219,
0.022895710542798042,
-0.0023786204401403666,
-0.0038024592213332653,
0.0018024181481450796,
0.029886329546570778,
-0.0020119461696594954,
0.005619163624942303,
-0.013533612713217735,
-0.026248160749673843,
0.0030929208733141422,
-0.0017417025519534945,
-0.05889645218849182,
0.06323939561843872,
-0.03428642079234123,
0.0023679060395807028,
0.007285864558070898,
0.036991238594055176,
-0.0415627621114254,
-0.04190562665462494,
0.04426757991313934,
-0.047962892800569534,
0.03379117324948311,
0.04521998018026352,
0.006881094072014093,
0.04144847393035889,
0.012762167491018772,
0.0075668226927518845,
-0.058629781007766724,
0.005271537229418755,
-0.045067597180604935,
0.04952482879161835,
-0.0499819815158844,
0.04373423382639885,
0.01510507334023714,
-0.07969687879085541,
0.01784798689186573,
-0.024381455034017563,
0.034400708973407745,
-0.04933435097336769,
-0.0430104099214077,
0.0028095818124711514,
0.04083893820643425,
-0.004359613638371229,
0.019790884107351303,
0.04636286199092865,
0.013866952620446682,
-0.0401151143014431,
0.028762497007846832,
-0.036267414689064026,
-0.034153085201978683,
0.010638314299285412,
-0.020876619964838028,
-0.023219525814056396,
0.02116234041750431,
-0.05154392123222351,
-0.0050143892876803875,
-0.03942938521504402,
0.06095363572239876,
-0.07672539353370667,
-0.027352944016456604,
0.029695849865674973,
-0.05219155177474022,
0.04628666862845421,
-0.08274456113576889,
0.00926209520548582,
0.043238986283540726,
0.0127907395362854,
0.026171967387199402,
0.009447813965380192,
-0.005600115284323692,
-0.002654816722497344,
0.017143210396170616,
-0.0036976952105760574,
-0.029524417594075203,
-0.025657672435045242,
0.04072465002536774,
0.07085860520601273,
-0.036610279232263565,
0.02447669580578804,
0.03017204999923706,
0.004576284904032946,
-0.022533798590302467,
-0.0071144322864711285,
0.039505574852228165,
-0.00932400207966566,
0.020209940150380135,
-0.06636327505111694,
-0.008785895071923733,
0.041791338473558426,
0.0007881114725023508,
0.010924034751951694,
0.0009994253050535917,
0.01703844591975212,
-0.02927679382264614,
0.04278183355927467,
-0.025829102843999863,
-0.02057185210287571,
-0.002390525536611676,
-0.00661918381229043,
0.013781236484646797,
-0.005919169634580612,
-0.06960143148899078,
-0.017495598644018173,
-0.05158201605081558,
0.007514440454542637,
-0.04922006279230118,
-0.00839541107416153,
-0.009633531793951988,
0.016933681443333626,
0.060115523636341095,
-0.005823929328471422,
0.06937285512685776,
0.006404893938452005,
0.0737919956445694,
-0.025105278939008713,
0.02613387256860733,
0.003650075290352106,
-0.00480247987434268,
-0.03782935068011284,
-0.06830617040395737,
-0.00179051305167377,
0.013666948303580284,
-0.028191057965159416,
0.059315506368875504,
0.04845814034342766,
0.06735377013683319,
0.004947721026837826,
0.04259135574102402,
0.012419303879141808,
-0.0027476756367832422,
-0.0017809891141951084,
0.002540528541430831,
0.012828836217522621,
-0.029143458232283592,
-0.025257663801312447,
-0.04041988030076027,
-0.011343090794980526,
-0.02758152037858963,
0.024114781990647316,
-0.019057536497712135,
-0.04384852200746536,
-0.06727758049964905,
-0.014752685092389584,
-0.010943083092570305,
0.004835813771933317,
-0.0334102138876915,
-0.07082051038742065,
-0.047277163714170456,
-0.0366293266415596,
0.06621088832616806,
-0.020457563921809196,
-0.014866973273456097,
0.008762085810303688,
-0.029086314141750336,
0.06621088832616806,
-0.05962027609348297,
-0.03579121455550194,
0.012819311581552029,
-0.0030429197940975428,
-0.025181472301483154,
-0.010228781960904598,
-0.03880079835653305,
0.010524026118218899,
0.0075858705677092075,
-0.024248119443655014,
0.015914613381028175,
0.030838731676340103,
-0.0030214907601475716,
-0.030114905908703804,
-0.005152487196028233,
-0.045829515904188156,
0.005776309408247471,
0.0016083664959296584,
-0.0016940825153142214,
-0.03870556131005287,
0.08525890111923218,
0.0028643447440117598,
-0.033638790249824524,
0.052801087498664856,
-0.038343645632267,
0.016181286424398422,
-0.013371704146265984,
-0.06979191303253174,
0.016286049038171768,
-0.004781051073223352,
-0.016667010262608528,
0.038857944309711456,
-0.0010202591074630618,
-0.007104908116161823,
0.024038590490818024,
-0.06948714703321457,
-0.05489636957645416,
0.04457234591245651,
0.03331497311592102,
0.02788628824055195,
0.036991238594055176,
-0.023067142814397812,
-0.026171967387199402,
-0.022457605227828026,
-0.007933496497571468,
-0.007509678602218628,
-0.0029500608798116446,
-0.01658129319548607,
-0.03438166156411171,
-0.006433465983718634,
0.01908610761165619,
0.049448639154434204,
-0.016809869557619095,
0.015419365838170052,
0.045753322541713715,
0.025429096072912216,
-0.03685790300369263,
0.03331497311592102,
-0.006966810207813978,
-0.01632414571940899,
-0.0019631357863545418,
0.020076604560017586,
-0.003304830053821206,
0.07367771118879318,
-0.011933579109609127,
0.014733636751770973,
-0.009057329967617989,
0.00745729636400938,
-0.002919107675552368,
0.011181183159351349,
-0.004538188688457012,
-0.058591682463884354,
0.030191099271178246,
-0.0485343337059021,
0.045029498636722565,
-0.005142963025718927,
0.023867158219218254,
-0.009638293646275997,
-0.04594380408525467,
0.0054096351377666,
0.0020821858197450638,
-0.03798173367977142,
0.017371786758303642,
-0.026762455701828003,
0.025810055434703827,
-0.05878216400742531,
-0.032743532210588455,
-0.06499181687831879,
-0.0019250396871939301,
0.058286916464567184,
0.0807635709643364,
0.02982918545603752,
-0.019428972154855728,
-0.05634401738643646,
0.01760036312043667,
-0.06468705087900162,
0.0015428889309987426,
-0.04529616981744766,
-0.03123873844742775,
-0.028400585055351257,
-0.012714548036456108,
-0.03765792027115822,
0.03190542012453079,
0.025276711210608482,
0.08663035929203033,
-0.048686716705560684,
-0.015543177723884583,
-0.023352861404418945,
0.05485827475786209,
-0.04628666862845421,
0.0067810919135808945,
-0.027638664469122887,
-0.010800222866237164,
-0.008357315324246883,
-0.03021014668047428,
0.025771960616111755,
0.0009660913492552936,
0.06647755950689316,
0.015581273473799229,
0.0007815637509338558,
0.05066771060228348,
-0.039543673396110535,
-0.0030762539245188236,
0.04262945055961609,
-0.022076645866036415,
0.0363055095076561,
0.02358143776655197,
0.003316734917461872,
0.025657672435045242,
-0.014276484958827496,
-0.009828774258494377,
-0.0029833947774022818,
-0.017162257805466652,
0.015590797178447247,
-0.013105032034218311,
-0.006723948288708925,
0.0334102138876915,
-0.08678273856639862,
0.07687777280807495,
0.06735377013683319,
0.04007701575756073,
-0.010771650820970535,
0.11718336492776871,
0.03161969780921936,
-0.018495619297027588,
0.026019584387540817,
-0.02323857508599758,
-0.11748813837766647,
-0.05078199878334999,
-0.01998136378824711,
-0.034400708973407745,
0.038953185081481934,
0.015733657404780388,
-0.01449553668498993,
0.011419283226132393,
0.01760036312043667,
0.030838731676340103,
-0.059048835188150406,
-0.018038466572761536,
0.06784901767969131,
0.028038673102855682,
0.03520072624087334,
0.017905130982398987,
0.01232406310737133,
-0.03072444349527359,
-0.038191262632608414,
0.06632517278194427,
0.031257785856723785,
-0.02230522222816944,
-0.0793159231543541,
0.024495743215084076,
0.00820016860961914,
0.005328681319952011,
0.010476406663656235,
0.04922006279230118,
-0.0610298290848732,
-0.044648539274930954,
0.015609845519065857,
-0.02320047840476036,
0.007419200614094734,
0.02154330164194107,
-0.024381455034017563,
0.013419324532151222,
0.014019336551427841,
-0.006433465983718634,
-0.04960102215409279,
-0.05619163438677788,
0.005866787396371365,
0.020800428465008736,
0.008852563798427582,
-0.04514378681778908,
-0.008290646597743034,
0.09600197523832321,
0.057144034653902054,
-0.039505574852228165,
0.0044310437515378,
0.07626824080944061,
-0.03973415121436119,
-0.003126255003735423,
-0.006533468142151833,
-0.03855317458510399,
0.07097288966178894,
0.03464833274483681,
0.0049239108338952065,
-0.06579183042049408,
-0.016181286424398422,
-0.055429715663194656,
0.00624774768948555,
0.00870970357209444,
0.019828980788588524,
-0.04198181629180908,
-0.0019976601470261812,
0.06327749788761139,
0.018800387158989906,
-0.015581273473799229,
-0.017571790143847466,
0.005747737362980843,
-0.005262013059109449,
-0.0005928693572059274,
0.0741729587316513,
0.04266754537820816,
-0.01234311144798994,
0.025771960616111755,
-0.03981034457683563,
0.00008631130185676739,
0.009571625851094723,
-0.02175282873213291,
0.027562472969293594,
0.03514358028769493,
0.004511997569352388,
0.0073287226259708405,
-0.0015452699735760689,
-0.004461996722966433,
0.004623904824256897,
0.01865752786397934,
-0.012428827583789825,
0.02201950177550316,
-0.0097335334867239,
0.030438723042607307,
0.0030429197940975428,
0.052343934774398804,
0.024552887305617332,
-0.04354375600814819,
0.02927679382264614,
-0.052420128136873245,
0.013085983693599701,
-0.05763928219676018,
0.018714671954512596,
0.03177208453416824,
0.014486012980341911,
-0.014057432301342487,
0.0228195171803236,
-0.02720056101679802,
-0.006442990154027939,
-0.035295967012643814,
-0.010076398029923439,
0.011714527383446693,
0.05375348776578903,
0.03704838082194328,
0.0334102138876915,
0.020133748650550842,
0.02609577588737011,
-0.0072096725925803185,
0.005985837429761887,
0.004700096789747477,
-0.014952689409255981,
0.028019625693559647,
0.016038425266742706,
0.003521501086652279,
0.026286255568265915,
0.07729683071374893,
0.0334102138876915,
-0.04346756264567375,
-0.019219443202018738,
-0.08495413511991501,
0.033638790249824524,
0.015866992995142937,
0.0947067141532898,
-0.06468705087900162,
-0.06579183042049408,
-0.030114905908703804,
-0.060496486723423004,
0.017409883439540863,
0.04076274484395981,
0.04636286199092865,
-0.007866828702390194,
-0.045791421085596085,
0.019562307745218277,
0.05562019348144531,
-0.017181307077407837,
-0.03390546143054962,
0.008143024519085884,
-0.011666906997561455,
-0.04381042718887329,
-0.01696225441992283,
-0.03996272757649422,
0.006738234311342239,
0.0378103032708168,
-0.08335410058498383,
0.03497214987874031,
-0.04822956398129463,
0.025771960616111755,
0.041029416024684906,
-0.0042881835252046585,
-0.02346714958548546,
-0.008462078869342804,
-0.027048176154494286,
-0.02923869714140892,
0.004611999727785587,
-0.00264053069986403,
-0.03836269676685333,
0.01852419041097164,
0.014952689409255981,
-0.038438886404037476,
0.060877446085214615,
0.026914840564131737,
0.034324515610933304,
-0.01605747453868389,
-0.01389552466571331,
-0.035334061831235886,
-0.014228864572942257,
-0.006709662266075611,
0.01912420429289341,
0.04201991483569145,
-0.009800202213227749,
-0.038134120404720306,
-0.03238162025809288,
-0.04895339161157608,
-0.01971469260752201,
0.036743614822626114,
-0.042134203016757965,
-0.010066874325275421,
-0.04750574007630348,
0.006581088062375784,
0.04449615627527237,
-0.03310544416308403,
-0.06141078844666481,
0.03548644483089447,
0.012838359922170639,
-0.04144847393035889,
0.04369613900780678,
0.03182922676205635,
-0.02481955848634243,
-0.011085942387580872,
-0.012590736150741577,
-0.0612965002655983,
0.04019130393862724,
0.014524108730256557,
-0.010952606797218323,
-0.004971531219780445,
0.030191099271178246,
-0.019305160269141197,
-0.05005817487835884,
0.011514523066580296,
-0.005085818935185671,
-0.0427437387406826,
0.018762292340397835,
0.055696386843919754,
0.012085963040590286,
0.014952689409255981,
-0.03579121455550194,
0.05051532760262489,
-0.030114905908703804,
-0.04045797511935234,
-0.056458305567502975,
-0.027867240831255913,
0.05257251113653183,
0.04845814034342766,
-0.02146710827946663,
0.013781236484646797,
-0.010076398029923439,
-0.047315262258052826,
0.041067514568567276,
0.02699103206396103,
0.01344789657741785,
-0.029162505641579628,
-0.013219320215284824,
-0.02681959979236126,
-0.0340007022023201,
0.002454812405630946,
-0.028191057965159416,
0.027867240831255913,
-0.020800428465008736,
-0.0456390343606472,
0.03683885559439659,
0.005776309408247471,
0.03697219118475914,
0.07714444398880005,
0.058629781007766724,
0.03289591521024704,
0.03361973911523819,
0.01853371597826481,
0.0019345636246725917,
0.003364355070516467,
0.0313720740377903,
0.022248078137636185,
0.0186099074780941,
0.007662062533199787,
0.05146772786974907,
-0.02001946046948433,
-0.0155527014285326,
0.014305057004094124,
0.02758152037858963,
-0.03468642756342888,
0.0038381742779165506,
0.030876826494932175,
0.01763845793902874,
-0.027219608426094055,
0.022248078137636185,
0.04110560938715935,
0.03592455014586449,
-0.004552474711090326,
-0.015324125066399574,
-0.03927699849009514,
0.006600135937333107,
0.04415329173207283,
0.04152466356754303,
-0.04167705029249191,
-0.011238327249884605,
0.02937203459441662,
-0.037372197955846786,
-0.008014450781047344,
0.058248817920684814,
0.0025714815128594637,
0.012733595445752144,
-0.0473533570766449,
0.032876867800951004,
0.005104867275804281,
-0.02668626420199871,
-0.014952689409255981,
0.02213378995656967,
0.011762146838009357,
-0.04605809226632118,
-0.06476324051618576,
0.028038673102855682,
0.012000246904790401,
0.06960143148899078,
-0.02609577588737011,
0.005385825410485268,
-0.004569141659885645,
-0.011162134818732738,
0.04148656874895096,
0.02702912874519825,
0.01588604226708412,
-0.010438309982419014,
-0.0014547918690368533,
-0.02133377268910408,
0.002433383371680975,
0.010533550754189491,
-0.017524171620607376,
0.01789560727775097,
-0.0005327490507625043,
0.0047358120791614056,
0.04160085693001747,
0.024457646533846855,
0.03638170287013054,
0.03706743195652962,
-0.025981487706303596,
0.059086933732032776,
-0.00805254653096199,
0.005204868968576193,
0.0031810179352760315,
-0.02468622289597988,
0.04144847393035889,
0.04891529306769371,
-0.0025238615926355124,
0.006609660107642412,
0.08411601930856705,
-0.019695643335580826,
0.020800428465008736,
-0.011533571407198906,
-0.05592496320605278,
0.04449615627527237,
0.0036167411599308252,
-0.013524088077247143,
0.01687653921544552,
-0.02171473391354084,
0.013752664439380169,
-0.022800469771027565,
0.01370504405349493,
0.01771465130150318,
0.005685831420123577,
0.02337191067636013,
0.011085942387580872,
-0.00017500360263511539,
0.005095343105494976,
-0.028191057965159416,
0.017362263053655624,
-0.043238986283540726,
0.03723886236548424,
-0.046172380447387695,
-0.10362118482589722,
0.009023995138704777,
0.03392450883984566,
-0.03723886236548424,
-0.020381372421979904,
-0.04674382135272026,
0.04312469810247421,
0.06095363572239876,
-0.027600569650530815,
-0.028781546279788017,
0.010057349689304829,
0.001227406202815473,
-0.016295574605464935
] |
710,079
|
urllib3_future.contrib.resolver._async.factories
|
new
| null |
def new(self) -> AsyncBaseResolver:
kwargs = {**self.kwargs}
if self.server:
kwargs["server"] = self.server
if self.port:
kwargs["port"] = self.port
if self.host_patterns:
kwargs["patterns"] = self.host_patterns
return AsyncResolverFactory.new(
self.protocol,
self.specifier,
self.implementation,
**kwargs,
)
|
(self) -> urllib3_future.contrib.resolver._async.protocols.AsyncBaseResolver
|
[
0.0462537556886673,
-0.05509227514266968,
0.004493496380746365,
-0.023371420800685883,
-0.024995893239974976,
0.02303954027593136,
0.010742469690740108,
-0.005860322620719671,
-0.03814886882901192,
-0.015214131213724613,
0.0635814443230629,
0.08188731223344803,
-0.04723193123936653,
0.00898699276149273,
0.03720562532544136,
0.03930171579122543,
-0.030602937564253807,
0.02146747149527073,
-0.011380030773580074,
-0.04359870404005051,
-0.02349369414150715,
0.047022320330142975,
-0.04401792213320732,
-0.03179072216153145,
0.04520570859313011,
0.06756401807069778,
-0.04349390044808388,
0.007266451139003038,
0.047371670603752136,
-0.029991578310728073,
0.0187949538230896,
0.05117956921458244,
0.020768774673342705,
0.060018088668584824,
0.056594472378492355,
0.0018318967195227742,
-0.04115326702594757,
0.03951132670044899,
-0.051983073353767395,
0.0014192287344485521,
-0.02635835111141205,
-0.048594389110803604,
-0.05103982985019684,
0.005467305425554514,
0.06585220992565155,
-0.005903991404920816,
0.039266783744096756,
-0.007694403175264597,
-0.005004418548196554,
0.020297152921557426,
-0.009563418105244637,
0.01417481992393732,
-0.033747073262929916,
0.01731022261083126,
0.011484835296869278,
0.11542477458715439,
-0.035493817180395126,
0.0853109285235405,
0.005083022173494101,
-0.002055698074400425,
-0.02138013392686844,
-0.0029105106368660927,
0.018463073298335075,
0.008899655193090439,
-0.025205502286553383,
-0.024541739374399185,
-0.010401854291558266,
-0.038987305015325546,
-0.0005248417146503925,
0.03933665156364441,
0.029397685080766678,
0.022498050704598427,
-0.0037030952516943216,
-0.04974723979830742,
0.11940734833478928,
0.02901340089738369,
-0.016733797267079353,
-0.011249025352299213,
0.03308331221342087,
0.03093481808900833,
-0.010838540270924568,
0.0004841753398068249,
0.02827977016568184,
-0.03912704437971115,
0.02127533033490181,
-0.03020118735730648,
-0.050620611757040024,
-0.06246352940797806,
0.00670312624424696,
-0.03570342808961868,
-0.021310264244675636,
-0.020227283239364624,
-0.012829827144742012,
-0.008716247975826263,
-0.0353890135884285,
-0.02228844165802002,
-0.016349514946341515,
-0.02274259366095066,
0.01979059912264347,
-0.046183884143829346,
-0.024279728531837463,
0.08111874759197235,
-0.09243763983249664,
-0.0419917032122612,
0.027423866093158722,
0.011668243445456028,
0.022410713136196136,
-0.014218487776815891,
-0.04754634574055672,
0.010384387336671352,
0.028157496824860573,
0.07483047246932983,
0.017886647954583168,
0.08426288515329361,
-0.09285686165094376,
0.035301677882671356,
-0.019755663350224495,
0.012908430770039558,
0.06085652485489845,
-0.013851672410964966,
-0.05802680179476738,
0.0377296507358551,
-0.03418375924229622,
0.027738278731703758,
-0.0015371338231489062,
0.0076157995499670506,
0.002149585634469986,
-0.0882454589009285,
0.04391311854124069,
-0.027126919478178024,
0.05495253577828407,
0.0434589646756649,
0.031092025339603424,
0.030690275132656097,
-0.007205314934253693,
0.062393661588430405,
-0.01944124884903431,
0.02052422985434532,
-0.05215774476528168,
0.033100780099630356,
-0.05956393480300903,
0.046358559280633926,
0.0322972796857357,
-0.03867289051413536,
0.004707472398877144,
0.01322284433990717,
0.007327586878091097,
-0.03460297733545303,
-0.007008806336671114,
0.011991390958428383,
0.03738030046224594,
-0.023895444348454475,
0.04244585335254669,
0.11961696296930313,
0.028664052486419678,
-0.003091735066846013,
0.01607877016067505,
0.021484939381480217,
-0.013729400001466274,
0.013519790954887867,
-0.05303111672401428,
0.017318956553936005,
0.024454401805996895,
-0.0823763981461525,
-0.004093928728252649,
-0.04723193123936653,
0.048594389110803604,
-0.0839834064245224,
-0.021519873291254044,
0.0007751171942800283,
-0.04429740086197853,
0.021048253402113914,
-0.03996548056602478,
0.029118206351995468,
-0.00966822262853384,
0.006048097740858793,
0.016235975548624992,
0.016995809972286224,
0.019965272396802902,
0.05662940815091133,
0.015449942089617252,
0.0027511201333254576,
0.007484793663024902,
-0.049607500433921814,
0.04660310223698616,
0.07259464263916016,
-0.027860550209879875,
0.05030619725584984,
0.04754634574055672,
-0.025834329426288605,
-0.027284124866127968,
0.007838509045541286,
0.050900090485811234,
0.0009350533946417272,
0.025851797312498093,
-0.04307468235492706,
0.0022794995456933975,
0.03598290681838989,
-0.02504829503595829,
0.040210023522377014,
-0.032821301370859146,
0.028995933011174202,
-0.03474271669983864,
0.03895236924290657,
-0.049223218113183975,
0.016070036217570305,
0.0006790463230572641,
-0.0026899841614067554,
0.02043689228594303,
-0.004825377371162176,
-0.05617525428533554,
0.01750236563384533,
-0.034760184586048126,
0.010672600008547306,
-0.05376474931836128,
0.02522296831011772,
0.0075197285041213036,
0.010209713131189346,
0.060646917670965195,
0.04716205969452858,
0.05827134847640991,
0.037624843418598175,
0.023528628051280975,
-0.03367720544338226,
-0.026550494134426117,
0.0005818837671540678,
-0.04255066066980362,
-0.05240229144692421,
-0.06609675288200378,
0.0050000520423054695,
-0.01400014478713274,
-0.030899884179234505,
0.013362583704292774,
-0.0025262271519750357,
0.03598290681838989,
-0.019912870600819588,
0.05764251947402954,
0.031633514910936356,
-0.04827997833490372,
0.03451564162969589,
0.019109368324279785,
0.013869139365851879,
-0.014262156561017036,
-0.01814866065979004,
0.0001498377969255671,
-0.0009694423642940819,
-0.06927582621574402,
-0.000794768042396754,
0.04475155472755432,
0.008035018108785152,
-0.035301677882671356,
-0.010061239823698997,
-0.04677777737379074,
0.02798282355070114,
0.0036135746631771326,
-0.005921458825469017,
-0.05753771588206291,
-0.02808762714266777,
0.0578521266579628,
0.02524043619632721,
0.028209900483489037,
0.05718836560845375,
-0.02450680360198021,
0.07559903711080551,
-0.03601784259080887,
-0.013484856113791466,
-0.029083270579576492,
-0.06585220992565155,
-0.03561608865857124,
0.002005479298532009,
0.06131067872047424,
0.012751223519444466,
0.021030785515904427,
0.048594389110803604,
-0.007908378727734089,
-0.006200937554240227,
-0.06131067872047424,
-0.039196912199258804,
-0.00957215204834938,
-0.06256833672523499,
-0.013825470581650734,
0.032559290528297424,
0.029712097719311714,
-0.02588673122227192,
0.04908347874879837,
-0.038637954741716385,
-0.0325942263007164,
0.04670790955424309,
-0.03306584432721138,
-0.036786407232284546,
-0.040943656116724014,
-0.03598290681838989,
-0.04527558013796806,
-0.007633266970515251,
0.059983156621456146,
0.004738040268421173,
-0.03692614659667015,
0.05470799282193184,
-0.010288316756486893,
-0.04705725610256195,
-0.024454401805996895,
-0.039196912199258804,
-0.004185632802546024,
0.05617525428533554,
0.05393942445516586,
-0.022882333025336266,
-0.0353890135884285,
0.026218611747026443,
0.023231681436300278,
0.02974703349173069,
-0.0061660027131438255,
-0.015703219920396805,
-0.01155470497906208,
-0.007458592765033245,
-0.010192245244979858,
0.029223009943962097,
-0.010017571039497852,
-0.01109181810170412,
0.06302248686552048,
0.0007281734724529088,
-0.024349598214030266,
-0.011414965614676476,
-0.006729327607899904,
0.00036818068474531174,
-0.02237577736377716,
0.07140685617923737,
-0.029991578310728073,
0.040838852524757385,
-0.057328104972839355,
0.011947722174227238,
-0.055860839784145355,
0.00434283958747983,
-0.009528483264148235,
0.002965096151456237,
0.0012783975107595325,
-0.04908347874879837,
0.05324072763323784,
-0.021991495043039322,
0.01972072944045067,
-0.0405244380235672,
0.026393286883831024,
0.034026551991701126,
-0.020681437104940414,
0.027843084186315536,
-0.0001058962952811271,
-0.024646542966365814,
0.016611525788903236,
-0.0644548162817955,
0.011310161091387272,
-0.08209691941738129,
-0.024349598214030266,
-0.09711891412734985,
-0.035878099501132965,
0.020052609965205193,
0.04999178647994995,
-0.006113600451499224,
0.001589536084793508,
0.0007734796381555498,
-0.0037838821299374104,
-0.03193046152591705,
-0.06476923078298569,
0.007419290952384472,
-0.007021906785666943,
-0.0202622190117836,
-0.049782175570726395,
-0.0049913180992007256,
0.011231557466089725,
0.005270796827971935,
0.006694392766803503,
-0.023965314030647278,
0.007375622168183327,
-0.023895444348454475,
0.05131930857896805,
-0.028436975553631783,
0.0101311095058918,
-0.01821853034198284,
-0.027581071481108665,
-0.03821873664855957,
0.012375674210488796,
-0.039476390928030014,
-0.030148783698678017,
0.03912704437971115,
0.008908389136195183,
-0.011912787333130836,
0.026043938472867012,
-0.028856193646788597,
-0.00476860860362649,
0.03460297733545303,
0.015152995474636555,
0.05764251947402954,
-0.016463052481412888,
-0.04031482711434364,
0.023371420800685883,
-0.024052651599049568,
0.04059430584311485,
-0.0015709770377725363,
-0.04090872034430504,
0.04087378457188606,
0.019563522189855576,
-0.004711839370429516,
-0.00036845359136350453,
-0.024262260645627975,
0.07720603793859482,
0.010489191859960556,
0.046917516738176346,
-0.03250688686966896,
0.12576550245285034,
0.04628869146108627,
0.02366836741566658,
0.011842917650938034,
-0.03741523623466492,
-0.04045456647872925,
-0.061380550265312195,
0.02920554392039776,
-0.03161604702472687,
0.01599143259227276,
0.037624843418598175,
-0.058795370161533356,
0.029537424445152283,
-0.00815728958696127,
-0.02614874206483364,
0.025851797312498093,
-0.02448933757841587,
-0.047930628061294556,
0.05813160911202431,
0.04104845970869064,
0.00670312624424696,
0.04031482711434364,
-0.03643706068396568,
-0.031249232590198517,
0.049677371978759766,
0.03313571587204933,
-0.02377317287027836,
-0.0020764407236129045,
0.0303933285176754,
0.014803647063672543,
-0.005288264248520136,
-0.007375622168183327,
0.015458676032721996,
-0.039266783744096756,
-0.026009002700448036,
-0.036052774637937546,
0.025345241650938988,
0.011720645241439342,
-0.02153734117746353,
-0.04660310223698616,
-0.0035458882339298725,
-0.016655193641781807,
0.013572192750871181,
-0.0318605937063694,
-0.03381694480776787,
0.019406314939260483,
-0.016506722196936607,
0.00948481447994709,
-0.01683860272169113,
-0.00831012986600399,
0.07245489954948425,
0.022952202707529068,
-0.06414040178060532,
-0.012497946619987488,
0.005323199089616537,
-0.0469873882830143,
0.032838769257068634,
-0.042690400034189224,
-0.03930171579122543,
0.009467347525060177,
0.024995893239974976,
-0.02403518371284008,
-0.0463934950530529,
-0.0303933285176754,
-0.019825533032417297,
0.027650941163301468,
-0.018760019913315773,
-0.042969878762960434,
-0.03201780095696449,
0.0016124621033668518,
0.0362623855471611,
-0.01924910768866539,
0.009152933023869991,
-0.04873412847518921,
-0.039022237062454224,
0.06766882538795471,
0.0028362739831209183,
0.08083926886320114,
-0.008729347959160805,
-0.016454318538308144,
0.0307601448148489,
-0.06721466779708862,
-0.003973840270191431,
0.036611732095479965,
0.025694590061903,
0.050131525844335556,
0.004934548866003752,
0.03252435475587845,
-0.008628910407423973,
-0.005821021273732185,
0.027284124866127968,
0.046917516738176346,
0.010454257018864155,
-0.02356356382369995,
0.05645473301410675,
-0.049397893249988556,
0.00957215204834938,
-0.008013183251023293,
0.0028078893665224314,
-0.03727549687027931,
-0.09090050309896469,
-0.024978425353765488,
-0.026760103181004524,
0.009554684162139893,
0.005742417648434639,
-0.01206999458372593,
-0.03727549687027931,
-0.017388826236128807,
-0.003144137328490615,
0.0069345696829259396,
-0.04115326702594757,
-0.029135674238204956,
-0.026655297726392746,
-0.004327555652707815,
-0.0018111541867256165,
0.03351999819278717,
-0.00465070316568017,
0.008812318556010723,
-0.013187909498810768,
-0.005253329407423735,
0.04538038372993469,
0.04531051218509674,
0.010122375562787056,
-0.03828860819339752,
0.012908430770039558,
-0.037065885961055756,
-0.007362521719187498,
-0.013877873308956623,
0.05117956921458244,
0.011476101353764534,
-0.02054169774055481,
0.015677018091082573,
-0.022166168317198753,
-0.023231681436300278,
-0.005611411761492491,
0.07727590948343277,
-0.061380550265312195,
-0.013214110396802425,
-0.06581727415323257,
-0.09313634037971497,
0.01022718008607626,
0.009938967414200306,
0.06382598727941513,
0.0073494212701916695,
0.007895278744399548,
0.014698842540383339,
0.018672682344913483,
0.010899676010012627,
-0.05243722349405289,
-0.009720624424517155,
-0.008580874651670456,
-0.03500473126769066,
-0.025921666994690895,
0.0006812297506257892,
0.02744133211672306,
0.05855082720518112,
-0.03325798735022545,
0.06015782803297043,
-0.03727549687027931,
0.04869919642806053,
0.05470799282193184,
0.04394805431365967,
-0.0054847728461027145,
0.02043689228594303,
-0.00794331356883049,
0.003528420813381672,
-0.011537238024175167,
-0.0034825687762349844,
-0.007471693214029074,
0.013528524897992611,
0.009869097732007504,
0.0021048253402113914,
0.040838852524757385,
-0.008698780089616776,
0.002569895703345537,
-0.00994770135730505,
-0.0725247710943222,
-0.04597427695989609,
-0.08014056831598282,
-0.04768608510494232,
-0.00014287812518887222,
0.05083022266626358,
0.00865511130541563,
-0.019284043461084366,
0.004268603399395943,
-0.030830014497041702,
-0.02662036381661892,
0.008515371941030025,
-0.047301799058914185,
-0.0016332047525793314,
-0.06333690136671066,
0.013091838918626308,
0.04436727240681648,
-0.04220131039619446,
-0.07420164346694946,
0.0615202896296978,
-0.010297049768269062,
-0.01054159365594387,
0.015118060633540154,
0.000028623386242543347,
-0.04181702807545662,
-0.008576508611440659,
-0.03161604702472687,
-0.0292928796261549,
0.007842876017093658,
-0.008768649771809578,
0.02155480906367302,
0.012270869687199593,
0.030690275132656097,
-0.010253380984067917,
-0.07098763436079025,
0.06766882538795471,
-0.05509227514266968,
-0.029781967401504517,
-0.024454401805996895,
0.01785171404480934,
0.03102215565741062,
0.00443017715588212,
-0.04401792213320732,
0.07671695202589035,
0.03713575750589371,
-0.019476184621453285,
-0.02614874206483364,
-0.011877852492034435,
0.014017612673342228,
0.009755559265613556,
-0.07888291776180267,
-0.0037904323544353247,
0.011668243445456028,
-0.008969524875283241,
-0.015956496819853783,
0.06085652485489845,
0.07741565257310867,
-0.0030480665154755116,
-0.02588673122227192,
-0.026009002700448036,
-0.01160710770636797,
-0.003919254522770643,
-0.007476060185581446,
-0.060018088668584824,
0.013388785533607006,
-0.0030262323562055826,
-0.0034236162900924683,
0.029537424445152283,
0.02504829503595829,
0.04181702807545662,
-0.012541614472866058,
0.024646542966365814,
0.006126700900495052,
0.026690233498811722,
0.02211376652121544,
-0.010139843448996544,
0.07025400549173355,
0.02036702260375023,
-0.0021430354099720716,
0.040105219930410385,
0.019179238006472588,
0.025118164718151093,
0.03184312582015991,
0.031458839774131775,
0.009458613581955433,
-0.011021948419511318,
0.007423657923936844,
0.01569448597729206,
0.039476390928030014,
0.01026211492717266,
0.00336029683239758,
0.03381694480776787,
0.011842917650938034,
0.01303070317953825,
-0.00045333438902162015,
-0.017860447987914085,
0.05442851036787033,
0.056489668786525726,
0.008331963792443275,
-0.020401958376169205,
-0.008096153847873211,
0.013100572861731052,
-0.006860333029180765,
0.030358392745256424,
0.040279895067214966,
0.02237577736377716,
0.05324072763323784,
-0.040943656116724014,
0.038358476012945175,
0.010532860644161701,
-0.01090840995311737,
0.03580823168158531,
0.003410515608265996,
0.027581071481108665,
-0.072245292365551,
-0.1143767312169075,
0.005537175107747316,
0.011991390958428383,
0.05215774476528168,
-0.03675147145986557,
-0.0347951203584671,
-0.072245292365551,
0.016742531210184097,
0.025746991857886314,
0.03205273300409317,
0.025030827149748802,
-0.03207020089030266,
-0.015406273305416107,
0.009877831675112247,
0.017528565600514412,
0.04789569228887558,
0.03423616290092468,
-0.017729440703988075,
-0.00690400181338191,
0.036891210824251175,
-0.01427089050412178,
-0.0030371493194252253,
-0.034952327609062195,
0.002000020816922188,
-0.017467429861426353,
0.03580823168158531,
-0.013825470581650734,
0.023423824459314346,
0.024000249803066254,
-0.020489295944571495,
0.011799248866736889,
0.004476028960198164,
0.010061239823698997,
0.022061364725232124,
0.015484876930713654,
-0.009816695936024189,
-0.059004977345466614,
0.008580874651670456,
-0.031074557453393936,
0.046358559280633926,
-0.01635824888944626,
-0.060751721262931824,
0.02377317287027836,
-0.0187949538230896,
0.008436768315732479,
-0.027214255183935165,
0.0350920669734478,
-0.016008900478482246,
-0.000478443835163489,
0.006637623533606529,
0.012445543892681599,
0.004869046155363321,
0.030969753861427307,
-0.03800912946462631,
0.030463198199868202,
0.008995726704597473,
0.0869179293513298,
-0.08719740808010101,
-0.10550327599048615,
0.0074367583729326725,
0.01704821176826954,
-0.03940652310848236,
-0.010480457916855812,
-0.06735441088676453,
-0.014995789155364037,
0.05365994572639465,
-0.002469457918778062,
-0.040838852524757385,
0.007685669232159853,
0.030236121267080307,
-0.017039477825164795
] |
710,080
|
urllib3_future.response
|
HTTPResponse
|
HTTP Response container.
Backwards-compatible with :class:`http.client.HTTPResponse` but the response ``body`` is
loaded and decoded on-demand when the ``data`` property is accessed. This
class is also compatible with the Python standard library's :mod:`io`
module, and can hence be treated as a readable object in the context of that
framework.
Extra parameters for behaviour not present in :class:`http.client.HTTPResponse`:
:param preload_content:
If True, the response's body will be preloaded during construction.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param original_response:
When this HTTPResponse wrapper is generated from an :class:`http.client.HTTPResponse`
object, it's convenient to include the original for debug purposes. It's
otherwise unused.
:param retries:
The retries contains the last :class:`~urllib3.util.retry.Retry` that
was used during the request.
:param enforce_content_length:
Enforce content length checking. Body returned by server must match
value of Content-Length header, if present. Otherwise, raise error.
|
class HTTPResponse(io.IOBase):
"""
HTTP Response container.
Backwards-compatible with :class:`http.client.HTTPResponse` but the response ``body`` is
loaded and decoded on-demand when the ``data`` property is accessed. This
class is also compatible with the Python standard library's :mod:`io`
module, and can hence be treated as a readable object in the context of that
framework.
Extra parameters for behaviour not present in :class:`http.client.HTTPResponse`:
:param preload_content:
If True, the response's body will be preloaded during construction.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param original_response:
When this HTTPResponse wrapper is generated from an :class:`http.client.HTTPResponse`
object, it's convenient to include the original for debug purposes. It's
otherwise unused.
:param retries:
The retries contains the last :class:`~urllib3.util.retry.Retry` that
was used during the request.
:param enforce_content_length:
Enforce content length checking. Body returned by server must match
value of Content-Length header, if present. Otherwise, raise error.
"""
CONTENT_DECODERS = ["gzip", "deflate"]
if brotli is not None:
CONTENT_DECODERS += ["br"]
if zstd is not None:
CONTENT_DECODERS += ["zstd"]
REDIRECT_STATUSES = [301, 302, 303, 307, 308]
DECODER_ERROR_CLASSES: tuple[type[Exception], ...] = (IOError, zlib.error)
if brotli is not None:
DECODER_ERROR_CLASSES += (brotli.error,)
if zstd is not None:
DECODER_ERROR_CLASSES += (zstd.ZstdError,)
def __init__(
self,
body: _TYPE_BODY = "",
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
status: int = 0,
version: int = 0,
reason: str | None = None,
preload_content: bool = True,
decode_content: bool = True,
original_response: LowLevelResponse | None = None,
pool: HTTPConnectionPool | None = None,
connection: HTTPConnection | None = None,
msg: Message | None = None,
retries: Retry | None = None,
enforce_content_length: bool = True,
request_method: str | None = None,
request_url: str | None = None,
auto_close: bool = True,
police_officer: TrafficPolice[HTTPConnection] | None = None,
) -> None:
if isinstance(headers, HTTPHeaderDict):
self.headers = headers
else:
self.headers = HTTPHeaderDict(headers) # type: ignore[arg-type]
try:
self.status = int(status)
except ValueError:
self.status = 0 # merely for tests, was supported due to broken httplib.
self.version = version
self.reason = reason
self.decode_content = decode_content
self._has_decoded_content = False
self._request_url: str | None = request_url
self._retries: Retry | None = None
self.retries = retries
self.chunked = False
if "transfer-encoding" in self.headers:
tr_enc = self.headers.get("transfer-encoding", "").lower()
# Don't incur the penalty of creating a list and then discarding it
encodings = (enc.strip() for enc in tr_enc.split(","))
if "chunked" in encodings:
self.chunked = True
self._decoder: ContentDecoder | None = None
self.enforce_content_length = enforce_content_length
self.auto_close = auto_close
self._body = None
self._fp: LowLevelResponse | typing.IO[typing.Any] | None = None
self._original_response = original_response
self._fp_bytes_read = 0
if msg is not None:
warnings.warn(
"Passing msg=.. is deprecated and no-op in urllib3.future and is scheduled to be removed in a future major.",
DeprecationWarning,
stacklevel=2,
)
self.msg = msg
if body and isinstance(body, (str, bytes)):
self._body = body
self._pool = pool
self._connection = connection
if hasattr(body, "read"):
self._fp = body # type: ignore[assignment]
# Are we using the chunked-style of transfer encoding?
self.chunk_left: int | None = None
# Determine length of response
self.length_remaining: int | None = self._init_length(request_method)
# Used to return the correct amount of bytes for partial read()s
self._decoded_buffer = BytesQueueBuffer()
self._police_officer: TrafficPolice[HTTPConnection] | None = police_officer
if self._police_officer is not None:
self._police_officer.memorize(self, self._connection)
# If requested, preload the body.
if preload_content and not self._body:
self._body = self.read(decode_content=decode_content)
def is_from_promise(self, promise: ResponsePromise) -> bool:
"""
Determine if this response came from given promise.
"""
return (
self._fp is not None
and hasattr(self._fp, "from_promise")
and self._fp.from_promise == promise
)
def get_redirect_location(self) -> str | None | Literal[False]:
"""
Should we redirect and where to?
:returns: Truthy redirect location string if we got a redirect status
code and valid location. ``None`` if redirect status and no
location. ``False`` if not a redirect status code.
"""
if self.status in self.REDIRECT_STATUSES:
return self.headers.get("location")
return False
def json(self) -> typing.Any:
"""
Parses the body of the HTTP response as JSON.
To use a custom JSON decoder pass the result of :attr:`HTTPResponse.data` to the decoder.
This method can raise either `UnicodeDecodeError` or `json.JSONDecodeError`.
Read more :ref:`here <json>`.
"""
data = self.data.decode("utf-8")
return _json.loads(data)
@property
def retries(self) -> Retry | None:
return self._retries
@retries.setter
def retries(self, retries: Retry | None) -> None:
# Override the request_url if retries has a redirect location.
if retries is not None and retries.history:
self.url = retries.history[-1].redirect_location
self._retries = retries
def _init_decoder(self) -> None:
"""
Set-up the _decoder attribute if necessary.
"""
# Note: content-encoding value should be case-insensitive, per RFC 7230
# Section 3.2
if "content-encoding" not in self.headers:
return
content_encoding = self.headers.get("content-encoding", "").lower()
if self._decoder is None:
if content_encoding in self.CONTENT_DECODERS:
self._decoder = _get_decoder(content_encoding)
elif "," in content_encoding:
encodings = [
e.strip()
for e in content_encoding.split(",")
if e.strip() in self.CONTENT_DECODERS
]
if encodings:
self._decoder = _get_decoder(content_encoding)
def _decode(
self, data: bytes, decode_content: bool | None, flush_decoder: bool
) -> bytes:
"""
Decode the data passed in and potentially flush the decoder.
"""
if not decode_content:
if self._has_decoded_content:
raise RuntimeError(
"Calling read(decode_content=False) is not supported after "
"read(decode_content=True) was called."
)
return data
try:
if self._decoder:
data = self._decoder.decompress(data)
self._has_decoded_content = True
except self.DECODER_ERROR_CLASSES as e:
c
|
(body: '_TYPE_BODY' = '', headers: 'typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None' = None, status: 'int' = 0, version: 'int' = 0, reason: 'str | None' = None, preload_content: 'bool' = True, decode_content: 'bool' = True, original_response: 'LowLevelResponse | None' = None, pool: 'HTTPConnectionPool | None' = None, connection: 'HTTPConnection | None' = None, msg: 'Message | None' = None, retries: 'Retry | None' = None, enforce_content_length: 'bool' = True, request_method: 'str | None' = None, request_url: 'str | None' = None, auto_close: 'bool' = True, police_officer: 'TrafficPolice[HTTPConnection] | None' = None) -> 'None'
|
[
-0.01669500768184662,
-0.03279449790716171,
-0.10522167384624481,
0.023656394332647324,
-0.012567459605634212,
0.04152190312743187,
-0.03714793175458908,
0.03749702870845795,
-0.00895842257887125,
-0.05992132052779198,
0.101771779358387,
0.08053852617740631,
0.03051510639488697,
0.02718842588365078,
0.010975992307066917,
0.034416768699884415,
0.015945477411150932,
0.021582353860139847,
0.015555311925709248,
-0.050475191324949265,
-0.0026618577539920807,
0.016417784616351128,
0.010401010513305664,
0.042261164635419846,
-0.022629640996456146,
-0.001181407948024571,
-0.04328791797161102,
-0.021931448951363564,
-0.0014361711218953133,
0.020781485363841057,
-0.0076544457115232944,
-0.022588571533560753,
-0.006514749489724636,
0.02597685717046261,
0.0037322482094168663,
0.013327257707715034,
-0.02269124612212181,
-0.015144610777497292,
-0.0567999891936779,
0.009004626423120499,
-0.08115457743406296,
0.009076498448848724,
-0.02946781925857067,
-0.044889651238918304,
0.003924764227122068,
0.0024346886202692986,
-0.06554792821407318,
0.040269263088703156,
0.002054790034890175,
-0.015329426154494286,
0.006684163585305214,
0.0024385389406234026,
0.00822942703962326,
-0.03540245071053505,
0.043164707720279694,
0.0544179230928421,
-0.02996066026389599,
0.044889651238918304,
-0.03513549640774727,
-0.005426391027867794,
-0.03782559186220169,
0.015401299111545086,
-0.011499636806547642,
-0.02628488279879093,
-0.03872913122177124,
0.025833111256361008,
0.012403178960084915,
-0.023245694115757942,
-0.01567852310836315,
-0.04076210409402847,
0.01292682345956564,
0.040515683591365814,
-0.03205523639917374,
0.01220809668302536,
0.04189153388142586,
-0.01371742319315672,
-0.009733621031045914,
-0.02111004665493965,
-0.015216483734548092,
0.013368327170610428,
0.04780563339591026,
-0.017886042594909668,
0.04587533697485924,
-0.0627140924334526,
0.04599854722619057,
-0.08263310045003891,
0.048750244081020355,
-0.0073258844204247,
-0.029118722304701805,
0.029899055138230324,
-0.037353284657001495,
0.016130292788147926,
-0.013768761418759823,
-0.012372376397252083,
-0.002166449325159192,
-0.008907084353268147,
-0.014559361152350903,
-0.005262110382318497,
0.0011294286232441664,
-0.00829616654664278,
-0.021828774362802505,
0.07979926466941833,
-0.08485089242458344,
0.002826138399541378,
0.020370785146951675,
-0.006458277814090252,
0.006365870125591755,
-0.006078379228711128,
0.01685928925871849,
-0.052076924592256546,
0.01711597666144371,
-0.04061836004257202,
-0.008450179360806942,
0.02390281669795513,
-0.006781705189496279,
0.02708575129508972,
-0.022526966407895088,
-0.024888498708605766,
-0.019467242062091827,
0.010647431015968323,
-0.010914387181401253,
-0.008162688463926315,
-0.008486115373671055,
0.009707951918244362,
0.01660259999334812,
0.011704986914992332,
-0.020884161815047264,
-0.019795803353190422,
0.03527924045920372,
-0.018481558188796043,
0.0054931300692260265,
0.03476586565375328,
0.002720896154642105,
0.0583195835351944,
-0.00022107281256467104,
0.05638929083943367,
-0.08279738575220108,
0.052076924592256546,
-0.06415154039859772,
0.041727252304553986,
0.009322919882833958,
0.019990885630249977,
-0.0034165214747190475,
-0.0116741843521595,
-0.026962541043758392,
-0.03265075385570526,
0.03749702870845795,
-0.06497294455766678,
-0.028872301802039146,
-0.0022100864443928003,
0.022239476442337036,
-0.03846217691898346,
-0.004214822314679623,
0.055526815354824066,
0.014179462566971779,
-0.017424002289772034,
-0.04439681023359299,
0.010780909098684788,
-0.019610987976193428,
0.012896020896732807,
-0.010277800261974335,
-0.05474648252129555,
0.03408820927143097,
-0.03445784002542496,
0.016222702339291573,
-0.03519710153341293,
0.03751756250858307,
-0.04497179388999939,
0.018224870786070824,
0.05039304867386818,
-0.021418072283267975,
0.052980467677116394,
-0.040515683591365814,
-0.032445404678583145,
0.00014198072312865406,
0.05688213184475899,
0.04361647740006447,
0.009122702293097973,
-0.08156527578830719,
-0.03610064461827278,
0.022793922573328018,
-0.04735385999083519,
-0.043164707720279694,
-0.00477440282702446,
-0.005118364933878183,
0.04706636816263199,
0.00036417655064724386,
0.0023422809317708015,
0.053925082087516785,
0.016366446390748024,
-0.049571648240089417,
-0.011119738221168518,
0.05864814668893814,
-0.037866659462451935,
0.02147967740893364,
-0.028194645419716835,
-0.0011358457850292325,
-0.027250031009316444,
0.13134227693080902,
-0.023800140246748924,
-0.07626723498106003,
0.0325891487300396,
0.05388401076197624,
-0.0001783983752829954,
-0.08156527578830719,
0.03117222897708416,
-0.022711781784892082,
-0.005539333913475275,
-0.020997103303670883,
0.024477798491716385,
-0.080045685172081,
0.021828774362802505,
-0.020370785146951675,
-0.014097322709858418,
0.019610987976193428,
-0.023656394332647324,
-0.008855747058987617,
-0.03690151125192642,
0.03729167953133583,
-0.0104112783446908,
0.0699424296617508,
-0.004096745513379574,
-0.06879246979951859,
0.0023679498117417097,
0.005064460448920727,
0.0047230650670826435,
-0.012824147939682007,
0.006288863718509674,
0.008332102559506893,
0.016007082536816597,
-0.005631741601973772,
0.04129601642489433,
0.046902090311050415,
0.013152709230780602,
0.04780563339591026,
0.009656614623963833,
-0.009025161154568195,
0.022218940779566765,
-0.03511496260762215,
0.00923051219433546,
-0.010791176930069923,
-0.02213679999113083,
0.0006077095749787986,
0.029508888721466064,
-0.0612766332924366,
0.01699276641011238,
0.007490165065973997,
0.04230223596096039,
-0.01034453883767128,
-0.014158927835524082,
-0.007058928720653057,
-0.037065792828798294,
-0.02614113874733448,
-0.056060727685689926,
0.03679883852601051,
-0.012290236540138721,
0.03174721077084541,
-0.09199709445238113,
0.015493706800043583,
0.02015516720712185,
0.020596669986844063,
-0.004651192110031843,
-0.025175990536808968,
0.030597247183322906,
-0.04686101898550987,
-0.011037597432732582,
0.006576354615390301,
-0.035238172858953476,
-0.03127490356564522,
0.017023568972945213,
0.08550801128149033,
-0.0026721253525465727,
-0.007120533846318722,
-0.0044971792958676815,
-0.022793922573328018,
0.015986548736691475,
0.046614598482847214,
-0.00173264613840729,
-0.014692839235067368,
-0.00003533474955474958,
-0.0012340290704742074,
-0.004004337824881077,
0.026900935918092728,
-0.04174778610467911,
0.048627033829689026,
0.002507844939827919,
-0.040803175419569016,
0.06694431602954865,
0.017711494117975235,
-0.022876063361763954,
0.021849310025572777,
-0.02015516720712185,
0.03571048006415367,
-0.005395588465034962,
0.00348326051607728,
-0.010791176930069923,
-0.06571220606565475,
-0.003244540188461542,
0.01512407511472702,
-0.05770353227853775,
-0.031500790268182755,
-0.011058132164180279,
0.09265421330928802,
-0.0032060369849205017,
-0.01710570976138115,
-0.04961271584033966,
-0.006673896219581366,
-0.03751756250858307,
-0.025258129462599754,
-0.00018898677080869675,
0.036552414298057556,
0.023697465658187866,
-0.004463810008019209,
-0.055650025606155396,
-0.018892260268330574,
0.01307056937366724,
0.05474648252129555,
0.056060727685689926,
0.04217902570962906,
0.03443730250000954,
-0.014662036672234535,
-0.010277800261974335,
0.00458188634365797,
0.020114095881581306,
0.03942732512950897,
-0.0073361522518098354,
0.06538365036249161,
0.01412812527269125,
0.0009484633337706327,
0.01551424153149128,
-0.03285610303282738,
-0.006725233979523182,
-0.07951176911592484,
-0.0371684692800045,
0.008383440785109997,
-0.031007949262857437,
-0.011160807684063911,
-0.04242544621229172,
0.04217902570962906,
-0.06443903595209122,
0.003976101987063885,
-0.04287721589207649,
0.022978737950325012,
0.03948893025517464,
-0.012321039102971554,
-0.02772233821451664,
0.029488353058695793,
0.01778336614370346,
0.032712358981370926,
-0.012567459605634212,
-0.03314359486103058,
-0.05063946917653084,
0.03872913122177124,
0.04043354466557503,
-0.009168907068669796,
-0.04673780873417854,
-0.004474077373743057,
-0.039468396455049515,
-0.020103828981518745,
0.01766015589237213,
0.012444249354302883,
0.016089223325252533,
-0.04072103276848793,
0.035772085189819336,
-0.037989869713783264,
-0.022752853110432625,
0.03474533185362816,
-0.0007816159049980342,
0.012567459605634212,
0.029673168435692787,
-0.020052490755915642,
-0.04784670099616051,
-0.021520748734474182,
-0.015627184882760048,
0.002844106638804078,
-0.014949527569115162,
-0.023019807413220406,
-0.004895046353340149,
-0.023348368704319,
0.04016658663749695,
0.03819522261619568,
0.00028861392638646066,
-0.06513722985982895,
-0.03289717435836792,
0.024067096412181854,
-0.025525085628032684,
0.015842802822589874,
0.003044323530048132,
0.004648625385016203,
0.020781485363841057,
0.05183050408959389,
-0.004966918844729662,
0.03480693697929382,
-0.0028749092016369104,
-0.020884161815047264,
-0.023040343075990677,
-0.042918287217617035,
0.056183937937021255,
0.0202989112585783,
-0.024765288457274437,
0.02016543410718441,
0.029796378687024117,
0.04022819176316261,
0.07232449948787689,
-0.01155097410082817,
0.0363059937953949,
0.11088935285806656,
0.008403975516557693,
0.01253665704280138,
0.024744752794504166,
-0.00842451024800539,
-0.02174663357436657,
-0.020802021026611328,
-0.03540245071053505,
-0.009533404372632504,
0.026305418461561203,
-0.019272157922387123,
-0.004592154175043106,
0.032157912850379944,
-0.02585364691913128,
0.022321615368127823,
0.03141865134239197,
0.02798929437994957,
0.013152709230780602,
-0.017803901806473732,
0.00009288908040616661,
-0.028708020225167274,
0.016109758988022804,
-0.06361763179302216,
0.004304662812501192,
0.07844395190477371,
-0.028358925133943558,
-0.03552566096186638,
-0.029406214132905006,
0.03476586565375328,
0.03398553282022476,
-0.06139984354376793,
0.043575409799814224,
0.011735789477825165,
-0.013091104105114937,
0.03221951797604561,
0.02495010383427143,
0.00389652862213552,
0.014662036672234535,
0.09035428613424301,
0.019405636936426163,
-0.019282426685094833,
0.023533184081315994,
-0.03620332106947899,
-0.02373853512108326,
0.007490165065973997,
0.004966918844729662,
-0.0003449249197728932,
-0.000020113935534027405,
-0.12099260091781616,
0.020206503570079803,
0.06246766820549965,
0.02655183896422386,
-0.0713798850774765,
-0.019672593101859093,
0.03595690056681633,
-0.00713080121204257,
0.07897786051034927,
-0.028584809973835945,
-0.03790773078799248,
0.047559209167957306,
0.010791176930069923,
0.009666881524026394,
-0.045177143067121506,
0.0062631950713694096,
-0.042795076966285706,
0.017177581787109375,
-0.005120931658893824,
-0.009394791908562183,
0.0037373818922787905,
0.004566485062241554,
0.02373853512108326,
-0.0030648584943264723,
-0.013132174499332905,
-0.025792041793465614,
0.013450467959046364,
-0.037353284657001495,
0.052857257425785065,
-0.03273289278149605,
-0.0070897312834858894,
-0.08756151795387268,
0.00044695852557197213,
0.02388228103518486,
0.03593636304140091,
0.012433981522917747,
0.003259941702708602,
0.07663686573505402,
-0.0328766405582428,
0.024785824120044708,
-0.01965205743908882,
0.02996066026389599,
-0.046778880059719086,
-0.027804479002952576,
0.01551424153149128,
-0.09684336930513382,
0.008732536807656288,
-0.06862818449735641,
0.049160946160554886,
0.006874112877994776,
0.03692204877734184,
-0.002523246221244335,
-0.029118722304701805,
0.012218363583087921,
0.029262468218803406,
-0.011643381789326668,
-0.03234272822737694,
0.0437396876513958,
0.002465491183102131,
-0.030412431806325912,
-0.0382157564163208,
0.04045407846570015,
-0.03131597489118576,
0.05450006201863289,
-0.00387856038287282,
-0.02028864435851574,
0.06731394678354263,
0.06735501438379288,
0.026182208210229874,
-0.031911492347717285,
-0.018378883600234985,
0.023779604583978653,
0.014241067692637444,
-0.028954442590475082,
0.015237018465995789,
-0.015534777194261551,
0.0023576822131872177,
-0.01962125487625599,
0.014158927835524082,
-0.0031983363442122936,
0.03967374563217163,
0.044766440987586975,
-0.04353433847427368,
-0.023163553327322006,
-0.02905711717903614,
-0.018789583817124367,
0.019703395664691925,
0.0928184911608696,
-0.028030363842844963,
-0.040515683591365814,
-0.04735385999083519,
-0.023245694115757942,
0.016232969239354134,
0.046696737408638,
0.016530727967619896,
-0.03065885230898857,
-0.04575212672352791,
-0.041337087750434875,
0.046696737408638,
-0.03585422411561012,
-0.06324800103902817,
-0.029673168435692787,
0.010041646659374237,
-0.006412073969841003,
0.035628337413072586,
-0.019200285896658897,
0.022896597161889076,
0.021664494648575783,
-0.06920316815376282,
-0.023820675909519196,
0.0038246558979153633,
0.06406940519809723,
0.059346336871385574,
0.03838003799319267,
-0.02283499203622341,
-0.04390396922826767,
0.048627033829689026,
0.04115227237343788,
-0.013891971670091152,
0.02228054590523243,
0.05852493643760681,
0.01697223074734211,
0.018810119479894638,
0.011766592040657997,
0.08066173642873764,
0.02295820228755474,
0.06797106564044952,
0.007603107951581478,
-0.03090527281165123,
-0.07281734049320221,
-0.010821979492902756,
-0.04308256506919861,
0.034293558448553085,
0.03856485337018967,
0.0189641322940588,
-0.04427359998226166,
-0.060044530779123306,
-0.019847139716148376,
-0.010190526023507118,
-0.05971597135066986,
0.05129659175872803,
0.07733505219221115,
-0.030679387971758842,
0.008593924343585968,
0.004592154175043106,
0.013491537421941757,
0.015719592571258545,
0.055239323526620865,
-0.0666157528758049,
-0.01660259999334812,
0.024457262828946114,
0.008342370390892029,
-0.038154151290655136,
0.06505508720874786,
0.025935787707567215,
-0.022321615368127823,
0.011438031680881977,
-0.029632098972797394,
-0.018625304102897644,
-0.046696737408638,
-0.07577439397573471,
-0.05905884876847267,
-0.08238667994737625,
0.06074272468686104,
-0.009897901676595211,
-0.028071433305740356,
0.05330903083086014,
-0.03928358107805252,
-0.03221951797604561,
0.07339232414960861,
-0.07458335906267166,
0.05782674252986908,
0.004450975451618433,
0.004628090187907219,
-0.06024987995624542,
-0.01844048872590065,
0.03725060820579529,
0.060578443109989166,
0.04784670099616051,
0.01868690922856331,
0.003585935803130269,
0.047559209167957306,
0.01352233998477459,
0.013809830881655216,
0.053144749253988266,
0.03462212160229683,
0.020658275112509727,
-0.03443730250000954,
-0.03289717435836792,
0.001944413990713656,
-0.07039420306682587,
0.008332102559506893,
0.05901777744293213,
-0.0019919013138860464,
0.026716120541095734,
-0.027558056637644768,
-0.0012718905927613378,
0.08895790576934814,
0.0514608733355999,
-0.026613444089889526,
-0.020925231277942657,
-0.015894141048192978,
0.05215906724333763,
0.012023280374705791,
0.02203412540256977,
0.006175920832902193,
0.03501228615641594,
-0.03133650869131088,
0.07088704407215118,
-0.025278665125370026,
0.0657532811164856,
0.021520748734474182,
-0.010565291158854961,
-0.03472479432821274,
0.06509615480899811,
-0.031788282096385956,
0.0019700827542692423,
0.009363989345729351,
-0.008532319217920303,
-0.00689464807510376,
0.017300792038440704,
-0.004325198009610176,
-0.0042071216739714146,
-0.06086593493819237,
0.03410874307155609,
0.017947647720575333,
0.020791754126548767,
0.03737381845712662,
-0.07934749126434326,
0.03474533185362816,
0.0027953358367085457,
-0.023348368704319,
0.03010440617799759,
-0.01856369897723198,
-0.03909876570105553,
-0.09413273632526398,
0.06427475064992905,
0.006812507752329111,
-0.0023409973364323378,
0.013512073084712029,
-0.019847139716148376,
-0.0037553501315414906,
-0.03710686415433884,
-0.046902090311050415,
0.01068850141018629,
0.013429932296276093,
0.04242544621229172,
-0.07437800616025925,
0.012957626022398472,
-0.02160288766026497,
-0.006802240386605263,
0.040104981511831284,
-0.038503248244524,
-0.008583657443523407,
0.009061097167432308,
0.005400721915066242,
-0.009641213342547417,
0.04796991124749184,
0.04854489490389824,
-0.039468396455049515,
-0.021808238700032234,
0.010334271937608719,
-0.016150828450918198,
0.038154151290655136,
-0.03439623489975929,
0.01855343207716942,
-0.034827470779418945,
0.026346487924456596,
0.022773386910557747,
0.056183937937021255,
-0.005544467829167843,
-0.014744176529347897,
-0.02864641509950161,
0.014097322709858418,
0.013162977062165737,
0.010842514224350452,
0.024744752794504166,
0.05753925442695618,
-0.04349326714873314,
-0.04870917648077011,
-0.0334516204893589,
-0.07507620006799698,
0.03115169331431389,
-0.014179462566971779,
0.008732536807656288,
0.006945985835045576,
-0.01412812527269125,
-0.0630837231874466,
-0.03445784002542496,
-0.0081472871825099,
-0.03749702870845795,
-0.014641501940786839,
0.046902090311050415,
-0.004160917364060879,
0.0026092366315424442,
0.04825740307569504,
0.02097656950354576,
-0.04731278866529465,
-0.05330903083086014,
0.0307820625603199,
-0.0045690517872571945,
0.02191091515123844,
-0.035997968167066574,
0.02731163613498211,
0.008670931681990623,
0.006299131084233522,
-0.06378190964460373,
0.016356179490685463,
0.04805205389857292,
-0.007053794804960489,
-0.01619189977645874,
0.03610064461827278,
-0.02371799945831299,
0.015955746173858643
] |
710,081
|
urllib3_future.response
|
__init__
| null |
def __init__(
self,
body: _TYPE_BODY = "",
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
status: int = 0,
version: int = 0,
reason: str | None = None,
preload_content: bool = True,
decode_content: bool = True,
original_response: LowLevelResponse | None = None,
pool: HTTPConnectionPool | None = None,
connection: HTTPConnection | None = None,
msg: Message | None = None,
retries: Retry | None = None,
enforce_content_length: bool = True,
request_method: str | None = None,
request_url: str | None = None,
auto_close: bool = True,
police_officer: TrafficPolice[HTTPConnection] | None = None,
) -> None:
if isinstance(headers, HTTPHeaderDict):
self.headers = headers
else:
self.headers = HTTPHeaderDict(headers) # type: ignore[arg-type]
try:
self.status = int(status)
except ValueError:
self.status = 0 # merely for tests, was supported due to broken httplib.
self.version = version
self.reason = reason
self.decode_content = decode_content
self._has_decoded_content = False
self._request_url: str | None = request_url
self._retries: Retry | None = None
self.retries = retries
self.chunked = False
if "transfer-encoding" in self.headers:
tr_enc = self.headers.get("transfer-encoding", "").lower()
# Don't incur the penalty of creating a list and then discarding it
encodings = (enc.strip() for enc in tr_enc.split(","))
if "chunked" in encodings:
self.chunked = True
self._decoder: ContentDecoder | None = None
self.enforce_content_length = enforce_content_length
self.auto_close = auto_close
self._body = None
self._fp: LowLevelResponse | typing.IO[typing.Any] | None = None
self._original_response = original_response
self._fp_bytes_read = 0
if msg is not None:
warnings.warn(
"Passing msg=.. is deprecated and no-op in urllib3.future and is scheduled to be removed in a future major.",
DeprecationWarning,
stacklevel=2,
)
self.msg = msg
if body and isinstance(body, (str, bytes)):
self._body = body
self._pool = pool
self._connection = connection
if hasattr(body, "read"):
self._fp = body # type: ignore[assignment]
# Are we using the chunked-style of transfer encoding?
self.chunk_left: int | None = None
# Determine length of response
self.length_remaining: int | None = self._init_length(request_method)
# Used to return the correct amount of bytes for partial read()s
self._decoded_buffer = BytesQueueBuffer()
self._police_officer: TrafficPolice[HTTPConnection] | None = police_officer
if self._police_officer is not None:
self._police_officer.memorize(self, self._connection)
# If requested, preload the body.
if preload_content and not self._body:
self._body = self.read(decode_content=decode_content)
|
(self, body: '_TYPE_BODY' = '', headers: 'typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None' = None, status: 'int' = 0, version: 'int' = 0, reason: 'str | None' = None, preload_content: 'bool' = True, decode_content: 'bool' = True, original_response: 'LowLevelResponse | None' = None, pool: 'HTTPConnectionPool | None' = None, connection: 'HTTPConnection | None' = None, msg: 'Message | None' = None, retries: 'Retry | None' = None, enforce_content_length: 'bool' = True, request_method: 'str | None' = None, request_url: 'str | None' = None, auto_close: 'bool' = True, police_officer: 'TrafficPolice[HTTPConnection] | None' = None) -> 'None'
|
[
-0.021966570988297462,
-0.03369688242673874,
-0.10143387317657471,
-0.014132904820144176,
-0.051524531096220016,
-0.005683446768671274,
-0.01367863267660141,
0.04183339700102806,
-0.05616820231080055,
-0.04554833099246025,
0.07062414288520813,
0.07385452091693878,
0.016232650727033615,
0.05160529166460037,
-0.0061881933361291885,
0.06779756397008896,
0.026650620624423027,
0.009287336841225624,
0.00323290191590786,
-0.08657413721084595,
0.013557493686676025,
0.030951060354709625,
0.02497486211359501,
0.07756945490837097,
0.004058162681758404,
0.022511698305606842,
-0.0513630136847496,
-0.03502941504120827,
0.023319292813539505,
0.006667702458798885,
0.046113647520542145,
-0.0015243346570059657,
-0.008913824334740639,
0.03208169341087341,
-0.00837374571710825,
0.029820429161190987,
-0.02596416510641575,
-0.022955873981118202,
-0.05976199731230736,
0.028972454369068146,
-0.06674768775701523,
-0.007394537329673767,
-0.04595213010907173,
-0.043044790625572205,
-0.0075409142300486565,
0.004340820480138063,
-0.028407137840986252,
0.031920175999403,
0.03775504603981972,
-0.013385879807174206,
-0.03993555158376694,
0.017141195014119148,
0.027195746079087257,
-0.03028479591012001,
-0.00815670471638441,
0.06622274965047836,
-0.02939644083380699,
0.04494263604283333,
-0.052009087055921555,
0.02800334058701992,
-0.055885542184114456,
0.03741181641817093,
0.011730310507118702,
-0.026004543527960777,
-0.02759954333305359,
-0.004035449121147394,
0.0014183379244059324,
0.001265652128495276,
-0.0003880239382851869,
-0.013819961808621883,
0.05907554179430008,
0.05318010225892067,
-0.035958148539066315,
0.014132904820144176,
0.02735726535320282,
-0.005638019181787968,
-0.007874046452343464,
-0.007788239978253841,
0.005784396082162857,
-0.022713596001267433,
0.057218074798583984,
0.025984354317188263,
0.011750500649213791,
-0.06262895464897156,
0.051564913243055344,
-0.055481746792793274,
0.03842131048440933,
-0.011578886769711971,
-0.04027877748012543,
0.03236434981226921,
-0.04397352412343025,
0.008343460969626904,
-0.024248026311397552,
-0.028528276830911636,
0.02340005151927471,
-0.008298033848404884,
-0.014435752294957638,
-0.013840151950716972,
-0.009655802510678768,
-0.00865135621279478,
-0.05750073119997978,
0.03254605829715729,
-0.05362427607178688,
0.011881735175848007,
0.03430257737636566,
-0.02279435656964779,
0.021179167553782463,
-0.03591776639223099,
0.0010921454522758722,
-0.05951971933245659,
0.02249150723218918,
-0.03058764338493347,
-0.05229174718260765,
0.03678593039512634,
-0.011881735175848007,
0.04132864996790886,
-0.02487391233444214,
-0.048051875084638596,
-0.034322768449783325,
0.010720817372202873,
-0.023278912529349327,
-0.01481935940682888,
-0.014112714678049088,
0.009130866266787052,
0.02408650703728199,
0.018917901441454887,
-0.004714332986623049,
-0.05390693619847298,
0.05184756964445114,
-0.0376540943980217,
0.007061404641717672,
0.01650521345436573,
0.019311605021357536,
0.07902312278747559,
-0.0014524082653224468,
0.03297004848718643,
-0.058954402804374695,
0.04558871313929558,
-0.032384540885686874,
0.027680303901433945,
0.0022271943744271994,
0.027680303901433945,
0.018968377262353897,
-0.038340549916028976,
-0.0019205607241019607,
-0.024066317826509476,
0.018514104187488556,
-0.08447439223527908,
-0.033575743436813354,
0.005320028867572546,
0.012457145377993584,
-0.046315547078847885,
-0.0061528608202934265,
0.06375958770513535,
0.021683912724256516,
-0.04039991647005081,
-0.013628157787024975,
-0.017141195014119148,
-0.004593193996697664,
0.009363049641251564,
-0.0007779406732879579,
-0.022774165496230125,
0.03297004848718643,
-0.03642251342535019,
-0.0012183320941403508,
-0.0352918803691864,
0.04639630764722824,
-0.06194250285625458,
0.0381588414311409,
0.04138921946287155,
-0.03618023544549942,
0.04272175207734108,
-0.04615402966737747,
-0.005380598828196526,
-0.014284328557550907,
0.05257440358400345,
0.03613985702395439,
0.006667702458798885,
-0.0778924971818924,
-0.036745551973581314,
0.012124013155698776,
-0.03228359296917915,
-0.06141756474971771,
-0.014354992657899857,
-0.0019798683933913708,
0.06275009363889694,
0.006985692773014307,
0.009827416390180588,
0.03280852735042572,
0.014869834296405315,
-0.030890490859746933,
-0.019119800999760628,
0.0583890862762928,
0.006758556701242924,
0.0253180880099535,
-0.00661722756922245,
-0.017555085942149162,
-0.018615053966641426,
0.07777135819196701,
0.008116325363516808,
-0.05095921456813812,
0.047203902155160904,
0.04211605712771416,
0.03315175697207451,
-0.06646502763032913,
0.03785599395632744,
-0.026852518320083618,
0.024126887321472168,
-0.025802645832300186,
0.006546563468873501,
-0.051766809076070786,
-0.004229776561260223,
-0.04772883653640747,
0.0016984723042696714,
0.01873619295656681,
-0.015576479956507683,
-0.006839316338300705,
-0.03341422602534294,
0.027276504784822464,
-0.0019420124590396881,
0.07078566402196884,
0.029356062412261963,
-0.04575023055076599,
-0.035069793462753296,
0.01982644572854042,
0.02824561856687069,
-0.03264700993895531,
0.0054966905154287815,
-0.0035988432355225086,
0.0054765003733336926,
0.0014826931292191148,
0.03062802366912365,
0.027619732543826103,
0.011286133900284767,
0.017777174711227417,
0.010872241109609604,
-0.042600613087415695,
0.040117260068655014,
-0.07106831669807434,
-0.007808429654687643,
0.045427192002534866,
-0.02759954333305359,
0.0061730509623885155,
0.02156277373433113,
-0.03107219934463501,
-0.020351381972432137,
-0.013345499522984028,
0.026428531855344772,
-0.002002582186833024,
-0.003573605790734291,
-0.01729261875152588,
-0.03632156550884247,
-0.041752636432647705,
-0.049788203090429306,
0.013143600896000862,
-0.03301042690873146,
0.046073269098997116,
-0.09561919420957565,
0.0050676558166742325,
0.013173885643482208,
0.02398555725812912,
0.0033464699517935514,
-0.018917901441454887,
0.06803984194993973,
-0.05318010225892067,
-0.007419774774461985,
0.004131350666284561,
-0.01749451644718647,
-0.03464580699801445,
0.011568792164325714,
0.1051488071680069,
-0.019755780696868896,
0.02650929056107998,
0.007167401723563671,
-0.016172081232070923,
-0.027720682322978973,
0.01729261875152588,
-0.006768651772290468,
-0.034282390028238297,
-0.019614452496170998,
0.03157694637775421,
-0.011891829781234264,
0.05398769676685333,
-0.04639630764722824,
0.018695814535021782,
0.004883423447608948,
-0.040622007101774216,
0.09529615938663483,
0.015122207812964916,
-0.045669469982385635,
-0.0020656753331422806,
0.011387082748115063,
0.04292365163564682,
-0.0068645537830889225,
0.010791482403874397,
-0.006531421095132828,
-0.04902098700404167,
0.009938460774719715,
0.03904719650745392,
-0.07191629707813263,
-0.03587738797068596,
-0.01839296519756317,
0.06428452581167221,
0.0168585367500782,
0.003619033144786954,
-0.05790453031659126,
0.002763487631455064,
-0.008863350376486778,
-0.01997786946594715,
-0.0019041565246880054,
0.04926326870918274,
0.022289609536528587,
0.006950360722839832,
-0.03097125142812729,
0.014617460779845715,
0.015314011834561825,
0.03062802366912365,
0.03880491852760315,
0.02378365956246853,
0.02800334058701992,
-0.01432470791041851,
-0.010841956362128258,
0.004989420063793659,
0.026287201792001724,
-0.0004978063516318798,
-0.006162955891340971,
0.050716936588287354,
0.00670303450897336,
-0.007036167662590742,
0.013759392313659191,
-0.04736541956663132,
0.03315175697207451,
-0.013971385546028614,
-0.03181922435760498,
-0.018312206491827965,
-0.0103119732812047,
-0.009877890348434448,
-0.020876318216323853,
0.02923492155969143,
-0.06416338682174683,
-0.018524199724197388,
-0.029497390612959862,
0.00892391987144947,
0.042842891067266464,
0.0008902468252927065,
-0.046315547078847885,
0.01962454803287983,
-0.030405934900045395,
0.07131059467792511,
-0.05907554179430008,
-0.04027877748012543,
-0.054391492158174515,
0.04146998003125191,
0.07429869472980499,
0.01843334548175335,
-0.042439091950654984,
-0.01102366577833891,
-0.03965289145708084,
-0.0010025529190897942,
0.017756985500454903,
0.00824755895882845,
-0.004406437743455172,
-0.048051875084638596,
0.044377319514751434,
-0.04558871313929558,
-0.0050474656745791435,
0.03375745192170143,
0.015778377652168274,
-0.027276504784822464,
0.006904933135956526,
-0.011255849152803421,
-0.03731086850166321,
-0.06392110884189606,
-0.0027862011920660734,
-0.012184582650661469,
-0.023622140288352966,
-0.04445808008313179,
0.013163791038095951,
-0.03700802102684975,
0.03733105957508087,
0.03185960650444031,
0.002012677025049925,
-0.06416338682174683,
-0.028568657115101814,
0.012699424289166927,
-0.020734990015625954,
0.013951195403933525,
0.009332764893770218,
0.018645338714122772,
0.03652346506714821,
0.04429655894637108,
-0.00815670471638441,
0.02200695127248764,
-0.014607366174459457,
-0.004275203682482243,
-0.0037729807663708925,
-0.030466504395008087,
0.030688593164086342,
-0.016394170001149178,
-0.04797111451625824,
0.047203902155160904,
0.009236862882971764,
0.020189862698316574,
0.08366679400205612,
-0.014062239788472652,
0.05616820231080055,
0.09456931799650192,
0.018473725765943527,
0.044377319514751434,
0.005148414988070726,
0.009968745522201061,
-0.02002834528684616,
-0.03692726045846939,
-0.04445808008313179,
-0.04595213010907173,
-0.0019672499038279057,
-0.020593659952282906,
-0.027781251817941666,
0.06529401987791061,
-0.017827648669481277,
0.0357966274023056,
0.05406845360994339,
0.012325911782681942,
-0.0029906234703958035,
-0.01432470791041851,
0.009307526983320713,
-0.01640426367521286,
0.004136398434638977,
-0.0015987848164513707,
-0.008605929091572762,
0.02988099865615368,
0.003702316200360656,
-0.04256023094058037,
-0.010700628161430359,
0.04526567459106445,
0.04514453560113907,
-0.05859098583459854,
0.02210790105164051,
0.04072295501828194,
-0.01318398118019104,
0.026590051129460335,
0.004699190612882376,
-0.017272427678108215,
0.006299237255007029,
0.056531619280576706,
-0.0005896071088500321,
-0.024449924007058144,
-0.007414727471768856,
-0.016414359211921692,
-0.015303916297852993,
0.0436101071536541,
0.009827416390180588,
0.022713596001267433,
0.0037830756045877934,
-0.09699210524559021,
0.016838345676660538,
0.03351517394185066,
0.029356062412261963,
-0.05289744213223457,
-0.03920871391892433,
0.05015162006020546,
-0.028669606894254684,
0.053503137081861496,
-0.00015536730643361807,
-0.04377162456512451,
0.06610161066055298,
0.030405934900045395,
-0.008338413201272488,
-0.02745821513235569,
-0.01023121364414692,
-0.008974394761025906,
0.006374949589371681,
0.002307953778654337,
0.017827648669481277,
-0.009201530367136002,
0.016020657494664192,
0.03817903250455856,
0.004103589802980423,
-0.008358603343367577,
-0.062225159257650375,
0.05911592021584511,
-0.015869231894612312,
0.05386655777692795,
-0.021926192566752434,
-0.01551591046154499,
-0.08495894819498062,
-0.011356798000633717,
0.01600046642124653,
0.05128225311636925,
0.01182116474956274,
-0.015324106439948082,
0.04712314158678055,
-0.018746288493275642,
-0.013446449302136898,
-0.004080876242369413,
0.021845431998372078,
-0.02973966859281063,
0.011356798000633717,
-0.0016013085842132568,
-0.07688300311565399,
0.0003444895555730909,
-0.058712124824523926,
0.03613985702395439,
-0.006521326024085283,
0.03240473195910454,
-0.025196949020028114,
-0.03406029939651489,
0.002203218871727586,
0.01565723866224289,
-0.015536099672317505,
-0.017827648669481277,
0.01543515082448721,
-0.04159111902117729,
-0.020230242982506752,
-0.02384422905743122,
0.04356972500681877,
-0.04159111902117729,
0.05923705920577049,
-0.02963871881365776,
-0.033535365015268326,
0.08681641519069672,
0.08487818390130997,
0.05540098622441292,
-0.012174488045275211,
-0.03315175697207451,
-0.00599638931453228,
0.03161732479929924,
-0.01665663719177246,
0.029275301843881607,
-0.02858884632587433,
-0.0042777275666594505,
-0.03975384309887886,
-0.007525771856307983,
-0.013951195403933525,
0.04292365163564682,
0.02929549291729927,
-0.06105414777994156,
-0.026933278888463974,
-0.03161732479929924,
-0.0397336520254612,
0.0368666909635067,
0.09602299332618713,
-0.02275397628545761,
-0.032707579433918,
-0.045225296169519424,
-0.04623478651046753,
0.026993848383426666,
0.05386655777692795,
0.001515501644462347,
-0.023521190509200096,
-0.052210986614227295,
-0.05818718671798706,
0.027034226804971695,
-0.011488032527267933,
-0.06630351394414902,
-0.01601056195795536,
0.021623343229293823,
-0.021966570988297462,
0.04296403005719185,
-0.020159577950835228,
-0.007147211581468582,
-0.003116810228675604,
-0.06715148687362671,
0.012780183926224709,
-0.00815165787935257,
0.05556250363588333,
0.044175419956445694,
0.041167132556438446,
-0.009524567984044552,
-0.048455674201250076,
0.007147211581468582,
0.0381588414311409,
-0.014213663525879383,
0.01758537068963051,
0.04990934208035469,
0.0009918269934132695,
-0.01291141752153635,
0.035069793462753296,
0.043690863996744156,
0.011831260286271572,
0.04910174757242203,
-0.010983285494148731,
-0.03676574304699898,
-0.10983286052942276,
-0.027034226804971695,
-0.044579219073057175,
0.009241909720003605,
0.01335559505969286,
0.030264604836702347,
-0.012305721640586853,
-0.04308516904711723,
-0.04558871313929558,
0.0055925920605659485,
-0.020997457206249237,
0.027478404343128204,
0.0615387037396431,
-0.018160782754421234,
-0.010044457390904427,
-0.0025275186635553837,
0.03008289635181427,
0.009484188631176949,
0.06392110884189606,
-0.04159111902117729,
-0.023622140288352966,
0.014354992657899857,
0.0023924987763166428,
-0.08193046599626541,
0.0853627398610115,
0.032344162464141846,
-0.03363631293177605,
0.020230242982506752,
-0.029356062412261963,
0.009999030269682407,
-0.023157773539423943,
-0.03906738758087158,
-0.05879288166761398,
-0.05390693619847298,
0.055279847234487534,
0.013557493686676025,
-0.04885946959257126,
0.002702917903661728,
-0.058106426149606705,
-0.01631340943276882,
0.0558047816157341,
-0.05794490873813629,
0.0449022576212883,
0.011891829781234264,
-0.07357186079025269,
-0.044821497052907944,
-0.026327582076191902,
0.03791656345129013,
0.04684048518538475,
0.030163656920194626,
0.019139990210533142,
0.024470115080475807,
0.07175477594137192,
0.03965289145708084,
0.028326379135251045,
0.04191415756940842,
0.028407137840986252,
-0.0007766787894070148,
-0.01927122473716736,
-0.01177069079130888,
0.0006517540314234793,
-0.045467574149370193,
0.018029548227787018,
0.0061881933361291885,
-0.01606103591620922,
0.05225136876106262,
-0.012366291135549545,
-0.01590961217880249,
0.07110869884490967,
0.020795559510588646,
-0.02027062326669693,
-0.038279980421066284,
0.0365840345621109,
0.013214265927672386,
0.01275999378412962,
0.022370368242263794,
-0.004368581809103489,
0.004209586419165134,
-0.01740366220474243,
0.0986880511045456,
-0.00758129358291626,
0.021199356764554977,
0.03727048635482788,
-0.0035079887602478266,
-0.062265537679195404,
0.02176467329263687,
-0.0009438761044293642,
0.01991729997098446,
0.030547263100743294,
0.015142397955060005,
0.014122809283435345,
0.008358603343367577,
0.03648308292031288,
0.00016356943524442613,
-0.0500708632171154,
0.01808002218604088,
0.04039991647005081,
0.042842891067266464,
0.04449845850467682,
-0.0817689448595047,
0.011700025759637356,
0.02408650703728199,
-0.005057560745626688,
-0.0032177595421671867,
0.010801577009260654,
-0.04058162495493889,
-0.10732931643724442,
0.04833453521132469,
0.0032404731027781963,
-0.016676826402544975,
0.026145873591303825,
-0.004913708195090294,
0.0033288036938756704,
-0.04486187547445297,
-0.11322475224733353,
0.025015240535140038,
0.028063910081982613,
0.020856129005551338,
-0.04080371558666229,
-0.017777174711227417,
-0.02428840659558773,
-0.03185960650444031,
0.04494263604283333,
-0.028124479576945305,
0.039471182972192764,
0.013295025564730167,
-0.0005211508250795305,
-0.011195279657840729,
0.0635576918721199,
0.06735338270664215,
-0.034665994346141815,
-0.0020530568435788155,
0.052857063710689545,
0.016323504969477654,
0.04377162456512451,
-0.04558871313929558,
0.020381666719913483,
-0.024692203849554062,
0.028407137840986252,
0.02027062326669693,
0.0007280969293788075,
0.03577644005417824,
-0.04090466350317001,
-0.03137504681944847,
0.021663723513484,
0.014213663525879383,
0.029658909887075424,
0.045225296169519424,
0.05281668156385422,
-0.04768845811486244,
-0.04861719161272049,
-0.03246530145406723,
-0.09489236027002335,
0.05951971933245659,
0.0036543651949614286,
0.043690863996744156,
0.009019821882247925,
-0.021239737048745155,
-0.049828581511974335,
-0.012527810409665108,
0.007808429654687643,
-0.047849975526332855,
-0.01566733419895172,
0.05976199731230736,
-0.02558055706322193,
0.020936887711286545,
0.0423179529607296,
0.006445614155381918,
-0.03167789429426193,
-0.016929199919104576,
0.02695346809923649,
0.004456912167370319,
-0.04187377542257309,
-0.0159600879997015,
0.01892799697816372,
-0.010720817372202873,
0.0016379026928916574,
-0.07183553278446198,
0.016232650727033615,
0.06662654876708984,
-0.004171730484813452,
-0.026852518320083618,
0.04138921946287155,
-0.0036972686648368835,
0.03741181641817093
] |
710,086
|
urllib3_future.response
|
_fp_read
|
Read a response with the thought that reading the number of bytes
larger than can fit in a 32-bit int at a time via SSL in some
known cases leads to an overflow error that has to be prevented
if `amt` or `self.length_remaining` indicate that a problem may
happen.
The known cases:
* 3.8 <= CPython < 3.9.7 because of a bug
https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900.
* urllib3 injected with pyOpenSSL-backed SSL-support.
* CPython < 3.10 only when `amt` does not fit 32-bit int.
|
def _fp_read(self, amt: int | None = None) -> bytes:
"""
Read a response with the thought that reading the number of bytes
larger than can fit in a 32-bit int at a time via SSL in some
known cases leads to an overflow error that has to be prevented
if `amt` or `self.length_remaining` indicate that a problem may
happen.
The known cases:
* 3.8 <= CPython < 3.9.7 because of a bug
https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900.
* urllib3 injected with pyOpenSSL-backed SSL-support.
* CPython < 3.10 only when `amt` does not fit 32-bit int.
"""
assert self._fp
c_int_max = 2**31 - 1
if (
(amt and amt > c_int_max)
or (self.length_remaining and self.length_remaining > c_int_max)
) and sys.version_info < (3, 10):
buffer = io.BytesIO()
# Besides `max_chunk_amt` being a maximum chunk size, it
# affects memory overhead of reading a response by this
# method in CPython.
# `c_int_max` equal to 2 GiB - 1 byte is the actual maximum
# chunk size that does not lead to an overflow error, but
# 256 MiB is a compromise.
max_chunk_amt = 2**28
while amt is None or amt != 0:
if amt is not None:
chunk_amt = min(amt, max_chunk_amt)
amt -= chunk_amt
else:
chunk_amt = max_chunk_amt
try:
data = self._fp.read(chunk_amt)
except ValueError: # Defensive: overly protective
break # Defensive: can also be an indicator that read ended, should not happen.
if not data:
break
buffer.write(data)
del data # to reduce peak memory usage by `max_chunk_amt`.
return buffer.getvalue()
else:
# StringIO doesn't like amt=None
return self._fp.read(amt) if amt is not None else self._fp.read()
|
(self, amt: Optional[int] = None) -> bytes
|
[
-0.03278907760977745,
-0.041168298572301865,
-0.056807029992341995,
0.0846506878733635,
-0.008141282945871353,
0.05117111653089523,
-0.011346476152539253,
0.020416192710399628,
0.014929573982954025,
-0.1439957469701767,
0.06692181527614594,
0.0703182965517044,
-0.016851756721735,
0.004378564190119505,
0.012942074798047543,
0.053298577666282654,
0.022879572585225105,
0.0013751537771895528,
0.012643483467400074,
-0.013352638110518456,
-0.00793133582919836,
0.02825421839952469,
-0.03107217513024807,
0.0019700040575116873,
-0.02670527622103691,
0.03689470887184143,
0.02118133381009102,
-0.02004295401275158,
-0.0012643482768908143,
-0.00035224464954808354,
0.019520418718457222,
0.028328867629170418,
0.011533095501363277,
0.03476724401116371,
-0.015302813611924648,
-0.04239999130368233,
0.010049469769001007,
-0.014612320810556412,
-0.07158730924129486,
0.0013389962259680033,
-0.04157886281609535,
-0.0002650582464411855,
0.016842424869537354,
-0.023905981332063675,
-0.074722521007061,
0.016795771196484566,
-0.05938237905502319,
0.02905668318271637,
-0.035009849816560745,
-0.03008309192955494,
-0.00818793848156929,
0.03648414835333824,
0.008001318201422691,
-0.0025077019818127155,
0.030978865921497345,
0.04049646854400635,
-0.07016899436712265,
0.035737667232751846,
-0.06050209701061249,
0.04426618665456772,
-0.012214257381856441,
-0.05258942395448685,
0.0007388973026536405,
-0.10592532902956009,
-0.05415702983736992,
0.021853163838386536,
0.00401232298463583,
-0.044751398265361786,
-0.025454923510551453,
-0.030437668785452843,
-0.003555104834958911,
0.06020350754261017,
-0.07128871232271194,
0.04135492071509361,
-0.02088274247944355,
-0.021965134888887405,
0.030512316152453423,
0.03472992032766342,
-0.018195418640971184,
0.04146689176559448,
0.06539153307676315,
-0.03521513193845749,
0.09278730303049088,
-0.013800525106489658,
0.021573234349489212,
-0.0377344973385334,
0.050909847021102905,
0.019044537097215652,
-0.01491091214120388,
0.05747886002063751,
-0.013315313495695591,
0.04258660972118378,
-0.01203696895390749,
-0.007814698852598667,
0.05244012922048569,
-0.046804215759038925,
0.013800525106489658,
0.012139610014855862,
-0.03340492025017738,
0.0073714773170650005,
-0.03814506158232689,
0.05774012580513954,
-0.0010386551730334759,
-0.019147178158164024,
0.0282168947160244,
-0.018997883424162865,
-0.003387147095054388,
-0.0030582300387322903,
0.01414577104151249,
-0.038816891610622406,
0.04788661003112793,
-0.06919857859611511,
-0.03157604858279228,
0.007385473698377609,
-0.03967534378170967,
0.01659982092678547,
-0.019483095034956932,
0.0004907514085061848,
0.003118881257250905,
0.020472178235650063,
0.004436882678419352,
-0.013791194185614586,
-0.014808271080255508,
-0.029765838757157326,
0.04393026977777481,
0.03081090934574604,
-0.005337322596460581,
-0.02722781151533127,
0.028310203924775124,
0.050797875970602036,
0.010049469769001007,
0.03633484989404678,
0.0512830875813961,
0.0582626610994339,
-0.07315491139888763,
0.04937956482172012,
-0.027936965227127075,
0.08256054669618607,
-0.027134500443935394,
0.0030115749686956406,
0.007236178033053875,
0.011514433659613132,
0.029579218477010727,
-0.01005880068987608,
0.0012235252652317286,
-0.00027832575142383575,
0.015358799137175083,
-0.048371821641922,
-0.054791536182165146,
0.004922093823552132,
0.017029045149683952,
-0.005659241694957018,
-0.004660826176404953,
0.050723228603601456,
0.06027815490961075,
0.02465245872735977,
-0.02567886747419834,
0.0010841436451300979,
-0.05572463572025299,
-0.019949642941355705,
-0.06953448802232742,
0.025510909035801888,
0.02429788187146187,
-0.057180266827344894,
0.015302813611924648,
-0.00246804510243237,
-0.008584504947066307,
-0.06206970289349556,
0.024783093482255936,
0.045012664049863815,
-0.00782402977347374,
0.059270408004522324,
0.018988551571965218,
-0.020640136674046516,
0.04646829888224602,
0.02967252768576145,
0.015190841630101204,
-0.01865263655781746,
0.012718130834400654,
0.0059205093421041965,
0.00041202123975381255,
-0.04534858092665672,
-0.021274643018841743,
-0.03265844285488129,
0.03448731452226639,
0.05363449454307556,
0.006387058179825544,
-0.011934327892959118,
0.04803590476512909,
-0.03226654231548309,
-0.048819705843925476,
-0.001134297694079578,
0.018839256837964058,
-0.021815840154886246,
-0.041168298572301865,
-0.025417599827051163,
0.019445769488811493,
0.0028389517683535814,
0.0524028055369854,
-0.02103203721344471,
-0.03586830198764801,
0.01795281283557415,
0.021069360896945,
-0.024465840309858322,
-0.07453589886426926,
0.005677903536707163,
-0.03241583704948425,
0.0329756960272789,
-0.08479998260736465,
0.08144082874059677,
-0.06513026356697083,
0.0005659824819304049,
-0.01623591221868992,
-0.004749470856040716,
-0.005640579853206873,
-0.0019979968201369047,
-0.06259223818778992,
-0.01671179197728634,
0.00016358381253667176,
0.010142778977751732,
0.06897462904453278,
-0.028310203924775124,
-0.03749189153313637,
-0.02213309332728386,
0.0692358985543251,
-0.00910237431526184,
-0.0074414596892893314,
0.02414858527481556,
-0.0002978624834213406,
0.03594294935464859,
-0.0054352981969714165,
0.060949984937906265,
0.07028096914291382,
0.06371195614337921,
0.08330702036619186,
-0.017122354358434677,
0.002402728423476219,
0.033031683415174484,
-0.037137314677238464,
0.03534576669335365,
-0.03267710655927658,
0.006149118300527334,
0.009806863963603973,
0.06513026356697083,
-0.025734852999448776,
0.022301051765680313,
0.03368484973907471,
0.05270139500498772,
-0.006811618339270353,
0.015302813611924648,
-0.015396122820675373,
-0.03814506158232689,
-0.033871471881866455,
-0.06565280258655548,
0.0014416369376704097,
-0.032117247581481934,
-0.03142675384879112,
-0.08270984143018723,
-0.02982182428240776,
0.02069612219929695,
0.04807322844862938,
-0.024577811360359192,
-0.00793133582919836,
-0.015461440198123455,
-0.06501829624176025,
0.002782966010272503,
0.01002147700637579,
-0.044863369315862656,
0.026574641466140747,
0.04351970925927162,
0.013865841552615166,
-0.047065481543540955,
0.00020615641551557928,
-0.006335738115012646,
0.016730453819036484,
-0.041130974888801575,
0.06908660382032394,
0.048745058476924896,
0.004287587013095617,
0.006480368319898844,
0.0068349456414580345,
0.0037813810631632805,
0.03243450075387955,
0.02480175532400608,
-0.01765422150492668,
0.006536354310810566,
-0.06042744964361191,
-0.03560703247785568,
-0.010683976113796234,
0.004441548138856888,
-0.0037907122168689966,
-0.028048938140273094,
0.00753943482413888,
-0.041168298572301865,
0.03217323124408722,
0.01500422228127718,
-0.007100878749042749,
-0.07852955907583237,
0.034785907715559006,
-0.019315136596560478,
-0.04643097519874573,
-0.011682392098009586,
0.026369359344244003,
0.0710647702217102,
0.03312499076128006,
-0.0743866041302681,
-0.005486618261784315,
-0.0714380145072937,
-0.04385562241077423,
-0.021088022738695145,
-0.0012235252652317286,
-0.02022957243025303,
0.039078161120414734,
-0.05370914191007614,
0.006223766133189201,
0.02312217839062214,
0.026723938062787056,
0.06195773184299469,
0.014229750260710716,
0.018783269450068474,
-0.010683976113796234,
-0.02312217839062214,
0.02560422010719776,
-0.008985737338662148,
-0.009055719710886478,
-0.004205940756946802,
0.030269712209701538,
0.003559770295396447,
0.024129923433065414,
0.03758520260453224,
-0.03234118968248367,
0.03446865454316139,
-0.03780914470553398,
-0.049080975353717804,
-0.027601050212979317,
-0.01005880068987608,
-0.01981901004910469,
-0.00948961079120636,
0.028198232874274254,
-0.07222181558609009,
0.024895064532756805,
-0.04859576374292374,
0.05983026698231697,
0.004520861431956291,
0.011887673288583755,
-0.01615193299949169,
0.041019003838300705,
-0.033069007098674774,
0.012858095578849316,
0.012764785438776016,
-0.04266125708818436,
-0.07214716821908951,
0.01868996024131775,
0.04422886297106743,
-0.04187745600938797,
0.07319223880767822,
-0.015844009816646576,
-0.03519647195935249,
0.03784646838903427,
0.0219837985932827,
0.005556600634008646,
-0.002442385070025921,
-0.032919712364673615,
0.016431862488389015,
-0.047102805227041245,
-0.0031748672481626272,
0.034095413982868195,
0.0016609150916337967,
0.021610558032989502,
0.052776042371988297,
-0.06699646264314651,
-0.04605773463845253,
-0.028515486046671867,
-0.012755454517900944,
-0.019874995574355125,
-0.02510034665465355,
-0.05374646559357643,
0.026369359344244003,
-0.026686614379286766,
0.03635351359844208,
0.019632389768958092,
0.0017099027754738927,
-0.04811055213212967,
-0.019427107647061348,
0.008710473775863647,
-0.041168298572301865,
-0.06016618385910988,
-0.015704045072197914,
-0.017094362527132034,
0.07468519359827042,
0.029765838757157326,
0.04228802025318146,
0.06035280227661133,
-0.015284151770174503,
-0.015694715082645416,
0.005701231304556131,
0.01993098109960556,
0.031240133568644524,
0.0333489365875721,
-0.003907349426299334,
-0.020378869026899338,
0.038014426827430725,
-0.00506672402843833,
0.038630273193120956,
-0.052925340831279755,
0.0875619500875473,
0.060614071786403656,
-0.021591896191239357,
0.004856776911765337,
0.025958796963095665,
-0.0119996452704072,
0.039078161120414734,
-0.010842602699995041,
-0.06203237920999527,
-0.004453212022781372,
0.0070495582185685635,
-0.0553140714764595,
-0.04669224098324776,
0.030269712209701538,
-0.014854926615953445,
0.05441829562187195,
-0.028571471571922302,
0.01890457235276699,
0.01799013651907444,
-0.010226758196949959,
-0.03431935980916023,
-0.03217323124408722,
0.00551461149007082,
-0.050984494388103485,
0.005449294578284025,
0.03974999114871025,
0.049006327986717224,
-0.001474295393563807,
-0.015134856104850769,
-0.021741192787885666,
0.03682006150484085,
-0.050947170704603195,
0.01637587696313858,
0.02205844596028328,
-0.01762622781097889,
0.0534851998090744,
0.02677992358803749,
-0.030437668785452843,
0.04034717381000519,
0.049192946404218674,
-0.010805279016494751,
-0.0052206856198608875,
0.019912319257855415,
-0.05800139531493187,
-0.01850333996117115,
-0.014127109199762344,
-0.05359717085957527,
0.0003723645641002804,
0.0025310292840003967,
-0.08330702036619186,
-0.01441636960953474,
0.004525527358055115,
0.030792245641350746,
-0.06210702657699585,
-0.005411970429122448,
0.00012429161870386451,
0.00028124169330112636,
0.06763096898794174,
-0.08159012347459793,
0.0007044892990961671,
-0.00004545209594652988,
0.024503163993358612,
0.014397707767784595,
-0.014621651731431484,
-0.0018965224735438824,
-0.03605492040514946,
0.00962024461477995,
-0.02761971205472946,
0.0024143920745700598,
0.0344313308596611,
-0.011187849566340446,
0.019035207107663155,
0.010348061099648476,
0.014369715005159378,
-0.003212191164493561,
0.027433091774582863,
-0.03510316088795662,
0.044527456164360046,
0.006079135928303003,
-0.02905668318271637,
-0.07054223865270615,
-0.02129330486059189,
0.020565487444400787,
0.04751336947083473,
0.026910556480288506,
-0.005771213676780462,
0.05964364856481552,
-0.007222181651741266,
0.016385206952691078,
0.020341545343399048,
0.027209147810935974,
0.011206511408090591,
0.014742954634130001,
0.012671476230025291,
-0.019501756876707077,
-0.0729309692978859,
-0.033834148198366165,
0.01981901004910469,
-0.022338375449180603,
0.029803162440657616,
0.030680274590849876,
-0.04422886297106743,
-0.028888726606965065,
0.021050699055194855,
-0.007595420815050602,
-0.002470378065481782,
0.08427744358778,
0.037939779460430145,
-0.012055630795657635,
-0.010161441750824451,
0.031855978071689606,
0.006121125537902117,
0.022879572585225105,
-0.0153867918998003,
-0.030978865921497345,
0.03305034339427948,
0.04228802025318146,
0.009205015376210213,
0.010562673211097717,
0.005719893146306276,
0.0344313308596611,
0.009181687608361244,
-0.07927604019641876,
-0.03792111948132515,
-0.018456686288118362,
0.0018766941502690315,
-0.02426055818796158,
0.02993379533290863,
-0.05620984733104706,
-0.009806863963603973,
0.004499867092818022,
-0.041093651205301285,
-0.014257743023335934,
-0.0457964688539505,
-0.023588726297020912,
-0.022524995729327202,
0.02030421979725361,
0.014882919378578663,
-0.011458448134362698,
-0.034823231399059296,
0.018494009971618652,
-0.044938016682863235,
0.03073626011610031,
0.016030630096793175,
-0.03232252597808838,
0.0024050611536949873,
-0.06792955845594406,
0.0883084312081337,
-0.028440838679671288,
0.030344359576702118,
-0.03668942674994469,
0.04575914517045021,
-0.043295763432979584,
-0.03344224765896797,
-0.024055276066064835,
0.057068295776844025,
-0.0024143920745700598,
-0.04560985043644905,
-0.056919001042842865,
-0.05445562303066254,
-0.003044233424589038,
0.04728942736983299,
-0.007590755354613066,
-0.02274893783032894,
-0.03739858418703079,
0.006694980897009373,
0.06845209747552872,
0.0344499908387661,
0.05031266435980797,
0.05225351080298424,
-0.030325697734951973,
-0.020509501919150352,
-0.044751398265361786,
0.06975843757390976,
-0.014658975414931774,
0.03118414804339409,
-0.039003513753414154,
-0.014500348828732967,
-0.01619858853518963,
0.033330272883176804,
-0.0004327243659645319,
0.003433801932260394,
-0.027638373896479607,
-0.00566857261583209,
0.02084541693329811,
-0.018260736018419266,
-0.06498096883296967,
0.035737667232751846,
-0.06393589824438095,
0.03963802009820938,
0.057889424264431,
-0.08569575846195221,
0.008976406417787075,
0.028496824204921722,
0.05941970646381378,
-0.01150510273873806,
0.005458625499159098,
-0.028403514996170998,
0.032154571264982224,
0.031967949122190475,
0.05344787612557411,
-0.043221116065979004,
-0.012447532266378403,
0.0120929554104805,
-0.013203342445194721,
-0.015144187025725842,
-0.01993098109960556,
0.01912851631641388,
-0.013800525106489658,
-0.03381548449397087,
0.013744538649916649,
-0.04001125693321228,
-0.011710384860634804,
0.017131686210632324,
0.0027013197541236877,
0.002470378065481782,
0.037249285727739334,
-0.023980628699064255,
0.03652147203683853,
-0.01511619333177805,
0.041168298572301865,
-0.001933846389874816,
-0.0027246472891420126,
-0.07505843043327332,
0.046990834176540375,
-0.0066903154365718365,
0.03971266746520996,
0.09189152717590332,
0.048633087426424026,
0.03254647180438042,
0.04213872179389,
0.016553165391087532,
0.04374365136027336,
0.03344224765896797,
0.04833449423313141,
0.03654013201594353,
-0.03726794943213463,
-0.03454330191016197,
-0.06296547502279282,
-0.015554750338196754,
0.017448939383029938,
0.053149282932281494,
0.0048661078326404095,
0.05113379284739494,
-0.0011098039103671908,
0.004142956808209419,
0.06113660708069801,
0.02524964138865471,
-0.04777463525533676,
0.014668306335806847,
-0.05169365182518959,
0.049192946404218674,
0.029560556635260582,
0.02282358705997467,
-0.020789431408047676,
0.02472710609436035,
-0.025324290618300438,
0.017094362527132034,
0.0005272005801089108,
0.01544277835637331,
-0.003128212410956621,
-0.01434172224253416,
-0.017794186249375343,
0.03749189153313637,
-0.024708444252610207,
-0.006583008915185928,
0.06785491108894348,
-0.043146468698978424,
0.01102922298014164,
0.020714784041047096,
0.015424116514623165,
0.007422797381877899,
-0.044751398265361786,
0.011318483389914036,
0.04385562241077423,
0.017271650955080986,
0.00328450626693666,
-0.07464787364006042,
0.031557388603687286,
-0.024353867396712303,
0.017934150993824005,
-0.001060232985764742,
-0.003258846001699567,
-0.07446125149726868,
-0.06695914268493652,
0.03153872489929199,
-0.0041219620034098625,
0.0008199602016247809,
-0.0034244710113853216,
-0.02711583860218525,
-0.025454923510551453,
-0.026630626991391182,
0.027470415458083153,
0.0030395679641515017,
-0.005771213676780462,
-0.003097886685281992,
-0.06804153323173523,
0.0333489365875721,
-0.029616542160511017,
-0.02715316228568554,
0.00034699594834819436,
-0.023178163915872574,
0.008607832714915276,
-0.022245066240429878,
0.03769717365503311,
-0.011682392098009586,
0.048707734793424606,
0.016207918524742126,
-0.023551402613520622,
-0.021423939615488052,
0.08300843089818954,
-0.06587674468755722,
0.012811440974473953,
-0.0329756960272789,
0.005845861509442329,
-0.03127745911478996,
0.05792674794793129,
0.02403661422431469,
0.0494542121887207,
-0.06580209732055664,
-0.0260147824883461,
-0.01854066550731659,
0.03659611940383911,
0.006223766133189201,
0.0287580918520689,
0.06233097240328789,
0.006611002143472433,
-0.0066716535948216915,
-0.02388731762766838,
-0.031893301755189896,
-0.005626583006232977,
-0.0003907349309884012,
-0.024017952382564545,
0.021778516471385956,
-0.009517603553831577,
-0.0012200261699035764,
0.026182740926742554,
-0.024484502151608467,
0.0029112668707966805,
0.05374646559357643,
0.00135765818413347,
0.01787816546857357,
-0.003286838997155428,
0.04844646900892258,
0.021927811205387115,
0.004422886297106743,
-0.007264170795679092,
-0.04027252644300461,
0.04441548138856888,
0.014584328047931194,
-0.0066716535948216915,
-0.08226194977760315,
0.0006374228396452963,
0.0008876098436303437,
0.03131478279829025,
-0.08069434762001038,
0.04445280507206917,
0.0036064251326024532,
0.06725773215293884,
-0.04587111622095108,
0.0075674280524253845,
-0.027358444407582283,
0.060949984937906265
] |
710,089
|
urllib3_future.response
|
_raw_read
|
Reads `amt` of bytes from the socket.
|
def _raw_read(
self,
amt: int | None = None,
) -> bytes:
"""
Reads `amt` of bytes from the socket.
"""
if self._fp is None:
return None # type: ignore[return-value]
fp_closed = getattr(self._fp, "closed", False)
with self._error_catcher():
data = self._fp_read(amt) if not fp_closed else b""
if amt is not None and amt != 0 and not data:
# Platform-specific: Buggy versions of Python.
# Close the connection when no data is returned
#
# This is redundant to what httplib/http.client _should_
# already do. However, versions of python released before
# December 15, 2012 (http://bugs.python.org/issue16298) do
# not properly close the connection in all cases. There is
# no harm in redundantly calling close.
self._fp.close()
if (
self.enforce_content_length
and self.length_remaining is not None
and self.length_remaining != 0
):
# This is an edge case that httplib failed to cover due
# to concerns of backward compatibility. We're
# addressing it here to make sure IncompleteRead is
# raised during streaming, so all calls with incorrect
# Content-Length are caught.
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
if data:
self._fp_bytes_read += len(data)
if self.length_remaining is not None:
self.length_remaining -= len(data)
return data
|
(self, amt: Optional[int] = None) -> bytes
|
[
-0.04919344559311867,
-0.035827260464429855,
-0.056925948709249496,
0.062375519424676895,
-0.006839582696557045,
0.014507647603750229,
-0.008386082947254181,
0.019736291840672493,
0.059392984956502914,
-0.1259293258190155,
0.0324581004679203,
0.06808284670114517,
0.003509543603286147,
-0.000324776628986001,
-0.0035486663691699505,
0.07563123852014542,
0.015511032193899155,
0.013449030928313732,
-0.02043589949607849,
0.004262081813067198,
-0.022718828171491623,
0.02437579445540905,
-0.020380668342113495,
-0.005845403764396906,
-0.010448084212839603,
0.05508487671613693,
0.003350751008838415,
-0.04182915762066841,
0.00151543237734586,
-0.021430078893899918,
0.031187759712338448,
0.014811424538493156,
0.0025751995854079723,
0.020620007067918777,
-0.0011426153359934688,
-0.0027477999683469534,
-0.010033843107521534,
-0.030524974688887596,
-0.02722945623099804,
0.033673208206892014,
-0.009785298258066177,
-0.02384188212454319,
0.02209286391735077,
-0.02205604314804077,
-0.034998778253793716,
0.011782861314713955,
-0.023878704756498337,
0.03833112120628357,
-0.01610938087105751,
0.03702395781874657,
-0.026732366532087326,
0.10494110733270645,
-0.004432381130754948,
-0.007819953374564648,
0.038257475942373276,
0.017527006566524506,
-0.062228236347436905,
0.03453851118683815,
-0.06322241574525833,
0.04216054826974869,
-0.050850410014390945,
-0.01772952452301979,
-0.0015257884515449405,
-0.09522024542093277,
-0.04208690673112869,
-0.0060203056782484055,
-0.0033668605610728264,
-0.03019358217716217,
-0.007005278952419758,
-0.014995532110333443,
0.020399078726768494,
0.12114254385232925,
-0.058582913130521774,
0.029420331120491028,
-0.004110193345695734,
0.007534587290138006,
0.021025042980909348,
0.01495871040970087,
-0.004466901067644358,
0.04970894381403923,
0.09580939263105392,
-0.010742655023932457,
0.056005410850048065,
-0.003500338178128004,
-0.00023229150974657387,
-0.04385433718562126,
-0.012657370418310165,
0.014194665476679802,
-0.04308108612895012,
0.023068632930517197,
-0.005348314065486193,
0.06878244876861572,
-0.038404762744903564,
0.007967239245772362,
0.025222687050700188,
-0.08034438639879227,
-0.017830783501267433,
0.020767292007803917,
-0.04171869158744812,
0.013577906414866447,
-0.08734045922756195,
0.08704588562250137,
-0.02953079529106617,
-0.048420194536447525,
0.035827260464429855,
-0.0062228236347436905,
0.008109922520816326,
-0.017269255593419075,
0.006591037847101688,
-0.021724650636315346,
0.07791417092084885,
-0.09536752849817276,
-0.045032620429992676,
0.04212372750043869,
-0.03452010080218315,
0.03210829570889473,
0.0007410314865410328,
0.022037632763385773,
-0.019128737971186638,
0.01745336316525936,
0.018355488777160645,
0.009776092134416103,
0.010558548383414745,
-0.030930010601878166,
0.02938351035118103,
0.027431974187493324,
-0.015768781304359436,
-0.0514763742685318,
0.05188141018152237,
0.020896168425679207,
-0.0004525010008364916,
0.029088938608765602,
0.03503560274839401,
0.04411208629608154,
-0.06841423362493515,
0.06992391496896744,
-0.014700960367918015,
0.06572627276182175,
-0.014765397645533085,
-0.011884120292961597,
0.034335993230342865,
0.0031597400084137917,
0.051955051720142365,
-0.008017868734896183,
-0.012970352545380592,
0.030543385073542595,
0.02802111580967903,
-0.04635819420218468,
-0.01042967289686203,
-0.014203870669007301,
0.0030170567333698273,
0.0038179231341928244,
-0.01652362197637558,
0.0542011596262455,
0.06940841674804688,
0.014038174413144588,
-0.0420132651925087,
-0.024744007736444473,
-0.08159631490707397,
-0.000765195582062006,
-0.0744897723197937,
0.02275565080344677,
0.04967212304472923,
-0.06992391496896744,
-0.000492486753500998,
0.0008630024967715144,
-0.019846756011247635,
-0.061307698488235474,
0.040282655507326126,
0.03059861809015274,
-0.005730336531996727,
0.06694138050079346,
-0.027395151555538177,
-0.0189446322619915,
0.06554216146469116,
0.018060917034745216,
-0.011948557570576668,
-0.015069174580276012,
-0.04392797872424126,
-0.009058074094355106,
0.007617435418069363,
-0.04403844475746155,
-0.0291441697627306,
-0.06800919771194458,
0.0419764444231987,
0.018383104354143143,
0.011101664043962955,
-0.023602543398737907,
0.04186597838997841,
0.0064805736765265465,
-0.03166643902659416,
-0.005514010787010193,
-0.002112630056217313,
-0.022792471572756767,
0.008496547117829323,
-0.04945119470357895,
0.03722647577524185,
0.03479626029729843,
0.08174359798431396,
0.023731417953968048,
-0.036490049213171005,
0.013145253993570805,
0.012896710075438023,
-0.010144307278096676,
-0.09566210210323334,
0.016569647938013077,
-0.020067686215043068,
0.028352510184049606,
-0.05670502036809921,
0.0447012297809124,
-0.0514763742685318,
0.015271692536771297,
0.005270068533718586,
0.023197507485747337,
0.023326382040977478,
0.014360361732542515,
-0.02520427666604519,
-0.04654230177402496,
0.012169485911726952,
0.039067547768354416,
0.03139027953147888,
0.00826641358435154,
-0.05854609236121178,
-0.03115093894302845,
0.041645050048828125,
-0.00010866639786399901,
-0.04864112287759781,
-0.027597669512033463,
-0.017628265544772148,
0.0406508706510067,
-0.012611343525350094,
0.04713144525885582,
0.04370705038309097,
0.07191227376461029,
0.04116637259721756,
0.0108439140021801,
-0.012961147353053093,
-0.0025314739905297756,
-0.025664543733000755,
0.007483957801014185,
-0.04981940984725952,
-0.027155812829732895,
-0.035403814166784286,
-0.0010448084212839603,
-0.022718828171491623,
-0.026493025943636894,
0.030027884989976883,
0.0623018778860569,
0.00955516379326582,
0.035201296210289,
-0.0018755921628326178,
0.0061675915494561195,
-0.03571679815649986,
-0.039067547768354416,
0.0036200080066919327,
-0.009684039279818535,
-0.05644726753234863,
-0.07062352448701859,
-0.05814105644822121,
0.027929062023758888,
0.022516310214996338,
-0.028610259294509888,
-0.02152213267982006,
-0.015630701556801796,
-0.04900933802127838,
0.004250574856996536,
0.01788601465523243,
-0.05162366107106209,
0.04492215812206268,
0.024210097268223763,
0.05269148200750351,
-0.034335993230342865,
0.008017868734896183,
0.00025530491257086396,
-0.02872072346508503,
-0.041902799159288406,
0.06016623601317406,
0.0068671987392008305,
0.011598753742873669,
-0.029825367033481598,
-0.001427981536835432,
0.023050222545862198,
0.032016243785619736,
0.00839528813958168,
-0.034335993230342865,
0.007645051460713148,
-0.02883118763566017,
-0.023676186800003052,
-0.040319476276636124,
0.004229863174259663,
0.02301339991390705,
-0.030856367200613022,
0.028094759210944176,
-0.03869933262467384,
0.048677943646907806,
-0.0447012297809124,
-0.0637379139661789,
-0.03858887031674385,
0.0002744348021224141,
-0.024210097268223763,
-0.05659455433487892,
-0.041092727333307266,
-0.024578312411904335,
0.06104994937777519,
0.02316068671643734,
-0.058840662240982056,
0.007810748182237148,
-0.04020901396870613,
-0.04849383607506752,
-0.024983348324894905,
-0.0001079472349374555,
-0.014295924454927444,
0.03998808562755585,
-0.028002705425024033,
0.03822065517306328,
-0.0005462805856950581,
0.02155895344913006,
0.06038716435432434,
0.03803654760122299,
0.030819546431303024,
-0.01679978333413601,
-0.0071985917165875435,
0.01854880154132843,
-0.00238648965023458,
-0.028278866782784462,
0.03505401313304901,
-0.027137402445077896,
0.018383104354143143,
-0.011893325485289097,
0.03293677791953087,
-0.0291441697627306,
0.04017219319939613,
-0.0223506148904562,
-0.03833112120628357,
-0.03074590303003788,
-0.03218194097280502,
0.007948828861117363,
-0.015428183600306511,
0.01610938087105751,
-0.06679409742355347,
0.0024002976715564728,
0.004639501683413982,
0.12290997058153152,
0.017527006566524506,
0.031187759712338448,
-0.0002589007490314543,
-0.005366724915802479,
-0.016689317300915718,
0.039914440363645554,
-0.009812913835048676,
-0.03742899373173714,
-0.07916609942913055,
-0.016772165894508362,
0.011018816381692886,
-0.0447380505502224,
0.04668958857655525,
-0.00012887504999525845,
0.006802760995924473,
0.021890345960855484,
0.02452307939529419,
0.012003789655864239,
0.022516310214996338,
-0.018291050568223,
0.004883443471044302,
-0.03429917246103287,
0.006802760995924473,
0.006604846101254225,
-0.0013934613671153784,
-0.019018273800611496,
0.05202869698405266,
-0.08491024374961853,
-0.0609394833445549,
-0.03958304971456528,
-0.00395830487832427,
-0.04017219319939613,
-0.03748422861099243,
-0.010383646003901958,
-0.004308108706027269,
0.02155895344913006,
0.0023289560340344906,
0.02656666934490204,
0.003716664155945182,
-0.039509404450654984,
-0.028076348826289177,
0.02073047123849392,
-0.03803654760122299,
-0.057330984622240067,
0.022792471572756767,
-0.06454798579216003,
0.028352510184049606,
-0.01979152485728264,
0.002655746415257454,
0.00476837670430541,
-0.016597265377640724,
-0.05593176931142807,
0.002439420437440276,
0.03214511647820473,
0.007414917461574078,
0.0066232564859092236,
-0.03376526013016701,
-0.016901040449738503,
0.020914578810334206,
-0.012602138333022594,
0.047352373600006104,
-0.023215917870402336,
0.06627859175205231,
0.049524836242198944,
-0.03440963476896286,
-0.00020582610159181058,
0.0020067684818059206,
-0.0013497358886525035,
0.06270691752433777,
-0.01622905023396015,
-0.024486258625984192,
0.006821171846240759,
0.00247394060716033,
-0.0291441697627306,
-0.05121862515807152,
0.07371652126312256,
-0.00006148892862256616,
0.013872478157281876,
0.014802219346165657,
0.014746987260878086,
0.024872884154319763,
-0.004480708856135607,
-0.023639364168047905,
-0.015069174580276012,
-0.020251791924238205,
-0.021577363833785057,
0.03345227986574173,
0.033120885491371155,
0.02601434849202633,
-0.035201296210289,
0.02439420484006405,
0.007470150012522936,
0.03829429671168327,
-0.03371002897620201,
-0.01938648894429207,
0.007180180866271257,
-0.006259644869714975,
0.02667713351547718,
0.030801136046648026,
-0.0018364693969488144,
-0.0016086366958916187,
0.024615133181214333,
-0.03763151168823242,
0.00048443209379911423,
-0.0111753074452281,
-0.05427480489015579,
-0.04757330194115639,
-0.035827260464429855,
-0.0446644090116024,
0.0014486935688182712,
-0.009407877922058105,
-0.07423202693462372,
0.008993636816740036,
-0.004298903048038483,
0.05895112827420235,
-0.03590090572834015,
-0.03910436853766441,
0.008597806096076965,
0.025940705090761185,
0.012169485911726952,
-0.08542574197053909,
-0.007971841841936111,
0.017913630232214928,
0.030672259628772736,
-0.016367129981517792,
-0.03639799356460571,
0.027155812829732895,
0.014765397645533085,
-0.0032932176254689693,
-0.020785704255104065,
-0.0009527548099868,
0.05040855333209038,
-0.015170433558523655,
0.030524974688887596,
0.01990198902785778,
0.006742926314473152,
-0.036232296377420425,
0.008358467370271683,
-0.025112222880125046,
0.006512792315334082,
0.010549343191087246,
-0.022148096933960915,
-0.03571679815649986,
-0.0257197767496109,
0.011359414085745811,
0.06281737983226776,
0.004110193345695734,
0.016753755509853363,
0.055600374937057495,
0.007290645502507687,
0.011377825401723385,
0.027174223214387894,
0.037594690918922424,
0.004522133152931929,
-0.0038570459000766277,
0.036637332290410995,
-0.022516310214996338,
-0.043964799493551254,
-0.04989305138587952,
-0.015474210493266582,
0.010033843107521534,
-0.005435765255242586,
-0.0013762013986706734,
-0.02207445353269577,
0.011966967955231667,
0.06104994937777519,
-0.019957220181822777,
0.025075402110815048,
0.06996073573827744,
0.01584242470562458,
0.0038179231341928244,
0.0003886388149112463,
0.028886420652270317,
0.011451467871665955,
0.031353458762168884,
-0.04006172716617584,
-0.015326924622058868,
0.06944523751735687,
0.042860157787799835,
-0.0073826988227665424,
0.038920264691114426,
-0.03536699339747429,
0.03126140311360359,
0.008528766222298145,
-0.012896710075438023,
-0.016072558239102364,
-0.025903884321451187,
0.04116637259721756,
0.002559090033173561,
0.04120319336652756,
-0.06664680689573288,
0.016486799344420433,
0.00022812033421359956,
-0.013218897394835949,
-0.035532690584659576,
-0.11974332481622696,
-0.0035992958582937717,
0.03347069025039673,
0.01292432565242052,
0.035827260464429855,
-0.0338757261633873,
-0.05335426703095436,
0.0034934342838823795,
-0.017628265544772148,
-0.01286909356713295,
0.04429619386792183,
-0.05880384147167206,
-0.00833545345813036,
-0.060497626662254333,
0.034207116812467575,
-0.01855800673365593,
0.052875589579343796,
-0.03943576291203499,
-0.0049847024492919445,
-0.03133504465222359,
-0.016321104019880295,
0.0021160822361707687,
0.02627209760248661,
-0.01320048701018095,
-0.03619547560811043,
0.003502639476209879,
-0.029493974521756172,
0.0087957214564085,
0.036895085126161575,
0.004512927960604429,
-0.009058074094355106,
-0.03781561926007271,
-0.025903884321451187,
0.08491024374961853,
0.011460673063993454,
0.053722482174634933,
0.057772841304540634,
0.002934208605438471,
-0.021098686382174492,
-0.00915012788027525,
0.0284261517226696,
-0.02544361539185047,
0.03630594164133072,
-0.05269148200750351,
-0.02925463393330574,
-0.033102475106716156,
-0.024836061522364616,
-0.02814999222755432,
-0.02546202577650547,
-0.0392884761095047,
-0.0033438471145927906,
0.004998510703444481,
0.024449435994029045,
-0.09131717681884766,
0.03571679815649986,
-0.05335426703095436,
0.058840662240982056,
0.04414890706539154,
-0.037189655005931854,
-0.011810476891696453,
0.01171842310577631,
0.05346473306417465,
-0.0009878502460196614,
0.030948420986533165,
-0.01286909356713295,
0.04389115795493126,
0.01333856675773859,
0.0460267998278141,
-0.07835602760314941,
0.08049166947603226,
0.02019656077027321,
0.016026532277464867,
-0.010494111105799675,
0.00331853237003088,
0.03479626029729843,
0.009582780301570892,
-0.03207147493958473,
0.028278866782784462,
-0.035827260464429855,
-0.0056336806155741215,
0.02371300756931305,
0.03426235169172287,
0.013982942327857018,
-0.008100717328488827,
-0.03774197772145271,
0.04054040461778641,
-0.04311790689826012,
0.01881575584411621,
-0.001231216941960156,
-0.017121970653533936,
-0.07526302337646484,
0.023639364168047905,
-0.004483010619878769,
0.006218221038579941,
0.06057127192616463,
0.04411208629608154,
-0.01583321951329708,
0.0257381871342659,
0.006245837081223726,
0.032310813665390015,
-0.008758900687098503,
0.035164475440979004,
0.0744897723197937,
-0.017987273633480072,
-0.020822525024414062,
-0.06664680689573288,
-0.017434952780604362,
-0.002793826861307025,
0.015603085979819298,
0.01462731696665287,
0.027174223214387894,
0.021485310047864914,
0.004174631088972092,
0.02899688482284546,
0.05799376964569092,
0.011773656122386456,
0.009638012386858463,
-0.03615865483880043,
0.10059617459774017,
0.02520427666604519,
0.03496195748448372,
-0.006733721122145653,
-0.025977525860071182,
-0.012758629396557808,
0.07088127732276917,
0.01841071993112564,
0.008763503283262253,
0.010696628130972385,
-0.0623018778860569,
-0.020822525024414062,
0.017784755676984787,
-0.04956166073679924,
0.0038570459000766277,
0.09927060455083847,
-0.03693190589547157,
0.0027339919470250607,
0.01164478063583374,
0.030009474605321884,
0.0406140498816967,
-0.05088723078370094,
0.017269255593419075,
0.02439420484006405,
0.04617408663034439,
0.018392309546470642,
-0.06267008930444717,
-0.0014371868455782533,
0.028536615893244743,
-0.01164478063583374,
-0.01157113816589117,
0.0007036346942186356,
-0.041645050048828125,
-0.06388519704341888,
0.01949695311486721,
-0.03586408495903015,
-0.015161228366196156,
0.047315552830696106,
-0.0541643388569355,
-0.03185054659843445,
-0.012132665142416954,
-0.02409963309764862,
0.018245024606585503,
0.025701366364955902,
0.040429942309856415,
-0.027689723297953606,
0.03884661942720413,
-0.04359658434987068,
-0.0029388112016022205,
-0.014341951347887516,
-0.025572489947080612,
0.03632435202598572,
-0.0032771083060652018,
0.05456937476992607,
-0.019036684185266495,
0.04635819420218468,
-0.00013376539573073387,
-0.006784350611269474,
0.0031459317542612553,
0.073127381503582,
-0.0433388352394104,
0.030451331287622452,
-0.054937589913606644,
0.020527953281998634,
-0.04484851658344269,
0.021706240251660347,
-0.0005261438782326877,
0.04120319336652756,
-0.03917801380157471,
-0.023455258458852768,
-0.049524836242198944,
0.013504263013601303,
-0.004165425430983305,
0.028407741338014603,
0.0771777406334877,
-0.010650602169334888,
0.0216878280043602,
-0.0433756560087204,
-0.02155895344913006,
-0.02697170525789261,
0.03133504465222359,
-0.004413970280438662,
0.042860157787799835,
0.036508459597826004,
-0.020159738138318062,
0.003359956433996558,
-0.02814999222755432,
-0.006706105079501867,
0.014415593817830086,
-0.0433020144701004,
0.02733992040157318,
0.026087990030646324,
0.019957220181822777,
0.050739943981170654,
0.0007646202575415373,
-0.03113252855837345,
-0.011193717829883099,
0.04411208629608154,
0.0038271285593509674,
0.02030702494084835,
-0.11878596991300583,
0.0055600376799702644,
-0.00259130890481174,
0.02697170525789261,
-0.023215917870402336,
0.04794151708483696,
0.028131579980254173,
0.07198591530323029,
-0.07239095121622086,
0.014443210326135159,
-0.025627722963690758,
0.06867198646068573
] |
710,091
|
urllib3_future.response
|
drain_conn
|
Read and discard any remaining HTTP response data in the response connection.
Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
|
def drain_conn(self) -> None:
"""
Read and discard any remaining HTTP response data in the response connection.
Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
"""
try:
self.read()
except (HTTPError, OSError, BaseSSLError):
pass
|
(self) -> NoneType
|
[
-0.051977161318063736,
-0.016639582812786102,
-0.06093623861670494,
0.009657305665314198,
-0.031610675156116486,
0.032372377812862396,
-0.039427198469638824,
0.014553967863321304,
0.020674794912338257,
-0.09851358830928802,
0.0028133138548582792,
0.0196229200810194,
0.056837551295757294,
0.04577472433447838,
-0.024374496191740036,
0.006787317804992199,
-0.0025344761088490486,
-0.0020448097493499517,
-0.017881885170936584,
-0.02288736216723919,
-0.05324666574597359,
0.029978454113006592,
0.044831663370132446,
0.021563449874520302,
-0.060646068304777145,
0.012368605472147465,
-0.014844140969216824,
-0.0738489180803299,
0.017446625977754593,
0.002622887957841158,
0.004656362812966108,
0.01602296717464924,
0.0035410120617598295,
0.019568512216210365,
0.005454337690025568,
0.04787847399711609,
0.011606902815401554,
-0.03275322914123535,
0.0012241655495017767,
0.05310158059000969,
-0.05839722976088524,
-0.010654774494469166,
-0.01400989480316639,
-0.035310376435518265,
0.030776428058743477,
0.014127776958048344,
-0.03982618451118469,
-0.017283404245972633,
0.0073767309077084064,
-0.007925338111817837,
-0.024592125788331032,
0.10895980149507523,
-0.010192311368882656,
0.019477833062410355,
0.07957983016967773,
-0.0020629456266760826,
-0.03532851114869118,
0.055749405175447464,
-0.032771363854408264,
-0.03224542737007141,
-0.06601426005363464,
-0.011715717613697052,
-0.04258282482624054,
-0.03705140948295593,
0.017446625977754593,
0.007580758538097143,
-0.039608556777238846,
-0.012042162008583546,
0.024700939655303955,
-0.046246252954006195,
0.013910147361457348,
0.020312080159783363,
-0.061915572732686996,
0.04740694537758827,
-0.009348997846245766,
-0.032862044870853424,
0.008233646862208843,
-0.0082427142187953,
-0.013746925629675388,
0.011334866285324097,
0.0589413046836853,
0.014454221352934837,
0.020475301891565323,
0.021400226280093193,
0.051288001239299774,
-0.08835754543542862,
0.004227905068546534,
-0.019804278388619423,
-0.08712431788444519,
0.058034513145685196,
0.010029089637100697,
0.027294358238577843,
-0.012323266826570034,
0.010781724937260151,
0.08966332674026489,
-0.009766120463609695,
-0.04392487183213234,
0.035147152841091156,
-0.03576377034187317,
-0.026478247717022896,
-0.03273509442806244,
0.025480778887867928,
-0.040515344589948654,
-0.013619975186884403,
0.006456339731812477,
-0.011507156305015087,
0.05067138373851776,
-0.01434540655463934,
-0.029905911535024643,
-0.01761891506612301,
0.015043633989989758,
-0.0340227335691452,
-0.015932288020849228,
0.008165637962520123,
-0.027929110452532768,
0.022234473377466202,
-0.07943474501371384,
-0.017881885170936584,
-0.02986963838338852,
0.0015086706262081861,
-0.01726526767015457,
0.0065606203861534595,
-0.012948950752615929,
-0.021908029913902283,
0.02743944339454174,
0.07696827501058578,
-0.023195669054985046,
-0.02279668301343918,
-0.00039303649100475013,
0.04628252610564232,
-0.03523783013224602,
0.0523761510848999,
-0.004674498923122883,
0.0017149652121588588,
-0.046500153839588165,
0.010237650945782661,
-0.004493141081184149,
0.024102458730340004,
0.019223932176828384,
-0.03543732687830925,
0.03317035362124443,
0.025535186752676964,
0.020312080159783363,
-0.006256846245378256,
0.055676862597465515,
0.00279971188865602,
0.0031624275725334883,
-0.038919396698474884,
-0.0070185489021241665,
-0.04319944232702255,
-0.02751198783516884,
0.0026840963400900364,
0.0014962023124098778,
0.005971207283437252,
0.005676500964909792,
0.02568027190864086,
-0.059122662991285324,
0.04526692256331444,
-0.041023146361112595,
-0.035890720784664154,
0.018326211720705032,
-0.004622358363121748,
0.0419299378991127,
-0.06949633359909058,
-0.03997127339243889,
-0.01519778836518526,
0.0176823902875185,
-0.021509042009711266,
0.03692445904016495,
-0.0035999533720314503,
-0.03899193927645683,
0.010990286245942116,
-0.03873803839087486,
-0.021345820277929306,
0.010029089637100697,
0.045992352068424225,
0.035310376435518265,
0.029652008786797523,
-0.038665495812892914,
-0.02002190798521042,
0.012948950752615929,
-0.05865113064646721,
-0.03590885549783707,
0.021762942895293236,
0.03375069797039032,
-0.004805983044207096,
0.019151389598846436,
-0.020819881930947304,
0.03213661164045334,
0.0405878871679306,
-0.009448744356632233,
0.006791851948946714,
-0.0295431949198246,
-0.008736914955079556,
0.05313785374164581,
-0.045158106833696365,
0.009194843471050262,
0.02011258713901043,
0.07047566026449203,
0.012731321156024933,
-0.021490905433893204,
0.03710581734776497,
0.00911776628345251,
-0.035727497190237045,
-0.002346317283809185,
0.001819245982915163,
-0.027566393837332726,
-0.014671850949525833,
-0.0346212163567543,
0.06104505434632301,
0.00007158676453400403,
0.062242016196250916,
0.04668151214718819,
-0.0030785496346652508,
0.03815769404172897,
0.02794724516570568,
-0.013347938656806946,
-0.0537181980907917,
0.024356359615921974,
0.0008093094220384955,
-0.026387568563222885,
-0.05136054381728172,
-0.03097592294216156,
-0.01624966412782669,
-0.01953224092721939,
0.0025344761088490486,
-0.036072079092264175,
-0.03054066374897957,
0.023939236998558044,
0.020565981045365334,
-0.014191252179443836,
0.07181771099567413,
0.06572408974170685,
-0.035981398075819016,
0.04805983230471611,
0.02198057249188423,
-0.07145499438047409,
0.021817350760102272,
-0.039681099355220795,
0.008301655761897564,
-0.036851916462183,
-0.025063656270503998,
-0.040769245475530624,
-0.03502020239830017,
-0.041023146361112595,
0.04628252610564232,
0.030014725401997566,
0.07558995485305786,
0.040261443704366684,
-0.007036685012280941,
0.04261909797787666,
-0.03199152648448944,
0.029506923630833626,
-0.07272449880838394,
-0.0025752815417945385,
-0.07221669703722,
-0.06757393479347229,
-0.07221669703722,
-0.03300713002681732,
-0.011498088017106056,
0.048350006341934204,
0.022161930799484253,
-0.0525212362408638,
0.06235083192586899,
-0.00034599678474478424,
0.026296889409422874,
0.03482070937752724,
-0.02952505834400654,
0.0018124451162293553,
0.016848145052790642,
0.06891598552465439,
-0.006492611486464739,
0.027312492951750755,
-0.02355838567018509,
-0.021835485473275185,
0.024356359615921974,
0.057200267910957336,
0.013257259503006935,
-0.0422201082110405,
0.005078020039945841,
0.0760977566242218,
0.03175576031208038,
0.06195184588432312,
-0.0015234060119837523,
-0.012695049867033958,
-0.021690400317311287,
-0.012894543819129467,
0.03855668008327484,
-0.020511573180556297,
-0.0014247926883399487,
-0.003951334394514561,
-0.02272414043545723,
0.0043367198668420315,
0.025208741426467896,
0.008736914955079556,
0.011960551142692566,
-0.018317144364118576,
0.0007106960983946919,
-0.009158572182059288,
0.018026970326900482,
-0.04711677134037018,
-0.06463593989610672,
-0.014399813488125801,
0.07410281896591187,
-0.014318202622234821,
-0.06706613302230835,
0.028382504358887672,
0.024320088326931,
-0.05832468718290329,
0.018153920769691467,
0.007000413257628679,
0.0033936589024960995,
-0.000910189759451896,
0.005055350251495838,
-0.0016696257516741753,
0.020402759313583374,
0.008215511217713356,
0.08784974366426468,
-0.019477833062410355,
0.016467293724417686,
-0.08320698142051697,
-0.031266093254089355,
0.03949974104762077,
-0.020420894026756287,
0.0013760527363047004,
0.046826597303152084,
0.007009481079876423,
0.03391391783952713,
-0.004110022448003292,
0.018507570028305054,
0.013021494261920452,
0.005735442042350769,
-0.059557922184467316,
-0.06601426005363464,
-0.03427663445472717,
-0.06264100223779678,
-0.011253255419433117,
-0.0381939634680748,
0.00946688000112772,
-0.06521628797054291,
-0.025607729330658913,
0.008995349518954754,
0.09372574090957642,
0.019641056656837463,
-0.002305511850863695,
0.013003358617424965,
-0.03175576031208038,
-0.0048649245873093605,
0.006451805587857962,
-0.018199261277914047,
0.01662144809961319,
0.02635129727423191,
-0.008800390176475048,
0.06746512651443481,
0.025099927559494972,
0.0031057533342391253,
-0.016975095495581627,
0.07062075287103653,
-0.003584084566682577,
-0.043380800634622574,
-0.015415417961776257,
0.013647179119288921,
-0.031012194231152534,
-0.001617485424503684,
-0.011978686787188053,
-0.022161930799484253,
0.016603311523795128,
0.0189518965780735,
-0.002457398921251297,
0.010047225281596184,
-0.10388178378343582,
-0.05469752848148346,
-0.03561868146061897,
-0.01902443915605545,
-0.029851503670215607,
0.008319791406393051,
0.0019915360026061535,
0.0014111908385530114,
-0.0009498617728240788,
0.07254314422607422,
-0.012368605472147465,
-0.022452102974057198,
-0.0003111420664936304,
-0.060428436845541,
-0.012921747751533985,
-0.07754862308502197,
-0.05027239769697189,
-0.009602898731827736,
-0.034312907606363297,
0.03844786435365677,
0.04377978667616844,
0.003255373565480113,
-0.014073370024561882,
0.018734266981482506,
-0.06354779005050659,
0.01844409480690956,
0.022706003859639168,
-0.006352059077471495,
-0.010908675380051136,
-0.003291645087301731,
-0.00425284169614315,
0.05107037350535393,
-0.036652423441410065,
0.03030489757657051,
-0.01763705164194107,
0.04066043347120285,
0.07272449880838394,
-0.0189518965780735,
0.052231062203645706,
-0.026967912912368774,
-0.028890306130051613,
-0.025045519694685936,
0.0007787052891217172,
-0.006329389289021492,
0.006420067977160215,
-0.0004426265077199787,
0.04272790998220444,
0.00603921664878726,
0.06060979515314102,
0.012695049867033958,
0.03191898390650749,
0.011298594065010548,
-0.00011483635898912326,
-0.008342461660504341,
-0.03474816679954529,
-0.047334399074316025,
0.03543732687830925,
-0.04399741441011429,
-0.02196243591606617,
-0.009766120463609695,
0.012967086397111416,
-0.013864807784557343,
-0.022615324705839157,
-0.025861630216240883,
0.014617443084716797,
0.05622093752026558,
-0.049873411655426025,
0.020856153219938278,
0.02937997318804264,
-0.01985868625342846,
-0.0005491742631420493,
0.040188901126384735,
0.024592125788331032,
-0.03627157211303711,
0.07493706792593002,
0.006710240617394447,
0.038919396698474884,
0.030250489711761475,
-0.06079115346074104,
-0.05009103938937187,
-0.012613439001142979,
-0.01241394504904747,
0.012096568942070007,
-0.0027770421002060175,
-0.08690668642520905,
0.0014213921967893839,
0.04762457311153412,
0.013665314763784409,
-0.026949778199195862,
0.015596775338053703,
-0.0032440386712551117,
0.01207843329757452,
0.04802355915307999,
-0.019550377503037453,
-0.029089801013469696,
0.018489433452486992,
0.01641288585960865,
0.023540249094367027,
0.00043185841059312224,
0.004828652832657099,
-0.057272810488939285,
0.012513692490756512,
-0.0013409146340563893,
-0.02212565951049328,
0.013873876072466373,
-0.043562158942222595,
0.02473721094429493,
0.005055350251495838,
0.05092528462409973,
0.0023009777069091797,
-0.031773895025253296,
-0.004647294990718365,
0.04932933673262596,
-0.026115531101822853,
-0.03569122776389122,
-0.0302867628633976,
0.04562963545322418,
-0.04004381597042084,
0.0014678651932626963,
-0.011461816728115082,
-0.008614498190581799,
0.05814332887530327,
-0.048350006341934204,
-0.010845200158655643,
-0.013656246475875378,
0.030032861977815628,
-0.0693875178694725,
-0.0071545676328241825,
0.06510747224092484,
-0.05959419161081314,
0.005667433142662048,
-0.06380169093608856,
-0.03873803839087486,
0.021273275837302208,
0.027475714683532715,
0.013674382120370865,
-0.0184259582310915,
0.05839722976088524,
0.03532851114869118,
-0.007594360504299402,
-0.03184644132852554,
0.05502397567033768,
-0.008632633835077286,
0.036851916462183,
0.004125891253352165,
0.028346233069896698,
-0.00860089622437954,
0.030105404555797577,
-0.004488606937229633,
0.004264176823198795,
0.0523761510848999,
0.08487547934055328,
0.01287640817463398,
0.01644008979201317,
-0.06423695385456085,
-0.028636405244469643,
0.008288053795695305,
-0.011325797997415066,
-0.04773338884115219,
0.01721992902457714,
0.014544900506734848,
0.0008637168211862445,
0.0005582421435974538,
-0.05687382444739342,
0.015007362700998783,
0.008034152910113335,
-0.05680128186941147,
-0.03913702443242073,
-0.07014922052621841,
-0.03739599138498306,
0.007807455956935883,
0.031102873384952545,
0.09844104200601578,
-0.050780199468135834,
-0.06706613302230835,
0.022107522934675217,
-0.02669587731361389,
0.09249250590801239,
0.002186495577916503,
-0.00975705310702324,
-0.02045716717839241,
-0.015043633989989758,
0.03507461026310921,
-0.036307841539382935,
0.013810400851070881,
-0.040370259433984756,
-0.005721840541809797,
-0.02263346128165722,
0.016358477994799614,
0.024193137884140015,
0.03473002836108208,
-0.006542484741657972,
-0.002563946647569537,
0.05473380163311958,
0.0511791855096817,
0.04316316917538643,
0.05375446751713753,
0.04116823524236679,
0.02002190798521042,
-0.04334452748298645,
-0.0017172321677207947,
-0.00698681129142642,
-0.013193784281611443,
0.0007225977024063468,
0.04664524272084236,
-0.005944003816694021,
-0.017519168555736542,
0.009403404779732227,
-0.014508628286421299,
0.033533066511154175,
0.043562158942222595,
-0.01761891506612301,
-0.03518342599272728,
-0.07979745417833328,
-0.007453808095306158,
0.0028291826602071524,
0.0007883399375714362,
0.022488374263048172,
0.03132050111889839,
0.018734266981482506,
0.020384622737765312,
-0.03460307791829109,
0.012368605472147465,
-0.06913361698389053,
0.047334399074316025,
0.032354243099689484,
-0.03300713002681732,
-0.00975705310702324,
-0.01608644239604473,
0.0523761510848999,
0.020348351448774338,
0.07450180500745773,
-0.035564277321100235,
-0.01397362258285284,
-0.006760114338248968,
0.07261568307876587,
-0.0422201082110405,
0.025263149291276932,
-0.010210447013378143,
-0.0008506816811859608,
-0.02609739638864994,
0.005014544818550348,
0.04105941951274872,
0.020076313987374306,
-0.05208597704768181,
-0.0016480894992128015,
-0.05792570114135742,
-0.0002636773278936744,
-0.027584530413150787,
0.015424485318362713,
0.06648579239845276,
-0.027167407795786858,
-0.022996176034212112,
0.057599253952503204,
-0.05603957921266556,
0.052811406552791595,
0.022941768169403076,
-0.0015200055204331875,
-0.09147690236568451,
0.07388518750667572,
-0.03333357349038124,
-0.03710581734776497,
0.03677937388420105,
0.04976459592580795,
-0.011679446324706078,
0.08045034855604172,
0.026115531101822853,
0.009358065202832222,
0.05538668856024742,
0.0009232248412445188,
0.10866963118314743,
-0.06732003390789032,
0.005513278767466545,
-0.06100878491997719,
-0.043308258056640625,
-0.000467846606625244,
-0.007014015223830938,
-0.00709109241142869,
0.013248191215097904,
-0.018625451251864433,
0.008891069330275059,
0.025480778887867928,
0.09350810945034027,
-0.006506212987005711,
-0.005277513526380062,
-0.03046811930835247,
0.00534552289173007,
0.02896285057067871,
-0.0041712308302521706,
0.01927834004163742,
-0.033696290105581284,
-0.042800452560186386,
0.04628252610564232,
-0.0017603046726435423,
0.052303604781627655,
0.028745220974087715,
-0.09553931653499603,
0.000030356188290170394,
-0.013919215649366379,
0.019550377503037453,
-0.03873803839087486,
0.022959904745221138,
-0.035147152841091156,
0.00023675701231695712,
-0.014717190526425838,
0.013520228676497936,
0.019260205328464508,
-0.07413909584283829,
-0.01858917996287346,
0.04163976386189461,
0.0009606298990547657,
0.010990286245942116,
-0.04385232925415039,
-0.02769334428012371,
0.013502092100679874,
-0.007730378769338131,
-0.03385951370000839,
-0.023195669054985046,
-0.02568027190864086,
-0.035890720784664154,
0.018988167867064476,
-0.004264176823198795,
0.010545959696173668,
0.026949778199195862,
-0.08168357610702515,
-0.015778133645653725,
0.0095484908670187,
-0.05872367322444916,
0.009312725625932217,
0.025462642312049866,
0.0816110372543335,
-0.01703857071697712,
-0.008351529017090797,
-0.016521701589226723,
0.04795101657509804,
0.032263562083244324,
0.0029720019083470106,
-0.005313785281032324,
0.0027453044895082712,
0.03873803839087486,
-0.007861862890422344,
0.04802355915307999,
-0.02279668301343918,
0.02237956039607525,
0.0014519963879138231,
0.03391391783952713,
-0.040515344589948654,
-0.0022080319467931986,
-0.03411341458559036,
0.028654541820287704,
-0.06503492593765259,
-0.01721992902457714,
0.025063656270503998,
0.024428904056549072,
0.023286348208785057,
0.00946688000112772,
-0.046572696417570114,
-0.004846788942813873,
0.029089801013469696,
0.06274981796741486,
-0.013619975186884403,
0.013094037771224976,
-0.016938824206590652,
0.0288721714168787,
-0.020819881930947304,
-0.034893251955509186,
0.027312492951750755,
0.029561331495642662,
0.09089656174182892,
0.013928283005952835,
-0.014055234380066395,
-0.08502056449651718,
0.027548259124159813,
-0.03601767122745514,
0.009485015645623207,
-0.07464689761400223,
-0.004586086608469486,
0.0408780612051487,
0.005871460773050785,
0.030105404555797577,
0.025299420580267906,
-0.0036951664369553328,
0.008383266627788544,
0.06525255739688873,
0.018824946135282516,
-0.002722634933888912,
-0.051142916083335876,
0.023630928248167038,
-0.024048052728176117,
0.051469359546899796,
0.024447038769721985,
0.07522723823785782,
-0.004606489557772875,
0.022597188130021095,
-0.024809755384922028,
0.005059884395450354,
0.0322272926568985,
0.021073782816529274
] |
710,100
|
urllib3_future.response
|
read
|
Similar to :meth:`http.client.HTTPResponse.read`, but with two additional
parameters: ``decode_content`` and ``cache_content``.
:param amt:
How much of the content to read. If specified, caching is skipped
because it doesn't make sense to cache partial content as the full
response.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param cache_content:
If True, will save the returned data such that the same result is
returned despite of the state of the underlying file object. This
is useful if you want the ``.data`` property to continue working
after having ``.read()`` the file object. (Overridden if ``amt`` is
set.)
|
def read(
self,
amt: int | None = None,
decode_content: bool | None = None,
cache_content: bool = False,
) -> bytes:
"""
Similar to :meth:`http.client.HTTPResponse.read`, but with two additional
parameters: ``decode_content`` and ``cache_content``.
:param amt:
How much of the content to read. If specified, caching is skipped
because it doesn't make sense to cache partial content as the full
response.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param cache_content:
If True, will save the returned data such that the same result is
returned despite of the state of the underlying file object. This
is useful if you want the ``.data`` property to continue working
after having ``.read()`` the file object. (Overridden if ``amt`` is
set.)
"""
try:
self._init_decoder()
if decode_content is None:
decode_content = self.decode_content
if amt is not None:
cache_content = False
if amt < 0 and len(self._decoded_buffer):
return self._decoded_buffer.get(len(self._decoded_buffer))
if 0 < amt <= len(self._decoded_buffer):
return self._decoded_buffer.get(amt)
if self._police_officer is not None and not self._police_officer.busy:
with self._police_officer.borrow(self):
data = self._raw_read(amt)
else:
data = self._raw_read(amt)
if amt and amt < 0:
amt = len(data)
flush_decoder = False
if amt is None:
flush_decoder = True
elif amt != 0 and not data:
flush_decoder = True
if not data and len(self._decoded_buffer) == 0:
return data
if amt is None:
data = self._decode(data, decode_content, flush_decoder)
if cache_content:
self._body = data
else:
# do not waste memory on buffer when not decoding
if not decode_content:
if self._has_decoded_content:
raise RuntimeError(
"Calling read(decode_content=False) is not supported after "
"read(decode_content=True) was called."
)
return data
decoded_data = self._decode(data, decode_content, flush_decoder)
self._decoded_buffer.put(decoded_data)
while len(self._decoded_buffer) < amt and data:
# TODO make sure to initially read enough data to get past the headers
# For example, the GZ file header takes 10 bytes, we don't want to read
# it one byte at a time
if (
self._police_officer is not None
and not self._police_officer.busy
):
with self._police_officer.borrow(self):
data = self._raw_read(amt)
else:
data = self._raw_read(amt)
decoded_data = self._decode(data, decode_content, flush_decoder)
self._decoded_buffer.put(decoded_data)
data = self._decoded_buffer.get(amt)
return data
finally:
if (
hasattr(self._fp, "_eot")
and self._fp._eot # type: ignore[union-attr]
and self._police_officer is not None
):
self._police_officer.forget(self)
if self._police_officer.busy:
self._police_officer.release()
self._police_officer = None
|
(self, amt: Optional[int] = None, decode_content: Optional[bool] = None, cache_content: bool = False) -> bytes
|
[
0.026936490088701248,
-0.044103268533945084,
-0.056544698774814606,
0.020556271076202393,
0.0036337345372885466,
0.021114539355039597,
0.006150930654257536,
-0.006669323425740004,
0.008119826205074787,
-0.07209648191928864,
0.08302260935306549,
0.06894624978303909,
-0.007601433899253607,
0.053274836391210556,
0.011464457958936691,
0.06567639112472534,
0.015601631253957748,
-0.011504333466291428,
-0.03355596959590912,
-0.04561857134103775,
-0.023287802934646606,
-0.011414611712098122,
0.0095753138884902,
0.017266469076275826,
-0.02889043278992176,
-0.004570829216390848,
-0.0001441624335711822,
-0.0443425290286541,
0.003693549195304513,
0.024683475494384766,
0.06212738901376724,
-0.012890038080513477,
-0.04494067281484604,
0.023806195706129074,
-0.02908981405198574,
0.05351409316062927,
-0.011793437413871288,
-0.025181930512189865,
-0.01937991753220558,
0.03959723934531212,
-0.018482699990272522,
-0.005871796049177647,
0.06731131672859192,
-0.016488879919052124,
-0.08206557482481003,
-0.0007165286224335432,
-0.038241442292928696,
-0.013587874360382557,
0.022111449390649796,
0.01920047402381897,
0.010063800029456615,
0.024504031985998154,
-0.01895124651491642,
-0.015202867798507214,
0.04366463050246239,
0.006430065259337425,
-0.04964608699083328,
0.06260591000318527,
-0.009216426871716976,
0.02117435447871685,
-0.0554281584918499,
-0.05016447976231575,
0.028631236404180527,
-0.06376232206821442,
-0.022051634266972542,
0.01845279149711132,
0.03218023478984833,
-0.00918651930987835,
-0.01984846591949463,
-0.03164190426468849,
0.025481002405285835,
0.057342223823070526,
-0.049127694219350815,
0.021612994372844696,
0.014664536342024803,
-0.021134478971362114,
0.018363069742918015,
-0.008708002977073193,
-0.01193300448358059,
0.027534635737538338,
0.08716975152492523,
0.0023576905950903893,
0.047652266919612885,
-0.035270653665065765,
0.03604824095964432,
-0.02524174377322197,
0.09315121173858643,
-0.002684178529307246,
-0.013896916061639786,
0.03842088580131531,
0.027275439351797104,
0.02484298124909401,
-0.0007345975609496236,
-0.03513108566403389,
0.0015240251086652279,
-0.07345227897167206,
-0.016997303813695908,
0.0534343421459198,
-0.013518090359866619,
0.03096400387585163,
-0.057740990072488785,
0.07708103209733963,
-0.039338041096925735,
0.002863622037693858,
0.019958125427365303,
0.035868797451257706,
0.010327980853617191,
0.0001534305774839595,
0.015013454481959343,
-0.05195891484618187,
0.03285813331604004,
-0.03423386812210083,
-0.025780076161026955,
0.030306044965982437,
-0.007142855320125818,
0.05235767737030983,
-0.036666326224803925,
-0.002250522840768099,
-0.0342538058757782,
0.022889038547873497,
-0.035888735204935074,
0.008782771416008472,
-0.009500546380877495,
-0.012421490624547005,
0.0073272837325930595,
0.006679292768239975,
-0.020366858690977097,
-0.03941779583692551,
0.07173759490251541,
-0.0040474520064890385,
0.020017940551042557,
0.012870099395513535,
0.04860930144786835,
0.06132986396551132,
-0.04569832608103752,
0.0726148784160614,
0.0010442625498399138,
0.012431459501385689,
-0.029368950054049492,
0.022809285670518875,
0.001335858483798802,
0.026956427842378616,
0.03897915408015251,
-0.004595751874148846,
-0.01852257549762726,
-0.004573321435600519,
0.04462166130542755,
-0.0630844235420227,
-0.022410521283745766,
0.01670820079743862,
-0.0037309331819415092,
-0.02422489784657955,
-0.029069876298308372,
0.027056120336055756,
0.07732029259204865,
-0.038261380046606064,
-0.03134283050894737,
0.03642706573009491,
-0.06491873413324356,
0.030644994229078293,
-0.007053133565932512,
0.00891236960887909,
0.020187415182590485,
-0.008882462047040462,
0.008902400732040405,
-0.00412720488384366,
0.0030580193269997835,
-0.03584885969758034,
0.03700527548789978,
0.04073371738195419,
-0.022809285670518875,
0.05538828298449516,
-0.0629647970199585,
-0.042986731976270676,
0.010008970275521278,
-0.021393675357103348,
0.017685171216726303,
0.004214434418827295,
-0.05295582488179207,
-0.032598935067653656,
0.006375235505402088,
-0.03907884657382965,
-0.04175056517124176,
-0.011434550397098064,
-0.015741199254989624,
0.02741500735282898,
0.013926823623478413,
-0.03006678633391857,
0.07082044333219528,
0.007192701101303101,
-0.04721362516283989,
0.014285710640251637,
-0.009819556958973408,
-0.03441331163048744,
-0.016120024025440216,
-0.07101982086896896,
-0.0022094002924859524,
0.020536333322525024,
0.02286910079419613,
-0.01434552576392889,
-0.0777190551161766,
0.02306848205626011,
0.03483201190829277,
-0.003484198125079274,
-0.08310236036777496,
0.05562753975391388,
-0.027953337877988815,
0.013936792500317097,
-0.03467250615358353,
0.053394462913274765,
-0.05064299330115318,
0.004122219979763031,
-0.004461169242858887,
-0.017445914447307587,
0.045459065586328506,
0.038939278572797775,
-0.039537426084280014,
-0.014116236008703709,
-0.001601285650394857,
0.027155810967087746,
0.028152719140052795,
0.006459972355514765,
-0.07520683854818344,
-0.002181985415518284,
0.0039128693751990795,
-0.011185322888195515,
-0.043983642011880875,
0.020516393706202507,
-0.007795831188559532,
0.0022044158540666103,
-0.006644400767982006,
0.05283619463443756,
0.07544609904289246,
0.002391336252912879,
0.033197082579135895,
0.03692552074790001,
-0.029767712578177452,
0.045179933309555054,
-0.054271746426820755,
0.05638519302010536,
0.011594056151807308,
0.010756651870906353,
-0.019509516656398773,
0.024324588477611542,
-0.04370450600981712,
0.0025097192265093327,
0.024862919002771378,
0.04928719997406006,
-0.00989930983632803,
-0.004608213435858488,
0.010467547923326492,
-0.007342237513512373,
-0.008468745276331902,
-0.031322892755270004,
-0.00024486586335115135,
0.0009782173437997699,
-0.018113842234015465,
-0.10503436625003815,
-0.0075067272409796715,
0.03066493198275566,
0.03582892194390297,
-0.035370342433452606,
-0.009545407257974148,
0.007451897487044334,
-0.04521980881690979,
-0.006923535373061895,
0.0022916453890502453,
-0.044980548322200775,
-0.031701717525720596,
-0.0037982244975864887,
-0.04107266664505005,
-0.016409127041697502,
0.044860921800136566,
-0.030644994229078293,
0.003932807594537735,
-0.019908279180526733,
0.08637222647666931,
0.01727643981575966,
-0.009336056187748909,
0.00398265291005373,
-0.02791346237063408,
0.009370948188006878,
0.04222907871007919,
-0.002619379200041294,
0.019669020548462868,
-0.0032947855070233345,
-0.03897915408015251,
0.025899704545736313,
0.0008305500959977508,
-0.022809285670518875,
0.04326586425304413,
-0.02819259651005268,
0.0033545999322086573,
-0.008593359030783176,
0.04900806397199631,
-0.03792243078351021,
-0.03856045380234718,
-0.06356293708086014,
0.012271953746676445,
-0.013388492166996002,
-0.053075455129146576,
-0.017416005954146385,
0.048848558217287064,
0.03158208727836609,
-0.01059714611619711,
-0.033894918859004974,
0.005101683549582958,
-0.04541919007897377,
-0.01692751981317997,
-0.0058618271723389626,
0.044103268533945084,
-0.019908279180526733,
0.02107466384768486,
-0.005532846786081791,
-0.023307740688323975,
-0.0030904188752174377,
0.024783166125416756,
0.09012060612440109,
0.06364269554615021,
-0.004069882445037365,
0.009017044678330421,
0.008005182258784771,
0.014265772886574268,
-0.009859433397650719,
0.028451792895793915,
0.012900006957352161,
-0.016997303813695908,
0.07325290143489838,
-0.005044361110776663,
0.03078456036746502,
-0.036865707486867905,
0.015990426763892174,
-0.03313726559281349,
-0.03018641471862793,
-0.0018417900428175926,
-0.00876283273100853,
-0.019409824162721634,
-0.035270653665065765,
0.05016447976231575,
-0.05175953358411789,
0.011404642835259438,
-0.05363372340798378,
0.02027713693678379,
0.020366858690977097,
-0.007023226469755173,
0.005762136075645685,
0.06591564416885376,
-0.0011937989620491862,
0.06025319918990135,
-0.000841765315271914,
-0.05502939596772194,
-0.05479013919830322,
0.05375335365533829,
0.013737411238253117,
-0.07097994536161423,
0.0035116132348775864,
-0.030944066122174263,
-0.010447610169649124,
-0.011354797519743443,
0.011205260641872883,
-0.028053028509020805,
0.02651778794825077,
-0.05008472502231598,
0.006998303811997175,
-0.1054331362247467,
-0.023128297179937363,
-0.015103176236152649,
0.03732428699731827,
-0.005059314891695976,
0.0029957126826047897,
-0.04677498713135719,
-0.009510515257716179,
-0.06420096009969711,
0.0433456189930439,
0.008284316398203373,
-0.0403548888862133,
-0.026697231456637383,
0.016060208901762962,
0.008623265661299229,
0.09227392822504044,
0.03395473212003708,
0.02434452623128891,
-0.05969493091106415,
-0.01785464584827423,
0.05096200481057167,
-0.012052633799612522,
-0.03443324938416481,
0.010507424362003803,
-0.02334761619567871,
-0.03443324938416481,
0.0327584408223629,
0.009535437449812889,
0.0005420694360509515,
-0.011095601134002209,
-0.021413613110780716,
-0.009111751802265644,
-0.012481304816901684,
0.04294685646891594,
-0.017286408692598343,
-0.002524673007428646,
0.03562954068183899,
0.05455087870359421,
0.03076462261378765,
0.04198982194066048,
-0.018791740760207176,
0.027973275631666183,
0.10758645832538605,
-0.04510017856955528,
-0.0047228578478097916,
0.008937292732298374,
-0.015452095307409763,
0.022011758759617805,
-0.022689657285809517,
-0.034592755138874054,
0.009276241064071655,
0.014684475027024746,
-0.02464359998703003,
-0.046176839619874954,
0.04601733386516571,
-0.0008168425993062556,
0.04238858446478844,
0.04005581885576248,
-0.018642203882336617,
-0.012989728711545467,
-0.017386099323630333,
-0.01251121237874031,
-0.02177250012755394,
-0.010143552906811237,
-0.019210442900657654,
0.03016647696495056,
0.04183031618595123,
-0.023307740688323975,
-0.06077159196138382,
-0.003033096669241786,
0.024424279108643532,
0.013567936606705189,
-0.05738210305571556,
-0.037344224750995636,
-0.024484094232320786,
-0.03066493198275566,
0.040414705872535706,
0.044103268533945084,
0.007043164689093828,
0.016169870272278786,
0.019639113917946815,
-0.013817163184285164,
-0.0028960215859115124,
0.03560960292816162,
-0.036447007209062576,
-0.0716179683804512,
0.061888132244348526,
0.001036785775795579,
0.01785464584827423,
0.00038661391590721905,
-0.07054130733013153,
0.021493365988135338,
0.053673598915338516,
0.045259684324264526,
-0.05638519302010536,
-0.0005601384327746928,
0.000571353652048856,
-0.0060013942420482635,
0.030904190614819527,
-0.07082044333219528,
0.006574617233127356,
0.04920744523406029,
-0.01017345953732729,
0.009694943204522133,
-0.04829028993844986,
0.044382404536008835,
-0.03341640159487724,
-0.030126599594950676,
-0.016010364517569542,
-0.03158208727836609,
0.028770804405212402,
0.0002810038276948035,
0.023686565458774567,
0.012331768870353699,
0.00205986388027668,
-0.02839197777211666,
0.04968596249818802,
-0.03592861443758011,
-0.022889038547873497,
-0.00986441783607006,
-0.009221411310136318,
-0.061967883259058,
-0.01944970153272152,
0.06017344817519188,
0.02552087977528572,
-0.011225199326872826,
-0.020715776830911636,
0.0767221450805664,
-0.014435247518122196,
-0.007741000968962908,
-0.017645295709371567,
0.05455087870359421,
0.01498354785144329,
-0.040235262364149094,
0.02791346237063408,
-0.05945567414164543,
-0.013926823623478413,
-0.05443125218153,
0.047054119408130646,
0.02891037054359913,
-0.024125205352902412,
-0.007407036609947681,
-0.026637418195605278,
-0.011294983327388763,
0.04637622460722923,
-0.004164588637650013,
0.017635326832532883,
0.06144949048757553,
0.011005879379808903,
-0.01807396672666073,
-0.04167081043124199,
0.032499246299266815,
0.016588572412729263,
0.0397966206073761,
-0.035968489944934845,
-0.019320102408528328,
0.0700627863407135,
0.029767712578177452,
-0.007855645380914211,
0.007895521819591522,
-0.012032696045935154,
0.009385901503264904,
-0.0016660847468301654,
-0.018462760373950005,
-0.006489879917353392,
-0.05782074108719826,
-0.002274199388921261,
-0.02247033640742302,
0.026577603071928024,
-0.016409127041697502,
0.022789347916841507,
-0.03367559611797333,
-0.021732624620199203,
-0.04908781498670578,
-0.059535425156354904,
0.01152427215129137,
0.021912068128585815,
0.05040373653173447,
0.010427671484649181,
-0.027454882860183716,
-0.02879074215888977,
-0.039836496114730835,
0.012590965256094933,
-0.00806499645113945,
0.1012062355875969,
-0.030744684860110283,
-0.016169870272278786,
-0.07963311672210693,
0.070621058344841,
-0.050124600529670715,
0.023387493565678596,
-0.019988032057881355,
0.012750471010804176,
0.0014991024509072304,
0.0005458078812807798,
-0.016110055148601532,
0.006968396250158548,
0.03907884657382965,
-0.04749276116490364,
0.0033446308225393295,
0.023427369073033333,
0.06687267869710922,
0.04840991646051407,
0.018672112375497818,
-0.015412218868732452,
-0.09362972527742386,
0.03582892194390297,
0.06527762115001678,
0.00472535053268075,
0.039238352328538895,
0.044980548322200775,
0.017585480585694313,
-0.008613296784460545,
-0.00041278277058154345,
0.05825938284397125,
0.03285813331604004,
0.053872980177402496,
-0.04167081043124199,
-0.024404341354966164,
-0.05710296705365181,
-0.011594056151807308,
-0.02861129865050316,
0.013219017535448074,
-0.002831222489476204,
0.017166778445243835,
-0.042906977236270905,
-0.00638021994382143,
-0.06444022059440613,
0.034991517663002014,
-0.04669523239135742,
0.0680689737200737,
0.08334162086248398,
-0.04753263667225838,
0.03164190426468849,
-0.027135873213410378,
0.0012099987361580133,
-0.00012134255666751415,
0.03828131780028343,
-0.05271656811237335,
-0.01306948158890009,
-0.004388893488794565,
0.04366463050246239,
-0.05490976572036743,
0.06559663265943527,
0.039298165589571,
0.01730634644627571,
0.004727842751890421,
-0.009694943204522133,
-0.006589571014046669,
-0.03156214952468872,
-0.021612994372844696,
-0.029309134930372238,
-0.029508516192436218,
-0.0032723548356443644,
-0.022211140021681786,
-0.015820952132344246,
0.0012716824421659112,
-0.0004489207349251956,
-0.021553179249167442,
0.07532647252082825,
-0.0267171710729599,
0.02454390749335289,
0.009286210872232914,
-0.03720465674996376,
-0.011903097853064537,
0.023387493565678596,
0.03897915408015251,
0.045977458357810974,
0.04697436839342117,
0.0458977073431015,
-0.0029408824630081654,
0.031322892755270004,
0.011215230450034142,
0.032898008823394775,
0.01845279149711132,
0.04017544537782669,
0.018363069742918015,
-0.014853949658572674,
-0.029927218332886696,
-0.030505426228046417,
-0.05817962810397148,
0.005732228979468346,
0.02007775381207466,
0.008069980889558792,
0.06033295392990112,
0.012102479115128517,
-0.019190505146980286,
0.03505133092403412,
0.05411224067211151,
-0.014814073219895363,
-0.022211140021681786,
-0.019130690023303032,
0.11261087656021118,
0.0019240350229665637,
0.001081646652892232,
0.022111449390649796,
-0.00014322783681564033,
-0.027076058089733124,
0.030605116859078407,
-0.019988032057881355,
0.022889038547873497,
0.007561557460576296,
-0.05750172957777977,
0.009156612679362297,
0.029927218332886696,
-0.013518090359866619,
0.01533246599137783,
0.08780777454376221,
0.007626356557011604,
-0.04127204790711403,
0.02049645595252514,
0.0274947602301836,
-0.006310435943305492,
-0.07393079996109009,
0.059615179896354675,
0.05989431217312813,
0.022310830652713776,
0.030704807490110397,
-0.04613696411252022,
0.02819259651005268,
0.0020012955646961927,
0.0030978957656770945,
0.0073621757328510284,
-0.022430460900068283,
-0.059017032384872437,
-0.08597346395254135,
0.048330165445804596,
-0.02552087977528572,
-0.011883159168064594,
0.0005255581345409155,
0.01063702255487442,
0.003940284252166748,
0.0019040968036279082,
-0.04163093492388725,
-0.005046853795647621,
0.045857831835746765,
-0.025102177634835243,
-0.03899909183382988,
0.04601733386516571,
-0.04314623773097992,
-0.05247730761766434,
0.03598842769861221,
-0.06471935659646988,
0.04306648299098015,
-0.02257002703845501,
-0.015661446377635002,
-0.033874981105327606,
0.07520683854818344,
-0.0058618271723389626,
-0.02274947054684162,
0.027454882860183716,
0.01345827616751194,
-0.03116338700056076,
0.0811484232544899,
-0.026836799457669258,
0.02047651819884777,
-0.027833709493279457,
0.05303557589650154,
-0.00747183570638299,
0.04139167442917824,
-0.024005576968193054,
-0.003409429918974638,
-0.06037282943725586,
-0.0020324490033090115,
0.0018492668168619275,
0.014315618202090263,
0.03154221177101135,
0.015362372621893883,
0.024583784863352776,
-0.06348318606615067,
-0.05849863961338997,
-0.08748876303434372,
0.0052836197428405285,
-0.027355192229151726,
0.013059512712061405,
-0.02127404510974884,
-0.051001884043216705,
-0.017635326832532883,
-0.06471935659646988,
0.028730927035212517,
-0.04637622460722923,
-0.014425278641283512,
0.03403448686003685,
-0.027454882860183716,
0.00841391459107399,
0.07137870788574219,
-0.011633931659162045,
-0.03939785808324814,
-0.014784165658056736,
0.07444918900728226,
0.007711093872785568,
0.05203866958618164,
-0.07333265244960785,
0.0014916255604475737,
-0.005941579584032297,
0.016219714656472206,
-0.06029307842254639,
0.040514394640922546,
0.016598541289567947,
0.019419794902205467,
-0.08198582381010056,
0.004501045681536198,
-0.03441331163048744,
0.043983642011880875
] |
710,104
|
urllib3_future.response
|
stream
|
A generator wrapper for the read() method. A call will block until
``amt`` bytes have been read from the connection or until the
connection is closed.
:param amt:
How much of the content to read. The generator will return up to
much data per iteration, but may return less. This is particularly
likely when using compressed data. However, the empty string will
never be returned. Setting -1 will output chunks as soon as they
arrive.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
|
def stream(
self, amt: int | None = 2**16, decode_content: bool | None = None
) -> typing.Generator[bytes, None, None]:
"""
A generator wrapper for the read() method. A call will block until
``amt`` bytes have been read from the connection or until the
connection is closed.
:param amt:
How much of the content to read. The generator will return up to
much data per iteration, but may return less. This is particularly
likely when using compressed data. However, the empty string will
never be returned. Setting -1 will output chunks as soon as they
arrive.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
"""
while not is_fp_closed(self._fp) or len(self._decoded_buffer) > 0:
data = self.read(amt=amt, decode_content=decode_content)
if data:
yield data
|
(self, amt: int | None = 65536, decode_content: Optional[bool] = None) -> Generator[bytes, NoneType, NoneType]
|
[
0.022463928908109665,
-0.06797432154417038,
-0.036244478076696396,
0.0013038727920502424,
-0.022318296134471893,
0.04696672409772873,
-0.01715741865336895,
-0.015537247993052006,
0.0067491913214325905,
-0.020989393815398216,
0.008078094571828842,
0.06284075230360031,
-0.02559504471719265,
0.06677284836769104,
0.0016360986046493053,
0.06662721186876297,
-0.011332088150084019,
-0.0018852680223062634,
-0.041578296571969986,
0.05508577823638916,
-0.04183315113186836,
0.05188184604048729,
-0.025485819205641747,
-0.005606880411505699,
-0.01951485686004162,
0.0332954041659832,
-0.010876983404159546,
-0.03682700917124748,
-0.026068352162837982,
0.024630224332213402,
0.05490373820066452,
-0.003131115110591054,
-0.034624308347702026,
0.000585377449169755,
-0.0068584163673222065,
0.020461471751332283,
-0.03207572549581528,
-0.005119919311255217,
-0.020752739161252975,
0.024375366047024727,
0.057525135576725006,
0.009784734807908535,
0.06451553106307983,
0.025940923020243645,
-0.06254948675632477,
0.011696171015501022,
-0.01400809921324253,
-0.028544118627905846,
0.021153230220079422,
0.009948572143912315,
0.015537247993052006,
0.043653570115566254,
-0.019132569432258606,
-0.023574383929371834,
0.06833840906620026,
0.0017976604867726564,
-0.04288899526000023,
-0.0022709686309099197,
-0.009602692909538746,
0.036426518112421036,
-0.05967322736978531,
-0.040413226932287216,
0.04995220527052879,
-0.06651798635721207,
-0.016857050359249115,
-0.011805395595729351,
-0.04885995760560036,
-0.04001273587346077,
-0.0440540611743927,
0.0022391113452613354,
0.011696171015501022,
0.016629496589303017,
-0.04900559037923813,
0.06768305599689484,
-0.02688753977417946,
0.010658534243702888,
-0.013316340744495392,
-0.012042050249874592,
-0.030127879232168198,
0.013862465508282185,
0.08905473351478577,
0.004494151100516319,
0.0028921854682266712,
-0.015619167126715183,
0.0030014102812856436,
-0.03233058378100395,
0.061602868139743805,
-0.011951029300689697,
-0.01720292866230011,
0.012078458443284035,
-0.014827285893261433,
0.04467300325632095,
0.026687294244766235,
-0.029982246458530426,
0.00876075029373169,
-0.047876931726932526,
-0.04012196138501167,
0.046529825776815414,
-0.06214899197220802,
0.06688207387924194,
-0.013070585206151009,
0.08650615066289902,
0.011696171015501022,
-0.011923722922801971,
0.012351520359516144,
0.03819232061505318,
-0.02670549787580967,
-0.023301320150494576,
0.007832339033484459,
-0.01785827800631523,
0.05392071232199669,
0.007982523180544376,
0.011805395595729351,
0.029326897114515305,
-0.027943380177021027,
0.01794929802417755,
0.038228731602430344,
0.03065580129623413,
-0.01416283380240202,
0.02574067749083042,
0.0015359757235273719,
0.00969371385872364,
0.003850179258733988,
0.00004508373240241781,
0.046493418514728546,
0.013580300845205784,
0.01701178401708603,
-0.06688207387924194,
0.02457561157643795,
0.00347699411213398,
-0.002926318207755685,
-0.009984980337321758,
0.07929731160402298,
0.03671778365969658,
-0.07958857715129852,
0.019223589450120926,
-0.006885722279548645,
0.000902243540622294,
-0.009884857572615147,
0.00046676595229655504,
-0.010221634060144424,
0.01832248456776142,
-0.007918808609247208,
0.003599872114136815,
-0.06418785452842712,
-0.015737494453787804,
-0.029709184542298317,
-0.04034041240811348,
0.01762162335216999,
-0.006307740230113268,
-0.0449642688035965,
0.002553133061155677,
-0.0037546074017882347,
0.11352112144231796,
0.03413279354572296,
0.046711865812540054,
-0.00540208350867033,
0.06881171464920044,
-0.08104490488767624,
0.056360069662332535,
-0.02370181307196617,
0.03018249198794365,
0.028416689485311508,
-0.0037932912819087505,
-0.0005748531548306346,
-0.04216082766652107,
-0.014435896649956703,
-0.014108221977949142,
0.02421152964234352,
-0.011714374646544456,
-0.0057707177475094795,
0.0409957617521286,
-0.04336230084300041,
-0.02532198280096054,
0.04995220527052879,
0.004828652832657099,
0.018140442669391632,
0.030437350273132324,
-0.020752739161252975,
0.007491010706871748,
-0.006353250704705715,
-0.005552268121391535,
-0.02341054566204548,
-0.03877485543489456,
-0.0027738583739846945,
0.002014972735196352,
-0.02703317254781723,
0.000052941384637961164,
0.04918763414025307,
-0.04197878763079643,
-0.04561961814761162,
0.009083874523639679,
0.007805032189935446,
-0.05494014546275139,
-0.04467300325632095,
-0.0688481256365776,
-0.015154960565268993,
0.00773221580311656,
0.05049833282828331,
0.05115368217229843,
-0.019114365801215172,
0.00797797180712223,
0.01715741865336895,
-0.011350291781127453,
-0.038738444447517395,
0.06393299996852875,
-0.01697537675499916,
-0.0017475991044193506,
-0.011295679025352001,
0.0695398822426796,
-0.0337505079805851,
0.010230735875666142,
0.011905518360435963,
0.00478769326582551,
0.02949073351919651,
-0.005925453267991543,
-0.037573378533124924,
-0.05759795382618904,
-0.024630224332213402,
-0.008255585096776485,
0.07718562334775925,
-0.035825781524181366,
-0.08592361956834793,
0.017694439738988876,
0.018349790945649147,
0.02244572527706623,
-0.0146088358014822,
-0.05504937097430229,
-0.05082600563764572,
-0.0024370814207941294,
-0.016219904646277428,
0.07245254516601562,
0.0343148373067379,
0.053993530571460724,
0.03677239641547203,
0.009711917489767075,
0.013689526356756687,
0.014262957498431206,
-0.0440540611743927,
0.020297635346651077,
-0.02211805060505867,
-0.017539706081151962,
-0.032621849328279495,
0.015637371689081192,
-0.04132343828678131,
-0.00006687894347123802,
0.0018488597124814987,
0.015646472573280334,
0.0037637094501405954,
0.032985933125019073,
0.01393528189510107,
-0.04252491146326065,
-0.012979564256966114,
-0.039393797516822815,
0.012133070267736912,
0.01794929802417755,
-0.05916351079940796,
-0.086069256067276,
-0.041432660073041916,
0.011832701973617077,
0.04216082766652107,
-0.04034041240811348,
-0.044163286685943604,
0.01915077306330204,
0.003786464687436819,
0.02202703058719635,
-0.04762207344174385,
-0.0799526572227478,
0.022190866991877556,
-0.011495925486087799,
0.027142398059368134,
0.004901469219475985,
0.015409818850457668,
-0.015063939616084099,
0.0035793923307210207,
-0.018422607332468033,
0.026268599554896355,
-0.002078687073662877,
-0.06280434131622314,
-0.03276748210191727,
-0.02439356967806816,
-0.01882309839129448,
0.03520683944225311,
-0.00607563741505146,
0.053993530571460724,
0.006294087506830692,
-0.05009784176945686,
-0.002289172727614641,
-0.002036590129137039,
-0.04248850420117378,
0.008642423897981644,
-0.006439720746129751,
-0.02179037593305111,
-0.017567012459039688,
0.09305965155363083,
-0.010831473395228386,
-0.03833795338869095,
-0.028070809319615364,
-0.022791605442762375,
0.008947343565523624,
-0.016447456553578377,
-0.00470577459782362,
0.00025485819787718356,
0.09233148396015167,
-0.01604696363210678,
0.011841803789138794,
0.013416463509202003,
-0.05665133520960808,
-0.04274336248636246,
0.014727163128554821,
0.024593817070126534,
-0.0014665724011138082,
0.03234878554940224,
-0.040231186896562576,
-0.020989393815398216,
-0.021662946790456772,
-0.0029194916132837534,
0.08432165533304214,
0.029181264340877533,
0.016338231042027473,
0.00032084828126244247,
-0.012123968452215195,
0.033313605934381485,
-0.01646566018462181,
-0.04150547832250595,
0.033877935260534286,
-0.04325307533144951,
0.018395300954580307,
-0.00883356761187315,
0.026468845084309578,
-0.022500338032841682,
0.03801028057932854,
-0.012269602157175541,
0.004054976161569357,
-0.017057295888662338,
0.004710325505584478,
-0.011696171015501022,
0.006189413368701935,
0.05290127918124199,
-0.09742864966392517,
0.014654346741735935,
-0.004992490168660879,
0.0840303897857666,
0.006885722279548645,
-0.04631137475371361,
0.022736992686986923,
-0.02091657556593418,
-0.0344240628182888,
0.051590580493211746,
-0.010867881588637829,
0.010613023303449154,
-0.027943380177021027,
0.04696672409772873,
-0.0056523908860981464,
-0.03486096113920212,
0.05810767039656639,
-0.00355891278013587,
0.008765301667153835,
-0.0327310748398304,
0.037719015032052994,
-0.005720656365156174,
0.035916801542043686,
0.006203066557645798,
-0.022937238216400146,
-0.07478267699480057,
-0.013589403592050076,
-0.007381785660982132,
0.03000045008957386,
0.03504300117492676,
0.06764664500951767,
-0.03111090511083603,
-0.000014924208699085284,
-0.07339916378259659,
0.043471526354551315,
-0.037536971271038055,
-0.02475765347480774,
-0.04336230084300041,
-0.0008231692481786013,
0.016474762931466103,
0.13267189264297485,
0.061930540949106216,
0.015054837800562382,
-0.005147225223481655,
-0.023628996685147285,
0.04660264030098915,
-0.048058975487947464,
-0.023628996685147285,
0.03191188722848892,
-0.059054285287857056,
-0.005611431319266558,
0.007126927375793457,
0.004719427786767483,
-0.002744276775047183,
-0.01632002741098404,
-0.025212757289409637,
-0.06185772642493248,
0.01617439277470112,
0.04146907106041908,
-0.01020343042910099,
-0.03180266171693802,
-0.007745868992060423,
0.057379502803087234,
-0.005779820028692484,
0.025121737271547318,
-0.01859554648399353,
-0.04307103529572487,
0.03464251011610031,
-0.011004412546753883,
0.03775542229413986,
0.016529373824596405,
0.06091110780835152,
-0.03285850211977959,
0.01170527283102274,
-0.009775632061064243,
-0.003934373613446951,
-0.008055339567363262,
-0.019077956676483154,
-0.04463659226894379,
0.045692432671785355,
-0.00264870491810143,
0.07401810586452484,
0.014936510473489761,
-0.0017214305698871613,
-0.02022481895983219,
-0.050753191113471985,
-0.04725799337029457,
-0.011951029300689697,
-0.01683884486556053,
-0.03191188722848892,
0.001305010518990457,
-0.01905975304543972,
0.014335773885250092,
-0.018950527533888817,
0.03731852024793625,
0.03156600892543793,
-0.0036158007569611073,
-0.07718562334775925,
-0.043653570115566254,
-0.032712869346141815,
-0.016156189143657684,
0.006853864993900061,
-0.0003401901922188699,
-0.01900514028966427,
-0.016329128295183182,
0.009429753758013248,
0.0013516586041077971,
0.0018795792711898685,
-0.0003905360645148903,
0.04478222504258156,
-0.013816955499351025,
-0.04376279190182686,
-0.043143853545188904,
0.010567513294517994,
-0.01409911923110485,
-0.014545121230185032,
0.022099846974015236,
0.09051106870174408,
0.006203066557645798,
-0.047731298953294754,
-0.0000751632614992559,
0.062112584710121155,
-0.07886040955781937,
-0.01511855237185955,
-0.08213716000318527,
-0.003117461921647191,
0.018231462687253952,
0.0041437214240431786,
0.02146270126104355,
-0.027251623570919037,
0.011714374646544456,
-0.018859507516026497,
0.0542483888566494,
-0.009994082152843475,
-0.0481317900121212,
0.058034852147102356,
-0.031092699617147446,
-0.011322985403239727,
-0.011978335678577423,
-0.011796293780207634,
-0.0012321938993409276,
-0.013143401592969894,
-0.038556404411792755,
0.031329356133937836,
0.02067992277443409,
-0.031274743378162384,
-0.04216082766652107,
0.02874436415731907,
-0.021535517647862434,
0.06571700423955917,
0.010503798723220825,
0.0317116416990757,
-0.00862877070903778,
-0.0029081141110509634,
-0.027251623570919037,
-0.010230735875666142,
0.02801619842648506,
-0.005656941793859005,
-0.013625811785459518,
0.009179445914924145,
-0.038046687841415405,
-0.03358666971325874,
-0.010148817673325539,
-0.02972738817334175,
0.023119280114769936,
0.006885722279548645,
0.04929685592651367,
-0.01249715406447649,
-0.0603649839758873,
0.008123605512082577,
0.016729621216654778,
0.053629446774721146,
0.06051061674952507,
-0.06819277256727219,
-0.028416689485311508,
-0.0120329475030303,
0.010822371579706669,
0.07110543549060822,
0.03602602705359459,
-0.013143401592969894,
-0.040740903466939926,
0.07234331965446472,
-0.02777954377233982,
-0.042816177010536194,
0.023392342031002045,
0.0024962450843304396,
0.0044213347136974335,
0.008082645945250988,
-0.04183315113186836,
0.004011740908026695,
-0.050935231149196625,
0.04492785781621933,
0.007299866992980242,
-0.02457561157643795,
-0.012397031299769878,
0.020934781059622765,
-0.03511581942439079,
0.036754194647073746,
-0.019041547551751137,
-0.08424884080886841,
0.030819637700915337,
-0.004692121408879757,
0.02184498868882656,
-0.03657215088605881,
-0.0006940335151739419,
-0.04423610121011734,
0.01131388358771801,
-0.004259772598743439,
-0.021025801077485085,
0.10689481347799301,
-0.04951530694961548,
0.004960632883012295,
-0.04929685592651367,
0.006102943792939186,
-0.020643513649702072,
0.05180903151631355,
-0.003128839423879981,
0.04445455223321915,
0.02772493101656437,
-0.018486320972442627,
0.0017510124016553164,
0.03500659391283989,
0.056360069662332535,
-0.07452782243490219,
-0.0005944794975221157,
0.038410771638154984,
0.030400943011045456,
0.03640831261873245,
0.04259772598743439,
0.006112045608460903,
-0.01673872210085392,
0.02262776717543602,
0.0738360583782196,
0.001551904366351664,
0.07725844532251358,
0.07074135541915894,
0.010540206916630268,
-0.0140718137845397,
0.009784734807908535,
0.03395075350999832,
-0.036280885338783264,
0.029017426073551178,
-0.04696672409772873,
-0.01924179494380951,
0.008328401483595371,
-0.02688753977417946,
-0.022463928908109665,
-0.04835024103522301,
-0.03369589522480965,
-0.006744640413671732,
0.007686705328524113,
0.0440540611743927,
-0.0399763286113739,
-0.017075499519705772,
-0.01794929802417755,
0.022154459729790688,
0.01317070797085762,
-0.027087785303592682,
0.013361851684749126,
-0.003395075211301446,
0.06513447314500809,
-0.06189413368701935,
0.028070809319615364,
-0.03866562992334366,
0.00047188589815050364,
0.008373912423849106,
0.028598731383681297,
-0.04689390957355499,
0.018859507516026497,
0.042124420404434204,
0.052100297063589096,
-0.02073453553020954,
0.009402447380125523,
0.019314611330628395,
0.012360623106360435,
-0.04117780178785324,
-0.017357664182782173,
0.009024711325764656,
0.005474900361150503,
-0.01785827800631523,
-0.026396026834845543,
0.01831338182091713,
-0.023246709257364273,
-0.013826057314872742,
0.03495198115706444,
0.009252263233065605,
0.03819232061505318,
-0.003706821473315358,
-0.016766028478741646,
-0.02805260568857193,
0.023628996685147285,
0.00378418923355639,
0.007536521181464195,
0.036790601909160614,
0.041614703834056854,
0.01975150965154171,
0.01164155825972557,
-0.037063661962747574,
0.032949525862932205,
0.01612888276576996,
0.02934510074555874,
0.03156600892543793,
0.03065580129623413,
-0.041104987263679504,
-0.07237973064184189,
-0.05155417323112488,
-0.039721470326185226,
0.03065580129623413,
0.031693436205387115,
0.005907249171286821,
-0.008032584562897682,
0.022081643342971802,
0.04066808521747589,
0.04744003340601921,
0.007832339033484459,
0.045838069170713425,
-0.062258217483758926,
0.009611794725060463,
0.0030833291821181774,
0.07543803006410599,
0.03051016665995121,
0.047039542347192764,
-0.06083829328417778,
0.06848403811454773,
-0.008815363049507141,
-0.01775815524160862,
0.014272059313952923,
-0.05912710353732109,
0.010831473395228386,
-0.02661447785794735,
-0.05916351079940796,
0.00941154919564724,
0.09305965155363083,
-0.050898823887109756,
-0.04998861625790596,
0.03731852024793625,
0.03134755790233612,
-0.010813268832862377,
-0.04354434460401535,
0.023337729275226593,
0.0014665724011138082,
-0.010940697975456715,
0.014435896649956703,
-0.003756882855668664,
0.030127879232168198,
-0.05792562663555145,
-0.04361715912818909,
-0.05046192184090614,
-0.029508939012885094,
-0.07980702817440033,
-0.04438173398375511,
0.04605651646852493,
-0.02026122622191906,
0.017075499519705772,
-0.022973645478487015,
-0.005065306555479765,
0.047694891691207886,
0.020934781059622765,
-0.041760336607694626,
0.01219678483903408,
0.026978561654686928,
-0.01233331672847271,
-0.004769489169120789,
0.05290127918124199,
0.0153461042791605,
-0.012360623106360435,
-0.00537932850420475,
-0.018559137359261513,
0.06597186625003815,
0.017703542485833168,
0.05818048492074013,
-0.009243160486221313,
0.017193825915455818,
-0.023155687376856804,
-0.008865424431860447,
0.04172392934560776,
0.0271241944283247,
-0.041578296571969986,
0.08832657337188721,
0.0018829924520105124,
-0.0010200017131865025,
-0.02188139595091343,
0.015600962564349174,
-0.050425514578819275,
0.0870886892080307,
-0.042306460440158844,
-0.035352472215890884,
-0.06513447314500809,
0.06473398208618164,
0.05188184604048729,
-0.0038183219730854034,
0.08818093687295914,
0.02086196467280388,
0.021535517647862434,
-0.08395757526159286,
-0.06684566289186478,
-0.022755196318030357,
-0.017284847795963287,
0.02040686085820198,
0.01720292866230011,
0.0007037044269964099,
-0.0065307412296533585,
0.013407361693680286,
-0.034387651830911636,
-0.012833930552005768,
-0.010403675958514214,
-0.014335773885250092,
0.014317569322884083,
-0.011568741872906685,
-0.006808354519307613,
0.03719109296798706,
0.010622126050293446,
-0.06939424574375153,
-0.007877849042415619,
0.09007416665554047,
0.007422745227813721,
0.038738444447517395,
-0.06677284836769104,
-0.035134024918079376,
-0.021917805075645447,
-0.013370953500270844,
-0.03180266171693802,
0.05104445666074753,
0.05541345477104187,
0.014763571321964264,
-0.08949163556098938,
0.03120192512869835,
-0.023938465863466263,
0.04103216901421547
] |
710,107
|
urllib3_future.backend._base
|
ConnectionInfo
| null |
class ConnectionInfo:
def __init__(self) -> None:
#: Time taken to establish the connection
self.established_latency: timedelta | None = None
#: HTTP protocol used with the remote peer (not the proxy)
self.http_version: HttpVersion | None = None
#: The SSL certificate presented by the remote peer (not the proxy)
self.certificate_der: bytes | None = None
self.certificate_dict: dict[
str, int | tuple[tuple[str, str], ...] | tuple[str, ...] | str
] | None = None
#: The SSL issuer certificate for the remote peer certificate (not the proxy)
self.issuer_certificate_der: bytes | None = None
self.issuer_certificate_dict: dict[
str, int | tuple[tuple[str, str], ...] | tuple[str, ...] | str
] | None = None
#: The IP address used to reach the remote peer (not the proxy), that was yield by your resolver.
self.destination_address: tuple[str, int] | None = None
#: The TLS cipher used to secure the exchanges (not the proxy)
self.cipher: str | None = None
#: The TLS revision used (not the proxy)
self.tls_version: TLSVersion | None = None
#: The time taken to reach a complete TLS liaison between the remote peer and us. (not the proxy)
self.tls_handshake_latency: timedelta | None = None
#: Time taken to resolve a domain name into a reachable IP address.
self.resolution_latency: timedelta | None = None
#: Time taken to encode and send the whole request through the socket.
self.request_sent_latency: timedelta | None = None
def __repr__(self) -> str:
return str(
{
"established_latency": self.established_latency,
"certificate_der": self.certificate_der,
"certificate_dict": self.certificate_dict,
"issuer_certificate_der": self.issuer_certificate_der,
"issuer_certificate_dict": self.issuer_certificate_dict,
"destination_address": self.destination_address,
"cipher": self.cipher,
"tls_version": self.tls_version,
"tls_handshake_latency": self.tls_handshake_latency,
"http_version": self.http_version,
"resolution_latency": self.resolution_latency,
"request_sent_latency": self.request_sent_latency,
}
)
def is_encrypted(self) -> bool:
return self.certificate_der is not None
|
() -> 'None'
|
[
0.012537768110632896,
-0.0505514070391655,
-0.06558217108249664,
0.026294738054275513,
-0.0005405092379078269,
-0.053644903004169464,
-0.05779383331537247,
-0.011236678808927536,
0.006669219117611647,
-0.07300656288862228,
-0.022764509543776512,
0.04840415343642235,
0.010472402907907963,
0.0009911706438288093,
-0.010745358653366566,
-0.002002812922000885,
-0.010490600019693375,
-0.03233615681529045,
-0.008998441509902477,
-0.04654805362224579,
0.02023511938750744,
0.03886890038847923,
0.034792762249708176,
-0.0006761341355741024,
-0.02724098414182663,
0.03368274122476578,
-0.01037231832742691,
-0.01703243888914585,
0.021763673052191734,
0.011127496138215065,
-0.05870368331670761,
0.04119812324643135,
-0.0001275926042580977,
0.029188068583607674,
-0.00831605214625597,
-0.004148927517235279,
0.007697352208197117,
-0.03930562734603882,
-0.05157044157385826,
0.006923977751284838,
-0.06361688673496246,
-0.01671399176120758,
-0.05098813399672508,
-0.02272811532020569,
0.00724242627620697,
0.000020542764104902744,
-0.07064095139503479,
0.08079490065574646,
-0.003207230241969228,
-0.08647238463163376,
-0.032372552901506424,
0.010736259631812572,
0.021345140412449837,
-0.0007375492132268846,
0.015640364959836006,
0.030498256906867027,
-0.004667543340474367,
0.0717327743768692,
-0.024420442059636116,
0.02323763258755207,
-0.035611629486083984,
-0.014275586232542992,
-0.02034430205821991,
0.04352734610438347,
-0.06416279822587967,
-0.02613096497952938,
-0.029060689732432365,
-0.018015079200267792,
0.018924932926893234,
-0.014321078546345234,
0.10270415246486664,
0.00624613743275404,
-0.04156206175684929,
-0.016595710068941116,
0.013756969943642616,
0.002030108356848359,
-0.039851538836956024,
-0.011282171122729778,
0.010799949057400227,
-0.008179574273526669,
-0.014957975596189499,
-0.025239309296011925,
0.03581179678440094,
-0.050915345549583435,
0.0923682302236557,
-0.04061581566929817,
0.03726755827665329,
0.006814795546233654,
-0.04316340386867523,
0.02694983221590519,
-0.045638203620910645,
-0.00045435759238898754,
-0.011637013405561447,
0.037704288959503174,
-0.014211896806955338,
-0.009608042426407337,
-0.01356590073555708,
-0.004387763794511557,
-0.0005015562055632472,
-0.02283729799091816,
-0.0006710162269882858,
0.011000117287039757,
-0.101102814078331,
0.023274026811122894,
-0.0014750984264537692,
-0.05568297579884529,
-0.010545190423727036,
-0.0007648447644896805,
0.0027227336540818214,
-0.01570405438542366,
0.014439359307289124,
-0.03373733162879944,
-0.003800908802077174,
0.004226265009492636,
0.03304584324359894,
-0.0030411819461733103,
-0.04247191548347473,
-0.04469195753335953,
-0.033355195075273514,
0.021254155784845352,
-0.03319142013788223,
0.016823172569274902,
0.0044764745980501175,
0.0111820874735713,
-0.05764825642108917,
0.0031048718374222517,
0.009207707829773426,
-0.043381769210100174,
0.012874413281679153,
-0.0662008672952652,
0.030625635758042336,
0.017632942646741867,
0.023728953674435616,
0.12111956626176834,
0.03886890038847923,
-0.0266586784273386,
-0.018961327150464058,
0.028260018676519394,
-0.015130847692489624,
0.013938941061496735,
0.002790972590446472,
0.0018606483936309814,
-0.005122469738125801,
-0.023656165227293968,
0.022564342245459557,
-0.02243696339428425,
-0.016650300472974777,
-0.06740187853574753,
-0.04669363051652908,
-0.07009503990411758,
0.045747384428977966,
-0.04323619231581688,
-0.0195254348218441,
-0.009144017472863197,
-0.009093975648283958,
0.002929725218564272,
-0.02103579044342041,
-0.0376678928732872,
-0.03865053504705429,
-0.008115884847939014,
-0.0688212439417839,
-0.051315683871507645,
0.005845802370458841,
-0.08385200798511505,
-0.001288578612729907,
-0.02607637271285057,
0.05098813399672508,
-0.08938391506671906,
0.01249227486550808,
0.044255226850509644,
-0.05666561424732208,
0.0154765909537673,
-0.030971379950642586,
0.013029088266193867,
0.036594267934560776,
0.042908646166324615,
0.028933310881257057,
-0.02538488619029522,
-0.03304584324359894,
0.0018606483936309814,
0.00885741412639618,
-0.04742151498794556,
-0.06740187853574753,
0.013438521884381771,
0.01176439318805933,
0.05069698393344879,
0.07078652828931808,
0.02503914199769497,
0.05662922188639641,
-0.001302226446568966,
-0.008102236315608025,
-0.018096966668963432,
0.015895122662186623,
0.009253200143575668,
0.027040816843509674,
0.009844603948295116,
0.01901591755449772,
0.005122469738125801,
0.04771266505122185,
0.039087265729904175,
-0.017523759976029396,
0.030643833801150322,
-0.018797552213072777,
0.012055546045303345,
-0.022982874885201454,
-0.02190924808382988,
-0.02400190941989422,
-0.0021290548611432314,
-0.045929353684186935,
0.028096245601773262,
0.016886861994862556,
-0.024438638240098953,
0.02462060935795307,
0.0020107741001993418,
0.008607205003499985,
-0.033518966287374496,
0.008679993450641632,
0.014130009338259697,
0.012055546045303345,
0.005832154769450426,
0.07264262437820435,
-0.04683920741081238,
-0.002684064907953143,
-0.031135153025388718,
0.006751105654984713,
0.0011486888397485018,
-0.009307791478931904,
-0.0028250920586287975,
-0.014412064105272293,
-0.04953237250447273,
0.036594267934560776,
0.008839217014610767,
-0.005272595211863518,
0.08246903121471405,
0.058630894869565964,
0.00026115612126886845,
-0.03721296787261963,
0.04640248045325279,
-0.004064766224473715,
-0.013192861340939999,
-0.012656048871576786,
0.010736259631812572,
0.0404338464140892,
0.0014625879703089595,
-0.030061528086662292,
-0.03177205100655556,
0.04898646101355553,
-0.0014375669416040182,
0.004180772230029106,
0.02149071730673313,
-0.025948993861675262,
-0.0519343838095665,
-0.013465817086398602,
-0.04636608436703682,
0.014885187149047852,
-0.09855522215366364,
-0.026349328458309174,
-0.018297133967280388,
0.021891051903367043,
-0.004032921511679888,
-0.017232606187462807,
0.03615754097700119,
-0.06125127151608467,
0.0411253347992897,
-0.011691604740917683,
0.004226265009492636,
-0.014248290099203587,
-0.02023511938750744,
-0.03442882001399994,
0.017168916761875153,
0.06470870971679688,
-0.01544929575175047,
-0.028441989794373512,
0.04097975790500641,
-0.02445683628320694,
-0.040251877158880234,
0.02116316929459572,
0.01364778820425272,
-0.040652211755514145,
-0.025366688147187233,
0.04050663486123085,
0.020944805815815926,
-0.009262298233807087,
-0.05582854896783829,
-0.03663066402077675,
-0.024675199761986732,
-0.05823056027293205,
0.03582999110221863,
0.007028610911220312,
0.020417090505361557,
-0.04713036119937897,
-0.01483969483524561,
0.05284423381090164,
-0.01199185661971569,
0.02602178230881691,
0.0284601878374815,
-0.023110253736376762,
0.03542965650558472,
0.032882072031497955,
-0.029297251254320145,
-0.03275468945503235,
0.02654949575662613,
0.0010093676391988993,
0.009608042426407337,
0.031153351068496704,
-0.016886861994862556,
0.0027250084094703197,
-0.0043968623504042625,
0.025748826563358307,
0.018688371405005455,
0.01958002708852291,
-0.017314493656158447,
0.05313538759946823,
0.013174664229154587,
0.02596719190478325,
0.011455043219029903,
-0.013001792132854462,
0.002850112970918417,
-0.02092660777270794,
0.11820804327726364,
-0.03007972426712513,
0.0326819010078907,
-0.004503769800066948,
0.0223641749471426,
0.04298143461346626,
-0.03322781249880791,
0.05175241082906723,
0.000025873931008391082,
0.04636608436703682,
-0.0012942652683705091,
-0.07642760872840881,
0.00010548602585913613,
-0.027441151440143585,
-0.026877043768763542,
0.0003619507187977433,
0.007410748861730099,
-0.010754456743597984,
0.0027727754786610603,
0.020326105877757072,
-0.05284423381090164,
0.034974731504917145,
-0.018415415659546852,
-0.029770374298095703,
0.010354122146964073,
0.0419624000787735,
-0.06798417866230011,
-0.04108893871307373,
-0.014275586232542992,
-0.013374832458794117,
0.00254986179061234,
-0.04694839194417,
-0.02769591100513935,
-0.0005959533737041056,
0.0894566997885704,
0.022855496034026146,
0.010272234678268433,
-0.04039745032787323,
-0.056010521948337555,
0.028441989794373512,
-0.011227579787373543,
-0.01025403756648302,
0.04822218418121338,
0.014066319912672043,
-0.010900033637881279,
-0.033300600945949554,
-0.006933076307177544,
0.05892204865813255,
-0.006086913403123617,
0.04214436933398247,
-0.003077576169744134,
-0.05990469083189964,
-0.04771266505122185,
-0.0034460665192455053,
-0.0252029150724411,
-0.011800787411630154,
-0.017041537910699844,
0.017341788858175278,
0.03956038877367973,
-0.03857774659991264,
-0.028532974421977997,
0.028369201347231865,
0.02700442261993885,
0.019216084852814674,
0.029642995446920395,
0.029861358925700188,
-0.04287225008010864,
-0.011746196076273918,
0.014921581372618675,
0.046511661261320114,
0.06721990555524826,
-0.027950668707489967,
0.0031822090968489647,
0.007538128178566694,
-0.026094570755958557,
0.0020687771029770374,
0.013347536325454712,
0.03233615681529045,
0.031262531876564026,
-0.03564802184700966,
-0.061105694621801376,
0.024493230506777763,
-0.018706567585468292,
0.03117154724895954,
0.030753014609217644,
-0.04090696945786476,
0.04967794939875603,
0.1009572371840477,
0.04148927330970764,
0.008702739141881466,
-0.00039948211633600295,
-0.051206499338150024,
-0.021472519263625145,
0.003032083623111248,
-0.03368274122476578,
-0.05047861859202385,
-0.005022386088967323,
-0.04898646101355553,
0.029006099328398705,
0.06711072474718094,
0.04178042709827423,
0.02109038084745407,
-0.02915167436003685,
-0.014785103499889374,
0.04076139256358147,
-0.023383209481835365,
0.009253200143575668,
-0.016777681186795235,
-0.02758672833442688,
-0.027768699452280998,
0.005581945180892944,
0.030625635758042336,
0.001849275198765099,
0.047603484243154526,
-0.03217238560318947,
0.04443719610571861,
0.02376534789800644,
0.0015183164505288005,
0.04414604604244232,
-0.0021381534170359373,
-0.010390515439212322,
0.003439242485910654,
0.011609718203544617,
0.009571648202836514,
0.027896078303456306,
0.06267064064741135,
-0.01558577362447977,
-0.02822362445294857,
-0.04745790734887123,
-0.03513850271701813,
0.03326420858502388,
-0.021345140412449837,
0.006974019575864077,
0.010354122146964073,
-0.02392912097275257,
-0.08079490065574646,
0.050733376294374466,
0.03488374501466751,
0.03188123181462288,
-0.06660120189189911,
-0.017314493656158447,
0.05266226455569267,
-0.025457672774791718,
0.07730107009410858,
0.020963001996278763,
-0.0510973185300827,
-0.013574999757111073,
0.028933310881257057,
0.01512174867093563,
-0.03390110656619072,
-0.012010053731501102,
-0.006164250895380974,
0.02392912097275257,
-0.024420442059636116,
0.019834784790873528,
0.006651022005826235,
-0.017632942646741867,
-0.014120911248028278,
0.017951389774680138,
-0.03164467215538025,
-0.07526300102472305,
-0.05349932983517647,
-0.022564342245459557,
0.06259785592556,
-0.026640482246875763,
0.02260073646903038,
-0.06969470530748367,
0.02334681525826454,
-0.04269028082489967,
0.0050041889771819115,
0.02527570351958275,
-0.04920482262969017,
0.09076688438653946,
0.002563509391620755,
-0.015767743811011314,
0.02933364547789097,
0.05637446045875549,
-0.03255452215671539,
-0.006291630212217569,
-0.018924932926893234,
-0.02045348472893238,
-0.02827821671962738,
-0.031790245324373245,
0.04341816157102585,
-0.03255452215671539,
0.06638284027576447,
0.025257505476474762,
-0.07781058549880981,
0.05368129909038544,
0.01999855786561966,
0.05790301412343979,
-0.0071741873398423195,
-0.00843433290719986,
0.01674128696322441,
-0.012874413281679153,
-0.020963001996278763,
0.034155864268541336,
-0.049641553312540054,
0.008043096400797367,
-0.028369201347231865,
-0.04753069579601288,
0.03641229867935181,
0.12970857322216034,
0.052771445363759995,
-0.018297133967280388,
-0.031189745292067528,
0.03777707740664482,
-0.0070240614004433155,
-0.0047721765004098415,
-0.01695055328309536,
-0.0002473661443218589,
0.010172151029109955,
-0.011618816293776035,
-0.02978857234120369,
0.009080328047275543,
0.05379047989845276,
0.03188123181462288,
-0.048367761075496674,
-0.02538488619029522,
-0.10394155234098434,
-0.04199879243969917,
0.05200716853141785,
0.03608475252985954,
-0.04884088411927223,
-0.10103002190589905,
-0.03912365809082985,
-0.003596191992983222,
0.000632916169706732,
0.0781017392873764,
-0.05419081449508667,
-0.034337833523750305,
-0.00953525397926569,
0.034920141100883484,
0.03519309684634209,
-0.05135207623243332,
0.001659343484789133,
0.0015911045484244823,
0.034337833523750305,
-0.03471997380256653,
0.027513939887285233,
0.0014284685021266341,
0.03193582221865654,
-0.059540748596191406,
-0.053572118282318115,
-0.009157666005194187,
-0.044255226850509644,
0.023910924792289734,
0.06194275990128517,
0.04811299964785576,
-0.023255830630660057,
0.021235957741737366,
0.02028971165418625,
0.03442882001399994,
0.02196384035050869,
0.011263974010944366,
-0.002042618812993169,
-0.009453367441892624,
-0.026968028396368027,
0.060305025428533554,
0.08399758487939835,
0.024074697867035866,
0.06558217108249664,
0.01448485255241394,
-0.008893808349967003,
-0.041270911693573,
0.02567603811621666,
0.02103579044342041,
-0.0060914624482393265,
-0.01283801905810833,
0.04531065747141838,
-0.009253200143575668,
-0.09353283792734146,
-0.06499986350536346,
-0.017314493656158447,
0.0015126297948881984,
0.01987117901444435,
0.013493113219738007,
-0.010335925035178661,
0.06816615164279938,
0.06925797462463379,
0.03666705638170242,
-0.04243552312254906,
-0.012938102707266808,
-0.011727998964488506,
-0.038104623556137085,
-0.004412784706801176,
-0.008666344918310642,
-0.06390804052352905,
0.07071373611688614,
-0.0017116600647568703,
-0.03002513386309147,
0.009835505858063698,
0.022855496034026146,
0.007988505065441132,
-0.05783022567629814,
0.015512985177338123,
-0.004499220754951239,
-0.03970596566796303,
0.04178042709827423,
-0.029006099328398705,
-0.010863639414310455,
0.04854973033070564,
-0.007442593574523926,
-0.014703216962516308,
0.03934202343225479,
-0.0610693022608757,
0.05997747927904129,
0.013866152614355087,
-0.01367508340626955,
-0.06885764002799988,
-0.022637130692601204,
0.04822218418121338,
0.021690884605050087,
0.017141621559858322,
0.02856936864554882,
-0.00689668208360672,
0.025821615010499954,
0.032882072031497955,
0.013056383468210697,
-0.014675920829176903,
0.04509229212999344,
0.03166286647319794,
0.0128107238560915,
-0.011518732644617558,
-0.03875971585512161,
-0.06430837512016296,
0.0397423580288887,
0.02886052243411541,
-0.04345455765724182,
0.04178042709827423,
0.004515143111348152,
-0.014584936201572418,
0.035902779549360275,
0.07482627034187317,
-0.0033437081146985292,
-0.008033997379243374,
-0.023601574823260307,
-0.03710378706455231,
0.03970596566796303,
0.04301782697439194,
-0.01753285899758339,
-0.004831316880881786,
0.007506283465772867,
0.06994946300983429,
-0.04370931535959244,
0.06212472915649414,
0.030116118490695953,
-0.02631293423473835,
-0.01613168604671955,
0.037631500512361526,
0.009626239538192749,
0.056301675736904144,
-0.0026613185182213783,
-0.0038350282702594995,
0.06365328282117844,
0.012783427722752094,
0.004831316880881786,
-0.023856332525610924,
-0.057175133377313614,
-0.020471680909395218,
0.01923428289592266,
0.06379885971546173,
0.011018314398825169,
-0.04363652691245079,
0.005836703814566135,
0.0015205909730866551,
-0.009189510717988014,
0.06576414406299591,
0.027513939887285233,
-0.05339014530181885,
-0.073952816426754,
-0.007761042099446058,
0.01115479227155447,
0.019943967461586,
0.03843216970562935,
-0.017441872507333755,
-0.03188123181462288,
-0.029424630105495453,
-0.050624195486307144,
0.060523390769958496,
-0.07730107009410858,
0.02838739939033985,
0.0034756367094814777,
0.006928526796400547,
-0.0007767865899950266,
0.024420442059636116,
0.011746196076273918,
0.0032663706224411726,
-0.042617492377758026,
0.05921320244669914,
0.022691721096634865,
0.030043330043554306,
0.011828082613646984,
0.06350770592689514,
-0.04119812324643135,
0.007629113271832466,
0.05742989107966423,
-0.009371480904519558,
0.011254875920712948,
-0.024074697867035866,
0.04851333796977997,
-0.0006431519868783653,
0.008880160748958588,
0.03644869104027748,
0.00475397938862443,
-0.012328501790761948,
0.04414604604244232,
0.00586854899302125,
-0.023692559450864792,
0.007674606051295996,
0.03304584324359894,
-0.030043330043554306,
0.046620842069387436,
-0.019780194386839867,
0.04567459598183632,
-0.0526258684694767,
-0.003282292978838086,
0.00985370296984911,
0.010163052938878536,
0.06055978313088417,
0.07045897841453552,
-0.0041421037167310715,
0.014066319912672043,
-0.00339147518388927,
0.02300107106566429,
-0.02491176128387451,
-0.03784986585378647,
-0.0020335204899311066,
0.03430144116282463,
0.046220507472753525,
-0.02398371323943138,
0.046802815049886703,
-0.00012993831478524953,
-0.028205428272485733,
-0.051315683871507645,
-0.0003707649011630565,
-0.06507265567779541,
-0.021745475009083748,
-0.007870224304497242,
0.00017258765001315624,
-0.001297677168622613,
-0.011218481697142124,
0.004319524858146906,
0.024365849792957306,
0.03564802184700966,
-0.05986829474568367,
0.012801624834537506,
-0.011937265284359455,
0.054445575922727585
] |
710,108
|
urllib3_future.backend._base
|
__init__
| null |
def __init__(self) -> None:
#: Time taken to establish the connection
self.established_latency: timedelta | None = None
#: HTTP protocol used with the remote peer (not the proxy)
self.http_version: HttpVersion | None = None
#: The SSL certificate presented by the remote peer (not the proxy)
self.certificate_der: bytes | None = None
self.certificate_dict: dict[
str, int | tuple[tuple[str, str], ...] | tuple[str, ...] | str
] | None = None
#: The SSL issuer certificate for the remote peer certificate (not the proxy)
self.issuer_certificate_der: bytes | None = None
self.issuer_certificate_dict: dict[
str, int | tuple[tuple[str, str], ...] | tuple[str, ...] | str
] | None = None
#: The IP address used to reach the remote peer (not the proxy), that was yield by your resolver.
self.destination_address: tuple[str, int] | None = None
#: The TLS cipher used to secure the exchanges (not the proxy)
self.cipher: str | None = None
#: The TLS revision used (not the proxy)
self.tls_version: TLSVersion | None = None
#: The time taken to reach a complete TLS liaison between the remote peer and us. (not the proxy)
self.tls_handshake_latency: timedelta | None = None
#: Time taken to resolve a domain name into a reachable IP address.
self.resolution_latency: timedelta | None = None
#: Time taken to encode and send the whole request through the socket.
self.request_sent_latency: timedelta | None = None
|
(self) -> NoneType
|
[
-0.0008970912313088775,
-0.04074649512767792,
-0.04672019183635712,
0.04023025184869766,
-0.01874154433608055,
-0.036745596677064896,
-0.06290816515684128,
0.011569423601031303,
-0.001647836179472506,
-0.050592027604579926,
-0.010288028977811337,
0.062465667724609375,
0.005757055711001158,
0.010269591584801674,
0.00687712337821722,
0.027305683121085167,
-0.014731425791978836,
-0.014159868471324444,
-0.02437414787709713,
-0.062318168580532074,
-0.002183671109378338,
0.0373355895280838,
0.03418280556797981,
0.019396070390939713,
-0.031878139823675156,
0.0413733646273613,
-0.025996632874011993,
-0.022198542952537537,
0.006476111710071564,
0.005259247962385416,
-0.041483987122774124,
0.028835982084274292,
-0.008241485804319382,
0.041557736694812775,
0.013035191223025322,
-0.00471995584666729,
-0.007066105958074331,
-0.03066127747297287,
-0.08407421410083771,
0.017395619302988052,
-0.0310668982565403,
-0.021055428311228752,
-0.03941900655627251,
-0.010988648049533367,
0.010656775906682014,
0.021590111777186394,
-0.044470835477113724,
0.0769205316901207,
0.013044409453868866,
-0.0778055265545845,
-0.06453064829111099,
0.03787027299404144,
0.027324121445417404,
-0.013422374613583088,
0.0015786961885169148,
0.0648256465792656,
0.0012018833076581359,
0.09521036595106125,
-0.03941900655627251,
0.03567622974514961,
-0.042811475694179535,
-0.018077800050377846,
-0.013772684149444103,
0.030956273898482323,
-0.05258326232433319,
-0.030790338292717934,
-0.03759371116757393,
-0.0006516443099826574,
0.0383865162730217,
-0.01505407877266407,
0.10524027049541473,
0.01596672646701336,
-0.05368949845433235,
0.0026111865881830454,
0.05402137339115143,
0.012666444294154644,
-0.048305802047252655,
-0.014676113612949848,
-0.004987297113984823,
-0.004945813212543726,
-0.004710737615823746,
-0.009568973444402218,
-0.003655200358480215,
-0.028080051764845848,
0.06888186186552048,
-0.04244273155927658,
0.01724812015891075,
-0.022604163736104965,
-0.035270608961582184,
0.02579382248222828,
-0.06202317401766777,
0.010702868923544884,
-0.024042276665568352,
0.021497925743460655,
-0.008743902668356895,
-0.010011469013988972,
-0.011956607922911644,
0.0000811674544820562,
0.010389434173703194,
-0.02059449627995491,
-0.01587454043328762,
0.028485672548413277,
-0.09270288795232773,
0.03058752790093422,
0.022825412452220917,
-0.036210913211107254,
-0.013717371970415115,
-0.028485672548413277,
0.001095868763513863,
-0.004418044816702604,
0.029352227225899696,
-0.028024738654494286,
0.009956157766282558,
0.044618334621191025,
-0.01328409556299448,
0.006347050424665213,
-0.02114761620759964,
-0.052878256887197495,
-0.011763015761971474,
0.039197761565446854,
-0.01919325813651085,
0.022936036810278893,
-0.01529376395046711,
0.01698078028857708,
-0.04908016696572304,
0.0008285274379886687,
0.011191458441317081,
-0.054058246314525604,
0.019156383350491524,
-0.07227432727813721,
0.06386690586805344,
0.011090053245425224,
0.014961891807615757,
0.11512267589569092,
0.014556271024048328,
-0.026789437979459763,
-0.0015763916308060288,
0.03224688768386841,
-0.015570323914289474,
0.01958044245839119,
-0.007656100671738386,
0.018732326105237007,
0.0156071987003088,
-0.024871956557035446,
0.017432494089007378,
0.00170545291621238,
-0.03552873060107231,
-0.057819463312625885,
-0.04756830632686615,
-0.05044453218579292,
0.03138033300638199,
-0.04085712134838104,
-0.007545476779341698,
0.004201406147330999,
-0.006111974362283945,
0.004176055081188679,
-0.03265250846743584,
-0.028522547334432602,
-0.03174908086657524,
-0.0024014620576053858,
-0.07017247378826141,
-0.04860079661011696,
0.008282969705760479,
-0.08237798511981964,
-0.011154583655297756,
-0.028024738654494286,
0.028891293331980705,
-0.07264307141304016,
0.005305341444909573,
0.06460440158843994,
-0.07618304342031479,
0.00028693091007880867,
-0.05520136281847954,
0.0071029807440936565,
0.03654278442263603,
0.03908713534474373,
0.046904563903808594,
-0.0024037666153162718,
-0.050592027604579926,
0.0297209732234478,
0.019230132922530174,
-0.04015650227665901,
-0.062465667724609375,
-0.023599781095981598,
0.018806075677275658,
0.05099765211343765,
0.04638831689953804,
0.04443396255373955,
0.039345256984233856,
0.013569873757660389,
-0.002484430093318224,
-0.006536033004522324,
0.024632271379232407,
0.013044409453868866,
0.0224751029163599,
0.009370772168040276,
0.03412749618291855,
-0.001834514201618731,
0.025904446840286255,
0.03949275612831116,
-0.023157283663749695,
0.03233907371759415,
-0.020078251138329506,
-0.001632855855859816,
-0.0310668982565403,
-0.015321419574320316,
-0.03993525356054306,
0.017036091536283493,
-0.03875526413321495,
0.012140980921685696,
0.018123893067240715,
-0.015321419574320316,
0.016510628163814545,
-0.001100477995350957,
-0.003005284583196044,
-0.04085712134838104,
-0.01654750294983387,
0.011283645406365395,
0.03366656228899956,
0.01753390021622181,
0.09395662695169449,
-0.045798324048519135,
-0.017838114872574806,
-0.04015650227665901,
-0.0012260823277756572,
0.022659476846456528,
-0.005203935783356428,
-0.02336009591817856,
-0.04048837348818779,
-0.031417205929756165,
0.0344962403178215,
0.008771559223532677,
0.03280000761151314,
0.07618304342031479,
0.06814436614513397,
0.009808658622205257,
-0.044618334621191025,
0.07876426726579666,
-0.03941900655627251,
-0.019008886069059372,
-0.019783252850174904,
0.02107386663556099,
0.0343487411737442,
-0.022309167310595512,
-0.019451381638646126,
0.006337831728160381,
0.024890393018722534,
0.006932435557246208,
0.018068581819534302,
0.009605848230421543,
-0.034477803856134415,
-0.02562788687646389,
-0.030292529612779617,
-0.03731715306639671,
0.001212254399433732,
-0.083926722407341,
0.012675663456320763,
-0.027655992656946182,
0.02664193883538246,
0.01987544074654579,
-0.013072066009044647,
0.037538401782512665,
-0.07242182642221451,
0.054353244602680206,
-0.042811475694179535,
0.000860216619912535,
-0.023691967129707336,
-0.027582243084907532,
-0.034404054284095764,
0.022825412452220917,
0.07839552313089371,
-0.02216166816651821,
-0.016925467178225517,
0.032744694501161575,
-0.018630919978022575,
-0.05110827460885048,
0.00025423348415642977,
0.013108940795063972,
-0.04819517582654953,
-0.027305683121085167,
0.04672019183635712,
0.03134346008300781,
0.018382016569375992,
-0.03451468050479889,
-0.05877820402383804,
-0.01512782834470272,
-0.060806307941675186,
0.053615752607584,
-0.027932552620768547,
-0.017819678410887718,
-0.03945588320493698,
-0.013588311150670052,
0.052177637815475464,
-0.019119510427117348,
0.0389765128493309,
0.02304666116833687,
-0.01958044245839119,
0.033850934356451035,
0.03429343178868294,
-0.02861473336815834,
-0.03512310981750488,
0.01466689445078373,
0.014298148453235626,
0.016529064625501633,
0.03523373603820801,
-0.010426308959722519,
-0.016418440267443657,
0.006185723468661308,
0.01524767093360424,
0.020797306671738625,
0.025111641734838486,
-0.02452164702117443,
0.04340147227048874,
0.00756391417235136,
0.041483987122774124,
0.029979096725583076,
-0.007139855530112982,
0.0008936342783272266,
-0.001530298264697194,
0.08584420382976532,
-0.04008275270462036,
0.022124793380498886,
0.016888592392206192,
0.008568748831748962,
0.03442249074578285,
0.006425409112125635,
0.05863070487976074,
0.022585727274417877,
0.015358294360339642,
0.002093789167702198,
-0.07551929354667664,
-0.0017019958468154073,
-0.030642839148640633,
-0.033998433500528336,
-0.00920022651553154,
-0.011652391403913498,
-0.0016559025971218944,
0.002183671109378338,
0.02249354124069214,
-0.06331378221511841,
0.024964142590761185,
-0.019930751994252205,
-0.02940753847360611,
0.03318719193339348,
0.032836880534887314,
-0.07242182642221451,
-0.045466452836990356,
-0.03268938139081001,
-0.004613941535353661,
-0.010195842944085598,
-0.04222148284316063,
-0.03027409315109253,
0.003966330084949732,
0.09358787536621094,
0.04244273155927658,
0.013072066009044647,
-0.04133649170398712,
-0.0389765128493309,
0.012601913884282112,
-0.032670944929122925,
-0.03025565668940544,
0.037685900926589966,
-0.014961891807615757,
-0.0007518972852267325,
-0.03208095207810402,
-0.006748062092810869,
0.06475190073251724,
-0.012648006901144981,
0.025203827768564224,
0.00439038872718811,
-0.04292210191488266,
-0.06626375764608383,
-0.023526031523942947,
-0.013837214559316635,
-0.008223048411309719,
-0.04048837348818779,
-0.004436482209712267,
0.021977296099066734,
-0.03178595378994942,
-0.0342012457549572,
-0.0014093032805249095,
0.03755683824419975,
-0.0024475553072988987,
0.010610682889819145,
0.021645423024892807,
-0.04284835234284401,
-0.016095787286758423,
0.009863970801234245,
0.06843936443328857,
0.07216370105743408,
0.008591795340180397,
-0.01596672646701336,
0.03388781100511551,
-0.02579382248222828,
0.010361778549849987,
-0.0004949270514771342,
0.013579091988503933,
0.04377021640539169,
-0.023175721988081932,
-0.08400046825408936,
0.038239020854234695,
-0.00864710658788681,
0.022051045671105385,
0.0477895550429821,
-0.02572007291018963,
0.04952266439795494,
0.11187770962715149,
0.023304782807826996,
0.02964722365140915,
-0.00013194212806411088,
-0.028338173404335976,
-0.014316585846245289,
-0.0222538560628891,
-0.02885441854596138,
-0.057819463312625885,
-0.0046715582720935345,
-0.04222148284316063,
0.022382916882634163,
0.0782480239868164,
0.018612483516335487,
0.023784153163433075,
-0.01729421317577362,
0.009725690819323063,
0.026936937123537064,
-0.00963350385427475,
0.01328409556299448,
-0.014390334486961365,
-0.027969427406787872,
-0.030790338292717934,
-0.00687712337821722,
0.007213604636490345,
0.04424958676099777,
0.041152115911245346,
-0.013652841560542583,
0.05509073659777641,
0.04310647398233414,
-0.010527714155614376,
0.043032724410295486,
0.001721585518680513,
-0.0074763367883861065,
0.0008757730829529464,
-0.02184823341667652,
0.004314335063099861,
0.018077800050377846,
0.05604947730898857,
-0.012058013118803501,
-0.03669028356671333,
-0.03484655171632767,
-0.01974637806415558,
0.020797306671738625,
-0.027655992656946182,
-0.016436878591775894,
0.019764816388487816,
-0.03975088149309158,
-0.08215673267841339,
0.052251387387514114,
0.03309500589966774,
0.022899162024259567,
-0.057192593812942505,
-0.027545368298888206,
0.04675706475973129,
-0.027397869154810905,
0.09639035165309906,
0.006296347826719284,
-0.07640428841114044,
0.007909613661468029,
0.029997533187270164,
-0.000019445620637270622,
-0.021368863061070442,
-0.010407871566712856,
-0.007172120735049248,
0.022511977702379227,
-0.0324128232896328,
-0.005134795792400837,
0.012952223420143127,
-0.013606748543679714,
-0.01741405576467514,
-0.0036367629654705524,
-0.030937837436795235,
-0.0737861916422844,
-0.04893266782164574,
-0.032191574573516846,
0.0745236799120903,
-0.005591119639575481,
0.007946488447487354,
-0.05276763439178467,
-0.0019601185340434313,
-0.05416887253522873,
0.02767442911863327,
0.038718391209840775,
-0.04159461334347725,
0.1008153110742569,
0.0026572798378765583,
-0.018345141783356667,
0.02870691940188408,
0.05818820744752884,
-0.01289691124111414,
0.0022562681697309017,
-0.023876341059803963,
-0.006153458263725042,
-0.03044002875685692,
-0.025978196412324905,
0.04362271726131439,
-0.018990447744727135,
0.054353244602680206,
0.02459539659321308,
-0.09196539223194122,
0.024171337485313416,
0.011587860994040966,
0.06220754608511925,
0.01972794160246849,
-0.01092411670833826,
-0.016768749803304672,
0.007006184663623571,
-0.01741405576467514,
0.042110856622457504,
-0.04605644568800926,
0.02743474394083023,
-0.04989141225814819,
-0.044138964265584946,
0.044618334621191025,
0.12308760732412338,
0.03497561067342758,
-0.018870605155825615,
-0.016565939411520958,
0.0283750481903553,
-0.021110741421580315,
-0.002371501410380006,
0.022991348057985306,
0.010232716798782349,
0.009771783836185932,
-0.013367063365876675,
-0.031232833862304688,
0.013025972060859203,
0.05737696588039398,
0.05037078261375427,
-0.04904329404234886,
-0.026070382446050644,
-0.10951773077249527,
-0.05262013524770737,
0.05022328346967697,
0.053578875958919525,
-0.04402834177017212,
-0.0955791100859642,
-0.04797392711043358,
-0.030624402686953545,
-0.019691066816449165,
0.07002497464418411,
-0.03716965392231941,
-0.042110856622457504,
0.006531423423439264,
0.020022938027977943,
0.017497025430202484,
-0.043917715549468994,
-0.015275326557457447,
-0.014132211916148663,
0.04004587605595589,
-0.026623502373695374,
0.01883373036980629,
0.010306466370821,
0.015985162928700447,
-0.04369646683335304,
-0.032670944929122925,
-0.0017734405118972063,
-0.058925703167915344,
0.01950669288635254,
0.04259022697806358,
0.01796717569231987,
-0.04104149341583252,
0.004231366794556379,
0.012518946081399918,
0.02870691940188408,
0.011578641831874847,
0.03945588320493698,
-0.025775384157896042,
-0.003682856447994709,
-0.02446633391082287,
0.046572692692279816,
0.07994425296783447,
0.033537499606609344,
0.08053424954414368,
0.01950669288635254,
-0.01662125065922737,
-0.04967016354203224,
-0.013975494541227818,
0.02343384362757206,
0.021184490993618965,
-0.007222823332995176,
0.015542668290436268,
-0.03831276670098305,
-0.05984756723046303,
-0.058925703167915344,
-0.02372884191572666,
0.009670378640294075,
-0.015902195125818253,
0.005609557032585144,
-0.010555370710790157,
0.06430940330028534,
0.0836317241191864,
0.03388781100511551,
-0.025756947696208954,
0.020944805815815926,
-0.00045459537068381906,
-0.032818444073200226,
0.00257661659270525,
-0.010195842944085598,
-0.08466421067714691,
0.0772155299782753,
-0.0014219789300113916,
-0.02931535243988037,
0.006660484708845615,
0.013984713703393936,
0.011514111422002316,
-0.05014953389763832,
-0.010748962871730328,
-0.011541767977178097,
-0.03960338234901428,
0.05125577375292778,
-0.03787027299404144,
0.0030467684846371412,
0.019930751994252205,
-0.0266603771597147,
-0.007227432914078236,
0.042885225266218185,
-0.05623385310173035,
0.042811475694179535,
0.02162698656320572,
-0.03886588662862778,
-0.0621337965130806,
-0.00044105545384809375,
0.03200720250606537,
0.01780124008655548,
0.01510017178952694,
0.01510017178952694,
0.012675663456320763,
0.03456998988986015,
0.03350062668323517,
0.017976395785808563,
0.021590111777186394,
0.026439128443598747,
0.029130978509783745,
0.02750849351286888,
-0.0030121984891593456,
-0.039972126483917236,
-0.058999449014663696,
0.041225865483284,
0.010831930674612522,
-0.022106356918811798,
0.043217096477746964,
0.006102755665779114,
-0.005793930497020483,
0.027950989082455635,
0.05214076489210129,
0.019598880782723427,
-0.018455766141414642,
-0.013496124185621738,
-0.023065097630023956,
0.03152783215045929,
0.058225084096193314,
-0.019838565960526466,
0.0016881679184734821,
0.01601281948387623,
0.07876426726579666,
-0.037538401782512665,
0.042258355766534805,
0.020022938027977943,
-0.02059449627995491,
-0.03775964677333832,
0.011182239279150963,
0.025332888588309288,
0.04867454618215561,
-0.008112424053251743,
-0.013247220776975155,
0.0766255334019661,
0.01171692181378603,
0.015763916075229645,
-0.020705120638012886,
-0.07256932556629181,
-0.010748962871730328,
0.02271478809416294,
0.04207398369908333,
0.00619494216516614,
-0.035584043711423874,
-0.01669500023126602,
-0.010970210656523705,
0.016409222036600113,
0.062465667724609375,
0.056012604385614395,
-0.05099765211343765,
-0.0773630291223526,
-0.01757999323308468,
-0.00687712337821722,
0.013118159025907516,
0.04019337520003319,
-0.011173021048307419,
-0.02767442911863327,
-0.039271511137485504,
-0.08591794967651367,
0.05284138396382332,
-0.05151389539241791,
0.02540663816034794,
0.0078035993501544,
-0.01524767093360424,
-0.0009282042738050222,
0.0037635196931660175,
0.016805624589323997,
0.0037566055543720722,
-0.013947838917374611,
0.04292210191488266,
0.01328409556299448,
0.04004587605595589,
-0.004194492008537054,
0.0782480239868164,
-0.037446215748786926,
-0.002514390740543604,
0.05203014239668846,
-0.014058463275432587,
0.010546151548624039,
-0.03182283043861389,
0.042811475694179535,
-0.008803823962807655,
-0.008223048411309719,
0.03724340349435806,
-0.006923216860741377,
0.03276313096284866,
0.019764816388487816,
-0.014952673576772213,
-0.011025522835552692,
0.014012369327247143,
0.013219564221799374,
-0.011569423601031303,
0.046277694404125214,
-0.004157617688179016,
0.02218010649085045,
-0.052472636103630066,
-0.033924683928489685,
0.031251270323991776,
0.02042856067419052,
0.03901338577270508,
0.07164745777845383,
-0.01840045303106308,
-0.007158292923122644,
-0.006111974362283945,
0.03444093093276024,
-0.028319736942648888,
-0.017165152356028557,
-0.010002250783145428,
0.010684431530535221,
0.05984756723046303,
-0.026383817195892334,
0.02374727837741375,
-0.00029874235042370856,
-0.007273525930941105,
-0.024042276665568352,
-0.017358744516968727,
-0.07061497122049332,
-0.024742893874645233,
0.007356494199484587,
-0.008333672769367695,
-0.012666444294154644,
-0.03515998646616936,
-0.0162064116448164,
0.02042856067419052,
0.018732326105237007,
-0.045798324048519135,
0.037059031426906586,
0.019156383350491524,
0.057192593812942505
] |
710,109
|
urllib3_future.backend._base
|
__repr__
| null |
def __repr__(self) -> str:
return str(
{
"established_latency": self.established_latency,
"certificate_der": self.certificate_der,
"certificate_dict": self.certificate_dict,
"issuer_certificate_der": self.issuer_certificate_der,
"issuer_certificate_dict": self.issuer_certificate_dict,
"destination_address": self.destination_address,
"cipher": self.cipher,
"tls_version": self.tls_version,
"tls_handshake_latency": self.tls_handshake_latency,
"http_version": self.http_version,
"resolution_latency": self.resolution_latency,
"request_sent_latency": self.request_sent_latency,
}
)
|
(self) -> str
|
[
-0.01183832436800003,
-0.02994667738676071,
0.016322124749422073,
-0.01147378794848919,
0.042140424251556396,
-0.059783995151519775,
-0.03911477327346802,
-0.020887944847345352,
0.03448515757918358,
-0.060622427612543106,
-0.03313637152314186,
0.020650995895266533,
-0.00877166073769331,
0.049795690923929214,
0.006137884221971035,
0.0015025740722194314,
-0.02451508305966854,
-0.10360128432512283,
0.007076565641909838,
-0.01818126067519188,
0.029509233310818672,
0.04443700611591339,
0.03284474462270737,
-0.01851845718920231,
-0.04487444832921028,
0.018399981781840324,
-0.0034084166400134563,
-0.030949153006076813,
-0.012084386311471462,
0.015757091343402863,
-0.051837097853422165,
-0.045968059450387955,
-0.007997020147740841,
0.0004214953805785626,
-0.030438801273703575,
0.028288036584854126,
-0.025608692318201065,
-0.03900540992617607,
-0.08223944157361984,
-0.029563913121819496,
-0.03182404115796089,
0.01249449048191309,
-0.07494871318340302,
-0.027631869539618492,
-0.015000678598880768,
0.008069927804172039,
-0.008420794270932674,
0.06754862517118454,
0.007887659594416618,
-0.10761118680238724,
-0.0016335793770849705,
0.00801524706184864,
-0.018600476905703545,
0.01143733412027359,
-0.05380559340119362,
-0.006907967384904623,
0.028962427750229836,
0.002982364734634757,
-0.009660218842327595,
0.04461927339434624,
-0.05551891773939133,
-0.010352837853133678,
0.01744307391345501,
-0.01247626356780529,
-0.019065260887145996,
-0.046879399567842484,
-0.07728175073862076,
0.035432953387498856,
0.008484588004648685,
0.0011858829529955983,
0.10549687594175339,
-0.05537310242652893,
-0.053149428218603134,
0.010152342729270458,
-0.04450991377234459,
-0.021963326260447502,
-0.04790010303258896,
-0.012084386311471462,
-0.0064568533562123775,
-0.04691585525870323,
-0.015492803417146206,
-0.0397709384560585,
0.01716967113316059,
-0.04323403537273407,
0.05406076833605766,
-0.03820342943072319,
-0.0015071308007463813,
-0.032461978495121,
-0.08085420727729797,
0.02890774793922901,
-0.015474576503038406,
0.025809187442064285,
-0.04020838066935539,
0.04775428771972656,
-0.013533418998122215,
-0.018491115421056747,
-0.0184182096272707,
-0.02083326317369938,
0.05621153488755226,
-0.03455806523561478,
0.035742808133363724,
-0.013597212731838226,
-0.05384204909205437,
0.02083326317369938,
-0.030803337693214417,
-0.029928449541330338,
-0.009058733470737934,
0.004852892830967903,
-0.0007233772194013,
0.025317063555121422,
0.009988301433622837,
0.045202530920505524,
0.007195040117949247,
-0.03864087536931038,
0.06011207774281502,
0.014052883721888065,
-0.013551645912230015,
-0.018937673419713974,
0.03169645369052887,
-0.004271912854164839,
-0.005390584003180265,
0.006611781660467386,
-0.010252590291202068,
-0.00007589764572912827,
-0.08508282899856567,
0.038823142647743225,
-0.054425306618213654,
-0.009569084271788597,
0.030438801273703575,
-0.06918903440237045,
0.03222503140568733,
0.003902819473296404,
0.007272504270076752,
0.08967599272727966,
0.06897031515836716,
-0.030074264854192734,
0.01167428307235241,
0.039297040551900864,
0.08005222678184509,
0.12729616463184357,
0.030001357197761536,
-0.008511927910149097,
0.0019047034438699484,
0.014007316902279854,
0.04060937091708183,
-0.046004511415958405,
0.010143229737877846,
0.023731328547000885,
-0.04104681685566902,
-0.06681954860687256,
0.060622427612543106,
0.027613643556833267,
0.00423545902594924,
-0.03565167263150215,
0.017871404066681862,
0.034065939486026764,
-0.012284881435334682,
-0.02455153688788414,
0.010772055014967918,
-0.040973909199237823,
-0.05449821427464485,
-0.03373785689473152,
0.023621968924999237,
-0.06711117923259735,
0.02083326317369938,
0.015574824064970016,
0.04290595278143883,
-0.03856796771287918,
0.031040286645293236,
0.015246741473674774,
-0.0566125251352787,
-0.057305146008729935,
-0.03809406980872154,
0.04254141449928284,
0.03601621091365814,
0.04039064794778824,
0.03995320573449135,
0.050561219453811646,
-0.048920802772045135,
-0.017515981569886208,
0.023439699783921242,
-0.06517913192510605,
-0.07126689702272415,
0.04440055042505264,
0.03528713807463646,
-0.05708642303943634,
0.04859272018074989,
0.015975814312696457,
0.02147120237350464,
0.00149459985550493,
0.026173723861575127,
0.016276556998491287,
-0.034594517201185226,
0.0418487973511219,
-0.001577759743668139,
-0.032589565962553024,
0.026210177689790726,
-0.06157022342085838,
-0.006055863574147224,
0.01566595770418644,
-0.03452160954475403,
0.022218503057956696,
-0.04068227857351303,
0.0115740355104208,
0.016695773229002953,
-0.02650180645287037,
-0.03616202622652054,
0.003278550459071994,
0.023858917877078056,
0.0020493788179010153,
0.01747952774167061,
-0.004650119226425886,
0.015000678598880768,
-0.01643148437142372,
0.02958214096724987,
-0.03404771164059639,
-0.02354906126856804,
0.02817867510020733,
-0.04250496253371239,
-0.011783643625676632,
0.030985606834292412,
-0.048993710428476334,
0.011081910692155361,
-0.05540955439209938,
-0.07031910121440887,
0.01760711520910263,
0.02227318286895752,
0.02387714385986328,
-0.04268722981214523,
0.0005408241413533688,
0.04465572535991669,
-0.014371853321790695,
-0.01089964248239994,
0.06794961541891098,
0.004620500840246677,
0.03410239517688751,
-0.044728633016347885,
0.03206098824739456,
-0.01820860058069229,
0.006880627479404211,
0.0009050758671946824,
0.03222503140568733,
0.015383441932499409,
-0.019940149039030075,
0.05118093267083168,
-0.023257432505488396,
0.048155277967453,
0.056029267609119415,
-0.006775822956115007,
0.014080224558711052,
0.027522509917616844,
-0.04068227857351303,
-0.025298835709691048,
-0.009300238452851772,
-0.004408613778650761,
-0.08931145071983337,
-0.040937453508377075,
-0.014371853321790695,
0.026119044050574303,
0.01932043768465519,
-0.0047845421358942986,
0.020104190334677696,
-0.08909273147583008,
0.04020838066935539,
0.027012158185243607,
0.008776217699050903,
-0.05125383660197258,
0.00257909600622952,
-0.021343614906072617,
0.036581240594387054,
0.10374709963798523,
-0.007304401136934757,
-0.05963817983865738,
0.014517667703330517,
-0.03867732733488083,
-0.05026958882808685,
0.003531447844579816,
0.0063292658887803555,
-0.03557876870036125,
-0.015483689494431019,
0.03173290565609932,
-0.0009312769398093224,
-0.003062106901779771,
-0.04068227857351303,
0.01784406416118145,
-0.0334644541144371,
-0.008516484871506691,
0.009313908405601978,
0.01924753002822399,
0.02183573879301548,
0.00929112546145916,
0.015356102026998997,
0.008685083128511906,
0.004438232630491257,
0.08238525688648224,
-0.016486166045069695,
0.0419217012822628,
-0.02119779959321022,
0.03907831758260727,
0.03085801936686039,
-0.0005952198407612741,
0.022491903975605965,
0.06849641352891922,
0.015182946808636189,
-0.04986859858036041,
0.010033868253231049,
0.007450215518474579,
0.012968387454748154,
0.018090127035975456,
0.02726733312010765,
-0.00927289854735136,
-0.00813372153788805,
0.07917733490467072,
0.06747571378946304,
0.0005673100240528584,
0.050634127110242844,
-0.02786881849169731,
-0.01027993019670248,
0.022254956886172295,
0.08646807074546814,
-0.03058461658656597,
0.014654369093477726,
0.0047480883076786995,
0.03856796771287918,
0.07793791592121124,
-0.07006392627954483,
0.018199486657977104,
-0.0002077573590213433,
0.0757506936788559,
-0.005741450469940901,
-0.04746265709400177,
-0.07764628529548645,
-0.005308563355356455,
0.0005351282306946814,
0.022254956886172295,
0.04964987933635712,
0.01183832436800003,
0.018992353230714798,
-0.04983214661478996,
-0.04239559918642044,
0.05318588390946388,
-0.016121629625558853,
-0.03264424949884415,
0.00909063033759594,
-0.03277183696627617,
-0.029527461156249046,
-0.04166652634739876,
-0.012448922730982304,
-0.009970074519515038,
0.0018078734865412116,
-0.08245816826820374,
-0.010425745509564877,
0.04122908413410187,
0.08479119837284088,
0.004408613778650761,
-0.009222774766385555,
-0.040135473012924194,
-0.028123995289206505,
-0.007349967956542969,
0.032188575714826584,
0.026848116889595985,
0.01975787989795208,
0.015638617798686028,
-0.00920910481363535,
-0.025572238489985466,
-0.004522531758993864,
0.04316112771630287,
-0.03113142028450966,
0.06740280985832214,
0.004839222878217697,
-0.07381865382194519,
-0.009004052728414536,
-0.028561437502503395,
-0.017689136788249016,
-0.04673358425498009,
0.01209350023418665,
0.0028707252349704504,
0.025444651022553444,
-0.04633259400725365,
-0.05577409267425537,
0.018336188048124313,
0.02650180645287037,
0.0047982120886445045,
0.07735465466976166,
0.030110718682408333,
0.013916182331740856,
0.008498257957398891,
-0.011227726005017757,
0.022528357803821564,
0.028360942378640175,
-0.025973228737711906,
0.0057687908411026,
0.0019479921320453286,
0.02019532397389412,
-0.02586386725306511,
-0.016686661168932915,
0.015219400636851788,
0.015456349588930607,
-0.02650180645287037,
-0.020541634410619736,
0.010033868253231049,
-0.025608692318201065,
-0.0162674430757761,
-0.013004841282963753,
-0.03140482306480408,
0.0023672091774642467,
0.06849641352891922,
0.014371853321790695,
0.01167428307235241,
0.0037729532923549414,
-0.04163007438182831,
-0.0003952943079639226,
-0.05781549587845802,
-0.03918767720460892,
0.0377659872174263,
-0.0172699186950922,
-0.06036725267767906,
0.014298945665359497,
-0.0015287750866264105,
0.0441453754901886,
-0.021106665953993797,
0.0076188137754797935,
0.019976602867245674,
0.03284474462270737,
0.01329647097736597,
-0.002622384810820222,
-0.026921024546027184,
0.005645759869366884,
0.060622427612543106,
0.032589565962553024,
-0.008698753081262112,
0.016723113134503365,
0.017051197588443756,
-0.03308169171214104,
0.042978860437870026,
-0.011829211376607418,
0.03049348294734955,
-0.010525993071496487,
-0.01820860058069229,
0.013159769587218761,
0.011464674025774002,
-0.022364316508173943,
0.01115481834858656,
0.052639078348875046,
0.022163821384310722,
0.010261704213917255,
-0.0734541118144989,
-0.03720095381140709,
0.03472210466861725,
0.02092439867556095,
0.03736499696969986,
-0.019466251134872437,
0.010453085415065289,
-0.04243205487728119,
-0.010307271033525467,
0.028360942378640175,
0.006465966813266277,
-0.023457927629351616,
-0.056466709822416306,
-0.0313865952193737,
-0.02028645947575569,
0.009368589147925377,
0.02008596435189247,
0.05745096132159233,
-0.00969667173922062,
-0.019648520275950432,
0.006101430393755436,
0.04578578844666481,
-0.06011207774281502,
0.01205704640597105,
0.0018523012986406684,
0.045968059450387955,
-0.03477678820490837,
0.006771266460418701,
0.015383441932499409,
0.042249783873558044,
-0.02143474854528904,
-0.009751352481544018,
-0.04461927339434624,
-0.048884350806474686,
-0.05573763698339462,
-0.060221437364816666,
-0.002722632372751832,
-0.006707472261041403,
0.023403245955705643,
0.013168882578611374,
-0.007942340336740017,
0.02542642317712307,
-0.011245951987802982,
0.0567583404481411,
-0.024496855214238167,
0.07272504270076752,
-0.048118822276592255,
-0.01173807680606842,
-0.00514907855540514,
0.05843520909547806,
-0.008776217699050903,
-0.02622840367257595,
-0.07298021763563156,
0.048446908593177795,
-0.024442175403237343,
-0.016048721969127655,
0.05577409267425537,
-0.008817227557301521,
0.030001357197761536,
0.03109496831893921,
-0.03322750702500343,
0.040500011295080185,
0.014927771873772144,
0.043780840933322906,
0.03696400672197342,
-0.022583039477467537,
0.050634127110242844,
-0.014763730578124523,
-0.04618677869439125,
-0.003850417211651802,
0.0032261484302580357,
0.0035906850825995207,
-0.023640194907784462,
-0.001794203300960362,
-0.00046848642523400486,
0.09069669246673584,
-0.009742239490151405,
-0.006753039546310902,
-0.028014633804559708,
0.04115617647767067,
-0.006311038974672556,
-0.0029071790631860495,
-0.03740144893527031,
0.03864087536931038,
0.01123683899641037,
0.02679343707859516,
0.02023177780210972,
0.03237084671854973,
-0.020614542067050934,
0.08063548058271408,
-0.05807067081332207,
0.015237627550959587,
-0.05887265130877495,
-0.03149595856666565,
0.06000271439552307,
-0.02921760454773903,
-0.03579748794436455,
-0.06991811096668243,
-0.008849124424159527,
-0.015747979283332825,
0.03951575979590416,
0.03725563362240791,
0.009432382881641388,
-0.04334339499473572,
0.013187109492719173,
-0.0029162922874093056,
0.006479637231677771,
-0.07042846083641052,
0.004180778283625841,
0.014098450541496277,
0.047608472406864166,
0.020377593114972115,
0.0020767191890627146,
0.035706356167793274,
0.011264178901910782,
-0.021617017686367035,
-0.012102613225579262,
-0.02874370664358139,
-0.007577803451567888,
0.051436107605695724,
0.028834840282797813,
0.056867700070142746,
-0.062335748225450516,
-0.009605538100004196,
0.011601375415921211,
0.02119779959321022,
0.048483360558748245,
0.005417924374341965,
-0.044728633016347885,
-0.0007512870361097157,
0.007965123280882835,
0.07443836331367493,
0.05110802501440048,
0.01069914735853672,
0.016750454902648926,
0.04188524931669235,
-0.01944802515208721,
-0.01666843332350254,
0.0006350910407491028,
0.037911802530288696,
-0.022346090525388718,
-0.0013681512791663408,
0.023968277499079704,
-0.03834924474358559,
-0.07148561626672745,
-0.056503165513277054,
0.008967598900198936,
-0.013934409245848656,
0.055117927491664886,
-0.003793458454310894,
-0.003205643268302083,
0.04917598143219948,
0.02690279670059681,
0.05132674425840378,
0.001741801155731082,
0.024569762870669365,
0.02183573879301548,
0.044327642768621445,
0.04706166684627533,
-0.0018169868271797895,
-0.004916686564683914,
0.048118822276592255,
-0.04283304512500763,
0.00232278136536479,
-0.04793655499815941,
0.03625315800309181,
-0.026046136394143105,
-0.09776870161294937,
0.02187219262123108,
-0.054753389209508896,
0.003205643268302083,
0.007094792556017637,
-0.06627274304628372,
-0.02642889879643917,
0.025645146146416664,
0.018062785267829895,
-0.048082370311021805,
0.05358687415719032,
-0.015210287645459175,
0.024970753118395805,
-0.0034448704682290554,
-0.0019400179153308272,
-0.005982955917716026,
-0.0732353925704956,
0.015574824064970016,
0.019776107743382454,
-0.0036681490018963814,
-0.032316163182258606,
-0.026009682565927505,
0.01101811695843935,
0.022346090525388718,
0.04870208352804184,
-0.02287466824054718,
0.03616202622652054,
0.011428221128880978,
0.030238306149840355,
-0.07075654715299606,
-0.03639897331595421,
-0.050196681171655655,
0.03302701190114021,
-0.009117970243096352,
-0.05026958882808685,
0.03381076455116272,
-0.05165482684969902,
-0.029764408245682716,
0.0017907858127728105,
0.04316112771630287,
-0.013788594864308834,
-0.03893250226974487,
0.008726093918085098,
-0.026210177689790726,
0.025772733613848686,
-0.004171665292233229,
-0.02023177780210972,
-0.02878016047179699,
0.0006715446943417192,
0.007600586861371994,
-0.09193611890077591,
0.07236050814390182,
0.002063049003481865,
-0.0440724678337574,
0.003148684510961175,
0.021106665953993797,
-0.027157973498106003,
0.03579748794436455,
0.010990777052938938,
-0.009099743328988552,
0.007769185118377209,
-0.03747435659170151,
0.02938164584338665,
-0.02143474854528904,
-0.010662693530321121,
0.03477678820490837,
-0.04272368177771568,
0.03716450184583664,
0.005016934126615524,
-0.04286949709057808,
-0.05008732154965401,
-0.02230963669717312,
0.002620106330141425,
0.021945100277662277,
0.04104681685566902,
-0.0502331368625164,
-0.05165482684969902,
-0.01737016625702381,
-0.058909106999635696,
-0.037656623870134354,
0.014362740330398083,
0.04268722981214523,
-0.010772055014967918,
0.026009682565927505,
-0.05781549587845802,
0.047207482159137726,
-0.0461503267288208,
0.012521830387413502,
0.030402347445487976,
0.03320927917957306,
0.003529169363901019,
0.03433934226632118,
0.010872302576899529,
0.05635735020041466,
-0.05282134562730789,
0.03176936134696007,
-0.014308059588074684,
0.031751133501529694,
0.07221469283103943,
0.021890420466661453,
-0.05001441389322281,
-0.02750428207218647,
0.004121541511267424,
-0.014763730578124523,
0.03291764855384827,
-0.009687558747828007,
0.04330694302916527,
-0.008849124424159527,
0.03878668695688248,
0.03392012417316437,
0.003027931787073612,
-0.004802769050002098,
0.08245816826820374,
-0.008106381632387638,
-0.002053935546427965,
-0.018737178295850754,
-0.007919556461274624,
-0.036107346415519714,
0.031641773879528046,
-0.028725480660796165,
-0.014718162827193737,
0.012129953131079674,
0.015082699246704578,
-0.017078537493944168,
-0.02283821441233158,
0.04082809388637543,
0.04910307377576828,
0.01955738663673401,
0.0753861591219902,
0.03911477327346802,
0.009960961528122425,
-0.018290620297193527,
0.009660218842327595,
0.006352049298584461,
0.03510487079620361,
0.01536521501839161,
-0.01011588890105486,
0.038458604365587234,
0.0460774190723896,
-0.04250496253371239,
-0.04505671560764313,
0.047171030193567276,
-0.06663727760314941,
-0.005518171936273575,
0.03472210466861725,
0.0031760246492922306,
-0.0240776389837265,
-0.047608472406864166,
-0.03659946843981743,
0.03113142028450966,
0.03641720116138458,
-0.0545346662402153,
0.06080469489097595,
0.014207812026143074,
-0.01165605615824461
] |
710,110
|
urllib3_future.backend._base
|
is_encrypted
| null |
def is_encrypted(self) -> bool:
return self.certificate_der is not None
|
(self) -> bool
|
[
0.029641130939126015,
-0.0163708683103323,
0.048059411346912384,
0.07427976280450821,
0.04350960627198219,
-0.05490097030997276,
-0.0033849698957055807,
0.027399931102991104,
0.05126112699508667,
0.016278188675642014,
0.016227634623646736,
-0.0004273340164218098,
0.005442913621664047,
0.018131811171770096,
0.0018325599376112223,
-0.017061764374375343,
-0.049710821360349655,
-0.033601146191358566,
0.03494923561811447,
-0.0477897934615612,
0.009697822853922844,
0.0009457694832235575,
0.008425562642514706,
-0.00009399768896400928,
-0.037881333380937576,
0.05058708041906357,
0.051092613488435745,
0.006255980581045151,
-0.0011069083120673895,
0.08149204403162003,
-0.05308104678988457,
0.03973495587706566,
0.0709095373749733,
0.025613712146878242,
0.03606140986084938,
0.05638386681675911,
0.00010150170419365168,
-0.036432135850191116,
-0.0159158892929554,
-0.03021406941115856,
-0.02387804538011551,
0.06696637719869614,
0.0502837598323822,
0.017710532993078232,
-0.03882499411702156,
-0.020322458818554878,
-0.041554875671863556,
0.036432135850191116,
0.014795288443565369,
-0.06376466155052185,
0.07596487551927567,
-0.0047646560706198215,
0.022984936833381653,
0.024248771369457245,
0.0073470911011099815,
-0.031022923067212105,
0.04586876556277275,
0.054125815629959106,
-0.0113829355686903,
0.020693182945251465,
-0.03112402930855751,
-0.04263335093855858,
0.04489139840006828,
-0.02131667546927929,
0.00012598850298672915,
0.03966755047440529,
-0.012941665016114712,
-0.004950018133968115,
0.03363484889268875,
0.044453270733356476,
-0.010599358007311821,
-0.027618994936347008,
-0.07711075246334076,
0.04249854013323784,
-0.05314845219254494,
-0.04607097804546356,
-0.007052196189761162,
0.02836044505238533,
-0.0477897934615612,
-0.030449984595179558,
-0.0277538038790226,
-0.03933052718639374,
-0.02177165448665619,
0.009293396025896072,
0.03395501896739006,
-0.0061885761097073555,
0.054328031837940216,
-0.008307605050504208,
-0.006057980004698038,
0.07063992321491241,
0.005156444385647774,
0.008644627407193184,
0.013084899634122849,
-0.022917531430721283,
0.012031704187393188,
0.0012764728162437677,
0.02856265939772129,
-0.01585691049695015,
0.022597359493374825,
-0.05206998065114021,
0.021687399595975876,
0.05995630845427513,
0.04640800133347511,
0.01657308265566826,
0.012587791308760643,
0.0017725278157740831,
-0.060697756707668304,
0.009301821701228619,
0.029438916593790054,
-0.0752234235405922,
-0.003625098615884781,
-0.04920528829097748,
0.008880543522536755,
0.0037430564407259226,
0.008151732385158539,
-0.07441457360982895,
0.025563158094882965,
0.008353945799171925,
-0.06376466155052185,
0.021502036601305008,
0.022260338068008423,
0.022681616246700287,
-0.013826348818838596,
-0.05025005713105202,
-0.020945949479937553,
0.0043981438502669334,
0.027214568108320236,
0.011205999180674553,
0.016092825680971146,
-0.01809811033308506,
0.0555076077580452,
0.04479029402136803,
-0.0005305471713654697,
0.050182655453681946,
-0.013202857226133347,
-0.023069191724061966,
0.04849754273891449,
0.03538736328482628,
0.024265620857477188,
0.05456394702196121,
-0.017727384343743324,
0.022209784016013145,
0.012545663863420486,
0.03538736328482628,
0.002887861803174019,
0.030449984595179558,
-0.06127069517970085,
-0.025832775980234146,
-0.02455209009349346,
-0.02960742823779583,
0.04927269369363785,
-0.02632145956158638,
0.012031704187393188,
-0.032084543257951736,
-0.03751060739159584,
0.022934382781386375,
-0.052609216421842575,
0.0405438095331192,
0.006116958800703287,
-0.015604143030941486,
-0.008450839668512344,
0.018384579569101334,
-0.03538736328482628,
0.02249625325202942,
-0.006003213580697775,
-0.045161016285419464,
-0.01335451751947403,
-0.03656694293022156,
-0.0026435204781591892,
0.04219521954655647,
-0.010717316530644894,
0.0017219744622707367,
-0.018671046942472458,
0.03842056915163994,
0.0227658711373806,
0.05490097030997276,
0.058473408222198486,
-0.0033049271441996098,
-0.04630689322948456,
-0.032943952828645706,
-0.012840557843446732,
-0.017727384343743324,
-0.03535366430878639,
0.06784263253211975,
0.05823749303817749,
-0.004050589632242918,
0.04337479919195175,
0.01364941243082285,
0.059181153774261475,
-0.05533909797668457,
-0.03751060739159584,
0.0065508754923939705,
-0.0373757965862751,
0.007469261530786753,
-0.03525255620479584,
-0.026102393865585327,
0.0480257086455822,
-0.01742406375706196,
-0.03653324022889137,
0.011829490773379803,
0.007267048116773367,
-0.0690896138548851,
-0.013716816902160645,
-0.02999500371515751,
-0.02369268424808979,
0.024046557024121284,
-0.08189647644758224,
-0.009563013911247253,
0.02138407900929451,
-0.02158629335463047,
0.04138636589050293,
-0.07717815786600113,
0.027602145448327065,
0.04219521954655647,
0.003667226294055581,
0.020103393122553825,
0.03481442481279373,
0.006959515158087015,
-0.039701253175735474,
0.05351917818188667,
0.0561816543340683,
0.03606140986084938,
-0.0023781151976436377,
-0.003772545838728547,
-0.0064455559477210045,
0.0017662086756899953,
-0.015882186591625214,
0.04617208614945412,
-0.05574352666735649,
-0.03112402930855751,
0.019985435530543327,
0.021333524957299232,
-0.0559457391500473,
0.07333610206842422,
0.044251058250665665,
-0.01934509351849556,
-0.017980150878429413,
0.05014895275235176,
-0.02177165448665619,
0.016691040247678757,
0.04987933486700058,
-0.013539879582822323,
0.002011603210121393,
0.0028583721723407507,
-0.016278188675642014,
-0.025360945612192154,
0.03855537623167038,
0.03429204225540161,
-0.008429775945842266,
0.0069258129224181175,
0.006197001785039902,
-0.060899969190359116,
-0.019109176471829414,
-0.05877672880887985,
-0.01391903031617403,
-0.04789090156555176,
-0.032472118735313416,
0.00277201016433537,
0.0448576994240284,
0.0049752951599657536,
-0.009402927942574024,
0.02743363380432129,
0.000003854859642160591,
0.03882499411702156,
0.04249854013323784,
0.0015524099580943584,
0.009579865261912346,
-0.00037283115671016276,
0.03855537623167038,
-0.007599858101457357,
0.03098922036588192,
-0.015882186591625214,
-0.03973495587706566,
-0.005881043151021004,
0.03606140986084938,
-0.022344592958688736,
0.06362985074520111,
0.015823207795619965,
-0.012941665016114712,
0.055305395275354385,
0.07374052703380585,
0.0295568760484457,
-0.013127027079463005,
-0.026085542514920235,
-0.007549304515123367,
-0.04172338917851448,
-0.0464417040348053,
-0.02033931016921997,
0.005430275574326515,
0.005969511345028877,
0.0031153520103543997,
0.07374052703380585,
0.0790654867887497,
-0.04704834520816803,
0.029068192467093468,
-0.01658150739967823,
0.02802342362701893,
-0.07030289620161057,
0.016143379732966423,
-0.014340308494865894,
-0.02269846759736538,
0.014913246966898441,
-0.0037283117417246103,
-0.010068547911942005,
-0.008450839668512344,
0.0271808672696352,
-0.028040273115038872,
0.04414995014667511,
0.04088083282113075,
0.03673545643687248,
-0.004431846085935831,
0.03966755047440529,
-0.0056156376376748085,
0.009108033962547779,
0.03558957949280739,
-0.0012311853934079409,
0.056484974920749664,
-0.02874802052974701,
-0.028040273115038872,
0.08762585371732712,
-0.008720457553863525,
0.029000788927078247,
-0.04317258670926094,
0.028410999104380608,
-0.01003484521061182,
-0.030180366709828377,
0.0892435610294342,
-0.012545663863420486,
0.004756230395287275,
0.005678829737007618,
-0.04566655308008194,
-0.048666052520275116,
0.029320959001779556,
-0.02869746834039688,
-0.035960301756858826,
0.013986434787511826,
-0.023473618552088737,
-0.057462338358163834,
0.03304505720734596,
-0.038589078933000565,
0.019581008702516556,
-0.06538236886262894,
0.02783806063234806,
-0.04084713011980057,
-0.007936879992485046,
-0.0068331314250826836,
-0.036095112562179565,
-0.004419208038598299,
-0.0002119555720128119,
0.044183652848005295,
-0.07171839475631714,
0.000863093591760844,
0.04401514306664467,
0.06504534929990768,
-0.05921485647559166,
-0.024383580312132835,
-0.014887969940900803,
0.024855410680174828,
0.026203501969575882,
0.03066905029118061,
0.03412352874875069,
0.020575225353240967,
-0.009335523471236229,
0.013826348818838596,
-0.05749604105949402,
-0.018603643402457237,
0.00014270796964410692,
-0.03255637735128403,
0.020103393122553825,
0.024855410680174828,
-0.03474702313542366,
-0.0037809715140610933,
-0.03960014507174492,
-0.020642628893256187,
-0.0003522938641253859,
-0.07320129126310349,
-0.026355160400271416,
0.019328242167830467,
0.0355558767914772,
0.033584292978048325,
-0.0008488754974678159,
0.0039220997132360935,
0.015342950820922852,
0.04559914767742157,
-0.008118029683828354,
-0.016278188675642014,
-0.0061422353610396385,
-0.010843699797987938,
0.030247772112488747,
-0.043004073202610016,
-0.03407297655940056,
-0.00006997166929068044,
-0.03629732504487038,
-0.007254409603774548,
-0.022277189418673515,
-0.023338809609413147,
0.013186005875468254,
-0.009175438433885574,
0.00005032299304730259,
-0.02467004954814911,
0.022058123722672462,
-0.004002142231911421,
0.08803028613328934,
0.023844342678785324,
-0.055035777390003204,
0.014660479500889778,
0.05230589583516121,
-0.01197272539138794,
0.004265441093593836,
-0.03289339691400528,
-0.007688326295465231,
0.009933738969266415,
-0.016926955431699753,
-0.04822792485356331,
-0.010498251765966415,
0.0049837203696370125,
0.018401429057121277,
-0.012697323225438595,
0.0301298126578331,
0.07987433671951294,
0.022125529125332832,
0.020373011007905006,
0.012149661779403687,
-0.009504035115242004,
-0.01968211494386196,
-0.02097965218126774,
-0.011147020384669304,
-0.017794789746403694,
0.022799573838710785,
-0.036802858114242554,
-0.05065448582172394,
-0.01880585588514805,
0.09443370997905731,
0.006807854864746332,
0.008964799344539642,
0.027349377050995827,
0.0020958587992936373,
-0.027602145448327065,
-0.08014395833015442,
0.03439314663410187,
0.0020863800309598446,
-0.038858696818351746,
-0.08095280826091766,
0.00022485721274279058,
0.04401514306664467,
0.00904905516654253,
-0.045363232493400574,
0.039195720106363297,
0.04883456230163574,
0.037072475999593735,
0.009318673051893711,
0.017845341935753822,
0.0007467155228368938,
-0.023406215012073517,
-0.05941707268357277,
0.04738536849617958,
0.04913788288831711,
0.0013638880336657166,
-0.028040273115038872,
0.018940666690468788,
-0.05672089010477066,
0.003713567042723298,
0.009175438433885574,
-0.016691040247678757,
0.03815095126628876,
0.0015323993284255266,
-0.06784263253211975,
0.025495754554867744,
0.008547733537852764,
0.05719272047281265,
-0.00483627337962389,
-0.009916887618601322,
0.04061121493577957,
0.0070901112630963326,
0.010413995943963528,
-0.006255980581045151,
0.003719886066392064,
0.040644917637109756,
-0.06892110407352448,
-0.014340308494865894,
-0.1263834536075592,
-0.04091453552246094,
-0.020356159657239914,
-0.06009111553430557,
0.05206998065114021,
-0.08782806992530823,
-0.0521036833524704,
-0.006125384476035833,
0.024754304438829422,
0.008703606203198433,
0.00018654722953215241,
0.04350960627198219,
0.019513603299856186,
-0.012259194627404213,
0.03402242437005043,
0.009470333345234394,
-0.0008225456112995744,
-0.01868789829313755,
-0.00871203187853098,
0.012646770104765892,
-0.012326599098742008,
0.05479986220598221,
0.060697756707668304,
-0.05961928516626358,
0.01685112528502941,
-0.04354330897331238,
-0.07037030160427094,
-0.017811641097068787,
0.0032480545341968536,
0.04111674800515175,
0.023389363661408424,
0.021822208538651466,
0.026355160400271416,
-0.02045726776123047,
0.017912747338414192,
0.02980964258313179,
-0.0240128543227911,
-0.01830032281577587,
0.015368226915597916,
-0.029186150059103966,
0.0326237790286541,
0.01657308265566826,
0.01224234327673912,
0.003302820725366473,
-0.02177165448665619,
0.08533409982919693,
-0.028040273115038872,
-0.040307894349098206,
-0.021940166130661964,
-0.011079615913331509,
-0.011736809276044369,
0.015958016738295555,
-0.008905820548534393,
0.005994787905365229,
-0.07198800891637802,
0.03794873505830765,
-0.03821835294365883,
0.045902468264102936,
-0.057024210691452026,
-0.03134309500455856,
-0.01023705955594778,
-0.015907462686300278,
-0.018384579569101334,
-0.02809082716703415,
-0.02797286957502365,
0.035488471388816833,
-0.03127568960189819,
0.01549461018294096,
-0.01671631634235382,
0.008206498809158802,
-0.040240488946437836,
0.03021406941115856,
0.00607061805203557,
-0.08027876168489456,
0.12395688146352768,
0.01526712067425251,
0.042464837431907654,
0.0412178561091423,
-0.03132624179124832,
0.05783306434750557,
0.04482399672269821,
-0.0437118224799633,
-0.02986019477248192,
-0.03842056915163994,
0.0412178561091423,
-0.011416638270020485,
0.0634276419878006,
-0.03093866817653179,
0.010970083065330982,
0.016337167471647263,
-0.009150161407887936,
-0.016884827986359596,
0.014264478348195553,
0.035825494676828384,
0.01750832051038742,
0.011981151066720486,
-0.03902720659971237,
0.05048597231507301,
-0.05901264399290085,
-0.052339598536491394,
0.002788861282169819,
-0.07630190253257751,
0.023338809609413147,
0.0036651198752224445,
-0.002769903978332877,
-0.024450983852148056,
-0.015342950820922852,
0.0272988248616457,
-0.004452910274267197,
0.00034623799729160964,
-0.05729382857680321,
-0.022715318948030472,
-0.010321314446628094,
-0.030146664008498192,
0.06528126448392868,
0.014475117437541485,
0.013775795698165894,
0.035488471388816833,
0.050822995603084564,
-0.004840486217290163,
0.0024750090669840574,
-0.041285257786512375,
-0.007359729148447514,
0.003262799233198166,
0.009428204968571663,
-0.01658150739967823,
-0.0412178561091423,
0.02723141945898533,
0.006858408451080322,
-0.02448468655347824,
0.002327561844140291,
0.0334157831966877,
-0.01300064381211996,
-0.08978279680013657,
0.06039443612098694,
-0.009680972434580326,
-0.005013210233300924,
0.001203802297823131,
-0.010927955619990826,
0.04455437883734703,
0.0012764728162437677,
0.04822792485356331,
-0.0108184227719903,
0.04573395475745201,
-0.07697594165802002,
-0.0376117117702961,
0.008084327913820744,
0.04007197916507721,
-0.02190646342933178,
-0.05790046975016594,
0.052541811019182205,
0.02802342362701893,
0.028731169179081917,
0.008623563684523106,
0.02256365865468979,
-0.027130313217639923,
-0.012014852836728096,
-0.01032974012196064,
0.06147290766239166,
0.027669548988342285,
-0.03842056915163994,
-0.013430347666144371,
-0.009158587083220482,
-0.007578793913125992,
-0.05769825726747513,
-0.009192289784550667,
0.036162517964839935,
-0.03690396621823311,
-0.022411998361349106,
-0.06760671734809875,
-0.06949404627084732,
0.035690683871507645,
0.045632850378751755,
-0.09126570075750351,
-0.010835274122655392,
-0.028326742351055145,
0.040240488946437836,
0.05395730584859848,
0.0029952877666801214,
-0.059652987867593765,
0.03946533799171448,
-0.03344948589801788,
-0.014432989992201328,
0.003376544453203678,
0.11243071407079697,
0.027669548988342285,
-0.02566426433622837,
-0.0019041772466152906,
-0.00774730509147048,
-0.043071478605270386,
-0.025091327726840973,
0.06042813882231712,
-0.007035345304757357,
-0.023204000666737556,
0.04290296882390976,
-0.011205999180674553,
-0.055305395275354385,
-0.07131396234035492,
0.02797286957502365,
-0.013127027079463005,
-0.04192560166120529,
0.007309176027774811,
0.004172760061919689,
0.014584649354219437,
-0.011534595862030983,
-0.0032290969975292683,
0.03078700788319111,
-0.009697822853922844,
-0.01617708057165146,
-0.13346092402935028,
-0.03137679770588875,
-0.025242986157536507,
0.004650910850614309,
0.026489971205592155,
0.06962884962558746,
-0.03545476868748665,
0.00041785527719184756,
0.07360571622848511,
-0.005388147663325071,
-0.005253338720649481,
-0.0020126563031226397,
0.020035989582538605,
0.01043084729462862,
0.022647913545370102,
-0.0023107107263058424,
-0.029270406812429428,
0.00842135027050972,
-0.06457351893186569,
0.05318215489387512,
-0.028731169179081917,
-0.003924205899238586,
0.045565444976091385,
0.016497252508997917,
-0.10757759213447571,
0.030180366709828377,
0.0055566588416695595,
-0.04789090156555176,
-0.010169655084609985,
0.05035116523504257,
0.006508747581392527,
0.007224920205771923,
0.001565048354677856,
-0.04785719886422157,
-0.00756615586578846,
-0.04650910943746567,
-0.02455209009349346,
-0.04465548321604729,
-0.005792574491351843,
0.010119101032614708,
0.017727384343743324,
-0.037476904690265656,
-0.01830032281577587,
0.011332382448017597,
0.08061578869819641,
-0.06511275470256805,
0.006180150434374809,
-0.029169298708438873,
0.01329553872346878,
-0.037544310092926025,
0.027669548988342285,
0.03169696778059006,
0.001846251543611288,
0.05803527683019638,
-0.010700465179979801,
-0.01927768811583519,
0.025175582617521286,
-0.04704834520816803,
-0.018131811171770096,
0.024821707978844643,
-0.010287612676620483,
0.03639843314886093,
0.029506321996450424,
-0.011113317683339119,
-0.04209411144256592,
0.03912831470370293,
0.04192560166120529,
-0.059181153774261475,
0.013699965551495552,
-0.01848568581044674,
-0.001256462070159614,
-0.042464837431907654,
-0.007713602855801582,
0.009984292089939117,
0.02013709582388401,
-0.03210139647126198,
-0.0012975367717444897,
0.004478186834603548,
0.04364441707730293
] |
710,111
|
urllib3_future.connectionpool
|
HTTPConnectionPool
|
Thread-safe connection pool for one host.
:param host:
Host used for this HTTP Connection (e.g. "localhost"), passed into
:class:`http.client.HTTPConnection`.
:param port:
Port used for this HTTP Connection (None is equivalent to 80), passed
into :class:`http.client.HTTPConnection`.
:param timeout:
Socket timeout in seconds for each individual connection. This can
be a float or integer, which sets the timeout for the HTTP request,
or an instance of :class:`urllib3.util.Timeout` which gives you more
fine-grained control over request timeouts. After the constructor has
been parsed, this is always a `urllib3.util.Timeout` object.
:param maxsize:
Number of connections to save that can be reused. More than 1 is useful
in multithreaded situations. If ``block`` is set to False, more
connections will be created but they will not be saved once they've
been used.
:param block:
If set to True, no more than ``maxsize`` connections will be used at
a time. When no free connections are available, the call will block
until a connection has been released. This is a useful side effect for
particular multithreaded situations where one does not want to use more
than maxsize connections per host to prevent flooding.
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
:param retries:
Retry configuration to use by default with requests in this pool.
:param _proxy:
Parsed proxy URL, should not be used directly, instead, see
:class:`urllib3.ProxyManager`
:param _proxy_headers:
A dictionary with proxy headers, should not be used directly,
instead, see :class:`urllib3.ProxyManager`
:param \**conn_kw:
Additional parameters are used to create fresh :class:`urllib3.connection.HTTPConnection`,
:class:`urllib3.connection.HTTPSConnection` instances.
|
class HTTPConnectionPool(ConnectionPool, RequestMethods):
"""
Thread-safe connection pool for one host.
:param host:
Host used for this HTTP Connection (e.g. "localhost"), passed into
:class:`http.client.HTTPConnection`.
:param port:
Port used for this HTTP Connection (None is equivalent to 80), passed
into :class:`http.client.HTTPConnection`.
:param timeout:
Socket timeout in seconds for each individual connection. This can
be a float or integer, which sets the timeout for the HTTP request,
or an instance of :class:`urllib3.util.Timeout` which gives you more
fine-grained control over request timeouts. After the constructor has
been parsed, this is always a `urllib3.util.Timeout` object.
:param maxsize:
Number of connections to save that can be reused. More than 1 is useful
in multithreaded situations. If ``block`` is set to False, more
connections will be created but they will not be saved once they've
been used.
:param block:
If set to True, no more than ``maxsize`` connections will be used at
a time. When no free connections are available, the call will block
until a connection has been released. This is a useful side effect for
particular multithreaded situations where one does not want to use more
than maxsize connections per host to prevent flooding.
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
:param retries:
Retry configuration to use by default with requests in this pool.
:param _proxy:
Parsed proxy URL, should not be used directly, instead, see
:class:`urllib3.ProxyManager`
:param _proxy_headers:
A dictionary with proxy headers, should not be used directly,
instead, see :class:`urllib3.ProxyManager`
:param \\**conn_kw:
Additional parameters are used to create fresh :class:`urllib3.connection.HTTPConnection`,
:class:`urllib3.connection.HTTPSConnection` instances.
"""
scheme = "http"
ConnectionCls: (type[HTTPConnection] | type[HTTPSConnection]) = HTTPConnection
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
_proxy_config: ProxyConfig | None = None,
resolver: ResolverDescription
| list[ResolverDescription]
| str
| list[str]
| BaseResolver
| None = None,
happy_eyeballs: bool | int = False,
**conn_kw: typing.Any,
):
ConnectionPool.__init__(self, host, port)
RequestMethods.__init__(self, headers)
if not isinstance(timeout, Timeout):
timeout = Timeout.from_float(timeout)
if retries is None:
retries = Retry.DEFAULT
self.timeout = timeout
self.retries = retries
self.happy_eyeballs = happy_eyeballs
self._maxsize = maxsize
if self.QueueCls is not TrafficPolice and not issubclass(
self.QueueCls, TrafficPolice
):
warnings.warn(
"ConnectionPool QueueCls no longer support typical queue implementation "
"due to its inability to answer urllib3.future needs to handle concurrent streams "
"in a single connection. You may customize the implementation by passing a subclass of "
"urllib3.util.traffic_police.TrafficPolice if necessary.",
DeprecationWarning,
)
self.QueueCls = TrafficPolice
self.pool: TrafficPolice[HTTPConnection] | None = self.QueueCls(maxsize)
self.block = block
self.proxy = _proxy
self.proxy_headers = _proxy_headers or {}
self.proxy_config = _proxy_config
# These are mostly for testing and debugging purposes.
self.num_connections = 0
self.num_requests = 0
self.conn_kw = conn_kw
if self.proxy:
# Enable Nagle's algorithm for proxies, to avoid packet fragmentation.
# We cannot know if the user has added default socket options, so we cannot replace the
# list.
self.conn_kw.setdefault("socket_options", [])
self.conn_kw["proxy"] = self.proxy
self.conn_kw["proxy_config"] = self.proxy_config
self._own_resolver = not isinstance(resolver, BaseResolver)
if resolver is None:
resolver = [ResolverDescription(ProtocolResolver.SYSTEM)]
elif isinstance(resolver, str):
resolver = [ResolverDescription.from_url(resolver)]
elif isinstance(resolver, ResolverDescription):
resolver = [resolver]
self._resolvers: list[ResolverDescription] = []
if not isinstance(resolver, BaseResolver):
can_resolve_localhost: bool = False
for resolver_description in resolver:
if isinstance(resolver_description, str):
self._resolvers.append(
ResolverDescription.from_url(resolver_description)
)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
continue
self._resolvers.append(resolver_description)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
if not can_resolve_localhost:
self._resolvers.append(
ResolverDescription.from_url("system://default?hosts=localhost")
)
#: We want to automatically forward ca_cert_data, ca_cert_dir, and ca_certs.
for rd in self._resolvers:
if "ca_cert_data" in conn_kw:
if "ca_cert_data" not in rd:
rd["ca_cert_data"] = conn_kw["ca_cert_data"]
if "ca_cert_dir" in conn_kw:
if "ca_cert_dir" not in rd:
rd["ca_cert_dir"] = conn_kw["ca_cert_dir"]
if "ca_certs" in conn_kw:
if "ca_certs" not in rd:
rd["ca_certs"] = conn_kw["ca_certs"]
self._resolver: BaseResolver = (
ManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, BaseResolver)
else resolver
)
self.conn_kw["resolver"] = self._resolver
@property
def is_idle(self) -> bool:
return self.pool is None or self.pool.bag_only_idle
def _new_conn(self, *, heb_timeout: Timeout | None = None) -> HTTPConnection:
"""
Return a fresh :class:`HTTPConnection`.
"""
if self.pool is None:
raise ClosedPoolError(self, "Pool is closed")
self.num_connections += 1
log.debug(
"Starting new HTTP connection (%d): %s:%s",
self.num_connections,
self.host,
self.port or "80",
)
conn = None
if self.happy_eyeballs:
log.debug(
"Attempting Happy-Eyeball %s:%s",
self.host,
self.port or "443",
)
dt_pre_resolve = datetime.now(tz=timezone.utc)
ip_addresses = self._resolver.getaddrinfo(
self.host,
self.port,
socket.AF_UNSPEC
if "socket_family" not in self.conn_kw
else self.conn_kw["socket_family"],
socket.SOCK_STREAM,
quic_upgrade_via_dns_rr=False,
)
delta_post_resolve = datetime.now(tz=timezone.utc) - dt_pre_resolve
if len(ip_addresses) > 1:
ipv6_addresses =
|
(host: 'str', port: 'int | None' = None, timeout: '_TYPE_TIMEOUT | None' = <_TYPE_DEFAULT.token: -1>, maxsize: 'int' = 1, block: 'bool' = False, headers: 'typing.Mapping[str, str] | None' = None, retries: 'Retry | bool | int | None' = None, _proxy: 'Url | None' = None, _proxy_headers: 'typing.Mapping[str, str] | None' = None, _proxy_config: 'ProxyConfig | None' = None, resolver: 'ResolverDescription | list[ResolverDescription] | str | list[str] | BaseResolver | None' = None, happy_eyeballs: 'bool | int' = False, **conn_kw: 'typing.Any')
|
[
-0.00005602194869425148,
-0.07044050097465515,
-0.059838809072971344,
0.011073112487792969,
-0.06113782897591591,
0.024869980290532112,
-0.05275704339146614,
-0.013576872646808624,
-0.027740400284528732,
-0.10040181130170822,
0.027028033509850502,
0.03698021546006203,
0.030589867383241653,
0.040353480726480484,
-0.001033193664625287,
0.0022876926232129335,
0.0025391161907464266,
0.004588480107486248,
-0.001583182718604803,
-0.06964432448148727,
-0.012487370520830154,
0.039955396205186844,
0.026504233479499817,
0.0007843891507945955,
-0.015378741547465324,
0.011691195890307426,
-0.009271243587136269,
-0.014519711025059223,
0.024660460650920868,
-0.0016630621394142509,
-0.03350219130516052,
0.03729449585080147,
-0.0162168201059103,
0.03570214658975601,
0.07521755248308182,
-0.010968352667987347,
0.021769089624285698,
0.013241641223430634,
-0.011314060539007187,
-0.0024055473040789366,
-0.03220316767692566,
-0.051458023488521576,
-0.06398729979991913,
-0.04374770075082779,
0.025016644969582558,
0.048231419175863266,
-0.01841677539050579,
0.06713008880615234,
0.008915060199797153,
-0.05560651049017906,
-0.02493283711373806,
0.012937837280333042,
0.02239764854311943,
0.01155500765889883,
0.0135873481631279,
0.061640676110982895,
-0.039976347237825394,
0.07429566234350204,
-0.02390618994832039,
0.016939662396907806,
-0.021601473912596703,
-0.006914148107171059,
0.01103120855987072,
-0.008276025764644146,
-0.04890188202261925,
-0.009726949036121368,
-0.02887180633842945,
-0.009334099479019642,
0.029709884896874428,
-0.0468904934823513,
0.06381968408823013,
0.03660308197140694,
-0.03331362083554268,
-0.03622594475746155,
0.04492101073265076,
-0.0018686532275751233,
-0.01903485879302025,
0.00040921804611571133,
-0.028704190626740456,
-0.0034623120445758104,
0.016604430973529816,
-0.005615126341581345,
0.022921448573470116,
-0.06474156677722931,
0.075804203748703,
-0.09671426564455032,
0.013346401043236256,
0.015933968126773834,
-0.03853066265583038,
-0.001130751334130764,
-0.006285589188337326,
0.008768396452069283,
0.03478026017546654,
0.013807344250380993,
0.01746346242725849,
-0.0307784341275692,
-0.015284457243978977,
-0.018584391102194786,
-0.015410169027745724,
-0.033125054091215134,
-0.04492101073265076,
0.009690282866358757,
-0.07831843942403793,
0.010266462340950966,
0.005175135098397732,
-0.052254196256399155,
0.0006491835229098797,
-0.030987953767180443,
-0.012078806757926941,
-0.04123346507549286,
-0.013985435478389263,
-0.03440312296152115,
0.03792305290699005,
0.02045959234237671,
0.000425259378971532,
0.018511060625314713,
-0.04990757629275322,
-0.018584391102194786,
-0.004109203815460205,
0.001914485706947744,
-0.04953044280409813,
0.025729011744260788,
-0.010114560835063457,
0.026839464902877808,
0.02390618994832039,
0.05631887912750244,
-0.006081307306885719,
-0.026567090302705765,
0.020092932507395744,
-0.04236486926674843,
0.058372169733047485,
0.0162168201059103,
0.0038734942208975554,
0.07844415307044983,
0.020700540393590927,
0.03241268917918205,
-0.07316425442695618,
0.06314922124147415,
-0.05217038840055466,
-0.007385567296296358,
0.003954682964831591,
0.005683219991624355,
-0.027970870956778526,
-0.0034282649867236614,
0.03834209218621254,
-0.029898451641201973,
-0.0017167514888569713,
-0.057701706886291504,
-0.049404729157686234,
-0.030631771311163902,
0.014425426721572876,
-0.048650458455085754,
0.00841745175421238,
0.02639947459101677,
-0.019956745207309723,
0.018018689006567,
-0.04278390854597092,
-0.01104168500751257,
-0.03901255503296852,
-0.020428163930773735,
-0.033083152025938034,
-0.025100452825427055,
0.013388304971158504,
-0.043580085039138794,
-0.029353700578212738,
-0.037084974348545074,
0.010297889821231365,
-0.0942000299692154,
0.021790042519569397,
0.06214352324604988,
-0.059755001217126846,
0.02859942987561226,
-0.0380697175860405,
0.010187892243266106,
0.04085632786154747,
0.0795755609869957,
0.026504233479499817,
-0.014655898325145245,
-0.024409037083387375,
-0.006783198099583387,
0.001985198585316539,
-0.03176317736506462,
-0.03278982266783714,
-0.03184698522090912,
0.008464593440294266,
0.058665499091148376,
0.006835578009486198,
0.011335012502968311,
0.05028471350669861,
0.046848591417074203,
-0.030652722343802452,
-0.02037578448653221,
0.04492101073265076,
-0.04730953276157379,
0.0433705635368824,
-0.044669587165117264,
-0.007820320315659046,
0.01912914216518402,
0.08774682134389877,
0.05887501686811447,
-0.06465776264667511,
0.03153270483016968,
0.04508862644433975,
0.0008878394728526473,
-0.004423483274877071,
-0.027698496356606483,
-0.04022777080535889,
-0.034214556217193604,
-0.032706014811992645,
0.05359512194991112,
-0.03545072302222252,
0.035597387701272964,
-0.03184698522090912,
0.014184479601681232,
-0.0036665936931967735,
0.016625383868813515,
0.014467330649495125,
-0.013304497115314007,
0.006641772575676441,
0.006652248557657003,
0.05589983984827995,
-0.012141662649810314,
-0.007186523638665676,
-0.022481456398963928,
0.04374770075082779,
-0.01774631254374981,
0.017316797748208046,
0.01213118713349104,
0.023738574236631393,
0.012078806757926941,
0.01750536635518074,
0.038865894079208374,
0.05129040777683258,
0.02308906428515911,
0.06541202962398529,
-0.023591911420226097,
-0.032328881323337555,
0.050829462707042694,
0.011293108575046062,
-0.004213963635265827,
-0.0034806448966264725,
0.01954818144440651,
-0.0016997280763462186,
-0.03295743837952614,
-0.061221636831760406,
0.002341381972655654,
-0.017075849696993828,
0.05346941202878952,
0.0153577895835042,
0.006908909883350134,
-0.020805299282073975,
-0.026210905984044075,
-0.0396411158144474,
-0.05937786400318146,
-0.019831033423542976,
-0.03230792656540871,
-0.017264418303966522,
-0.02677660994231701,
-0.029416557401418686,
-0.003648260608315468,
0.018133925274014473,
0.05644458904862404,
-0.04542385786771774,
0.05631887912750244,
-0.04814761132001877,
0.029332749545574188,
0.02344524674117565,
-0.048985689878463745,
-0.06675295531749725,
0.02966798096895218,
0.10199415683746338,
-0.0010620026150718331,
0.008543163537979126,
0.015326361171901226,
-0.004253248684108257,
0.009522667154669762,
0.015284457243978977,
0.0003227911947760731,
-0.05698934197425842,
-0.053343698382377625,
0.019087238237261772,
0.021161483600735664,
-0.0034387409687042236,
-0.05095517635345459,
-0.019799605011940002,
-0.0050468044355511665,
-0.10216177254915237,
0.10006657987833023,
0.0012544988421723247,
0.008731731213629246,
-0.03494787588715553,
-0.034214556217193604,
0.04622003063559532,
-0.02742611989378929,
-0.003001368837431073,
0.007595086935907602,
-0.037084974348545074,
0.048231419175863266,
0.019432947039604187,
-0.04450197145342827,
-0.03325076773762703,
0.01464542280882597,
-0.00012931290257256478,
0.0325593501329422,
0.04563337564468384,
-0.06390348821878433,
-0.00004796035500476137,
-0.015232077799737453,
0.007647466845810413,
0.020124360918998718,
0.030967002734541893,
-0.020627208054065704,
-0.012937837280333042,
-0.022879544645547867,
0.040982041507959366,
0.00640082499012351,
0.00011981904390268028,
0.016573002561926842,
0.0001403617934556678,
0.03209840878844261,
-0.07404424250125885,
0.018312016502022743,
0.011994998902082443,
-0.012487370520830154,
0.008045554161071777,
0.015713972970843315,
0.06658533960580826,
0.03329266980290413,
-0.03172127157449722,
0.02004055306315422,
-0.025435684248805046,
0.024828076362609863,
-0.04114965721964836,
-0.017620600759983063,
-0.010035990737378597,
-0.025058548897504807,
0.01412162370979786,
0.009632665663957596,
0.007757464423775673,
-0.06930909305810928,
0.008082220330834389,
0.01389115210622549,
-0.015609213151037693,
0.00549989053979516,
0.00463824113830924,
-0.03978778049349785,
-0.004664430860430002,
0.006311778910458088,
0.021894801408052444,
-0.054768431931734085,
0.0028939899057149887,
-0.06809388101100922,
0.011167396791279316,
0.05707314983010292,
0.02778230421245098,
-0.020763395354151726,
0.0035775478463619947,
-0.03832114115357399,
0.002260192995890975,
-0.0397249236702919,
-0.02384333498775959,
0.002799706067889929,
-0.029835596680641174,
0.040688712149858475,
-0.0040646810084581375,
0.01734822615981102,
0.06474156677722931,
-0.0076788947917521,
0.00983170885592699,
-0.026902321726083755,
-0.016573002561926842,
-0.06474156677722931,
-0.0034439789596945047,
-0.022230032831430435,
-0.010633121244609356,
-0.03352314233779907,
-0.04194582998752594,
0.0117540517821908,
-0.014090195298194885,
0.02279573678970337,
0.02057482860982418,
-0.019055811688303947,
0.021203387528657913,
-0.035932619124650955,
-0.018469156697392464,
-0.07555278390645981,
0.02887180633842945,
0.0011143825249746442,
0.04915330559015274,
0.057953130453825,
0.02962607704102993,
0.0011366440448909998,
0.01213118713349104,
0.00795126985758543,
-0.029437508434057236,
-0.020501496270298958,
0.042490582913160324,
0.033062197268009186,
-0.00791984237730503,
-0.06733961403369904,
0.03584881126880646,
0.021234815940260887,
0.05108088627457619,
0.04517243430018425,
-0.021203387528657913,
0.04554956778883934,
0.11003971099853516,
0.03297838941216469,
0.03915921971201897,
0.04307723790407181,
-0.04006015509366989,
-0.014938750304281712,
-0.02996130846440792,
-0.012634034268558025,
-0.05711505189538002,
0.00912981852889061,
-0.006578916683793068,
0.017337750643491745,
0.07484041154384613,
0.027216600254178047,
0.033774565905332565,
-0.02491188421845436,
-0.011617863550782204,
0.03473835438489914,
-0.024325229227542877,
-0.0019131761509925127,
-0.009292195551097393,
-0.020501496270298958,
-0.05556460842490196,
-0.009449335746467113,
0.052254196256399155,
0.013775915838778019,
0.0062908269464969635,
-0.024828076362609863,
0.06574726104736328,
-0.0008518282556906343,
-0.046136222779750824,
0.04290962219238281,
0.03283172845840454,
-0.0469323992729187,
-0.004337056539952755,
-0.016541576012969017,
-0.027363264933228493,
-0.01692918688058853,
0.08590304851531982,
0.008815539069473743,
0.006275113206356764,
-0.03180507943034172,
-0.0360792800784111,
-0.0004940080107189715,
-0.04869236424565315,
-0.019768178462982178,
0.012581653892993927,
0.017117753624916077,
-0.07161381095647812,
0.021046247333288193,
0.055522702634334564,
0.021790042519569397,
-0.01784059777855873,
-0.0020257930736988783,
0.045046720653772354,
-0.032014600932598114,
0.10400554537773132,
-0.006364158820360899,
-0.07978507876396179,
0.004750857595354319,
0.03509454056620598,
0.023424295708537102,
0.005646554287523031,
-0.01284355390816927,
-0.04651335999369621,
0.024010950699448586,
-0.035995472222566605,
-0.034528836607933044,
-0.03836304694414139,
-0.019453898072242737,
-0.01863677240908146,
0.019831033423542976,
0.031008906662464142,
-0.058372169733047485,
0.008710779249668121,
-0.009512191638350487,
0.11314060539007187,
-0.00885220430791378,
-0.00796174630522728,
-0.06562154740095139,
0.05900073051452637,
-0.035555481910705566,
0.008008887991309166,
0.015127317979931831,
-0.007521755062043667,
0.06729770451784134,
0.012162614613771439,
0.015294933691620827,
-0.023319534957408905,
0.03218221664428711,
-0.039201125502586365,
-0.002896609017625451,
0.015221601352095604,
-0.02887180633842945,
0.0036246897652745247,
-0.022125273942947388,
0.025729011744260788,
0.024471893906593323,
0.06821959465742111,
0.0135873481631279,
-0.05636078119277954,
0.03184698522090912,
-0.010716929100453854,
-0.010648835450410843,
-0.020606257021427155,
-0.011712147854268551,
0.004103966057300568,
-0.020899584516882896,
-0.002103053266182542,
0.043580085039138794,
-0.009852660819888115,
0.04856665059924126,
-0.019223427399992943,
-0.04965615272521973,
0.07504993677139282,
0.09906088560819626,
-0.007306997198611498,
0.012319754809141159,
-0.03796495869755745,
0.023047160357236862,
0.038509707897901535,
0.007626514881849289,
0.00034046941436827183,
0.04131727293133736,
0.04119155928492546,
-0.015116841532289982,
-0.03337647765874863,
-0.0013684250880032778,
0.04806380346417427,
0.059838809072971344,
-0.06222733110189438,
-0.03002416342496872,
-0.04730953276157379,
-0.02639947459101677,
0.007872700691223145,
0.10509505122900009,
-0.02497474104166031,
-0.0684710144996643,
-0.06947670876979828,
-0.01590253971517086,
0.018332967534661293,
0.05166754126548767,
0.005599412135779858,
-0.030443202704191208,
0.00392587436363101,
0.02164337784051895,
0.04525624215602875,
-0.025037596002221107,
-0.0216224268078804,
-0.04747714847326279,
0.0578274205327034,
-0.0506618469953537,
0.010025514289736748,
-0.005093946121633053,
0.02535187639296055,
-0.030883194878697395,
-0.05393035337328911,
-0.0017363940132781863,
-0.014666374772787094,
0.014142575673758984,
0.05376273766160011,
0.04215535148978233,
0.010989304631948471,
-0.010198368690907955,
0.013618776574730873,
0.005478938575834036,
-0.012204518541693687,
0.014687326736748219,
0.03176317736506462,
0.011104540899395943,
-0.04806380346417427,
-0.008239359594881535,
0.03865637257695198,
0.02895561419427395,
0.05317608267068863,
-0.008553639054298401,
-0.07408614456653595,
-0.0578693225979805,
-0.008244597353041172,
0.015996824949979782,
-0.0021344812121242285,
0.050410423427820206,
-0.008145076222717762,
-0.0324336402118206,
-0.0650348961353302,
-0.019359614700078964,
-0.022858591750264168,
-0.010779784992337227,
0.01788250170648098,
0.03184698522090912,
-0.08967440575361252,
0.029123229905962944,
0.0577436126768589,
0.021810993552207947,
-0.009674569591879845,
0.04288867115974426,
-0.034151699393987656,
-0.024409037083387375,
-0.02137100324034691,
0.02346619963645935,
-0.043202947825193405,
0.03331362083554268,
0.031218426302075386,
-0.06352635473012924,
-0.01692918688058853,
-0.00551560427993536,
0.0032527924049645662,
-0.017788216471672058,
-0.10819593816995621,
-0.02451379783451557,
-0.07768987864255905,
0.0941162183880806,
-0.02041768841445446,
-0.04957234486937523,
0.011607388034462929,
-0.04125441610813141,
-0.00031362471054308116,
0.03545072302222252,
-0.052212294191122055,
0.04739334061741829,
0.03461264446377754,
0.0029280369635671377,
-0.08242502808570862,
0.04668097570538521,
0.040269672870635986,
0.014854942448437214,
0.026504233479499817,
0.028306102380156517,
0.0012152139097452164,
0.01948532648384571,
0.048943787813186646,
0.053301796317100525,
0.028033727779984474,
-0.007673656567931175,
0.036351658403873444,
-0.01590253971517086,
0.00912981852889061,
-0.04978186637163162,
-0.013000693172216415,
-0.010187892243266106,
0.03494787588715553,
-0.04994948208332062,
0.045046720653772354,
-0.010643597692251205,
0.00008626316412119195,
0.03431931510567665,
0.04957234486937523,
-0.012194043025374413,
-0.004033253062516451,
0.001075097592547536,
-0.041778214275836945,
0.02281668782234192,
0.035262156277894974,
-0.03333457559347153,
0.01970532163977623,
-0.010334555990993977,
0.07463089376688004,
-0.029081325978040695,
0.031972695142030716,
0.03295743837952614,
-0.013828296214342117,
-0.05242181196808815,
0.030841290950775146,
0.04622003063559532,
0.01576635241508484,
-0.01339878048747778,
-0.02057482860982418,
0.04148488864302635,
0.013880675658583641,
-0.0153892170637846,
0.0010286105098202825,
-0.023570958524942398,
-0.05627697333693504,
0.0253099724650383,
0.06964432448148727,
0.005313941743224859,
-0.07102715969085693,
0.05447510629892349,
0.015263505280017853,
-0.006406062748283148,
0.014184479601681232,
-0.00370587850920856,
0.00006224206299521029,
-0.04267914965748787,
-0.0014731849078088999,
0.039201125502586365,
0.04626193642616272,
0.04228106141090393,
-0.0470162071287632,
-0.011282632127404213,
-0.015294933691620827,
-0.0757203996181488,
0.031637463718652725,
-0.025121403858065605,
0.054014161229133606,
-0.03934778645634651,
-0.027363264933228493,
-0.010015038773417473,
0.02491188421845436,
0.03551357984542847,
-0.00758461095392704,
0.0062384470365941525,
0.05372083559632301,
0.02495378814637661,
0.003043272765353322,
0.016876807436347008,
0.04288867115974426,
0.00837554782629013,
0.00478752376511693,
0.03109271451830864,
0.008951726369559765,
-0.004682763945311308,
-0.03136508911848068,
0.02924894168972969,
-0.015483501367270947,
0.021790042519569397,
0.023403342813253403,
-0.011628339998424053,
0.019317710772156715,
-0.013629252091050148,
-0.010145988315343857,
-0.006317017134279013,
0.018940575420856476,
0.046094320714473724,
0.01930723525583744,
0.047519054263830185,
-0.00911934208124876,
-0.01283307746052742,
-0.04001824930310249,
-0.05376273766160011,
0.07052431255578995,
-0.012906409800052643,
-0.008176503702998161,
0.01937009021639824,
-0.028662286698818207,
-0.07722894102334976,
-0.023005256429314613,
-0.0034780260175466537,
0.0090093445032835,
-0.08380785584449768,
0.031302232295274734,
0.03647736832499504,
0.03551357984542847,
0.008008887991309166,
-0.008380785584449768,
0.013524492271244526,
-0.021475762128829956,
0.034109797328710556,
-0.005793218035250902,
-0.05493604764342308,
-0.03746211156249046,
0.013954007998108864,
0.000727425969671458,
-0.015651116147637367,
-0.018511060625314713,
0.004719429649412632,
0.02887180633842945,
0.006694152485579252,
-0.02818039059638977,
-0.012759746052324772,
0.03423550724983215,
0.0289765652269125
] |
710,114
|
urllib3_future.connectionpool
|
__init__
| null |
def __init__(
self,
host: str,
port: int | None = None,
timeout: _TYPE_TIMEOUT | None = _DEFAULT_TIMEOUT,
maxsize: int = 1,
block: bool = False,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
_proxy: Url | None = None,
_proxy_headers: typing.Mapping[str, str] | None = None,
_proxy_config: ProxyConfig | None = None,
resolver: ResolverDescription
| list[ResolverDescription]
| str
| list[str]
| BaseResolver
| None = None,
happy_eyeballs: bool | int = False,
**conn_kw: typing.Any,
):
ConnectionPool.__init__(self, host, port)
RequestMethods.__init__(self, headers)
if not isinstance(timeout, Timeout):
timeout = Timeout.from_float(timeout)
if retries is None:
retries = Retry.DEFAULT
self.timeout = timeout
self.retries = retries
self.happy_eyeballs = happy_eyeballs
self._maxsize = maxsize
if self.QueueCls is not TrafficPolice and not issubclass(
self.QueueCls, TrafficPolice
):
warnings.warn(
"ConnectionPool QueueCls no longer support typical queue implementation "
"due to its inability to answer urllib3.future needs to handle concurrent streams "
"in a single connection. You may customize the implementation by passing a subclass of "
"urllib3.util.traffic_police.TrafficPolice if necessary.",
DeprecationWarning,
)
self.QueueCls = TrafficPolice
self.pool: TrafficPolice[HTTPConnection] | None = self.QueueCls(maxsize)
self.block = block
self.proxy = _proxy
self.proxy_headers = _proxy_headers or {}
self.proxy_config = _proxy_config
# These are mostly for testing and debugging purposes.
self.num_connections = 0
self.num_requests = 0
self.conn_kw = conn_kw
if self.proxy:
# Enable Nagle's algorithm for proxies, to avoid packet fragmentation.
# We cannot know if the user has added default socket options, so we cannot replace the
# list.
self.conn_kw.setdefault("socket_options", [])
self.conn_kw["proxy"] = self.proxy
self.conn_kw["proxy_config"] = self.proxy_config
self._own_resolver = not isinstance(resolver, BaseResolver)
if resolver is None:
resolver = [ResolverDescription(ProtocolResolver.SYSTEM)]
elif isinstance(resolver, str):
resolver = [ResolverDescription.from_url(resolver)]
elif isinstance(resolver, ResolverDescription):
resolver = [resolver]
self._resolvers: list[ResolverDescription] = []
if not isinstance(resolver, BaseResolver):
can_resolve_localhost: bool = False
for resolver_description in resolver:
if isinstance(resolver_description, str):
self._resolvers.append(
ResolverDescription.from_url(resolver_description)
)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
continue
self._resolvers.append(resolver_description)
if self._resolvers[-1].protocol == ProtocolResolver.SYSTEM:
can_resolve_localhost = True
if not can_resolve_localhost:
self._resolvers.append(
ResolverDescription.from_url("system://default?hosts=localhost")
)
#: We want to automatically forward ca_cert_data, ca_cert_dir, and ca_certs.
for rd in self._resolvers:
if "ca_cert_data" in conn_kw:
if "ca_cert_data" not in rd:
rd["ca_cert_data"] = conn_kw["ca_cert_data"]
if "ca_cert_dir" in conn_kw:
if "ca_cert_dir" not in rd:
rd["ca_cert_dir"] = conn_kw["ca_cert_dir"]
if "ca_certs" in conn_kw:
if "ca_certs" not in rd:
rd["ca_certs"] = conn_kw["ca_certs"]
self._resolver: BaseResolver = (
ManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, BaseResolver)
else resolver
)
self.conn_kw["resolver"] = self._resolver
|
(self, host: str, port: Optional[int] = None, timeout: Union[float, urllib3_future.util.timeout._TYPE_DEFAULT, urllib3_future.util.timeout.Timeout, NoneType] = <_TYPE_DEFAULT.token: -1>, maxsize: int = 1, block: bool = False, headers: Optional[Mapping[str, str]] = None, retries: Union[urllib3_future.util.retry.Retry, bool, int, NoneType] = None, _proxy: Optional[urllib3_future.util.url.Url] = None, _proxy_headers: Optional[Mapping[str, str]] = None, _proxy_config: Optional[urllib3_future._typing.ProxyConfig] = None, resolver: Union[urllib3_future.contrib.resolver.factories.ResolverDescription, list[urllib3_future.contrib.resolver.factories.ResolverDescription], str, list[str], urllib3_future.contrib.resolver.protocols.BaseResolver, NoneType] = None, happy_eyeballs: bool | int = False, **conn_kw: Any)
|
[
0.006900416687130928,
-0.06760621815919876,
-0.045743510127067566,
-0.020349135622382164,
-0.0845077708363533,
0.03752397373318672,
-0.03340369462966919,
-0.01724841445684433,
-0.016628270968794823,
-0.06970839947462082,
0.017059218138456345,
0.05263867229223251,
0.008503331802785397,
0.03416047990322113,
0.00989077240228653,
0.020307091996073723,
0.008755593560636044,
0.00918654166162014,
0.009843473322689533,
-0.07660356163978577,
-0.007825377397239208,
0.0337190218269825,
0.024448392912745476,
0.009102453477680683,
-0.011215148493647575,
0.04153914377093315,
-0.014441999606788158,
-0.036872297525405884,
0.03416047990322113,
0.009974859654903412,
-0.029514653608202934,
0.05570786073803902,
-0.027643710374832153,
0.053815893828868866,
0.07139014452695847,
0.01981307752430439,
0.007031803485006094,
0.016249876469373703,
-0.033235520124435425,
0.006968738045543432,
-0.019182423129677773,
-0.0593656562268734,
-0.07954661548137665,
-0.042001623660326004,
0.02564663626253605,
0.045659422874450684,
0.000706859165802598,
0.0595758780837059,
0.020307091996073723,
-0.05335341393947601,
-0.04637416452169418,
0.012812807224690914,
0.015903016552329063,
0.020307091996073723,
0.015135720372200012,
0.035779159516096115,
-0.05175575241446495,
0.09073023498058319,
-0.021515846252441406,
0.0345388725399971,
-0.028127213940024376,
-0.014610174112021923,
0.0049716634675860405,
-0.003027144121006131,
-0.025541527196764946,
-0.017847536131739616,
-0.026865903288125992,
-0.019560815766453743,
0.048980873078107834,
-0.030986182391643524,
0.07656151801347733,
0.04105564206838608,
-0.042422059923410416,
-0.02495291642844677,
0.06449498236179352,
-0.035022374242544174,
0.015125209465622902,
-0.0005718595930375159,
-0.026676706969738007,
-0.04233797267079353,
0.01950826123356819,
0.003912688698619604,
0.0037497696466743946,
-0.05062057450413704,
0.08471798896789551,
-0.06348593533039093,
0.014357912354171276,
-0.011141572147607803,
-0.0484343059360981,
0.009938071481883526,
-0.022514384239912033,
-0.019371619448065758,
0.026508532464504242,
0.012444925494492054,
-0.013548571616411209,
-0.005187137518078089,
-0.009670043364167213,
-0.03220544755458832,
-0.00934946071356535,
-0.0071211461909115314,
-0.05217619240283966,
-0.006863628514111042,
-0.06441089510917664,
0.0052869911305606365,
0.01658622734248638,
-0.04633212089538574,
0.0020916725043207407,
-0.03224749118089676,
-0.012917916290462017,
-0.010453106835484505,
0.005470931995660067,
0.01360112614929676,
0.043851543217897415,
0.025814810767769814,
-0.027391448616981506,
0.03666207939386368,
-0.05205006152391434,
-0.04990583285689354,
-0.017321990802884102,
0.012854850850999355,
-0.04620599001646042,
0.021946793422102928,
-0.0012396312085911632,
0.025835832580924034,
0.006821584887802601,
0.06483133137226105,
-0.005076772999018431,
-0.019350597634911537,
0.025520505383610725,
-0.030292462557554245,
0.07025496661663055,
-0.010211355984210968,
0.010190334171056747,
0.08955301344394684,
0.03426558896899223,
0.025415396317839622,
-0.06575629860162735,
0.04742525517940521,
-0.05991222709417343,
-0.015629732981324196,
0.013758789747953415,
0.030376549810171127,
-0.0065903449431061745,
-0.021389715373516083,
0.01945570670068264,
-0.03922674059867859,
0.006705964915454388,
-0.07508999109268188,
-0.040551118552684784,
-0.020065339282155037,
-0.005344801116734743,
-0.05995427072048187,
0.011572519317269325,
0.02566765807569027,
-0.01268667634576559,
0.004614292643964291,
-0.03863812983036041,
-0.0011548870243132114,
-0.031763989478349686,
-0.013107113540172577,
-0.04284249618649483,
-0.01876198686659336,
0.007462751120328903,
-0.05789412930607796,
-0.02747553586959839,
-0.0572214312851429,
0.029094217345118523,
-0.07324007153511047,
0.02343934401869774,
0.061888277530670166,
-0.05205006152391434,
0.013695724308490753,
-0.0321844257414341,
0.006364359986037016,
0.02573072351515293,
0.05179779604077339,
0.028148235753178596,
-0.00034160478389821947,
-0.028358453884720802,
-0.02245131880044937,
0.016291920095682144,
-0.023733649402856827,
-0.031070269644260406,
-0.03226851299405098,
0.013369886204600334,
0.04948539659380913,
0.021547378972172737,
0.012371349148452282,
0.045701466500759125,
0.03565302863717079,
-0.02343934401869774,
0.0007666400051675737,
0.050494443625211716,
-0.034643981605768204,
0.014011052437126637,
-0.051545534282922745,
-0.009060409851372242,
0.044229939579963684,
0.04225388541817665,
0.04553329199552536,
-0.04456628859043121,
0.023985911160707474,
0.04616394639015198,
0.00009402343857800588,
-0.0036183830816298723,
-0.008524353615939617,
-0.0439356304705143,
-0.018141841515898705,
-0.02722327411174774,
0.04008863493800163,
-0.017364034429192543,
0.02022300474345684,
-0.016449585556983948,
-0.036956384778022766,
-0.01903527043759823,
0.04263227805495262,
0.03741886466741562,
-0.019550304859876633,
0.0015030611539259553,
0.008408733643591404,
0.07513203471899033,
0.007736034691333771,
-0.0029667061753571033,
-0.04528103023767471,
0.03390821814537048,
0.0015253968304023147,
-0.0016475862357765436,
-0.0023478760849684477,
0.02097979001700878,
-0.009832962416112423,
0.01868841052055359,
0.02354445308446884,
0.0316799022257328,
0.013348864391446114,
0.04591168463230133,
-0.038364846259355545,
-0.01504112221300602,
0.054866984486579895,
-0.005991222336888313,
-0.00016185169806703925,
0.04406176134943962,
0.024763720110058784,
-0.015535134822130203,
-0.031112313270568848,
-0.038743238896131516,
0.008660995401442051,
-0.03531667962670326,
0.024175109341740608,
0.024469414725899696,
0.020695995539426804,
-0.0158399511128664,
-0.029262391850352287,
-0.050116050988435745,
-0.05583399161696434,
-0.0289680864661932,
-0.070297010242939,
-0.024406349286437035,
-0.046416208148002625,
-0.017521698027849197,
-0.013296309858560562,
0.011330768465995789,
0.051587577909231186,
-0.047509342432022095,
0.049779701977968216,
-0.0557919479906559,
0.03493828698992729,
0.023586496710777283,
-0.05654873326420784,
-0.06214053928852081,
0.03897447884082794,
0.09056206047534943,
-0.018541257828474045,
0.03771317005157471,
0.03783930093050003,
-0.006837351247668266,
0.020780082792043686,
-0.01613425649702549,
-0.01176171563565731,
-0.05125122889876366,
-0.04418789595365524,
0.024385327473282814,
0.01506214402616024,
0.00898683350533247,
-0.06033266335725784,
-0.019277021288871765,
-0.01079471129924059,
-0.08337259292602539,
0.11124753952026367,
-0.016386520117521286,
-0.0013086091494187713,
-0.011110039427876472,
-0.016039658337831497,
0.033655956387519836,
-0.03155377134680748,
0.00505575118586421,
-0.01683848910033703,
-0.03493828698992729,
0.03815462812781334,
0.029893048107624054,
-0.05806230381131172,
-0.04256921261548996,
-0.01044785138219595,
-0.003923199605196714,
0.05347954481840134,
0.06676534563302994,
-0.053395457565784454,
0.002919407095760107,
-0.010127268731594086,
0.024700654670596123,
0.022114969789981842,
0.02898910827934742,
-0.006947715766727924,
0.0014399955980479717,
-0.008860702626407146,
0.03012428805232048,
0.01652316190302372,
-0.031112313270568848,
0.01416871603578329,
-0.008944789879024029,
0.032100338488817215,
-0.05701121315360069,
0.02158942259848118,
-0.017143305391073227,
-0.009538657031953335,
0.00934946071356535,
0.058188434690237045,
0.043431106954813004,
0.03855404257774353,
-0.04137096926569939,
0.024889850988984108,
-0.01227675098925829,
0.03966819867491722,
-0.024742698296904564,
-0.018488703295588493,
-0.01617630012333393,
-0.006695454008877277,
0.007588881999254227,
0.007525816559791565,
0.0037996964529156685,
-0.041307903826236725,
0.013369886204600334,
-0.010700113140046597,
-0.02684488147497177,
-0.0018078776774927974,
-0.003770791459828615,
-0.02090621367096901,
0.005418377462774515,
-0.013296309858560562,
0.04034090042114258,
-0.03735579922795296,
0.006637644022703171,
-0.06655512750148773,
0.02025453746318817,
0.08366689831018448,
0.03182705491781235,
-0.0024832040071487427,
-0.00503735663369298,
-0.04444015771150589,
-0.006101587321609259,
-0.03350880369544029,
-0.015345938503742218,
0.011845802888274193,
-0.03199522942304611,
0.04010965675115585,
0.000606348505243659,
0.023313213139772415,
0.05394202470779419,
-0.01485192496329546,
0.010531938634812832,
-0.035737115889787674,
-0.003902177792042494,
-0.03830178081989288,
-0.023775693029165268,
-0.04088746756315231,
-0.01949775032699108,
-0.029977135360240936,
-0.04368336871266365,
0.0373978428542614,
-0.0023255404084920883,
0.03998352587223053,
-0.0071579343639314175,
-0.0044224681332707405,
0.009055154398083687,
-0.024742698296904564,
-0.006821584887802601,
-0.04872861132025719,
0.009102453477680683,
0.013706235215067863,
0.06420067697763443,
0.04809795692563057,
0.026277292519807816,
-0.018089286983013153,
-0.03262588381767273,
-0.025772767141461372,
-0.021946793422102928,
-0.02936750091612339,
0.040172722190618515,
0.05028422549366951,
-0.012266240082681179,
-0.0470048189163208,
0.035379745066165924,
0.007468006573617458,
0.06756417453289032,
0.04910700395703316,
-0.010521427728235722,
0.038385868072509766,
0.11831087619066238,
0.03674616664648056,
0.033550847321748734,
0.04158118739724159,
-0.007778078317642212,
-0.02128460630774498,
-0.018562279641628265,
-0.006248740013688803,
-0.07656151801347733,
0.000015212088328553364,
-0.017511187121272087,
0.007946252822875977,
0.08753491193056107,
0.011540986597537994,
0.04101359844207764,
-0.012013978324830532,
-0.026340357959270477,
0.00338977063074708,
0.007010781671851873,
0.03407639265060425,
-0.006222462747246027,
-0.01062128134071827,
-0.031763989478349686,
-0.02491087280213833,
0.0470048189163208,
0.01875147596001625,
0.0059964777901768684,
-0.054110199213027954,
0.07378663867712021,
0.0037865578196942806,
-0.03367697820067406,
0.02019147202372551,
0.03313041105866432,
-0.028778890147805214,
-0.010237633250653744,
-0.019161401316523552,
-0.033235520124435425,
-0.01874096505343914,
0.07437524944543839,
0.012896894477307796,
0.009076176211237907,
-0.02673977240920067,
-0.027097143232822418,
-0.018814541399478912,
-0.027748819440603256,
-0.04326293244957924,
0.04738321155309677,
-0.0007298517739400268,
-0.05738960579037666,
0.016975130885839462,
0.05873500183224678,
0.027832908555865288,
-0.035085439682006836,
-0.003058676840737462,
0.06394841521978378,
-0.07281962782144547,
0.06777439266443253,
-0.014957034960389137,
-0.07071744650602341,
0.05591807886958122,
0.024511458352208138,
0.038364846259355545,
-0.019571326673030853,
-0.02346036583185196,
-0.0448605939745903,
0.0033240774646401405,
-0.05806230381131172,
-0.025583570823073387,
-0.04797182232141495,
-0.006112098228186369,
0.011120550334453583,
0.013054559007287025,
0.02167350985109806,
-0.04540716111660004,
0.014767837710678577,
0.0001358207518933341,
0.0814385861158371,
-0.0012284633703529835,
-0.0021468547638505697,
-0.06819482892751694,
0.04246410354971886,
-0.031385596841573715,
-0.006374870892614126,
0.03474909067153931,
-0.01831001788377762,
0.05457267910242081,
0.01656520552933216,
0.01538798213005066,
0.010920842178165913,
0.03561098501086235,
-0.021946793422102928,
0.022304166108369827,
0.012245218269526958,
-0.011509453877806664,
0.004748306702822447,
-0.041707318276166916,
0.02169453166425228,
0.013327842578291893,
0.0373978428542614,
0.014704772271215916,
-0.071726493537426,
0.018888117745518684,
-0.021473802626132965,
0.005512975621968508,
0.007278809789568186,
0.01411616150289774,
-0.024742698296904564,
-0.012024489231407642,
-0.009549167938530445,
0.04338906332850456,
-0.017500676214694977,
0.03481215611100197,
-0.02678181603550911,
-0.044944681227207184,
0.07916822284460068,
0.09821400791406631,
0.0011516023660078645,
0.03220544755458832,
-0.024679632857441902,
0.012119087390601635,
0.04671051353216171,
0.004869182128459215,
0.02390182390809059,
0.019665924832224846,
0.01538798213005066,
-0.026655685156583786,
-0.05949178710579872,
0.013905942440032959,
0.054530635476112366,
0.049022916704416275,
-0.06096331775188446,
-0.020044317469000816,
-0.030902095139026642,
-0.03676718845963478,
0.019981252029538155,
0.10620230436325073,
-0.029640784487128258,
-0.04910700395703316,
-0.0643688514828682,
-0.02499496005475521,
0.00933894980698824,
0.04401971772313118,
0.0007784647750668228,
-0.022493362426757812,
-0.008287858217954636,
0.010158801451325417,
0.03701945021748543,
-0.013107113540172577,
-0.013002004474401474,
-0.049064960330724716,
0.05171370878815651,
-0.05688508227467537,
0.021736575290560722,
0.01012201327830553,
0.022577449679374695,
-0.015976592898368835,
-0.06769030541181564,
0.01878300867974758,
-0.007935741916298866,
0.018215417861938477,
0.05759982392191887,
0.04410380497574806,
0.021158475428819656,
-0.015892505645751953,
0.001197587582282722,
-0.02711816504597664,
-0.05242845416069031,
0.009759386070072651,
0.025562549009919167,
0.013506527990102768,
-0.039079587906599045,
0.011656606569886208,
0.034728068858385086,
0.024006934836506844,
0.052344366908073425,
0.0018683155067265034,
-0.06962431222200394,
-0.07231510430574417,
-0.018246952444314957,
-0.006085820961743593,
-0.025562549009919167,
0.022493362426757812,
0.01794213429093361,
-0.01912986859679222,
-0.06348593533039093,
-0.008303624577820301,
-0.020843148231506348,
-0.01006420236080885,
-0.020296581089496613,
0.019592348486185074,
-0.09173928201198578,
0.037650104612112045,
0.03485419973731041,
0.007063336204737425,
-0.0216104444116354,
0.04439811408519745,
0.0016856882721185684,
-0.02716020867228508,
-0.050830792635679245,
0.0006707278662361205,
-0.06676534563302994,
0.04692073166370392,
0.01263412181288004,
-0.025835832580924034,
-0.021074388176202774,
0.008529609069228172,
0.03565302863717079,
-0.0352536141872406,
-0.09173928201198578,
-0.0505785308778286,
-0.05726347491145134,
0.09955940395593643,
-0.011782737448811531,
-0.04708890616893768,
-0.004630059003829956,
-0.03630470484495163,
0.012045511044561863,
0.04267432168126106,
-0.07197875529527664,
0.05146144703030586,
0.023712627589702606,
-0.04406176134943962,
-0.03704047203063965,
0.034707047045230865,
0.0669335201382637,
-0.003686703974381089,
0.024847807362675667,
0.016817467287182808,
-0.021053366363048553,
-0.003571084002032876,
0.051587577909231186,
0.0652938187122345,
0.022556427866220474,
-0.01174069382250309,
0.04578555375337601,
-0.03041859343647957,
0.009265373460948467,
-0.029073195531964302,
-0.010910331271588802,
-0.01449455413967371,
0.017542719841003418,
-0.046079859137535095,
0.05751573666930199,
0.009953837841749191,
-0.013054559007287025,
0.028778890147805214,
0.0065535567700862885,
-0.0025738608092069626,
-0.015177763998508453,
0.007809611037373543,
-0.02318708226084709,
0.052680715918540955,
0.032920192927122116,
-0.020632930099964142,
0.014105650596320629,
0.003820718266069889,
0.07996705174446106,
-0.029199326410889626,
0.008671506308019161,
0.022829711437225342,
-0.004319986794143915,
-0.05099896714091301,
-0.009959093295037746,
0.05347954481840134,
0.040214765816926956,
-0.010085225105285645,
-0.018089286983013153,
0.04666846990585327,
0.017879068851470947,
-0.0049900575540959835,
-0.028001083061099052,
-0.027811884880065918,
-0.04721503704786301,
0.025772767141461372,
0.04084542393684387,
-0.017111772671341896,
-0.05940769985318184,
0.07063335925340652,
0.002224372699856758,
-0.006343338172882795,
0.009943326935172081,
0.00882391445338726,
0.006937204860150814,
-0.03920571878552437,
0.022913798689842224,
0.021715553477406502,
0.03479113429784775,
0.017900090664625168,
-0.030754942446947098,
0.010153545998036861,
-0.03666207939386368,
-0.12268342077732086,
0.04809795692563057,
0.004748306702822447,
0.06415863335132599,
-0.038406889885663986,
-0.03754499554634094,
-0.00010773689427878708,
0.003962615504860878,
0.03260486200451851,
0.01912986859679222,
0.023586496710777283,
0.03807054087519646,
0.01484141405671835,
0.008797637186944485,
0.03489624336361885,
0.05982813984155655,
-0.025121090933680534,
-0.008981578052043915,
0.05003196373581886,
0.04448220133781433,
0.019581837579607964,
-0.024427371099591255,
0.02169453166425228,
-0.018194396048784256,
0.012823318131268024,
0.009049898944795132,
-0.010495150461792946,
0.046794600784778595,
-0.01867789961397648,
-0.0046642194502055645,
0.0014465649146586657,
0.024048978462815285,
0.03388719633221626,
0.03041859343647957,
0.038322802633047104,
-0.002845830749720335,
-0.02051731012761593,
-0.042779430747032166,
-0.07080153375864029,
0.05440450459718704,
-0.018267974257469177,
0.0022572192829102278,
0.022850733250379562,
-0.015976592898368835,
-0.060374706983566284,
-0.013832366093993187,
0.02978793904185295,
-0.009622744284570217,
-0.08169084787368774,
0.05003196373581886,
0.028799911960959435,
0.033193476498126984,
-0.02132664993405342,
-0.023271169513463974,
0.04151812195777893,
-0.019697457551956177,
0.012203174643218517,
-0.059702008962631226,
-0.10014801472425461,
-0.016050169244408607,
0.0008855447522364557,
-0.0205908864736557,
-0.02463758923113346,
-0.02381773665547371,
0.0024161969777196646,
0.03407639265060425,
-0.002992983441799879,
-0.006642899475991726,
0.004905970301479101,
0.05545559525489807,
0.013149157166481018
] |
710,116
|
urllib3_future.connectionpool
|
_get_conn
|
Get a connection. Will return a pooled connection if one is available.
If no connections are available and :prop:`.block` is ``False``, then a
fresh connection is returned.
:param timeout:
Seconds to wait before giving up and raising
:class:`urllib3.exceptions.EmptyPoolError` if the pool is empty and
:prop:`.block` is ``True``.
|
def _get_conn(
self, timeout: float | None = None, *, heb_timeout: Timeout | None = None
) -> HTTPConnection:
"""
Get a connection. Will return a pooled connection if one is available.
If no connections are available and :prop:`.block` is ``False``, then a
fresh connection is returned.
:param timeout:
Seconds to wait before giving up and raising
:class:`urllib3.exceptions.EmptyPoolError` if the pool is empty and
:prop:`.block` is ``True``.
"""
conn = None
if self.pool is None:
raise ClosedPoolError(self, "Pool is closed.")
try:
conn = self.pool.get(
block=self.block, timeout=timeout, non_saturated_only=True
)
except AttributeError: # self.pool is None
raise ClosedPoolError(self, "Pool is closed.") from None # Defensive:
except queue.Empty:
if self.block:
raise EmptyPoolError(
self,
"Pool is empty and a new connection can't be opened due to blocking mode.",
) from None
pass # Oh well, we'll create a new connection then
# If this is a persistent connection, check if it got disconnected
if conn and is_connection_dropped(conn):
log.debug("Resetting dropped connection: %s", self.host)
conn.close()
return conn or self._new_conn(heb_timeout=heb_timeout)
|
(self, timeout: Optional[float] = None, *, heb_timeout: Optional[urllib3_future.util.timeout.Timeout] = None) -> urllib3_future.connection.HTTPConnection
|
[
-0.01283431239426136,
-0.0644000694155693,
-0.02566862478852272,
-0.004753360990434885,
-0.02471652440726757,
-0.006288622971624136,
-0.013586471788585186,
-0.0287153460085392,
-0.017147326841950417,
-0.09970394521951675,
0.003846485400572419,
0.028677262365818024,
0.01501462236046791,
0.04276834800839424,
-0.009378188289701939,
-0.0015792964259162545,
-0.00836420152336359,
-0.022640947252511978,
-0.004101172089576721,
-0.02128896303474903,
0.005041371565312147,
0.05659284442663193,
0.05095640942454338,
0.011920296587049961,
0.00686940411105752,
0.02157459408044815,
-0.01615714281797409,
-0.029534153640270233,
0.055183734744787216,
-0.014462403953075409,
0.021460341289639473,
0.028201213106513023,
-0.01901344396173954,
0.09642872214317322,
0.033685311675071716,
0.07494933903217316,
0.0015828668838366866,
0.017604336142539978,
0.021631719544529915,
-0.00518418662250042,
-0.07753904908895493,
-0.040140550583601,
-0.030733799561858177,
-0.011787001974880695,
0.024259516969323158,
0.004365379922091961,
0.026011381298303604,
0.0009901843732222915,
0.006902727764099836,
-0.032542791217565536,
0.0460054874420166,
0.06756103783845901,
0.009997054003179073,
0.004931879695504904,
-0.019556140527129173,
-0.0068265595473349094,
-0.046424414962530136,
0.04372044652700424,
-0.023421669378876686,
0.037227123975753784,
-0.05685943365097046,
0.007288328371942043,
-0.008516537956893444,
-0.011301430873572826,
-0.045776985585689545,
0.0009985152864828706,
-0.032085780054330826,
-0.01373880822211504,
0.04608165845274925,
-0.004479632247239351,
0.06379072368144989,
0.06881781667470932,
-0.0035584750585258007,
-0.03259991481900215,
0.03248566389083862,
-0.011910775676369667,
0.009102079086005688,
-0.03416135907173157,
-0.03338063880801201,
-0.004827148746699095,
-0.026297012344002724,
0.004484392702579498,
0.005136581603437662,
-0.01700451225042343,
0.06698977947235107,
-0.06664702296257019,
-0.029591279104351997,
0.00869743712246418,
-0.07411149144172668,
-0.04074989631772041,
-0.007626323960721493,
-0.025268742814660072,
0.013015211559832096,
0.022202979773283005,
0.02587808668613434,
-0.06550450623035431,
-0.029343733564019203,
0.03088613599538803,
0.014909891411662102,
-0.013510303571820259,
-0.05103258043527603,
0.004279691260308027,
-0.08759323507547379,
-0.0034323218278586864,
0.043111104518175125,
-0.03623693808913231,
0.019137216731905937,
0.016985470429062843,
-0.0009985152864828706,
-0.051946595311164856,
-0.018670687451958656,
-0.015338337048888206,
0.036846283823251724,
0.0359322689473629,
0.03134314343333244,
-0.01335796806961298,
-0.05682135000824928,
-0.012301136739552021,
-0.009968490339815617,
-0.030276792123913765,
-0.08561286330223083,
0.01570013538002968,
0.012634371407330036,
-0.0195942260324955,
0.05560266226530075,
0.043682362884283066,
-0.019270511344075203,
-0.05583116412162781,
0.03225715830922127,
0.00454151863232255,
0.02568766660988331,
0.035132501274347305,
-0.010111305862665176,
0.04924263060092926,
-0.03859815001487732,
0.011977422051131725,
-0.03280937671661377,
0.08568903058767319,
-0.002606374677270651,
-0.031628772616386414,
0.02643030509352684,
0.02606850676238537,
-0.007740575820207596,
0.004258268978446722,
-0.0033252104185521603,
-0.03576089069247246,
0.000908660760615021,
-0.024107180535793304,
0.005403169430792332,
-0.034846872091293335,
0.02804887667298317,
-0.06527599692344666,
0.05963956564664841,
-0.005741165019571781,
0.021269921213388443,
-0.02216489613056183,
-0.017366310581564903,
0.007397819776087999,
-0.029248522594571114,
-0.026639766991138458,
0.01730918511748314,
0.024031013250350952,
0.041321154683828354,
-0.0063457489013671875,
-0.03796976059675217,
-0.007735815364867449,
0.03747466951608658,
-0.06493324041366577,
0.06428581476211548,
-0.0013650738401338458,
-0.053965047001838684,
0.030162539333105087,
-0.06927482038736343,
-0.0014745654771104455,
-0.02273615635931492,
0.049775805324316025,
0.018118469044566154,
-0.005731644108891487,
0.012767666019499302,
-0.018223199993371964,
0.0068265595473349094,
-0.06005848944187164,
-0.029591279104351997,
0.01607145369052887,
0.03678915649652481,
0.024945029988884926,
0.04554848000407219,
0.019251469522714615,
-0.007683449890464544,
0.01938476227223873,
0.017566250637173653,
0.017851881682872772,
0.006521887611597776,
-0.019898897036910057,
0.020508240908384323,
-0.04440595954656601,
0.00878788623958826,
0.05038515105843544,
0.04402511939406395,
0.15629678964614868,
-0.007597760763019323,
0.0604393295943737,
0.011672750115394592,
0.02957223728299141,
0.022602861747145653,
-0.08667921274900436,
-0.029819782823324203,
-0.04509147256612778,
-0.049204546958208084,
0.049966227263212204,
-0.03357105702161789,
0.011767960153520107,
-0.006302904337644577,
0.008207105100154877,
0.010625439696013927,
0.07388298958539963,
-0.045776985585689545,
-0.011149095371365547,
0.01806134358048439,
0.016785528510808945,
-0.01731870509684086,
-0.023212207481265068,
-0.020965250208973885,
-0.00255638943053782,
0.046729084104299545,
-0.023421669378876686,
-0.012139279395341873,
0.005579308141022921,
0.003099086694419384,
-0.015024143271148205,
-0.014814681373536587,
0.057011768221855164,
0.06428581476211548,
-0.06085825338959694,
0.03480878844857216,
-0.040254801511764526,
-0.04573890194296837,
0.019422847777605057,
-0.038084015250205994,
-0.009535284712910652,
0.04307302087545395,
-0.0033632945269346237,
-0.013396051712334156,
-0.0063457489013671875,
-0.05598350241780281,
0.019727518782019615,
0.007692970801144838,
0.01473851315677166,
0.024373769760131836,
0.02271711453795433,
-0.011767960153520107,
-0.004308253992348909,
0.0035537146031856537,
-0.035703763365745544,
-0.0031800151336938143,
0.00036239318433217704,
-0.04276834800839424,
-0.029972119256854057,
-0.05963956564664841,
-0.015109832398593426,
0.013472219929099083,
0.01598576456308365,
-0.019251469522714615,
0.05057556927204132,
-0.020774830132722855,
0.004969963803887367,
0.011320473626255989,
-0.002243386348709464,
-0.014652824029326439,
-0.003384716808795929,
0.13100901246070862,
0.01929907500743866,
0.05446014180779457,
-0.013415093533694744,
-0.010758734308183193,
-0.03890281915664673,
0.0315716490149498,
0.017252057790756226,
-0.059068307280540466,
-0.041968584060668945,
-0.038445811718702316,
0.035703763365745544,
0.04547231271862984,
-0.04326343908905983,
-0.04973772168159485,
-0.0009223472443409264,
-0.045205723494291306,
0.057011768221855164,
0.031419310718774796,
0.019841771572828293,
-0.05137533321976662,
-0.04455829784274101,
-0.02547820471227169,
-0.007093147840350866,
0.04105456545948982,
0.04010246694087982,
-0.039493121206760406,
0.03876952454447746,
-0.0010437399614602327,
-0.01976560242474079,
-0.040826063603162766,
-0.03791263699531555,
-0.060972508043050766,
0.0680561363697052,
0.0064361984841525555,
-0.01579534448683262,
0.025916172191500664,
-0.00030526716727763414,
-0.019327636808156967,
0.02254573628306389,
0.02121279574930668,
-0.009582890197634697,
0.05484098196029663,
0.01929907500743866,
0.015024143271148205,
-0.02433568425476551,
-0.009968490339815617,
-0.004624827299267054,
-0.015186000615358353,
0.017147326841950417,
-0.028563011437654495,
0.013567429967224598,
-0.004667671862989664,
-0.03153356537222862,
-0.005036610644310713,
0.006302904337644577,
-0.021346090361475945,
0.0460054874420166,
0.011663229204714298,
0.03975971043109894,
-0.021079501137137413,
0.03861718997359276,
-0.0017590053612366319,
-0.047109924256801605,
-0.03972162678837776,
-0.013043775223195553,
0.03612268716096878,
0.01236778311431408,
0.01174891833215952,
-0.046043574810028076,
-0.008092853240668774,
0.01606193371117115,
0.005350803956389427,
0.016090495511889458,
0.008259470574557781,
-0.020622493699193,
-0.0479096882045269,
-0.004974724259227514,
-0.016661755740642548,
-0.07232154160737991,
0.020755788311362267,
-0.022602861747145653,
-0.004660531412810087,
0.03002924472093582,
-0.026030423119664192,
0.0007188357412815094,
0.027401447296142578,
0.04760501906275749,
-0.012739102356135845,
-0.04512955620884895,
-0.0016257113311439753,
0.01431006845086813,
-0.01957518234848976,
0.001110387034714222,
-0.0073264120146632195,
0.03774125874042511,
0.03964545950293541,
0.029248522594571114,
-0.04276834800839424,
-0.04627207666635513,
-0.032466620206832886,
-0.042082834988832474,
0.0001361205941066146,
-0.020850997418165207,
-0.004598644562065601,
-0.028772473335266113,
-0.07616803050041199,
-0.012358262203633785,
-0.00018759352678898722,
0.001622140989638865,
0.016890259459614754,
-0.04067372530698776,
0.0024683200754225254,
-0.03140027076005936,
-0.03317117691040039,
-0.08302315324544907,
-0.0012567724334076047,
-0.0061458079144358635,
0.040445223450660706,
0.05819237232208252,
-0.02214585430920124,
-0.02709677629172802,
-0.006264820229262114,
0.00499376654624939,
-0.03435178101062775,
0.015947680920362473,
0.05392696335911751,
-0.0014293406857177615,
0.002946750493720174,
-0.011806044727563858,
0.012320178560912609,
0.04223517328500748,
0.016004806384444237,
-0.0030062568839639425,
-0.05343187227845192,
0.060286995023489,
0.0642477348446846,
0.013015211559832096,
0.020755788311362267,
-0.042197085916996,
-0.07304514199495316,
-0.0034013784024864435,
-0.031114639714360237,
-0.014519530348479748,
-0.022260107100009918,
-0.010720649734139442,
0.0393407866358757,
0.05305103212594986,
0.03429465368390083,
-0.004022623877972364,
-0.00831659696996212,
-0.04295876622200012,
0.006579013541340828,
-0.014348152093589306,
-0.03486591577529907,
-0.032180991023778915,
0.019137216731905937,
0.0066266185604035854,
-0.000030459772460744716,
0.01615714281797409,
0.02841067500412464,
0.008349919691681862,
0.027820372954010963,
-0.015738219022750854,
0.08104278147220612,
0.013605513609945774,
-0.022583819925785065,
0.02919139713048935,
0.05133724957704544,
0.017851881682872772,
0.011158616282045841,
0.022374358028173447,
-0.014957496896386147,
-0.007174076046794653,
0.07121710479259491,
-0.022698072716593742,
0.011215741746127605,
0.014576656743884087,
-0.0672563686966896,
0.0027253872249275446,
0.028277380391955376,
0.03960737586021423,
0.06280054152011871,
0.016699839383363724,
-0.034446991980075836,
-0.01553827803581953,
-0.04916646331548691,
-0.002546868519857526,
0.04113073647022247,
0.01576678268611431,
0.019270511344075203,
0.00870219711214304,
0.12240201979875565,
-0.040559474378824234,
-0.10412169247865677,
-0.015357378870248795,
0.020222611725330353,
0.00011730173719115555,
0.02045111544430256,
-0.019356200471520424,
-0.00916872639209032,
-0.002312413649633527,
-0.08660304546356201,
-0.016014328226447105,
-0.029914993792772293,
-0.07936708629131317,
-0.00042517230031080544,
0.012720060534775257,
0.05484098196029663,
-0.03564663603901863,
-0.0033775758929550648,
0.024773651733994484,
0.049966227263212204,
-0.0039321742951869965,
-0.042082834988832474,
0.038369644433259964,
0.06348605453968048,
0.01805182360112667,
0.014405278488993645,
-0.03140027076005936,
-0.05712602287530899,
0.09041144698858261,
-0.0035894182510674,
0.013348447158932686,
-0.025421079248189926,
0.00041118834633380175,
-0.03915036469697952,
0.01921338587999344,
0.001378165208734572,
0.005779249127954245,
0.025154491886496544,
-0.022488610818982124,
-0.009325822815299034,
0.006383833009749651,
0.03355201706290245,
-0.041968584060668945,
-0.06645660102367401,
0.04307302087545395,
0.028106002137064934,
-0.019537098705768585,
-0.0014495727373287082,
0.03421848639845848,
-0.02585904486477375,
0.005503139924257994,
-0.03395189717411995,
0.05952531471848488,
-0.02347879484295845,
0.04097839817404747,
0.008121415972709656,
-0.021936392411589622,
0.09018294513225555,
0.09460069239139557,
-0.010968196205794811,
-0.014652824029326439,
-0.0804334357380867,
-0.004551039543002844,
0.035589512437582016,
0.03833156079053879,
-0.03159068897366524,
-0.000965191749855876,
-0.008645071648061275,
-0.04836669936776161,
-0.07072201371192932,
-0.022659989073872566,
-0.02311699651181698,
0.008830730803310871,
-0.08462268114089966,
0.004172579851001501,
-0.056516677141189575,
-0.055183734744787216,
0.009759028442203999,
0.06261011958122253,
0.041016481816768646,
-0.05845896154642105,
-0.05350803956389427,
0.031114639714360237,
0.016042890027165413,
0.10922495275735855,
-0.046919506043195724,
0.003825063118711114,
0.04509147256612778,
-0.0030800446402281523,
0.009540045633912086,
-0.02623988501727581,
0.034751661121845245,
-0.023593047633767128,
0.01654750481247902,
-0.04570081830024719,
0.04741459712386131,
0.00006939918966963887,
0.037227123975753784,
-0.024849819019436836,
-0.02166980318725109,
0.061353348195552826,
-0.028372591361403465,
-0.04040713980793953,
0.061353348195552826,
0.055869247764348984,
0.03412327542901039,
0.003641783958300948,
0.02319316379725933,
0.014538572169840336,
0.002903906162828207,
-0.002116043120622635,
0.05381271243095398,
0.02492598630487919,
-0.06607576459646225,
0.004101172089576721,
0.02766803652048111,
0.06645660102367401,
0.022888492792844772,
-0.004839050117880106,
-0.01862308196723461,
-0.06405731290578842,
-0.004046426620334387,
0.0018220820929855108,
-0.059944238513708115,
0.03339967876672745,
0.03130505979061127,
-0.0141196483746171,
0.002196971559897065,
0.0238786768168211,
-0.03339967876672745,
-0.01683313399553299,
0.07007458806037903,
-0.015338337048888206,
-0.03791263699531555,
0.016461815685033798,
0.011444246396422386,
0.003796500153839588,
-0.007783420383930206,
0.01359599269926548,
-0.02214585430920124,
-0.009149684570729733,
-0.024583231657743454,
0.03509441763162613,
-0.03804593160748482,
-0.01700451225042343,
0.03469453752040863,
-0.10564505308866501,
-0.026582641527056694,
-0.01710924319922924,
-0.037512753158807755,
-0.00710266875103116,
-0.0739210695028305,
0.0068456013686954975,
-0.06889398396015167,
0.05704985186457634,
-0.032942671328783035,
-0.030086372047662735,
0.0013448417885228992,
-0.011158616282045841,
-0.0023445470724254847,
0.02957223728299141,
-0.00572688365355134,
0.003972638864070177,
0.03416135907173157,
-0.06120100989937782,
-0.051946595311164856,
0.052251268178224564,
0.01796613447368145,
-0.011653708294034004,
0.030657630413770676,
0.0006789665785618126,
-0.020622493699193,
0.04147349298000336,
0.08538436144590378,
0.023935802280902863,
0.002319554565474391,
0.03478974848985672,
0.021441299468278885,
-0.03164781630039215,
-0.0035084898117929697,
-0.03678915649652481,
0.03042912669479847,
-0.015557319857180119,
0.02993403561413288,
-0.03305692598223686,
0.028543967753648758,
-0.04128307104110718,
-0.014643303118646145,
0.0008842631941661239,
0.1013796478509903,
-0.05019472911953926,
-0.02368825674057007,
-0.09414368122816086,
0.02092716656625271,
0.029629362747073174,
0.0013293700758367777,
0.034180402755737305,
-0.006174370646476746,
0.008249949663877487,
0.03164781630039215,
-0.009578129276633263,
0.004498674068599939,
0.00698841642588377,
-0.03202865645289421,
-0.056897517293691635,
-0.04189241677522659,
0.05145150423049927,
-0.005193707533180714,
-0.031628772616386414,
-0.03610364720225334,
0.03888377919793129,
0.0012532020919024944,
-0.00217554927803576,
0.014224379323422909,
-0.0011014611227437854,
-0.041244987398386,
0.028563011437654495,
0.09315349906682968,
0.026963481679558754,
-0.055754996836185455,
0.016585588455200195,
0.002451658481732011,
-0.0193942841142416,
-0.038845695555210114,
-0.008711718022823334,
0.00025409177760593593,
-0.019413325935602188,
-0.04547231271862984,
0.017175890505313873,
0.0036989098880439997,
0.0477573536336422,
-0.07258813083171844,
-0.000046861190639901906,
-0.027020607143640518,
-0.006421916652470827,
0.026925398036837578,
0.021231837570667267,
0.0631432980298996,
-0.021517468616366386,
-0.012186884880065918,
-0.00744066433981061,
0.041968584060668945,
0.01392922829836607,
0.025801919400691986,
0.013186589814722538,
0.004760501906275749,
0.017261579632759094,
-0.006174370646476746,
0.012139279395341873,
0.03501825034618378,
-0.005736404564231634,
0.017261579632759094,
0.0034775466192513704,
-0.008335638791322708,
-0.003137170569971204,
-0.08226147294044495,
0.026506474241614342,
-0.041397321969270706,
-0.029800741001963615,
-0.0035322923213243484,
0.005169904790818691,
0.031895361840724945,
0.04033097252249718,
-0.0027087253984063864,
0.0009776880033314228,
0.012634371407330036,
0.05122299864888191,
-0.028086960315704346,
0.054041214287281036,
0.001121693174354732,
-0.03366626799106598,
-0.04333960637450218,
-0.025916172191500664,
0.0706077590584755,
0.013148506172001362,
0.061353348195552826,
0.000931273156311363,
0.004741459619253874,
-0.02224106341600418,
0.007493029814213514,
-0.002742049051448703,
0.00515562342479825,
-0.10031329095363617,
-0.02024165354669094,
0.014957496896386147,
0.02928660623729229,
-0.009663818404078484,
-0.0009693571482785046,
-0.005479337647557259,
0.05952531471848488,
0.024754609912633896,
0.02947702631354332,
-0.04185433313250542,
-0.04288259893655777,
-0.011568019166588783,
0.002822977490723133,
0.041244987398386,
0.030086372047662735,
0.016404688358306885,
0.018204158172011375,
0.030276792123913765,
-0.08089044690132141,
-0.026658810675144196,
0.025535332038998604,
0.012681976892054081
] |
710,118
|
urllib3_future.connectionpool
|
_make_request
|
Perform a request on a given urllib connection object taken from our
pool.
:param conn:
a connection from one of our connection pools
:param method:
HTTP request method (such as GET, POST, PUT, etc.)
:param url:
The URL to perform the request on.
:param body:
Data to send in the request body, either :class:`str`, :class:`bytes`,
an iterable of :class:`str`/:class:`bytes`, or a file-like object.
:param headers:
Dictionary of custom headers to send, such as User-Agent,
If-None-Match, etc. If None, pool headers are used. If provided,
these headers completely replace any pool-specific headers.
:param retries:
Configure the number of retries to allow before raising a
:class:`~urllib3.exceptions.MaxRetryError` exception.
Pass ``None`` to retry until you receive a response. Pass a
:class:`~urllib3.util.retry.Retry` object for fine-grained control
over different types of retries.
Pass an integer number to retry connection errors that many times,
but no other types of errors. Pass zero to never retry.
If ``False``, then retries are disabled and any exception is raised
immediately. Also, instead of raising a MaxRetryError on redirects,
the redirect response will be returned.
:type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
:param timeout:
If specified, overrides the default timeout for this one
request. It may be a float (in seconds) or an instance of
:class:`urllib3.util.Timeout`.
:param chunked:
If True, urllib3 will send the body using chunked transfer
encoding. Otherwise, urllib3 will send the body using the standard
content-length form. Defaults to False.
:param response_conn:
Set this to ``None`` if you will handle releasing the connection or
set the connection to have the response release it.
:param preload_content:
If True, the response's body will be preloaded during construction.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param enforce_content_length:
Enforce content length checking. Body returned by server must match
value of Content-Length header, if present. Otherwise, raise error.
|
def _make_request(
self,
conn: HTTPConnection,
method: str,
url: str,
body: _TYPE_BODY | None = None,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | None = None,
timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
chunked: bool = False,
response_conn: HTTPConnection | None = None,
preload_content: bool = True,
decode_content: bool = True,
enforce_content_length: bool = True,
on_post_connection: typing.Callable[[ConnectionInfo], None] | None = None,
on_upload_body: typing.Callable[[int, int | None, bool, bool], None]
| None = None,
multiplexed: Literal[False] | Literal[True] = False,
) -> HTTPResponse | ResponsePromise:
"""
Perform a request on a given urllib connection object taken from our
pool.
:param conn:
a connection from one of our connection pools
:param method:
HTTP request method (such as GET, POST, PUT, etc.)
:param url:
The URL to perform the request on.
:param body:
Data to send in the request body, either :class:`str`, :class:`bytes`,
an iterable of :class:`str`/:class:`bytes`, or a file-like object.
:param headers:
Dictionary of custom headers to send, such as User-Agent,
If-None-Match, etc. If None, pool headers are used. If provided,
these headers completely replace any pool-specific headers.
:param retries:
Configure the number of retries to allow before raising a
:class:`~urllib3.exceptions.MaxRetryError` exception.
Pass ``None`` to retry until you receive a response. Pass a
:class:`~urllib3.util.retry.Retry` object for fine-grained control
over different types of retries.
Pass an integer number to retry connection errors that many times,
but no other types of errors. Pass zero to never retry.
If ``False``, then retries are disabled and any exception is raised
immediately. Also, instead of raising a MaxRetryError on redirects,
the redirect response will be returned.
:type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
:param timeout:
If specified, overrides the default timeout for this one
request. It may be a float (in seconds) or an instance of
:class:`urllib3.util.Timeout`.
:param chunked:
If True, urllib3 will send the body using chunked transfer
encoding. Otherwise, urllib3 will send the body using the standard
content-length form. Defaults to False.
:param response_conn:
Set this to ``None`` if you will handle releasing the connection or
set the connection to have the response release it.
:param preload_content:
If True, the response's body will be preloaded during construction.
:param decode_content:
If True, will attempt to decode the body based on the
'content-encoding' header.
:param enforce_content_length:
Enforce content length checking. Body returned by server must match
value of Content-Length header, if present. Otherwise, raise error.
"""
self.num_requests += 1
timeout_obj = self._get_timeout(timeout)
timeout_obj.start_connect()
conn.timeout = Timeout.resolve_default_timeout(timeout_obj.connect_timeout)
try:
# Trigger any extra validation we need to do.
try:
self._validate_conn(conn)
except (SocketTimeout, BaseSSLError) as e:
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
raise
# _validate_conn() starts the connection to an HTTPS proxy
# so we need to wrap errors with 'ProxyError' here too.
except (
OSError,
NewConnectionError,
TimeoutError,
BaseSSLError,
CertificateError,
SSLError,
) as e:
new_e: Exception = e
if isinstance(e, (BaseSSLError, CertificateError)):
new_e = SSLError(e)
# If the connection didn't successfully connect to it's proxy
# then there
if isinstance(
new_e, (OSError, NewConnectionError, TimeoutError, SSLError)
) and (conn and conn.proxy and not conn.has_connected_to_proxy):
new_e = _wrap_proxy_error(new_e, conn.proxy.scheme)
raise new_e
if on_post_connection is not None and conn.conn_info is not None:
# A second request does not redo handshake or DNS resolution.
if (
hasattr(conn, "_start_last_request")
and conn._start_last_request is not None
):
if conn.conn_info.tls_handshake_latency:
conn.conn_info.tls_handshake_latency = timedelta()
if conn.conn_info.established_latency:
conn.conn_info.established_latency = timedelta()
if conn.conn_info.resolution_latency:
conn.conn_info.resolution_latency = timedelta()
if conn.conn_info.request_sent_latency:
conn.conn_info.request_sent_latency = None
on_post_connection(conn.conn_info)
if conn.is_multiplexed is False and multiplexed is True:
# overruling
multiplexed = False
try:
rp = conn.request(
method,
url,
body=body,
headers=headers,
chunked=chunked,
preload_content=preload_content,
decode_content=decode_content,
enforce_content_length=enforce_content_length,
on_upload_body=on_upload_body,
)
# We are swallowing BrokenPipeError (errno.EPIPE) since the server is
# legitimately able to close the connection after sending a valid response.
# With this behaviour, the received response is still readable.
except BrokenPipeError as e:
rp = e.promise # type: ignore
except OSError as e:
rp = None
# MacOS/Linux
# EPROTOTYPE is needed on macOS
# https://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/
if e.errno != errno.EPROTOTYPE:
raise
# Reset the timeout for the recv() on the socket
read_timeout = timeout_obj.read_timeout
if multiplexed:
if rp is None:
raise OSError
rp.set_parameter("read_timeout", read_timeout)
return rp
if not conn.is_closed:
# In Python 3 socket.py will catch EAGAIN and return None when you
# try and read into the file pointer created by http.client, which
# instead raises a BadStatusLine exception. Instead of catching
# the exception and assuming all BadStatusLine exceptions are read
# timeouts, check for a zero timeout before making the request.
if read_timeout == 0:
raise ReadTimeoutError(
self, url, f"Read timed out. (read timeout={read_timeout})"
)
conn.timeout = read_timeout
# Receive the response from the server
try:
response = conn.getresponse(police_officer=self.pool)
except (BaseSSLError, OSError) as e:
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
raise
# Set properties that are used by the pooling layer.
response.retries = retries
response._pool = self
log.debug(
'%s://%s:%s "%s %s %s" %s %s',
self.scheme,
self.host,
self.port,
method,
url,
# HTTP version
conn._http_vsn_str,
response.status,
response.length_remaining,
)
return response
|
(self, conn: 'HTTPConnection', method: 'str', url: 'str', body: '_TYPE_BODY | None' = None, headers: 'typing.Mapping[str, str] | None' = None, retries: 'Retry | None' = None, timeout: '_TYPE_TIMEOUT' = <_TYPE_DEFAULT.token: -1>, chunked: 'bool' = False, response_conn: 'HTTPConnection | None' = None, preload_content: 'bool' = True, decode_content: 'bool' = True, enforce_content_length: 'bool' = True, on_post_connection: 'typing.Callable[[ConnectionInfo], None] | None' = None, on_upload_body: 'typing.Callable[[int, int | None, bool, bool], None] | None' = None, multiplexed: 'Literal[False] | Literal[True]' = False) -> 'HTTPResponse | ResponsePromise'
|
[
-0.001873606350272894,
-0.07180755585432053,
-0.06069345027208328,
0.0395071804523468,
-0.06403636187314987,
0.014044585637748241,
-0.06169198453426361,
0.00983880739659071,
-0.019688468426465988,
-0.07436901330947876,
0.04113522544503212,
0.08378995209932327,
0.03746670112013817,
0.03872571885585785,
0.008118508383631706,
-0.004493399057537317,
0.02335699275135994,
-0.013979463838040829,
-0.010717950761318207,
-0.05808858200907707,
-0.008411556482315063,
0.06264710426330566,
0.04024522751569748,
0.01671457663178444,
0.001644323579967022,
0.025354059413075447,
-0.026287470012903214,
-0.03670694679021835,
0.03924669325351715,
0.037488408386707306,
0.00013210892211645842,
0.04122205451130867,
-0.011776179075241089,
0.026178933680057526,
0.011352887377142906,
0.005394249688833952,
0.0009083124459721148,
-0.021164560690522194,
-0.01849457062780857,
0.02020944282412529,
-0.08127191662788391,
-0.04421765357255936,
-0.045324720442295074,
-0.004561234265565872,
0.0007224441505968571,
0.03666353225708008,
-0.07302316278219223,
0.02648283541202545,
0.025831619277596474,
-0.01994895562529564,
-0.023747723549604416,
0.055179812014102936,
0.027720147743821144,
-0.021349072456359863,
0.03405866399407387,
0.02550601027905941,
-0.06924610584974289,
0.049622755497694016,
-0.03447110205888748,
0.009578321129083633,
-0.01252507884055376,
0.021273097023367882,
0.009817100130021572,
-0.033559396862983704,
-0.06368904560804367,
-0.010506304912269115,
-0.008547226898372173,
-0.023747723549604416,
0.02845819480717182,
-0.04871105030179024,
0.032387204468250275,
0.034340858459472656,
-0.021088585257530212,
-0.03134525939822197,
0.05109884962439537,
-0.017268111929297447,
0.02246699668467045,
0.008465824648737907,
-0.023682601749897003,
-0.0025411040987819433,
0.025354059413075447,
-0.010272952727973461,
0.04313229024410248,
-0.02765502594411373,
0.061214424669742584,
-0.06972366571426392,
0.004116235766559839,
-0.010278379544615746,
-0.07810265570878983,
0.015325313434004784,
-0.01886359415948391,
-0.024312110617756844,
0.014793485403060913,
-0.018255790695548058,
-0.02839307300746441,
-0.011309472844004631,
-0.01770225539803505,
-0.02361747995018959,
-0.014663241803646088,
-0.028089171275496483,
-0.036772068589925766,
0.005763272754848003,
-0.0909099280834198,
-0.0007183740381151438,
0.05695980414748192,
-0.05791492387652397,
0.017919328063726425,
-0.02828453667461872,
0.007971984334290028,
-0.0449339933693409,
-0.00844411738216877,
-0.01679055206477642,
0.025744790211319923,
0.012514225207269192,
-0.005947784520685673,
-0.003953431732952595,
-0.05257494002580643,
-0.032387204468250275,
-0.06585977226495743,
0.00029253901448100805,
-0.052140794694423676,
-0.002982032485306263,
0.01579201966524124,
0.0179627425968647,
0.020090052857995033,
0.02101260982453823,
0.0032045317348092794,
-0.013979463838040829,
0.028327951207756996,
-0.04245936498045921,
0.016312992200255394,
0.037054263055324554,
0.015108240768313408,
0.07714753597974777,
-0.024398939684033394,
0.04823349416255951,
-0.07102609425783157,
0.059694916009902954,
-0.03423232212662697,
0.015195069834589958,
0.04779934883117676,
0.027611611410975456,
-0.0211971215903759,
-0.013415075838565826,
0.002884349785745144,
-0.03816133365035057,
-0.010213257744908333,
-0.03386329859495163,
-0.028631852939724922,
-0.02659137174487114,
-0.00017297959129791707,
-0.04588910937309265,
0.027893805876374245,
0.011656789109110832,
0.0075758276507258415,
-0.024464061483740807,
-0.020166028290987015,
-0.002927764318883419,
-0.04313229024410248,
0.009089907631278038,
0.001644323579967022,
-0.01562921516597271,
0.029500141739845276,
-0.01760457269847393,
-0.006154003087431192,
-0.04502082243561745,
0.015574946068227291,
-0.06251686066389084,
0.049796413630247116,
0.010055880062282085,
-0.03158403933048248,
0.05135933682322502,
-0.03963742405176163,
-0.0226406529545784,
0.004132516216486692,
0.06303783506155014,
0.054572008550167084,
0.00951319932937622,
-0.05630858615040779,
-0.028154293075203896,
0.01499970443546772,
-0.03260427713394165,
-0.0005297923926264048,
0.02029627189040184,
-0.01950395666062832,
0.04849398136138916,
0.017550306394696236,
-0.02452918328344822,
0.03870401158928871,
0.0035518475342541933,
-0.011439716443419456,
-0.011461423709988594,
0.04033205658197403,
-0.048450566828250885,
0.030911114066839218,
-0.045932523906230927,
-0.0027323991525918245,
0.02650454267859459,
0.12190787494182587,
0.03308183699846268,
-0.0520973801612854,
0.020882368087768555,
0.03538280352950096,
0.011526545509696007,
-0.034449394792318344,
-0.020871514454483986,
-0.03451451659202576,
-0.04428277537226677,
-0.04489057883620262,
0.04623642563819885,
0.023856259882450104,
0.015759458765387535,
-0.021490169689059258,
0.011439716443419456,
0.01707274653017521,
0.005665590055286884,
-0.009990758262574673,
-0.03494866192340851,
-0.012579347006976604,
-0.006463331636041403,
0.020415661856532097,
-0.011309472844004631,
-0.04884129390120506,
-0.037054263055324554,
0.03590377792716026,
-0.005434950813651085,
-0.01217776257544756,
-0.0009870012290775776,
0.018375180661678314,
0.0017202990129590034,
-0.011103254742920399,
0.03781401738524437,
0.06355880200862885,
0.01001246552914381,
0.020882368087768555,
-0.023053091019392014,
-0.04606276750564575,
0.03764035925269127,
-0.003402610309422016,
-0.020350540056824684,
-0.003872029250487685,
-0.015857141464948654,
-0.005459371488541365,
-0.03145379573106766,
-0.07419535517692566,
0.025527717545628548,
0.02693868800997734,
0.04258960857987404,
-0.01095673069357872,
-0.022380167618393898,
0.028675267472863197,
-0.02533235214650631,
-0.024377232417464256,
-0.05075153335928917,
-0.002465128665789962,
-0.01329568587243557,
0.021490169689059258,
-0.020176881924271584,
-0.011385448276996613,
0.0017989877378568053,
0.013990317471325397,
0.03501378372311592,
-0.036077436059713364,
0.03349427506327629,
-0.043957166373729706,
0.015857141464948654,
0.012308006174862385,
-0.0011633725371211767,
-0.04024522751569748,
0.005692724138498306,
0.1288541853427887,
0.02461601234972477,
0.009122468531131744,
-0.009051919914782047,
-0.025549424812197685,
0.02049163728952408,
0.020958341658115387,
-0.009865941479802132,
-0.020817246288061142,
-0.07119975239038467,
0.025657961145043373,
-0.0024352811742573977,
0.045498378574848175,
-0.03996303305029869,
-0.03805279731750488,
-0.00019740023708436638,
-0.03718450665473938,
0.09638015925884247,
0.012090934440493584,
-0.0028165148105472326,
-0.007402169518172741,
-0.006734672002494335,
0.04419594630599022,
-0.01319800317287445,
-0.049622755497694016,
0.0013241417473182082,
-0.03716279938817024,
0.03503549098968506,
0.0006797080277465284,
-0.031128184869885445,
-0.0449339933693409,
0.0031746842432767153,
0.038573767989873886,
0.027416247874498367,
0.017854206264019012,
-0.07163389772176743,
0.0052368720062077045,
-0.05257494002580643,
-0.04723495990037918,
-0.005665590055286884,
-0.0029874593019485474,
0.012991784140467644,
-0.00223584589548409,
-0.03054209053516388,
0.012297152541577816,
0.0005922007258050144,
0.008275886066257954,
0.043349362909793854,
0.02587503381073475,
0.01786505989730358,
-0.03329890966415405,
0.023053091019392014,
-0.005114769097417593,
0.02685185894370079,
0.03727133572101593,
0.02719917520880699,
0.03896449878811836,
0.03401524946093559,
-0.02513698674738407,
0.02227163128554821,
-0.03008623793721199,
0.05882662534713745,
-0.05639541521668434,
-0.039659131318330765,
-0.021576998755335808,
-0.02713405340909958,
0.009659722447395325,
-0.011645935475826263,
0.03188793733716011,
-0.03672865405678749,
-0.02012261375784874,
0.010430330410599709,
0.027958927676081657,
0.00898137129843235,
0.02630917727947235,
-0.015249338001012802,
0.0015832720091566443,
0.007993691600859165,
0.04784276336431503,
-0.01714872196316719,
-0.04176473617553711,
-0.0529656708240509,
0.02973892167210579,
0.06047637760639191,
-0.00455852085724473,
-0.01867908239364624,
-0.011222644709050655,
-0.038682304322719574,
-0.03145379573106766,
-0.03581694886088371,
-0.030780870467424393,
0.026786737143993378,
-0.02227163128554821,
0.057697851210832596,
0.014793485403060913,
0.01517336256802082,
0.04606276750564575,
-0.002348452340811491,
-0.03158403933048248,
-0.0007007369422353804,
-0.034796711057424545,
-0.0355781689286232,
-0.055657368153333664,
-0.005915223620831966,
-0.01355617307126522,
-0.02227163128554821,
-0.06069345027208328,
0.006002052687108517,
-0.016019944101572037,
0.042980339378118515,
0.02767673321068287,
-0.03442768752574921,
-0.011135815642774105,
-0.055006153881549835,
0.03981108218431473,
-0.06855147331953049,
-0.0037444992922246456,
0.009779112413525581,
0.028588438406586647,
0.019427981227636337,
0.02971721440553665,
0.01698591746389866,
0.01423995103687048,
-0.007955703884363174,
-0.02837136574089527,
-0.012720444239675999,
-0.0010053166188299656,
0.001111817779019475,
-0.014174829237163067,
-0.05266176909208298,
-0.01279641967266798,
0.034970369189977646,
0.02327016368508339,
0.05630858615040779,
-0.027003809809684753,
0.06577294319868088,
0.06507831066846848,
0.017561158165335655,
0.03755353018641472,
-0.017452623695135117,
-0.042524486780166626,
-0.015694336965680122,
-0.03653328865766525,
-0.00655558705329895,
-0.04671398550271988,
0.00903021264821291,
-0.008872834965586662,
0.008454971015453339,
0.04805983603000641,
-0.002439351286739111,
0.032929886132478714,
0.010484597645699978,
0.008802286349236965,
0.052140794694423676,
-0.053226158022880554,
-0.000047060624638106674,
0.003831328358501196,
-0.016117626801133156,
-0.05795833840966225,
0.007429303601384163,
0.03826986998319626,
0.02074127085506916,
-0.006419917102903128,
-0.0024447781033813953,
0.06286417692899704,
0.03620767965912819,
-0.05782809481024742,
0.04347960650920868,
0.040722787380218506,
-0.011124962009489536,
0.02020944282412529,
0.03963742405176163,
-0.043436191976070404,
-0.013263124972581863,
0.09690113365650177,
0.023552358150482178,
0.03883425518870354,
-0.036598410457372665,
-0.06290759146213531,
-0.003844895400106907,
-0.014619828201830387,
0.028176000341773033,
0.038660597056150436,
0.02498503588140011,
-0.10228452831506729,
0.027828684076666832,
0.030932821333408356,
0.004165077116340399,
-0.04983982816338539,
0.01698591746389866,
0.0594344288110733,
-0.028588438406586647,
0.09308065474033356,
0.00813478883355856,
-0.05965150147676468,
0.020687002688646317,
0.02253211848437786,
0.031193306669592857,
0.01591140776872635,
-0.021001756191253662,
-0.02353065088391304,
-0.002189718186855316,
-0.053833961486816406,
0.011168376542627811,
-0.016139334067702293,
-0.02845819480717182,
-0.0015276471385732293,
0.016942502930760384,
0.0055950419045984745,
-0.052227623760700226,
0.005812114104628563,
-0.038486938923597336,
0.06859488785266876,
-0.02550601027905941,
0.015683483332395554,
-0.06325490772724152,
0.015574946068227291,
-0.017756523564457893,
0.01126605924218893,
-0.025983568280935287,
0.009133322164416313,
0.06950659304857254,
0.030911114066839218,
0.009969050996005535,
-0.06078027933835983,
0.02748136967420578,
-0.07666998356580734,
-0.0321701318025589,
0.009762831963598728,
-0.05535346642136574,
0.012101788073778152,
-0.05218420922756195,
0.03379817679524422,
0.036164265125989914,
0.04454326257109642,
0.021674681454896927,
-0.0430888757109642,
0.04389204457402229,
0.01967761479318142,
-0.06056320667266846,
-0.03640304505825043,
0.008161922916769981,
-0.02767673321068287,
-0.010842767544090748,
-0.009355821646749973,
0.03279964253306389,
0.0179627425968647,
0.06763976812362671,
-0.046931058168411255,
-0.06108418107032776,
0.09334114193916321,
0.07923143357038498,
0.0004985881969332695,
0.00644705118611455,
-0.03466646745800972,
0.02416016161441803,
0.042741559445858,
-0.0035247134510427713,
0.009187590330839157,
0.000236066262004897,
0.004783733747899532,
-0.013491051271557808,
-0.011884715408086777,
-0.025918448343873024,
0.04645349830389023,
0.0362728014588356,
-0.057350534945726395,
-0.030303310602903366,
-0.03299500793218613,
-0.011114108376204967,
0.03143208846449852,
0.12312348186969757,
-0.01930859126150608,
-0.05531005188822746,
-0.07736460864543915,
-0.01481519266963005,
0.03733645752072334,
0.0648612380027771,
-0.006772659718990326,
-0.061388082802295685,
-0.01176532544195652,
0.005584188271313906,
0.035361096262931824,
-0.0395071804523468,
-0.035447925329208374,
-0.013762392103672028,
0.03790084645152092,
-0.061388082802295685,
0.03861718252301216,
-0.03484012559056282,
-0.001079935347661376,
-0.025527717545628548,
-0.03136696666479111,
0.020719563588500023,
0.01866822876036167,
0.03401524946093559,
0.06833440065383911,
0.05613492801785469,
-0.015195069834589958,
-0.04122205451130867,
0.04113522544503212,
0.04293692484498024,
-0.02129480428993702,
-0.0025994423776865005,
0.04788617789745331,
-0.0047457460314035416,
-0.026699908077716827,
0.0043550156988203526,
0.029521849006414413,
0.04228570684790611,
0.06685830652713776,
0.007163390051573515,
-0.08179289102554321,
-0.06507831066846848,
-0.004170503932982683,
0.022293338552117348,
-0.025723082944750786,
0.04519447684288025,
0.03299500793218613,
-0.024572597816586494,
-0.05318274348974228,
0.012058373540639877,
-0.04198180511593819,
-0.033450860530138016,
0.03271281346678734,
0.06199588254094124,
-0.055657368153333664,
0.04606276750564575,
0.022857725620269775,
0.025918448343873024,
0.014652388170361519,
0.03638133779168129,
-0.009138748981058598,
-0.052314452826976776,
-0.021262243390083313,
0.006202844437211752,
-0.061735399067401886,
0.056091513484716415,
0.06464416533708572,
-0.039854496717453,
0.00021995541465003043,
0.0024597018491476774,
0.01001246552914381,
-0.04853739216923714,
-0.09681430459022522,
-0.03177940100431442,
-0.07554120570421219,
0.07267584651708603,
0.03792255371809006,
-0.03325549513101578,
0.0036061157006770372,
-0.062473442405462265,
-0.017561158165335655,
0.049622755497694016,
-0.03683719038963318,
0.07732119411230087,
0.009730271063745022,
-0.017995303496718407,
-0.09186504781246185,
-0.012090934440493584,
0.022684067487716675,
0.04645349830389023,
0.07627925276756287,
0.015542385168373585,
0.04174302890896797,
0.02327016368508339,
0.04365326464176178,
0.008416983298957348,
0.009719417430460453,
0.024312110617756844,
0.06256027519702911,
-0.042263999581336975,
-0.011656789109110832,
-0.03531768172979355,
-0.021131999790668488,
0.02433381788432598,
0.042893510311841965,
-0.045498378574848175,
0.023226749151945114,
-0.011146669276058674,
-0.0035572743508964777,
0.04035376384854317,
0.0594344288110733,
-0.03125843033194542,
-0.008460397832095623,
-0.009382955729961395,
-0.009865941479802132,
-0.007716924883425236,
0.026808444410562515,
-0.014218243770301342,
0.018353473395109177,
-0.025375766679644585,
0.10271867364645004,
-0.03134525939822197,
0.010739658027887344,
0.030151359736919403,
-0.03594719246029854,
-0.05834906920790672,
0.020415661856532097,
0.03907303512096405,
0.011439716443419456,
-0.034536223858594894,
-0.007472718134522438,
0.025202108547091484,
0.044413018971681595,
0.004561234265565872,
0.02847990207374096,
-0.057871509343385696,
-0.04159107804298401,
0.023400407284498215,
0.05018714442849159,
0.0019862125627696514,
-0.04471692070364952,
0.04454326257109642,
0.044130824506282806,
-0.030021116137504578,
0.012514225207269192,
0.0018437588587403297,
-0.020176881924271584,
-0.024746255949139595,
0.002657780423760414,
0.025701375678181648,
0.016823112964630127,
0.039311815053224564,
-0.05552712455391884,
-0.005057787522673607,
-0.04026693478226662,
-0.04026693478226662,
0.015477263368666172,
0.022249924018979073,
0.0667714774608612,
-0.032647691667079926,
-0.005188031122088432,
0.03670694679021835,
0.03034672513604164,
0.024398939684033394,
0.01355617307126522,
0.010289233177900314,
0.040809616446495056,
0.025462595745921135,
-0.007537839934229851,
0.011656789109110832,
0.043414484709501266,
-0.014435316435992718,
-0.034254029393196106,
0.05066470429301262,
-0.006170283537358046,
0.010495451278984547,
-0.05730712041258812,
0.02999940887093544,
-0.04706130176782608,
-0.045585207641124725,
0.03729304298758507,
-0.008265032432973385,
0.007092841435223818,
-0.019069813191890717,
-0.012221177108585835,
0.005516353063285351,
0.024290403351187706,
0.0354045107960701,
0.014847753569483757,
0.08344264328479767,
-0.014684949070215225,
-0.015857141464948654,
-0.05830565467476845,
-0.06216954067349434,
0.06290759146213531,
0.010555146262049675,
0.030867699533700943,
0.0145112918689847,
-0.02954355627298355,
-0.08656848222017288,
-0.021045170724391937,
-0.03099794127047062,
0.025354059413075447,
-0.03253915533423424,
0.024008210748434067,
0.009285273030400276,
-0.0038096210919320583,
0.0018831032793968916,
0.014532999135553837,
0.0015032265800982714,
-0.02128395065665245,
0.0028897766023874283,
0.010115575045347214,
-0.02450747601687908,
-0.02046993002295494,
0.014272511936724186,
-0.01194983720779419,
0.008167349733412266,
0.013697270303964615,
0.04554179310798645,
0.048363737761974335,
-0.004151510074734688,
-0.03377646952867508,
0.0030308738350868225,
-0.00036223960341885686,
0.0199272483587265
] |
710,119
|
urllib3_future.connectionpool
|
_new_conn
|
Return a fresh :class:`HTTPConnection`.
|
def _new_conn(self, *, heb_timeout: Timeout | None = None) -> HTTPConnection:
"""
Return a fresh :class:`HTTPConnection`.
"""
if self.pool is None:
raise ClosedPoolError(self, "Pool is closed")
self.num_connections += 1
log.debug(
"Starting new HTTP connection (%d): %s:%s",
self.num_connections,
self.host,
self.port or "80",
)
conn = None
if self.happy_eyeballs:
log.debug(
"Attempting Happy-Eyeball %s:%s",
self.host,
self.port or "443",
)
dt_pre_resolve = datetime.now(tz=timezone.utc)
ip_addresses = self._resolver.getaddrinfo(
self.host,
self.port,
socket.AF_UNSPEC
if "socket_family" not in self.conn_kw
else self.conn_kw["socket_family"],
socket.SOCK_STREAM,
quic_upgrade_via_dns_rr=False,
)
delta_post_resolve = datetime.now(tz=timezone.utc) - dt_pre_resolve
if len(ip_addresses) > 1:
ipv6_addresses = []
ipv4_addresses = []
for ip_address in ip_addresses:
if ip_address[0] == socket.AF_INET6:
ipv6_addresses.append(ip_address)
else:
ipv4_addresses.append(ip_address)
if ipv4_addresses and ipv6_addresses:
log.debug(
"Happy-Eyeball Dual-Stack %s:%s",
self.host,
self.port or "443",
)
intermediary_addresses = []
for ipv6_entry, ipv4_entry in zip_longest(
ipv6_addresses, ipv4_addresses
):
if ipv6_entry:
intermediary_addresses.append(ipv6_entry)
if ipv4_entry:
intermediary_addresses.append(ipv4_entry)
ip_addresses = intermediary_addresses
else:
log.debug(
"Happy-Eyeball Single-Stack %s:%s",
self.host,
self.port or "443",
)
challengers = []
max_task = (
4 if isinstance(self.happy_eyeballs, bool) else self.happy_eyeballs
)
if heb_timeout is None:
heb_timeout = self.timeout
override_timeout = (
heb_timeout.connect_timeout
if heb_timeout.connect_timeout is not None
and isinstance(heb_timeout.connect_timeout, (float, int))
else 0.4
)
for ip_address in ip_addresses[:max_task]:
conn_kw = self.conn_kw.copy()
target_solo_addr = (
f"[{ip_address[-1][0]}]"
if ip_address[0] == socket.AF_INET6
else ip_address[-1][0]
)
conn_kw["resolver"] = ResolverDescription.from_url(
f"in-memory://default?hosts={self.host}:{target_solo_addr}"
).new()
conn_kw["socket_family"] = ip_address[0]
challengers.append(
self.ConnectionCls(
host=self.host,
port=self.port,
timeout=override_timeout,
**conn_kw,
)
)
event = threading.Event()
winning_task: Future[None] | None = None
completed_count: int = 0
def _happy_eyeballs_completed(t: Future[None]) -> None:
nonlocal winning_task, event, completed_count
if winning_task is None and t.exception() is None:
winning_task = t
event.set()
return
completed_count += 1
if completed_count >= len(challengers):
event.set()
tpe = ThreadPoolExecutor(max_workers=max_task)
tasks: list[Future[None]] = []
for challenger in challengers:
task = tpe.submit(challenger.connect)
task.add_done_callback(_happy_eyeballs_completed)
tasks.append(task)
event.wait()
for task in tasks:
if task == winning_task:
continue
if task.running():
task.cancel()
else:
challengers[tasks.index(task)].close()
if winning_task is None:
within_delay_msg: str = (
f" within {override_timeout}s" if override_timeout else ""
)
raise NewConnectionError(
challengers[0],
f"Failed to establish a new connection: No suitable address to connect to using Happy Eyeballs for {self.host}:{self.port}{within_delay_msg}",
) from tasks[0].exception()
conn = challengers[tasks.index(winning_task)]
# we have to replace the resolution latency metric
if conn.conn_info:
conn.conn_info.resolution_latency = delta_post_resolve
tpe.shutdown(wait=False)
else:
log.debug(
"Happy-Eyeball Ineligible %s:%s",
self.host,
self.port or "443",
)
if conn is None:
conn = self.ConnectionCls(
host=self.host,
port=self.port,
timeout=self.timeout.connect_timeout,
**self.conn_kw,
)
self.pool.put(conn, immediately_unavailable=True)
return conn
|
(self, *, heb_timeout: Optional[urllib3_future.util.timeout.Timeout] = None) -> urllib3_future.connection.HTTPConnection
|
[
-0.01196742057800293,
-0.10855736583471298,
-0.09447339177131653,
-0.020690780133008957,
-0.05103462189435959,
-0.019385242834687233,
-0.04351789131760597,
-0.002747067017480731,
-0.0772244781255722,
-0.1058671623468399,
0.005034228786826134,
0.03342965245246887,
0.041381560266017914,
0.044546496123075485,
0.0008413047180511057,
-0.009282168932259083,
0.03663415461778641,
0.004487782716751099,
-0.009212935343384743,
-0.05234015733003616,
-0.019751189276576042,
0.027020655572414398,
0.025715118274092674,
-0.008134879171848297,
-0.01574556529521942,
0.028128383681178093,
-0.030442744493484497,
0.01832696795463562,
0.0193357914686203,
0.001268447726033628,
-0.035803359001874924,
-0.0005275926669128239,
-0.014172986149787903,
0.041658490896224976,
0.05451605096459389,
0.010083293542265892,
0.014202658087015152,
-0.001282047014683485,
-0.010454184375703335,
-0.0031179580837488174,
-0.02213478274643421,
-0.06286357343196869,
-0.04506079852581024,
0.012254242785274982,
-0.010711335577070713,
0.012264133431017399,
0.0005161568406037986,
0.06496034562587738,
0.03833530843257904,
-0.02797013707458973,
-0.049452152103185654,
-0.00042467034654691815,
0.0021177884191274643,
0.044942114502191544,
0.03333074972033501,
0.05479298532009125,
-0.04976864531636238,
0.04850266873836517,
-0.00034029260859824717,
-0.04102550446987152,
-0.058867841958999634,
0.0034987397957593203,
0.008476098999381065,
0.0201764777302742,
-0.03973975032567978,
0.010780569165945053,
-0.05843266099691391,
0.00006409462366718799,
0.030304279178380966,
-0.02219412475824356,
0.10135713219642639,
0.05922389775514603,
-0.0061765736900269985,
-0.008723359555006027,
-0.005484243389219046,
-0.002215456450358033,
-0.043676141649484634,
0.009860758669674397,
-0.06776922941207886,
0.022767771035432816,
0.010938815772533417,
0.028207506984472275,
0.03606050834059715,
-0.0622701495885849,
0.0859280601143837,
-0.04735537990927696,
0.014657617546617985,
0.028543781489133835,
-0.06776922941207886,
-0.047909244894981384,
0.0022871620021760464,
-0.012867449782788754,
0.015735674649477005,
0.026071174070239067,
0.06891651451587677,
-0.070498988032341,
-0.02387549914419651,
0.012857559137046337,
0.002072045113891363,
-0.05736449733376503,
-0.06812528520822525,
-0.006730437744408846,
-0.06879783421754837,
0.02179850824177265,
-0.001367351971566677,
-0.052617087960243225,
-0.008189275860786438,
0.013174053281545639,
-0.025734899565577507,
-0.06824396550655365,
-0.06219102442264557,
-0.02581402286887169,
0.021086396649479866,
0.0113344332203269,
0.0007992704049684107,
0.005563367158174515,
-0.026921750977635384,
0.01869291253387928,
0.029888879507780075,
-0.017703870311379433,
-0.034735191613435745,
0.014153205789625645,
-0.026466790586709976,
-0.030244935303926468,
0.03645612671971321,
0.057601865381002426,
-0.001775332260876894,
-0.03255929797887802,
0.021165519952774048,
-0.0420936718583107,
0.03443847969174385,
0.06017337739467621,
0.005375448614358902,
0.056929316371679306,
-0.03712867572903633,
0.04229148104786873,
-0.0604107491672039,
0.030304279178380966,
-0.011739940382540226,
-0.07172539830207825,
0.025457967072725296,
-0.009860758669674397,
0.014370795339345932,
-0.013025696389377117,
0.05708756297826767,
0.0030734511092305183,
-0.0063447109423577785,
-0.05273577570915222,
-0.01472685020416975,
-0.026585476472973824,
0.046366337686777115,
-0.06507903337478638,
-0.02158091962337494,
-0.0017988219624385238,
-0.025655776262283325,
0.026882190257310867,
-0.026526134461164474,
0.009633279405534267,
-0.04715757071971893,
-0.022965578362345695,
-0.026585476472973824,
-0.047236695885658264,
0.028998741880059242,
-0.011344323866069317,
-0.05791835859417915,
-0.00899534672498703,
-0.014479589648544788,
-0.022747989743947983,
0.05851178616285324,
0.031965870410203934,
-0.03253951668739319,
0.027950355783104897,
-0.060489870607852936,
0.0038523226976394653,
0.013183943927288055,
0.05119286850094795,
0.01384660229086876,
-0.025339283049106598,
-0.01496422104537487,
-0.013925725594162941,
-0.022807331755757332,
-0.037049550563097,
-0.0062507521361112595,
-0.048186175525188446,
0.02569533698260784,
0.08027072995901108,
0.06555376946926117,
0.015676332637667656,
0.01439057569950819,
0.04850266873836517,
-0.05479298532009125,
-0.004754824563860893,
0.034794535487890244,
0.017951130867004395,
0.03813749924302101,
-0.01829729601740837,
0.0055979834869503975,
0.06191409379243851,
0.043953072279691696,
0.058907400816679,
-0.04889828711748123,
0.07841133326292038,
0.019355572760105133,
-0.035526424646377563,
0.027475615963339806,
-0.020868808031082153,
-0.050401631742715836,
-0.06642413139343262,
-0.008936003781855106,
0.01624997705221176,
-0.03216367959976196,
-0.01577523536980152,
-0.034794535487890244,
0.03831552714109421,
0.04668283089995384,
0.03463628515601158,
0.0037929799873381853,
-0.018574228510260582,
-0.001055803382769227,
0.006448560394346714,
-0.01291690208017826,
-0.025715118274092674,
-0.02245127595961094,
-0.028266848996281624,
0.020492970943450928,
-0.0015008727787062526,
-0.024587608873844147,
0.011650926433503628,
0.0402936115860939,
0.012283914722502232,
-0.016803840175271034,
0.057324934750795364,
0.062032777816057205,
-0.009761855006217957,
0.03497255966067314,
0.04403219372034073,
-0.03489343822002411,
0.006720547564327717,
-0.03928478807210922,
-0.014934550039470196,
0.012125667184591293,
-0.017703870311379433,
-0.011888297274708748,
-0.06274489313364029,
-0.024370020255446434,
-0.008881606161594391,
0.04110462963581085,
0.03400329872965813,
-0.01509279664605856,
0.003295985981822014,
-0.026526134461164474,
-0.045891597867012024,
0.017703870311379433,
-0.08003336191177368,
-0.04581247270107269,
-0.08948861062526703,
-0.042726658284664154,
-0.0027792109176516533,
-0.005051537416875362,
-0.0002324251108802855,
0.028207506984472275,
0.04806749150156975,
-0.05253796651959419,
0.058274414390325546,
-0.05506991595029831,
0.05882827937602997,
-0.005988655611872673,
-0.031629595905542374,
-0.05158848315477371,
-0.023835936561226845,
0.04715757071971893,
-0.02138311043381691,
0.0013265539892017841,
0.021402891725301743,
-0.04284534230828285,
0.007674973923712969,
0.019187435507774353,
-0.011591584421694279,
-0.08355435729026794,
-0.053368762135505676,
0.013629012741148472,
0.005874915514141321,
0.018989626318216324,
0.007234849967062473,
-0.040451858192682266,
0.003295985981822014,
-0.05677106976509094,
0.03236148878931999,
0.05360613018274307,
-0.02603161334991455,
-0.06341744214296341,
-0.05499079078435898,
0.028405316174030304,
-0.006033162586390972,
0.026249201968312263,
0.06405042856931686,
0.0014328761026263237,
0.02286667563021183,
0.014776302501559258,
-0.026585476472973824,
0.024864541366696358,
-0.007086493074893951,
-0.016556579619646072,
0.012491613626480103,
0.011453118175268173,
-0.05653369799256325,
0.030620772391557693,
0.00006301285611698404,
-0.0076156314462423325,
-0.016526909545063972,
-0.0005041028489358723,
-0.020354505628347397,
0.043715700507164,
-0.005375448614358902,
0.037761662155389786,
-0.0016517018666490912,
-0.0032193351071327925,
0.032104335725307465,
0.005528750363737345,
0.04177717864513397,
-0.059026088565588,
0.010602541267871857,
0.009341510944068432,
-0.01661592349410057,
0.041183751076459885,
-0.009064579382538795,
0.06310094147920609,
0.006705711595714092,
-0.01916765421628952,
-0.018742365762591362,
-0.009974499233067036,
-0.041658490896224976,
-0.01088936347514391,
-0.02953282557427883,
-0.009944827295839787,
-0.006413944065570831,
0.004304809961467981,
0.032776884734630585,
-0.004581741988658905,
-0.0706176683306694,
0.0016393387923017144,
0.037880346179008484,
-0.00037676357896998525,
0.04739494249224663,
0.05293358117341995,
-0.04114418849349022,
-0.04747406393289566,
-0.00010717208351707086,
-0.02783166989684105,
-0.025794241577386856,
0.006512848194688559,
-0.023578785359859467,
0.016151072457432747,
0.08118065446615219,
0.05748318135738373,
0.03528905659914017,
-0.029216330498456955,
0.022095222026109695,
0.03085814230144024,
-0.05997556820511818,
-0.05807660520076752,
-0.008723359555006027,
-0.01944458670914173,
0.04688064008951187,
-0.025181034579873085,
0.022510619834065437,
0.0277723278850317,
0.036752838641405106,
-0.0001292710076086223,
-0.023915059864521027,
-0.04110462963581085,
-0.05372481793165207,
-0.005815573036670685,
-0.011720160022377968,
-0.0007955614710226655,
-0.01458838488906622,
-0.04217279329895973,
0.043399207293987274,
-0.006750218570232391,
0.011947640217840672,
0.045219048857688904,
0.03451760113239288,
0.016240086406469345,
-0.05024338513612747,
-0.014242219738662243,
-0.07405953854322433,
0.03202521428465843,
-0.010246485471725464,
0.05657326057553291,
0.04150024428963661,
0.026051392778754234,
0.012590517289936543,
0.013263067230582237,
0.0167543888092041,
-0.02421177364885807,
-0.00029764013015665114,
0.06056899577379227,
0.03437913581728935,
-0.01681373082101345,
-0.023282073438167572,
0.030620772391557693,
0.0013216087827458978,
0.03323184698820114,
0.013737807981669903,
-0.0211061779409647,
0.03085814230144024,
0.08125977218151093,
0.025121692568063736,
0.012857559137046337,
0.022293029353022575,
-0.0793212503194809,
-0.018603898584842682,
-0.055702902376651764,
-0.0013685883022844791,
-0.07674974203109741,
0.03127354010939598,
-0.002927567344158888,
0.01270920317620039,
0.07449471950531006,
0.015438961796462536,
0.011848735623061657,
-0.029631728306412697,
0.032638419419527054,
0.0387309230864048,
-0.042726658284664154,
0.015340057201683521,
-0.012719092890620232,
-0.017337923869490623,
-0.015567537397146225,
-0.0318867489695549,
0.04648502171039581,
0.006329875439405441,
-0.0035729180090129375,
-0.042607974261045456,
0.059342581778764725,
0.0030239990446716547,
-0.01513235829770565,
0.020275382325053215,
0.0656328946352005,
-0.03174827992916107,
0.005143023561686277,
0.009707457385957241,
0.00916348397731781,
0.003268787171691656,
0.0757211372256279,
-0.025655776262283325,
0.001112055266276002,
-0.018010472878813744,
-0.03702976927161217,
0.0035111026372760534,
0.003956172149628401,
-0.017595075070858,
0.005340832285583019,
0.04450693726539612,
-0.0454564169049263,
0.011186076328158379,
0.032440610229969025,
0.04517948627471924,
-0.02628876455128193,
0.011017939075827599,
0.010810240171849728,
0.024152429774403572,
0.07880695164203644,
0.037089113146066666,
-0.05028294771909714,
-0.03712867572903633,
0.05245884135365486,
-0.024429362267255783,
0.017476391047239304,
-0.022510619834065437,
-0.01896984502673149,
-0.008921167813241482,
0.0015589790418744087,
-0.007744207046926022,
-0.01986987516283989,
-0.057997483760118484,
0.0020374285522848368,
0.011621255427598953,
0.038770485669374466,
-0.025101911276578903,
0.013322409242391586,
-0.014301561750471592,
0.08355435729026794,
-0.030146030709147453,
-0.019751189276576042,
-0.04177717864513397,
0.04715757071971893,
-0.0572853721678257,
-0.024963445961475372,
-0.020413847640156746,
-0.05989644676446915,
0.02460739016532898,
0.018851161003112793,
0.005395229905843735,
-0.01765441708266735,
0.017565404996275902,
-0.024528266862034798,
0.012422380037605762,
0.009539320133626461,
-0.03430001065135002,
0.0005136842373758554,
-0.02454804815351963,
-0.03422088921070099,
0.0036594592966139317,
0.03766275942325592,
-0.020295163616538048,
-0.031214198097586632,
0.01458838488906622,
-0.03265820071101189,
0.03477475419640541,
0.02373703196644783,
-0.015903811901807785,
0.016853293403983116,
-0.027930574491620064,
-0.007843111641705036,
0.048186175525188446,
0.00015028817870188504,
0.027416272088885307,
0.004111946560442448,
-0.02413265034556389,
0.07576069235801697,
0.09922079741954803,
0.0538039393723011,
0.05052031949162483,
-0.042331039905548096,
-0.002282216679304838,
0.05696887895464897,
0.02743605338037014,
-0.03491321951150894,
0.04581247270107269,
-0.006127121392637491,
-0.02413265034556389,
-0.022629303857684135,
-0.006226025987416506,
0.027594299986958504,
0.024231554940342903,
-0.054832544177770615,
-0.03422088921070099,
-0.0738617330789566,
-0.027475615963339806,
-0.020888589322566986,
0.038216620683670044,
-0.029156988486647606,
-0.09621410816907883,
-0.07540464401245117,
0.00006390145426848903,
0.017417047172784805,
0.08003336191177368,
-0.018712693825364113,
-0.027673423290252686,
0.051944538950920105,
0.02650635316967964,
0.0772244781255722,
0.009395908564329147,
0.012768545188009739,
-0.06084592640399933,
0.02872180938720703,
-0.03342965245246887,
0.012738874182105064,
0.011106953024864197,
0.002335377736017108,
-0.024785418063402176,
-0.037761662155389786,
-0.01079045981168747,
0.012402599677443504,
0.01066188421100378,
0.011027829721570015,
0.053764380514621735,
0.02286667563021183,
-0.00048215847346000373,
-0.03159003332257271,
0.06856046617031097,
0.03242082893848419,
-0.04110462963581085,
0.02065121755003929,
-0.017951130867004395,
-0.08027072995901108,
0.008362358435988426,
0.02965150959789753,
0.010325608775019646,
0.025635994970798492,
-0.019296228885650635,
-0.06966818869113922,
-0.052617087960243225,
0.003956172149628401,
0.054911669343709946,
-0.018959954380989075,
0.04244972765445709,
0.012659750878810883,
0.0014477117219939828,
-0.03147134929895401,
-0.0219171941280365,
-0.0033825270365923643,
0.001280810683965683,
0.021086396649479866,
0.018267624080181122,
-0.03505168482661247,
0.009944827295839787,
0.047236695885658264,
0.013154271990060806,
-0.008654126897454262,
0.05495123192667961,
-0.011087172664701939,
-0.06353612244129181,
0.034735191613435745,
0.05158848315477371,
-0.026387667283415794,
0.00047783140325918794,
0.013935616239905357,
-0.0454564169049263,
-0.00025993285817094147,
0.016299428418278694,
0.0061765736900269985,
-0.019217105582356453,
-0.07508814334869385,
0.015043344348669052,
-0.04601028189063072,
0.08687753975391388,
-0.030917484313249588,
-0.012956463731825352,
0.04217279329895973,
-0.009860758669674397,
0.004574324004352093,
0.037049550563097,
-0.041262876242399216,
-0.005172695033252239,
0.06994511932134628,
-0.025339283049106598,
-0.07148803025484085,
0.03046252578496933,
0.03321206569671631,
0.015478523448109627,
0.0005733358557336032,
-0.006987588945776224,
0.0007022205390967429,
0.0335681214928627,
0.08066634833812714,
0.02704043686389923,
-0.003268787171691656,
0.006245806813240051,
0.01709066331386566,
-0.021679822355508804,
0.015607099048793316,
-0.06543508917093277,
0.037049550563097,
0.003313294146209955,
0.006933191791176796,
-0.046287212520837784,
0.00983603298664093,
-0.013164162635803223,
0.011215748265385628,
0.01779288426041603,
0.025062350556254387,
-0.013411423191428185,
-0.03216367959976196,
0.002492388477548957,
-0.03568467125296593,
0.009158538654446602,
0.014103753492236137,
-0.006532629020512104,
0.002437991090118885,
0.011284980922937393,
0.057878799736499786,
-0.030304279178380966,
0.03159003332257271,
0.09162494540214539,
-0.006211190018802881,
-0.04715757071971893,
-0.0019768497440963984,
0.08300048857927322,
-0.011700378730893135,
-0.05388306453824043,
-0.026921750977635384,
0.024844760075211525,
-0.025853585451841354,
0.00554853118956089,
-0.026011832058429718,
0.025181034579873085,
-0.07093416899442673,
0.0024169739335775375,
0.07350567728281021,
0.011008048430085182,
-0.05400174856185913,
0.01200698222965002,
0.04363657906651497,
0.025734899565577507,
0.009850868955254555,
-0.011324542574584484,
0.04351789131760597,
-0.04755318909883499,
-0.0335681214928627,
0.03366702422499657,
0.0020188840571790934,
0.05364569276571274,
-0.05451605096459389,
-0.014805974438786507,
-0.05613808333873749,
-0.06029206141829491,
-0.005726559087634087,
-0.050401631742715836,
0.06013381481170654,
-0.010770678520202637,
-0.01681373082101345,
-0.012214681133627892,
0.04312227666378021,
0.052023664116859436,
-0.013025696389377117,
0.011186076328158379,
0.019998449832201004,
0.019217105582356453,
-0.03865180164575577,
-0.008530495688319206,
0.018544556573033333,
0.010345390066504478,
-0.0007238558609969914,
-0.021561138331890106,
0.03477475419640541,
-0.010137691162526608,
-0.035862699151039124,
0.03637700155377388,
-0.022075440734624863,
0.02152157574892044,
0.06195365637540817,
-0.028345972299575806,
0.017169786617159843,
-0.02522059716284275,
0.019405024126172066,
-0.02502278797328472,
0.02144245244562626,
0.06464385241270065,
-0.006310094613581896,
0.016497237607836723,
-0.0077837686985731125,
0.05285445973277092,
-0.022471057251095772,
-0.03568467125296593,
0.07283312827348709,
0.01577523536980152,
0.03394395485520363,
0.0033034037332981825,
0.015073015354573727,
-0.08197188377380371,
-0.03940347582101822,
-0.030957046896219254,
0.04284534230828285,
-0.04775099828839302,
0.020136915147304535,
0.018040144816040993,
0.03712867572903633,
0.016210414469242096,
-0.012887231074273586,
0.022174345329403877,
0.023163387551903725,
0.04901697114109993,
0.01384660229086876,
-0.02225346863269806,
-0.025932708755135536,
0.009158538654446602,
-0.016714826226234436,
0.002702560042962432,
0.0352494940161705,
0.031629595905542374,
0.01451915130019188,
0.02413265034556389,
-0.011888297274708748,
-0.007442548871040344,
0.044744305312633514,
0.02850422076880932
] |
710,120
|
urllib3_future.connectionpool
|
_prepare_proxy
| null |
def _prepare_proxy(self, conn: HTTPConnection) -> None:
# Nothing to do for HTTP connections.
pass
|
(self, conn: urllib3_future.connection.HTTPConnection) -> NoneType
|
[
-0.04008803144097328,
-0.018812937662005424,
-0.03204268217086792,
0.022783596068620682,
-0.07414205372333527,
0.05434078350663185,
-0.02148316241800785,
0.0958506241440773,
0.03890897333621979,
-0.03188662976026535,
-0.00035382629721425474,
0.08114705234766006,
0.01505902037024498,
0.0006751417531631887,
-0.03247616067528725,
-0.036758922040462494,
0.016446148976683617,
0.05721907690167427,
-0.017044348642230034,
-0.06172724440693855,
-0.03108903020620346,
0.002802434377372265,
0.0037235748022794724,
0.0008458236698061228,
-0.0458792969584465,
0.050560854375362396,
-0.0037712573539465666,
0.010698232799768448,
0.03776459023356438,
0.0054141380824148655,
-0.05111570656299591,
0.02963254600763321,
0.054098036140203476,
0.043971993029117584,
0.0573577880859375,
0.013307769782841206,
0.045567192137241364,
0.029857954010367393,
-0.08426809310913086,
-0.006671224255114794,
-0.02885228581726551,
-0.04740513861179352,
0.005435812287032604,
0.0020926143042743206,
0.0020655218977481127,
0.037521842867136,
-0.045428477227687836,
0.030187396332621574,
0.015033011324703693,
-0.018188729882240295,
-0.06536845862865448,
0.06117239221930504,
0.028314772993326187,
0.03247616067528725,
0.01571790687739849,
-0.004469156730920076,
0.03297899290919304,
0.10736379027366638,
-0.02181260474026203,
0.027759920805692673,
-0.05801667645573616,
-0.01137445867061615,
-0.03185195103287697,
-0.05333511531352997,
0.007676892448216677,
-0.038874294608831406,
-0.017382461577653885,
-0.01666288822889328,
0.03089830093085766,
-0.004089863505214453,
0.02085895463824272,
0.02002667635679245,
-0.040642883628606796,
0.010524841956794262,
0.05725375562906265,
-0.008348783478140831,
0.002186895813792944,
-0.02529776655137539,
0.005323107820004225,
-0.029996667057275772,
0.02370256930589676,
0.0006594281876459718,
-0.023425143212080002,
0.0180846955627203,
0.015899967402219772,
-0.04615671932697296,
-0.009822607971727848,
-0.004432310815900564,
-0.005860620643943548,
0.026216739788651466,
-0.038042016327381134,
0.010360120795667171,
-0.001358953071758151,
-0.005180060397833586,
0.015284429304301739,
0.02356385625898838,
-0.04580993950366974,
-0.018622208386659622,
-0.04761320725083351,
-0.01450416911393404,
-0.028592199087142944,
0.02209003083407879,
-0.06627009063959122,
0.017373792827129364,
0.03280560299754143,
-0.05274558439850807,
0.06412003934383392,
-0.06526442617177963,
-0.016905635595321655,
-0.04300100356340408,
-0.01618606224656105,
-0.02403201162815094,
0.01057685911655426,
0.022055352106690407,
0.003784261643886566,
-0.025367124006152153,
-0.011963988654315472,
-0.0528842955827713,
-0.019281094893813133,
0.034192733466625214,
-0.04327842965722084,
-0.005409803707152605,
-0.024950984865427017,
-0.006770923733711243,
0.031817272305488586,
0.006671224255114794,
0.0519133061170578,
0.014911637641489506,
0.022523509338498116,
-0.027811938896775246,
0.04837612807750702,
0.009051017463207245,
-0.02630343660712242,
-0.0013448650715872645,
-0.02214204892516136,
0.016723575070500374,
-0.0021283761598169804,
0.03911704197525978,
-0.013888630084693432,
-0.05017939582467079,
-0.006671224255114794,
-0.0012625042581930757,
-0.031297098845243454,
-0.008357453159987926,
0.02160453610122204,
0.021084362640976906,
0.005158386193215847,
-0.004867956042289734,
0.003682394279167056,
-0.048168059438467026,
0.022523509338498116,
-0.0425848625600338,
-0.04241147264838219,
-0.014079360291361809,
-0.06644348055124283,
0.034816939383745193,
-0.045601870864629745,
0.026476826518774033,
-0.0070093367248773575,
0.05843281373381615,
0.013351117260754108,
-0.0351984016597271,
-0.000935228425078094,
-0.04893098026514053,
-0.02195131778717041,
-0.016870956867933273,
0.011036345735192299,
-0.06942581385374069,
0.04740513861179352,
0.028002668172121048,
0.022991664707660675,
0.01746915653347969,
-0.0007629210012964904,
-0.01794598251581192,
0.08440680801868439,
0.07539046555757523,
0.04407602921128273,
-0.025765923783183098,
-0.07615339010953903,
0.05108102783560753,
0.022402135655283928,
-0.024742916226387024,
-0.02261020429432392,
0.025384463369846344,
0.031193066388368607,
0.005548516288399696,
0.05111570656299591,
-0.011409136466681957,
0.01443481259047985,
0.057947319000959396,
0.02737846039235592,
0.03797265887260437,
0.012232745066285133,
-0.0781647264957428,
0.05173991620540619,
-0.04931243881583214,
0.06349583715200424,
0.014530177228152752,
0.04577526077628136,
0.03297899290919304,
-0.05721907690167427,
0.004651217255741358,
0.012614205479621887,
-0.019159721210598946,
0.017278427258133888,
0.06172724440693855,
-0.012224075384438038,
0.0040876963175833225,
-0.06526442617177963,
-0.002433978021144867,
0.02689296565949917,
-0.042688898742198944,
-0.00533177750185132,
-0.025921974331140518,
-0.01619473285973072,
0.025089697912335396,
-0.05645615607500076,
-0.007876292802393436,
0.012258753180503845,
-0.002988829743117094,
0.03138379752635956,
0.0006106619257479906,
-0.034366123378276825,
-0.08260353654623032,
0.07317105680704117,
-0.015102367848157883,
0.021015005186200142,
-0.05045682191848755,
-0.030846282839775085,
-0.01682760939002037,
-0.0003383836301509291,
0.0004126167332287878,
-0.015171724371612072,
0.02951117232441902,
0.10514438897371292,
-0.05305768921971321,
-0.003038679715245962,
0.0015030844369903207,
0.0016147049609571695,
-0.015943314880132675,
-0.014460820704698563,
0.0052537512965500355,
-0.013446482829749584,
-0.034036681056022644,
-0.073101706802845,
0.0525028370320797,
-0.04171790927648544,
0.03648149594664574,
-0.0054444819688797,
0.052953653037548065,
-0.020702902227640152,
-0.0004895590245723724,
-0.04369456693530083,
-0.03717505931854248,
-0.0259566530585289,
-0.0701887309551239,
-0.008600200526416302,
0.000041451319702900946,
-0.015085029415786266,
-0.00244698254391551,
-0.034556854516267776,
0.029285762459039688,
-0.04522040858864784,
0.023459821939468384,
-0.0013687063474208117,
0.027811938896775246,
0.012553518638014793,
-0.021656552329659462,
-0.02082427591085434,
0.05239880084991455,
0.10250884294509888,
-0.003519840072840452,
-0.018171390518546104,
0.014781594276428223,
0.0011432977626100183,
0.026823608204722404,
0.017053019255399704,
-0.02354651689529419,
-0.03311770781874657,
0.02144848369061947,
0.08794398605823517,
-0.027742581441998482,
0.033273760229349136,
-0.01732177473604679,
-0.07865022122859955,
-0.046850286424160004,
0.010706902481615543,
0.07476625591516495,
-0.03797265887260437,
-0.05333511531352997,
-0.034522175788879395,
0.07129843533039093,
0.035319775342941284,
0.025540513917803764,
-0.04185662046074867,
-0.011400467716157436,
-0.032285429537296295,
0.029563188552856445,
0.006099033169448376,
0.01841413974761963,
-0.0674838274717331,
-0.03089830093085766,
-0.042238082736730576,
0.01891697384417057,
0.045601870864629745,
-0.03956785798072815,
-0.00041099119698628783,
0.01971457153558731,
-0.008041013963520527,
-0.010594198480248451,
0.00809736642986536,
0.022956985980272293,
-0.014790263958275318,
0.017018340528011322,
0.023737246170639992,
-0.00192247424274683,
0.010230077430605888,
0.018639547750353813,
0.001979910070076585,
0.07684694975614548,
-0.055519841611385345,
0.03537179157137871,
-0.02550583705306053,
0.006896632723510265,
0.03970656916499138,
0.07067422568798065,
0.04324375092983246,
0.001283094403333962,
-0.012076692655682564,
0.02418806403875351,
-0.04886162281036377,
0.06699833273887634,
-0.034227412194013596,
-0.03748716413974762,
0.018535513430833817,
-0.023165056481957436,
-0.02947649359703064,
-0.010056685656309128,
-0.012674892321228981,
-0.05284962058067322,
-0.03141847252845764,
-0.011296432465314865,
0.03223341330885887,
-0.0021511337254196405,
0.08454551547765732,
-0.028314772993326187,
-0.023494498804211617,
-0.011738579720258713,
0.023494498804211617,
-0.012778926640748978,
-0.061276428401470184,
-0.012293431907892227,
0.056005336344242096,
0.05399399995803833,
0.04098966345191002,
-0.014868290163576603,
-0.0410243421792984,
0.021431144326925278,
-0.022020675241947174,
-0.03095031902194023,
0.031331777572631836,
0.031054353341460228,
0.01057685911655426,
0.028089364990592003,
0.009779260493814945,
0.0003616830799728632,
0.033585865050554276,
-0.01571790687739849,
-0.03315238654613495,
0.0022865955252200365,
-0.04418006166815758,
-0.019957320764660835,
-0.041093699634075165,
-0.028470825403928757,
-0.029025675728917122,
-0.02628609724342823,
0.019471824169158936,
-0.0008057269733399153,
-0.013489830307662487,
0.04130176827311516,
0.05042214319109917,
-0.0014239747542887926,
0.017573192715644836,
-0.012310771271586418,
-0.03157452493906021,
-0.08135512471199036,
-0.014833611436188221,
0.026026010513305664,
0.033239081501960754,
-0.011868623085319996,
-0.007598866708576679,
-0.019038347527384758,
-0.04889630153775215,
0.024378793314099312,
0.00927642546594143,
-0.028106704354286194,
0.012640213593840599,
-0.001599533250555396,
-0.03315238654613495,
0.0026853953022509813,
-0.004915638826787472,
-0.0005369706777855754,
0.001708986354060471,
0.06470957398414612,
0.016862288117408752,
0.05430610477924347,
0.030204735696315765,
0.04168323054909706,
0.06821207702159882,
0.008435478433966637,
-0.07324041426181793,
-0.017694566398859024,
-0.017512505874037743,
-0.009839947335422039,
-0.012570858001708984,
0.014140047132968903,
0.01653284579515457,
0.00954518187791109,
0.02214204892516136,
0.005219073500484228,
0.03303101286292076,
0.03526775911450386,
0.01619473285973072,
0.030655553564429283,
-0.02626875787973404,
0.029285762459039688,
0.033429812639951706,
-0.08267289400100708,
0.0008767089457251132,
-0.029285762459039688,
-0.027049018070101738,
0.03232010826468468,
-0.028470825403928757,
-0.03434878587722778,
0.0711597204208374,
0.0707782655954361,
0.0019441480981186032,
0.06561120599508286,
-0.02982327528297901,
0.039463821798563004,
-0.03497299179434776,
-0.012189396657049656,
-0.012241414748132229,
-0.02082427591085434,
0.08503101766109467,
0.03589196503162384,
0.03173057734966278,
-0.018535513430833817,
-0.058328777551651,
0.002700567012652755,
-0.0352850966155529,
0.00833144411444664,
0.022159388288855553,
-0.06647816300392151,
-0.04872291162610054,
-0.019679894670844078,
-0.012770256958901882,
0.039463821798563004,
-0.03769523277878761,
0.023147717118263245,
0.044769592583179474,
0.021067023277282715,
0.009172391146421432,
-0.025731245055794716,
0.009441147558391094,
0.02996198832988739,
0.0038081028033047915,
0.03136645630002022,
-0.029407138004899025,
0.00330743589438498,
-0.02193397842347622,
-0.021223075687885284,
0.02049483172595501,
-0.011833945289254189,
-0.0069356453604996204,
-0.024916306138038635,
-0.004401967395097017,
0.05316172167658806,
0.06353051215410233,
0.002596532227471471,
-0.06946048885583878,
0.010550851002335548,
0.05909169837832451,
-0.03046482242643833,
-0.007785262074321508,
-0.02930310182273388,
-0.011322441510856152,
-0.05028343200683594,
0.009319773875176907,
0.019610537216067314,
0.008119040168821812,
0.08218739926815033,
-0.018483495339751244,
-0.013507169671356678,
0.006116372533142567,
0.00384494848549366,
-0.013004335574805737,
0.029771259054541588,
0.05319640040397644,
-0.02049483172595501,
-0.02482961118221283,
-0.04130176827311516,
-0.022523509338498116,
0.006467489525675774,
0.015631211921572685,
-0.03268422931432724,
-0.06796932965517044,
0.0205121710896492,
-0.03689763322472572,
0.014062020927667618,
-0.016376793384552002,
0.03176525607705116,
-0.0349903330206871,
-0.00556152081117034,
0.024448150768876076,
0.02914705127477646,
-0.033239081501960754,
0.03176525607705116,
-0.03779926896095276,
-0.037244416773319244,
0.04570590332150459,
0.05045682191848755,
0.041405804455280304,
-0.03859686851501465,
0.007793931756168604,
-0.001304768375121057,
0.00528842955827713,
0.02290496975183487,
0.04379860311746597,
-0.015388463623821735,
0.004354285076260567,
-0.05350850522518158,
-0.011825275607407093,
-0.008379126898944378,
0.06006269156932831,
0.03603067994117737,
-0.027309104800224304,
-0.05815538763999939,
-0.05063021183013916,
0.01843147724866867,
-0.001202901010401547,
-0.0034266423899680376,
-0.0267369132488966,
-0.06758786737918854,
-0.05694165080785751,
0.008448483422398567,
-0.018050016835331917,
0.11554785817861557,
-0.0653337836265564,
-0.03126242384314537,
-0.03863154724240303,
-0.032632213085889816,
0.012761588208377361,
0.012553518638014793,
-0.03700166940689087,
-0.024118706583976746,
0.011591197922825813,
-0.022523509338498116,
0.017980661243200302,
0.03554518520832062,
0.025523176416754723,
-0.04466555640101433,
-0.029597867280244827,
0.05368189513683319,
-0.014764255844056606,
0.014278760179877281,
0.03268422931432724,
0.02836679108440876,
-0.05850217118859291,
0.01841413974761963,
0.042550183832645416,
-0.0454978346824646,
-0.02803734689950943,
0.055346451699733734,
0.008769256994128227,
-0.010420807637274265,
0.01426142081618309,
0.02550583705306053,
0.024604203179478645,
-0.010698232799768448,
0.03929043188691139,
0.024309437721967697,
-0.04553251340985298,
-0.021188396960496902,
0.007364788558334112,
-0.04598332941532135,
-0.0014250584645196795,
0.012943648733198643,
0.0449083037674427,
-0.06165789067745209,
-0.0670676901936531,
-0.007338779978454113,
-0.03176525607705116,
-0.05846749246120453,
-0.0012603368377313018,
-0.0014564855955541134,
-0.05388996750116348,
0.0016721407882869244,
0.012856952846050262,
0.024638880044221878,
0.0028956320602446795,
0.054583530873060226,
0.007213071454316378,
-0.009207069873809814,
-0.006593198049813509,
-0.007984661497175694,
-0.08697299659252167,
0.04952050745487213,
0.004586195573210716,
-0.033915307372808456,
-0.03192130848765373,
0.028262754902243614,
0.05992397665977478,
-0.026875626295804977,
-0.08725041896104813,
-0.000813312828540802,
-0.041891299188137054,
0.019939981400966644,
0.0011649717343971133,
0.02803734689950943,
0.03424474969506264,
-0.08052284270524979,
-0.017044348642230034,
0.030534179881215096,
-0.02082427591085434,
0.006571524310857058,
0.07043147832155228,
-0.05867556110024452,
-0.029927309602499008,
0.05267622694373131,
0.029355119913816452,
-0.018968990072607994,
0.04119773581624031,
0.023477159440517426,
0.0035870291758328676,
0.031643882393836975,
-0.005032677669078112,
0.0002676725562196225,
0.012796266004443169,
-0.011088362894952297,
0.07497432827949524,
0.007551183924078941,
0.035510506480932236,
-0.02564455009996891,
-0.03509436547756195,
-0.04438813030719757,
0.02229810133576393,
-0.03478226065635681,
0.01379326544702053,
-0.013905969448387623,
0.00400316808372736,
0.027603868395090103,
0.06717173010110855,
0.047959987074136734,
0.02035612054169178,
0.008825608529150486,
-0.058744918555021286,
0.019749250262975693,
0.04501233994960785,
-0.047370459884405136,
0.01924641616642475,
-0.0038601201958954334,
0.07740180194377899,
-0.00448649562895298,
0.038076695054769516,
0.04709303379058838,
-0.030066022649407387,
-0.06672091037034988,
-0.0525028370320797,
0.004885295405983925,
0.020772257819771767,
0.004356452263891697,
-0.03942914307117462,
-0.01441747322678566,
0.04300100356340408,
-0.040157388895750046,
0.016238080337643623,
-0.08440680801868439,
-0.032753586769104004,
0.03929043188691139,
-0.01664554886519909,
-0.03745248541235924,
-0.017998000606894493,
0.01843147724866867,
0.007802601438015699,
0.021223075687885284,
-0.03800733759999275,
-0.014599533751606941,
0.017685895785689354,
0.01568322815001011,
0.014833611436188221,
0.03745248541235924,
0.030083362013101578,
0.0425848625600338,
-0.04320907220244408,
-0.04806402325630188,
-0.043659888207912445,
-0.10278626531362534,
0.047509171068668365,
0.007876292802393436,
0.07559853792190552,
-0.015483828261494637,
-0.010481494478881359,
0.012986996211111546,
0.02978859841823578,
-0.04279293119907379,
0.004551517311483622,
-0.01889963448047638,
0.03731377422809601,
0.03797265887260437,
0.005422807764261961,
-0.0009265589178539813,
0.03200800344347954,
-0.03603067994117737,
-0.008201400749385357,
0.014833611436188221,
-0.04518572986125946,
0.021379128098487854,
-0.017113706097006798,
0.005843281280249357,
-0.017581861466169357,
-0.030326109379529953,
-0.00310153397731483,
0.029892632737755775,
0.0612417496740818,
-0.035822607576847076,
-0.04535912349820137,
-0.0668943002820015,
0.029112372547388077,
0.04085095226764679,
-0.009891964495182037,
0.01153917983174324,
-0.047959987074136734,
0.032788265496492386,
-0.049936648458242416,
-0.04809870198369026,
0.02404935099184513,
0.04265422001481056,
0.02805468626320362,
0.026858286932110786,
-0.0195411816239357,
-0.08080027252435684,
0.03271890804171562,
0.030516840517520905,
0.0519133061170578,
-0.032285429537296295,
0.029580527916550636,
0.027967991307377815,
0.012796266004443169,
0.022991664707660675,
-0.008851617574691772,
0.03634278103709221,
-0.0006437146221287549,
0.009657886810600758,
0.02436145581305027,
-0.009657886810600758,
-0.05725375562906265,
0.036134712398052216,
-0.04660753905773163,
-0.04300100356340408,
-0.018466155976057053,
0.047994665801525116,
0.006107702851295471,
-0.01489429920911789,
0.020633544772863388,
-0.0037452485412359238,
0.09016339480876923,
0.034192733466625214
] |
710,121
|
urllib3_future.connectionpool
|
_put_conn
|
Put a connection back into the pool.
:param conn:
Connection object for the current host and port as returned by
:meth:`._new_conn` or :meth:`._get_conn`.
If the pool is already full, the connection is closed and discarded
because we exceeded maxsize. If connections are discarded frequently,
then maxsize should be increased.
If the pool is closed, then the connection will be closed and discarded.
|
def _put_conn(self, conn: HTTPConnection) -> None:
"""
Put a connection back into the pool.
:param conn:
Connection object for the current host and port as returned by
:meth:`._new_conn` or :meth:`._get_conn`.
If the pool is already full, the connection is closed and discarded
because we exceeded maxsize. If connections are discarded frequently,
then maxsize should be increased.
If the pool is closed, then the connection will be closed and discarded.
"""
if self.pool is not None:
try:
self.pool.put(conn, block=False)
return # Everything is dandy, done.
except AttributeError:
# self.pool is None.
pass
except queue.Full:
# Connection never got put back into the pool, close it.
if conn:
if conn.is_idle:
conn.close()
if self.block:
# This should never happen if you got the conn from self._get_conn
raise FullPoolError(
self,
"Pool reached maximum size and no more connections are allowed.",
) from None
else:
# multiplexed connection may still have in-flight request not converted into response
# we shall not discard it until responses are consumed.
if conn and conn.is_idle is False:
log.warning(
"Connection pool is full, temporary increase, keeping connection, "
"multiplexed and not idle: %s. Connection pool size: %s",
self.host,
self.pool.qsize(),
)
if self.pool.maxsize is not None:
self.pool.maxsize += 1
return self._put_conn(conn)
log.warning(
"Connection pool is full, discarding connection: %s. Connection pool size: %s",
self.host,
self.pool.qsize(),
)
self.num_connections -= 1
return
# Connection never got put back into the pool, close it.
if conn:
conn.close()
self.num_connections -= 1
|
(self, conn: urllib3_future.connection.HTTPConnection) -> NoneType
|
[
-0.0334419384598732,
-0.05499255284667015,
-0.05976447835564613,
0.043563030660152435,
-0.036982398480176926,
0.0071434518322348595,
-0.05368412286043167,
-0.01473908219486475,
-0.004755085799843073,
-0.1596284955739975,
-0.017885087057948112,
0.0039036439266055822,
0.014113729819655418,
0.01899147965013981,
-0.02285904623568058,
0.017076939344406128,
0.04691107198596001,
-0.030401762574911118,
-0.00004667596658691764,
-0.009890193119645119,
0.0058061592280864716,
0.04891220107674599,
0.05560828745365143,
-0.008677971549332142,
-0.02437913417816162,
0.007913117296993732,
0.014363870024681091,
-0.02486017532646656,
0.028535325080156326,
-0.01676907390356064,
0.010284646414220333,
0.04313971474766731,
0.05160602927207947,
0.048219501972198486,
0.030594177544116974,
-0.006248716730624437,
0.017990916967391968,
0.02895864099264145,
-0.034076910465955734,
-0.016884522512555122,
-0.0358663834631443,
-0.05222176015377045,
-0.049874283373355865,
-0.05456923693418503,
0.06003385782241821,
0.05025911703705788,
-0.00621504383161664,
0.08096874505281448,
0.0017954837530851364,
-0.040561337023973465,
-0.023570986464619637,
0.034769609570503235,
-0.016297653317451477,
0.034384775906801224,
0.007696648593991995,
0.04641079157590866,
-0.0012230455176904798,
0.06892348825931549,
-0.0066094971261918545,
-0.004783947952091694,
-0.025803014636039734,
-0.00790349580347538,
0.002494195243343711,
-0.056147050112485886,
-0.04167735204100609,
0.027496276423335075,
-0.06784595549106598,
-0.006407460197806358,
0.01330558117479086,
-0.026707369834184647,
0.05837908014655113,
0.012584020383656025,
-0.022666629403829575,
0.024321408942341805,
-0.0341346375644207,
0.003504380350932479,
0.03888731822371483,
-0.016903763636946678,
0.004577100742608309,
-0.0053058769553899765,
0.036078039556741714,
-0.03478885069489479,
0.05560828745365143,
-0.019260862842202187,
0.07161731272935867,
-0.05876391381025314,
0.0011707324301823974,
-0.0076196822337806225,
-0.09451484680175781,
-0.003321585012599826,
-0.01725011318922043,
0.011477626860141754,
0.04410179704427719,
0.03238365054130554,
0.05441530421376228,
-0.04606444016098976,
-0.04444814473390579,
-0.039945606142282486,
-0.0330955907702446,
-0.01430614572018385,
-0.0565318837761879,
-0.012266533449292183,
-0.03844476118683815,
-0.01606675423681736,
0.023590227589011192,
-0.05333777517080307,
0.04868130385875702,
-0.0041153016500175,
-0.06126532331109047,
-0.05957205966114998,
-0.002450901549309492,
-0.021473649889230728,
-0.03303786367177963,
0.026976753026247025,
0.03165246918797493,
0.006171749904751778,
-0.0630740374326706,
-0.026457229629158974,
0.018048640340566635,
0.0021249966230243444,
-0.054877106100320816,
0.009543844498693943,
-0.014036762528121471,
-0.0161148589104414,
0.05229872837662697,
0.07488839328289032,
-0.00006152057176223025,
-0.015527988784015179,
-0.02961285598576069,
0.0007173516787588596,
-0.0026000242214649916,
0.04945096746087074,
-0.024802450090646744,
0.014277283102273941,
-0.02686130441725254,
0.007590819615870714,
-0.04798860475420952,
0.035423826426267624,
-0.03249909728765488,
-0.03857945278286934,
0.0024797639343887568,
0.033595871180295944,
-0.01619182527065277,
0.009808416478335857,
0.05961054190993309,
-0.03172943368554115,
0.00827389769256115,
-0.0431012324988842,
0.024109750986099243,
-0.0346541590988636,
0.0029078901279717684,
-0.035115960985422134,
0.018212195485830307,
0.03688618913292885,
-0.006604686379432678,
0.024667758494615555,
-0.021781515330076218,
0.04148493707180023,
-0.018077503889799118,
-0.03324952349066734,
0.004827241878956556,
0.0008929314790293574,
0.028073525056242943,
-0.043524548411369324,
-0.03800220414996147,
-0.03501975163817406,
0.05445379018783569,
-0.021108059212565422,
0.00035266284248791635,
0.024571551010012627,
-0.010554029606282711,
0.006532530300319195,
-0.026014672592282295,
0.021531375125050545,
-0.018866410478949547,
0.06265071779489517,
-0.006114025134593248,
-0.0038435140158981085,
-0.0175868421792984,
-0.030170863494277,
0.013728897087275982,
-0.05633946880698204,
-0.006782671436667442,
-0.009500551037490368,
0.0020215727854520082,
-0.01134293619543314,
0.018654752522706985,
0.010303888469934464,
0.019097309559583664,
0.03809840977191925,
-0.025803014636039734,
-0.020396118983626366,
-0.0030353658366948366,
-0.028323667123913765,
0.03904125094413757,
-0.018077503889799118,
-0.008653919212520123,
0.036078039556741714,
0.10321205854415894,
0.07904458045959473,
-0.05164451152086258,
0.020742468535900116,
0.07042433321475983,
-0.03736722841858864,
0.06488274782896042,
-0.035770174115896225,
-0.006580634508281946,
-0.027015237137675285,
-0.03684770688414574,
0.054184406995773315,
-0.029324231669306755,
0.0293049905449152,
0.030497970059514046,
0.0358663834631443,
0.025225766003131866,
-0.00467090355232358,
0.00554158678278327,
-0.007826529443264008,
0.016095615923404694,
-0.0024220391642302275,
-0.023494020104408264,
-0.034981269389390945,
-0.002424444304779172,
-0.0017654187977313995,
0.03473112732172012,
-0.013440272770822048,
0.0038290827069431543,
0.01576850935816765,
0.050874847918748856,
0.04279336705803871,
-0.01299771573394537,
0.07889065146446228,
0.024571551010012627,
-0.02141592465341091,
0.01547988411039114,
0.004685334861278534,
-0.04995124787092209,
0.0073214368894696236,
0.017557980492711067,
0.0019049205584451556,
0.005411705933511257,
-0.02089640125632286,
-0.008288328535854816,
-0.029112573713064194,
-0.04402482882142067,
0.02768869325518608,
-0.01658627763390541,
0.04398634657263756,
0.06064959242939949,
0.025495149195194244,
-0.014286903664469719,
-0.021569857373833656,
-0.028419874608516693,
-0.07646620273590088,
-0.014229179359972477,
-0.07331057637929916,
-0.07492687553167343,
-0.023609468713402748,
-0.04829647019505501,
-0.008697212673723698,
0.004983580205589533,
0.03744419664144516,
-0.010698341764509678,
0.04263943433761597,
-0.029285747557878494,
0.02316691167652607,
0.01906844787299633,
-0.04606444016098976,
-0.00773994205519557,
0.04768073931336403,
0.1375391036272049,
0.019434038549661636,
0.015749266371130943,
-0.011304453015327454,
-0.015277847647666931,
-0.0027828195597976446,
0.006878879852592945,
0.052875977009534836,
-0.08335470408201218,
-0.05568525195121765,
0.03696315363049507,
-0.0019470115657895803,
0.009072424843907356,
-0.02330160327255726,
-0.03134460002183914,
0.033769045025110245,
-0.017346322536468506,
0.015008464455604553,
0.015239364467561245,
0.02451382577419281,
-0.05229872837662697,
-0.012911127880215645,
-0.010024884715676308,
0.01851044036448002,
-0.014161833561956882,
0.03634742274880409,
-0.04013802111148834,
0.0171539057046175,
0.001996318344026804,
0.011718147434294224,
-0.042254600673913956,
-0.05868694558739662,
-0.054145924746990204,
0.05141361430287361,
0.06938529014587402,
-0.0579172819852829,
0.018568165600299835,
0.003504380350932479,
-0.03113294392824173,
0.03696315363049507,
0.01867399364709854,
0.01286302413791418,
-0.015701163560152054,
0.00005024618803872727,
0.0517214797437191,
0.023878851905465126,
-0.00222120457328856,
0.0009548654779791832,
-0.054492272436618805,
0.03944532573223114,
-0.05222176015377045,
0.015566471964120865,
-0.016653623431921005,
-0.007537905126810074,
-0.009183064103126526,
-0.037905994802713394,
0.04140796884894371,
0.018125606700778008,
-0.005445378832519054,
-0.0006205422687344253,
-0.03209502622485161,
0.033114831894636154,
-0.06218891963362694,
-0.031017493456602097,
-0.040214989334344864,
-0.016990352421998978,
0.0019542272202670574,
-0.016692107543349266,
-0.0038819971960037947,
-0.054492272436618805,
-0.009721829555928707,
0.012824540957808495,
0.015489505603909492,
-0.0011166153708472848,
-0.019280103966593742,
-0.01620144583284855,
-0.011804734356701374,
-0.009264840744435787,
-0.02099260874092579,
-0.01515277661383152,
0.023243878036737442,
-0.03986864164471626,
-0.005200048442929983,
0.02865077368915081,
0.018039019778370857,
0.004338985774666071,
0.015095052309334278,
-0.013344064354896545,
0.013440272770822048,
-0.05302990972995758,
-0.01899147965013981,
-0.016903763636946678,
0.0008754938025958836,
0.0353468582034111,
-0.00008358079503523186,
0.016778694465756416,
0.008312380872666836,
0.008004514500498772,
-0.026014672592282295,
-0.01759646274149418,
-0.03967622295022011,
-0.07288726419210434,
-0.011381419375538826,
-0.010986966080963612,
-0.03644363209605217,
0.03584714233875275,
-0.05264507606625557,
0.04933551698923111,
-0.013565342873334885,
0.02434065192937851,
0.0303440373390913,
-0.006965466775000095,
0.035462308675050735,
-0.0486043356359005,
-0.032460615038871765,
-0.0748114213347435,
0.013218994252383709,
-0.006426701787859201,
0.032422132790088654,
0.05664733424782753,
0.006926983594894409,
0.004733439069241285,
-0.0013204562710598111,
0.0038411086425185204,
-0.07269484549760818,
0.012353121303021908,
0.06168863922357559,
-0.0017437719507142901,
-0.03178715705871582,
-0.01397903822362423,
0.02420596033334732,
0.022435730323195457,
0.010265405289828777,
0.057455480098724365,
0.0026529384776949883,
0.049297034740448,
0.06692235916852951,
0.05972599238157272,
0.02382112666964531,
0.00812477432191372,
-0.07065523415803909,
-0.009919055737555027,
-0.006878879852592945,
-0.03440402075648308,
-0.02668812870979309,
-0.04202369973063469,
0.019010722637176514,
0.007725511211901903,
0.043909382075071335,
0.0222433153539896,
0.05064394697546959,
0.02747703529894352,
0.02455230988562107,
-0.0017028835136443377,
-0.050182148814201355,
-0.07815946638584137,
0.017702292650938034,
-0.0431012324988842,
-0.0310367364436388,
0.0003734077326953411,
-0.005993765313178301,
0.002120186109095812,
0.03078659437596798,
-0.02913181483745575,
0.0310367364436388,
-0.015325951389968395,
-0.027092203497886658,
0.03653983771800995,
0.024494584649801254,
-0.008293138816952705,
0.006840396672487259,
0.019491761922836304,
-0.0239558182656765,
-0.029670581221580505,
0.08981988579034805,
-0.0008917289087548852,
0.02765021100640297,
-0.020492326468229294,
-0.0582636296749115,
0.027400068938732147,
-0.026572680100798607,
-0.014565907418727875,
0.01737518422305584,
0.03244137391448021,
-0.06272768974304199,
-0.0152586055919528,
-0.01515277661383152,
-0.004391900263726711,
-0.00008162656740751117,
0.01920313760638237,
0.009947918355464935,
0.018404610455036163,
0.07600440829992294,
0.03423084318637848,
-0.0727333277463913,
-0.007638923823833466,
0.049835801124572754,
0.021973932161927223,
0.013728897087275982,
-0.045217812061309814,
-0.0334419384598732,
0.020011287182569504,
-0.037636611610651016,
-0.024667758494615555,
-0.01976114511489868,
-0.0503360815346241,
0.00936104916036129,
0.017269356176257133,
0.06542151421308517,
-0.03740571066737175,
0.02486017532646656,
0.006585444789379835,
0.08597156405448914,
-0.02530273236334324,
-0.016961488872766495,
0.008182499557733536,
0.051490578800439835,
-0.005801348946988583,
0.028054283931851387,
0.0168941430747509,
-0.047180455178022385,
-0.008851146325469017,
-0.022531939670443535,
0.025899222120642662,
-0.03199881687760353,
0.01767342910170555,
-0.09566934406757355,
0.014681356959044933,
0.02164682373404503,
-0.04583354294300079,
0.005079788155853748,
-0.03451946750283241,
-0.04514084383845329,
-0.0018387774471193552,
0.055146485567092896,
0.023878851905465126,
-0.03948380798101425,
0.034153878688812256,
0.013382547535002232,
-0.018443094566464424,
-0.03253758326172829,
-0.002518247114494443,
-0.01471984013915062,
0.006296820472925901,
0.03334572911262512,
0.06830775737762451,
0.016961488872766495,
0.03299938142299652,
0.013074682094156742,
-0.045564159750938416,
0.07142490148544312,
0.0710400640964508,
0.028323667123913765,
0.03836779296398163,
-0.08558673411607742,
-0.00256394618190825,
0.04641079157590866,
-0.01890489272773266,
-0.02307070419192314,
0.04179280251264572,
0.015662679448723793,
0.004052766598761082,
-0.028554566204547882,
-0.01256477925926447,
0.03634742274880409,
0.03886807709932327,
-0.07223304361104965,
-0.024879416450858116,
-0.0424085333943367,
-0.02220483124256134,
-0.046526242047548294,
0.05864846333861351,
0.03788675367832184,
-0.05422288924455643,
-0.06830775737762451,
0.05168299376964569,
-0.013113165274262428,
0.08489403128623962,
0.005224100314080715,
-0.04406331479549408,
0.00979398563504219,
0.03301862254738808,
0.08604852855205536,
-0.0027419310063123703,
0.04775770381093025,
-0.03944532573223114,
0.03948380798101425,
-0.021800756454467773,
0.02978602983057499,
0.006763429846614599,
0.025764530524611473,
0.011679664254188538,
-0.014594770036637783,
0.025803014636039734,
0.030902044847607613,
-0.007369541097432375,
0.011612318456172943,
0.021146541461348534,
0.06711477786302567,
0.01360382605344057,
0.007090537343174219,
0.007287763990461826,
0.004468866623938084,
-0.007181935012340546,
0.04052285477519035,
-0.021666066721081734,
-0.06488274782896042,
0.00903394166380167,
0.018827926367521286,
0.02599543146789074,
0.023243878036737442,
-0.008803041651844978,
-0.014258041977882385,
-0.033980704843997955,
-0.017865845933556557,
0.03648211434483528,
-0.041523419320583344,
0.02337856963276863,
0.016692107543349266,
0.057109132409095764,
-0.014094487763941288,
0.03473112732172012,
-0.0013733707601204515,
-0.0324028916656971,
0.05199086293578148,
0.004593937192112207,
-0.08150751143693924,
-0.0076196822337806225,
0.018818305805325508,
0.03875262662768364,
-0.01902996376156807,
0.022474214434623718,
-0.07762070000171661,
-0.00899064727127552,
-0.026187846437096596,
0.039291393011808395,
-0.0167209692299366,
0.0034947595559060574,
0.011804734356701374,
-0.06977012008428574,
-0.037944477051496506,
0.026591921225190163,
0.029189540073275566,
0.002026383299380541,
-0.09613113850355148,
-0.008721265010535717,
-0.06026475876569748,
0.04829647019505501,
-0.005974523723125458,
-0.039291393011808395,
0.03755964711308479,
-0.018625888973474503,
-0.009438015520572662,
0.010515546426177025,
-0.02961285598576069,
0.015460642985999584,
0.035981833934783936,
-0.01854892261326313,
-0.08627942949533463,
0.033288005739450455,
-0.014450457878410816,
-0.047180455178022385,
0.029247265309095383,
0.025283491238951683,
-0.012920748442411423,
0.03536609932780266,
0.022762838751077652,
0.042562466114759445,
-0.005373222753405571,
-0.017962053418159485,
0.05864846333861351,
-0.06407459825277328,
0.006243905983865261,
-0.07084765285253525,
0.04233156889677048,
0.03169095143675804,
0.00900988932698965,
-0.04002257436513901,
0.02730386145412922,
-0.019193517044186592,
0.021396683529019356,
0.03426932916045189,
0.060803525149822235,
-0.05591615289449692,
0.012584020383656025,
-0.024263685569167137,
-0.003937316592782736,
0.013536481186747551,
-0.005931229796260595,
0.011140898801386356,
-0.02020370215177536,
-0.04140796884894371,
0.04606444016098976,
-0.027284618467092514,
0.002230825601145625,
0.031633224338293076,
-0.03286468982696533,
-0.06838472187519073,
-0.033634353429079056,
0.04972035065293312,
-0.023609468713402748,
-0.010746445506811142,
-0.04898916929960251,
0.01134293619543314,
-0.01958797127008438,
0.004988390486687422,
-0.001843587844632566,
0.017836982384324074,
-0.0796603113412857,
0.015037327073514462,
0.04036892205476761,
-0.010178817436099052,
-0.05995689332485199,
0.02582225576043129,
0.039079733192920685,
0.03117142617702484,
-0.06911590695381165,
-0.03299938142299652,
-0.01650931127369404,
-0.05045153200626373,
0.008163257502019405,
0.020184461027383804,
0.007210797630250454,
-0.0046083685010671616,
-0.12845706939697266,
0.008519227616488934,
0.016692107543349266,
-0.02664964646100998,
0.02503334917128086,
-0.03417311981320381,
0.03600107505917549,
-0.005536776501685381,
0.0037593317683786154,
-0.04871978610754013,
0.04402482882142067,
0.04537174478173256,
0.00022894523863215,
0.020530810579657555,
0.019876595586538315,
0.040253471583127975,
-0.008745317347347736,
0.04675713926553726,
0.013825105503201485,
0.01846233569085598,
0.008961785584688187,
0.06749960780143738,
-0.012574399821460247,
-0.030902044847607613,
-0.04375544562935829,
0.01360382605344057,
-0.04564112797379494,
0.019838111475110054,
0.01297847367823124,
-0.03286468982696533,
0.019876595586538315,
-0.03419236093759537,
0.002373934956267476,
0.004661282990127802,
0.02189696580171585,
0.04013802111148834,
-0.02120426669716835,
0.06634511053562164,
-0.023359328508377075,
-0.0005583076854236424,
-0.027053719386458397,
-0.031286876648664474,
0.0803530141711235,
-0.006162129342556,
0.08296987414360046,
0.0054694307036697865,
0.02768869325518608,
-0.09166708588600159,
0.02586073987185955,
-0.015527988784015179,
0.049566417932510376,
-0.08781876415014267,
0.0074849906377494335,
0.07123248279094696,
-0.0009260030346922576,
0.025552872568368912,
0.03767509385943413,
0.003189298789948225,
0.017827361822128296,
0.03934911638498306,
0.04002257436513901,
-0.0534532256424427,
-0.013440272770822048,
0.005368412472307682,
0.017163526266813278,
0.015912821516394615,
0.0015429374761879444,
0.007345489226281643,
0.021396683529019356,
0.014123350381851196,
-0.01989583671092987,
-0.007566767744719982,
0.02899712324142456,
0.025264248251914978
] |
710,123
|
urllib3_future.connectionpool
|
_validate_conn
|
Called right before a request is made, after the socket is created.
|
def _validate_conn(self, conn: HTTPConnection) -> None:
"""
Called right before a request is made, after the socket is created.
"""
if conn.is_closed:
conn.connect()
|
(self, conn: urllib3_future.connection.HTTPConnection) -> NoneType
|
[
-0.037159115076065063,
-0.020667148754000664,
-0.016309302300214767,
0.03395814448595047,
-0.039316292852163315,
0.017509667202830315,
-0.003140084445476532,
0.03501933440566063,
0.020180044695734978,
-0.05713040009140968,
0.006702036131173372,
0.04185619577765465,
0.060018233954906464,
0.0026421069633215666,
-0.0029313252307474613,
-0.046553272753953934,
0.026495005935430527,
0.017048656940460205,
-0.014239108189940453,
-0.02936544269323349,
-0.04283040389418602,
0.018579557538032532,
0.007771926466375589,
-0.005801762454211712,
-0.02593831531703472,
0.07863258570432663,
-0.021693546324968338,
0.004871045239269733,
0.05848733335733414,
-0.013169217854738235,
-0.027295248582959175,
0.037402667105197906,
0.06993428617715836,
0.05062407627701759,
0.04203015938401222,
0.001738571678288281,
0.03708953037858009,
-0.011603524908423424,
-0.07132601737976074,
0.0018570859683677554,
-0.03837687522172928,
-0.01379549503326416,
-0.04081239923834801,
0.001070433878339827,
0.024720553308725357,
0.00560170179232955,
-0.050693660974502563,
0.07772795855998993,
-0.011916663497686386,
-0.039977364242076874,
-0.03540205955505371,
0.059357162564992905,
0.04129950329661369,
0.02089330367743969,
0.0224068071693182,
0.014430470764636993,
0.013186614960432053,
0.07682333886623383,
-0.027277851477265358,
-0.017648840323090553,
-0.058696091175079346,
0.027417024597525597,
-0.02785193920135498,
-0.03456702455878258,
-0.02943502925336361,
-0.012134120799601078,
-0.036358870565891266,
-0.029643788933753967,
0.03545425087213516,
0.011855775490403175,
0.035384662449359894,
0.06294085830450058,
-0.04269123077392578,
0.019936490803956985,
0.027434421703219414,
0.015743913128972054,
-0.023207049816846848,
-0.01284738164395094,
-0.014360884204506874,
-0.002874786499887705,
0.04387420043349266,
-0.018875299021601677,
0.0035097619984298944,
0.014004254713654518,
0.05302480608224869,
-0.05111118033528328,
-0.017953280359506607,
0.009037528187036514,
-0.07911968976259232,
0.04543989151716232,
-0.0023137463722378016,
0.014682721346616745,
0.00007264435407705605,
0.0047666653990745544,
0.05525156855583191,
0.010290082544088364,
-0.014917575754225254,
-0.017248718068003654,
-0.044709235429763794,
-0.05667809024453163,
-0.05142431706190109,
0.03446264564990997,
-0.08927929401397705,
-0.003303177421912551,
0.017422683537006378,
-0.05281604453921318,
0.023989897221326828,
-0.07306567579507828,
-0.04255205765366554,
-0.03778539225459099,
0.012656019069254398,
-0.06360193341970444,
0.034253884106874466,
0.07250898331403732,
0.006023569032549858,
-0.031557414680719376,
0.006593307480216026,
-0.014273901470005512,
-0.01701386459171772,
-0.01290826965123415,
-0.05427736043930054,
-0.014047745615243912,
0.004866695962846279,
-0.02593831531703472,
0.08489535748958588,
0.03594135493040085,
0.03554123267531395,
-0.016457173973321915,
0.032931745052337646,
-0.00243769702501595,
0.017953280359506607,
0.03618490695953369,
-0.007732783909887075,
0.01550036109983921,
-0.08767881244421005,
0.015413378365337849,
-0.00032537057995796204,
0.045753031969070435,
-0.03708953037858009,
-0.055355947464704514,
0.0082459831610322,
0.04178660735487938,
-0.04564864933490753,
-0.022685153409838676,
0.028686976060271263,
0.05385984107851982,
-0.06979511678218842,
-0.01650066487491131,
0.034775782376527786,
-0.03460181504487991,
0.048501692712306976,
-0.06081847846508026,
-0.02449439838528633,
0.01402165088802576,
-0.03601093962788582,
-0.0003351561608724296,
-0.046135757118463516,
-0.03180096670985222,
0.03237505257129669,
-0.003083545481786132,
-0.012368975207209587,
-0.00821118988096714,
0.034845367074012756,
-0.04951069504022598,
-0.0037011243402957916,
0.021310823038220406,
-0.0040664528496563435,
-0.04578782245516777,
0.010237893089652061,
-0.00143304408993572,
-0.04846689850091934,
0.058696091175079346,
-0.014273901470005512,
-0.036428458988666534,
0.047388311475515366,
0.035836976021528244,
0.04697079211473465,
-0.01957116276025772,
-0.06127078831195831,
-0.00037402668385766447,
0.014882782474160194,
-0.04105595126748085,
-0.015135033056139946,
0.05392942577600479,
0.046135757118463516,
0.07661458104848862,
0.0012199358316138387,
0.007837163284420967,
0.05222456157207489,
0.025503400713205338,
0.012325483374297619,
0.016396285966038704,
-0.01313442550599575,
-0.018753523007035255,
0.04376981779932976,
-0.03317529708147049,
0.018370797857642174,
0.04512675479054451,
0.05149390548467636,
0.031226878985762596,
0.010168306529521942,
0.019345007836818695,
-0.026616781949996948,
-0.01094245444983244,
0.025381624698638916,
0.039246704429388046,
-0.02719086967408657,
-0.029191477224230766,
-0.030757170170545578,
0.015204619616270065,
-0.03921191394329071,
-0.03501933440566063,
-0.0015526455827057362,
0.004518764093518257,
0.022754739969968796,
-0.03310570865869522,
-0.026303643360733986,
-0.03611531853675842,
0.0054842750541865826,
0.013386676087975502,
0.052120182663202286,
0.012560337781906128,
0.040360089391469955,
-0.05427736043930054,
0.048049379140138626,
-0.011568731628358364,
-0.005449481774121523,
-0.04432651028037071,
-0.01983211189508438,
0.024911915883421898,
-0.0316791906952858,
0.04251726344227791,
0.013360580429434776,
-0.004905838053673506,
0.03061799705028534,
-0.0010889177210628986,
0.012925665825605392,
-0.0043556708842515945,
-0.0034401756711304188,
-0.035767387598752975,
-0.02075413055717945,
-0.02364196442067623,
-0.013447564095258713,
-0.05222456157207489,
-0.036358870565891266,
0.056330155581235886,
0.021954495459794998,
0.026773352175951004,
-0.020580165088176727,
0.007136950735002756,
-0.048849623650312424,
-0.004966726526618004,
0.00502326525747776,
-0.0669768676161766,
-0.02418125979602337,
-0.04940631240606308,
-0.07717127352952957,
0.030374445021152496,
-0.012751700356602669,
-0.01126429159194231,
0.004510066006332636,
0.0871221199631691,
-0.031105101108551025,
0.08468659967184067,
-0.008493884466588497,
-0.009385460056364536,
0.03573259338736534,
0.00042349821887910366,
-0.0019321087747812271,
0.008854864165186882,
0.0923410952091217,
-0.008633057586848736,
0.020736735314130783,
-0.0037641869857907295,
0.004431781359016895,
-0.05131993815302849,
0.02186751365661621,
0.005240722559392452,
-0.0287739597260952,
-0.02733004279434681,
0.060470543801784515,
-0.005010217893868685,
0.014526152051985264,
0.002892182907089591,
-0.0787021741271019,
-0.029974324628710747,
-0.013812892138957977,
0.03289695084095001,
-0.03249682858586311,
-0.04376981779932976,
-0.029591599479317665,
-0.02726045623421669,
0.05051969736814499,
0.03141824156045914,
-0.03341884911060333,
0.01786629669368267,
0.02955680526793003,
0.054103393107652664,
-0.0189970750361681,
0.03100072219967842,
-0.024146465584635735,
-0.018875299021601677,
-0.06029658019542694,
0.031226878985762596,
0.04488320276141167,
-0.05890485271811485,
-0.0038446462713181973,
0.03522809222340584,
-0.026112280786037445,
0.0014895829372107983,
-0.02666897140443325,
0.010403160937130451,
-0.03562821447849274,
-0.014543549157679081,
0.05549512058496475,
0.03421908989548683,
-0.015735214576125145,
-0.013760702684521675,
-0.021502183750271797,
0.09087978303432465,
-0.03522809222340584,
0.015596042387187481,
-0.02607748843729496,
0.026094883680343628,
-0.01701386459171772,
0.021641356870532036,
0.09081019461154938,
-0.013804193586111069,
-0.0016918183537200093,
0.021832719445228577,
-0.04328271374106407,
0.026251453906297684,
-0.033610209822654724,
-0.056260570883750916,
-0.004327401518821716,
-0.06081847846508026,
-0.010542333126068115,
-0.05365108326077461,
-0.01713564060628414,
-0.06457614153623581,
-0.023363620042800903,
-0.031035516411066055,
0.06781190633773804,
-0.014073841273784637,
0.04756227508187294,
-0.03646325320005417,
-0.08816591650247574,
-0.01129908487200737,
0.001815769006498158,
-0.021206442266702652,
-0.041751813143491745,
0.04610096290707588,
-0.010881566442549229,
0.04710996523499489,
0.01904926635324955,
0.028078095987439156,
-0.005540813785046339,
0.019205834716558456,
0.0168920885771513,
-0.049441106617450714,
0.03882918879389763,
0.019814714789390564,
0.0044404794462025166,
-0.026982109993696213,
0.030913740396499634,
0.021589167416095734,
0.03016568534076214,
-0.0158917848020792,
-0.01110772229731083,
-0.006180138327181339,
-0.035384662449359894,
-0.03547164425253868,
-0.016535459086298943,
-0.029208874329924583,
-0.012629924342036247,
0.002572520636022091,
0.03844646364450455,
-0.0064280396327376366,
-0.006445436272770166,
0.02278953231871128,
0.01937980018556118,
-0.009115813300013542,
0.04091677814722061,
-0.0203018207103014,
-0.04185619577765465,
-0.11015520244836807,
-0.04105595126748085,
0.03054841049015522,
-0.01002043578773737,
0.05031093582510948,
0.021310823038220406,
-0.02082371711730957,
-0.010524936951696873,
0.013838986866176128,
-0.02726045623421669,
0.027747560292482376,
0.024650966748595238,
-0.015787405893206596,
0.0070978086441755295,
0.004566604737192392,
-0.009037528187036514,
0.03554123267531395,
-0.019588559865951538,
0.055529914796352386,
0.012890872545540333,
0.0980471819639206,
0.033349260687828064,
0.04129950329661369,
0.037228699773550034,
-0.02305048145353794,
-0.06297565251588821,
-0.018666541203856468,
-0.0034532230347394943,
-0.02451179549098015,
-0.013386676087975502,
-0.02299829199910164,
0.03962942957878113,
0.033801574259996414,
0.05170266330242157,
0.008424298837780952,
0.03100072219967842,
0.009385460056364536,
0.07403988391160965,
0.044917993247509,
-0.037159115076065063,
-0.03778539225459099,
0.014874083921313286,
-0.0082459831610322,
0.02148478850722313,
-0.002226763404905796,
-0.000979101750999689,
0.037019941955804825,
-0.00031395407859236,
-0.06022699177265167,
0.02404208667576313,
0.025833934545516968,
-0.03147042915225029,
0.05643453821539879,
0.035697802901268005,
0.018231626600027084,
-0.004575302824378014,
0.02214585803449154,
0.0005439152591861784,
-0.00627581961452961,
0.09762965887784958,
0.009324572049081326,
0.048501692712306976,
0.021136855706572533,
-0.04164743423461914,
-0.023033084347844124,
-0.02271994575858116,
-0.02889573574066162,
0.0008730913395993412,
-0.038063738495111465,
-0.06669852137565613,
0.0003180314088240266,
0.0044796220026910305,
0.03684597834944725,
0.012925665825605392,
0.010290082544088364,
0.036289285868406296,
0.05953112989664078,
-0.005997474305331707,
-0.026982109993696213,
-0.04126470908522606,
0.031557414680719376,
0.018579557538032532,
0.03246203437447548,
0.03227067366242409,
0.02259816974401474,
-0.026460211724042892,
0.014682721346616745,
0.015978766605257988,
-0.017779314890503883,
-0.011890568770468235,
-0.04289998859167099,
0.02247639372944832,
0.0016646361909806728,
0.031626999378204346,
0.010864170268177986,
-0.041090745478868484,
0.020388802513480186,
0.039838191121816635,
0.005840905010700226,
-0.007611007895320654,
-0.0507284551858902,
-0.017692331224679947,
-0.05570387840270996,
0.0054842750541865826,
-0.007893702946603298,
-0.03374938294291496,
0.051076386123895645,
0.016057051718235016,
-0.03369719535112381,
0.032949142158031464,
-0.001655937870964408,
-0.06996908038854599,
0.02778235264122486,
0.03467140346765518,
-0.014761006459593773,
-0.010507539846003056,
-0.011916663497686386,
-0.042204126715660095,
0.06412383168935776,
0.03234025835990906,
-0.03242724388837814,
-0.07181312143802643,
0.02759099006652832,
0.02089330367743969,
-0.01290826965123415,
-0.023676758632063866,
0.03750704601407051,
0.0022137160412967205,
0.03566300868988037,
0.03369719535112381,
0.03545425087213516,
-0.019031869247555733,
0.006962984800338745,
-0.024146465584635735,
-0.008667850866913795,
0.07584913074970245,
0.01964074932038784,
0.07570995390415192,
-0.019101455807685852,
-0.038272496312856674,
-0.046553272753953934,
0.041612643748521805,
-0.012334181927144527,
-0.014908877201378345,
-0.0026551545597612858,
0.03750704601407051,
-0.015978766605257988,
0.005131993908435106,
-0.021658753976225853,
0.022493790835142136,
0.026773352175951004,
-0.025120675563812256,
-0.0309311356395483,
-0.11203403770923615,
0.01412603072822094,
-0.0005827857530675828,
0.025207657366991043,
0.021328218281269073,
-0.046135757118463516,
-0.0618622712790966,
0.02392031066119671,
-0.004186054226011038,
0.09220192581415176,
-0.06565473228693008,
-0.0203018207103014,
-0.002115860115736723,
0.04519633948802948,
0.030878946185112,
-0.052328940480947495,
-0.034062523394823074,
-0.047388311475515366,
0.045822616666555405,
-0.01553515437990427,
0.03903794661164284,
-0.009524633176624775,
0.01838819496333599,
-0.03362760692834854,
-0.024268241599202156,
0.03604573383927345,
-0.021763132885098457,
-0.022563377395272255,
0.06617662310600281,
-0.03594135493040085,
-0.015378585085272789,
0.026112280786037445,
0.003896835958585143,
-0.026460211724042892,
0.005967030301690102,
0.015596042387187481,
0.04328271374106407,
-0.02082371711730957,
-0.07772795855998993,
0.02910449355840683,
-0.003192274132743478,
0.011820982210338116,
0.04710996523499489,
-0.010829376988112926,
-0.051076386123895645,
-0.02569476328790188,
0.016117939725518227,
-0.00061377341626212,
-0.024337828159332275,
0.018179435282945633,
-0.0253642275929451,
-0.05326835811138153,
-0.035767387598752975,
-0.008741785772144794,
-0.04178660735487938,
-0.06088806316256523,
0.0334884338080883,
-0.01002043578773737,
0.008894006721675396,
0.006693338043987751,
0.008154651150107384,
0.03785497695207596,
-0.04610096290707588,
0.05806981399655342,
0.010516238398849964,
-0.05427736043930054,
-0.00003132745041511953,
0.01897967979311943,
-0.05330314859747887,
0.032218482345342636,
-0.010446651838719845,
-0.06548076122999191,
-0.021519580855965614,
0.030009116977453232,
-0.013752004131674767,
-0.015282903797924519,
-0.07473574578762054,
0.003975120838731527,
-0.07703209668397903,
0.04439609497785568,
0.009794279932975769,
0.046344514936208725,
0.07292650640010834,
-0.048640865832567215,
0.015596042387187481,
0.036289285868406296,
-0.043317507952451706,
0.061131615191698074,
0.050693660974502563,
-0.039977364242076874,
-0.07807589322328568,
0.008528677746653557,
0.024146465584635735,
0.0017603173619136214,
0.024198656901717186,
-0.0023333176504820585,
-0.002138693118467927,
0.026321040466427803,
0.014343488030135632,
-0.027417024597525597,
0.011716603301465511,
0.039316292852163315,
0.03802894428372383,
-0.03404512628912926,
0.023363620042800903,
-0.024250846356153488,
0.017092149704694748,
0.021241236478090286,
0.010194401256740093,
-0.07675375044345856,
0.016987768933176994,
-0.036950357258319855,
0.0068803513422608376,
0.03435826301574707,
0.06621141731739044,
-0.0334884338080883,
0.05570387840270996,
-0.03054841049015522,
-0.022041479125618935,
-0.008833118714392185,
0.01812724582850933,
-0.012073232792317867,
0.00625842297449708,
-0.02712128311395645,
0.07320484519004822,
-0.0033270977437496185,
0.05131993815302849,
0.09087978303432465,
-0.012995252385735512,
-0.09046226739883423,
-0.04815375804901123,
0.021763132885098457,
-0.003094418440014124,
0.013169217854738235,
0.010977247729897499,
0.05619098246097565,
0.032288070768117905,
0.018440384417772293,
-0.006936890073120594,
-0.032218482345342636,
-0.06311482936143875,
-0.0026442816015332937,
0.00006306263821898028,
0.012116724625229836,
-0.02482493408024311,
-0.025607779622077942,
0.032357655465602875,
-0.04721434414386749,
-0.029591599479317665,
-0.0354890413582325,
0.03705473616719246,
-0.021449994295835495,
0.011647016741335392,
0.03253162279725075,
0.008641756139695644,
0.06725521385669708,
-0.0921323373913765,
-0.02924366667866707,
-0.0414038822054863,
0.003816376905888319,
-0.013412770815193653,
0.02602529712021351,
0.07591871917247772,
0.023485396057367325,
0.016865992918610573,
-0.005084153264760971,
0.026181867346167564,
-0.021449994295835495,
-0.019066661596298218,
-0.008524328470230103,
0.0220066849142313,
0.02148478850722313,
-0.03141824156045914,
-0.01235157810151577,
0.009446348063647747,
-0.025851331651210785,
-0.030270066112279892,
0.03141824156045914,
-0.019466783851385117,
-0.03227067366242409,
-0.02188490889966488,
0.0054625291377305984,
-0.052642080932855606,
-0.04947590082883835,
-0.02621665969491005,
-0.013169217854738235,
0.024268241599202156,
-0.03973381221294403,
-0.06478489935398102,
-0.018162040039896965,
0.013725909404456615,
0.017092149704694748,
-0.029904738068580627,
0.015543852932751179,
-0.08350362628698349,
0.08900095522403717,
-0.05688684806227684,
-0.023937707766890526,
0.0037098226603120565,
0.053964219987392426,
0.02602529712021351,
0.021502183750271797,
0.01129908487200737,
-0.08106810599565506,
0.01244725938886404,
-0.027347438037395477,
0.04432651028037071,
-0.030374445021152496,
0.005923538934439421,
0.033731985837221146,
0.0015004558954387903,
0.02976556494832039,
0.0004321965097915381,
0.0032640350982546806,
0.03134865313768387,
0.0033836367074400187,
-0.004405686166137457,
0.007637102622538805,
-0.06523720920085907,
0.05236373469233513,
-0.011794887483119965,
0.011420860886573792,
0.009637710638344288,
0.07320484519004822,
0.020180044695734978,
-0.0034271280746906996,
-0.015735214576125145,
-0.00962901208549738,
0.042343299835920334,
0.0533379428088665
] |
710,124
|
urllib3_future.connectionpool
|
close
|
Close all pooled connections and disable the pool.
|
def close(self) -> None:
"""
Close all pooled connections and disable the pool.
"""
if self.pool is None:
return
# Disable access to the pool
old_pool, self.pool = self.pool, None
# Close all the HTTPConnections in the pool.
old_pool.clear()
# Close allocated resolver if we own it. (aka. not shared)
if self._own_resolver and self._resolver.is_available():
self._resolver.close()
|
(self) -> NoneType
|
[
-0.013732420280575752,
-0.05306347832083702,
0.005550186149775982,
0.01008804701268673,
-0.06838040798902512,
0.006060750689357519,
-0.05471841245889664,
-0.007385577075183392,
0.019595107063651085,
-0.05521136894822121,
-0.018204258754849434,
-0.04295782744884491,
0.05045783892273903,
0.027464840561151505,
-0.002076368313282728,
0.016144396737217903,
-0.045457832515239716,
0.00025610742159187794,
0.00739878136664629,
-0.041655007749795914,
-0.04443670064210892,
0.045246563851833344,
0.04292261600494385,
-0.06214800104498863,
-0.028116248548030853,
0.006866210140287876,
-0.005902299657464027,
-0.008089804090559483,
-0.015431366860866547,
-0.01572185941040516,
-0.058274757117033005,
0.04084514454007149,
0.01367960311472416,
0.04915501922369003,
0.047147974371910095,
0.03559865802526474,
0.0038116266950964928,
0.023345114663243294,
0.01778172329068184,
0.027095120400190353,
-0.0047403257340192795,
-0.05616207793354988,
-0.061725467443466187,
-0.030897945165634155,
0.018873274326324463,
0.007724486291408539,
-0.027781741693615913,
0.01053699105978012,
0.04323951527476311,
0.0014920802786946297,
-0.036197248846292496,
0.02174299769103527,
-0.024542298167943954,
0.04207754135131836,
0.011945445090532303,
0.05926067382097244,
-0.003791820490732789,
0.07246492058038712,
0.024190185591578484,
-0.031267665326595306,
-0.0008791829459369183,
-0.016707777976989746,
-0.024383848533034325,
-0.04299303889274597,
0.0053213126957416534,
0.017332779243588448,
-0.020827503874897957,
0.0629226490855217,
0.05021136254072189,
-0.008868854492902756,
0.022623281925916672,
-0.027095120400190353,
-0.019771164283156395,
0.018081018701195717,
-0.007482408080250025,
-0.022640887647867203,
0.020985955372452736,
-0.031408507376909256,
0.014419040642678738,
-0.02500004693865776,
0.001539395423606038,
0.0017143518198281527,
-0.015924325212836266,
0.02739441767334938,
0.07066914439201355,
-0.0794367641210556,
0.005369728431105614,
-0.0036465737503021955,
-0.04894375428557396,
0.008622375316917896,
-0.004784340038895607,
0.03382048383355141,
0.01620601676404476,
0.011786993592977524,
0.0557747520506382,
-0.024947229772806168,
-0.03436626121401787,
0.025598639622330666,
-0.031831044703722,
-0.036690209060907364,
-0.03580992668867111,
-0.004148335196077824,
-0.02924301289021969,
0.03250006213784218,
0.04429585859179497,
-0.01968313567340374,
0.039260637015104294,
-0.02207750640809536,
-0.06897900253534317,
-0.029489491134881973,
-0.05669024586677551,
0.0008648783550597727,
0.0009754639468155801,
0.02735920622944832,
-0.006610927637666464,
0.017147919163107872,
-0.06697195768356323,
-0.01601235382258892,
0.017808131873607635,
-0.0029995653312653303,
-0.10359174013137817,
0.035510629415512085,
-0.025264130905270576,
-0.01882045716047287,
0.01676059514284134,
0.1188734620809555,
-0.019471867009997368,
-0.03647894039750099,
-0.003455111989751458,
0.02000003680586815,
0.033802878111600876,
0.021690180525183678,
-0.011848613619804382,
0.032781749963760376,
0.02500004693865776,
-0.007284344639629126,
-0.04207754135131836,
0.022535253316164017,
-0.008534346707165241,
0.013125024735927582,
-0.04042261093854904,
0.03181343898177147,
-0.018697217106819153,
0.007790507283061743,
0.04985924810171127,
0.007900542579591274,
0.013970096595585346,
-0.027447234839200974,
-0.02804582752287388,
-0.06316912919282913,
-0.015827493742108345,
-0.016390874981880188,
0.014181364327669144,
0.02174299769103527,
-0.02857399731874466,
0.011663754470646381,
-0.0019476268207654357,
0.04327472671866417,
-0.021602151915431023,
-0.016179608181118965,
0.021355673670768738,
0.03683105483651161,
-0.050563473254442215,
-0.07119731605052948,
-0.03954232856631279,
-0.10049314796924591,
0.03834514319896698,
-0.025052864104509354,
0.027429629117250443,
0.0025572229642421007,
-0.08535227179527283,
-0.045598674565553665,
-0.02517610229551792,
0.03750006854534149,
-0.01282572839409113,
0.047993045300245285,
0.030862733721733093,
0.02019369974732399,
-0.030088083818554878,
0.016241228207945824,
0.013072207570075989,
-0.07831000536680222,
-0.07408464699983597,
0.001996042439714074,
0.017341582104563713,
-0.018943697214126587,
0.0011377661721780896,
0.0037434047553688288,
0.0030743894167244434,
0.03760570287704468,
-0.008578361012041569,
0.002548420336097479,
0.013142630457878113,
-0.025070469826459885,
0.0671832263469696,
-0.007698077708482742,
-0.009859173558652401,
-0.0020103470887988806,
0.032940201461315155,
0.0356338694691658,
-0.019436655566096306,
0.04447191208600998,
0.027975404635071754,
-0.04450712352991104,
0.02704230323433876,
0.005022016353905201,
-0.02961273118853569,
-0.030228929594159126,
-0.008147021755576134,
-0.004038299899548292,
0.005695432890206575,
0.06271138042211533,
0.010510582476854324,
0.02820427715778351,
0.03742964565753937,
0.07957760989665985,
-0.009612693451344967,
-0.057570528239011765,
-0.00010109503637067974,
0.02894371561706066,
-0.0009468547650612891,
-0.020933138206601143,
0.039788804948329926,
0.0018772041657939553,
-0.02345074713230133,
0.03728879988193512,
-0.02209511213004589,
0.0217606034129858,
0.054859258234500885,
0.013045798987150192,
0.024014128372073174,
0.059119828045368195,
0.007310753222554922,
-0.02311624027788639,
0.0465845949947834,
-0.03919021412730217,
-0.05767616257071495,
0.04838037118315697,
-0.05908461660146713,
0.006897019688040018,
-0.02804582752287388,
-0.02478877827525139,
-0.03399654105305672,
-0.028714841231703758,
-0.0224120132625103,
0.046795859932899475,
-0.022288773208856583,
0.03848598524928093,
0.11119738966226578,
-0.019753558561205864,
0.018186653032898903,
-0.06788744777441025,
0.018908485770225525,
-0.058098699897527695,
-0.03144371882081032,
-0.07901423424482346,
-0.0641198381781578,
-0.016575735062360764,
-0.027781741693615913,
0.00020108971511945128,
0.04623248055577278,
0.07323957234621048,
-0.051760658621788025,
0.05352122709155083,
0.007654063403606415,
0.014419040642678738,
0.06464800983667374,
-0.06123250722885132,
-0.024243002757430077,
0.009040509350597858,
0.06471843272447586,
-0.0131778409704566,
0.021778209134936333,
-0.013494743034243584,
-0.0184683445841074,
-0.012341571971774101,
0.011478894390165806,
0.01760566607117653,
-0.10218328982591629,
-0.007759697735309601,
0.08063395321369171,
0.0537324957549572,
0.011373260989785194,
-0.014075729995965958,
0.013890870846807957,
0.0106954425573349,
-0.03271132707595825,
0.029841605573892593,
-0.020598629489541054,
-0.01984158530831337,
-0.04366205260157585,
-0.026936668902635574,
0.006619730498641729,
0.05443672090768814,
0.00432219123467803,
0.006038743536919355,
-0.001272009452804923,
0.012394389137625694,
0.0033956929109990597,
-0.0033824886195361614,
-0.022693704813718796,
-0.0499296709895134,
0.03640851750969887,
0.05235925316810608,
0.030352169647812843,
-0.03146132454276085,
0.04383810982108116,
0.036866266280412674,
0.030933156609535217,
0.07457759976387024,
0.016478903591632843,
-0.019436655566096306,
-0.0259859636425972,
0.026426104828715324,
0.050563473254442215,
0.01811623014509678,
-0.031373295933008194,
-0.0010222289711236954,
-0.027588078752160072,
0.03230639919638634,
-0.05658461153507233,
-0.013345095328986645,
0.04035218805074692,
-0.02325708605349064,
-0.0013028193498030305,
0.03100357949733734,
0.03820429742336273,
0.05563390627503395,
0.012966573238372803,
-0.00830107182264328,
0.0282570943236351,
-0.006650540512055159,
0.0041241273283958435,
-0.035000063478946686,
-0.007108287885785103,
-0.03355640172958374,
0.021672574803233147,
-0.029507096856832504,
-0.01848595030605793,
-0.05510573461651802,
-0.06482406705617905,
-0.0006305029382929206,
0.005796665791422129,
-0.01652291789650917,
-0.09119734913110733,
0.029912026599049568,
-0.02121482789516449,
-0.031408507376909256,
0.012860939837992191,
-0.06552828848361969,
0.03760570287704468,
0.020228911191225052,
0.004665501415729523,
0.039260637015104294,
-0.010651428252458572,
-0.015941930934786797,
0.036901477724313736,
0.08845087140798569,
0.0048239524476230145,
-0.0496479794383049,
-0.01915496587753296,
-0.04616205766797066,
-0.015528197400271893,
-0.009867976419627666,
0.009586285799741745,
-0.029190195724368095,
0.053978972136974335,
0.005444552283734083,
-0.024753566831350327,
-0.04535219818353653,
-0.03371484950184822,
-0.09204242378473282,
0.007363569922745228,
-0.00715230219066143,
-0.02413736842572689,
0.008776424452662468,
0.015149676240980625,
0.02463032677769661,
0.0417606420814991,
0.037042323499917984,
-0.013301081024110317,
-0.004982403479516506,
0.03281696140766144,
-0.022993000224232674,
-0.016144396737217903,
-0.06781702488660812,
0.02570427395403385,
0.016672566533088684,
-0.0008274663123302162,
0.03179583325982094,
0.049894459545612335,
-0.05426066368818283,
-0.0049119810573756695,
0.005950715392827988,
-0.01396129373461008,
0.011276429519057274,
0.03887331113219261,
0.0013699409319087863,
-0.026743007823824883,
-0.01722714491188526,
0.01035213191062212,
0.01207748707383871,
-0.002248023636639118,
0.022658493369817734,
0.02088032104074955,
0.02566906251013279,
0.06739449501037598,
0.042852193117141724,
0.06123250722885132,
-0.006069553550332785,
-0.06327476352453232,
-0.016117988154292107,
-0.019753558561205864,
-0.03834514319896698,
-0.00003448922507232055,
0.003917261026799679,
0.03480640426278114,
0.051267702132463455,
0.12401431798934937,
0.017121510580182076,
0.046619806438684464,
-0.002444986952468753,
-0.016575735062360764,
-0.06056349352002144,
-0.050739530473947525,
-0.06669026613235474,
0.029401462525129318,
-0.0010871499544009566,
-0.007385577075183392,
0.020070459693670273,
-0.011091569438576698,
-0.0002739881747402251,
0.0031492135021835566,
-0.03813387453556061,
0.043873321264982224,
0.01789616048336029,
-0.03454231843352318,
0.039471905678510666,
0.022640887647867203,
-0.02054581232368946,
0.02669019065797329,
-0.009735933504998684,
-0.00886005163192749,
-0.042359232902526855,
0.07774662226438522,
-0.03714795783162117,
0.039964862167835236,
0.010422554798424244,
-0.034489501267671585,
-0.03820429742336273,
-0.02484159544110298,
-0.028697235509753227,
0.025598639622330666,
-0.006685751955956221,
-0.06517617404460907,
0.024084551259875298,
0.03985922783613205,
-0.025598639622330666,
0.008833643049001694,
0.028028221800923347,
0.01266727689653635,
-0.010466569103300571,
0.07711281627416611,
0.0022821344900876284,
-0.08028183877468109,
-0.00006887529161758721,
0.009207763709127903,
-0.004359603393822908,
0.018450738862156868,
-0.008415509015321732,
-0.05799306556582451,
0.016320452094078064,
-0.02959512546658516,
-0.04809867963194847,
-0.05728884041309357,
0.014603900723159313,
-0.04496487230062485,
0.02963033691048622,
0.06640857458114624,
-0.03130287677049637,
-0.015114464797079563,
-0.045105718076229095,
0.07366210967302322,
-0.01043135765939951,
-0.05017615109682083,
-0.04500008374452591,
0.08823960274457932,
-0.04968319088220596,
-0.036690209060907364,
-0.0002786646946333349,
0.0053037069737911224,
-0.005607404746115208,
-0.024243002757430077,
-0.03065146505832672,
0.0003774214710574597,
0.023485958576202393,
-0.058591656386852264,
-0.02295778878033161,
0.006355645600706339,
-0.032288793474435806,
0.009832764975726604,
-0.010220088995993137,
-0.02926061861217022,
0.02739441767334938,
0.0840846598148346,
-0.003699390683323145,
-0.006866210140287876,
0.01829228736460209,
-0.011417274363338947,
0.0008478228701278567,
-0.05640855431556702,
-0.061690255999565125,
-0.030369775369763374,
0.009128537960350513,
0.027676107361912727,
0.038732465356588364,
-0.007147900760173798,
0.016575735062360764,
0.018591584637761116,
-0.02019369974732399,
0.05119727924466133,
0.058274757117033005,
-0.039436694234609604,
0.012271149083971977,
-0.023714832961559296,
-0.04214796423912048,
-0.02617962658405304,
0.03232400491833687,
0.0012984179193153977,
0.04246486723423004,
0.05161981284618378,
-0.0002519811096135527,
-0.0386972539126873,
-0.01430460438132286,
0.024524694308638573,
0.0048767696134746075,
-0.05130291357636452,
-0.07260576635599136,
0.01740320213139057,
0.010572202503681183,
-0.033292315900325775,
0.0629226490855217,
0.05890855938196182,
0.008279064670205116,
-0.02838033437728882,
-0.01952468417584896,
-0.01164614874869585,
0.03612682595849037,
0.06225363537669182,
0.015184887684881687,
0.04531698673963547,
0.05010572820901871,
0.04239444434642792,
-0.026743007823824883,
0.0369366891682148,
-0.021602151915431023,
0.016672566533088684,
-0.006003532093018293,
-0.031267665326595306,
0.0017143518198281527,
-0.003688387107104063,
0.014251787215471268,
0.007161105051636696,
0.038943734019994736,
0.003534337505698204,
0.017948977649211884,
0.04323951527476311,
-0.020475389435887337,
0.05137333646416664,
0.01585390232503414,
0.009066917933523655,
-0.09091566503047943,
0.03424302116036415,
-0.012702488340437412,
0.03596837818622589,
-0.020422572270035744,
-0.0320599190890789,
0.0029555512592196465,
-0.0045862761326134205,
0.01917257159948349,
0.013389109633862972,
-0.0011564722517505288,
-0.054859258234500885,
-0.07119731605052948,
-0.007632056251168251,
0.02000003680586815,
0.010713048279285431,
0.04299303889274597,
0.03676063194870949,
0.0013545359252020717,
0.006575716659426689,
-0.02751765586435795,
0.015941930934786797,
-0.03630288317799568,
-0.015035239048302174,
-0.0017297567101195455,
-0.10936640202999115,
0.010581005364656448,
0.028133854269981384,
0.05045783892273903,
0.010528188198804855,
0.0239437073469162,
-0.023239480331540108,
0.011417274363338947,
-0.02242961898446083,
0.07788746803998947,
-0.020827503874897957,
0.04017613083124161,
-0.02584511786699295,
-0.013882067985832691,
-0.037218380719423294,
-0.01899651437997818,
0.05059868469834328,
-0.013248263858258724,
-0.04947192221879959,
-0.017068693414330482,
-0.04496487230062485,
0.06250011920928955,
-0.05014093965291977,
-0.03170780465006828,
-0.025774694979190826,
-0.03202470764517784,
0.012887347489595413,
0.020845109596848488,
-0.02566906251013279,
0.041831064969301224,
-0.0006629633717238903,
0.004480642266571522,
-0.05887334793806076,
0.0855635404586792,
-0.029313433915376663,
-0.07066914439201355,
-0.014251787215471268,
0.047147974371910095,
-0.03371484950184822,
0.03711274638772011,
0.061373353004455566,
0.01917257159948349,
0.03452471271157265,
-0.020334545522928238,
0.03475358709692955,
-0.03679584339261055,
0.030000055208802223,
-0.02311624027788639,
-0.03408456966280937,
0.016822215169668198,
-0.0323416106402874,
-0.04683107137680054,
0.05426066368818283,
-0.03572189807891846,
-0.02466553822159767,
0.04873248562216759,
0.05341559275984764,
-0.058943770825862885,
-0.014542280696332455,
-0.03288738429546356,
-0.030352169647812843,
-0.0011256623547524214,
-0.006945435423403978,
-0.0024713955353945494,
-0.022887365892529488,
-0.009647904895246029,
0.055000100284814835,
-0.011998261325061321,
0.015448972582817078,
-0.01866200566291809,
-0.03198949620127678,
0.0009204462403431535,
-0.02565145678818226,
0.040493033826351166,
-0.0004338146245572716,
0.0034507105592638254,
-0.009445440024137497,
0.04728882014751434,
-0.015334535390138626,
0.045774731785058975,
0.007724486291408539,
-0.019419049844145775,
-0.06091560423374176,
0.04873248562216759,
-0.01301058754324913,
0.03426062688231468,
-0.04771135747432709,
-0.006540505215525627,
0.05848602578043938,
0.03542260080575943,
-0.07809873670339584,
-0.006540505215525627,
0.015669044107198715,
-0.0012467012275010347,
-0.01583629660308361,
0.010457766242325306,
0.037922605872154236,
-0.01213910710066557,
-0.04471839219331741,
0.021654969081282616,
0.006390857044607401,
-0.06957759708166122,
0.042359232902526855,
0.0053741298615932465,
0.034665558487176895,
-0.0351233035326004,
0.006307229865342379,
-0.035862743854522705,
0.0509507991373539,
0.03112681768834591,
0.014410237781703472,
0.016478903591632843,
0.010528188198804855,
0.030158506706357002,
0.010642625391483307,
0.005250889807939529,
0.021267645061016083,
0.06126771867275238,
0.02209511213004589,
0.05070431903004646,
-0.05239446461200714,
-0.006038743536919355,
0.003025973914191127,
0.0010976032353937626,
0.016021156683564186,
0.02410215698182583,
0.04711276292800903,
-0.03838035464286804,
0.05098601058125496,
0.002559423679485917,
-0.06073955073952675,
0.02547539956867695,
0.023697227239608765,
0.06489448994398117,
-0.05802827700972557,
-0.038556408137083054,
-0.027834558859467506,
-0.019559895619750023,
-0.05492968112230301,
-0.02841554582118988,
0.07640859484672546,
0.03630288317799568,
0.013529954478144646,
-0.011989458464086056,
-0.016082776710391045,
-0.0646832212805748,
-0.0136179830878973,
0.018890880048274994,
0.012869741767644882,
-0.05306347832083702,
0.011945445090532303,
0.0379578173160553,
0.007359168492257595,
-0.009568680077791214,
0.03957754001021385,
0.03286977857351303,
0.029348645359277725,
0.039295848459005356,
0.012922558933496475,
-0.047500088810920715,
0.013890870846807957,
0.020968349650502205,
-0.04570430889725685,
0.010387343354523182,
-0.013327489607036114,
0.06788744777441025,
0.001123461639508605,
-0.016989467665553093,
0.02188384346663952,
0.008120614103972912,
0.049894459545612335,
-0.01634686067700386
] |
710,125
|
urllib3_future.connectionpool
|
get_response
|
Retrieve the first response available in the pool.
This method should be called after issuing at least one request with ``multiplexed=True``.
If none available, return None.
|
def get_response(
self, *, promise: ResponsePromise | None = None
) -> HTTPResponse | None:
"""
Retrieve the first response available in the pool.
This method should be called after issuing at least one request with ``multiplexed=True``.
If none available, return None.
"""
if self.pool is None:
raise ClosedPoolError(self, "Pool is closed")
if promise is not None and not isinstance(promise, ResponsePromise):
raise TypeError(
f"get_response only support ResponsePromise but received {type(promise)} instead. "
f"This may occur if you expected the remote peer to support multiplexing but did not."
)
try:
with self.pool.borrow(
promise or ResponsePromise,
block=promise is not None,
not_idle_only=promise is None,
) as conn:
response = conn.getresponse(promise=promise, police_officer=self.pool)
except UnavailableTraffic:
return None
if promise is not None and response is None:
raise ValueError(
"Invoked get_response with promise=... that no connection in pool recognize"
)
if response is None:
return None
from_promise = None
if promise:
from_promise = promise
else:
if (
response._fp
and hasattr(response._fp, "from_promise")
and response._fp.from_promise
):
from_promise = response._fp.from_promise
if from_promise is None:
raise ValueError(
"Internal: Unable to identify originating ResponsePromise from a LowLevelResponse"
)
self.pool.forget(from_promise)
# Retrieve request ctx
method = typing.cast(str, from_promise.get_parameter("method"))
redirect = typing.cast(bool, from_promise.get_parameter("redirect"))
# Handle redirect?
redirect_location = redirect and response.get_redirect_location()
if redirect_location:
url = typing.cast(str, from_promise.get_parameter("url"))
body = typing.cast(
typing.Optional[_TYPE_BODY], from_promise.get_parameter("body")
)
headers = typing.cast(HTTPHeaderDict, from_promise.get_parameter("headers"))
preload_content = typing.cast(
bool, from_promise.get_parameter("preload_content")
)
decode_content = typing.cast(
bool, from_promise.get_parameter("decode_content")
)
timeout = typing.cast(
typing.Optional[_TYPE_TIMEOUT], from_promise.get_parameter("timeout")
)
assert_same_host = typing.cast(
bool, from_promise.get_parameter("assert_same_host")
)
pool_timeout = from_promise.get_parameter("pool_timeout")
response_kw = typing.cast(
typing.MutableMapping[str, typing.Any],
from_promise.get_parameter("response_kw"),
)
chunked = typing.cast(bool, from_promise.get_parameter("chunked"))
body_pos = typing.cast(
_TYPE_BODY_POSITION, from_promise.get_parameter("body_pos")
)
retries = typing.cast(Retry, from_promise.get_parameter("retries"))
if response.status == 303:
method = "GET"
body = None
headers = HTTPHeaderDict(headers)
for should_be_removed_header in NOT_FORWARDABLE_HEADERS:
headers.discard(should_be_removed_header)
try:
retries = retries.increment(method, url, response=response, _pool=self)
except MaxRetryError:
if retries.raise_on_redirect:
response.drain_conn()
raise
return response
response.drain_conn()
retries.sleep_for_retry(response)
log.debug("Redirecting %s -> %s", url, redirect_location)
new_promise = self.urlopen(
method,
redirect_location,
body,
headers,
retries=retries,
redirect=redirect,
assert_same_host=assert_same_host,
timeout=timeout,
pool_timeout=pool_timeout,
release_conn=True,
chunked=chunked,
body_pos=body_pos,
preload_content=preload_content,
decode_content=decode_content,
multiplexed=True,
**response_kw,
)
return self.get_response(promise=new_promise if promise else None)
# Check if we should retry the HTTP response.
has_retry_after = bool(response.headers.get("Retry-After"))
retries = typing.cast(Retry, from_promise.get_parameter("retries"))
if retries.is_retry(method, response.status, has_retry_after):
url = typing.cast(str, from_promise.get_parameter("url"))
body = typing.cast(
typing.Optional[_TYPE_BODY], from_promise.get_parameter("body")
)
headers = typing.cast(HTTPHeaderDict, from_promise.get_parameter("headers"))
preload_content = typing.cast(
bool, from_promise.get_parameter("preload_content")
)
decode_content = typing.cast(
bool, from_promise.get_parameter("decode_content")
)
timeout = typing.cast(
typing.Optional[_TYPE_TIMEOUT], from_promise.get_parameter("timeout")
)
assert_same_host = typing.cast(
bool, from_promise.get_parameter("assert_same_host")
)
pool_timeout = from_promise.get_parameter("pool_timeout")
response_kw = typing.cast(
typing.MutableMapping[str, typing.Any],
from_promise.get_parameter("response_kw"),
)
chunked = typing.cast(bool, from_promise.get_parameter("chunked"))
body_pos = typing.cast(
_TYPE_BODY_POSITION, from_promise.get_parameter("body_pos")
)
try:
retries = retries.increment(method, url, response=response, _pool=self)
except MaxRetryError:
if retries.raise_on_status:
response.drain_conn()
raise
return response
response.drain_conn()
retries.sleep(response)
log.debug("Retry: %s", url)
new_promise = self.urlopen(
method,
url,
body,
headers,
retries=retries,
redirect=redirect,
assert_same_host=assert_same_host,
timeout=timeout,
pool_timeout=pool_timeout,
release_conn=False,
chunked=chunked,
body_pos=body_pos,
preload_content=preload_content,
decode_content=decode_content,
multiplexed=True,
**response_kw,
)
return self.get_response(promise=new_promise if promise else None)
return response
|
(self, *, promise: Optional[urllib3_future.backend._base.ResponsePromise] = None) -> urllib3_future.response.HTTPResponse | None
|
[
-0.006544474977999926,
-0.08594253659248352,
-0.07836905866861343,
0.031364087015390396,
-0.038134943693876266,
0.04031643643975258,
-0.04379447549581528,
0.00945141538977623,
-0.024099308997392654,
-0.04124253988265991,
0.05280856043100357,
0.043629832565784454,
0.04828093945980072,
0.03615925461053848,
0.009122133255004883,
0.010969198308885098,
0.08586021512746811,
-0.018254557624459267,
-0.006729695945978165,
-0.08153839409351349,
0.00840182974934578,
0.04247734695672989,
0.03901989012956619,
0.021382734179496765,
-0.018100205808877945,
0.004190624691545963,
-0.03856712579727173,
-0.008761981502175331,
0.001350569655187428,
0.007871892303228378,
-0.00169142778031528,
-0.010310634970664978,
-0.02875041402876377,
0.03461574390530586,
0.018923411145806313,
0.03829958289861679,
-0.022905662655830383,
-0.011000068858265877,
-0.06787320226430893,
0.013150690123438835,
-0.03531546890735626,
-0.05643066018819809,
-0.04778701439499855,
-0.0033108252100646496,
-0.015229281038045883,
0.030664363875985146,
-0.055772099643945694,
0.03152872994542122,
0.018789639696478844,
-0.0031950620468705893,
0.021176932379603386,
0.050544749945402145,
-0.010907458141446114,
-0.009682941250503063,
0.06725580245256424,
0.05700690299272537,
-0.05585441738367081,
0.06087596341967583,
-0.006575345061719418,
-0.004170044790953398,
-0.029182596132159233,
0.010588466189801693,
-0.02469613216817379,
-0.01834716834127903,
-0.02079620026051998,
-0.018110496923327446,
-0.0030304212123155594,
0.006441574543714523,
0.019695164635777473,
-0.06495082378387451,
0.01472506858408451,
0.042600829154253006,
-0.02210303768515587,
-0.0034909010864794254,
0.06680303812026978,
-0.0453585609793663,
0.03035566210746765,
-0.02008618786931038,
-0.0031024515628814697,
-0.0003456815320532769,
0.012461256235837936,
-0.01276995800435543,
0.040769197046756744,
-0.03955497220158577,
0.035685911774635315,
-0.05684226378798485,
0.04770469292998314,
-0.02551933564245701,
-0.06639143079519272,
-0.005124447401612997,
-0.024654971435666084,
-0.0038896407932043076,
-0.001823912258259952,
-0.018439779058098793,
0.016639018431305885,
-0.01053187157958746,
-0.011957043781876564,
-0.003856198163703084,
0.023173203691840172,
-0.02267928048968315,
-0.043629832565784454,
0.021176932379603386,
-0.061493366956710815,
0.02204129844903946,
0.050544749945402145,
-0.0219795573502779,
0.04877486079931259,
0.008273203857243061,
0.030808424577116966,
-0.017668023705482483,
-0.03457458317279816,
-0.016927139833569527,
-0.002578945131972432,
0.007419129833579063,
0.005541194695979357,
0.030170440673828125,
-0.0293060764670372,
-0.015856973826885223,
-0.019293852150440216,
0.005433149170130491,
-0.04828093945980072,
-0.013397651724517345,
-0.010588466189801693,
0.0033185426145792007,
0.005181042477488518,
0.049145303666591644,
-0.00765580078586936,
-0.021856077015399933,
0.0004537271161098033,
-0.001023217337206006,
-0.000911956129129976,
0.03932859003543854,
-0.007979937829077244,
0.0787806585431099,
-0.02519005537033081,
0.05494889244437218,
-0.0906348004937172,
0.03879350796341896,
-0.049556903541088104,
0.01328446064144373,
0.03126118704676628,
0.01708149164915085,
-0.010238604620099068,
-0.0005157890263944864,
0.028832733631134033,
-0.04527624323964119,
0.023420164361596107,
-0.03261947259306908,
-0.0060196821577847,
-0.03440994396805763,
0.005927071440964937,
-0.0705074593424797,
0.04159240052103996,
0.00017557406681589782,
-0.019273273646831512,
-0.007280213758349419,
-0.010856008157134056,
0.007563190534710884,
-0.02726864628493786,
-0.05906491354107857,
0.00035854411544278264,
-0.028235910460352898,
0.017060911282896996,
-0.057665467262268066,
-0.010063673369586468,
-0.03782624378800392,
0.036653175950050354,
-0.036385633051395416,
0.035480108112096786,
0.03327803686261177,
-0.02580745704472065,
0.016443507745862007,
-0.03747637942433357,
-0.00692520709708333,
-0.020117057487368584,
0.05412568897008896,
0.06289281696081161,
0.004717990290373564,
-0.06124640628695488,
-0.034842126071453094,
0.06453922390937805,
-0.06812016665935516,
-0.0432593896985054,
0.00247733062133193,
-0.023132042959332466,
0.03189916908740997,
0.016340607777237892,
0.007573480252176523,
0.027597926557064056,
0.05342596396803856,
-0.024572651833295822,
0.04019295424222946,
0.0739237517118454,
-0.03389544039964676,
0.04136602208018303,
-0.01806933619081974,
-0.020487498492002487,
0.01946878433227539,
0.07083673775196075,
0.001557657029479742,
-0.06062900274991989,
0.010485566221177578,
0.0251077339053154,
-0.0032619473058730364,
-0.040625136345624924,
-0.03340151906013489,
-0.03117886558175087,
-0.015404212288558483,
-0.01876905933022499,
0.019283562898635864,
-0.03620041161775589,
0.04770469292998314,
-0.010763397440314293,
0.0008978073019534349,
0.006014537066221237,
0.034430522471666336,
-0.01652582734823227,
-0.043506354093551636,
0.031158287078142166,
-0.002025854540988803,
0.03432762250304222,
-0.0363033153116703,
-0.03675607591867447,
-0.007959357462823391,
0.0014830541331321,
0.02393466793000698,
-0.02309088408946991,
0.02189723774790764,
0.035130247473716736,
0.007542610168457031,
0.016073066741228104,
0.044329557567834854,
0.09425690025091171,
-0.05700690299272537,
0.02805068902671337,
-0.03144640848040581,
-0.040007732808589935,
0.05684226378798485,
-0.03772334009408951,
0.036241572350263596,
0.006611360237002373,
0.014889709651470184,
0.005013829097151756,
0.01728729158639908,
-0.06161684915423393,
0.018882250413298607,
-0.00554633978754282,
0.021176932379603386,
0.0009556888253428042,
-0.02127983421087265,
-0.00014783914957661182,
-0.055772099643945694,
-0.01632002741098404,
-0.06828480213880539,
0.000889446644578129,
-0.049145303666591644,
0.02154737524688244,
-0.05614253878593445,
-0.01598045602440834,
0.024819612503051758,
0.05297320336103439,
0.01367548294365406,
-0.04089267924427986,
0.007712396327406168,
-0.07762817293405533,
0.0006530969403684139,
-0.0052041951566934586,
-0.017071200534701347,
-0.01639205776154995,
0.010490710847079754,
0.11030939221382141,
0.00030098410206846893,
-0.0012663198867812753,
0.0015293593751266599,
-0.024531491100788116,
0.009590331465005875,
0.022164778783917427,
0.00002106245665345341,
-0.03710593655705452,
-0.03934916853904724,
-0.007861602120101452,
0.004694837611168623,
0.028915055096149445,
-0.02741270698606968,
-0.01828542724251747,
0.02679530344903469,
-0.03601519390940666,
0.08083867281675339,
0.02531353570520878,
-0.02693936415016651,
0.01653611846268177,
-0.03440994396805763,
0.030849585309624672,
-0.014344336465001106,
-0.04688148945569992,
-0.017945855855941772,
-0.06968425214290619,
0.02693936415016651,
-0.013047789223492146,
-0.02420220896601677,
-0.008880317211151123,
-0.027947789058089256,
0.07281243056058884,
0.01931443251669407,
0.011030938476324081,
-0.07203038781881332,
0.02008618786931038,
-0.007151588331907988,
-0.051532596349716187,
0.004033701494336128,
0.023070303723216057,
0.04729309305548668,
-0.007352244108915329,
-0.04791049659252167,
0.024716712534427643,
0.01968487538397312,
0.03461574390530586,
0.03259889408946037,
0.03998715430498123,
-0.005819025915116072,
-0.061987292021512985,
0.005716125480830669,
0.025992678478360176,
0.01598045602440834,
0.027248065918684006,
0.008597341366112232,
0.019283562898635864,
0.03525372967123985,
-0.032331351190805435,
0.026033839210867882,
-0.03897872939705849,
0.0006540616159327328,
-0.08318480104207993,
-0.03762044012546539,
-0.02210303768515587,
-0.010897167958319187,
-0.015671754255890846,
-0.026959944516420364,
-0.0016116799088194966,
-0.04243618622422218,
0.00024856915115378797,
-0.05309668183326721,
0.0010373661061748862,
0.031014226377010345,
-0.010305490344762802,
-0.015620303340256214,
0.035130247473716736,
0.007146443240344524,
0.05622486025094986,
-0.07223618775606155,
-0.02644544094800949,
-0.021876657381653786,
0.03259889408946037,
0.0634690597653389,
0.014694198034703732,
-0.02218535915017128,
-0.009091263636946678,
-0.010470130480825901,
-0.058282870799303055,
-0.023399585857987404,
-0.02134157344698906,
0.0016026761149987578,
-0.04103673994541168,
0.0341835618019104,
-0.022020718082785606,
0.0011370510328561068,
0.033092815428972244,
0.007012672256678343,
-0.03261947259306908,
0.002040003426373005,
-0.053755246102809906,
-0.04009005427360535,
-0.04107790067791939,
0.014004765078425407,
-0.004077434074133635,
-0.005181042477488518,
-0.06528010964393616,
0.01890283077955246,
-0.0334632582962513,
0.03467748686671257,
0.048857182264328,
-0.022494060918688774,
-0.03821726515889168,
-0.04011063277721405,
0.016505248844623566,
-0.04622292518615723,
0.036858975887298584,
-0.018254557624459267,
0.001417455030605197,
0.02352306619286537,
0.024593232199549675,
0.0071824584156274796,
0.006493024528026581,
0.01968487538397312,
0.0046845474280416965,
-0.022020718082785606,
-0.021938396617770195,
0.027947789058089256,
-0.018727900460362434,
-0.05589557811617851,
0.058570992201566696,
0.05387872830033302,
0.028853313997387886,
0.03727057948708534,
-0.04507043957710266,
0.03070552460849285,
0.08112679421901703,
-0.029841158539056778,
0.0016502675134688616,
0.00676571112126112,
-0.04235386475920677,
-0.006400414276868105,
-0.055154696106910706,
-0.044123753905296326,
-0.02119751274585724,
0.028153590857982635,
0.003447168506681919,
0.03601519390940666,
0.047128450125455856,
-0.015805523842573166,
0.05614253878593445,
-0.020765330642461777,
-0.019407043233513832,
0.0022355143446475267,
-0.02154737524688244,
0.011699792928993702,
0.005515469238162041,
0.025375274941325188,
-0.07281243056058884,
0.032537154853343964,
0.06614447385072708,
-0.012029074132442474,
-0.011668922379612923,
-0.02127983421087265,
0.06997237354516983,
0.02352306619286537,
-0.034224722534418106,
0.05803591012954712,
0.014385497197508812,
-0.011740952730178833,
0.0390610471367836,
0.046346407383680344,
-0.02352306619286537,
0.018522098660469055,
0.10858065634965897,
-0.012821408919990063,
-0.011144129559397697,
-0.010238604620099068,
-0.04288895055651665,
-0.03757927939295769,
0.0010849576210603118,
0.007640365976840258,
0.05754198879003525,
0.03871118649840355,
-0.07795745879411697,
0.039513811469078064,
0.009219889529049397,
0.019849516451358795,
-0.061287567019462585,
0.007676381152123213,
0.012162844650447369,
-0.029285496100783348,
0.12323369830846786,
-0.0017750344704836607,
-0.03984309360384941,
0.02770082838833332,
0.0404604971408844,
-0.004905783571302891,
-0.04223038628697395,
-0.006215193308889866,
-0.019993577152490616,
-0.03829958289861679,
-0.012862568721175194,
-0.010449551045894623,
-0.025025414302945137,
-0.03344267979264259,
-0.011421960778534412,
0.02650718204677105,
0.03175510838627815,
-0.014272306114435196,
-0.0047411429695785046,
-0.007347099017351866,
0.08668342232704163,
-0.0320843905210495,
-0.010315780527889729,
-0.05589557811617851,
0.03270179405808449,
0.007825586944818497,
-0.014231146313250065,
-0.0035912292078137398,
-0.02498425357043743,
0.07758701592683792,
0.009250759147107601,
0.012780248187482357,
-0.05013314634561539,
0.03657085448503494,
-0.04560552164912224,
-0.01548653282225132,
0.04737541452050209,
-0.05177955701947212,
0.022967401891946793,
-0.0857779011130333,
0.05980579927563667,
0.0018187671666964889,
0.033586740493774414,
0.020137637853622437,
-0.021465053781867027,
0.028647512197494507,
0.017740054056048393,
0.006009391974657774,
-0.0077021061442792416,
0.03803204372525215,
-0.03189916908740997,
-0.02455207146704197,
-0.010197444818913937,
0.04581132531166077,
0.02805068902671337,
0.06577403098344803,
-0.028770994395017624,
-0.030046960338950157,
0.09870220720767975,
0.07495275884866714,
-0.0002752589643932879,
0.00460222689434886,
-0.047128450125455856,
0.011391091160476208,
0.013881283812224865,
-0.02455207146704197,
0.01189530361443758,
-0.018367748707532883,
0.02072416990995407,
-0.008535600267350674,
-0.018604420125484467,
-0.036241572350263596,
0.028791572898626328,
0.011957043781876564,
-0.09796132147312164,
-0.04424723610281944,
-0.007197893224656582,
-0.027165744453668594,
0.0003923083422705531,
0.10010165721178055,
-0.01973632536828518,
0.0007357389549724758,
-0.061081767082214355,
-0.021938396617770195,
0.0032387948594987392,
0.04288895055651665,
-0.012821408919990063,
-0.025683976709842682,
-0.007187603507190943,
-0.04795165732502937,
0.0760640874505043,
-0.031837429851293564,
-0.07766933739185333,
-0.033874861896038055,
0.05844751372933388,
-0.06025856360793114,
0.020528659224510193,
-0.0014058788074180484,
-0.0004958520294167101,
-0.009122133255004883,
-0.0037713050842285156,
-0.0035269162617623806,
0.012492126785218716,
0.031014226377010345,
0.05499005317687988,
0.05754198879003525,
0.01589813455939293,
-0.02393466793000698,
0.06437458097934723,
0.012101104483008385,
-0.041324861347675323,
-0.013438811525702477,
0.02274102158844471,
0.02119751274585724,
0.01123674027621746,
-0.005834461189806461,
0.08145607262849808,
0.0969734787940979,
0.057871267199516296,
0.009713811799883842,
-0.03747637942433357,
-0.07655800879001617,
-0.022494060918688774,
0.00734195439144969,
0.008468715474009514,
0.05643066018819809,
0.041551243513822556,
-0.0026175326202064753,
-0.07301823049783707,
-0.011679212562739849,
-0.004507043864578009,
-0.0474577322602272,
0.03181685134768486,
0.06565055251121521,
-0.04848673939704895,
0.0268570426851511,
0.01140138041228056,
0.02887389436364174,
0.04134543985128403,
0.057583145797252655,
-0.0334632582962513,
-0.029841158539056778,
-0.010223169811069965,
-0.0021634839940816164,
-0.05400220677256584,
0.008623066358268261,
0.021753177046775818,
-0.019232112914323807,
0.02420220896601677,
-0.014282596297562122,
0.013397651724517345,
-0.048033975064754486,
-0.10026629269123077,
-0.025704557076096535,
-0.10479392111301422,
0.0893176794052124,
-0.03021160140633583,
-0.040995579212903976,
0.006107147783041,
-0.022987982258200645,
-0.027947789058089256,
0.049639225006103516,
-0.06313977390527725,
0.024449169635772705,
0.03731174021959305,
-0.010408390313386917,
-0.05972347781062126,
0.01807962730526924,
0.016268577426671982,
0.02247348055243492,
0.048939500004053116,
-0.008268059231340885,
-0.012975758872926235,
0.0118644330650568,
0.05482541397213936,
0.00013401189062278718,
0.03829958289861679,
0.025725137442350388,
0.030726104974746704,
-0.047334253787994385,
-0.0170917809009552,
-0.006549620069563389,
-0.017194682732224464,
0.03731174021959305,
0.0023975828662514687,
-0.026610082015395164,
0.04408259689807892,
-0.01765773445367813,
-0.005716125480830669,
0.05297320336103439,
0.03362790122628212,
-0.02267928048968315,
-0.04840441793203354,
-0.03200206905603409,
-0.0008502157870680094,
0.015321891754865646,
0.023564225062727928,
0.01555856317281723,
0.0146530382335186,
-0.008612776175141335,
0.05980579927563667,
-0.025498755276203156,
0.014375207014381886,
0.00885973684489727,
-0.02601325884461403,
-0.043712154030799866,
0.016001034528017044,
0.007305939216166735,
0.012996339239180088,
-0.029038535431027412,
-0.008756836876273155,
0.026177899911999702,
0.028009530156850815,
-0.03126118704676628,
-0.02156795561313629,
-0.03459516540169716,
-0.01785324513912201,
0.02574571780860424,
0.05630718171596527,
0.027783147990703583,
-0.08355524390935898,
0.0376821793615818,
0.0021043161395937204,
-0.0022959685884416103,
0.022967401891946793,
0.003462603548541665,
-0.021094612777233124,
-0.05560745671391487,
0.021176932379603386,
0.000026307972802896984,
0.007259633857756853,
0.03021160140633583,
-0.05951767787337303,
0.019777486100792885,
-0.04848673939704895,
-0.07141298055648804,
-0.0077021061442792416,
0.032475411891937256,
0.07264778763055801,
-0.0697665736079216,
-0.014838259667158127,
-0.012471546418964863,
0.0002273458958370611,
0.046346407383680344,
-0.006071132607758045,
0.037764500826597214,
0.01904689148068428,
0.015671754255890846,
-0.01989067532122135,
0.02761850692331791,
0.05568977817893028,
-0.026877623051404953,
-0.0341835618019104,
0.03360731899738312,
-0.02910027466714382,
0.04725193232297897,
-0.04449419677257538,
0.03502734750509262,
-0.059476517140865326,
-0.009075828827917576,
0.06116408482193947,
0.0029352381825447083,
0.009147859178483486,
0.028565192595124245,
0.039102207869291306,
0.03531546890735626,
0.023193784058094025,
0.03438936546444893,
-0.025416435673832893,
0.03605635091662407,
-0.03920510783791542,
-0.04019295424222946,
-0.016340607777237892,
-0.05017430707812309,
0.03803204372525215,
0.011689502745866776,
0.027515606954693794,
0.0005897487862966955,
0.00903981365263462,
-0.0453585609793663,
-0.01833687722682953,
-0.017400482669472694,
0.026671823114156723,
-0.03089074417948723,
0.02463439106941223,
-0.02623964101076126,
0.014930869452655315,
0.0017235842533409595,
0.018604420125484467,
0.028194749727845192,
-0.010310634970664978,
0.02274102158844471,
-0.012471546418964863,
-0.021362153813242912,
0.009569751098752022,
0.031837429851293564,
0.0033802830148488283,
0.02658950164914131,
-0.022061876952648163,
0.07067209482192993,
0.02580745704472065,
0.011843853630125523,
-0.04128370061516762,
0.03130234777927399,
-0.010928038507699966,
0.00027477662661112845
] |
710,127
|
urllib3_future._request_methods
|
request
|
Make a request using :meth:`urlopen` with the appropriate encoding of
``fields`` based on the ``method`` used.
This is a convenience method that requires the least amount of manual
effort. It can be used in most situations, while still having the
option to drop down to more specific methods when necessary, such as
:meth:`request_encode_url`, :meth:`request_encode_body`,
or even the lowest level :meth:`urlopen`.
|
def request(
self,
method: str,
url: str,
body: _TYPE_BODY | None = None,
fields: _TYPE_FIELDS | None = None,
headers: typing.Mapping[str, str] | None = None,
json: typing.Any | None = None,
**urlopen_kw: typing.Any,
) -> HTTPResponse | ResponsePromise:
"""
Make a request using :meth:`urlopen` with the appropriate encoding of
``fields`` based on the ``method`` used.
This is a convenience method that requires the least amount of manual
effort. It can be used in most situations, while still having the
option to drop down to more specific methods when necessary, such as
:meth:`request_encode_url`, :meth:`request_encode_body`,
or even the lowest level :meth:`urlopen`.
"""
method = method.upper()
if json is not None and body is not None:
raise TypeError(
"request got values for both 'body' and 'json' parameters which are mutually exclusive"
)
if json is not None:
if headers is None:
headers = self.headers.copy() # type: ignore
if not ("content-type" in map(str.lower, headers.keys())):
headers["Content-Type"] = "application/json" # type: ignore
body = _json.dumps(json, separators=(",", ":"), ensure_ascii=False).encode(
"utf-8"
)
if body is not None:
urlopen_kw["body"] = body
if method in self._encode_url_methods:
return self.request_encode_url(
method,
url,
fields=fields, # type: ignore[arg-type]
headers=headers,
**urlopen_kw,
)
else:
return self.request_encode_body( # type: ignore[no-any-return]
method,
url,
fields=fields,
headers=headers,
**urlopen_kw,
)
|
(self, method: 'str', url: 'str', body: '_TYPE_BODY | None' = None, fields: '_TYPE_FIELDS | None' = None, headers: 'typing.Mapping[str, str] | None' = None, json: 'typing.Any | None' = None, **urlopen_kw: 'typing.Any') -> 'HTTPResponse | ResponsePromise'
|
[
-0.015595123171806335,
-0.07755614072084427,
-0.009787734597921371,
-0.010608039796352386,
-0.06372281163930893,
0.01073854323476553,
-0.04258130490779877,
0.011111408472061157,
-0.04161185398697853,
-0.01656457595527172,
0.06741418689489365,
0.027032790705561638,
0.04552694782614708,
0.05723494291305542,
-0.0066323550418019295,
0.0055510434322059155,
0.0009170175180770457,
0.008575920015573502,
0.011502917855978012,
-0.1034330502152443,
0.013796044513583183,
0.030705520883202553,
0.04053054004907608,
0.030500443652272224,
0.021961811929941177,
0.05947213992476463,
-0.03881535679101944,
-0.028803903609514236,
-0.015427333302795887,
0.04515407979488373,
0.05835353955626488,
0.03644765913486481,
-0.0041947434656322,
0.0014017433859407902,
0.018736520782113075,
0.015362082049250603,
-0.021160149946808815,
0.0239007156342268,
-0.06670574098825455,
0.0016056544845923781,
-0.09008444100618362,
-0.028636114671826363,
0.02004155144095421,
-0.032868143171072006,
0.02212960086762905,
-0.007051829714328051,
-0.06122460961341858,
0.00827762670814991,
0.007014542818069458,
0.02511253021657467,
0.01634085550904274,
0.027032790705561638,
0.024851523339748383,
-0.05824168026447296,
-0.019594112411141396,
0.04273045063018799,
-0.08173224329948425,
-0.00948944129049778,
0.005937892012298107,
0.02917676977813244,
0.019389035180211067,
0.04336432367563248,
0.026510776951909065,
-0.022670257836580276,
-0.06029244512319565,
-0.007541216444224119,
-0.037137459963560104,
0.04172371327877045,
0.028785260394215584,
-0.016816260293126106,
0.008641171269118786,
0.05458759143948555,
-0.009825021028518677,
0.0030481801368296146,
0.08255254477262497,
0.012463048100471497,
-0.003213639371097088,
-0.029307272285223007,
-0.015856130048632622,
-0.03076145052909851,
0.06439396739006042,
-0.038517065346241,
0.017095908522605896,
-0.0713665634393692,
-0.02597012184560299,
-0.026603994891047478,
-0.005266733467578888,
-0.01612645760178566,
0.025858262553811073,
-0.037062887102365494,
-0.05667564272880554,
-0.03038858436048031,
-0.03680188208818436,
-0.024366797879338264,
-0.02227874845266342,
0.015427333302795887,
0.02690228633582592,
-0.017599279060959816,
-0.013106242753565311,
-0.008515329100191593,
0.028002241626381874,
-0.03644765913486481,
-0.06167204678058624,
-0.010850402526557446,
0.019594112411141396,
-0.0021801013499498367,
0.024105791002511978,
0.020302558317780495,
-0.0001892004074761644,
0.006031108554452658,
-0.016443394124507904,
-0.006912004668265581,
-0.03933737054467201,
0.035571422427892685,
-0.0006193072185851634,
0.0520893894135952,
-0.0021218410693109035,
-0.019519539549946785,
-0.0435134693980217,
-0.01448584720492363,
-0.06864464282989502,
0.01647135801613331,
0.0399712435901165,
-0.013068955391645432,
0.07285802811384201,
0.005905266385525465,
-0.016601862385869026,
-0.028859833255410194,
0.015157005749642849,
-0.034862976521253586,
0.01584680750966072,
0.02697686105966568,
0.021458443254232407,
0.11014463752508163,
0.006599729415029287,
0.03559006750583649,
-0.12177805602550507,
0.020563563331961632,
0.010319068096578121,
0.0692412257194519,
0.015175648964941502,
0.000797583837993443,
0.02548539638519287,
-0.03516127169132233,
-0.04836072772741318,
-0.03739846497774124,
0.0025448109954595566,
-0.08881669491529465,
-0.03025808185338974,
0.028636114671826363,
0.02654806338250637,
-0.011307163164019585,
0.06312622874975204,
0.008799639530479908,
0.02291261963546276,
-0.04768957197666168,
0.017739104107022285,
-0.03148853778839111,
-0.005881962366402149,
0.033502016216516495,
0.027946311980485916,
0.013749436475336552,
0.02104828879237175,
-0.01755267009139061,
0.012155434116721153,
-0.04750313609838486,
0.026436204090714455,
-0.03683916851878166,
0.020321201533079147,
-0.03180547431111336,
-0.04381176456809044,
0.0167789738625288,
-0.026212485507130623,
-0.015613766387104988,
0.019239889457821846,
-0.01576291397213936,
0.01597731187939644,
0.004134152550250292,
-0.07576638460159302,
-0.022577039897441864,
0.057048507034778595,
-0.042133867740631104,
-0.00038568335003219545,
0.010729221627116203,
-0.004921832121908665,
0.03611207753419876,
-0.014905321411788464,
-0.027778523042798042,
-0.0014856382040306926,
0.028841190040111542,
-0.005984500516206026,
-0.012369832023978233,
0.028673401102423668,
-0.050486065447330475,
-0.0239007156342268,
-0.059546712785959244,
-0.046496398746967316,
0.031003814190626144,
0.026939572766423225,
0.02677178382873535,
-0.017440810799598694,
0.0203398447483778,
0.025820976123213768,
0.029064910486340523,
-0.038778070360422134,
-0.008184410631656647,
-0.030668234452605247,
-0.03439689427614212,
0.005024370271712542,
-0.00043229159200564027,
0.02518710307776928,
-0.016751008108258247,
-0.057197656482458115,
-0.015492585487663746,
-0.018177220597863197,
0.024571873247623444,
0.015884093940258026,
-0.043215177953243256,
-0.03320372477173805,
-0.03372573480010033,
0.04832344129681587,
0.03874078392982483,
-0.02748022973537445,
-0.03081738017499447,
0.020526276901364326,
-0.005336645524948835,
0.009862307459115982,
-0.0024585856590420008,
-0.04444563388824463,
-0.06521427631378174,
-0.013553681783378124,
0.00026697793509811163,
0.04914374649524689,
-0.012034252285957336,
-0.046496398746967316,
-0.017785711213946342,
0.009666552767157555,
-0.0008581745787523687,
-0.04026953503489494,
-0.02455323003232479,
0.05059792473912239,
0.002714931033551693,
-0.0406796894967556,
0.014252805151045322,
-0.049628473818302155,
-0.005243428982794285,
-0.013721471652388573,
0.01713319681584835,
-0.01248169131577015,
-0.02725650928914547,
-0.0022558397613465786,
-0.034862976521253586,
-0.018783127889037132,
-0.026958215981721878,
0.010421606712043285,
-0.04619810730218887,
0.038293346762657166,
-0.011307163164019585,
-0.000760297232773155,
-0.004847258795052767,
0.009806377813220024,
0.0018282089149579406,
-0.008291609585285187,
0.038703497499227524,
-0.03447146713733673,
0.00795136857777834,
0.009564015083014965,
0.00031926657538861036,
-0.02589554898440838,
-0.02091778628528118,
0.06215677410364151,
0.006413296330720186,
0.05958399921655655,
0.014579063281416893,
0.01458838488906622,
-0.016312889754772186,
-0.0015928372740745544,
-0.023154983296990395,
0.003539897268638015,
-0.08501346409320831,
-0.005723494105041027,
-0.04757770895957947,
0.056190915405750275,
-0.06666845083236694,
0.016545932739973068,
-0.022949906066060066,
-0.014383308589458466,
0.09537914395332336,
0.006147629115730524,
-0.011428344994783401,
0.07666126638650894,
0.04340161010622978,
0.023882072418928146,
0.010822437703609467,
-0.024273581802845,
-0.026249771937727928,
-0.06334994733333588,
0.04593709856271744,
0.06357366591691971,
-0.03859163820743561,
-0.037566255778074265,
0.03605614975094795,
0.052126675844192505,
-0.005807389039546251,
0.01662982627749443,
-0.08053907006978989,
-0.017300985753536224,
-0.04295417293906212,
-0.0742003470659256,
-0.01288252230733633,
0.0004229699552524835,
0.022670257836580276,
0.010309746488928795,
-0.0664074495434761,
-0.04123898595571518,
-0.002624044893309474,
0.0031810137443244457,
0.03503076732158661,
0.024348154664039612,
0.009564015083014965,
0.024515943601727486,
0.006348044611513615,
-0.037510327994823456,
-0.005015048664063215,
-0.006273471750319004,
0.003915093839168549,
0.022856689989566803,
0.04489307478070259,
-0.03126481920480728,
0.015595123171806335,
0.023285485804080963,
0.0664074495434761,
0.009741125628352165,
-0.04679469019174576,
-0.07185129076242447,
-0.0012945444323122501,
-0.012789306230843067,
-0.034303680062294006,
0.0363730862736702,
-0.018214507028460503,
-0.049852192401885986,
-0.010570753365755081,
0.00772764952853322,
-0.041201699525117874,
-0.015073111280798912,
-0.02869204431772232,
0.0885184034705162,
0.008589901961386204,
0.0913521870970726,
-0.06685488671064377,
-0.06316351145505905,
-0.03805098310112953,
0.039635661989450455,
0.015856130048632622,
-0.05029963329434395,
-0.0022721525747328997,
-0.024665091186761856,
-0.06599729508161545,
-0.015595123171806335,
-0.014336700551211834,
0.014812104403972626,
0.03896450251340866,
-0.04802514985203743,
0.031227532774209976,
-0.04343889653682709,
-0.02205502800643444,
0.05663835629820824,
0.014196875505149364,
-0.03888992965221405,
-0.00960130151361227,
-0.0011104417499154806,
-0.0018060699803754687,
-0.023154983296990395,
0.040567830204963684,
-0.007475964725017548,
-0.008930142037570477,
-0.010263138450682163,
-0.02470237761735916,
-0.01523157861083746,
0.04601167142391205,
0.022949906066060066,
-0.042208440601825714,
-0.018289079889655113,
-0.04194743186235428,
0.08299998939037323,
-0.025951478630304337,
0.05346899479627609,
0.04914374649524689,
-0.007867474108934402,
-0.013497752137482166,
0.0031180924270302057,
-0.02354649268090725,
-0.009498762898147106,
0.03618665039539337,
0.004658495541661978,
-0.022427894175052643,
0.007806883193552494,
0.013208780437707901,
-0.03674595057964325,
-0.0008290443802252412,
0.018428904935717583,
-0.02061949297785759,
0.016723042353987694,
0.027648018673062325,
-0.005830693058669567,
0.07009882479906082,
0.04515407979488373,
-0.053058840334415436,
0.031078387051820755,
-0.04500493407249451,
-0.012509657070040703,
-0.03327829763293266,
-0.05730951577425003,
-0.028990337625145912,
-0.01564173214137554,
0.004185421857982874,
-0.008361521176993847,
-0.001863165176473558,
0.0385543517768383,
0.02091778628528118,
0.010645326226949692,
-0.002061250153928995,
-0.029885215684771538,
0.029008980840444565,
-0.005569687113165855,
0.024031218141317368,
-0.007429356221109629,
-0.018289079889655113,
0.02006019465625286,
0.026063337922096252,
0.060478877276182175,
0.036932382732629776,
-0.017012014985084534,
-0.0077323103323578835,
0.053692713379859924,
0.03741711005568504,
-0.022148244082927704,
-0.01359096821397543,
0.036652736365795135,
0.007121741771697998,
-0.009330973029136658,
-0.007559859659522772,
-0.05044877901673317,
0.011726638302206993,
0.0033604553900659084,
-0.04097798094153404,
0.0671158954501152,
0.0019342427840456367,
-0.015147684141993523,
-0.010347033850848675,
0.0449676476418972,
0.03762218728661537,
0.039710234850645065,
0.015669696033000946,
-0.0820305347442627,
-0.028654757887125015,
0.05872640758752823,
0.016928119584918022,
-0.03937465697526932,
0.018997525796294212,
0.10716170817613602,
-0.05104536563158035,
0.05738408863544464,
0.018167899921536446,
-0.020582206547260284,
0.06581085920333862,
-0.007149707060307264,
-0.007200975902378559,
-0.0036214618012309074,
-0.03366980701684952,
-0.019146673381328583,
0.034732475876808167,
-0.04336432367563248,
0.03126481920480728,
-0.002521506743505597,
0.01337657030671835,
0.012090181931853294,
-0.0002245935465907678,
-0.032364774495363235,
-0.10395506024360657,
0.044408347457647324,
-0.044855788350105286,
0.06238049268722534,
-0.008408130146563053,
0.03381895273923874,
-0.05074707046151161,
0.01073854323476553,
0.025988765060901642,
0.04332703724503517,
-0.007853491231799126,
0.052835121750831604,
0.05865183100104332,
0.008780996315181255,
0.027890382334589958,
-0.04429648816585541,
0.024739664047956467,
-0.06450583040714264,
-0.06088902801275253,
-0.04824886843562126,
0.0029945806600153446,
0.04287959635257721,
-0.027722591534256935,
0.1091751828789711,
0.03982209786772728,
-0.023658351972699165,
0.0012665793765336275,
0.02733108215034008,
0.04612353444099426,
-0.0037496343720704317,
-0.0016685756854712963,
-0.018867023289203644,
0.03683916851878166,
-0.012938452884554863,
-0.04910646006464958,
0.0047820075415074825,
0.0031297446694225073,
-0.0011465632123872638,
0.06170933321118355,
-0.02013476751744747,
-0.006520495284348726,
0.036279868334531784,
0.060329731553792953,
0.06771247833967209,
-0.018894987180829048,
-0.013301997445523739,
0.01323674526065588,
0.02811410091817379,
0.0231922697275877,
0.002698618220165372,
-0.012388475239276886,
0.02377021126449108,
0.009424190036952496,
-0.03503076732158661,
-0.009377581998705864,
0.05913655832409859,
0.02589554898440838,
-0.03760354220867157,
-0.0032346132211387157,
0.03268171101808548,
0.0089254816994071,
0.025224389508366585,
0.1077582910656929,
-0.017739104107022285,
0.03534770384430885,
-0.05276054888963699,
-0.05544518306851387,
0.0535435676574707,
0.010552110150456429,
0.029586922377347946,
-0.03381895273923874,
-0.04724213108420372,
-0.015744268894195557,
0.029027624055743217,
0.012071538716554642,
-0.03676459565758705,
0.004171438980847597,
0.02561589889228344,
-0.030314011499285698,
0.04310331866145134,
-0.0335206612944603,
-0.0196313988417387,
0.028225962072610855,
-0.087101511657238,
0.047130271792411804,
-0.028654757887125015,
0.03366980701684952,
0.0763629674911499,
0.05764509364962578,
0.01998562179505825,
-0.04302874580025673,
0.04795057699084282,
0.04026953503489494,
-0.03562735393643379,
-0.010924975387752056,
0.04616082087159157,
0.025000670924782753,
-0.013068955391645432,
-0.01348843052983284,
-0.020283915102481842,
-0.0032532564364373684,
0.0012444405583664775,
-0.016228996217250824,
-0.05913655832409859,
-0.07837644964456558,
-0.013945191167294979,
-0.019444964826107025,
-0.019817830994725227,
0.004197073634713888,
0.03277492895722389,
-0.020992359146475792,
-0.010235173627734184,
-0.03941194340586662,
0.007420034613460302,
0.001804904779419303,
-0.013395213522017002,
0.05432658642530441,
-0.08247797191143036,
-0.007326818071305752,
-0.01534343883395195,
-0.00672557158395648,
0.03737982362508774,
0.012313902378082275,
-0.015576479956507683,
-0.06551256775856018,
0.032215628772974014,
0.027014147490262985,
-0.0692412257194519,
0.028524253517389297,
0.030425870791077614,
-0.026529420167207718,
0.05753323435783386,
0.005555704236030579,
0.016023918986320496,
-0.01169867254793644,
-0.04273045063018799,
-0.024441370740532875,
-0.05380457267165184,
0.00618957681581378,
0.03903907909989357,
-0.06122460961341858,
-0.03982209786772728,
-0.027088720351457596,
-0.021458443254232407,
0.03215969726443291,
-0.0018550086533650756,
0.04269316419959068,
-0.023080410435795784,
-0.004253003746271133,
-0.0634990930557251,
-0.053282562643289566,
0.022595683112740517,
0.027312438935041428,
0.048137009143829346,
-0.011064800433814526,
0.013255388475954533,
-0.020377131178975105,
0.026529420167207718,
-0.0015112727414816618,
-0.020358487963676453,
0.05346899479627609,
-0.029493706300854683,
0.02790902554988861,
-0.03161904215812683,
0.018727198243141174,
-0.05868912115693092,
0.009759769774973392,
-0.010561431758105755,
-0.019221246242523193,
0.01116733904927969,
-0.04742856323719025,
-0.02419900707900524,
0.07084455341100693,
0.059845004230737686,
-0.022017741575837135,
0.030351297929883003,
0.0020589197520166636,
-0.016396785154938698,
-0.022595683112740517,
0.027275152504444122,
0.0029526331927627325,
0.017012014985084534,
0.030724164098501205,
0.09940609335899353,
-0.024143077433109283,
-0.038293346762657166,
0.00034810544457286596,
0.009261061437427998,
-0.056414637714624405,
0.05835353955626488,
0.000931582588236779,
0.0047284080646932125,
-0.0005962944123893976,
0.04131355881690979,
0.03312915191054344,
0.04459478333592415,
0.05302155390381813,
-0.017086587846279144,
-0.06506513059139252,
-0.014401951804757118,
0.036727309226989746,
-0.0016173066105693579,
-0.012323223985731602,
-0.06659387797117233,
0.036074791103601456,
-0.03240206092596054,
0.03982209786772728,
0.025783687829971313,
0.02391935884952545,
-0.048994600772857666,
-0.043289750814437866,
0.043066032230854034,
-0.021533016115427017,
-0.02306176722049713,
0.0023548821918666363,
0.036429014056921005,
0.034005384892225266,
-0.024870166555047035,
-0.06860736012458801,
0.03389352560043335,
0.06312622874975204,
0.07763071358203888,
-0.02097371593117714,
0.015893416479229927,
0.03767811506986618,
-0.013357927091419697,
0.0549604594707489,
0.05786881223320961,
0.07233601808547974,
-0.012183398939669132,
0.030202152207493782,
-0.03825606033205986,
0.007224279921501875,
0.02047034725546837,
-0.03918822482228279,
-0.00938690360635519,
0.07125470787286758,
0.03717474639415741,
0.029437776654958725,
-0.051343657076358795,
0.021029645577073097,
-0.007811543997377157,
-0.01948225125670433,
0.019016169011592865,
-0.033091865479946136,
0.014308735728263855,
0.00020886326092295349,
-0.011008870787918568,
0.011642742902040482,
0.03726796433329582,
-0.022353321313858032,
0.009647909551858902,
0.07800358533859253,
0.0013889260590076447,
-0.014112981036305428,
-0.016033241525292397,
-0.07259702682495117,
0.006045090965926647,
-0.011773246340453625,
0.051492802798748016,
0.019183959811925888,
-0.03618665039539337,
0.003565531689673662,
0.0224838238209486,
-0.02539217844605446,
-0.00006466895865742117,
-0.01662050560116768,
0.05153008922934532,
-0.034359607845544815,
-0.0005450253374874592,
0.008720405399799347,
-0.016359498724341393,
0.00542054045945406,
0.036727309226989746,
0.009974167682230473,
0.021439798176288605,
-0.009582658298313618,
0.004145804792642593,
0.009862307459115982,
0.011474953033030033,
0.0030108934734016657,
-0.06398382037878036,
0.02268890105187893,
0.05082164704799652,
-0.03133939206600189,
-0.055482469499111176,
0.03038858436048031,
-0.014103659428656101,
-0.002901364117860794
] |
710,128
|
urllib3_future._request_methods
|
request_encode_body
|
Make a request using :meth:`urlopen` with the ``fields`` encoded in
the body. This is useful for request methods like POST, PUT, PATCH, etc.
When ``encode_multipart=True`` (default), then
:func:`urllib3.encode_multipart_formdata` is used to encode
the payload with the appropriate content type. Otherwise
:func:`urllib.parse.urlencode` is used with the
'application/x-www-form-urlencoded' content type.
Multipart encoding must be used when posting files, and it's reasonably
safe to use it in other times too. However, it may break request
signing, such as with OAuth.
Supports an optional ``fields`` parameter of key/value strings AND
key/filetuple. A filetuple is a (filename, data, MIME type) tuple where
the MIME type is optional. For example::
fields = {
'foo': 'bar',
'fakefile': ('foofile.txt', 'contents of foofile'),
'realfile': ('barfile.txt', open('realfile').read()),
'typedfile': ('bazfile.bin', open('bazfile').read(),
'image/jpeg'),
'nonamefile': 'contents of nonamefile field',
}
When uploading a file, providing a filename (the first parameter of the
tuple) is optional but recommended to best mimic behavior of browsers.
Note that if ``headers`` are supplied, the 'Content-Type' header will
be overwritten because it depends on the dynamic random boundary string
which is used to compose the body of the request. The random boundary
string can be explicitly set with the ``multipart_boundary`` parameter.
|
def request_encode_body(
self,
method: str,
url: str,
fields: _TYPE_FIELDS | None = None,
headers: typing.Mapping[str, str] | None = None,
encode_multipart: bool = True,
multipart_boundary: str | None = None,
**urlopen_kw: typing.Any,
) -> HTTPResponse | ResponsePromise:
"""
Make a request using :meth:`urlopen` with the ``fields`` encoded in
the body. This is useful for request methods like POST, PUT, PATCH, etc.
When ``encode_multipart=True`` (default), then
:func:`urllib3.encode_multipart_formdata` is used to encode
the payload with the appropriate content type. Otherwise
:func:`urllib.parse.urlencode` is used with the
'application/x-www-form-urlencoded' content type.
Multipart encoding must be used when posting files, and it's reasonably
safe to use it in other times too. However, it may break request
signing, such as with OAuth.
Supports an optional ``fields`` parameter of key/value strings AND
key/filetuple. A filetuple is a (filename, data, MIME type) tuple where
the MIME type is optional. For example::
fields = {
'foo': 'bar',
'fakefile': ('foofile.txt', 'contents of foofile'),
'realfile': ('barfile.txt', open('realfile').read()),
'typedfile': ('bazfile.bin', open('bazfile').read(),
'image/jpeg'),
'nonamefile': 'contents of nonamefile field',
}
When uploading a file, providing a filename (the first parameter of the
tuple) is optional but recommended to best mimic behavior of browsers.
Note that if ``headers`` are supplied, the 'Content-Type' header will
be overwritten because it depends on the dynamic random boundary string
which is used to compose the body of the request. The random boundary
string can be explicitly set with the ``multipart_boundary`` parameter.
"""
if headers is None:
headers = self.headers
extra_kw: dict[str, typing.Any] = {"headers": HTTPHeaderDict(headers)}
body: bytes | str
if fields:
if "body" in urlopen_kw:
raise TypeError(
"request got values for both 'fields' and 'body', can only specify one."
)
if encode_multipart:
body, content_type = encode_multipart_formdata(
fields, boundary=multipart_boundary
)
else:
body, content_type = (
urlencode(fields), # type: ignore[arg-type]
"application/x-www-form-urlencoded",
)
extra_kw["body"] = body
extra_kw["headers"].setdefault("Content-Type", content_type)
extra_kw.update(urlopen_kw)
return self.urlopen(method, url, **extra_kw) # type: ignore[no-any-return]
|
(self, method: 'str', url: 'str', fields: '_TYPE_FIELDS | None' = None, headers: 'typing.Mapping[str, str] | None' = None, encode_multipart: 'bool' = True, multipart_boundary: 'str | None' = None, **urlopen_kw: 'typing.Any') -> 'HTTPResponse | ResponsePromise'
|
[
-0.028763245791196823,
-0.04662957414984703,
-0.03958315774798393,
0.056448351591825485,
-0.06892397999763489,
0.008331522345542908,
-0.05640984699130058,
-0.017943337559700012,
-0.04593648388981819,
-0.011118323542177677,
0.0584891177713871,
0.019579799845814705,
-0.00037632635212503374,
0.04686060547828674,
0.019165871664881706,
-0.009443354792892933,
-0.019685689359903336,
-0.01846315525472164,
0.025451814755797386,
-0.08732937276363373,
0.005376262590289116,
0.03631022945046425,
0.0309965368360281,
0.007383336778730154,
0.04944043979048729,
0.03292178735136986,
-0.025086017325520515,
-0.06834640353918076,
-0.02585611864924431,
0.06938603520393372,
0.09364420175552368,
0.006820200942456722,
0.018713437020778656,
-0.0028830631636083126,
0.014545269310474396,
-0.037157341837882996,
-0.031054295599460602,
0.013101331889629364,
-0.04096933826804161,
0.0033643757924437523,
-0.07820368558168411,
-0.022948989644646645,
0.022217394784092903,
-0.02360357530415058,
0.02343030273914337,
-0.0005673473351635039,
-0.060529883950948715,
-0.010916171595454216,
0.0230645053088665,
0.060529883950948715,
0.02375759556889534,
0.01922362856566906,
0.004146508872509003,
-0.04890137165784836,
-0.004136882722377777,
0.07050268352031708,
-0.08263176679611206,
-0.02108149603009224,
0.007436281070113182,
0.02429666556417942,
0.008601058274507523,
0.03788893669843674,
0.06083792448043823,
-0.046514060348272324,
-0.06280168145895004,
0.013707785867154598,
-0.015382753685116768,
0.03898632898926735,
-0.015844814479351044,
-0.04019923508167267,
-0.008832087740302086,
0.008620310574769974,
-0.023180019110441208,
0.0007574658375233412,
0.052212800830602646,
0.04497385770082474,
0.0028421515598893166,
0.0021875661332160234,
0.01868455857038498,
-0.007907968014478683,
0.07704854011535645,
-0.027165288105607033,
0.021408788859844208,
-0.047938745468854904,
-0.006892397999763489,
-0.03178589046001434,
-0.02945633791387081,
0.018261004239320755,
0.038350995630025864,
-0.04751519113779068,
-0.029148297384381294,
-0.01000167801976204,
-0.008947603404521942,
-0.000060013677284587175,
-0.044396281242370605,
-0.011859544552862644,
0.018116610124707222,
-0.01827063038945198,
-0.05540871620178223,
0.007638432551175356,
0.0016930174315348268,
-0.05259785056114197,
-0.08748339861631393,
-0.012677776627242565,
0.042085982859134674,
0.00023599363339599222,
-0.005020091310143471,
-0.02710753120481968,
-0.0038168097380548716,
-0.0031405652407556772,
0.002307894406840205,
-0.0567178875207901,
-0.07073371112346649,
0.060876429080963135,
-0.026106400415301323,
0.035366855561733246,
0.0095155518501997,
0.0003670009318739176,
-0.020157376304268837,
-0.024527695029973984,
-0.024951249361038208,
0.023622827604413033,
0.01898297294974327,
-0.01044448558241129,
0.09680160880088806,
0.0309965368360281,
0.00509710144251585,
-0.018607549369335175,
0.0013488788390532136,
-0.0655355378985405,
0.010521495714783669,
0.032883282750844955,
0.021331777796149254,
0.07431468367576599,
-0.01365002803504467,
0.027261551469564438,
-0.10088314116001129,
-0.006329262163490057,
0.022756464779376984,
0.04123887047171593,
-0.006184868048876524,
-0.002393327420577407,
0.05425356701016426,
-0.028589973226189613,
-0.04304860904812813,
-0.04362618178129196,
0.011686271987855434,
-0.09156493097543716,
-0.04982548952102661,
0.002721823286265135,
0.0019661623518913984,
-0.017827821895480156,
0.0425865463912487,
0.022198140621185303,
0.047784723341464996,
-0.023160766810178757,
0.025143776088953018,
-0.016268368810415268,
-0.03480853512883186,
0.014959198422729969,
0.04150840640068054,
0.00894279032945633,
0.03881305456161499,
-0.017943337559700012,
0.016162481158971786,
-0.020985232666134834,
0.049555953592061996,
-0.035174332559108734,
0.02853221632540226,
-0.013082078658044338,
-0.021716829389333725,
0.015093966387212276,
-0.03082326427102089,
-0.008499981835484505,
-0.015219107270240784,
0.013669280335307121,
-0.004885323811322451,
-0.019291013479232788,
-0.08548113703727722,
0.01221571583300829,
0.03584817051887512,
-0.036233220249414444,
0.031959161162376404,
0.037157341837882996,
0.013043574057519436,
0.020523173734545708,
-0.044049736112356186,
-0.024219654500484467,
0.039255864918231964,
0.006343701388686895,
0.02254468761384487,
-0.04720715060830116,
-0.008235259912908077,
-0.04870884492993355,
-0.04755369573831558,
-0.06064540147781372,
-0.03973717615008354,
0.004136882722377777,
0.06788434088230133,
0.04886286333203316,
-0.009631067514419556,
0.0053618233650922775,
0.024854987859725952,
0.02375759556889534,
-0.024219654500484467,
0.012985816225409508,
-0.0007977758068591356,
-0.050788115710020065,
-0.009659945964813232,
-0.004707238171249628,
0.04470432177186012,
-0.026106400415301323,
-0.06680620461702347,
0.0041031907312572,
-0.004678359255194664,
0.026645470410585403,
0.014901441521942616,
-0.026106400415301323,
-0.02092747576534748,
-0.01939690113067627,
0.03692631050944328,
0.06542002409696579,
-0.030784759670495987,
-0.057526491582393646,
0.0443577766418457,
0.004088751506060362,
0.0059827170334756374,
0.003268113126978278,
-0.02266020141541958,
-0.04874734953045845,
-0.028474459424614906,
0.010964303277432919,
0.004317374899983406,
0.005352197214961052,
-0.019002225250005722,
0.0021863628644496202,
0.011474494822323322,
-0.01699996367096901,
-0.02343030273914337,
-0.020176628604531288,
0.04489684849977493,
-0.005188550800085068,
-0.049016885459423065,
-0.012032817117869854,
-0.056101806461811066,
-0.040122225880622864,
-0.016836317256093025,
0.01632612757384777,
-0.015036208555102348,
-0.007864649407565594,
-0.01453564316034317,
-0.03309506177902222,
-0.027916137129068375,
0.013226472772657871,
0.043164122849702835,
0.0031429720111191273,
0.03779267147183418,
-0.021832343190908432,
-0.004591722972691059,
-0.015642663463950157,
0.031805142760276794,
-0.03155485913157463,
0.00010370784730184823,
0.02462395839393139,
-0.035540129989385605,
0.009428915567696095,
0.004991212859749794,
-0.010723646730184555,
-0.018578670918941498,
-0.028147166594862938,
0.07181185483932495,
0.040122225880622864,
0.03209393098950386,
-0.0016063811490312219,
0.00893316324800253,
-0.019541295245289803,
0.03754239156842232,
-0.010531121864914894,
-0.00021313127945177257,
-0.0744301974773407,
0.008437411859631538,
-0.030361205339431763,
0.04732266440987587,
-0.06168503686785698,
0.03973717615008354,
0.005352197214961052,
-0.027531085535883904,
0.07134979218244553,
-0.005357010290026665,
-0.012745160609483719,
0.03634873405098915,
0.06222410500049591,
0.05198176950216293,
-0.013226472772657871,
-0.04639854282140732,
-0.02266020141541958,
-0.04686060547828674,
0.004745743237435818,
0.06961707025766373,
-0.038350995630025864,
-0.041046347469091415,
0.06530451029539108,
0.041046347469091415,
-0.01926213502883911,
0.040507275611162186,
-0.09133389592170715,
-0.026529956609010696,
-0.0656125470995903,
-0.0832478404045105,
-0.014920693822205067,
-0.0026183410082012415,
0.0690779983997345,
-0.009173819795250893,
-0.06676770001649857,
-0.020484669134020805,
-0.04200897365808487,
0.021158505231142044,
0.04089232534170151,
0.016942206770181656,
-0.006930902600288391,
0.05640984699130058,
-0.052405327558517456,
-0.04462731257081032,
-0.014680037274956703,
0.026972763240337372,
-0.008105305954813957,
0.03840875253081322,
0.015690794214606285,
-0.01027121301740408,
-0.007474786136299372,
-0.0007171559263952076,
0.06780733168125153,
0.015979580581188202,
-0.0390440858900547,
-0.04693761467933655,
0.00523186894133687,
0.0026544395368546247,
-0.04362618178129196,
0.04678359255194664,
-0.026510702446103096,
-0.08070651441812515,
-0.020869718864560127,
-0.012523756362497807,
-0.02337254397571087,
-0.04520488902926445,
-0.028763245791196823,
0.0726974681019783,
0.020061112940311432,
0.08779143542051315,
-0.0443577766418457,
-0.04347216337919235,
-0.10011304169893265,
0.05640984699130058,
0.0011605651816353202,
-0.04177794232964516,
-0.0037012945394963026,
-0.043510667979717255,
-0.044742826372385025,
-0.010993181727826595,
0.04693761467933655,
0.036464251577854156,
0.019599052146077156,
-0.009554057382047176,
0.039775680750608444,
-0.013014695607125759,
-0.0036940749268978834,
0.007725068833678961,
0.04585947468876839,
-0.061569519340991974,
0.002004667418077588,
0.007190811447799206,
-0.0004127256397623569,
-0.016489772126078606,
0.021004486829042435,
-0.003200729377567768,
-0.0001373245322611183,
-0.03760014846920967,
-0.02747332863509655,
-0.030091669410467148,
0.03584817051887512,
0.01266815047711134,
-0.02870548889040947,
-0.013467129319906235,
-0.03833174332976341,
0.05706443265080452,
-0.025028260424733162,
0.06480394303798676,
0.03326833248138428,
-0.0036411306355148554,
-0.014006199315190315,
-0.009602188132703304,
-0.008548113517463207,
-0.01589294523000717,
0.014352744445204735,
-0.02868623659014702,
-0.023468807339668274,
-0.010242334567010403,
-0.0034173200838267803,
-0.02075420320034027,
-0.04354917258024216,
0.021678322926163673,
-0.054330576211214066,
-0.01205207034945488,
0.026683975011110306,
0.008273765444755554,
0.06861593574285507,
0.01775081269443035,
-0.018232125788927078,
0.026318177580833435,
-0.04162392020225525,
0.018607549369335175,
-0.001066709286533296,
-0.013149462640285492,
-0.02535555325448513,
-0.013765542767941952,
-0.006367766764014959,
-0.041931960731744766,
-0.03328758478164673,
0.0256828460842371,
0.02431591786444187,
0.00276995450258255,
0.020600182935595512,
-0.04162392020225525,
0.03013017401099205,
-0.027069026604294777,
0.011397484689950943,
-0.0050249043852090836,
-0.0292830653488636,
0.031054295599460602,
0.03328758478164673,
0.034115444868803024,
0.047977250069379807,
-0.060375865548849106,
0.04131588339805603,
0.0460519976913929,
0.05513918399810791,
-0.029148297384381294,
-0.0021755334455519915,
0.02674173377454281,
-0.02021513320505619,
0.004437703173607588,
-0.0068683321587741375,
-0.03702257201075554,
-0.012369736097753048,
0.022121131420135498,
-0.0292253065854311,
0.021177759394049644,
-0.01566191576421261,
-0.03488554432988167,
0.004801094066351652,
0.03263299912214279,
0.018925216048955917,
-0.002364448504522443,
0.01436237059533596,
-0.05232831463217735,
0.00971770379692316,
0.06576656550168991,
-0.006464029662311077,
-0.052405327558517456,
-0.03602144122123718,
0.10303942114114761,
-0.039429135620594025,
0.09264306724071503,
0.049517448991537094,
0.028474459424614906,
0.03875529766082764,
-0.015546400099992752,
-0.011763282120227814,
0.0010041386121883988,
-0.02360357530415058,
-0.007282261271029711,
0.04686060547828674,
-0.04301010072231293,
0.036406490951776505,
0.043164122849702835,
0.03140084072947502,
0.0005709571996703744,
0.032864030450582504,
-0.037138085812330246,
-0.11058640480041504,
0.03530909866094589,
-0.031054295599460602,
0.04466581717133522,
0.0053618233650922775,
0.026164157316088676,
-0.04555143415927887,
0.011946180835366249,
0.006180054973810911,
0.05040306597948074,
-0.000026961031835526228,
0.0726974681019783,
0.006598797161132097,
0.013370866887271404,
0.054869648069143295,
-0.03134308382868767,
0.005068222526460886,
-0.06426487118005753,
-0.02976437658071518,
-0.02995690144598484,
-0.01515172328799963,
0.03477003052830696,
-0.024508442729711533,
0.0867903083562851,
0.031959161162376404,
-0.002183956326916814,
-0.0003949772217310965,
0.014237229712307453,
0.009698450565338135,
0.0073111397214233875,
-0.010973929427564144,
-0.05051857978105545,
0.0034943302161991596,
-0.021890101954340935,
-0.05244383215904236,
0.01646089367568493,
0.01934877038002014,
-0.00961181428283453,
0.04162392020225525,
-0.007778013125061989,
-0.01738501526415348,
0.02962961047887802,
0.0531369224190712,
0.03242122381925583,
-0.009414476342499256,
-0.0006166818784549832,
0.0353861078619957,
0.020465414971113205,
0.01669192500412464,
0.008721386082470417,
-0.0068153878673911095,
0.013601896353065968,
0.009347092360258102,
0.005689116194844246,
0.011955806985497475,
0.059836793690919876,
0.02443143166601658,
-0.04320262745022774,
-0.002736262744292617,
0.02518228068947792,
0.02907128632068634,
-0.0018181586638092995,
0.10835311561822891,
-0.02129327319562435,
0.026452945545315742,
-0.029109792783856392,
-0.03207467868924141,
0.0636872947216034,
-0.022236647084355354,
0.04100784286856651,
-0.04150840640068054,
-0.05933623015880585,
0.013149462640285492,
0.03436572477221489,
-0.0002562990121077746,
-0.0265684612095356,
-0.015276865102350712,
0.023468807339668274,
-0.03082326427102089,
0.016297247260808945,
-0.04412674903869629,
-0.004459362011402845,
0.0336148776113987,
-0.09094884991645813,
0.024585451930761337,
-0.05729546397924423,
0.026298925280570984,
0.06950155645608902,
0.041392892599105835,
-0.005328131373971701,
-0.03030344657599926,
0.031612616032361984,
0.048824358731508255,
-0.017548661679029465,
-0.019685689359903336,
0.07023315131664276,
-0.006569918245077133,
-0.015093966387212276,
0.0011310848640277982,
-0.027011267840862274,
-0.053637485951185226,
0.027338560670614243,
-0.010165324434638023,
-0.030707750469446182,
-0.08555814623832703,
-0.030938779935240746,
-0.033942170441150665,
-0.009457794018089771,
0.009698450565338135,
0.005438833497464657,
0.002844558097422123,
-0.018376518040895462,
-0.0041031907312572,
0.02163981832563877,
0.001720692845992744,
0.019291013479232788,
0.04662957414984703,
-0.08609721809625626,
-0.002158687449991703,
-0.044396281242370605,
-0.00252929818816483,
0.05798855423927307,
0.0031501916237175465,
-0.036791540682315826,
-0.01762567088007927,
-0.002890282776206732,
0.008620310574769974,
-0.05421506240963936,
0.04339515417814255,
0.05402253568172455,
-0.013948441483080387,
0.0425865463912487,
0.012697028927505016,
0.037138085812330246,
-0.04697611927986145,
-0.025836866348981857,
-0.017683427780866623,
-0.06430337578058243,
0.011002807877957821,
0.05329094082117081,
-0.046360038220882416,
-0.044742826372385025,
-0.03505881503224373,
-0.02835894376039505,
0.022968241944909096,
0.005506217014044523,
0.02194785885512829,
-0.024566199630498886,
0.006464029662311077,
-0.04162392020225525,
-0.04886286333203316,
0.006829827092587948,
0.034115444868803024,
0.06357178092002869,
-0.03309506177902222,
0.04763070493936539,
0.01221571583300829,
0.009963172487914562,
-0.015007330104708672,
-0.030072417110204697,
0.018540164455771446,
-0.02870548889040947,
0.026972763240337372,
-0.03702257201075554,
-0.018925216048955917,
-0.047784723341464996,
-0.020484669134020805,
-0.0034269464667886496,
-0.0531754270195961,
-0.006902024149894714,
-0.052559345960617065,
-0.03561713919043541,
0.07570086419582367,
0.06676770001649857,
-0.022082626819610596,
0.022621696814894676,
0.009101622737944126,
0.004182607401162386,
-0.009963172487914562,
0.016432015225291252,
-0.002239307388663292,
0.01983008347451687,
0.0026135279331356287,
0.1292228400707245,
-0.018001094460487366,
-0.06345626711845398,
0.0047096447087824345,
0.022409919649362564,
-0.04994100704789162,
0.056448351591825485,
-0.013804048299789429,
0.01249487791210413,
0.007094549015164375,
0.04362618178129196,
0.043510667979717255,
0.06095343828201294,
0.07577787339687347,
-0.013428623788058758,
-0.07770311832427979,
0.00157389254309237,
0.04046877101063728,
0.02909053862094879,
-0.015421259216964245,
-0.04362618178129196,
0.04378020390868187,
0.007224503438919783,
0.007359270937740803,
0.02604864351451397,
0.033749647438526154,
-0.0363679863512516,
-0.0265684612095356,
0.05710293725132942,
-0.028416700661182404,
-0.016345379874110222,
-0.02377684786915779,
0.024335170164704323,
0.03915959969162941,
0.009741769172251225,
-0.034115444868803024,
0.055909283459186554,
0.0584891177713871,
0.02570209838449955,
-0.013852179050445557,
0.01549826841801405,
0.022409919649362564,
-0.0337303951382637,
0.047245655208826065,
0.04662957414984703,
0.06291719526052475,
-0.015989208593964577,
0.021928606554865837,
-0.027242299169301987,
0.019406527280807495,
0.0190311037003994,
-0.03328758478164673,
0.016470519825816154,
0.05783453211188316,
0.025413310155272484,
0.043857213109731674,
-0.008947603404521942,
0.00314778508618474,
-0.007652871776372194,
0.03790818899869919,
0.015045834705233574,
-0.0265684612095356,
0.0004458158800844103,
-0.02747332863509655,
-0.03157411143183708,
0.02924455888569355,
0.0066709937527775764,
-0.012552634812891483,
0.04162392020225525,
0.09880387037992477,
-0.005130793433636427,
-0.018155114725232124,
-0.043318141251802444,
-0.04397272691130638,
-0.005799817852675915,
0.008177503012120724,
0.015642663463950157,
0.004591722972691059,
0.004651887342333794,
-0.01125309057533741,
0.029013529419898987,
0.012793291360139847,
-0.0015726892743259668,
-0.0043318141251802444,
0.07593189179897308,
-0.053098417818546295,
-0.026683975011110306,
0.00242942594923079,
-0.018626801669597626,
0.0013741477159783244,
0.007243756204843521,
-0.01434311829507351,
0.017606418579816818,
-0.0009457794367335737,
-0.005390702281147242,
0.02058093063533306,
0.009963172487914562,
0.009034239687025547,
-0.03652200847864151,
0.040661297738552094,
0.04008372128009796,
-0.00851923506706953,
-0.056101806461811066,
0.04470432177186012,
-0.015517521649599075,
0.005260747857391834
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.