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
|
|---|---|---|---|---|---|---|
710,129
|
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.
|
def request_encode_url(
self,
method: str,
url: str,
fields: _TYPE_ENCODE_URL_FIELDS | None = None,
headers: typing.Mapping[str, str] | None = None,
**urlopen_kw: typing.Any,
) -> HTTPResponse | ResponsePromise:
"""
Make a request using :meth:`urlopen` with the ``fields`` encoded in
the url. This is useful for request methods like GET, HEAD, DELETE, etc.
"""
if headers is None:
headers = self.headers
extra_kw: dict[str, typing.Any] = {"headers": headers}
extra_kw.update(urlopen_kw)
if fields:
url += "?" + urlencode(fields)
return self.urlopen(method, url, **extra_kw) # type: ignore[no-any-return]
|
(self, method: 'str', url: 'str', fields: '_TYPE_ENCODE_URL_FIELDS | None' = None, headers: 'typing.Mapping[str, str] | None' = None, **urlopen_kw: 'typing.Any') -> 'HTTPResponse | ResponsePromise'
|
[
-0.054133784025907516,
-0.04518252983689308,
-0.023923296481370926,
0.050119929015636444,
-0.033957939594984055,
0.04152388125658035,
-0.061699725687503815,
-0.008773651905357838,
-0.0014807756524533033,
-0.020815221592783928,
0.04031617194414139,
0.009999120607972145,
0.046958573162555695,
0.037794191390275955,
0.039037421345710754,
-0.016002146527171135,
-0.03248382359743118,
-0.027652986347675323,
0.025521734729409218,
-0.09981360286474228,
0.003054793691262603,
0.04184356704354286,
0.02537965215742588,
-0.022236056625843048,
0.044614195823669434,
0.06972744315862656,
-0.04010304808616638,
-0.05189597234129906,
-0.04816628247499466,
0.03559189662337303,
0.07050889730453491,
0.05665576457977295,
-0.0076369838789105415,
-0.012654305435717106,
0.02346152625977993,
-0.03761658817529678,
0.002404317958280444,
0.0306367389857769,
-0.06887494027614594,
-0.03981887921690941,
-0.09476964175701141,
-0.025841422379016876,
0.02458043210208416,
-0.04685200750827789,
0.04972919821739197,
0.006065186113119125,
-0.07150348275899887,
-0.005177164915949106,
0.02315959893167019,
-0.008960136212408543,
0.017440740019083023,
0.04926742613315582,
0.038469087332487106,
-0.038611169904470444,
0.002659624209627509,
0.0536009706556797,
-0.05317472293972969,
0.022626785561442375,
0.029109342023730278,
0.02866533026099205,
0.023106316104531288,
0.029517831280827522,
0.017227614298462868,
0.019767357036471367,
-0.05690441280603409,
0.03964127600193024,
-0.03365601226687431,
0.04049377515912056,
-0.0023665770422667265,
-0.03559189662337303,
0.03546757623553276,
0.00773910665884614,
-0.01838204264640808,
0.008249718695878983,
0.06670816987752914,
0.044294506311416626,
-0.014927639625966549,
-0.027706267312169075,
0.024349546059966087,
-0.023426003754138947,
0.039463672786951065,
-0.05363649129867554,
0.011659720912575722,
-0.08063234388828278,
-0.030174966901540756,
-0.04017408937215805,
-0.02786611206829548,
-0.027351059019565582,
0.013666649349033833,
0.012494460679590702,
-0.0408489853143692,
-0.01027440745383501,
-0.03775867074728012,
0.0016239691758528352,
-0.022200535982847214,
0.008897974155843258,
0.03493476286530495,
-0.012529982253909111,
-0.03782971203327179,
-0.02314183861017227,
0.033016636967659,
-0.06752514839172363,
-0.08489484339952469,
-0.015247327275574207,
-0.006220589857548475,
-0.02681824564933777,
0.008174236863851547,
-0.013790972530841827,
-0.03509460762143135,
0.016082067042589188,
0.0032301777973771095,
-0.020353451371192932,
-0.03269694745540619,
0.028256841003894806,
0.007530421484261751,
0.038966380059719086,
0.001905915909446776,
-0.030849862843751907,
0.014403707347810268,
-0.0369061678647995,
-0.04276711121201515,
0.020655378699302673,
-0.011277872137725353,
-0.009874798357486725,
0.0698695257306099,
0.03466835618019104,
0.009164380840957165,
-0.02134803496301174,
-0.018914856016635895,
-0.04784659296274185,
0.0018004634184762836,
0.03864669054746628,
0.004395706113427877,
0.07050889730453491,
0.00386955332942307,
0.0009451877558603883,
-0.08205317705869675,
0.023621369153261185,
0.032164134085178375,
0.09469860047101974,
-0.006855525076389313,
-0.007326176390051842,
0.04642575979232788,
-0.003607586957514286,
0.005616735201328993,
-0.06226805970072746,
0.013808732852339745,
-0.06017233058810234,
-0.016597120091319084,
-0.0011333372676745057,
0.043370965868234634,
-0.028878455981612206,
0.0510079488158226,
-0.008209757506847382,
0.026409756392240524,
-0.00433354452252388,
0.010958184488117695,
-0.015282847918570042,
0.015149645507335663,
-0.005257086828351021,
0.02482907846570015,
-0.014465868473052979,
0.011082506738603115,
-0.016925688832998276,
0.04631919786334038,
0.008209757506847382,
0.050865866243839264,
-0.02983751893043518,
0.017041129991412163,
-0.014554671011865139,
0.0016261892160400748,
-0.033407364040613174,
-0.01058521494269371,
0.006136227864772081,
0.006797804031521082,
-0.016472797840833664,
0.014092899858951569,
-0.01925230398774147,
-0.060882747173309326,
-0.004395706113427877,
0.04230533912777901,
-0.06411514431238174,
-0.0005194925470277667,
0.024722516536712646,
0.019589751958847046,
-0.027066892012953758,
-0.002728445688262582,
0.0024309586733579636,
0.00042042264249175787,
0.01291183102875948,
0.013968576677143574,
-0.06901702284812927,
0.005896462127566338,
-0.052783992141485214,
-0.042056694626808167,
-0.08354505151510239,
-0.04585742577910423,
0.0006349352770484984,
0.012414539232850075,
0.05502180755138397,
-0.006313832011073828,
0.05850284919142723,
-0.007561502046883106,
-0.006118467543274164,
0.003263478633016348,
0.013515685684978962,
-0.012245815247297287,
-0.053281284868717194,
0.05040409415960312,
-0.0038384725339710712,
0.0778617188334465,
-0.039534714072942734,
-0.041452839970588684,
-0.0046399119310081005,
-0.057614829391241074,
0.03479268029332161,
0.009164380840957165,
0.002810587640851736,
0.01838204264640808,
-0.03367377072572708,
0.037296898663043976,
0.05107899010181427,
-0.033584970980882645,
-0.08489484339952469,
0.04319336265325546,
-0.038113877177238464,
0.006686801090836525,
-0.010158964432775974,
-0.07317296415567398,
-0.07487796247005463,
-0.008422883227467537,
0.02136579528450966,
-0.006340472958981991,
0.012956231832504272,
0.01825772039592266,
-0.015957744792103767,
0.020087044686079025,
0.006673480849713087,
-0.0319332480430603,
-0.029677676036953926,
0.03623127192258835,
0.0406358577311039,
-0.049622636288404465,
-0.009945839643478394,
-0.04081346467137337,
-0.02092178352177143,
-0.013169357553124428,
0.03145371749997139,
-0.015202926471829414,
-0.021046107634902,
-0.009306464344263077,
-0.04781107231974602,
-0.04614159092307091,
-0.029855279251933098,
0.005634495988488197,
-0.01820443943142891,
-0.0036586481146514416,
0.019358865916728973,
0.0060829464346170425,
-0.016082067042589188,
-0.024864599108695984,
-0.013879774138331413,
0.007175212725996971,
0.004275823011994362,
0.0020557695534080267,
-0.006229470018297434,
0.015300609171390533,
0.014874358661472797,
0.008636008016765118,
-0.0019325566245242953,
0.012965112924575806,
0.03635559603571892,
0.013870893977582455,
0.02438506856560707,
0.014678994193673134,
-0.014323784969747066,
0.0318799689412117,
-0.06042097508907318,
0.003267918713390827,
-0.0878075584769249,
0.0017904731212183833,
-0.04756242781877518,
0.04908982291817665,
-0.05534149333834648,
0.02402985841035843,
0.0003238503122702241,
-0.007339497096836567,
0.09242526441812515,
0.024100901558995247,
-0.0010400951141491532,
0.03630231320858002,
0.055945347994565964,
0.03127611428499222,
0.004555549938231707,
-0.018541887402534485,
-0.02928694523870945,
0.006322712171822786,
0.04276711121201515,
0.03232397884130478,
-0.027208976447582245,
-0.05679784715175629,
0.03999648243188858,
0.0370127335190773,
0.005119443405419588,
0.035876065492630005,
-0.07857213169336319,
-0.03033481165766716,
-0.03372705355286598,
-0.06319160014390945,
-0.024154182523489,
0.010345449671149254,
0.06990504264831543,
-0.02111714892089367,
-0.0585738904774189,
-0.009111099876463413,
-0.014403707347810268,
-0.0022489142138510942,
0.043370965868234634,
0.015673577785491943,
0.028949497267603874,
0.05200253427028656,
-0.04493388161063194,
-0.018435323610901833,
0.016046546399593353,
-0.008733690716326237,
-0.0011721882037818432,
0.0776485949754715,
0.014865478500723839,
-0.01244117971509695,
-0.01606430672109127,
0.004813075996935368,
0.06496764719486237,
-0.006842204835265875,
-0.05061722174286842,
-0.06649504601955414,
-0.00773910665884614,
-0.02600126713514328,
-0.0496581569314003,
0.02545069344341755,
0.008538326248526573,
-0.05811212211847305,
-0.03818492218852043,
-0.031844448298215866,
-0.052535347640514374,
-0.02209397219121456,
-0.050368573516607285,
0.036870647221803665,
0.01037209015339613,
0.04067138209939003,
-0.020406732335686684,
-0.0178581103682518,
-0.07388337701559067,
0.03665752336382866,
0.009226541966199875,
-0.017662744969129562,
0.01197940856218338,
-0.020104805007576942,
-0.03591158613562584,
-0.02198741026222706,
0.010780579410493374,
0.029357988387346268,
-0.01813339628279209,
-0.0023599169217050076,
0.003327860264107585,
-0.02809699811041355,
-0.02296423353254795,
0.044614195823669434,
0.022271577268838882,
-0.031098509207367897,
-0.014270504005253315,
-0.010887142270803452,
0.01027440745383501,
0.007184093352407217,
0.034703876823186874,
-0.024118661880493164,
0.001273200730793178,
0.036320075392723083,
-0.018559647724032402,
-0.029251424595713615,
0.03205757215619087,
0.01705889031291008,
-0.014714514836668968,
0.010940423235297203,
-0.017041129991412163,
0.06130899861454964,
-0.024242984130978584,
0.07214286178350449,
0.04536013305187225,
0.013329201377928257,
-0.00046454620314761996,
-0.009679432958364487,
-0.0040560378693044186,
-0.016748083755373955,
0.060136809945106506,
-0.02005152404308319,
-0.022324858233332634,
-0.01593998447060585,
-0.009466308169066906,
0.007361697498708963,
-0.010780579410493374,
0.0046132709830999374,
-0.06560701876878738,
0.0015218466287478805,
0.024740276858210564,
0.009555110707879066,
0.06155764311552048,
0.01683688536286354,
-0.044116903096437454,
0.038113877177238464,
-0.08979672193527222,
-0.03623127192258835,
-0.019518710672855377,
-0.03468611463904381,
-0.048450447618961334,
0.006313832011073828,
-0.02655184082686901,
-0.06031441316008568,
-0.020033763721585274,
0.008471724577248096,
0.017023369669914246,
-0.006566918455064297,
-0.02031792886555195,
-0.037048254162073135,
0.03267918899655342,
-0.014909879304468632,
0.01596662402153015,
0.01500756200402975,
-0.031915489584207535,
0.050865866243839264,
0.03630231320858002,
0.03038809262216091,
0.07068650424480438,
-0.011064746417105198,
-0.000518382468726486,
0.03484595939517021,
0.04610607028007507,
0.00793447159230709,
0.007246254477649927,
0.022644545882940292,
-0.004180360585451126,
-0.02946455031633377,
-0.04536013305187225,
-0.030068404972553253,
-0.028771894052624702,
0.04610607028007507,
-0.022644545882940292,
-0.004160380456596613,
0.0027839471586048603,
-0.028452206403017044,
0.01730753667652607,
0.02179204486310482,
0.04440107196569443,
0.00835628155618906,
0.01244117971509695,
-0.03552085533738136,
-0.005265966989099979,
0.049125343561172485,
0.014590191654860973,
-0.04749138280749321,
0.02061985619366169,
0.09207005798816681,
-0.00567889679223299,
0.049800239503383636,
0.022999754175543785,
0.004535569343715906,
0.057295139878988266,
-0.04660336300730705,
0.02037121169269085,
0.019731836393475533,
-0.04759794846177101,
-0.05516389012336731,
0.05260638892650604,
-0.04241190105676651,
0.04930294677615166,
0.007264015264809132,
0.03518340736627579,
-0.010540814138948917,
0.03076106123626232,
-0.02829236164689064,
-0.09832172840833664,
-0.002357696881517768,
-0.029926320537924767,
0.06393753737211227,
-0.007610343396663666,
0.019714076071977615,
-0.012476700358092785,
0.016801364719867706,
0.013666649349033833,
0.03800731524825096,
0.02246694080531597,
0.03747450187802315,
0.06546493619680405,
0.002524200826883316,
0.057614829391241074,
-0.023053035140037537,
0.03719033673405647,
-0.07757754623889923,
-0.026214390993118286,
-0.04248294234275818,
-0.006722322199493647,
0.055945347994565964,
-0.0038984138518571854,
0.10173173248767853,
0.02402985841035843,
-0.014172821305692196,
0.035005804151296616,
0.029020538553595543,
0.054702118039131165,
0.013400242663919926,
0.01399521715939045,
-0.014323784969747066,
0.0042403023689985275,
0.00006746881263097748,
-0.05324576422572136,
0.0030281529761850834,
-0.0008008843287825584,
-0.011348913423717022,
0.007663624826818705,
-0.04418794438242912,
0.023266160860657692,
0.0018581848125904799,
0.07502004504203796,
0.06812900304794312,
-0.03374481201171875,
-0.00045372344902716577,
0.04901878163218498,
0.0074904607608914375,
0.03616023063659668,
-0.04077794402837753,
0.026853768154978752,
0.02946455031633377,
0.002040229272097349,
0.0022844350896775723,
0.010034642182290554,
0.07146796584129333,
0.07779067754745483,
-0.04525357112288475,
0.02283991128206253,
0.03015720658004284,
0.03546757623553276,
-0.004910758230835199,
0.05793451517820358,
-0.017751548439264297,
0.003298999508842826,
-0.03342512622475624,
-0.0572240985929966,
0.05875149741768837,
0.013853133656084538,
0.020087044686079025,
-0.036799605935811996,
-0.05566118285059929,
0.032785750925540924,
0.02216501347720623,
-0.0010323248570784926,
0.016348473727703094,
-0.00309475464746356,
0.019163502380251884,
-0.02662288211286068,
0.013346961699426174,
-0.02159668132662773,
-0.011881726793944836,
0.02742210030555725,
-0.07736442238092422,
0.021134909242391586,
-0.0789983868598938,
0.018861575052142143,
0.07473587989807129,
0.025024443864822388,
0.00016317392874043435,
-0.03871773183345795,
0.07473587989807129,
0.03028153069317341,
-0.018488606438040733,
0.0235325675457716,
0.03028153069317341,
-0.011473236605525017,
0.0022466941736638546,
-0.027208976447582245,
0.009035618044435978,
-0.01813339628279209,
-0.018985897302627563,
-0.003776310943067074,
-0.04908982291817665,
-0.059532955288887024,
-0.027777308598160744,
-0.036373358219861984,
0.020584335550665855,
0.0031236151698976755,
0.030547935515642166,
-0.004187020938843489,
-0.009936959482729435,
-0.07295984029769897,
-0.008747010491788387,
0.04756242781877518,
0.011650840751826763,
-0.021436836570501328,
-0.10684673488140106,
-0.00448894826695323,
-0.0636533722281456,
0.014155060984194279,
0.03914398327469826,
-0.0010750609217211604,
-0.016899047419428825,
-0.010380970314145088,
0.021703243255615234,
-0.007716905791312456,
-0.05772139132022858,
0.045963987708091736,
-0.0028239081148058176,
-0.028150279074907303,
0.04805971682071686,
0.006464795675128698,
0.011721882969141006,
-0.0010989265283569694,
-0.019021417945623398,
0.001660600071772933,
-0.05182492733001709,
-0.010913782753050327,
0.02234261855483055,
-0.021081628277897835,
-0.01043425127863884,
-0.003143595764413476,
-0.007144132163375616,
0.03647992014884949,
0.006558037828654051,
0.024402828887104988,
0.017866991460323334,
0.016605999320745468,
-0.03797179460525513,
-0.073812335729599,
-0.006486996542662382,
0.04102658852934837,
0.023941056802868843,
-0.01900365762412548,
-0.0007270675268955529,
-0.02958887256681919,
0.02482907846570015,
-0.0035387652460485697,
-0.038469087332487106,
-0.005021761171519756,
-0.054702118039131165,
0.03546757623553276,
-0.05740170180797577,
0.011064746417105198,
-0.02784835174679756,
0.03070778027176857,
-0.02928694523870945,
-0.06074066460132599,
-0.021063867956399918,
-0.07843004912137985,
-0.0023177359253168106,
0.034082259982824326,
0.0981796458363533,
-0.015549254603683949,
0.046035028994083405,
-0.007099730893969536,
-0.04742034152150154,
-0.006016345228999853,
0.02408314123749733,
0.014794436283409595,
0.023692410439252853,
0.01284966990351677,
0.09476964175701141,
-0.04049377515912056,
-0.04855700954794884,
0.014980921521782875,
0.02717345580458641,
-0.06077618524432182,
0.011730763129889965,
-0.015069723129272461,
0.008498365059494972,
-0.03607143089175224,
0.038966380059719086,
0.04756242781877518,
0.08162692934274673,
0.05999472737312317,
-0.025788141414523125,
-0.07317296415567398,
-0.0073927780613303185,
0.029304705560207367,
-0.005825420375913382,
-0.039463672786951065,
-0.014048499055206776,
-0.005354769062250853,
-0.03914398327469826,
0.03864669054746628,
0.009341984987258911,
0.005621175281703472,
-0.024793557822704315,
-0.007672504987567663,
0.058715976774692535,
0.005354769062250853,
-0.02278662845492363,
-0.01554037444293499,
0.025610536336898804,
0.04877013713121414,
0.023301681503653526,
-0.060634102672338486,
0.0814848467707634,
0.046461280435323715,
0.07129035890102386,
-0.009706074371933937,
0.03232397884130478,
-0.008920175023376942,
-0.024065380915999413,
0.024314025416970253,
0.07036681473255157,
0.046461280435323715,
-0.02784835174679756,
0.05647816136479378,
-0.020726419985294342,
-0.02358584851026535,
-0.03269694745540619,
-0.04248294234275818,
0.020584335550665855,
0.0433354452252388,
0.03733241930603981,
0.014714514836668968,
-0.03910846263170242,
0.03967679664492607,
0.0434420071542263,
0.007286215666681528,
0.02159668132662773,
-0.013950816355645657,
-0.018346522003412247,
0.01244117971509695,
-0.016499437391757965,
0.022520223632454872,
0.0009007867192849517,
-0.04649680107831955,
-0.012565502896904945,
0.08702609688043594,
-0.01880829408764839,
0.019234543666243553,
-0.022857671603560448,
-0.036941688507795334,
-0.049196384847164154,
-0.008236398920416832,
0.051469720900058746,
0.02662288211286068,
-0.0016095387982204556,
0.013320321217179298,
0.04752690717577934,
-0.019092461094260216,
0.023852255195379257,
0.0005386404809542,
0.05900014191865921,
-0.046887531876564026,
-0.0072062937542796135,
-0.0024575991556048393,
-0.01522956695407629,
0.03491700068116188,
0.029748717322945595,
0.0037785309832543135,
0.0497647188603878,
-0.044472113251686096,
-0.015709098428487778,
0.048805657774209976,
0.009945839643478394,
0.006304951850324869,
-0.07970879971981049,
0.030920905992388725,
0.0045000482350587845,
-0.027688506990671158,
-0.06191285327076912,
0.06077618524432182,
0.028025954961776733,
-0.015469333156943321
] |
710,130
|
urllib3_future.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.
|
def urlopen(
self,
method: str,
url: str,
body: _TYPE_BODY | None = None,
headers: typing.Mapping[str, str] | None = None,
retries: Retry | bool | int | None = None,
redirect: bool = True,
assert_same_host: bool = True,
timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
pool_timeout: int | None = None,
release_conn: bool | None = None,
chunked: bool = False,
body_pos: _TYPE_BODY_POSITION | None = None,
preload_content: bool = True,
decode_content: 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: bool = False,
**response_kw: typing.Any,
) -> HTTPResponse | ResponsePromise:
"""
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.
"""
parsed_url = parse_url(url)
destination_scheme = parsed_url.scheme
if headers is None:
headers = self.headers
if not isinstance(retries, Retry):
retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
if release_conn is None:
release_conn = preload_content
# Check host
if assert_same_host and not self.is_same_host(url):
raise HostChangedError(self, url, retries)
# Ensure that the URL we're connecting to is properly encoded
if url.startswith("/"):
url = to_str(_encode_target(url))
else:
url = to_str(parsed_url.url)
conn = None
# Track whether `conn` needs to be released before
# returning/raising/recursing. Update this variable if necessary, and
# leave `release_conn` constant throughout the function. That way, if
# the function recurses, the original value of `release_conn` will be
# passed down into the recursive call, and its value will be respected.
#
# See issue #651 [1] for details.
#
# [1] <https://github.com/urllib3/urllib3/issues/651>
release_this_conn = release_conn
http_tunnel_required = connection_requires_http_tunnel(
self.proxy, self.proxy_config, destination_scheme
)
# Merge the proxy headers. Only done when not using HTTP CONNECT. We
# have to copy the headers dict so we can safely change it without those
# changes being reflected in anyone else's copy.
if not http_tunnel_required:
headers = headers.copy() # type: ignore[attr-defined]
headers.update(self.proxy_headers) # type: ignore[union-attr]
# Must keep the exception bound to a separate variable or else Python 3
# complains about UnboundLocalError.
err = None
# Keep track of whether we cleanly exited the except block. This
# ensures we do proper cleanup in finally.
clean_exit = False
# Rewind body position, if needed. Record current position
# for future rewinds in the event of a redirect/retry.
body_pos = set_file_position(body, body_pos)
try:
# Request a connection from the queue.
timeout_obj = self._get_timeout(timeout)
conn = self._get_conn(timeout=pool_timeout, heb_timeout=timeout_obj)
conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment]
# Is this a closed/new connection that requires CONNECT tunnelling?
if self.proxy is not None and http_tunnel_required and conn.is_closed:
try:
self._prepare_proxy(conn)
except (BaseSSLError, OSError, SocketTimeout) as e:
self._raise_timeout(
err=e, url=self.proxy.url, timeout_value=conn.timeout
)
raise
# If
|
(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], NoneType]] = None, on_upload_body: Optional[Callable[[int, int | None, bool, bool], NoneType]] = None, multiplexed: bool = False, **response_kw: Any) -> urllib3_future.response.HTTPResponse | urllib3_future.backend._base.ResponsePromise
|
[
-0.01442298386245966,
-0.06415516883134842,
-0.08571372926235199,
0.013631346635520458,
-0.042076073586940765,
0.03459347039461136,
-0.05049128830432892,
0.005468262825161219,
-0.056520745158195496,
-0.07938063144683838,
0.07100879400968552,
0.05669425427913666,
0.017687132582068443,
0.03691416233778,
-0.022664688527584076,
-0.004188629798591137,
0.006940382998436689,
-0.0013602880062535405,
-0.013132506050169468,
-0.05669425427913666,
-0.023293660953640938,
0.04706447198987007,
0.04027590900659561,
0.023727435618638992,
-0.006257188972085714,
-0.026633720844984055,
-0.02528902143239975,
-0.014889290556311607,
0.007623577024787664,
0.05248664692044258,
0.0014558538096025586,
0.037109360098838806,
-0.015203776769340038,
0.03593816980719566,
0.026959050446748734,
0.026004748418927193,
0.013566279783844948,
-0.010529862716794014,
0.01467240322381258,
-0.00664216373115778,
-0.08198327571153641,
-0.03374761343002319,
-0.03821548447012901,
-0.021211545914411545,
0.03578634932637215,
0.05838597193360329,
-0.03927823156118393,
0.011180523782968521,
0.028911033645272255,
-0.041577231138944626,
-0.011993849650025368,
0.04528599977493286,
0.023250283673405647,
-0.024573294445872307,
0.014954356476664543,
0.038757700473070145,
-0.06263695657253265,
0.041533853858709335,
-0.019031831994652748,
0.019682493060827255,
0.0027409091126173735,
0.011408254504203796,
0.029279740527272224,
-0.03207758441567421,
-0.05686776340007782,
0.0022000472526997328,
0.0011135790264233947,
0.0006737051298841834,
0.028000108897686005,
-0.053657837212085724,
0.034875426441431046,
0.03854081407189369,
-0.009640625678002834,
-0.015952037647366524,
0.051922742277383804,
-0.012405934743583202,
0.026959050446748734,
0.004259117878973484,
-0.01717744767665863,
0.010584084317088127,
0.007531400304287672,
-0.018598057329654694,
0.05348432809114456,
-0.02951831743121147,
0.05348432809114456,
-0.08059519529342651,
-0.0022190248128026724,
-0.004581737332046032,
-0.039017967879772186,
0.008187483064830303,
-0.009575559757649899,
-0.009472538717091084,
0.004481426905840635,
-0.022447802126407623,
-0.01177696231752634,
-0.014477205462753773,
-0.016700297594070435,
-0.02947494015097618,
0.007281980011612177,
-0.017003938555717468,
-0.028455570340156555,
-0.00433502858504653,
-0.0979461595416069,
-0.005020933225750923,
0.03229447081685066,
-0.04715122655034065,
0.00349188013933599,
-0.02069101668894291,
-0.0017947397427633405,
-0.050144266337156296,
-0.006533720064908266,
-0.05088168382644653,
0.022209225222468376,
0.018988454714417458,
0.005850526038557291,
-0.011364877223968506,
-0.06367801129817963,
-0.026308389380574226,
-0.044179875403642654,
0.01485675759613514,
-0.05140221118927002,
0.0048257349990308285,
0.012102292850613594,
0.025310710072517395,
0.029062854126095772,
0.014141030609607697,
-0.004253695718944073,
-0.020300621166825294,
0.015019422397017479,
-0.045546263456344604,
0.01833779364824295,
0.021135635673999786,
0.02015964314341545,
0.03038586489856243,
-0.018554680049419403,
0.039755381643772125,
-0.06779886782169342,
0.050925061106681824,
-0.033270463347435,
-0.01556164026260376,
0.02259962260723114,
0.03517906740307808,
-0.01966080442070961,
-0.0023356014862656593,
0.007867574691772461,
-0.028325438499450684,
0.02027893252670765,
-0.04576314985752106,
-0.015464041382074356,
-0.023206906393170357,
0.030060533434152603,
-0.047324735671281815,
0.056390613317489624,
0.04092657193541527,
-0.0005181565065868199,
-0.024313028901815414,
-0.023293660953640938,
0.0042320070788264275,
-0.06580350548028946,
0.02015964314341545,
0.026351766660809517,
-0.02024639956653118,
0.013783167116343975,
-0.005340841598808765,
-0.012145670130848885,
-0.07048826664686203,
0.03314032778143883,
-0.0633309930562973,
0.011852873489260674,
0.016830429434776306,
-0.03136185556650162,
0.04246646910905838,
-0.05842934921383858,
0.003996142651885748,
0.0007794375414960086,
0.08102897554636002,
0.019639115780591965,
-0.016201457008719444,
-0.05886312574148178,
-0.03990720212459564,
0.005747504532337189,
-0.031231723725795746,
-0.005752927158027887,
-0.004909778945147991,
-0.019302939996123314,
0.056477367877960205,
-0.0011129012564197183,
-0.010388885624706745,
0.02743620239198208,
0.019389694556593895,
-0.029041165485978127,
-0.025007067248225212,
0.03936498612165451,
-0.03836730495095253,
0.03084132820367813,
-0.04368103668093681,
-0.006680118851363659,
0.022089937701821327,
0.11356201767921448,
0.056390613317489624,
-0.033942811191082,
0.028216995298862457,
0.05417836457490921,
0.008989964611828327,
-0.016114702448248863,
-0.04300868511199951,
-0.020712705329060555,
-0.017144914716482162,
-0.030732883140444756,
0.0710521712899208,
0.016754519194364548,
0.04814890772104263,
-0.04370272532105446,
0.010171999223530293,
-0.012915619648993015,
0.010166577063500881,
-0.008225438185036182,
-0.03138354420661926,
-0.011473320424556732,
-0.004340450745075941,
0.00786215253174305,
-0.012742109596729279,
-0.04450520500540733,
-0.024313028901815414,
0.0013934988528490067,
-0.007271135691553354,
-0.014498894102871418,
-0.007580199744552374,
0.011668519116938114,
-0.027175936847925186,
0.009640625678002834,
0.029778581112623215,
0.07009787112474442,
0.02724100463092327,
0.061031993478536606,
-0.0348537378013134,
-0.05313730984926224,
0.03166549652814865,
-0.01684127375483513,
0.0007414823630824685,
-0.013869921676814556,
-0.02351054735481739,
0.006728918291628361,
0.021092258393764496,
-0.06129225715994835,
0.03468022868037224,
0.0020956704393029213,
0.04584990441799164,
-0.001545319682918489,
-0.02934480644762516,
0.016667764633893967,
-0.001953338272869587,
-0.040753062814474106,
-0.04953698441386223,
0.005796304438263178,
0.006772295571863651,
0.05938365310430527,
-0.030819639563560486,
-0.02272975444793701,
0.0006662496598437428,
0.020343998447060585,
0.008252548985183239,
0.007715754210948944,
0.05157572031021118,
-0.0384974367916584,
0.012308335863053799,
0.016917183995246887,
-0.02089706063270569,
-0.06077172979712486,
0.005921014118939638,
0.08619087934494019,
0.02520226687192917,
0.011896250769495964,
-0.008501969277858734,
-0.018608901649713516,
-0.0028493525460362434,
0.03608999401330948,
-0.013349393382668495,
-0.020929593592882156,
-0.058125708252191544,
0.03216433897614479,
0.012839708477258682,
0.044179875403642654,
-0.06042471155524254,
0.01419525220990181,
0.03450671583414078,
-0.0688399225473404,
0.1070554107427597,
0.010497329756617546,
-0.015464041382074356,
-0.023315349593758583,
-0.021493498235940933,
0.01551826298236847,
-0.009201429784297943,
-0.022491179406642914,
0.008192905224859715,
-0.06619390100240707,
0.05873299390077591,
0.011213056743144989,
-0.014249473810195923,
-0.05955716222524643,
-0.0004588515148498118,
0.030776260420680046,
0.042856864631175995,
0.018467925488948822,
-0.05539293214678764,
0.0207343939691782,
-0.04771513491868973,
-0.04164229705929756,
-0.008464014157652855,
0.0469343401491642,
-0.00895743165165186,
-0.010567817836999893,
-0.018229350447654724,
0.017112381756305695,
-0.01129981130361557,
-0.003329215105623007,
0.03537426516413689,
0.008100728504359722,
-0.033552415668964386,
-0.042813487350940704,
0.0011847451096400619,
-0.015778526663780212,
0.008013973943889141,
0.014986889436841011,
0.0011576341930776834,
0.02678554132580757,
0.043811168521642685,
-0.05521942302584648,
0.012991529889404774,
-0.009900890290737152,
0.06224656105041504,
-0.04632705822587013,
-0.025983059778809547,
-0.0360032357275486,
-0.05153234302997589,
0.0020197599660605192,
-0.02565772831439972,
0.057431671768426895,
-0.03227278217673302,
-0.014542271383106709,
0.020213866606354713,
0.014954356476664543,
0.013457836583256721,
-0.016624385491013527,
0.0017093404894694686,
0.012427623383700848,
-0.006658430211246014,
0.0569545179605484,
-0.06224656105041504,
-0.026677098125219345,
-0.05266015604138374,
0.00871343445032835,
0.016450876370072365,
-0.016255678609013557,
-0.04073137417435646,
0.014683248475193977,
-0.05088168382644653,
-0.012785486876964569,
-0.03654545545578003,
-0.02789166383445263,
-0.00008260343747679144,
-0.051141947507858276,
0.058169085532426834,
0.010247909463942051,
0.011831183917820454,
0.04044942185282707,
0.027783220633864403,
-0.025570973753929138,
-0.01227580290287733,
-0.02719762548804283,
-0.05508929118514061,
-0.04023253172636032,
0.008702590130269527,
0.003711478319019079,
-0.020766926929354668,
-0.03266317769885063,
-0.000021159188690944575,
-0.010752171277999878,
0.031643807888031006,
0.03353072702884674,
-0.03932160884141922,
-0.01450973842293024,
-0.08584386110305786,
0.028672458603978157,
-0.07196309417486191,
0.005579417571425438,
0.029192985966801643,
0.013544591143727303,
0.023445481434464455,
0.04127359017729759,
0.027414513751864433,
0.013230104930698872,
-0.012546910904347897,
-0.00935325026512146,
-0.0004886734532192349,
-0.0004242851282469928,
0.006403587758541107,
-0.03949511796236038,
-0.030103912577033043,
0.011093768291175365,
0.03398618847131729,
0.007363312877714634,
0.022859886288642883,
-0.01384823303669691,
0.047498248517513275,
0.09811966866254807,
0.021450120955705643,
0.06602039188146591,
-0.02674216404557228,
-0.018858322873711586,
-0.007422956638038158,
-0.047541625797748566,
-0.01738349162042141,
-0.03233784809708595,
-0.005742082372307777,
0.014997733756899834,
-0.009835824370384216,
0.04307375103235245,
-0.0009665025863796473,
0.050057511776685715,
0.013631346635520458,
-0.004147963132709265,
0.017784731462597847,
-0.054612141102552414,
-0.020994659513235092,
0.011874562129378319,
-0.024529917165637016,
-0.04027590900659561,
0.00980871357023716,
0.05257340148091316,
0.016038792207837105,
0.005541461985558271,
0.033834367990493774,
0.04459196329116821,
0.02611319161951542,
-0.04498235881328583,
0.040037333965301514,
0.04806215316057205,
-0.014390450902283192,
0.009803291410207748,
0.0007428379030898213,
-0.061986297369003296,
-0.0005534006631933153,
0.08198327571153641,
0.007341624237596989,
0.029540006071329117,
-0.05179261043667793,
-0.07131243497133255,
0.022534556686878204,
-0.011408254504203796,
0.022133314982056618,
0.021959805861115456,
0.04129527881741524,
-0.1308262199163437,
0.02752295695245266,
0.035244133323431015,
0.01353374682366848,
-0.049970757216215134,
0.0018204950029030442,
0.05231313779950142,
-0.023640679195523262,
0.11174016445875168,
0.007710332050919533,
-0.07087866216897964,
0.03841068223118782,
0.01667860895395279,
-0.010746749117970467,
0.002315268386155367,
-0.024204585701227188,
-0.02615656889975071,
-0.0010132688330486417,
-0.04598003625869751,
0.010800971649587154,
-0.03543933108448982,
-0.028282061219215393,
0.007151847705245018,
0.02115732431411743,
0.029735203832387924,
-0.0710955485701561,
0.0041262744925916195,
-0.018598057329654694,
0.07174620777368546,
-0.026590343564748764,
-0.030038844794034958,
-0.03496218100190163,
0.03248966857790947,
-0.0025185998529195786,
0.047281358391046524,
-0.004955867305397987,
-0.005552306305617094,
0.03457178175449371,
-0.01223242562264204,
0.021450120955705643,
-0.06411179155111313,
0.018977610394358635,
-0.10506004840135574,
-0.028195306658744812,
-0.009640625678002834,
-0.05868961289525032,
0.029192985966801643,
-0.02606981433928013,
0.05226976051926613,
0.01654847525060177,
0.03969031572341919,
-0.005568572785705328,
0.0017310291295871139,
0.054698895663022995,
0.018988454714417458,
-0.03589479252696037,
-0.03539595380425453,
0.024356406182050705,
-0.009911734610795975,
-0.011451631784439087,
-0.01863059028983116,
0.028867656365036964,
0.013349393382668495,
0.06246344745159149,
-0.02400938794016838,
-0.0414687879383564,
0.09543026983737946,
0.08684154599905014,
-0.0027951309457421303,
-0.004606137052178383,
-0.037846777588129044,
0.008778500370681286,
0.05344095081090927,
0.009076720103621483,
-0.012492689304053783,
0.00852908007800579,
0.006338521838188171,
-0.005921014118939638,
-0.021016348153352737,
-0.028173618018627167,
0.03817210718989372,
0.05318068712949753,
-0.05608697235584259,
-0.029561694711446762,
-0.03457178175449371,
-0.027262693271040916,
0.020875371992588043,
0.12128319591283798,
-0.037651579827070236,
-0.057301536202430725,
-0.05890650302171707,
-0.026590343564748764,
0.04706447198987007,
0.047454871237277985,
0.010703371837735176,
-0.03029911033809185,
-0.014683248475193977,
-0.023944322019815445,
0.05890650302171707,
-0.02479018084704876,
0.0036165902856737375,
0.014802535995841026,
0.05166247859597206,
-0.05157572031021118,
0.04506911337375641,
-0.03721780329942703,
0.00437840586528182,
-0.015247154049575329,
-0.061899542808532715,
0.03196914121508598,
0.044808849692344666,
0.0360032357275486,
0.06840614974498749,
0.0412302128970623,
0.016938872635364532,
-0.02114647999405861,
0.03869263455271721,
0.013555435463786125,
-0.015106177888810635,
-0.00030669174157083035,
0.08172301203012466,
-0.03177393972873688,
-0.032099273055791855,
-0.011408254504203796,
0.029366496950387955,
0.020517507568001747,
0.07569355517625809,
-0.003158416599035263,
-0.03333552926778793,
-0.07643096894025803,
-0.0014965201262384653,
0.005544173065572977,
-0.0172099806368351,
0.04502573609352112,
0.019378850236535072,
-0.015030266717076302,
-0.04391961172223091,
-0.0013385992497205734,
-0.03953849524259567,
-0.026937361806631088,
0.04702109470963478,
0.04806215316057205,
-0.06654092669487,
0.026807229965925217,
0.041078392416238785,
0.04159891977906227,
0.033877745270729065,
0.02806517481803894,
-0.045633018016815186,
-0.014618181623518467,
-0.03270655497908592,
0.02359730191528797,
-0.05838597193360329,
0.0432906411588192,
0.06372139602899551,
-0.04391961172223091,
0.010779282078146935,
-0.013034907169640064,
-0.005088710691779852,
-0.01619061268866062,
-0.13412290811538696,
-0.02615656889975071,
-0.07348130643367767,
0.08059519529342651,
0.011679363436996937,
-0.009120097383856773,
-0.003914809785783291,
-0.05226976051926613,
-0.005392352119088173,
0.04793202131986618,
-0.025961371138691902,
0.05608697235584259,
-0.013273483142256737,
-0.00447871582582593,
-0.09968125075101852,
0.009635203517973423,
0.030429242178797722,
0.028715835884213448,
0.07578030973672867,
0.03587310388684273,
-0.0013141995295882225,
0.02993040159344673,
0.053831346333026886,
0.030472619459033012,
0.01783895306289196,
-0.003714189399033785,
0.05348432809114456,
-0.015876125544309616,
-0.02852063626050949,
-0.01635327748954296,
-0.007303668651729822,
0.02789166383445263,
0.04094826057553291,
-0.023640679195523262,
0.03773833438754082,
-0.02251286804676056,
0.010714216157793999,
0.023206906393170357,
0.08497631549835205,
-0.02455160580575466,
-0.025636039674282074,
0.007271135691553354,
-0.00891947653144598,
0.0013433436397463083,
0.017155759036540985,
-0.0016361410962417722,
0.01090399269014597,
-0.015876125544309616,
0.07174620777368546,
-0.03225109353661537,
0.01560501754283905,
0.016971405595541,
-0.018055841326713562,
-0.05942703038454056,
-0.0028873078990727663,
0.02135252207517624,
-0.007845886051654816,
-0.038670945912599564,
0.004074763972312212,
0.02537577599287033,
0.03539595380425453,
-0.011408254504203796,
0.012048071250319481,
-0.05868961289525032,
-0.057214781641960144,
0.03162211924791336,
0.06233331561088562,
-0.007271135691553354,
-0.06324423849582672,
0.04073137417435646,
0.027349447831511497,
0.018240194767713547,
-0.02057172916829586,
0.0002001121174544096,
-0.020430753007531166,
-0.04172905161976814,
0.011614297516644001,
0.05413498729467392,
0.014097653329372406,
0.029908712953329086,
-0.02988702431321144,
0.006137901451438665,
-0.003418680978938937,
-0.024529917165637016,
0.029691826552152634,
0.007580199744552374,
0.08402201533317566,
-0.028368815779685974,
-0.004511249251663685,
-0.0035461019724607468,
0.01722082495689392,
0.047541625797748566,
0.010584084317088127,
0.022903263568878174,
-0.0036030348856002092,
0.03481036052107811,
-0.010334664024412632,
-0.002429133979603648,
0.0364370122551918,
0.002238002372905612,
-0.019931912422180176,
0.04185918718576431,
-0.012818019837141037,
0.012471000663936138,
-0.07126905769109726,
0.015865281224250793,
-0.05491578206419945,
-0.01771966554224491,
0.015821903944015503,
-0.009440005756914616,
0.038020286709070206,
-0.008084462024271488,
-0.018641434609889984,
0.012677043676376343,
0.018847478553652763,
0.04023253172636032,
0.018739033490419388,
0.08814286440610886,
0.00646865414455533,
-0.05439525097608566,
-0.042119450867176056,
-0.05539293214678764,
0.06953396648168564,
0.0034159698989242315,
0.03071119450032711,
0.022155003622174263,
-0.017405180260539055,
-0.07074853032827377,
-0.010519018396735191,
-0.03856250271201134,
0.047324735671281815,
-0.06372139602899551,
0.011278122663497925,
0.010643728077411652,
0.0076886429451406,
0.013403614982962608,
-0.0020034934859722853,
0.009407472796738148,
0.013067440129816532,
0.034007877111434937,
0.019129430875182152,
-0.033509038388729095,
-0.017069004476070404,
0.005126665811985731,
0.003575923852622509,
-0.005948125384747982,
-0.009651469998061657,
0.00181371730286628,
0.05170585587620735,
-0.0051076882518827915,
-0.03134016692638397,
0.023402104154229164,
-0.0025633329059928656,
0.016255678609013557
] |
710,131
|
urllib3_future._collections
|
HTTPHeaderDict
|
:param headers:
An iterable of field-value pairs. Must not contain multiple field names
when compared case-insensitively.
:param kwargs:
Additional field-value pairs to pass in to ``dict.update``.
A ``dict`` like container for storing HTTP Headers.
Field names are stored and compared case-insensitively in compliance with
RFC 7230. Iteration provides the first case-sensitive key seen for each
case-insensitive pair.
Using ``__setitem__`` syntax overwrites fields that compare equal
case-insensitively in order to maintain ``dict``'s api. For fields that
compare equal, instead create a new ``HTTPHeaderDict`` and use ``.add``
in a loop.
If multiple fields that are equal case-insensitively are passed to the
constructor or ``.update``, the behavior is undefined and some will be
lost.
>>> headers = HTTPHeaderDict()
>>> headers.add('Set-Cookie', 'foo=bar')
>>> headers.add('set-cookie', 'baz=quxx')
>>> headers['content-length'] = '7'
>>> headers['SET-cookie']
'foo=bar, baz=quxx'
>>> headers['Content-Length']
'7'
|
class HTTPHeaderDict(typing.MutableMapping[str, str]):
"""
:param headers:
An iterable of field-value pairs. Must not contain multiple field names
when compared case-insensitively.
:param kwargs:
Additional field-value pairs to pass in to ``dict.update``.
A ``dict`` like container for storing HTTP Headers.
Field names are stored and compared case-insensitively in compliance with
RFC 7230. Iteration provides the first case-sensitive key seen for each
case-insensitive pair.
Using ``__setitem__`` syntax overwrites fields that compare equal
case-insensitively in order to maintain ``dict``'s api. For fields that
compare equal, instead create a new ``HTTPHeaderDict`` and use ``.add``
in a loop.
If multiple fields that are equal case-insensitively are passed to the
constructor or ``.update``, the behavior is undefined and some will be
lost.
>>> headers = HTTPHeaderDict()
>>> headers.add('Set-Cookie', 'foo=bar')
>>> headers.add('set-cookie', 'baz=quxx')
>>> headers['content-length'] = '7'
>>> headers['SET-cookie']
'foo=bar, baz=quxx'
>>> headers['Content-Length']
'7'
"""
_container: typing.MutableMapping[str, list[str]]
def __init__(self, headers: ValidHTTPHeaderSource | None = None, **kwargs: str):
super().__init__()
self._container = {} # 'dict' is insert-ordered in Python 3.7+
if headers is not None:
if isinstance(headers, HTTPHeaderDict):
self._copy_from(headers)
else:
self.extend(headers)
if kwargs:
self.extend(kwargs)
def __setitem__(self, key: str, val: str) -> None:
# avoid a bytes/str comparison by decoding before httplib
self._container[_lower_wrapper(key)] = [key, val]
def __getitem__(self, key: str) -> str:
val = self._container[_lower_wrapper(key)]
return ", ".join(val[1:])
def __delitem__(self, key: str) -> None:
del self._container[_lower_wrapper(key)]
def __contains__(self, key: object) -> bool:
if isinstance(key, str):
return _lower_wrapper(key) in self._container
return False
def setdefault(self, key: str, default: str = "") -> str:
return super().setdefault(key, default)
def __eq__(self, other: object) -> bool:
maybe_constructable = ensure_can_construct_http_header_dict(other)
if maybe_constructable is None:
return False
else:
other_as_http_header_dict = type(self)(maybe_constructable)
return {_lower_wrapper(k): v for k, v in self.itermerged()} == {
_lower_wrapper(k): v for k, v in other_as_http_header_dict.itermerged()
}
def __ne__(self, other: object) -> bool:
return not self.__eq__(other)
def __len__(self) -> int:
return len(self._container)
def __iter__(self) -> typing.Iterator[str]:
# Only provide the originally cased names
for vals in self._container.values():
yield vals[0]
def discard(self, key: str) -> None:
try:
del self[key]
except KeyError:
pass
def add(self, key: str, val: str, *, combine: bool = False) -> None:
"""Adds a (name, value) pair, doesn't overwrite the value if it already
exists.
If this is called with combine=True, instead of adding a new header value
as a distinct item during iteration, this will instead append the value to
any existing header value with a comma. If no existing header value exists
for the key, then the value will simply be added, ignoring the combine parameter.
>>> headers = HTTPHeaderDict(foo='bar')
>>> headers.add('Foo', 'baz')
>>> headers['foo']
'bar, baz'
>>> list(headers.items())
[('foo', 'bar'), ('foo', 'baz')]
>>> headers.add('foo', 'quz', combine=True)
>>> list(headers.items())
[('foo', 'bar, baz, quz')]
"""
key_lower = _lower_wrapper(key)
new_vals = [key, val]
# Keep the common case aka no item present as fast as possible
vals = self._container.setdefault(key_lower, new_vals)
if new_vals is not vals:
# if there are values here, then there is at least the initial
# key/value pair
if combine:
vals[-1] = vals[-1] + ", " + val
else:
vals.append(val)
def extend(self, *args: ValidHTTPHeaderSource, **kwargs: str) -> None:
"""Generic import function for any type of header-like object.
Adapted version of MutableMapping.update in order to insert items
with self.add instead of self.__setitem__
"""
if len(args) > 1:
raise TypeError(
f"extend() takes at most 1 positional arguments ({len(args)} given)"
)
other = args[0] if len(args) >= 1 else ()
if isinstance(other, HTTPHeaderDict):
for key, val in other.iteritems():
self.add(key, val)
elif isinstance(other, typing.Mapping):
for key, val in other.items():
self.add(key, val)
elif isinstance(other, typing.Iterable):
other = typing.cast(typing.Iterable[typing.Tuple[str, str]], other)
for key, value in other:
self.add(key, value)
elif hasattr(other, "keys") and hasattr(other, "__getitem__"):
# THIS IS NOT A TYPESAFE BRANCH
# In this branch, the object has a `keys` attr but is not a Mapping or any of
# the other types indicated in the method signature. We do some stuff with
# it as though it partially implements the Mapping interface, but we're not
# doing that stuff safely AT ALL.
for key in other.keys():
self.add(key, other[key])
for key, value in kwargs.items():
self.add(key, value)
@typing.overload
def getlist(self, key: str) -> list[str]:
...
@typing.overload
def getlist(self, key: str, default: _DT) -> list[str] | _DT:
...
def getlist(
self, key: str, default: _Sentinel | _DT = _Sentinel.not_passed
) -> list[str] | _DT:
"""Returns a list of all the values for the named field. Returns an
empty list if the key doesn't exist."""
try:
vals = self._container[_lower_wrapper(key)]
except KeyError:
if default is _Sentinel.not_passed:
# _DT is unbound; empty list is instance of List[str]
return []
# _DT is bound; default is instance of _DT
return default
else:
# _DT may or may not be bound; vals[1:] is instance of List[str], which
# meets our external interface requirement of `Union[List[str], _DT]`.
return vals[1:]
# Backwards compatibility for httplib
getheaders = getlist
getallmatchingheaders = getlist
iget = getlist
# Backwards compatibility for http.cookiejar
get_all = getlist
def __repr__(self) -> str:
return f"{type(self).__name__}({dict(self.itermerged())})"
def _copy_from(self, other: HTTPHeaderDict) -> None:
for key in other:
val = other.getlist(key)
self._container[_lower_wrapper(key)] = [key, *val]
def copy(self) -> HTTPHeaderDict:
clone = type(self)()
clone._copy_from(self)
return clone
def iteritems(self) -> typing.Iterator[tuple[str, str]]:
"""Iterate over all header lines, including duplicate ones."""
for key in self:
vals = self._container[_lower_wrapper(key)]
for val in vals[1:]:
yield vals[0], val
def itermerged(self) -> typing.Iterator[tuple[str, str]]:
"""Iterate over all headers, merging duplicate ones together."""
for key in self:
val = self._container[_lower_wrapper(key)]
yield val[0], ", ".join(val[1:])
def items(self) -> H
|
(headers: 'ValidHTTPHeaderSource | None' = None, **kwargs: 'str')
|
[
-0.04094837233424187,
0.011879951693117619,
-0.12286652624607086,
-0.050473738461732864,
-0.03197954595088959,
-0.0052576810121536255,
-0.02510843798518181,
0.016599824652075768,
0.05826527625322342,
-0.0704663023352623,
-0.016278743743896484,
0.007534671574831009,
0.04308890551328659,
0.050473738461732864,
0.017423927783966064,
0.024230819195508957,
0.015326207503676414,
0.09392653405666351,
-0.028426261618733406,
-0.08163987845182419,
0.013463945128023624,
-0.0029699879232794046,
0.02369568683207035,
0.043131716549396515,
-0.012382976710796356,
-0.008845747448503971,
0.009482556022703648,
-0.02885436825454235,
0.025151249021291733,
0.0061754342168569565,
0.05972083657979965,
-0.07020944356918335,
0.00001324245022260584,
-0.031187547370791435,
0.0037164983805269003,
-0.05180086940526962,
0.01851559989154339,
-0.001925140735693276,
-0.008540721610188484,
0.013067946769297123,
-0.015058641321957111,
-0.02673524245619774,
-0.024316441267728806,
-0.06605681031942368,
0.03561844676733017,
0.05466918274760246,
-0.02921825833618641,
0.087076835334301,
0.033970240503549576,
-0.03067382052540779,
-0.04405214264988899,
-0.007716617081314325,
0.012051193974912167,
-0.024123793467879295,
-0.017616575583815575,
0.008588884025812149,
0.004286414943635464,
0.04448024928569794,
-0.041804585605859756,
0.06378784775733948,
-0.0033419053070247173,
-0.00012015406537102535,
-0.04221128672361374,
-0.04039183259010315,
-0.028019560500979424,
-0.03506191074848175,
-0.0038743624463677406,
-0.05800841003656387,
-0.006801539566367865,
-0.04022059217095375,
0.002777339890599251,
0.02656399831175804,
-0.015080045908689499,
-0.007004890125244856,
0.02245417796075344,
0.07461893558502197,
-0.021533749997615814,
0.0017806548858061433,
0.042660798877477646,
-0.08099772036075592,
0.047134511172771454,
0.01070265844464302,
-0.03144441172480583,
-0.03906470537185669,
0.017991170287132263,
-0.002876339480280876,
-0.0370740108191967,
0.018847381696105003,
0.03878643736243248,
0.04413776472210884,
-0.054583560675382614,
0.003582715056836605,
0.01198697742074728,
-0.015080045908689499,
-0.001752560376189649,
-0.023759903386235237,
-0.024808762595057487,
-0.024123793467879295,
-0.03264310956001282,
0.017349010333418846,
-0.002876339480280876,
0.004936601500958204,
-0.016385771334171295,
0.02549373358488083,
-0.02962495945394039,
-0.05445512756705284,
-0.010279904119670391,
-0.04435181990265846,
-0.01141973678022623,
-0.0018943706527352333,
-0.0536845363676548,
-0.09204286336898804,
-0.0011739479377865791,
-0.020634725689888,
0.032322030514478683,
0.016835281625390053,
0.0026435567997395992,
-0.03938578441739082,
-0.032236408442258835,
-0.013153567910194397,
-0.008080507628619671,
0.02590043470263481,
0.007181484252214432,
0.03932156786322594,
0.038443949073553085,
-0.04897536709904671,
0.02425222471356392,
-0.01689949817955494,
0.04086275026202202,
-0.0005311194690875709,
-0.01881527341902256,
0.021523047238588333,
-0.011687302961945534,
0.009000936523079872,
0.07577482610940933,
-0.02119126357138157,
-0.060320183634757996,
0.040370430797338486,
-0.008690559305250645,
0.029111232608556747,
0.027291780337691307,
-0.014758966863155365,
0.02598605491220951,
-0.01787343993782997,
-0.029946038499474525,
-0.05586788058280945,
0.016664039343595505,
-0.007828994654119015,
-0.009980229660868645,
-0.0043934416025877,
-0.032043758779764175,
-0.018793869763612747,
-0.019810620695352554,
0.049617525190114975,
-0.037480711936950684,
-0.014833885245025158,
-0.04585019126534462,
-0.02292509563267231,
-0.005998840089887381,
0.029667770490050316,
0.030031660571694374,
-0.04679202288389206,
0.0341842919588089,
-0.027099132537841797,
-0.0036817146465182304,
0.020367160439491272,
0.036110769957304,
-0.06091953441500664,
0.008059102110564709,
-0.01642858050763607,
-0.009562825784087181,
0.01078828051686287,
0.02799815498292446,
-0.003877038136124611,
0.027056321501731873,
0.00580084091052413,
-0.03808005899190903,
0.023738497868180275,
-0.03294278308749199,
-0.03084506280720234,
0.038829244673252106,
-0.04094837233424187,
-0.04747699573636055,
0.020120998844504356,
-0.013324810191988945,
0.06888230890035629,
-0.014994424767792225,
0.03178689628839493,
0.04364544153213501,
0.04777666926383972,
0.020270835608243942,
-0.04593581333756447,
0.006475108675658703,
-0.023160554468631744,
0.006908566225320101,
0.008583532646298409,
-0.051244329661130905,
-0.02512984350323677,
0.07915686815977097,
0.050088442862033844,
-0.11464688181877136,
0.0032723378390073776,
0.0030368794687092304,
0.03709541633725166,
-0.010204984806478024,
-0.03048117272555828,
0.013667295686900616,
-0.0401349700987339,
-0.021426722407341003,
0.012757569551467896,
-0.015529558062553406,
-0.011248494498431683,
-0.049703147262334824,
-0.01380642969161272,
-0.02673524245619774,
-0.06858263909816742,
0.00011120731505798176,
-0.012447192333638668,
0.029261069372296333,
-0.06421595066785812,
0.08442257344722748,
-0.00969660934060812,
-0.002868312643840909,
-0.025729192420840263,
0.07821503281593323,
-0.0007511928561143577,
-0.010049796663224697,
0.017691494897007942,
-0.010419038124382496,
-0.001610750099644065,
0.05852213874459267,
-0.004559332504868507,
0.011644492857158184,
0.017702197656035423,
0.06091953441500664,
-0.05389859154820442,
-0.007320618722587824,
-0.028105182573199272,
0.031208952888846397,
0.00035051206941716373,
0.013463945128023624,
0.020324349403381348,
-0.004513846244663,
0.0729065090417862,
-0.06691302359104156,
-0.03142300620675087,
-0.02568638138473034,
0.058693379163742065,
0.0033954184036701918,
0.0330498106777668,
-0.03217219188809395,
0.04507960006594658,
-0.012811082415282726,
-0.014116806909441948,
0.0003719173837453127,
0.01861192286014557,
-0.03150862827897072,
-0.014833885245025158,
-0.0023050850722938776,
-0.057537492364645004,
0.03048117272555828,
-0.009525366127490997,
0.011162873357534409,
0.024380655959248543,
-0.008899261243641376,
0.016161015257239342,
0.056210365146398544,
0.037480711936950684,
-0.04323874041438103,
0.03715963289141655,
0.02827642485499382,
-0.030588198453187943,
0.001811424968764186,
-0.029646364971995354,
0.021565858274698257,
0.04516521841287613,
0.053342051804065704,
0.0038556328509002924,
-0.03540439531207085,
0.02217590995132923,
0.014031185768544674,
-0.03240765258669853,
-0.026349946856498718,
-0.054198265075683594,
0.03465520963072777,
0.04199723154306412,
-0.053256429731845856,
0.032129380851984024,
-0.022582609206438065,
-0.02521546371281147,
0.04662078246474266,
-0.035661257803440094,
0.003459634492173791,
0.003023501019924879,
-0.0005568726919591427,
0.02598605491220951,
-0.03887205570936203,
-0.04576456919312477,
0.069610096514225,
-0.014801776967942715,
0.004883088171482086,
0.0666133463382721,
0.06301725655794144,
-0.03737368434667587,
-0.008936719968914986,
-0.051244329661130905,
-0.0001854570145951584,
0.015326207503676414,
-0.04525084048509598,
0.017819926142692566,
-0.010017688386142254,
0.04409495368599892,
-0.05723781883716583,
-0.020292241126298904,
0.022004665806889534,
-0.0108417933806777,
-0.051715247333049774,
0.041012588888406754,
-0.00644300039857626,
0.03972826898097992,
-0.0410982109606266,
-0.035982340574264526,
-0.054883234202861786,
-0.03465520963072777,
0.049703147262334824,
-0.08074086159467697,
0.0909297913312912,
0.004120523575693369,
0.03210797533392906,
0.0362820141017437,
-0.015358315780758858,
-0.020131701603531837,
-0.006196839269250631,
0.04088415578007698,
0.007058403454720974,
0.003382040187716484,
0.01070265844464302,
-0.00229438254609704,
0.008010939694941044,
-0.05548258498311043,
-0.052956756204366684,
-0.019928351044654846,
0.004382738843560219,
-0.0018448708578944206,
-0.03467661514878273,
-0.11165013909339905,
0.004182063974440098,
0.04687764495611191,
0.029004205018281937,
-0.03407726436853409,
0.0020442078821361065,
-0.04009215906262398,
0.03870081529021263,
0.05064498260617256,
0.07247840613126755,
-0.015165667980909348,
-0.042832039296627045,
-0.09538209438323975,
0.04375246912240982,
0.026906484737992287,
0.08579251170158386,
0.005865056999027729,
-0.01727409102022648,
0.005412869621068239,
-0.004024199675768614,
-0.012778975069522858,
-0.008107263594865799,
-0.019992567598819733,
-0.003392742946743965,
-0.04974595829844475,
-0.00613797502592206,
-0.028233613818883896,
0.02339601144194603,
-0.019232677295804024,
0.007721968460828066,
-0.029539339244365692,
0.0268422681838274,
0.045636136084795,
-0.10223180055618286,
0.018793869763612747,
0.04362403601408005,
-0.002536530140787363,
-0.013217783533036709,
0.04364544153213501,
0.006341325119137764,
-0.01376361958682537,
0.10728345066308975,
-0.021919045597314835,
0.03302840515971184,
0.03454818204045296,
-0.005367383360862732,
-0.025579353794455528,
0.019403919577598572,
0.031101927161216736,
-0.06404471397399902,
-0.05569663643836975,
-0.03009587712585926,
-0.019082840532064438,
0.009252448566257954,
-0.03324245661497116,
0.09726576507091522,
-0.030117282643914223,
0.0319153293967247,
0.08005588501691818,
-0.0054583558812737465,
-0.029860418289899826,
0.042939066886901855,
-0.016353663057088852,
-0.002057586098089814,
0.012211733497679234,
0.0014154266100376844,
-0.05903586745262146,
-0.006582135334610939,
-0.038529571145772934,
0.024701736867427826,
0.024808762595057487,
-0.013774322345852852,
0.01288600079715252,
0.016953011974692345,
0.049060989171266556,
0.010911360383033752,
-0.06691302359104156,
-0.051715247333049774,
0.05205773189663887,
0.0065874867141246796,
-0.019553758203983307,
-0.025579353794455528,
0.00716007873415947,
-0.029089827090501785,
-0.039214540272951126,
0.06815452873706818,
0.002373314695432782,
-0.035382989794015884,
-0.03966405242681503,
0.04364544153213501,
0.01872965320944786,
-0.031123332679271698,
-0.010515362024307251,
0.06297444552183151,
-0.0298176072537899,
-0.05282832309603691,
0.03247186541557312,
-0.0054155453108251095,
0.0029860418289899826,
0.03388461843132973,
0.012639840133488178,
-0.03484785556793213,
0.009070503525435925,
0.03885065019130707,
-0.022218719124794006,
0.03630341961979866,
-0.011248494498431683,
-0.0011097319656983018,
0.003232202958315611,
-0.00006070414383430034,
-0.013645890168845654,
0.012243841774761677,
0.0278911292552948,
-0.02081667073071003,
-0.01227595005184412,
0.061904177069664,
0.02358865924179554,
0.04585019126534462,
0.01175151951611042,
-0.0681973397731781,
0.026285730302333832,
0.013207080774009228,
0.01833365485072136,
-0.008942071348428726,
0.012832487933337688,
-0.018098196014761925,
0.015069343149662018,
0.011141467839479446,
-0.00792531855404377,
-0.012778975069522858,
0.018376465886831284,
0.05629598721861839,
-0.00496335793286562,
-0.045807380229234695,
-0.023139148950576782,
0.059164296835660934,
-0.015486747026443481,
0.04413776472210884,
-0.05312799662351608,
0.006844350136816502,
-0.02339601144194603,
0.049617525190114975,
0.00031890577520243824,
0.04392371326684952,
0.016161015257239342,
0.007973480969667435,
0.00018629315309226513,
-0.03075944073498249,
0.015711503103375435,
0.03989951312541962,
0.027741292491555214,
-0.04311031103134155,
0.0012856569373980165,
0.0320865698158741,
-0.042275503277778625,
0.03279294818639755,
-0.058993056416511536,
0.04221128672361374,
0.05021687597036362,
0.032621704041957855,
-0.00003637231566244736,
-0.020367160439491272,
0.005939975846558809,
-0.021458830684423447,
-0.08664872497320175,
-0.04116242751479149,
0.00988925714045763,
0.01977851428091526,
-0.022967906668782234,
0.020591914653778076,
-0.008851098828017712,
-0.10625599324703217,
0.0019626000430434942,
-0.02206888236105442,
-0.029774796217679977,
0.026906484737992287,
0.04107680544257164,
0.044565871357917786,
-0.034034453332424164,
-0.030994899570941925,
0.022026071324944496,
0.005388788878917694,
-0.02301071584224701,
0.015208478085696697,
0.004607494454830885,
-0.04525084048509598,
0.012639840133488178,
-0.0033151486422866583,
0.008139371871948242,
0.05475480109453201,
0.07175062596797943,
-0.0037887413054704666,
-0.02455190010368824,
0.000027697309633367695,
0.028126588091254234,
0.04679202288389206,
0.07979902625083923,
0.006394838448613882,
-0.049446284770965576,
-0.003398094093427062,
0.025622164830565453,
-0.021276885643601418,
-0.005196141079068184,
-0.04477992281317711,
-0.014213130809366703,
-0.08318106085062027,
-0.005998840089887381,
0.004160658456385136,
0.0028281775303184986,
-0.07680227607488632,
-0.06892511993646622,
-0.032814353704452515,
-0.024295035749673843,
0.019339704886078835,
0.026863673701882362,
0.06605681031942368,
0.002988717518746853,
-0.06605681031942368,
0.013389025814831257,
-0.05355610325932503,
0.038272708654403687,
0.005634950008243322,
0.047605425119400024,
-0.0025592732708901167,
0.013870646245777607,
-0.008818990550935268,
0.021608667448163033,
-0.028319235891103745,
0.02243277244269848,
0.004751980304718018,
0.029368095099925995,
-0.033756185322999954,
0.011954870074987411,
0.015508152544498444,
-0.03334948420524597,
0.010932765901088715,
0.047519806772470474,
0.05428388714790344,
-0.06550027430057526,
0.03840113803744316,
-0.026135893538594246,
-0.02827642485499382,
0.030802251771092415,
0.004741278011351824,
-0.02234715223312378,
-0.08283858001232147,
-0.0005802848027087748,
0.02617870271205902,
-0.021330399438738823,
0.003951956983655691,
0.0279767494648695,
-0.0401349700987339,
0.02590043470263481,
-0.066442109644413,
-0.0017030605813488364,
0.033477917313575745,
0.020409969612956047,
-0.02405957691371441,
0.01920056901872158,
0.0557822585105896,
-0.007272456772625446,
-0.0005227579968050122,
0.009669852443039417,
0.026307135820388794,
-0.05445512756705284,
0.0054449778981506824,
0.011954870074987411,
0.007609590422362089,
0.008920665830373764,
0.006812242325395346,
-0.04460868239402771,
-0.029667770490050316,
-0.003047581994906068,
0.017359713092446327,
-0.07928529381752014,
0.02091299556195736,
-0.05180086940526962,
-0.01117357611656189,
0.03795162960886955,
-0.017124254256486893,
-0.04019918665289879,
0.002560611115768552,
0.023438822478055954,
-0.028255019336938858,
-0.03253608196973801,
0.010413686744868755,
0.00652327062562108,
0.05347048491239548,
0.01121638622134924,
0.004147280473262072,
0.09486836940050125,
0.01759517192840576,
-0.0036977685522288084,
0.020945103839039803,
0.05377015843987465,
0.0008649086230434477,
-0.011687302961945534,
0.013710105791687965,
0.03842254355549812,
-0.029282474890351295,
0.048290397971868515,
0.009198935702443123,
-0.029111232608556747,
0.04940347373485565,
-0.026349946856498718,
0.004350631032139063,
0.05719500780105591,
0.006116569507867098,
-0.0030823657289147377,
-0.020281538367271423,
0.0002797741908580065,
-0.03793022409081459,
-0.034612398594617844,
0.012361571192741394,
-0.01852630265057087,
0.04409495368599892,
-0.04152631759643555,
0.07157938182353973,
-0.053256429731845856,
-0.002049559261649847,
-0.008567478507757187,
-0.002860285574570298,
0.0010093945311382413,
0.08630624413490295,
0.0063038659282028675,
0.029646364971995354,
-0.04116242751479149,
-0.006940674036741257,
0.028126588091254234,
0.016214527189731598,
-0.014962317422032356,
0.02264682576060295,
0.021555155515670776,
-0.0008869828307069838,
-0.0013184337876737118,
0.05462637171149254,
0.018665436655282974,
-0.03972826898097992,
0.013014432974159718,
-0.004998141899704933,
-0.005832949187606573,
0.009990932419896126,
-0.01728479377925396,
-0.027077727019786835,
-0.04174036905169487,
0.08134020864963531,
-0.045036789029836655,
0.003435553517192602,
0.03253608196973801,
-0.038550976663827896,
0.04022059217095375,
-0.008155426010489464,
-0.04278922826051712,
0.006143325939774513,
0.02245417796075344,
-0.008899261243641376,
-0.015133559703826904,
0.028704531490802765,
-0.01689949817955494,
-0.01767008937895298,
0.01380642969161272,
-0.006646350957453251,
0.01747744157910347,
0.06408751755952835,
-0.017723603174090385,
-0.0290256105363369,
0.052699893712997437,
0.03540439531207085,
-0.03878643736243248,
0.0640019029378891,
-0.02463752031326294,
0.04460868239402771,
-0.020945103839039803,
0.012447192333638668,
0.028897179290652275,
0.06010613217949867,
0.030031660571694374,
0.05663847178220749,
0.018975814804434776,
-0.00807515624910593,
-0.047220129519701004,
0.005752678960561752,
-0.009118665009737015,
-0.068026103079319,
0.04231831431388855,
0.03666730970144272,
0.07547514885663986,
-0.05475480109453201,
-0.0009619014454074204,
0.004291766323149204,
-0.048846933990716934,
-0.02502281591296196,
0.04004934802651405,
-0.000845510046929121,
0.08587813377380371,
-0.015390423126518726,
-0.03324245661497116,
0.028490478172898293,
0.01994975656270981,
-0.05728062987327576,
-0.052400216460227966,
0.08810428529977798,
-0.007004890125244856,
-0.004864358343183994,
0.05723781883716583,
-0.0020268158987164497,
-0.014384373091161251,
-0.047990720719099045,
-0.012500705197453499,
0.052871134132146835,
0.001307062222622335,
-0.057152196764945984,
0.027270374819636345,
0.028618909418582916,
0.007721968460828066,
-0.02885436825454235,
0.01651420257985592,
0.012993027456104755,
-0.008289209567010403,
0.00041941044037230313,
0.02405957691371441,
0.016385771334171295,
0.05809403210878372
] |
710,132
|
urllib3_future._collections
|
__contains__
| null |
def __contains__(self, key: object) -> bool:
if isinstance(key, str):
return _lower_wrapper(key) in self._container
return False
|
(self, key: object) -> bool
|
[
0.05717470496892929,
-0.06597346812486649,
-0.060935743153095245,
0.04423534870147705,
0.01469048298895359,
-0.0004245726449880749,
0.03798995167016983,
-0.005589802283793688,
0.05990059673786163,
-0.06659455597400665,
-0.016096560284495354,
-0.003342667128890753,
0.06228143721818924,
-0.04033628851175308,
-0.048272427171468735,
-0.02575794607400894,
-0.020513193681836128,
0.025637179613113403,
-0.01055851485580206,
-0.07570386677980423,
-0.04085386171936989,
0.05110183358192444,
0.0875045582652092,
-0.0012346303556114435,
0.016734901815652847,
0.047237277030944824,
0.025775199756026268,
-0.009040297009050846,
0.03315925970673561,
0.024584777653217316,
-0.0544833168387413,
-0.010515384376049042,
0.01802883669734001,
-0.012171621434390545,
0.02482631243765354,
-0.009488862007856369,
-0.006180699449032545,
0.015346077270805836,
0.03964618965983391,
-0.04226856678724289,
-0.000637802470009774,
0.05900346860289574,
0.01863267458975315,
-0.011283119209110737,
0.033797599375247955,
0.03448769822716713,
0.005477661266922951,
0.07563485205173492,
0.03153752535581589,
0.019650569185614586,
0.016476115211844444,
-0.06949297338724136,
-0.039059605449438095,
-0.041647475212812424,
-0.07370257377624512,
-0.0018988506635650992,
-0.010092698037624359,
0.0781882181763649,
-0.005861528683453798,
0.05072227865457535,
-0.026724085211753845,
-0.012464913539588451,
-0.01326715387403965,
-0.031434010714292526,
0.008777197450399399,
-0.003163672750815749,
-0.02537839114665985,
-0.011283119209110737,
0.03348705545067787,
-0.00048657372826710343,
-0.024481263011693954,
-0.038956090807914734,
0.012430408969521523,
0.04533950611948967,
-0.03847302123904228,
-0.03750688210129738,
-0.01984034664928913,
0.03448769822716713,
-0.013689839281141758,
-0.010196213610470295,
0.009221448563039303,
-0.05317213013768196,
-0.034349679946899414,
-0.014966522343456745,
-0.04247559607028961,
0.043717775493860245,
-0.019443539902567863,
0.00034504951327107847,
0.04461490362882614,
0.025309382006525993,
-0.013189517892897129,
0.04647817090153694,
0.003998261410742998,
0.012318267486989498,
0.025033341720700264,
-0.0032283696345984936,
0.05224049836397171,
-0.037748418748378754,
0.002249291632324457,
-0.02177262492477894,
0.012085359543561935,
0.0346602238714695,
0.1258050501346588,
0.016691770404577255,
0.006521435920149088,
0.03937014937400818,
-0.02703462913632393,
0.0004787562065757811,
-0.017071325331926346,
0.02049594186246395,
-0.03723084181547165,
-0.023808415979146957,
0.009221448563039303,
0.01567387394607067,
0.0010044175432994962,
-0.026844851672649384,
-0.03678227961063385,
-0.013120507821440697,
-0.052930597215890884,
-0.017839059233665466,
0.0218761395663023,
0.042786139994859695,
-0.010920817032456398,
-0.013801980763673782,
0.0418890118598938,
-0.007108020130544901,
-0.029363714158535004,
0.06573193520307541,
0.00682335440069437,
0.010256596840918064,
0.0013144230470061302,
0.046512674540281296,
-0.004164316225796938,
0.03224487602710724,
0.053965743631124496,
0.026948368176817894,
0.0010879843030124903,
0.02225569449365139,
-0.03778292238712311,
0.06828530132770538,
0.03179631382226944,
-0.0009823128348216414,
0.053379159420728683,
0.006042679771780968,
-0.010713787749409676,
-0.045374009758234024,
-0.03888707980513573,
-0.0039874785579741,
-0.015259814448654652,
-0.026465298607945442,
-0.023549629375338554,
-0.023101065307855606,
0.0042678313329815865,
0.03277970477938652,
-0.04551203176379204,
-0.0029587997123599052,
0.0019161030650138855,
0.021686362102627754,
-0.011239987798035145,
-0.002540427027270198,
0.05086029693484306,
0.024153465405106544,
-0.07377158850431442,
-0.002191064413636923,
-0.053413666784763336,
-0.006435173563659191,
-0.008350198157131672,
-0.016027549281716347,
0.05151589214801788,
0.030347105115652084,
0.011136473156511784,
-0.01422466617077589,
-0.05141237750649452,
0.0745306983590126,
0.010601646266877651,
0.02701737731695175,
-0.03514329344034195,
0.0291049275547266,
-0.010308354161679745,
-0.00040435491246171296,
-0.016191449016332626,
0.004800501279532909,
-0.022825025022029877,
-0.029018664732575417,
0.00841489527374506,
0.007168403826653957,
0.01733011193573475,
-0.015389208681881428,
0.021134283393621445,
0.0274659413844347,
-0.06324757635593414,
-0.04378678277134895,
-0.002238508779555559,
-0.002766865771263838,
-0.053413666784763336,
-0.03650623932480812,
0.009350841864943504,
-0.03219312056899071,
-0.07301247864961624,
0.04406282305717468,
-0.019667822867631912,
-0.043993812054395676,
0.021030768752098083,
0.02127230353653431,
0.00015810276090633124,
-0.010351485572755337,
-0.004123341757804155,
0.013155012391507626,
0.05900346860289574,
-0.03602316975593567,
-0.03657525032758713,
-0.09509564936161041,
0.016294963657855988,
0.036092180758714676,
0.06607697904109955,
0.046512674540281296,
-0.05696767568588257,
-0.04592609032988548,
-0.02034066990017891,
0.014888886362314224,
0.08798762410879135,
0.05382772535085678,
0.01963331736624241,
-0.012421783059835434,
0.008151794783771038,
-0.005412964150309563,
0.02708638645708561,
0.0433037132024765,
0.01236139889806509,
-0.018442897126078606,
0.03781742602586746,
0.046685200184583664,
-0.013129133731126785,
0.032693441957235336,
0.004446825478225946,
-0.057105693966150284,
-0.0018956158310174942,
0.04630564525723457,
0.055276934057474136,
0.004123341757804155,
0.05745074525475502,
0.007707543671131134,
-0.006051305681467056,
0.009911547414958477,
-0.046133119612932205,
-0.04775485396385193,
-0.020150892436504364,
0.08143168687820435,
0.010420495644211769,
0.011748936027288437,
0.0302608422935009,
-0.02955349162220955,
-0.01896047033369541,
-0.03233113884925842,
0.016208700835704803,
-0.03064039722084999,
-0.07570386677980423,
0.0033469803165644407,
0.014397190883755684,
-0.00921282172203064,
-0.051446881145238876,
0.01682979054749012,
0.08964386582374573,
0.057105693966150284,
-0.030830174684524536,
0.015371955931186676,
0.056381091475486755,
0.06728465855121613,
-0.03069215454161167,
-0.03705831989645958,
0.015259814448654652,
-0.009954678826034069,
0.006849233061075211,
0.042786139994859695,
0.013016993179917336,
0.03471198305487633,
0.027776485309004784,
-0.014362686313688755,
-0.028000768274068832,
0.017718292772769928,
0.02867361530661583,
0.011145099066197872,
0.020271658897399902,
-0.03788643702864647,
0.034901756793260574,
-0.04647817090153694,
0.0009898608550429344,
0.010843181051313877,
-0.010808676481246948,
-0.03514329344034195,
-0.025188615545630455,
-0.05406925827264786,
0.0154840974137187,
-0.013301658444106579,
-0.04627114161849022,
0.05027371272444725,
-0.003963756375014782,
-0.05500089377164841,
0.023808415979146957,
-0.020513193681836128,
0.007090767379850149,
0.04271712899208069,
-0.05086029693484306,
-0.05296510085463524,
-0.031882576644420624,
0.012715074233710766,
0.00376103981398046,
0.036816783249378204,
-0.017407748848199844,
0.05151589214801788,
-0.043890297412872314,
0.036644257605075836,
-0.040922872722148895,
-0.0020735319703817368,
0.002598654245957732,
-0.029846783727407455,
-0.018598169088363647,
-0.005805457942187786,
-0.035212304443120956,
0.08239782601594925,
0.0013607890577986836,
-0.030071064829826355,
-0.07190831750631332,
-0.0004466773825697601,
0.005516479257494211,
-0.020858243107795715,
0.03233113884925842,
-0.022669753059744835,
0.025913218036293983,
-0.018874209374189377,
0.03778292238712311,
-0.06573193520307541,
0.0391286164522171,
0.0014427383430302143,
-0.014328180812299252,
-0.0395771786570549,
-0.01274957973510027,
0.033090248703956604,
0.05924500152468681,
0.02039242722094059,
-0.014647351577877998,
0.0005946712917648256,
0.0017629873473197222,
-0.012464913539588451,
0.01285309437662363,
-0.02850108966231346,
-0.029070422053337097,
0.005770953372120857,
0.0433037132024765,
-0.019271016120910645,
-0.021341312676668167,
-0.03150302171707153,
0.0647657960653305,
-0.021134283393621445,
0.0200128722935915,
-0.019046733155846596,
0.011714431457221508,
0.012085359543561935,
0.003715751925483346,
0.02230745181441307,
0.1258050501346588,
-0.0772910937666893,
-0.03409089148044586,
-0.013586324639618397,
-0.09461257606744766,
0.002227725926786661,
-0.012016349472105503,
-0.024860817939043045,
0.009833911433815956,
-0.03360782191157341,
0.024256981909275055,
0.005136924795806408,
-0.06155683472752571,
-0.011930086649954319,
0.010273849591612816,
-0.02636178396642208,
0.011886956170201302,
0.029898541048169136,
-0.03688579425215721,
0.04095737636089325,
0.04478742554783821,
0.05355168506503105,
0.044545892626047134,
0.030554134398698807,
0.008936782367527485,
0.024584777653217316,
0.0358506441116333,
-0.0031830817461013794,
0.022652501240372658,
-0.017071325331926346,
-0.02054769918322563,
-0.005952103994786739,
-0.07049361616373062,
0.028656361624598503,
-0.0865384191274643,
-0.05344817042350769,
0.024256981909275055,
-0.04823792353272438,
0.008328632451593876,
0.06411019712686539,
0.07625593990087509,
-0.04116440564393997,
-0.015880903229117393,
0.036437228322029114,
0.026344530284404755,
0.03338354080915451,
0.0003272579051554203,
0.007543644867837429,
-0.029898541048169136,
0.008643490262329578,
0.016536498442292213,
-0.09385346621274948,
-0.0228077732026577,
-0.05355168506503105,
-0.06348910927772522,
-0.04927306994795799,
0.010748292319476604,
-0.029950298368930817,
-0.01956430822610855,
0.007685977965593338,
-0.016105186194181442,
-0.0174422524869442,
-0.03103720396757126,
0.036816783249378204,
-0.0348845049738884,
0.01554448064416647,
0.007750674616545439,
-0.08688347041606903,
0.0372653491795063,
-0.031986091285943985,
-0.07625593990087509,
-0.035281311720609665,
0.005494913551956415,
0.01923651061952114,
0.036161188036203384,
-0.006633576937019825,
-0.04182000085711479,
-0.08584831655025482,
-0.036644257605075836,
0.011360755190253258,
-0.0414404459297657,
-0.03574712947010994,
-0.03048512525856495,
0.017959827557206154,
0.011231361888349056,
0.010920817032456398,
-0.026775842532515526,
0.09019594639539719,
0.1331891119480133,
-0.02330809459090233,
-0.003262874437496066,
0.036437228322029114,
-0.059624556452035904,
-0.023929184302687645,
0.006042679771780968,
-0.0221004206687212,
-0.041958022862672806,
0.022393712773919106,
0.021531090140342712,
0.027534950524568558,
-0.06376515328884125,
0.018563663586974144,
-0.02587871439754963,
-0.009601002559065819,
-0.0005162263987585902,
0.03740336745977402,
-0.050239209085702896,
0.027724727988243103,
0.03899059444665909,
0.038127969950437546,
-0.01694193109869957,
-0.03176180645823479,
0.0023765284568071365,
-0.02532663382589817,
0.008488218300044537,
0.02955349162220955,
0.010636151768267155,
0.057485248893499374,
-0.05054975301027298,
0.010515384376049042,
-0.004947147332131863,
-0.014164282940328121,
-0.02346336655318737,
-0.023377105593681335,
0.017718292772769928,
-0.05672613903880119,
0.011222735978662968,
0.028759878128767014,
0.010455000214278698,
-0.022238440811634064,
0.0006329502211883664,
0.03833500295877457,
0.005171429831534624,
0.06511084735393524,
0.07715307176113129,
-0.013551820069551468,
-0.02703462913632393,
0.03514329344034195,
-0.035712625831365585,
0.020461436361074448,
0.007539331912994385,
0.04440787434577942,
0.019012227654457092,
0.023101065307855606,
0.018132351338863373,
-0.04578807204961777,
-0.00460641086101532,
-0.007021757774055004,
-0.0115160271525383,
-0.02938096597790718,
0.015087289735674858,
-0.008587419986724854,
0.05286158621311188,
-0.049480099231004715,
0.0530686154961586,
0.03826599195599556,
-0.057485248893499374,
-0.025568168610334396,
-0.03954267501831055,
0.0012162995990365744,
0.030295347794890404,
-0.006741404999047518,
0.028518343344330788,
-0.04458039626479149,
0.0017651439411565661,
0.024791806936264038,
-0.013879616744816303,
-0.020754728466272354,
-0.01951255090534687,
0.02686210535466671,
-0.03428066894412041,
-0.012646065093576908,
-0.028587352484464645,
0.001979721710085869,
0.01935727708041668,
0.0763249546289444,
0.009273205883800983,
-0.017804555594921112,
0.013965879566967487,
0.04944559559226036,
0.007737735286355019,
0.004263517912477255,
0.04095737636089325,
-0.038024455308914185,
-0.001035148510709405,
0.06749168783426285,
-0.020426930859684944,
-0.021513836458325386,
-0.03823148459196091,
0.02456752583384514,
-0.004261361435055733,
0.007362494245171547,
-0.0011936556547880173,
-0.0069484347477555275,
0.09330138564109802,
-0.023066559806466103,
-0.010670656338334084,
0.014448948204517365,
-0.015855025500059128,
0.06880287081003189,
0.03091643750667572,
0.0010653403587639332,
0.010765545070171356,
0.011076089926064014,
-0.0535171814262867,
-0.05558747798204422,
-0.04847945645451546,
-0.043062180280685425,
0.07377158850431442,
0.009480235166847706,
0.02089274860918522,
-0.008216491900384426,
0.000706273247487843,
-0.016036177054047585,
-0.027828242629766464,
0.04644366353750229,
-0.01638985238969326,
0.021686362102627754,
-0.07321950793266296,
-0.06255747377872467,
-0.05444881319999695,
-0.009419851936399937,
0.05048074573278427,
0.03843851760029793,
-0.0044015380553901196,
-0.013896869495511055,
-0.004627976566553116,
0.011369382031261921,
-0.05848589166998863,
-0.04392480477690697,
-0.006081497762352228,
-0.004250578582286835,
0.03403913602232933,
-0.027483193203806877,
0.038024455308914185,
-0.005236126482486725,
0.042510099709033966,
-0.02862185798585415,
0.0029480168595910072,
-0.012525297701358795,
0.03712732717394829,
-0.021996906027197838,
0.02593047171831131,
0.021565595641732216,
0.02938096597790718,
0.03207235410809517,
0.026344530284404755,
0.02477455511689186,
0.0005838884972035885,
-0.06880287081003189,
-0.023704901337623596,
0.00904892385005951,
0.052930597215890884,
-0.0021759686060249805,
0.03153752535581589,
-0.00003212936644558795,
0.038507524877786636,
-0.005447469186037779,
0.020461436361074448,
-0.026620570570230484,
0.02877712994813919,
0.021289555355906487,
0.005650185979902744,
0.006754344329237938,
-0.05317213013768196,
-0.06649104505777359,
0.03428066894412041,
-0.026396287605166435,
0.020047377794981003,
-0.09944327175617218,
0.010256596840918064,
0.010903564281761646,
0.0354020819067955,
0.00917831715196371,
-0.000014733681382494979,
0.007297797128558159,
0.036437228322029114,
0.004973025992512703,
0.007198595441877842,
0.008785823360085487,
-0.03985321894288063,
-0.06059069558978081,
-0.0358506441116333,
0.04354524984955788,
-0.02636178396642208,
0.05848589166998863,
0.04109539836645126,
-0.022566238418221474,
0.02066846564412117,
-0.004464078228920698,
-0.015984419733285904,
0.032641682773828506,
-0.0041794124990701675,
0.004753056913614273,
0.05406925827264786,
-0.004860884975641966,
0.010420495644211769,
-0.006124628707766533,
-0.03792094066739082,
-0.015061411075294018,
-0.0016540811629965901,
-0.0002978747652377933,
-0.06262648850679398,
-0.02197965420782566,
0.027172649279236794,
-0.026844851672649384,
0.00024436513194814324,
-0.02049594186246395,
0.019598811864852905,
0.06528336554765701,
0.033090248703956604,
-0.01973683200776577,
-0.05662262439727783,
-0.09426752477884293,
0.014034888707101345,
0.009730396792292595,
-0.00397453922778368,
-0.03405638784170151,
0.032865967601537704,
-0.04219955578446388,
-0.018494654446840286,
-0.009290458634495735,
-0.0007639611721970141,
0.043441735208034515,
-0.0035626362077891827,
0.06994153559207916,
0.003860241500660777,
-0.04030178487300873,
0.028656361624598503,
-0.06963099539279938,
0.014569715596735477,
-0.06680158525705338,
-0.009963304735720158,
0.016346720978617668,
0.045028962194919586,
0.04395930841565132,
-0.005952103994786739,
0.009221448563039303,
0.02769022434949875,
0.012171621434390545,
-0.01918475329875946,
0.02867361530661583,
0.02751769870519638,
0.011981844902038574,
-0.012594307772815228,
-0.011257240548729897,
-0.014060767367482185,
0.048272427171468735,
0.07397861778736115,
0.013465557247400284,
0.004295866470783949,
-0.0005065219011157751,
0.049307577311992645,
-0.09571673721075058,
0.038680050522089005,
-0.055725496262311935,
0.011343502439558506,
-0.0026288460940122604,
0.05938302353024483,
-0.0026439419016242027,
0.051722921431064606,
-0.0035432272125035524,
0.01935727708041668,
0.010920817032456398,
-0.005533731542527676,
-0.045305002480745316,
0.020271658897399902,
-0.05607054755091667,
-0.04085386171936989,
0.03667876496911049,
0.02801802009344101,
0.02922569401562214,
-0.029812278226017952,
0.06714663654565811,
0.009273205883800983,
-0.04192351549863815,
-0.08315693587064743,
-0.036920297890901566,
-0.026827599853277206,
0.05531143769621849,
0.037092823535203934,
0.002902728971093893,
0.03619569540023804,
-0.07798118889331818,
-0.02401544712483883,
-0.024325991049408913,
0.0034850002266466618,
0.01682979054749012,
0.004190194886177778,
0.012628812342882156,
-0.0010049566626548767,
0.05624306946992874,
-0.01935727708041668,
0.00439938111230731,
0.0442008413374424,
0.03524680808186531,
-0.051239851862192154,
0.024308739230036736,
0.024256981909275055,
0.004116871859878302,
-0.07004505395889282,
-0.041026387363672256,
-0.04275163635611534,
0.0017996488604694605,
-0.013016993179917336,
-0.02061670832335949,
-0.003692029742524028,
0.04458039626479149
] |
710,133
|
urllib3_future._collections
|
__delitem__
| null |
def __delitem__(self, key: str) -> None:
del self._container[_lower_wrapper(key)]
|
(self, key: str) -> NoneType
|
[
0.0591244176030159,
0.004515734501183033,
-0.044386155903339386,
-0.0036438636016100645,
-0.03900497779250145,
-0.01638346165418625,
-0.02663169428706169,
0.06090671941637993,
0.08699001371860504,
-0.02868819423019886,
-0.03547465056180954,
0.02416389249265194,
0.037119850516319275,
-0.008063198998570442,
-0.06234626844525337,
-0.0001802116457838565,
-0.005959569942206144,
0.03698275238275528,
0.00625090766698122,
-0.07197754830121994,
-0.011576388962566853,
0.06217489391565323,
0.07478810101747513,
0.0058010476641356945,
-0.029784996062517166,
0.036331526935100555,
0.060769617557525635,
0.0038902151864022017,
0.09432486444711685,
-0.05257788673043251,
-0.03855940327048302,
-0.01936538890004158,
-0.019742414355278015,
0.008114611729979515,
-0.025346379727125168,
-0.019074050709605217,
-0.01643487438559532,
0.010882319882512093,
-0.002894097240641713,
0.02147330343723297,
0.04195262864232063,
0.03831947594881058,
0.0453115813434124,
-0.056485239416360855,
0.08082050830125809,
0.07430825382471085,
0.021096277981996536,
0.016657661646604538,
-0.002497792476788163,
0.012133358046412468,
-0.004635696765035391,
0.0035324697382748127,
0.015963591635227203,
0.0063965762965381145,
-0.04020460322499275,
0.05182383581995964,
-0.00011360296048223972,
0.040410254150629044,
0.01861133798956871,
0.04747090861201286,
0.000007744515642116312,
-0.003926632460206747,
-0.06296321749687195,
-0.04959595948457718,
0.035577476024627686,
-0.02591191790997982,
0.00480278767645359,
0.011782039888203144,
0.035303276032209396,
-0.04555150866508484,
-0.01852565072476864,
-0.027677081525325775,
0.02503790520131588,
0.035303276032209396,
-0.021439027041196823,
-0.039142075926065445,
-0.002911234740167856,
0.005916725844144821,
0.049458861351013184,
-0.04500310495495796,
0.023821141570806503,
-0.01873129978775978,
-0.0251921433955431,
0.009648418985307217,
-0.016040710732340813,
0.018268587067723274,
0.05871311575174332,
0.005458297673612833,
-0.0006940692546777427,
0.04469463229179382,
-0.020582152530550957,
0.018885537981987,
-0.07012669742107391,
0.004061590414494276,
0.01963958889245987,
0.002962647471576929,
-0.0005068954778835177,
-0.01801152527332306,
0.02718009427189827,
-0.017685912549495697,
0.07526795566082001,
0.009468475356698036,
0.04380347952246666,
0.030059196054935455,
-0.006649354472756386,
0.0047813658602535725,
0.02316991612315178,
-0.040375977754592896,
-0.03083038330078125,
0.0515153594315052,
-0.04472890496253967,
0.02618611790239811,
-0.019828101620078087,
0.018954088911414146,
0.013864247128367424,
0.0490475594997406,
-0.05466866493225098,
-0.043872032314538956,
0.005034144036471844,
-0.000779756810516119,
0.010368194431066513,
-0.011859158053994179,
-0.06423139572143555,
-0.007823274470865726,
0.06563667207956314,
0.002339270431548357,
-0.024112479761242867,
0.05518278852105141,
0.018628476187586784,
0.017008980736136436,
-0.028465406969189644,
0.026168981567025185,
-0.00433364836499095,
-0.010471019893884659,
0.03506334871053696,
0.014352666214108467,
0.0428437814116478,
-0.0029433676972985268,
-0.02860250696539879,
0.04503738135099411,
-0.02015371434390545,
0.03194432333111763,
0.028105519711971283,
0.06035831570625305,
0.07718735188245773,
-0.07506230473518372,
-0.046956781297922134,
0.008033208549022675,
-0.043872032314538956,
-0.006298035848885775,
-0.06916699558496475,
0.04486600682139397,
0.03746259957551956,
-0.01174776442348957,
0.011113676242530346,
0.028379719704389572,
-0.05206376314163208,
0.027917006984353065,
-0.08006645739078522,
-0.0113278953358531,
0.050692759454250336,
0.013427240774035454,
0.011867727153003216,
-0.041884079575538635,
-0.047710832208395004,
-0.04123285412788391,
0.03646862506866455,
-0.03257840871810913,
-0.01224475260823965,
0.025466343387961388,
-0.03496052324771881,
-0.016220655292272568,
-0.0195196270942688,
0.01460115984082222,
-0.0009131080587394536,
0.036160148680210114,
-0.023307016119360924,
0.015817923471331596,
0.014181290753185749,
-0.03290402144193649,
-0.00918570626527071,
0.004965594038367271,
-0.021918877959251404,
-0.0010871608974412084,
-0.0032604115549474955,
0.03098462149500847,
0.005788194481283426,
0.015680823475122452,
0.015817923471331596,
0.02567199245095253,
-0.06190069392323494,
-0.022570103406906128,
-0.01533807348459959,
-0.032475586980581284,
0.027728494256734848,
-0.008161740377545357,
-0.02670024335384369,
-0.018439963459968567,
-0.033589523285627365,
0.04585998132824898,
-0.07060655206441879,
-0.01269889622926712,
0.00781898945569992,
0.037325501441955566,
-0.04205545410513878,
-0.02039363980293274,
0.014198428951203823,
-0.02781418152153492,
-0.0016762629384174943,
0.025414930656552315,
0.03288688510656357,
0.0007363774930126965,
0.013530065305531025,
0.007476239465177059,
0.059021592140197754,
-0.08013500273227692,
-0.09363936632871628,
0.0039309170097112656,
0.01301594078540802,
0.010608119890093803,
0.016409168019890785,
0.017840150743722916,
0.021833190694451332,
-0.050178635865449905,
0.020427914336323738,
-0.0032946867868304253,
0.02880815789103508,
0.02777990698814392,
0.022844303399324417,
-0.0017908699810504913,
0.04376920685172081,
-0.0016194948693737388,
0.051241159439086914,
0.005034144036471844,
0.04123285412788391,
-0.07016097754240036,
-0.0731429010629654,
-0.02920231968164444,
0.023632628843188286,
-0.018868399783968925,
0.01713751256465912,
0.019793827086687088,
0.026357494294643402,
0.05631386488676071,
-0.006229485385119915,
0.05213231220841408,
-0.01339296530932188,
0.08369960635900497,
-0.0014331244165077806,
-0.023958241567015648,
0.04606563225388527,
-0.0390392541885376,
0.02349552884697914,
0.03281833603978157,
0.04613418132066727,
-0.03192718327045441,
-0.05967281758785248,
-0.00876583717763424,
-0.012913115322589874,
-0.008615883998572826,
-0.0346006378531456,
-0.026357494294643402,
-0.009751244448125362,
0.03828520327806473,
0.037599701434373856,
0.05432591214776039,
0.06543102115392685,
0.07211465388536453,
0.020565014332532883,
0.015209541656076908,
0.01845709979534149,
-0.0327669233083725,
0.02884243242442608,
-0.037873901426792145,
-0.01245897077023983,
0.09542166441679001,
-0.007154911290854216,
-0.03487483784556389,
-0.005865313578397036,
0.022158803418278694,
0.07149770110845566,
-0.035011935979127884,
0.009040037170052528,
0.011173658072948456,
-0.011362170800566673,
0.009485612623393536,
0.02178177796304226,
0.0029240879230201244,
0.03437785059213638,
0.044386155903339386,
-0.00530834449455142,
-0.03230420872569084,
-0.010342488065361977,
0.043426454067230225,
0.0077161649242043495,
-0.00557397585362196,
-0.09665556997060776,
0.010848045349121094,
0.041678428649902344,
0.037325501441955566,
-0.013598616234958172,
0.020187988877296448,
-0.053948886692523956,
-0.016366323456168175,
-0.0058010476641356945,
0.009322806261479855,
0.0301962960511446,
0.03694847598671913,
-0.046374108642339706,
0.04956168308854103,
0.007069223560392857,
0.013444378040730953,
-0.04685395956039429,
0.03845657780766487,
0.02622039243578911,
-0.03074469603598118,
-0.0042779515497386456,
0.03893642872571945,
-0.0043764919973909855,
0.09692976623773575,
-0.00685500493273139,
-0.05309201031923294,
-0.11297047883272171,
0.006208063568919897,
0.02539779245853424,
-0.014378372579813004,
0.0010062932269647717,
-0.016023574396967888,
0.05182383581995964,
0.020256539806723595,
0.021439027041196823,
-0.004179410636425018,
-0.012296164408326149,
-0.047950759530067444,
-0.008598746731877327,
-0.025689130648970604,
0.018182899802923203,
0.01114795170724392,
0.023718316107988358,
-0.021970290690660477,
-0.03309253603219986,
0.00549685675650835,
0.015697961673140526,
-0.023581216111779213,
-0.000022091324353823438,
-0.014027053490281105,
-0.006550814025104046,
-0.028705332428216934,
0.02229590341448784,
-0.0427752286195755,
0.07499375194311142,
0.018594199791550636,
0.06063251569867134,
0.008684433996677399,
0.10145407170057297,
-0.02344411611557007,
-0.003958765417337418,
0.01226188987493515,
-0.024026792496442795,
-0.011533545330166817,
0.05432591214776039,
-0.04109575226902962,
-0.05226941034197807,
-0.03948482871055603,
0.0013249438488855958,
-0.03336673602461815,
-0.0340350978076458,
-0.08603031188249588,
0.007514799013733864,
-0.048190683126449585,
-0.015680823475122452,
-0.03691419959068298,
-0.03746259957551956,
0.040410254150629044,
0.020342227071523666,
-0.0018829841865226626,
0.06087244302034378,
0.07451390475034714,
-0.04671685770153999,
0.022467277944087982,
0.01329014077782631,
0.014027053490281105,
0.05885021761059761,
0.02431812882423401,
-0.015449467115104198,
0.03444639965891838,
-0.009434199891984463,
0.01583506166934967,
0.00312545383349061,
0.021336201578378677,
-0.009211412630975246,
-0.03211569786071777,
-0.049184657633304596,
0.01725747436285019,
-0.05106978490948677,
-0.01972527615725994,
-0.018885537981987,
-0.08116325736045837,
-0.06207206845283508,
-0.010779495351016521,
0.08760695904493332,
-0.02095917798578739,
-0.0528520867228508,
-0.0024528063368052244,
0.050727035850286484,
0.000024484550522174686,
-0.043392181396484375,
0.025260692462325096,
-0.010608119890093803,
-0.022398728877305984,
0.04980161041021347,
-0.022330177947878838,
0.01083090715110302,
-0.03598877415060997,
0.043117981404066086,
-0.04191835597157478,
0.014618298038840294,
-0.010693807154893875,
0.03131023421883583,
0.04486600682139397,
-0.013778559863567352,
-0.029579345136880875,
-0.035851676017045975,
-0.015740804374217987,
-0.06385436654090881,
-0.011233638972043991,
-0.013847109861671925,
-0.06244909390807152,
0.0018476380500942469,
-0.017248906195163727,
-0.029853545129299164,
-0.04671685770153999,
-0.02563771791756153,
0.002574911108240485,
-0.017128942534327507,
0.031567297875881195,
-0.0289623960852623,
-0.01535521075129509,
-0.004262956324964762,
0.04496883228421211,
-0.046648308634757996,
-0.013590047135949135,
0.04356355592608452,
0.008204584009945393,
0.005591113120317459,
0.027111543342471123,
0.005076988134533167,
0.054737213999032974,
0.07684460282325745,
-0.027608532458543777,
0.05528561398386955,
0.027745632454752922,
-0.008247427642345428,
-0.030881796032190323,
0.020856352522969246,
-0.08863521367311478,
-0.030813246965408325,
-0.017163218930363655,
-0.03192718327045441,
-0.02841399423778057,
-0.02051360160112381,
0.060289766639471054,
0.009537025354802608,
-0.0591929666697979,
-0.03285260871052742,
0.04472890496253967,
-0.0004450397682376206,
0.01777159981429577,
0.022518690675497055,
0.010411038994789124,
-0.041884079575538635,
-0.03496052324771881,
-0.008363106288015842,
-0.03715412691235542,
-0.06251764297485352,
0.03927917778491974,
0.03917635232210159,
0.04572288319468498,
-0.004023030865937471,
-0.01533807348459959,
0.02733433246612549,
-0.048464883118867874,
0.01108796987682581,
-0.008525912649929523,
-0.00248065497726202,
0.016769055277109146,
-0.013530065305531025,
-0.02325560338795185,
0.0024420954287052155,
0.018080074340105057,
-0.02808838151395321,
-0.021610403433442116,
-0.00398661382496357,
0.017206061631441116,
0.09384501725435257,
-0.03067614696919918,
-0.03134451061487198,
0.0008782974909991026,
0.011422151699662209,
-0.05052138492465019,
-0.0132130216807127,
-0.00873156264424324,
-0.01158495806157589,
-0.030127746984362602,
0.05254361033439636,
-0.03982757776975632,
0.0321328341960907,
0.025774817913770676,
-0.045414406806230545,
-0.09535311907529831,
-0.03451494872570038,
0.006675060838460922,
0.06971539556980133,
-0.03355524688959122,
0.0314987488090992,
-0.016769055277109146,
-0.10028871893882751,
-0.0017972965724766254,
-0.008063198998570442,
0.033709485083818436,
0.03694847598671913,
0.021524714305996895,
0.0027355754282325506,
0.002083278726786375,
-0.02238159067928791,
-0.03574885055422783,
-0.049150384962558746,
-0.005578259937465191,
0.04503738135099411,
0.04250102862715721,
-0.03677710145711899,
-0.01227902714163065,
-0.00625947630032897,
-0.011122245341539383,
0.03139592334628105,
0.0415756031870842,
-0.03059045970439911,
-0.03900497779250145,
0.01960531435906887,
0.05213231220841408,
0.02277575433254242,
0.029185183346271515,
0.06121519207954407,
-0.05518278852105141,
-0.007981795817613602,
0.03804527595639229,
-0.01390709076076746,
0.019468214362859726,
-0.04788220673799515,
0.06282611936330795,
-0.07602200657129288,
-0.03571457415819168,
0.0007915388559922576,
-0.04335790500044823,
0.04195262864232063,
0.02123337797820568,
-0.016957568004727364,
-0.02467801794409752,
0.01440407894551754,
-0.0021625398658216,
-0.01013683807104826,
0.04627128317952156,
0.02587764337658882,
0.0026348924729973078,
0.04229538142681122,
0.026494594290852547,
-0.018662750720977783,
-0.0339665487408638,
0.07944950461387634,
0.005042713135480881,
-0.004939887672662735,
-0.06121519207954407,
0.045688606798648834,
-0.028636783361434937,
-0.06138656660914421,
0.022758616134524345,
-0.005265500396490097,
-0.035851676017045975,
-0.02234731614589691,
-0.10165972262620926,
-0.014181290753185749,
0.027831319719552994,
0.025243554264307022,
0.005629672668874264,
-0.02289571613073349,
0.014446922577917576,
0.02563771791756153,
0.010265369899570942,
-0.04171270504593849,
-0.016400599852204323,
0.021336201578378677,
-0.037394050508737564,
0.03245844691991806,
0.00030445860465988517,
0.018474237993359566,
-0.011010851711034775,
0.02742001973092556,
-0.021250514313578606,
-0.06831011921167374,
0.057513490319252014,
0.08575610816478729,
-0.034943386912345886,
0.06693912297487259,
0.04202117770910263,
0.019553901627659798,
0.07232029736042023,
-0.02051360160112381,
0.012381852604448795,
0.000571964483242482,
-0.053983163088560104,
-0.06268902122974396,
0.007759008556604385,
0.013041646219789982,
0.02039363980293274,
0.020102301612496376,
-0.011156519874930382,
0.042124003171920776,
-0.05089841037988663,
-0.011173658072948456,
-0.020942039787769318,
-0.034737735986709595,
-0.008011787198483944,
-0.04856770858168602,
0.020187988877296448,
-0.01726604253053665,
-0.033675212413072586,
0.017651638016104698,
0.04932175949215889,
-0.014412648044526577,
-0.008110327646136284,
-0.027317194268107414,
-0.025860505178570747,
0.031241685152053833,
0.046648308634757996,
0.01458402257412672,
0.03893642872571945,
-0.00018811097834259272,
0.006336594931781292,
0.008607315830886364,
0.00135172123555094,
0.07458245009183884,
-0.03725695237517357,
-0.015286660753190517,
0.03797672688961029,
-0.08500205725431442,
-0.019296837970614433,
0.02059928886592388,
-0.021833190694451332,
0.011010851711034775,
-0.0321328341960907,
-0.011722058057785034,
0.015192404389381409,
-0.011499270796775818,
-0.04853343218564987,
0.018165763467550278,
-0.013804266229271889,
0.019142601639032364,
-0.04407767951488495,
-0.07009242475032806,
-0.008624453097581863,
-0.020427914336323738,
-0.00643941992893815,
-0.043117981404066086,
-0.0005317984032444656,
0.034943386912345886,
-0.09158286452293396,
0.01055670715868473,
0.01398420985788107,
-0.000028166437914478593,
0.02483225427567959,
0.02135333977639675,
-0.056588064879179,
-0.07746155560016632,
-0.035097625106573105,
-0.004063732456415892,
-0.028705332428216934,
0.043152254074811935,
0.029493657872080803,
0.031361646950244904,
0.02682020701467991,
-0.03855940327048302,
0.046168457716703415,
0.016477717086672783,
0.0037166979163885117,
-0.006045257207006216,
0.05929579213261604,
-0.024352405220270157,
0.0091085871681571,
-0.017600225284695625,
-0.07163479924201965,
0.020565014332532883,
-0.05484003946185112,
-0.016289204359054565,
-0.060289766639471054,
-0.05100123584270477,
-0.006705051753669977,
0.009571300819516182,
-0.05302346125245094,
0.027608532458543777,
0.02440381795167923,
-0.013821403495967388,
0.003309682011604309,
0.033863723278045654,
-0.02277575433254242,
0.033332459628582,
-0.008028924465179443,
0.01642630435526371,
0.0207192525267601,
-0.02436954155564308,
-0.010625257156789303,
0.05062421038746834,
0.007326286286115646,
0.010513863526284695,
-0.021798916161060333,
0.04452325776219368,
0.008607315830886364,
-0.03571457415819168,
-0.02889384515583515,
0.00532548176124692,
-0.014284116216003895,
0.02654600515961647,
-0.006949261296540499,
0.059055864810943604,
0.015140991657972336,
0.021439027041196823,
-0.02654600515961647,
0.021644677966833115,
-0.047950759530067444,
-0.030539046972990036,
0.08520770817995071,
0.01537234801799059,
-0.026443181559443474,
-0.032355621457099915,
0.012750308960676193,
0.029476521536707878,
-0.022313039749860764,
-0.014943910762667656,
-0.013932797126471996,
0.06460841745138168,
0.04726525768637657,
-0.04671685770153999,
0.04887618497014046,
0.005402600858360529,
-0.003577455645427108,
-0.013975640758872032,
-0.005094125401228666,
-0.034103650599718094,
0.06985250115394592,
-0.014524041675031185,
-0.03153302147984505,
-0.003956622909754515,
0.05504569038748741,
-0.03955337777733803,
0.05833609029650688,
0.042432479560375214,
-0.06803592294454575,
-0.0022407297510653734,
0.02059928886592388,
0.012827428057789803,
-0.001951534184627235,
-0.03907352685928345,
0.003433929057791829,
-0.022484416142106056,
-0.0014299111207947135,
0.010685238987207413,
-0.006075248122215271,
0.0065893735736608505,
-0.0035346117801964283
] |
710,134
|
urllib3_future._collections
|
__eq__
| null |
def __eq__(self, other: object) -> bool:
maybe_constructable = ensure_can_construct_http_header_dict(other)
if maybe_constructable is None:
return False
else:
other_as_http_header_dict = type(self)(maybe_constructable)
return {_lower_wrapper(k): v for k, v in self.itermerged()} == {
_lower_wrapper(k): v for k, v in other_as_http_header_dict.itermerged()
}
|
(self, other: object) -> bool
|
[
0.024411452934145927,
-0.017613094300031662,
-0.07498461753129959,
0.00021561530593317002,
-0.02566426806151867,
-0.028004081919789314,
-0.0352814607322216,
0.035852596163749695,
0.0002888784511014819,
-0.0011589683126658201,
0.03458135575056076,
-0.03627634048461914,
0.06603068113327026,
0.03137562796473503,
0.0061627402901649475,
-0.0023743591737002134,
-0.019473891705274582,
0.06610437482595444,
0.008571644313633442,
-0.05641348659992218,
-0.007627427577972412,
-0.004900714382529259,
0.003261001780629158,
0.06116681173443794,
0.01156089548021555,
0.03679220378398895,
-0.0005820749793201685,
-0.01110951416194439,
0.006503579672425985,
0.06713610142469406,
-0.01122926827520132,
-0.07314223796129227,
0.051918093115091324,
0.027654031291604042,
0.028354132547974586,
-0.03434184938669205,
-0.011210844852030277,
0.01605628803372383,
-0.04230090230703354,
-0.024300910532474518,
-0.005227735731750727,
-0.02492731809616089,
-0.05792423337697983,
-0.041821885854005814,
-0.012500506825745106,
0.013578294776380062,
-0.05788738653063774,
0.07126302272081375,
0.03301534056663513,
-0.008958542719483376,
-0.016811661422252655,
-0.05272873863577843,
0.012537353672087193,
0.06024562567472458,
-0.03465505316853523,
0.0036525060422718525,
0.012371540069580078,
0.06396722048521042,
-0.06824152916669846,
0.04230090230703354,
-0.05516067147254944,
-0.009280958212912083,
-0.022587502375245094,
-0.04779117554426193,
-0.02594062313437462,
-0.05453426390886307,
-0.05862433463335037,
0.0067753298208117485,
0.02651175856590271,
0.024245640262961388,
0.004988227039575577,
0.02538791112601757,
-0.028114624321460724,
0.019252806901931763,
-0.03780551254749298,
0.028667336329817772,
-0.03524461016058922,
0.01991606131196022,
0.01923438347876072,
-0.08047489076852798,
0.026382792741060257,
-0.0266775730997324,
-0.061572134494781494,
-0.0489702969789505,
-0.059656064957380295,
-0.003712383331730962,
-0.04038483276963234,
0.014619236811995506,
0.03329169377684593,
-0.009202657267451286,
-0.005061922129243612,
0.0456908717751503,
0.024171944707632065,
-0.05003887414932251,
0.047533243894577026,
0.045838262885808945,
-0.019050145521759987,
0.004387152846902609,
-0.01619446650147438,
-0.02002660371363163,
0.0016017137095332146,
-0.0033876649104058743,
0.011920158751308918,
0.07144726067781448,
-0.02109518088400364,
0.026898657903075218,
0.013495388440787792,
-0.02905423566699028,
-0.04830704256892204,
-0.02385874092578888,
-0.022200604900717735,
-0.01356908306479454,
-0.04384849593043327,
0.020118722692131996,
0.03176252543926239,
-0.07163149118423462,
-0.0027105924673378468,
0.006858236622065306,
-0.03465505316853523,
-0.015328550711274147,
0.010501530952751637,
0.06964173167943954,
0.0591033510863781,
0.006406854838132858,
0.02691708132624626,
-0.018018415197730064,
0.015521999448537827,
-0.01584441587328911,
-0.0028671943582594395,
-0.016645846888422966,
0.01940019614994526,
0.007931419648230076,
-0.016019441187381744,
0.03983212262392044,
0.045322395861148834,
-0.016866931691765785,
-0.03544727340340614,
0.05958237126469612,
0.03924256190657616,
0.01207676064223051,
0.03927940875291824,
-0.009515861049294472,
-0.0009505497291684151,
-0.03312588110566139,
-0.05969291180372238,
-0.013080853968858719,
-0.053391993045806885,
0.006844418589025736,
0.026640726253390312,
-0.0283172857016325,
0.01745649240911007,
-0.00690890196710825,
0.030657101422548294,
0.028980540111660957,
-0.08216987550258636,
-0.05888226628303528,
-0.013670413754880428,
-0.028114624321460724,
0.0006764966528862715,
0.04252198711037636,
0.03334696590900421,
-0.013928346335887909,
0.025203673169016838,
-0.036865901201963425,
-0.018773788586258888,
-0.021868977695703506,
-0.004734900780022144,
-0.05770314857363701,
0.022200604900717735,
-0.0054211849346756935,
-0.01890275627374649,
-0.01616683043539524,
0.01578914374113083,
-0.003378452965989709,
-0.002133699133992195,
0.01320060808211565,
-0.010897641070187092,
-0.008189351297914982,
-0.0393899530172348,
-0.02673284523189068,
0.03629476577043533,
-0.05781368911266327,
-0.05729782581329346,
0.0020692162215709686,
0.00480859586969018,
0.018322408199310303,
0.003820622805505991,
-0.019842365756630898,
0.03706856071949005,
0.03631318733096123,
0.003378452965989709,
-0.0009960333118215203,
-0.02662230283021927,
-0.004882290493696928,
0.01586283929646015,
-0.016922203823924065,
-0.016562940552830696,
-0.03249947354197502,
0.06956803798675537,
0.09211869537830353,
-0.0818013995885849,
-0.025295792147517204,
-0.023600809276103973,
0.015724660828709602,
-0.005633058026432991,
-0.04152710735797882,
0.004193703643977642,
-0.01813817024230957,
0.044032733887434006,
0.0039818305522203445,
-0.05932443588972092,
-0.05121799185872078,
-0.02549845352768898,
0.007636639755219221,
0.023766621947288513,
0.016351068392395973,
-0.014536329545080662,
-0.048601821064949036,
-0.009170415811240673,
-0.01975024677813053,
0.10007774829864502,
-0.016940627247095108,
0.030270202085375786,
-0.009423742070794106,
0.0023950859904289246,
0.02842782810330391,
-0.01742885634303093,
0.027340827509760857,
-0.023398147895932198,
-0.032352086156606674,
0.06370928883552551,
0.018700094893574715,
0.022200604900717735,
0.000598195765633136,
0.005688329227268696,
0.007926813326776028,
0.016848508268594742,
0.017419643700122833,
-0.04252198711037636,
-0.008585462346673012,
0.0285936426371336,
0.012933464720845222,
0.02877787873148918,
0.036479003727436066,
-0.018976449966430664,
-0.09926710277795792,
-0.03441554307937622,
0.047754328697919846,
-0.007143804337829351,
0.0032494869083166122,
-0.013974405825138092,
-0.008525584824383259,
-0.02081882394850254,
-0.040974393486976624,
0.0026092620100826025,
-0.01934492588043213,
-0.04550663381814957,
-0.025645844638347626,
0.03673693537712097,
-0.015549635514616966,
0.0317256785929203,
0.03001227043569088,
0.0027658636681735516,
0.024466725066304207,
-0.060724642127752304,
0.015181160531938076,
-0.003141247434541583,
0.04587510973215103,
-0.015070618130266666,
-0.020118722692131996,
-0.018838273361325264,
-0.06286179274320602,
0.012205726467072964,
0.018709305673837662,
0.014683719724416733,
0.019602857530117035,
0.043074700981378555,
-0.05213917791843414,
-0.03572363033890724,
-0.00019013874407391995,
0.01207676064223051,
-0.0014946258161216974,
0.006839812733232975,
-0.08541245013475418,
-0.007982084527611732,
0.0008785820100456476,
-0.038100291043519974,
0.007609004154801369,
0.009184233844280243,
-0.06754142791032791,
-0.0028810121584683657,
-0.015798356384038925,
0.030417591333389282,
0.002401994774118066,
0.013642778620123863,
0.0322783887386322,
-0.020505620166659355,
-0.038284529000520706,
0.06400406360626221,
0.013329574838280678,
-0.013523023575544357,
0.03535515442490578,
0.026327522471547127,
-0.04086385294795036,
0.022919131442904472,
-0.027598759159445763,
0.015936532989144325,
0.059029657393693924,
-0.024171944707632065,
0.04226405546069145,
0.016701119020581245,
0.060908880084753036,
0.004550663288682699,
-0.01849743351340294,
0.02853837050497532,
0.00015242764493450522,
0.004182188771665096,
-0.010879217647016048,
-0.007355677429586649,
0.06054040417075157,
-0.047238465398550034,
0.010870005935430527,
-0.06381983309984207,
-0.017631517723202705,
0.04635412618517876,
-0.11555368453264236,
0.03012281283736229,
0.007931419648230076,
0.015881262719631195,
0.05906650424003601,
-0.013513811863958836,
-0.016562940552830696,
0.08511766791343689,
0.03660796955227852,
0.007673487067222595,
0.0056975409388542175,
0.02103990875184536,
0.02380347065627575,
0.013311151415109634,
-0.03102557547390461,
-0.05250765383243561,
-0.03942679986357689,
0.045101311057806015,
-0.047975413501262665,
-0.03332854434847832,
-0.04156395420432091,
-0.05947182700037956,
0.03401022031903267,
0.004322669468820095,
-0.06459362804889679,
-0.11194263398647308,
0.020284535363316536,
0.08953937143087387,
0.028077777475118637,
0.024558844044804573,
0.04528554901480675,
0.009948818944394588,
-0.026272250339388847,
0.017244618386030197,
0.038947783410549164,
0.11164785176515579,
0.01370726153254509,
-0.013182184658944607,
-0.010225174948573112,
-0.019952908158302307,
0.020266111940145493,
-0.018211865797638893,
-0.020745130255818367,
-0.04561717435717583,
-0.0591033510863781,
-0.04484337940812111,
0.0023259969893842936,
-0.008373589254915714,
-0.06750457733869553,
-0.003984133247286081,
-0.041490260511636734,
-0.09035000950098038,
0.03039916791021824,
-0.03898463025689125,
-0.023453418165445328,
0.08460180461406708,
0.0634882003068924,
0.0018734638579189777,
0.02944113314151764,
-0.027598759159445763,
-0.017299890518188477,
0.04355371743440628,
-0.01674717850983143,
0.04027429223060608,
0.03237050771713257,
-0.04535924270749092,
-0.035907864570617676,
-0.001422082306817174,
0.05788738653063774,
-0.06054040417075157,
-0.00809723325073719,
-0.04093754664063454,
0.021905824542045593,
-0.025682691484689713,
-0.02872260846197605,
0.08386486023664474,
0.025903776288032532,
0.034323424100875854,
0.02002660371363163,
0.00011572410585358739,
-0.009156597778201103,
0.04152710735797882,
-0.010464683175086975,
0.0054718502797186375,
0.024300910532474518,
-0.046575210988521576,
-0.06175637245178223,
-0.005315248388797045,
-0.023029673844575882,
-0.039979513734579086,
0.01006857305765152,
0.040311139076948166,
0.010427836328744888,
0.05630294606089592,
0.022992825135588646,
0.009004602208733559,
-0.009644826874136925,
-0.036589544266462326,
-0.0011618470307439566,
-0.009059873409569263,
-0.04664890468120575,
-0.005817295517772436,
0.0039012266788631678,
0.008990784175693989,
-0.07461614161729813,
0.02109518088400364,
-0.02251380868256092,
0.043074700981378555,
0.03176252543926239,
0.05014941468834877,
0.03780551254749298,
-0.012988735921680927,
-0.03290479630231857,
0.056487180292606354,
0.02888842113316059,
0.004172976594418287,
-0.031854644417762756,
-0.04178503900766373,
0.014563965611159801,
-0.0503336526453495,
-0.004398667719215155,
0.011892522685229778,
0.032462626695632935,
0.040974393486976624,
-0.001830858993344009,
0.04373795539140701,
-0.002125638769939542,
-0.06776250898838043,
-0.03469190001487732,
-0.05482904613018036,
-0.03261001780629158,
0.03592628985643387,
0.01951073855161667,
-0.0339181013405323,
0.009515861049294472,
-0.010787098668515682,
-0.02166631631553173,
-0.013495388440787792,
0.031559862196445465,
-0.02962537109851837,
0.0719631239771843,
-0.020892519503831863,
0.019381772726774216,
0.005840325262397528,
0.04963355138897896,
-0.009534284472465515,
-0.03384440764784813,
-0.009635615162551403,
-0.0017675274284556508,
-0.010252810083329678,
0.03231523558497429,
0.03242577984929085,
0.037989746779203415,
-0.0735844075679779,
0.027377674356102943,
-0.012786074541509151,
0.01833161897957325,
0.023048097267746925,
-0.06768881529569626,
0.034839287400245667,
-0.05096006020903587,
0.002302967244759202,
0.020008180290460587,
0.042337749153375626,
0.002240787260234356,
0.0071898638270795345,
-0.014131007716059685,
-0.08526506274938583,
0.05969291180372238,
0.06872054189443588,
0.010934488847851753,
0.026474911719560623,
0.02041350118815899,
0.011966218240559101,
0.0013126913690939546,
-0.0013633565977215767,
0.014803473837673664,
-0.01594574563205242,
0.043074700981378555,
0.029772760346531868,
-0.02103990875184536,
-0.0541657917201519,
-0.03701328858733177,
-0.020524045452475548,
0.008857212029397488,
-0.00041194327059201896,
0.010731827467679977,
0.004831625614315271,
0.008944724686443806,
0.06632545590400696,
0.028704185038805008,
-0.057739995419979095,
-0.046906836330890656,
-0.03854246065020561,
-0.029238473623991013,
0.04727531224489212,
0.03671851009130478,
0.057961080223321915,
-0.05353938415646553,
-0.05538175627589226,
0.030104387551546097,
0.004338790196925402,
0.031338777393102646,
0.01666427217423916,
-0.05578707903623581,
-0.04303785413503647,
-0.045101311057806015,
-0.04863866791129112,
0.03141247481107712,
-0.010446259751915932,
0.07063661515712738,
-0.04219036176800728,
0.016894567757844925,
0.0003915044362656772,
0.0025010225363075733,
0.010952912271022797,
0.007106957025825977,
0.00911053828895092,
-0.011302963830530643,
-0.038100291043519974,
0.036239493638277054,
-0.005914019886404276,
0.026253826916217804,
-0.0029477982316166162,
0.022237451747059822,
-0.03983212262392044,
0.009681674651801586,
0.06529372930526733,
-0.0010737584671005607,
-0.06643600016832352,
0.028114624321460724,
-0.030251778662204742,
-0.008571644313633442,
0.05939813330769539,
0.04602249711751938,
0.08998154103755951,
0.0196949765086174,
0.016489244997501373,
0.002353632589802146,
-0.05121799185872078,
-0.008714428171515465,
0.015181160531938076,
0.03148616850376129,
0.007576762232929468,
0.05383416265249252,
-0.00993039458990097,
0.010473894886672497,
-0.08047489076852798,
-0.008493343368172646,
0.0703049823641777,
0.023453418165445328,
-0.04672260209918022,
0.05387100949883461,
-0.030030693858861923,
-0.0372159518301487,
0.0015614117728546262,
0.01619446650147438,
0.06536742299795151,
-0.06610437482595444,
0.011800404638051987,
-0.0746898353099823,
-0.04731215909123421,
0.018368467688560486,
0.02115045115351677,
-0.0380265973508358,
-0.0875496044754982,
0.032867949455976486,
0.02098463848233223,
-0.032352086156606674,
0.016452398151159286,
0.0029178594704717398,
0.030730795115232468,
-0.01895802654325962,
-0.026198556646704674,
-0.012961099855601788,
0.06352505087852478,
-0.031338777393102646,
-0.039795275777578354,
-0.013384846039116383,
0.03576047718524933,
0.00654503284022212,
-0.03986896947026253,
0.00013544326066039503,
0.0010875762673094869,
-0.044032733887434006,
0.0604667104780674,
0.02177685871720314,
0.03588944301009178,
-0.04591195657849312,
0.030104387551546097,
-0.050517890602350235,
-0.006673999130725861,
0.009184233844280243,
-0.03231523558497429,
-0.014711354859173298,
0.04384849593043327,
-0.05814531818032265,
-0.01252814196050167,
0.036018408834934235,
-0.05707674100995064,
-0.02245853655040264,
0.03705013915896416,
0.006844418589025736,
0.024190368130803108,
-0.026161707937717438,
0.03047286346554756,
-0.023563960567116737,
0.05958237126469612,
-0.02232957072556019,
0.006904296111315489,
-0.002749742940068245,
0.030786067247390747,
0.026935504749417305,
0.0317441001534462,
0.0667676255106926,
0.0013748714700341225,
-0.02883315086364746,
-0.02035823091864586,
0.06846261024475098,
-0.07583210617303848,
0.02183213084936142,
0.017963144928216934,
-0.01890275627374649,
0.03684747591614723,
-0.027156589552760124,
-0.02746979333460331,
0.05151277408003807,
0.010473894886672497,
-0.028059354051947594,
-0.03373386338353157,
-0.023932436481118202,
-0.017078805714845657,
0.0017398918280377984,
0.023158639669418335,
-0.028298862278461456,
0.07185257971286774,
-0.018865907564759254,
0.06138789653778076,
-0.03876354545354843,
0.04174819216132164,
0.016655059531331062,
0.002977736759930849,
-0.022366417571902275,
0.0302333552390337,
0.00094997399719432,
-0.019823942333459854,
0.010114632546901703,
-0.02109518088400364,
-0.01963970437645912,
-0.010713404044508934,
-0.00961719173938036,
0.00782548263669014,
0.0063009182922542095,
-0.012417599558830261,
-0.03493140637874603,
0.008976966142654419,
0.030325474217534065,
-0.03572363033890724,
0.021703163161873817,
-0.0062226178124547005,
-0.003214942291378975,
-0.007751788012683392,
-0.009718522429466248,
0.009580343961715698,
-0.01589968614280224,
0.05862433463335037,
-0.07708492130041122,
-0.004002557136118412,
0.05077582225203514,
0.014370515942573547,
0.021482078358530998,
-0.04628043249249458,
0.0010559104848653078,
-0.041158631443977356,
0.017327526584267616,
-0.015604906715452671,
-0.027211861684918404,
0.04038483276963234,
-0.008373589254915714,
0.0001649500336498022,
0.019602857530117035,
-0.019731823354959488,
0.03163355961441994,
0.09970927238464355,
-0.035557813942432404,
-0.04141656309366226,
0.02087409608066082,
0.013799379579722881,
-0.03795289993286133,
0.051697008311748505,
0.012141243554651737,
-0.0035719021689146757,
0.027396099641919136,
0.01266632042825222,
0.025811657309532166,
-0.0003252941241953522,
0.03846876695752144,
0.03880039229989052,
0.019952908158302307,
0.006208799779415131,
-0.006241041235625744,
0.036257918924093246,
-0.036128949373960495,
-0.02391401305794716,
0.03334696590900421,
0.03507879748940468,
0.08158031105995178,
-0.027488216757774353,
0.023213909938931465,
-0.04152710735797882,
0.003065249416977167,
-0.039795275777578354,
0.01776048354804516,
0.028280438855290413,
0.0960245206952095,
0.031007152050733566,
-0.007862330414354801,
0.0809907540678978,
-0.015337762422859669,
-0.013237455859780312,
-0.00012695106852333993,
0.029293743893504143,
-0.00397492153570056,
-0.007530703209340572,
0.05084951967000961,
0.022532232105731964,
-0.02730398066341877,
0.0055086975917220116,
-0.013283515349030495,
0.061903759837150574,
0.052839282900094986,
-0.08813916146755219,
0.005398155190050602,
0.059877149760723114,
-0.008203169330954552,
-0.010492319241166115,
0.014112583361566067,
-0.014342879876494408,
0.013513811863958836,
0.00819395761936903,
0.01855270378291607,
0.009515861049294472,
0.06953118741512299
] |
710,135
|
urllib3_future._collections
|
__getitem__
| null |
def __getitem__(self, key: str) -> str:
val = self._container[_lower_wrapper(key)]
return ", ".join(val[1:])
|
(self, key: str) -> str
|
[
0.029146304354071617,
-0.05262625589966774,
-0.03948739916086197,
0.005405169911682606,
0.026401665061712265,
-0.02555171214044094,
0.01436951756477356,
-0.024418441578745842,
0.1415880024433136,
-0.07890397310256958,
-0.023851806297898293,
-0.006866026669740677,
0.026578739285469055,
-0.024967368692159653,
-0.01852189190685749,
0.012634197250008583,
0.021018629893660545,
0.01195246446877718,
0.007618589326739311,
0.02409970946609974,
-0.005152840167284012,
0.04168311133980751,
0.06565886735916138,
-0.06519848108291626,
-0.01855730637907982,
0.004451185930520296,
0.03761041909456253,
-0.02670269086956978,
0.04352467507123947,
-0.043453846126794815,
-0.04504751041531563,
-0.05411367490887642,
-0.016494400799274445,
0.005799158476293087,
-0.011394682340323925,
0.006547294091433287,
0.004714583046734333,
-0.03226279839873314,
0.06112578511238098,
0.00317625654861331,
-0.0076628574170172215,
-0.013776321895420551,
0.030651429668068886,
-0.07925811409950256,
0.011403536424040794,
0.019602041691541672,
0.02742869220674038,
0.03725627437233925,
0.01768079400062561,
-0.023090390488505363,
-0.009579678997397423,
-0.012740441597998142,
-0.030332697555422783,
-0.055848993360996246,
-0.04979307949542999,
-0.02110716700553894,
0.014865323901176453,
-0.0026140480767935514,
0.008738579228520393,
0.08896175026893616,
0.0024701759684830904,
-0.04518916830420494,
-0.028579669073224068,
0.0309524554759264,
0.05117425322532654,
-0.04157686606049538,
-0.014661689288914204,
0.03295338526368141,
0.039735302329063416,
-0.038283299654722214,
0.02592356689274311,
-0.03626466169953346,
-0.035308465361595154,
-0.03633549064397812,
-0.010606705211102962,
-0.014759079553186893,
-0.052165865898132324,
0.017193840816617012,
0.011545195244252682,
-0.06062997877597809,
0.009747898206114769,
0.0069368560798466206,
-0.004847388248890638,
-0.003326769219711423,
0.010491607710719109,
-0.028438011184334755,
-0.02131965383887291,
-0.0007569894078187644,
-0.028845280408859253,
0.07345010340213776,
-0.014201298356056213,
0.01130614522844553,
-0.047703612595796585,
0.06094871461391449,
-0.036972954869270325,
-0.01473251823335886,
0.017494866624474525,
-0.05021805688738823,
0.025073613971471786,
0.010420777834951878,
0.05609689652919769,
0.016122546046972275,
0.0467119999229908,
-0.00560437748208642,
-0.0418601855635643,
-0.06364022940397263,
-0.031944066286087036,
0.009491141885519028,
0.016627205535769463,
0.04982849583029747,
-0.06091329827904701,
-0.016122546046972275,
-0.019389552995562553,
-0.03796456754207611,
-0.030279574915766716,
0.05329913645982742,
-0.028473425656557083,
-0.002390492707490921,
-0.01258107554167509,
0.006334805861115456,
0.03111182153224945,
-0.005692914128303528,
-0.03272319212555885,
0.016361596062779427,
-0.04203725978732109,
-0.0025609261356294155,
-0.060134176164865494,
0.03525534272193909,
0.01789328083395958,
-0.028048448264598846,
0.005586670245975256,
0.005719475448131561,
-0.007583174388855696,
0.017733914777636528,
0.09760293364524841,
0.01928330957889557,
0.004634900018572807,
0.029571281746029854,
0.00781336985528469,
0.08379119634628296,
0.02298414520919323,
-0.006688952911645174,
0.02741098403930664,
0.051209669560194016,
0.0687045305967331,
-0.07692074775695801,
0.029394207522273064,
0.06572970002889633,
-0.006091329734772444,
-0.0418601855635643,
-0.028933817520737648,
0.05506987124681473,
0.007543332874774933,
0.0015427531907334924,
0.021355068311095238,
-0.005533548071980476,
-0.060488320887088776,
-0.0046614608727395535,
0.022931024432182312,
-0.019212478771805763,
0.02300185337662697,
-0.0541490875184536,
-0.027375569567084312,
-0.0006490852101705968,
-0.008043565787374973,
0.0038203615695238113,
0.041612282395362854,
0.01278471015393734,
0.034175194799900055,
0.016361596062779427,
-0.003435226622968912,
-0.058257196098566055,
-0.07019194960594177,
0.0328117273747921,
0.002277608495205641,
0.019885359331965446,
-0.0830829069018364,
0.08442866802215576,
0.02277165651321411,
-0.03477724269032478,
-0.01726466976106167,
0.009677069261670113,
-0.019973894581198692,
-0.021355068311095238,
-0.0074016740545630455,
0.012297757901251316,
0.03465329110622406,
0.0009711377206258476,
0.001691052340902388,
0.022488338872790337,
-0.0151132270693779,
-0.029234841465950012,
-0.03282943367958069,
-0.020859263837337494,
-0.003970874007791281,
-0.028951523825526237,
-0.005471572279930115,
-0.0002609067887533456,
-0.03870827704668045,
0.05099717900156975,
-0.045649558305740356,
0.0031585493125021458,
-0.005059876479208469,
0.05429074913263321,
-0.029164012521505356,
0.000285254413029179,
0.04483501985669136,
-0.028402596712112427,
-0.017300084233283997,
-0.01084575429558754,
0.00801700446754694,
0.005347621161490679,
-0.01716727949678898,
0.001543859951198101,
0.022098777815699577,
-0.020682189613580704,
-0.0745125487446785,
-0.004364862572401762,
-0.006786343641579151,
0.05836343765258789,
0.052555426955223083,
-0.046216193586587906,
0.05875300243496895,
-0.03764583542943001,
0.014201298356056213,
-0.008982055820524693,
-0.0113149993121624,
0.00980987399816513,
-0.006091329734772444,
0.013873712159693241,
0.06930658221244812,
-0.0016534242313355207,
-0.0006579388864338398,
0.05740724131464958,
-0.0046791681088507175,
-0.03665422275662422,
-0.022081071510910988,
-0.012917514890432358,
0.0922907292842865,
0.027304740622639656,
0.0028951524291187525,
0.0522012785077095,
0.0059673781506717205,
0.04182476922869682,
-0.02020409144461155,
-0.0003563605132512748,
-0.004789839498698711,
0.0837203711271286,
0.005887695122510195,
0.02073531225323677,
0.015910057350993156,
0.0421789176762104,
0.009854142554104328,
0.022098777815699577,
0.02388722077012062,
-0.031040992587804794,
-0.058080121874809265,
0.018433354794979095,
0.0015018049161881208,
-0.03821247071027756,
-0.08882008492946625,
0.010721802711486816,
-0.004433478694409132,
0.0002541281864978373,
-0.02055823802947998,
0.01599859446287155,
0.049757666885852814,
0.04873063787817955,
0.009606239385902882,
0.03578656166791916,
0.009517703205347061,
0.01120875496417284,
-0.0673941895365715,
0.0028774449601769447,
-0.003377677872776985,
0.0662609189748764,
0.020629066973924637,
0.026454787701368332,
-0.017494866624474525,
0.023426828905940056,
0.007153770886361599,
0.01908852718770504,
-0.10156938433647156,
-0.022098777815699577,
0.030899332836270332,
-0.008707591332495213,
0.04614536464214325,
-0.034387681633234024,
0.024790296331048012,
0.04912019893527031,
0.03282943367958069,
-0.02592356689274311,
-0.02723390981554985,
0.007627442944794893,
-0.02110716700553894,
-0.04278096929192543,
0.03169616311788559,
0.004282966256141663,
0.06286110728979111,
-0.0016589576844125986,
-0.010429631918668747,
0.05723016709089279,
-0.06250695884227753,
-0.028384888544678688,
-0.035273049026727676,
0.012342025525867939,
0.015555910766124725,
0.03796456754207611,
-0.01258107554167509,
0.012368586845695972,
-0.06353398412466049,
-0.024524684995412827,
-0.017432890832424164,
0.018645843490958214,
-0.00635251309722662,
0.0012472617672756314,
-0.0779123604297638,
0.07819567620754242,
-0.000750349136069417,
0.07444171607494354,
-0.01832711137831211,
-0.010314533486962318,
-0.05241376906633377,
0.018185453489422798,
0.02167380228638649,
-0.014413786120712757,
-0.028101570904254913,
0.015883496031165123,
0.0418601855635643,
-0.002910646377131343,
0.021709216758608818,
-0.05747807025909424,
-0.0353970006108284,
-0.0022632211912423372,
0.03073996677994728,
0.013404467143118382,
0.010225997306406498,
0.01910623535513878,
-0.0001465006935177371,
-0.02502049133181572,
-0.021903997287154198,
-0.03137743100523949,
-0.007375113200396299,
0.044941265136003494,
0.04469336196780205,
0.023196633905172348,
0.0019046473316848278,
0.040833160281181335,
0.035308465361595154,
-0.02224043756723404,
0.03396270424127579,
-0.06583594530820847,
0.04841190576553345,
0.021638385951519012,
0.033608559519052505,
0.007246734574437141,
-0.010562436655163765,
-0.057336412370204926,
-0.015184056013822556,
0.06502140313386917,
0.07008570432662964,
-0.06937741488218307,
-0.008415419608354568,
0.021372776478528976,
0.002833176637068391,
0.0113149993121624,
-0.05655729025602341,
-0.024701759219169617,
0.03272319212555885,
-0.008619054220616817,
-0.01593661867082119,
0.005064303521066904,
0.017919842153787613,
0.017459450289607048,
-0.0433121882379055,
-0.012908660806715488,
0.04904936999082565,
0.04409131035208702,
-0.032687775790691376,
-0.04023110866546631,
0.006334805861115456,
0.02096550725400448,
0.04777444154024124,
0.08860760182142258,
-0.018433354794979095,
0.06526930630207062,
0.03217426314949989,
-0.035485539585351944,
0.023108096793293953,
0.027729716151952744,
-0.02819010801613331,
-0.002029705559834838,
-0.04887229576706886,
-0.013519564643502235,
-0.07408756762742996,
-0.04858897998929024,
0.025250686332583427,
-0.09994030743837357,
0.0016711315838620067,
0.005148413125425577,
0.030261868610978127,
-0.02447156421840191,
-0.06580052524805069,
0.048836883157491684,
0.0011554048396646976,
-0.006547294091433287,
0.011616024188697338,
0.005073157139122486,
-0.038070812821388245,
-0.02592356689274311,
0.008804981596767902,
-0.05970919877290726,
-0.025693370029330254,
-0.05110342428088188,
0.05485738441348076,
-0.027747424319386482,
-0.03704378381371498,
0.02280707284808159,
-0.018681257963180542,
0.05191796272993088,
-0.050855521112680435,
-0.07217517495155334,
-0.02353307418525219,
0.013891419395804405,
-0.021195702254772186,
0.00524137681350112,
-0.036583393812179565,
-0.00732199102640152,
0.03298880159854889,
-0.03722085803747177,
-0.03320128843188286,
-0.05025346949696541,
-0.006387928035110235,
-0.014192444272339344,
0.03376792371273041,
0.021638385951519012,
0.0078000896610319614,
0.013121149502694607,
0.03412207216024399,
-0.011784244328737259,
-0.005945244338363409,
-0.006206427700817585,
0.018043793737888336,
0.00690586818382144,
0.021337362006306648,
-0.009845288470387459,
-0.038991592824459076,
0.027871375903487206,
0.052342940121889114,
-0.05822177976369858,
0.018238574266433716,
0.026968300342559814,
-0.015042397193610668,
0.019637456163764,
0.08704935014247894,
-0.02650790847837925,
-0.056238558143377304,
0.009207824245095253,
0.08131217211484909,
0.0166449137032032,
0.008725298568606377,
0.05740724131464958,
0.011253023520112038,
-0.008410993032157421,
-0.01716727949678898,
-0.011182194575667381,
-0.017547987401485443,
0.0021005349699407816,
-0.0139002725481987,
0.013138856738805771,
-0.002359505044296384,
0.00012070051889168099,
0.0026494627818465233,
-0.028048448264598846,
-0.03408665582537651,
0.026277713477611542,
0.030492063611745834,
0.042887210845947266,
-0.00760088162496686,
-0.012749294750392437,
-0.036760468035936356,
-0.09767376631498337,
-0.04115189239382744,
-0.0016512108268216252,
-0.012616490013897419,
0.03208572417497635,
0.025109028443694115,
0.05280333012342453,
-0.02664956822991371,
0.023940343409776688,
0.03348460793495178,
0.06388813257217407,
0.006972270552068949,
0.011545195244252682,
0.03711461275815964,
0.002625115215778351,
-0.024135123938322067,
-0.032298214733600616,
-0.06774833798408508,
0.060311246663331985,
0.020274920389056206,
-0.03206801787018776,
0.03486578166484833,
-0.02186858281493187,
0.03208572417497635,
-0.010411924682557583,
0.03605217486619949,
0.0604529082775116,
-0.012935222126543522,
-0.10404841601848602,
0.02278936468064785,
-0.06668589264154434,
0.03575114905834198,
-0.07720406353473663,
-0.018273988738656044,
-0.02333829365670681,
-0.07734572142362595,
0.018663551658391953,
-0.03460016846656799,
0.04451628774404526,
0.009491141885519028,
0.011527488008141518,
-0.03792915120720863,
0.022470632568001747,
-0.003461787709966302,
0.0006833932129666209,
-0.008773993700742722,
-0.005635365378111601,
-0.059000905603170395,
0.07167936861515045,
-0.07883314043283463,
0.012536806985735893,
0.023851806297898293,
0.025073613971471786,
0.021762337535619736,
0.06155076250433922,
-0.018273988738656044,
-0.004517588764429092,
-0.026242299005389214,
0.04851815104484558,
0.017866719514131546,
0.0010159594239667058,
0.0233559999614954,
-0.08874925971031189,
0.0166449137032032,
0.008915652520954609,
-0.01028797309845686,
0.008840397000312805,
0.0018448849441483617,
-0.004462253302335739,
-0.04600370675325394,
0.009110433980822563,
0.016910523176193237,
-0.05170547589659691,
0.05195337533950806,
-0.008791700936853886,
-0.06374647468328476,
-0.016432425007224083,
-0.03534387797117233,
0.005586670245975256,
0.016219936311244965,
0.016149107366800308,
0.00524137681350112,
0.052520010620355606,
-0.002963768318295479,
0.019141649827361107,
-0.048447322100400925,
-0.005883268546313047,
0.05032430216670036,
-0.04763278365135193,
-0.003966447431594133,
-0.054751139134168625,
-0.016104837879538536,
0.029004646465182304,
-0.0378229096531868,
0.04561414569616318,
0.02022179774940014,
-0.024383027106523514,
0.0229487307369709,
-0.0003635541070252657,
-0.025232980027794838,
0.057336412370204926,
0.042497649788856506,
0.04019569233059883,
0.003556964686140418,
0.038424957543611526,
0.014050785452127457,
0.002563139423727989,
-0.00782222393900156,
-0.03468870744109154,
0.010836901143193245,
-0.04465794563293457,
0.02799532748758793,
0.012156099081039429,
0.06650882214307785,
-0.031200358644127846,
-0.010270265862345695,
0.05499904230237007,
-0.028013033792376518,
0.00885810423642397,
0.005591097287833691,
-0.01721154898405075,
0.0651276484131813,
0.04742029309272766,
0.041258133947849274,
0.000594303070101887,
0.04224974662065506,
0.035662610083818436,
0.008663322776556015,
-0.0005732756108045578,
-0.07862064987421036,
0.023639317601919174,
-0.05259084329009056,
0.007941748015582561,
-0.008149810135364532,
-0.020150968804955482,
0.022665413096547127,
-0.010695242322981358,
0.031961772590875626,
0.00574160972610116,
0.0004637113306671381,
0.022683121263980865,
-0.07557498663663864,
0.030863918364048004,
-0.03614071011543274,
-0.056592702865600586,
0.02498507685959339,
-0.034387681633234024,
0.03560948744416237,
-0.07302512973546982,
-0.03516680374741554,
0.02629542164504528,
0.05432616174221039,
0.016786571592092514,
-0.07961226254701614,
0.03552095219492912,
0.028561962768435478,
-0.01037650927901268,
-0.05638021603226662,
0.017999526113271713,
0.02349765971302986,
0.006268403492867947,
-0.05000556632876396,
0.014103907160460949,
-0.029164012521505356,
0.032333627343177795,
0.0012173806317150593,
-0.023019559681415558,
-0.024701759219169617,
-0.02592356689274311,
-0.02300185337662697,
0.03785832226276398,
-0.023285171017050743,
0.012864393182098866,
-0.007521198596805334,
-0.01674230396747589,
0.04572038725018501,
-0.04618078097701073,
-0.06328608095645905,
0.01055358350276947,
-0.008140956051647663,
-0.019495796412229538,
-0.04093940183520317,
-0.06364022940397263,
0.024205952882766724,
-0.05322830751538277,
-0.022151900455355644,
0.04699531942605972,
0.04642868414521217,
0.0072555881924927235,
0.055140700191259384,
-0.07585830241441727,
-0.040479011833667755,
-0.0665796548128128,
0.01776047609746456,
-0.007897480390965939,
0.06948366016149521,
0.04079774394631386,
0.03433455899357796,
-0.011624878272414207,
0.03433455899357796,
-0.025250686332583427,
0.015166348777711391,
0.028278645128011703,
0.01593661867082119,
0.0690232664346695,
-0.018752088770270348,
-0.006706660613417625,
0.0033112752716988325,
-0.0699794664978981,
0.044941265136003494,
-0.05595523864030838,
-0.021337362006306648,
-0.05503445491194725,
-0.01595432683825493,
0.027871375903487206,
0.0021104952320456505,
-0.06661506742238998,
0.013448735699057579,
0.024241367354989052,
-0.014378371648490429,
0.01793755032122135,
0.022913316264748573,
-0.026401665061712265,
0.01713186502456665,
-0.03661881014704704,
0.04132896289229393,
0.011350413784384727,
-0.018964575603604317,
-0.011465512216091156,
0.05351162329316139,
0.014502323232591152,
-0.005219242535531521,
-0.02484341710805893,
0.057123925536870956,
-0.04501209408044815,
-0.035467829555273056,
-0.00791961420327425,
0.010686388239264488,
0.06859829276800156,
0.021177995949983597,
-0.002295315731316805,
0.03321899473667145,
0.031589921563863754,
0.0058434270322322845,
0.005374182015657425,
0.011686854064464569,
-0.003039024770259857,
-0.0656234547495842,
0.05089093744754791,
-0.018468771129846573,
-0.01926560141146183,
0.005985085852444172,
0.0071404906921088696,
0.028561962768435478,
-0.0003630007558967918,
-0.04543707147240639,
-0.010828047059476376,
-0.0008853676845319569,
0.03465329110622406,
-0.04274555295705795,
0.038106225430965424,
0.02578190714120865,
0.010119752958416939,
-0.027198495343327522,
-0.038070812821388245,
0.014617420732975006,
0.05407825857400894,
-0.03870827704668045,
-0.02741098403930664,
0.00021248824486974627,
0.10596080869436264,
-0.004710156004875898,
0.023108096793293953,
0.04819941893219948,
-0.0719272717833519,
-0.003297994611784816,
0.019407259300351143,
-0.028632791712880135,
0.006644684821367264,
-0.022328972816467285,
-0.01619337499141693,
-0.023232048377394676,
0.012297757901251316,
-0.020876970142126083,
-0.0038956180214881897,
0.01619337499141693,
0.0017895494820550084
] |
710,136
|
urllib3_future._collections
|
__init__
| null |
def __init__(self, headers: ValidHTTPHeaderSource | None = None, **kwargs: str):
super().__init__()
self._container = {} # 'dict' is insert-ordered in Python 3.7+
if headers is not None:
if isinstance(headers, HTTPHeaderDict):
self._copy_from(headers)
else:
self.extend(headers)
if kwargs:
self.extend(kwargs)
|
(self, headers: 'ValidHTTPHeaderSource | None' = None, **kwargs: 'str')
|
[
-0.07100747525691986,
0.0012528655352070928,
-0.057243600487709045,
-0.07312499731779099,
-0.05943170562386513,
0.023433879017829895,
-0.022869206964969635,
0.06401966512203217,
0.009378844872117043,
-0.011364019475877285,
0.016243135556578636,
0.042526841163635254,
0.005276151932775974,
0.014310900121927261,
-0.008090687915682793,
0.041609250009059906,
0.01792832836508751,
0.05505549907684326,
-0.01619902066886425,
-0.10481719672679901,
0.016093146055936813,
0.002907177433371544,
-0.011249320581555367,
0.07616010308265686,
0.0014921892434358597,
0.0598905012011528,
-0.0406210757791996,
-0.05290268734097481,
0.036209575831890106,
-0.003196130506694317,
0.02486320398747921,
-0.00590258464217186,
-0.016393126919865608,
0.0299452506005764,
0.015404951758682728,
-0.04376206174492836,
0.006079044658690691,
0.0014833662426099181,
-0.0709368884563446,
0.03102165460586548,
-0.0257102120667696,
0.012175735086202621,
-0.02978643588721752,
-0.04069165885448456,
0.029080595821142197,
0.064796082675457,
0.02232218161225319,
0.03262744098901749,
0.04605603963136673,
-0.028833553194999695,
-0.019357653334736824,
0.038256511092185974,
0.027492456138134003,
-0.04175041988492012,
-0.04182100296020508,
0.043056223541498184,
0.03303330019116402,
0.05742006003856659,
-0.0406210757791996,
0.06867820769548416,
-0.053043853491544724,
0.008598010055720806,
0.015960801392793655,
-0.04782063886523247,
-0.02461615949869156,
-0.06984283775091171,
-0.02200455218553543,
-0.015784339979290962,
0.023345649242401123,
0.007984811440110207,
0.03232745826244354,
0.0034343514125794172,
-0.04238567501306534,
0.02602783963084221,
0.024633806198835373,
0.031815726310014725,
-0.09444135427474976,
0.0035512561444193125,
0.012431601993739605,
-0.024774974212050438,
0.023680921643972397,
0.0027549806982278824,
-0.05847882106900215,
0.0025873437989503145,
0.021051669493317604,
-0.0350978784263134,
-0.0565730519592762,
-0.018122434616088867,
0.040726952254772186,
0.04150337353348732,
-0.07630127668380737,
0.05057341605424881,
-0.03631545230746269,
-0.041291624307632446,
0.045914873480796814,
0.020486997440457344,
-0.001794376876205206,
0.008121567778289318,
-0.029927603900432587,
0.017134258523583412,
-0.015590234659612179,
-0.050996918231248856,
0.026539573445916176,
0.018387123942375183,
-0.025163186714053154,
-0.03601546958088875,
0.011999275535345078,
-0.06041987985372543,
-0.0012793345376849174,
0.013587414287030697,
0.022816268727183342,
-0.06017283722758293,
-0.0060525755397975445,
0.02671603299677372,
0.018810627982020378,
-0.002843210706487298,
0.025039663538336754,
-0.038785893470048904,
-0.001282643061131239,
-0.01064053364098072,
-0.008902403526008129,
0.005946699529886246,
0.004199746064841747,
0.06483137607574463,
0.03550373762845993,
-0.013031565584242344,
0.0018296688795089722,
-0.06264327466487885,
0.06281973421573639,
-0.04573841392993927,
0.02413971908390522,
-0.0191459022462368,
-0.022533932700753212,
-0.02087520994246006,
0.023645630106329918,
-0.02216336689889431,
-0.021686924621462822,
0.03352738544344902,
0.010014100931584835,
0.020204661414027214,
0.013066858053207397,
-0.011919868178665638,
0.0003923476324416697,
-0.026786617934703827,
-0.01874004490673542,
-0.004327679518610239,
0.017337188124656677,
-0.01776951551437378,
-0.018828274682164192,
-0.00041688658529892564,
-0.007115746382623911,
-0.022357473149895668,
-0.0066834199242293835,
0.05533783510327339,
-0.021986907348036766,
-0.028039483353495598,
-0.02646898850798607,
-0.01657840982079506,
0.020045848563313484,
0.049867574125528336,
0.07566601783037186,
-0.005968756973743439,
0.03006877191364765,
-0.02059287391602993,
-0.018881212919950485,
0.010022924281656742,
0.01682545430958271,
-0.07820703834295273,
0.013807989656925201,
0.017037205398082733,
0.011919868178665638,
-0.035397861152887344,
0.013807989656925201,
0.021404588595032692,
0.012960981577634811,
0.002479261951521039,
0.0027086599729955196,
-0.002210160717368126,
-0.06451375037431717,
-0.006776061374694109,
0.05226743221282959,
-0.04453848674893379,
-0.043056223541498184,
0.028551217168569565,
0.030033480376005173,
0.021298713982105255,
-0.015378482639789581,
0.024792619049549103,
0.025163186714053154,
0.038503557443618774,
0.03095107153058052,
0.0026888081338256598,
-0.0066304816864430904,
-0.006158451549708843,
0.0326450876891613,
-0.007155450060963631,
-0.015202023088932037,
-0.061796266585588455,
0.03462143614888191,
0.056431885808706284,
-0.06698419153690338,
0.027774792164564133,
-0.002706454135477543,
-0.005567310843616724,
0.017134258523583412,
0.025569044053554535,
0.013199202716350555,
-0.00009084929479286075,
-0.023469170555472374,
-0.0024483816232532263,
-0.015254960395395756,
-0.035644903779029846,
-0.043091513216495514,
-0.007234856951981783,
-0.03299800679087639,
-0.01905767247080803,
-0.042526841163635254,
-0.0460207499563694,
0.05307914689183235,
-0.04746771976351738,
0.14017976820468903,
0.033139172941446304,
0.004596780985593796,
-0.05533783510327339,
0.04940877854824066,
0.017522471025586128,
0.007045162841677666,
-0.04439731687307358,
-0.04323268309235573,
0.039879944175481796,
-0.00507763447239995,
0.00671871192753315,
-0.017001913860440254,
0.025780795142054558,
0.02872767671942711,
-0.02219865843653679,
0.0028343875892460346,
-0.012678645551204681,
-0.022022198885679245,
-0.027263058349490166,
0.048773523420095444,
0.04284447059035301,
-0.013693290762603283,
0.01962234452366829,
-0.009643535129725933,
-0.023663276806473732,
-0.041856296360492706,
0.06366673856973648,
-0.029962895438075066,
0.01461088191717863,
-0.013446246273815632,
0.008064218796789646,
-0.04520903527736664,
-0.008108333684504032,
-0.036491911858320236,
-0.001515349606052041,
0.014646174386143684,
-0.01958705298602581,
0.009114155545830727,
-0.05844352766871452,
0.012616884894669056,
-0.04746771976351738,
0.0020182605367153883,
0.060913968831300735,
0.002194720320403576,
0.010764055885374546,
0.022551579400897026,
0.0010400107130408287,
-0.053326189517974854,
0.026980722323060036,
0.017222488299012184,
-0.01682545430958271,
0.024651452898979187,
0.0005177995772100985,
0.053820278495550156,
-0.001310214982368052,
0.016913684085011482,
-0.04489140585064888,
-0.06631363928318024,
0.019763512536883354,
0.09225325286388397,
-0.017963619902729988,
0.019040025770664215,
-0.02143988199532032,
0.05861998721957207,
-0.01645488850772381,
-0.01776951551437378,
0.05025578662753105,
-0.034833189100027084,
-0.05802002549171448,
0.010402312502264977,
0.022498641163110733,
0.003769625211134553,
0.017663639038801193,
0.018845919519662857,
-0.019551759585738182,
-0.022622162476181984,
0.015228492207825184,
0.03716246038675308,
-0.00106758251786232,
-0.016869569197297096,
-0.007596599869430065,
0.055796630680561066,
-0.029239410534501076,
-0.0080686304718256,
-0.0676194429397583,
-0.021298713982105255,
0.03970348462462425,
-0.024069134145975113,
-0.006189331877976656,
0.05145571380853653,
0.08032456040382385,
-0.03628016263246536,
-0.03243333473801613,
-0.0067275348119437695,
0.013816812075674534,
0.010728763416409492,
-0.0007411317201331258,
-0.018351832404732704,
0.03684483468532562,
-0.050679292529821396,
-0.05314972996711731,
-0.07319557666778564,
-0.06804294884204865,
0.04143279045820236,
-0.02332800254225731,
0.05343206599354744,
-0.033068589866161346,
0.015740225091576576,
0.04002111032605171,
-0.034762606024742126,
0.014540297910571098,
0.03259214758872986,
-0.006321677006781101,
-0.008381846360862255,
-0.014531475491821766,
-0.041644543409347534,
0.028586508706212044,
-0.004711479879915714,
-0.041291624307632446,
-0.04997345060110092,
-0.03126870095729828,
-0.005849646404385567,
0.0004971207235939801,
-0.03892705962061882,
-0.11589887738227844,
0.014946156181395054,
-0.005589368287473917,
0.025921963155269623,
-0.05653776228427887,
-0.05251447483897209,
-0.028074774891138077,
0.08434784412384033,
0.04256213456392288,
0.07947754859924316,
-0.03389795124530792,
-0.023998551070690155,
-0.03638603910803795,
0.02659251168370247,
-0.027915960177779198,
0.0962059497833252,
0.035927239805459976,
-0.04122103750705719,
-0.0030439337715506554,
-0.0030615797732025385,
-0.007627480197697878,
0.043585602194070816,
0.010199383832514286,
-0.010022924281656742,
-0.047926515340805054,
0.0006655848119407892,
-0.05322031304240227,
-0.016331367194652557,
0.023522108793258667,
0.004905586130917072,
-0.03130399063229561,
-0.0018473148811608553,
0.013957980088889599,
-0.08604186028242111,
-0.02163398638367653,
0.019287070259451866,
0.0191459022462368,
0.009096509777009487,
0.015440243296325207,
-0.027545394375920296,
-0.022833915427327156,
0.040197569876909256,
0.005130572244524956,
0.057278893887996674,
0.02304566651582718,
-0.00036753294989466667,
-0.036456622183322906,
0.008986221626400948,
0.036774247884750366,
-0.020116431638598442,
-0.01569611020386219,
-0.002316036494448781,
0.03126870095729828,
-0.016366658732295036,
-0.038468264043331146,
0.05364381894469261,
-0.050996918231248856,
-0.004471053369343281,
0.059149369597435,
0.03192160278558731,
-0.002289567608386278,
0.04492669925093651,
-0.02361033856868744,
0.07785411924123764,
-0.0046585421077907085,
0.009202385321259499,
-0.0812421515583992,
-0.01130225881934166,
-0.028357110917568207,
-0.010808170773088932,
0.004852647893130779,
0.020239952951669693,
-0.03183336928486824,
-0.01124049723148346,
-0.020098784938454628,
0.007181919179856777,
-0.014028564095497131,
-0.03054521419107914,
0.029680559411644936,
0.06469020992517471,
0.017196020111441612,
-0.035556674003601074,
-0.06250210851430893,
0.052161555737257004,
-0.036738958209753036,
-0.0354684442281723,
0.07079572230577469,
-0.04767947271466255,
-0.014522652141749859,
0.0720309391617775,
0.05251447483897209,
-0.024245593696832657,
-0.014169732108712196,
0.0018131257966160774,
0.03232745826244354,
-0.0325215645134449,
-0.05367910861968994,
-0.0128551060333848,
0.041644543409347534,
-0.018651815131306648,
0.0032446568366140127,
-0.014169732108712196,
0.008893580175936222,
0.0036218399181962013,
-0.032980360090732574,
0.04880881682038307,
-0.012563946656882763,
-0.01902238093316555,
-0.05717301741242409,
-0.0011177633423358202,
-0.045561954379081726,
0.008125979453325272,
0.0511733777821064,
-0.0029755556024610996,
-0.03280390053987503,
0.037056583911180496,
-0.0080377496778965,
0.023804444819688797,
-0.0347273126244545,
-0.04055049270391464,
0.0327686071395874,
0.015387305989861488,
-0.0050291079096496105,
-0.015149084851145744,
0.0016752664232626557,
-0.019604697823524475,
0.044714946299791336,
-0.018845919519662857,
0.0010367020731791854,
-0.026380758732557297,
0.016896037384867668,
0.05318502336740494,
-0.025480814278125763,
-0.05480845272541046,
-0.028215942904353142,
0.05787885561585426,
0.029362931847572327,
0.06649009883403778,
-0.022092783823609352,
0.012978627346456051,
-0.023504462093114853,
0.002037009224295616,
-0.04122103750705719,
0.06546663492918015,
0.03663308173418045,
0.02482791244983673,
0.03022758662700653,
-0.05929053574800491,
0.02027524635195732,
0.04167983680963516,
0.020663456991314888,
-0.010252322070300579,
0.020045848563313484,
0.04852648079395294,
-0.018845919519662857,
0.0004632073105312884,
-0.031162822619080544,
0.040762241929769516,
0.006886348593980074,
0.005457023158669472,
-0.020769333466887474,
-0.03403912112116814,
0.014902041293680668,
-0.01334037072956562,
-0.00667018536478281,
-0.013446246273815632,
0.03167455643415451,
-0.0009523321641609073,
0.015422597527503967,
0.035556674003601074,
0.00774659076705575,
-0.113640196621418,
0.05336148291826248,
-0.025798441842198372,
0.02083991840481758,
0.0535026490688324,
0.08632420003414154,
0.07157214730978012,
-0.06444316357374191,
0.0011800758074969053,
0.011646355502307415,
0.0013587414287030697,
-0.018792983144521713,
0.05258505791425705,
0.02232218161225319,
-0.03688012436032295,
-0.02542787604033947,
-0.048420604318380356,
0.04227979853749275,
0.018351832404732704,
0.08964164555072784,
0.009440606459975243,
-0.018704751506447792,
-0.002600578125566244,
-0.018969442695379257,
0.0353449247777462,
0.03808005154132843,
0.026574864983558655,
-0.03361561521887779,
-0.051243964582681656,
-0.02212807536125183,
-0.01682545430958271,
0.03885647654533386,
-0.031568679958581924,
-0.020292891189455986,
-0.04658542200922966,
-0.07446608692407608,
-0.00938766822218895,
0.019939972087740898,
-0.06585484743118286,
-0.027386581525206566,
-0.0134374238550663,
-0.029274702072143555,
0.0191459022462368,
0.020134078338742256,
0.06980754435062408,
0.0020998730324208736,
-0.03234510496258736,
0.03246862813830376,
-0.08180682361125946,
-0.00455266609787941,
0.007455431856215,
0.03402147442102432,
-0.04026815667748451,
0.025639627128839493,
0.004062989726662636,
0.025233769789338112,
-0.03917410597205162,
0.05692597106099129,
-0.0003366524470038712,
0.019798804074525833,
-0.00009264146501664072,
0.05844352766871452,
0.01619902066886425,
-0.025692565366625786,
0.029557038098573685,
-0.005307032261043787,
-0.019234132021665573,
-0.08752412348985672,
-0.020134078338742256,
-0.014099148102104664,
-0.021581050008535385,
0.00039813772309571505,
0.014028564095497131,
-0.026363113895058632,
-0.040726952254772186,
-0.02461615949869156,
0.005959934089332819,
-0.0057261246256530285,
-0.026257237419486046,
-0.0015076295239850879,
-0.02639840543270111,
-0.039915237575769424,
-0.04993816092610359,
0.004051961004734039,
-0.013799166306853294,
0.05650246888399124,
-0.027104245498776436,
0.05463199317455292,
0.04750301316380501,
-0.015413775108754635,
-0.045350201427936554,
0.05692597106099129,
-0.01664017140865326,
-0.05089104175567627,
0.013128618709743023,
0.007451020646840334,
0.019639989361166954,
0.014257961884140968,
0.004305622074753046,
-0.016684286296367645,
-0.023222126066684723,
-0.007089277729392052,
0.011840460821986198,
-0.07481900602579117,
-0.01152283325791359,
-0.044150274246931076,
-0.0295746847987175,
0.0873829573392868,
-0.03857414051890373,
-0.019798804074525833,
0.023875027894973755,
-0.019692927598953247,
-0.05032637342810631,
-0.012925690039992332,
0.06041987985372543,
-0.009784703142940998,
0.02087520994246006,
-0.005183510482311249,
0.00400122907012701,
0.09832347184419632,
0.01934000849723816,
0.027668917551636696,
0.04069165885448456,
0.028339464217424393,
0.0011304464424028993,
-0.025921963155269623,
0.027104245498776436,
0.0047864755615592,
-0.04630308598279953,
0.0163843035697937,
-0.02929234877228737,
-0.021651633083820343,
0.041573960334062576,
-0.04767947271466255,
0.020822271704673767,
0.03942114859819412,
0.019975263625383377,
0.009484721347689629,
-0.011187559925019741,
0.01478734239935875,
-0.03885647654533386,
0.0038975586649030447,
0.07185447961091995,
-0.031180469319224358,
0.004246067255735397,
-0.0073804366402328014,
0.08999456465244293,
0.000017714923160383478,
0.01384328119456768,
-0.004471053369343281,
-0.004949701018631458,
-0.07361908257007599,
-0.001923413248732686,
0.02752774953842163,
-0.010252322070300579,
-0.024651452898979187,
-0.007243679836392403,
0.028339464217424393,
0.016657818108797073,
0.016031384468078613,
-0.016622524708509445,
-0.05911407619714737,
0.04227979853749275,
0.0031034890562295914,
0.00454384321346879,
0.013957980088889599,
-0.012413956224918365,
-0.01626078225672245,
-0.05149100720882416,
0.029804082587361336,
-0.03481554239988327,
0.03871530666947365,
-0.002598372520878911,
-0.036209575831890106,
0.06948991864919662,
-0.05262035131454468,
-0.0025917552411556244,
0.055231958627700806,
-0.030686382204294205,
0.0070319282822310925,
-0.021210484206676483,
-0.11011099815368652,
0.044220857322216034,
0.029892312362790108,
0.03292742371559143,
0.003544638864696026,
-0.007473078090697527,
-0.023716215044260025,
-0.035239048302173615,
-0.0154931815341115,
0.013455069623887539,
0.026504281908273697,
0.05960816517472267,
-0.01861652173101902,
-0.008664182387292385,
0.032256875187158585,
0.039597608149051666,
-0.018369479104876518,
0.03913881257176399,
0.04298563674092293,
0.07224269211292267,
-0.01071994099766016,
0.004455612972378731,
0.009881756268441677,
0.04464436322450638,
0.03358032554388046,
0.0018031998770311475,
0.02752774953842163,
0.033668555319309235,
-0.049549948424100876,
-0.013949157670140266,
-0.01785774528980255,
0.01414326298981905,
-0.0025454345159232616,
0.04799710214138031,
0.03329798951745033,
-0.04266801103949547,
-0.01529025286436081,
-0.02715718373656273,
-0.06444316357374191,
0.015581411309540272,
0.039597608149051666,
0.0257102120667696,
0.07058396935462952,
-0.01610196754336357,
0.004627661779522896,
0.05007932707667351,
0.035768426954746246,
-0.021951615810394287,
-0.032856836915016174,
0.05170276015996933,
-0.03133928403258324,
0.040197569876909256,
0.05802002549171448,
-0.035486090928316116,
-0.004307827912271023,
0.020645812153816223,
0.029627621173858643,
0.029486453160643578,
-0.03917410597205162,
-0.05600837990641594,
0.02752774953842163,
0.038256511092185974,
-0.011681647039949894,
-0.06793707609176636,
-0.0382918044924736,
0.026610156521201134,
-0.018810627982020378,
0.041926879435777664,
0.04880881682038307,
0.06931345909833908,
0.03199218586087227
] |
710,141
|
urllib3_future._collections
|
__setitem__
| null |
def __setitem__(self, key: str, val: str) -> None:
# avoid a bytes/str comparison by decoding before httplib
self._container[_lower_wrapper(key)] = [key, val]
|
(self, key: str, val: str) -> NoneType
|
[
0.012823517434298992,
0.0025347298942506313,
-0.1123882308602333,
0.026463709771633148,
-0.02604668401181698,
0.004548178520053625,
-0.02524738572537899,
0.060989901423454285,
0.07339639216661453,
-0.07999929040670395,
-0.0405556783080101,
0.021042384207248688,
0.04778410866856575,
0.009235365316271782,
-0.019270028918981552,
0.017019830644130707,
-0.006398726720362902,
0.04128547012805939,
-0.02474348060786724,
-0.02444808930158615,
-0.03358788415789604,
0.012197979725897312,
0.07631556689739227,
0.026845982298254967,
0.01539517194032669,
0.02938288450241089,
0.027263006195425987,
-0.017054583877325058,
0.09105045348405838,
0.0015692736487835646,
0.006450854707509279,
-0.05907853692770004,
0.002671566093340516,
-0.012441244907677174,
0.039165593683719635,
-0.026967614889144897,
-0.020138829946517944,
-0.008058138191699982,
0.0046089948154985905,
0.012762701138854027,
-0.006077270023524761,
0.003216739511117339,
-0.013492494821548462,
-0.07749713957309723,
0.06835734099149704,
0.09390012174844742,
0.012224044650793076,
0.08458656072616577,
0.06807932257652283,
-0.0336921401321888,
-0.09167598932981491,
0.017879946157336235,
0.0006955846329219639,
-0.04378762096166611,
-0.04695006087422371,
0.05355295538902283,
0.03673294931650162,
0.03885282576084137,
-0.016151029616594315,
0.05035576596856117,
-0.02215445041656494,
-0.019374284893274307,
-0.03188503533601761,
-0.041459232568740845,
-0.012050284072756767,
0.012762701138854027,
-0.02896585874259472,
0.003162439214065671,
0.03343150019645691,
-0.006433479022234678,
0.04013865441083908,
-0.02736726403236389,
-0.03292759507894516,
-0.04003439471125603,
-0.014039840549230576,
0.08208440989255905,
-0.04910469055175781,
0.04865291342139244,
-0.00850122794508934,
-0.01491733081638813,
0.05403948575258255,
0.0316765196621418,
0.028566209599375725,
0.02265835553407669,
-0.031989291310310364,
0.005738437175750732,
-0.0446564219892025,
0.007384817115962505,
0.031485386192798615,
0.05466502159833908,
0.0044374060817062855,
-0.0021014148369431496,
-0.023301269859075546,
0.025230010971426964,
-0.0249519944190979,
-0.04128547012805939,
0.01562974788248539,
-0.08034680783748627,
-0.0014172332594171166,
0.020138829946517944,
0.02590767666697502,
-0.007545545231550932,
0.024065814912319183,
-0.022849492728710175,
-0.041042204946279526,
-0.08472557365894318,
0.012067659758031368,
-0.03233681246638298,
-0.052857913076877594,
0.019548045471310616,
0.026342077180743217,
-0.011511626653373241,
-0.02912224270403385,
0.020138829946517944,
-0.03313610702753067,
0.12197980284690857,
-0.024065814912319183,
-0.09515119343996048,
0.025438522920012474,
0.01794944889843464,
-0.025212634354829788,
0.00010832874977495521,
0.006433479022234678,
0.048513904213905334,
0.03185028210282326,
-0.009513381868600845,
-0.01101640984416008,
0.040659934282302856,
0.042918819934129715,
-0.04639402776956558,
-0.002077522687613964,
0.0022241331171244383,
-0.004222377669066191,
0.022223955020308495,
0.0810418501496315,
-0.03433505445718765,
-0.04323158785700798,
0.017202280461788177,
0.008874812163412571,
0.006724527571350336,
0.001372707192786038,
0.03254532441496849,
0.024343831464648247,
0.025177882984280586,
0.007154584396630526,
-0.05876576900482178,
-0.023926807567477226,
-0.001568187610246241,
-0.01331004686653614,
0.020104078575968742,
-0.020799120888113976,
-0.0003602813230827451,
-0.0084230350330472,
0.02137252874672413,
-0.009582886472344398,
0.031902410089969635,
-0.02361403778195381,
0.01153769064694643,
0.02604668401181698,
0.03944361209869385,
0.03191978484392166,
-0.054526012390851974,
0.022084947675466537,
-0.020312590524554253,
-0.015369107015430927,
0.0405556783080101,
0.0296261478215456,
-0.019478540867567062,
-0.007962570525705814,
0.030494950711727142,
0.004587274510413408,
-0.04173724725842476,
-0.04118121415376663,
0.01873137056827545,
0.046672042459249496,
-0.002591202035546303,
-0.02107713744044304,
0.017523735761642456,
0.01012154296040535,
0.012658445164561272,
-0.01512584276497364,
0.005868757609277964,
-0.0233707744628191,
0.017749624326825142,
-0.006007765885442495,
0.013996399939060211,
0.02807968109846115,
0.06533391028642654,
0.03204141929745674,
0.061024654656648636,
-0.005486484616994858,
-0.04587274417281151,
-0.017810441553592682,
-0.0508422926068306,
0.007767090108245611,
-0.004037757404148579,
0.010477752424776554,
-0.01335348654538393,
-0.014726193621754646,
0.08375251293182373,
-0.02486511319875717,
0.003655484411865473,
0.035829395055770874,
0.017879946157336235,
0.030720839276909828,
-0.010677576996386051,
0.05619411543011665,
-0.04420464485883713,
0.0037163004744797945,
-0.012093723751604557,
0.008344843052327633,
-0.00926142930984497,
-0.029035363346338272,
-0.0202430859208107,
0.013032030314207077,
-0.05056427791714668,
-0.0676622986793518,
-0.002636814024299383,
0.008744492195546627,
-0.022832116112113,
0.04795787110924721,
0.026602717116475105,
0.019548045471310616,
-0.07402192801237106,
0.023753046989440918,
-0.013735760003328323,
0.0065811751410365105,
-0.04483018442988396,
-0.02349240705370903,
0.05028625950217247,
0.0202430859208107,
0.031902410089969635,
0.007714961655437946,
0.021511537954211235,
0.03926984965801239,
-0.06516014784574509,
0.0036945806350558996,
-0.028687842190265656,
0.022293459624052048,
0.024187447503209114,
0.047297582030296326,
0.03972162678837776,
0.0007107886485755444,
0.07332688570022583,
-0.06495163589715958,
0.02465660125017166,
-0.011824395507574081,
0.10064202547073364,
-0.005056427791714668,
0.04194575920701027,
0.028062304481863976,
0.01744554378092289,
-0.04152873530983925,
-0.02953926846385002,
0.02557753026485443,
-0.0038335889112204313,
-0.05132882297039032,
0.0174194797873497,
0.011607195250689983,
-0.04406563937664032,
-0.06175444647669792,
0.0249519944190979,
0.005681965034455061,
0.021754803135991096,
-0.013561999425292015,
0.017810441553592682,
0.047679852694272995,
0.05626361817121506,
-0.007154584396630526,
0.0643608495593071,
0.001966750482097268,
-0.011424746364355087,
0.005260596051812172,
0.006585519295185804,
0.004320118110626936,
0.0447259284555912,
0.036698196083307266,
0.00787569023668766,
-0.005099867936223745,
-0.006320534739643335,
0.043752867728471756,
-0.0285835862159729,
-0.011303113773465157,
-0.006985167972743511,
0.036906708031892776,
-0.028774721547961235,
0.013596751727163792,
0.03951311483979225,
-0.011641946621239185,
-0.011815707199275494,
0.014778322540223598,
0.010052039287984371,
-0.040173403918743134,
0.029695652425289154,
-0.014691442251205444,
0.04403088614344597,
-0.029869413003325462,
0.015047650784254074,
0.07221481949090958,
0.025438522920012474,
-0.04114646464586258,
0.0011522487038746476,
-0.04368336498737335,
-0.0006597465253435075,
0.006720183417201042,
-0.04201526567339897,
0.010981657542288303,
0.020851248875260353,
-0.044586919248104095,
0.046463530510663986,
-0.008218866772949696,
0.03501272201538086,
-0.08792275935411453,
0.023561909794807434,
0.053900476545095444,
0.043127331882715225,
-0.04013865441083908,
0.03141587972640991,
-0.02938288450241089,
0.07103325426578522,
-0.016568053513765335,
-0.08861780166625977,
-0.10981657356023788,
-0.02750627137720585,
0.08403053134679794,
-0.029869413003325462,
0.07916523516178131,
-0.010425624437630177,
0.05466502159833908,
0.031989291310310364,
-0.007163272704929113,
-0.009878278709948063,
0.008171082474291325,
0.004530802369117737,
-0.005217155907303095,
0.007384817115962505,
-0.03355313464999199,
-0.01587301306426525,
0.024726105853915215,
-0.03871381655335426,
-0.04740183800458908,
-0.019895566627383232,
-0.010043350979685783,
-0.021980689838528633,
0.039791133254766464,
-0.05125931650400162,
-0.023266518488526344,
0.010781832970678806,
0.0020764367654919624,
-0.019930317997932434,
-0.005725405178964138,
-0.06825308501720428,
0.03826203942298889,
0.024274328723549843,
0.031120488420128822,
-0.014934706501662731,
-0.007328344974666834,
-0.0851425975561142,
0.004124637693166733,
-0.031485386192798615,
0.06755804270505905,
-0.021563665941357613,
0.011989467777311802,
0.011694074608385563,
-0.047054316848516464,
0.001568187610246241,
-0.011807018890976906,
-0.026064060628414154,
0.029695652425289154,
-0.0374627411365509,
0.000773776788264513,
-0.03944361209869385,
-0.021876433864235878,
0.00594694958999753,
0.007367440965026617,
-0.01893988437950611,
0.018053704872727394,
0.031120488420128822,
-0.07624606043100357,
-0.032110922038555145,
0.03417867049574852,
0.0084230350330472,
0.03475208207964897,
0.05421324446797371,
0.04079894348978996,
0.019270028918981552,
0.06175444647669792,
0.02444808930158615,
0.06411758810281754,
0.038922328501939774,
-0.023839926347136497,
-0.0009909772779792547,
-0.02641158178448677,
0.019200524315238,
-0.05605510622262955,
-0.03610740974545479,
0.016568053513765335,
-0.04754084721207619,
0.012302236631512642,
-0.0005123216542415321,
0.032441068440675735,
-0.03351838141679764,
-0.02611618861556053,
0.0728403627872467,
0.03673294931650162,
0.009730582125484943,
-0.006807063706219196,
0.07047721743583679,
-0.019200524315238,
-0.012510748580098152,
0.008084203116595745,
-0.06463886797428131,
0.00511289993301034,
-0.12392591685056686,
0.02090337686240673,
-0.00926142930984497,
-0.04503869637846947,
-0.019270028918981552,
0.0015508115757256746,
0.018540235236287117,
-0.02262360416352749,
-0.04611600935459137,
-0.007615049369633198,
0.04069468751549721,
-0.04090319946408272,
0.0006206504185684025,
0.025386394932866096,
-0.044552166014909744,
0.0001760681625455618,
-0.03881807252764702,
0.02090337686240673,
0.017341287806630135,
0.026463709771633148,
-0.007901754230260849,
0.012797453440725803,
0.003466519992798567,
-0.014222288504242897,
-0.04052092507481575,
0.0017300019972026348,
-0.010008598677814007,
-0.04979972913861275,
-0.017784377560019493,
0.007024264428764582,
0.0254211463034153,
0.019165772944688797,
-0.015803508460521698,
-0.06460411846637726,
0.019843438640236855,
0.03819253668189049,
-0.03965212404727936,
0.017767000943422318,
0.030581830069422722,
0.005108555778861046,
0.030355941504240036,
0.010295303538441658,
-0.023561909794807434,
-0.03280596435070038,
-0.0394783616065979,
0.030095301568508148,
0.011111977510154247,
-0.0006944985943846405,
0.025108378380537033,
-0.02411794289946556,
-0.004787099082022905,
-0.0467415489256382,
0.03292759507894516,
0.0031168272253125906,
0.04006914794445038,
0.022067571058869362,
0.0008535979432053864,
-0.046255018562078476,
-0.019270028918981552,
0.036385428160429,
-0.007232776843011379,
-0.03704571723937988,
0.025525402277708054,
0.05004299432039261,
0.013266606256365776,
-0.043301090598106384,
-0.02736726403236389,
-0.017436856403946877,
-0.027158750221133232,
-0.0009269031579606235,
-0.0030820751562714577,
0.0035816363524645567,
-0.03906133770942688,
0.02420482411980629,
0.023544535040855408,
0.020851248875260353,
0.03784501552581787,
0.013162350282073021,
0.009791398420929909,
-0.020086701959371567,
0.04368336498737335,
0.0561593621969223,
0.02048635110259056,
-0.06171969324350357,
-0.0067809997126460075,
-0.038783323019742966,
-0.023475030437111855,
-0.0022284770384430885,
-0.03798402473330498,
-0.014248352497816086,
-0.02733251079916954,
0.04239753633737564,
-0.03781026229262352,
-0.02641158178448677,
0.012467308901250362,
-0.038540057837963104,
-0.08027730882167816,
-0.017723560333251953,
-0.005569020751863718,
0.034282926470041275,
-0.04931320250034332,
0.019582796841859818,
-0.005994733888655901,
-0.10453426092863083,
-0.018679242581129074,
-0.05320543423295021,
0.00833615567535162,
0.031989291310310364,
-0.020434223115444183,
0.04451741650700569,
-0.04378762096166611,
0.010694952681660652,
-0.05115506052970886,
-0.04903518408536911,
-0.04569898545742035,
-0.018018953502178192,
0.03579464182257652,
-0.08277945220470428,
0.009565509855747223,
0.011198857799172401,
0.01089477725327015,
0.0673842802643776,
0.09612425416707993,
0.04493444040417671,
0.03212829679250717,
0.01201553177088499,
0.00881399679929018,
-0.014065904542803764,
0.03888757899403572,
0.014882578514516354,
-0.08125036209821701,
-0.008653268218040466,
0.020329967141151428,
-0.04806212708353996,
0.025768667459487915,
-0.007506449241191149,
-0.05212812125682831,
-0.049938738346099854,
0.00012034265091642737,
0.003008226864039898,
-0.013683632016181946,
-0.04451741650700569,
-0.06557717174291611,
-0.00924405362457037,
-0.033031851053237915,
0.021181393414735794,
0.045629482716321945,
0.008566387929022312,
0.00870973989367485,
-0.03508222475647926,
0.0653686597943306,
0.007853969931602478,
0.03558612987399101,
-0.025108378380537033,
-0.002295809332281351,
0.031485386192798615,
-0.03397015854716301,
0.0374627411365509,
-0.023770423606038094,
0.023301269859075546,
0.021042384207248688,
-0.029243875294923782,
0.021250896155834198,
0.0022393371909856796,
0.007615049369633198,
-0.0233707744628191,
-0.04649828374385834,
-0.05174584686756134,
0.06408283859491348,
0.018870379775762558,
0.009504693560302258,
0.03986063599586487,
-0.0023175294045358896,
0.03767125681042671,
0.036385428160429,
-0.05675014853477478,
0.00665502343326807,
-0.044343654066324234,
-0.013275294564664364,
0.013405614532530308,
-0.016724439337849617,
0.015177970752120018,
-0.02604668401181698,
-0.025525402277708054,
-0.005382228642702103,
-0.06300552189350128,
0.006085957866162062,
0.016863446682691574,
-0.017280472442507744,
-0.024100568145513535,
0.006064238026738167,
0.026359451934695244,
0.014204912818968296,
-0.036385428160429,
0.030025796964764595,
-0.006546423304826021,
-0.020312590524554253,
-0.030494950711727142,
0.024135319516062737,
0.015846949070692062,
-0.004817507229745388,
0.035030096769332886,
0.008905220776796341,
-0.000905183085706085,
0.0066897752694785595,
-0.00046888156794011593,
-0.04389187693595886,
0.022050194442272186,
0.004556866362690926,
-0.02191118709743023,
0.0181927140802145,
-0.04514295235276222,
-0.08952135592699051,
0.01956542208790779,
-0.008475163951516151,
-0.0036750324070453644,
-0.11919963359832764,
-0.022849492728710175,
0.03176340088248253,
0.028722593560814857,
0.025386394932866096,
0.026845982298254967,
0.03251057118177414,
0.040208157151937485,
-0.002289293333888054,
0.04138972610235214,
0.04785361513495445,
0.04486493393778801,
-0.02194593846797943,
0.017037207260727882,
-0.016263972967863083,
-0.030182180926203728,
0.06199771165847778,
0.028444577008485794,
-0.023648791015148163,
-0.015221411362290382,
-0.03480421006679535,
-0.0006315104546956718,
0.004413514398038387,
-0.005230187904089689,
-0.009026852436363697,
0.022832116112113,
0.02307538129389286,
0.013631503097712994,
-0.024552345275878906,
-0.009105045348405838,
-0.015386483632028103,
-0.022293459624052048,
-0.0038379328325390816,
-0.009582886472344398,
-0.04903518408536911,
0.02712399885058403,
-0.0012858270201832056,
0.0028388104401528835,
0.008084203116595745,
0.02185905911028385,
0.03176340088248253,
0.055568575859069824,
-0.09188450127840042,
-0.047923117876052856,
0.004446094390004873,
0.047262828797101974,
-0.04483018442988396,
-0.012588941492140293,
0.028566209599375725,
0.04444791004061699,
0.04427415132522583,
-0.037323735654354095,
0.0038292447570711374,
-0.018383851274847984,
0.005547300912439823,
-0.008779244497418404,
0.07499498873949051,
-0.014309168793261051,
0.004039929248392582,
-0.0046524349600076675,
-0.0696779191493988,
0.05438700690865517,
-0.034109167754650116,
-0.031120488420128822,
-0.028027553111314774,
-0.048757169395685196,
0.008431723341345787,
0.0046089948154985905,
-0.08152838051319122,
0.025942428037524223,
0.042710307985544205,
-0.008579419925808907,
0.03287546709179878,
0.00496520334854722,
-0.01827959343791008,
0.030772967264056206,
-0.040208157151937485,
-0.002098156837746501,
-0.014691442251205444,
0.019965069368481636,
-0.013683632016181946,
0.007371785119175911,
0.024899864569306374,
-0.00610333401709795,
-0.0633530393242836,
0.0306339580565691,
-0.015403859317302704,
-0.0007455407176166773,
-0.07165879011154175,
0.009278804995119572,
0.0571671724319458,
0.03572513908147812,
0.00013839744497090578,
0.03913084417581558,
0.0048739793710410595,
0.003972596954554319,
-0.07777515798807144,
-0.00905291736125946,
-0.01295383833348751,
-0.03697621449828148,
0.05591609701514244,
0.01798420213162899,
0.04695006087422371,
-0.03132899850606918,
0.008939973078668118,
-0.009252741001546383,
-0.03504747152328491,
-0.037532247602939606,
-0.0007221916457638144,
0.037288982421159744,
0.08041631430387497,
-0.00885743647813797,
-0.01899201236665249,
0.012901709415018559,
-0.013631503097712994,
-0.09244053065776825,
-0.033865902572870255,
0.030025796964764595,
0.029487140476703644,
-0.006168494466692209,
0.061823949217796326,
-0.034491438418626785,
0.04489968717098236,
-0.04298832267522812,
0.04820113629102707,
0.0673842802643776,
-0.06821833550930023,
-0.015056339092552662,
0.05490828678011894,
0.05633312091231346,
0.026776477694511414,
-0.053935229778289795,
0.02578604407608509,
-0.014074592851102352,
-0.0024695696774870157,
-0.04118121415376663,
0.007745369803160429,
0.02891373075544834,
0.04194575920701027
] |
710,142
|
urllib3_future._collections
|
_copy_from
| null |
def _copy_from(self, other: HTTPHeaderDict) -> None:
for key in other:
val = other.getlist(key)
self._container[_lower_wrapper(key)] = [key, *val]
|
(self, other: urllib3_future._collections.HTTPHeaderDict) -> NoneType
|
[
-0.024680009111762047,
0.004945725202560425,
-0.1284916251897812,
-0.03861112892627716,
-0.0768686830997467,
0.008874902501702309,
0.011951064690947533,
0.02501591108739376,
0.10034651309251785,
-0.0039866347797214985,
-0.03187539801001549,
-0.0297185480594635,
0.02001272886991501,
0.01904037967324257,
-0.0033214588183909655,
-0.003124779090285301,
0.03758574277162552,
0.08302100002765656,
-0.015027225948870182,
-0.05229474604129791,
0.003995473962277174,
-0.028145110234618187,
0.02201046608388424,
0.01909341663122177,
-0.018651438876986504,
-0.023318719118833542,
-0.016185205429792404,
-0.008817445486783981,
0.05264832824468613,
0.01461176760494709,
0.050632912665605545,
-0.04759210720658302,
-0.0030960505828261375,
0.0271904394030571,
-0.003900449024513364,
-0.03656035661697388,
-0.013586379587650299,
-0.007270525209605694,
-0.0021491143852472305,
0.0693020299077034,
0.02994837798178196,
-0.041475143283605576,
0.0057899015955626965,
-0.024609291926026344,
0.042712680995464325,
0.05971996486186981,
-0.022929778322577477,
0.013064847327768803,
0.08450604975223541,
-0.004689378198236227,
-0.06254861503839493,
0.0007541236700490117,
-0.004592143464833498,
0.013922282494604588,
-0.04105084389448166,
0.04833462834358215,
0.0008552259532734752,
0.039954740554094315,
-0.06032105162739754,
0.08047521114349365,
-0.05300191044807434,
-0.03804539889097214,
-0.06279612332582474,
-0.041934799402952194,
-0.012172052636742592,
-0.042712680995464325,
-0.033059895038604736,
-0.007783219218254089,
0.016750937327742577,
-0.03244112804532051,
0.0020717682782560587,
0.022116539999842644,
-0.03733823448419571,
0.0092638423666358,
-0.009803054854273796,
0.0719185322523117,
0.008813026361167431,
0.04274803772568703,
-0.003109309822320938,
-0.06385686993598938,
-0.007619687356054783,
-0.02077293023467064,
-0.06852415204048157,
0.03044339083135128,
-0.00015621133206877857,
0.047132451087236404,
-0.02948871999979019,
0.03808075934648514,
0.0445866622030735,
-0.0066959550604224205,
-0.02430874854326248,
0.024096598848700523,
-0.0569266676902771,
-0.01779400371015072,
0.03143342211842537,
0.02673078328371048,
-0.06622587144374847,
-0.02054310217499733,
-0.050845060497522354,
0.05568912997841835,
0.019464677199721336,
-0.06781698763370514,
0.01211901567876339,
0.03244112804532051,
0.026094336062669754,
-0.025652358308434486,
-0.006779930554330349,
-0.041722651571035385,
-0.002919259713962674,
0.04635457322001457,
-0.053850505501031876,
-0.003531398018822074,
0.007588748820126057,
-0.017369704321026802,
-0.027066685259342194,
-0.01930556446313858,
0.004932465963065624,
-0.0030717416666448116,
-0.021692242473363876,
0.033042218536138535,
0.01732550747692585,
0.031132876873016357,
0.06254861503839493,
0.046708155423402786,
-0.02029559388756752,
0.0032352732960134745,
-0.004693798255175352,
0.0008154480019584298,
-0.01198642235249281,
-0.05816420167684555,
-0.025334134697914124,
-0.020719893276691437,
-0.025387171655893326,
0.0022518739569932222,
0.06134643778204918,
-0.06488225609064102,
-0.044409871101379395,
0.015955377370119095,
0.05968460440635681,
-0.018881266936659813,
0.011155505664646626,
-0.00006142792699392885,
0.026129694655537605,
0.017024962231516838,
-0.05240081995725632,
-0.025387171655893326,
-0.014956509694457054,
0.03373170271515846,
-0.016768615692853928,
0.0032617920078337193,
-0.036242131143808365,
0.0717771053314209,
0.0060639274306595325,
0.02301817387342453,
-0.05240081995725632,
-0.010306908749043941,
-0.041722651571035385,
-0.007093734573572874,
-0.00655010249465704,
0.0544515959918499,
0.02273530885577202,
-0.03740895166993141,
0.03385545685887337,
-0.019959691911935806,
-0.037267521023750305,
-0.01828017830848694,
0.05243617668747902,
-0.06714518368244171,
0.01708683930337429,
-0.0031004701741039753,
0.018191782757639885,
-0.03557032719254494,
0.01833321526646614,
-0.01759953238070011,
0.006258397363126278,
-0.03977794945240021,
-0.047874972224235535,
-0.0397072359919548,
0.017131038010120392,
-0.006824128329753876,
0.0008933464996516705,
-0.027172759175300598,
-0.027331871911883354,
0.01562831550836563,
0.00594459380954504,
0.011456049978733063,
-0.011615161783993244,
0.03617141768336296,
0.052825119346380234,
0.007102574221789837,
0.03168092668056488,
0.00668269582092762,
-0.014903471805155277,
-0.006510324776172638,
0.007995367981493473,
-0.018439289182424545,
-0.04511703550815582,
-0.021656883880496025,
-0.001384493662044406,
0.12226857990026474,
-0.09603281319141388,
-0.007641786243766546,
-0.014355420134961605,
0.02429106831550598,
0.027561699971556664,
-0.006041828542947769,
0.02924121357500553,
-0.016512269154191017,
-0.028357259929180145,
-0.017661409452557564,
0.02650095522403717,
-0.02620040997862816,
-0.0009353343048132956,
-0.05395657941699028,
-0.004910367075353861,
-0.012649388052523136,
-0.09426490217447281,
-0.037974681705236435,
0.006147903390228748,
-0.05883600935339928,
0.03567640110850334,
-0.018156424164772034,
-0.05572449043393135,
-0.0396011583507061,
0.0078097376972436905,
0.027862245216965675,
-0.007319143041968346,
-0.029789265245199203,
-0.0321759432554245,
0.032812390476465225,
0.04808712378144264,
0.014408458024263382,
-0.02275298722088337,
0.0014662594767287374,
0.050632912665605545,
-0.017864719033241272,
-0.01372781302779913,
-0.05918959155678749,
0.017988473176956177,
0.03176932409405708,
-0.009431794285774231,
0.017449261620640755,
0.02872852049767971,
0.05126935988664627,
-0.04610706493258476,
-0.0142493462190032,
-0.02570539526641369,
0.03659571334719658,
0.021462414413690567,
0.08507177978754044,
-0.005586592014878988,
0.009016335941851139,
-0.019659146666526794,
0.023725338280200958,
-0.004360105376690626,
-0.013117884285748005,
-0.009732338599860668,
-0.04684958606958389,
0.009555547498166561,
-0.05713881552219391,
0.0016474701697006822,
-0.025422530248761177,
-0.013577540405094624,
-0.014081394299864769,
-0.050632912665605545,
0.02673078328371048,
0.023424793034791946,
0.04129835218191147,
-0.0397072359919548,
-0.0046805390156805515,
0.0014286914374679327,
-0.03544657304883003,
-0.005065058823674917,
0.023831412196159363,
0.038010042160749435,
0.05572449043393135,
0.02397284470498562,
0.04653136432170868,
-0.030514108017086983,
0.013789689168334007,
0.08995120227336884,
0.004371154587715864,
-0.030019093304872513,
-0.022823704406619072,
-0.011730075813829899,
0.0020143112633377314,
-0.008287073113024235,
-0.016167527064681053,
-0.006271657068282366,
-0.051375433802604675,
0.017900077626109123,
0.030850009992718697,
0.019959691911935806,
-0.002278392668813467,
-0.02673078328371048,
0.045187752693891525,
-0.002585566835477948,
-0.007098154164850712,
0.04971360042691231,
0.04511703550815582,
-0.005255109164863825,
0.04136906936764717,
0.0005933544016443193,
0.006192101165652275,
-0.037727177143096924,
-0.04189944267272949,
0.05116328224539757,
0.06339721381664276,
-0.052082598209381104,
0.006810869090259075,
-0.014655965380370617,
0.026094336062669754,
-0.06714518368244171,
0.0023888868745416403,
-0.004187734331935644,
-0.03541121631860733,
-0.011517927050590515,
0.05614878609776497,
-0.010704688727855682,
0.061735380440950394,
-0.031062159687280655,
-0.04554133489727974,
-0.08471819758415222,
-0.0039114984683692455,
0.06806449592113495,
-0.0046407608315348625,
0.04769818112254143,
-0.00476451450958848,
0.03383777663111687,
0.02427338995039463,
-0.02128562331199646,
0.009520189836621284,
-0.0040131532587111,
0.04016689211130142,
0.03171628713607788,
0.04996110498905182,
-0.028569407761096954,
0.019747542217373848,
0.02125026471912861,
-0.050173256546258926,
-0.06806449592113495,
-0.05611342936754227,
-0.0154868820682168,
-0.02522806078195572,
0.025316456332802773,
-0.06230111047625542,
-0.04349055886268616,
-0.0023756276350468397,
-0.016202885657548904,
-0.036984656006097794,
-0.046708155423402786,
0.00625397777184844,
0.07580793648958206,
0.059083517640829086,
0.0765858143568039,
0.05795205384492874,
-0.030620181933045387,
-0.07205996662378311,
0.005895976442843676,
0.033307403326034546,
0.09384060651063919,
0.007800898049026728,
0.012773142196238041,
-0.055795203894376755,
0.008123541250824928,
0.006094865966588259,
-0.03150413557887077,
-0.019977370277047157,
-0.07368644326925278,
-0.02892298996448517,
-0.02521038055419922,
-0.015734389424324036,
0.02202814444899559,
-0.019005021080374718,
-0.01025387179106474,
-0.04087405279278755,
-0.055547699332237244,
0.03984866663813591,
-0.10055866092443466,
0.036701787263154984,
0.04981967434287071,
0.014585248194634914,
0.006130224093794823,
0.058093488216400146,
-0.0045037479139864445,
-0.03095608577132225,
0.03251184523105621,
-0.0470617339015007,
0.07785870879888535,
0.059507813304662704,
-0.007588748820126057,
-0.038010042160749435,
0.033342763781547546,
0.04476345330476761,
0.006541262846440077,
-0.06318506598472595,
-0.051870446652173996,
-0.0026430238503962755,
-0.018014991655945778,
-0.03755038604140282,
0.0644225999712944,
-0.045187752693891525,
-0.03495156019926071,
0.05349692329764366,
0.013816208578646183,
-0.05123399943113327,
0.0028308641631156206,
0.01630011945962906,
0.004225302487611771,
0.02202814444899559,
-0.014293543994426727,
-0.05841170996427536,
0.025104306638240814,
-0.028604766353964806,
0.010669330134987831,
-0.034580297768116,
0.006638498045504093,
-0.020224878564476967,
0.03192843496799469,
0.05035004764795303,
0.03617141768336296,
-0.05717417597770691,
-0.03769181668758392,
-0.003222014056518674,
0.009714659303426743,
-0.036489639431238174,
-0.04550597444176674,
0.0004521979426499456,
-0.016008414328098297,
-0.03645428270101547,
0.037727177143096924,
0.036277491599321365,
0.029559437185525894,
0.010121278464794159,
0.0470617339015007,
0.05766918882727623,
0.02003040723502636,
0.008848384022712708,
0.06601371616125107,
0.005887136794626713,
-0.011279258877038956,
0.0007364445482380688,
0.03288310766220093,
-0.03046107105910778,
-0.04879428446292877,
0.0018297857604920864,
-0.045718125998973846,
0.006687115412205458,
0.0038606710731983185,
-0.02105579525232315,
0.020914362743496895,
0.0006513639236800373,
-0.00877766776829958,
-0.02577611245214939,
-0.013179761357605457,
0.0032883104868233204,
-0.019906654953956604,
-0.019659146666526794,
-0.026341842487454414,
0.01660066470503807,
0.035517290234565735,
-0.022328689694404602,
0.02846333384513855,
0.020171841606497765,
0.027879923582077026,
0.036277491599321365,
-0.0032772610429674387,
0.0008530160412192345,
0.01202178094536066,
0.04327841103076935,
0.0039512766525149345,
-0.027066685259342194,
0.04228838160634041,
-0.04402093216776848,
0.010068241506814957,
0.003076161490753293,
0.05222402885556221,
0.011685878038406372,
-0.04776889830827713,
0.025687716901302338,
0.035287462174892426,
-0.04076797887682915,
0.03769181668758392,
-0.04274803772568703,
-0.019942011684179306,
-0.0284986924380064,
0.00852132122963667,
0.007659465540200472,
0.02354854717850685,
0.04158121719956398,
-0.0011193073587492108,
-0.03818683326244354,
-0.05865921825170517,
0.028074393048882484,
0.060816068202257156,
-0.01634431816637516,
-0.036524999886751175,
0.03903542831540108,
0.0247507244348526,
-0.0002571755030658096,
-0.02945336326956749,
-0.029382646083831787,
0.0020850275177508593,
0.001825365936383605,
0.017466939985752106,
0.02945336326956749,
-0.04356127604842186,
-0.00022955192252993584,
-0.01633547805249691,
-0.04349055886268616,
0.0060639274306595325,
0.0092638423666358,
-0.014001838862895966,
-0.007694823667407036,
0.02871084026992321,
-0.04402093216776848,
-0.11618697643280029,
0.0198536179959774,
-0.013064847327768803,
-0.022859062999486923,
0.046637438237667084,
0.04140442609786987,
0.03422671556472778,
-0.05225938931107521,
-0.017732126638293266,
-0.002614295342937112,
-0.02399052493274212,
-0.011677038855850697,
0.019164131954312325,
-0.02125026471912861,
-0.0917191132903099,
-0.03343115746974945,
0.017175234854221344,
0.011252740398049355,
0.031574852764606476,
0.05423944443464279,
0.010191994719207287,
-0.03072625771164894,
-0.00952902901917696,
0.04635457322001457,
0.00550261652097106,
0.032264336943626404,
0.027879923582077026,
-0.04136906936764717,
-0.016936566680669785,
0.06732197105884552,
-0.10091224312782288,
0.0021004967857152224,
-0.05498196557164192,
0.004035252146422863,
-0.059048157185316086,
-0.04108620434999466,
0.016971925273537636,
0.030036771669983864,
-0.0445866622030735,
-0.026571670547127724,
-0.06558942049741745,
-0.027667773887515068,
0.041687291115522385,
0.03495156019926071,
0.09207269549369812,
-0.0185276847332716,
0.028056714683771133,
0.03942436724901199,
-0.04918322712182999,
0.013223959133028984,
-0.05766918882727623,
0.04331376776099205,
-0.046884942799806595,
0.04006081447005272,
0.002243034541606903,
-0.018616080284118652,
-0.02570539526641369,
0.02602361887693405,
0.034032247960567474,
-0.0049855029210448265,
-0.009193126112222672,
-0.019111094996333122,
0.015902340412139893,
-0.020949721336364746,
-0.03931829333305359,
0.05512339994311333,
0.07304999977350235,
-0.03044339083135128,
0.028056714683771133,
-0.00507389847189188,
0.0053700231947004795,
-0.011208542622625828,
0.05957853049039841,
0.02252315916121006,
-0.05494660884141922,
0.026607029139995575,
0.009440633468329906,
-0.011358815245330334,
-0.012198571115732193,
-0.03443886712193489,
-0.009378756396472454,
-0.017493458464741707,
-0.07708083093166351,
-0.011208542622625828,
0.05738632380962372,
-0.008879322558641434,
0.005838519427925348,
0.02499823272228241,
0.018987340852618217,
-0.009025175124406815,
0.009157768450677395,
-0.038505055010318756,
0.023583905771374702,
0.01424050610512495,
0.03687857836484909,
0.04356127604842186,
0.03618909418582916,
-0.023318719118833542,
0.04416236653923988,
-0.0035402376670390368,
0.011827310547232628,
-0.018863588571548462,
0.005595431663095951,
-0.005255109164863825,
-0.03164556995034218,
-0.036277491599321365,
-0.023619262501597404,
0.028286542743444443,
-0.05660844221711159,
-0.04677886888384819,
0.008662753738462925,
0.0023513189516961575,
-0.008459444157779217,
0.020136483013629913,
0.0129941301420331,
-0.027791528031229973,
0.059790678322315216,
0.00975885707885027,
-0.010351106524467468,
0.0594017393887043,
0.01202178094536066,
-0.016768615692853928,
-0.010740046389400959,
0.060497842729091644,
0.03645428270101547,
-0.029612474143505096,
-0.00126847461797297,
-0.00043065156205557287,
-0.04999646544456482,
0.00244855391792953,
-0.004267290234565735,
-0.03818683326244354,
-0.05098649486899376,
0.0008380993385799229,
-0.0049855029210448265,
0.047910332679748535,
-0.030354995280504227,
0.03942436724901199,
-0.06813520938158035,
0.013179761357605457,
-0.02602361887693405,
-0.009944487363100052,
0.011120147071778774,
-0.021833674982190132,
0.05664380267262459,
0.00543631985783577,
0.07223676145076752,
-0.05225938931107521,
0.04377342388033867,
0.005860617849975824,
0.028180468827486038,
0.009193126112222672,
0.04508167877793312,
0.05551233887672424,
0.019128775224089622,
-0.057563114911317825,
-0.06357400119304657,
-0.011915706098079681,
0.03392617031931877,
-0.014443815685808659,
0.01136765442788601,
0.035252105444669724,
0.04511703550815582,
-0.010890319012105465,
0.014929991215467453,
0.02151545137166977,
0.019464677199721336,
0.014620606787502766,
-0.023566225543618202,
0.06813520938158035,
0.00281760492362082,
0.006824128329753876,
-0.05042076110839844,
-0.0020176260732114315,
0.06477618217468262,
-0.05947245657444,
0.022328689694404602,
-0.013648256659507751,
-0.03889399766921997,
0.07195389270782471,
-0.004229722078889608,
-0.08323315531015396,
-0.018881266936659813,
0.04868821054697037,
-0.025387171655893326,
0.0099268089979887,
0.04076797887682915,
-0.02620040997862816,
-0.009003075771033764,
-0.009856091812252998,
0.020437026396393776,
0.022116539999842644,
0.03247648850083351,
-0.016158686950802803,
0.0010309119243174791,
0.011677038855850697,
0.014461494982242584,
-0.0049855029210448265,
0.050385404378175735,
0.007641786243766546,
-0.041156917810440063,
-0.028145110234618187,
0.025139665231108665,
0.012560992501676083,
0.03608302026987076,
0.019659146666526794,
0.06311434507369995,
0.026907574385404587,
0.0210381168872118,
-0.025104306638240814,
0.02151545137166977,
-0.018863588571548462,
-0.034792449325323105,
0.0618414543569088,
0.03832826390862465,
0.058270279318094254,
0.0031645570416003466,
0.016220564022660255,
-0.013056007213890553,
-0.013312353752553463,
-0.05155222490429878,
0.0495014488697052,
0.040449757128953934,
0.0990028977394104,
0.0008530160412192345,
-0.0321936197578907,
0.007557810749858618,
0.05897743999958038,
-0.045930273830890656,
-0.04037903994321823,
0.024184994399547577,
-0.013506824150681496,
-0.017864719033241272,
0.034774769097566605,
0.007681564427912235,
0.020666854456067085,
-0.04179336503148079,
-0.006324694026261568,
0.02280602417886257,
0.004658440127968788,
0.01559295691549778,
-0.035252105444669724,
-0.0019667986780405045,
-0.001846359926275909,
0.007297044154256582,
0.022187257185578346,
-0.0197829008102417,
0.0618768110871315,
0.04621313884854317,
0.02077293023467064,
0.03610070049762726,
0.021427055820822716
] |
710,143
|
urllib3_future._collections
|
_has_value_for_header
| null |
def _has_value_for_header(self, header_name: str, potential_value: str) -> bool:
if header_name in self:
return potential_value in self._container[_lower_wrapper(header_name)][1:]
return False
|
(self, header_name: str, potential_value: str) -> bool
|
[
0.07532549649477005,
-0.030189426615834236,
-0.09009793400764465,
-0.037802111357450485,
0.0024236030876636505,
0.025590460747480392,
-0.005430786870419979,
-0.001017455942928791,
-0.011009646579623222,
-0.06093630567193031,
0.03619943931698799,
0.011009646579623222,
0.056163135915994644,
-0.06954194605350494,
0.018239082768559456,
0.03349928930401802,
0.04703488200902939,
0.057730965316295624,
0.01130579225718975,
-0.01739419624209404,
-0.0062669627368450165,
-0.007695429492741823,
-0.01642736792564392,
0.01610509306192398,
0.034178681671619415,
-0.031182385981082916,
-0.02247222140431404,
-0.0302242673933506,
-0.04553673416376114,
0.02823835052549839,
-0.013962392695248127,
-0.037871792912483215,
-0.015556352213025093,
-0.012594896368682384,
0.048323988914489746,
0.0179951973259449,
0.03327282518148422,
-0.04529285058379173,
0.006066628731787205,
-0.018465546891093254,
-0.005073670297861099,
0.006371484603732824,
-0.015721844509243965,
-0.004156925715506077,
-0.047696854919195175,
0.03487549349665642,
-0.010051528923213482,
0.06752118468284607,
0.018465546891093254,
0.05804453045129776,
0.006972486153244972,
-0.01891847513616085,
-0.04950857162475586,
-0.019615288823843002,
-0.05173837020993233,
-0.02795962430536747,
0.027628639712929726,
0.0523655042052269,
0.0014861716190353036,
0.028865482658147812,
-0.023308398202061653,
0.0061711510643363,
-0.016340266913175583,
-0.08117872476577759,
0.026548579335212708,
-0.006889739539474249,
0.06908901780843735,
-0.030624935403466225,
-0.01999853551387787,
0.0020338231697678566,
-0.01914493925869465,
-0.02346518076956272,
0.02724539116024971,
-0.005831454414874315,
-0.017611950635910034,
0.013143637217581272,
-0.015565061941742897,
-0.010687370784580708,
-0.030833978205919266,
-0.05696446821093559,
0.02282062917947769,
-0.016026701778173447,
0.007177175022661686,
-0.04860271140933037,
-0.06393259763717651,
0.04929952695965767,
-0.00911083072423935,
0.029004843905568123,
0.10361610352993011,
0.089052714407444,
0.029928121715784073,
-0.024214254692196846,
0.03543294593691826,
0.010582848452031612,
0.04159974306821823,
0.006920224986970425,
0.0846627876162529,
-0.008910497650504112,
-0.03961382433772087,
-0.017690341919660568,
-0.003923928830772638,
0.028116408735513687,
0.06051821634173393,
-0.0002945123997051269,
0.016854166984558105,
0.03248890861868858,
-0.026304693892598152,
-0.02747185528278351,
0.02957971580326557,
-0.021392161026597023,
-0.04365533962845802,
-0.10298897325992584,
-0.030415890738368034,
-0.014737596735358238,
0.054734669625759125,
-0.053166840225458145,
0.0003350691113155335,
-0.005661606322973967,
-0.07741593569517136,
-0.012263909913599491,
0.04616386815905571,
0.009877325966954231,
0.06522170454263687,
-0.032558590173721313,
-0.012455534189939499,
-0.03416126221418381,
-0.002597806276753545,
-0.00780430668964982,
0.02602596953511238,
0.05205193907022476,
0.01468533556908369,
0.02938809245824814,
0.0008154890383593738,
-0.04808010160923004,
0.032401807606220245,
0.025625301524996758,
0.013317840173840523,
0.038673125207424164,
0.017942937090992928,
0.024597501382231712,
0.02440587803721428,
0.01891847513616085,
-0.01725483499467373,
-0.05511791631579399,
0.03280247747898102,
0.04048484191298485,
-0.003856424940750003,
0.06553526967763901,
-0.02839513309299946,
-0.039160896092653275,
-0.025433678179979324,
-0.010016688145697117,
-0.037593066692352295,
0.06016980856657028,
-0.00967699196189642,
-0.04403858631849289,
0.03348186984658241,
-0.01985917240381241,
-0.024841386824846268,
0.05048410966992378,
0.08138776570558548,
-0.0112448213621974,
-0.05337588116526604,
0.03776726871728897,
-0.049543410539627075,
0.008714518509805202,
-0.0034448697697371244,
-0.0001221464335685596,
0.04191330820322037,
-0.008305140770971775,
0.010365094989538193,
-0.009189222939312458,
-0.03513680025935173,
0.06480361521244049,
0.015930889174342155,
-0.02902226522564888,
-0.06131955236196518,
0.013605275191366673,
-0.02860417775809765,
-0.01792551577091217,
0.0017779621994122863,
-0.0007403639028780162,
-0.03198372200131416,
-0.0426798015832901,
-0.033899955451488495,
0.006824413314461708,
0.025625301524996758,
-0.029004843905568123,
0.05027506500482559,
0.047557491809129715,
-0.026931826025247574,
-0.0322972871363163,
0.014876959845423698,
0.0135530149564147,
-0.0007926248945295811,
-0.050623469054698944,
0.058358095586299896,
-0.0050431848503649235,
0.02113085612654686,
-0.018901055678725243,
0.027402173727750778,
-0.07943668961524963,
-0.01836102455854416,
0.016575440764427185,
-0.029196469113230705,
-0.04773169755935669,
0.026374375447630882,
-0.019684970378875732,
-0.023813586682081223,
-0.015390858985483646,
-0.07205047458410263,
-0.032680533826351166,
-0.008435793220996857,
0.07281696796417236,
0.01334397029131651,
0.017733892425894737,
-0.0749770849943161,
-0.05557084456086159,
0.01829134300351143,
-0.05888070538640022,
0.060134969651699066,
0.048045262694358826,
0.0994352251291275,
-0.005735642742365599,
0.06062273681163788,
0.0035101959947496653,
-0.027977045625448227,
-0.0123423021286726,
0.007860922254621983,
0.03292441740632057,
0.044491514563560486,
0.03156563267111778,
-0.002896129386499524,
0.01208970695734024,
-0.04020611569285393,
-0.01628800667822361,
0.01575668528676033,
0.028987424448132515,
-0.016828035935759544,
0.04170426353812218,
0.019040416926145554,
0.017942937090992928,
-0.004625096917152405,
0.041146811097860336,
-0.03545036539435387,
-0.05933363363146782,
-0.0431327298283577,
0.06386291980743408,
-0.0017725182697176933,
0.012002605013549328,
-0.014206277206540108,
0.04205267131328583,
-0.00004746358536067419,
-0.03518906235694885,
-0.03647816553711891,
-0.048393670469522476,
-0.054804347455501556,
0.03527616336941719,
0.045919980853796005,
-0.0008443414699286222,
-0.02881322056055069,
-0.07212015241384506,
0.06999487429857254,
0.005282714031636715,
-0.03215792402625084,
0.018935896456241608,
0.018866214901208878,
0.03720982000231743,
-0.001158451777882874,
-0.017176441848278046,
0.02937067113816738,
-0.04034547880291939,
-0.044003747403621674,
-0.03485807403922081,
0.04651227220892906,
-0.005091090686619282,
-0.0021579430904239416,
-0.025416256859898567,
0.020677927881479263,
0.027994465082883835,
0.016279295086860657,
-0.015059872530400753,
0.01598314940929413,
-0.003858602372929454,
0.014815988019108772,
0.007930603809654713,
0.03201856091618538,
0.026635680347681046,
-0.03661752864718437,
0.002872176468372345,
-0.0765797570347786,
-0.06243445351719856,
-0.004313708748668432,
-0.02696666680276394,
0.010617689229547977,
0.04734845086932182,
0.02071276865899563,
-0.04219203069806099,
0.01827392354607582,
0.012760389596223831,
0.016279295086860657,
0.056232817471027374,
-0.05738255754113197,
-0.04027579724788666,
-0.056372180581092834,
0.011000936850905418,
0.0007387307705357671,
0.0542120598256588,
-0.026496317237615585,
0.009467948228120804,
-0.02761121839284897,
0.035467784851789474,
0.00151121336966753,
-0.061145346611738205,
0.055954091250896454,
0.0021808072924613953,
-0.005008344072848558,
-0.00006274040060816333,
-0.011149009689688683,
-0.007882698439061642,
-0.0003748092276509851,
-0.03128690645098686,
-0.08577769249677658,
-0.05679026618599892,
0.0063453540205955505,
-0.04323725029826164,
0.010974805802106857,
-0.010356384329497814,
-0.015765396878123283,
0.025276895612478256,
0.009459237568080425,
-0.047905899584293365,
0.06445521116256714,
0.017794864252209663,
0.0973447859287262,
0.0036168955266475677,
-0.024057472124695778,
0.06003044918179512,
0.04581546038389206,
-0.006253897678107023,
-0.04564125835895538,
-0.000010071126780530903,
0.017429037019610405,
-0.019894013181328773,
0.002835158258676529,
-0.05839293822646141,
-0.04679099842905998,
0.03409158065915108,
0.052260980010032654,
-0.02937067113816738,
-0.02660083957016468,
0.008313851431012154,
0.03421352431178093,
0.04672131687402725,
0.01586991734802723,
0.04588514193892479,
0.0200682170689106,
-0.022001873701810837,
0.028987424448132515,
0.016871586441993713,
0.11044487357139587,
-0.04494444280862808,
0.008762424811720848,
-0.021026335656642914,
-0.06793927401304245,
-0.0336734913289547,
-0.05915943160653114,
0.039091214537620544,
-0.0037954538129270077,
0.02853449620306492,
-0.023587122559547424,
-0.00949407834559679,
0.032680533826351166,
-0.04909048229455948,
0.008292076177895069,
-0.033325087279081345,
0.009511498734354973,
0.005726932547986507,
-0.02632211521267891,
-0.06894965469837189,
0.03964866325259209,
0.05968204140663147,
-0.023865848779678345,
0.015747975558042526,
-0.004207008983939886,
-0.010896414518356323,
0.059647198766469955,
0.0007784708868712187,
-0.03686141222715378,
-0.044282469898462296,
-0.0013130571460351348,
0.01829134300351143,
-0.03665236756205559,
0.01841328665614128,
-0.03640848398208618,
-0.03043331205844879,
-0.029753919690847397,
-0.019528185948729515,
0.0028787089977413416,
0.020643087103962898,
0.06452488899230957,
-0.02916162833571434,
-0.007242501247674227,
0.06612756103277206,
0.003727949922904372,
-0.0352935828268528,
0.02168830670416355,
0.02518979273736477,
-0.013431072235107422,
0.025294315069913864,
-0.03186177834868431,
-0.12807424366474152,
-0.007808661554008722,
-0.055745046585798264,
-0.08229362219572067,
0.005705157294869423,
-0.0035080183297395706,
0.004755749367177486,
0.03978802636265755,
-0.01985917240381241,
-0.03109528310596943,
-0.04017127305269241,
-0.02611307054758072,
0.06811347603797913,
-0.006589238531887531,
0.0003187375550623983,
-0.008139647543430328,
-0.041146811097860336,
0.0013522529043257236,
-0.07323505729436874,
-0.02168830670416355,
-0.02597370743751526,
0.027262812480330467,
-0.01087899412959814,
0.05428173765540123,
0.0169586893171072,
-0.01704579032957554,
-0.007098783273249865,
-0.030851399526000023,
-0.006876674015074968,
-0.0027545893099159002,
-0.0030267818365246058,
-0.07811274379491806,
0.024161994457244873,
-0.026095649227499962,
0.02567756175994873,
0.021461842581629753,
0.02902226522564888,
0.04560641571879387,
-0.035607147961854935,
-0.038673125207424164,
-0.011027066968381405,
-0.044491514563560486,
-0.04034547880291939,
-0.03665236756205559,
0.00017352278518956155,
-0.046756159514188766,
0.015565061941742897,
0.020956654101610184,
0.008091742172837257,
0.0359903946518898,
0.04703488200902939,
-0.006415035575628281,
-0.007721560075879097,
-0.050031181424856186,
0.06226024776697159,
-0.026078229770064354,
0.005356750451028347,
0.018169401213526726,
0.009868615306913853,
-0.014406610280275345,
0.01027799304574728,
0.037523385137319565,
-0.017942937090992928,
0.006676340475678444,
0.005644185934215784,
0.024092312902212143,
0.089052714407444,
-0.03801115229725838,
0.01771647296845913,
0.006219056900590658,
0.0023582768626511097,
-0.02189735136926174,
-0.03273279592394829,
0.05135512351989746,
0.0002798140048980713,
-0.012377142906188965,
0.00918051227927208,
0.01746387779712677,
-0.05187773331999779,
0.0366872102022171,
-0.0060143680311739445,
-0.008414017967879772,
0.04616386815905571,
0.07511644810438156,
-0.015565061941742897,
0.029353251680731773,
0.0005261483020149171,
-0.006310513708740473,
0.0179951973259449,
-0.013988522812724113,
0.0027415240183472633,
-0.019615288823843002,
0.0008476077928207815,
0.016418658196926117,
-0.06696373969316483,
0.0033425253350287676,
-0.00796979945152998,
-0.02938809245824814,
-0.011628068052232265,
0.0019695856608450413,
0.024301355704665184,
-0.018970735371112823,
0.009973137639462948,
0.015321177430450916,
0.061493754386901855,
-0.04978729411959648,
-0.024214254692196846,
-0.037453703582286835,
-0.013927551917731762,
0.013701086863875389,
-0.040449999272823334,
0.009711832739412785,
-0.08076063543558121,
-0.03940477967262268,
0.06839220225811005,
-0.054386261850595474,
-0.008292076177895069,
-0.008414017967879772,
-0.04034547880291939,
-0.04142553731799126,
-0.009720542468130589,
-0.017542269080877304,
0.05341072380542755,
0.07062200456857681,
0.02269868552684784,
-0.002785074757412076,
0.022019293159246445,
-0.06793927401304245,
-0.012908462435007095,
0.011471285484731197,
0.0037083521019667387,
0.010234442539513111,
0.017655501142144203,
-0.00022660034301225096,
0.008078676648437977,
0.014641785062849522,
-0.003540681442245841,
0.025207214057445526,
-0.028342872858047485,
-0.03518906235694885,
0.0123423021286726,
0.029980383813381195,
-0.03961382433772087,
0.0028242706321179867,
0.0378369502723217,
-0.0320708230137825,
0.029788758605718613,
-0.015808947384357452,
0.03214050456881523,
0.09797192364931107,
-0.0023277911823242903,
0.038673125207424164,
0.020451463758945465,
-0.0468258410692215,
-0.05114607885479927,
-0.05584957078099251,
-0.02475428581237793,
0.023796167224645615,
-0.017908096313476562,
-0.013971102423965931,
0.008418372832238674,
-0.013352680951356888,
0.02447555959224701,
0.025085270404815674,
0.03971834480762482,
0.027558958157896996,
0.05640701949596405,
-0.0038825555238872766,
-0.014293378219008446,
-0.027506696060299873,
-0.039439622312784195,
0.05863682180643082,
-0.04902080073952675,
0.004346371628344059,
-0.03592071309685707,
-0.008235459215939045,
0.03658268600702286,
-0.02268126606941223,
0.0034535799641162157,
-0.04536253213882446,
-0.013248158618807793,
-0.00035248944186605513,
-0.025869185104966164,
0.0053393300622701645,
0.06490813940763474,
0.009346005506813526,
0.02161862514913082,
0.01977207139134407,
0.054177217185497284,
-0.008392242714762688,
-0.039160896092653275,
-0.004720908589661121,
0.0015667406842112541,
0.03210566192865372,
0.030119745060801506,
0.007029102183878422,
-0.013500753790140152,
-0.01419756654649973,
-0.046129025518894196,
0.033534128218889236,
0.002619581762701273,
-0.016784485429525375,
-0.009807644411921501,
0.022315438836812973,
0.04992665722966194,
0.010922545567154884,
-0.024005210027098656,
-0.018970735371112823,
-0.008091742172837257,
0.016070252284407616,
-0.03250633180141449,
-0.02602596953511238,
-0.025607880204916,
-0.009276323951780796,
-0.05982140451669693,
0.02973649837076664,
-0.040937770158052444,
-0.030485572293400764,
-0.054316580295562744,
0.014310798607766628,
0.02233286015689373,
0.022106396034359932,
0.03187919780611992,
-0.04553673416376114,
0.05895038694143295,
-0.00906728021800518,
-0.01728096418082714,
0.021531524136662483,
-0.015460540540516376,
-0.04334177449345589,
-0.009380846284329891,
-0.06567463278770447,
0.05661606416106224,
0.00021652922441717237,
0.04132101684808731,
0.03323798254132271,
-0.02853449620306492,
-0.002353921765461564,
0.013465913012623787,
-0.01419756654649973,
0.04132101684808731,
0.0032597787212580442,
0.0017485653515905142,
0.04595482349395752,
-0.06407196074724197,
-0.001318500959314406,
0.019597867503762245,
0.007033457048237324,
0.012168098241090775,
0.03693109378218651,
-0.07184142619371414,
0.02895258367061615,
-0.05463014543056488,
0.027193130925297737,
-0.031199805438518524,
0.004385567270219326,
-0.021078595891594887,
-0.007107493467628956,
-0.001086048549041152,
0.015704425051808357,
-0.021357320249080658,
-0.02140958234667778,
-0.04693036153912544,
0.02055598609149456,
-0.00743412459269166,
-0.055884409695863724,
-0.027437014505267143,
0.012812650762498379,
0.016322847455739975,
0.0332205630838871,
0.030259108170866966,
0.032558590173721313,
0.06309642642736435,
0.038812488317489624,
-0.017908096313476562,
0.0008214773260988295,
-0.03123464621603489,
0.02837771363556385,
-0.024527819827198982,
0.01870943047106266,
-0.06894965469837189,
-0.039021532982587814,
0.06055305898189545,
-0.012002605013549328,
0.02916162833571434,
0.018151981756091118,
0.08271171152591705,
0.0035581018310040236,
0.06455973535776138,
-0.024562660604715347,
-0.01276910025626421,
0.0336734913289547,
0.019232042133808136,
-0.026269853115081787,
-0.0008367201080545783,
0.049404047429561615,
0.016801904886960983,
0.059438157826662064,
-0.035032279789447784,
-0.027402173727750778,
0.005883715581148863,
-0.002504172036424279,
-0.036094918847084045,
0.0014099577674642205,
-0.011471285484731197,
-0.04480507969856262,
-0.0008160334546118975,
0.10277993232011795,
0.01921462081372738,
0.0463729090988636,
0.051215760409832,
0.01635768637061119,
-0.004598966334015131,
-0.04808010160923004,
-0.04508380591869354,
-0.02397037111222744,
-0.0038607800379395485,
-0.013134926557540894,
0.061354391276836395,
0.014528553001582623,
0.07212015241384506,
-0.07365314662456512,
0.07887924462556839,
-0.011401603929698467,
0.04438699409365654,
-0.016436079517006874,
0.01813456043601036,
-0.038603443652391434,
0.05776580423116684,
0.061424072831869125,
0.013457202352583408,
0.044143110513687134,
-0.08452342450618744,
-0.0051172212697565556,
0.023639384657144547,
0.02275094762444496,
0.014667915180325508,
0.014093045145273209,
0.06295706331729889,
-0.01330041978508234,
-0.026513738557696342,
0.015599902719259262,
0.020190158858895302,
0.059716880321502686,
0.011009646579623222,
-0.06609272211790085,
0.027785422280430794,
-0.04135585576295853,
0.007159754633903503,
-0.012176808901131153,
0.048184625804424286,
-0.021740568801760674,
0.021148277446627617,
-0.030276529490947723,
0.0151121336966753,
-0.037174977362155914,
0.07069168984889984
] |
710,144
|
urllib3_future._collections
|
add
|
Adds a (name, value) pair, doesn't overwrite the value if it already
exists.
If this is called with combine=True, instead of adding a new header value
as a distinct item during iteration, this will instead append the value to
any existing header value with a comma. If no existing header value exists
for the key, then the value will simply be added, ignoring the combine parameter.
>>> headers = HTTPHeaderDict(foo='bar')
>>> headers.add('Foo', 'baz')
>>> headers['foo']
'bar, baz'
>>> list(headers.items())
[('foo', 'bar'), ('foo', 'baz')]
>>> headers.add('foo', 'quz', combine=True)
>>> list(headers.items())
[('foo', 'bar, baz, quz')]
|
def add(self, key: str, val: str, *, combine: bool = False) -> None:
"""Adds a (name, value) pair, doesn't overwrite the value if it already
exists.
If this is called with combine=True, instead of adding a new header value
as a distinct item during iteration, this will instead append the value to
any existing header value with a comma. If no existing header value exists
for the key, then the value will simply be added, ignoring the combine parameter.
>>> headers = HTTPHeaderDict(foo='bar')
>>> headers.add('Foo', 'baz')
>>> headers['foo']
'bar, baz'
>>> list(headers.items())
[('foo', 'bar'), ('foo', 'baz')]
>>> headers.add('foo', 'quz', combine=True)
>>> list(headers.items())
[('foo', 'bar, baz, quz')]
"""
key_lower = _lower_wrapper(key)
new_vals = [key, val]
# Keep the common case aka no item present as fast as possible
vals = self._container.setdefault(key_lower, new_vals)
if new_vals is not vals:
# if there are values here, then there is at least the initial
# key/value pair
if combine:
vals[-1] = vals[-1] + ", " + val
else:
vals.append(val)
|
(self, key: str, val: str, *, combine: bool = False) -> NoneType
|
[
-0.0383354015648365,
0.01604253239929676,
-0.09477783739566803,
-0.0009890447836369276,
0.01679067872464657,
-0.01577736623585224,
-0.05560905858874321,
0.009725903160870075,
0.003198562655597925,
-0.07716324925422668,
-0.030948638916015625,
0.01460306067019701,
0.060306284576654434,
0.027046913281083107,
0.0198306143283844,
0.03199036046862602,
0.028296981006860733,
0.04879051074385643,
-0.03962334990501404,
-0.03204718232154846,
0.005824177525937557,
0.021838299930095673,
0.030853936448693275,
-0.011440010741353035,
0.011676765978336334,
-0.014792464673519135,
0.00656758900731802,
-0.022065583616495132,
0.02591048926115036,
0.023921744897961617,
0.01680014841258526,
-0.07561013847589493,
-0.04344931244850159,
-0.0592077374458313,
-0.015256504528224468,
-0.00048298059846274555,
-0.001589811174198985,
-0.016951672732830048,
0.009072459302842617,
0.028751550242304802,
0.020645052194595337,
-0.006401860620826483,
-0.010644513182342052,
-0.051063358783721924,
0.060609329491853714,
0.07216298580169678,
-0.012803721241652966,
0.0900806188583374,
0.021042801439762115,
-0.033941224217414856,
-0.07049622386693954,
0.0010446823434904218,
0.009886897169053555,
-0.06121542304754257,
-0.04901779443025589,
0.026952210813760757,
0.017103195190429688,
-0.006089343689382076,
-0.03653606027364731,
0.08076193183660507,
-0.0022906064987182617,
-0.009171896614134312,
-0.07803451269865036,
-0.0026848039124161005,
0.0060041118413209915,
0.010398288257420063,
-0.020285185426473618,
-0.04200984165072441,
0.006785403937101364,
-0.0011494464706629515,
0.06216244399547577,
0.0013802828034386039,
-0.0332404300570488,
-0.04488878324627876,
0.01483981590718031,
0.07170841097831726,
-0.01986849494278431,
0.01981167495250702,
0.014375775121152401,
-0.04034308344125748,
0.04261593520641327,
-0.008220139890909195,
-0.014527298510074615,
0.005431164056062698,
0.01979273371398449,
0.046744946390390396,
-0.037805069237947464,
-0.03608149290084839,
0.031175924465060234,
0.0662914514541626,
-0.011885110288858414,
-0.040835537016391754,
0.007363086566329002,
-0.03284268081188202,
0.02623247541487217,
-0.04360083490610123,
0.033884402364492416,
-0.013078357093036175,
-0.004822703078389168,
0.008551597595214844,
0.002727419836446643,
-0.006832754705101252,
0.002964175073429942,
0.003009158419445157,
-0.0011216277489438653,
-0.08841385692358017,
0.00836219359189272,
-0.001830117660574615,
-0.01158206444233656,
0.024414194747805595,
0.02325882948935032,
-0.09076247364282608,
0.010597162880003452,
-0.006141429767012596,
-0.02664916403591633,
0.07060986757278442,
0.034338973462581635,
-0.0017673774855211377,
-0.04318414628505707,
0.024906646460294724,
-0.0027061118744313717,
0.009598055854439735,
0.03168731555342674,
0.011477891355752945,
0.00045634564594365656,
-0.08212564140558243,
-0.017444122582674026,
-0.01118431519716978,
0.030001617968082428,
-0.004013000521808863,
-0.01663915440440178,
0.022236047312617302,
0.03858162462711334,
-0.04841170087456703,
0.057654622942209244,
-0.01313517801463604,
-0.0034353178925812244,
0.04564640298485756,
0.00957437977194786,
0.03274797648191452,
0.014262133277952671,
0.00038561501423828304,
0.0019934787414968014,
0.024717241525650024,
0.013447695411741734,
-0.050457265228033066,
-0.02568320371210575,
0.01967909187078476,
-0.007831862196326256,
0.044017527252435684,
-0.01282266154885292,
-0.017822930589318275,
-0.01008577086031437,
0.03183883801102638,
0.004254490602761507,
-0.017141075804829597,
0.0019212684128433466,
0.002412535483017564,
-0.0033500860445201397,
0.021023862063884735,
0.05447263643145561,
-0.02335353195667267,
0.040911298245191574,
0.013703390955924988,
-0.017027433961629868,
0.027425721287727356,
0.02901671640574932,
0.06765516102313995,
0.02257697470486164,
-0.010502460412681103,
-0.021383728832006454,
-0.02950916811823845,
-0.005653713829815388,
0.004803762771189213,
-0.009924777783453465,
-0.03878997266292572,
-0.06655661761760712,
0.021857239305973053,
-0.021686775609850883,
-0.03568374365568161,
0.015294385142624378,
-0.017671408131718636,
0.002300076652318239,
0.002547485986724496,
-0.03155473247170448,
0.021307967603206635,
0.013873854652047157,
0.03174413740634918,
0.014015907421708107,
0.06227608770132065,
0.027558304369449615,
-0.03488824516534805,
-0.03996427729725838,
-0.002176963957026601,
-0.006638615392148495,
-0.018116507679224014,
-0.005838382989168167,
0.0028860457241535187,
0.06386707723140717,
0.06129118427634239,
-0.05579846352338791,
-0.011922991834580898,
0.02615671418607235,
0.02297472395002842,
0.04530547559261322,
-0.04932084307074547,
0.01458411943167448,
-0.050722431391477585,
-0.021080682054162025,
-0.010123652406036854,
0.03594890981912613,
0.00008182851161109284,
-0.009607525542378426,
0.047540441155433655,
-0.04481302201747894,
0.00820119958370924,
-0.06788244843482971,
0.004323150031268597,
-0.013542396947741508,
-0.043562956154346466,
0.056859128177165985,
-0.030929697677493095,
0.07803451269865036,
0.0025261780247092247,
0.050608791410923004,
0.013627628795802593,
-0.008584743365645409,
-0.030853936448693275,
-0.04261593520641327,
0.027653006836771965,
0.03589208796620369,
0.00813490804284811,
-0.024887705221772194,
0.00373836443759501,
0.00036045978777110577,
-0.05227554589509964,
0.013722331263124943,
0.0010204148711636662,
0.044055406004190445,
0.006098813842982054,
0.02647870033979416,
0.05102548003196716,
-0.04545699805021286,
0.0521240234375,
-0.03375181928277016,
-0.003125168615952134,
-0.03574056550860405,
0.05477568134665489,
-0.020834457129240036,
0.03280479833483696,
0.00485348142683506,
0.07201145589351654,
-0.004216609988361597,
-0.01660127379000187,
0.015095511451363564,
0.018902534618973732,
-0.04538123682141304,
0.0030044233426451683,
-0.0029736452270299196,
-0.04140374809503555,
0.018646838143467903,
0.015550080686807632,
-0.0012583538191393018,
-0.0023154658265411854,
-0.02342929318547249,
-0.0017567235045135021,
0.05466203764081001,
0.0331457257270813,
-0.01624140702188015,
0.04625249281525612,
0.008674710057675838,
-0.043828122317790985,
0.01151577290147543,
-0.03932030126452446,
0.05295740067958832,
0.060344163328409195,
0.027312079444527626,
0.02909247763454914,
-0.017339950427412987,
0.024167969822883606,
0.01927187293767929,
-0.02255803532898426,
-0.037691425532102585,
-0.024186911061406136,
0.026990091428160667,
0.050760313868522644,
-0.0028742081485688686,
0.04026732221245766,
-0.05185885727405548,
-0.01310676708817482,
0.014290543273091316,
0.02892201393842697,
-0.028656847774982452,
0.014972398057579994,
0.010133122093975544,
0.029887976124882698,
-0.0035418577026575804,
-0.009134015068411827,
0.07538285106420517,
0.03674440458416939,
0.010341466404497623,
0.0582607164978981,
-0.011203255504369736,
-0.07057198882102966,
-0.06163211166858673,
-0.005994641687721014,
0.006790138781070709,
0.03164943307638168,
-0.03672546520829201,
0.04966177046298981,
-0.04553275927901268,
0.05102548003196716,
-0.02890307456254959,
-0.010549811646342278,
0.05170733481645584,
0.018968826159834862,
-0.06276853382587433,
0.012131336145102978,
-0.037483081221580505,
-0.013798092491924763,
-0.007235238794237375,
-0.05144216865301132,
-0.09545969218015671,
-0.04019156098365784,
0.09167160838842392,
-0.05973806977272034,
0.053866542875766754,
-0.02585366740822792,
0.01597624085843563,
0.006160370074212551,
-0.0008250918472185731,
-0.03996427729725838,
0.0023367737885564566,
0.06481409817934036,
-0.024925585836172104,
0.010672924108803272,
0.017642997205257416,
0.02623247541487217,
0.018694190308451653,
0.01443259697407484,
-0.05129064619541168,
-0.027899231761693954,
-0.05545753613114357,
-0.02274743840098381,
-0.004287636373192072,
-0.10856646299362183,
-0.023978566750884056,
0.015360676683485508,
0.01640239916741848,
-0.012453323230147362,
0.021156443282961845,
-0.04909355565905571,
0.03375181928277016,
0.03538069501519203,
0.07886788994073868,
0.01620352454483509,
-0.034433674067258835,
-0.08727743476629257,
0.08212564140558243,
-0.022273927927017212,
0.056821245700120926,
-0.024584658443927765,
0.0018336690263822675,
0.03608149290084839,
-0.06193516030907631,
-0.0019082468934357166,
-0.034054867923259735,
0.011676765978336334,
-0.004325517453253269,
-0.04132798686623573,
0.028126517310738564,
-0.053563494235277176,
0.05197250097990036,
0.037805069237947464,
0.043638717383146286,
-0.03524811193346977,
0.03875209018588066,
0.03625195473432541,
-0.06220032274723053,
-0.05640455707907677,
0.007959709502756596,
0.04545699805021286,
0.009886897169053555,
0.04810865595936775,
0.04246441274881363,
0.034698840230703354,
0.11780938506126404,
0.012491203844547272,
0.017226308584213257,
0.013154118321835995,
0.02236863039433956,
0.0299826767295599,
0.008409544825553894,
0.009446532465517521,
-0.08114074170589447,
-0.05871528759598732,
0.0083101075142622,
-0.02547485940158367,
-0.006761728320270777,
-0.020929159596562386,
0.08818657696247101,
-0.02647870033979416,
0.04257805272936821,
0.05110124126076698,
0.021592073142528534,
-0.031024400144815445,
-0.028278039768338203,
-0.009010902605950832,
-0.03299420326948166,
-0.0023580817505717278,
-0.0035607980098575354,
-0.11311215907335281,
-0.0068280198611319065,
-0.04966177046298981,
-0.00579103222116828,
-0.013116237707436085,
-0.031100161373615265,
0.021895119920372963,
-0.01316358894109726,
0.040797654539346695,
-0.010284645482897758,
-0.10220248252153397,
-0.04886627197265625,
0.10455109179019928,
-0.030683472752571106,
0.010890739038586617,
0.008632094599306583,
-0.017264189198613167,
-0.027728768065571785,
-0.09265651553869247,
0.015019749291241169,
-0.006283483002334833,
0.03632771596312523,
0.006600734777748585,
0.017889222130179405,
-0.003210400464013219,
0.004316047299653292,
-0.041214343160390854,
0.00013280486746225506,
-0.044169049710035324,
-0.04985117167234421,
-0.03274797648191452,
-0.03632771596312523,
0.024849824607372284,
-0.011885110288858414,
-0.01916770078241825,
-0.017642997205257416,
-0.010379347950220108,
0.05564694106578827,
-0.02003895863890648,
0.05496508628129959,
0.018949884921312332,
-0.027122674509882927,
0.03303208574652672,
0.03272903710603714,
-0.03233128786087036,
-0.013428754173219204,
-0.03869526833295822,
0.0030730823054909706,
0.012339680455625057,
0.03202824294567108,
0.03155473247170448,
0.010464579798281193,
0.02301260456442833,
-0.08242868632078171,
0.00958858523517847,
0.002935764379799366,
0.00043622145312838256,
-0.0028102840296924114,
-0.011572593823075294,
-0.06757940351963043,
0.00394434155896306,
0.028410622850060463,
-0.01939498633146286,
-0.02217922732234001,
0.028372742235660553,
0.06435953080654144,
0.0021497372072190046,
-0.053449854254722595,
0.010455109179019928,
0.04670706391334534,
-0.018514256924390793,
-0.015218623913824558,
-0.0009280803496949375,
0.03308890759944916,
0.04939660429954529,
0.047578323632478714,
0.03164943307638168,
0.03458520025014877,
0.04496454447507858,
0.02238757163286209,
-0.03820281848311424,
0.0015791571931913495,
0.018391143530607224,
0.017548294737935066,
0.023713400587439537,
-0.027065854519605637,
-0.010360407643020153,
-0.04295686259865761,
-0.008736266754567623,
0.027842409908771515,
-0.057048533111810684,
0.014849285595119,
0.0191203486174345,
0.01155365351587534,
-0.021857239305973053,
-0.03263433650135994,
0.007486199028789997,
-0.04791925102472305,
-0.060912374407052994,
-0.025531679391860962,
0.004017735831439495,
0.01282266154885292,
-0.006851695477962494,
0.0389036126434803,
-0.021364789456129074,
-0.08386816084384918,
-0.03524811193346977,
-0.01977379433810711,
-0.014252662658691406,
0.03183883801102638,
0.011373719200491905,
0.0465555414557457,
-0.03939606249332428,
-0.04026732221245766,
0.028524266555905342,
-0.056707605719566345,
-0.02248227223753929,
-0.02943340502679348,
0.018788892775774002,
-0.09265651553869247,
0.02958492934703827,
-0.013419284485280514,
0.019016176462173462,
0.04519183188676834,
0.047313157469034195,
0.0231830682605505,
0.013049946166574955,
-0.040570370852947235,
-0.007088450714945793,
0.0316304937005043,
0.02615671418607235,
0.009134015068411827,
-0.04496454447507858,
-0.011743057519197464,
0.050608791410923004,
-0.02325882948935032,
0.008513716980814934,
0.03860056772828102,
-0.04958600923418999,
-0.08114074170589447,
0.028278039768338203,
0.013419284485280514,
0.00403667613863945,
-0.0038709475193172693,
-0.007812920957803726,
-0.04110070317983627,
-0.024963468313217163,
-0.008688915520906448,
0.04132798686623573,
0.04651765897870064,
0.02937658503651619,
-0.047654084861278534,
0.050760313868522644,
-0.008546862751245499,
-0.013362463563680649,
-0.03695274889469147,
-0.026668105274438858,
0.040759775787591934,
-0.0027510954532772303,
-0.004211874678730965,
0.008575272746384144,
-0.057010650634765625,
0.0023580817505717278,
-0.03547539934515953,
0.028334861621260643,
-0.010388817638158798,
0.0398506335914135,
-0.04303262382745743,
-0.024830885231494904,
-0.06598840653896332,
0.04477514326572418,
0.012699548155069351,
-0.05553329735994339,
0.015190212987363338,
-0.001748437061905861,
-0.018239619210362434,
0.027406781911849976,
-0.013154118321835995,
-0.009299743920564651,
-0.0459873303771019,
0.0018360365647822618,
0.008973021991550922,
0.0006055014091543853,
-0.00958858523517847,
0.001173121971078217,
-0.012093455530703068,
0.030039498582482338,
-0.057124294340610504,
0.030910758301615715,
0.016999023035168648,
-0.02930082194507122,
-0.005142322741448879,
0.016894850879907608,
0.03308890759944916,
0.03901725634932518,
-0.02880837209522724,
0.008935141377151012,
-0.04337355121970177,
-0.06905675679445267,
0.008987227454781532,
0.006775933783501387,
-0.036990631371736526,
0.024054327979683876,
0.03644135966897011,
-0.007595106493681669,
-0.02986903488636017,
-0.015569021925330162,
0.0198306143283844,
-0.01609935238957405,
0.009763783775269985,
-0.03225552663207054,
-0.03634665906429291,
0.031156983226537704,
-0.021895119920372963,
-0.06405648589134216,
-0.001280845608562231,
-0.023523995652794838,
-0.006539178546518087,
-0.0785648450255394,
-0.0400400385260582,
0.03604361042380333,
0.05435899272561073,
-0.025228632614016533,
0.021004920825362206,
0.04951024428009987,
0.02627035602927208,
0.03168731555342674,
0.037502024322748184,
-0.0053411973640322685,
0.010303585790097713,
0.009545969776809216,
-0.04235076904296875,
-0.03882785141468048,
-0.0021994556300342083,
0.08523187041282654,
-0.004822703078389168,
-0.03558903932571411,
0.024508897215127945,
-0.044017527252435684,
0.024452077224850655,
0.015228093601763248,
-0.008011795580387115,
0.004704325459897518,
0.037937652319669724,
-0.040494609624147415,
0.008632094599306583,
-0.034528378397226334,
-0.009356564842164516,
-0.001308072474785149,
0.03553222119808197,
-0.05310892313718796,
0.07379186153411865,
-0.06386707723140717,
-0.0032885295804589987,
-0.009545969776809216,
0.023505056276917458,
-0.0045480672270059586,
0.05557117983698845,
0.011790408752858639,
0.050836075097322464,
-0.08023159950971603,
-0.018343793228268623,
0.05507872998714447,
0.06810973584651947,
-0.02661128342151642,
-0.008286431431770325,
0.021156443282961845,
0.004559904802590609,
0.008698386140167713,
0.01491557713598013,
0.02017154172062874,
0.014461006969213486,
-0.009347095154225826,
0.01483981590718031,
0.031062280759215355,
0.01312570832669735,
-0.013873854652047157,
-0.023713400587439537,
-0.04254017397761345,
0.05246495082974434,
-0.05871528759598732,
-0.04610097035765648,
0.008688915520906448,
-0.023410353809595108,
0.04670706391334534,
0.009157691150903702,
-0.04901779443025589,
0.024830885231494904,
0.004848746582865715,
-0.017396772280335426,
0.026781747117638588,
0.0049150376580655575,
0.010653983801603317,
-0.040949176996946335,
0.011089613661170006,
0.053715016692876816,
-0.022027703002095222,
0.05655607953667641,
-0.043941762298345566,
-0.04185831919312477,
0.036990631371736526,
-0.02926294133067131,
-0.018097566440701485,
0.033638179302215576,
-0.06185939535498619,
0.054093826562166214,
-0.03638453781604767,
0.041024938225746155,
0.021592073142528534,
0.07307212054729462,
0.017472533509135246,
0.05189673975110054,
-0.02598625048995018,
0.00650129746645689,
-0.08977756649255753,
-0.005464309826493263,
-0.01577736623585224,
-0.024262672290205956,
0.03835434094071388,
0.0027581979520618916,
0.03475566208362579,
-0.005767356604337692,
0.027842409908771515,
0.030039498582482338,
0.0062029859982430935,
-0.03628983721137047,
0.037255797535181046,
0.013741271570324898,
0.056442439556121826,
-0.024546777829527855,
-0.03848692402243614,
0.06276853382587433,
-0.053752899169921875,
-0.05886681005358696,
-0.050608791410923004,
0.05451051518321037,
0.01663915440440178,
-0.017339950427412987,
0.0659126490354538,
-0.03278585895895958,
0.0063829198479652405,
-0.021762536838650703,
0.01636451855301857,
0.057010650634765625,
-0.02276637963950634,
-0.020550351589918137,
0.030664533376693726,
0.04803289473056793,
0.0001518192730145529,
-0.0032411785796284676,
0.011468421667814255,
0.010161533020436764,
-0.03617619350552559,
0.017822930589318275,
0.04776772856712341,
0.023732339963316917,
0.06159422919154167
] |
710,150
|
urllib3_future._collections
|
getlist
|
Returns a list of all the values for the named field. Returns an
empty list if the key doesn't exist.
|
def getlist(
self, key: str, default: _Sentinel | _DT = _Sentinel.not_passed
) -> list[str] | _DT:
"""Returns a list of all the values for the named field. Returns an
empty list if the key doesn't exist."""
try:
vals = self._container[_lower_wrapper(key)]
except KeyError:
if default is _Sentinel.not_passed:
# _DT is unbound; empty list is instance of List[str]
return []
# _DT is bound; default is instance of _DT
return default
else:
# _DT may or may not be bound; vals[1:] is instance of List[str], which
# meets our external interface requirement of `Union[List[str], _DT]`.
return vals[1:]
|
(self, key: str, default: Union[urllib3_future._collections._Sentinel, ~_DT] = <_Sentinel.not_passed: 1>) -> Union[list[str], ~_DT]
|
[
0.07498854398727417,
-0.027776218950748444,
-0.03666025772690773,
-0.029607418924570084,
-0.023533638566732407,
0.04771998152136803,
0.032544590532779694,
-0.025256052613258362,
0.12379636615514755,
-0.016498928889632225,
-0.03832828253507614,
-0.013462038710713387,
-0.028882192447781563,
-0.0938444584608078,
0.04155554622411728,
0.02819322608411312,
-0.011431400664150715,
0.05152742564678192,
-0.009990011341869831,
-0.008507827296853065,
0.040649011731147766,
-0.009826835244894028,
0.04739362746477127,
0.029607418924570084,
0.006789944134652615,
0.009337306022644043,
0.02835640124976635,
-0.054573383182287216,
0.03424887731671333,
0.019998153671622276,
0.013335123658180237,
-0.02273588813841343,
-0.06585067510604858,
0.014966885559260845,
-0.0003889600047841668,
-0.012546438723802567,
0.009863096289336681,
0.011150375008583069,
0.004990472923964262,
0.030115079134702682,
0.03209132328629494,
-0.07078222185373306,
0.06367498636245728,
-0.04028639569878578,
-0.005511730443686247,
0.010506736114621162,
0.016281360760331154,
0.02264523319900036,
0.03609820827841759,
-0.02444017305970192,
0.008947496302425861,
0.04529046639800072,
-0.05236143618822098,
-0.043368615210056305,
-0.04601569473743439,
-0.0368778258562088,
0.012120367027819157,
0.061245474964380264,
0.0013258068356662989,
0.08448902517557144,
-0.0002739434130489826,
-0.028773408383131027,
-0.0556974858045578,
-0.0367509126663208,
0.02001628279685974,
-0.0281025730073452,
0.02712351456284523,
-0.02977059595286846,
-0.022880932316184044,
0.004575733095407486,
-0.0549359954893589,
-0.020288243889808655,
-0.027014730498194695,
0.043876275420188904,
0.0484452098608017,
0.009718051180243492,
0.025981280952692032,
-0.03678717464208603,
0.02674276940524578,
-0.06287723779678345,
-0.01992562972009182,
0.042135726660490036,
-0.06476283073425293,
0.031910017132759094,
0.00397968664765358,
0.026126326993107796,
0.0005178579012863338,
0.043151047080755234,
0.054827213287353516,
0.006930456962436438,
-0.03410382941365242,
-0.02337046153843403,
-0.027268560603260994,
0.05573374778032303,
-0.06559684127569199,
-0.03241767734289169,
-0.04347739741206169,
-0.03113039769232273,
-0.0461607426404953,
0.05199882388114929,
0.019127879291772842,
-0.015139127150177956,
0.045906912535429,
0.01916414126753807,
-0.0027739957440644503,
-0.05921483784914017,
-0.03952490910887718,
-0.022844672203063965,
0.012437654659152031,
0.035155411809682846,
-0.031910017132759094,
-0.006336676888167858,
0.010443278588354588,
0.0007337264250963926,
-0.03571746125817299,
0.04917043447494507,
-0.02605380304157734,
-0.017604902386665344,
-0.05000444874167442,
-0.044130101799964905,
0.0015558400191366673,
0.000089945227955468,
-0.04006882756948471,
-0.0018164686625823379,
0.002431778935715556,
0.01174868829548359,
-0.005031266715377569,
-0.008634742349386215,
0.040213875472545624,
0.06537927687168121,
0.06690225005149841,
0.05250648409128189,
-0.017314810305833817,
0.028936583548784256,
0.03511914983391762,
-0.016217904165387154,
0.036043815314769745,
0.024131949990987778,
0.020723380148410797,
0.011313552036881447,
0.04083031788468361,
-0.000034898039302788675,
0.06313107162714005,
0.03209132328629494,
0.021521130576729774,
-0.032472070306539536,
0.09391698241233826,
0.04014135152101517,
-0.015175389125943184,
0.020922817289829254,
-0.03299785777926445,
0.04837268590927124,
-0.050475846976041794,
-0.04155554622411728,
-0.02512913942337036,
0.03811071440577507,
-0.047321103513240814,
-0.03742174804210663,
0.0034674948547035456,
-0.026507072150707245,
-0.01528417319059372,
-0.0371316559612751,
-0.04224451258778572,
-0.021104125306010246,
0.04862651601433754,
0.04663214087486267,
-0.006558777764439583,
-0.029480503872036934,
0.05062089115381241,
0.047284845262765884,
-0.009455155581235886,
0.014042221009731293,
-0.0075469003058969975,
0.02367868274450302,
0.06628581136465073,
0.025981280952692032,
-0.034303270280361176,
0.013063163496553898,
0.02674276940524578,
-0.03685969486832619,
-0.030550215393304825,
-0.004521341063082218,
-0.0027422672137618065,
-0.03082217648625374,
0.009255718439817429,
0.06403760612010956,
-0.02772182784974575,
0.015184454619884491,
-0.07114483416080475,
0.024367649108171463,
-0.04659587889909744,
-0.037022873759269714,
-0.0022130776196718216,
-0.03267150744795799,
-0.06610450148582458,
0.033324211835861206,
-0.018765265122056007,
0.02124917134642601,
-0.060955386608839035,
0.04645083099603653,
-0.020505812019109726,
-0.04859025403857231,
-0.016634909436106682,
0.002249338896945119,
-0.030749652534723282,
0.005149116273969412,
-0.0004198388196527958,
-0.03341486304998398,
-0.016399210318922997,
-0.040649011731147766,
0.03974247723817825,
0.0008606412447988987,
-0.0752786323428154,
0.007705544121563435,
0.01755957491695881,
-0.06708355993032455,
-0.046559616923332214,
-0.02971620298922062,
-0.013471104204654694,
0.001781340455636382,
0.06730112433433533,
-0.04304226115345955,
0.007315733935683966,
0.028755277395248413,
0.05700289458036423,
-0.004695849027484655,
-0.0010170184541493654,
-0.03457522764801979,
-0.014151005074381828,
-0.021394215524196625,
0.004471481777727604,
-0.008797918446362019,
-0.016208838671445847,
-0.01258269976824522,
0.045580558478832245,
-0.012319805100560188,
0.02017945982515812,
-0.04282469302415848,
0.0799926146864891,
0.029117891564965248,
-0.029788726940751076,
0.007166156079620123,
-0.01043421309441328,
0.03428513929247856,
-0.01853863149881363,
0.04329609125852585,
-0.02623511105775833,
0.04684970900416374,
0.0019977756310254335,
0.04246208071708679,
-0.0032385948579758406,
0.0391622930765152,
0.048771560192108154,
0.02052394300699234,
0.025219792500138283,
0.007297603413462639,
-0.06759122014045715,
0.02222822792828083,
0.02550988271832466,
-0.033831872045993805,
-0.04195442050695419,
-0.04623326286673546,
-0.027776218950748444,
0.03622512146830559,
-0.018855920061469078,
0.0005357053014449775,
0.015538002364337444,
0.038255758583545685,
-0.016526125371456146,
0.053122926503419876,
-0.059287361800670624,
-0.02380559779703617,
-0.02153926156461239,
-0.06469030678272247,
0.009872161783277988,
0.029661811888217926,
0.059287361800670624,
-0.020959079265594482,
0.0034312333445996046,
0.0010379820596426725,
-0.015429218299686909,
0.029661811888217926,
-0.014341376721858978,
-0.012764006853103638,
-0.0186927430331707,
0.005955932196229696,
-0.019309187307953835,
-0.0062188273295760155,
-0.05301414430141449,
-0.013271666131913662,
0.03711352497339249,
0.014631467871367931,
0.015429218299686909,
-0.016308557242155075,
-0.008317454718053341,
0.019853107631206512,
-0.028302010148763657,
-0.01581902801990509,
0.0667572095990181,
-0.009618331678211689,
-0.009763377718627453,
0.011413270607590675,
0.0391622930765152,
0.003997817635536194,
-0.048517730087041855,
-0.05450085923075676,
0.012211021035909653,
-0.012872790917754173,
-0.012999705970287323,
-0.0479375496506691,
-0.04496411606669426,
0.018928442150354385,
-0.034339528530836105,
-0.0371316559612751,
0.03087656758725643,
-0.019127879291772842,
-0.0840538889169693,
0.058562133461236954,
0.0012068242067471147,
0.05870718136429787,
-0.02077777311205864,
0.008299323730170727,
-0.032635245472192764,
-0.016852477565407753,
0.004976874683052301,
0.03577185422182083,
0.04340487718582153,
0.03609820827841759,
0.030604608356952667,
0.047792501747608185,
0.00009065345511771739,
-0.02721416763961315,
-0.05979502201080322,
0.015347630716860294,
-0.003925294615328312,
-0.027141645550727844,
0.017913123592734337,
-0.011676165275275707,
-0.004011415410786867,
-0.029643680900335312,
-0.052433960139751434,
-0.02835640124976635,
-0.004555336199700832,
0.008639274165034294,
0.04587065055966377,
-0.01241045817732811,
0.05921483784914017,
0.030930960550904274,
0.08521424978971481,
0.002699206816032529,
0.03214571624994278,
-0.030042557045817375,
0.010978133417665958,
0.04862651601433754,
0.05888848751783371,
-0.006699290592223406,
-0.010289167985320091,
-0.007351995445787907,
0.023859990760684013,
0.0033949720673263073,
0.07723674923181534,
-0.024875309318304062,
-0.014758382923901081,
0.005117387510836124,
0.04329609125852585,
-0.020632727071642876,
0.01752331294119358,
-0.05964997410774231,
0.04587065055966377,
0.019254794344305992,
-0.021231040358543396,
0.03742174804210663,
0.011540185660123825,
-0.021104125306010246,
0.03185562416911125,
-0.055298611521720886,
0.04257086291909218,
0.014386704191565514,
-0.05638645216822624,
0.0014130608178675175,
-0.03673278167843819,
-0.045036640018224716,
0.026507072150707245,
0.06896915286779404,
0.015302304178476334,
-0.0016362948808819056,
-0.008299323730170727,
0.010778696276247501,
0.03415822237730026,
-0.028936583548784256,
-0.008299323730170727,
-0.007442648988217115,
-0.03203693404793739,
0.012337936088442802,
-0.03305225074291229,
-0.053884416818618774,
0.00960020162165165,
-0.04083031788468361,
0.03666025772690773,
0.0023864523973315954,
0.04188189655542374,
-0.005702102556824684,
-0.0549359954893589,
0.07839711010456085,
-0.045362990349531174,
-0.034466445446014404,
0.043586183339357376,
-0.056313928216695786,
-0.051237333565950394,
-0.030949091538786888,
0.0768016129732132,
0.007433583494275808,
-0.0014991816133260727,
-0.0572204627096653,
0.04942426458001137,
-0.0007116296328604221,
-0.06469030678272247,
0.08891291171312332,
0.022210096940398216,
0.011531120166182518,
-0.03647895157337189,
-0.0865921825170517,
-0.0003382507129572332,
0.046813447028398514,
0.008562219329178333,
0.03176497295498848,
-0.008865907788276672,
0.024839047342538834,
-0.020723380148410797,
-0.044347673654556274,
0.038980986922979355,
0.02222822792828083,
-0.026561463251709938,
-0.027794349938631058,
0.013226339593529701,
0.00519444327801466,
-0.010678977705538273,
-0.03470214456319809,
0.02737734466791153,
-0.03049582429230213,
-0.052180130034685135,
0.02226448990404606,
-0.005434674676507711,
0.02367868274450302,
0.05250648409128189,
0.002712804824113846,
-0.04173685237765312,
0.08129802346229553,
0.05257900431752205,
-0.0762939527630806,
0.0036963948514312506,
-0.017541443929076195,
0.08079036325216293,
0.06494414061307907,
0.045906912535429,
0.038255758583545685,
-0.08224081993103027,
0.011576446704566479,
0.028936583548784256,
-0.008698198944330215,
0.07549619674682617,
0.018964704126119614,
0.0536668486893177,
0.011395139619708061,
-0.013634280301630497,
-0.008997355587780476,
-0.02248205803334713,
-0.025618666782975197,
0.023642422631382942,
-0.013561757281422615,
-0.01717882975935936,
0.0017496116925030947,
-0.0061191082932055,
-0.08129802346229553,
0.00838544499129057,
0.0028941116761416197,
0.05725672468543053,
-0.01209317147731781,
-0.025020355358719826,
-0.06360246986150742,
0.022155705839395523,
-0.05348553881049156,
-0.005130985751748085,
-0.04184563457965851,
-0.0662495493888855,
-0.03520980477333069,
0.01375212986022234,
0.0284833163022995,
-0.06367498636245728,
0.011694296263158321,
-0.010488605126738548,
0.023225415498018265,
0.028537709265947342,
-0.03959742933511734,
0.027739958837628365,
0.008942963555455208,
-0.006613169796764851,
-0.01768648996949196,
0.04521794617176056,
0.0722326785326004,
0.04637831076979637,
-0.06088286265730858,
0.015256976708769798,
0.03339673578739166,
0.0046686530113220215,
-0.06784504652023315,
0.018447978422045708,
0.04014135152101517,
-0.013951567001640797,
-0.06882410496473312,
0.02396877482533455,
0.02226448990404606,
0.013226339593529701,
-0.023533638566732407,
0.003780249273404479,
-0.030749652534723282,
-0.025963149964809418,
-0.004401225596666336,
-0.034375790506601334,
0.03627951443195343,
-0.0004238049150444567,
0.028410794213414192,
-0.03196441009640694,
-0.008172409608960152,
0.01566491834819317,
0.050910983234643936,
-0.05580626800656319,
-0.034810926765203476,
-0.009051747620105743,
0.044565241783857346,
0.008992822840809822,
-0.05301414430141449,
0.006912326440215111,
0.03131170570850372,
-0.009754312224686146,
0.04648709297180176,
-0.000821546942461282,
0.03461148962378502,
-0.03905351087450981,
-0.0014651864767074585,
0.0195811465382576,
0.053630586713552475,
0.012519242241978645,
-0.004165526479482651,
0.03495597466826439,
0.009400763548910618,
-0.07339303940534592,
0.03345112502574921,
0.008553153835237026,
-0.014404834248125553,
-0.020324505865573883,
-0.02226448990404606,
-0.009106139652431011,
-0.041664328426122665,
-0.03138422593474388,
-0.06719234585762024,
-0.038473326712846756,
0.019599277526140213,
-0.025183530524373055,
-0.019363578408956528,
0.0063230786472558975,
-0.0022448061499744654,
-0.021521130576729774,
0.056096360087394714,
0.0000648384666419588,
-0.010887480340898037,
0.003349645296111703,
-0.011250094510614872,
0.03745801001787186,
-0.028628362342715263,
-0.016816217452287674,
-0.025056615471839905,
0.04670466110110283,
0.02112225629389286,
0.03843706473708153,
0.051926299929618835,
0.0002276251616422087,
-0.04014135152101517,
-0.036895956844091415,
-0.06809888035058975,
-0.021938137710094452,
0.0040182145312428474,
0.05247022211551666,
0.004093003459274769,
0.026942208409309387,
0.023533638566732407,
-0.021231040358543396,
-0.001546774641610682,
-0.05522608757019043,
0.03363243490457535,
0.012546438723802567,
0.018892180174589157,
0.024712132290005684,
0.08166063576936722,
-0.015429218299686909,
-0.009890292771160603,
-0.033269818872213364,
0.05515356361865997,
-0.03274402767419815,
0.005085659213364124,
-0.004442019388079643,
0.012764006853103638,
0.03006068617105484,
0.010035337880253792,
0.041410498321056366,
-0.031783103942871094,
0.05272405222058296,
0.005856213625520468,
0.0357355922460556,
-0.01891031116247177,
-0.01357988826930523,
-0.001998908817768097,
0.00991748832166195,
0.01967179961502552,
0.014966885559260845,
-0.01566491834819317,
0.02686968445777893,
-0.0027581313624978065,
0.06976690143346786,
-0.03354177996516228,
0.008312921971082687,
0.00876165647059679,
0.027993787080049515,
0.03354177996516228,
-0.02737734466791153,
-0.13851848244667053,
-0.01226541306823492,
-0.006835270673036575,
-0.01226541306823492,
-0.023606160655617714,
0.00414286321029067,
0.03644268959760666,
0.029262935742735863,
0.0778169259428978,
-0.019490493461489677,
0.05841708928346634,
0.014341376721858978,
-0.09326428174972534,
0.002837453270331025,
0.012002517469227314,
0.00519444327801466,
0.008362781256437302,
0.035826247185468674,
0.059033531695604324,
-0.0015037142438814044,
-0.008562219329178333,
0.013344189152121544,
0.0010436479933559895,
0.0273410826921463,
0.028773408383131027,
-0.056313928216695786,
0.026670247316360474,
-0.002194946864619851,
0.0039298273622989655,
-0.023769337683916092,
-0.035663072019815445,
-0.003147941315546632,
-0.07179754227399826,
-0.01520258467644453,
-0.006613169796764851,
-0.033650562167167664,
-0.009133336134254932,
-0.012174759060144424,
-0.030949091538786888,
-0.06882410496473312,
-0.06559684127569199,
-0.024204473942518234,
0.03205506131052971,
0.04645083099603653,
0.03682343661785126,
0.03158366307616234,
-0.06603197753429413,
-0.016435472294688225,
-0.018710874021053314,
0.02264523319900036,
0.0005954799125902355,
0.0735018253326416,
0.010796827264130116,
0.04307852312922478,
-0.006558777764439583,
0.0474298894405365,
-0.03511914983391762,
0.0003144541697110981,
0.0371316559612751,
-0.016381079331040382,
0.04173685237765312,
0.01560145989060402,
-0.040902841836214066,
0.034085702151060104,
-0.004745708778500557,
0.03956117108464241,
-0.027667434886097908,
0.005271498579531908,
-0.03056834638118744,
-0.02683342434465885,
0.006273219361901283,
-0.03528232499957085,
0.01083308830857277,
-0.024131949990987778,
0.0637112483382225,
-0.03268963843584061,
0.015800897032022476,
0.007932177744805813,
0.006966718472540379,
0.02298971638083458,
-0.03767557814717293,
0.015964074060320854,
0.0019728459883481264,
-0.029643680900335312,
-0.006459058728069067,
0.04960557073354721,
0.02832014113664627,
-0.008208670653402805,
-0.0644727423787117,
0.02984311804175377,
-0.04862651601433754,
-0.012628026306629181,
0.003739455249160528,
-0.008698198944330215,
0.04909791424870491,
0.05065715312957764,
-0.03321542590856552,
0.04859025403857231,
-0.010035337880253792,
0.0376393161714077,
-0.003909430466592312,
-0.032218240201473236,
-0.012256347574293613,
-0.0762939527630806,
0.07897729426622391,
0.05906979367136955,
0.07183379679918289,
0.01762303151190281,
-0.00764208659529686,
0.021521130576729774,
-0.048771560192108154,
-0.02286280132830143,
0.032472070306539536,
-0.026760900393128395,
0.0574742928147316,
-0.046813447028398514,
0.013407646678388119,
0.05906979367136955,
0.04282469302415848,
-0.026416417211294174,
-0.06153556704521179,
0.0281025730073452,
0.0010300498688593507,
-0.04452897980809212,
-0.010370755568146706,
-0.021484870463609695,
0.013017836958169937,
-0.017976580187678337,
-0.03559054806828499,
0.02610819600522518,
-0.040902841836214066,
-0.02027011290192604,
-0.014758382923901081,
-0.02090468816459179,
0.04122919216752052,
-0.019091619178652763,
0.008095353841781616,
-0.0386546328663826,
0.050693415105342865,
-0.03734922409057617,
-0.007497041020542383,
-0.007669282611459494,
0.016507994383573532
] |
710,156
|
urllib3_future._collections
|
iteritems
|
Iterate over all header lines, including duplicate ones.
|
def iteritems(self) -> typing.Iterator[tuple[str, str]]:
"""Iterate over all header lines, including duplicate ones."""
for key in self:
vals = self._container[_lower_wrapper(key)]
for val in vals[1:]:
yield vals[0], val
|
(self) -> Iterator[tuple[str, str]]
|
[
0.0077001359313726425,
-0.01981167122721672,
-0.08826319128274918,
-0.058043792843818665,
-0.01676507666707039,
-0.05064743757247925,
0.020903514698147774,
0.033776696771383286,
0.08861540257930756,
0.004873671103268862,
-0.022083409130573273,
-0.012978845275938511,
0.019406631588935852,
0.027454573661088943,
-0.032632023096084595,
0.0032359061297029257,
-0.0242494847625494,
0.054380834102630615,
-0.08227566629648209,
-0.003797236829996109,
-0.022823045030236244,
0.051915381103754044,
0.0008794180466793478,
0.004175859969109297,
-0.005798215512186289,
-0.0023751992266625166,
0.003323958022519946,
-0.009580043144524097,
0.07396356761455536,
-0.0011887002037838101,
-0.04775933548808098,
-0.04001076892018318,
-0.025341328233480453,
-0.04018687456846237,
-0.03796796500682831,
-0.01108573004603386,
-0.020163878798484802,
-0.03097664751112461,
0.0446246862411499,
0.05656452104449272,
0.04508255794644356,
0.011622847057878971,
0.02928605116903782,
-0.026891041547060013,
-0.0018975178245455027,
-0.000581142317969352,
0.02947976626455784,
0.005740982014685869,
0.03613648936152458,
-0.02056891657412052,
-0.024724965915083885,
-0.014220377430319786,
0.006467409897595644,
-0.02291109599173069,
-0.021431826055049896,
-0.025658315047621727,
0.0028858999721705914,
-0.004354164935648441,
-0.01600782945752144,
0.09298277646303177,
-0.04346240311861038,
-0.042053572833538055,
-0.006357345264405012,
0.0016234563663601875,
0.033424489200115204,
-0.09847721457481384,
-0.007752967067062855,
-0.038989368826150894,
-0.015629207715392113,
-0.03310750424861908,
0.016095882281661034,
0.018138686195015907,
-0.0079466812312603,
0.027824390679597855,
-0.024390367791056633,
0.010513393208384514,
-0.053007226437330246,
0.034199345856904984,
0.07163900136947632,
-0.09382807463407516,
0.005318332929164171,
0.0508587621152401,
-0.06353823095560074,
-0.010566224344074726,
-0.014167546294629574,
0.004525866359472275,
0.017980191856622696,
0.039376795291900635,
0.04663227126002312,
0.11820083111524582,
-0.01711728423833847,
0.030677272006869316,
-0.010627861134707928,
0.010874406434595585,
0.004706372506916523,
0.010037912987172604,
-0.042264897376298904,
-0.002962945494800806,
0.005490033887326717,
0.022277122363448143,
-0.016492115333676338,
0.003814847208559513,
0.050119124352931976,
0.04758322983980179,
0.0002263208298245445,
-0.005300722550600767,
-0.020921124145388603,
-0.037439655512571335,
0.042793210595846176,
0.020498475059866905,
-0.06353823095560074,
-0.00853662844747305,
-0.015470713376998901,
0.016254374757409096,
0.038038406521081924,
-0.06047402322292328,
0.00601834524422884,
0.011781340464949608,
-0.0010830380488187075,
-0.011120950803160667,
-0.01310211792588234,
0.026450781151652336,
0.014871960505843163,
0.059593506157398224,
-0.012741105630993843,
-0.0693848729133606,
0.021079618483781815,
-0.012829157523810863,
0.008228447288274765,
-0.029743921011686325,
0.007255474105477333,
0.013339858502149582,
0.038038406521081924,
-0.03294900804758072,
-0.010715913027524948,
-0.02310481108725071,
0.07382268458604813,
0.01622796058654785,
0.006480617448687553,
0.010099549777805805,
0.01944185234606266,
-0.004202275536954403,
-0.014810324646532536,
0.04293409362435341,
0.0072774868458509445,
-0.048428528010845184,
-0.015585181303322315,
0.01887832023203373,
0.01473107747733593,
-0.01845567114651203,
-0.03391757979989052,
-0.0017951575573533773,
0.031276024878025055,
0.07163900136947632,
-0.02981436252593994,
-0.023580290377140045,
-0.08502288907766342,
0.005881865043193102,
-0.02157270908355713,
0.05254935473203659,
0.03402324393391609,
-0.0596991665661335,
0.06082623079419136,
0.0461391806602478,
-0.037791863083839417,
0.047266244888305664,
-0.034956593066453934,
-0.04888639971613884,
0.04863985255360603,
-0.03694656491279602,
0.04060952365398407,
-0.03345971181988716,
-0.06512316316366196,
-0.029356492683291435,
-0.052091486752033234,
0.0284583643078804,
-0.018156295642256737,
0.07720387727022171,
0.026327509433031082,
-0.009465576149523258,
0.024901069700717926,
-0.05392296612262726,
-0.051880162209272385,
-0.02271738275885582,
-0.011288249865174294,
0.04487123340368271,
0.03758053854107857,
-0.018719827756285667,
0.06501749902963638,
-0.04163092374801636,
0.015409077517688274,
-0.036101266741752625,
-0.04036297649145126,
0.03655913472175598,
0.02081546187400818,
-0.014722272753715515,
-0.021607929840683937,
0.010936042293906212,
0.015197752974927425,
0.028740130364894867,
-0.06850435584783554,
-0.04536432400345802,
-0.03983466699719429,
0.07494974881410599,
-0.018332399427890778,
0.010988873429596424,
0.019318580627441406,
-0.06519360840320587,
-0.049978241324424744,
0.039764225482940674,
-0.014968818053603172,
-0.03333643823862076,
-0.023826835677027702,
-0.014378870837390423,
-0.01779528334736824,
-0.04659704864025116,
-0.08051463216543198,
-0.027172807604074478,
0.011904613114893436,
-0.028599247336387634,
0.04001076892018318,
-0.0284583643078804,
-0.02520044520497322,
-0.038566719740629196,
0.06191807612776756,
-0.00693848729133606,
0.01587575301527977,
-0.015074480324983597,
-0.04325107857584953,
-0.0019107256084680557,
0.04025731608271599,
0.015171336941421032,
0.0021055403631180525,
0.02002299576997757,
-0.038989368826150894,
-0.003634341061115265,
-0.041842248290777206,
-0.0042617106810212135,
-0.02659166418015957,
0.0028660884127020836,
-0.03775664046406746,
0.03337165713310242,
0.017557542771100998,
0.0362069308757782,
-0.04561086744070053,
-0.044976893812417984,
-0.016465699300169945,
0.05829033628106117,
-0.013093313202261925,
0.04779455438256264,
-0.015356246381998062,
0.019195307046175003,
0.0271551962941885,
0.018244346603751183,
0.03541446104645729,
-0.05272546038031578,
-0.05716327577829361,
-0.02345701865851879,
0.016236765310168266,
-0.024196654558181763,
0.043391961604356766,
0.020850682631134987,
0.010231627151370049,
0.04289887100458145,
0.044166818261146545,
0.06610934436321259,
0.01645689457654953,
0.022030577063560486,
-0.03115275129675865,
0.03694656491279602,
0.029409324750304222,
0.003306347643956542,
-0.03796796500682831,
0.014995233155786991,
-0.005762994755059481,
0.03483331948518753,
-0.01571725867688656,
0.005723371636122465,
-0.032420698553323746,
-0.0037774252705276012,
0.029585428535938263,
0.037791863083839417,
-0.03807362914085388,
-0.03293139860033989,
-0.005287514999508858,
0.0015387064777314663,
-0.00895487517118454,
-0.02601052261888981,
-0.015268194489181042,
-0.019529905170202255,
0.012256820686161518,
-0.015321025624871254,
-0.005635319743305445,
-0.04659704864025116,
0.05202104523777962,
0.028740130364894867,
0.01982928067445755,
-0.009324693121016026,
0.027014313265681267,
0.004184665158390999,
0.034181736409664154,
0.02465452440083027,
-0.028951454907655716,
-0.03335404768586159,
-0.03541446104645729,
0.04332152009010315,
0.027665898203849792,
0.06438352912664413,
-0.06096711382269859,
-0.010601445101201534,
-0.008932862430810928,
0.005683748051524162,
-0.014554973691701889,
-0.025975301861763,
-0.04001076892018318,
-0.05674062669277191,
-0.04701969772577286,
0.08784054219722748,
-0.011983859352767467,
0.033565372228622437,
-0.06494706124067307,
-0.015673233196139336,
-0.04913294315338135,
-0.03793274611234665,
-0.010346095077693462,
0.02601052261888981,
0.029162779450416565,
-0.01242411881685257,
-0.008373732678592205,
0.011120950803160667,
0.0183147881180048,
-0.034005630761384964,
-0.03326599672436714,
0.0827687606215477,
-0.004715177696198225,
0.050330448895692825,
0.04064474254846573,
0.047266244888305664,
0.03368864580988884,
-0.08798142522573471,
-0.02736652083694935,
-0.03846105560660362,
0.023756394162774086,
-0.023967718705534935,
-0.0051598395220935345,
-0.04518821835517883,
-0.041842248290777206,
-0.010601445101201534,
0.04723102226853371,
0.017848113551735878,
0.0284583643078804,
0.021766422316432,
0.042264897376298904,
0.019917333498597145,
0.10228104889392853,
0.021801643073558807,
-0.07213209569454193,
-0.07318871468305588,
0.00696930568665266,
0.0896720215678215,
0.08044418692588806,
-0.006476215086877346,
-0.015655621886253357,
-0.016465699300169945,
-0.024143822491168976,
-0.05888909101486206,
-0.058043792843818665,
0.03684090077877045,
0.006379358004778624,
0.006559864152222872,
-0.051915381103754044,
0.016879543662071228,
0.011798950843513012,
-0.07621769607067108,
-0.0100203026086092,
-0.050541773438453674,
0.0581846758723259,
0.05018956586718559,
-0.07044149935245514,
0.001842485391534865,
0.04561086744070053,
-0.0129876509308815,
0.034340228885412216,
0.0271551962941885,
-0.06709552556276321,
-0.020868293941020966,
0.08452979475259781,
-0.031047089025378227,
-0.008382538333535194,
0.027067145332694054,
-0.028070935979485512,
-0.008470590226352215,
-0.0006901065353304148,
0.02056891657412052,
0.009597653523087502,
-0.06392566114664078,
-0.009034122340381145,
-0.03698178380727768,
-0.04825242608785629,
-0.04082084819674492,
0.04480079188942909,
-0.06684897840023041,
-0.043004535138607025,
0.01085679605603218,
0.00218808907084167,
-0.08607950806617737,
0.003022380406036973,
-0.012881988659501076,
0.04318063706159592,
-0.028387922793626785,
0.004191269166767597,
-0.036312591284513474,
0.0030289844144135714,
-0.030888596549630165,
0.026644496247172356,
-0.0035771073307842016,
-0.011596431024372578,
0.019899722188711166,
0.034921370446681976,
0.043039754033088684,
0.001171089825220406,
-0.059206075966358185,
-0.052443694323301315,
0.028194209560751915,
-0.00401736656203866,
-0.03402324393391609,
-0.05832555890083313,
0.014951207675039768,
0.0166506078094244,
-0.07082892209291458,
-0.003013575216755271,
-0.0025292900390923023,
-0.004719580058008432,
0.000504372117575258,
0.01618393324315548,
0.008708329871296883,
-0.04272276908159256,
0.027084754779934883,
0.04328630119562149,
-0.0012668463168665767,
0.011120950803160667,
0.011455547995865345,
0.01634242758154869,
-0.06138976290822029,
0.038425836712121964,
0.013595208525657654,
-0.004763606004416943,
0.027789169922471046,
0.05902997404336929,
0.023791614919900894,
0.025658315047621727,
0.011992665007710457,
-0.03293139860033989,
-0.07875359058380127,
-0.010645471513271332,
0.01059264037758112,
-0.02079785242676735,
-0.014695856720209122,
-0.00895487517118454,
-0.022206680849194527,
0.07487931102514267,
0.03895414620637894,
0.03432261943817139,
-0.011939833872020245,
0.009967471472918987,
-0.07403401285409927,
-0.003823652397841215,
0.02039281278848648,
0.003207289380952716,
0.036277372390031815,
-0.0013934208545833826,
0.003233704948797822,
-0.0002913966600317508,
-0.027842001989483833,
0.0027626273222267628,
0.002328971866518259,
0.01903681457042694,
0.02981436252593994,
-0.038566719740629196,
-0.015884557738900185,
0.04342718422412872,
-0.030694881454110146,
0.00788944773375988,
-0.04444858431816101,
0.0346924364566803,
0.02925083041191101,
0.015743674710392952,
-0.055719222873449326,
-0.04635050520300865,
-0.01945946365594864,
0.0230695903301239,
-0.016175128519535065,
-0.05543745681643486,
0.03828495368361473,
0.08586818724870682,
0.018402840942144394,
0.037827081978321075,
0.015752479434013367,
-0.004384983330965042,
-0.026415560394525528,
0.019776450470089912,
-0.025693535804748535,
0.07227297872304916,
0.0003978843742515892,
0.02292870730161667,
0.04444858431816101,
0.030184181407094002,
-0.04388505220413208,
-0.018807878717780113,
-0.06438352912664413,
0.009315887466073036,
-0.015541154891252518,
-0.022453226149082184,
0.0006471812375821173,
-0.015021649189293385,
-0.05895953252911568,
-0.08685436844825745,
0.005327138118445873,
-0.04948515072464943,
0.0317867249250412,
0.022277122363448143,
-0.009536017663776875,
-0.0008133791270665824,
0.011437937617301941,
-0.03962334245443344,
0.03500942513346672,
0.0020163878798484802,
-0.027824390679597855,
0.03541446104645729,
-0.03592516481876373,
-0.03374147787690163,
0.0012987650698050857,
0.013991442508995533,
-0.014185156673192978,
0.020498475059866905,
-0.04141959920525551,
0.03691134229302406,
0.022048188373446465,
-0.0171348936855793,
0.06772949546575546,
0.06107277795672417,
0.02483062818646431,
-0.021097227931022644,
-0.016483310610055923,
0.026521222665905952,
0.016333622857928276,
-0.016914764419198036,
-0.03500942513346672,
-0.06586279720067978,
-0.012881988659501076,
-0.03944723680615425,
-0.038038406521081924,
-0.03333643823862076,
-0.022206680849194527,
-0.057268936187028885,
0.044554244726896286,
-0.03337165713310242,
-0.005481228698045015,
-0.00456548947840929,
0.01610468700528145,
0.07290694862604141,
0.017434271052479744,
-0.07952845096588135,
-0.007713343948125839,
-0.011587626300752163,
0.0200406052172184,
-0.004371775314211845,
0.06082623079419136,
0.005815825890749693,
0.07234341651201248,
-0.010046718642115593,
0.018033023923635483,
-0.001954751554876566,
0.030307453125715256,
-0.007378746755421162,
-0.029374103993177414,
-0.043568067252635956,
-0.005652930121868849,
-0.014255598187446594,
-0.05103486403822899,
0.02366834320127964,
0.04663227126002312,
0.09946339577436447,
-0.029884804040193558,
-0.016131103038787842,
-0.028969066217541695,
-0.02000538446009159,
0.01944185234606266,
-0.008699525147676468,
0.007867434993386269,
-0.014924791641533375,
-0.051668837666511536,
-0.020163878798484802,
-0.06057968735694885,
0.016879543662071228,
-0.0024038159754127264,
0.035115085542201996,
-0.027419352903962135,
-0.09580043703317642,
0.026662105694413185,
0.0036717629991471767,
0.056705404072999954,
0.007581266108900309,
0.0616363100707531,
0.03891892731189728,
-0.0323326475918293,
0.05297200381755829,
-0.036453474313020706,
0.022823045030236244,
0.024531250819563866,
-0.024883458390831947,
0.03217415511608124,
0.01173731405287981,
-0.032438308000564575,
-0.03467482700943947,
0.03180433437228203,
0.028035715222358704,
-0.01085679605603218,
0.008818394504487514,
-0.033582981675863266,
-0.007590071298182011,
-0.05529657378792763,
-0.031663451343774796,
0.05702239274978638,
-0.01721413992345333,
-0.0006180140771903098,
0.02560548298060894,
-0.027243249118328094,
0.05564878135919571,
-0.0366295762360096,
-0.008356122300028801,
-0.015831725671887398,
0.03768619894981384,
-0.002139660529792309,
-0.008263668045401573,
0.07118113338947296,
-0.022787824273109436,
-0.019688397645950317,
-0.039376795291900635,
-0.0054460084065794945,
-0.01511850580573082,
0.00875235628336668,
-0.012353677302598953,
0.03198044002056122,
-0.01020521204918623,
0.04733668640255928,
0.004054788500070572,
-0.01750471256673336,
0.026239456608891487,
-0.048428528010845184,
0.025517432019114494,
0.05952306464314461,
-0.02560548298060894,
0.009756146930158138,
0.009201420471072197,
-0.003891892731189728,
-0.04113783314824104,
-0.04737190529704094,
-0.04208879545331001,
-0.00045099068665876985,
0.058818649500608444,
-0.013436715118587017,
0.07008928805589676,
-0.05811423435807228,
0.0366295762360096,
-0.009958666749298573,
0.020850682631134987,
0.04180702939629555,
0.009853004477918148,
-0.00010531829320825636,
0.026626884937286377,
0.0011875996133312583,
-0.012142352759838104,
-0.018596554175019264,
0.015805311501026154,
-0.002428030362352729,
-0.02002299576997757,
0.003257919102907181,
0.008373732678592205,
-0.009201420471072197,
0.0007308305357582867,
0.009615263901650906,
0.003035588189959526,
-0.030377894639968872,
0.0007985203992575407,
-0.03344209864735603,
-0.00539757963269949,
-0.02504195272922516,
-0.038778044283390045,
-0.05737460032105446,
0.02407338097691536,
-0.032033272087574005,
0.01135869137942791,
0.023826835677027702,
-0.0022365176118910313,
0.06994840502738953,
0.04814676195383072,
-0.029726311564445496,
0.029532596468925476,
0.011288249865174294,
-0.02159031853079796,
-0.00853662844747305,
0.06565147638320923,
0.05575444549322128,
0.005538462661206722,
0.032438308000564575,
0.029109947383403778,
0.03162823244929314,
0.012837962247431278,
0.029497375711798668,
-0.027630677446722984,
0.01242411881685257,
-0.0450473353266716,
0.022594109177589417,
0.06251683086156845,
-0.04409637674689293,
-0.006973708048462868,
-0.029021896421909332,
0.04723102226853371,
0.021625539287924767,
0.02136138454079628,
0.05931174010038376,
0.010469367727637291,
0.08671348541975021,
-0.011226613074541092,
0.03913025185465813,
-0.04902728274464607,
0.028810571879148483,
-0.07410445064306259,
0.05793813243508339,
0.03266724571585655,
0.005375566892325878,
-0.07248429954051971,
0.06463007628917694,
0.028616858646273613,
0.050893981009721756,
-0.017205335199832916,
0.04980213940143585,
0.0252180565148592,
0.0469844788312912,
-0.022488446906208992,
-0.002148465719074011,
0.004268314223736525,
0.030906205996870995,
-0.03268485516309738,
-0.02273499220609665,
0.043638505041599274,
0.04663227126002312,
-0.02615140564739704,
-0.001392320147715509,
0.0039667366072535515,
0.006071176379919052,
0.020533695816993713,
0.016509724780917168,
0.01806824468076229,
0.0011292652925476432,
0.00913097895681858,
-0.030254622921347618,
0.005107008386403322,
0.02787722274661064,
0.009597653523087502,
0.012353677302598953,
0.017337413504719734,
0.06389043480157852,
-0.008369330316781998,
0.005569280590862036,
0.03585472330451012,
0.04966125637292862
] |
710,157
|
urllib3_future._collections
|
itermerged
|
Iterate over all headers, merging duplicate ones together.
|
def itermerged(self) -> typing.Iterator[tuple[str, str]]:
"""Iterate over all headers, merging duplicate ones together."""
for key in self:
val = self._container[_lower_wrapper(key)]
yield val[0], ", ".join(val[1:])
|
(self) -> Iterator[tuple[str, str]]
|
[
-0.026758357882499695,
-0.021933961659669876,
-0.08529675006866455,
-0.0519743412733078,
-0.011549853719770908,
-0.06054706126451492,
-0.012437614612281322,
0.02101929858326912,
0.08830974996089935,
0.012536254711449146,
-0.02327905409038067,
-0.0670393705368042,
0.014598728157579899,
0.027206720784306526,
-0.015208503231406212,
-0.0018562264740467072,
-0.028444204479455948,
0.06506656855344772,
-0.04383205249905586,
-0.008971761912107468,
-0.01631147786974907,
0.045517902821302414,
-0.023978501558303833,
-0.02335079200565815,
-0.013971018604934216,
-0.0016701554413884878,
-0.00537588307633996,
-0.018257377669215202,
0.029592016711831093,
0.03147514536976814,
-0.01069796271622181,
-0.07518165558576584,
0.007613218855112791,
-0.04921242222189903,
-0.03371696546673775,
-0.020481262356042862,
0.0023494267370551825,
-0.00802122987806797,
0.06829478591680527,
0.04623528569936752,
0.025108378380537033,
-0.026722487062215805,
0.013101193122565746,
-0.05470039322972298,
0.02252580225467682,
0.0042280713096261024,
0.012930815108120441,
0.03378870338201523,
0.03852342441678047,
-0.0007151404279284179,
-0.009406674653291702,
-0.023566005751490593,
-0.010267533361911774,
-0.014132429845631123,
-0.041751645505428314,
0.00004606238508131355,
-0.006564047187566757,
-0.008478561416268349,
-0.035277269780635834,
0.08995973318815231,
-0.027404000982642174,
-0.05175912752747536,
-0.009908841922879219,
0.006245709024369717,
0.006097748875617981,
-0.06051119044423103,
-0.026489337906241417,
-0.03228219971060753,
-0.007707375101745129,
-0.027780625969171524,
0.012590058147907257,
0.03855929523706436,
-0.030076250433921814,
0.03762669861316681,
-0.012025119736790657,
0.039599500596523285,
-0.03694518655538559,
0.008447175845503807,
0.04063970223069191,
-0.09770745784044266,
0.018813349306583405,
0.0252339206635952,
-0.07819466292858124,
0.017181305214762688,
0.036138128489255905,
-0.037375614047050476,
-0.011191163212060928,
0.02587956376373768,
-0.002710359636694193,
0.05484387278556824,
-0.018885087221860886,
0.03701692447066307,
0.002903156215324998,
-0.035833243280649185,
0.022005699574947357,
0.03156481683254242,
-0.06047532334923744,
0.03970710560679436,
0.00008343772060470656,
0.009577052667737007,
-0.027816496789455414,
-0.023476334288716316,
0.05667319521307945,
0.044908128678798676,
0.014697368256747723,
0.0008843977702781558,
-0.011200129985809326,
-0.05591994524002075,
0.02214917540550232,
0.02489316277205944,
-0.06729045510292053,
-0.04720374941825867,
0.014114495366811752,
-0.026274124160408974,
0.04541029408574104,
-0.09282925724983215,
0.020122570917010307,
0.036066390573978424,
-0.018311182036995888,
0.0012576606823131442,
-0.008917957544326782,
0.047454833984375,
0.01852639578282833,
0.019799750298261642,
-0.03852342441678047,
-0.05710362643003464,
0.029986577108502388,
0.004914068151265383,
0.0064026364125311375,
0.0033470364287495613,
-0.01924377866089344,
0.033806636929512024,
0.02937680296599865,
-0.038702771067619324,
0.02071441151201725,
-0.050037410110235214,
0.001979526598006487,
0.021718746051192284,
0.029018111526966095,
0.0068465168587863445,
-0.010940078645944595,
-0.035618025809526443,
0.0014493362978100777,
0.03023766167461872,
-0.004046483896672726,
-0.02270514704287052,
0.004748173523694277,
0.03594084829092026,
0.011935446411371231,
-0.03594084829092026,
-0.011612624861299992,
-0.004232555162161589,
-0.0007218658574856818,
0.051615651696920395,
-0.047024406492710114,
0.0031475145369768143,
-0.06876108795404434,
0.04508747160434723,
-0.0252339206635952,
0.010500682517886162,
0.022364391013979912,
-0.04497986659407616,
0.023153511807322502,
0.04311467334628105,
-0.030524613335728645,
-0.0012587816454470158,
-0.01571067050099373,
-0.022131241858005524,
0.047132011502981186,
-0.05965033173561096,
0.027475738897919655,
-0.03020179085433483,
-0.03050667978823185,
-0.03533107414841652,
-0.02663281559944153,
0.02195189706981182,
-0.041106000542640686,
0.06323724240064621,
0.010088187642395496,
-0.009209394454956055,
0.03974297642707825,
-0.06987302750349045,
-0.021001365035772324,
-0.035313140600919724,
-0.02293829619884491,
0.01540578342974186,
0.01927964761853218,
-0.051687389612197876,
0.03628160431981087,
-0.036586493253707886,
0.04982219636440277,
-0.050754792988300323,
-0.059793807566165924,
0.04838743060827255,
0.02410404197871685,
0.005465555936098099,
-0.02417578175663948,
0.006680621765553951,
0.03927667811512947,
0.06018836796283722,
-0.0802033320069313,
-0.035079989582300186,
-0.026040975004434586,
0.05516669154167175,
-0.0026363797951489687,
-0.014284873381257057,
0.0038066094275563955,
-0.05366019159555435,
-0.024229584261775017,
-0.0074114552699029446,
0.03439847752451897,
-0.028677353635430336,
-0.030524613335728645,
-0.00956808589398861,
-0.004461220931261778,
-0.013531622476875782,
-0.061300311237573624,
-0.004958904813975096,
-0.0015367672313004732,
-0.020230179652571678,
0.008460626937448978,
-0.06754153966903687,
-0.0014426108682528138,
-0.014473186805844307,
0.021342121064662933,
0.03260502219200134,
-0.01796145737171173,
-0.021969830617308617,
-0.033089254051446915,
-0.009559118188917637,
0.0331430584192276,
-0.0002222203474957496,
-0.02647140435874462,
0.026417599990963936,
-0.04085491970181465,
-0.01672397367656231,
-0.014222102239727974,
-0.0010704688029363751,
-0.013119127601385117,
-0.0002589301439002156,
-0.020732346922159195,
0.05706775560975075,
0.02421165071427822,
0.02794203720986843,
-0.03099091164767742,
-0.0696936845779419,
-0.009160074405372143,
0.0497145876288414,
0.017262009903788567,
0.06298615783452988,
-0.018920956179499626,
0.034936513751745224,
0.020696477964520454,
0.016849515959620476,
0.0308833047747612,
-0.04537442699074745,
-0.057677529752254486,
0.005147217307239771,
0.0025310141500085592,
-0.023440463468432426,
0.06456439942121506,
-0.022202979773283005,
0.011415344662964344,
0.028749093413352966,
0.007810499053448439,
0.04128534719347954,
0.044836390763521194,
-0.002831418067216873,
-0.0027305360417813063,
0.02489316277205944,
0.012285171076655388,
-0.028480075299739838,
-0.02561054565012455,
0.013899280689656734,
0.013675098307430744,
0.04763418063521385,
-0.0003715815837495029,
0.021360056474804878,
-0.055274300277233124,
-0.011926479637622833,
0.03115232288837433,
0.014204167760908604,
-0.019674208015203476,
-0.06596329808235168,
-0.011227032169699669,
0.01784488372504711,
-0.03122406080365181,
-0.021306252107024193,
-0.01434764452278614,
-0.024767620489001274,
0.026381731033325195,
-0.018920956179499626,
-0.01706472970545292,
-0.01073383167386055,
0.01917204074561596,
-0.010966980829834938,
0.06635785847902298,
-0.006886869203299284,
0.055310171097517014,
-0.023817090317606926,
0.020427459850907326,
0.014410415664315224,
0.004900617524981499,
-0.004328953567892313,
-0.061407919973134995,
-0.00939770694822073,
0.02338666096329689,
0.04871025308966637,
-0.059506855905056,
0.015468554571270943,
-0.018320148810744286,
-0.008142287842929363,
-0.023942632600665092,
-0.04300706461071968,
-0.03256915137171745,
-0.04752657189965248,
-0.019154105335474014,
0.08264243602752686,
-0.021342121064662933,
0.03622780367732048,
-0.056206896901130676,
0.006922738626599312,
-0.032820235937833786,
-0.029968641698360443,
-0.00590495252981782,
0.014015855267643929,
0.03705279156565666,
0.028085514903068542,
-0.008097452111542225,
0.011505017057061195,
0.007164855021983385,
-0.051508042961359024,
0.0018405338050797582,
0.09275752305984497,
-0.021664943546056747,
0.030040381476283073,
0.038774508982896805,
-0.0099805798381567,
0.043294016271829605,
-0.07747728377580643,
-0.04365270957350731,
-0.04437009245157242,
0.008962794207036495,
-0.02982516586780548,
-0.03061428666114807,
-0.032371871173381805,
-0.039491891860961914,
0.007451808080077171,
0.022830689325928688,
-0.006842033006250858,
0.03660442680120468,
0.031690359115600586,
0.04268424212932587,
0.04132121801376343,
0.06528178602457047,
0.02290242724120617,
-0.07855335623025894,
-0.03362729027867317,
0.04160816967487335,
0.0885249674320221,
0.03931254521012306,
-0.010724863968789577,
0.015343012288212776,
0.012527287006378174,
0.024660013616085052,
-0.016786744818091393,
-0.06230464577674866,
0.028767026960849762,
-0.015414750203490257,
-0.02478555589914322,
-0.038666900247335434,
-0.006886869203299284,
0.04135708510875702,
-0.04203859716653824,
-0.03405772149562836,
-0.02865942008793354,
0.014544924721121788,
0.040352750569581985,
-0.07198930531740189,
-0.010437911376357079,
0.028838764876127243,
0.016786744818091393,
0.05975794047117233,
0.02512631192803383,
-0.041106000542640686,
-0.030291464179754257,
0.09096406400203705,
-0.0644209235906601,
-0.028085514903068542,
0.044011399149894714,
-0.010590354911983013,
-0.01571067050099373,
0.0004301491135265678,
0.053911276161670685,
-0.052476510405540466,
-0.07819466292858124,
-0.031134389340877533,
-0.06416983902454376,
-0.0051651522517204285,
-0.03472130000591278,
0.07285016775131226,
-0.055417776107788086,
-0.005470039322972298,
0.017486192286014557,
-0.015127797611057758,
-0.09483793377876282,
0.01018682774156332,
-0.05513082444667816,
0.02361981011927128,
-0.021485596895217896,
-0.0421820767223835,
-0.029322998598217964,
0.00020022249373141676,
0.0060125598683953285,
0.018992694094777107,
0.01845465786755085,
0.012563155964016914,
0.03151101619005203,
0.04426248371601105,
0.07335232943296432,
0.006321930792182684,
-0.06456439942121506,
-0.0534808449447155,
0.03672996908426285,
-0.038057126104831696,
-0.05226129665970802,
-0.052333034574985504,
0.029179522767663002,
-0.05125695839524269,
-0.08457936346530914,
0.025700218975543976,
0.008707227185368538,
0.019494861364364624,
-0.017378583550453186,
0.03484684228897095,
0.02060680463910103,
-0.024875229224562645,
0.0171364676207304,
0.0756838247179985,
-0.013872378505766392,
0.025018705055117607,
0.002773130778223276,
0.01371096819639206,
-0.05577646940946579,
0.0497145876288414,
0.01596175506711006,
-0.01999703049659729,
0.039563629776239395,
0.031349603086709976,
0.04358097165822983,
0.05731884017586708,
-0.00770289171487093,
-0.034595757722854614,
-0.06671654433012009,
0.0019257229287177324,
0.0073083313181996346,
0.02639966644346714,
-0.010141991078853607,
-0.03909733146429062,
0.004949937574565411,
0.049248289316892624,
0.015298175625503063,
0.05584820732474327,
0.027637150138616562,
-0.014204167760908604,
-0.057605791836977005,
-0.007729793433099985,
-0.038164734840393066,
-0.013468851335346699,
0.04397553205490112,
-0.014231069944798946,
-0.016697071492671967,
0.0012128243688493967,
-0.03827234357595444,
-0.025969237089157104,
0.008882088586688042,
0.019799750298261642,
0.033985983580350876,
-0.014392481185495853,
0.01212375983595848,
-0.00002248825148853939,
-0.03081156685948372,
0.001693694619461894,
-0.04494399577379227,
0.029843101277947426,
0.027027375996112823,
0.06259159743785858,
-0.022436128929257393,
0.008913474157452583,
-0.003044390818104148,
0.022274717688560486,
0.014051724225282669,
-0.07062628120183945,
0.01604245975613594,
0.08257069438695908,
0.029053980484604836,
0.009783300571143627,
0.005541777703911066,
-0.015190568752586842,
-0.002117398427799344,
0.032712630927562714,
-0.037303876131772995,
0.06284268200397491,
-0.00965775828808546,
0.04160816967487335,
0.030291464179754257,
0.01754896342754364,
-0.05039609968662262,
-0.03570770099759102,
-0.0741773247718811,
-0.013971018604934216,
-0.03335827216506004,
-0.056960150599479675,
0.008765514008700848,
-0.00440741702914238,
-0.08759237080812454,
-0.09239882975816727,
-0.012132726609706879,
-0.017082665115594864,
0.01015095878392458,
0.0013293989468365908,
0.0013888071989640594,
-0.024642080068588257,
0.02112690731883049,
-0.052476510405540466,
0.026112712919712067,
0.020481262356042862,
0.00796742644160986,
-0.00877448171377182,
-0.05039609968662262,
-0.05803622305393219,
0.023978501558303833,
0.01410552766174078,
-0.036443017423152924,
0.02225678414106369,
0.002663281513378024,
0.016132133081555367,
0.023027969524264336,
-0.010536551475524902,
0.056135158985853195,
0.05186673626303673,
0.03145721182227135,
-0.011962348595261574,
-0.014822910539805889,
0.02787029929459095,
0.022167110815644264,
-0.05337323620915413,
-0.013872378505766392,
-0.026274124160408974,
-0.011657461524009705,
-0.06650133430957794,
0.0004166981962043792,
-0.03249741345643997,
0.04505160450935364,
-0.04992980137467384,
0.01155882142484188,
-0.05290693789720535,
-0.01672397367656231,
0.0048378463834524155,
0.04211033508181572,
0.10502475500106812,
0.03484684228897095,
-0.0824989527463913,
0.016697071492671967,
-0.004232555162161589,
0.04720374941825867,
0.006169487256556749,
0.06693176180124283,
-0.012527287006378174,
0.06194595620036125,
-0.03382457047700882,
0.002050143899396062,
-0.05735470727086067,
-0.0007196240476332605,
0.03820060193538666,
0.004234796855598688,
-0.037339743226766586,
-0.0037057276349514723,
-0.022884493693709373,
-0.04946350306272507,
0.0013708726037293673,
0.040281012654304504,
0.10610083490610123,
-0.037303876131772995,
-0.016437020152807236,
-0.042612504214048386,
-0.06298615783452988,
0.007936040870845318,
0.05710362643003464,
-0.001589450053870678,
-0.0444418303668499,
-0.03219252824783325,
0.0003104920033365488,
-0.06621438264846802,
0.015827246010303497,
0.01052758377045393,
0.019118236377835274,
-0.006106716115027666,
-0.08795106410980225,
-0.022023634985089302,
0.056924279779195786,
0.01354058925062418,
0.0037259040400385857,
0.07690337300300598,
0.019710076972842216,
-0.03149307891726494,
0.029807232320308685,
0.0034524020738899708,
0.02722465619444847,
0.03222839534282684,
-0.008985212072730064,
0.009388740174472332,
0.0004713425296358764,
-0.017073696479201317,
-0.011388442479074001,
0.005304144695401192,
0.012930815108120441,
-0.014804976060986519,
0.04139295592904091,
-0.015800343826413155,
0.012347941286861897,
-0.0376625657081604,
-0.029018111526966095,
0.057677529752254486,
-0.018356017768383026,
0.008016746491193771,
0.0031990762799978256,
0.0036653748247772455,
0.06790022552013397,
-0.02433719113469124,
-0.02914365381002426,
-0.017531028017401695,
0.07661642134189606,
-0.011173227801918983,
-0.013397113420069218,
0.07733380049467087,
0.009935744106769562,
-0.0020210002548992634,
-0.04767004773020744,
-0.0032394290901720524,
0.03296371176838875,
0.0061336178332567215,
0.007940524257719517,
0.014024822972714901,
-0.026901833713054657,
0.047957003116607666,
0.01316396426409483,
0.013307440094649792,
-0.02311764284968376,
-0.038164734840393066,
0.015351979993283749,
0.040316879749298096,
-0.010814537294209003,
-0.009227328933775425,
-0.01947692781686783,
-0.01985355280339718,
-0.023476334288716316,
-0.02232852205634117,
0.0010486110113561153,
0.025556741282343864,
0.047096144407987595,
-0.011209097690880299,
0.05871773511171341,
-0.04117773845791817,
0.026238255202770233,
-0.02019430883228779,
0.0010256323730573058,
0.02982516586780548,
0.04946350306272507,
0.008913474157452583,
0.03420119732618332,
0.015029157511889935,
-0.027816496789455414,
-0.016105230897665024,
0.017647603526711464,
0.008976245298981667,
-0.007528029847890139,
0.014948451891541481,
0.008985212072730064,
-0.033842507749795914,
0.03118819184601307,
0.02071441151201725,
0.00468988623470068,
-0.008169190026819706,
-0.015280241146683693,
-0.02557467669248581,
-0.004225829616189003,
-0.03047081083059311,
-0.034739233553409576,
-0.03242567554116249,
0.041895121335983276,
-0.057534053921699524,
0.013065324164927006,
0.013137062080204487,
0.004315502475947142,
0.08967278152704239,
0.060690537095069885,
-0.05925577133893967,
-0.0033313436433672905,
0.01815873757004738,
-0.009061434306204319,
-0.012455549091100693,
0.04437009245157242,
0.007832917384803295,
0.01604245975613594,
0.041034262627363205,
0.0673980638384819,
0.03628160431981087,
0.04038861766457558,
0.03002244606614113,
0.006550596561282873,
0.026005106046795845,
-0.02286655828356743,
0.045553769916296005,
0.07324472814798355,
-0.03190557286143303,
0.0005895984941162169,
-0.024767620489001274,
0.06535352021455765,
0.03129579871892929,
0.016248706728219986,
0.07310125231742859,
0.019943226128816605,
0.056924279779195786,
0.014266938902437687,
0.015728605911135674,
-0.03050667978823185,
0.055346038192510605,
-0.08422067016363144,
0.07299364358186722,
0.013684066012501717,
0.01893889158964157,
-0.024193715304136276,
0.07482296973466873,
0.015307143330574036,
0.013334342278540134,
-0.03265882655978203,
0.05774926766753197,
-0.009043499827384949,
0.05401888117194176,
-0.026955638080835342,
-0.025144247338175774,
0.024462733417749405,
0.05509495362639427,
-0.002083771163597703,
-0.050180885940790176,
0.0700523778796196,
0.013836509548127651,
-0.05097000673413277,
0.02451653778553009,
0.020553000271320343,
0.007622186094522476,
0.01890302076935768,
-0.00212300312705338,
0.018293246626853943,
0.03151101619005203,
-0.0014257971197366714,
-0.03495444729924202,
-0.015800343826413155,
0.00888657197356224,
0.046307023614645004,
0.033914245665073395,
-0.005649385042488575,
0.021377990022301674,
0.017531028017401695,
0.01759379915893078,
0.05244063958525658,
0.0327664315700531
] |
710,191
|
urllib3_future.connectionpool
|
HTTPSConnectionPool
|
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 HTTPSConnectionPool(HTTPConnectionPool):
"""
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[HTTPSConnection] = HTTPSConnection
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
def _prepare_proxy(self, conn: HTTPSConnection) -> 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,
)
conn.connect()
def _new_conn(self, *, heb_timeout: Timeout | None = None) -> HTTPSConnection:
"""
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:
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(
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,
)
delta_post_resolve = datetime.now(tz=timezone.utc) - dt_pre_resolve
target_pqc = {}
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 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)
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]
conn_kw["preemptive_quic_cache"] = target_pqc
challengers.append(
self.ConnectionCls(
host=actual_host,
port=actual_port,
timeout=override_timeout,
cert_file=self.cert_file,
key_file=self.key_file,
key_password=self.key_password,
cert_reqs=self.cert_reqs,
ca_certs=self.ca_certs,
ca_cert_dir=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.006873038597404957,
-0.0842481330037117,
-0.06894923746585846,
0.012495486065745354,
-0.055317800492048264,
-0.010911405086517334,
-0.03889337554574013,
-0.003274984657764435,
-0.034933168441057205,
-0.09437792003154755,
0.009780662134289742,
0.03762194141745567,
0.047480762004852295,
0.03895590454339981,
0.004426570143550634,
0.005471334792673588,
0.0057318746112287045,
-0.024699168279767036,
0.02221882902085781,
-0.052149634808301926,
-0.00020028992730658501,
0.04272851720452309,
0.03580858185887337,
0.008035046048462391,
-0.01718520186841488,
0.021385103464126587,
-0.013766920194029808,
-0.0010115455370396376,
0.028346724808216095,
0.014527696184813976,
-0.07382654398679733,
0.0485646091401577,
0.0009157971944659948,
0.06507240980863571,
0.06082040071487427,
-0.019738491624593735,
0.029117923229932785,
-0.0004155609058216214,
-0.02644999511539936,
0.014506853185594082,
-0.048731353133916855,
-0.0275963693857193,
-0.02630409225821495,
-0.029201295226812363,
0.004770482890307903,
0.04172804579138756,
-0.024594951421022415,
0.07853709906339645,
0.001741708256304264,
-0.06398855894804001,
0.0006171535351313651,
0.0027200349140912294,
0.025637110695242882,
0.04187394678592682,
0.02909707836806774,
0.03145235776901245,
-0.03578773885965347,
0.04698052629828453,
-0.014173362404108047,
0.012036936357617378,
-0.02486591413617134,
-0.012714339420199394,
-0.01758122257888317,
0.004426570143550634,
-0.039497826248407364,
-0.03266126289963722,
-0.043395500630140305,
-0.014360951259732246,
0.04356224462389946,
-0.050232063978910446,
0.07070006430149078,
0.03455799072980881,
-0.03956035524606705,
-0.0229900274425745,
0.031098024919629097,
0.0011926207225769758,
-0.025741327553987503,
-0.0007751057273708284,
-0.052816618233919144,
-0.026700112968683243,
0.013558488339185715,
0.017372790724039078,
0.019332049414515495,
-0.0691576674580574,
0.06853237748146057,
-0.04735570400953293,
0.059986673295497894,
0.04735570400953293,
-0.037872057408094406,
-0.026762643828988075,
-0.011026042513549328,
0.012141152285039425,
0.014850765466690063,
0.03178584948182106,
0.05727705731987953,
-0.036913271993398666,
-0.026429152116179466,
-0.01341258641332388,
-0.023427734151482582,
-0.03278632089495659,
-0.033057283610105515,
0.004942439030855894,
-0.0772448256611824,
0.030472729355096817,
-0.0005051214247941971,
-0.0393519252538681,
-0.015017511323094368,
-0.0034573625307530165,
-0.008649920113384724,
-0.045229699462652206,
-0.03591280058026314,
-0.017299840226769447,
0.03808049112558365,
-0.0043692514300346375,
0.005763139110058546,
-0.0005090295453555882,
-0.040665045380592346,
-0.03487063944339752,
-0.004999757744371891,
0.0016922056674957275,
-0.03793458640575409,
0.02572048455476761,
-0.02697107568383217,
0.01212030928581953,
0.007409750483930111,
0.03328655660152435,
-0.013819028623402119,
-0.003274984657764435,
0.03610038757324219,
-0.07228414714336395,
0.06198761612176895,
0.03366173431277275,
0.008050678297877312,
0.09521164745092392,
0.0006715412018820643,
-0.0007425383082590997,
-0.037726156413555145,
0.05565129220485687,
-0.04514632746577263,
-0.026866858825087547,
0.017372790724039078,
0.003071763552725315,
-0.016393160447478294,
-0.006404066924005747,
0.0349540114402771,
-0.03439124673604965,
-0.03111886791884899,
-0.05919463187456131,
-0.05477587506175041,
-0.052816618233919144,
0.033307403326034546,
-0.060862086713314056,
-0.015152991749346256,
-0.015184256248176098,
-0.019196568056941032,
0.01651822030544281,
-0.05210794880986214,
-0.012943614274263382,
-0.03505823016166687,
-0.019509216770529747,
-0.04798100143671036,
-0.05239975452423096,
-0.005909041501581669,
-0.017966821789741516,
-0.04410417005419731,
-0.017456162720918655,
-0.01846705749630928,
-0.09479478001594543,
0.019519638270139694,
0.06244616582989693,
-0.046188484877347946,
0.027137819677591324,
-0.023907126858830452,
0.014809079468250275,
0.031035494059324265,
0.07253426313400269,
0.040414925664663315,
-0.018456635996699333,
-0.02678348682820797,
-0.03424534574151039,
-0.022135457023978233,
-0.04385405033826828,
-0.02313593029975891,
-0.04360393062233925,
0.022239673882722855,
0.09462803602218628,
0.02070769853889942,
0.023531951010227203,
0.048022687435150146,
0.0158199742436409,
-0.04331212863326073,
-0.002447770908474922,
0.04960676655173302,
-0.013350056484341621,
0.025324463844299316,
-0.03774699941277504,
-0.0071335784159600735,
0.023260988295078278,
0.04827280342578888,
0.04418754205107689,
-0.06448879837989807,
0.03149404376745224,
0.029743216931819916,
-0.006174792069941759,
-0.01702887751162052,
-0.030472729355096817,
-0.04456271976232529,
-0.019029824063181877,
-0.024303147569298744,
0.04427091404795647,
-0.027492154389619827,
0.0008903946145437658,
-0.0426868312060833,
0.008358115330338478,
0.020363787189126015,
-0.000991353765130043,
0.026033131405711174,
0.0032437199261039495,
-0.0066072880290448666,
0.014413058757781982,
0.055567916482686996,
-0.03314065560698509,
-0.026074817404150963,
-0.007717187516391277,
0.025470366701483727,
0.007649446837604046,
0.02288581244647503,
0.017018456012010574,
0.030305983498692513,
-0.005114395171403885,
0.023010870441794395,
0.03822639212012291,
0.054025523364543915,
0.03249451890587807,
0.050565555691719055,
0.005684977397322655,
-0.034453775733709335,
0.05460913106799126,
0.013579331338405609,
-0.012141152285039425,
-0.01733110472559929,
0.007863089442253113,
0.008530071005225182,
-0.0207806508988142,
-0.03939361125230789,
-0.0035381298512220383,
0.028888646513223648,
0.027575526386499405,
0.008055889047682285,
0.01432968582957983,
-0.030743690207600594,
-0.05135759711265564,
-0.02674179896712303,
-0.08262236416339874,
-0.020540954545140266,
-0.0574021190404892,
-0.010562281124293804,
-0.026241563260555267,
0.010385114699602127,
-0.008144472725689411,
0.010103731416165829,
0.06048690900206566,
-0.06294640153646469,
0.05315010994672775,
-0.03395354002714157,
0.0320151224732399,
0.001978799467906356,
-0.02542867884039879,
-0.05485925078392029,
0.012099466286599636,
0.06040353700518608,
-0.03049357235431671,
-0.012224525213241577,
0.04614679887890816,
-0.003001417964696884,
0.021718593314290047,
0.004379673395305872,
0.018237782642245293,
-0.04923159256577492,
-0.03587111085653305,
0.04760582372546196,
0.024303147569298744,
0.014850765466690063,
-0.02100992575287819,
-0.008373747579753399,
0.0021468475461006165,
-0.10546649247407913,
0.053983837366104126,
0.013860714621841908,
0.0023943602573126554,
-0.039122648537158966,
-0.043062008917331696,
0.05661007761955261,
-0.028388410806655884,
0.01743531972169876,
0.03359920531511307,
-0.014798657968640327,
0.04793931543827057,
0.030285140499472618,
-0.05756886303424835,
-0.014809079468250275,
0.020332522690296173,
0.018623381853103638,
0.030472729355096817,
0.022489791736006737,
-0.0732012465596199,
-0.007534809410572052,
-0.019196568056941032,
0.011880612932145596,
-0.00960349477827549,
0.022823281586170197,
-0.026324937120079994,
0.017904290929436684,
-0.017341526225209236,
0.03914349153637886,
-0.005533864255994558,
-0.0019670750480145216,
0.018039772287011147,
0.008884405717253685,
0.05069061368703842,
-0.07270101457834244,
0.01967596262693405,
0.017310261726379395,
-0.0015619357582181692,
0.026324937120079994,
-0.014652755111455917,
0.07019983232021332,
-0.012766447849571705,
-0.0074722799472510815,
-0.003848172025755048,
-0.016320209950208664,
-0.0008193975081667304,
-0.0275963693857193,
-0.00991614256054163,
-0.019582167267799377,
-0.010082888416945934,
-0.0008044164860621095,
0.02413640171289444,
-0.015872081741690636,
-0.07511881738901138,
0.01905066706240177,
0.01300614420324564,
0.007196107879281044,
0.02346942014992237,
0.025011815130710602,
-0.060945458710193634,
-0.052149634808301926,
-0.018602538853883743,
-0.01648695580661297,
-0.014392215758562088,
0.004040971398353577,
-0.04689715430140495,
0.013391743414103985,
0.06857406347990036,
0.05490093678236008,
-0.018560850992798805,
-0.03403691202402115,
-0.024157244712114334,
0.018269047141075134,
-0.03808049112558365,
-0.010218368843197823,
0.014965402893722057,
-0.02432399056851864,
0.025908073410391808,
-0.013308370485901833,
0.0034729947801679373,
0.06344664096832275,
-0.017852183431386948,
0.020947394892573357,
-0.02041589468717575,
-0.04627186059951782,
-0.05294167622923851,
-0.0030847906600683928,
-0.03159826248884201,
0.0068209306336939335,
-0.047439076006412506,
-0.014538117684423923,
0.044937897473573685,
-0.022531477734446526,
0.018269047141075134,
0.034974854439496994,
0.0015814763028174639,
-0.003475600155070424,
-0.017341526225209236,
-0.024407364428043365,
-0.08099659532308578,
0.002664018888026476,
-0.006185213569551706,
0.08587390184402466,
0.05577635020017624,
0.03216102719306946,
0.021072454750537872,
0.024678325280547142,
0.003061342053115368,
-0.012808133848011494,
-0.012828976847231388,
0.006805298384279013,
0.03562099486589432,
-0.014611069113016129,
-0.04948170855641365,
0.009744186885654926,
0.009499278850853443,
0.05919463187456131,
0.0194987952709198,
-0.02644999511539936,
0.04798100143671036,
0.1078009232878685,
0.01571575738489628,
0.04062335938215256,
0.0426868312060833,
-0.03708001598715782,
0.0031264768913388252,
-0.04141539707779884,
-0.013214576058089733,
-0.07407665997743607,
0.017862604930996895,
0.0141629409044981,
0.03297391161322594,
0.08049636334180832,
0.043687306344509125,
0.01344385091215372,
-0.03443293273448944,
0.0002991321962326765,
0.03947698324918747,
-0.028138292953372,
0.022093771025538445,
-0.03612123057246208,
0.002847699448466301,
-0.031368985772132874,
-0.01326668355613947,
0.05189951881766319,
0.03138982877135277,
0.021697750315070152,
-0.02601228840649128,
0.03812217712402344,
0.01252675149589777,
-0.02313593029975891,
0.03737182170152664,
0.02082233689725399,
-0.048773039132356644,
0.006477018352597952,
-0.013516802340745926,
-0.023490263149142265,
0.005103973671793938,
0.08620738983154297,
0.004431781359016895,
-0.016528641805052757,
-0.024303147569298744,
-0.030889593064785004,
0.03316149860620499,
-0.031660791486501694,
-0.015945032238960266,
0.0018706753617152572,
0.00006167464016471058,
-0.08024623990058899,
0.023198459297418594,
0.06257122755050659,
0.02476169727742672,
-0.022969184443354607,
-0.02255232073366642,
0.0511491633951664,
0.0012180233607068658,
0.06353001296520233,
-0.0028372779488563538,
-0.055901408195495605,
-0.02118709310889244,
0.01916530355811119,
0.01456938311457634,
-0.014204626902937889,
-0.014360951259732246,
-0.00446044048294425,
0.005492177791893482,
-0.02111414074897766,
0.004416148643940687,
-0.03370342031121254,
-0.02730456553399563,
0.007013730239123106,
0.032390300184488297,
-0.006028889678418636,
-0.042770206928253174,
0.014152519404888153,
-0.01105730701237917,
0.08579052984714508,
-0.04201985150575638,
0.009202264249324799,
-0.07920408248901367,
0.041040223091840744,
-0.04852292314171791,
-0.02376122586429119,
0.023719538003206253,
-0.042582616209983826,
0.06202930212020874,
0.01593461073935032,
0.006680238991975784,
0.012297475710511208,
0.024449050426483154,
-0.02093697339296341,
0.008436277508735657,
0.027429625391960144,
-0.04014396294951439,
-0.011213630437850952,
-0.014267156831920147,
0.022656535729765892,
0.017643751576542854,
0.06778202205896378,
0.008123629726469517,
-0.044646091759204865,
0.05098241940140724,
0.004502126947045326,
0.023198459297418594,
0.009176209568977356,
0.009540965780615807,
0.03657978028059006,
-0.04285357892513275,
0.0024425601586699486,
0.056568391621112823,
-0.02074938639998436,
0.028305038809776306,
-0.029201295226812363,
-0.027096133679151535,
0.05081567168235779,
0.12489233165979385,
0.022302202880382538,
0.00811320822685957,
-0.028867803514003754,
0.006951200310140848,
0.044979583472013474,
-0.0063259052112698555,
0.020071981474757195,
0.030993808060884476,
0.022323045879602432,
-0.006648974493145943,
-0.034453775733709335,
-0.012943614274263382,
0.046480290591716766,
0.06415531039237976,
-0.05381708964705467,
-0.016122199594974518,
-0.06961622089147568,
-0.050023630261421204,
0.012849820777773857,
0.08174695074558258,
-0.05194120481610298,
-0.10454939305782318,
-0.08554041385650635,
0.0024178088642656803,
0.00976502988487482,
0.08187200874090195,
-0.036809056997299194,
-0.02461579628288746,
0.003327092621475458,
0.03876831382513046,
0.05365034565329552,
-0.036142073571681976,
-0.003373989835381508,
-0.06394687294960022,
0.07474364340305328,
-0.020582640543580055,
0.009134523570537567,
0.0015905951149761677,
0.010713394731283188,
-0.04956508055329323,
-0.03466220945119858,
-0.028054920956492424,
-0.011734710074961185,
-0.0005901225376874208,
0.04024818167090416,
0.04406248405575752,
0.003061342053115368,
0.005320221651345491,
-0.003553762100636959,
0.01923825591802597,
0.019769756123423576,
0.014850765466690063,
0.014611069113016129,
-0.020071981474757195,
-0.059653181582689285,
0.014319264329969883,
0.05786066874861717,
0.013881557621061802,
0.0503988079726696,
0.01230789814144373,
-0.053400225937366486,
-0.03810133412480354,
0.018779704347252846,
0.04108190909028053,
0.015236364677548409,
0.044979583472013474,
-0.01190145593136549,
-0.027867332100868225,
-0.08579052984714508,
-0.043979108333587646,
-0.011474170722067356,
-0.00399146880954504,
0.019967766478657722,
0.017643751576542854,
-0.051274221390485764,
0.03111886791884899,
0.06482228636741638,
0.03120223991572857,
-0.019415421411395073,
0.04723064601421356,
0.002278420142829418,
-0.07265932857990265,
0.009853613562881947,
0.010426800698041916,
-0.05673513561487198,
0.03524581715464592,
0.017341526225209236,
-0.04314538091421127,
-0.01798766478896141,
0.030368512496352196,
-0.007024151738733053,
-0.04393742233514786,
-0.07553568482398987,
-0.036704838275909424,
-0.07812023907899857,
0.09079289436340332,
-0.020113669335842133,
-0.03086875006556511,
0.03343246132135391,
-0.000292781536700204,
0.0031212661415338516,
0.042103223502635956,
-0.06507240980863571,
0.044979583472013474,
0.029597315937280655,
-0.0055755507200956345,
-0.10288193821907043,
0.030160080641508102,
0.04923159256577492,
0.02755468338727951,
0.019988609477877617,
0.03230692818760872,
0.0009607403189875185,
-0.005216005723923445,
0.03797627240419388,
0.03207765519618988,
0.02472001127898693,
0.01887349970638752,
0.01640358194708824,
-0.005010179243981838,
0.025783013552427292,
-0.02995164878666401,
-0.01300614420324564,
0.019154882058501244,
0.046855468302965164,
-0.07974600791931152,
0.029639001935720444,
-0.020353365689516068,
-0.0057318746112287045,
0.043979108333587646,
0.02572048455476761,
-0.021062033250927925,
-0.00012351213081274182,
-0.0044422028586268425,
-0.05644332990050316,
0.017966821789741516,
0.02063474804162979,
-0.03057694435119629,
0.028972020372748375,
0.009316901676356792,
0.05731874331831932,
-0.02549120970070362,
0.03370342031121254,
0.06407193839550018,
0.027158662676811218,
-0.047814253717660904,
0.01733110472559929,
0.05711031332612038,
0.017008034512400627,
-0.026991918683052063,
-0.037246763706207275,
0.03178584948182106,
0.014673599041998386,
-0.005549496505409479,
-0.0055182320065796375,
-0.03414112702012062,
-0.06857406347990036,
-0.001001775381155312,
0.08562378585338593,
0.0036814266350120306,
-0.07491038739681244,
0.04539644718170166,
0.004752244800329208,
0.011776397004723549,
0.02938888408243656,
0.0015280656516551971,
-0.016017984598875046,
-0.07186728715896606,
-0.015611541457474232,
0.04739739000797272,
0.035746052861213684,
0.032140184193849564,
-0.02674179896712303,
-0.03607954457402229,
-0.04552150517702103,
-0.06240447983145714,
0.02890949137508869,
-0.05990329757332802,
0.04627186059951782,
-0.03549593687057495,
-0.016914241015911102,
-0.007420171983540058,
0.038205549120903015,
0.049314964562654495,
-0.037288449704647064,
-0.006440542638301849,
0.04245755821466446,
0.027825646102428436,
0.01464233361184597,
0.012266211211681366,
0.028972020372748375,
-0.03837229311466217,
-0.0011984828161075711,
0.008029835298657417,
-0.004986730869859457,
-0.022531477734446526,
-0.04187394678592682,
0.027033604681491852,
0.0012017395347356796,
0.03387016803026199,
0.015205100178718567,
-0.036663152277469635,
0.007039783988147974,
-0.0017560379346832633,
0.013350056484341621,
-0.017675016075372696,
0.029555629938840866,
0.050232063978910446,
0.00011626586638158187,
0.04760582372546196,
-0.018196096643805504,
0.03293222561478615,
-0.04043576866388321,
-0.036767370998859406,
0.04035239666700363,
-0.010395536199212074,
-0.008597811684012413,
0.02605397440493107,
0.0072899023070931435,
-0.038497354835271835,
-0.02446989342570305,
0.0027773536276072264,
0.020468002185225487,
-0.06232110783457756,
0.00907199364155531,
0.035412561148405075,
0.04410417005419731,
-0.029930805787444115,
-0.016747495159506798,
0.03701748698949814,
-0.03639219328761101,
0.010181893594563007,
0.006060154642909765,
-0.031098024919629097,
-0.02446989342570305,
0.0001292928500333801,
-0.0049372282810509205,
-0.019488373771309853,
-0.010442432947456837,
0.01663285680115223,
0.022093771025538445,
0.02895117737352848,
-0.045229699462652206,
-0.003288011532276869,
0.02409471571445465,
0.04139455407857895
] |
710,199
|
urllib3_future.connectionpool
|
_new_conn
|
Return a fresh :class:`urllib3.connection.HTTPConnection`.
|
def _new_conn(self, *, heb_timeout: Timeout | None = None) -> HTTPSConnection:
"""
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:
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(
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,
)
delta_post_resolve = datetime.now(tz=timezone.utc) - dt_pre_resolve
target_pqc = {}
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 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)
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]
conn_kw["preemptive_quic_cache"] = target_pqc
challengers.append(
self.ConnectionCls(
host=actual_host,
port=actual_port,
timeout=override_timeout,
cert_file=self.cert_file,
key_file=self.key_file,
key_password=self.key_password,
cert_reqs=self.cert_reqs,
ca_certs=self.ca_certs,
ca_cert_dir=self.ca_cert_dir,
ca_cert_data=self.ca_cert_data,
assert_hostname=self.assert_hostname,
assert_fingerprint=self.assert_fingerprint,
ssl_version=self.ssl_version,
ssl_minimum_version=self.ssl_minimum_version,
ssl_maximum_version=self.ssl_maximum_version,
cert_data=self.cert_data,
key_data=self.key_data,
**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 algorithm for {actual_host}:{actual_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=actual_host,
port=actual_port,
timeout=self.timeout.connect_timeout,
cert_file=self.cert_file,
key_file=self.key_file,
key_password=self.key_password,
cert_reqs=self.cert_reqs,
ca_certs=self.ca_certs,
ca_cert_dir=self.ca_cert_dir,
ca_cert_data=self.ca_cert_data,
assert_hostname=self.assert_hostname,
assert_fingerprint=self.assert_fingerprint,
ssl_version=self.ssl_version,
ssl_minimum_version=self.ssl_minimum_version,
ssl_maximum_version=self.ssl_maximum_version,
cert_data=self.cert_data,
key_data=self.key_data,
**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.HTTPSConnection
|
[
-0.0028610131703317165,
-0.10849764943122864,
-0.07882341742515564,
0.0058073545806109905,
-0.05380712449550629,
-0.019163768738508224,
-0.04734223708510399,
0.002534757135435939,
-0.06633535027503967,
-0.09621035307645798,
-0.0032399718184024096,
0.03469355031847954,
0.038528308272361755,
0.04553528130054474,
-0.007624349091202021,
-0.004735729657113552,
0.02640162967145443,
-0.005651755724102259,
-0.0032976940274238586,
-0.04886811226606369,
-0.015088079497218132,
0.030617859214544296,
0.024052588269114494,
0.0015484605683013797,
-0.020800067111849785,
0.02164331264793873,
-0.018591566011309624,
0.013752940110862255,
0.01232745312154293,
0.010450227186083794,
-0.0528835691511631,
0.026200857013463974,
-0.008517787791788578,
0.050474293529987335,
0.0507955327630043,
0.00365908513776958,
0.027766885235905647,
-0.005099630448967218,
-0.015278813429176807,
0.0008256783476099372,
-0.03511517122387886,
-0.05200016871094704,
-0.021944472566246986,
0.01158459298312664,
-0.012006216682493687,
0.03644027188420296,
-0.017246387898921967,
0.07296085357666016,
0.029854923486709595,
-0.04101789370179176,
-0.030658014118671417,
-0.0020453734323382378,
0.008984585292637348,
0.05035383254289627,
0.031983114778995514,
0.04188121482729912,
-0.05107661336660385,
0.04806502163410187,
-0.004231287632137537,
-0.030818631872534752,
-0.045776210725307465,
-0.009024739265441895,
-0.0038623677100986242,
0.026261089369654655,
-0.030617859214544296,
-0.0009825321612879634,
-0.052682794630527496,
-0.003034179797396064,
0.04348739981651306,
-0.03256535530090332,
0.09556787461042404,
0.05473067983984947,
-0.017417045310139656,
-0.01356220617890358,
0.00732318963855505,
-0.013833248987793922,
-0.04049588367342949,
-0.0014769352274015546,
-0.07500873506069183,
0.015128234401345253,
0.008552923798561096,
0.022346017882227898,
0.03248504549264908,
-0.05709979683160782,
0.08360181748867035,
-0.029814768582582474,
0.036721352487802505,
0.03541633114218712,
-0.07267977297306061,
-0.03754452243447304,
-0.0008294428116641939,
-0.009004662744700909,
0.016573797911405563,
0.02573907934129238,
0.06272143870592117,
-0.056256551295518875,
-0.026702789589762688,
-0.005817393306642771,
-0.003465841291472316,
-0.05107661336660385,
-0.05147815868258476,
-0.013361433520913124,
-0.07119405269622803,
0.022948335856199265,
0.0019575352780520916,
-0.05894690752029419,
-0.016634030267596245,
0.009089990518987179,
-0.017808550968766212,
-0.058023352175951004,
-0.05316464975476265,
-0.01858152635395527,
0.02782711759209633,
0.006750986911356449,
0.0019612996838986874,
-0.014184601604938507,
-0.03688197210431099,
0.005942876450717449,
0.009707367047667503,
0.000005117354703543242,
-0.030577704310417175,
0.018551411107182503,
-0.0315815694630146,
-0.021442539989948273,
0.025176916271448135,
0.04509358108043671,
-0.005360634997487068,
-0.00912010669708252,
0.03374991565942764,
-0.05312449485063553,
0.04858702793717384,
0.048305947333574295,
0.012638650834560394,
0.06737937033176422,
-0.030878864228725433,
0.021864162757992744,
-0.04441095516085625,
0.03403099626302719,
-0.020017053931951523,
-0.06460870057344437,
0.0332881398499012,
-0.009260647930204868,
0.006319325417280197,
-0.00607337849214673,
0.057421036064624786,
-0.006831296253949404,
-0.02421320602297783,
-0.05392758920788765,
-0.03332829475402832,
-0.036380041390657425,
0.05284341424703598,
-0.06368514895439148,
-0.0204487144947052,
-0.016774572432041168,
-0.025779234245419502,
0.018390793353319168,
-0.03609895706176758,
0.012759114615619183,
-0.04441095516085625,
-0.023229418322443962,
-0.03111979179084301,
-0.050514448434114456,
0.021964550018310547,
-0.004878780338913202,
-0.05175923928618431,
-0.012116641737520695,
-0.021803932264447212,
-0.029774613678455353,
0.05200016871094704,
0.040375418961048126,
-0.028329048305749893,
0.02240625023841858,
-0.060633402317762375,
0.005471060052514076,
0.013993867672979832,
0.06083417311310768,
0.019655661657452583,
-0.032746050506830215,
-0.019183846190571785,
-0.025076529011130333,
-0.034151460975408554,
-0.034934476017951965,
-0.00256110867485404,
-0.04200167953968048,
0.02965415082871914,
0.09123118221759796,
0.06862416118383408,
0.019665701314806938,
0.023390037938952446,
0.02272748574614525,
-0.06284189969301224,
-0.0012291063321754336,
0.03178234398365021,
0.010540574789047241,
0.021603157743811607,
-0.028489667922258377,
0.002318926388397813,
0.057661961764097214,
0.032424814999103546,
0.0454549714922905,
-0.04585652053356171,
0.05637701600790024,
0.028670363128185272,
-0.03806653246283531,
0.019053343683481216,
-0.034613240510225296,
-0.05537315085530281,
-0.053766969591379166,
-0.002650201553478837,
0.03039700910449028,
-0.011544439010322094,
-0.014927461743354797,
-0.035657256841659546,
0.028690440580248833,
0.04268430918455124,
0.02276764065027237,
0.01700546033680439,
-0.004635343328118324,
-0.006896547507494688,
0.01467649545520544,
-0.007579175289720297,
-0.0412788987159729,
-0.02351050078868866,
-0.025196991860866547,
0.02499621920287609,
0.0031596627086400986,
0.0015522250905632973,
0.018310483545064926,
0.03967271372675896,
-0.0043843770399689674,
-0.008081107400357723,
0.05220093950629234,
0.06079401820898056,
0.006931682582944632,
0.03184257447719574,
0.026321319863200188,
-0.042603999376297,
0.02284795045852661,
-0.030698169022798538,
-0.009280725382268429,
0.00858805887401104,
-0.012769153341650963,
-0.0017178626731038094,
-0.05075537785887718,
-0.033167675137519836,
0.010630922392010689,
0.055573925375938416,
0.030838709324598312,
-0.019294271245598793,
0.0105104586109519,
-0.020177671685814857,
-0.04959089308977127,
0.00469306530430913,
-0.08195547759532928,
-0.04119858890771866,
-0.1036790981888771,
-0.025538306683301926,
-0.004996734205633402,
0.007975701242685318,
-0.002209756290540099,
0.021181534975767136,
0.06091448292136192,
-0.064287468791008,
0.06047278270125389,
-0.04746270179748535,
0.05272294953465462,
-0.010033623315393925,
-0.03226419538259506,
-0.04678007587790489,
-0.01789890043437481,
0.05477083474397659,
-0.026903562247753143,
0.001282436540350318,
0.036400116980075836,
-0.03393061086535454,
0.018611643463373184,
0.010691153816878796,
-0.0020453734323382378,
-0.06641566008329391,
-0.042925234884023666,
0.03374991565942764,
0.02172362245619297,
0.023229418322443962,
0.008040952496230602,
-0.04119858890771866,
0.001138131134212017,
-0.07368363440036774,
0.02714448980987072,
0.037022512406110764,
-0.014706611633300781,
-0.06388591974973679,
-0.05179939419031143,
0.044009409844875336,
-0.015931325033307076,
0.03360937535762787,
0.06055309250950813,
0.0018006814643740654,
0.018190020695328712,
0.023369960486888885,
-0.020739834755659103,
0.022285785526037216,
0.008623193949460983,
-0.008116242475807667,
0.01592128723859787,
0.012016255408525467,
-0.06452839076519012,
0.015810862183570862,
-0.005742103327065706,
-0.007288054563105106,
-0.012357569299638271,
0.012116641737520695,
-0.0319630391895771,
0.049711357802152634,
-0.007368363440036774,
0.0361391119658947,
-0.009993468411266804,
-0.00208301842212677,
0.025779234245419502,
0.020057206973433495,
0.04417002573609352,
-0.0722782239317894,
0.014596186578273773,
0.017888860777020454,
-0.007167590782046318,
0.03834761306643486,
-0.019605468958616257,
0.06513071060180664,
0.00038397806929424405,
-0.019505081698298454,
-0.022346017882227898,
-0.017206232994794846,
-0.029854923486709595,
-0.029152218252420425,
-0.019244078546762466,
-0.019294271245598793,
-0.0014568580081686378,
-0.00025676965015009046,
0.034934476017951965,
-0.006203880999237299,
-0.06673689186573029,
0.015549857169389725,
0.04093758389353752,
-0.006936701945960522,
0.05127738416194916,
0.03539625182747841,
-0.04332678020000458,
-0.053766969591379166,
-0.010530536063015461,
-0.020920531824231148,
-0.021422462537884712,
0.002443154575303197,
-0.030557626858353615,
0.017276503145694733,
0.08946438133716583,
0.06456854939460754,
0.033087365329265594,
-0.033448755741119385,
-0.0038724064361304045,
0.02459467388689518,
-0.06758014112710953,
-0.04533451050519943,
-0.0038673870731145144,
-0.020137516781687737,
0.04352755472064018,
-0.02531745657324791,
0.01770816557109356,
0.03951209783554077,
0.00869346410036087,
0.015549857169389725,
-0.022004704922437668,
-0.04673992097377777,
-0.05175923928618431,
-0.008005817420780659,
-0.012809308245778084,
0.0008125026361085474,
-0.013190776109695435,
-0.03646035119891167,
0.055935315787792206,
-0.014505838043987751,
0.017527470365166664,
0.04593682661652565,
0.02822866290807724,
0.005978011526167393,
-0.036339886486530304,
-0.01567032001912594,
-0.08010836690664291,
0.0011029958259314299,
-0.008005817420780659,
0.07717708498239517,
0.04597698152065277,
0.03079855442047119,
0.023088878020644188,
0.030156081542372704,
0.0074587115086615086,
-0.01449579931795597,
-0.002168346894904971,
0.05613609030842781,
0.043607864528894424,
-0.024755291640758514,
-0.038207072764635086,
0.02353057824075222,
-0.004444608930498362,
0.05465037003159523,
0.010339802131056786,
-0.02012747898697853,
0.0355769507586956,
0.09388138353824615,
0.019414734095335007,
0.023972278460860252,
0.03134064003825188,
-0.06902570277452469,
-0.010942120105028152,
-0.055252689868211746,
-0.00677106436342001,
-0.09556787461042404,
0.030276546254754066,
-0.014616263099014759,
0.01993674412369728,
0.07468750327825546,
0.03338852524757385,
0.01520854327827692,
-0.03545648604631424,
0.02204485982656479,
0.04316616430878639,
-0.037524446845054626,
0.018631720915436745,
-0.01768808811903,
-0.008547903969883919,
-0.02429351396858692,
-0.03439239040017128,
0.04497312009334564,
0.02027805708348751,
0.018551411107182503,
-0.043607864528894424,
0.05039398372173309,
0.014455645345151424,
-0.013773017562925816,
0.027003947645425797,
0.042563844472169876,
-0.033870380371809006,
-0.00036578302388079464,
0.00830195751041174,
-0.00732820900157094,
0.0010051190620288253,
0.08336088806390762,
-0.021081149578094482,
-0.003257539588958025,
-0.01787882298231125,
-0.03882946819067001,
0.02608039230108261,
-0.009411226958036423,
-0.007298093289136887,
0.006459866650402546,
0.034553006291389465,
-0.05605578050017357,
0.025457996875047684,
0.04372832551598549,
0.0471816211938858,
-0.0344325453042984,
-0.004956579767167568,
0.02569892443716526,
0.013321278616786003,
0.07452688366174698,
0.035617101937532425,
-0.04119858890771866,
-0.030959174036979675,
0.041800908744335175,
-0.00870350282639265,
0.005350596271455288,
-0.024795446544885635,
-0.010831695050001144,
-0.010349840857088566,
-0.004803490359336138,
0.002710433444008231,
-0.023008568212389946,
-0.053405579179525375,
0.0011387584963813424,
0.024052588269114494,
0.022366095334291458,
-0.030236391350626945,
0.008286898955702782,
-0.019796203821897507,
0.07898403704166412,
-0.035295866429805756,
-0.01340158749371767,
-0.05681871622800827,
0.04101789370179176,
-0.06501024961471558,
-0.036319807171821594,
-0.006249054800719023,
-0.06231989338994026,
0.0369020514190197,
0.025879619643092155,
0.008061029948294163,
-0.003523563500493765,
0.024413978680968285,
-0.028750672936439514,
0.00897956546396017,
0.016182292252779007,
-0.03511517122387886,
0.0009191632270812988,
-0.021061072126030922,
-0.02569892443716526,
0.011333627626299858,
0.04678007587790489,
-0.014535954222083092,
-0.0420418344438076,
0.028308972716331482,
-0.03037693165242672,
0.0428047701716423,
0.025538306683301926,
-0.0009317115182057023,
0.027365339919924736,
-0.04380863532423973,
-0.004657930228859186,
0.044651880860328674,
0.004261403810232878,
0.018671875819563866,
-0.01609194464981556,
-0.022546790540218353,
0.06774076074361801,
0.11484207212924957,
0.04678007587790489,
0.047221776098012924,
-0.03846807777881622,
0.0060783978551626205,
0.04738239198923111,
0.012969925999641418,
-0.022647177800536156,
0.03828738257288933,
-0.010861811228096485,
-0.022305862978100777,
-0.02644178457558155,
-0.008778792805969715,
0.032806284725666046,
0.03469355031847954,
-0.061717573553323746,
-0.03258543461561203,
-0.0810319259762764,
-0.04425033554434776,
-0.011534400284290314,
0.05039398372173309,
-0.03704259172081947,
-0.10608837753534317,
-0.0736033245921135,
0.009893082082271576,
0.011524361558258533,
0.08697479963302612,
-0.0355769507586956,
-0.02610046975314617,
0.046498991549015045,
0.03433215618133545,
0.07480796426534653,
-0.002386687323451042,
0.017055653035640717,
-0.0658133402466774,
0.05204032361507416,
-0.03569741174578667,
0.01176528912037611,
0.0074536921456456184,
-0.00012156168668298051,
-0.03951209783554077,
-0.048265792429447174,
-0.028449513018131256,
0.016312794759869576,
-0.006560252979397774,
0.025759156793355942,
0.05316464975476265,
0.019645623862743378,
0.002675298135727644,
-0.02527730166912079,
0.05854536220431328,
0.037122901529073715,
-0.02240625023841858,
0.0004699339624494314,
-0.030196236446499825,
-0.07765893638134003,
-0.0019801221787929535,
0.0401344932615757,
0.009135164320468903,
0.03876923769712448,
-0.01286953967064619,
-0.06083417311310768,
-0.04561559110879898,
0.01119308639317751,
0.06047278270125389,
-0.013110467232763767,
0.04196152463555336,
0.00830195751041174,
-0.00044766071368940175,
-0.04408971965312958,
-0.025919774547219276,
-0.01122320257127285,
0.00471816211938858,
0.020037129521369934,
0.02138230763375759,
-0.024895833805203438,
0.02563869208097458,
0.0578225813806057,
0.02282787300646305,
-0.016182292252779007,
0.049028728157281876,
0.002306378213688731,
-0.07416549324989319,
0.026220934465527534,
0.03686189651489258,
-0.047221776098012924,
0.014947538264095783,
0.012528225779533386,
-0.03716305270791054,
-0.004748277831822634,
0.02539776638150215,
0.011945984326303005,
-0.03463331609964371,
-0.07585198432207108,
0.0005618502618744969,
-0.06019170209765434,
0.08898252993822098,
-0.02963407337665558,
0.00027982715982943773,
0.03718313202261925,
-0.0027154528070241213,
0.0006631778087466955,
0.03945186361670494,
-0.05750134587287903,
-0.0007510159630328417,
0.05814381688833237,
-0.02248656004667282,
-0.0861717090010643,
0.025036374107003212,
0.03750436753034592,
0.020880376920104027,
0.020077284425497055,
0.007162571419030428,
0.009275705553591251,
0.020840222015976906,
0.0686643123626709,
0.025939851999282837,
0.0006352578639052808,
0.006344422232359648,
0.027405494824051857,
-0.012708920985460281,
0.016001597046852112,
-0.05975000187754631,
0.02714448980987072,
0.00813130009919405,
0.014325142838060856,
-0.058063507080078125,
0.018009325489401817,
-0.00857802014797926,
0.0046278140507638454,
0.032766129821538925,
0.020338289439678192,
-0.006615465506911278,
-0.02312903292477131,
-0.007940566167235374,
-0.043929100036621094,
0.014465684071183205,
0.012528225779533386,
-0.014475722797214985,
0.006284190341830254,
0.019334426149725914,
0.04521404579281807,
-0.03246496990323067,
0.026903562247753143,
0.0789438858628273,
-0.005325499922037125,
-0.046097446233034134,
0.0018082105088979006,
0.07781955599784851,
-0.006364499218761921,
-0.05730057135224342,
-0.03105955943465233,
0.02355065569281578,
-0.01700546033680439,
-0.006695774383842945,
-0.025919774547219276,
-0.00022916338639333844,
-0.06930679082870483,
-0.0031797399278730154,
0.07103343307971954,
0.0038698967546224594,
-0.051518313586711884,
0.022265709936618805,
0.028369203209877014,
0.030296623706817627,
0.02104099467396736,
-0.012919733300805092,
0.020037129521369934,
-0.05970984697341919,
-0.04087735339999199,
0.041760753840208054,
0.0008162671001628041,
0.037524446845054626,
-0.041760753840208054,
-0.037845682352781296,
-0.06689751148223877,
-0.04726192727684975,
-0.000880263454746455,
-0.0629623681306839,
0.0593484528362751,
-0.01866183616220951,
-0.009210454300045967,
-0.006841334979981184,
0.04951058328151703,
0.05870598182082176,
-0.01879233866930008,
-0.0003182563523296267,
0.011966061778366566,
0.020017053931951523,
-0.01738692820072174,
-0.005466040689498186,
0.019083458930253983,
-0.009345975704491138,
-0.012799269519746304,
-0.005345576908439398,
0.01957535371184349,
-0.01666414737701416,
-0.03228427469730377,
0.029413223266601562,
-0.012026294134557247,
0.014345220290124416,
0.04661945626139641,
-0.029473453760147095,
0.016774572432041168,
-0.017396967858076096,
0.019545236602425575,
-0.027947580441832542,
0.03694220259785652,
0.05910752713680267,
-0.01174521166831255,
0.024755291640758514,
-0.01302011962980032,
0.06252066791057587,
-0.031280409544706345,
-0.03334837034344673,
0.07139482349157333,
0.013833248987793922,
0.013883442617952824,
0.014355259016156197,
0.015650244429707527,
-0.06818246096372604,
-0.03433215618133545,
-0.014857190661132336,
0.03973294794559479,
-0.043607864528894424,
0.010932081378996372,
0.01413440890610218,
0.04172059893608093,
-0.01466645672917366,
-0.014204679057002068,
0.036701276898384094,
0.0033002037089318037,
0.04131905362010002,
0.009983429685235023,
-0.01951512135565281,
-0.022586945444345474,
0.012889617122709751,
-0.01875218376517296,
-0.005169901065528393,
0.021623235195875168,
0.028469590470194817,
0.019565314054489136,
0.026502016931772232,
-0.01938461884856224,
-0.011343666352331638,
0.04344724491238594,
0.031200101599097252
] |
710,203
|
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.
"""
super()._validate_conn(conn)
# Force connect early to allow us to validate the connection.
if conn.is_closed:
conn.connect()
if not conn.is_verified:
warnings.warn(
(
f"Unverified HTTPS request is being made to host '{conn.host}'. "
"Adding certificate verification is strongly advised. See: "
"https://urllib3future.readthedocs.io/en/latest/advanced-usage.html"
"#tls-warnings"
),
InsecureRequestWarning,
)
|
(self, conn: urllib3_future.connection.HTTPConnection) -> NoneType
|
[
-0.04512905701994896,
-0.02932332642376423,
-0.0005791840958409011,
0.061814840883016586,
-0.03134744614362717,
0.0015609919792041183,
-0.014661663211882114,
0.03053779900074005,
0.015638520941138268,
-0.04280572012066841,
0.008532102219760418,
0.04382658004760742,
0.0688200518488884,
-0.02131485566496849,
-0.004937090910971165,
-0.040024757385253906,
0.009882981888949871,
-0.006041555665433407,
0.01247913483530283,
-0.04794522374868393,
-0.019765963777899742,
0.024747056886553764,
-0.010314207524061203,
-0.008008471690118313,
-0.037631016224622726,
0.07772617787122726,
-0.031171435490250587,
0.002274933969601989,
0.04315774142742157,
0.011810295283794403,
-0.05906907841563225,
0.08152800053358078,
0.09025811403989792,
0.041327234357595444,
0.021807683631777763,
-0.02471185475587845,
0.06487742066383362,
-0.01181909628212452,
-0.06688393652439117,
0.0059139481745660305,
-0.039426323026418686,
0.004686275962740183,
-0.03829985484480858,
0.0037248192820698023,
0.01137026958167553,
0.010974246077239513,
-0.045762695372104645,
0.10799995809793472,
-0.03323075547814369,
-0.07434678077697754,
-0.020962834358215332,
0.04125683009624481,
0.06751757860183716,
0.01914992742240429,
0.045234665274620056,
0.006551985628902912,
0.02592632733285427,
0.05945629999041557,
-0.00600195350125432,
0.010199801065027714,
-0.016993800178170204,
0.012637544423341751,
-0.03812384605407715,
-0.033670783042907715,
-0.042840924113988876,
-0.023814203217625618,
-0.022106902673840523,
-0.024641450494527817,
0.0028997708577662706,
-0.0051659042946994305,
0.038792684674263,
0.021262051537632942,
-0.06188524514436722,
0.03159385919570923,
0.041080817580223083,
0.00007659201219212264,
-0.006292370613664389,
0.012778352946043015,
-0.021174047142267227,
0.021455664187669754,
0.037208590656518936,
-0.03777182474732399,
0.023198166862130165,
0.0002642905747052282,
0.01814666949212551,
-0.05741458013653755,
0.021825285628437996,
-0.014353645034134388,
-0.0328083336353302,
0.08913164585828781,
-0.01481127180159092,
0.024166222661733627,
-0.009381351992487907,
-0.02022359147667885,
0.04365057125687599,
0.034146010875701904,
0.018569093197584152,
-0.012496735900640488,
-0.03991914913058281,
-0.03998955339193344,
-0.0031747869215905666,
0.041327234357595444,
-0.0702633410692215,
0.021878087893128395,
0.024025414139032364,
-0.04129203036427498,
0.0051351021975278854,
-0.08589305728673935,
-0.014644062146544456,
-0.011211859993636608,
0.025398295372724533,
-0.06554625928401947,
0.018340280279517174,
0.05889306962490082,
-0.004571869038045406,
-0.0610755980014801,
0.009293347597122192,
-0.03377638757228851,
-0.024201424792408943,
0.0006132861017249525,
-0.03872228041291237,
-0.015700124204158783,
-0.008910524658858776,
-0.02346218191087246,
0.020082782953977585,
-0.0041824462823569775,
0.01697620004415512,
-0.029728149995207787,
0.03527247533202171,
-0.000032142517738975585,
0.012619943358004093,
0.01700260117650032,
-0.00903813261538744,
0.03523727506399155,
-0.07695173472166061,
-0.02513428032398224,
0.02802084945142269,
0.04143283888697624,
-0.020663617178797722,
-0.04836764931678772,
-0.007555244956165552,
0.030854616314172745,
-0.03622293472290039,
-0.01430964283645153,
0.0581890270113945,
0.020857227966189384,
-0.06610949337482452,
-0.043967388570308685,
-0.03004496917128563,
-0.04111602157354355,
0.06688393652439117,
-0.044213805347681046,
-0.0064947823993861675,
-0.020100383087992668,
-0.019677959382534027,
-0.0014443850377574563,
-0.032773129642009735,
-0.0642789825797081,
0.02443023771047592,
0.001061012502759695,
-0.022001296281814575,
0.004888687748461962,
0.03625813499093056,
-0.039531927555799484,
-0.0041538444347679615,
0.008884123526513577,
0.006067957263439894,
-0.060371555387973785,
0.0014729867689311504,
-0.0010879640467464924,
-0.052767906337976456,
0.038757480680942535,
-0.01489927712827921,
0.0001281575532630086,
0.06470140814781189,
0.018604295328259468,
0.07878223806619644,
-0.027440015226602554,
-0.04358016699552536,
-0.0016093947924673557,
0.013878417201340199,
-0.014908078126609325,
0.019361140206456184,
0.02171967923641205,
0.021878087893128395,
0.08673790842294693,
0.009900582954287529,
0.0023585387971252203,
0.016791388392448425,
0.016175352036952972,
0.002785363933071494,
0.052275076508522034,
-0.016342561691999435,
-0.02208930067718029,
0.04882527515292168,
-0.02363819256424904,
-0.0038062240928411484,
0.037138186395168304,
0.03243871033191681,
-0.01697620004415512,
0.024166222661733627,
-0.009460557252168655,
-0.014168834313750267,
0.013464792631566525,
0.002257332904264331,
0.05804821848869324,
-0.059350695461034775,
-0.02047000452876091,
-0.01819947175681591,
0.02154366858303547,
0.003425601636990905,
-0.00887532252818346,
-0.035694900900125504,
-0.004981093108654022,
-0.011713489890098572,
-0.023796601220965385,
-0.006952409632503986,
-0.021420462056994438,
-0.02580311894416809,
0.02101563848555088,
0.06772878766059875,
0.014441650360822678,
0.02849607728421688,
-0.03273792937397957,
0.04016556590795517,
0.02590872533619404,
0.015585717745125294,
-0.04160885140299797,
-0.02131485566496849,
-0.003214389318600297,
-0.017161009833216667,
0.025116678327322006,
-0.01874510385096073,
0.03395240008831024,
0.030308984220027924,
0.0007491441210731864,
0.016791388392448425,
0.014925679191946983,
0.016747387126088142,
-0.03243871033191681,
-0.015911336988210678,
-0.004488264210522175,
-0.009838979691267014,
-0.03485005348920822,
-0.044389814138412476,
0.041397638618946075,
0.012338326312601566,
0.016219355165958405,
-0.014265639707446098,
-0.009530961513519287,
-0.06188524514436722,
-0.025838321074843407,
-0.0007623449200764298,
-0.08040153235197067,
-0.021385259926319122,
-0.07864142954349518,
-0.06082918122410774,
0.00582154281437397,
-0.002785363933071494,
-0.0313122421503067,
-0.00480508292093873,
0.08011991530656815,
-0.04280572012066841,
0.07596607506275177,
-0.026119938120245934,
-0.010939043946564198,
0.014934479258954525,
0.006081158295273781,
-0.0008756515453569591,
0.039003897458314896,
0.07498041540384293,
-0.03932071477174759,
0.004219848662614822,
0.01116785779595375,
0.008237284608185291,
-0.013367987237870693,
-0.00922294333577156,
0.05505604296922684,
-0.008633308112621307,
0.003480604849755764,
0.07300909608602524,
-0.0035598096437752247,
0.006397976540029049,
0.027686430141329765,
-0.03956713154911995,
-0.04805082827806473,
-0.0673767700791359,
0.010798235423862934,
-0.033371564000844955,
-0.05878746137022972,
-0.033547576516866684,
-0.019185129553079605,
0.07800779491662979,
0.0011286664521321654,
-0.056956954300403595,
-0.007784058339893818,
0.0223885178565979,
0.05333114042878151,
0.004301253240555525,
0.029076911509037018,
-0.02986895851790905,
0.023955009877681732,
-0.02501107193529606,
0.025715114548802376,
0.09124377369880676,
-0.07631809264421463,
-0.0231101606041193,
0.01100944820791483,
-0.014107231050729752,
-0.009838979691267014,
-0.01200390700250864,
0.002598352963104844,
0.030027369037270546,
-0.006666392553597689,
0.04607951268553734,
0.03326595947146416,
0.013332785107195377,
-0.019660357385873795,
-0.025591906160116196,
0.06797520071268082,
-0.04308733716607094,
0.012153515592217445,
-0.02844327501952648,
0.04685395956039429,
-0.010859839618206024,
0.02981615625321865,
0.11750452220439911,
-0.037208590656518936,
-0.010279005393385887,
0.008056874386966228,
-0.03308994695544243,
0.00004740591612062417,
-0.03273792937397957,
-0.05333114042878151,
0.006199965253472328,
-0.031400248408317566,
-0.03437482565641403,
-0.04657234251499176,
0.00041032416629604995,
-0.09025811403989792,
-0.031453050673007965,
-0.012637544423341751,
0.05554887279868126,
0.0017447026912122965,
0.008558504283428192,
-0.048156436532735825,
-0.08075355738401413,
-0.025820720940828323,
-0.02550390176475048,
0.0014113831566646695,
-0.05924508720636368,
0.024518243968486786,
-0.03171706944704056,
0.04206647723913193,
0.013174375519156456,
0.035642098635435104,
-0.015312901698052883,
0.004607071168720722,
0.016764987260103226,
-0.035536494106054306,
0.02418382465839386,
-0.0033067946787923574,
0.01775064505636692,
0.003337596543133259,
0.038933493196964264,
0.01460886001586914,
0.06445499509572983,
-0.0462203212082386,
-0.016474569216370583,
-0.00712401932105422,
-0.04308733716607094,
-0.029164917767047882,
-0.015022484585642815,
-0.0164305679500103,
0.01969555951654911,
-0.011599083431065083,
0.026137538254261017,
0.011211859993636608,
0.006609189324080944,
0.030132973566651344,
0.025363093242049217,
0.014934479258954525,
0.027070393785834312,
-0.014547256752848625,
-0.028777694329619408,
-0.1061694547533989,
-0.04530506953597069,
0.03257951885461807,
0.015515313483774662,
0.04361536726355553,
0.029763352125883102,
-0.022476524114608765,
-0.0008415495394729078,
0.0072516268119215965,
-0.03344196826219559,
0.00999738834798336,
-0.009126137010753155,
-0.027844838798046112,
0.008136078715324402,
-0.022582130506634712,
-0.02435983531177044,
0.031400248408317566,
-0.043896984308958054,
-0.003821625141426921,
-0.017812248319387436,
0.11130895465612411,
0.014212836511433125,
0.015744127333164215,
0.02173727937042713,
0.000140327014378272,
-0.04963492229580879,
-0.0018525090999901295,
0.0179266557097435,
-0.025785518810153008,
0.008712513372302055,
-0.008558504283428192,
0.03643414378166199,
0.03974314033985138,
0.020505206659436226,
0.0005346314865164459,
0.04350976273417473,
0.000002350529030081816,
0.05255669355392456,
0.04685395956039429,
-0.01358800008893013,
-0.016060946509242058,
-0.01747782900929451,
-0.023250969126820564,
-0.004050438292324543,
-0.012769551947712898,
0.01394882146269083,
0.05716816708445549,
-0.009944585151970387,
-0.050198156386613846,
0.00997098721563816,
0.032051488757133484,
-0.030625803396105766,
0.07512122392654419,
0.0009757574880495667,
0.01690579578280449,
-0.003687417134642601,
-0.010384611785411835,
-0.006455180235207081,
0.021455664187669754,
0.12010947614908218,
0.005350715015083551,
0.029200119897723198,
0.024342233315110207,
-0.04889567941427231,
-0.01014699786901474,
-0.010648626834154129,
-0.007770857773721218,
0.0053243134170770645,
-0.043016932904720306,
-0.09117336571216583,
0.05100780352950096,
0.0314178504049778,
0.01969555951654911,
-0.011361468583345413,
0.02358538843691349,
0.01825227402150631,
0.0223357155919075,
-0.010340608656406403,
-0.04058799147605896,
-0.029059311375021935,
-0.021402860060334206,
-0.0036588155198842287,
0.029904160648584366,
0.006692794151604176,
0.02263493277132511,
0.0023255369160324335,
-0.01667698286473751,
0.03537808358669281,
-0.00888852309435606,
-0.028003249317407608,
-0.03939111903309822,
-0.0017425025580450892,
0.005786340683698654,
0.01152867916971445,
0.013790411874651909,
-0.051747046411037445,
0.029252922162413597,
0.03668056055903435,
-0.008703712373971939,
0.036539752036333084,
-0.08371052891016006,
-0.04991653934121132,
-0.05878746137022972,
-0.0049414909444749355,
0.027686430141329765,
-0.00951336044818163,
0.0581890270113945,
0.020153187215328217,
-0.03263232111930847,
0.02094523422420025,
0.026612767949700356,
-0.058576248586177826,
0.029728149995207787,
0.015198495239019394,
-0.0033067946787923574,
-0.014556056819856167,
-0.01994197443127632,
0.02281094342470169,
0.05523205175995827,
0.051993463188409805,
-0.01349999476224184,
-0.045410674065351486,
0.02752802148461342,
0.05118381232023239,
0.009090934880077839,
-0.03220989555120468,
0.023444579914212227,
0.04699476808309555,
0.0208924300968647,
0.04065839573740959,
0.03492045775055885,
-0.045833099633455276,
0.01992437243461609,
-0.004910689312964678,
-0.012963163666427135,
0.05646412447094917,
0.04717077687382698,
0.07793738692998886,
-0.03437482565641403,
0.007313230540603399,
-0.022758139297366142,
0.0036016120575368404,
-0.023990212008357048,
-0.004747879691421986,
0.005597129464149475,
0.025521503761410713,
-0.01062222570180893,
0.02819686010479927,
-0.03345957025885582,
-0.0031725869048386812,
0.04555148258805275,
-0.0208396278321743,
-0.003960233181715012,
-0.12581220269203186,
-0.009909383952617645,
0.012355927377939224,
0.018833108246326447,
0.005623531062155962,
-0.041573647409677505,
-0.06315252184867859,
0.016025744378566742,
-0.03537808358669281,
0.1017339900135994,
-0.0988474190235138,
-0.01217991765588522,
-0.006116359960287809,
0.0494237095117569,
0.028865700587630272,
-0.08596346527338028,
-0.020786823704838753,
-0.06343413889408112,
0.06646151095628738,
-0.02171967923641205,
0.010235002264380455,
-0.017319420352578163,
0.016747387126088142,
-0.05245108902454376,
-0.017521832138299942,
-0.016201753169298172,
-0.048156436532735825,
-0.021332455798983574,
0.0791342630982399,
-0.004433261230587959,
-0.026718372479081154,
0.0019460145849734545,
0.03250911459326744,
-0.017821049317717552,
-0.00295477407053113,
0.0373493991792202,
0.012083111330866814,
-0.01690579578280449,
-0.05512644723057747,
0.05255669355392456,
0.015541715547442436,
0.016060946509242058,
0.04801562801003456,
-0.003302394412457943,
-0.05590089038014412,
-0.0001285013131564483,
0.018604295328259468,
-0.02124445140361786,
-0.0027457617688924074,
0.002417942276224494,
0.009108535945415497,
-0.02597912959754467,
-0.049212496727705,
-0.04417860135436058,
-0.03245631232857704,
-0.04629072546958923,
0.018058663234114647,
-0.011247062124311924,
-0.03250911459326744,
0.020874829962849617,
0.03368838503956795,
0.046713151037693024,
0.0008679511374793947,
0.053718362003564835,
0.033723585307598114,
-0.051148612052202225,
0.011599083431065083,
-0.00035257075796835124,
-0.053014323115348816,
0.022916549816727638,
-0.0061295609921216965,
-0.05058537796139717,
-0.030080171301960945,
0.04062319174408913,
0.0028403671458363533,
-0.04358016699552536,
-0.03485005348920822,
-0.0068688043393194675,
-0.09758014976978302,
0.027070393785834312,
0.006032755132764578,
0.03921511024236679,
0.06906646490097046,
-0.026612767949700356,
0.03363557904958725,
0.03963753581047058,
-0.05723857134580612,
0.058998674154281616,
0.04685395956039429,
-0.03305474668741226,
-0.10581742972135544,
0.022194907069206238,
0.028232062235474586,
0.006617989856749773,
0.022159704938530922,
0.006371575407683849,
-0.0010527620324864984,
0.03004496917128563,
0.013209577649831772,
-0.010815836489200592,
0.03939111903309822,
0.051395025104284286,
0.04358016699552536,
-0.026542363688349724,
-0.00758604658767581,
-0.016791388392448425,
0.015541715547442436,
0.03643414378166199,
-0.006050356198102236,
-0.06533505022525787,
0.0477692112326622,
-0.043368954211473465,
-0.0029415732715278864,
0.0179530568420887,
0.05998433381319046,
-0.037455007433891296,
0.03194588050246239,
-0.028232062235474586,
-0.015744127333164215,
0.0036038123071193695,
0.03886308893561363,
-0.03896869346499443,
0.019765963777899742,
-0.01687939465045929,
0.07744456082582474,
0.016685782000422478,
0.07265707850456238,
0.10511338710784912,
-0.00861570704728365,
-0.06537024676799774,
-0.05178225040435791,
0.004200047347694635,
0.007986470125615597,
-0.005583928897976875,
-0.010947844944894314,
0.06533505022525787,
0.04238329455256462,
0.011440673843026161,
-0.03368838503956795,
-0.05347194895148277,
-0.0627300962805748,
-0.008180081844329834,
0.043896984308958054,
-0.0031637863721698523,
-0.0404471829533577,
-0.001973516307771206,
0.001018660026602447,
-0.04220728576183319,
0.00685120327398181,
0.0012947762152180076,
-0.020012378692626953,
-0.028267264366149902,
0.009803777560591698,
0.044988248497247696,
0.03382919356226921,
0.057308975607156754,
-0.044213805347681046,
-0.031576260924339294,
-0.04871967062354088,
0.01633376255631447,
0.02842567302286625,
0.002510347869247198,
0.0689256563782692,
-0.000850900134537369,
0.001208971138112247,
0.031277041882276535,
0.008558504283428192,
-0.02059321291744709,
-0.013103971257805824,
-0.03532528132200241,
0.012602342292666435,
0.013429590500891209,
-0.018269876018166542,
-0.030625803396105766,
0.005997553002089262,
-0.05040936917066574,
-0.023655792698264122,
0.021174047142267227,
-0.006683993618935347,
-0.06628550589084625,
0.003319995477795601,
-0.008809318765997887,
-0.038933493196964264,
-0.03706778213381767,
-0.0372437946498394,
-0.002413542242720723,
0.024395037442445755,
0.012804754078388214,
-0.004769880790263414,
-0.021825285628437996,
0.006309971679002047,
-0.006142761558294296,
0.007216425146907568,
0.008439697325229645,
-0.058752261102199554,
0.0758252665400505,
-0.04812123253941536,
0.006428778637200594,
-0.029041709378361702,
0.039109501987695694,
-0.007150420919060707,
0.04160885140299797,
0.027070393785834312,
-0.050796590745449066,
-0.0033617978915572166,
-0.01349999476224184,
0.03243871033191681,
-0.01932593807578087,
0.00931094866245985,
0.014573657885193825,
0.020399602130055428,
-0.011475875973701477,
-0.018604295328259468,
0.03699737787246704,
0.0075068422593176365,
-0.000008895054634194821,
0.004633472766727209,
0.008452897891402245,
-0.032913938164711,
0.006455180235207081,
0.0036654158029705286,
-0.02575031667947769,
0.014881676062941551,
0.06463100761175156,
0.015788130462169647,
0.009574963711202145,
-0.046361129730939865,
0.0007436437881551683,
0.04864926636219025,
0.06762318313121796
] |
710,211
|
urllib3_future.backend._base
|
HttpVersion
|
Describe possible SVN protocols that can be supported.
|
class HttpVersion(str, enum.Enum):
"""Describe possible SVN protocols that can be supported."""
h11 = "HTTP/1.1"
# we know that it is rather "HTTP/2" than "HTTP/2.0"
# it is this way to remain somewhat compatible with http.client
# http_svn (int). 9 -> 11 -> 20 -> 30
h2 = "HTTP/2.0"
h3 = "HTTP/3.0"
|
(value, names=None, *, module=None, qualname=None, type=None, start=1)
|
[
0.021641768515110016,
-0.0465969443321228,
-0.11167920380830765,
-0.0587693490087986,
-0.006753243505954742,
-0.06285007297992706,
0.003858373500406742,
-0.024850541725754738,
0.0006457871058955789,
-0.04806181788444519,
0.01120454166084528,
0.021728964522480965,
-0.020368723198771477,
0.010350032709538937,
0.010768568143248558,
-0.01871202141046524,
0.01650599017739296,
0.020333845168352127,
0.010794726200401783,
-0.02455407753586769,
-0.003319944953545928,
0.038330867886543274,
-0.006718365475535393,
0.019583970308303833,
0.03182613104581833,
0.06874444335699081,
0.03308173641562462,
-0.0349651463329792,
-0.013384413905441761,
-0.09989045560359955,
-0.023664690554142,
-0.032227229326963425,
-0.0017526170704513788,
-0.0033962405286729336,
-0.0146138621494174,
-0.007612112909555435,
0.02474590763449669,
0.0021678826306015253,
-0.09807679802179337,
0.02948930859565735,
-0.038226235657930374,
-0.0026659835129976273,
-0.05629301443696022,
-0.05182863771915436,
-0.015834590420126915,
-0.016776295378804207,
-0.058281056582927704,
0.016933245584368706,
-0.019200311973690987,
-0.029593942686915398,
-0.02246140129864216,
0.0019782339222729206,
0.022007986903190613,
-0.06944200396537781,
-0.0354883149266243,
0.04834084212779999,
0.03899354860186577,
0.0938216894865036,
-0.006635530386120081,
0.07889392971992493,
-0.02802443504333496,
-0.01416044868528843,
-0.034616366028785706,
-0.0056981854140758514,
-0.029698576778173447,
-0.012433989904820919,
0.00946936383843422,
-0.0352267324924469,
-0.050921808928251266,
0.05737423151731491,
0.018991045653820038,
0.01658446528017521,
-0.029820648953318596,
-0.03193076327443123,
0.018101656809449196,
0.03416295349597931,
-0.04188841953873634,
0.053328387439250946,
0.020159456878900528,
-0.010376190766692162,
0.05200302600860596,
-0.052072782069444656,
0.05971105396747589,
-0.045097190886735916,
0.03194820508360863,
-0.050991564989089966,
0.01518934778869152,
-0.04907327890396118,
0.0011046500876545906,
0.058281056582927704,
-0.05608374625444412,
0.014718495309352875,
-0.03388392925262451,
-0.026576999574899673,
0.0042115128599107265,
-0.04084208235144615,
0.02563529461622238,
-0.007782143075019121,
-0.05660691484808922,
-0.04788742959499359,
-0.02830345742404461,
0.014465630985796452,
-0.08559049665927887,
-0.018363241106271744,
-0.05618838220834732,
-0.056955695152282715,
-0.003692703088745475,
-0.008248635567724705,
-0.04269061237573624,
-0.034616366028785706,
0.028582481667399406,
-0.030954182147979736,
-0.010018691420555115,
-0.009818143211305141,
0.0586298368871212,
0.018171412870287895,
-0.012076490558683872,
-0.04209768772125244,
0.013916302472352982,
0.011169664561748505,
-0.024152981117367744,
0.058594960719347,
-0.021816158667206764,
0.060513246804475784,
0.03993525356054306,
0.06898859143257141,
-0.010315154679119587,
-0.047503769397735596,
0.0032501891255378723,
0.0022648870944976807,
0.03400600329041481,
0.02833833545446396,
-0.018171412870287895,
-0.008087324909865856,
0.0356278270483017,
-0.029628820717334747,
-0.058036912232637405,
0.046317920088768005,
0.01865970343351364,
0.01518062874674797,
-0.04216744378209114,
-0.007119461894035339,
-0.02467615157365799,
-0.0587693490087986,
-0.006020806264132261,
0.025147004052996635,
0.025391148403286934,
-0.04806181788444519,
-0.026594437658786774,
0.040493302047252655,
0.04213256761431694,
-0.024222737178206444,
0.014360996894538403,
0.009242657572031021,
-0.004034942947328091,
-0.022112620994448662,
-0.02804187312722206,
-0.14662690460681915,
0.012730452232062817,
-0.0035161336418241262,
0.03630794957280159,
-0.026664193719625473,
0.022618351504206657,
-0.03398856520652771,
0.018398119136691093,
0.049840591847896576,
0.011780028231441975,
-0.07463881373405457,
0.011867223307490349,
0.008893878199160099,
-0.029768332839012146,
0.04419036582112312,
0.006465500220656395,
0.012800208292901516,
0.04087695851922035,
0.040528181940317154,
0.016741417348384857,
0.0468410886824131,
0.02462383359670639,
-0.009573997929692268,
0.003350463230162859,
0.019601408392190933,
-0.07310418784618378,
0.03717989847064018,
0.017046598717570305,
0.03295966610312462,
0.02710016816854477,
0.0355406329035759,
0.0062169949524104595,
0.006509097758680582,
-0.01003613043576479,
-0.06103641539812088,
0.035244170576334,
-0.004904712084680796,
-0.0048567550256848335,
-0.02798955701291561,
-0.0001732998207444325,
-0.041400130838155746,
0.08803194761276245,
0.0295241866260767,
-0.023751884698867798,
0.04952669143676758,
-0.029646258801221848,
0.027605898678302765,
-0.005449680145829916,
-0.014395874924957752,
0.05277034267783165,
-0.058594960719347,
-0.01998506672680378,
-0.020839575678110123,
-0.06794225424528122,
0.041818663477897644,
-0.0177180003374815,
0.038330867886543274,
-0.0033003261778503656,
-0.06539615988731384,
-0.010184361599385738,
0.024327371269464493,
0.017064038664102554,
0.0176395233720541,
0.04241158813238144,
0.0008109124028123915,
0.05629301443696022,
-0.03728453069925308,
0.06110617145895958,
-0.031058816239237785,
0.03881916031241417,
0.023664690554142,
-0.032174911350011826,
0.01989787071943283,
0.028512725606560707,
0.010681373067200184,
0.05992032214999199,
0.055560577660799026,
0.012713013216853142,
0.04481816664338112,
-0.03731940686702728,
0.013837827369570732,
0.008623573929071426,
0.02680370584130287,
0.016078736633062363,
-0.0038060564547777176,
-0.011283017694950104,
0.0828700140118599,
-0.005318887531757355,
-0.03860989212989807,
-0.029838087037205696,
0.02340310625731945,
0.017840072512626648,
-0.02715248614549637,
-0.06128056347370148,
-0.05085205286741257,
-0.024327371269464493,
-0.04003988951444626,
0.0024567157961428165,
-0.0025700691621750593,
-0.08014953136444092,
-0.04610865190625191,
0.008946194313466549,
-0.055665209889411926,
-0.040353789925575256,
-0.01416044868528843,
-0.01890384964644909,
0.023106643930077553,
-0.02469358965754509,
-0.035994045436382294,
0.0825212374329567,
0.0031804332975298166,
0.0057025449350476265,
0.06344299763441086,
0.08063782751560211,
-0.0010305345058441162,
-0.06187348812818527,
0.006722725462168455,
0.006234433967620134,
-0.030151989310979843,
0.013210024684667587,
-0.00234990194439888,
0.02101396583020687,
-0.03187844902276993,
-0.0015204607043415308,
0.015991540625691414,
-0.028390653431415558,
0.021711524575948715,
0.031128572300076485,
0.02567017264664173,
-0.020700065419077873,
-0.010690092109143734,
-0.030029917135834694,
0.003145555267110467,
0.021938232704997063,
0.002161343116313219,
0.027379192411899567,
-0.00824427604675293,
0.04767816141247749,
0.06375689804553986,
0.028809187933802605,
0.03165174275636673,
0.06511713564395905,
0.0013482507783919573,
-0.035784777253866196,
0.031006500124931335,
0.018293485045433044,
-0.035749901086091995,
-0.03913306072354317,
-0.022688107565045357,
0.06288494914770126,
-0.01295715942978859,
0.005628429353237152,
-0.006766322534531355,
-0.009757107123732567,
0.020281529054045677,
-0.04457402229309082,
-0.0034747158642858267,
0.02567017264664173,
0.054374728351831436,
-0.047468893229961395,
-0.012904842384159565,
-0.0235251784324646,
0.029995039105415344,
-0.05758349969983101,
0.047713037580251694,
0.029750892892479897,
-0.016096174716949463,
-0.0023760604672133923,
-0.05744398757815361,
0.03787745535373688,
0.006500378251075745,
0.0007008288521319628,
-0.006966870743781328,
-0.019008483737707138,
-0.0033068659249693155,
0.06870956718921661,
0.020264090970158577,
0.017098916694521904,
-0.03721477463841438,
0.04956157132983208,
0.011980576440691948,
-0.017962144687771797,
0.0074028451927006245,
0.019200311973690987,
-0.037005506455898285,
-0.018345803022384644,
0.01627928391098976,
0.016253124922513962,
-0.038086723536252975,
-0.006164677906781435,
0.035697583109140396,
-0.0016479832120239735,
-0.033343322575092316,
-0.04199305549263954,
-0.0176046472042799,
-0.0029384675435721874,
0.03308173641562462,
0.02600151300430298,
-0.0029798850882798433,
0.027815166860818863,
-0.11028408259153366,
0.06508225947618484,
0.013933741487562656,
0.022112620994448662,
0.009103145450353622,
-0.0036491057835519314,
0.0020436299964785576,
-0.047713037580251694,
-0.0584554485976696,
0.070488341152668,
-0.0009809423936530948,
0.04206281155347824,
-0.017927266657352448,
-0.010663934051990509,
-0.007537997327744961,
0.021711524575948715,
-0.0473642572760582,
-0.02106628380715847,
0.017412817105650902,
-0.008693329989910126,
-0.013811669312417507,
-0.02469358965754509,
-0.04565523937344551,
0.01984555460512638,
0.017133794724941254,
0.008100404404103756,
0.03721477463841438,
-0.010890640318393707,
-0.032384179532527924,
0.08475342392921448,
0.004021863918751478,
-0.005179375875741243,
0.09661192446947098,
-0.040423545986413956,
0.043981097638607025,
-0.003060540184378624,
0.016907086595892906,
0.003651285544037819,
-0.003651285544037819,
-0.038121603429317474,
-0.014910324476659298,
0.021885914728045464,
-0.015939224511384964,
0.060338858515024185,
0.04802694171667099,
0.018345803022384644,
0.039342328906059265,
-0.035592950880527496,
0.017107635736465454,
0.04446939006447792,
0.040458425879478455,
-0.05939715355634689,
-0.039412084966897964,
-0.04003988951444626,
-0.03717989847064018,
-0.05085205286741257,
-0.06550079584121704,
0.02591431885957718,
0.009251376613974571,
0.04017940163612366,
0.03745891898870468,
0.009643753990530968,
-0.007424644194543362,
0.009443205781280994,
-0.030151989310979843,
0.04488792270421982,
0.09786753356456757,
0.0009378899121657014,
0.010663934051990509,
0.032192349433898926,
-0.04244646802544594,
0.0056763868778944016,
-0.005196814890950918,
0.07442954927682877,
0.021833598613739014,
-0.011378931812942028,
-0.07289492338895798,
0.059292517602443695,
-0.04153963923454285,
-0.044085729867219925,
-0.006818639580160379,
-0.014212765730917454,
-0.03186101093888283,
-0.023943714797496796,
0.003858373500406742,
0.011474845930933952,
0.054514240473508835,
0.0931938886642456,
-0.04788742959499359,
-0.00014332658611238003,
-0.04429499804973602,
0.010271556675434113,
-0.08126562833786011,
-0.0827305018901825,
-0.013863986358046532,
-0.005589191801846027,
-0.011910820379853249,
0.034581489861011505,
-0.032174911350011826,
-0.04080720245838165,
0.06602396070957184,
-0.02563529461622238,
-0.054549116641283035,
0.019374702125787735,
0.03390137106180191,
0.016811173409223557,
0.016741417348384857,
-0.042795248329639435,
-0.03972598910331726,
0.07198809087276459,
-0.009573997929692268,
0.027797726914286613,
0.008837200701236725,
-0.06410567462444305,
0.03370954096317291,
0.03137271851301193,
0.049735959619283676,
-0.032436493784189224,
0.03205283731222153,
0.01402093656361103,
-0.014387154951691628,
-0.03979574143886566,
-0.06414055079221725,
0.015075994655489922,
0.024327371269464493,
0.014265082776546478,
0.048724498599767685,
-0.009199059568345547,
-0.045062314718961716,
0.007433363702148199,
0.02837321348488331,
0.018432997167110443,
-0.03756355494260788,
0.01858994923532009,
0.014204045757651329,
-0.021397624164819717,
-0.006169037893414497,
0.0584205687046051,
0.020804697647690773,
-0.055944234132766724,
0.023926274850964546,
-0.04338817298412323,
0.022932253777980804,
0.04436475411057472,
-0.052142538130283356,
0.007437723223119974,
-0.023664690554142,
0.05200302600860596,
-0.010742409154772758,
0.03369210287928581,
-0.024135543033480644,
0.029925283044576645,
-0.005371204577386379,
-0.0349825844168663,
-0.025147004052996635,
0.06215251237154007,
0.01048954389989376,
0.03655209392309189,
0.044992558658123016,
-0.04185354337096214,
0.037982091307640076,
0.027431508526206017,
0.04935230314731598,
-0.008074246346950531,
-0.03193076327443123,
0.04366719722747803,
-0.02479822374880314,
-0.019514214247465134,
-0.02467615157365799,
-0.0701395645737648,
-0.02476334571838379,
0.010341312736272812,
0.04185354337096214,
0.030814670026302338,
-0.002010931959375739,
0.0006174487643875182,
0.026036391034722328,
0.0007575055351480842,
0.0059379711747169495,
-0.069546639919281,
0.005868215579539537,
-0.0029319277964532375,
0.024048347026109695,
0.004599529784172773,
0.001738447928801179,
-0.05141010135412216,
-0.027762850746512413,
-0.05660691484808922,
0.03255856782197952,
0.002025101101025939,
-0.009774546138942242,
0.007450802717357874,
-0.029001018032431602,
-0.007712387014180422,
0.0351918525993824,
0.0029341077897697687,
-0.040563058108091354,
-0.03062284179031849,
0.024972613900899887,
-0.002995144110172987,
-0.026646755635738373,
0.026507243514060974,
-0.026576999574899673,
-0.017334342002868652,
-0.035575512796640396,
-0.03777282312512398,
0.04419036582112312,
-0.04565523937344551,
0.03062284179031849,
0.03381417319178581,
-0.00495702913030982,
0.024309933185577393,
0.010393629781901836,
0.04359744116663933,
-0.03315149247646332,
0.0465969443321228,
0.018171412870287895,
0.021624330431222916,
0.011710272170603275,
0.015677640214562416,
-0.005427881143987179,
0.07470857352018356,
0.08147489279508591,
0.0014474350027740002,
0.007755984552204609,
-0.017840072512626648,
-0.04593426361680031,
0.0088110426440835,
0.02364725060760975,
0.03637770563364029,
0.02001994475722313,
0.0020610690116882324,
-0.003612047992646694,
-0.05193326994776726,
-0.022967131808400154,
0.047538649290800095,
-0.01652343012392521,
-0.049875471740961075,
-0.045062314718961716,
-0.04101647064089775,
-0.0175523292273283,
-0.028634797781705856,
0.031337838619947433,
0.03405832126736641,
0.05371204763650894,
-0.009050828404724598,
0.029698576778173447,
0.06424518674612045,
0.02448432147502899,
0.010367470793426037,
-0.024152981117367744,
-0.0347733199596405,
-0.011936979368329048,
0.025548100471496582,
-0.01112606655806303,
-0.04488792270421982,
-0.05406082421541214,
0.004821876995265484,
0.03749379888176918,
0.029140528291463852,
0.018014462664723396,
-0.07442954927682877,
-0.07924270629882812,
-0.011963137425482273,
0.02943699061870575,
0.0049875471740961075,
0.033256128430366516,
-0.03731940686702728,
0.02012457884848118,
-0.016889648512005806,
0.00822247751057148,
-0.03315149247646332,
-0.05242156237363815,
0.02573992870748043,
0.04101647064089775,
0.0028251141775399446,
-0.01890384964644909,
-0.0293846745043993,
0.0017591567011550069,
0.02832089737057686,
-0.015102153643965721,
0.05674642696976662,
0.03193076327443123,
0.003915050067007542,
0.025129564106464386,
-0.004760840442031622,
-0.002209300175309181,
-0.005100900307297707,
0.09200803935527802,
-0.05036376416683197,
-0.0350000262260437,
0.011396370828151703,
-0.05172400176525116,
0.02474590763449669,
0.024327371269464493,
0.038016967475414276,
0.01225959975272417,
-0.05318887531757355,
0.040423545986413956,
0.015991540625691414,
0.03390137106180191,
0.04446939006447792,
-0.02478078566491604,
-0.016192089766263962,
-0.013428011909127235,
0.10100655257701874,
-0.010341312736272812,
-0.004834956023842096,
0.05078229680657387,
0.033482834696769714,
-0.04481816664338112,
0.05475838482379913,
-0.048619866371154785,
0.04467865824699402,
0.03962135314941406,
0.009983813390135765,
0.029140528291463852,
-0.03418039157986641,
-0.001157512073405087,
0.020822137594223022,
0.0350174643099308,
0.01982811652123928,
0.026036391034722328,
0.013506487011909485,
0.011989296413958073,
-0.034616366028785706,
-0.03330844268202782,
0.023734446614980698,
0.016776295378804207,
-0.024937735870480537,
0.05406082421541214,
0.015416054986417294,
-0.06986054033041,
-0.04485304653644562,
-0.00383221497759223,
-0.05657203868031502,
0.03620331361889839,
0.00004656070450437255,
0.026071269065141678,
0.037982091307640076,
-0.06215251237154007,
0.009652473032474518,
-0.010698812082409859,
0.05256107449531555,
-0.059292517602443695,
-0.018153974786400795,
0.009608875960111618,
-0.0007046436076052487,
-0.007734186016023159,
-0.013148987665772438,
-0.04935230314731598,
0.046283043920993805,
-0.015468372032046318,
-0.034721001982688904,
0.026751389726996422,
-0.039202816784381866,
-0.02798955701291561,
0.06142007187008858,
0.019008483737707138,
-0.016183368861675262,
0.01627056486904621,
-0.02814650721848011,
0.033482834696769714,
0.0005496002268046141,
-0.011501004919409752,
0.04966620355844498,
0.037075262516736984,
-0.014997519552707672,
0.00262238597497344,
-0.004913431592285633,
0.049945227801799774,
-0.03316893056035042,
0.04105135053396225,
-0.00764263141900301,
-0.012521184980869293,
-0.043841585516929626,
-0.06072251498699188,
-0.004468737635761499,
0.005933611653745174,
0.013916302472352982,
0.015581725165247917,
0.0590134933590889,
0.020665187388658524,
0.010908079333603382,
0.0025286516174674034,
-0.01998506672680378,
-0.04153963923454285,
-0.054723504930734634,
-0.014500509016215801,
0.04837571829557419,
-0.006644249893724918,
-0.0035880692303180695,
-0.001492122421041131,
-0.011832345277071,
-0.023978592827916145,
-0.002124285325407982,
-0.019688604399561882,
0.04345792904496193,
-0.05280521884560585,
-0.02214749902486801,
0.007891136221587658,
-0.044015973806381226,
0.010158203542232513,
-0.02103140577673912,
0.03409319743514061,
0.023071765899658203,
-0.01893872767686844,
-0.03766818717122078,
-0.017343061044812202,
-0.012015454471111298,
-0.019583970308303833
] |
710,212
|
urllib3_future.poolmanager
|
PoolManager
|
Allows for arbitrary 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.connectionpool.ConnectionPool` instances.
Example:
.. code-block:: python
import urllib3
http = urllib3.PoolManager(num_pools=2)
resp1 = http.request("GET", "https://google.com/")
resp2 = http.request("GET", "https://google.com/mail")
resp3 = http.request("GET", "https://yahoo.com/")
print(len(http.pools))
# 2
|
class PoolManager(RequestMethods):
"""
Allows for arbitrary 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.connectionpool.ConnectionPool` instances.
Example:
.. code-block:: python
import urllib3
http = urllib3.PoolManager(num_pools=2)
resp1 = http.request("GET", "https://google.com/")
resp2 = http.request("GET", "https://google.com/mail")
resp3 = 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: ResolverDescription
| list[ResolverDescription]
| str
| list[str]
| BaseResolver
| 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: TrafficPolice[HTTPConnectionPool] = TrafficPolice(
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, 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 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: BaseResolver = (
ManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, BaseResolver)
else resolver
)
def __enter__(self: _SelfT) -> _SelfT:
return self
def __exit__(
self,
exc_type: type[BaseException] | None,
exc_val: BaseException | None,
exc_tb: TracebackType | None,
) -> Literal[False]:
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,
) -> HTTPConnectionPool:
"""
Create a new :class:`urllib3.connectionpool.ConnectionPool` 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[HTTPConnectionPool] = 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)
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.
"""
self.pools.clear()
if self._own_resolver and self._resolver.is_available():
self._resolver.close()
def connection_from_host(
self,
host: str | None,
port: int | None = None,
scheme: str | None = "http",
pool_kwargs: dict[str, typing.Any] | None = None,
) -> HTTPConnectionPool:
"""
Get a :class:`urllib3.connectionpool.ConnectionPool` 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 self.connection_from_context(request_context)
def connection_from_context(
self, request_context: dict[str, typing.Any]
) -> HTTPConnectionPool:
"""
Get a :class:`urllib3.connectionpool.ConnectionPool` 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.
|
(num_pools: 'int' = 10, headers: 'typing.Mapping[str, str] | None' = None, preemptive_quic_cache: 'QuicPreemptiveCacheType | None' = None, resolver: 'ResolverDescription | list[ResolverDescription] | str | list[str] | BaseResolver | None' = None, **connection_pool_kw: 'typing.Any') -> 'None'
|
[
0.005996688734740019,
-0.05823374167084694,
-0.05312343314290047,
-0.0012336293002590537,
-0.05502494424581528,
0.041437070816755295,
-0.05066731572151184,
-0.030939150601625443,
-0.013330376707017422,
-0.08580563217401505,
0.023768873885273933,
0.02634383551776409,
0.03080049902200699,
0.048013124614953995,
-0.004308108240365982,
-0.003508384805172682,
-0.00048001983668655157,
-0.01645004190504551,
0.02271908149123192,
-0.08295337110757828,
-0.019015099853277206,
0.05454956367611885,
0.05450994893908501,
0.012042895890772343,
-0.008081416599452496,
0.0047463467344641685,
-0.004887474700808525,
-0.012072606943547726,
0.027274781838059425,
0.003951575141400099,
-0.03826788812875748,
0.04381395876407623,
-0.018965579569339752,
0.05316304787993431,
0.07804113626480103,
-0.00957687571644783,
0.04908272251486778,
0.050706930458545685,
-0.006165051832795143,
-0.008710301481187344,
-0.026799404993653297,
-0.06968241184949875,
-0.051499225199222565,
-0.03848576918244362,
0.03190971165895462,
0.05344035103917122,
-0.008512227796018124,
0.03868384286761284,
0.010993104428052902,
-0.04999386519193649,
-0.01286490261554718,
0.024065984413027763,
0.01935182511806488,
0.023273689672350883,
0.022461585700511932,
0.04904310777783394,
-0.03357353433966637,
0.06651323288679123,
-0.010289941914379597,
0.03527697175741196,
0.012003281153738499,
0.002669046400114894,
0.002248139353469014,
-0.031969133764505386,
-0.05954102799296379,
-0.015677552670240402,
-0.04234820976853371,
0.004902330227196217,
0.029849743470549583,
-0.04694352671504021,
0.07015778869390488,
0.007422821130603552,
-0.036346569657325745,
-0.007635750807821751,
0.024858281016349792,
-0.006392836570739746,
0.022263512015342712,
-0.014796123839914799,
-0.005313333589583635,
-0.006353221833705902,
0.0003367257013451308,
-0.03101838007569313,
-0.0007471101707778871,
-0.07942765206098557,
0.092064768075943,
-0.08976711332798004,
0.00568472221493721,
0.0021453883964568377,
-0.03757462650537491,
-0.008363672532141209,
-0.010497919283807278,
0.014796123839914799,
0.03779250755906105,
0.02325388230383396,
0.03418756276369095,
-0.022897347807884216,
-0.018708083778619766,
-0.005902603734284639,
-0.013340280391275883,
-0.02561096101999283,
-0.03448467329144478,
-0.028562262654304504,
-0.06813743710517883,
0.013528450392186642,
0.009096546098589897,
-0.03650502860546112,
0.02723516710102558,
-0.02123352698981762,
-0.026601331308484077,
-0.044923171401023865,
-0.028780143707990646,
-0.02004508301615715,
0.01654907874763012,
0.003654464380815625,
-0.011656652204692364,
0.019906431436538696,
-0.06362134963274002,
-0.018688276410102844,
-0.010210712440311909,
-0.0013877556193619967,
-0.08382489532232285,
0.019025003537535667,
-0.0015065999468788505,
0.03278123959898949,
0.028344381600618362,
0.05985794588923454,
-0.007264362182468176,
-0.03759443387389183,
-0.01845058798789978,
-0.02870091423392296,
0.05565878003835678,
0.01944095827639103,
-0.02790861949324608,
0.05680760741233826,
0.023966947570443153,
0.012795576825737953,
-0.08826175332069397,
0.048409271985292435,
-0.043536651879549026,
0.030285507440567017,
0.015489382669329643,
0.017470121383666992,
-0.04076361656188965,
0.01470699068158865,
0.021193912252783775,
-0.03210778534412384,
0.037554819136857986,
-0.04254628345370293,
-0.027354011312127113,
-0.05284612998366356,
0.018925964832305908,
-0.019510284066200256,
0.03282085433602333,
0.04230859503149986,
-0.025294043123722076,
0.014033539220690727,
-0.017281951382756233,
0.005214296746999025,
-0.03091934323310852,
-0.04856773093342781,
-0.03101838007569313,
0.009953215718269348,
-0.010022541508078575,
-0.061482153832912445,
-0.027155937626957893,
-0.04757736250758171,
0.037931159138679504,
-0.08929173648357391,
-0.0024301197845488787,
0.024065984413027763,
-0.060372937470674515,
-0.0020896801725029945,
-0.032345473766326904,
0.032959505915641785,
0.035554274916648865,
0.05962025746703148,
0.008363672532141209,
-0.027274781838059425,
-0.024481939151883125,
-0.029493210837244987,
0.026304220780730247,
-0.04115976765751839,
-0.04464586824178696,
0.0035232403315603733,
-0.014964486472308636,
0.03969401866197586,
0.00018383738643024117,
0.0021453883964568377,
0.04147668555378914,
0.04246705397963524,
-0.03587119281291962,
0.00498898746445775,
0.025551538914442062,
-0.04559662193059921,
0.03836692497134209,
-0.04131822660565376,
-0.028998026624321938,
0.003075097920373082,
0.03858480602502823,
0.03872345760464668,
-0.03717847913503647,
0.020777957513928413,
0.03640599176287651,
-0.003931767772883177,
0.00932928267866373,
-0.03141452744603157,
-0.0336923785507679,
-0.003186514601111412,
-0.039634596556425095,
0.05930333957076073,
-0.021887172013521194,
0.04215013608336449,
0.0003438440035097301,
0.03840653970837593,
-0.014320746064186096,
0.027373818680644035,
0.012082510627806187,
-0.011834918521344662,
-0.0015239313943311572,
-0.023392533883452415,
0.034048911184072495,
-0.0180643443018198,
0.03082030639052391,
0.01135954074561596,
0.020797764882445335,
-0.00867563858628273,
0.01490506436675787,
0.026284413412213326,
0.027354011312127113,
0.009814564138650894,
0.020302578806877136,
0.03192951902747154,
0.05633223056793213,
-0.002198620932176709,
0.05336112156510353,
-0.05795643851161003,
-0.014855545945465565,
0.043734729290008545,
-0.00003841551369987428,
0.01071580033749342,
-0.00327812391333282,
0.022798310965299606,
0.01746021769940853,
-0.03911960497498512,
-0.04916195198893547,
0.01724233664572239,
-0.011517999693751335,
0.03381122276186943,
0.03260297328233719,
0.010250327177345753,
-0.002622003899887204,
-0.01843078061938286,
-0.05244998261332512,
-0.05973910167813301,
-0.0353165864944458,
-0.05141999572515488,
-0.028047271072864532,
-0.025967493653297424,
-0.01736118085682392,
-0.021075068041682243,
0.005704529583454132,
0.06793936342000961,
-0.04131822660565376,
0.046111613512039185,
-0.03527697175741196,
0.030344929546117783,
0.033355653285980225,
-0.04555700719356537,
-0.06473056972026825,
0.028760336339473724,
0.0919855386018753,
0.01536063477396965,
0.033454690128564835,
0.019025003537535667,
-0.004681972786784172,
0.005823374260216951,
0.011210985481739044,
0.02065911330282688,
-0.07380235195159912,
-0.03099857270717621,
0.06298751384019852,
0.023788681253790855,
-0.020084697753190994,
-0.05641146004199982,
-0.0009872748050838709,
0.00697715487331152,
-0.0861225500702858,
0.07887304574251175,
0.012845095247030258,
0.021273141726851463,
-0.05633223056793213,
-0.016994744539260864,
0.024759244173765182,
-0.02879995107650757,
-0.013478931970894337,
0.0033821125980466604,
-0.01510313805192709,
0.036841753870248795,
0.01794550009071827,
-0.03741616755723953,
-0.04046650603413582,
-0.013043169863522053,
0.027472857385873795,
0.04274435713887215,
0.038743264973163605,
-0.0644136443734169,
0.04060515761375427,
-0.016489656642079353,
-0.015519093722105026,
0.0302260834723711,
0.04789428040385246,
0.006967251189053059,
0.016172736883163452,
-0.01933201774954796,
0.03858480602502823,
0.01566764898598194,
-0.009849227033555508,
0.023689644411206245,
-0.01645994558930397,
0.020579883828759193,
-0.09079709649085999,
0.014281131327152252,
0.017212625592947006,
-0.009784853085875511,
0.008977701887488365,
0.025294043123722076,
0.048805419355630875,
0.028463225811719894,
-0.025591153651475906,
0.03812923654913902,
-0.040228817611932755,
0.03319719433784485,
-0.028760336339473724,
-0.00750205060467124,
-0.01935182511806488,
0.005590637214481831,
0.014954582788050175,
-0.015628034248948097,
0.0033623052295297384,
-0.07847689837217331,
0.02711632288992405,
-0.022283319383859634,
-0.0251355841755867,
-0.007289121393114328,
-0.04848850145936012,
-0.04825081303715706,
0.016212353482842445,
-0.011517999693751335,
0.006481969729065895,
-0.06389865279197693,
0.0030701460782438517,
-0.04979579150676727,
0.014558435417711735,
0.05494571477174759,
0.03349430486559868,
-0.019203269854187965,
0.008858857676386833,
-0.032959505915641785,
0.008507275953888893,
-0.0318899042904377,
-0.007556520868092775,
-0.01695512980222702,
-0.00838347990065813,
0.010596956126391888,
0.018024729564785957,
0.0002692567650228739,
0.10276076197624207,
-0.008106176741421223,
0.001596971182152629,
-0.06302712857723236,
-0.012409333139657974,
-0.0552230179309845,
-0.006640429142862558,
-0.015974663197994232,
-0.01906461827456951,
-0.03430640697479248,
-0.03789154440164566,
0.005570829845964909,
-0.03876307234168053,
0.04215013608336449,
0.012389525771141052,
-0.015271501615643501,
0.01973806880414486,
-0.007051432505249977,
-0.027571894228458405,
-0.0686524286866188,
0.004266017582267523,
0.022956769913434982,
0.05344035103917122,
0.06520594656467438,
0.05023155361413956,
-0.017014551907777786,
0.014528724364936352,
0.03860461339354515,
-0.03339526802301407,
-0.009284716099500656,
0.021411793306469917,
0.016232160851359367,
-0.025571346282958984,
-0.05431187525391579,
0.037237901240587234,
-0.0034043958876281977,
0.05316304787993431,
0.020995838567614555,
-0.027472857385873795,
0.0223427414894104,
0.08224030584096909,
0.05177652835845947,
0.04274435713887215,
0.02452155388891697,
-0.030245892703533173,
-0.02345195598900318,
-0.01321153249591589,
-0.05954102799296379,
-0.0578375943005085,
-0.02652210183441639,
-0.006080870050936937,
0.029948780313134193,
0.0768526941537857,
0.021887172013521194,
0.06021447852253914,
-0.004451712127774954,
0.002718564821407199,
0.0015808776952326298,
-0.0180643443018198,
-0.017430506646633148,
0.014499013312160969,
-0.002422692021355033,
-0.04543816298246384,
0.002193668857216835,
0.03737655282020569,
0.019193366169929504,
0.01042859349399805,
-0.025195006281137466,
0.04119938239455223,
-0.0005255149444565177,
-0.03686156123876572,
0.060174863785505295,
0.03139472007751465,
-0.013845369219779968,
-0.006749369669705629,
0.00039088656194508076,
-0.027393626049160957,
-0.002402884652838111,
0.07122739404439926,
0.008324057795107365,
0.0020116884261369705,
-0.032167207449674606,
-0.04112015292048454,
0.0032484126277267933,
-0.03900076076388359,
-0.034761976450681686,
0.012171643786132336,
0.028879182413220406,
-0.07435695827007294,
0.024402709677815437,
0.05660953372716904,
-0.0019943569786846638,
-0.03309815749526024,
0.01715320348739624,
0.03937710076570511,
-0.04836965724825859,
0.10394920408725739,
0.0089182797819376,
-0.08271568268537521,
0.007482243236154318,
0.03381122276186943,
0.04038727656006813,
0.004508658312261105,
0.002198620932176709,
-0.06413634121417999,
0.03680213913321495,
-0.04658699408173561,
-0.021768325939774513,
-0.06782051920890808,
-0.0020116884261369705,
-0.011884436942636967,
0.01916365511715412,
0.03301892802119255,
-0.05763951689004898,
0.023887718096375465,
0.020362000912427902,
0.10894066840410233,
0.006189811043441296,
-0.03220682218670845,
-0.08006148785352707,
0.06548324972391129,
-0.020302578806877136,
-0.0005818422068841755,
0.01664811559021473,
-0.022679466754198074,
0.031137224286794662,
-0.005135067272931337,
0.01953009143471718,
-0.03192951902747154,
0.03876307234168053,
-0.02654190920293331,
0.013875080272555351,
0.03109760954976082,
-0.029849743470549583,
0.008982653729617596,
-0.0026665704790502787,
0.034544095396995544,
-0.007150469347834587,
0.07249506562948227,
0.03173144534230232,
-0.05058808624744415,
0.02303599938750267,
-0.0008207689388655126,
-0.002612100215628743,
-0.02394714020192623,
-0.019896527752280235,
-0.005615396425127983,
-0.01276586577296257,
-0.0011779209598898888,
0.06381942331790924,
-0.0029389222618192434,
0.035158123821020126,
-0.02273888885974884,
-0.028344381600618362,
0.09032171964645386,
0.09935389459133148,
0.012587599456310272,
0.004186788108199835,
-0.027888812124729156,
-0.0006217664922587574,
0.03480159118771553,
-0.002572485478594899,
-0.004374958109110594,
0.05213306471705437,
0.031057994812726974,
-0.013162014074623585,
-0.046824682503938675,
0.012181547470390797,
0.038545191287994385,
0.05902603641152382,
-0.06302712857723236,
-0.02353118546307087,
-0.02790861949324608,
-0.02800765633583069,
-0.0037386456970125437,
0.10600917786359787,
0.00409022718667984,
-0.03816885128617287,
-0.04793389514088631,
-0.015499286353588104,
0.022362548857927322,
0.046626608818769455,
-0.003760928986594081,
-0.02723516710102558,
-0.007412917446345091,
0.018916061148047447,
0.04409126192331314,
-0.025452502071857452,
0.02242197096347809,
-0.06417595595121384,
0.06690938025712967,
-0.03757462650537491,
-0.01321153249591589,
0.0019151275046169758,
0.02281811833381653,
-0.011102044954895973,
-0.04329896345734596,
0.006927636452019215,
-0.020579883828759193,
0.02002527564764023,
0.03541562333703041,
0.03208797797560692,
-0.003882249351590872,
-0.001901509938761592,
0.012775769457221031,
-0.009616490453481674,
0.003946623299270868,
-0.000573795463424176,
0.012280584312975407,
-0.006987058557569981,
-0.05173691362142563,
-0.006353221833705902,
0.03806981444358826,
0.01654907874763012,
0.03571273386478424,
0.008457757532596588,
-0.04294243082404137,
-0.07079163193702698,
0.006031351629644632,
0.01804453693330288,
-0.030543003231287003,
0.04836965724825859,
0.008007138967514038,
0.033850837498903275,
-0.073326975107193,
-0.02301619201898575,
-0.015221983194351196,
-0.01286490261554718,
0.021510830149054527,
0.019955949857831,
-0.10798991471529007,
0.0017690479289740324,
0.02145140804350376,
0.03353391960263252,
-0.01451882068067789,
0.029275329783558846,
-0.04638891667127609,
-0.002782939001917839,
-0.01017109677195549,
0.009136160835623741,
-0.03238509222865105,
0.020876994356513023,
-0.004070419818162918,
-0.04833004251122475,
-0.006566151510924101,
-0.014885256998240948,
0.023709451779723167,
-0.007789257913827896,
-0.08842021226882935,
-0.04127861186861992,
-0.08517179638147354,
0.08628100901842117,
0.014657472260296345,
-0.06671130657196045,
-0.0042833490297198296,
-0.026799404993653297,
0.015380442142486572,
0.03587119281291962,
-0.03791135177016258,
0.04298204556107521,
0.02343214862048626,
0.0033449737820774317,
-0.08101224154233932,
0.023471763357520103,
0.03769347071647644,
0.004337819293141365,
0.0384659618139267,
0.005942218471318483,
0.03290008381009102,
0.036247532814741135,
0.05205383524298668,
0.060689859092235565,
0.017103685066103935,
-0.03321700170636177,
0.02840380370616913,
-0.0436951145529747,
0.013884983956813812,
-0.04983540624380112,
-0.020619498565793037,
-0.006620621774345636,
0.026680560782551765,
-0.040030743926763535,
0.07578308880329132,
-0.02214466780424118,
-0.000567296170629561,
0.02372925914824009,
0.04527970403432846,
-0.037257708609104156,
0.004959276411682367,
-0.0017851414158940315,
-0.04936002939939499,
0.02471962943673134,
0.00036272293073125184,
-0.05653030425310135,
0.00043545319931581616,
0.0029983443673700094,
0.0722573772072792,
-0.004892426542937756,
0.008423094637691975,
0.00966600887477398,
-0.015637937933206558,
-0.04797350987792015,
0.019213173538446426,
0.0712670087814331,
0.009656105190515518,
-0.03139472007751465,
-0.012647021561861038,
0.03917902708053589,
0.0043625785037875175,
-0.013399702496826649,
-0.004741394892334938,
-0.015608226880431175,
-0.07241583615541458,
0.04381395876407623,
0.07015778869390488,
-0.008487468585371971,
-0.07602078467607498,
0.06615670025348663,
0.022461585700511932,
-0.010448400862514973,
-0.02325388230383396,
-0.01706407032907009,
0.010705896653234959,
-0.018094055354595184,
0.007526809815317392,
0.038149043917655945,
0.06171984225511551,
0.01985691301524639,
-0.06346289068460464,
0.00601154426112771,
-0.026106147095561028,
-0.07316851615905762,
0.04694352671504021,
-0.008398335427045822,
0.04278397187590599,
-0.06520594656467438,
-0.012617310509085655,
-0.0496373325586319,
0.02125333435833454,
0.04737928882241249,
-0.0019955949392169714,
0.001436036080121994,
0.04385357350111008,
0.04607199877500534,
-0.0019052238203585148,
0.025492116808891296,
0.052806515246629715,
-0.011240696534514427,
-0.0014471777249127626,
0.04737928882241249,
-0.03373199328780174,
0.005947170313447714,
-0.04349703714251518,
0.013469028286635876,
-0.021708903834223747,
0.03268220275640488,
0.03559388965368271,
-0.0492807999253273,
0.02733420394361019,
-0.01983710564672947,
0.02192678675055504,
-0.01155761443078518,
0.031176839023828506,
0.06219521909952164,
0.005699577741324902,
0.030859921127557755,
-0.04912233725190163,
-0.0353165864944458,
-0.0050211744382977486,
-0.048013124614953995,
0.057282984256744385,
-0.02691824920475483,
-0.00877962727099657,
0.013914695009589195,
-0.007393110077828169,
-0.053796883672475815,
-0.02301619201898575,
0.008744964376091957,
0.01656888611614704,
-0.07312890142202377,
0.03420737013220787,
0.008447853848338127,
0.01826241798698902,
-0.00032898844801820815,
0.01614302583038807,
0.0430612750351429,
-0.02164948172867298,
0.025373272597789764,
-0.017113588750362396,
-0.0799030289053917,
0.0171631071716547,
-0.004860239569097757,
-0.003614849643781781,
0.0006790222250856459,
-0.028998026624321938,
0.008799435570836067,
0.04484394192695618,
-0.012478658929467201,
0.008428046479821205,
-0.021708903834223747,
0.03091934323310852,
0.009799708612263203
] |
710,215
|
urllib3_future.poolmanager
|
__init__
| null |
def __init__(
self,
num_pools: int = 10,
headers: typing.Mapping[str, str] | None = None,
preemptive_quic_cache: QuicPreemptiveCacheType | None = None,
resolver: ResolverDescription
| list[ResolverDescription]
| str
| list[str]
| BaseResolver
| 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: TrafficPolice[HTTPConnectionPool] = TrafficPolice(
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, 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 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: BaseResolver = (
ManyResolver(*[r.new() for r in self._resolvers])
if not isinstance(resolver, BaseResolver)
else resolver
)
|
(self, num_pools: int = 10, headers: Optional[Mapping[str, str]] = None, preemptive_quic_cache: Optional[MutableMapping[Tuple[str, int], Optional[Tuple[str, int]]]] = 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, **connection_pool_kw: Any) -> NoneType
|
[
-0.037330739200115204,
-0.03537793830037117,
-0.06647108495235443,
-0.01702539436519146,
-0.05665019899606705,
0.045388415455818176,
-0.04288579523563385,
-0.02498827502131462,
-0.008157211355865002,
-0.04000398889183998,
0.010835204273462296,
0.06173127517104149,
0.03422142192721367,
0.04883899539709091,
0.0010617172811180353,
0.006749488413333893,
0.025879358872771263,
0.013072393834590912,
0.020475976169109344,
-0.09805717319250107,
-0.009086214005947113,
0.010019957087934017,
0.03450581058859825,
0.020153669640421867,
-0.013461058028042316,
0.025557052344083786,
-0.02550017461180687,
-0.013110312633216381,
-0.013413660228252411,
0.008493738248944283,
-0.020760364830493927,
0.038980189710855484,
-0.03310282900929451,
0.06404430419206619,
0.07329641282558441,
0.005000498611479998,
0.03598463162779808,
0.004426981788128614,
-0.0810697004199028,
0.031301699578762054,
-0.0014112782664597034,
-0.060404129326343536,
-0.02639125846326351,
-0.04451628774404526,
-0.01148929726332426,
0.05312378332018852,
0.002431522123515606,
0.04364416375756264,
0.038980189710855484,
-0.05676395446062088,
-0.030107269063591957,
-0.003919822163879871,
0.03126378357410431,
0.04098987206816673,
0.028325099498033524,
0.06965623795986176,
-0.01595419831573963,
0.0978296622633934,
-0.019945116713643074,
0.036041509360075,
-0.02297859452664852,
-0.05520929768681526,
-0.020741404965519905,
-0.006777927279472351,
-0.004073866177350283,
-0.031472332775592804,
-0.02489347755908966,
-0.011328143998980522,
0.027206504717469215,
-0.07871875166893005,
0.07674699276685715,
0.006692610681056976,
-0.05884947255253792,
-0.016390260308980942,
0.04129321873188019,
-0.019945116713643074,
-0.0073798829689621925,
-0.0022312651854008436,
0.011318664997816086,
-0.036212142556905746,
0.004765878431499004,
-0.021291222423315048,
-0.010048395954072475,
-0.060821231454610825,
0.0803871676325798,
-0.06491642445325851,
0.04402334988117218,
-0.014883001334965229,
-0.03190839663147926,
-0.006408222019672394,
-0.021196426823735237,
-0.010768846608698368,
0.024514293298125267,
0.03109314851462841,
0.033576808869838715,
0.031074190512299538,
-0.008626452647149563,
-0.017470937222242355,
-0.027471935376524925,
-0.0031330138444900513,
-0.031737763434648514,
-0.0046568624675273895,
-0.038127027451992035,
0.03152921050786972,
0.011129071936011314,
-0.03160504996776581,
0.010617172345519066,
-0.014996756799519062,
-0.026334380730986595,
-0.04061068594455719,
-0.03179464116692543,
-0.00794392079114914,
0.006929601076990366,
0.009290026500821114,
-0.012077034451067448,
0.013062914833426476,
-0.0303158201277256,
-0.047284338623285294,
0.0009331499459221959,
0.026410216465592384,
-0.056195177137851715,
0.0015214787563309073,
-0.0030808760784566402,
0.024343660101294518,
-0.00498153967782855,
0.05316169932484627,
-0.009754527360200882,
-0.04076236113905907,
0.0010350558441132307,
-0.011678890325129032,
0.07780870795249939,
0.003912712447345257,
-0.011375542730093002,
0.0797804668545723,
0.04303746670484543,
-0.0003658540372271091,
-0.03372848406434059,
0.03490395471453667,
-0.024059271439909935,
0.008071894757449627,
-0.002008494222536683,
0.008100333623588085,
-0.013536895625293255,
0.010143191553652287,
0.03626902028918266,
-0.013470537960529327,
0.019091952592134476,
-0.07894626259803772,
-0.04648805037140846,
-0.03154817223548889,
0.008598013781011105,
-0.025026192888617516,
-0.0034055530559271574,
0.046260539442300797,
-0.02051389403641224,
0.004268198274075985,
-0.014883001334965229,
0.0246280487626791,
-0.03206007182598114,
-0.007915481925010681,
-0.040041908621788025,
0.004216060508042574,
-0.010152671486139297,
-0.06252756714820862,
-0.034278299659490585,
-0.049294017255306244,
0.047549765557050705,
-0.07352392375469208,
0.010275906883180141,
0.05801526457071304,
-0.04133113846182823,
-0.02857157029211521,
-0.052024148404598236,
0.03626902028918266,
0.03920770063996315,
0.016722047701478004,
0.019433217123150826,
-0.020305342972278595,
-0.03073292411863804,
-0.023793842643499374,
0.0268083605915308,
-0.026751482859253883,
-0.06734321266412735,
-0.007725889328867197,
-0.006981738843023777,
0.06518185883760452,
0.02123434469103813,
0.020494936034083366,
0.06556104123592377,
0.029310980811715126,
-0.005588235333561897,
0.018106071278452873,
0.020039914175868034,
-0.03490395471453667,
0.061162497848272324,
-0.05376839637756348,
-0.009015116840600967,
-0.02000199444591999,
-0.011565134860575199,
0.00537494383752346,
-0.04622261971235275,
0.008626452647149563,
0.027623608708381653,
-0.0038345057982951403,
0.01612483151257038,
0.013034475967288017,
-0.028438854962587357,
0.029766002669930458,
-0.04026941955089569,
0.03763408586382866,
-0.015660330653190613,
0.021158508956432343,
-0.009536496363580227,
-0.0028509951662272215,
-0.025613930076360703,
0.01724342629313469,
-0.0021838671527802944,
-0.013034475967288017,
0.021101631224155426,
-0.025727685540914536,
0.07098338007926941,
0.008218829520046711,
0.04516090452671051,
0.0006991218542680144,
0.020210547372698784,
0.00375629891641438,
0.007768547628074884,
0.02610686980187893,
0.006948560476303101,
0.013413660228252411,
0.03431621938943863,
0.038202863186597824,
0.01869380846619606,
-0.002791747683659196,
0.047815196216106415,
-0.05172079801559448,
-0.02009679190814495,
0.060821231454610825,
-0.014788204804062843,
0.024836599826812744,
0.025026192888617516,
0.03587087616324425,
-0.0016956668114289641,
-0.024684926494956017,
-0.040914032608270645,
0.004585765302181244,
-0.033406175673007965,
0.0015854662051424384,
0.02193583734333515,
0.03877164050936699,
-0.01915830932557583,
-0.039169784635305405,
-0.05642268806695938,
-0.04565384238958359,
-0.02777528204023838,
-0.08880506455898285,
-0.036382775753736496,
-0.07955295592546463,
0.007602653931826353,
-0.04049693048000336,
0.009560195729136467,
0.05100034922361374,
-0.06283091008663177,
0.03642069548368454,
-0.05486803129315376,
0.01358429342508316,
0.005427081603556871,
-0.032022152096033096,
-0.04451628774404526,
0.032363418489694595,
0.055171381682157516,
-0.01680736429989338,
0.04045901075005531,
0.027358179911971092,
-0.002696951385587454,
-0.0003700013621710241,
-0.0096739511936903,
0.04356832802295685,
-0.06495434790849686,
0.002741979667916894,
0.054033827036619186,
0.02697899378836155,
-0.02838197723031044,
-0.054792195558547974,
0.00718555087223649,
0.011138551868498325,
-0.09085266292095184,
0.08387566357851028,
0.009972558356821537,
-0.014987276867032051,
-0.029766002669930458,
0.010617172345519066,
0.04296163097023964,
-0.03414558619260788,
-0.01895923726260662,
-0.026353338733315468,
-0.0032515092752873898,
0.021348100155591965,
0.032534051686525345,
-0.044326696544885635,
-0.026505013927817345,
-0.008133512921631336,
0.035245221108198166,
0.030808759853243828,
0.014987276867032051,
-0.052441250532865524,
0.011811604723334312,
0.007180810905992985,
0.018143989145755768,
0.01693059876561165,
0.04174824059009552,
-0.0010237988317385316,
0.003016888629645109,
0.03304595127701759,
0.05562640354037285,
0.05001446604728699,
-0.02242877706885338,
0.031244821846485138,
0.002209936035797,
0.0361742228269577,
-0.07026293128728867,
0.01615327037870884,
0.002623484469950199,
0.0015913909301161766,
0.001863930025137961,
0.025102030485868454,
0.05824277549982071,
0.004080975893884897,
0.001811792142689228,
0.02864740788936615,
-0.06366512179374695,
0.04049693048000336,
-0.022485654801130295,
0.005711470264941454,
-0.0018923688912764192,
0.027907997369766235,
0.0047800978645682335,
0.008280446752905846,
0.005735169164836407,
-0.0740547776222229,
0.020646609365940094,
-0.03372848406434059,
-0.03973856195807457,
0.008721249178051949,
-0.047284338623285294,
-0.05748440697789192,
-0.002317766658961773,
-0.023604249581694603,
0.011072194203734398,
-0.07109713554382324,
-0.00824726838618517,
-0.05232749506831169,
0.03422142192721367,
0.09631292521953583,
0.06415805965662003,
0.026334380730986595,
-0.01707279309630394,
-0.016845282167196274,
0.008749688044190407,
-0.03490395471453667,
-0.011678890325129032,
-0.025784563273191452,
-0.026960035786032677,
0.013603252358734608,
-0.015053634531795979,
-0.002102105412632227,
0.08144888281822205,
-0.004374844022095203,
-0.004948360845446587,
-0.04686723276972771,
-0.000027216872695134953,
-0.04315122216939926,
-0.009489098563790321,
-0.023964475840330124,
-0.005246968939900398,
-0.02857157029211521,
-0.018845481798052788,
0.023793842643499374,
-0.04262036457657814,
0.022333981469273567,
0.004057276528328657,
0.040307339280843735,
-0.0054792193695902824,
0.023642169311642647,
-0.03744449466466904,
-0.057256896048784256,
0.0018662998918443918,
0.02436261996626854,
0.06889786571264267,
0.04417502135038376,
0.0673811286687851,
-0.029310980811715126,
0.01748041622340679,
0.0022466694936156273,
-0.019945116713643074,
-0.022580452263355255,
0.0018200867343693972,
0.03708426654338837,
-0.014465898275375366,
-0.044061265885829926,
0.05426133796572685,
-0.03484707698225975,
0.05198622867465019,
0.04531257599592209,
-0.028154466301202774,
0.014048794284462929,
0.09373446553945541,
0.029766002669930458,
0.05221373960375786,
0.03577607870101929,
-0.0020701116882264614,
-0.01471236813813448,
-0.013053434900939465,
-0.05494387075304985,
-0.10215236991643906,
-0.010019957087934017,
-0.04250660911202431,
-0.005896322894841433,
0.0637030377984047,
0.02193583734333515,
0.05111410468816757,
-0.007086014840751886,
-0.02969016507267952,
0.006171231623739004,
0.017963876947760582,
0.008408421650528908,
0.02297859452664852,
0.00901037734001875,
-0.025708725675940514,
-0.029917676001787186,
0.03213590756058693,
0.023130269721150398,
-0.011678890325129032,
-0.05581599473953247,
0.05308586359024048,
0.01898767612874508,
-0.04250660911202431,
0.061807114630937576,
0.018200866878032684,
-0.02618270553648472,
-0.0284767746925354,
-0.02000199444591999,
-0.02688419818878174,
-0.02191687747836113,
0.04550217092037201,
0.013176669366657734,
-0.024400537833571434,
-0.020494936034083366,
-0.04705682769417763,
0.0022644437849521637,
-0.015347502194344997,
-0.05441300943493843,
0.012588933110237122,
0.002526318421587348,
-0.027983833104372025,
0.04724641889333725,
0.06503017991781235,
0.02959536947309971,
-0.03442997485399246,
-0.02242877706885338,
0.03310282900929451,
-0.05134161561727524,
0.09282442182302475,
-0.013916079886257648,
-0.07549568265676498,
0.05475427582859993,
0.026068951934576035,
0.04663972184062004,
-0.04136905446648598,
-0.0012074664700776339,
-0.04845980927348137,
0.015262185595929623,
-0.014797684736549854,
-0.01296811830252409,
-0.048687320202589035,
0.0027396096847951412,
-0.0008857518550939858,
0.014181509613990784,
0.016096392646431923,
-0.05092450976371765,
0.04535049572587013,
0.025613930076360703,
0.09168686717748642,
-0.009801925159990788,
0.0015392530476674438,
-0.08630244433879852,
0.03763408586382866,
-0.02402135357260704,
-0.0032775781583040953,
0.03843037411570549,
-0.044061265885829926,
0.04375791922211647,
-0.015593972988426685,
0.003547747153788805,
0.004526517819613218,
0.047208499163389206,
0.015480217523872852,
0.04133113846182823,
0.03259092941880226,
-0.03808910772204399,
-0.0012738237855955958,
-0.02743401564657688,
0.014570173807442188,
-0.0068964227102696896,
0.06332385540008545,
0.01956593245267868,
-0.06093498691916466,
-0.0032112207263708115,
-0.020191587507724762,
0.019888238981366158,
0.00464264303445816,
-0.006384523119777441,
-0.03547273203730583,
-0.028799081221222878,
0.0046568624675273895,
0.05092450976371765,
-0.03245821222662926,
0.012636331841349602,
-0.06829117238521576,
-0.016522975638508797,
0.07375143468379974,
0.09017013013362885,
0.01816294901072979,
0.04952152818441391,
-0.015603451989591122,
-0.003611734602600336,
0.009422740899026394,
-0.004422242287546396,
0.03494187444448471,
0.02157561108469963,
0.001985980197787285,
-0.013299904763698578,
-0.047473929822444916,
0.045615922659635544,
0.043454572558403015,
0.029235143214464188,
-0.05718106031417847,
-0.03484707698225975,
-0.03268572315573692,
-0.0482322983443737,
0.0014657860156148672,
0.10730928182601929,
-0.010588733479380608,
-0.049028586596250534,
-0.01966072805225849,
-0.03206007182598114,
-0.014589132741093636,
0.050431571900844574,
-0.005796786863356829,
-0.005645113065838814,
-0.04227909818291664,
-0.0020404879469424486,
0.051227860152721405,
-0.020760364830493927,
-0.02498827502131462,
-0.05380631610751152,
0.049749039113521576,
-0.04243077337741852,
-0.01724342629313469,
0.012607892975211143,
0.028002792969346046,
-0.034714363515377045,
-0.029747042804956436,
0.016674648970365524,
-0.025803521275520325,
0.013110312633216381,
0.03854412958025932,
0.02804071083664894,
0.00474691903218627,
-0.010143191553652287,
0.01345157902687788,
-0.03634485602378845,
-0.014285785146057606,
0.025443296879529953,
-0.053237538784742355,
-0.010892082005739212,
-0.037956394255161285,
0.01799231581389904,
0.06484059244394302,
0.012124432250857353,
0.0075789550319314,
0.017831161618232727,
-0.029936635866761208,
-0.06381679326295853,
0.009029336273670197,
0.0013342562597244978,
0.007796986494213343,
0.0368567556142807,
0.010825724340975285,
0.007232949137687683,
-0.10973606258630753,
-0.04315122216939926,
-0.00837998278439045,
0.012674249708652496,
-0.002590305870398879,
0.006777927279472351,
-0.09297610074281693,
0.016532454639673233,
0.01852317526936531,
0.025898318737745285,
-0.019774483516812325,
0.03022102452814579,
-0.003386593656614423,
-0.021423937752842903,
-0.010892082005739212,
-0.01917726919054985,
-0.043113306164741516,
0.04098987206816673,
0.0010397956939414144,
-0.03554856777191162,
-0.013053434900939465,
0.010370702482759953,
0.028154466301202774,
-0.016703087836503983,
-0.022030632942914963,
-0.056991465389728546,
-0.06423389166593552,
0.05555056408047676,
-0.004663972184062004,
-0.04906650632619858,
0.0040596467442810535,
-0.035415854305028915,
-0.0023592400830239058,
0.047739360481500626,
-0.0495973639190197,
0.03774784132838249,
0.06658484041690826,
-0.047739360481500626,
-0.05111410468816757,
0.02769944630563259,
0.06503017991781235,
0.004915182013064623,
0.028685325756669044,
0.006171231623739004,
-0.00656937574967742,
0.03361472859978676,
0.05213790386915207,
0.08334480971097946,
0.045198820531368256,
-0.028950754553079605,
0.01323354709893465,
-0.02584144100546837,
0.024476375430822372,
-0.011650451458990574,
-0.023642169311642647,
0.01283540390431881,
-0.005801526363939047,
-0.04724641889333725,
0.0784154012799263,
-0.007190290838479996,
-0.007209249772131443,
0.032192785292863846,
0.004073866177350283,
-0.00410467479377985,
0.00823304895311594,
0.008650152012705803,
-0.0036686123348772526,
0.009764007292687893,
-0.007157112006098032,
-0.04072444140911102,
0.014314224012196064,
0.018494736403226852,
0.08531656861305237,
-0.01581200398504734,
0.015138951130211353,
0.0010350558441132307,
0.01881704293191433,
-0.04262036457657814,
-0.024760764092206955,
0.059607841074466705,
0.03312178701162338,
-0.03143441677093506,
-0.03245821222662926,
0.020722446963191032,
0.02445741556584835,
0.029803920537233353,
-0.0057825674302875996,
-0.028400937095284462,
-0.03973856195807457,
0.030107269063591957,
0.07276555150747299,
-0.010076834820210934,
-0.049294017255306244,
0.03118794597685337,
-0.007564735598862171,
-0.022466696798801422,
0.001545177772641182,
0.014096193015575409,
-0.012456218712031841,
-0.050696998834609985,
0.02987975813448429,
0.033842239528894424,
0.04819438233971596,
0.004064386244863272,
-0.019148830324411392,
-0.007052836008369923,
-0.054526764899492264,
-0.1152721643447876,
0.052972108125686646,
0.005659332498908043,
0.021708326414227486,
-0.05213790386915207,
-0.029064510017633438,
-0.05858404189348221,
-0.010986877605319023,
0.034884996712207794,
0.012854362837970257,
0.016522975638508797,
0.04682931676506996,
-0.0005960310227237642,
0.009574415162205696,
0.053654640913009644,
0.047284338623285294,
-0.01656089350581169,
-0.002644813619554043,
0.04250660911202431,
-0.013167190365493298,
0.045464251190423965,
-0.036382775753736496,
0.014560693874955177,
0.00788230262696743,
0.04140697419643402,
0.031206903979182243,
-0.03126378357410431,
0.05399590730667114,
-0.030903557315468788,
0.025519132614135742,
-0.007479419000446796,
0.022599410265684128,
0.04936985298991203,
0.03056229092180729,
0.016352342441678047,
-0.03442997485399246,
-0.018267225474119186,
-0.040648605674505234,
-0.03581399843096733,
0.042847875505685806,
-0.027035871520638466,
0.01135658286511898,
0.053654640913009644,
-0.007109713740646839,
-0.05555056408047676,
-0.0033534150570631027,
0.007232949137687683,
-0.02959536947309971,
-0.05392007157206535,
0.040838196873664856,
-0.01690215989947319,
0.03408870846033096,
0.0037491891998797655,
-0.007090754806995392,
0.07280346751213074,
-0.03901810944080353,
0.0005687770899385214,
-0.04527465999126434,
-0.09434116631746292,
0.02732026018202305,
0.004557326436042786,
-0.03588983416557312,
-0.009877762757241726,
-0.04337873309850693,
0.021101631224155426,
0.02165144868195057,
-0.010247468017041683,
0.012702688574790955,
-0.00898667797446251,
0.05539889261126518,
0.01842837780714035
] |
710,217
|
urllib3_future.poolmanager
|
_new_pool
|
Create a new :class:`urllib3.connectionpool.ConnectionPool` 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,
) -> HTTPConnectionPool:
"""
Create a new :class:`urllib3.connectionpool.ConnectionPool` 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[HTTPConnectionPool] = 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.connectionpool.HTTPConnectionPool
|
[
0.008741374127566814,
-0.06543596088886261,
-0.04646100476384163,
-0.04388188198208809,
-0.05132448673248291,
0.024888508021831512,
-0.04089747369289398,
-0.014166736975312233,
-0.037047214806079865,
-0.0787000060081482,
0.03389700502157211,
0.05283511430025101,
-0.013374579139053822,
0.042334411293268204,
0.00238338322378695,
-0.023930547758936882,
0.0004268788907211274,
-0.021959364414215088,
-0.011449450626969337,
-0.06440430879592896,
0.007239958271384239,
0.07092580199241638,
0.023985816165804863,
0.007060340605676174,
0.016598479822278023,
0.03817097470164299,
-0.01124680507928133,
0.00024812514311634004,
0.031133662909269333,
0.0028255179058760405,
-0.00869531836360693,
0.06620969623327255,
-0.00594579242169857,
0.09034288674592972,
0.051582399755716324,
0.007700515445321798,
0.027246559038758278,
0.07553137093782425,
0.029291434213519096,
0.0024639805778861046,
-0.0333259142935276,
-0.0669834315776825,
-0.06595177948474884,
-0.01813673973083496,
0.03846573084592819,
0.04878221079707146,
0.028757186606526375,
-0.00722153577953577,
0.0020137859974056482,
-0.06075669825077057,
-0.02210674248635769,
0.03645770251750946,
0.006328055169433355,
0.004752949811518192,
-0.014802305959165096,
0.049777016043663025,
-0.031760018318891525,
0.05198768898844719,
-0.022290965542197227,
0.07251011580228806,
-0.022788366302847862,
0.02144354023039341,
0.007636037189513445,
-0.018726253882050514,
-0.08636367321014404,
-0.01541945245116949,
-0.05371938273310661,
-0.016211610287427902,
0.013604857958853245,
-0.013779869303107262,
0.07483132183551788,
0.045392509549856186,
-0.027043914422392845,
-0.019693423062562943,
0.011854740791022778,
0.011477083899080753,
0.03140999749302864,
-0.03269955515861511,
-0.024427950382232666,
-0.016709012910723686,
0.013779869303107262,
-0.017740661278367043,
0.007304436061531305,
-0.0453556664288044,
0.07855262607336044,
-0.07855262607336044,
-0.00751629238948226,
0.002632084069773555,
-0.03680772706866264,
0.006995862815529108,
-0.004036783240735531,
-0.00959801021963358,
0.02678600326180458,
0.009828289039433002,
0.027578160166740417,
-0.04380819573998451,
-0.04550304636359215,
-0.002336176112294197,
0.010859937407076359,
-0.02159091830253601,
-0.03794990852475166,
-0.03594188019633293,
-0.08628998696804047,
0.005950398277491331,
0.018486762419342995,
-0.046239934861660004,
0.04111853986978531,
-0.021940940991044044,
-0.029530923813581467,
-0.05493525415658951,
-0.01789725013077259,
0.0229725893586874,
0.012342930771410465,
0.04222387820482254,
-0.027412360534071922,
0.0140377813950181,
-0.05114026367664337,
-0.008801246993243694,
-0.019214443862438202,
-0.03102312795817852,
-0.1453886777162552,
0.04811900854110718,
0.02258572168648243,
0.029807258397340775,
0.04075009375810623,
0.06042509526014328,
-0.001205508247949183,
-0.05445627495646477,
-0.023175233975052834,
-0.002415622118860483,
0.05633534863591194,
0.03063626028597355,
-0.0014323326759040356,
0.0441397950053215,
-0.015262863598763943,
0.014507549814879894,
-0.09542743861675262,
0.0681624561548233,
-0.011606039479374886,
0.031373150646686554,
0.016285300254821777,
0.03222057595849037,
-0.035720810294151306,
0.026104377582669258,
-0.006415560841560364,
-0.007451814599335194,
0.03559185564517975,
-0.034910231828689575,
-0.02426214888691902,
-0.004036783240735531,
0.01822885125875473,
-0.0030327686108648777,
0.07409442961215973,
0.045576732605695724,
-0.02078033797442913,
-0.0011318190954625607,
0.004780583083629608,
-0.01801699586212635,
-0.019951334223151207,
-0.030488882213830948,
-0.0013989423168823123,
0.040492184460163116,
0.02020924724638462,
-0.03612610325217247,
-0.046239934861660004,
-0.027172870934009552,
0.06886250525712967,
-0.09387996792793274,
0.010159890167415142,
-0.0333443358540535,
-0.04609255865216255,
0.006470827851444483,
-0.0190670657902956,
0.04122907295823097,
0.01479309517890215,
0.04579780250787735,
-0.0015417149988934398,
-0.029420388862490654,
0.00033707026159390807,
-0.021406695246696472,
0.022788366302847862,
-0.01339300163090229,
-0.03511287644505501,
0.02330419048666954,
-0.007175480015575886,
0.015262863598763943,
-0.0003816867247223854,
0.024004237726330757,
0.009644065983593464,
0.019288131967186928,
-0.037673573940992355,
0.015953699126839638,
0.0023223592434078455,
-0.04200281202793121,
0.033675938844680786,
-0.04738211631774902,
-0.021701451390981674,
0.011559983715415001,
0.0025330642238259315,
0.08356348425149918,
0.004522670991718769,
0.034136492758989334,
0.012011329643428326,
0.013770658522844315,
0.04192912206053734,
-0.05408782884478569,
-0.0540509857237339,
0.013623279519379139,
-0.04141329601407051,
0.03164948523044586,
-0.0035255649127066135,
0.004472009837627411,
-0.018072262406349182,
0.0519508458673954,
-0.01715114712715149,
0.06105145439505577,
-0.010307268239557743,
-0.015594464726746082,
-0.027338670566678047,
-0.02321207895874977,
0.013494323939085007,
-0.009427604265511036,
0.012950866483151913,
-0.006258971523493528,
0.026528090238571167,
-0.0138904033228755,
0.01648794487118721,
-0.02315681241452694,
-0.020098712295293808,
0.01639583334326744,
-0.013116667047142982,
-0.00211395719088614,
0.027817651629447937,
0.01648794487118721,
0.05427205190062523,
-0.04266601428389549,
0.0042302170768380165,
0.023267345502972603,
-0.0046401130966842175,
0.009551954455673695,
0.020614536479115486,
0.015456297434866428,
0.03192581981420517,
-0.030230969190597534,
-0.0280755627900362,
0.04030796140432358,
-0.04063956066966057,
0.020190823823213577,
0.03369436040520668,
0.027228137478232384,
-0.035720810294151306,
-0.02273309975862503,
-0.04285023733973503,
-0.05633534863591194,
-0.022475188598036766,
-0.008294633589684963,
-0.03887102007865906,
-0.03763672709465027,
-0.02516484074294567,
-0.02615964598953724,
-0.0007035009912215173,
0.03432071581482887,
-0.03282851353287697,
0.06075669825077057,
0.0029199321288615465,
0.010040145367383957,
0.049113813787698746,
-0.02315681241452694,
-0.031152084469795227,
0.01930655539035797,
0.10861779749393463,
0.04642415791749954,
0.02883087657392025,
0.02577277645468712,
0.02678600326180458,
-0.0011611796217039227,
-0.018763097003102303,
0.03645770251750946,
-0.04675576090812683,
-0.04517144337296486,
0.05508263409137726,
0.0160642322152853,
-0.003928552381694317,
-0.06974676996469498,
-0.0033666726667433977,
0.03255217894911766,
-0.054308898746967316,
0.051250796765089035,
0.023801593109965324,
0.007585376035422087,
-0.0660623162984848,
0.003417333820834756,
-0.02678600326180458,
-0.012895599938929081,
0.0039884247817099094,
0.044102951884269714,
-0.00226709246635437,
0.05733015015721321,
0.011587616987526417,
-0.000038571659388253465,
-0.04579780250787735,
-0.02849927544593811,
-0.0036199791356921196,
0.0873953178524971,
0.04207649827003479,
-0.05847233161330223,
0.05324040353298187,
-0.006590572651475668,
-0.00851570162922144,
0.03218373283743858,
0.05666694790124893,
0.008243972435593605,
0.04200281202793121,
-0.010694136843085289,
0.031281039118766785,
0.006696500815451145,
-0.007562348153442144,
-0.0083314785733819,
-0.051435019820928574,
0.008147255517542362,
-0.0826055258512497,
-0.019232865422964096,
-0.021075094118714333,
-0.022530455142259598,
-0.025183264166116714,
0.03461547568440437,
0.007309041451662779,
0.013374579139053822,
-0.02949407882988453,
0.047824252396821976,
-0.003131788456812501,
0.05865655466914177,
0.006157648749649525,
0.0044075315818190575,
-0.009496687911450863,
-0.013512746430933475,
0.03330749273300171,
-0.0036775486078113317,
-0.017160357907414436,
-0.07413127273321152,
0.015410241670906544,
-0.007230747025460005,
-0.023562103509902954,
-0.009289436973631382,
-0.00010614402708597481,
-0.040197424590587616,
0.011707362718880177,
-0.025809621438384056,
-0.009450632147490978,
-0.05128764361143112,
-0.014240426942706108,
-0.042629167437553406,
-0.005568135529756546,
0.0246305949985981,
0.02883087657392025,
0.015870798379182816,
0.006696500815451145,
-0.01934340037405491,
0.0035140509717166424,
-0.042481791228055954,
0.0024064111057668924,
-0.006553728133440018,
0.037618305534124374,
0.039239466190338135,
0.014562816359102726,
0.01973026804625988,
0.06690973788499832,
-0.011108637787401676,
-0.025570131838321686,
-0.04045533761382103,
0.010592813603579998,
-0.04904012382030487,
-0.021646184846758842,
-0.005867497995495796,
-0.023948971182107925,
-0.07166268676519394,
-0.0639621764421463,
0.00009391047933604568,
-0.007967638783156872,
0.009653277695178986,
0.022622566670179367,
-0.01543787494301796,
0.06709396094083786,
-0.01579711027443409,
-0.04627678170800209,
-0.06440430879592896,
-0.017888039350509644,
0.021093517541885376,
0.04406610503792763,
0.05379307270050049,
0.005471418611705303,
-0.025183264166116714,
0.02144354023039341,
0.025956999510526657,
-0.007847893983125687,
-0.0065168836154043674,
0.008340689353644848,
-0.0017673879629001021,
-0.03579450026154518,
-0.024575328454375267,
0.011946852318942547,
-0.011965273879468441,
0.026675468310713768,
-0.002461677882820368,
-0.04428717494010925,
0.025146419182419777,
0.0534614734351635,
0.06451484560966492,
0.028149252757430077,
-0.0005731057608500123,
-0.029236165806651115,
-0.020172402262687683,
-0.05132448673248291,
-0.054824721068143845,
-0.03343644738197327,
-0.03916577994823456,
0.0049509890377521515,
0.05198768898844719,
0.08400562405586243,
0.04870852082967758,
0.05559845641255379,
-0.00011909719614777714,
0.017381425946950912,
0.0006712620379403234,
-0.025993844494223595,
-0.002846243092790246,
-0.0008859967929311097,
-0.001564742880873382,
-0.0034242423716932535,
-0.0357392318546772,
0.013070611283183098,
0.03887102007865906,
-0.005775386467576027,
-0.018726253882050514,
0.06031456217169762,
-0.022862056270241737,
-0.021093517541885376,
0.06259892880916595,
0.026085956022143364,
-0.017105091363191605,
0.02787291817367077,
-0.04561357945203781,
0.007668276317417622,
0.002777159446850419,
0.07099948823451996,
0.011790262535214424,
0.014452282339334488,
-0.058730244636535645,
-0.05475103110074997,
0.0034818118438124657,
-0.02153565175831318,
-0.0018997981678694487,
0.02568066492676735,
0.03597872331738472,
-0.03741566091775894,
-0.007253774907439947,
0.02744920551776886,
-0.020817182958126068,
-0.010123046115040779,
0.029144056141376495,
0.034099649637937546,
-0.04251863434910774,
0.07840524613857269,
-0.007198507897555828,
-0.09034288674592972,
-0.03769199550151825,
0.03179686516523361,
0.010988892987370491,
0.04940856993198395,
0.014636505395174026,
-0.04428717494010925,
0.035241831094026566,
-0.031428419053554535,
-0.0054161520674824715,
-0.07833155989646912,
-0.006940595805644989,
0.0007461025379598141,
0.02054084837436676,
0.0540509857237339,
-0.03667876869440079,
0.01108100451529026,
0.03292062506079674,
0.08164756745100021,
0.034007538110017776,
-0.03706563636660576,
-0.03699195012450218,
0.0372314378619194,
0.012103441171348095,
0.01820121705532074,
0.0372314378619194,
-0.010205945931375027,
0.0456504225730896,
-0.018753886222839355,
-0.006364899687469006,
-0.032478488981723785,
0.0007904311642050743,
-0.004172647837549448,
0.027246559038758278,
0.016690591350197792,
0.0010949745774269104,
0.007175480015575886,
0.00845582876354456,
0.0069221737794578075,
-0.012306086719036102,
0.0651780441403389,
0.006203704513609409,
-0.01681954599916935,
0.02210674248635769,
-0.02243834361433983,
-0.01736300438642502,
-0.023046279326081276,
-0.01255478709936142,
-0.006807034369558096,
-0.025956999510526657,
-0.013761446811258793,
0.05574583634734154,
-0.024612173438072205,
0.05036652833223343,
-0.021664608269929886,
-0.04373450577259064,
0.09859607368707657,
0.08488988876342773,
0.014415438286960125,
0.006655050441622734,
-0.050919197499752045,
-0.018606508150696754,
0.030857328325510025,
0.003175541525706649,
0.005319434683769941,
0.032533757388591766,
0.028517697006464005,
-0.025514865294098854,
-0.04406610503792763,
0.006337265949696302,
0.03583134338259697,
0.06013033911585808,
-0.0795842707157135,
-0.022217275574803352,
-0.040492184460163116,
-0.030802061781287193,
-0.008810457773506641,
0.06193572282791138,
-0.007087974343448877,
-0.03636559098958969,
-0.07029943913221359,
0.030673105269670486,
0.021075094118714333,
0.06912041455507278,
-0.000637295946944505,
-0.011615251190960407,
0.025533286854624748,
0.015751054510474205,
0.013199567794799805,
-0.032515332102775574,
0.043439749628305435,
-0.054014138877391815,
0.05961451679468155,
-0.03511287644505501,
-0.003599253948777914,
-0.0005923915887251496,
0.017519593238830566,
-0.01777750439941883,
-0.041339609771966934,
0.040197424590587616,
-0.03378647193312645,
0.01213107444345951,
0.0016706710448488593,
0.01901179924607277,
-0.01043622475117445,
0.00674255657941103,
0.03651297092437744,
-0.0014242728939279914,
0.026749158278107643,
0.009708544239401817,
0.048340074717998505,
0.006498461123555899,
-0.052061378955841064,
-0.0032538361847400665,
0.012969288975000381,
0.043771348893642426,
-0.027522893622517586,
0.01262847613543272,
-0.03408122807741165,
-0.06573071330785751,
-0.023046279326081276,
0.0018053839448839426,
-0.07015205919742584,
-0.005420757457613945,
0.059356603771448135,
0.05055075138807297,
-0.03222057595849037,
-0.002354598371312022,
-0.0417448990046978,
-0.02372790314257145,
0.003682154230773449,
-0.02693338133394718,
-0.12969288229942322,
-0.0342286042869091,
0.0015635914169251919,
0.03901840001344681,
-0.033381182700395584,
0.07192060351371765,
-0.04723474010825157,
0.0095335328951478,
0.009680910967290401,
0.0010068929987028241,
-0.02339630201458931,
0.0015451691579073668,
0.0005362611846067011,
-0.06915725767612457,
-0.010519124567508698,
-0.020282935351133347,
0.02540433220565319,
-0.009317071177065372,
-0.04690313711762428,
-0.002085172338411212,
-0.03846573084592819,
0.06749925017356873,
0.007728148717433214,
-0.09373258799314499,
-0.010408591479063034,
-0.014553605578839779,
0.019453933462500572,
0.03188897669315338,
-0.008598601445555687,
0.020080290734767914,
0.027559738606214523,
-0.025146419182419777,
-0.07243642210960388,
-0.004499643109738827,
0.017740661278367043,
-0.011394183151423931,
0.008870330639183521,
-0.03111523948609829,
0.019509200006723404,
0.03688141331076622,
0.05655641481280327,
0.06760978698730469,
0.014590449631214142,
-0.011781051754951477,
0.026049111038446426,
-0.012582420371472836,
0.0183209627866745,
-0.08820590376853943,
0.011403394863009453,
-0.04222387820482254,
0.054014138877391815,
-0.031152084469795227,
0.06370425969362259,
-0.022954167798161507,
-0.005692486185580492,
0.00422791438177228,
0.05051390454173088,
-0.057919666171073914,
0.010970470495522022,
0.01573263108730316,
-0.02306470088660717,
0.026822848245501518,
0.008409772999584675,
-0.0480453185737133,
-0.0071524521335959435,
0.008778219111263752,
0.06352003663778305,
0.030009903013706207,
0.008202522061765194,
0.03369436040520668,
-0.00819791667163372,
-0.058067042380571365,
-0.005826047621667385,
0.0651780441403389,
-0.010408591479063034,
0.00879664160311222,
-0.03157579526305199,
0.04771371930837631,
-0.012020541355013847,
-0.009036131203174591,
-0.036623504012823105,
-0.014636505395174026,
-0.06709396094083786,
0.03030465915799141,
0.08982706069946289,
-0.021996209397912025,
-0.06738872081041336,
0.03949737921357155,
0.017943305894732475,
-0.005250351503491402,
-0.04974016919732094,
-0.02378316968679428,
-0.021333007141947746,
-0.006986651569604874,
-0.035241831094026566,
0.05721961706876755,
0.036052413284778595,
0.021701451390981674,
-0.06352003663778305,
0.03155737370252609,
-0.026085956022143364,
-0.0792895182967186,
0.048634834587574005,
0.008174888789653778,
0.027799228206276894,
-0.0762682631611824,
-0.019693423062562943,
-0.017888039350509644,
0.02339630201458931,
0.035868190228939056,
0.00738733634352684,
-0.008488068357110023,
0.03336275741457939,
0.057109083980321884,
-0.03117050603032112,
0.0025077336467802525,
0.022659411653876305,
-0.002857757033780217,
-0.013208778575062752,
0.05906184762716293,
-0.013448268175125122,
-0.00530101265758276,
-0.032662712037563324,
-0.026767579838633537,
-0.02435426041483879,
0.018007783219218254,
0.016948502510786057,
-0.034283872693777084,
0.020190823823213577,
-0.026620201766490936,
0.008976258337497711,
-0.016405044123530388,
0.0432555265724659,
0.04568726569414139,
-0.0017938700038939714,
0.03927631303668022,
-0.039902668446302414,
-0.031373150646686554,
-0.005199689883738756,
-0.02820451930165291,
0.07847893238067627,
-0.02864665351808071,
0.018247272819280624,
0.010638869367539883,
-0.002664322964847088,
-0.02621491253376007,
-0.00318705546669662,
0.00557734677568078,
0.02820451930165291,
-0.09078501909971237,
0.016837969422340393,
-0.009174298495054245,
0.015668153762817383,
0.024225305765867233,
-0.0037673574406653643,
0.026859691366553307,
0.008617023937404156,
0.0477505624294281,
-0.011191538535058498,
-0.0963853970170021,
0.023985816165804863,
-0.02429899387061596,
-0.0017063642153516412,
0.005793808493763208,
-0.03358382731676102,
0.012278453446924686,
0.08326873183250427,
-0.019619733095169067,
-0.0019470052793622017,
-0.028278207406401634,
0.04207649827003479,
-0.016616901382803917
] |
710,219
|
urllib3_future.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 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.
"""
self.pools.clear()
if self._own_resolver and self._resolver.is_available():
self._resolver.close()
|
(self) -> NoneType
|
[
-0.017160536721348763,
-0.021005816757678986,
-0.010094943456351757,
-0.003374384716153145,
-0.05190693587064743,
0.016613690182566643,
-0.06187167763710022,
-0.012942013330757618,
0.027863087132573128,
-0.02307167835533619,
-0.043122682720422745,
-0.018679551780223846,
0.0384354367852211,
0.03423427417874336,
-0.003916890360414982,
0.011449038051068783,
-0.03143928200006485,
-0.033296823501586914,
0.015737002715468407,
-0.06121198832988739,
-0.03742854669690132,
0.022741833701729774,
0.08714810013771057,
-0.02758532389998436,
-0.028574854135513306,
-0.005498836748301983,
-0.00789888110011816,
-0.028783176094293594,
-0.029026219621300697,
0.019842684268951416,
-0.04294908046722412,
0.022186309099197388,
0.010416107252240181,
0.011370916850864887,
0.052080534398555756,
-0.0018738142680376768,
0.04024089500308037,
0.03749798610806465,
0.002831879071891308,
0.00810286309570074,
0.01840178854763508,
-0.04107418283820152,
-0.02947758324444294,
-0.014313467778265476,
0.03381762653589249,
0.022307829931378365,
0.004036241676658392,
0.010190424509346485,
0.040657538920640945,
-0.01833234913647175,
-0.04301852360367775,
0.04774049296975136,
-0.021283579990267754,
0.07478764653205872,
0.004943310748785734,
0.011987203732132912,
0.005303534679114819,
0.053330469876527786,
0.03791463002562523,
-0.011613959446549416,
0.00920089427381754,
0.003543646540492773,
-0.033591944724321365,
-0.07207946479320526,
0.05162917077541351,
0.00401237141340971,
-0.02352304197847843,
0.05565673112869263,
0.06020509824156761,
-0.01892259530723095,
0.00194216996897012,
-0.026387471705675125,
-0.03234201297163963,
0.009374496527016163,
0.014200625941157341,
-0.03433843329548836,
0.045171186327934265,
-0.0016730872448533773,
0.028852617368102074,
-0.03631749376654625,
0.014868993312120438,
-0.015988724306225777,
-0.046698879450559616,
0.02737700194120407,
0.05596921592950821,
-0.044372618198394775,
0.03940760716795921,
0.010077583603560925,
-0.05058756098151207,
-0.05027507618069649,
0.026752036064863205,
0.030553914606571198,
0.011093154549598694,
-0.007677539251744747,
0.04416429623961449,
-0.020589172840118408,
-0.043851811438798904,
0.003825749270617962,
-0.042254675179719925,
-0.05176805332303047,
-0.033001698553562164,
-0.018957315012812614,
-0.06312160938978195,
0.014400267973542213,
-0.0025584562681615353,
-0.00204850104637444,
0.07249610871076584,
-0.06985735893249512,
-0.07478764653205872,
0.013419417664408684,
-0.049545951187610626,
0.01707373559474945,
-0.008445726707577705,
0.021787025034427643,
0.014035704545676708,
0.02170022390782833,
-0.06374657899141312,
-0.01521619688719511,
0.013202415779232979,
0.001525525702163577,
-0.07506541162729263,
0.028001967817544937,
-0.03392178937792778,
-0.016865413635969162,
0.034911319613456726,
0.09971686452627182,
-0.005976241547614336,
-0.033227380365133286,
-0.008875391446053982,
-0.022012706845998764,
0.05218469724059105,
0.02402648702263832,
-0.03201216831803322,
0.03631749376654625,
0.014981834217905998,
-0.012238926254212856,
-0.010051543824374676,
-0.025172259658575058,
-0.02286335453391075,
0.03888680040836334,
-0.05044867843389511,
0.015398478135466576,
-0.01485163252800703,
0.034095391631126404,
0.05555257201194763,
0.03246353566646576,
0.005481476429849863,
-0.04242827743291855,
-0.055135928094387054,
-0.05131668969988823,
-0.0062236241064965725,
-0.021092617884278297,
0.010633109137415886,
0.0119004026055336,
-0.0592329278588295,
0.037671588361263275,
-0.006466666702181101,
0.06645476073026657,
-0.022325189784169197,
-0.024200089275836945,
0.012898612767457962,
0.05044867843389511,
-0.013341297395527363,
-0.06194111704826355,
-0.07374604046344757,
-0.057253871113061905,
0.0311441607773304,
-0.031248321756720543,
-0.00405143154785037,
-0.01980796456336975,
-0.06614228338003159,
-0.03732438385486603,
-0.03406067192554474,
0.014756151475012302,
-0.02657843381166458,
0.02803668938577175,
-0.01928715780377388,
0.0042857942171394825,
-0.00813758373260498,
-0.01892259530723095,
-0.009704340249300003,
-0.07742639631032944,
-0.05610809847712517,
-0.014669351279735565,
0.01821082830429077,
-0.008671409450471401,
0.00021781599207315594,
-0.02010308764874935,
0.02998102828860283,
0.013506218791007996,
-0.04169914871454239,
0.012942013330757618,
-0.015737002715468407,
-0.025154899805784225,
0.049094583839178085,
-0.02147454023361206,
-0.0010774161200970411,
0.005937180947512388,
0.00045190713717602193,
-0.02322791889309883,
-0.048747383058071136,
0.006345145404338837,
0.04048393666744232,
-0.07402380555868149,
0.0372549444437027,
0.005251454189419746,
-0.020866934210062027,
-0.03798406943678856,
0.004075301811099052,
0.06430210173130035,
0.014782192185521126,
0.025884026661515236,
0.01907883584499359,
0.004557047039270401,
0.04694192484021187,
0.009313736110925674,
-0.0009141219197772443,
-0.01382738258689642,
0.012499328702688217,
-0.0016318567795678973,
-0.03583141043782234,
-0.0335051454603672,
0.02956438437104225,
0.008445726707577705,
-0.028626935556530952,
0.03274129703640938,
-0.03711606189608574,
0.004531006794422865,
0.049684830009937286,
-0.008094183169305325,
0.04704608395695686,
0.03143928200006485,
-0.005342594813555479,
-0.03947704657912254,
0.04541422799229622,
-0.0506570003926754,
-0.03749798610806465,
0.01750773936510086,
-0.010112304240465164,
-0.01361906062811613,
-0.03871319815516472,
-0.04076169803738594,
-0.01805458590388298,
-0.06586451828479767,
-0.010355346836149693,
0.059580132365226746,
0.011145235039293766,
0.010051543824374676,
0.057531632483005524,
-0.010641789995133877,
0.02883525751531124,
-0.04527534544467926,
0.03261977434158325,
-0.06749637424945831,
0.01375794131308794,
-0.13624268770217896,
-0.08075954765081406,
-0.017933065071702003,
-0.007825100794434547,
-0.020189886912703514,
0.030849037691950798,
0.09228671342134476,
-0.028626935556530952,
0.07291275262832642,
0.0032268231734633446,
0.021648142486810684,
0.03196008875966072,
-0.006288724951446056,
0.0022806935012340546,
0.010745950974524021,
0.08388438075780869,
-0.029599104076623917,
0.04097001999616623,
-0.010676509700715542,
-0.0068138702772557735,
0.027186039835214615,
0.0008831990999169648,
0.015094675123691559,
-0.08312053233385086,
0.019634362310171127,
0.09360608458518982,
0.03006782941520214,
0.023418880999088287,
-0.0075256372801959515,
0.028331812471151352,
0.042983803898096085,
-0.027984607964754105,
-0.035189080983400345,
-0.00949601735919714,
-0.002043076092377305,
-0.019373958930373192,
0.002430425025522709,
0.012829172424972057,
0.021005816757678986,
-0.00020086269068997353,
-0.015415838919579983,
-0.0037194183096289635,
0.015355078503489494,
-0.0012293176259845495,
0.022759193554520607,
-0.04447677731513977,
-0.05044867843389511,
-0.015164116397500038,
0.03307114169001579,
0.04812241345643997,
-0.01885315403342247,
0.01677861250936985,
0.028574854135513306,
0.04548366740345955,
0.043053243309259415,
-0.004982371348887682,
-0.005312214605510235,
-0.004409485496580601,
0.024772975593805313,
0.10575820505619049,
0.012534049339592457,
-0.05308742821216583,
0.002866599475964904,
-0.01928715780377388,
0.02874845638871193,
-0.036074452102184296,
0.03147400543093681,
0.017056375741958618,
0.007812080439180136,
-0.03881736099720001,
0.033956509083509445,
0.002449955325573683,
0.054406799376010895,
-0.0032550333999097347,
-0.0003922315372619778,
-0.013219775632023811,
-0.03829655423760414,
0.009895301423966885,
-0.031838566064834595,
-0.02735964208841324,
-0.024200089275836945,
0.03187328949570656,
0.002543266164138913,
0.009817181155085564,
-0.015945324674248695,
-0.010572348721325397,
0.021821744740009308,
0.0038561297114938498,
-0.007378075737506151,
-0.048296015709638596,
0.027689484879374504,
-0.00775131955742836,
-0.025745144113898277,
0.008211364969611168,
-0.07957906275987625,
0.021005816757678986,
0.020485009998083115,
0.02539794147014618,
0.02211686782538891,
0.0745098888874054,
0.011796241626143456,
0.027116598561406136,
0.07596813887357712,
0.012395167723298073,
-0.05402487516403198,
0.019998926669359207,
-0.01755114085972309,
-0.034182190895080566,
-0.04076169803738594,
0.028401251882314682,
-0.03277601674199104,
0.07305163145065308,
0.001899854512885213,
-0.0038648098707199097,
-0.06850326806306839,
-0.016500849276781082,
-0.08548151701688766,
0.0024022147990763187,
-0.00810286309570074,
-0.023106398060917854,
0.03624805435538292,
0.0168046522885561,
0.04628223553299904,
0.023349439725279808,
0.02779364585876465,
-0.029373422265052795,
0.023453600704669952,
0.04287964105606079,
-0.02284599468111992,
-0.014313467778265476,
-0.029790066182613373,
-0.029165100306272507,
0.03649109601974487,
0.01899203471839428,
0.047566890716552734,
0.0639548972249031,
-0.051351409405469894,
-0.026248591020703316,
0.012690290808677673,
-0.0071220132522284985,
0.027897806838154793,
0.04791409149765968,
-0.0008338310872204602,
-0.036074452102184296,
-0.04798353463411331,
0.0537123940885067,
-0.024807695299386978,
0.014487069100141525,
0.020849574357271194,
0.01921771839261055,
0.0003138394677080214,
0.023696644231677055,
0.04343516752123833,
0.049545951187610626,
-0.007855480536818504,
0.03314058110117912,
-0.01899203471839428,
0.05162917077541351,
-0.04638639837503433,
-0.02393968589603901,
-0.022099507972598076,
0.00393859064206481,
0.0020636911503970623,
0.13770093023777008,
0.04055337607860565,
0.02211686782538891,
0.039338164031505585,
-0.00849346723407507,
0.003098791930824518,
-0.006622908171266317,
-0.022481432184576988,
0.008354585617780685,
-0.014131185598671436,
0.0023566442541778088,
0.012238926254212856,
-0.00015068092034198344,
-0.03697717934846878,
0.020467650145292282,
-0.03310586139559746,
-0.013132975436747074,
0.058399640023708344,
-0.009903982281684875,
0.049094583839178085,
-0.012273645959794521,
0.01869691163301468,
-0.030519194900989532,
0.010103624314069748,
-0.005168993026018143,
-0.015233556739985943,
0.04864322021603584,
-0.02307167835533619,
0.03071015700697899,
0.004162102937698364,
-0.059510692954063416,
0.025519462302327156,
-0.07506541162729263,
-0.03669941797852516,
0.00030434562359005213,
-0.030605994164943695,
-0.03815767168998718,
0.03499811887741089,
0.025953467935323715,
0.039928410202264786,
-0.045830871909856796,
0.009183534421026707,
0.014191946014761925,
-0.012629530392587185,
0.05235829949378967,
0.0031638925429433584,
-0.04319212585687637,
0.01775946281850338,
0.018610112369060516,
0.029303980991244316,
-0.012238926254212856,
-0.003413445083424449,
-0.04746272787451744,
0.007677539251744747,
-0.05874684453010559,
-0.0365605354309082,
-0.057982996106147766,
-0.003025011159479618,
-0.01812402717769146,
0.03815767168998718,
0.03164760395884514,
-0.06284384429454803,
-0.01673521287739277,
-0.00831986591219902,
0.03749798610806465,
-0.003860469674691558,
-0.008875391446053982,
-0.012872572056949139,
0.06621172279119492,
-0.05930237099528313,
-0.0426713190972805,
-0.018071945756673813,
-0.028366532176733017,
-0.04381709173321724,
-0.03142192214727402,
-0.03288017958402634,
0.025571543723344803,
0.02510281838476658,
-0.06187167763710022,
0.012768411077558994,
0.025745144113898277,
-0.05024035647511482,
0.04944178834557533,
-0.01833234913647175,
-0.0622883215546608,
0.04301852360367775,
0.06867686659097672,
-0.03166496753692627,
0.0022655033972114325,
0.004878210369497538,
-0.03440787270665169,
-0.006110782735049725,
-0.04374764859676361,
-0.05701082572340965,
-0.006905010901391506,
-0.017811544239521027,
0.006249664351344109,
0.0646493062376976,
0.00022595356858801097,
-0.02081485465168953,
-0.01462595071643591,
0.005251454189419746,
-0.0013356487033888698,
0.062496643513441086,
-0.008940491825342178,
0.04388653114438057,
-0.049545951187610626,
-0.03347042575478554,
-0.03728966414928436,
0.024703534319996834,
0.0056594181805849075,
0.022290470078587532,
0.06194111704826355,
0.014027024619281292,
-0.0341995507478714,
0.01899203471839428,
0.03770630806684494,
0.008775570429861546,
-0.029807426035404205,
-0.10936912894248962,
0.0026344070211052895,
0.006909351330250502,
-0.023036956787109375,
0.049684830009937286,
0.061698075383901596,
-0.015650201588869095,
-0.03284545987844467,
-0.00840232614427805,
0.01394022349268198,
0.03522380068898201,
0.027255481109023094,
0.023470962420105934,
-0.0013432438718155026,
0.0165095292031765,
0.05385127291083336,
-0.03034559264779091,
0.03492867946624756,
-0.04520590603351593,
0.010164384730160236,
-0.023418880999088287,
-0.0036673378199338913,
-0.004561387002468109,
0.01030326634645462,
0.01684805378317833,
0.010242504999041557,
0.08145395666360855,
0.021439820528030396,
-0.0026778075844049454,
0.004155592992901802,
-0.011058433912694454,
0.0804123505949974,
0.04319212585687637,
0.0027277180925011635,
-0.05787883698940277,
0.04548366740345955,
-0.04555311053991318,
0.01462595071643591,
-0.02352304197847843,
-0.028713734820485115,
-0.008949171751737595,
0.018610112369060516,
-0.013185055926442146,
0.02163078263401985,
0.009287695400416851,
-0.06773941963911057,
-0.08575928211212158,
-0.0012379977852106094,
0.03756742551922798,
-0.020033646374940872,
0.03175176680088043,
-0.01655293069779873,
0.02176966331899166,
0.0167525727301836,
0.033001698553562164,
0.02781100571155548,
-0.011431677266955376,
-0.014382908120751381,
-0.006366845685988665,
-0.02852277271449566,
-0.011041074059903622,
-0.04353932663798332,
0.03378290683031082,
0.017021656036376953,
0.01124939601868391,
-0.004817449487745762,
-0.012612169608473778,
-0.01538979820907116,
0.02656107395887375,
-0.025293780490756035,
0.06881574541330338,
-0.023418880999088287,
-0.00869744922965765,
-0.02307167835533619,
-0.01728205755352974,
0.06659364700317383,
0.024634093046188354,
0.0008945917361415923,
-0.0439559705555439,
-0.022533511742949486,
0.012204205617308617,
-0.03166496753692627,
0.007304294966161251,
-0.01630120724439621,
-0.049233466386795044,
-0.020033646374940872,
0.01139695756137371,
-0.01682201400399208,
0.0366646982729435,
-0.005372975487262011,
0.019912125542759895,
-0.05190693587064743,
0.08443991094827652,
-0.009279015474021435,
-0.09832805395126343,
-0.025345860049128532,
0.05155973136425018,
0.014799552038311958,
0.01088483165949583,
0.013957583345472813,
0.06586451828479767,
0.03711606189608574,
-0.0567677840590477,
0.048296015709638596,
-0.06628116220235825,
0.024772975593805313,
-0.03989369049668312,
-0.029303980991244316,
0.0032376733142882586,
-0.05013619735836983,
-0.03947704657912254,
0.04892098531126976,
0.0006851845537312329,
-0.009226934984326363,
0.01928715780377388,
0.04156026616692543,
0.0018195636803284287,
0.009574138559401035,
-0.02343624085187912,
-0.019755883142352104,
-0.02911301888525486,
-0.009990782476961613,
-0.037671588361263275,
-0.04131722450256348,
0.010815391317009926,
0.04520590603351593,
0.03722022473812103,
0.008415346965193748,
-0.02751588262617588,
-0.02685619704425335,
0.06954487413167953,
-0.052531901746988297,
0.0848565548658371,
-0.0023110737092792988,
-0.044372618198394775,
-0.03209897130727768,
-0.0007068847771733999,
-0.043921250849962234,
0.04055337607860565,
0.008220044896006584,
0.004329194780439138,
-0.06520482897758484,
0.060239821672439575,
0.0006217114278115332,
0.005980581510812044,
-0.0445462167263031,
0.005524876993149519,
0.029668545350432396,
0.04461565986275673,
-0.04360876977443695,
-0.01958228088915348,
0.024408411234617233,
-0.01862747222185135,
-0.004047091584652662,
0.00698747206479311,
0.07575982064008713,
-0.015016554854810238,
-0.09270335733890533,
0.01921771839261055,
-0.01571096107363701,
-0.10180008411407471,
0.040865860879421234,
-0.034095391631126404,
0.037879910320043564,
-0.005815659649670124,
-0.016683131456375122,
-0.03057127445936203,
0.04423373565077782,
0.050483398139476776,
-0.0037584786769002676,
0.03338362276554108,
-0.036352213472127914,
0.06718388944864273,
0.03756742551922798,
0.04652527719736099,
0.0015808612806722522,
0.0439559705555439,
0.0426713190972805,
0.02788044698536396,
-0.03895623981952667,
-0.020346129313111305,
-0.00993870198726654,
0.00299463071860373,
0.016622371971607208,
0.019912125542759895,
0.031057359650731087,
-0.041594989597797394,
0.09506434202194214,
0.008749529719352722,
-0.02774156630039215,
-0.00695275142788887,
0.020988456904888153,
0.0518374927341938,
-0.045448947697877884,
-0.027064519003033638,
-0.00295774033293128,
0.04867793992161751,
-0.004800089634954929,
-0.01755114085972309,
0.11034129559993744,
0.01666577160358429,
0.015667561441659927,
-0.008029082790017128,
-0.01892259530723095,
-0.091453418135643,
0.02081485465168953,
0.03305378183722496,
0.000023649852664675564,
-0.042324114590883255,
0.0396159291267395,
0.04107418283820152,
-0.02729020081460476,
0.004960671067237854,
0.024807695299386978,
0.028349172323942184,
0.020502371713519096,
0.02657843381166458,
-0.03624805435538292,
-0.029147740453481674,
-0.013263176195323467,
-0.00658384757116437,
-0.05468456447124481,
0.014131185598671436,
0.009912662208080292,
0.01637064851820469,
-0.02017252705991268,
-0.023818165063858032,
0.021266218274831772,
-0.03593556955456734,
0.05131668969988823,
-0.023766085505485535
] |
710,220
|
urllib3_future.poolmanager
|
connection_from_context
|
Get a :class:`urllib3.connectionpool.ConnectionPool` 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 connection_from_context(
self, request_context: dict[str, typing.Any]
) -> HTTPConnectionPool:
"""
Get a :class:`urllib3.connectionpool.ConnectionPool` 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.
"""
if "strict" in request_context:
request_context.pop("strict")
scheme = request_context["scheme"].lower()
pool_key_constructor = self.key_fn_by_scheme.get(scheme)
if not pool_key_constructor:
raise URLSchemeUnknown(scheme)
pool_key = pool_key_constructor(request_context)
if self._preemptive_quic_cache is not None:
request_context["preemptive_quic_cache"] = self._preemptive_quic_cache
return self.connection_from_pool_key(pool_key, request_context=request_context)
|
(self, request_context: dict[str, typing.Any]) -> urllib3_future.connectionpool.HTTPConnectionPool
|
[
-0.011005047708749771,
-0.06517180055379868,
-0.04712534695863724,
-0.032366711646318436,
-0.021516922861337662,
0.014000612311065197,
-0.015964169055223465,
0.0029316351283341646,
0.01704184152185917,
-0.08204925060272217,
0.004822128918021917,
0.03333479166030884,
0.000007924326382635627,
0.03368183970451355,
0.01364443264901638,
-0.020238328725099564,
-0.013187791220843792,
-0.009991304948925972,
0.046613909304142,
-0.039124999195337296,
0.005630383267998695,
0.04018440470099449,
0.002634818432852626,
-0.006511700339615345,
0.021736109629273415,
0.05870576202869415,
-0.02641211450099945,
-0.0035070027224719524,
0.033645305782556534,
0.02339828386902809,
0.018603553995490074,
0.08372969180345535,
-0.025370972231030464,
0.08964775502681732,
0.032987743616104126,
0.02416544035077095,
0.02719753608107567,
0.05351832136511803,
-0.005845004692673683,
-0.046139005571603775,
-0.07876143604516983,
-0.025498831644654274,
-0.02993738278746605,
0.005370097700506449,
0.02429329976439476,
0.037517622113227844,
-0.017078371718525887,
0.003180504310876131,
0.0468330979347229,
-0.0543220117688179,
0.042997315526008606,
0.015489261597394943,
0.0063792746514081955,
0.0017261028988286853,
-0.01340697892010212,
0.020585374906659126,
-0.06524486094713211,
0.039892155677080154,
-0.01804645173251629,
0.08460643887519836,
-0.029334615916013718,
0.008607682771980762,
0.006132688373327255,
0.019361577928066254,
-0.08263374865055084,
-0.026759160682559013,
-0.03079586662352085,
-0.002586871152743697,
-0.005872402805835009,
-0.026613036170601845,
0.045627567917108536,
0.026448644697666168,
-0.05066888406872749,
-0.04095156118273735,
-0.004166848957538605,
-0.029772991314530373,
0.011361227370798588,
0.0034476392902433872,
-0.04770984873175621,
0.0045024799183011055,
0.009379405528306961,
-0.027343662455677986,
-0.020128734409809113,
-0.06769245862960815,
0.04792903736233711,
-0.05589285492897034,
-0.01579064503312111,
0.02579108253121376,
-0.0017409437568858266,
-0.010548406280577183,
-0.008630514144897461,
-0.030120039358735085,
-0.006182918790727854,
0.018722280859947205,
0.034357666969299316,
-0.025827612727880478,
-0.014292862266302109,
-0.0056714811362326145,
0.011032446287572384,
-0.03240324184298515,
-0.015087418258190155,
-0.023708799853920937,
-0.07620424777269363,
0.009726452641189098,
-0.009671655483543873,
-0.026613036170601845,
0.054029759019613266,
-0.010548406280577183,
0.015936769545078278,
-0.05527182295918465,
-0.02456728368997574,
0.001137036015279591,
0.03543534129858017,
0.035490136593580246,
-0.014840831980109215,
0.012585025280714035,
-0.054102823138237,
0.0010605487041175365,
0.009347440674901009,
-0.034759510308504105,
-0.1578151285648346,
0.04146299883723259,
0.05896148458123207,
-0.009534663520753384,
0.044495098292827606,
0.07445074617862701,
-0.020183531567454338,
-0.09731932729482651,
-0.006032227072864771,
-0.00360289728268981,
0.06498914211988449,
0.02429329976439476,
0.020128734409809113,
0.04204750061035156,
-0.03894234076142311,
0.02664956822991371,
-0.07824999839067459,
0.05384710431098938,
0.0022523815277963877,
0.01804645173251629,
0.008260635659098625,
0.04022093862295151,
-0.05037663131952286,
-0.002858572406694293,
-0.006498001050204039,
-0.012082720175385475,
0.03505176305770874,
-0.04193790629506111,
-0.016311215236783028,
-0.03222058713436127,
0.04756372421979904,
0.01866748370230198,
0.04310690984129906,
0.027361927554011345,
-0.02177264168858528,
-0.024603815749287605,
-0.016311215236783028,
-0.0071053337305784225,
-0.013671831227838993,
-0.026375582441687584,
0.01579064503312111,
0.05300688371062279,
-0.0043198238126933575,
-0.018338700756430626,
-0.019251983612775803,
-0.03843090310692787,
0.05037663131952286,
-0.08394888043403625,
0.00951639749109745,
-0.02590067684650421,
-0.06637733429670334,
0.03402888402342796,
-0.0032124691642820835,
0.02904236689209938,
0.030138304457068443,
0.04197444021701813,
-0.0046326229348778725,
-0.024950863793492317,
0.024329831823706627,
-0.05275116488337517,
0.014137604273855686,
-0.026850489899516106,
-0.03194660320878029,
0.05483344942331314,
0.0007186387083493173,
0.04756372421979904,
0.02003740519285202,
0.028001224622130394,
0.038248248398303986,
0.004596091341227293,
-0.023380018770694733,
0.021754376590251923,
-0.01389101892709732,
-0.06462383270263672,
0.019489437341690063,
-0.029626866802573204,
-0.007881623692810535,
-0.022850314155220985,
-0.0410611554980278,
0.10097245126962662,
0.0026005704421550035,
-0.008379361592233181,
-0.014210667461156845,
0.028512662276625633,
0.015416199341416359,
-0.02215621992945671,
-0.022978173568844795,
0.0009555212454870343,
-0.05326260253787041,
0.032257117331027985,
-0.04358181357383728,
-0.01528833992779255,
-0.0030503617599606514,
0.032257117331027985,
-0.02765417844057083,
0.09417763352394104,
-0.04044012352824211,
-0.010493610054254532,
0.009164784103631973,
-0.015498395077884197,
0.03733496740460396,
-0.012950338423252106,
0.02730713039636612,
0.004217079374939203,
0.021754376590251923,
-0.024092378094792366,
0.032366711646318436,
-0.0025389238726347685,
-0.03247630596160889,
-0.014813433401286602,
0.013918416574597359,
0.0061920518055558205,
0.048148225992918015,
-0.020512312650680542,
0.07098027318716049,
-0.07686180621385574,
-0.005680613685399294,
0.034357666969299316,
0.002543490147218108,
-0.024201972410082817,
0.03479604423046112,
0.03139863535761833,
0.012986869551241398,
0.0017546429298818111,
-0.04712534695863724,
0.015936769545078278,
-0.0006758286617696285,
-0.01114203967154026,
0.037627216428518295,
0.005411195568740368,
-0.0019452905980870128,
-0.032129257917404175,
-0.04223015904426575,
-0.06655998528003693,
-0.04591981694102287,
-0.04354528337717056,
-0.036001574248075485,
-0.013059931807219982,
-0.021005485206842422,
-0.03222058713436127,
-0.014475518837571144,
0.043033845722675323,
-0.04796556755900383,
0.043654877692461014,
-0.019690359011292458,
0.009379405528306961,
0.028658786788582802,
-0.021316001191735268,
-0.04204750061035156,
0.011425157077610493,
0.060093954205513,
0.04332609474658966,
0.06674264371395111,
0.05633123219013214,
0.001495499163866043,
-0.018229108303785324,
-0.03280508890748024,
0.07317215204238892,
-0.023306954652071,
-0.04285119101405144,
0.013699228875339031,
0.01905106194317341,
0.0013128428254276514,
-0.05494304373860359,
-0.002705597784370184,
-0.017242763191461563,
-0.033261727541685104,
0.027891630306839943,
0.061043765395879745,
0.007772029377520084,
-0.04986519366502762,
0.0011187703348696232,
0.006557364482432604,
0.005895235110074282,
-0.03359051048755646,
0.04482387751340866,
0.009744718670845032,
0.05267810449004173,
0.037152308970689774,
0.04781944304704666,
-0.04497000202536583,
-0.014137604273855686,
-0.029608601704239845,
0.1019953265786171,
0.06086111068725586,
-0.02040271833539009,
0.05801166966557503,
-0.01927024871110916,
-0.036275558173656464,
0.0345403216779232,
0.015964169055223465,
0.017178833484649658,
0.01278594695031643,
-0.01440245658159256,
-0.0065619307570159435,
0.02480473741889,
0.013507439754903316,
0.0008407902205362916,
-0.030357491225004196,
0.027398457750678062,
-0.08899019658565521,
-0.005845004692673683,
0.0025571894366294146,
-0.016366012394428253,
-0.037773340940475464,
0.07171089947223663,
0.007881623692810535,
-0.008374795317649841,
0.009863445535302162,
0.05585632473230362,
-0.00045863876584917307,
0.07919981330633163,
-0.013964081183075905,
-0.008612249046564102,
-0.024512488394975662,
-0.0060230945236980915,
0.0255536288022995,
0.006347309798002243,
-0.0012740283273160458,
-0.07130905240774155,
0.00014427000132855028,
-0.02803775668144226,
0.0036348621360957623,
-0.020877625793218613,
-0.016731325536966324,
-0.06882492452859879,
-0.0038266514893621206,
-0.012986869551241398,
0.019982609897851944,
-0.04756372421979904,
-0.06151867285370827,
-0.026503441855311394,
0.019105859100818634,
0.03569106012582779,
-0.008918197825551033,
0.017982522025704384,
-0.00632904376834631,
0.019507702440023422,
0.013954948633909225,
-0.006219449918717146,
0.02390972152352333,
0.00068039505276829,
0.03284161910414696,
0.018722280859947205,
0.006767419166862965,
0.032257117331027985,
0.038613561540842056,
0.004436267074197531,
-0.02003740519285202,
-0.05424894765019417,
-0.011717407032847404,
-0.002500109374523163,
0.006146387662738562,
-0.006603028625249863,
-0.025243112817406654,
-0.0759119987487793,
-0.06509874016046524,
-0.03240324184298515,
0.01939810812473297,
0.036878325045108795,
0.02666783332824707,
-0.023489611223340034,
0.030211366713047028,
-0.02390972152352333,
-0.04836741089820862,
-0.06458730250597,
-0.04058625176548958,
0.00544316042214632,
0.05585632473230362,
0.04862312972545624,
-0.015991566702723503,
-0.015251808799803257,
0.031015055254101753,
0.044641222804784775,
-0.013836221769452095,
0.013242588378489017,
-0.0022375406697392464,
-0.008192138746380806,
-0.017836395651102066,
0.008137342520058155,
0.01253022812306881,
-0.027745505794882774,
0.03333479166030884,
-0.012183181010186672,
-0.04522572085261345,
0.0212794691324234,
0.04248587787151337,
0.04570062831044197,
0.036878325045108795,
-0.011571282520890236,
-0.04029399901628494,
-0.0003384851152077317,
-0.04818475618958473,
-0.006278813350945711,
-0.054796915501356125,
-0.05286075919866562,
0.02703314647078514,
0.02664956822991371,
0.056404292583465576,
0.054029759019613266,
0.046029411256313324,
-0.03821171820163727,
0.017553279176354408,
-0.0365678109228611,
-0.02078629657626152,
-0.018886670470237732,
0.010986781679093838,
-0.0017660589655861259,
0.019105859100818634,
-0.009406804107129574,
-0.009242413565516472,
0.036987919360399246,
0.026503441855311394,
-0.031983133405447006,
0.03748109191656113,
0.001944148913025856,
-0.016557801514863968,
0.06170132756233215,
0.039746031165122986,
-0.024749940261244774,
-0.005831305403262377,
-0.03191007301211357,
-0.019325045868754387,
-0.0227772518992424,
0.04493347182869911,
-0.012539361603558064,
-0.01516048051416874,
-0.012292775325477123,
-0.08825957030057907,
-0.00435635494068265,
-0.008525487035512924,
0.014639909379184246,
-0.00907802302390337,
0.03744456171989441,
-0.0823414996266365,
0.0032832485157996416,
0.020238328725099564,
0.014895628206431866,
-0.011187704280018806,
0.022211017087101936,
0.02001914009451866,
-0.031234242022037506,
0.06546404957771301,
-0.047161880880594254,
-0.08855181932449341,
0.022247549146413803,
0.01840263046324253,
0.015973301604390144,
0.04270506277680397,
-0.0022877713199704885,
-0.054906509816646576,
0.045116130262613297,
-0.03846743702888489,
-0.021060282364487648,
-0.03329826146364212,
0.0006010537035763264,
-0.024731675162911415,
0.002516091801226139,
0.06831348687410355,
-0.009726452641189098,
0.0026645001489669085,
0.03134383633732796,
0.08804038166999817,
0.02378186210989952,
-0.023142565041780472,
-0.07744631171226501,
0.010968516580760479,
0.009826913475990295,
0.02204662561416626,
0.019946077838540077,
-0.03271375969052315,
0.12069934606552124,
-0.00632447749376297,
-0.0031028755474835634,
-0.034120213240385056,
0.03353571146726608,
-0.030120039358735085,
0.03720710799098015,
0.03916152939200401,
0.022357141599059105,
0.024585550650954247,
0.017452817410230637,
-0.008621381595730782,
0.0035595165099948645,
0.025078723207116127,
0.03320693224668503,
-0.04862312972545624,
0.028585724532604218,
-0.00034533473080955446,
-0.017964256927371025,
-0.028494397178292274,
0.010256156325340271,
0.03766374662518501,
-0.015699317678809166,
-0.012448033317923546,
0.024201972410082817,
-0.05446813628077507,
0.024585550650954247,
-0.04497000202536583,
-0.057938605546951294,
0.057938605546951294,
0.0789075642824173,
0.043143440037965775,
0.008214971050620079,
-0.031215976923704147,
-0.044641222804784775,
0.034741245210170746,
0.02217448502779007,
0.0024886932224035263,
0.03629382327198982,
0.029992179945111275,
0.0029978479724377394,
-0.03945378214120865,
0.018813608214259148,
0.051107257604599,
0.004890624899417162,
-0.0846794992685318,
-0.019836483523249626,
-0.04029399901628494,
-0.021188141778111458,
-0.012859010137617588,
0.026850489899516106,
-0.004418001510202885,
-0.029827788472175598,
-0.05055928975343704,
-0.015324871055781841,
0.033517446368932724,
0.08928244560956955,
-0.05406629294157028,
-0.027471521869301796,
0.01839349791407585,
0.012247110716998577,
0.013461776077747345,
-0.03795599937438965,
0.02769070863723755,
-0.054541196674108505,
0.035983309149742126,
-0.003545817220583558,
-0.0064432043582201,
-0.03421154245734215,
0.011790470220148563,
-0.010411414317786694,
-0.04153606295585632,
0.030777601525187492,
-0.03530748188495636,
-0.01678612269461155,
0.015315738506615162,
0.042632002383470535,
0.0018551039975136518,
0.018137779086828232,
0.057025324553251266,
-0.047015756368637085,
0.0425589382648468,
0.02317909523844719,
0.045627567917108536,
-0.0037832704838365316,
-0.07295296341180801,
0.000909286318346858,
0.0382847785949707,
0.05899801477789879,
-0.026083333417773247,
0.010100898332893848,
-0.0009646540856920183,
-0.018567021936178207,
0.010457077994942665,
-0.023635737597942352,
-0.0021564869675785303,
0.020621906965970993,
0.0530434176325798,
0.02593720704317093,
-0.023325221613049507,
-0.05947292223572731,
-0.020841093733906746,
-0.0077263652347028255,
0.02529790997505188,
-0.043253034353256226,
-0.10418720543384552,
-0.016977911815047264,
0.015525792725384235,
0.018219975754618645,
-0.036896590143442154,
0.07353746145963669,
-0.029078897088766098,
-0.008502654731273651,
-0.003817518474534154,
0.0189232025295496,
-0.04712534695863724,
0.0005351261352188885,
0.00410063611343503,
-0.07700793445110321,
-0.0035344010684639215,
0.0016998460050672293,
-0.006689790170639753,
-0.007909021340310574,
-0.05158216506242752,
-0.015142214484512806,
-0.07130905240774155,
0.051399506628513336,
-0.006872446741908789,
-0.0941045731306076,
0.016055496409535408,
0.023964518681168556,
0.002913369331508875,
0.05801166966557503,
-0.000563951616641134,
0.05059581995010376,
0.04957294464111328,
-0.018813608214259148,
-0.10491783171892166,
0.028256943449378014,
0.04745412990450859,
0.027599381282925606,
-0.002445312449708581,
-0.008434158749878407,
-0.013872752897441387,
0.033243462443351746,
0.05275116488337517,
0.051399506628513336,
-0.009571194648742676,
0.040001749992370605,
0.02142559550702572,
0.0062925126403570175,
0.02365400269627571,
-0.028658786788582802,
-0.017863795161247253,
-0.027617646381258965,
0.0382847785949707,
-0.04095156118273735,
0.04796556755900383,
-0.011279032565653324,
-0.01579064503312111,
-0.029864320531487465,
0.08869794011116028,
-0.06126295402646065,
0.030521882697939873,
0.002401931444182992,
-0.0008562018047086895,
0.00657106377184391,
0.0009144235518760979,
-0.044495098292827606,
0.009320042096078396,
0.03607463836669922,
0.04971906915307045,
0.028457865118980408,
-0.007306255400180817,
0.042632002383470535,
0.004548144061118364,
-0.06900758296251297,
0.01564452052116394,
0.041755251586437225,
0.0086350804194808,
0.009425070136785507,
-0.038869280368089676,
0.059545982629060745,
0.0007917013135738671,
0.00014726672088727355,
0.005744543392211199,
-0.008872534148395061,
-0.04570062831044197,
-0.0033152136020362377,
0.09746544808149338,
0.0029932816978543997,
-0.032001398503780365,
0.044750817120075226,
-0.02517005056142807,
-0.07050536572933197,
-0.017215365543961525,
0.0006975191063247621,
-0.02602853626012802,
-0.021937033161520958,
-0.008740108460187912,
0.06666958332061768,
0.00958946067839861,
0.008530053310096264,
-0.04898844286799431,
0.004205663222819567,
-0.04679656773805618,
-0.04807516187429428,
0.04880578815937042,
0.018137779086828232,
0.027708973735570908,
-0.04168218746781349,
0.018722280859947205,
-0.04749066010117531,
0.028896240517497063,
0.012192314490675926,
0.01777246594429016,
-0.010100898332893848,
0.018996264785528183,
0.06024007871747017,
-0.038394372910261154,
-0.03846743702888489,
0.016366012394428253,
0.012210579589009285,
-0.02478647232055664,
0.06173786148428917,
-0.047782912850379944,
-0.005392930004745722,
-0.044531628489494324,
0.00434950552880764,
-0.028019489720463753,
-0.008420459926128387,
-0.004475081339478493,
-0.018868405371904373,
0.04946335032582283,
0.012932072393596172,
0.03156302496790886,
0.014877363108098507,
0.01663999632000923,
0.00938853807747364,
0.003217035671696067,
0.0045458609238266945,
-0.03333479166030884,
-0.0022192751057446003,
0.021516922861337662,
-0.0180190522223711,
0.06100723519921303,
-0.017617208883166313,
0.033627040684223175,
0.025370972231030464,
-0.006950075738132,
-0.00958946067839861,
-0.03415674343705177,
0.01804645173251629,
0.03342612087726593,
-0.05896148458123207,
0.0008367946138605475,
-0.012164915911853313,
0.01927024871110916,
0.0051280781626701355,
0.011881798505783081,
0.04679656773805618,
0.02818388119339943,
-0.022466735914349556,
-0.022813783958554268,
-0.07861530780792236,
-0.034138478338718414,
-0.01604636386036873,
0.015169613063335419,
0.008119076490402222,
-0.043143440037965775,
0.02290511131286621,
0.06944596022367477,
0.006475169211626053,
-0.03441246226429939,
-0.046760037541389465,
0.04007481038570404,
-0.003025246551260352
] |
710,221
|
urllib3_future.poolmanager
|
connection_from_host
|
Get a :class:`urllib3.connectionpool.ConnectionPool` 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 connection_from_host(
self,
host: str | None,
port: int | None = None,
scheme: str | None = "http",
pool_kwargs: dict[str, typing.Any] | None = None,
) -> HTTPConnectionPool:
"""
Get a :class:`urllib3.connectionpool.ConnectionPool` 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 self.connection_from_context(request_context)
|
(self, host: str | None, port: Optional[int] = None, scheme: str | None = 'http', pool_kwargs: Optional[dict[str, Any]] = None) -> urllib3_future.connectionpool.HTTPConnectionPool
|
[
0.04182394593954086,
-0.05604555085301399,
-0.0474175326526165,
-0.031349677592515945,
-0.014541498385369778,
0.0023180940188467503,
-0.007567794062197208,
-0.007343867793679237,
-0.03531637415289879,
-0.07662848383188248,
0.024531353265047073,
0.038094885647296906,
-0.009596840478479862,
0.0300518199801445,
-0.019193680956959724,
-0.0066309599205851555,
-0.016579683870077133,
0.0015926185296848416,
0.0016885868972167373,
-0.02871740236878395,
0.029137836769223213,
0.025134582072496414,
0.027090510353446007,
0.01822485774755478,
0.022319508716464043,
0.02831524983048439,
0.0027191047556698322,
-0.002440339419990778,
0.057325128465890884,
-0.01092211902141571,
0.02811417356133461,
0.06364990025758743,
-0.011479649692773819,
0.11209110170602798,
0.036029282957315445,
0.01736571080982685,
0.04427342489361763,
0.04218953847885132,
0.04080028086900711,
-0.017429690808057785,
-0.032684098929166794,
-0.0113516915589571,
-0.03012493997812271,
0.0030138648580759764,
0.06134666129946709,
0.02632276341319084,
0.062480002641677856,
-0.0220453143119812,
0.0000021957057469990104,
-0.058385349810123444,
0.013362457975745201,
0.02162487991154194,
0.030490534380078316,
-0.011205453425645828,
-0.02164315991103649,
0.0003058993024751544,
-0.036285195499658585,
0.05421758070588112,
-0.06357678025960922,
0.09169095754623413,
-0.049574535340070724,
-0.00636133411899209,
-0.03878951445221901,
-0.0057992334477603436,
-0.06269935518503189,
-0.034822821617126465,
-0.035371214151382446,
-0.034621745347976685,
0.009386624209582806,
-0.004464815836399794,
0.0728263109922409,
0.06573379039764404,
-0.013536115176975727,
-0.03590132296085358,
0.05176810175180435,
0.024220596998929977,
0.0038593008648604155,
0.00677719758823514,
-0.031678713858127594,
-0.026395881548523903,
-0.006365904118865728,
-0.0006095136050134897,
0.0034457228612154722,
-0.08474466949701309,
0.04032500833272934,
-0.0828435868024826,
-0.020875412970781326,
0.015208707191050053,
-0.00816645473241806,
0.02624964341521263,
0.015592580661177635,
-0.02403780072927475,
0.003838736331090331,
-0.000326749577652663,
0.04445622116327286,
-0.06014019995927811,
-0.006507571786642075,
0.018042059615254402,
0.0015834786463528872,
-0.016406027600169182,
-0.018791528418660164,
0.003729057963937521,
-0.08635328710079193,
0.02129584550857544,
0.019522715359926224,
-0.011635026894509792,
0.039886295795440674,
-0.05714233219623566,
0.002169571351259947,
-0.00794252846390009,
-0.011872663162648678,
0.029869023710489273,
0.05154874548316002,
0.03204430639743805,
-0.03480454161763191,
0.005086325574666262,
-0.034365829080343246,
-0.016067853197455406,
-0.02411091886460781,
-0.03484110161662102,
-0.1408267766237259,
0.07874893397092819,
0.03712606430053711,
0.02431199699640274,
0.05169498175382614,
0.05641114339232445,
-0.009034739807248116,
-0.05461973324418068,
-0.030728168785572052,
-0.033013131469488144,
0.06982844322919846,
0.02164315991103649,
0.024421675130724907,
0.028863640502095222,
-0.02182595804333687,
0.02950342930853367,
-0.05056164041161537,
0.04990357160568237,
-0.02284962125122547,
0.019248520955443382,
0.03412819281220436,
0.03186151012778282,
-0.0250431839376688,
0.02550017647445202,
0.003628519829362631,
-0.04014221206307411,
0.028955038636922836,
-0.017347432672977448,
-0.029156114906072617,
-0.01608613319694996,
0.022995857521891594,
-0.013362457975745201,
0.10689966380596161,
0.020217344164848328,
-0.013499556109309196,
-0.023982960730791092,
0.003678788896650076,
-0.03584648296236992,
-0.023251773789525032,
-0.01155276782810688,
-0.0011464797426015139,
0.00923581700772047,
0.05776384100317955,
0.021131329238414764,
-0.05454661324620247,
-0.03959382325410843,
0.03246473893523216,
-0.09607808291912079,
-0.004921808373183012,
-0.033013131469488144,
-0.0587509423494339,
0.03189807012677193,
-0.021314125508069992,
-0.0031555325258523226,
0.0036513693630695343,
0.02409263886511326,
0.020016267895698547,
-0.04200674220919609,
0.022191550582647324,
-0.035883042961359024,
0.02310553565621376,
-0.01015437114983797,
0.0005935188964940608,
0.029009878635406494,
0.0038044617976993322,
0.034219592809677124,
-0.01248503290116787,
-0.010876419022679329,
0.01963239349424839,
0.0337260402739048,
-0.029996981844305992,
0.031422797590494156,
0.025098023936152458,
-0.05918965861201286,
0.004352852702140808,
-0.09103288501501083,
0.0051685841754078865,
0.004720731638371944,
0.0003416018153075129,
0.09490818530321121,
0.009752217680215836,
0.035298094153404236,
0.0025157432537525892,
0.0781639814376831,
0.023891562595963478,
-0.04240889474749565,
-0.009551141411066055,
-0.010785020887851715,
-0.04789280518889427,
0.052718643099069595,
-0.0370529443025589,
-0.02798621542751789,
-0.047710008919239044,
0.009825336746871471,
-0.02451307326555252,
0.029028158634901047,
-0.012247396633028984,
-0.007279889192432165,
0.019687233492732048,
0.0023020992521196604,
0.04460245743393898,
-0.029795905575156212,
0.040507808327674866,
-0.011013517156243324,
0.05268208310008049,
-0.038241125643253326,
-0.015537741594016552,
-0.046978820115327835,
-0.02230122871696949,
0.03919167071580887,
-0.015181288123130798,
-0.012028040364384651,
0.027730299159884453,
-0.002220983151346445,
0.08394036442041397,
-0.018416794016957283,
-0.0023066692519932985,
0.006896015256643295,
0.0008454359485767782,
-0.03853359818458557,
0.03125828132033348,
0.025390498340129852,
0.017731305211782455,
-0.0200345478951931,
-0.05904341861605644,
0.0053513809107244015,
-0.0277120191603899,
-0.011744705028831959,
0.01385600958019495,
-0.013764611445367336,
-0.05067131668329239,
0.023946402594447136,
-0.002735099522396922,
-0.021953916177153587,
0.01910228282213211,
-0.004725301638245583,
-0.023690486326813698,
-0.01332589890807867,
-0.028223851695656776,
-0.0012750087771564722,
-0.01462375745177269,
0.030289456248283386,
0.005410789977759123,
0.01651570573449135,
0.01248503290116787,
0.006521281786262989,
0.021734558045864105,
-0.005854072980582714,
-0.01588505692780018,
-0.0016451727133244276,
0.06566067039966583,
0.04522396996617317,
0.04105619713664055,
0.029869023710489273,
0.04134867340326309,
0.00824414286762476,
0.0014909377787262201,
-0.020509818568825722,
-0.050196047872304916,
-0.02356252819299698,
-0.004967507440596819,
-0.0014955076621845365,
-0.01915712095797062,
-0.07772526890039444,
0.012868906371295452,
0.010328028351068497,
-0.062077850103378296,
0.04240889474749565,
0.03718090057373047,
0.011863523162901402,
-0.03652283176779747,
-0.05834878981113434,
-0.028936758637428284,
-0.005995740182697773,
0.006795477122068405,
0.04218953847885132,
-0.003911855164915323,
0.06898757070302963,
-0.0005221138126216829,
-0.03239162266254425,
-0.03672391176223755,
0.0048212697729468346,
-0.014404401183128357,
0.09995338320732117,
0.05904341861605644,
-0.020345302298665047,
0.032940011471509933,
-0.00505890604108572,
-0.021679719910025597,
0.02630448341369629,
0.055789634585380554,
-0.03259269893169403,
0.013883429579436779,
-0.03966693952679634,
0.021679719910025597,
-0.012932885438203812,
0.010392007417976856,
-0.01746624894440174,
-0.03551745042204857,
-0.006626389920711517,
-0.048514313995838165,
0.004885248839855194,
-0.04226265847682953,
-0.002995585324242711,
-0.0260302871465683,
0.03601100295782089,
-0.017786145210266113,
0.027419544756412506,
-0.0032423611264675856,
0.05769072100520134,
0.01923024095594883,
0.0854758620262146,
0.00532396137714386,
0.017585067078471184,
0.009633399546146393,
-0.0541079007089138,
0.0197055134922266,
0.05663049966096878,
-0.025536736473441124,
-0.034895941615104675,
0.041494909673929214,
-0.00752666499465704,
-0.03244646266102791,
0.006772627588361502,
0.029539989307522774,
0.001660024980083108,
-0.0527552030980587,
-0.05129282921552658,
-0.0068046171218156815,
-0.0701574757695198,
-0.01713721454143524,
-0.06057891249656677,
-0.0257012527436018,
-0.020948531106114388,
0.00898447073996067,
0.011982341296970844,
0.02884536050260067,
-0.010803300887346268,
-0.011305992491543293,
-0.038972314447164536,
0.02343457005918026,
-0.03345184400677681,
0.006836606655269861,
0.002456334186717868,
0.005621006712317467,
0.004272879101336002,
0.02029046230018139,
0.012430193834006786,
-0.009331785142421722,
-0.01852647215127945,
0.00811618473380804,
-0.028863640502095222,
0.021131329238414764,
-0.0026208513882011175,
-0.0024197748862206936,
-0.06375958025455475,
-0.03299485146999359,
-0.003457147628068924,
0.009021029807627201,
0.023270053789019585,
0.03948414325714111,
-0.004935517907142639,
0.10229317843914032,
-0.0277120191603899,
-0.021478643640875816,
-0.07962635904550552,
-0.04756376892328262,
-0.007910538464784622,
0.03220882639288902,
0.05096379294991493,
0.011159754358232021,
-0.014450100250542164,
0.01706409640610218,
0.01204631943255663,
-0.013664073310792446,
0.024531353265047073,
0.006068859249353409,
-0.012594711035490036,
-0.03524325415492058,
-0.004142635967582464,
-0.002767089055851102,
-0.009980713948607445,
0.02423887699842453,
-0.020180784165859222,
-0.020802294835448265,
0.01272266823798418,
0.03630347549915314,
0.015190428122878075,
0.03992285579442978,
0.0007408989476971328,
-0.0006854886305518448,
-0.04299384728074074,
-0.026432441547513008,
-0.00853204820305109,
-0.013728052377700806,
-0.008554898202419281,
0.03085612691938877,
0.010821579955518246,
0.04990357160568237,
0.031495917588472366,
0.009295225143432617,
-0.030088379979133606,
0.0035508309956640005,
-0.007554084528237581,
-0.012229116633534431,
0.010583944618701935,
-0.014980210922658443,
-0.03948414325714111,
0.01996142789721489,
-0.0260302871465683,
0.02736470475792885,
-0.027291586622595787,
-0.01630548946559429,
-0.0049446579068899155,
0.08635328710079193,
0.007490105461329222,
-0.0032400761265307665,
0.06171225383877754,
0.05048852041363716,
-0.04833151772618294,
0.014029666781425476,
-0.018078619614243507,
0.010264049284160137,
-0.00978877767920494,
0.0487336702644825,
-0.002600286854431033,
0.009162697941064835,
-0.03412819281220436,
-0.05597243085503578,
0.007234189659357071,
-0.00733015825971961,
0.015062469989061356,
0.019796911627054214,
0.011242013424634933,
-0.02116788923740387,
-0.03498733788728714,
0.0013686922611668706,
-0.014276443049311638,
0.01278664730489254,
0.042628251016139984,
0.04986701160669327,
-0.03336044400930405,
0.039301346987485886,
-0.0734478235244751,
-0.062077850103378296,
-0.029667947441339493,
0.004368847236037254,
-0.0028447776567190886,
0.04639386758208275,
-0.004940087907016277,
-0.044785257428884506,
-0.013600094243884087,
-0.04855087399482727,
0.01988830976188183,
-0.08196616172790527,
-0.023398011922836304,
0.00392556469887495,
0.017612487077713013,
0.0394110269844532,
0.026085127145051956,
-0.022666823118925095,
0.058275673538446426,
0.06123698130249977,
0.052864883095026016,
-0.0015080749290063977,
0.03584648296236992,
0.021862516179680824,
0.01763990707695484,
0.04010565206408501,
0.03944758325815201,
-0.04160458967089653,
0.0741058886051178,
-0.01862701028585434,
0.00881995353847742,
-0.051914338022470474,
-0.02049154043197632,
-0.005854072980582714,
0.031093763187527657,
0.003971264231950045,
0.01976035162806511,
-0.010867279022932053,
0.032958291471004486,
0.028808802366256714,
-0.00288819195702672,
0.03387227654457092,
0.014358701184391975,
-0.012512451969087124,
0.06024987995624542,
0.00505890604108572,
0.006269935984164476,
-0.024458233267068863,
0.009980713948607445,
0.021862516179680824,
-0.011772124096751213,
-0.054400376975536346,
0.07132737338542938,
-0.0888393223285675,
0.009898455813527107,
-0.07242415845394135,
-0.009569421410560608,
0.054583173245191574,
0.09622432291507721,
0.027529222890734673,
-0.0337260402739048,
-0.05169498175382614,
-0.028699122369289398,
0.06697680801153183,
0.023416291922330856,
-0.002474613953381777,
0.012612990103662014,
-0.002522598020732403,
-0.021149609237909317,
-0.04639386758208275,
0.03527981415390968,
0.06357678025960922,
0.039301346987485886,
-0.07297255098819733,
-0.03374432027339935,
-0.1088738739490509,
0.005369660910218954,
0.0014989350456744432,
0.06500259786844254,
-0.041897062212228775,
-0.11647822707891464,
-0.04902614653110504,
0.0013161381939426064,
0.010254909284412861,
0.05831222981214523,
-0.03383571654558182,
0.027620621025562286,
0.04946485906839371,
-0.007823710329830647,
0.012000620365142822,
-0.012247396633028984,
0.00327892042696476,
-0.014934511855244637,
0.05169498175382614,
-0.04167770594358444,
0.014568918384611607,
-0.043761592358350754,
0.019997987896203995,
0.0034845671616494656,
-0.03657767176628113,
0.07538546621799469,
-0.04968421533703804,
-0.011845243163406849,
-0.0008140177233144641,
-0.02390984259545803,
-0.034347549080848694,
0.023891562595963478,
0.024348555132746696,
-0.020784014835953712,
0.009039309807121754,
0.008655436336994171,
0.07403276860713959,
0.03347012400627136,
-0.04767344892024994,
-0.013627513311803341,
0.01568397879600525,
0.08723071217536926,
-0.02411091886460781,
0.02484210766851902,
-0.04354223608970642,
-0.06668433547019958,
-0.025664692744612694,
0.016954418271780014,
-0.0901554599404335,
-0.010912979021668434,
0.03186151012778282,
-0.023288333788514137,
0.015199567191302776,
-0.009679099544882774,
-0.041970182210206985,
-0.00505890604108572,
0.0113516915589571,
-0.07501987367868423,
-0.09936843067407608,
-0.04500461369752884,
0.011205453425645828,
0.01646086573600769,
-0.054400376975536346,
0.022941019386053085,
-0.03239162266254425,
-0.021350685507059097,
-0.01691785827279091,
-0.007170211058109999,
-0.04200674220919609,
0.008289841935038567,
0.019778631627559662,
-0.07465428113937378,
-0.01716463454067707,
-0.02632276341319084,
-0.04979389160871506,
0.018590450286865234,
-0.0714370533823967,
-0.025024903938174248,
-0.0016303204465657473,
0.06357678025960922,
0.005378800444304943,
-0.04028845205903053,
0.017128076404333115,
0.026889434084296227,
0.006932574789971113,
0.06928005069494247,
0.0019582125823944807,
0.03091096691787243,
0.019796911627054214,
-0.0062333764508366585,
-0.030234618112444878,
0.02184423804283142,
0.03290345519781113,
0.011470509693026543,
0.02685287408530712,
-0.006598970387130976,
-0.019321639090776443,
-0.01676248200237751,
0.03211742639541626,
0.03405507281422615,
-0.012064599432051182,
-0.02416575886309147,
0.002995585324242711,
0.019321639090776443,
-0.016899580135941505,
-0.062004730105400085,
-0.008691995404660702,
-0.030088379979133606,
0.05758104473352432,
-0.031605593860149384,
0.04438310116529465,
-0.028936758637428284,
0.007960807532072067,
0.008321831934154034,
0.07896828651428223,
-0.03092924691736698,
0.019778631627559662,
-0.018307115882635117,
-0.01355439517647028,
0.029137836769223213,
-0.00044385387445800006,
0.0057900939136743546,
0.000490124337375164,
-0.011543627828359604,
0.04573579877614975,
0.022648543119430542,
0.020253904163837433,
0.04789280518889427,
-0.0007991654565557837,
-0.040507808327674866,
-0.01264955010265112,
0.05520468205213547,
-0.012000620365142822,
-0.01983346976339817,
-0.03531637415289879,
0.05794663727283478,
-0.006534991320222616,
-0.016872160136699677,
-0.012832346372306347,
-0.02891848050057888,
-0.08693823218345642,
0.009825336746871471,
0.09856412559747696,
-0.0407271645963192,
-0.02517114207148552,
0.057398244738578796,
-0.0400690957903862,
-0.009281516075134277,
-0.06803703308105469,
-0.008212153799831867,
0.008673716336488724,
0.011762985028326511,
-0.0020564659498631954,
0.03984973952174187,
0.030033541843295097,
0.024275436997413635,
-0.049574535340070724,
0.051914338022470474,
-0.012713529169559479,
-0.08320917934179306,
0.04723473638296127,
0.02023562416434288,
0.047380972653627396,
-0.04862399399280548,
-0.017374850809574127,
0.009761357679963112,
-0.00629278551787138,
0.009523721411824226,
0.0021307270508259535,
0.018645290285348892,
0.018307115882635117,
0.04558956250548363,
-0.012347934767603874,
-0.024860387668013573,
0.02224639058113098,
-0.010328028351068497,
0.02244746685028076,
0.047454092651605606,
0.019723791629076004,
-0.016570543870329857,
-0.025957169011235237,
-0.01505332998931408,
-0.04628419131040573,
-0.01812431961297989,
0.0015617716126143932,
-0.014422680251300335,
0.04365191608667374,
-0.005991170648485422,
-0.006137407850474119,
-0.012174277566373348,
0.06258968263864517,
0.03597444295883179,
-0.02879052236676216,
0.040361568331718445,
-0.0034068783279508352,
-0.014404401183128357,
0.0017011542804539204,
-0.03261097893118858,
0.06522195786237717,
-0.010529105551540852,
0.009688238613307476,
0.009103288874030113,
0.02378188446164131,
-0.015610860660672188,
-0.01817001774907112,
-0.00894791167229414,
0.06101762503385544,
-0.0835016518831253,
-0.0033611792605370283,
0.017000118270516396,
0.021807678043842316,
0.03292173147201538,
-0.03992285579442978,
0.03133140131831169,
0.047783125191926956,
0.06299183517694473,
0.004537934437394142,
-0.07220479846000671,
-0.01897432468831539,
-0.030271176248788834,
0.006749778054654598,
0.00112020259257406,
-0.03712606430053711,
0.014504939317703247,
0.05567995458841324,
-0.03758305683732033,
-0.03553573042154312,
-0.03200775012373924,
0.016214091330766678,
-0.012302235700190067
] |
710,222
|
urllib3_future.poolmanager
|
connection_from_pool_key
|
Get a :class:`urllib3.connectionpool.ConnectionPool` 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 connection_from_pool_key(
self, pool_key: PoolKey, request_context: dict[str, typing.Any]
) -> HTTPConnectionPool:
"""
Get a :class:`urllib3.connectionpool.ConnectionPool` 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.
"""
# If the scheme, host, or port doesn't match existing open
# connections, open a new ConnectionPool.
if self.pools.busy:
self.pools.release()
pool = self.pools.locate(pool_key, block=False)
if pool:
return pool
# Make a fresh ConnectionPool of the desired type
scheme = request_context["scheme"]
host = request_context["host"]
port = request_context["port"]
pool = self._new_pool(scheme, host, port, request_context=request_context)
self.pools.put(pool, pool_key, immediately_unavailable=True)
return pool
|
(self, pool_key: urllib3_future.poolmanager.PoolKey, request_context: dict[str, typing.Any]) -> urllib3_future.connectionpool.HTTPConnectionPool
|
[
0.024984285235404968,
-0.07148435711860657,
-0.08376319706439972,
-0.009153485298156738,
-0.0449976809322834,
0.009626461192965508,
0.014903394505381584,
-0.004989437758922577,
0.02615281566977501,
-0.07589880377054214,
-0.018130764365196228,
0.027655210345983505,
0.0020831830333918333,
0.038839712738990784,
-0.00035792027483694255,
-0.02993662655353546,
0.014217115007340908,
-0.005986398085951805,
0.012696171179413795,
-0.05386367067694664,
0.013781234622001648,
0.07022309303283691,
0.06183934956789017,
-0.0029445101972669363,
0.03475913032889366,
0.05338142067193985,
0.0003921183233615011,
0.023908495903015137,
0.05575557425618172,
-0.024780256673693657,
0.03253335878252983,
0.04885568469762802,
-0.011778040789067745,
0.08762120455503464,
0.01862228848040104,
0.023797206580638885,
0.02865680865943432,
0.04989437758922577,
0.03969292342662811,
-0.04978308826684952,
-0.023889947682619095,
-0.034703485667705536,
-0.02982533723115921,
-0.021942397579550743,
0.026134267449378967,
0.05783296376466751,
-0.015515482053160667,
-0.01890978403389454,
0.028397133573889732,
-0.03998969495296478,
0.012510690838098526,
0.01172239612787962,
-0.0020831830333918333,
0.008995826356112957,
0.0038858260959386826,
0.008828893303871155,
-0.06488123536109924,
0.05030243471264839,
-0.02509557269513607,
0.07693750411272049,
-0.05267659202218056,
-0.0025109483394771814,
-0.03249626234173775,
0.008346643298864365,
-0.07059404999017715,
-0.04043484851717949,
-0.048299241811037064,
-0.00630171550437808,
0.003466175403445959,
-0.040100984275341034,
0.06109742820262909,
0.04228965938091278,
-0.03349786251783371,
-0.030660001561045647,
-0.010785717517137527,
0.00772064458578825,
0.030270492658019066,
0.012121180072426796,
-0.014059456065297127,
0.006538203917443752,
-0.01051677018404007,
-0.044255755841732025,
-0.03312689810991287,
-0.07037147134542465,
0.037392958998680115,
-0.05460559204220772,
-0.012835281901061535,
0.01707352139055729,
-0.001983487047255039,
-0.016832396388053894,
-0.010906280018389225,
-0.021682724356651306,
-0.026134267449378967,
0.016359420493245125,
0.04195579141378403,
-0.04303158074617386,
-0.006844247225672007,
0.0017388840205967426,
-0.0007853959104977548,
0.0009047992643900216,
-0.058241020888090134,
-0.04355092719197273,
-0.05471688136458397,
0.017398113384842873,
-0.013549383729696274,
-0.04139934852719307,
0.05575557425618172,
0.02787778712809086,
-0.0362800732254982,
-0.05007985979318619,
-0.019364211708307266,
-0.0029120510444045067,
0.0009256658959202468,
0.049375031143426895,
-0.010794991627335548,
0.039618730545043945,
-0.052639495581388474,
-0.010739346966147423,
-0.008763975463807583,
-0.03001081943511963,
-0.12056262046098709,
0.013697768561542034,
0.023222215473651886,
0.027191508561372757,
0.04510897025465965,
0.06632798910140991,
-0.0075908079743385315,
-0.05916842445731163,
-0.013438095338642597,
0.007280127611011267,
0.04151063784956932,
0.027933431789278984,
-0.015413467772305012,
0.058166828006505966,
-0.016581997275352478,
0.027043122798204422,
-0.1191529631614685,
0.0459250845015049,
-0.003283012891188264,
0.027043122798204422,
0.028990672901272774,
0.02837858721613884,
-0.014940490946173668,
0.03329383209347725,
0.025021381676197052,
-0.06321191042661667,
0.019957751035690308,
-0.01668401248753071,
-0.00009926129132509232,
-0.021404502913355827,
-0.009988149628043175,
0.003429079195484519,
0.09118244051933289,
0.013067133724689484,
-0.014662269502878189,
-0.014560255222022533,
0.007623267360031605,
0.013410273008048534,
-0.01862228848040104,
-0.03909938409924507,
0.013475191779434681,
0.05141532048583031,
0.027673758566379547,
-0.045405738055706024,
-0.021589983254671097,
-0.05568138137459755,
0.05620073154568672,
-0.09236951917409897,
0.021682724356651306,
-0.016563449054956436,
-0.05965067446231842,
0.009450254961848259,
-0.02160853147506714,
0.03689216077327728,
0.001090280245989561,
0.01496831327676773,
-0.013150599785149097,
-0.04777989536523819,
0.056126538664102554,
-0.04625894874334335,
0.02915760688483715,
-0.01317842211574316,
-0.020718222483992577,
0.0704827606678009,
-0.01764851249754429,
0.03657684475183487,
0.015116698108613491,
0.021070636808872223,
0.014829202555119991,
0.010424030013382435,
-0.03205110877752304,
0.030344683676958084,
-0.01650780439376831,
-0.07014890015125275,
0.010915554128587246,
-0.02925034612417221,
-0.033738985657691956,
0.002215338172391057,
-0.03869132697582245,
0.11566592752933502,
-0.007484156638383865,
-0.00008832081221044064,
0.0029004584066569805,
0.05137822404503822,
0.017119891941547394,
-0.05378947779536247,
-0.014634447172284126,
0.002306919312104583,
-0.009097840636968613,
0.020810963585972786,
-0.01804729737341404,
-0.008935544639825821,
-0.003104487434029579,
0.05338142067193985,
-0.034610748291015625,
0.06688443571329117,
-0.05701684579253197,
-0.03564944118261337,
0.032774485647678375,
-0.038839712738990784,
-0.00006310699973255396,
0.014615898951888084,
0.03234788030385971,
0.008680508472025394,
0.03284867852926254,
-0.032663196325302124,
0.010173630900681019,
0.010915554128587246,
-0.019030345603823662,
-0.002134190173819661,
0.007841207087039948,
-0.0060652270913124084,
0.06892472505569458,
-0.024650419130921364,
0.03292287141084671,
-0.10438868403434753,
-0.017119891941547394,
0.022331906482577324,
0.029992271214723587,
-0.008536760695278645,
0.055941056460142136,
0.019085990265011787,
0.012056262232363224,
-0.006783965975046158,
-0.058723270893096924,
0.007678911555558443,
-0.027488278225064278,
0.0011088283499702811,
0.02160853147506714,
0.011351434513926506,
0.02201659046113491,
-0.014560255222022533,
-0.0277850478887558,
-0.04640733450651169,
-0.017138440161943436,
-0.029120510444045067,
-0.07044566422700882,
-0.039247769862413406,
-0.04718635603785515,
-0.03423978388309479,
-0.038283269852399826,
0.05297335982322693,
-0.032088205218315125,
0.014170745387673378,
-0.015524756163358688,
0.01467154361307621,
0.03040032833814621,
0.002682518446817994,
-0.013549383729696274,
-0.0012554741697385907,
0.10765314847230911,
0.06506671756505966,
0.07267143577337265,
0.03368334099650383,
-0.0011905558640137315,
-0.028638260439038277,
0.001009132363833487,
0.058352310210466385,
-0.04143644496798515,
-0.05174918845295906,
0.02394559234380722,
0.021311761811375618,
0.00844402052462101,
-0.03544541075825691,
-0.011453448794782162,
0.002246638061478734,
-0.04173321649432182,
0.0021283940877765417,
0.04993147403001785,
0.029213251546025276,
-0.05620073154568672,
0.003684115596115589,
0.007178112864494324,
0.009056108072400093,
-0.05957648158073425,
0.05048791691660881,
-0.0013192333281040192,
0.024168169125914574,
0.016860218718647957,
0.003681797068566084,
-0.05623782426118851,
-0.019716626033186913,
-0.02507702447474003,
0.0638425424695015,
0.01404090877622366,
-0.03935905918478966,
0.04050904139876366,
-0.018946880474686623,
-0.0606151781976223,
0.04277190938591957,
0.023389149457216263,
0.01719408482313156,
0.011138131842017174,
0.00637127086520195,
0.014059456065297127,
0.0000250507964665303,
0.010414755903184414,
0.011258694343268871,
-0.02683909423649311,
0.032032560557127,
-0.06655056774616241,
-0.014467515051364899,
-0.03494461253285408,
-0.0266350656747818,
0.0015163067728281021,
0.0555700957775116,
0.011425626464188099,
-0.031884174793958664,
0.0008850919548422098,
0.07059404999017715,
-0.017546499148011208,
0.0594651959836483,
-0.013280436396598816,
0.01187078095972538,
-0.02355608157813549,
-0.005972486920654774,
0.00630171550437808,
-0.007498067803680897,
0.012761089950799942,
-0.0388026162981987,
0.013104229234158993,
-0.03153176233172417,
-0.021256117150187492,
-0.040286462754011154,
-0.002995517337694764,
-0.05705394223332405,
0.013883249834179878,
-0.03264464810490608,
0.0028262659907341003,
-0.0718553215265274,
-0.04559122025966644,
-0.03193981945514679,
0.0184275321662426,
-0.008397649973630905,
0.00829563569277525,
-0.0030117470305413008,
0.020440001040697098,
-0.010646606795489788,
-0.0015267401468008757,
-0.025559276342391968,
0.019642433151602745,
-0.023723013699054718,
-0.008652687072753906,
-0.005745272617787123,
-0.006426915060728788,
0.06113452464342117,
0.04169612005352974,
-0.017518676817417145,
-0.028044721111655235,
-0.04625894874334335,
-0.005596887785941362,
-0.0011511411285027862,
-0.02800762467086315,
0.024242360144853592,
-0.03531557321548462,
-0.04640733450651169,
-0.038060691207647324,
-0.026894738897681236,
-0.011787314899265766,
0.007229120470583439,
0.03002936765551567,
-0.018752124160528183,
0.07619557529687881,
0.023574629798531532,
-0.055347517132759094,
-0.054568495601415634,
-0.036150239408016205,
-0.0022733008954674006,
0.06669895350933075,
0.055347517132759094,
0.009552269242703915,
-0.011852232739329338,
0.03223659098148346,
0.07051985710859299,
-0.015988457947969437,
-0.013261888176202774,
0.03540831431746483,
-0.009000463411211967,
-0.01823277771472931,
0.012798186391592026,
0.028304394334554672,
-0.0011024523992091417,
-0.014430418610572815,
-0.005012623034417629,
-0.038765519857406616,
0.05193466693162918,
0.01603482849895954,
0.04748312383890152,
0.0050775413401424885,
-0.04748312383890152,
-0.0046949866227805614,
-0.019030345603823662,
-0.028341490775346756,
-0.033943016082048416,
-0.04904116317629814,
-0.015209438279271126,
0.024149620905518532,
0.03116079978644848,
0.042512234300374985,
0.015209438279271126,
0.05646040290594101,
-0.02810036577284336,
-0.011138131842017174,
-0.05237982049584389,
-0.0509701669216156,
-0.006255345419049263,
0.03958163782954216,
-0.006162604782730341,
0.02086660824716091,
0.006130145397037268,
-0.021960945799946785,
0.020625483244657516,
0.025114120915532112,
-0.011138131842017174,
0.05549590289592743,
0.0011725873919203877,
-0.005467051174491644,
0.07333917170763016,
0.046667009592056274,
-0.012427223846316338,
-0.030882578343153,
-0.025522179901599884,
-0.011351434513926506,
-0.02105208858847618,
0.04073161631822586,
-0.008193621411919594,
-0.010600236244499683,
0.012826007790863514,
-0.05586686357855797,
-0.01152764167636633,
0.013438095338642597,
0.009589365683495998,
0.019160183146595955,
0.03347931429743767,
-0.03173579275608063,
-0.01303931139409542,
-0.008365191519260406,
-0.013577206060290337,
0.026783449575304985,
0.015283631160855293,
0.015385645441710949,
-0.036743778735399246,
0.10231129825115204,
0.009672831743955612,
-0.0996403694152832,
0.019178731366991997,
0.022276263684034348,
0.015877170488238335,
0.06462156772613525,
-0.004541964735835791,
-0.04510897025465965,
0.029658405110239983,
-0.03108660876750946,
0.00029314684798009694,
-0.052342724055051804,
-0.020792415365576744,
0.047149259597063065,
0.035575248301029205,
0.051007263362407684,
-0.026375392451882362,
0.021311761811375618,
0.031884174793958664,
0.07307949662208557,
0.01910453848540783,
-0.04611056670546532,
-0.033757533878088,
0.011926425620913506,
0.022183522582054138,
-0.014207840897142887,
0.01804729737341404,
-0.05482817068696022,
0.0796826183795929,
-0.008893812075257301,
0.01728682592511177,
-0.0266350656747818,
0.005624710116535425,
-0.02713586390018463,
0.054568495601415634,
0.04139934852719307,
-0.009283321909606457,
0.02084806002676487,
0.009839764796197414,
-0.001669328659772873,
-0.02886083722114563,
0.02886083722114563,
0.0368550643324852,
-0.0424751378595829,
0.0449976809322834,
0.014458240941166878,
-0.03538976609706879,
-0.0016206398140639067,
0.01066515501588583,
-0.010563140735030174,
-0.001916250097565353,
0.0014768921537324786,
0.06146838888525963,
-0.01187078095972538,
0.028693903237581253,
-0.0532701313495636,
-0.04440414160490036,
0.07656653970479965,
0.09815651923418045,
0.05048791691660881,
0.0044677723199129105,
-0.0388026162981987,
-0.019271470606327057,
0.015608222223818302,
0.0049430676735937595,
-0.013503013178706169,
0.048002470284700394,
-0.0006712091853842139,
-0.02142305113375187,
-0.06844247132539749,
0.026616517454385757,
0.024928640574216843,
-0.003535730764269829,
-0.07864392548799515,
0.010257096961140633,
-0.03611314296722412,
-0.004919882398098707,
-0.031717244535684586,
0.059131328016519547,
0.007210572250187397,
-0.0631377175450325,
-0.043402545154094696,
0.034499458968639374,
0.030548714101314545,
0.0801277756690979,
-0.0780503898859024,
-0.02073677070438862,
0.024205265566706657,
0.0277850478887558,
0.007734555751085281,
-0.033720437437295914,
0.03223659098148346,
-0.0447751022875309,
0.023240763694047928,
-0.05137822404503822,
-0.01390179805457592,
-0.02856406755745411,
0.0277850478887558,
-0.003148539224639535,
-0.010692977346479893,
0.05301045626401901,
-0.015385645441710949,
-0.028063269332051277,
-0.00407594395801425,
0.029658405110239983,
0.03676232695579529,
0.010934102348983288,
0.02945437654852867,
-0.03648410364985466,
0.05167499557137489,
-0.002206064062193036,
0.037967950105667114,
0.012241743505001068,
-0.04562831670045853,
0.006612395867705345,
-0.008216806687414646,
0.035946208983659744,
-0.01758359558880329,
0.007521252613514662,
0.02401978336274624,
-0.04173321649432182,
-0.018603740260004997,
0.01510742399841547,
-0.03466638922691345,
0.022072233259677887,
0.03429542854428291,
0.03587201610207558,
-0.029584212228655815,
-0.021107733249664307,
-0.030845483765006065,
0.010850636288523674,
0.03538976609706879,
-0.049968570470809937,
-0.06506671756505966,
-0.02520686201751232,
0.008277087472379208,
0.019141634926199913,
0.0072152093052864075,
0.02973259799182415,
-0.03503735363483429,
0.008694419637322426,
-0.007836570031940937,
0.03212530165910721,
-0.054494306445121765,
-0.003320109099149704,
0.030734194442629814,
-0.08962439745664597,
-0.0008364031673409045,
-0.0017261321190744638,
-0.008360554464161396,
0.03116079978644848,
-0.04777989536523819,
-0.009422432631254196,
-0.043884795159101486,
0.05156370624899864,
-0.00989540945738554,
-0.0700376108288765,
0.0024506670888513327,
0.018798494711518288,
0.01708279550075531,
0.044441238045692444,
-0.009774846024811268,
0.013354629278182983,
0.041659023612737656,
-0.013336081057786942,
-0.04963470250368118,
0.005286207422614098,
0.024631870910525322,
0.016183214262127876,
0.01803802326321602,
0.0012125817593187094,
0.011499819345772266,
0.06491833180189133,
0.0647328570485115,
0.04466381296515465,
0.0032180945854634047,
0.023797206580638885,
0.01622958295047283,
-0.0127425417304039,
0.04050904139876366,
-0.04032355919480324,
0.013725590892136097,
-0.0007158405496738851,
0.04711216315627098,
-0.021868204697966576,
0.0365026518702507,
-0.023314956575632095,
-0.012853830121457577,
-0.02121902070939541,
0.07244886457920074,
-0.05319593846797943,
0.022832706570625305,
-0.02479880303144455,
-0.024631870910525322,
-0.016535626724362373,
-0.018881961703300476,
-0.03099386766552925,
-0.007321860641241074,
0.030567262321710587,
0.0670328140258789,
0.02431655302643776,
-0.03939615562558174,
0.012631253339350224,
-0.020217424258589745,
-0.09103405475616455,
-0.022350454702973366,
0.09340821206569672,
0.01260343100875616,
-0.04006388783454895,
-0.051489513367414474,
0.04113967716693878,
0.011555464006960392,
-0.013725590892136097,
0.025522179901599884,
0.009422432631254196,
-0.05783296376466751,
0.008712967857718468,
0.08984697610139847,
0.005953938700258732,
-0.03310834988951683,
0.04254933074116707,
-0.014921942725777626,
-0.02314802259206772,
-0.024557678028941154,
-0.015339274890720844,
0.0015105105703696609,
-0.022461744025349617,
0.02171982079744339,
0.0569426529109478,
0.010136534459888935,
-0.02259157970547676,
-0.09385336190462112,
-0.01680457405745983,
-0.02943582832813263,
-0.039247769862413406,
0.026783449575304985,
0.02229481004178524,
0.024780256673693657,
-0.062395792454481125,
-0.005244473926723003,
-0.043105773627758026,
-0.00150123646017164,
0.01366067212074995,
-0.00680715125054121,
0.023092379793524742,
0.03887680917978287,
0.03906228765845299,
-0.021478693932294846,
-0.035742178559303284,
0.03639136254787445,
0.001909294631332159,
0.008634138852357864,
0.049486320465803146,
-0.05271368846297264,
-0.006723684724420309,
-0.06655056774616241,
-0.0037675818894058466,
-0.025652015581727028,
-0.019252922385931015,
0.015654591843485832,
-0.017305374145507812,
0.056905556470155716,
-0.018650110810995102,
0.05549590289592743,
0.0005544141749851406,
0.006315626669675112,
0.057573288679122925,
0.022851252928376198,
0.005926116369664669,
-0.051600802689790726,
-0.05315884202718735,
0.032199494540691376,
-0.025169765576720238,
0.04711216315627098,
-0.014152197167277336,
0.07352465391159058,
0.02895357646048069,
-0.022554485127329826,
-0.019364211708307266,
-0.013261888176202774,
0.008337369188666344,
0.007345045916736126,
-0.07626976817846298,
-0.002106368076056242,
0.001154618919827044,
0.002178241964429617,
0.00979339424520731,
-0.0003005371254403144,
0.057758770883083344,
0.03212530165910721,
0.01124942023307085,
-0.007989591918885708,
-0.10030809789896011,
-0.024650419130921364,
0.004013344179838896,
0.02316657081246376,
0.029899530112743378,
0.010210726410150528,
0.021960945799946785,
0.04536864161491394,
-0.04611056670546532,
-0.0370776429772377,
-0.058834560215473175,
0.02973259799182415,
-0.012872378341853619
] |
710,224
|
urllib3_future.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 get_response(
self, *, promise: ResponsePromise | None = None
) -> HTTPResponse | None:
"""
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.
"""
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.pools.borrow(
promise or ResponsePromise, block=False, not_idle_only=True
) as pool:
response = pool.get_response(promise=promise)
except UnavailableTraffic:
return None
if promise is not None and response is None:
raise ValueError(
"Invoked get_response with promise=... that no connections across pools 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.pools.forget(from_promise)
# Retrieve request ctx
method = typing.cast(str, from_promise.get_parameter("method"))
redirect = typing.cast(bool, from_promise.get_parameter("pm_redirect"))
# Handle redirect?
if redirect and response.get_redirect_location():
url = typing.cast(str, from_promise.get_parameter("pm_url"))
body = typing.cast(
typing.Union[_TYPE_BODY, None], from_promise.get_parameter("body")
)
headers = typing.cast(
typing.Union[HTTPHeaderDict, None],
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.Union[_TYPE_TIMEOUT, None], 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"))
redirect_location = response.get_redirect_location()
assert isinstance(redirect_location, str)
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=response._pool
)
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,
urljoin(url, redirect_location),
True,
body=body,
headers=headers,
retries=retries,
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("pm_url"))
body = typing.cast(
typing.Union[_TYPE_BODY, None], from_promise.get_parameter("body")
)
headers = typing.cast(
typing.Union[HTTPHeaderDict, None],
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.Union[_TYPE_TIMEOUT, None], 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")
)
redirect_location = response.get_redirect_location()
assert isinstance(redirect_location, str)
try:
retries = retries.increment(
method, url, response=response, _pool=response._pool
)
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,
urljoin(url, redirect_location),
True,
body=body,
headers=headers,
retries=retries,
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.007983393035829067,
-0.06522953510284424,
-0.08223875612020493,
0.04085103049874306,
-0.03765147924423218,
0.03983955830335617,
-0.04136708378791809,
0.022190427407622337,
-0.025121627375483513,
-0.02452300302684307,
0.05457812920212746,
0.04561939090490341,
0.045000120997428894,
0.04343131184577942,
0.01728789135813713,
0.0008566537289880216,
0.08455068618059158,
-0.026318879798054695,
0.005671460181474686,
-0.08521123975515366,
0.014666324481368065,
0.03837395831942558,
0.04512397572398186,
0.01851610466837883,
-0.030075769871473312,
-0.006729376036673784,
-0.04264690354466438,
0.0023106427397578955,
-0.0007876311428844929,
0.020095238462090492,
-0.013283292762935162,
-0.022190427407622337,
-0.020301660522818565,
0.037754688411951065,
0.023408319801092148,
0.034101009368896484,
-0.022045930847525597,
-0.016637660562992096,
-0.08438555151224136,
0.00598109420388937,
-0.040334973484277725,
-0.045454252511262894,
-0.04454599320888519,
0.006208159029483795,
-0.00698740454390645,
0.037527624517679214,
-0.05887171998620033,
0.03682578727602959,
0.019032161682844162,
-0.0016242876881733537,
0.012664025649428368,
0.04578452929854393,
-0.012550492770969868,
-0.011384204961359501,
0.06531210243701935,
0.05759190022945404,
-0.05577538162469864,
0.04983041062951088,
-0.020208770409226418,
-0.006445545237511396,
-0.021922077983617783,
0.009371585212647915,
-0.029766136780381203,
-0.021447306498885155,
-0.008205297403037548,
-0.023635385558009148,
0.0006953860865905881,
-0.005759189836680889,
0.018423214554786682,
-0.061513930559158325,
0.007137060631066561,
0.034699637442827225,
-0.023573458194732666,
-0.004396800883114338,
0.07559195160865784,
-0.04524783045053482,
0.04012855142354965,
-0.019971385598182678,
-0.0015159158501774073,
0.010140509344637394,
0.001530107343569398,
-0.01660669595003128,
0.028238609433174133,
-0.041263874620199203,
0.026236310601234436,
-0.0405413955450058,
0.050160687416791916,
-0.027536772191524506,
-0.07703690975904465,
-0.01299430150538683,
-0.026236310601234436,
-0.007905985228717327,
0.0051579843275249004,
-0.01568811573088169,
0.021044781431555748,
0.0009495438425801694,
-0.01935211755335331,
0.007302198559045792,
0.01340714655816555,
-0.01820647157728672,
-0.036536797881126404,
0.017958763986825943,
-0.05730290710926056,
0.023325752466917038,
0.05800474435091019,
-0.015791326761245728,
0.04512397572398186,
-0.002175177913159132,
0.030674396082758904,
-0.013995450921356678,
-0.03777533397078514,
-0.019754640758037567,
-0.005346344783902168,
-0.0030550542287528515,
0.0022396850399672985,
0.039426714181900024,
-0.027639983221888542,
-0.022458776831626892,
-0.005465037655085325,
0.011446132324635983,
-0.049789126962423325,
-0.013180081732571125,
0.0037672121543437243,
0.0004418733296915889,
-0.0053257024846971035,
0.04859187453985214,
-0.008210457861423492,
-0.02757805585861206,
-0.004907696973532438,
-0.004665150307118893,
-0.004471628926694393,
0.031128525733947754,
-0.00875747762620449,
0.06811945140361786,
-0.03418358042836189,
0.05965612456202507,
-0.09123878180980682,
0.03071567974984646,
-0.04388543963432312,
0.02491520531475544,
0.021591801196336746,
0.013159439899027348,
-0.018836060538887978,
0.006977083161473274,
0.01980624720454216,
-0.045908380299806595,
0.034720279276371,
-0.02415144257247448,
-0.00808144360780716,
-0.0389932245016098,
0.020631937310099602,
-0.06894513964653015,
0.04714691638946533,
0.0056456574238836765,
-0.0319955013692379,
0.00003828090484603308,
-0.014057377353310585,
0.006703573279082775,
-0.029456501826643944,
-0.05585794895887375,
-0.0011024256236851215,
-0.05007811635732651,
0.018227113410830498,
-0.05102766305208206,
-0.0013946425169706345,
-0.04334874078631401,
0.043224889785051346,
-0.035917527973651886,
0.03275926411151886,
0.02642209082841873,
-0.020404871553182602,
0.020363587886095047,
-0.0252248402684927,
-0.022665198892354965,
-0.0058211167342960835,
0.045371681451797485,
0.06613779813051224,
-0.014924352988600731,
-0.061968058347702026,
-0.038291387259960175,
0.06184420362114906,
-0.06622036546468735,
-0.044298287481069565,
0.0064610266126692295,
-0.024130798876285553,
0.03232577443122864,
0.00470385467633605,
0.010816543363034725,
0.027825763449072838,
0.06027539446949959,
-0.03055054135620594,
0.046651504933834076,
0.0774497538805008,
-0.026112455874681473,
0.036598723381757736,
-0.021426664665341377,
-0.0076531171798706055,
0.014717929996550083,
0.0680781677365303,
-0.009701861068606377,
-0.06977083534002304,
0.0017971665365621448,
0.017638809978961945,
0.001955854007974267,
-0.02840374782681465,
-0.03286247327923775,
-0.026690440252423286,
-0.007869861088693142,
-0.014253479428589344,
0.022211069241166115,
-0.04363773390650749,
0.04289461299777031,
-0.003240834455937147,
-0.010408858768641949,
-0.009985692799091339,
0.026256952434778214,
-0.004257465712726116,
-0.04710563272237778,
0.032800547778606415,
0.0025893133133649826,
0.03315146639943123,
-0.04768361523747444,
-0.032428987324237823,
0.0015352679183706641,
-0.012519529089331627,
0.030447330325841904,
-0.023428963497281075,
0.01974431984126568,
0.02947714366018772,
0.012581456452608109,
0.022809695452451706,
0.046816639602184296,
0.08983510732650757,
-0.05767446756362915,
0.035318903625011444,
-0.04813774675130844,
-0.036763861775398254,
0.05247262120246887,
-0.04031433165073395,
0.04413314908742905,
0.0028821753803640604,
0.01798972859978676,
0.0028563723899424076,
0.04768361523747444,
-0.057096485048532486,
0.01783491112291813,
-0.0057746716775000095,
0.002291290555149317,
0.0003107627562712878,
-0.01661701686680317,
0.0010314678074792027,
-0.05201848968863487,
-0.015595225617289543,
-0.06357815116643906,
0.0029286204371601343,
-0.037135422229766846,
0.01850578375160694,
-0.04991298168897629,
-0.009562525898218155,
0.03306889906525612,
0.05788089334964752,
0.014078020118176937,
-0.04184185713529587,
-0.005975933745503426,
-0.06279374659061432,
-0.00987215992063284,
-0.013345220126211643,
-0.010857827961444855,
-0.020621616393327713,
0.013345220126211643,
0.11815628409385681,
0.006997725460678339,
-0.006301049143075943,
0.010909433476626873,
-0.02429593726992607,
0.010764937847852707,
0.026711082085967064,
0.004954142030328512,
-0.03552532568573952,
-0.045371681451797485,
0.0032201921567320824,
0.005392789840698242,
0.01874317042529583,
-0.018423214554786682,
-0.01942436397075653,
0.036454226821660995,
-0.0261330995708704,
0.09066079556941986,
0.03300696983933449,
-0.03116980940103531,
0.017102111130952835,
-0.039880841970443726,
0.03282118961215019,
-0.028011543676257133,
-0.047270771116018295,
-0.01827871985733509,
-0.07691305130720139,
0.02720649540424347,
-0.01973399892449379,
-0.022272996604442596,
0.0029053979087620974,
-0.026607871055603027,
0.08298187702894211,
0.020590651780366898,
0.012282143346965313,
-0.055032260715961456,
0.02194271981716156,
-0.007854378782212734,
-0.04215149208903313,
0.00907227210700512,
0.02225235477089882,
0.04524783045053482,
-0.014139946550130844,
-0.046197373420000076,
0.02216978557407856,
0.020229412242770195,
0.03901386633515358,
0.03552532568573952,
0.04264690354466438,
-0.006904835347086191,
-0.061513930559158325,
-0.0011766087263822556,
0.03403908386826515,
0.025617042556405067,
0.03529826179146767,
0.010641084052622318,
0.018990878015756607,
0.029353290796279907,
-0.023945018649101257,
0.012746593914926052,
-0.042935896664857864,
0.010837185196578503,
-0.09206447005271912,
-0.027928974479436874,
-0.023284466937184334,
-0.010992002673447132,
-0.019754640758037567,
-0.037135422229766846,
0.0021596963051706553,
-0.04114001989364624,
0.0011553213698789477,
-0.0617203526198864,
0.006332012824714184,
0.0315413698554039,
-0.010099224746227264,
-0.00884004682302475,
0.023945018649101257,
0.00573338707908988,
0.03998405486345291,
-0.08694519102573395,
-0.03129366412758827,
-0.016565412282943726,
0.0249977745115757,
0.05631208047270775,
0.016720229759812355,
-0.010486267507076263,
-0.0019248905591666698,
-0.010950718075037003,
-0.0675414651632309,
-0.010806222446262836,
-0.009206446819007397,
0.008354953490197659,
-0.035380829125642776,
0.0308601763099432,
-0.02384180761873722,
-0.0012320848181843758,
0.03670193627476692,
0.0024577188305556774,
-0.01789683848619461,
0.0054443953558802605,
-0.04204827919602394,
-0.04012855142354965,
-0.0339978002011776,
0.01063076313585043,
-0.006688091438263655,
-0.0015004341257736087,
-0.05973869562149048,
0.021818866953253746,
-0.04157350957393646,
0.0356285385787487,
0.044215716421604156,
-0.024089515209197998,
-0.04640379548072815,
-0.022727126255631447,
0.012519529089331627,
-0.04458727687597275,
0.03940607234835625,
-0.022871622815728188,
0.0018603835487738252,
0.021756939589977264,
0.025431262329220772,
-0.0038446206599473953,
0.009423190727829933,
0.016627339646220207,
0.015203023329377174,
-0.020074596628546715,
-0.035834960639476776,
0.02658722922205925,
-0.02140602096915245,
-0.06233961880207062,
0.0679956004023552,
0.04479369893670082,
0.022603273391723633,
0.03313082456588745,
-0.04297718033194542,
0.00519926892593503,
0.07183505594730377,
-0.025121627375483513,
-0.0019132792949676514,
0.006713894661515951,
-0.02941521815955639,
-0.007905985228717327,
-0.0432661734521389,
-0.04867444559931755,
-0.015595225617289543,
0.017865873873233795,
-0.013252330012619495,
0.028300534933805466,
0.042853329330682755,
-0.013665175065398216,
0.05494968965649605,
-0.029146868735551834,
-0.012767236679792404,
-0.011858977377414703,
-0.019290190190076828,
0.006063663400709629,
0.00257125124335289,
0.029662925750017166,
-0.07555066794157028,
0.03139687329530716,
0.07228919118642807,
-0.0095676863566041,
-0.01036757417023182,
-0.014253479428589344,
0.06931670010089874,
0.02757805585861206,
-0.029683567583560944,
0.0666332095861435,
0.006450705695897341,
-0.014191552065312862,
0.04264690354466438,
0.04685792699456215,
-0.027103284373879433,
0.007627314422279596,
0.10783515870571136,
-0.005387629382312298,
-0.022458776831626892,
-0.019703036174178123,
-0.04093359783291817,
-0.026256952434778214,
-0.005434074439108372,
0.005346344783902168,
0.05606437101960182,
0.02316061407327652,
-0.07414699345827103,
0.04479369893670082,
0.000010966199624817818,
0.013923202641308308,
-0.07257817685604095,
0.013438110239803791,
0.012767236679792404,
-0.03734184429049492,
0.10956910252571106,
-0.0050883167423307896,
-0.01707114651799202,
0.034555140882730484,
0.044463422149419785,
-0.0014888228615745902,
-0.052224911749362946,
-0.0001407866511726752,
-0.023573458194732666,
-0.039199646562337875,
-0.005568249151110649,
-0.011569985188543797,
-0.02658722922205925,
-0.02301611751317978,
-0.021364737302064896,
0.02270648442208767,
0.030963387340307236,
0.004082006402313709,
-0.023036759346723557,
-0.0013417467707768083,
0.0815369188785553,
-0.023098686710000038,
-0.013716780580580235,
-0.05482583865523338,
0.03430743142962456,
0.0009992143604904413,
0.00217259768396616,
-0.004014919046312571,
-0.017938122153282166,
0.07146349549293518,
0.012736272998154163,
0.020022990182042122,
-0.05115151405334473,
0.04937628284096718,
-0.0400872640311718,
-0.024646855890750885,
0.05932585150003433,
-0.05263775959610939,
0.023883093148469925,
-0.07468368858098984,
0.058541443198919296,
-0.00788018200546503,
0.032346419990062714,
0.023800523951649666,
-0.02666979655623436,
0.02132345177233219,
0.014408295974135399,
0.0188154187053442,
-0.0010772678069770336,
0.0423579141497612,
-0.021612444892525673,
-0.029828062281012535,
-0.024357864633202553,
0.043224889785051346,
0.029146868735551834,
0.06101851537823677,
-0.03366752341389656,
-0.028383104130625725,
0.10197275131940842,
0.06543596088886261,
-0.0003554338763933629,
-0.0027867048047482967,
-0.0441744327545166,
0.005521804094314575,
0.011889941059052944,
-0.029828062281012535,
0.014583755284547806,
-0.03253220021724701,
0.016410594806075096,
0.0012636932078748941,
-0.012808521278202534,
-0.036144595593214035,
0.035773031413555145,
0.0037310882471501827,
-0.09222961217164993,
-0.0522661991417408,
-0.010661725886166096,
-0.021137671545147896,
0.00033446907764300704,
0.08228003978729248,
-0.024564286693930626,
0.008396238088607788,
-0.0527203269302845,
-0.01636931113898754,
-0.007844057865440845,
0.024502361193299294,
-0.019909458234906197,
-0.022438134998083115,
-0.0057024238631129265,
-0.05115151405334473,
0.06667449325323105,
-0.026256952434778214,
-0.09074336290359497,
-0.021529875695705414,
0.06192677468061447,
-0.060068972408771515,
0.013056227937340736,
-0.004373578354716301,
-0.0015120453899726272,
-0.016720229759812355,
-0.005563088692724705,
-0.016348669305443764,
0.0008979382109828293,
0.020920928567647934,
0.04516525939106941,
0.05965612456202507,
-0.006068823859095573,
-0.015141095966100693,
0.07059652358293533,
0.016947293654084206,
-0.04052075371146202,
-0.012220216915011406,
0.028754664584994316,
0.010950718075037003,
0.024481717497110367,
-0.002377730095759034,
0.0874406024813652,
0.09503695368766785,
0.06440384685993195,
0.031107882037758827,
-0.029064299538731575,
-0.06729376316070557,
-0.024337222799658775,
0.006486829370260239,
0.009232250042259693,
0.0490872897207737,
0.04549553617835045,
-0.014418616890907288,
-0.08294059336185455,
0.0037207670975476503,
-0.001408834126777947,
-0.05342216417193413,
0.029126226902008057,
0.06593137234449387,
-0.03969506174325943,
0.02475006692111492,
0.002794445725157857,
0.04272947460412979,
0.046114806085824966,
0.059697411954402924,
-0.02741291932761669,
-0.028011543676257133,
-0.004719336051493883,
-0.009897963143885136,
-0.05515611171722412,
0.007328001782298088,
0.009743145667016506,
-0.009696700610220432,
0.028052829205989838,
-0.016266100108623505,
0.010512069799005985,
-0.045289114117622375,
-0.10213789343833923,
-0.03222256526350975,
-0.11708288639783859,
0.09066079556941986,
-0.031582653522491455,
-0.027681268751621246,
0.013138797134160995,
-0.029621640220284462,
-0.034472569823265076,
0.06374329328536987,
-0.05750932916998863,
0.027681268751621246,
0.0376308374106884,
-0.0032588965259492397,
-0.05866529792547226,
0.016967935487627983,
0.006832587532699108,
0.03009641170501709,
0.050160687416791916,
-0.015904860571026802,
-0.009227089583873749,
0.010723653249442577,
0.0446285605430603,
-0.0051347617991268635,
0.036619365215301514,
0.030818890780210495,
0.025472545996308327,
-0.04549553617835045,
-0.01798972859978676,
-0.01615256629884243,
-0.019919779151678085,
0.035834960639476776,
0.00579015351831913,
-0.021426664665341377,
0.05445427820086479,
-0.024357864633202553,
-0.007637635339051485,
0.06357815116643906,
0.04066524654626846,
-0.015141095966100693,
-0.055032260715961456,
-0.036516156047582626,
-0.009552204981446266,
0.020064275711774826,
0.010857827961444855,
0.0016887946985661983,
0.02605053037405014,
-0.013923202641308308,
0.06056438386440277,
-0.03368816524744034,
0.01615256629884243,
0.007942108437418938,
-0.021612444892525673,
-0.035463400185108185,
0.021364737302064896,
0.014108983799815178,
0.014418616890907288,
-0.035318903625011444,
-0.0010327579220756888,
0.023821165785193443,
0.02148859016597271,
-0.032346419990062714,
-0.014108983799815178,
-0.039426714181900024,
-0.01759752444922924,
0.02644273266196251,
0.052142344415187836,
0.023057403042912483,
-0.07996810972690582,
0.045908380299806595,
-0.0010521101066842675,
0.004257465712726116,
0.04138772562146187,
-0.0008366565452888608,
-0.029539071023464203,
-0.046114806085824966,
0.03612395003437996,
0.005057353060692549,
0.012684667482972145,
0.037672121077775955,
-0.051234085112810135,
0.033791378140449524,
-0.04921114444732666,
-0.0675414651632309,
-0.004324553068727255,
0.03670193627476692,
0.0679956004023552,
-0.07365157455205917,
-0.015502335503697395,
-0.02057000994682312,
-0.007472497411072254,
0.044463422149419785,
-0.0038910657167434692,
0.03566982224583626,
0.011931224726140499,
0.01387159712612629,
-0.032408345490694046,
0.024130798876285553,
0.07348643988370895,
-0.027598699554800987,
-0.030818890780210495,
0.007911145687103271,
-0.049252428114414215,
0.04632122814655304,
-0.03610330820083618,
0.020982855930924416,
-0.06039924547076225,
-0.009851518087089062,
0.07204148173332214,
0.014841783791780472,
0.020157165825366974,
0.019537897780537605,
0.03304825350642204,
0.025493187829852104,
0.029146868735551834,
0.026876220479607582,
-0.03197485953569412,
0.03055054135620594,
-0.045990951359272,
-0.029043657705187798,
-0.010754615999758244,
-0.03915836289525032,
0.033481743186712265,
0.009743145667016506,
0.020301660522818565,
0.010899112559854984,
0.016875045374035835,
-0.03292440250515938,
-0.019331473857164383,
-0.028857877478003502,
0.019094089046120644,
-0.021509231999516487,
0.01698857918381691,
-0.03418358042836189,
0.018113581463694572,
0.0077821314334869385,
0.032800547778606415,
0.02042551524937153,
-0.01898055709898472,
0.018227113410830498,
-0.018928950652480125,
-0.00672421557828784,
0.013696137815713882,
0.02896108850836754,
0.004432925023138523,
0.020817717537283897,
-0.030818890780210495,
0.0658075213432312,
0.015502335503697395,
0.013097512535750866,
-0.032119352370500565,
0.036536797881126404,
-0.013283292762935162,
-0.0021080905571579933
] |
710,228
|
urllib3_future.poolmanager
|
urlopen
|
Same as :meth:`urllib3.HTTPConnectionPool.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.connectionpool.ConnectionPool` can be chosen for it.
|
def urlopen(
self, method: str, url: str, redirect: bool = True, **kw: typing.Any
) -> HTTPResponse | ResponsePromise:
"""
Same as :meth:`urllib3.HTTPConnectionPool.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.connectionpool.ConnectionPool` can be chosen for it.
"""
u = parse_url(url)
if u.scheme is None:
warnings.warn(
"URLs without a scheme (ie 'https://') are deprecated and will raise an error "
"in a future version of urllib3. To avoid this DeprecationWarning ensure all URLs "
"start with 'https://' or 'http://'. Read more in this issue: "
"https://github.com/urllib3/urllib3/issues/2920",
category=DeprecationWarning,
stacklevel=2,
)
conn = self.connection_from_host(u.host, port=u.port, scheme=u.scheme)
kw["assert_same_host"] = False
kw["redirect"] = False
if "headers" not in kw:
kw["headers"] = self.headers
if self._proxy_requires_url_absolute_form(u):
response = conn.urlopen(method, url, **kw)
else:
response = conn.urlopen(method, u.request_uri, **kw)
self.pools.memorize(response, conn)
self.pools.release()
if "multiplexed" in kw and kw["multiplexed"]:
if isinstance(response, ResponsePromise):
response.set_parameter("pm_redirect", redirect)
response.set_parameter("pm_url", url)
assert isinstance(response, ResponsePromise)
return response
# the established connection is not capable of doing multiplexed request
kw["multiplexed"] = False
assert isinstance(response, HTTPResponse)
redirect_location = redirect and response.get_redirect_location()
if not redirect_location:
return response
# Support relative URLs for redirecting.
redirect_location = urljoin(url, redirect_location)
# RFC 7231, Section 6.4.4
if response.status == 303:
method = "GET"
kw["body"] = None
kw["headers"] = HTTPHeaderDict(kw["headers"])
for should_be_removed_header in NOT_FORWARDABLE_HEADERS:
kw["headers"].discard(should_be_removed_header)
retries = kw.get("retries")
if not isinstance(retries, Retry):
retries = Retry.from_int(retries, redirect=redirect)
# Strip headers marked as unsafe to forward to the redirected location.
# Check remove_headers_on_redirect to avoid a potential network call within
# conn.is_same_host() which may use socket.gethostbyname() in the future.
if retries.remove_headers_on_redirect and not conn.is_same_host(
redirect_location
):
new_headers = kw["headers"].copy()
for header in kw["headers"]:
if header.lower() in retries.remove_headers_on_redirect:
new_headers.pop(header, None)
kw["headers"] = new_headers
try:
retries = retries.increment(method, url, response=response, _pool=conn)
except MaxRetryError:
if retries.raise_on_redirect:
response.drain_conn()
raise
return response
kw["retries"] = retries
kw["redirect"] = redirect
log.info("Redirecting %s -> %s", url, redirect_location)
response.drain_conn()
return self.urlopen(method, redirect_location, **kw) # type: ignore[no-any-return]
|
(self, method: str, url: str, redirect: bool = True, **kw: Any) -> urllib3_future.response.HTTPResponse | urllib3_future.backend._base.ResponsePromise
|
[
-0.025863399729132652,
-0.07400911301374435,
-0.04879491776227951,
0.0624072328209877,
-0.04230288788676262,
0.03346535563468933,
-0.040208686143159866,
0.032292600721120834,
-0.013811265118420124,
-0.03518260270357132,
0.04119296371936798,
0.018575575202703476,
0.028271732851862907,
0.02596811018884182,
0.0029920917004346848,
-0.018680285662412643,
0.02923506684601307,
-0.0003694304032251239,
-0.008743295446038246,
-0.0772760733962059,
0.03451245650649071,
0.03158057481050491,
-0.0048506963066756725,
-0.013046881183981895,
-0.030763834714889526,
0.026575429365038872,
-0.05139172822237015,
0.02806231379508972,
-0.007727607153356075,
0.006743331905454397,
-0.04165368527173996,
0.017926372587680817,
-0.015706518664956093,
0.03214600682258606,
0.048878684639930725,
0.01952843740582466,
0.010057407431304455,
-0.00852340366691351,
-0.0576324500143528,
0.014617533423006535,
-0.05423984304070473,
-0.06039679795503616,
-0.04301491752266884,
0.008015559986233711,
0.023852966725826263,
0.06437578052282333,
-0.06270042061805725,
0.03453340008854866,
0.013832206837832928,
-0.046030569821596146,
-0.006675270386040211,
0.06290984153747559,
0.02412521280348301,
-0.029193181544542313,
0.047035787254571915,
0.030575355514883995,
-0.04213535413146019,
0.06567418575286865,
-0.01859651878476143,
0.016575612127780914,
0.02745499461889267,
-0.012973584234714508,
-0.023224705830216408,
-0.021109560504555702,
-0.02299434319138527,
-0.026051878929138184,
0.006622915156185627,
-0.0018324271077290177,
0.016942098736763,
-0.02810419723391533,
-0.002560162451118231,
0.05377911776304245,
-0.020606951788067818,
-0.024146154522895813,
0.098678819835186,
-0.022659270092844963,
0.0374443382024765,
0.002475085435435176,
0.007251176051795483,
0.006628150586038828,
0.001973785925656557,
-0.038177311420440674,
0.03233448415994644,
0.007795668672770262,
-0.02406238578259945,
-0.06965317577123642,
0.03262767568230629,
-0.047454629093408585,
-0.02994709461927414,
0.010272063314914703,
-0.026994269341230392,
0.00017293530981987715,
0.019266663119196892,
-0.03635535389184952,
0.029025645926594734,
0.011696120724081993,
-0.05294143781065941,
0.004554890561848879,
0.009402968920767307,
-0.011622823774814606,
-0.01046054158359766,
0.01755988784134388,
-0.06973694264888763,
0.005036557093262672,
0.034198325127363205,
-0.04364318028092384,
0.015444743447005749,
-0.028020428493618965,
-0.004842843394726515,
-0.008952715434134007,
-0.037046439945697784,
-0.03239731118083,
0.005916121881455183,
0.0300099216401577,
-0.02030329219996929,
0.006031303200870752,
-0.021067677065730095,
-0.027203690260648727,
-0.019381843507289886,
0.008507697843015194,
-0.08586230129003525,
0.005324509926140308,
0.006696212571114302,
-0.025528328493237495,
0.0069736940786242485,
0.03738151490688324,
0.008465813472867012,
-0.025004778057336807,
0.015884526073932648,
-0.003939718473702669,
0.004520859569311142,
0.0076752519235014915,
-0.012470975518226624,
0.018648872151970863,
-0.01319347508251667,
0.033067457377910614,
-0.06374752521514893,
0.054114192724227905,
-0.03030310943722725,
0.03882651403546333,
-0.0012152919080108404,
0.038009773939847946,
-0.023790139704942703,
0.06462708860635757,
0.036397237330675125,
-0.03480564430356026,
0.017633184790611267,
0.004062752705067396,
0.011696120724081993,
-0.010900324210524559,
0.051726799458265305,
-0.03614593297243118,
0.0826372280716896,
0.020198583602905273,
-0.015036373399198055,
0.012837461195886135,
-0.031119847670197487,
-0.015821699053049088,
-0.026847675442695618,
-0.025633038952946663,
0.0037512402050197124,
-0.05562201887369156,
0.038533326238393784,
0.007083639968186617,
-0.012680395506322384,
-0.04783158376812935,
0.027203690260648727,
-0.05985230579972267,
0.024795357137918472,
0.030931370332837105,
-0.02263832837343216,
0.028020428493618965,
0.020010104402899742,
-0.011968366801738739,
0.03643912449479103,
0.07614520192146301,
0.03233448415994644,
-0.030575355514883995,
-0.0398317314684391,
-0.021350394934415817,
0.06068998575210571,
-0.052145641297101974,
-0.009706628508865833,
-0.04825042560696602,
-0.03648100793361664,
0.03013557381927967,
-0.030742892995476723,
-0.01794731430709362,
0.0062669008038938046,
0.038491442799568176,
-0.030575355514883995,
0.0004237487737555057,
0.057674337178468704,
-0.023434124886989594,
0.031769052147865295,
-0.052438829094171524,
-0.01782166212797165,
0.010806084610521793,
0.08611360192298889,
-0.0005245322827249765,
-0.07509809732437134,
0.01972738653421402,
0.04322433844208717,
-0.00577999884262681,
-0.011874128133058548,
-0.009015541523694992,
-0.028920935466885567,
-0.020669778808951378,
-0.018669815734028816,
0.06383129209280014,
0.0021845148876309395,
0.05047027766704559,
-0.03570615127682686,
-0.05222940817475319,
-0.021381806582212448,
0.026219414547085762,
0.016177713871002197,
-0.0510985404253006,
-0.009942226111888885,
0.0012813900830224156,
0.05558013170957565,
-0.051433611661195755,
-0.031413037329912186,
0.008183096535503864,
0.009324436075985432,
0.015968292951583862,
-0.01678503304719925,
-0.02431369014084339,
0.027182748541235924,
0.022973401471972466,
0.008853240869939327,
0.03260673210024834,
0.07442795485258102,
-0.021287567913532257,
0.08058491349220276,
-0.07120288163423538,
-0.03553861752152443,
0.037234921008348465,
-0.0031543923541903496,
0.02473253197968006,
-0.043768830597400665,
0.02053365483880043,
0.007570541929453611,
0.08276288211345673,
-0.03643912449479103,
0.03501506522297859,
-0.012397678568959236,
0.016125358641147614,
0.0005530003109015524,
-0.012481446377933025,
-0.02341318316757679,
0.0027093745302408934,
-0.01390550471842289,
-0.051852453500032425,
0.016690794378519058,
-0.01497354730963707,
0.0010706610046327114,
0.0064239660277962685,
-0.041507091373205185,
0.02906752936542034,
0.05520317703485489,
0.027350284159183502,
0.004088930319994688,
-0.012701338157057762,
-0.07375781238079071,
-0.027245573699474335,
-0.004295732825994492,
-0.030931370332837105,
0.002594193210825324,
0.05591520667076111,
0.12883533537387848,
0.003583703888580203,
-0.03457528352737427,
0.017486590892076492,
0.018575575202703476,
0.04368506371974945,
0.008397751487791538,
-0.060941290110349655,
0.009696157649159431,
-0.06793592870235443,
-0.0005418749060481787,
0.0061150710098445415,
-0.0009738041553646326,
-0.025277024134993553,
-0.01824050396680832,
0.017748365178704262,
-0.06571607291698456,
0.1039562076330185,
0.001735570258460939,
-0.05746491625905037,
0.009696157649159431,
-0.03656477481126785,
0.024941951036453247,
-0.020962966606020927,
-0.04439709335565567,
0.00543969077989459,
-0.0766478106379509,
0.04950694739818573,
-0.013601845130324364,
-0.02305716834962368,
-0.03453340008854866,
-0.02418803796172142,
0.038072600960731506,
0.04096259921789169,
0.04435520991683006,
-0.08330737054347992,
0.01319347508251667,
-0.04207252711057663,
-0.035517673939466476,
-0.01859651878476143,
0.035748034715652466,
0.02538173459470272,
-0.026554487645626068,
-0.051726799458265305,
0.010162117891013622,
0.024460284039378166,
-0.0027826714795082808,
0.023371299728751183,
0.01720387302339077,
-0.033318761736154556,
-0.051433611661195755,
-0.02448122762143612,
-0.008460577577352524,
0.05277390033006668,
-0.005560107529163361,
-0.0054344553500413895,
0.04536042362451553,
0.02412521280348301,
-0.02894187718629837,
0.01613583043217659,
-0.020449887961149216,
0.06253288686275482,
-0.06018737703561783,
-0.009502443484961987,
-0.03398890420794487,
-0.03899405151605606,
-0.014743185602128506,
-0.03570615127682686,
0.03870085999369621,
0.0018428982002660632,
-0.024355575442314148,
-0.022596444934606552,
0.01557039562612772,
-0.0019057242898270488,
-0.00958621222525835,
0.009806103073060513,
0.00043389256461523473,
-0.011748475953936577,
0.03629252687096596,
-0.09306635707616806,
-0.032418254762887955,
-0.054700568318367004,
-0.02257550321519375,
0.021842531859874725,
-0.0055653429590165615,
0.03784224018454552,
0.004722426645457745,
-0.040313396602869034,
-0.02977955900132656,
-0.052145641297101974,
-0.00968568678945303,
-0.022261371836066246,
-0.032711442559957504,
0.02448122762143612,
-0.0008193567045964301,
0.009266845881938934,
0.04720332473516464,
-0.008109798654913902,
-0.05365346744656563,
0.029402602463960648,
-0.04314057156443596,
-0.0445646271109581,
0.012889816425740719,
0.00432452792301774,
0.04778970032930374,
-0.01601017825305462,
-0.0029475900810211897,
-0.002942354418337345,
-0.008298276923596859,
0.0069736940786242485,
0.038617093116045,
-0.03302557393908501,
-0.008293041959404945,
-0.04106730967760086,
0.014879308640956879,
-0.05679477006196976,
0.033549122512340546,
0.02215666137635708,
-0.00934537872672081,
0.03126644343137741,
0.021737821400165558,
-0.0006995945004746318,
0.012460504658520222,
0.012973584234714508,
0.021674996241927147,
-0.011193512007594109,
-0.056250277906656265,
0.008256393484771252,
0.0007578395307064056,
-0.04343375936150551,
0.024020502343773842,
0.055538248270750046,
0.007711900398135185,
0.001951534883119166,
-0.03380042687058449,
0.021434161812067032,
0.03524542599916458,
-0.03340252861380577,
0.02483724057674408,
-0.032774269580841064,
-0.008785178884863853,
0.00977992545813322,
-0.012292968109250069,
-0.031057022511959076,
0.019392315298318863,
0.036585718393325806,
-0.012376736849546432,
0.021067677065730095,
0.02175876311957836,
0.011612352915108204,
0.05859578400850296,
-0.042156293988227844,
0.002272209618240595,
0.029465429484844208,
-0.03530825302004814,
-0.015476156026124954,
0.012491917237639427,
0.002798378001898527,
-0.09080462157726288,
0.014460467733442783,
0.07329708337783813,
0.014135866425931454,
-0.017339996993541718,
0.0036203525960445404,
0.041507091373205185,
0.027371225878596306,
-0.014900250360369682,
0.062239695340394974,
0.03158057481050491,
-0.00824592262506485,
0.017256228253245354,
-0.030889486894011497,
-0.05775810405611992,
-0.003269573673605919,
0.0838099792599678,
-0.025172313675284386,
0.016575612127780914,
-0.03560144081711769,
-0.05692042410373688,
-0.006429201457649469,
0.0076804873533546925,
-0.0008900360553525388,
0.025402676314115524,
0.015758873894810677,
-0.0802498385310173,
0.022324198856949806,
-0.000740169663913548,
0.025172313675284386,
-0.060941290110349655,
0.047328975051641464,
0.05859578400850296,
-0.030470645055174828,
0.0688992589712143,
-0.03991549834609032,
-0.04720332473516464,
0.04081600531935692,
0.030344992876052856,
-0.02609376236796379,
-0.027894776314496994,
-0.01568557694554329,
-0.04385260120034218,
-0.032125066965818405,
0.014963076449930668,
0.004565361421555281,
-0.04355940967798233,
0.009827044792473316,
-0.02040800265967846,
0.0300099216401577,
0.05130796134471893,
0.002272209618240595,
-0.06605114787817001,
0.012167315930128098,
0.07384157925844193,
-0.027915718033909798,
-0.017706481739878654,
-0.01642901822924614,
0.047747816890478134,
-0.0144081125035882,
0.04494158551096916,
-0.0003857913543470204,
0.009052189998328686,
0.06429201364517212,
0.008528639562427998,
0.012355794198811054,
-0.04883680120110512,
0.038072600960731506,
-0.07166361063718796,
-0.02680579200387001,
0.013811265118420124,
-0.031643398106098175,
0.062365349382162094,
-0.05080535262823105,
0.03459622338414192,
0.012324381619691849,
0.025339849293231964,
0.013444779440760612,
0.005497281439602375,
0.03891028091311455,
0.007371592801064253,
-0.007879436947405338,
-0.01833474263548851,
0.055663902312517166,
0.017486590892076492,
-0.004528712946921587,
-0.017779778689146042,
-0.02024046704173088,
-0.029402602463960648,
0.06500404328107834,
-0.004973731003701687,
-0.016355721279978752,
0.07765302807092667,
0.03673231229186058,
-0.0012669925345107913,
0.0006164808291941881,
-0.038135427981615067,
0.007094110827893019,
0.03648100793361664,
-0.012638512067496777,
0.008366338908672333,
-0.02335035800933838,
-0.01524579431861639,
0.0032146007288247347,
-0.02496289275586605,
-0.018125321716070175,
0.04284738376736641,
0.061066944152116776,
-0.07212433218955994,
-0.037653759121894836,
-0.02936071902513504,
0.0013252374483272433,
0.003539202269166708,
0.08389375358819962,
-0.04921375960111618,
0.01581122912466526,
-0.06429201364517212,
-0.02917223982512951,
-0.029612023383378983,
0.008711881935596466,
-0.03750716522336006,
-0.007659545633941889,
-0.03482658788561821,
-0.01817767694592476,
0.07028143107891083,
-0.009931755252182484,
-0.062365349382162094,
0.029570138081908226,
0.05134984478354454,
-0.049171872437000275,
0.018805937841534615,
-0.032648615539073944,
-0.01940278522670269,
-0.006711918860673904,
-0.025591153651475906,
-0.008062679320573807,
0.007397770415991545,
0.015863584354519844,
0.09482548385858536,
0.02804137021303177,
-0.03327687829732895,
-0.022449851036071777,
0.08979940414428711,
-0.007334944326430559,
-0.04862738028168678,
0.02276398055255413,
0.038114484399557114,
0.007251176051795483,
0.06203027814626694,
-0.0469520203769207,
0.07585201412439346,
0.05675288662314415,
0.01895253174006939,
0.05201999098062515,
-0.050595931708812714,
-0.07534940540790558,
-0.012470975518226624,
-0.0042800260707736015,
0.0007676560780964792,
0.03939194977283478,
0.007162172347307205,
-0.049590714275836945,
-0.06793592870235443,
-0.006094129290431738,
-0.04035528004169464,
-0.0600198432803154,
0.008219745010137558,
0.018847821280360222,
-0.0725012868642807,
0.026784850284457207,
0.03470093384385109,
0.09532809257507324,
0.044899702072143555,
0.03120361641049385,
-0.022868691012263298,
-0.02347601018846035,
-0.030156515538692474,
0.012460504658520222,
-0.08837534487247467,
-0.00912025198340416,
-0.007994618266820908,
-0.008675233460962772,
0.0006642548250965774,
-0.017894960939884186,
0.019444670528173447,
-0.023015284910798073,
-0.11342200636863708,
-0.012387207709252834,
-0.09415534138679504,
0.04301491752266884,
-0.010465776547789574,
0.012408149428665638,
0.017706481739878654,
-0.07178925722837448,
-0.01236626598984003,
0.0630354955792427,
-0.03733963146805763,
0.027978545054793358,
0.02693144418299198,
0.052857670933008194,
-0.067140132188797,
0.013172533363103867,
-0.005827118176966906,
0.016942098736763,
0.08711881935596466,
0.01850227825343609,
-0.024355575442314148,
-0.016324307769536972,
0.02460687980055809,
0.03507789224386215,
0.048292309045791626,
-0.004965877626091242,
0.049590714275836945,
-0.004701484460383654,
-0.007727607153356075,
0.0026831969153136015,
0.002242105547338724,
-0.003374283667653799,
0.040795065462589264,
-0.005115089472383261,
0.05750679969787598,
-0.03935006260871887,
0.01020400132983923,
0.053821004927158356,
0.06408259272575378,
-0.007722371723502874,
-0.03470093384385109,
-0.021779704838991165,
-0.011685649864375591,
-0.017989199608564377,
0.03805165737867355,
0.0037774175871163607,
0.03884745389223099,
0.015036373399198055,
0.06600926071405411,
-0.0410044826567173,
0.022680211812257767,
0.024858182296156883,
0.004125578794628382,
-0.028606805950403214,
0.0033847547601908445,
-0.01078514289110899,
0.005261683836579323,
-0.04142332449555397,
-0.018470866605639458,
0.06412447988986969,
0.0377165861427784,
-0.048166655004024506,
0.010162117891013622,
-0.06768462061882019,
-0.07053273916244507,
0.023099053651094437,
0.030533472076058388,
-0.013968330807983875,
-0.07568448036909103,
0.0335700660943985,
-0.017182931303977966,
0.02887905202805996,
0.024502169340848923,
-0.00921449065208435,
-0.03589462861418724,
-0.015109670348465443,
0.055538248270750046,
0.04556984454393387,
0.020334705710411072,
0.03178999200463295,
-0.03107796423137188,
0.04203064367175102,
-0.026722023263573647,
-0.06994636356830597,
0.03909875825047493,
0.02293151617050171,
0.10068925470113754,
-0.039077818393707275,
-0.03991549834609032,
-0.0050156149081885815,
-0.012156845070421696,
0.012251084670424461,
0.01557039562612772,
0.011706591583788395,
0.008052208460867405,
0.040857888758182526,
-0.025591153651475906,
0.02437651716172695,
0.04045999050140381,
-0.015266736038029194,
0.01627195253968239,
-0.016690794378519058,
-0.01849180832505226,
-0.021224742755293846,
-0.03754904866218567,
0.003735533682629466,
-0.037234921008348465,
-0.02609376236796379,
0.045192889869213104,
0.023308472707867622,
0.029318833723664284,
0.005968477111309767,
0.0076752519235014915,
0.017120104283094406,
0.012135903351008892,
0.013591374270617962,
-0.018879234790802002,
0.04242854192852974,
-0.012785105966031551,
-0.025046661496162415,
-0.0038690390065312386,
-0.02548644319176674,
0.016449959948658943,
0.017423763871192932,
0.02680579200387001,
0.03218789026141167,
0.0013003688072785735,
-0.048166655004024506,
-0.015884526073932648,
-0.046156223863363266,
0.025151371955871582,
-0.06542288511991501,
0.04510911926627159,
0.008172624744474888,
0.013706554658710957,
0.03945477306842804,
0.003832390531897545,
0.011622823774814606,
-0.001106655108742416,
0.03608310967683792,
0.006701448000967503,
-0.01443952601402998,
-0.045318540185689926,
-0.002227707765996456,
0.01765412651002407,
0.008418694138526917,
-0.03819825127720833,
0.060061726719141006,
0.02137133665382862,
0.0019423727644607425,
-0.03719303756952286,
0.04540231078863144,
0.007596719544380903,
0.02002057619392872
] |
710,229
|
urllib3_future.poolmanager
|
ProxyManager
|
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.ProxyManager("https://localhost:3128/")
resp1 = proxy.request("GET", "https://google.com/")
resp2 = proxy.request("GET", "https://httpbin.org/")
print(len(proxy.pools))
# 1
resp3 = proxy.request("GET", "https://httpbin.org/")
resp4 = proxy.request("GET", "https://twitter.com/")
print(len(proxy.pools))
# 3
|
class ProxyManager(PoolManager):
"""
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.ProxyManager("https://localhost:3128/")
resp1 = proxy.request("GET", "https://google.com/")
resp2 = proxy.request("GET", "https://httpbin.org/")
print(len(proxy.pools))
# 1
resp3 = proxy.request("GET", "https://httpbin.org/")
resp4 = 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, HTTPConnectionPool):
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)
def connection_from_host(
self,
host: str | None,
port: int | None = None,
scheme: str | None = "http",
pool_kwargs: dict[str, typing.Any] | None = None,
) -> HTTPConnectionPool:
if scheme == "https":
return super().connection_from_host(
host, port, scheme, pool_kwargs=pool_kwargs
)
return 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]
def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
*,
multiplexed: Literal[False] = ...,
**kw: typing.Any,
) -> HTTPResponse:
...
@typing.overload
def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
*,
multiplexed: Literal[True],
**kw: typing.Any,
) -> ResponsePromise:
...
def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
**kw: typing.Any,
) -> HTTPResponse | 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 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.00974209327250719,
-0.08179903030395508,
-0.04350147023797035,
0.028357267379760742,
-0.04951849579811096,
0.046672604978084564,
-0.03197561576962471,
0.010885532014071941,
-0.002535891951993108,
-0.04309491440653801,
0.02667006105184555,
0.022807780653238297,
0.024251053109765053,
0.04443655163049698,
-0.002048024907708168,
-0.010235042311251163,
0.0037657232023775578,
-0.010214714333415031,
-0.005181045737117529,
-0.04203787073493004,
-0.016963541507720947,
0.02943463996052742,
0.06655318289995193,
-0.01085504051297903,
-0.03146741911768913,
0.014920597895979881,
-0.01745140738785267,
0.004893915727734566,
0.0031863811891525984,
-0.011922248639166355,
-0.0775708481669426,
0.024494986981153488,
-0.017847800627350807,
0.054234545677900314,
0.07720495015382767,
-0.003537035547196865,
0.01754288375377655,
0.05752764642238617,
-0.055372901260852814,
0.008476688526570797,
-0.017847800627350807,
-0.07346463203430176,
-0.013538308441638947,
-0.014940925873816013,
0.009208489209413528,
0.03762673959136009,
-0.05468175560235977,
0.04760768637061119,
0.0035116258077323437,
-0.08131115883588791,
-0.033073313534259796,
0.035614289343357086,
0.0132638830691576,
0.028540218248963356,
0.04561556130647659,
0.04018804058432579,
-0.003328675637021661,
0.04691654071211815,
-0.008888326585292816,
0.057852890342473984,
-0.0008372508455067873,
-0.03077627532184124,
-0.0008188288193196058,
-0.027462845668196678,
-0.024108760058879852,
-0.0647643432021141,
-0.02695465087890625,
0.00997078139334917,
0.053380776196718216,
-0.04264770448207855,
0.0527709424495697,
0.022401224821805954,
-0.020002545788884163,
-0.03374413028359413,
0.07687970250844955,
0.00887308083474636,
0.023092370480298996,
-0.01800025813281536,
0.022746797651052475,
-0.04756702855229378,
-0.004012197721749544,
-0.013833061791956425,
-0.017390424385666847,
-0.027056289836764336,
0.034231998026371,
-0.0818396806716919,
0.034984126687049866,
0.002156016184017062,
-0.024657608941197395,
-0.020785165950655937,
-0.024393348023295403,
0.03722018375992775,
0.035471994429826736,
-0.019301237538456917,
-0.02292974665760994,
-0.008776523172855377,
-0.046509984880685806,
-0.002337695797905326,
-0.017126163467764854,
0.008832424879074097,
-0.03516707569360733,
0.00580358412116766,
-0.0887104794383049,
0.04211918264627457,
0.01454453356564045,
-0.035411011427640915,
0.029963163658976555,
-0.022584175691008568,
-0.026080554351210594,
-0.0258162934333086,
-0.037545427680015564,
-0.0370778888463974,
0.020297298207879066,
0.0143310921266675,
0.0027417107485234737,
0.02378351427614689,
-0.03254479169845581,
-0.06374794989824295,
-0.02526744268834591,
0.016018299385905266,
-0.059479113668203354,
0.03961886465549469,
-0.0054834214970469475,
0.02101893536746502,
0.007897346280515194,
0.026548095047473907,
0.019555334001779556,
-0.010550123639404774,
0.0068657114170491695,
-0.05025029927492142,
0.07098464667797089,
0.02272646874189377,
-0.03242282569408417,
0.06399188190698624,
0.053462088108062744,
0.004655064083635807,
-0.04638801887631416,
0.041489019989967346,
-0.04089951515197754,
0.023295648396015167,
0.000009310287168773357,
0.021893030032515526,
-0.03368314728140831,
0.034130360931158066,
-0.013172408565878868,
-0.03919197991490364,
-0.011647824198007584,
-0.0146868284791708,
0.010672089643776417,
-0.04768899455666542,
0.013639947399497032,
-0.029393984004855156,
0.026913994923233986,
0.02376318722963333,
-0.04614408314228058,
0.021344179287552834,
-0.04150934889912605,
0.014808795414865017,
-0.015062892809510231,
0.0065201385878026485,
-0.030898241326212883,
-0.023254992440342903,
-0.016353707760572433,
-0.033581510186195374,
-0.029678573831915855,
-0.042281802743673325,
0.026161866262555122,
-0.12790246307849884,
0.004639818333089352,
0.05130734294652939,
-0.020815657451748848,
-0.01266421377658844,
-0.0012247493723407388,
0.03970017284154892,
0.058625347912311554,
0.08155509829521179,
0.011241268366575241,
-0.0066319415345788,
-0.04838014021515846,
-0.008624064736068249,
0.03813493624329567,
-0.03872444108128548,
-0.06147123873233795,
-0.046509984880685806,
-0.020236315205693245,
0.030755946412682533,
0.01092618703842163,
0.0027467927429825068,
0.04268835857510567,
0.04342016205191612,
-0.037606410682201385,
0.0030085130129009485,
0.048989973962306976,
-0.046875882893800735,
0.03106086328625679,
-0.03691526874899864,
-0.027991367504000664,
-0.01471731998026371,
0.056714534759521484,
0.017319276928901672,
-0.08578327298164368,
0.03077627532184124,
0.036325760185718536,
0.010977006517350674,
-0.0066116140224039555,
-0.030024146661162376,
-0.01728878542780876,
-0.011170120909810066,
-0.027828745543956757,
0.05399060994386673,
0.022014997899532318,
0.023722531273961067,
-0.03996443748474121,
0.02900775708258152,
-0.008120952174067497,
-0.00918307900428772,
0.011790118180215359,
-0.00426375400274992,
-0.0031381025910377502,
-0.026080554351210594,
0.07236693054437637,
-0.011363234370946884,
-0.017553046345710754,
-0.01323339156806469,
0.03630543500185013,
0.005895059090107679,
0.015835348516702652,
-0.007561937905848026,
0.028540218248963356,
0.00049993657739833,
0.03925296291708946,
-0.0005895059439353645,
0.056714534759521484,
0.045046381652355194,
0.07533479481935501,
-0.0678948163986206,
-0.03327659144997597,
0.02915005199611187,
-0.005305553320795298,
0.010402746498584747,
-0.040086403489112854,
0.022868763655424118,
0.05195783078670502,
-0.016130100935697556,
-0.042769670486450195,
0.015286498703062534,
-0.034292981028556824,
0.012501590885221958,
0.022665485739707947,
0.039090339094400406,
-0.027910055592656136,
0.020398937165737152,
-0.05411257967352867,
-0.04590015113353729,
-0.0298005398362875,
-0.03756575658917427,
-0.001621141331270337,
-0.026263505220413208,
-0.026161866262555122,
-0.002305933739989996,
0.004182443022727966,
0.06057681515812874,
-0.03618346527218819,
0.02786940149962902,
-0.04215983673930168,
0.003742854343727231,
0.021771064028143883,
-0.048786696046590805,
-0.043826717883348465,
0.0359395332634449,
0.10936351120471954,
0.009198324754834175,
-0.0034176097251474857,
0.009650618769228458,
0.020500576123595238,
0.02986152470111847,
0.01306060515344143,
-0.006281287409365177,
-0.034557241946458817,
-0.031081192195415497,
0.041712626814842224,
0.02022615075111389,
-0.019748447462916374,
-0.05236438661813736,
-0.03730149567127228,
-0.0024355233181267977,
-0.07313939183950424,
0.09171898663043976,
-0.02758481167256832,
-0.019189434126019478,
-0.01337568648159504,
-0.013152080588042736,
0.03419134393334389,
-0.025023510679602623,
-0.014270109124481678,
-0.013345194049179554,
-0.045737527310848236,
0.0698869451880455,
-0.016922885552048683,
-0.0567551925778389,
-0.053746677935123444,
0.014849450439214706,
0.025795966386795044,
0.027767762541770935,
0.03896837309002876,
-0.08045739680528641,
0.022868763655424118,
-0.030085129663348198,
-0.001050057471729815,
0.002464744495227933,
0.049925051629543304,
0.007866854779422283,
-0.003000890137627721,
-0.011729135178029537,
0.021344179287552834,
-0.0023681875318288803,
-0.02116123028099537,
0.018152717500925064,
0.015896331518888474,
0.01301995012909174,
-0.07305807620286942,
0.024515315890312195,
0.007800789549946785,
0.004911702126264572,
0.0016427395166829228,
0.011475037783384323,
0.04724178463220596,
0.022746797651052475,
-0.02815398946404457,
0.04919325187802315,
-0.06191844865679741,
0.016922885552048683,
-0.03970017284154892,
-0.018325503915548325,
-0.02013467624783516,
-0.005696863401681185,
0.015672726556658745,
0.02355990931391716,
0.011119301430881023,
-0.04748571664094925,
0.03701690584421158,
-0.015347481705248356,
-0.027788089588284492,
0.0013873716816306114,
0.001483928645029664,
-0.03974083065986633,
0.012277984991669655,
-0.022258929908275604,
0.0413670539855957,
-0.04407064989209175,
0.003826706437394023,
-0.046591296792030334,
0.030044473707675934,
0.014442894607782364,
0.029109396040439606,
-0.03374413028359413,
-0.02250286377966404,
-0.04083853214979172,
-0.021771064028143883,
-0.031731680035591125,
-0.04606277123093605,
-0.005122603382915258,
-0.011475037783384323,
0.03360183909535408,
-0.015957314521074295,
-0.007221447303891182,
0.08993014693260193,
-0.027544155716896057,
-0.005615551955997944,
-0.021547457203269005,
-0.03665100783109665,
-0.02675137296319008,
-0.03553297743201256,
-0.032870035618543625,
0.005320799071341753,
-0.0279507115483284,
0.0054935854859650135,
-0.0016503625083714724,
-0.03445560485124588,
0.028397923335433006,
0.04549359530210495,
-0.009762421250343323,
0.012958966195583344,
0.02093762345612049,
-0.01779698021709919,
-0.06724432855844498,
-0.023824170231819153,
0.015611742623150349,
0.041631314903497696,
0.033784788101911545,
0.03327659144997597,
-0.006774235982447863,
0.006133910734206438,
0.0547630675137043,
-0.00992504321038723,
-0.04561556130647659,
-0.0279507115483284,
0.011790118180215359,
-0.04132639616727829,
-0.060820747166872025,
0.04756702855229378,
0.04002542048692703,
0.06769154220819473,
0.019230090081691742,
-0.03203659877181053,
0.042566392570734024,
0.06098337098956108,
0.02963791787624359,
0.05142930895090103,
0.028784150257706642,
-0.012440607883036137,
-0.0011351800058037043,
-0.016790755093097687,
-0.014788467437028885,
-0.03219921886920929,
-0.0009090333478525281,
-0.021608442068099976,
0.03106086328625679,
0.06086140498518944,
0.026161866262555122,
0.06175582855939865,
0.006174566224217415,
-0.011515692807734013,
0.02843857929110527,
-0.01774616166949272,
0.0143310921266675,
0.010794056579470634,
-0.002140770433470607,
-0.06321942806243896,
0.0021522047463804483,
0.041285742074251175,
0.013009785674512386,
0.018772713840007782,
-0.024291709065437317,
0.059601079672575,
0.004489900544285774,
-0.030877914279699326,
0.04144836589694023,
-0.015225514769554138,
-0.009935207664966583,
0.00668784324079752,
-0.016079282388091087,
-0.02923136204481125,
0.023539580404758453,
0.08797867596149445,
0.020896969363093376,
0.005193750374019146,
-0.05732436850667,
-0.0268123559653759,
0.019067468121647835,
-0.0576089583337307,
-0.0010011437116190791,
0.01845763437449932,
-0.0016401986358687282,
-0.08265279233455658,
0.02355990931391716,
0.03567527234554291,
0.005478339735418558,
-0.03892771899700165,
0.014849450439214706,
0.0755787268280983,
-0.05130734294652939,
0.07753019034862518,
-0.005264897830784321,
-0.07496888935565948,
-0.005280143581330776,
0.03333757445216179,
0.03049168549478054,
-0.003288020147010684,
0.00804472342133522,
-0.020775001496076584,
-0.002387244952842593,
-0.018752386793494225,
-0.013731422834098339,
-0.04386737197637558,
0.0004484818782657385,
-0.00864439271390438,
0.0567551925778389,
0.037951983511447906,
-0.06228435039520264,
-0.01432092860341072,
0.019585825502872467,
0.09911830723285675,
-0.03354085236787796,
-0.014483550563454628,
-0.027340877801179886,
0.060820747166872025,
-0.028662184253335,
0.01103799045085907,
0.04740440845489502,
-0.010763565078377724,
0.060739438980817795,
-0.01563207060098648,
-0.02447465993463993,
-0.014971417374908924,
0.020256642252206802,
-0.017065180465579033,
0.0039232634007930756,
0.024881215766072273,
-0.035207733511924744,
0.005874731577932835,
-0.01230847742408514,
0.0544784776866436,
-0.008349640294909477,
0.062162384390830994,
0.032646432518959045,
-0.05712109059095383,
0.03197561576962471,
-0.002248761709779501,
0.001962902257218957,
-0.02187270298600197,
0.0020302380435168743,
-0.022868763655424118,
-0.014605517499148846,
0.027300221845507622,
0.038317885249853134,
0.0053563727997243404,
0.07248890399932861,
-0.03345954418182373,
-0.06321942806243896,
0.06748826056718826,
0.08537671715021133,
-0.013294374570250511,
-0.02215729095041752,
-0.03268708661198616,
0.02618219330906868,
0.03339856117963791,
0.011840937659144402,
0.028174318373203278,
0.021242540329694748,
0.027991367504000664,
-0.012501590885221958,
-0.06667514890432358,
0.015957314521074295,
0.04561556130647659,
0.06098337098956108,
-0.07122857868671417,
-0.02390548214316368,
-0.028275957331061363,
-0.00027823663549497724,
0.02341761440038681,
0.09594716876745224,
-0.03780968859791756,
-0.05793420225381851,
-0.07057809084653854,
-0.011231103911995888,
0.01705501601099968,
0.048217520117759705,
-0.02101893536746502,
-0.0316503681242466,
-0.022543519735336304,
0.007882100529968739,
0.04272901639342308,
-0.02122221328318119,
-0.024942198768258095,
-0.027503499761223793,
0.07423709332942963,
-0.04756702855229378,
0.009320291690528393,
0.007993903942406178,
0.012338968925178051,
-0.0265277661383152,
-0.04342016205191612,
0.014554698020219803,
-0.005961124319583178,
0.020642871037125587,
0.04018804058432579,
0.034069377928972244,
-0.04116377606987953,
0.005869649350643158,
0.03465888276696205,
-0.03352052718400955,
-0.028214972466230392,
0.027788089588284492,
-0.008461442776024342,
-0.00444162217900157,
0.019494350999593735,
-0.000052209070418030024,
0.08171771466732025,
0.03411003202199936,
0.029454968869686127,
0.04508703947067261,
-0.05240504443645477,
-0.07200103253126144,
0.02278745360672474,
0.012359296903014183,
-0.012532082386314869,
0.024149414151906967,
0.011718970723450184,
-0.018833698704838753,
-0.09830519556999207,
-0.009513406082987785,
-0.03967984765768051,
-0.03268708661198616,
-0.009579471312463284,
0.0053665367886424065,
-0.08480754494667053,
0.021832047030329704,
0.07228562235832214,
0.050047021359205246,
-0.005905223079025745,
0.02589760534465313,
-0.0379316583275795,
-0.029251690953969955,
-0.03034939058125019,
-0.02319400943815708,
-0.07033415138721466,
0.03313429653644562,
0.009091604501008987,
-0.03614281117916107,
-0.016475673764944077,
-0.011485201306641102,
0.013202900066971779,
-0.04838014021515846,
-0.09350783377885818,
-0.03807395324110985,
-0.05142930895090103,
0.06716302037239075,
0.01602846197783947,
-0.023478597402572632,
0.019291073083877563,
-0.056999124586582184,
-0.00417736079543829,
0.016892394050955772,
-0.03203659877181053,
0.01380256935954094,
0.0293736569583416,
0.004896456375718117,
-0.04846145212650299,
0.014239617623388767,
0.02843857929110527,
0.0005088300094939768,
0.05541355535387993,
0.008303902111947536,
0.03522806242108345,
0.009599799290299416,
0.011678315699100494,
0.053380776196718216,
0.032646432518959045,
-0.051835864782333374,
0.019687464460730553,
-0.004040148109197617,
0.02384449727833271,
-0.002929742680862546,
-0.054153233766555786,
-0.0027950711082667112,
0.027462845668196678,
-0.02321433648467064,
0.07744888216257095,
-0.014575025998055935,
-0.006758990231901407,
0.03532969951629639,
0.048217520117759705,
0.025165803730487823,
0.0037606412079185247,
0.006886038929224014,
-0.07053743302822113,
0.006072927266359329,
0.04520900547504425,
-0.03347986936569214,
0.01722780242562294,
0.006769154220819473,
0.0570397786796093,
0.006637023761868477,
0.0015423711156472564,
0.012623557820916176,
-0.01871173083782196,
-0.03417101502418518,
0.01836615800857544,
0.03203659877181053,
0.03947656974196434,
-0.012999622151255608,
-0.026771700009703636,
0.0164045263081789,
0.0567551925778389,
-0.04321688413619995,
0.006814891938120127,
-0.061877794563770294,
-0.0559014230966568,
0.02957693487405777,
0.0533401221036911,
-0.0015131499385461211,
-0.07883117347955704,
0.04606277123093605,
-0.01092618703842163,
0.018416978418827057,
-0.012156018987298012,
-0.0027137601282447577,
-0.005023505073040724,
-0.002777284476906061,
-0.00645407335832715,
0.04756702855229378,
0.07370857149362564,
0.04116377606987953,
-0.06163385882973671,
-0.0061796484515070915,
-0.02278745360672474,
-0.09627241641283035,
0.044965073466300964,
-0.03848050534725189,
0.04590015113353729,
-0.05764961242675781,
-0.02760513871908188,
-0.004558506887406111,
0.008598655462265015,
0.023315975442528725,
-0.023519253358244896,
0.015581251122057438,
0.06797613203525543,
0.03990345075726509,
0.037545427680015564,
0.015957314521074295,
0.06964301317930222,
-0.035411011427640915,
0.03553297743201256,
0.007272266782820225,
-0.01994156278669834,
0.011668151244521141,
-0.03949689492583275,
0.013650110922753811,
-0.033073313534259796,
0.03099988028407097,
0.0382162444293499,
-0.013731422834098339,
0.02929234504699707,
0.002133147558197379,
0.016160592436790466,
-0.032585449516773224,
0.02107991836965084,
0.037748705595731735,
0.006769154220819473,
0.04707916080951691,
-0.03404904901981354,
-0.03898870199918747,
-0.03510609269142151,
-0.033927083015441895,
0.04484310373663902,
-0.002136958995833993,
-0.009716683998703957,
0.018833698704838753,
0.003974082879722118,
-0.0693177655339241,
-0.009472750127315521,
0.027422189712524414,
0.03140643611550331,
-0.08249017596244812,
0.03813493624329567,
0.027991367504000664,
0.023051714524626732,
0.01611993834376335,
0.010936351493000984,
0.018864190205931664,
-0.026853011921048164,
0.012938638217747211,
-0.0006241266964934766,
-0.061511892825365067,
-0.012328804470598698,
-0.03532969951629639,
-0.018864190205931664,
-0.02504383772611618,
-0.02715792879462242,
0.019748447462916374,
0.027483172714710236,
-0.024576298892498016,
-0.026853011921048164,
0.008369967341423035,
-0.0012075977865606546,
0.03256512060761452
] |
710,246
|
urllib3_future.poolmanager
|
urlopen
|
Same as HTTP(S)ConnectionPool.urlopen, ``url`` must be absolute.
|
def urlopen(
self,
method: str,
url: str,
redirect: bool = True,
**kw: typing.Any,
) -> HTTPResponse | 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 super().urlopen(method, url, redirect=redirect, **kw) # type: ignore[no-any-return]
|
(self, method: str, url: str, redirect: bool = True, **kw: Any) -> urllib3_future.response.HTTPResponse | urllib3_future.backend._base.ResponsePromise
|
[
-0.016707776114344597,
-0.09703218191862106,
-0.02736038528382778,
0.051506299525499344,
-0.010932940989732742,
0.021230462938547134,
-0.02594003640115261,
0.036443136632442474,
-0.027173496782779694,
-0.02384689263999462,
0.048441335558891296,
0.052141718566417694,
0.03242504596710205,
0.03051879070699215,
-0.013596093282103539,
-0.013568059541285038,
0.01194213517010212,
-0.008979962207376957,
-0.023865580558776855,
-0.04418029263615608,
0.009531281888484955,
0.04025564715266228,
0.017287127673625946,
-0.013418549671769142,
-0.020258644595742226,
0.04167599603533745,
-0.03177093714475632,
0.005307615734636784,
-0.0014460448874160647,
0.009690136648714542,
-0.04593703895807266,
0.05666440352797508,
-0.021099640056490898,
0.02394033595919609,
0.06395302712917328,
0.010886218398809433,
0.02760333940386772,
0.007853962481021881,
-0.0657845288515091,
-0.0039153010584414005,
-0.04945053160190582,
-0.059991005808115005,
-0.008237083442509174,
0.01828697882592678,
0.033322107046842575,
0.027136119082570076,
-0.06264481693506241,
0.03610673546791077,
0.0019179368391633034,
-0.06107495725154877,
-0.019567159935832024,
0.09007995575666428,
0.016063012182712555,
-0.007891340181231499,
0.04193763807415962,
0.019567159935832024,
-0.011745902709662914,
0.030799122527241707,
0.0038709151558578014,
0.06088807061314583,
-0.011755247600376606,
-0.01960453763604164,
-0.03188307210803032,
-0.03743364289402962,
-0.016203178092837334,
-0.034742455929517746,
-0.036050669848918915,
0.02472526580095291,
0.03939596563577652,
-0.004104524850845337,
0.0027285630349069834,
0.0861179307103157,
0.016259245574474335,
0.00174272945150733,
0.12528963387012482,
-0.026799721643328667,
0.0124560771510005,
-0.033023085445165634,
0.03349030762910843,
-0.02896762080490589,
-0.01542759407311678,
-0.01662367582321167,
0.03575165197253227,
-0.0005597875569947064,
-0.0671674981713295,
-0.07161543518304825,
0.036835599690675735,
-0.04952528700232506,
-0.01973535865545273,
0.0030556167475879192,
-0.026295123621821404,
0.020744554698467255,
-0.009606036357581615,
-0.05920607969164848,
0.00747084291651845,
0.03197651356458664,
-0.06010314077138901,
0.021622927859425545,
-0.006709274835884571,
-0.016838597133755684,
-0.004616130609065294,
0.021379971876740456,
-0.07397022098302841,
0.008330526761710644,
0.021660303696990013,
0.019922247156500816,
0.04563801735639572,
-0.007419448811560869,
-0.0198848694562912,
0.00931636057794094,
-0.0030392641201615334,
-0.005648686084896326,
0.02164161577820778,
0.04320847615599632,
-0.01954847201704979,
-0.007601664401590824,
-0.016894664615392685,
-0.04735738784074783,
-0.025809215381741524,
0.017969269305467606,
-0.10428343713283539,
0.017389915883541107,
0.00882110744714737,
-0.02042684517800808,
0.02603348158299923,
0.03898480907082558,
-0.0014822544762864709,
-0.052777133882045746,
0.020464222878217697,
-0.011998201720416546,
0.015193983912467957,
0.00697091780602932,
0.014792175032198429,
0.04571277275681496,
-0.03240635618567467,
0.02836957946419716,
-0.04515210911631584,
0.02636987902224064,
-0.010661953128874302,
0.07841815054416656,
0.011960824020206928,
0.020501600578427315,
-0.008120277896523476,
0.050384972244501114,
0.029434839263558388,
-0.04212452843785286,
-0.011007695458829403,
0.014278233982622623,
0.020501600578427315,
-0.02330491878092289,
0.026650210842490196,
-0.04175075143575668,
0.07116690278053284,
0.007512892596423626,
-0.009531281888484955,
0.013988557271659374,
-0.02412722446024418,
-0.016072357073426247,
-0.036387067288160324,
-0.013913801871240139,
0.0013876424636691809,
-0.014810863882303238,
0.013614781200885773,
0.012035579420626163,
-0.030892565846443176,
-0.05700080096721649,
0.043657008558511734,
-0.05558045208454132,
0.034835901111364365,
0.020707176998257637,
-0.02691185474395752,
-0.0017987957689911127,
-0.0011598728597164154,
0.012829852290451527,
0.06085069105029106,
0.05161843076348305,
0.03360243886709213,
0.01269903127104044,
-0.0397697389125824,
-0.003534517018124461,
0.05924345552921295,
-0.05094563588500023,
-0.020688487216830254,
-0.05729982256889343,
-0.024557067081332207,
0.020389467477798462,
0.0001169509268947877,
-0.05034759268164635,
-0.0007253585499711335,
0.03261193260550499,
-0.04339536279439926,
-0.024743953719735146,
0.05001119524240494,
-0.047992806881666183,
0.04724525287747383,
-0.04586228355765343,
-0.038685791194438934,
0.031228963285684586,
0.0379195511341095,
0.019324205815792084,
-0.0423114150762558,
-0.006854112725704908,
0.01876354217529297,
0.02124915085732937,
-0.03494803234934807,
0.0198848694562912,
-0.03612542524933815,
-0.03212602436542511,
0.027958426624536514,
0.05001119524240494,
0.02003438025712967,
0.027808915823698044,
-0.049712173640728,
-0.036592647433280945,
-0.01598825678229332,
-0.0013654495123773813,
-0.005148760974407196,
-0.03743364289402962,
-0.04399340599775314,
-0.0018408455653116107,
0.07879193127155304,
-0.04874035716056824,
0.00397136714309454,
-0.030163703486323357,
0.014381022192537785,
0.016735808923840523,
-0.02984599396586418,
-0.05079612508416176,
-0.02509904094040394,
0.016988107934594154,
0.0008666925132274628,
0.0005516112432815135,
0.0586080364882946,
0.008741680532693863,
0.027921048924326897,
-0.042834699153900146,
-0.024930842220783234,
0.05094563588500023,
0.009232261218130589,
-0.0020312375854700804,
-0.07494203746318817,
0.04537637531757355,
-0.010035878978669643,
0.0684383362531662,
-0.060626424849033356,
0.005153432954102755,
-0.02973386086523533,
0.022893764078617096,
-0.024314112961292267,
0.007372726686298847,
-0.02506166324019432,
-0.004835723899304867,
-0.05158105492591858,
-0.02481870912015438,
0.009278982877731323,
-0.009979812428355217,
-0.015352838672697544,
0.02042684517800808,
-0.02773416042327881,
0.012138367630541325,
0.05834639444947243,
0.02081930823624134,
0.015362183563411236,
-0.003952678758651018,
-0.0635792538523674,
-0.019342895597219467,
0.022837698459625244,
-0.023435739800333977,
-0.008050194941461086,
0.05386108532547951,
0.01813746802508831,
-0.00865758117288351,
-0.025566261261701584,
0.018109435215592384,
0.017324505373835564,
0.06324286013841629,
0.01080211903899908,
-0.0846228301525116,
0.011671147309243679,
-0.06985868513584137,
-0.016754498705267906,
0.0036419774405658245,
0.021417349576950073,
-0.02760333940386772,
-0.04062942415475845,
0.01724974997341633,
-0.05513192340731621,
0.0971069410443306,
-0.018856987357139587,
-0.04563801735639572,
0.015735959634184837,
-0.011007695458829403,
-0.003342956770211458,
0.012829852290451527,
0.005195483099669218,
0.001976339379325509,
-0.04339536279439926,
0.10555426776409149,
-0.016305966302752495,
-0.033957526087760925,
-0.06552288681268692,
-0.040293026715517044,
-0.007424120791256428,
0.0349106565117836,
0.033471617847681046,
-0.0833519920706749,
-0.0032074630726128817,
-0.04003138095140457,
-0.03984449431300163,
-0.01465200912207365,
0.027771538123488426,
0.031042076647281647,
0.002148042432963848,
-0.003962022718042135,
0.012540176510810852,
0.011886068619787693,
-0.03423785790801048,
0.012353288009762764,
0.027509894222021103,
-0.0149416858330369,
-0.0523659810423851,
-0.029995502904057503,
0.009979812428355217,
0.041264843195676804,
-0.015268739312887192,
0.01430626679211855,
0.03216340392827988,
0.007106411270797253,
-0.06215890496969223,
0.03773266077041626,
-0.0026888493448495865,
0.07782010734081268,
-0.02349180541932583,
-0.022893764078617096,
-0.06260743737220764,
-0.04081631079316139,
-0.0027308990247547626,
-0.00791937392205,
0.020202578976750374,
-0.01696941815316677,
-0.026687588542699814,
0.013568059541285038,
0.030537478625774384,
-0.011446882039308548,
0.05158105492591858,
-0.009671447798609734,
-0.021903259679675102,
-0.03150929510593414,
0.08581890910863876,
-0.08626744151115417,
-0.04212452843785286,
-0.04500259831547737,
-0.022688187658786774,
-0.019716670736670494,
-0.024930842220783234,
0.029135819524526596,
0.02842564508318901,
-0.007606336381286383,
-0.021323906257748604,
-0.04859084635972977,
-0.0055365534499287605,
-0.019081251695752144,
-0.041077952831983566,
0.028500400483608246,
0.003882595570757985,
-0.013670847751200199,
0.04945053160190582,
0.0040951804257929325,
-0.03485458716750145,
0.013867080211639404,
-0.025341995060443878,
-0.03192044794559479,
0.00697091780602932,
-0.011764591559767723,
0.03584509342908859,
-0.024015091359615326,
0.032836198806762695,
-0.02076324261724949,
0.013241006061434746,
-0.012241155840456486,
0.06391565501689911,
0.0035742304753512144,
-0.0014238519361242652,
-0.03726544231176376,
0.01389511302113533,
-0.04915151000022888,
0.008078228682279587,
0.035658206790685654,
-0.02833220176398754,
-0.0009204227826558053,
-0.004352151416242123,
-0.013212972320616245,
-0.016801219433546066,
0.05632800608873367,
0.0255475714802742,
-0.03905956447124481,
-0.03610673546791077,
-0.020707176998257637,
0.006162627600133419,
-0.02549150586128235,
0.018090745434165,
0.030892565846443176,
0.02588397078216076,
0.006527058780193329,
-0.034835901111364365,
0.0037821433506906033,
0.02394033595919609,
-0.043320607393980026,
0.04003138095140457,
-0.09703218191862106,
0.00697091780602932,
0.02851909026503563,
-0.0461239255964756,
0.016446132212877274,
0.005816885270178318,
0.03838676959276199,
0.0036373052280396223,
-0.009157505817711353,
0.01716565154492855,
0.01979142613708973,
0.041414353996515274,
-0.023267541080713272,
-0.014315610751509666,
0.031079452484846115,
-0.05090825632214546,
0.008148311637341976,
0.03724675253033638,
-0.028070557862520218,
-0.07038197666406631,
0.000255364750046283,
0.05019808188080788,
0.03969498351216316,
0.013867080211639404,
0.011035729199647903,
0.06043953821063042,
-0.0013035428710281849,
-0.03311653062701225,
0.04451669007539749,
0.011792625300586224,
0.02833220176398754,
-0.007498875726014376,
-0.046871479600667953,
-0.060476917773485184,
0.04006876051425934,
0.08095982670783997,
-0.042049773037433624,
0.03446212410926819,
-0.05016070604324341,
-0.052291225641965866,
-0.0028734011575579643,
-0.0076110088266432285,
0.028350889682769775,
0.03894743323326111,
0.008036178536713123,
-0.08723925799131393,
0.012689686380326748,
0.008195033296942711,
0.04163861647248268,
-0.03913431987166405,
0.030705677345395088,
0.0808103159070015,
-0.01804402470588684,
0.0211557075381279,
-0.03616280481219292,
-0.034293923527002335,
-0.006223366130143404,
0.01681990921497345,
-0.027958426624536514,
-0.02457575500011444,
-0.015380872413516045,
-0.05288926884531975,
-0.02564101666212082,
0.019828803837299347,
0.004938512109220028,
-0.02339836210012436,
0.0158387478441,
-0.013128872960805893,
0.05700080096721649,
0.04294683411717415,
-0.048441335558891296,
-0.06896162778139114,
0.02136128395795822,
0.04907675459980965,
-0.0038709151558578014,
0.018100090324878693,
0.027678094804286957,
0.022949831560254097,
-0.015474315732717514,
0.049712173640728,
-0.0008100421400740743,
0.01016669999808073,
0.07509154826402664,
-0.008704302832484245,
0.0005130656063556671,
-0.040778934955596924,
0.0423114150762558,
-0.06055166944861412,
-0.028257446363568306,
-0.007835274562239647,
0.005966395139694214,
0.06085069105029106,
-0.009563987143337727,
0.06896162778139114,
0.03175225108861923,
0.0007230224437080324,
0.021379971876740456,
0.036050669848918915,
0.07269938290119171,
-0.00298553379252553,
-0.0174553282558918,
0.01294198539108038,
0.06985868513584137,
-0.001998532097786665,
-0.014493154361844063,
0.02461313270032406,
-0.009012667462229729,
-0.0050366283394396305,
0.04817969352006912,
-0.043956026434898376,
-0.02885548770427704,
0.03876054659485817,
0.03076174482703209,
0.01469873171299696,
0.008325854316353798,
-0.030780432745814323,
0.03631231561303139,
0.018455177545547485,
0.033023085445165634,
-0.008138966746628284,
-0.026463322341442108,
0.02521117404103279,
0.0010430678958073258,
-0.03782610595226288,
-0.008101589046418667,
0.06440155953168869,
0.06443893909454346,
-0.06443893909454346,
-0.01686662994325161,
-0.054683391004800797,
0.017240406945347786,
0.02872466668486595,
0.0598788745701313,
-0.028406957164406776,
0.009568659588694572,
-0.08671597391366959,
-0.03169618174433708,
-0.01082080788910389,
0.019268140196800232,
-0.02896762080490589,
-0.017567459493875504,
-0.03958285227417946,
0.02530461736023426,
0.03451818972826004,
-0.016782531514763832,
-0.030238458886742592,
0.023417050018906593,
0.028313511982560158,
-0.07453088462352753,
-0.0007697444525547326,
-0.026145612820982933,
-0.01513791736215353,
-0.03216340392827988,
-0.026687588542699814,
0.0597667433321476,
0.0063354987651109695,
0.04418029263615608,
0.06817669421434402,
0.030387967824935913,
-0.039657607674598694,
-0.011587047949433327,
0.08110933750867844,
-0.019511094316840172,
-0.08723925799131393,
0.02394033595919609,
0.04182550683617592,
0.008199705742299557,
0.034200482070446014,
-0.010661953128874302,
0.0586080364882946,
0.047020990401506424,
-0.025379372760653496,
0.0343313030898571,
-0.04548851028084755,
-0.04851609095931053,
-0.022463923320174217,
-0.018399111926555634,
-0.025566261261701584,
0.03735888749361038,
0.006031806115061045,
-0.05259024724364281,
-0.008853812702000141,
-0.02773416042327881,
-0.03657395765185356,
-0.060775935649871826,
-0.020296022295951843,
-0.016446132212877274,
-0.07580172270536423,
0.014745453372597694,
0.02418329007923603,
0.0712042823433876,
0.026594145223498344,
-0.00752223702147603,
-0.0069428845308721066,
-0.010531132109463215,
-0.039321210235357285,
0.02448231168091297,
-0.09419149160385132,
0.05513192340731621,
-0.00007194453064585105,
-0.03519098833203316,
0.007867979817092419,
0.00029814455774612725,
0.008115606382489204,
-0.0038475540932267904,
-0.09867680072784424,
-0.01142819318920374,
-0.047992806881666183,
0.04384389519691467,
0.004412889946252108,
-0.003838209668174386,
0.016754498705267906,
-0.06656946241855621,
-0.007494203746318817,
0.05771097540855408,
-0.02285638637840748,
0.03618149086833,
0.04246092587709427,
0.06948491185903549,
-0.04945053160190582,
0.026837099343538284,
0.016604987904429436,
0.0018723829416558146,
0.05868279188871384,
0.03081781044602394,
-0.01960453763604164,
-0.03947071731090546,
0.018090745434165,
0.04627343639731407,
0.03648051247000694,
-0.004345143213868141,
0.0384989008307457,
-0.0032705378253012896,
0.009498576633632183,
0.02549150586128235,
-0.018464522436261177,
0.010138667188584805,
0.026145612820982933,
0.03427523747086525,
0.04290945455431938,
-0.046535082161426544,
0.00804085098206997,
0.031079452484846115,
0.08671597391366959,
-0.008124950341880322,
0.007760519161820412,
-0.03739626333117485,
-0.02418329007923603,
-0.01677318662405014,
0.01823091134428978,
0.031957827508449554,
0.03139716386795044,
0.0033733260352164507,
0.06593403965234756,
-0.011848690919578075,
0.02960303984582424,
0.03842414543032646,
-0.0011172391241416335,
-0.02203408069908619,
-0.008765040896832943,
-0.03242504596710205,
0.04223665967583656,
-0.00438952911645174,
-0.029173197224736214,
0.07056885957717896,
0.04709574580192566,
-0.020146513357758522,
-0.0032868904527276754,
-0.08537038415670395,
-0.0598788745701313,
0.00814363919198513,
0.027509894222021103,
-0.013848391361534595,
-0.05972936376929283,
0.017857136204838753,
-0.022146213799715042,
0.023585250601172447,
0.004125549923628569,
-0.0070036230608820915,
-0.021585550159215927,
-0.016053669154644012,
0.02354787290096283,
0.03950809687376022,
-0.005933689884841442,
0.06006576120853424,
0.02276294305920601,
0.03827463835477829,
-0.01877288706600666,
-0.08424905687570572,
0.07198920845985413,
0.014212822541594505,
0.10719888657331467,
-0.04257305711507797,
-0.03689166530966759,
0.02121177315711975,
-0.0024178619496524334,
-0.002250830875709653,
0.036592647433280945,
0.03984449431300163,
-0.006200005300343037,
0.06567239761352539,
0.0011569526977837086,
0.013100840151309967,
-0.02736038528382778,
-0.025902658700942993,
0.014268889091908932,
0.0017999638803303242,
-0.011792625300586224,
-0.004359159618616104,
-0.05079612508416176,
0.004300757311284542,
-0.04272256791591644,
-0.05509454384446144,
0.02700529806315899,
0.02218359149992466,
0.05337517708539963,
0.03175225108861923,
0.007540925871580839,
-0.006368204485625029,
0.003377998247742653,
-0.003569558495655656,
-0.021809814497828484,
0.023136718198657036,
0.01477348618209362,
-0.02354787290096283,
-0.005872951354831457,
-0.0013712897198274732,
-0.014278233982622623,
0.03319128602743149,
0.033023085445165634,
0.03214471414685249,
-0.006344843190163374,
-0.055019788444042206,
0.01808140240609646,
-0.03423785790801048,
0.010026534087955952,
-0.07894143462181091,
0.011615081690251827,
0.00818568840622902,
0.008638892322778702,
0.03857365623116493,
-0.02949090674519539,
-0.004774985369294882,
0.03730281814932823,
0.03775135055184364,
0.009395787492394447,
-0.034293923527002335,
-0.06006576120853424,
-0.009405132383108139,
0.026108235120773315,
-0.01823091134428978,
-0.035228364169597626,
0.04272256791591644,
0.017371227964758873,
-0.016988107934594154,
-0.08215590566396713,
0.05251549184322357,
-0.0018723829416558146,
0.006340171210467815
] |
710,247
|
urllib3_future.contrib.resolver.factories
|
ResolverDescription
|
Describe how a BaseResolver must be instantiated.
|
class ResolverDescription:
"""Describe how a BaseResolver must be instantiated."""
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
def __setitem__(self, key: str, value: typing.Any) -> None:
self.kwargs[key] = value
def __contains__(self, item: str) -> bool:
return item in self.kwargs
def new(self) -> BaseResolver:
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 ResolverFactory.new(
self.protocol,
self.specifier,
self.implementation,
**kwargs,
)
@staticmethod
def from_url(url: str) -> ResolverDescription:
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 ResolverDescription(
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.03204867243766785,
-0.03380851447582245,
-0.04372228682041168,
-0.03275260701775551,
0.0005658379523083568,
0.032302871346473694,
-0.003123719012364745,
-0.0427837073802948,
-0.010431949980556965,
-0.031950902193784714,
0.03680024296045303,
0.05815298855304718,
-0.011849600821733475,
0.008745435625314713,
0.02264329604804516,
0.040398143231868744,
0.008349470794200897,
0.08752278983592987,
0.01896718144416809,
-0.06984616070985794,
-0.013775649480521679,
-0.01832190714776516,
-0.012015807442367077,
0.002164360834285617,
0.03103187493979931,
0.015682144090533257,
0.024500906467437744,
-0.040202606469392776,
-0.009591137059032917,
0.004868895281106234,
-0.023718753829598427,
0.03947911411523819,
-0.004749128129333258,
0.06839917600154877,
0.027942374348640442,
-0.013580111786723137,
-0.004098964389413595,
0.07477371394634247,
-0.09158997982740402,
0.028646310791373253,
-0.06343251466751099,
-0.002759529510512948,
-0.010823026299476624,
-0.029213370755314827,
0.04188423231244087,
0.03535326197743416,
-0.030953658744692802,
0.07594694197177887,
-0.03273305296897888,
-0.023855632171034813,
0.0023721198085695505,
-0.048610735684633255,
-0.0005691988044418395,
-0.0042871697805821896,
-0.010383065789937973,
0.055454567074775696,
0.007220239378511906,
0.13468654453754425,
0.04301835224032402,
0.025067966431379318,
0.0014885327545925975,
0.01132164802402258,
-0.03736730292439461,
0.023738307878375053,
-0.04321388900279999,
0.00018499724683351815,
-0.03421914204955101,
-0.0572144091129303,
-0.016562065109610558,
0.013980964198708534,
0.06570075452327728,
-0.02311258763074875,
-0.029584893956780434,
-0.0061692227609455585,
0.12436214089393616,
-0.009219614788889885,
-0.02475510537624359,
-0.03245930001139641,
0.047437507659196854,
-0.021176761016249657,
0.031070981174707413,
-0.018771644681692123,
0.013081490062177181,
-0.08979102969169617,
0.06135981157422066,
-0.04235352203249931,
-0.02469644509255886,
-0.029096048325300217,
0.04610785096883774,
0.015731029212474823,
-0.04430890083312988,
-0.03771927207708359,
-0.011507408693432808,
0.039850637316703796,
-0.03482531011104584,
0.005088875535875559,
0.00389364967122674,
-0.05678422376513481,
0.01668916456401348,
-0.05768369883298874,
0.023718753829598427,
0.05072254687547684,
-0.10418262332677841,
-0.011575846932828426,
0.0031823802273720503,
-0.03533370792865753,
-0.00819792877882719,
-0.009283164516091347,
-0.046303387731313705,
0.01066659577190876,
-0.03476664796471596,
0.008764988742768764,
-0.014010295271873474,
0.021841589361429214,
-0.024305367842316628,
0.026514947414398193,
-0.023484108969569206,
-0.031794473528862,
0.005308855790644884,
0.004328721668571234,
-0.05811388045549393,
0.07770678400993347,
-0.04716375470161438,
0.02528305910527706,
0.01683581806719303,
0.0183512382209301,
-0.03431691229343414,
-0.035314157605171204,
0.053225431591272354,
-0.06194642558693886,
0.0381690114736557,
0.05330364778637886,
-0.03220510110259056,
0.02518528886139393,
0.019309373572468758,
-0.000778485496994108,
-0.05733172968029976,
-0.0003788548056036234,
-0.06268946826457977,
0.05310811102390289,
-0.03924446925520897,
0.03423869609832764,
0.02068791538476944,
-0.05549367517232895,
-0.013756095431745052,
-0.016767380759119987,
0.052443280816078186,
-0.05052701011300087,
-0.04391782730817795,
0.015770137310028076,
0.03865785524249077,
-0.018185030668973923,
0.003984085749834776,
0.040046174079179764,
0.0042065102607011795,
-0.03226376324892044,
0.023679647594690323,
-0.01986665651202202,
-0.05111362412571907,
0.03163804113864899,
-0.022232666611671448,
-0.05248238891363144,
0.027805497869849205,
-0.04348764196038246,
-0.012749074958264828,
-0.017285555601119995,
0.059130679816007614,
-0.0821259468793869,
-0.008525455370545387,
0.049197349697351456,
-0.04821966215968132,
0.027512190863490105,
-0.07195796817541122,
0.002713089110329747,
0.03996795788407326,
0.04309656843543053,
0.02287794090807438,
0.012749074958264828,
-0.013218366540968418,
0.00669228658080101,
0.04125851020216942,
-0.03468843549489975,
-0.05709708482027054,
-0.04544302076101303,
0.05596296489238739,
0.07023723423480988,
-0.036135416477918625,
0.03097321279346943,
0.014137394726276398,
0.03807124122977257,
-0.008378801867365837,
-0.018840081989765167,
0.0456385612487793,
0.006271880120038986,
0.0035783445928245783,
-0.04876716807484627,
0.0022963490337133408,
0.027512190863490105,
0.019925318658351898,
0.03736730292439461,
-0.027453530579805374,
0.02027728594839573,
-0.005577720236033201,
0.01521285343915224,
-0.03351520746946335,
0.0006174722220748663,
0.016503404825925827,
-0.021587390452623367,
0.006804720964282751,
-0.0093222726136446,
-0.05584564059972763,
-0.021372299641370773,
-0.04290102794766426,
-0.006599406246095896,
-0.03859919309616089,
-0.04235352203249931,
-0.005137759726494551,
-0.0021533616818487644,
0.04031992703676224,
-0.0033388107549399137,
0.08744457364082336,
0.005421290174126625,
0.05443776771426201,
-0.008818762376904488,
0.030758121982216835,
-0.008676997385919094,
0.022721510380506516,
-0.03468843549489975,
-0.036898013204336166,
-0.015027092769742012,
0.016493627801537514,
-0.04868895187973976,
0.029643554240465164,
0.055532779544591904,
0.07266190648078918,
-0.023034371435642242,
0.05631493404507637,
0.022115344181656837,
0.008764988742768764,
0.014078733511269093,
0.00837391335517168,
0.0024442244321107864,
-0.02405116893351078,
-0.021782929077744484,
-0.038912054151296616,
-0.020062195137143135,
-0.036135416477918625,
0.023914292454719543,
0.010314627550542355,
-0.03050392121076584,
-0.029936861246824265,
-0.011927816085517406,
-0.031168751418590546,
0.005118206143379211,
-0.020375056192278862,
-0.053147219121456146,
-0.06695219874382019,
-0.045482128858566284,
0.063588947057724,
-0.038325440138578415,
-0.02246731147170067,
0.03965509682893753,
-0.01779395528137684,
0.07227083295583725,
-0.041923340409994125,
-0.034844864159822464,
0.012768629007041454,
-0.022721510380506516,
-0.028626756742596626,
-0.021998019888997078,
-0.01636652648448944,
-0.000442404649220407,
-0.017598416656255722,
0.004455821122974157,
-0.005010660272091627,
0.027512190863490105,
-0.009869778528809547,
-0.01282729022204876,
-0.008794319815933704,
-0.013873418793082237,
0.024618228897452354,
-0.013638773001730442,
0.007410888560116291,
-0.03480575606226921,
0.07430442422628403,
0.036115862429142,
-0.036722030490636826,
0.07023723423480988,
-0.040437251329422,
0.0071713547222316265,
-0.013286804780364037,
-0.043057460337877274,
0.026690931990742683,
0.017569085583090782,
-0.0064674182794988155,
0.034727543592453,
-0.016972694545984268,
-0.004380050115287304,
0.04845430701971054,
-0.07888001203536987,
-0.03593987599015236,
0.02907649427652359,
0.03723042830824852,
0.007308231201022863,
0.024422692134976387,
-0.0320877805352211,
-0.00819792877882719,
-0.02276061847805977,
0.037093549966812134,
0.018976958468556404,
0.008769877254962921,
-0.014127617701888084,
-0.03515772521495819,
-0.012631752528250217,
0.03617452457547188,
0.022858386859297752,
-0.024657336995005608,
0.003307035658508539,
0.04047635942697525,
0.05009682476520538,
-0.025732794776558876,
0.04692910984158516,
-0.024442244321107864,
-0.0161905437707901,
0.018273022025823593,
0.014391593635082245,
0.0024307812564074993,
0.047593940049409866,
0.005910134874284267,
-0.00281330244615674,
-0.012573091313242912,
-0.002032372634857893,
0.007611315231770277,
0.006819386500865221,
0.008804096840322018,
-0.06730416417121887,
0.03881428390741348,
-0.02753174491226673,
0.02747308276593685,
-0.013404127210378647,
0.02547859586775303,
-0.014978207647800446,
-0.0531863272190094,
0.003043059492483735,
-0.004402048420161009,
-0.04227530583739281,
0.012739297933876514,
-0.010383065789937973,
0.011546516790986061,
-0.052443280816078186,
-0.048376090824604034,
-0.06992437690496445,
0.01698247157037258,
0.031070981174707413,
0.07837161421775818,
-0.011360755190253258,
-0.02264329604804516,
-0.03869696334004402,
0.02074657753109932,
-0.040867432951927185,
0.02848988026380539,
-0.03398449718952179,
-0.034727543592453,
-0.01037328876554966,
-0.020707469433546066,
-0.038618747144937515,
0.03163804113864899,
0.007362004369497299,
0.07438264042139053,
-0.06311965733766556,
-0.005743927787989378,
-0.03957688435912132,
0.025204842910170555,
-0.07657266408205032,
0.0033950279466807842,
-0.028920063748955727,
0.01173227746039629,
0.03177491948008537,
-0.04696821793913841,
0.0096155796200037,
0.015819020569324493,
0.05342097207903862,
0.006384314503520727,
-0.002891517709940672,
0.02760995924472809,
-0.0358225554227829,
0.034551557153463364,
0.03586166352033615,
0.016258981078863144,
0.052325960248708725,
-0.0022547971457242966,
-0.014372040517628193,
0.005636381916701794,
-0.00533329788595438,
-0.007190908305346966,
-0.018429452553391457,
-0.017950383946299553,
0.029565339908003807,
-0.02983909286558628,
0.003612563945353031,
0.04372228682041168,
-0.08290809392929077,
0.06706952303647995,
0.052795249968767166,
0.04821966215968132,
-0.028998279944062233,
0.12921148538589478,
0.062376610934734344,
0.0030650575645267963,
0.0728183388710022,
-0.019827548414468765,
-0.09675218164920807,
-0.04360496625304222,
-0.02759040705859661,
-0.04172779992222786,
0.02741442248225212,
0.03453200310468674,
0.004883560352027416,
0.02115720696747303,
0.0109892338514328,
0.021822037175297737,
-0.046538036316633224,
0.017481094226241112,
0.0676170289516449,
0.017314886674284935,
0.06421466916799545,
-0.022408651188015938,
0.006482083350419998,
-0.03060169145464897,
-0.028861403465270996,
0.049314673990011215,
0.009860001504421234,
-0.04610785096883774,
-0.06581807881593704,
0.022604187950491905,
-0.009415152482688427,
0.013140151277184486,
-0.008496124297380447,
0.018810752779245377,
-0.03232242539525032,
-0.031168751418590546,
0.022623741999268532,
0.009019188582897186,
0.015946120023727417,
0.017960160970687866,
-0.0030968324281275272,
-0.00231590261682868,
0.00534796342253685,
-0.03766060993075371,
-0.03807124122977257,
-0.032478854060173035,
-0.024383584037423134,
0.013433458283543587,
0.0010119089856743813,
-0.04485640674829483,
-0.040437251329422,
0.07888001203536987,
0.035959430038928986,
-0.027551298961043358,
0.005108429118990898,
0.09870756417512894,
-0.029584893956780434,
-0.004037858918309212,
0.0073815579526126385,
-0.06077319756150246,
0.05095719173550606,
0.03067990578711033,
-0.003346143290400505,
-0.06194642558693886,
-0.007513546384871006,
-0.03126652166247368,
0.026554055511951447,
-0.02057059295475483,
-0.0016681832494214177,
-0.05811388045549393,
0.016855372115969658,
0.07324852049350739,
0.013228142634034157,
-0.0335543155670166,
-0.02387518435716629,
0.004382494371384382,
-0.003624784993007779,
0.0025371049996465445,
0.038618747144937515,
0.031755365431308746,
-0.05979551002383232,
0.03777793422341347,
-0.02688646875321865,
-0.02553725801408291,
0.0315011665225029,
-0.012182014994323254,
0.02250641956925392,
0.01896718144416809,
0.011038118042051792,
0.013716988265514374,
0.0023207911290228367,
-0.018194807693362236,
0.00068682711571455,
0.03423869609832764,
-0.031892240047454834,
0.02287794090807438,
-0.034492895007133484,
0.017715739086270332,
0.01326725073158741,
0.07344406098127365,
-0.015232407487928867,
-0.04348764196038246,
0.034062713384628296,
-0.044465333223342896,
0.011067448183894157,
-0.06405823677778244,
-0.0008915308862924576,
0.02706245332956314,
0.006047011353075504,
0.0026959795504808426,
0.03736730292439461,
-0.024442244321107864,
0.009982213377952576,
-0.03889250010251999,
-0.01598522812128067,
0.019807996228337288,
0.06589629501104355,
0.03752373531460762,
0.006956262979656458,
0.036663368344306946,
0.02268240414559841,
-0.015222630463540554,
-0.015652813017368317,
0.0344342365860939,
0.008466794155538082,
0.03498174250125885,
-0.014420924708247185,
-0.01176160853356123,
0.033476099371910095,
0.08838316053152084,
0.06624826043844223,
-0.01726600155234337,
-0.02221311256289482,
-0.04911913722753525,
0.004590253811329603,
0.011067448183894157,
0.07219261676073074,
-0.07438264042139053,
-0.06957240402698517,
-0.036546044051647186,
-0.046420712023973465,
0.023034371435642242,
0.03527504950761795,
0.03361297398805618,
-0.03410182148218155,
-0.04579498991370201,
0.024266261607408524,
0.05005771666765213,
0.01217223796993494,
-0.018624991178512573,
0.01433293242007494,
-0.0038325439672917128,
0.0005948631442151964,
-0.007557542063295841,
-0.0012379997642710805,
0.013325911946594715,
0.0358225554227829,
-0.04207976907491684,
0.046772681176662445,
-0.06519235670566559,
0.025459041818976402,
0.021998019888997078,
0.0002743641962297261,
-0.028763633221387863,
0.006755836773663759,
-0.01246554497629404,
-0.008804096840322018,
-0.00809527188539505,
0.003964532166719437,
-0.017050910741090775,
0.014694677665829659,
-0.006384314503520727,
-0.013208589516580105,
0.049666643142700195,
0.0010791250970214605,
0.02831389755010605,
0.0018136146245524287,
-0.030367044731974602,
-0.04024171084165573,
-0.011673616245388985,
-0.009923551231622696,
0.029584893956780434,
0.042822811752557755,
-0.012406883761286736,
-0.020003532990813255,
-0.0473984032869339,
-0.029702216386795044,
-0.010187528096139431,
0.016034113243222237,
-0.04344853386282921,
0.006369648966938257,
-0.07453907281160355,
-0.01799926906824112,
0.05580653250217438,
-0.03492308035492897,
-0.0866624265909195,
0.024422692134976387,
0.003551458241418004,
-0.03320234641432762,
0.04106297343969345,
0.003219043603166938,
-0.01884985901415348,
0.018517445772886276,
-0.008217482827603817,
-0.058231204748153687,
0.02770772948861122,
0.012739297933876514,
0.003446356626227498,
-0.014411147683858871,
-0.004211398772895336,
-0.037738826125860214,
-0.029799984768033028,
0.04638160392642021,
-0.012260230258107185,
-0.06441020220518112,
0.009087626822292805,
0.0421970933675766,
0.005572831723839045,
0.013980964198708534,
-0.05772280693054199,
0.054398659616708755,
-0.022799726575613022,
-0.033476099371910095,
-0.05932621657848358,
-0.04008528217673302,
0.0647621750831604,
0.02936980128288269,
-0.03199001029133797,
0.012700190767645836,
-0.02510707452893257,
-0.023269018158316612,
0.035314157605171204,
0.012553537264466286,
0.014156948775053024,
0.017109571024775505,
-0.012416660785675049,
-0.03977242112159729,
-0.025439489632844925,
0.002896405989304185,
-0.05166113004088402,
0.017481094226241112,
-0.004536480642855167,
-0.07250547409057617,
0.05408579856157303,
0.018106814473867416,
0.0335543155670166,
0.08392488956451416,
0.039850637316703796,
0.010304850526154041,
0.04125851020216942,
0.02729710005223751,
-0.002864631125703454,
0.023269018158316612,
0.03605720028281212,
0.006320764776319265,
-0.0017806175164878368,
0.0031799362041056156,
0.0913553386926651,
-0.04297924414277077,
-0.016640281304717064,
0.02817702107131481,
0.02759040705859661,
-0.04657714068889618,
0.004842008929699659,
0.0525997132062912,
0.02209579013288021,
-0.058896034955978394,
0.018517445772886276,
0.0309145525097847,
0.00985022448003292,
-0.01176160853356123,
-0.02352321706712246,
-0.012455767951905727,
-0.0008573117665946484,
0.04602963477373123,
0.06789077818393707,
-0.04129761829972267,
-0.023073479533195496,
0.06128159537911415,
-0.03564656898379326,
-0.00011518407700350508,
0.022545527666807175,
0.003028394188731909,
-0.0006391647038981318,
-0.04657714068889618,
0.0254199355840683,
0.006755836773663759,
0.02352321706712246,
-0.011487855575978756,
0.005572831723839045,
-0.022897494956851006,
-0.06910311430692673,
-0.08228237181901932,
0.021606944501399994,
-0.011008786968886852,
0.04982307180762291,
-0.01870320551097393,
0.008877423591911793,
-0.0060958960093557835,
0.007757968734949827,
0.05678422376513481,
0.008012168109416962,
-0.001201336388476193,
0.023972954601049423,
-0.03202911838889122,
-0.0060714539140462875,
0.03328056260943413,
0.04509105533361435,
-0.05784012749791145,
0.016405634582042694,
-0.016356751322746277,
0.021958913654088974,
0.047945909202098846,
0.010324404574930668,
0.006824275013059378,
0.0566277951002121,
-0.00888231210410595,
0.061242491006851196,
-0.003470798721536994,
0.019622234627604485,
-0.01270996779203415,
-0.0032165993470698595,
-0.010363511741161346,
0.049666643142700195,
-0.0013846531510353088,
0.012182014994323254,
0.09323249757289886,
-0.02334723249077797,
-0.007508657872676849,
-0.010588380508124828,
-0.0756731927394867,
0.045482128858566284,
-0.02133319154381752,
-0.025986995548009872,
0.019416918978095055,
-0.0020372611470520496,
0.023073479533195496,
-0.02057059295475483,
0.00970357097685337,
0.03928357735276222,
0.01297394372522831,
0.04266638308763504,
0.006878047715872526,
-0.0005203142645768821,
0.0015850795898586512,
-0.025028858333826065,
0.010265743359923363,
-0.04078922048211098,
0.011419417336583138,
-0.052795249968767166,
-0.09448394179344177,
0.0062914337031543255,
0.0346493273973465,
-0.032009564340114594,
-0.026338962838053703,
-0.05326453968882561,
-0.007362004369497299,
0.04958842694759369,
-0.011390086263418198,
0.000025148778149741702,
0.032713502645492554,
0.012015807442367077,
0.009385822340846062
] |
710,251
|
urllib3_future.contrib.resolver.factories
|
from_url
| null |
@staticmethod
def from_url(url: str) -> ResolverDescription:
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 ResolverDescription(
protocol,
specifier,
implementation,
parsed_url.host,
parsed_url.port,
*host_patterns,
**kwargs,
)
|
(url: str) -> urllib3_future.contrib.resolver.factories.ResolverDescription
|
[
0.02275783382356167,
-0.025132399052381516,
-0.033984776586294174,
-0.035979412496089935,
0.004734883084893227,
0.04562964662909508,
0.00892836507409811,
-0.03331989794969559,
-0.0008073521894402802,
-0.019471434876322746,
0.023726655170321465,
0.06052291765809059,
-0.013611008413136005,
-0.0025241628754884005,
0.030337445437908173,
0.050834693014621735,
0.011654366739094257,
0.09521056711673737,
0.02009832113981247,
-0.06762761622667313,
-0.012651683762669563,
-0.02469547837972641,
-0.004751504864543676,
0.0192719716578722,
0.02786789834499359,
0.024562502279877663,
0.03136325627565384,
-0.046237535774707794,
-0.02800087444484234,
-0.0026452657766640186,
0.01845512166619301,
0.061966653913259506,
0.0009124266798608005,
0.07644200325012207,
0.006843497045338154,
-0.0070809535682201385,
0.017809240147471428,
0.06561398506164551,
-0.09680627286434174,
0.027677932754158974,
-0.0613967590034008,
0.014874276705086231,
-0.0007634227513335645,
-0.024125583469867706,
0.05227842926979065,
0.04072854295372963,
-0.04224826395511627,
0.047947220504283905,
-0.054899949580430984,
-0.0437299944460392,
0.0006221361109055579,
-0.04050058498978615,
0.020364271476864815,
-0.009151574224233627,
-0.014503845013678074,
0.05216445028781891,
0.0029183407314121723,
0.13274769484996796,
0.0297105610370636,
0.038107022643089294,
-0.0023045155685395002,
-0.010049160569906235,
-0.06010499596595764,
0.0423242524266243,
-0.051138635724782944,
0.00754161924123764,
-0.018122682347893715,
-0.05193649232387543,
-0.036454327404499054,
-0.006966974586248398,
0.07731584459543228,
0.002213094849139452,
-0.03607439622282982,
-0.0262152012437582,
0.1126873716711998,
-0.007076204288750887,
-0.023897625505924225,
-0.008007033728063107,
0.03958875313401222,
-0.011454902589321136,
0.029596582055091858,
-0.024182572960853577,
0.02097216062247753,
-0.07389646768569946,
0.05178451910614967,
-0.0487830676138401,
-0.008144758641719818,
-0.02422056533396244,
0.03375681862235069,
0.05455801263451576,
-0.026481151580810547,
-0.07678394019603729,
-0.034269724041223526,
0.04521172121167183,
-0.05167054012417793,
0.024828454479575157,
0.0214470736682415,
-0.0541020967066288,
0.017704758793115616,
-0.054140087217092514,
0.03064139001071453,
0.04414791613817215,
-0.1012134701013565,
0.0017749875551089644,
-0.011872826144099236,
-0.06097883731126785,
-0.009042344056069851,
-0.00025734351947903633,
-0.03962674364447594,
0.010600059293210506,
-0.017657266929745674,
-0.0058081867173314095,
-0.0073991455137729645,
0.023669665679335594,
0.002545533934608102,
-0.002861351240426302,
-0.0056134723126888275,
-0.02674710378050804,
0.014836283400654793,
0.00651105772703886,
-0.07389646768569946,
0.07788573950529099,
-0.040690548717975616,
0.0006328216404654086,
0.020478250458836555,
0.0306983795017004,
-0.04703538864850998,
-0.053836144506931305,
0.051822513341903687,
-0.05292430892586708,
0.03578944876790047,
0.047301340848207474,
-0.029539592564105988,
0.031154295429587364,
0.012100784108042717,
-0.021770013496279716,
-0.05664762854576111,
0.0015743367839604616,
-0.04319809004664421,
0.06398028880357742,
-0.055545829236507416,
0.05205047130584717,
0.015653133392333984,
-0.06010499596595764,
-0.003716194536536932,
-0.020288284868001938,
0.05444403365254402,
-0.04809919372200966,
-0.05349420756101608,
0.010125146247446537,
0.04019664227962494,
-0.004212478641420603,
0.023821638897061348,
0.036511316895484924,
0.021371087059378624,
-0.05110064521431923,
0.03696723282337189,
-0.04707338288426399,
-0.034972596913576126,
0.023080773651599884,
-0.0003932873660232872,
-0.017894724383950233,
0.029672566801309586,
-0.035694465041160583,
-0.01792321912944317,
-0.026310183107852936,
0.06527204811573029,
-0.07693591713905334,
-0.018246158957481384,
0.04095650091767311,
-0.050416771322488785,
0.032503049820661545,
-0.09095534682273865,
0.004091375973075628,
0.05163254588842392,
0.021371087059378624,
0.029368622228503227,
0.00159926968626678,
-0.002642891136929393,
-0.017353322356939316,
0.02934962697327137,
-0.0083062294870615,
-0.03331989794969559,
-0.026557138189673424,
0.04494577273726463,
0.06918533146381378,
-0.03166720271110535,
0.028741737827658653,
0.01338304951786995,
0.015529656782746315,
-0.007118946872651577,
-0.008477197960019112,
0.02646215446293354,
-0.012357237748801708,
0.007270918693393469,
-0.06553800404071808,
-0.002956333803012967,
0.02623419649899006,
-0.0017844857648015022,
0.0214470736682415,
-0.00010195789946010336,
0.01950942724943161,
-0.02304278127849102,
0.03166720271110535,
-0.02505641244351864,
-0.015102234669029713,
-0.012081787921488285,
-0.02256786823272705,
0.0043786983005702496,
-0.010277118533849716,
-0.03548550233244896,
-0.017961211502552032,
-0.054064102470874786,
0.0012240883661434054,
-0.0541020967066288,
-0.02946360595524311,
-0.02026928961277008,
0.003288772888481617,
0.04969490319490433,
-0.012689677067101002,
0.07085702568292618,
0.008610174059867859,
0.07002118229866028,
-0.01020113192498684,
0.03333889693021774,
-0.0019993840251117945,
0.006881490349769592,
-0.04126044735312462,
-0.055545829236507416,
-0.01613754592835903,
0.015425176359713078,
-0.03324391320347786,
0.028570769354701042,
0.049238983541727066,
0.0838126540184021,
-0.01725834049284458,
0.04274217411875725,
0.012195766903460026,
0.016887908801436424,
-0.006648782640695572,
0.01157838013023138,
0.011027481406927109,
-0.023251742124557495,
-0.004675519187003374,
-0.0468074306845665,
-0.008966358378529549,
-0.03354785963892937,
0.008904620073735714,
-0.017837734892964363,
-0.04384397342801094,
-0.045477673411369324,
-0.016517475247383118,
-0.004666020628064871,
0.00672001950442791,
-0.01785673014819622,
-0.07701189815998077,
-0.066449835896492,
-0.04521172121167183,
0.06318243592977524,
-0.04551566764712334,
-0.025360357016324997,
0.0044143167324364185,
-0.011226944625377655,
0.054899949580430984,
-0.05505192279815674,
-0.03905684873461723,
0.020193303003907204,
-0.003450243268162012,
0.0009474515100009739,
-0.01733432710170746,
-0.042058300226926804,
0.017134862020611763,
0.0012905761832371354,
-0.020307281985878944,
0.014874276705086231,
0.022301916033029556,
0.004872607998549938,
-0.006278350483626127,
0.0016016442095860839,
-0.019718389958143234,
0.011559383943676949,
-0.007821817882359028,
-0.0026595131494104862,
-0.029311632737517357,
0.08814386278390884,
0.041982315480709076,
-0.05208846181631088,
0.06272651255130768,
-0.031914155930280685,
0.01464631874114275,
-0.0015387182356789708,
-0.046997394412755966,
0.030318448320031166,
0.00756061589345336,
-0.026329180225729942,
0.04585760459303856,
0.0008097267709672451,
-0.000024190883777919225,
0.044755805283784866,
-0.06398028880357742,
-0.05752146989107132,
0.03729017451405525,
0.027070043608546257,
0.02741198055446148,
0.02710803784430027,
-0.02640516497194767,
-0.01733432710170746,
-0.03894286975264549,
0.010438588447868824,
0.0019020268227905035,
0.0076413508504629135,
-0.00986869353801012,
-0.043578021228313446,
0.001185501692816615,
0.02486644685268402,
0.02617720700800419,
-0.013240575790405273,
0.0034027521032840014,
0.03347187116742134,
0.022263923659920692,
-0.013516025617718697,
0.036169376224279404,
-0.022586865350604057,
-0.017467301338911057,
-0.003260278142988682,
0.021257108077406883,
0.015320695005357265,
0.05003684014081955,
0.008083020336925983,
0.01193931419402361,
0.00377080962061882,
0.009963675402104855,
0.015244709327816963,
0.017581280320882797,
-0.0009284550324082375,
-0.07526422291994095,
0.032332081347703934,
-0.04866908863186836,
0.031439244747161865,
-0.01690690405666828,
0.026025235652923584,
-0.022966794669628143,
-0.05341821908950806,
-0.015643635764718056,
0.003485861700028181,
-0.03552349656820297,
0.002564530586823821,
-0.02729800157248974,
0.0118443313986063,
-0.04745331034064293,
-0.04585760459303856,
-0.056951574981212616,
0.008329974487423897,
0.04312210530042648,
0.07245273888111115,
0.025968246161937714,
-0.024182572960853577,
-0.04809919372200966,
0.026006238535046577,
-0.06576596200466156,
0.0162610225379467,
-0.050188809633255005,
-0.03818301111459732,
-0.025949249044060707,
-0.010979989543557167,
-0.04448985308408737,
0.03269301354885101,
0.014161907136440277,
0.08783991634845734,
-0.053950123488903046,
0.003227034118026495,
-0.028570769354701042,
0.035333532840013504,
-0.057787418365478516,
0.0017548036994412541,
-0.04027262702584267,
0.011986805126070976,
0.012604192830622196,
-0.029805542901158333,
0.013981440104544163,
0.01125543937087059,
0.06500609964132309,
0.01396244391798973,
-0.004544917959719896,
0.05049275606870651,
-0.042058300226926804,
0.01502624899148941,
0.04088051617145538,
-0.003863417776301503,
0.026253193616867065,
0.008999601937830448,
-0.012509210035204887,
0.040044669061899185,
0.012062791734933853,
-0.014389865100383759,
-0.002144232392311096,
-0.014750799164175987,
0.006558549124747515,
-0.015719622373580933,
0.020136313512921333,
0.04619954153895378,
-0.09384281933307648,
0.062498558312654495,
0.05486195534467697,
0.03159121796488762,
-0.016840416938066483,
0.09429873526096344,
0.04467982053756714,
-0.014940764755010605,
0.035276543349027634,
-0.011967808939516544,
-0.10721637308597565,
-0.04038660600781441,
-0.028323814272880554,
-0.023137763142585754,
0.04760528355836868,
0.02517039142549038,
-0.00831572711467743,
-0.0027592447586357594,
0.010087152943015099,
0.039246816188097,
-0.07955743372440338,
-0.006933730561286211,
0.08875174820423126,
0.010647550225257874,
0.05193649232387543,
-0.002241589594632387,
0.003687699791043997,
-0.02040226384997368,
-0.027260009199380875,
0.05535586550831795,
0.017229845747351646,
-0.004882106091827154,
-0.09376683086156845,
0.020554237067699432,
-0.003229408757761121,
0.011948812752962112,
0.014076422899961472,
0.03151522949337959,
-0.051594555377960205,
-0.029425613582134247,
0.005119562614709139,
-0.002987203188240528,
0.0075701139867305756,
0.030432429164648056,
-0.011359919793903828,
0.014931266196072102,
0.01903451420366764,
-0.032617028802633286,
-0.042818162590265274,
-0.0363023541867733,
-0.017476800829172134,
0.027430977672338486,
0.0036354593466967344,
-0.03341488167643547,
-0.02427755482494831,
0.08616822212934494,
0.05303828790783882,
-0.016365503892302513,
0.017172856256365776,
0.08350870758295059,
-0.035276543349027634,
0.0035096073988825083,
-0.002026691334322095,
-0.05516590178012848,
0.054064102470874786,
0.015244709327816963,
-0.002310452051460743,
-0.054140087217092514,
-0.01034360658377409,
-0.054140087217092514,
0.01331656239926815,
0.0017453054897487164,
0.01602356694638729,
-0.04448985308408737,
0.0070809535682201385,
0.0655759945511818,
0.011226944625377655,
-0.027070043608546257,
-0.01602356694638729,
-0.00972621887922287,
-0.014085921458899975,
-0.008738400414586067,
0.05527988076210022,
0.04312210530042648,
-0.0355994813144207,
0.011825335212051868,
-0.02934962697327137,
-0.011226944625377655,
0.024828454479575157,
-0.02729800157248974,
0.04236224293708801,
0.02175101824104786,
0.007912051863968372,
0.017106367275118828,
0.009056592360138893,
-0.014750799164175987,
-0.0011481023393571377,
0.015159224160015583,
-0.022377902641892433,
0.024942433461546898,
-0.0007212741766124964,
0.01363950315862894,
0.003863417776301503,
0.058737244457006454,
0.011112965643405914,
-0.03094533458352089,
0.0445658415555954,
-0.03535252809524536,
0.011768345721065998,
-0.07184484601020813,
-0.0015529657248407602,
0.04213428497314453,
0.025303367525339127,
-0.014893272891640663,
0.04126044735312462,
-0.038334980607032776,
-0.002768743084743619,
-0.042894147336483,
-0.011397913098335266,
0.01868307963013649,
0.05839530751109123,
0.04809919372200966,
0.01897752471268177,
0.029805542901158333,
0.0319521501660347,
-0.022301916033029556,
-0.007489379029721022,
0.017286835238337517,
0.01821766421198845,
0.040044669061899185,
0.015824103727936745,
-0.004687391687184572,
0.043350063264369965,
0.07788573950529099,
0.04551566764712334,
-0.038391970098018646,
-0.02511340193450451,
-0.08670012652873993,
0.019604410976171494,
0.011454902589321136,
0.07674594968557358,
-0.06485412269830704,
-0.06861543655395508,
-0.029615577310323715,
-0.039094842970371246,
0.012955628335475922,
0.045591652393341064,
0.029672566801309586,
-0.02091517113149166,
-0.057483475655317307,
0.03189516067504883,
0.05455801263451576,
-0.012974624522030354,
-0.0028732239734381437,
0.02139008417725563,
-0.01613754592835903,
-0.016830919310450554,
-0.011359919793903828,
-0.03653031215071678,
0.008676661178469658,
0.024429528042674065,
-0.06200464814901352,
0.05227842926979065,
-0.07195882499217987,
0.02245388925075531,
0.0266331247985363,
-0.01438036747276783,
-0.026139214634895325,
-0.00449267728254199,
-0.012214764021337032,
-0.036093391478061676,
0.010733035393059254,
0.008439204655587673,
-0.028266824781894684,
0.012765662744641304,
0.0030109486542642117,
-0.037271175533533096,
0.06063689664006233,
0.033737823367118835,
0.017657266929745674,
-0.013421042822301388,
-0.005931663792580366,
-0.029596582055091858,
-0.013753482140600681,
-0.0023947490844875574,
0.03100232407450676,
0.02558831498026848,
-0.021010152995586395,
-0.0222829207777977,
-0.0292926374822855,
-0.06599391996860504,
-0.01140741165727377,
0.035105571150779724,
-0.04167836904525757,
-0.02393561787903309,
-0.06941328942775726,
-0.00845345202833414,
0.06485412269830704,
-0.03347187116742134,
-0.07135093957185745,
0.016764430329203606,
0.00626410311087966,
-0.04076653718948364,
0.042058300226926804,
0.02439153380692005,
-0.015510660596191883,
0.011131961829960346,
0.00496759032830596,
-0.08008933812379837,
0.0318191759288311,
0.00942702405154705,
-0.02615821175277233,
-0.013886457309126854,
0.015776611864566803,
-0.023897625505924225,
-0.024904441088438034,
0.019082006067037582,
-0.007000218611210585,
-0.05668562278151512,
0.01944294013082981,
0.06211862713098526,
0.006036144681274891,
0.02439153380692005,
-0.03894286975264549,
0.04574362561106682,
-0.03172419220209122,
-0.029387619346380234,
-0.057255517691373825,
-0.02505641244351864,
0.06876741349697113,
0.05174652487039566,
-0.030546408146619797,
0.017058877274394035,
-0.030774366110563278,
-0.026139214634895325,
0.05231642350554466,
0.020725205540657043,
0.008510441519320011,
0.0035333530977368355,
-0.005751197226345539,
-0.02522738091647625,
-0.026804093271493912,
0.0022641480900347233,
-0.0355994813144207,
0.03041343204677105,
-0.013800973072648048,
-0.05957309156656265,
0.03746114298701286,
-0.005926914978772402,
0.03369982913136482,
0.05976305902004242,
0.06629785895347595,
0.015900088474154472,
0.03664429113268852,
0.003773184260353446,
0.014133412390947342,
0.016052061691880226,
0.02256786823272705,
0.007289915345609188,
0.01767626404762268,
-0.0008940238039940596,
0.07948144525289536,
-0.02139008417725563,
-0.01987036131322384,
0.012718171812593937,
0.03436470776796341,
-0.04019664227962494,
-0.004314585123211145,
0.03884788602590561,
0.010115647688508034,
-0.04509774222970009,
0.008215995505452156,
0.03508657589554787,
0.03010948747396469,
-0.012509210035204887,
-0.026253193616867065,
-0.01945243775844574,
-0.0012680178042501211,
0.05026479810476303,
0.06975522637367249,
-0.03776508569717407,
-0.009560000151395798,
0.047415319830179214,
-0.04384397342801094,
-0.021029150113463402,
0.039246816188097,
0.01178734190762043,
-0.008420208469033241,
-0.04019664227962494,
0.014484847895801067,
0.007935796864330769,
0.004666020628064871,
-0.035333532840013504,
0.013686994090676308,
-0.0033362642861902714,
-0.04103248938918114,
-0.05087268725037575,
0.029862532392144203,
0.006563298404216766,
0.06458817422389984,
-0.009332041256129742,
0.01157838013023138,
0.017999203875660896,
-0.010761530138552189,
0.03341488167643547,
0.026975061744451523,
0.006373333279043436,
-0.00033926600008271635,
-0.017172856256365776,
-0.02393561787903309,
0.006815002299845219,
0.010362602770328522,
-0.03852494806051254,
0.03501059114933014,
0.009541003033518791,
0.002804361516609788,
0.04319809004664421,
0.014237893745303154,
0.028741737827658653,
0.05847129598259926,
-0.035105571150779724,
0.05368417128920555,
-0.005024580284953117,
0.009279800578951836,
-0.012765662744641304,
-0.026975061744451523,
0.017771245911717415,
0.039246816188097,
-0.01609005406498909,
0.004148365464061499,
0.09095534682273865,
-0.011682861484587193,
0.016811922192573547,
-0.01773325353860855,
-0.06815952062606812,
0.04608556255698204,
0.0017548036994412541,
-0.007931048050522804,
0.005433005280792713,
-0.011426407843828201,
0.014313879422843456,
-0.024999422952532768,
0.008567431010305882,
0.03311093896627426,
0.006710521411150694,
0.038752906024456024,
0.0024030599743127823,
-0.016944898292422295,
0.011359919793903828,
-0.02710803784430027,
0.012727669440209866,
-0.02758295089006424,
0.019006019458174706,
-0.04714936763048172,
-0.1126873716711998,
-0.0016206407453864813,
0.03354785963892937,
-0.03407976031303406,
-0.022111952304840088,
-0.03996868059039116,
0.028684748336672783,
0.0630684569478035,
-0.035979412496089935,
-0.022947799414396286,
0.007831316441297531,
0.004089001566171646,
-0.010923000052571297
] |
710,252
|
urllib3_future.contrib.resolver.factories
|
new
| null |
def new(self) -> BaseResolver:
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 ResolverFactory.new(
self.protocol,
self.specifier,
self.implementation,
**kwargs,
)
|
(self) -> urllib3_future.contrib.resolver.protocols.BaseResolver
|
[
0.04719652235507965,
-0.053398292511701584,
0.019866688176989555,
-0.025718076154589653,
-0.03643978014588356,
0.023265397176146507,
0.017554163932800293,
-0.02659403160214424,
-0.012596250511705875,
0.010844338685274124,
0.020041879266500473,
0.07081229984760284,
-0.05935479700565338,
0.025647999718785286,
0.056797001510858536,
0.03318122401833534,
-0.02666410803794861,
0.01795710250735283,
-0.010134813375771046,
-0.03148186579346657,
0.002785540884360671,
0.00873328372836113,
0.0065828110091388226,
-0.007625198923051357,
0.037596043199300766,
0.04561980068683624,
-0.018885616213083267,
-0.013034229166805744,
0.04109986871480942,
-0.026033420115709305,
-0.029327014461159706,
0.04660087078809738,
0.01925351843237877,
0.060195714235305786,
0.03703543171286583,
0.01770307496190071,
-0.05395890399813652,
0.040258947759866714,
-0.019831649959087372,
0.03139427304267883,
-0.040469177067279816,
-0.006749243009835482,
-0.047546904534101486,
-0.012377262115478516,
0.0560261607170105,
0.0073098549619317055,
0.04456865414977074,
-0.002654147334396839,
-0.004071006551384926,
0.03661496937274933,
-0.012850278057157993,
-0.006871876772493124,
-0.01930607482790947,
-0.008781461045145988,
0.021057987585663795,
0.0678340494632721,
0.0003408017219044268,
0.09957870841026306,
0.006976991426199675,
-0.0009602670324966311,
-0.019446229562163353,
0.009530403651297092,
0.001530733541585505,
0.005847007967531681,
-0.02156604267656803,
-0.004655707627534866,
-0.010301245376467705,
-0.05543051287531853,
0.009539163671433926,
0.03542366996407509,
0.03050079569220543,
-0.012718884274363518,
-0.028100676834583282,
-0.022301845252513885,
0.13104306161403656,
0.02345810830593109,
-0.00948660634458065,
-0.05399394407868385,
0.06159724295139313,
0.01395398285239935,
-0.001493505435064435,
-0.033338893204927444,
0.009258857928216457,
-0.0281181950122118,
0.0377361960709095,
-0.026523955166339874,
-0.04383284971117973,
-0.06012563779950142,
0.056797001510858536,
-0.013034229166805744,
-0.03213007375597954,
-0.013314534910023212,
-0.023983681574463844,
0.0033198741730302572,
-0.016231469810009003,
-0.011150922626256943,
-0.012666326947510242,
-0.009653037413954735,
0.03514336422085762,
-0.032357823103666306,
-0.002443918026983738,
0.11520576477050781,
-0.1377703994512558,
-0.0282758679240942,
0.02708456665277481,
0.050630271434783936,
0.03340896964073181,
-0.01386638730764389,
-0.05273256450891495,
0.006048477720469236,
0.001071951468475163,
0.09123960137367249,
-0.0016478926409035921,
0.08212965726852417,
-0.09803702682256699,
0.021776271983981133,
-0.002349752699956298,
0.001680741086602211,
0.07330001890659332,
0.002400120021775365,
-0.07736445218324661,
0.049438972026109695,
-0.044743843376636505,
0.010257448069751263,
0.005684955976903439,
0.002129668602719903,
-0.00820333044975996,
-0.10784773528575897,
0.06475068628787994,
-0.012403540313243866,
0.07498185336589813,
0.036895278841257095,
-0.005439688451588154,
0.03570397570729256,
-0.007695275824517012,
0.020725125446915627,
-0.027277277782559395,
0.02718968130648136,
-0.05486989766359329,
0.03650985658168793,
-0.0752621591091156,
0.05900441110134125,
0.045549724251031876,
-0.018622830510139465,
-0.026699146255850792,
0.025805670768022537,
0.04362262040376663,
-0.02913430519402027,
-0.01548690628260374,
0.018079737201333046,
0.02542025037109852,
-0.016905955970287323,
0.03335641324520111,
0.10889887809753418,
0.03104388900101185,
-0.021583562716841698,
0.02081272006034851,
0.011256038211286068,
-0.014208010397851467,
0.031551942229270935,
-0.03332137688994408,
-0.001301890006288886,
0.024299025535583496,
-0.08255011588335037,
-0.020444819703698158,
-0.04309704899787903,
0.029397090896964073,
-0.0814288929104805,
-0.006057237274944782,
0.025665517896413803,
-0.04351750761270523,
0.0004404417413752526,
-0.056691888719797134,
0.02195146307349205,
-0.012359743006527424,
0.017142463475465775,
0.015443108975887299,
0.01395398285239935,
0.0093026552349329,
0.040959715843200684,
0.051926687359809875,
-0.02076016366481781,
-0.014234288595616817,
-0.05616631358861923,
0.05735761672258377,
0.07210871577262878,
-0.0316745787858963,
0.0496492013335228,
0.029221899807453156,
-0.004752062726765871,
0.013927704654633999,
0.0001322830794379115,
0.030640950426459312,
0.003346152836456895,
-0.0012887506745755672,
-0.04018887132406235,
0.01956886239349842,
0.011431229300796986,
-0.02789044752717018,
0.057707998901605606,
-0.0311490036547184,
0.05945990979671478,
-0.031989920884370804,
0.025700556114315987,
-0.07053199410438538,
0.037385813891887665,
-0.001250427565537393,
-0.0046469480730593204,
0.006863117218017578,
-0.016695726662874222,
-0.009775672107934952,
0.003790700575336814,
-0.026471396908164024,
-0.012219589203596115,
-0.06429518759250641,
-0.006595950573682785,
-0.021968983113765717,
0.0032870257273316383,
0.04891339689493179,
0.0372106209397316,
0.057707998901605606,
0.03276076540350914,
0.016362862661480904,
-0.018447639420628548,
-0.032900918275117874,
-0.012114474549889565,
-0.0282758679240942,
-0.06275350600481033,
-0.058583952486515045,
-0.009013589471578598,
0.002332233591005206,
-0.034249890595674515,
-0.0006405430031009018,
-0.007235398516058922,
0.054589591920375824,
-0.05816349387168884,
0.06103663146495819,
0.04877324402332306,
-0.029432129114866257,
0.02789044752717018,
0.03216511383652687,
0.013743753544986248,
-0.014313125051558018,
-0.0032695066183805466,
0.004498035181313753,
0.012228349223732948,
-0.0748417004942894,
-0.011133403517305851,
0.05147118866443634,
0.013673677109181881,
-0.00012496062845457345,
-0.023966163396835327,
-0.0373157374560833,
0.043447431176900864,
0.02174123376607895,
0.005925843957811594,
-0.09109944850206375,
-0.0502798892557621,
0.04579499363899231,
-0.0065828110091388226,
0.0071609425358474255,
0.06797420233488083,
-0.006070376839488745,
0.056201353669166565,
-0.03372431546449661,
-0.011501305736601353,
-0.03351408615708351,
-0.06723839789628983,
-0.0058119697496294975,
-0.013480966910719872,
0.06072128564119339,
0.008496775291860104,
-0.0007171891629695892,
0.06110670790076256,
-0.011229759082198143,
-0.019323594868183136,
-0.05991540849208832,
-0.0051418631337583065,
0.012832758948206902,
-0.01795710250735283,
-0.01167649682611227,
0.035230960696935654,
0.013717474415898323,
-0.0216361191123724,
0.044148195534944534,
0.003370241727679968,
-0.050420042127370834,
0.06327907741069794,
-0.032305266708135605,
-0.039067648351192474,
-0.034144774079322815,
-0.012263387441635132,
-0.0126225296407938,
0.003703105030581355,
0.05332821607589722,
0.015294196084141731,
-0.034740425646305084,
0.04772209748625755,
0.017089907079935074,
-0.04758194461464882,
-0.020357223227620125,
-0.05767295882105827,
-0.011159682646393776,
0.06863993406295776,
0.024071278050541878,
-0.022301845252513885,
-0.019709015265107155,
0.006893775891512632,
0.0496492013335228,
0.04586507007479668,
0.0026278686709702015,
-0.014943813905119896,
-0.029537243768572807,
-0.007287955842912197,
0.013314534910023212,
0.018990730866789818,
-0.024299025535583496,
-0.026961933821439743,
0.04768705740571022,
0.007375551387667656,
0.009188780561089516,
0.012972911819815636,
-0.020795201882719994,
0.004554972518235445,
-0.02536769211292267,
0.07098749279975891,
-0.00808507576584816,
0.017343932762742043,
-0.03503825142979622,
0.00006597045285161585,
-0.03682520240545273,
0.0008370857103727758,
0.011457507498562336,
0.005006089806556702,
-0.004484896082431078,
-0.06103663146495819,
0.07294963300228119,
-0.011913005262613297,
0.00408195611089468,
-0.03899757191538811,
0.03207751736044884,
0.015206600539386272,
-0.032953474670648575,
-0.007042688317596912,
0.0051900409162044525,
-0.007760972250252962,
-0.029502205550670624,
-0.06927061825990677,
0.0058426279574632645,
-0.09320174157619476,
-0.04642568156123161,
-0.09509380906820297,
0.003416229272261262,
0.00006860516441520303,
0.04124002158641815,
0.004830898717045784,
-0.006468936800956726,
0.019183441996574402,
0.011019529774785042,
-0.0379464253783226,
-0.044848959892988205,
0.005255737341940403,
-0.02659403160214424,
-0.015504425391554832,
-0.03829680755734444,
-0.029835069552063942,
0.014716064557433128,
0.004892215598374605,
-0.00646017724648118,
-0.018412601202726364,
0.026856819167733192,
-0.03892749547958374,
0.018097255378961563,
-0.04870316758751869,
0.017352692782878876,
-0.034845538437366486,
0.02216169238090515,
-0.008426698856055737,
0.011072087101638317,
-0.051120806485414505,
-0.0189732126891613,
0.050805460661649704,
-0.007471906952559948,
-0.012771442532539368,
0.02855617366731167,
-0.017273856326937675,
0.012718884274363518,
0.04120498150587082,
0.04194078594446182,
0.040574293583631516,
-0.0435875840485096,
-0.04779217392206192,
0.04232620447874069,
-0.006946333218365908,
0.034687865525484085,
0.005115584470331669,
-0.03861214965581894,
0.037771232426166534,
0.026996972039341927,
0.012219589203596115,
0.007721554487943649,
-0.033391453325748444,
0.04579499363899231,
0.014873737469315529,
0.03190232813358307,
-0.0560261607170105,
0.10854849964380264,
0.06447038054466248,
0.028941594064235687,
0.03286587819457054,
-0.008387280628085136,
-0.038471996784210205,
-0.05465966835618019,
0.01008225604891777,
-0.04243132099509239,
0.024964753538370132,
0.05711234733462334,
-0.050069659948349,
0.03636970371007919,
-0.01660813018679619,
-0.01080930046737194,
0.002978251315653324,
-0.014418239705264568,
-0.022477038204669952,
0.04772209748625755,
0.051331035792827606,
-0.029922666028141975,
0.03467034921050072,
-0.0188155397772789,
-0.00740621006116271,
0.037771232426166534,
0.006403240375220776,
-0.010476436465978622,
-0.020234588533639908,
0.02855617366731167,
-0.007760972250252962,
0.0014070047764107585,
0.005106824915856123,
-0.010905655100941658,
-0.022669747471809387,
0.006052857730537653,
-0.04229116812348366,
0.048317745327949524,
0.008216469548642635,
-0.017343932762742043,
-0.040854599326848984,
0.004949152935296297,
-0.007901125587522984,
-0.031989920884370804,
-0.027119604870676994,
-0.005479106213897467,
-0.02578815259039402,
-0.013708715327084064,
0.0110282888635993,
-0.0006065997295081615,
-0.026085976511240005,
0.06142205372452736,
0.010660387575626373,
-0.03594924509525299,
0.0111071253195405,
0.012823999859392643,
-0.041765592992305756,
0.04229116812348366,
-0.03724566102027893,
-0.06587190926074982,
0.007143422961235046,
-0.00521631957963109,
-0.032795801758766174,
-0.029607320204377174,
-0.027855409309267998,
-0.0284860972315073,
0.04989446699619293,
-0.025507844984531403,
-0.04320216178894043,
-0.03428492695093155,
0.013367092236876488,
0.0376310795545578,
-0.0250348299741745,
0.000041607920138631016,
-0.026138534769415855,
-0.061877548694610596,
0.04551468789577484,
-0.004489275626838207,
0.06051105633378029,
-0.00975815299898386,
-0.05276760458946228,
0.018745463341474533,
-0.04621545225381851,
-0.03505576774477959,
0.07876598834991455,
0.00789236556738615,
0.07053199410438538,
-0.008347863331437111,
0.02039226144552231,
-0.006245567928999662,
0.016187671571969986,
0.025507844984531403,
0.021285736933350563,
0.01005597785115242,
-0.027715256437659264,
0.03952314704656601,
-0.04726659879088402,
-0.026156052947044373,
0.00221945415250957,
0.017195021733641624,
-0.042851779609918594,
-0.08563347905874252,
-0.004123563878238201,
0.003637408372014761,
0.006893775891512632,
-0.010502715595066547,
-0.033654239028692245,
-0.031078927218914032,
-0.004572491627186537,
-0.013927704654633999,
0.0218463484197855,
-0.047932326793670654,
-0.013183141127228737,
-0.04677606374025345,
-0.001530733541585505,
0.017606720328330994,
0.02601590007543564,
-0.0016435128636658192,
-0.0071609425358474255,
0.008470497094094753,
0.0004253862425684929,
0.0282758679240942,
0.035283517092466354,
0.057988304644823074,
-0.01979661174118519,
0.014365682378411293,
-0.05087553709745407,
-0.028626250103116035,
0.012552453204989433,
0.05746272951364517,
0.02449173666536808,
-0.012193311005830765,
-0.007625198923051357,
-0.0157321747392416,
-0.053117986768484116,
-0.012000600807368755,
0.05199676379561424,
-0.039382994174957275,
0.012254628352820873,
-0.04183566942811012,
-0.07792507112026215,
-0.00030904830782674253,
0.010292486287653446,
0.05784815177321434,
-0.01827244646847248,
-0.016529293730854988,
0.017632998526096344,
0.030045298859477043,
0.00005515787051990628,
-0.002776781329885125,
0.015924884006381035,
-0.004489275626838207,
0.004852797836065292,
-0.027978042140603065,
0.006241188384592533,
0.027505025267601013,
0.04183566942811012,
0.02140836976468563,
0.0814288929104805,
-0.05451951548457146,
0.038086578249931335,
0.03703543171286583,
0.013831349089741707,
-0.006801800336688757,
0.016520535573363304,
0.01795710250735283,
0.0011387431295588613,
0.0026891857851296663,
0.025700556114315987,
-0.004703884944319725,
0.011921764351427555,
-0.0009859981946647167,
-0.0049929507076740265,
0.043552543967962265,
-0.012780201621353626,
-0.012359743006527424,
-0.0006263087270781398,
-0.0748417004942894,
-0.03822673112154007,
-0.07841560244560242,
-0.046040259301662445,
0.005540423095226288,
0.022512076422572136,
0.0007598920492455363,
0.0010237739188596606,
0.01666068844497204,
-0.052417222410440445,
-0.014365682378411293,
0.005430928897112608,
-0.05416913330554962,
-0.03228774666786194,
-0.08065804839134216,
-0.014794901013374329,
0.07393071055412292,
-0.04253643378615379,
-0.10455413907766342,
0.035230960696935654,
-0.012333463877439499,
-0.020935354754328728,
0.0059389835223555565,
-0.016415420919656754,
-0.02654147334396839,
0.030518315732479095,
-0.0063156443648040295,
-0.04372773692011833,
-0.0023760313633829355,
-0.008111354894936085,
0.0043710218742489815,
0.006030958611518145,
0.028573691844940186,
-0.018727945163846016,
-0.046145375818014145,
0.07344017177820206,
-0.07673376798629761,
-0.06573175638914108,
-0.02454429492354393,
0.027434948831796646,
0.01311306469142437,
0.018237408250570297,
-0.04639064148068428,
0.08170919865369797,
0.05010469630360603,
-0.025437768548727036,
-0.0076076798141002655,
-0.013708715327084064,
0.040854599326848984,
-0.010888135991990566,
-0.087385393679142,
0.0007598920492455363,
-0.014453277923166752,
0.017711834982037544,
-0.00721787940710783,
0.053117986768484116,
0.07102253288030624,
0.050034619867801666,
-0.02654147334396839,
-0.01967397704720497,
-0.0021778461523354053,
-0.013516005128622055,
-0.03368927538394928,
-0.07652353495359421,
0.021180622279644012,
-0.015994960442185402,
0.009985901415348053,
0.025542885065078735,
0.025612961500883102,
0.04695125296711922,
0.005562322214245796,
0.0124123003333807,
0.030150413513183594,
0.0019281987333670259,
0.03216511383652687,
0.0011053472990170121,
0.04407811909914017,
0.01243857853114605,
0.0021504724863916636,
0.03582661226391792,
0.07701407372951508,
0.010835578665137291,
0.031184041872620583,
0.032200150191783905,
0.028205791488289833,
-0.013393371365964413,
-0.012605010531842709,
0.028573691844940186,
0.029694916680455208,
-0.010117294266819954,
-0.017799431458115578,
0.025665517896413803,
0.00323008862324059,
0.00013987926649861038,
-0.010835578665137291,
0.006556532345712185,
0.04004871845245361,
0.05833868682384491,
0.02725975774228573,
-0.01821989007294178,
0.0010785211343318224,
0.024666927754878998,
-0.02280990034341812,
0.0053389533422887325,
0.01705486886203289,
0.02513994462788105,
0.01214075367897749,
-0.04180063307285309,
0.022844938561320305,
0.0015241638757288456,
0.03605435788631439,
0.01671324484050274,
-0.00801937934011221,
0.003365861950442195,
-0.06751871109008789,
-0.09712602943181992,
-0.001442042994312942,
-0.004752062726765871,
0.040854599326848984,
-0.011229759082198143,
-0.0279079657047987,
-0.04292185604572296,
0.022249288856983185,
0.025315135717391968,
0.02801308035850525,
-0.00024170917458832264,
-0.015924884006381035,
-0.046530794352293015,
0.006928814109414816,
0.026033420115709305,
0.048317745327949524,
0.009705595672130585,
-0.0029235039837658405,
0.003641788149252534,
0.030185451731085777,
0.011921764351427555,
-0.015556982718408108,
-0.05276760458946228,
0.03605435788631439,
-0.039873529225587845,
0.025402730330824852,
-0.010134813375771046,
0.020795201882719994,
0.016467977315187454,
-0.01671324484050274,
-0.009434049017727375,
-0.005522903986275196,
-0.006823698990046978,
0.011536343954503536,
0.035756535828113556,
0.0029979601968079805,
-0.07925651967525482,
-0.012718884274363518,
-0.048843320459127426,
0.04838782176375389,
-0.0314117893576622,
-0.03481050208210945,
0.009688075631856918,
-0.001324883778579533,
0.002676046220585704,
-0.024737004190683365,
0.020199550315737724,
-0.006696685682982206,
0.009907064959406853,
0.02659403160214424,
-0.010485196486115456,
-0.0012559022288769484,
0.033549122512340546,
-0.04071444645524025,
0.012070677243173122,
0.03572149574756622,
0.05034996569156647,
-0.09004830569028854,
-0.12256380170583725,
0.0020913456100970507,
0.013717474415898323,
-0.036895278841257095,
-0.0024920955765992403,
-0.05217195302248001,
-0.035336073487997055,
0.06012563779950142,
0.004909734707325697,
-0.024947233498096466,
0.003506014822050929,
0.02718968130648136,
-0.006714204791933298
] |
710,253
|
urllib3_future.backend._base
|
ResponsePromise
| null |
class ResponsePromise:
def __init__(
self,
conn: BaseBackend,
stream_id: int,
request_headers: list[tuple[bytes, bytes]],
**parameters: typing.Any,
) -> None:
self._uid: str = b64encode(token_bytes(16)).decode("ascii")
self._conn: BaseBackend = conn
self._stream_id: int = stream_id
self._response: LowLevelResponse | AsyncLowLevelResponse | None = None
self._request_headers = request_headers
self._parameters: typing.MutableMapping[str, typing.Any] = parameters
def __eq__(self, other: object) -> bool:
if not isinstance(other, ResponsePromise):
return False
return self.uid == other.uid
def __repr__(self) -> str:
return f"<ResponsePromise '{self.uid}' {self._conn._http_vsn_str} Stream[{self.stream_id}]>"
@property
def uid(self) -> str:
return self._uid
@property
def request_headers(self) -> list[tuple[bytes, bytes]]:
return self._request_headers
@property
def stream_id(self) -> int:
return self._stream_id
@property
def is_ready(self) -> bool:
return self._response is not None
@property
def response(self) -> LowLevelResponse | AsyncLowLevelResponse:
if not self._response:
raise OSError
return self._response
@response.setter
def response(self, value: LowLevelResponse | AsyncLowLevelResponse) -> None:
self._response = value
def set_parameter(self, key: str, value: typing.Any) -> None:
self._parameters[key] = value
def get_parameter(self, key: str) -> typing.Any | None:
return self._parameters[key] if key in self._parameters else None
def update_parameters(self, data: dict[str, typing.Any]) -> None:
self._parameters.update(data)
|
(conn: 'BaseBackend', stream_id: 'int', request_headers: 'list[tuple[bytes, bytes]]', **parameters: 'typing.Any') -> 'None'
|
[
-0.016807587817311287,
-0.06965034455060959,
-0.10360582917928696,
0.025145210325717926,
0.007605008315294981,
0.035241104662418365,
-0.032877836376428604,
0.047378867864608765,
-0.025939268991351128,
-0.02558005228638649,
0.0696125254034996,
0.07199470698833466,
0.021061476320028305,
0.045904189348220825,
-0.04401357099413872,
0.014293067157268524,
0.05520602688193321,
0.012865650467574596,
0.010767065919935703,
-0.029720503836870193,
0.020456479862332344,
0.05898725986480713,
-0.0028879179153591394,
0.038077034056186676,
-0.02382177859544754,
0.022781938314437866,
-0.002210840582847595,
-0.035713762044906616,
0.011390969157218933,
-0.002552333287894726,
0.025315364822745323,
-0.005449704360216856,
0.020513197407126427,
0.01970023289322853,
-0.000648127228487283,
0.023330217227339745,
-0.02372724749147892,
0.04915605112910271,
-0.13325071334838867,
-0.0025027047377079725,
-0.04454294219613075,
-0.03382314369082451,
-0.0367346927523613,
-0.02928566187620163,
0.03505204617977142,
0.016391651704907417,
-0.03174346312880516,
0.05479009076952934,
0.00475726556032896,
0.012572605162858963,
0.06605816632509232,
0.0332181453704834,
-0.043257322162389755,
0.00986902229487896,
0.010162067599594593,
0.06121818721294403,
0.0011184182949364185,
0.05800413712859154,
-0.041366707533597946,
0.020513197407126427,
-0.03826609253883362,
0.03030659444630146,
0.0024932515807449818,
0.013224868103861809,
-0.009599609300494194,
-0.05180291458964348,
-0.01929374970495701,
-0.03359626978635788,
-0.020002730190753937,
0.01295072864741087,
0.03951390087604523,
0.00907023623585701,
-0.005128299351781607,
-0.006910206284373999,
0.07033096253871918,
-0.0007444305811077356,
-0.053126346319913864,
-0.007316689006984234,
-0.008101294748485088,
-0.010804877616465092,
0.024313338100910187,
-0.01973804458975792,
0.004116819240152836,
-0.06934784352779388,
0.015692124143242836,
-0.027678636834025383,
0.003717426210641861,
-0.07573813199996948,
-0.0859096497297287,
0.008096568286418915,
-0.06409192830324173,
0.0028217462822794914,
0.01223229430615902,
0.006740050856024027,
0.030514562502503395,
-0.009372735396027565,
-0.04809730499982834,
-0.033936578780412674,
-0.044505130499601364,
-0.013168149627745152,
-0.02941800467669964,
0.018594220280647278,
-0.024124275892972946,
0.016334934160113335,
0.03350173681974411,
-0.026525361463427544,
0.05240791290998459,
0.0135746318846941,
0.027867699041962624,
0.0011390969157218933,
-0.012657682411372662,
0.02302771806716919,
-0.0367157869040966,
0.041971705853939056,
0.012090497650206089,
-0.0011656837305054069,
-0.02561786398291588,
-0.02229037880897522,
-0.02126944437623024,
-0.0221958477050066,
-0.030155345797538757,
0.01937882788479328,
-0.00313369813375175,
0.02627957984805107,
-0.006012163124978542,
0.024445680901408195,
0.04382450878620148,
-0.00744903227314353,
-0.05709664151072502,
-0.027867699041962624,
-0.024672556668519974,
0.0360918827354908,
0.03310471028089523,
0.05463884025812149,
-0.006532082799822092,
0.025334272533655167,
-0.05081979185342789,
0.010880502872169018,
-0.016070246696472168,
0.020683353766798973,
0.00905605684965849,
0.01587173156440258,
-0.0023443654645234346,
-0.050214797258377075,
0.0045540244318544865,
-0.0215530376881361,
0.00285010552033782,
-0.06484817713499069,
-0.0059365383349359035,
-0.028813008219003677,
-0.01267658919095993,
-0.07679687440395355,
0.01746930368244648,
0.047794803977012634,
-0.043900132179260254,
-0.008323443122208118,
0.016741415485739708,
-0.005057401489466429,
-0.02395412139594555,
-0.013035805895924568,
-0.007113447412848473,
-0.023273499682545662,
0.022120222449302673,
-0.06231474503874779,
-0.022044597193598747,
-0.008852815255522728,
0.04064827039837837,
-0.029852846637368202,
-0.013593538664281368,
-0.0028619219083338976,
-0.01226065307855606,
0.02177991159260273,
-0.02669551596045494,
0.016438918188214302,
0.003856859402731061,
0.0351276695728302,
0.05630258470773697,
0.023613810539245605,
-0.033936578780412674,
-0.050139170140028,
0.06439442187547684,
-0.0747171938419342,
-0.02938019298017025,
0.0121377632021904,
0.016580713912844658,
0.05036604404449463,
0.02854832075536251,
0.03643219545483589,
0.05482790246605873,
-0.01031331717967987,
-0.06378942728042603,
-0.0017299148021265864,
0.06953690201044083,
-0.0031053388956934214,
0.03599735349416733,
0.00313369813375175,
0.0005278958124108613,
-0.004454766865819693,
0.03327486291527748,
-0.017677271738648415,
-0.03822828084230423,
-0.018537502735853195,
0.0050810337997972965,
0.004910878371447325,
-0.013413929380476475,
-0.01855640858411789,
0.021439600735902786,
0.00465328199788928,
-0.010615816339850426,
-0.00972722563892603,
-0.0772884339094162,
-0.021061476320028305,
0.00939164124429226,
0.018131019547581673,
0.011419328860938549,
-0.03312361612915993,
0.014047286473214626,
-0.018726564943790436,
0.05297509580850601,
-0.01941663958132267,
0.1219826266169548,
-0.026109425351023674,
0.013924396596848965,
0.019870387390255928,
0.005879819858819246,
0.02868066355586052,
-0.004353146534413099,
-0.014586112461984158,
-0.01945445127785206,
-0.014122910797595978,
0.013754241168498993,
0.020777884870767593,
0.010379488579928875,
-0.03548688814043999,
-0.011324797756969929,
0.00830453634262085,
0.023651622235774994,
0.03068471886217594,
-0.02191225439310074,
-0.004258615430444479,
0.019681327044963837,
0.017828520387411118,
0.018594220280647278,
0.03720735013484955,
-0.05467665195465088,
-0.04068608582019806,
-0.0034976419992744923,
0.02391630969941616,
-0.00030131713720038533,
0.012024326249957085,
-0.0036465281154960394,
-0.046320125460624695,
-0.015370718203485012,
-0.060083817690610886,
0.013933849520981312,
-0.07740186899900436,
-0.010303864255547523,
-0.03563813492655754,
0.01526673510670662,
0.01443486288189888,
0.01561649888753891,
0.008427426218986511,
-0.08394341170787811,
0.07498188316822052,
-0.028151292353868484,
-0.027981135994195938,
-0.011438234709203243,
-0.03062799945473671,
-0.02548552118241787,
0.02567458339035511,
0.0999758392572403,
0.008942619897425175,
0.002299463376402855,
-0.0049865031614899635,
-0.02002163790166378,
-0.01606079377233982,
-0.034314703196287155,
0.003414927516132593,
-0.0479082427918911,
-0.02854832075536251,
-0.01218502875417471,
-0.060877878218889236,
0.06318443268537521,
-0.02924785017967224,
0.04639574885368347,
-0.021193819120526314,
0.026166142895817757,
0.03605407103896141,
0.007146533578634262,
-0.020985852926969528,
0.022309284657239914,
-0.01277112029492855,
-0.01644837111234665,
0.0002509499026928097,
0.00374814891256392,
0.01970023289322853,
-0.10768955945968628,
0.041782643646001816,
0.02251725271344185,
-0.0395895279943943,
0.018093207851052284,
0.02047538571059704,
0.05157604068517685,
0.018187738955020905,
0.03081706166267395,
-0.04514794051647186,
0.018452424556016922,
-0.016495635733008385,
-0.0311384666711092,
0.0338609553873539,
0.022158034145832062,
0.05668070539832115,
-0.012430808506906033,
-0.014822439290583134,
0.01814047247171402,
0.03921140357851982,
0.01970023289322853,
-0.010785971768200397,
0.01772453635931015,
0.04560168832540512,
-0.05123572796583176,
-0.02590145729482174,
0.035430166870355606,
0.04125326871871948,
0.017318055033683777,
-0.022725220769643784,
-0.0402323380112648,
-0.003140788059681654,
-0.027035826817154884,
0.011873076669871807,
-0.09921959787607193,
0.014359238557517529,
-0.0395895279943943,
-0.0038403163198381662,
-0.025334272533655167,
0.01654290221631527,
0.018348440527915955,
-0.013243773952126503,
0.031535495072603226,
-0.005960171110928059,
0.008857541717588902,
-0.05195416510105133,
0.011390969157218933,
0.0424632653594017,
-0.03794468939304352,
-0.0402323380112648,
0.029588161036372185,
0.001121372333727777,
0.052899472415447235,
-0.05898725986480713,
-0.027886604890227318,
-0.007846062071621418,
0.02669551596045494,
0.08742214739322662,
0.09052275866270065,
-0.017232976853847504,
-0.02558005228638649,
-0.02247943915426731,
-0.040799520909786224,
0.0013175238855183125,
0.03951390087604523,
0.009084416553378105,
0.003648891346529126,
0.00002715915979933925,
-0.07596500217914581,
-0.0009394004591740668,
0.01290346309542656,
-0.007486844435334206,
-0.011296438053250313,
0.01366916298866272,
-0.04802167788147926,
-0.03208377584815025,
-0.05834444984793663,
-0.0068771205842494965,
0.015796108171343803,
0.03580829128623009,
-0.06023506820201874,
0.014283613301813602,
-0.07339376211166382,
-0.0027792074251919985,
0.06719253957271576,
-0.027357231825590134,
-0.003913577646017075,
-0.009372735396027565,
-0.01705336757004261,
-0.004438224248588085,
0.025958174839615822,
-0.024351151660084724,
0.006810948718339205,
0.05842007324099541,
0.01520056277513504,
0.006508450023829937,
-0.02174209989607334,
-0.003476372454315424,
-0.004594199825078249,
-0.030476750805974007,
-0.0017157351830974221,
0.03962733969092369,
0.006366653833538294,
-0.05403384193778038,
0.009264024905860424,
-0.01941663958132267,
0.026657704263925552,
0.07301563769578934,
-0.002424716716632247,
-0.01744094491004944,
0.08696839958429337,
0.007094541564583778,
-0.006517902947962284,
0.0027697542682290077,
-0.03355845808982849,
-0.06949909031391144,
-0.04095077142119408,
-0.01814047247171402,
0.010095896199345589,
0.031157372519373894,
-0.017904145643115044,
0.01330049242824316,
0.022441627457737923,
0.03094940446317196,
-0.00437441561371088,
0.037282973527908325,
-0.03631875663995743,
0.007363954558968544,
-0.003648891346529126,
-0.0030793428886681795,
0.01929374970495701,
0.05713445320725441,
-0.017705630511045456,
0.002369179856032133,
0.06821347028017044,
0.013867678120732307,
-0.029039882123470306,
-0.05713445320725441,
0.026241768151521683,
0.009249845519661903,
-0.015824466943740845,
0.01644837111234665,
0.028018947690725327,
0.01826336234807968,
-0.0033629355020821095,
0.0919596254825592,
-0.017611099407076836,
0.0030037183314561844,
0.09316962212324142,
-0.002273467369377613,
-0.016297120600938797,
0.0196435134857893,
0.029115507379174232,
-0.01689266599714756,
-0.009765038266777992,
0.017894692718982697,
0.038247186690568924,
-0.0042775217443704605,
-0.038436248898506165,
-0.035883914679288864,
0.02123163267970085,
-0.0312897153198719,
-0.0884808897972107,
-0.03817156329751015,
0.04499669000506401,
-0.03391767293214798,
-0.0028548322152346373,
-0.008611761964857578,
-0.04760574549436569,
0.047756992280483246,
0.09521149098873138,
-0.008753557689487934,
-0.08961526304483414,
-0.006054701749235392,
0.013801506720483303,
0.0005252371192909777,
-0.017299149185419083,
0.010370035655796528,
-0.0009913924150168896,
-0.030230971053242683,
0.0006658517522737384,
0.0023278226144611835,
-0.0392870269715786,
-0.019775856286287308,
-0.02673332951962948,
0.03794468939304352,
0.07592719048261642,
0.012468621134757996,
0.02966378629207611,
-0.013385570608079433,
0.04824855178594589,
-0.01475626789033413,
0.04393794760107994,
-0.03902234137058258,
0.0004442950594238937,
0.04352201148867607,
-0.009925740770995617,
-0.0002032413613051176,
-0.026960203424096107,
0.009084416553378105,
-0.01728024147450924,
0.020777884870767593,
0.028623946011066437,
-0.05426071584224701,
0.0180459413677454,
-0.07010409235954285,
0.03040112555027008,
-0.014217441901564598,
0.04329513758420944,
0.018405159935355186,
-0.04004327580332756,
0.017072273418307304,
-0.04658481106162071,
0.021288350224494934,
-0.01635384000837803,
0.04476981610059738,
-0.05278603360056877,
-0.021439600735902786,
0.005312634631991386,
0.030060814693570137,
-0.020399760454893112,
0.022649595513939857,
-0.0363943837583065,
-0.03828500211238861,
0.04008108749985695,
0.04934511333703995,
0.05305072292685509,
0.019681327044963837,
-0.04348419979214668,
-0.03374752029776573,
-0.010020271874964237,
-0.05320196971297264,
0.016268761828541756,
-0.02289537526667118,
-0.0196435134857893,
-0.04042139649391174,
-0.07017971575260162,
-0.0005742749781347811,
0.043257322162389755,
0.007302509155124426,
-0.05513039976358414,
0.005303181707859039,
-0.01334775798022747,
-0.021382881328463554,
0.021950066089630127,
0.09279149770736694,
-0.05834444984793663,
0.0008956799283623695,
-0.016495635733008385,
-0.017157351598143578,
-0.00011328933032928035,
0.07864967733621597,
0.03733969107270241,
-0.0009919832227751613,
-0.03147877752780914,
-0.026487547904253006,
0.04843761399388313,
-0.02005944959819317,
-0.1312844604253769,
-0.021836629137396812,
0.029815034940838814,
-0.04193389043211937,
0.015068219974637032,
0.006593527738004923,
0.022441627457737923,
0.031251903623342514,
-0.023197874426841736,
-0.0007225702865980566,
0.0002778321213554591,
0.03669688105583191,
0.05978132039308548,
0.0670791044831276,
0.0056009539403021336,
-0.009027698077261448,
0.03890890255570412,
0.05611352249979973,
-0.04579075053334236,
-0.009840663522481918,
-0.0034125642850995064,
0.001504222396761179,
0.034125640988349915,
0.037472035735845566,
0.05709664151072502,
0.04049702361226082,
0.02535317838191986,
0.002417626790702343,
-0.014217441901564598,
-0.052710410207509995,
-0.023141155019402504,
0.020097261294722557,
-0.013196508400142193,
0.031157372519373894,
0.044316068291664124,
-0.011948700994253159,
-0.08265779167413712,
-0.012790026143193245,
-0.03527892008423805,
-0.010124255903065205,
0.032688774168491364,
0.0415179543197155,
-0.04231201484799385,
0.007567195687443018,
-0.0023171878419816494,
-0.0255422405898571,
-0.012326824478805065,
0.04261451214551926,
-0.024672556668519974,
-0.06326005607843399,
0.040194522589445114,
-0.01983257569372654,
-0.06522629410028458,
0.019586795940995216,
-0.013725881464779377,
-0.0030628000386059284,
0.03875765576958656,
0.0338609553873539,
0.02325459197163582,
-0.007193798664957285,
-0.020645540207624435,
-0.03437142074108124,
-0.06840253621339798,
0.04083733260631561,
-0.03127080947160721,
-0.03898452967405319,
0.03836062550544739,
0.00432006036862731,
-0.02941800467669964,
0.032367367297410965,
-0.057626016438007355,
0.00541189219802618,
0.040194522589445114,
-0.0395895279943943,
-0.04053483530879021,
-0.059667881578207016,
0.004731270018965006,
0.009098595939576626,
0.027224889025092125,
-0.018338987603783607,
0.04348419979214668,
-0.03164893388748169,
-0.010644175112247467,
0.0034125642850995064,
0.054147280752658844,
0.00047974413610063493,
0.0276219192892313,
-0.007855514995753765,
-0.029399098828434944,
-0.005544235464185476,
-0.013187055476009846,
0.02854832075536251,
-0.006135053001344204,
-0.011702921241521835,
0.028718477115035057,
-0.015607045963406563,
0.0007332050008699298,
0.0971021056175232,
0.010322770103812218,
-0.02580692619085312,
0.04828636720776558,
0.010521285235881805,
-0.019775856286287308,
0.0038521327078342438,
0.07078471034765244,
0.05131135508418083,
0.017034461721777916,
-0.05426071584224701,
0.043635446578264236,
-0.009495625272393227,
0.013073618523776531,
0.03537344932556152,
-0.04276576265692711,
-0.032745491713285446,
0.012052685022354126,
-0.009954100474715233,
0.02673332951962948,
0.009973006322979927,
-0.002295918297022581,
0.017715083435177803,
0.015692124143242836,
-0.023557091131806374,
-0.017062820494174957,
-0.04174482822418213,
-0.017393678426742554,
0.0020702260080724955,
0.023046625778079033,
0.02229037880897522,
-0.03940046578645706,
0.0012773482594639063,
-0.058646947145462036,
-0.025504427030682564,
0.03858749940991402,
-0.015011501498520374,
-0.024502400308847427,
-0.08583402633666992,
0.029304567724466324,
-0.04911823570728302,
-0.025088490918278694,
0.017327507957816124,
-0.04809730499982834,
-0.011372063308954239,
-0.031667839735746384,
-0.08538027852773666,
-0.014633378013968468,
0.011183001101016998,
0.03461720421910286,
-0.06140724942088127,
-0.02136397548019886,
-0.0271492637693882,
-0.0040955496951937675,
0.07588937878608704,
0.009013517759740353,
0.01028495840728283,
0.07067127525806427,
-0.003216412616893649,
-0.030646907165646553,
0.022403815761208534,
0.0523700974881649,
-0.06938565522432327,
0.01960570178925991,
0.05361790582537651,
0.01058745663613081,
0.046962935477495193,
0.02034304291009903,
0.030420033261179924,
-0.041782643646001816,
0.0033700254280120134,
0.0546010285615921,
0.05751257762312889,
0.008436880074441433,
-0.009973006322979927,
0.08409465849399567,
0.0367346927523613,
0.02956925518810749,
0.04083733260631561,
0.015238375402987003,
0.06685222685337067,
-0.11063892394304276,
-0.044051382690668106,
0.018187738955020905,
-0.05221885070204735,
0.03662125766277313,
-0.015181656926870346,
0.03898452967405319,
0.05645383149385452,
0.015531420707702637,
-0.033350490033626556,
0.04458075761795044,
-0.02924785017967224,
0.008120201528072357,
-0.015323453582823277,
0.03442814201116562,
-0.009566523134708405,
0.041631393134593964,
-0.01408509910106659,
0.05509258806705475,
0.013177602551877499,
-0.05565977469086647,
0.016656339168548584,
0.019170859828591347,
-0.04276576265692711,
-0.02465364895761013,
0.03406892344355583,
-0.01663743145763874,
-0.03072253055870533,
-0.08212841302156448,
0.05872257426381111,
0.023557091131806374,
-0.02168538048863411,
-0.06015944108366966,
0.04692512005567551,
-0.015030407346785069,
0.030609093606472015
] |
710,254
|
urllib3_future.backend._base
|
__eq__
| null |
def __eq__(self, other: object) -> bool:
if not isinstance(other, ResponsePromise):
return False
return self.uid == other.uid
|
(self, other: object) -> bool
|
[
0.013053461909294128,
-0.024048127233982086,
-0.02915186621248722,
0.06037983298301697,
0.007171186152845621,
-0.01117632444947958,
-0.0170585997402668,
0.04141814261674881,
0.031695086508989334,
-0.009870112873613834,
0.05166022107005119,
-0.038442403078079224,
0.05657365173101425,
0.06691953539848328,
-0.01474894117563963,
-0.031418271362781525,
0.003096845233812928,
0.03996487334370613,
0.012283575721085072,
-0.011773201636970043,
-0.02197203040122986,
0.05999921262264252,
0.04477449879050255,
0.03930744156241417,
-0.022196941077709198,
0.04394406080245972,
0.01605515368282795,
0.0038970077876001596,
-0.017413266003131866,
0.09854541718959808,
-0.04598555713891983,
-0.03896142542362213,
0.0767463967204094,
0.02167791686952114,
0.0025064549408853054,
0.0023593981750309467,
-0.05930718034505844,
0.09404721111059189,
-0.09024102985858917,
-0.03716214373707771,
-0.04923810809850693,
0.005960129667073488,
-0.04560493677854538,
0.0049393814988434315,
-0.003390958998352289,
0.000298439001198858,
-0.04166035354137421,
0.04294061288237572,
0.023010078817605972,
0.014281819574534893,
0.017352713271975517,
-0.022318046540021896,
-0.05339030176401138,
0.06716174632310867,
-0.01634061709046364,
0.03136637061834335,
0.016072453930974007,
0.06069124490022659,
-0.06757696717977524,
0.028390631079673767,
-0.03190269693732262,
0.006219641771167517,
0.01033723447471857,
-0.03384038805961609,
-0.006859771441668272,
-0.02942867949604988,
-0.029169168323278427,
0.01231817714869976,
0.0010980608640238643,
0.04837306961417198,
-0.017266210168600082,
0.004476584959775209,
-0.027560193091630936,
0.029082663357257843,
0.041833359748125076,
0.000609312963206321,
-0.018719477578997612,
0.02719687484204769,
-0.0067473165690898895,
-0.012776649557054043,
0.021660614758729935,
-0.03660851716995239,
-0.027525590732693672,
-0.03205840289592743,
-0.09501605480909348,
0.03394419327378273,
-0.0034774630330502987,
-0.05456675961613655,
-0.022421851754188538,
0.00770751154050231,
-0.023823216557502747,
-0.010458339937031269,
0.024497948586940765,
-0.03256012499332428,
0.04041469469666481,
0.012664194218814373,
-0.013866600580513477,
-0.01788903959095478,
-0.0378887765109539,
-0.0215741116553545,
-0.004991284105926752,
0.006063934415578842,
0.022093135863542557,
0.027006566524505615,
0.034030694514513016,
0.037265948951244354,
0.008356291800737381,
0.008235186338424683,
0.018771380186080933,
-0.011643446050584316,
-0.04861528053879738,
0.07162535935640335,
-0.029740095138549805,
0.03975726291537285,
0.006881397683173418,
-0.05266366899013519,
-0.015588031150400639,
-0.014126112684607506,
0.0007460974738933146,
-0.01873677782714367,
0.024843964725732803,
0.049930140376091,
0.02970549277961254,
0.004991284105926752,
0.0594455860555172,
-0.016366567462682724,
0.0025259184185415506,
0.016755836084485054,
-0.07197137176990509,
-0.024394143372774124,
0.011937559582293034,
-0.002770292339846492,
0.026902761310338974,
0.047750238329172134,
0.02375401370227337,
-0.0014629998477175832,
-0.003615869442000985,
0.05612383037805557,
0.03619329631328583,
0.020553363487124443,
0.0038342922925949097,
0.02172981947660446,
0.017023997381329536,
-0.00654835719615221,
-0.013676291331648827,
-0.012759348377585411,
-0.09037943929433823,
0.014921949245035648,
0.007257690187543631,
-0.024497948586940765,
0.0017030485905706882,
-0.03429020941257477,
0.06505104899406433,
0.02525918371975422,
-0.08484318107366562,
-0.010639999061822891,
-0.015743738040328026,
-0.018857885152101517,
-0.012335478328168392,
-0.019048193469643593,
0.01856376975774765,
-0.032473623752593994,
0.024653656408190727,
-0.03166048601269722,
-0.014411576092243195,
0.0018847071332857013,
-0.031573981046676636,
-0.012802599929273129,
-0.004091641865670681,
0.039099834859371185,
-0.012171120382845402,
-0.002264243783429265,
0.000665540574118495,
-0.009169429540634155,
-0.011600193567574024,
0.004424682352691889,
0.049584124237298965,
0.00846874713897705,
-0.049584124237298965,
-0.013555185869336128,
0.013650340028107166,
-0.07439348846673965,
0.015683185309171677,
-0.004111105110496283,
0.03390958905220032,
-0.01795824244618416,
0.034809231758117676,
0.011954860761761665,
0.04467069357633591,
0.03875381872057915,
-0.07688480615615845,
0.015267966315150261,
-0.005531934555619955,
-0.011652096174657345,
-0.011366632767021656,
-0.020034339278936386,
0.002541056601330638,
-0.03802718222141266,
0.008819088339805603,
0.008014600723981857,
-0.045570336282253265,
-0.05044916644692421,
-0.029515184462070465,
-0.02224884368479252,
0.009714405052363873,
-0.0024718535132706165,
-0.005017235409468412,
0.04058770462870598,
0.09017182886600494,
-0.01906549371778965,
-0.05899576470255852,
-0.0592033751308918,
0.009575999341905117,
0.020536063238978386,
0.02147030644118786,
0.019428810104727745,
0.011989462189376354,
-0.058165326714515686,
-0.008654730394482613,
0.025051575154066086,
0.07999894767999649,
-0.016427120193839073,
-0.020639868453145027,
0.02174711972475052,
-0.039826467633247375,
0.05529339239001274,
-0.0016133006429299712,
0.024065429344773293,
0.00743069825693965,
-0.045016709715127945,
0.051210399717092514,
0.027508290484547615,
0.049930140376091,
-0.037092939019203186,
-0.029359476640820503,
-0.0035920809023082256,
0.02563980221748352,
0.05134880915284157,
-0.05813072621822357,
0.027629395946860313,
-0.0038061784580349922,
0.011245527304708958,
0.051764026284217834,
0.04781944304704666,
0.020657168701291084,
-0.06065664440393448,
-0.019480712711811066,
0.013451380655169487,
-0.025518696755170822,
-0.02676435559988022,
0.008594177663326263,
-0.05311349034309387,
-0.024324940517544746,
-0.05262906849384308,
-0.005129690747708082,
-0.046850595623254776,
-0.047854043543338776,
-0.0015019266866147518,
0.05089898779988289,
0.03840780258178711,
0.021539509296417236,
0.022594859823584557,
-0.01761222630739212,
0.009126177988946438,
-0.0875421017408371,
-0.02825222536921501,
-0.04231778532266617,
0.01896168850362301,
-0.020501460880041122,
-0.018546469509601593,
0.0025778207927942276,
-0.0554317981004715,
0.018996290862560272,
0.01788903959095478,
-0.0264702420681715,
0.005743869114667177,
-0.020103542134165764,
-0.011738600209355354,
-0.06100266054272652,
-0.07252500206232071,
-0.01274204719811678,
-0.0028070565313100815,
0.0654662698507309,
-0.06231752038002014,
-0.03750815987586975,
-0.04505131393671036,
0.017750632017850876,
0.02987850084900856,
-0.004065690562129021,
-0.06242132559418678,
0.010155576281249523,
-0.01956721767783165,
-0.014809494838118553,
-0.015579380095005035,
-0.006150438450276852,
0.04349423944950104,
-0.04878828674554825,
-0.023702111095190048,
-0.0038061784580349922,
0.04608936235308647,
-0.007236064411699772,
0.021868225187063217,
-0.016747185960412025,
-0.015319867990911007,
0.03038022480905056,
0.002616747748106718,
0.02669515088200569,
0.01048429124057293,
0.017084551975131035,
0.024826664477586746,
0.007915121503174305,
0.04588175192475319,
-0.010008519515395164,
0.026383737102150917,
0.04252539575099945,
0.04999934509396553,
0.01823505572974682,
-0.034705426543951035,
0.007365820463746786,
0.046677589416503906,
-0.05311349034309387,
0.0016965607646852732,
0.002744341269135475,
0.027525590732693672,
0.030189916491508484,
-0.04906510189175606,
-0.043286629021167755,
0.060795050114393234,
-0.013477331958711147,
0.027854306623339653,
-0.03538015857338905,
-0.009679803624749184,
0.04636617377400398,
0.011357982642948627,
-0.020190047100186348,
-0.023096583783626556,
0.02563980221748352,
-0.0085292998701334,
0.04259459674358368,
0.023823216557502747,
0.0026426988188177347,
-0.07806126028299332,
0.050483766943216324,
-0.03349437192082405,
-0.016262762248516083,
0.0026405362877994776,
-0.0205706637352705,
0.029290273785591125,
0.0371275395154953,
-0.03494763746857643,
-0.10117514431476593,
0.032854240387678146,
0.056262239813804626,
-0.009316487237811089,
0.03861540928483009,
0.025830110535025597,
-0.020103542134165764,
0.03705833852291107,
-0.02591661550104618,
0.009229983203113079,
0.05826913192868233,
-0.01946341246366501,
0.013529234565794468,
-0.03138367086648941,
-0.07487791031599045,
0.0322314128279686,
-0.02475746162235737,
-0.0469198003411293,
-0.03975726291537285,
-0.03840780258178711,
-0.07612357288599014,
0.029532484710216522,
-0.056158434599637985,
-0.061175666749477386,
0.01076110452413559,
-0.0071884868666529655,
-0.06989527493715286,
0.029394078999757767,
-0.042733002454042435,
-0.008101104758679867,
0.09446243196725845,
0.014428876340389252,
-0.020224647596478462,
0.02927297167479992,
-0.028719346970319748,
-0.01298425905406475,
-0.01911739632487297,
-0.016695283353328705,
0.0007904308149591088,
0.015181462280452251,
-0.02709306962788105,
-0.0031141459476202726,
-0.013780096545815468,
0.019549917429685593,
-0.06169469282031059,
-0.02749098837375641,
-0.0026773004792630672,
0.000623910513240844,
-0.05650445073843002,
-0.043667249381542206,
0.03371928259730339,
0.0795145258307457,
0.04076071083545685,
0.005445430520921946,
0.016695283353328705,
0.01309671439230442,
0.027058469131588936,
-0.01262959185987711,
-0.04508591443300247,
0.0008563901646994054,
-0.051037393510341644,
-0.08511999249458313,
-0.004048389848321676,
-0.026228029280900955,
-0.023546403273940086,
-0.020985884591937065,
0.0033282435033470392,
-0.003987837117165327,
0.06456662714481354,
0.048961296677589417,
-0.02390972152352333,
0.034030694514513016,
-0.06726555526256561,
0.002828682539984584,
-0.037265948951244354,
-0.029238371178507805,
0.04660838469862938,
0.06183309853076935,
0.020726371556520462,
-0.001548422616906464,
0.008663381449878216,
0.007171186152845621,
0.04854607582092285,
-0.008148682303726673,
0.04633157327771187,
0.010882209986448288,
-0.011721299961209297,
-0.05498197674751282,
-0.001721430686302483,
0.05591622367501259,
0.03121066279709339,
0.016029201447963715,
-0.04404786601662636,
-0.011678047478199005,
0.01259499043226242,
-0.030916549265384674,
0.004991284105926752,
0.042006369680166245,
0.05363251641392708,
0.018771380186080933,
0.0013710892526432872,
0.01298425905406475,
-0.03121066279709339,
-0.042559996247291565,
-0.05999921262264252,
-0.03193729743361473,
0.0018014470115303993,
-0.02453255094587803,
-0.01816585101187229,
0.00020085160213056952,
-0.043286629021167755,
-0.014515380375087261,
-0.055327992886304855,
0.02759479358792305,
-0.012006763368844986,
0.07446268945932388,
0.001537609612569213,
0.00858985260128975,
-0.014506730251014233,
0.05124500393867493,
-0.0037672517355531454,
-0.05757709965109825,
-0.021037787199020386,
0.011314730159938335,
-0.03574347496032715,
0.008819088339805603,
0.002891398034989834,
0.019030893221497536,
-0.05999921262264252,
0.046746790409088135,
-0.0644628256559372,
0.022162338718771935,
0.035535864531993866,
-0.016747185960412025,
0.04179875925183296,
-0.06809598952531815,
0.015743738040328026,
-0.0025799835566431284,
0.015380420722067356,
-0.02280246838927269,
0.020691771060228348,
-0.021764419972896576,
-0.07515472173690796,
0.02491316758096218,
0.03083004616200924,
-0.007283641491085291,
0.023494502529501915,
0.0074869259260594845,
-0.01783713698387146,
-0.014316421002149582,
0.001304048695601523,
0.01505170576274395,
0.02252565696835518,
0.009697104804217815,
0.03948045149445534,
-0.002664324827492237,
-0.02626263163983822,
-0.008486048318445683,
-0.03494763746857643,
0.060345228761434555,
0.031037654727697372,
0.03778497129678726,
0.005341625306755304,
-0.025293786078691483,
0.04878828674554825,
0.06986067444086075,
-0.01281990110874176,
-0.045016709715127945,
-0.03195459768176079,
-0.04294061288237572,
0.0259685181081295,
-0.019428810104727745,
0.04325202852487564,
-0.01839076168835163,
-0.04705820605158806,
-0.0061850398778915405,
-0.024203835055232048,
0.01048429124057293,
0.018356161192059517,
-0.04764643311500549,
-0.025224583223462105,
-0.02390972152352333,
-0.05903036892414093,
-0.012067316100001335,
0.01137528382241726,
0.028805850073695183,
-0.07418587803840637,
-0.0010250731138512492,
0.01505170576274395,
0.03563966974616051,
-0.002603772096335888,
0.04909970238804817,
-0.00638399925082922,
0.006738665979355574,
-0.03771577030420303,
0.022162338718771935,
-0.018702177330851555,
0.055708613246679306,
0.07197137176990509,
0.047404222190380096,
0.034480515867471695,
-0.016072453930974007,
0.08034496754407883,
-0.03664311766624451,
-0.0521792471408844,
0.02363290823996067,
0.02441144548356533,
0.006020682398229837,
0.051867831498384476,
0.020985884591937065,
0.05740409344434738,
0.022888973355293274,
0.05498197674751282,
-0.011877006851136684,
-0.002076097298413515,
-0.04695440083742142,
0.011496389284729958,
-0.02024194970726967,
0.06764617562294006,
0.011920259334146976,
0.014844096265733242,
-0.002130162436515093,
-0.052940484136343,
-0.01734406314790249,
0.04179875925183296,
0.013814697973430157,
-0.0015094957780092955,
0.02776780165731907,
-0.029791997745633125,
-0.0018793005729094148,
-0.007763739209622145,
0.0025951217394322157,
0.06543166935443878,
-0.04463609308004379,
-0.010579446330666542,
-0.025951215997338295,
-0.017819834873080254,
0.045016709715127945,
0.036989133805036545,
-0.034151799976825714,
-0.06432441622018814,
0.029740095138549805,
0.004723121412098408,
-0.027179574593901634,
0.03647011145949364,
0.00437710527330637,
0.033304061740636826,
-0.02927297167479992,
-0.029134565964341164,
-0.0297227930277586,
0.07266340404748917,
0.006630535703152418,
-0.0254667941480875,
-0.07321703433990479,
0.03489573672413826,
0.0035726174246519804,
-0.0890645757317543,
-0.017404615879058838,
-0.005038861185312271,
0.0055968123488128185,
0.05636604130268097,
0.039826467633247375,
0.08096779882907867,
-0.03148747608065605,
0.040103279054164886,
-0.017084551975131035,
-0.02631453424692154,
0.03518984839320183,
-0.09017182886600494,
0.043009817600250244,
0.026504842564463615,
0.028217623010277748,
-0.000376562966266647,
0.02147030644118786,
-0.07020669430494308,
-0.04553573578596115,
0.04262919723987579,
0.0001028587284963578,
0.004710145760327578,
-0.05262906849384308,
-0.011712648905813694,
-0.02084747701883316,
0.014895998872816563,
-0.04304441809654236,
0.02403082698583603,
-0.0755007416009903,
-0.02197203040122986,
-0.004366292152553797,
0.03318295627832413,
0.04252539575099945,
0.004848552402108908,
-0.008395218290388584,
-0.09944505989551544,
0.0561930350959301,
-0.07093332707881927,
0.01856376975774765,
0.010570795275270939,
0.0002728932595346123,
0.002211259910836816,
-0.019100096076726913,
-0.03337326645851135,
0.05930718034505844,
-0.002845983486622572,
-0.015475575812160969,
-0.001020207186229527,
0.00894451979547739,
-0.00568764191120863,
0.03259472921490669,
0.02024194970726967,
0.030016906559467316,
0.046850595623254776,
-0.02814842015504837,
0.006098535843193531,
-0.01605515368282795,
0.043736450374126434,
0.01634061709046364,
-0.015544778667390347,
-0.043736450374126434,
-0.013451380655169487,
0.00037899590097367764,
-0.016850989311933517,
0.031746987253427505,
0.01488734781742096,
0.0020296014845371246,
-0.004141381476074457,
-0.03920364007353783,
-0.01866757497191429,
-0.020605266094207764,
-0.02212773822247982,
-0.02859824150800705,
-0.04653918370604515,
0.00022747863840777427,
-0.009939315728843212,
0.008845039643347263,
-0.030241817235946655,
0.0398956723511219,
0.034861136227846146,
-0.011729950085282326,
-0.02318308688700199,
-0.03820019215345383,
0.009480844251811504,
-0.06702334433794022,
-0.02949788235127926,
0.052317652851343155,
0.022837070748209953,
0.021591411903500557,
-0.07446268945932388,
0.027733201161026955,
-0.042006369680166245,
0.027837004512548447,
0.023702111095190048,
-0.03351167216897011,
0.05079518258571625,
-0.005315674468874931,
-0.014238568022847176,
0.02441144548356533,
-0.05245605856180191,
0.04051849991083145,
0.08608883619308472,
0.0021604388020932674,
-0.05975700169801712,
0.040726110339164734,
0.043148223310709,
-0.08518919348716736,
0.023425297811627388,
0.0006109349196776748,
-0.00022274794173426926,
0.04207557439804077,
0.03050133027136326,
0.028563639149069786,
-0.04653918370604515,
-0.009584649465978146,
0.04435928165912628,
0.02117619290947914,
-0.003274178598076105,
0.01896168850362301,
0.08809573203325272,
-0.008775836788117886,
-0.012093267403542995,
0.02174711972475052,
0.001193756004795432,
0.08214425295591354,
-0.01480084378272295,
0.0022880323231220245,
0.0028113818261772394,
0.0035293654073029757,
-0.023390697315335274,
-0.0043511539697647095,
0.021868225187063217,
0.09681534022092819,
0.05183323100209236,
-0.04608936235308647,
0.06650432199239731,
-0.01901359111070633,
0.007045755162835121,
-0.03404799476265907,
0.00772048719227314,
0.014895998872816563,
0.005795771721750498,
-0.02937677688896656,
0.0439094603061676,
0.005579511635005474,
-0.008040552027523518,
0.01956721767783165,
0.022318046540021896,
0.06255973130464554,
-0.049480319023132324,
0.060795050114393234,
0.06667732447385788,
0.01761222630739212,
-0.05702347308397293,
0.06082965061068535,
-0.05152181535959244,
0.013658990152180195,
-0.04968792945146561,
0.03261202946305275,
-0.014593234285712242,
0.06065664440393448
] |
710,255
|
urllib3_future.backend._base
|
__init__
| null |
def __init__(
self,
conn: BaseBackend,
stream_id: int,
request_headers: list[tuple[bytes, bytes]],
**parameters: typing.Any,
) -> None:
self._uid: str = b64encode(token_bytes(16)).decode("ascii")
self._conn: BaseBackend = conn
self._stream_id: int = stream_id
self._response: LowLevelResponse | AsyncLowLevelResponse | None = None
self._request_headers = request_headers
self._parameters: typing.MutableMapping[str, typing.Any] = parameters
|
(self, conn: urllib3_future.backend._base.BaseBackend, stream_id: int, request_headers: list[tuple[bytes, bytes]], **parameters: Any) -> NoneType
|
[
-0.04160585254430771,
-0.04102040082216263,
-0.045352719724178314,
0.024003375321626663,
-0.04773354157805443,
0.022305576130747795,
-0.03951775282621384,
0.07392258942127228,
-0.05054369196295738,
-0.046367496252059937,
-0.003190692514181137,
0.10335111618041992,
-0.010879579000175,
0.04734324291348457,
-0.02049068547785282,
0.011884598061442375,
0.00074522674549371,
0.030150581151247025,
-0.006464323494583368,
-0.05807645991444588,
-0.006435051094740629,
0.08274334669113159,
-0.03918599709868431,
0.0870366320014,
-0.01612909696996212,
0.06186235696077347,
-0.031809352338314056,
-0.03684420511126518,
0.048201899975538254,
-0.0036712479777634144,
0.034795135259628296,
0.017865927889943123,
0.03938114643096924,
0.023164233192801476,
-0.009991648606956005,
-0.019427122548222542,
-0.01138696726411581,
0.01448984257876873,
-0.11100097745656967,
0.0068838950246572495,
-0.023008113726973534,
-0.01969057321548462,
-0.004661631304770708,
-0.020724866539239883,
0.03335103020071983,
0.062057506293058395,
0.03276558220386505,
0.00576178589835763,
0.004420133773237467,
0.023086173459887505,
-0.034229204058647156,
0.05651526525616646,
-0.03097020834684372,
-0.005610545165836811,
-0.022364120930433273,
0.04718712344765663,
0.001938077388331294,
0.015250924974679947,
-0.03803461790084839,
0.04769451171159744,
-0.06841937452554703,
0.03811267763376236,
0.02991640195250511,
0.0071229529567062855,
0.004634798038750887,
-0.05097302049398422,
-0.045430779457092285,
-0.026794012635946274,
-0.028452781960368156,
0.012372471392154694,
0.07181497663259506,
0.006493595894426107,
-0.003620021278038621,
0.00508364150300622,
0.03620021417737007,
0.030365245416760445,
-0.07435192167758942,
0.01811962202191353,
-0.03776140883564949,
0.0062057506293058395,
0.09140797704458237,
-0.0022698314860463142,
-0.005771543364971876,
0.01677308976650238,
0.04589913785457611,
-0.023730166256427765,
-0.036941781640052795,
-0.06272101402282715,
-0.07688885927200317,
0.03844442963600159,
-0.05753004178404808,
0.0006409437628462911,
-0.0036541724111884832,
0.010703944601118565,
0.037351593375205994,
-0.028101513162255287,
-0.04960697516798973,
0.007674249820411205,
-0.032160621136426926,
0.012284654192626476,
-0.010196555405855179,
-0.015670496970415115,
-0.0612378790974617,
0.0002593352401163429,
-0.004866538103669882,
-0.043010927736759186,
0.04047398269176483,
-0.05940347537398338,
0.007142467889934778,
0.0024442460853606462,
0.004034713841974735,
0.025349905714392662,
0.00554712163284421,
0.06486766040325165,
-0.032648492604494095,
0.018109863623976707,
0.015816858038306236,
-0.030950693413615227,
-0.024647368118166924,
-0.017534172162413597,
-0.029935916885733604,
-0.016470609232783318,
0.014831353910267353,
0.032726552337408066,
0.042659658938646317,
-0.004173757508397102,
0.03830782696604729,
-0.05323675647377968,
-0.02696964703500271,
-0.05054369196295738,
0.0033492515794932842,
-0.02669643796980381,
0.030872633680701256,
0.014089786447584629,
-0.045860107988119125,
-0.024452218785881996,
0.017153631895780563,
0.02242266573011875,
-0.037293050438165665,
0.023183748126029968,
0.025740204378962517,
0.03910793736577034,
0.006493595894426107,
-0.052417125552892685,
-0.02162255346775055,
-0.009508654475212097,
-0.00895735714584589,
-0.05109011009335518,
0.01451911497861147,
-0.03288267180323601,
-0.00860120914876461,
-0.09687215834856033,
0.006483838427811861,
0.09148603677749634,
-0.03682469204068184,
-0.024998636916279793,
0.01755368709564209,
-0.011718721129000187,
0.00047781108878552914,
0.06287713348865509,
0.0286089014261961,
-0.02234460599720478,
0.0008830510196276009,
-0.05331481620669365,
-0.031067783012986183,
-0.030599424615502357,
-0.009762348607182503,
-0.050426602363586426,
-0.011865083128213882,
-0.032648492604494095,
0.00830848515033722,
0.0029662707820534706,
-0.011787023395299911,
0.01777810975909233,
0.00731322355568409,
0.012528590857982635,
0.032160621136426926,
0.03335103020071983,
-0.03448289632797241,
-0.015075290575623512,
0.04773354157805443,
-0.005986207630485296,
0.010255100205540657,
0.020295536145567894,
0.01592419110238552,
0.03430726379156113,
0.02819908782839775,
0.05893511697649956,
0.07357132434844971,
-0.01448984257876873,
0.01381657738238573,
-0.0003445606562308967,
-0.0031345870811492205,
-0.015211895108222961,
0.0014599614078179002,
0.02398386038839817,
0.03419017419219017,
-0.027789274230599403,
0.002325936919078231,
0.008123093284666538,
0.00828409194946289,
0.042659658938646317,
0.0031150721479207277,
-0.02562311477959156,
-0.002421072218567133,
0.033858418464660645,
0.0067521692253649235,
0.01791471429169178,
-0.04246450960636139,
-0.02248121052980423,
-0.003368766512721777,
-0.0563981756567955,
0.013035979121923447,
0.032999761402606964,
-0.02097856067121029,
-0.02847229689359665,
-0.0499582439661026,
-0.01095763873308897,
0.04074719175696373,
-0.04960697516798973,
0.1536215990781784,
0.006796077825129032,
-0.00796209555119276,
-0.08812946826219559,
0.03417065739631653,
0.01024534273892641,
0.04867025837302208,
-0.05561757832765579,
-0.06065243110060692,
-0.0006409437628462911,
0.004754327237606049,
-0.023183748126029968,
-0.00287357484921813,
0.03368278592824936,
-0.018968520686030388,
-0.031380023807287216,
-0.003505371045321226,
0.0018148893723264337,
-0.03688323497772217,
-0.05175361782312393,
0.028921140357851982,
-0.006815592758357525,
0.027145281434059143,
0.028355207294225693,
-0.04234742000699043,
0.0051714591681957245,
-0.06092564016580582,
0.05889608711004257,
-0.006093539763242006,
0.0016148611903190613,
-0.014821596443653107,
-0.017573202028870583,
-0.030736029148101807,
-0.06182332709431648,
-0.004549420438706875,
-0.03713693097233772,
-0.018022047355771065,
-0.03495125472545624,
0.001550217973999679,
-0.02611098811030388,
-0.04687488451600075,
0.031067783012986183,
-0.056710414588451385,
0.07743527740240097,
0.017758594825863838,
0.0015282636741176248,
-0.007015620823949575,
-0.007000984624028206,
0.008552421815693378,
-0.0014648401411250234,
0.10342917591333389,
0.03534155711531639,
0.01613885536789894,
0.009357413277029991,
-0.013260401785373688,
-0.05362705513834953,
-0.029096774756908417,
-0.037000324577093124,
-0.033799875527620316,
-0.003915184643119574,
0.026852557435631752,
-0.08375812321901321,
0.05304160714149475,
0.0008098699618130922,
0.05690556392073631,
-0.025798749178647995,
0.022071396932005882,
0.019924752414226532,
-0.05838869884610176,
-0.04102040082216263,
-0.0384053997695446,
0.01727072149515152,
-0.03819073736667633,
0.04059107229113579,
0.008445089682936668,
0.0005162311135791242,
-0.07048796117305756,
0.05089496076107025,
0.041137490421533585,
-0.01876361481845379,
-0.0269891619682312,
-0.0015575360739603639,
0.03918599709868431,
0.008288970217108727,
0.02212994173169136,
-0.03175080567598343,
-0.0025491388514637947,
0.006757047958672047,
-0.03996659442782402,
0.015436316840350628,
0.048358019441366196,
0.06545310467481613,
0.013475066050887108,
-0.021720128133893013,
0.005956935230642557,
0.022071396932005882,
0.009981891140341759,
-0.005991086363792419,
0.002915044082328677,
0.10210216045379639,
0.002610123250633478,
-0.039927564561367035,
0.01948566734790802,
0.007142467889934778,
0.029077259823679924,
0.0019588121213018894,
0.015738798305392265,
-0.036083124577999115,
-0.02997494675219059,
0.02462785318493843,
-0.06841937452554703,
0.06990250945091248,
-0.0013855607248842716,
-0.06592146307229996,
-0.01534849964082241,
-0.0044396487064659595,
-0.042152270674705505,
0.003298024646937847,
-0.007781581953167915,
-0.03444386646151543,
-0.016577940434217453,
-0.0247059129178524,
0.03959581255912781,
0.05803743004798889,
-0.01913439854979515,
-0.06919997185468674,
-0.016226671636104584,
-0.0472651831805706,
0.028023453429341316,
-0.037019841372966766,
-0.014850868843495846,
-0.02263732999563217,
0.04390861466526985,
0.04203518107533455,
0.11427948623895645,
-0.018949005752801895,
-0.02404240518808365,
-0.005552000366151333,
-0.052846454083919525,
0.012069989927113056,
0.03860054910182953,
-0.011347937397658825,
0.01392390951514244,
0.013562883250415325,
-0.027223341166973114,
0.015085048042237759,
0.0077864606864750385,
-0.03054087981581688,
0.005220246501266956,
0.034580472856760025,
-0.04051301255822182,
-0.04398667439818382,
-0.07279072701931,
0.03540010005235672,
0.0010696626268327236,
-0.00007920320786070079,
-0.056632354855537415,
0.014558144845068455,
-0.06510183960199356,
0.019114883616566658,
0.018519677221775055,
-0.01270422525703907,
0.061198849231004715,
-0.006347233895212412,
-0.04020077362656593,
-0.0009415958193130791,
-0.016148611903190613,
-0.0005070834886282682,
0.0526513047516346,
0.0590912364423275,
-0.009464745409786701,
-0.01248956099152565,
-0.021661583334207535,
-0.03132147714495659,
-0.018148893490433693,
0.021524978801608086,
0.007318102288991213,
0.03569282591342926,
0.0134945809841156,
-0.04203518107533455,
-0.029350468888878822,
-0.05257324501872063,
0.006288689095526934,
0.07673273980617523,
0.028667446225881577,
0.023378897458314896,
0.06080855056643486,
0.0388152152299881,
0.0263256523758173,
-0.019719846546649933,
-0.0013501899084076285,
-0.05304160714149475,
-0.04012271389365196,
-0.00497630937024951,
-0.00469578243792057,
-0.03731256350874901,
-0.00018447716138325632,
0.019427122548222542,
0.002313740085810423,
0.00795721635222435,
-0.008967114612460136,
0.05315869674086571,
-0.00960134994238615,
-0.015807101503014565,
-0.018968520686030388,
0.020373595878481865,
0.01163090392947197,
-0.0321020744740963,
0.019944267347455025,
-0.05432959273457527,
-0.004349391907453537,
0.0566713847219944,
-0.02154449373483658,
-0.037293050438165665,
0.04211324080824852,
0.0649847462773323,
-0.04230839014053345,
0.03245334327220917,
0.03811267763376236,
0.02976028248667717,
0.007161982823163271,
0.015250924974679947,
0.01392390951514244,
-0.019963782280683517,
0.04191809147596359,
0.029643192887306213,
-0.0318288654088974,
0.033429089933633804,
0.021524978801608086,
0.006898531224578619,
0.028940655291080475,
0.009118355810642242,
0.003173616947606206,
-0.031516626477241516,
-0.031867895275354385,
-0.09726245701313019,
-0.008103578351438046,
0.00909884087741375,
-0.01876361481845379,
-0.023027628660202026,
0.03362423926591873,
0.000460735522210598,
-0.04148876294493675,
-0.027516065165400505,
-0.023378897458314896,
0.051558468490839005,
0.04859219864010811,
0.00606914609670639,
-0.006503353361040354,
-0.006903409957885742,
0.024920577183365822,
0.061276908963918686,
-0.033370546996593475,
0.049841154366731644,
0.021212739869952202,
-0.03284364193677902,
0.0016294973902404308,
-0.0526513047516346,
-0.047499362379312515,
0.006049631163477898,
0.003763943910598755,
0.03959581255912781,
0.05838869884610176,
0.026872072368860245,
0.020568745210766792,
-0.033877935260534286,
0.01818792335689068,
-0.03746868297457695,
0.046718765050172806,
-0.009289111010730267,
0.01181629579514265,
0.08282140642404556,
-0.018529435619711876,
0.025369420647621155,
0.024588823318481445,
0.01791471429169178,
-0.0249791219830513,
0.020236991345882416,
0.005234882701188326,
-0.012450531125068665,
-0.007893793284893036,
-0.05733489245176315,
-0.013104281388223171,
-0.04710906371474266,
0.029857857152819633,
0.017153631895780563,
-0.054915040731430054,
0.00017700660100672394,
-0.020393110811710358,
-0.0074400706216692924,
-0.012011445127427578,
0.006274052895605564,
-0.05565660819411278,
-0.004161560907959938,
-0.053080637007951736,
0.027945393696427345,
-0.050777871161699295,
0.004537223372608423,
-0.0682242289185524,
-0.004820189904421568,
0.05682750418782234,
0.05401735380291939,
0.03190692514181137,
-0.04059107229113579,
0.013611670583486557,
-0.03110681287944317,
-0.014860626310110092,
-0.041996151208877563,
0.042074210941791534,
0.020354080945253372,
-0.06701429933309555,
-0.06459444761276245,
-0.0795038640499115,
0.00665459455922246,
0.02277393452823162,
0.00831336434930563,
-0.023671621456742287,
-0.00436890684068203,
-0.0023344745859503746,
-0.019505182281136513,
0.003239479847252369,
0.03325345739722252,
-0.03787849843502045,
-0.04402570426464081,
-0.042152270674705505,
-0.0015063093742355704,
0.005576394032686949,
0.08469484001398087,
-0.0089622363448143,
0.009767226874828339,
-0.01648036576807499,
-0.05405638366937637,
-0.026442741975188255,
-0.018822159618139267,
-0.07934774458408356,
-0.016451094299554825,
0.011484541930258274,
-0.04098137095570564,
0.012723740190267563,
0.04031786322593689,
0.031945955008268356,
0.04476727172732353,
-0.021583523601293564,
0.028804050758481026,
0.002057606354355812,
0.0010507574770599604,
0.04437697306275368,
0.0032419192139059305,
-0.04625040665268898,
0.051129139959812164,
-0.0042030299082398415,
0.0453917495906353,
-0.030521364882588387,
0.049841154366731644,
-0.028804050758481026,
-0.01898803561925888,
-0.010908851400017738,
0.09031514078378677,
0.04289383813738823,
-0.016607213765382767,
0.02019796147942543,
0.05475892126560211,
-0.03253140300512314,
-0.030736029148101807,
0.021037105470895767,
0.006557019427418709,
-0.027594124898314476,
-0.0036810054443776608,
0.023281322792172432,
-0.02812102809548378,
-0.05339287593960762,
-0.03518543392419815,
-0.05081690102815628,
0.0038907909765839577,
-0.008274334482848644,
0.004607965238392353,
-0.0388152152299881,
-0.03139953687787056,
-0.019388092681765556,
0.002367406152188778,
-0.021583523601293564,
0.06529698520898819,
-0.03139953687787056,
-0.013289674185216427,
0.03897133469581604,
-0.020158931612968445,
-0.06131593883037567,
0.04148876294493675,
-0.04425988346338272,
-0.0003823708393611014,
0.008893934078514576,
0.04281577840447426,
0.01891973428428173,
0.005800815764814615,
-0.0013989772414788604,
-0.025525540113449097,
-0.023574046790599823,
0.057139743119478226,
0.0321020744740963,
-0.0676778107881546,
0.04176197201013565,
-0.029077259823679924,
-0.036005064845085144,
0.04640652611851692,
-0.03938114643096924,
0.03830782696604729,
0.04531368985772133,
-0.04090331122279167,
-0.029584648087620735,
0.013933666981756687,
0.02199333719909191,
-0.006669230759143829,
-0.007259557489305735,
0.009591592475771904,
0.03988853469491005,
0.02511572651565075,
-0.0060740248300135136,
-0.00860608834773302,
0.052065856754779816,
0.052065856754779816,
0.0014648401411250234,
0.029877372086048126,
0.019612513482570648,
-0.0368051752448082,
0.010255100205540657,
0.014880141243338585,
-0.0006427732878364623,
-0.013533610850572586,
0.01733902283012867,
-0.009620864875614643,
0.02384725585579872,
0.07704497873783112,
0.02933095395565033,
0.0004918374470435083,
0.026930617168545723,
0.01656818389892578,
-0.054485712200403214,
0.03649293631315231,
0.07747431099414825,
-0.0074693430215120316,
0.03661002591252327,
-0.053431905806064606,
0.10631739348173141,
0.00024134491104632616,
-0.013826334848999977,
0.020373595878481865,
-0.011747993528842926,
-0.06236974522471428,
0.0012398085091263056,
0.015250924974679947,
0.015572921372950077,
0.004861659370362759,
0.009147628210484982,
0.02447173371911049,
0.01556316390633583,
-0.027574609965085983,
-0.004800674971193075,
-0.030423790216445923,
-0.0009287891443818808,
0.019573483616113663,
-0.021076135337352753,
0.014001969248056412,
0.018392831087112427,
-0.0156412236392498,
-0.03321442753076553,
-0.02384725585579872,
-0.03112632781267166,
0.01077224686741829,
-0.01885143108665943,
-0.06396996974945068,
0.02269587479531765,
-0.028784535825252533,
0.0031955712474882603,
-0.008084063418209553,
-0.02747703529894352,
-0.015094805508852005,
-0.0192026998847723,
-0.0585448183119297,
0.04012271389365196,
0.02041262574493885,
0.0011769947595894337,
-0.032999761402606964,
-0.017592716962099075,
0.005664211232215166,
0.010713702067732811,
0.0023539895191788673,
0.02933095395565033,
-0.0037127172108739614,
0.08118214458227158,
0.011718721129000187,
-0.012801799923181534,
0.009333020076155663,
0.04945085570216179,
-0.023066658526659012,
-0.006127690896391869,
0.05873996764421463,
0.01259689312428236,
0.031945955008268356,
-0.023574046790599823,
0.008532906882464886,
0.015104562975466251,
-0.007196133956313133,
0.02798442356288433,
0.05702265352010727,
0.039849504828453064,
-0.05401735380291939,
0.0451185405254364,
0.04320607706904411,
0.04917764663696289,
0.0003229112771805376,
0.018168408423662186,
0.0432451069355011,
-0.1152162030339241,
-0.029428528621792793,
-0.013962939381599426,
-0.04273771867156029,
0.03331200033426285,
-0.025174271315336227,
0.0566713847219944,
0.08149438351392746,
0.0026979404501616955,
-0.019534453749656677,
0.01473377924412489,
0.00995261874049902,
-0.018246468156576157,
0.024393673986196518,
0.061198849231004715,
-0.04230839014053345,
0.059910863637924194,
-0.000855608144775033,
0.021642068400979042,
0.022656844928860664,
-0.0569445937871933,
0.00772791588678956,
-0.010001406073570251,
-0.03889327496290207,
-0.021954307332634926,
0.035731855779886246,
-0.012674952857196331,
-0.05795937031507492,
-0.05924735590815544,
0.01138696726411581,
0.04281577840447426,
-0.05979377403855324,
-0.017173146829009056,
0.0518316775560379,
0.019388092681765556,
0.0426986888051033
] |
710,256
|
urllib3_future.backend._base
|
__repr__
| null |
def __repr__(self) -> str:
return f"<ResponsePromise '{self.uid}' {self._conn._http_vsn_str} Stream[{self.stream_id}]>"
|
(self) -> str
|
[
-0.016395842656493187,
-0.0500485822558403,
-0.032845500856637955,
0.022728154435753822,
0.04093579202890396,
0.005462291184812784,
0.009211450815200806,
0.04534867778420448,
0.023696837946772575,
-0.018440838903188705,
0.006861499045044184,
0.04398534819483757,
-0.013193810358643532,
0.0458509586751461,
-0.015525823459029198,
0.041007548570632935,
-0.006942222360521555,
-0.06529635936021805,
0.012180281803011894,
0.043949469923973083,
-0.017821958288550377,
0.045456308871507645,
-0.0014776889001950622,
-0.018584348261356354,
-0.017992375418543816,
0.03462142124772072,
-0.002043874701485038,
-0.03587711974978447,
-0.04742955043911934,
0.009023095481097698,
-0.017050601541996002,
-0.047214288264513016,
0.0027423573192209005,
-0.018943119794130325,
-0.019050750881433487,
0.06820240616798401,
-0.05273936688899994,
0.022405261173844337,
-0.11243889480829239,
-0.04868524894118309,
-0.015202929265797138,
0.005063158459961414,
-0.07455265522003174,
-0.023481573909521103,
0.00564167695119977,
0.007287540007382631,
0.017570819705724716,
0.04319605231285095,
0.0033343296963721514,
-0.03623589128255844,
0.03889079764485359,
0.09155841171741486,
-0.07806861400604248,
0.004134838003665209,
-0.035356901586055756,
0.029257791116833687,
0.0027132071554660797,
0.021885043010115623,
-0.025957096368074417,
0.03968009352684021,
-0.05169893056154251,
0.029186036437749863,
0.028988711535930634,
0.02486284449696541,
-0.019535090774297714,
-0.019732415676116943,
-0.019499214366078377,
-0.0013431496918201447,
-0.03008296526968479,
-0.0018700947985053062,
0.06648030132055283,
-0.011651094071567059,
-0.04244263097643852,
0.015848716720938683,
0.020647281780838966,
-0.00988414604216814,
-0.03176918998360634,
0.008565662428736687,
-0.01915838196873665,
-0.04032588377594948,
0.038460273295640945,
-0.014817249961197376,
-0.00467747962102294,
-0.061565134674310684,
-0.004785110708326101,
-0.034101203083992004,
0.00001988307121791877,
-0.0673772320151329,
-0.12284325808286667,
0.026405559852719307,
-0.016234396025538445,
-0.002820838475599885,
-0.041007548570632935,
0.030836384743452072,
-0.01716720126569271,
-0.0013924806844443083,
-0.03731220215559006,
-0.045025784522295,
0.009202481247484684,
-0.030190596356987953,
0.011498617008328438,
-0.007076761685311794,
-0.07114432752132416,
0.01865610107779503,
-0.015507884323596954,
-0.00669108284637332,
0.034459974616765976,
0.010825920850038528,
0.013238657265901566,
0.02581358700990677,
0.019176321104168892,
0.08129755407571793,
-0.03313251957297325,
0.021938858553767204,
0.0447387658059597,
-0.022351445630192757,
0.008915464393794537,
-0.006592420861124992,
0.05446146801114082,
-0.02581358700990677,
-0.00210778065957129,
0.006188802886754274,
-0.025634201243519783,
-0.018727855756878853,
-0.05349278450012207,
0.04707077890634537,
-0.02136482484638691,
-0.02446819469332695,
-0.00400478346273303,
-0.061026979237794876,
0.0001414063008269295,
0.004569848068058491,
0.02220793627202511,
0.03307870402932167,
0.006229165010154247,
0.015140144154429436,
0.0002849147713277489,
0.036809924989938736,
0.02947305329144001,
0.09155841171741486,
-0.011669033206999302,
-0.009166603907942772,
0.0032580909319221973,
-0.01308617927134037,
0.01131026167422533,
-0.027105163782835007,
0.024127362295985222,
0.028540248051285744,
-0.017185140401124954,
-0.057869791984558105,
0.02997533231973648,
-0.011749756522476673,
0.06744898110628128,
0.006583451293408871,
-0.003585469676181674,
0.027786828577518463,
0.03248673304915428,
-0.03612826019525528,
-0.012808131985366344,
-0.02220793627202511,
-0.022710217162966728,
-0.05578891932964325,
0.0299215167760849,
-0.05119664967060089,
0.008830255828797817,
0.0016951939323917031,
0.05847970396280289,
-0.006731444504112005,
-0.0005953359650447965,
0.02983182482421398,
-0.012180281803011894,
-0.01801031455397606,
-0.05923312529921532,
0.03724044933915138,
0.0422273688018322,
0.029957395046949387,
0.0531340129673481,
0.09191717952489853,
-0.03698930889368057,
-0.042263247072696686,
0.011911203153431416,
-0.04509753733873367,
-0.0031056131701916456,
-0.0006457881536334753,
0.04057702049612999,
-0.02486284449696541,
0.04348306730389595,
-0.006973614916205406,
0.04272964969277382,
-0.027535688132047653,
-0.05575304478406906,
0.006982584483921528,
-0.01045818068087101,
0.02021675743162632,
0.0013027879176661372,
-0.02827117033302784,
-0.012978548184037209,
-0.04599446803331375,
0.005363629199564457,
-0.059125494211912155,
0.007327901665121317,
0.015247775241732597,
-0.03781448304653168,
0.005731369834393263,
0.0021358097437769175,
-0.0061170486733317375,
-0.01613573357462883,
0.0035787427332252264,
0.04793183133006096,
-0.009776514954864979,
-0.030352042987942696,
0.001467598369345069,
0.002944166073575616,
0.0031302785500884056,
0.005812093149870634,
-0.01801031455397606,
-0.0155886085703969,
-0.03598475083708763,
0.0028993196319788694,
-0.013337318785488605,
0.08373719453811646,
-0.05119664967060089,
0.003287241095677018,
-0.03489049896597862,
-0.0819433405995369,
0.01951715350151062,
-0.00337020680308342,
-0.04072052985429764,
-0.031751248985528946,
-0.03672023117542267,
0.03444203361868858,
-0.010368487797677517,
0.005973540246486664,
0.02376859076321125,
-0.03008296526968479,
0.05708049610257149,
-0.029311606660485268,
0.04337543621659279,
-0.043949469923973083,
0.006803198717534542,
-0.007103669457137585,
0.01946333795785904,
0.02116749994456768,
0.034155018627643585,
0.016844308003783226,
-0.029401298612356186,
0.010996337048709393,
0.04014649614691734,
-0.005677554290741682,
0.00903206504881382,
0.024199116975069046,
-0.06246206536889076,
-0.048003584146499634,
-0.06382539868354797,
0.009955900721251965,
-0.1303056925535202,
-0.027105163782835007,
0.007529710419476032,
0.037742730230093,
0.02737424150109291,
0.00428507337346673,
-0.046819642186164856,
-0.07196950167417526,
0.046604376286268234,
-0.0042962851002812386,
-0.007601464632898569,
-0.08258912712335587,
-0.037957992404699326,
-0.004551909398287535,
0.01818072982132435,
0.12765079736709595,
-0.005314298439770937,
-0.050909630954265594,
-0.009928992949426174,
-0.05223708599805832,
-0.06396890431642532,
-0.050873756408691406,
0.008951340802013874,
-0.0369175560772419,
-0.0623544342815876,
-0.017355555668473244,
-0.046209730207920074,
0.06120636686682701,
-0.0008111592615023255,
0.0461379736661911,
-0.03799387067556381,
0.06109873577952385,
0.011624186299741268,
0.00039100454887375236,
-0.02351745218038559,
0.013023394159972668,
0.0022008370142430067,
-0.056614093482494354,
-0.025454815477132797,
0.04161745682358742,
0.0027961728628724813,
-0.020503774285316467,
0.016037072986364365,
0.002423947909846902,
0.006027356255799532,
0.012996486388146877,
-0.000008500669537170324,
0.06482995301485062,
0.025042228400707245,
-0.0276791974902153,
-0.021436579525470734,
0.010978398844599724,
0.01195605006068945,
-0.00543089909479022,
-0.010189102031290531,
0.000060998110711807385,
0.05309813469648361,
0.027786828577518463,
0.03437028080224991,
0.031607743352651596,
0.09945137798786163,
-0.002329770475625992,
0.0075431643053889275,
0.020037371665239334,
0.06253381818532944,
-0.0433395616710186,
-0.02581358700990677,
0.04728604480624199,
0.06755661219358444,
0.03557216376066208,
-0.032253529876470566,
-0.042012106627225876,
0.011112937703728676,
-0.008327975869178772,
0.03367067500948906,
-0.029455114156007767,
-0.025705955922603607,
-0.007614918518811464,
0.03677404671907425,
-0.000057669665693538263,
0.030710814520716667,
0.025885341688990593,
-0.01313102524727583,
-0.008762986399233341,
-0.037706851959228516,
0.038998428732156754,
-0.019337767735123634,
0.03324015066027641,
0.04427236691117287,
-0.03487256169319153,
0.00007385641220025718,
0.004303012043237686,
-0.015642423182725906,
0.03953658416867256,
-0.05320576950907707,
-0.047106657177209854,
-0.020701097324490547,
0.030710814520716667,
0.03593093529343605,
0.02080872841179371,
0.030944015830755234,
-0.05180656164884567,
0.03196651488542557,
-0.037599220871925354,
0.04678376391530037,
0.03993123397231102,
-0.015463038347661495,
0.021705657243728638,
-0.0037222511600703,
-0.07143134623765945,
-0.007749457843601704,
0.013166902586817741,
0.013068241067230701,
0.07986246794462204,
0.030387919396162033,
-0.0947873517870903,
-0.0031257939990609884,
-0.06999626010656357,
-0.0500485822558403,
-0.046819642186164856,
0.07071380317211151,
-0.023499513044953346,
-0.0034285071305930614,
-0.056075938045978546,
-0.08316316455602646,
0.04897226765751839,
0.00711712334305048,
0.0016144703840836883,
0.017857836559414864,
-0.009955900721251965,
0.020180879160761833,
0.002820838475599885,
0.0019911800045520067,
-0.000836385355796665,
0.022351445630192757,
-0.02401973120868206,
-0.007744973059743643,
0.013427011668682098,
-0.01087973639369011,
-0.012072650715708733,
-0.06637267023324966,
0.02527542971074581,
0.019122503697872162,
-0.002488975180312991,
-0.02597503364086151,
0.0033859030809253454,
-0.008323491550981998,
0.0026145451702177525,
0.02116749994456768,
-0.005125943571329117,
-0.03618207573890686,
0.05277524143457413,
0.0057224007323384285,
-0.01811794564127922,
-0.041653335094451904,
0.01350773498415947,
-0.07512668520212173,
-0.06669556349515915,
-0.04351894557476044,
0.024145301431417465,
0.02611854299902916,
-0.043160174041986465,
0.0078032733872532845,
0.009099334478378296,
0.0285223089158535,
-0.042155615985393524,
0.06945810467004776,
-0.00451603252440691,
0.02446819469332695,
-0.042909033596515656,
0.005785185378044844,
0.028863143175840378,
0.037061065435409546,
0.05804917961359024,
0.017821958288550377,
0.04890051484107971,
0.07519844174385071,
0.0021873831283301115,
-0.031697433441877365,
0.032648179680109024,
-0.014243216253817081,
-0.006700051948428154,
-0.034549664705991745,
-0.017131324857473373,
0.05119664967060089,
0.0355183482170105,
0.03313251957297325,
-0.01163315586745739,
-0.001412661513313651,
0.08273264020681381,
0.011086029931902885,
-0.05112489312887192,
-0.005314298439770937,
0.03752746805548668,
-0.01876373402774334,
0.006534120533615351,
-0.004415127914398909,
0.005525076296180487,
-0.02175947278738022,
-0.05187831446528435,
-0.02387622371315956,
0.03767097368836403,
-0.030459674075245857,
-0.08517228066921234,
-0.057869791984558105,
-0.036809924989938736,
-0.012225128710269928,
-0.02421705611050129,
0.014700649306178093,
-0.008175498805940151,
0.0036504969466477633,
0.060022421181201935,
-0.009875177405774593,
-0.10763135552406311,
-0.015355407260358334,
0.026046788319945335,
0.004148291889578104,
-0.021131623536348343,
0.02762538194656372,
0.015041482634842396,
0.03982360288500786,
-0.008942372165620327,
-0.00787054281681776,
-0.01775917410850525,
-0.003213244490325451,
-0.08990806341171265,
-0.025060167536139488,
0.013803721405565739,
0.03388594090938568,
0.004610209725797176,
0.014700649306178093,
0.04513341560959816,
0.013633305206894875,
0.04021824896335602,
-0.009668883867561817,
0.050873756408691406,
0.08538754284381866,
-0.05804917961359024,
0.004744749050587416,
0.0141894007101655,
0.033903878182172775,
-0.003141490276902914,
-0.013615367002785206,
-0.035805363208055496,
-0.0047133564949035645,
-0.006269526667892933,
-0.03968009352684021,
0.0211136844009161,
-0.013552581891417503,
0.03921369090676308,
0.02480902709066868,
0.0007752820965833962,
0.028145600110292435,
-0.018925180658698082,
0.029132220894098282,
0.04829060286283493,
-0.015032513067126274,
-0.02427087165415287,
-0.03388594090938568,
-0.042550262063741684,
0.009050003252923489,
0.019947677850723267,
0.02220793627202511,
-0.061672769486904144,
-0.02077285200357437,
0.02961656264960766,
0.026728453114628792,
-0.02407354675233364,
0.018387023359537125,
-0.05442558974027634,
-0.0004997570649720728,
-0.03377830609679222,
-0.0015001120045781136,
-0.031105462461709976,
0.02376859076321125,
0.007848119363188744,
-0.008049928583204746,
-0.003150459611788392,
-0.007377232424914837,
0.018548469990491867,
0.0766335278749466,
-0.08718139678239822,
0.021095745265483856,
-0.04524104669690132,
0.00007035279122646898,
-0.0015505641931667924,
0.003226698376238346,
-0.06612153351306915,
-0.0020730248652398586,
-0.004964496474713087,
-0.031607743352651596,
0.05220120772719383,
0.08466999977827072,
0.05819268897175789,
-0.016682859510183334,
0.02086254395544529,
-0.01881754957139492,
0.01703266240656376,
-0.03863965719938278,
-0.07107257097959518,
0.0297780092805624,
0.022781969979405403,
-0.029508929699659348,
-0.007296509109437466,
-0.0064847893081605434,
0.01826145313680172,
0.01574108563363552,
-0.004762687720358372,
-0.01410867739468813,
0.016422750428318977,
0.07311756908893585,
0.05995066463947296,
0.0202705729752779,
0.0002774870954453945,
-0.029042527079582214,
0.027535688132047653,
0.018153822049498558,
0.025795647874474525,
0.008502877317368984,
-0.0026167873293161392,
-0.01876373402774334,
0.05320576950907707,
0.07333283126354218,
0.04807534068822861,
0.040361758321523666,
-0.0123058520257473,
-0.01493385061621666,
0.012619776651263237,
-0.049008145928382874,
-0.04359069839119911,
0.011624186299741268,
-0.038460273295640945,
-0.016566259786486626,
0.06450705975294113,
0.0003509230737108737,
-0.05374392494559288,
-0.0721488893032074,
-0.005224605556577444,
0.0008632931858301163,
0.04990507289767265,
-0.01842290163040161,
-0.003161671105772257,
-0.0033186334185302258,
-0.014431571587920189,
0.016431720927357674,
0.028934895992279053,
0.061421629041433334,
0.008910979144275188,
-0.006094625685364008,
0.04983332008123398,
-0.02726661041378975,
-0.052811119705438614,
0.025992972776293755,
-0.045420434325933456,
0.056219447404146194,
-0.0012411241186782718,
0.036200013011693954,
0.015723148360848427,
-0.035859182476997375,
-0.006004932802170515,
-0.016476567834615707,
-0.015929440036416054,
0.038245007395744324,
-0.06723371893167496,
0.00840421486645937,
0.06985275447368622,
0.02061140537261963,
-0.045420434325933456,
0.035159576684236526,
-0.029562747105956078,
0.01480828132480383,
0.0311772171407938,
-0.024199116975069046,
0.0022176543716341257,
-0.06748486310243607,
0.011023244820535183,
0.011758726090192795,
0.009821360930800438,
-0.0408281609416008,
-0.021956797689199448,
-0.011364077217876911,
-0.01982210762798786,
0.035697732120752335,
0.009180057793855667,
0.00031588683486916125,
0.02696165442466736,
-0.01423424668610096,
-0.09184542298316956,
-0.04441587254405022,
-0.012377605773508549,
0.02706928551197052,
-0.01629718206822872,
-0.06802301853895187,
-0.0021840196568518877,
-0.020127063617110252,
-0.016978846862912178,
0.013911353424191475,
0.018674040213227272,
-0.00620225677266717,
0.045169293880462646,
0.029508929699659348,
-0.022943418473005295,
0.037096939980983734,
0.00017041631508618593,
0.04739367589354515,
-0.009444651193916798,
-0.06705433875322342,
0.001970999175682664,
-0.0246117040514946,
0.012628746218979359,
0.038854919373989105,
-0.04337543621659279,
-0.004412885755300522,
-0.008390760980546474,
-0.05108901858329773,
-0.00252709467895329,
0.04509753733873367,
0.011417892761528492,
-0.0048837726935744286,
-0.01906868815422058,
-0.006439942866563797,
-0.008350399322807789,
-0.00236340519040823,
0.008745048195123672,
-0.006359219551086426,
0.003962179180234671,
-0.006439942866563797,
-0.03377830609679222,
-0.044810522347688675,
-0.029742131009697914,
-0.013633305206894875,
0.011462739668786526,
0.007193362340331078,
-0.010368487797677517,
-0.0651528462767601,
-0.013184841722249985,
-0.05474848300218582,
-0.0545332208275795,
0.017902681604027748,
0.035661857575178146,
-0.007556618191301823,
0.026244113221764565,
-0.062426187098026276,
0.037742730230093,
0.014521263539791107,
0.054066818207502365,
-0.042514387518167496,
0.037742730230093,
-0.021795349195599556,
0.02771507389843464,
0.020396141335368156,
0.060919348150491714,
0.006139472126960754,
0.030352042987942696,
0.02421705611050129,
-0.007691157516092062,
0.06866880506277084,
0.00889304094016552,
-0.03481874242424965,
0.005099035333842039,
0.03799387067556381,
0.0076956418342888355,
0.05639883130788803,
0.01991180144250393,
0.02516779862344265,
-0.037455711513757706,
0.005408475641161203,
0.04979744181036949,
0.06278495490550995,
0.038209132850170135,
0.07749457657337189,
0.010691381059587002,
0.03932132199406624,
0.004610209725797176,
0.024539949372410774,
-0.00674041360616684,
0.05847970396280289,
-0.07064204663038254,
-0.035159576684236526,
0.04484640061855316,
-0.006498243194073439,
0.030405858531594276,
0.010628596879541874,
0.00935495924204588,
0.03982360288500786,
0.035751547664403915,
-0.004852380137890577,
0.03428058698773384,
-0.013938261196017265,
0.01655729115009308,
-0.029903579503297806,
0.041509825736284256,
-0.007910904474556446,
-0.01496075838804245,
-0.00910381879657507,
0.06246206536889076,
0.04398534819483757,
-0.06967336684465408,
0.021400701254606247,
0.01561551634222269,
-0.06475819647312164,
0.007691157516092062,
0.0738351121544838,
0.004401674028486013,
-0.0297780092805624,
-0.062318556010723114,
0.05510725453495979,
0.01125644613057375,
0.011525524780154228,
-0.06615740805864334,
0.07042678445577621,
0.0020079975947737694,
-0.0051842438988387585
] |
710,257
|
urllib3_future.backend._base
|
get_parameter
| null |
def get_parameter(self, key: str) -> typing.Any | None:
return self._parameters[key] if key in self._parameters else None
|
(self, key: str) -> Optional[Any]
|
[
0.07089458405971527,
-0.024543164297938347,
0.00247962330467999,
0.04116574302315712,
-0.007227979600429535,
0.004200042225420475,
0.06617064774036407,
-0.006806199438869953,
0.0702197328209877,
-0.012609006837010384,
-0.018434012308716774,
-0.007689718157052994,
-0.02292708121240139,
-0.03482571989297867,
0.009323560632765293,
0.02981763705611229,
0.01211174950003624,
0.08979032933712006,
-0.019055582582950592,
-0.04290613904595375,
0.038182202726602554,
0.0151396868750453,
0.006020356435328722,
-0.015450472943484783,
-0.017697006464004517,
-0.006237906403839588,
0.1003037616610527,
-0.04880218207836151,
0.021808253601193428,
-0.004388733301311731,
0.00013097382907290012,
-0.02452540583908558,
0.021754976361989975,
0.03935430571436882,
-0.0408460758626461,
0.06119807809591293,
-0.01192527823150158,
0.05942216143012047,
-0.05999045446515083,
-0.03942534327507019,
-0.02473851479589939,
0.015601425431668758,
0.06158877909183502,
-0.04734593257308006,
0.014296126551926136,
0.013408169150352478,
-0.004799413960427046,
0.042266808450222015,
-0.0395318977534771,
0.04720385745167732,
0.05260264500975609,
-0.01712871342897415,
-0.051643647253513336,
-0.04056192934513092,
-0.06656134873628616,
-0.02211015857756138,
-0.009061613120138645,
0.017510535195469856,
0.01703103817999363,
0.039638452231884,
-0.0025950579438358545,
-0.03729424253106117,
-0.0330498032271862,
0.016720252111554146,
0.0414498895406723,
-0.05988389998674393,
0.014136294834315777,
0.003505215048789978,
0.02225223183631897,
0.016480503603816032,
-0.004322136752307415,
-0.00976753979921341,
-0.03960293531417847,
0.013896545395255089,
0.011063959449529648,
-0.04837596416473389,
-0.03548280894756317,
-0.0678044855594635,
-0.0022609636653214693,
-0.006650806870311499,
0.005416545085608959,
0.02566199190914631,
-0.05128846690058708,
-0.016089802607893944,
0.002814827486872673,
-0.009660985320806503,
-0.014260608702898026,
-0.033937763422727585,
-0.005514220334589481,
-0.0006054764962755144,
-0.049832213670015335,
-0.008932859636843204,
-0.02868104912340641,
0.05409441515803337,
0.057255543768405914,
-0.04137885197997093,
0.02051183395087719,
0.010957404039800167,
-0.012395896017551422,
-0.028592253103852272,
-0.017697006464004517,
0.006868356838822365,
0.07409123331308365,
0.032055292278528214,
0.0575396902859211,
-0.03917671740055084,
-0.007099225651472807,
0.021595142781734467,
0.03086542710661888,
0.02807723730802536,
-0.001673801220022142,
-0.0049148485995829105,
-0.060274600982666016,
0.029196064919233322,
0.011454660445451736,
0.04500172287225723,
-0.05828557536005974,
0.029764357954263687,
-0.02195032685995102,
0.04269303008913994,
-0.02345985546708107,
0.03026161529123783,
-0.05856972187757492,
-0.03139820322394371,
0.03498555347323418,
0.004617382772266865,
-0.0113925039768219,
0.03747183457016945,
0.019464043900370598,
-0.038857050240039825,
0.03736528009176254,
0.028272589668631554,
-0.028716567903757095,
0.007139184046536684,
-0.04418480023741722,
-0.010158241726458073,
0.029569007456302643,
0.07085906714200974,
-0.02308691293001175,
0.03571368008852005,
0.006912754382938147,
0.05810798332095146,
-0.005780607927590609,
-0.04706178605556488,
0.022074641659855843,
-0.06965143978595734,
0.042266808450222015,
-0.019783709198236465,
-0.013718954287469387,
-0.017839079722762108,
-0.01953507959842682,
-0.016444986686110497,
-0.022536378353834152,
-0.024489887058734894,
0.017368461936712265,
-0.013630158267915249,
0.041130222380161285,
-0.020618388429284096,
-0.014855540357530117,
-0.04304821416735649,
0.008071539923548698,
-0.011943037621676922,
-0.016302913427352905,
-0.09462082386016846,
0.00643325736746192,
-0.0037871417589485645,
0.018718158826231956,
0.046351417899131775,
0.07643543928861618,
-0.01870040036737919,
-0.0293736569583416,
0.01779468171298504,
-0.0473814494907856,
-0.019428525120019913,
0.030670076608657837,
0.042479921132326126,
-0.04191162809729576,
-0.02330002374947071,
0.021097887307405472,
0.02376176044344902,
0.0342574268579483,
-0.009749781340360641,
0.022003604099154472,
-0.022980358451604843,
0.03406207635998726,
0.025075940415263176,
0.014526995830237865,
0.0201211329549551,
-0.03921223431825638,
-0.0008568796329200268,
-0.0011388063430786133,
-0.0001046819452312775,
-0.022802766412496567,
0.0014573613880202174,
-0.06265433132648468,
-0.009465634822845459,
0.050364989787340164,
0.007898388430476189,
-0.023175708949565887,
0.05690035969018936,
0.029480211436748505,
-0.04390065371990204,
-0.022358788177371025,
0.049086328595876694,
-0.08012934774160385,
-0.04851803556084633,
0.07437537610530853,
0.03487899899482727,
-0.03180666267871857,
0.012324859388172626,
-0.013665677048265934,
-0.08602538704872131,
0.03125612810254097,
-0.012937551364302635,
0.01497985515743494,
-0.06567338854074478,
-0.09454979002475739,
-0.042408883571624756,
0.029835395514965057,
0.03260582685470581,
0.08083971589803696,
-0.0522119402885437,
0.08787234127521515,
0.00463514169678092,
0.054982371628284454,
-0.001013382337987423,
0.028112756088376045,
-0.018860232084989548,
-0.057184506207704544,
-0.031149573624134064,
0.021808253601193428,
0.00523895351216197,
0.01615195907652378,
0.0022631834726780653,
0.0054254247806966305,
-0.05963527411222458,
-0.02436557225883007,
-0.02155962586402893,
-0.00018272515444550663,
-0.017253028228878975,
0.028965195640921593,
0.020245447754859924,
-0.03292549028992653,
0.09227661788463593,
-0.055728256702423096,
-0.01505977101624012,
-0.009483393281698227,
0.08069764077663422,
0.021097887307405472,
0.00009275000775232911,
0.07146287709474564,
0.019393006339669228,
-0.005469822324812412,
0.03246375173330307,
-0.01923317462205887,
0.00495924660935998,
-0.09469186514616013,
0.0046129426918923855,
0.02051183395087719,
0.006011477205902338,
-0.04873114451766014,
0.006282304413616657,
-0.01097516342997551,
0.034097593277692795,
0.009696503169834614,
-0.010033927857875824,
0.0001594162458786741,
0.01543271355330944,
0.012413655407726765,
-0.02852121740579605,
0.05128846690058708,
0.007276817224919796,
-0.011641131713986397,
-0.036210935562849045,
0.051110874861478806,
-0.016702493652701378,
0.04961910471320152,
0.025289049372076988,
-0.013115142472088337,
0.03548280894756317,
0.044753093272447586,
-0.045605532824993134,
0.014615791849792004,
0.013967582024633884,
-0.0329965278506279,
0.01990802213549614,
0.02988867275416851,
-0.021364273503422737,
-0.006637487560510635,
-0.023513132706284523,
0.018087709322571754,
0.017235267907381058,
-0.011809843592345715,
0.03111405484378338,
-0.02104461006820202,
-0.010833090171217918,
-0.06592201441526413,
-0.03850186616182327,
0.08687783032655716,
0.012973069213330746,
0.06130463257431984,
0.023033635690808296,
-0.024010390043258667,
-0.029533490538597107,
-0.03571368008852005,
0.030226096510887146,
0.01605428382754326,
-0.008706429973244667,
-0.013718954287469387,
0.035891272127628326,
-0.03647732362151146,
0.02475627511739731,
-0.004075728356838226,
0.009589948691427708,
0.015104169026017189,
-0.0510043203830719,
0.03828875720500946,
0.029480211436748505,
0.01751941442489624,
0.10619980096817017,
0.031824421137571335,
-0.027917405590415,
-0.00046895293053239584,
-0.02480955235660076,
0.025768546387553215,
-0.002350869355723262,
-0.0473814494907856,
-0.01701327972114086,
0.004424251616001129,
0.027899647131562233,
-0.03580247610807419,
-0.004719497635960579,
-0.040206748992204666,
-0.01331937313079834,
-0.04297717660665512,
-0.008333487436175346,
-0.02338881976902485,
0.042550958693027496,
0.026585469022393227,
-0.007543204817920923,
-0.00010946859401883557,
-0.060949452221393585,
0.003540733363479376,
0.010158241726458073,
0.047488003969192505,
0.011543456465005875,
0.018718158826231956,
-0.027917405590415,
0.04535690322518349,
-0.08325496315956116,
-0.028787605464458466,
-0.040206748992204666,
0.018647121265530586,
0.02550216019153595,
0.048091817647218704,
-0.019552839919924736,
0.033724650740623474,
0.011472419835627079,
-0.004439791198819876,
-0.0005200105370022357,
0.0833970308303833,
-0.007454409264028072,
-0.028485698625445366,
0.009208126924932003,
0.0020500735845416784,
0.0347546823322773,
-0.014367163181304932,
-0.016764650121331215,
0.05569273978471756,
0.001992356264963746,
-0.0227850079536438,
0.005127958487719297,
-0.02367296628654003,
0.006881676148623228,
-0.009394598193466663,
0.000965099548920989,
0.01868264004588127,
0.030208338052034378,
0.015272880904376507,
-0.008382325060665607,
-0.0027260317001491785,
-0.015335038304328918,
0.042870622128248215,
0.044468946754932404,
-0.04549897834658623,
-0.002785968827083707,
-0.041591960936784744,
-0.0703262910246849,
0.008160335943102837,
-0.021453069522976875,
-0.03193097561597824,
-0.02921382524073124,
-0.04276406764984131,
0.023353300988674164,
0.017368461936712265,
-0.017714766785502434,
0.029160548001527786,
-0.04216025397181511,
-0.04532138630747795,
0.02935589849948883,
0.03155803307890892,
-0.06183740869164467,
-0.0606653057038784,
0.07402019202709198,
0.03132716566324234,
-0.05828557536005974,
0.01188088022172451,
0.06343573331832886,
-0.0419471450150013,
-0.04230232909321785,
-0.026123730465769768,
-0.03441726043820381,
-0.02717152051627636,
-0.026283562183380127,
0.034097593277692795,
-0.008289089426398277,
0.048304926604032516,
0.04834044352173805,
-0.01719086989760399,
0.013257215730845928,
-0.005256712436676025,
-0.05455614998936653,
-0.03116733208298683,
0.032357197254896164,
0.00927028339356184,
0.052851270884275436,
0.007321215234696865,
-0.008808545768260956,
-0.0056030163541436195,
0.0023308901581913233,
-0.07792720943689346,
-0.028627771884202957,
-0.007196901366114616,
-0.012751080095767975,
0.03907015919685364,
0.03956741839647293,
0.006375540047883987,
-0.0068106395192444324,
0.032641343772411346,
-0.011685529723763466,
-0.04951255023479462,
0.011818723753094673,
0.0036761469673365355,
0.008635393343865871,
-0.025022661313414574,
0.0023708483204245567,
-0.011152754537761211,
0.09575740993022919,
0.01226270291954279,
-0.07842446863651276,
-0.0003585131198633462,
0.02044079825282097,
0.057397618889808655,
-0.07423330843448639,
0.079276904463768,
-0.0906427726149559,
-0.12552176415920258,
-0.012369257397949696,
0.0329965278506279,
-0.0305812805891037,
0.016418347135186195,
0.057255543768405914,
0.0009456754778511822,
-0.029107268899679184,
-0.013568000867962837,
0.021524107083678246,
0.052496086806058884,
0.007907267659902573,
-0.027917405590415,
-0.015121928416192532,
0.016320671886205673,
0.015947729349136353,
-0.009447875432670116,
-0.0437585785984993,
-0.0000573010511288885,
0.015619184821844101,
0.06624168157577515,
0.05537307262420654,
-0.0015206284588202834,
0.016436105594038963,
-0.009856335818767548,
-0.0033276232425123453,
-0.01712871342897415,
0.014198451302945614,
0.00739669194445014,
0.011516817845404148,
-0.04972565919160843,
0.02829034812748432,
-0.058392129838466644,
-0.0192154161632061,
-0.018256420269608498,
0.07536989450454712,
0.04844699800014496,
0.04542794078588486,
-0.008373445831239223,
0.00665968656539917,
0.01116163469851017,
-0.005984838120639324,
0.047878704965114594,
0.07053939998149872,
-0.02186153084039688,
-0.03180666267871857,
0.04599623382091522,
-0.01900230534374714,
0.021239960566163063,
-0.1073363870382309,
-0.04301269352436066,
0.021293237805366516,
-0.03004850633442402,
0.004834932275116444,
0.03978052735328674,
0.018789196386933327,
0.042550958693027496,
-0.037791501730680466,
0.012102870270609856,
-0.00463514169678092,
0.0013685656012967229,
-0.0023775079753249884,
0.003551832865923643,
0.01672913320362568,
0.013825508765876293,
0.019801467657089233,
0.056935880333185196,
-0.046031754463911057,
0.014820022508502007,
0.014207331463694572,
-0.062476739287376404,
-0.05562170222401619,
-0.018966786563396454,
0.028361385688185692,
0.03740080073475838,
-0.02171945758163929,
-0.03141596168279648,
0.025218013674020767,
0.04095263034105301,
-0.023140190169215202,
-0.040064673870801926,
0.008626514114439487,
-0.05320645496249199,
0.0203697606921196,
-0.014047498814761639,
-0.011259309947490692,
0.0018480629660189152,
0.005594136659055948,
0.018043311312794685,
0.03260582685470581,
-0.04372306168079376,
0.07160495221614838,
-0.03747183457016945,
0.01596548780798912,
-0.03715217113494873,
-0.0072457389906048775,
-0.055053409188985825,
-0.019659394398331642,
-0.012600126676261425,
0.020707184448838234,
-0.001975707011297345,
-0.00812037754803896,
-0.015121928416192532,
0.021737216040492058,
0.05647414177656174,
-0.007441089488565922,
0.0017936755903065205,
0.05423648655414581,
-0.05540859326720238,
-0.06371988356113434,
-0.03686802461743355,
-0.0032610264606773853,
0.01767924800515175,
0.016862325370311737,
0.011481299065053463,
-0.003809340763837099,
-0.005452063400298357,
-0.009740901179611683,
0.0005352722946554422,
0.022873803973197937,
0.017457257956266403,
0.027136001735925674,
-0.08559916913509369,
0.017714766785502434,
0.035518329590559006,
0.0014884399715811014,
0.05778831988573074,
0.048233889043331146,
-0.03171786665916443,
0.042799584567546844,
-0.01854056678712368,
0.00569625198841095,
-0.02550216019153595,
-0.04141436889767647,
-0.026834096759557724,
-0.01599212735891342,
0.025715269148349762,
0.01665809564292431,
0.02777533233165741,
0.04230232909321785,
0.013612398877739906,
-0.0037893615663051605,
0.007787393406033516,
-0.0336003378033638,
0.038857050240039825,
-0.03747183457016945,
0.04162748157978058,
0.06130463257431984,
0.044149283319711685,
0.006801759824156761,
-0.01635619066655636,
0.04155644401907921,
-0.0007464398513548076,
-0.03308532387018204,
-0.0014662409666925669,
-0.015548148192465305,
-0.008604315109550953,
-0.006872796453535557,
-0.02422349900007248,
0.046209342777729034,
0.001527288113720715,
0.012289341539144516,
0.0054254247806966305,
-0.01543271355330944,
0.004581864457577467,
0.09206350892782211,
-0.02905399166047573,
0.02905399166047573,
-0.009527791291475296,
-0.05661621317267418,
-0.008147016167640686,
-0.08091074973344803,
-0.01930421032011509,
-0.023566409945487976,
-0.008382325060665607,
0.015379436314105988,
0.045960716903209686,
0.009882974438369274,
-0.026585469022393227,
0.010735414922237396,
0.01761709153652191,
-0.060949452221393585,
-0.028965195640921593,
0.049299437552690506,
0.016888964921236038,
0.02088477648794651,
-0.02914278768002987,
0.005389906466007233,
0.04162748157978058,
0.05576377362012863,
-0.03473692387342453,
0.0005932670901529491,
0.033777929842472076,
-0.020902536809444427,
-0.053241971880197525,
0.0016393928090110421,
-0.023779520764946938,
0.01585005410015583,
0.059351127594709396,
-0.09263180196285248,
0.0033387227449566126,
0.004439791198819876,
-0.007414450868964195,
-0.01793675497174263,
-0.039460863918066025,
-0.042195774614810944,
-0.028343625366687775,
-0.044149283319711685,
-0.03835979476571083,
-0.06705860048532486,
-0.07892172783613205,
-0.07877965271472931,
0.0215773843228817,
0.00514571787789464,
-0.003409759374335408,
-0.03246375173330307,
-0.003218848491087556,
-0.05203435197472572,
-0.0071214246563613415,
-0.01267116330564022,
-0.0074233305640518665,
-0.009465634822845459,
0.031504757702350616,
0.0043088169768452644,
0.040135711431503296,
-0.019037824124097824,
0.01816762425005436,
0.07167598605155945,
-0.04759455844759941,
0.04699074849486351,
0.005230073817074299,
-0.024028148502111435,
0.023264504969120026,
-0.011117236688733101,
-0.0035784714855253696,
-0.062476739287376404,
-0.006393298972398043,
-0.04095263034105301,
-0.010815330781042576,
-0.04091711342334747,
-0.018966786563396454,
-0.0323927141726017,
0.01464243046939373,
0.06805311888456345,
-0.050436027348041534,
-0.028467940166592598,
-0.03942534327507019,
-0.016924483701586723,
-0.018256420269608498,
0.0008901780820451677,
0.04699074849486351,
-0.012875393964350224,
-0.03629973158240318,
-0.036210935562849045,
-0.020103374496102333,
-0.05654517933726311,
0.0342574268579483,
-0.06705860048532486,
-0.009732021950185299,
0.03011954203248024,
-0.0751567855477333,
0.026159249246120453,
-0.010193760506808758,
0.034470535814762115,
-0.0034030997194349766,
-0.008373445831239223,
0.04713281989097595,
0.012964189983904362,
0.0654957965016365,
0.037045616656541824,
-0.007432210259139538,
-0.0522119402885437,
-0.007632000837475061,
0.07302568107843399,
0.04066848382353783,
-0.004901529289782047,
-0.0028547856491059065,
-0.0022554139140993357,
0.047416966408491135,
-0.014669069088995457,
0.02413470298051834,
-0.019250933080911636,
0.013967582024633884,
0.01928645186126232,
-0.01267116330564022,
0.09732022136449814,
0.03615765646100044,
0.0027726495172828436,
0.07529885321855545,
0.02338881976902485,
-0.013461446389555931,
-0.03361809626221657,
0.034470535814762115,
-0.06656134873628616,
0.011916399002075195,
0.03271238133311272,
0.03230391815304756,
0.005345508456230164,
-0.0113925039768219,
-0.0029502410907298326,
0.00013305498578120023,
0.08893789350986481,
0.012058472260832787,
0.015929970890283585,
-0.06862141191959381,
0.0012742200633510947,
-0.023335540667176247,
-0.0008957278332673013,
-0.026443395763635635,
0.004839372355490923,
-0.01422508992254734,
0.006268985103815794
] |
710,258
|
urllib3_future.backend._base
|
set_parameter
| null |
def set_parameter(self, key: str, value: typing.Any) -> None:
self._parameters[key] = value
|
(self, key: str, value: Any) -> NoneType
|
[
0.04446946084499359,
0.004690816625952721,
-0.02216530218720436,
0.03136468306183815,
-0.03544365242123604,
0.017626361921429634,
-0.008904307149350643,
0.05089167132973671,
0.03804725408554077,
-0.004235186614096165,
-0.03884568810462952,
-0.012158804573118687,
-0.017322609201073647,
0.009624635800719261,
-0.01919719949364662,
-0.004291598219424486,
0.025289619341492653,
0.08123227208852768,
-0.01938812993466854,
-0.062208645045757294,
0.021731369197368622,
0.045858047902584076,
0.01200258918106556,
0.0022282463032752275,
-0.00554132554680109,
-0.046830058097839355,
0.039713554084300995,
-0.010657396167516708,
0.027060067281126976,
-0.0162377767264843,
0.002462570322677493,
-0.037283528596162796,
-0.022026443853974342,
-0.00573659548535943,
0.01865912228822708,
0.020967645570635796,
-0.01952698826789856,
0.05050981044769287,
-0.05693202093243599,
-0.011221509426832199,
-0.009069201536476612,
0.049260083585977554,
-0.01147319097071886,
-0.03122582472860813,
0.0632500872015953,
0.06512467563152313,
0.012037303298711777,
0.09268810600042343,
0.013486640527844429,
0.06408323347568512,
-0.010258178226649761,
-0.03940112516283989,
-0.02065521478652954,
-0.02440439723432064,
-0.047836784273386,
0.03195483237504959,
0.010336286388337612,
0.010648718103766441,
0.019457560032606125,
-0.0011857221834361553,
0.011629406362771988,
-0.042108867317438126,
-0.035096507519483566,
-0.015465375036001205,
0.023172026500105858,
0.005276626441627741,
-0.013972644694149494,
0.029385948553681374,
0.028865227475762367,
0.0022868274245411158,
0.02192229963839054,
-0.013382496312260628,
-0.0032436498440802097,
-0.025011902675032616,
-0.033916208893060684,
0.052037253975868225,
-0.08477316796779633,
0.004946837201714516,
-0.050822243094444275,
-0.014206969179213047,
0.03915812075138092,
0.011742228642106056,
-0.016220418736338615,
-0.01766107603907585,
-0.03433278575539589,
0.025306977331638336,
-0.0375959612429142,
-0.038498543202877045,
0.031868044286966324,
-0.0015155113069340587,
-0.02718156762421131,
0.006292029749602079,
-0.01923191361129284,
0.0327359102666378,
0.033777352422475815,
-0.036311518400907516,
0.04735077917575836,
-0.043219733983278275,
-0.011924481019377708,
-0.02343238703906536,
0.008622250519692898,
-0.026261629536747932,
0.10567138344049454,
0.020811431109905243,
0.022564519196748734,
-0.07008887082338333,
0.012384450063109398,
0.00490778312087059,
0.009147309698164463,
0.010440429672598839,
0.01241916511207819,
0.004894765093922615,
-0.053981274366378784,
0.01982206292450428,
-0.02279016561806202,
0.09615956991910934,
-0.005155125167220831,
-0.045858047902584076,
0.0055673616006970406,
0.050961099565029144,
0.003788235830143094,
0.013955287635326385,
-0.024907758459448814,
0.03433278575539589,
0.009121273644268513,
0.01142111886292696,
0.002421346493065357,
0.07428934425115585,
0.030323242768645287,
-0.07165102660655975,
-0.014927297830581665,
0.004159248434007168,
0.0012030794750899076,
0.006066384259611368,
0.028500724583864212,
-0.022390946745872498,
-0.04523318260908127,
0.020047707483172417,
-0.026869136840105057,
0.009485777467489243,
-0.02060314267873764,
0.04137985780835152,
0.009477098472416401,
-0.029333876445889473,
0.0751919224858284,
-0.06363194435834885,
0.013130814768373966,
0.0037253154441714287,
-0.0349576473236084,
0.014892583712935448,
-0.042004723101854324,
0.0038988888263702393,
0.01731392927467823,
0.005558682605624199,
-0.024925116449594498,
-0.02103707566857338,
0.04592747613787651,
-0.002473418600857258,
0.015291801653802395,
0.022998454049229622,
0.019266629591584206,
-0.026678206399083138,
0.005975258536636829,
-0.023015810176730156,
-0.030080240219831467,
-0.0027164211496710777,
-0.02653934620320797,
0.04124100133776665,
0.029941381886601448,
-0.023901034146547318,
0.0060490272007882595,
-0.04269901663064957,
-0.0008407453424297273,
0.014163576066493988,
0.05839003622531891,
0.014172254130244255,
-0.014189612120389938,
-0.015760449692606926,
0.04571918770670891,
0.00020015162590425462,
0.02707742340862751,
0.029924025759100914,
0.009555206634104252,
-0.00016719983250368387,
0.007862867787480354,
0.01027553528547287,
0.004154909402132034,
0.05488385632634163,
-0.025723552331328392,
0.020134495571255684,
0.05894546955823898,
-0.024768900126218796,
-0.02181815542280674,
-0.020290710031986237,
-0.04495546594262123,
-0.004829674959182739,
0.04197000712156296,
-0.07401162385940552,
-0.022269446402788162,
0.08518974483013153,
0.005827721208333969,
-0.03200690448284149,
0.015144264325499535,
0.004656102042645216,
0.01928398571908474,
-0.05356469750404358,
0.06436095386743546,
0.00003478244980215095,
-0.006500317715108395,
-0.01947491616010666,
0.010466465726494789,
-0.07394219934940338,
0.053495269268751144,
-0.013356460258364677,
0.013538711704313755,
-0.07644165307283401,
-0.07658050954341888,
-0.034506358206272125,
0.05137767642736435,
-0.01302667148411274,
0.0879669114947319,
0.02440439723432064,
0.04582333192229271,
-0.05450199544429779,
0.0524885468184948,
-0.013200243934988976,
0.03389885276556015,
-0.07248418033123016,
-0.06804070621728897,
-0.002744626719504595,
-0.010900398716330528,
0.02912558801472187,
-0.0214362945407629,
0.00046078269951976836,
0.01841611973941326,
-0.07574735581874847,
0.007528739050030708,
-0.05616829916834831,
-0.04814921319484711,
-0.02192229963839054,
0.03915812075138092,
0.028223007917404175,
-0.021887583658099174,
0.042247723788022995,
-0.09032750874757767,
0.001164025510661304,
-0.05123881623148918,
0.09685385972261429,
0.019943565130233765,
0.022078515961766243,
0.0655759647488594,
-0.02931651845574379,
-0.044886037707328796,
0.0028986730612814426,
-0.01825990341603756,
0.04578861966729164,
-0.03546101227402687,
0.03735296055674553,
0.014241683296859264,
0.017982186749577522,
-0.07178989052772522,
0.0010777813149616122,
-0.050336237996816635,
0.04051199182868004,
0.051065243780612946,
0.005337377078831196,
-0.007389880251139402,
0.01806897297501564,
0.027042709290981293,
-0.04922536760568619,
0.06686040759086609,
0.00024218889302574098,
-0.01010196190327406,
-0.009268810972571373,
0.027546072378754616,
-0.007654579356312752,
0.00610109930858016,
0.004098497796803713,
-0.027650216594338417,
0.021071789786219597,
0.07248418033123016,
-0.09900616854429245,
0.040442563593387604,
0.02162722498178482,
-0.0037621997762471437,
0.0499543771147728,
0.023848962038755417,
0.039609409868717194,
-0.018225189298391342,
-0.014345827512443066,
0.004816657397896051,
0.039227548986673355,
-0.011039257980883121,
0.06995001435279846,
-0.031920116394758224,
-0.0009579072939231992,
-0.08032969385385513,
-0.013937930576503277,
0.05675844848155975,
0.03068774752318859,
0.07435876876115799,
0.00643956707790494,
-0.016741137951612473,
-0.018294619396328926,
0.0030310226138681173,
0.0030765854753553867,
0.022321516647934914,
0.016437385231256485,
-0.03141675516963005,
0.036693379282951355,
0.028118863701820374,
0.04023427516222,
-0.07727479934692383,
-0.006331083830446005,
0.10574081540107727,
-0.021800797432661057,
0.020811431109905243,
-0.025445835664868355,
-0.023172026500105858,
0.0600910522043705,
0.03658923879265785,
-0.08053798228502274,
-0.06189621612429619,
-0.03132996708154678,
0.05050981044769287,
0.004419608507305384,
0.037283528596162796,
-0.0026014288887381554,
-0.002341069048270583,
-0.007034055422991514,
-0.016315883025527,
0.0050553204491734505,
-0.024439111351966858,
0.011212830431759357,
-0.029819881543517113,
-0.008322836831212044,
-0.04568447545170784,
-0.003438919549807906,
0.030948108062148094,
0.005090035032480955,
-0.0018518094439059496,
0.008266424760222435,
-0.051933109760284424,
-0.023415029048919678,
0.024473825469613075,
0.012167483568191528,
-0.02659141831099987,
-0.02669556252658367,
0.04137985780835152,
-0.025949198752641678,
-0.036554522812366486,
0.012106732465326786,
0.040442563593387604,
-0.018485549837350845,
0.05002380535006523,
-0.0032089350279420614,
0.048531074076890945,
-0.00893902126699686,
-0.06550654023885727,
-0.08116284012794495,
0.08185713738203049,
-0.003751351498067379,
0.02230416052043438,
-0.02025599591434002,
0.005523968022316694,
0.06210450083017349,
-0.01188108790665865,
-0.02147100865840912,
0.06519410759210587,
0.011698835529386997,
0.009537848643958569,
-0.05002380535006523,
-0.022269446402788162,
0.06543710827827454,
0.025116046890616417,
0.03159032762050629,
0.00781947374343872,
0.03204161673784256,
-0.03492293506860733,
-0.006851803511381149,
0.02815357781946659,
-0.03127789497375488,
0.12115411460399628,
0.03842911496758461,
-0.005445860326290131,
0.019787348806858063,
0.04665648564696312,
-0.037422388792037964,
0.039088692516088486,
-0.01938812993466854,
-0.036936383694410324,
-0.004864390008151531,
-0.00961595680564642,
0.024369681254029274,
0.030080240219831467,
-0.025775624439120293,
-0.015170300379395485,
-0.014892583712935448,
-0.030028168112039566,
0.0056715053506195545,
0.00949445553123951,
-0.07845509797334671,
-0.005059659481048584,
0.061722639948129654,
0.07574735581874847,
-0.049989089369773865,
-0.006166188977658749,
0.07894110679626465,
-0.020429570227861404,
-0.015239729546010494,
-0.01175958663225174,
-0.053460557013750076,
-0.045858047902584076,
-0.04217829555273056,
0.03846382722258568,
-0.01147319097071886,
0.029403304681181908,
-0.04637876898050308,
0.013833786360919476,
0.012315020896494389,
0.034020353108644485,
-0.031000178307294846,
-0.03648509457707405,
0.06186150014400482,
0.02206115797162056,
0.04627462476491928,
0.019110413268208504,
-0.051933109760284424,
0.011672799475491047,
-0.03457578644156456,
-0.040789708495140076,
0.00922541692852974,
0.011586013250052929,
0.024942472577095032,
0.01169015746563673,
0.018346689641475677,
0.016055524349212646,
-0.05307869240641594,
0.009286168031394482,
-0.04349745064973831,
-0.06474281847476959,
-0.03856797143816948,
0.023154668509960175,
-0.02200908586382866,
-0.013530033640563488,
0.011377725750207901,
-0.0238142479211092,
0.06137549504637718,
0.021106505766510963,
-0.03735296055674553,
0.025480549782514572,
0.017218464985489845,
0.012453879229724407,
-0.04908651113510132,
0.07283132523298264,
-0.06706869602203369,
-0.08185713738203049,
-0.05172482132911682,
0.03856797143816948,
-0.0071642352268099785,
0.007298754528164864,
0.02513340301811695,
-0.04231715202331543,
-0.011829015798866749,
-0.020516356453299522,
0.04401817172765732,
0.05793874338269234,
0.007832491770386696,
0.020724643021821976,
-0.008084173314273357,
0.01090907771140337,
-0.014146218076348305,
0.01049250178039074,
-0.014267719350755215,
-0.027094781398773193,
0.0077977776527404785,
0.02357124537229538,
0.040060702711343765,
-0.06960286945104599,
0.03672809526324272,
-0.0031481843907386065,
0.03152089938521385,
0.023918392136693,
0.023102596402168274,
0.02157515287399292,
-0.0047211917117238045,
0.000027222520657232963,
0.013660212978720665,
-0.04589276388287544,
0.005962240509688854,
-0.019648490473628044,
0.006812749430537224,
0.022147944197058678,
0.0351138636469841,
-0.0004342042957432568,
0.010900398716330528,
-0.029889309778809547,
0.004586672410368919,
0.0028140561189502478,
0.024439111351966858,
-0.04443474858999252,
-0.04037313535809517,
-0.010023853741586208,
-0.022668663412332535,
0.05328698083758354,
-0.03835968300700188,
-0.01136904675513506,
0.015248408541083336,
-0.061201922595500946,
0.017808614298701286,
0.030427386984229088,
-0.007511381525546312,
0.036207377910614014,
-0.04207415133714676,
0.009867638349533081,
-0.03254498168826103,
-0.03072246164083481,
-0.024039892479777336,
-0.04915593937039375,
-0.008557160384953022,
0.015743091702461243,
-0.012601416558027267,
0.09386840462684631,
-0.04884350672364235,
0.030791891738772392,
-0.0575568825006485,
-0.05103053152561188,
-0.07748308777809143,
0.042004723101854324,
0.04856579005718231,
0.008479052223265171,
0.019405487924814224,
0.011221509426832199,
0.044052887707948685,
0.08414830267429352,
0.0237621758133173,
0.03313513100147247,
-0.0035669298376888037,
0.024803614243865013,
-0.007385541219264269,
-0.05019737780094147,
0.016385313123464584,
-0.008873931132256985,
-0.019752632826566696,
0.013720964081585407,
0.01615098863840103,
-0.02926444634795189,
0.013330424204468727,
-0.03169447183609009,
-0.03233669325709343,
-0.04797564074397087,
-0.016142310574650764,
-0.07352562248706818,
0.01227162778377533,
-0.061722639948129654,
-0.005701880436390638,
0.03603380173444748,
-0.028466010466217995,
-0.006751998793333769,
0.04547618702054024,
0.02581034041941166,
0.014866547659039497,
0.03676281124353409,
0.07623336464166641,
0.012740274891257286,
-0.03599908947944641,
-0.03185068815946579,
-0.03443692997097969,
0.007472327444702387,
0.02313731238245964,
0.04190057888627052,
0.00015635151066817343,
-0.023553887382149696,
-0.01108265109360218,
-0.01942284405231476,
0.025168118998408318,
0.040164846926927567,
0.03370792046189308,
-0.09275753796100616,
0.00021154237037990242,
-0.027407214045524597,
0.04693420231342316,
-0.005059659481048584,
0.04110214114189148,
0.0026665187906473875,
0.05321755260229111,
-0.0012226063990965486,
0.029924025759100914,
-0.04787149652838707,
0.0046951561234891415,
-0.07116502523422241,
-0.02921237424015999,
-0.0040898192673921585,
-0.014771082438528538,
-0.020516356453299522,
0.025306977331638336,
-0.0005256014410406351,
-0.05922318622469902,
0.003935772925615311,
-0.008314157836139202,
0.030080240219831467,
-0.020637856796383858,
-0.018919482827186584,
0.0599869079887867,
0.03141675516963005,
-0.009338240139186382,
-0.014293755404651165,
0.061687927693128586,
-0.005966580007225275,
0.014406578615307808,
0.016307204961776733,
0.024768900126218796,
-0.016376635059714317,
-0.0035213669762015343,
-0.013851143419742584,
0.026799706742167473,
0.02279016561806202,
0.014206969179213047,
0.0030722462106496096,
-0.031434111297130585,
-0.010431751608848572,
0.07078316062688828,
-0.021123861894011497,
-0.017088284716010094,
-0.0017086114967241883,
-0.06595782935619354,
-0.03139939904212952,
-0.06470809876918793,
-0.034211285412311554,
-0.09116066247224808,
-0.023901034146547318,
0.002164241159334779,
-0.003256667871028185,
-0.000983400852419436,
0.00852244533598423,
-0.018954196944832802,
0.0008033186313696206,
-0.028188291937112808,
0.006105438340455294,
0.010995863936841488,
0.03014967031776905,
0.006864821072667837,
0.00978953018784523,
-0.02999345399439335,
0.02294638194143772,
0.0881751999258995,
-0.02985459566116333,
-0.027789074927568436,
-0.007376862224191427,
-0.00478628184646368,
-0.021696653217077255,
0.01057060994207859,
-0.016194382682442665,
0.021991727873682976,
0.05842474848031998,
-0.037908393889665604,
0.009164666756987572,
0.009798209182918072,
0.03301362693309784,
-0.01898891106247902,
-0.01723582111299038,
-0.04620519280433655,
0.00021872938668821007,
-0.03513122349977493,
0.023397671058773994,
-0.03530479595065117,
-0.029333876445889473,
-0.04971137270331383,
-0.023206740617752075,
0.05825117602944374,
-0.012610095553100109,
-0.08400944620370865,
-0.022876951843500137,
-0.04457360506057739,
0.03592965751886368,
-0.0651593878865242,
-0.044886037707328796,
-0.0025450175162404776,
0.021505722776055336,
0.016576243564486504,
-0.04922536760568619,
-0.00939899031072855,
0.013061385601758957,
0.008149263449013233,
-0.046830058097839355,
0.08421773463487625,
-0.0070427339524030685,
-0.0036602255422621965,
0.015838557854294777,
-0.0052505903877317905,
-0.006218261085450649,
-0.04735077917575836,
-0.036936383694410324,
-0.0601951964199543,
-0.04457360506057739,
-0.016185704618692398,
-0.004946837201714516,
-0.07050544768571854,
0.01088304165750742,
0.05863303691148758,
-0.04603162035346031,
0.030375314876437187,
-0.04134514555335045,
-0.013981323689222336,
-0.01704489067196846,
-0.0034779736306518316,
0.003517027711495757,
-0.012410486117005348,
0.030861319974064827,
-0.048426929861307144,
0.027337783947587013,
-0.04689948633313179,
-0.01003253273665905,
-0.06127135083079338,
-0.04023427516222,
0.032996270805597305,
-0.026088057085871696,
-0.0200129933655262,
0.008318496868014336,
0.04905179515480995,
0.02591448277235031,
0.03181597217917442,
0.047697924077510834,
-0.03131261095404625,
-0.001686914823949337,
-0.027233639732003212,
0.019735276699066162,
0.005450199358165264,
0.03592965751886368,
-0.009017129428684711,
0.02095028944313526,
0.02820564992725849,
-0.036693379282951355,
-0.016741137951612473,
-0.00549359293654561,
-0.040650852024555206,
-0.0027663232758641243,
-0.018103688955307007,
0.03579080104827881,
0.059188470244407654,
-0.013052706606686115,
0.06995001435279846,
0.012332377955317497,
-0.05922318622469902,
0.02327617071568966,
0.04946837201714516,
-0.022095872089266777,
-0.0164200272411108,
0.0524885468184948,
0.015786485746502876,
-0.026955923065543175,
0.026799706742167473,
-0.015612912364304066,
0.02197437174618244,
0.017791256308555603,
-0.02659141831099987,
0.00918202381581068,
0.08053798228502274,
0.007285736501216888,
-0.007802116684615612,
-0.0672769844532013,
-0.0010457787429913878,
0.0227033793926239,
-0.06429152190685272,
0.021297436207532883,
0.03211104869842529,
0.017548253759741783,
0.0164200272411108
] |
710,259
|
urllib3_future.backend._base
|
update_parameters
| null |
def update_parameters(self, data: dict[str, typing.Any]) -> None:
self._parameters.update(data)
|
(self, data: dict[str, typing.Any]) -> NoneType
|
[
0.03453599289059639,
0.018129220232367516,
-0.032274190336465836,
0.011195925064384937,
-0.031004099175333977,
-0.012265931814908981,
-0.04920291528105736,
-0.0005067308666184545,
0.056614670902490616,
0.010099820792675018,
-0.02206127904355526,
-0.04624517261981964,
-0.012518209405243397,
0.020860783755779266,
-0.023418361321091652,
-0.02881189063191414,
0.005415278486907482,
0.047289080917835236,
-0.025123411789536476,
-0.06886320561170578,
0.03453599289059639,
0.011248120106756687,
-0.028985874727368355,
0.0534481443464756,
-0.0030469095800071955,
-0.029403438791632652,
0.039738141000270844,
-0.02063460275530815,
0.04568842053413391,
-0.00085905019659549,
-0.005406579002737999,
-0.019486302509903908,
0.004358320496976376,
0.02839432656764984,
0.04026009514927864,
-0.0007214933866634965,
0.0074552507139742374,
-0.012535608373582363,
-0.0592244416475296,
0.028168147429823875,
-0.029647018760442734,
-0.002594548976048827,
-0.037650320678949356,
-0.009003715589642525,
0.09610922634601593,
0.06301730871200562,
-0.015937011688947678,
0.09805785864591599,
0.009177700616419315,
0.04015570133924484,
0.02013004757463932,
-0.06861962378025055,
-0.01856418326497078,
0.008538306690752506,
-0.007155126892030239,
0.04579281061887741,
0.019660288468003273,
0.031317271292209625,
0.047184690833091736,
-0.03994692116975784,
0.05456164851784706,
-0.07794521003961563,
-0.017259296029806137,
-0.08740998804569244,
0.009299489669501781,
-0.008777535520493984,
0.014510336332023144,
0.0104738874360919,
-0.0052412934601306915,
0.0037102268543094397,
-0.019347114488482475,
-0.009612662717700005,
-0.02834213152527809,
-0.011569992639124393,
-0.015354163013398647,
0.05052519962191582,
-0.02799416147172451,
0.006045973394066095,
-0.00958656519651413,
-0.009847542271018028,
0.050386011600494385,
-0.023400962352752686,
-0.02171330899000168,
0.0088471295312047,
-0.051812686026096344,
0.0009650721913203597,
-0.03705877438187599,
-0.01851198822259903,
-0.025627968832850456,
-0.05118634179234505,
-0.0032121953554451466,
0.01724189892411232,
-0.007398705463856459,
0.006241706199944019,
0.08664445579051971,
-0.04022529721260071,
-0.013562118634581566,
-0.06145144999027252,
-0.02611512504518032,
0.004230006597936153,
0.013431630097329617,
0.008625298738479614,
0.0889410525560379,
-0.02515820972621441,
0.0481938011944294,
-0.09346465766429901,
0.008481761440634727,
-0.016554657369852066,
-0.01972988247871399,
0.011752676218748093,
-0.019103536382317543,
-0.024305682629346848,
-0.03474477306008339,
0.022983398288488388,
-0.011726578697562218,
0.03382265567779541,
0.010082421824336052,
-0.022183068096637726,
0.03782430663704872,
0.050281621515750885,
-0.035423316061496735,
0.07342160493135452,
0.02682846412062645,
0.024636253714561462,
0.002533654449507594,
0.018894754350185394,
-0.0009395181550644338,
0.0533437542617321,
0.002270502271130681,
-0.11016720533370972,
-0.00022903474746271968,
-0.03650202229619026,
-0.014188464730978012,
0.030864911153912544,
0.02804635837674141,
-0.04050367325544357,
0.03290053457021713,
0.0053674327209591866,
-0.0075161452405154705,
-0.004514907021075487,
0.0013124982360750437,
0.052613016217947006,
0.003320935880765319,
-0.010665271431207657,
0.04001651331782341,
-0.0295078307390213,
0.030621333047747612,
0.002498857444152236,
-0.05090796574950218,
-0.021817699074745178,
-0.038868214935064316,
-0.010613075457513332,
0.021260948851704597,
0.019903866574168205,
-0.03392704576253891,
-0.04711509495973587,
0.002368368674069643,
-0.09290790557861328,
-0.02221786417067051,
0.008212084881961346,
-0.010508684441447258,
-0.023470556363463402,
0.0018986096838489175,
-0.012761788442730904,
-0.019033942371606827,
0.009795347228646278,
-0.03984253108501434,
-0.011535195633769035,
0.02160891890525818,
-0.01704181544482708,
0.028968477621674538,
-0.032482970505952835,
-0.007416103966534138,
0.017372386530041695,
0.046836722642183304,
0.009864941239356995,
-0.04022529721260071,
-0.059920381754636765,
0.05543157085776329,
-0.00834692269563675,
-0.001239642035216093,
-0.0024336129426956177,
0.019590694457292557,
0.05129073187708855,
0.009577865712344646,
-0.0058850375935435295,
-0.027924567461013794,
0.04523606225848198,
-0.028168147429823875,
-0.023035593330860138,
0.04092123731970787,
-0.037406742572784424,
-0.028185544535517693,
0.007255168166011572,
-0.037859104573726654,
0.014649524353444576,
0.020825985819101334,
-0.041965145617723465,
0.008555704727768898,
0.045514434576034546,
0.016137095168232918,
-0.08525257557630539,
0.030064580962061882,
0.0006839779089204967,
0.0014625601470470428,
-0.03173483535647392,
0.066566601395607,
0.017163604497909546,
0.02352275140583515,
-0.03688478842377663,
0.032326385378837585,
0.01880776137113571,
0.06855002790689468,
-0.05553596466779709,
0.02322697639465332,
-0.05254342406988144,
-0.025697562843561172,
-0.06009436771273613,
0.027159035205841064,
-0.031926218420267105,
0.07032467424869537,
0.055048804730176926,
0.017154905945062637,
-0.03396184369921684,
0.03147386014461517,
-0.019051341339945793,
0.01591961272060871,
-0.024618856608867645,
-0.04346141591668129,
0.010882752016186714,
-0.014110171236097813,
0.0013288093032315373,
-0.036745600402355194,
0.0041082170791924,
0.038067884743213654,
-0.04224352166056633,
-0.01927752047777176,
-0.05136032775044441,
-0.0351797379553318,
-0.02327917329967022,
0.024810239672660828,
0.010630474425852299,
-0.043078649789094925,
0.04645395278930664,
-0.11420365422964096,
-0.04899413138628006,
0.0041886852122843266,
0.04666273668408394,
0.04113001748919487,
-0.018494589254260063,
0.0643743947148323,
-0.007255168166011572,
-0.04259148985147476,
0.0598507858812809,
-0.033492084592580795,
0.06228657439351082,
0.02505381777882576,
0.06357406079769135,
0.03803308680653572,
-0.02343575842678547,
-0.025123411789536476,
0.010760962963104248,
-0.02921205572783947,
0.08754917234182358,
0.03890301287174225,
-0.02221786417067051,
-0.008916723541915417,
0.001056414213962853,
0.0054544247686862946,
-0.03551030904054642,
0.09095928072929382,
-0.003003413323312998,
0.03241337835788727,
0.03170003741979599,
0.058041345328092575,
0.020199641585350037,
0.0823296308517456,
-0.028637906536459923,
-0.0025445283390581608,
0.019642889499664307,
0.08970658481121063,
-0.06298251450061798,
0.022948602214455605,
-0.03331809863448143,
0.0476718470454216,
0.0024531863164156675,
-0.0013527321862056851,
0.06211259216070175,
-0.04203473776578903,
-0.007925009354948997,
0.022287458181381226,
0.01759856753051281,
0.010099820792675018,
0.04544484242796898,
-0.008564404211938381,
0.028690101578831673,
-0.03594527021050453,
0.038763824850320816,
0.07724927365779877,
0.008625298738479614,
0.05101235583424568,
-0.0008416516939178109,
0.05529238283634186,
-0.03858983889222145,
0.036954380571842194,
-0.05557075887918472,
0.03511014208197594,
0.007977205328643322,
-0.036954380571842194,
0.010265106335282326,
0.030760521069169044,
0.034153226763010025,
-0.060372743755578995,
0.004003826528787613,
0.03135206922888756,
-0.06618383526802063,
0.03705877438187599,
0.005667556542903185,
-0.029577424749732018,
0.045966796576976776,
0.02956002578139305,
-0.08817552030086517,
0.0020628077909350395,
-0.044192150235176086,
0.0013070611748844385,
-0.0027206880040466785,
0.05268261209130287,
0.011213323101401329,
0.024410074576735497,
-0.026654478162527084,
-0.012431217357516289,
-0.019695084542036057,
0.005919834598898888,
-0.0048324293456971645,
-0.01673734188079834,
0.006976792588829994,
-0.06127746403217316,
-0.015206275507807732,
0.03848544880747795,
0.02216566912829876,
-0.02865530364215374,
0.023609744384884834,
0.008738389238715172,
-0.021574120968580246,
-0.032883137464523315,
0.00429960060864687,
0.004216957837343216,
-0.0051456019282341,
0.02216566912829876,
0.00791196059435606,
-0.03279614448547363,
-0.027611395344138145,
0.03904220089316368,
-0.005902436096221209,
0.09005455672740936,
-0.05021202564239502,
0.05536197870969772,
-0.031021498143672943,
0.003262215992435813,
-0.03483176603913307,
0.05755418911576271,
0.038624636828899384,
0.017163604497909546,
0.009899738244712353,
0.00816423911601305,
0.03241337835788727,
-0.0475674569606781,
0.023470556363463402,
0.03771991655230522,
0.005336984992027283,
0.02465365268290043,
-0.047741442918777466,
0.0009748588781803846,
0.024062104523181915,
0.04342661798000336,
0.02905546873807907,
-0.030917108058929443,
0.030551739037036896,
-0.05014243349432945,
-0.01790304109454155,
0.015632538124918938,
-0.08699242025613785,
0.06687977910041809,
-0.011683082208037376,
0.02049541473388672,
0.008107693865895271,
0.0027968063950538635,
-0.050942763686180115,
0.027298223227262497,
-0.0025858497247099876,
-0.04408776015043259,
0.0002477924863342196,
-0.00011608051863731816,
0.042417507618665695,
-0.03716316446661949,
0.02479284070432186,
0.009169001132249832,
-0.013475126586854458,
-0.04060806334018707,
-0.030847514048218727,
-0.03467518091201782,
-0.09262952953577042,
-0.006667969282716513,
0.015432455576956272,
0.06726254522800446,
-0.06879360973834991,
0.026811065152287483,
0.07662292569875717,
-0.006289552431553602,
0.03417062386870384,
-0.01845979318022728,
-0.0206867977976799,
0.01744198054075241,
0.012031052261590958,
0.056927841156721115,
0.003631933592259884,
0.06343487650156021,
-0.05069918558001518,
0.008864527568221092,
0.06639261543750763,
0.06319129467010498,
-0.023470556363463402,
-0.03164784237742424,
0.10974964499473572,
0.04575801640748978,
-0.011883164756000042,
0.0015201925998553634,
-0.060929492115974426,
-0.003625409211963415,
-0.008655746467411518,
-0.04937690123915672,
0.011883164756000042,
-0.016659049317240715,
0.0032317684963345528,
0.027907170355319977,
0.058598097413778305,
0.008968918584287167,
-0.019555896520614624,
-0.004060371313244104,
-0.009630061686038971,
0.0008427391294389963,
-0.047080300748348236,
0.026497893035411835,
-0.018946949392557144,
-0.04234791174530983,
0.005480522755533457,
-0.01745068095624447,
-0.0015778250526636839,
0.008720990270376205,
-0.01465822383761406,
0.03384005278348923,
-0.0015865243040025234,
-0.01209194678813219,
-0.05699743703007698,
0.034153226763010025,
-0.06183421611785889,
-0.04659314081072807,
-0.0330745205283165,
0.03335289657115936,
-0.02910766564309597,
-0.02240924909710884,
-0.01891215331852436,
-0.032378580421209335,
0.0164328683167696,
0.02693285420536995,
0.02500162273645401,
0.01432765182107687,
-0.014318953268229961,
-0.005689304322004318,
-0.0023901169188320637,
0.06322609633207321,
-0.012979269959032536,
0.02773318439722061,
-0.029386041685938835,
0.005641458556056023,
0.029072867706418037,
0.015197576023638248,
0.035423316061496735,
-0.06590545922517776,
0.01760726608335972,
0.026845861226320267,
0.021748105064034462,
0.020008256658911705,
0.022391850128769875,
0.00015713006723672152,
-0.05003804340958595,
0.009464776143431664,
0.005745849572122097,
-0.04161717742681503,
-0.01252690888941288,
0.026811065152287483,
-0.01247471384704113,
0.01941670849919319,
0.019660288468003273,
-0.029699213802814484,
-0.0021856846287846565,
-0.011135030537843704,
-0.001612622058019042,
0.022235263139009476,
0.012483412399888039,
-0.02534959279000759,
-0.023540150374174118,
0.053587332367897034,
-0.02648049406707287,
0.03333549574017525,
-0.023905517533421516,
-0.009125505574047565,
0.06340007483959198,
-0.015258471481502056,
0.06607944518327713,
-0.050942763686180115,
-0.032535165548324585,
0.043739791959524155,
-0.02992539294064045,
0.04781103506684303,
-0.019712483510375023,
-0.019138332456350327,
0.0034383756574243307,
-0.07279525697231293,
-0.04443572834134102,
-0.02728082425892353,
0.02227006107568741,
0.06726254522800446,
-0.055953528732061386,
0.02413169853389263,
-0.042730677872896194,
-0.03241337835788727,
-0.08386069536209106,
0.03371826186776161,
0.031108491122722626,
0.014092772267758846,
0.01972988247871399,
0.008868877775967121,
0.02002565562725067,
0.05856329947710037,
0.03939016908407211,
0.0416867695748806,
-0.04492288827896118,
-0.04280027374625206,
0.012561705894768238,
-0.049063727259635925,
0.010752263478934765,
0.016319777816534042,
-0.03037775494158268,
-0.019538497552275658,
0.023244375362992287,
-0.008155539631843567,
0.006976792588829994,
-0.02039102464914322,
-0.022861609235405922,
-0.10988882929086685,
-0.025245200842618942,
-0.04370499402284622,
0.06809766590595245,
-0.10738344490528107,
-0.04391377419233322,
0.026463095098733902,
-0.0648963451385498,
-0.009516971185803413,
0.016241485252976418,
0.0009639848140068352,
-0.01603270322084427,
0.03893780708312988,
0.044400934129953384,
-0.013266344554722309,
-0.004179986193776131,
-0.029038071632385254,
0.02500162273645401,
-0.07745805382728577,
0.03625844046473503,
0.06924597173929214,
0.017572470009326935,
-0.03834626078605652,
-0.031125890091061592,
0.020652001723647118,
-0.012431217357516289,
0.0033687816467136145,
-0.002061720471829176,
-0.02956002578139305,
-0.029351243749260902,
0.0031339020933955908,
0.05188228189945221,
-0.02804635837674141,
-0.0089254230260849,
0.002446661936119199,
0.017833447083830833,
-0.03716316446661949,
0.051812686026096344,
-0.008159888908267021,
-0.005036861170083284,
-0.049620479345321655,
0.004910722374916077,
-0.013014066964387894,
-0.03834626078605652,
-0.03460558503866196,
0.03778950870037079,
-0.019312318414449692,
-0.027072042226791382,
-0.03154345229268074,
-0.018598979339003563,
-0.01946890354156494,
0.004936819896101952,
-0.03928577899932861,
0.03333549574017525,
-0.0015397658571600914,
-0.03681519255042076,
-0.019399311393499374,
0.11552593857049942,
-0.006841954309493303,
0.0037341497372835875,
0.03650202229619026,
0.023922916501760483,
0.00045045765000395477,
-0.010047624818980694,
-0.0015386785380542278,
0.011648285202682018,
-0.018390199169516563,
-0.021782903000712395,
0.04753265902400017,
-0.015797823667526245,
-0.029855800792574883,
0.01592831313610077,
-0.013866592198610306,
0.01689392887055874,
-0.03392704576253891,
-0.02444487065076828,
-0.015806524083018303,
-0.043391820043325424,
-0.06197340413928032,
-0.06997670233249664,
0.013692607171833515,
-0.0029533926863223314,
0.022200467064976692,
0.016493763774633408,
-0.001899697002954781,
0.03495355695486069,
-0.04579281061887741,
-0.04255669191479683,
0.0011722228955477476,
-0.010700068436563015,
0.10063283890485764,
0.016363274306058884,
0.020565008744597435,
-0.019869070500135422,
0.026236915960907936,
0.08170328289270401,
-0.030499543994665146,
-0.05797174945473671,
-0.02434048056602478,
-0.009743151254951954,
-0.03509274497628212,
0.020304031670093536,
-0.008464362472295761,
0.021835098043084145,
0.07425673305988312,
0.003927708137780428,
0.012379022315144539,
-0.016415471211075783,
0.022652827203273773,
-0.035579901188611984,
-0.04182595759630203,
-0.016911327838897705,
0.008477412164211273,
-0.04311344400048256,
0.010560880415141582,
0.0060981689020991325,
-0.017972635105252266,
0.01647636480629444,
0.06969832628965378,
0.02307039126753807,
-0.019851671531796455,
-0.009421279653906822,
0.002735911635681987,
0.005467473994940519,
0.050942763686180115,
-0.0600595697760582,
-0.028081154450774193,
-0.03994692116975784,
0.014927900396287441,
0.028307335451245308,
-0.03744154050946236,
-0.031073693186044693,
0.0018529386725276709,
-0.00012987696391064674,
-0.03170003741979599,
0.0835823193192482,
0.0033622572664171457,
-0.0038646385073661804,
0.0034209771547466516,
0.05553596466779709,
0.010917549021542072,
-0.07543983310461044,
-0.022252662107348442,
-0.06065111607313156,
0.01003892533481121,
-0.06044233590364456,
-0.03337029367685318,
-0.07293444871902466,
0.007981554605066776,
0.018024830147624016,
-0.012761788442730904,
0.046975910663604736,
-0.02621951699256897,
-0.03469257801771164,
0.013074961490929127,
0.010073722340166569,
-0.009647459723055363,
-0.01885995827615261,
-0.010656571947038174,
-0.022130873054265976,
0.022148272022604942,
0.01728539541363716,
-0.01608489826321602,
-0.045062076300382614,
0.013483826071023941,
0.09088968485593796,
-0.0007758637075312436,
-0.03119548410177231,
0.0065722777508199215,
0.021469730883836746,
-0.007503096479922533,
0.07418713718652725,
0.019155731424689293,
-0.021887293085455894,
-0.004277852363884449,
-0.017737755551934242,
-0.021869895979762077,
-0.04391377419233322,
0.028742296621203423,
0.0004224569711368531,
0.00774667551741004,
-0.003684129100292921,
-0.009447377175092697,
-0.03925098106265068,
-0.008055498823523521,
-0.029907995834946632,
0.011056737042963505,
-0.01774645410478115,
-0.0301341749727726,
0.04457491636276245,
-0.009978030808269978,
0.07022028416395187,
0.0270372461527586,
0.009647459723055363,
0.002825079020112753,
-0.0020508463494479656,
0.008129442110657692,
-0.06155584007501602,
0.044052962213754654,
0.00922989659011364,
0.03671080246567726,
0.02444487065076828,
-0.03128247708082199,
0.013066262006759644,
0.011500398628413677,
0.013805697672069073,
0.01234422530978918,
0.044957686215639114,
0.03190882131457329,
-0.017102710902690887,
-0.014745215885341167,
0.013101059012115002,
0.06287812441587448,
-0.03274394944310188,
0.01374480314552784,
0.03397924080491066,
0.008834080770611763,
0.021365338936448097
] |
710,260
|
urllib3_future.util.retry
|
Retry
|
Retry configuration.
Each retry attempt will create a new Retry object with updated values, so
they can be safely reused.
Retries can be defined as a default for a pool:
.. code-block:: python
retries = Retry(connect=5, read=2, redirect=5)
http = PoolManager(retries=retries)
response = http.request("GET", "https://example.com/")
Or per-request (which overrides the default for the pool):
.. code-block:: python
response = http.request("GET", "https://example.com/", retries=Retry(10))
Retries can be disabled by passing ``False``:
.. code-block:: python
response = http.request("GET", "https://example.com/", retries=False)
Errors will be wrapped in :class:`~urllib3.exceptions.MaxRetryError` unless
retries are disabled, in which case the causing exception will be raised.
:param int total:
Total number of retries to allow. Takes precedence over other counts.
Set to ``None`` to remove this constraint and fall back on other
counts.
Set to ``0`` to fail on the first retry.
Set to ``False`` to disable and imply ``raise_on_redirect=False``.
:param int connect:
How many connection-related errors to retry on.
These are errors raised before the request is sent to the remote server,
which we assume has not triggered the server to process the request.
Set to ``0`` to fail on the first retry of this type.
:param int read:
How many times to retry on read errors.
These errors are raised after the request was sent to the server, so the
request may have side-effects.
Set to ``0`` to fail on the first retry of this type.
:param int redirect:
How many redirects to perform. Limit this to avoid infinite redirect
loops.
A redirect is a HTTP response with a status code 301, 302, 303, 307 or
308.
Set to ``0`` to fail on the first retry of this type.
Set to ``False`` to disable and imply ``raise_on_redirect=False``.
:param int status:
How many times to retry on bad status codes.
These are retries made on responses, where status code matches
``status_forcelist``.
Set to ``0`` to fail on the first retry of this type.
:param int other:
How many times to retry on other errors.
Other errors are errors that are not connect, read, redirect or status errors.
These errors might be raised after the request was sent to the server, so the
request might have side-effects.
Set to ``0`` to fail on the first retry of this type.
If ``total`` is not set, it's a good idea to set this to 0 to account
for unexpected edge cases and avoid infinite retry loops.
:param Collection allowed_methods:
Set of uppercased HTTP method verbs that we should retry on.
By default, we only retry on methods which are considered to be
idempotent (multiple requests with the same parameters end with the
same state). See :attr:`Retry.DEFAULT_ALLOWED_METHODS`.
Set to a ``None`` value to retry on any verb.
:param Collection status_forcelist:
A set of integer HTTP status codes that we should force a retry on.
A retry is initiated if the request method is in ``allowed_methods``
and the response status code is in ``status_forcelist``.
By default, this is disabled with ``None``.
:param float backoff_factor:
A backoff factor to apply between attempts after the second try
(most errors are resolved immediately by a second try without a
delay). urllib3 will sleep for::
{backoff factor} * (2 ** ({number of previous retries}))
seconds. If `backoff_jitter` is non-zero, this sleep is extended by::
random.uniform(0, {backoff jitter})
seconds. For example, if the backoff_factor is 0.1, then :func:`Retry.sleep` will
sleep for [0.0s, 0.2s, 0.4s, 0.8s, ...] between retries. No backoff will ever
be longer than `backoff_max`.
By default, backoff is disabled (factor set to 0).
:param bool raise_on_redirect: Whether, if the number of redirects is
exhausted, to raise a MaxRetryError, or to return a response with a
response code in the 3xx range.
:param bool raise_on_status: Similar meaning to ``raise_on_redirect``:
whether we should raise an exception, or return a response,
if status falls in ``status_forcelist`` range and retries have
been exhausted.
:param tuple history: The history of the request encountered during
each call to :meth:`~Retry.increment`. The list is in the order
the requests occurred. Each list item is of class :class:`RequestHistory`.
:param bool respect_retry_after_header:
Whether to respect Retry-After header on status codes defined as
:attr:`Retry.RETRY_AFTER_STATUS_CODES` or not.
:param Collection remove_headers_on_redirect:
Sequence of headers to remove from the request when a response
indicating a redirect is returned before firing off the redirected
request.
|
class Retry:
"""Retry configuration.
Each retry attempt will create a new Retry object with updated values, so
they can be safely reused.
Retries can be defined as a default for a pool:
.. code-block:: python
retries = Retry(connect=5, read=2, redirect=5)
http = PoolManager(retries=retries)
response = http.request("GET", "https://example.com/")
Or per-request (which overrides the default for the pool):
.. code-block:: python
response = http.request("GET", "https://example.com/", retries=Retry(10))
Retries can be disabled by passing ``False``:
.. code-block:: python
response = http.request("GET", "https://example.com/", retries=False)
Errors will be wrapped in :class:`~urllib3.exceptions.MaxRetryError` unless
retries are disabled, in which case the causing exception will be raised.
:param int total:
Total number of retries to allow. Takes precedence over other counts.
Set to ``None`` to remove this constraint and fall back on other
counts.
Set to ``0`` to fail on the first retry.
Set to ``False`` to disable and imply ``raise_on_redirect=False``.
:param int connect:
How many connection-related errors to retry on.
These are errors raised before the request is sent to the remote server,
which we assume has not triggered the server to process the request.
Set to ``0`` to fail on the first retry of this type.
:param int read:
How many times to retry on read errors.
These errors are raised after the request was sent to the server, so the
request may have side-effects.
Set to ``0`` to fail on the first retry of this type.
:param int redirect:
How many redirects to perform. Limit this to avoid infinite redirect
loops.
A redirect is a HTTP response with a status code 301, 302, 303, 307 or
308.
Set to ``0`` to fail on the first retry of this type.
Set to ``False`` to disable and imply ``raise_on_redirect=False``.
:param int status:
How many times to retry on bad status codes.
These are retries made on responses, where status code matches
``status_forcelist``.
Set to ``0`` to fail on the first retry of this type.
:param int other:
How many times to retry on other errors.
Other errors are errors that are not connect, read, redirect or status errors.
These errors might be raised after the request was sent to the server, so the
request might have side-effects.
Set to ``0`` to fail on the first retry of this type.
If ``total`` is not set, it's a good idea to set this to 0 to account
for unexpected edge cases and avoid infinite retry loops.
:param Collection allowed_methods:
Set of uppercased HTTP method verbs that we should retry on.
By default, we only retry on methods which are considered to be
idempotent (multiple requests with the same parameters end with the
same state). See :attr:`Retry.DEFAULT_ALLOWED_METHODS`.
Set to a ``None`` value to retry on any verb.
:param Collection status_forcelist:
A set of integer HTTP status codes that we should force a retry on.
A retry is initiated if the request method is in ``allowed_methods``
and the response status code is in ``status_forcelist``.
By default, this is disabled with ``None``.
:param float backoff_factor:
A backoff factor to apply between attempts after the second try
(most errors are resolved immediately by a second try without a
delay). urllib3 will sleep for::
{backoff factor} * (2 ** ({number of previous retries}))
seconds. If `backoff_jitter` is non-zero, this sleep is extended by::
random.uniform(0, {backoff jitter})
seconds. For example, if the backoff_factor is 0.1, then :func:`Retry.sleep` will
sleep for [0.0s, 0.2s, 0.4s, 0.8s, ...] between retries. No backoff will ever
be longer than `backoff_max`.
By default, backoff is disabled (factor set to 0).
:param bool raise_on_redirect: Whether, if the number of redirects is
exhausted, to raise a MaxRetryError, or to return a response with a
response code in the 3xx range.
:param bool raise_on_status: Similar meaning to ``raise_on_redirect``:
whether we should raise an exception, or return a response,
if status falls in ``status_forcelist`` range and retries have
been exhausted.
:param tuple history: The history of the request encountered during
each call to :meth:`~Retry.increment`. The list is in the order
the requests occurred. Each list item is of class :class:`RequestHistory`.
:param bool respect_retry_after_header:
Whether to respect Retry-After header on status codes defined as
:attr:`Retry.RETRY_AFTER_STATUS_CODES` or not.
:param Collection remove_headers_on_redirect:
Sequence of headers to remove from the request when a response
indicating a redirect is returned before firing off the redirected
request.
"""
#: Default methods to be used for ``allowed_methods``
DEFAULT_ALLOWED_METHODS = frozenset(
["HEAD", "GET", "PUT", "DELETE", "OPTIONS", "TRACE"]
)
#: Default status codes to be used for ``status_forcelist``
RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
#: Default headers to be used for ``remove_headers_on_redirect``
DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"])
#: Default maximum backoff time.
DEFAULT_BACKOFF_MAX = 120
# Backward compatibility; assigned outside of the class.
DEFAULT: typing.ClassVar[Retry]
def __init__(
self,
total: bool | int | None = 10,
connect: int | None = None,
read: int | None = None,
redirect: bool | int | None = None,
status: int | None = None,
other: int | None = None,
allowed_methods: typing.Collection[str] | None = DEFAULT_ALLOWED_METHODS,
status_forcelist: typing.Collection[int] | None = None,
backoff_factor: float = 0,
backoff_max: float = DEFAULT_BACKOFF_MAX,
raise_on_redirect: bool = True,
raise_on_status: bool = True,
history: tuple[RequestHistory, ...] | None = None,
respect_retry_after_header: bool = True,
remove_headers_on_redirect: typing.Collection[
str
] = DEFAULT_REMOVE_HEADERS_ON_REDIRECT,
backoff_jitter: float = 0.0,
) -> None:
self.total = total
self.connect = connect
self.read = read
self.status = status
self.other = other
if redirect is False or total is False:
redirect = 0
raise_on_redirect = False
self.redirect = redirect
self.status_forcelist = status_forcelist or set()
self.allowed_methods = allowed_methods
self.backoff_factor = backoff_factor
self.backoff_max = backoff_max
self.raise_on_redirect = raise_on_redirect
self.raise_on_status = raise_on_status
self.history = history or ()
self.respect_retry_after_header = respect_retry_after_header
self.remove_headers_on_redirect = frozenset(
h.lower() for h in remove_headers_on_redirect
)
self.backoff_jitter = backoff_jitter
def new(self, **kw: typing.Any) -> Retry:
params = dict(
total=self.total,
connect=self.connect,
read=self.read,
redirect=self.redirect,
status=self.status,
other=self.other,
allowed_methods=self.allowed_methods,
status_forcelist=self.status_forcelist,
backoff_factor=self.backoff_factor,
backoff_max=self.backoff_max,
raise_on_redirect=self.raise_on_redirect,
raise_on_status=self.raise_on_status,
history=self.history,
remove_headers_o
|
(total: 'bool | int | None' = 10, connect: 'int | None' = None, read: 'int | None' = None, redirect: 'bool | int | None' = None, status: 'int | None' = None, other: 'int | None' = None, allowed_methods: 'typing.Collection[str] | None' = frozenset({'HEAD', 'GET', 'PUT', 'DELETE', 'TRACE', 'OPTIONS'}), status_forcelist: 'typing.Collection[int] | None' = None, backoff_factor: 'float' = 0, backoff_max: 'float' = 120, raise_on_redirect: 'bool' = True, raise_on_status: 'bool' = True, history: 'tuple[RequestHistory, ...] | None' = None, respect_retry_after_header: 'bool' = True, remove_headers_on_redirect: 'typing.Collection[str]' = frozenset({'Cookie', 'Authorization'}), backoff_jitter: 'float' = 0.0) -> 'None'
|
[
0.014529237523674965,
-0.026702918112277985,
-0.061046551913022995,
0.028959501534700394,
-0.02890011854469776,
-0.01072867400944233,
-0.06793507188558578,
-0.010600009001791477,
0.010609906166791916,
-0.05435597524046898,
0.011441280134022236,
0.05269322916865349,
0.04600265249609947,
0.03855988383293152,
0.013826529495418072,
0.021853240206837654,
0.04220208898186684,
0.028246896341443062,
0.006967699620872736,
-0.05027828738093376,
0.005824561696499586,
0.04216250032186508,
0.028227102011442184,
0.07886169105768204,
-0.016439417377114296,
0.023793110623955727,
-0.013717658817768097,
0.02224913239479065,
0.038817211985588074,
0.005408874712884426,
-0.04073728993535042,
0.0010188034502789378,
-0.03169115632772446,
0.02601010724902153,
0.046477723866701126,
-0.03812440112233162,
-0.024090029299259186,
0.0418853759765625,
-0.0951724424958229,
0.0160435251891613,
-0.031552594155073166,
-0.026208052411675453,
-0.04893225431442261,
-0.044023193418979645,
0.01901271566748619,
0.05783982574939728,
-0.04513169080018997,
0.05716681107878685,
0.014400572516024113,
-0.0519014447927475,
-0.029969027265906334,
0.009273771196603775,
0.006448091473430395,
-0.010600009001791477,
0.033155959099531174,
0.043073054403066635,
-0.036125149577856064,
0.05297035351395607,
-0.0004988858127035201,
-0.03464055433869362,
-0.0009142631897702813,
-0.005225774832069874,
-0.0054781557992100716,
0.0015415046364068985,
0.025752777233719826,
-0.036620013415813446,
-0.055979132652282715,
-0.00958553608506918,
0.024901608005166054,
-0.029672108590602875,
0.05653338134288788,
0.01840898022055626,
-0.0329580120742321,
-0.03139423951506615,
0.026861274614930153,
-0.021279197186231613,
-0.014915232546627522,
-0.033650822937488556,
-0.012015323154628277,
0.00787330325692892,
0.03980694338679314,
-0.005161442328244448,
0.03276006504893303,
-0.02325865626335144,
0.04544840380549431,
-0.049961574375629425,
-0.015321021899580956,
-0.034086305648088455,
-0.025040170177817345,
0.03519480302929878,
-0.049526091665029526,
-0.0056810504756867886,
0.003743654116988182,
-0.033373698592185974,
-0.005022880155593157,
-0.014806361868977547,
-0.023713933303952217,
-0.04877389967441559,
0.007274515926837921,
-0.042756337672472,
-0.056691739708185196,
-0.008397859521210194,
-0.0453692264854908,
-0.030780605971813202,
0.01892363838851452,
-0.08622528612613678,
-0.021853240206837654,
-0.039450641721487045,
0.023892084136605263,
-0.02941477857530117,
0.00012448948109522462,
-0.019101791083812714,
0.007274515926837921,
0.012777415104210377,
-0.004151917528361082,
0.05368296056985855,
-0.017300480976700783,
-0.043864838778972626,
-0.0048175109550356865,
0.0355709008872509,
0.007131005171686411,
-0.012094501405954361,
0.003421991830691695,
0.055108170956373215,
0.018270418047904968,
0.03854008764028549,
-0.020922893658280373,
0.01862671971321106,
0.07616962492465973,
-0.04204373434185982,
0.00033217816962860525,
-0.012915977276861668,
-0.023100299760699272,
0.010600009001791477,
0.02325865626335144,
0.043429356068372726,
-0.055622830986976624,
0.09501408785581589,
-0.06611397117376328,
0.020467618480324745,
0.025831954553723335,
0.04679443687200546,
-0.006037353537976742,
0.015805989503860474,
0.0475466325879097,
-0.015677323564887047,
0.023298246785998344,
0.02028946578502655,
0.013499918393790722,
-0.00054311437997967,
0.04616101086139679,
-0.024723457172513008,
0.03903495520353317,
0.0466756708920002,
-0.02891991287469864,
-0.00646788626909256,
-0.04730909690260887,
-0.010887030512094498,
-0.01021401397883892,
-0.03976735472679138,
-0.012223166413605213,
-0.03531356900930405,
0.039232902228832245,
-0.051188841462135315,
0.01028329599648714,
-0.016112806275486946,
-0.013470225967466831,
-0.02209077589213848,
-0.0038648960180580616,
0.013470225967466831,
0.005977969616651535,
-0.003634783672168851,
0.017884422093629837,
-0.028504226356744766,
-0.026999836787581444,
0.07292331010103226,
0.022704407572746277,
-0.019042406231164932,
-0.0386192686855793,
-0.017904216423630714,
-0.0008035370847210288,
-0.019398709759116173,
-0.025178732350468636,
-0.06805384159088135,
0.01308423187583685,
0.03594699501991272,
-0.00001582215008966159,
0.012114295735955238,
0.030602453276515007,
0.05289117619395256,
-0.0032661091536283493,
0.024941198527812958,
0.070270836353302,
-0.0023271029349416494,
0.001063341274857521,
-0.019725320860743523,
0.011708507314324379,
0.005186185706406832,
0.12359749525785446,
0.03466034680604935,
-0.06900398433208466,
0.04671525955200195,
0.07054796069860458,
-0.023001326248049736,
-0.00920449011027813,
-0.02397126331925392,
-0.012688339687883854,
-0.033947743475437164,
-0.024466127157211304,
0.0026376305613666773,
-0.059819284826517105,
0.05055541172623634,
0.0002567112387623638,
0.006878624204546213,
-0.0028726914897561073,
0.0036050917115062475,
0.07628839462995529,
-0.024604689329862595,
0.05174309015274048,
0.005265363957732916,
0.03903495520353317,
-0.02927621640264988,
-0.03462075814604759,
-0.06654945015907288,
0.036402273923158646,
0.021061455830931664,
-0.006650986149907112,
-0.03770871460437775,
0.027118604630231857,
0.016696747392416,
0.020051931962370872,
0.006972648203372955,
0.0523369275033474,
0.02783120982348919,
0.013024847954511642,
-0.044023193418979645,
-0.025040170177817345,
0.01971542276442051,
-0.022209543734788895,
0.03434363380074501,
-0.00860570278018713,
0.020546795800328255,
0.022288721054792404,
0.023713933303952217,
0.005156493745744228,
0.021774061024188995,
0.008150427602231503,
0.061046551913022995,
-0.016657156869769096,
-0.019794601947069168,
0.03584802523255348,
0.013391047716140747,
-0.03636268153786659,
-0.039232902228832245,
-0.014539134688675404,
0.03485829383134842,
-0.007972275838255882,
-0.03507603332400322,
-0.008204862475395203,
0.02021028846502304,
0.03042430244386196,
0.025752777233719826,
-0.06563889980316162,
-0.023219067603349686,
-0.07165645807981491,
0.012698236852884293,
-0.004525540862232447,
0.0091104656457901,
-0.029969027265906334,
0.05653338134288788,
0.05621666833758354,
0.0056513589806854725,
-0.01554865948855877,
0.007754535414278507,
-0.030701426789164543,
0.020408233627676964,
0.02355557680130005,
-0.0003482612664811313,
-0.02440674416720867,
-0.0484175942838192,
0.027949977666139603,
0.003345287637785077,
-0.000834466191008687,
-0.028959501534700394,
-0.01917107217013836,
0.03493747115135193,
-0.035907406359910965,
0.11203744262456894,
-0.029889848083257675,
-0.005329696461558342,
0.028365664184093475,
-0.05411843955516815,
0.08016813546419144,
-0.029474161565303802,
0.017656784504652023,
-0.026702918112277985,
-0.03566987067461014,
-0.019002817571163177,
0.018498055636882782,
-0.016568081453442574,
0.0021699832286685705,
-0.0505950003862381,
0.02688106894493103,
-0.0008443634724244475,
0.03374979645013809,
-0.0924803763628006,
0.031908899545669556,
-0.02230851538479328,
-0.012361728586256504,
0.016736336052417755,
-0.009714201092720032,
0.02753429114818573,
-0.007418027147650719,
-0.05479145795106888,
0.011213641613721848,
-0.037787895649671555,
0.013440534472465515,
0.03440301865339279,
0.011708507314324379,
0.031275469809770584,
-0.03913392871618271,
0.03848070651292801,
-0.014806361868977547,
0.0006816766108386219,
0.0009519965969957411,
0.0044488366693258286,
0.03784727677702904,
0.04790293425321579,
-0.0667078047990799,
0.024248387664556503,
-0.06492629647254944,
-0.00991214718669653,
-0.04172702133655548,
-0.018389184027910233,
-0.035768844187259674,
0.002345660235732794,
0.020922893658280373,
0.0054781557992100716,
0.015330919064581394,
-0.056612562388181686,
0.0014103653375059366,
-0.027197781950235367,
0.005839407444000244,
0.025238117203116417,
-0.02775203064084053,
-0.01488554012030363,
0.044894155114889145,
0.03646165505051613,
0.051268018782138824,
-0.022763792425394058,
-0.002959292847663164,
-0.017300480976700783,
-0.00039805707638151944,
0.07779278606176376,
0.032641299068927765,
-0.04659649357199669,
0.00860570278018713,
-0.056612562388181686,
0.03693672642111778,
-0.061996690928936005,
-0.041014414280653,
0.004095008131116629,
-0.02363475412130356,
0.06171956658363342,
0.04584429785609245,
0.0453692264854908,
0.0064530400559306145,
-0.05399967357516289,
-0.009897300973534584,
-0.03537295386195183,
-0.024307770654559135,
-0.06821219623088837,
-0.04224168136715889,
-0.02129899151623249,
0.012599264271557331,
0.0028429997619241476,
-0.03323513641953468,
0.02557462453842163,
0.016686849296092987,
0.05225774645805359,
0.04028201475739479,
-0.05780023708939552,
0.016003934666514397,
-0.019735217094421387,
0.02211057022213936,
-0.02355557680130005,
0.005003085359930992,
-0.002257821848616004,
0.03022635728120804,
0.02036864496767521,
0.01507358904927969,
-0.029078269377350807,
-0.005547436885535717,
-0.009828019887208939,
-0.02905847504734993,
-0.014657902531325817,
0.01148086879402399,
0.03369041159749031,
-0.003399722743779421,
-0.0723690614104271,
0.030384713783860207,
0.04881348833441734,
0.024683868512511253,
0.0375305637717247,
0.009159951470792294,
0.015736708417534828,
0.08495842665433884,
0.02832607552409172,
0.00825434923171997,
-0.009803276509046555,
-0.02034885063767433,
-0.015697119757533073,
-0.013529609888792038,
-0.00264505366794765,
-0.012965464033186436,
-0.0062748887576162815,
-0.05316830053925514,
0.03533336520195007,
0.03371020779013634,
0.00761102419346571,
0.07430893182754517,
-0.015231945551931858,
0.05289117619395256,
0.03782748430967331,
0.004315223079174757,
0.020447824150323868,
-0.01789432018995285,
-0.0024000953417271376,
-0.08955077826976776,
0.0021637973841279745,
0.03327472507953644,
-0.011886658146977425,
-0.012292447499930859,
-0.018933536484837532,
0.033512260764837265,
-0.008585908450186253,
-0.04081646725535393,
0.042281270027160645,
-0.00977853313088417,
-0.03507603332400322,
0.04675484821200371,
-0.01925024949014187,
-0.014212523587048054,
-0.004471105523407459,
0.0632239580154419,
-0.0169144868850708,
0.016597773879766464,
-0.04354812204837799,
-0.04845718294382095,
-0.02644558809697628,
-0.017686476930975914,
-0.024822430685162544,
0.018310006707906723,
0.02361495979130268,
-0.08978831022977829,
0.042716749012470245,
-0.03305698558688164,
0.00813063234090805,
-0.006294683087617159,
-0.02927621640264988,
0.054316386580467224,
-0.04196455702185631,
0.009837917052209377,
0.006606448441743851,
-0.048219650983810425,
0.03933187201619148,
0.03378938511013985,
0.03588761389255524,
-0.023357629776000977,
0.009773585014045238,
-0.034304045140743256,
-0.04430031776428223,
-0.0285636093467474,
-0.028880324214696884,
-0.03867864981293678,
0.021358374506235123,
0.03869844600558281,
-0.00817022193223238,
0.028365664184093475,
-0.011065182276070118,
0.021536527201533318,
-0.041054002940654755,
0.05312871187925339,
-0.021774061024188995,
-0.0142818046733737,
-0.09153024107217789,
-0.025594420731067657,
0.004748229868710041,
0.020982278510928154,
0.015123075805604458,
-0.032581914216279984,
0.03499685600399971,
0.002132868394255638,
0.09881465137004852,
-0.03194848820567131,
0.03454158082604408,
-0.06164038926362991,
-0.043429356068372726,
0.03378938511013985,
-0.03913392871618271,
0.03353205695748329,
-0.032205816358327866,
-0.0015093383844941854,
0.026405999436974525,
0.0497240386903286,
-0.016300855204463005,
-0.053722549229860306,
0.001388096483424306,
0.024149414151906967,
-0.03980694338679314,
0.003253737697377801,
0.039391256868839264,
-0.004263262264430523,
0.024723457172513008,
-0.047348685562610626,
-0.01369786448776722,
0.002335763070732355,
0.04077687859535217,
0.018893947824835777,
-0.013391047716140747,
0.09176777303218842,
0.042558394372463226,
-0.006799445487558842,
0.01536061055958271,
-0.03129526600241661,
0.01683530956506729,
0.06595560908317566,
-0.04006427526473999,
0.03291842341423035,
0.08194965124130249,
-0.005834458861500025,
0.004092534072697163,
0.004109854344278574,
-0.00590373994782567,
0.023377424106001854,
0.03875783085823059,
-0.06639109551906586,
-0.044023193418979645,
-0.01941850408911705,
-0.018310006707906723,
0.010223912075161934,
0.08614610880613327,
-0.011777788400650024,
-0.020744742825627327,
-0.07232947647571564,
-0.004646782763302326,
0.007175542879849672,
0.022803381085395813,
-0.044894155114889145,
-0.05229733884334564,
0.013826529495418072,
-0.03458116948604584,
0.008353321813046932,
-0.046200599521398544,
-0.03592720255255699,
-0.03951002657413483,
0.04588388651609421,
-0.02391187846660614,
0.05122843012213707,
0.013014950789511204,
-0.01688479445874691,
-0.004035624209791422,
-0.023852495476603508,
-0.06037353351712227,
0.012332037091255188,
0.010124938562512398,
0.0645304024219513,
0.029672108590602875,
-0.029513750225305557,
-0.016845205798745155,
0.010025965981185436,
-0.005210929084569216,
-0.04616101086139679,
0.01029319316148758,
0.007452667690813541,
0.018775179982185364,
0.006952853873372078,
-0.013361356221139431,
0.0176765788346529,
0.0170233566313982,
0.08095992356538773,
0.004763076081871986,
-0.04643813520669937,
-0.10752427577972412,
-0.012688339687883854,
0.01086723618209362,
-0.026920657604932785,
0.04259798303246498,
-0.023595165461301804,
-0.003318070201203227,
-0.07426934689283371,
0.04513169080018997,
-0.03442281112074852,
-0.05427679792046547,
0.007442770060151815,
0.1064157783985138,
-0.020606180652976036,
0.0005845593404956162,
0.015429891645908356,
0.09675601124763489,
0.009704302996397018,
0.05107007175683975,
-0.017033254727721214,
0.002219469752162695,
-0.007818867452442646,
-0.002532471902668476,
-0.05225774645805359,
0.027811415493488312,
0.016409724950790405,
-0.008759111166000366,
0.004505746066570282,
0.006913264747709036,
0.019517477601766586,
-0.033868562430143356,
-0.09255955368280411,
-0.01876528188586235,
-0.11354183405637741,
0.07597167789936066,
0.025891339406371117,
-0.04240003600716591,
-0.020883304998278618,
-0.04212291166186333,
-0.025317296385765076,
0.0462401881814003,
-0.06643068045377731,
0.06441163271665573,
-0.011639225296676159,
-0.03493747115135193,
-0.054593510925769806,
0.02007172629237175,
0.021397965028882027,
0.02601010724902153,
0.07320043444633484,
0.010768263600766659,
-0.009362846612930298,
0.02159591019153595,
0.03440301865339279,
0.029177242890000343,
0.03353205695748329,
-0.020170699805021286,
0.032205816358327866,
-0.01977480761706829,
-0.00543361809104681,
-0.020091520622372627,
-0.023219067603349686,
-0.009936889633536339,
0.024624483659863472,
-0.024189002811908722,
0.0632239580154419,
0.023238861933350563,
-0.03986632823944092,
0.07019165903329849,
-0.027276961132884026,
0.005418772343546152,
-0.07711976766586304,
-0.025772571563720703,
0.009214387275278568,
0.03493747115135193,
0.04073728993535042,
-0.05791900306940079,
-0.03715446591377258,
-0.019042406231164932,
0.08440417796373367,
-0.026069490239024162,
0.00311517552472651,
0.033868562430143356,
0.005982918199151754,
-0.04259798303246498,
0.04790293425321579,
0.007902994751930237,
0.034442607313394547,
-0.0488530769944191,
0.01568722166121006,
0.0466756708920002,
0.043864838778972626,
-0.020903099328279495,
-0.03507603332400322,
-0.04042057693004608,
-0.0016256317030638456,
-0.011659020557999611,
0.017914114519953728,
0.015311124734580517,
-0.09461819380521774,
0.05011993274092674,
0.03986632823944092,
0.0034615809563547373,
0.022427283227443695,
0.003602617420256138,
-0.046636082231998444,
0.004337491933256388,
0.02383270114660263,
0.03758994862437248,
0.003743654116988182,
0.03248294070363045,
-0.0881255641579628,
-0.011659020557999611,
-0.04936773702502251,
-0.052930764853954315,
0.0218136515468359,
-0.02949395589530468,
0.051188841462135315,
-0.05435597524046898,
-0.005092161241918802,
0.01005070935934782,
0.017805244773626328,
0.018715795129537582,
-0.0005861058016307652,
-0.03628350421786308,
0.018527746200561523,
-0.0052901073358953,
0.008472089655697346,
0.07264618575572968,
0.080286905169487,
-0.00837311614304781,
-0.05514775961637497,
0.02189282886683941,
0.028939707204699516,
-0.028207307681441307,
-0.07953470945358276,
0.028345869854092598,
-0.05055541172623634,
0.011470971629023552,
0.015291329473257065,
-0.009738943539559841,
0.03715446591377258,
-0.0388370081782341,
0.011609533801674843,
0.0037139621563255787,
-0.0036372579634189606,
0.02891991287469864,
0.03770871460437775,
0.016845205798745155,
-0.04200414568185806,
-0.006131378002464771,
0.04251880571246147,
-0.04196455702185631,
0.05217856913805008,
0.03335390239953995,
-0.010362474247813225,
0.053880903869867325,
-0.018319902941584587,
-0.0640949234366417,
-0.06512423604726791,
0.0004704310849774629,
-0.033155959099531174,
-0.013717658817768097,
0.04240003600716591,
0.014875642955303192,
0.027692647650837898,
-0.014549031853675842,
0.021576115861535072,
-0.02701963111758232,
-0.006166018545627594,
0.01770627126097679,
-0.014618312940001488,
-0.03153280168771744,
-0.006527269724756479,
0.006735112983733416,
0.010491139255464077,
-0.017122330144047737,
0.0022503987420350313,
-0.012470599263906479,
0.022763792425394058,
0.028147922828793526,
0.018478261306881905,
0.028603199869394302,
0.021180223673582077,
0.02478284202516079
] |
710,263
|
urllib3_future.util.retry
|
_async_sleep_backoff
| null |
def sleep(self, response: HTTPResponse | None = None) -> None:
"""Sleep between retry attempts.
This method will respect a server's ``Retry-After`` response header
and sleep the duration of the time requested. If that is not present, it
will use an exponential backoff. By default, the backoff factor is 0 and
this method will return immediately.
"""
if self.respect_retry_after_header and response:
slept = self.sleep_for_retry(response)
if slept:
return
self._sleep_backoff()
|
(self) -> NoneType
|
[
0.004762760829180479,
0.03365325555205345,
-0.07563012838363647,
-0.004883847665041685,
0.036308202892541885,
-0.04201275110244751,
-0.025401391088962555,
0.030460141599178314,
-0.06328821182250977,
0.007202442269772291,
-0.014090955257415771,
0.036003243178129196,
0.047250889241695404,
0.04592341557145119,
0.025903677567839622,
-0.019965922459959984,
0.061673715710639954,
0.007655397988855839,
-0.010305861011147499,
-0.05396001413464546,
0.03264867886900902,
0.03211051598191261,
0.033922336995601654,
0.07785454392433167,
-0.05406764894723892,
0.012754512019455433,
-0.04373487830162048,
0.01340927928686142,
0.01717643439769745,
0.020270884037017822,
0.030729224905371666,
-0.03017312102019787,
-0.05901876837015152,
0.008879723027348518,
-0.03363531455397606,
0.031034184619784355,
-0.04879363253712654,
-0.034908972680568695,
-0.0815858244895935,
-0.02165217325091362,
-0.024360937997698784,
0.02703382447361946,
-0.0035922518000006676,
-0.004184233024716377,
-0.038209717720746994,
0.02186743915081024,
0.011749937199056149,
0.011749937199056149,
0.00487039377912879,
0.004489193204790354,
0.0074491011910140514,
0.049690574407577515,
-0.02030676044523716,
-0.04954706132411957,
0.0304960198700428,
0.049116529524326324,
-0.006632884033024311,
0.018154101446270943,
-0.020916681736707687,
-0.039357803761959076,
-0.005565523635596037,
-0.022028889507055283,
-0.0634675994515419,
0.05213025584816933,
0.03437080606818199,
-0.0016391610261052847,
-0.015804113820195198,
-0.01876402087509632,
-0.0002170879306504503,
-0.010503187775611877,
0.04269442707300186,
0.017140556126832962,
-0.04516998678445816,
0.027069702744483948,
-0.024360937997698784,
0.026280393823981285,
-0.04280205816030502,
-0.01689838245511055,
-0.030872734263539314,
0.036254383623600006,
-0.028450991958379745,
0.0012467490741983056,
0.06382637470960617,
-0.038891393691301346,
0.005215716082602739,
-0.04516998678445816,
0.0018006105674430728,
-0.03993184491991997,
-0.059198155999183655,
0.10182082653045654,
-0.024378877133131027,
0.0059736319817602634,
0.005484798923134804,
-0.023625444620847702,
0.05012110620737076,
0.01881783828139305,
0.00821598619222641,
-0.01082608662545681,
-0.032433412969112396,
-0.013032563962042332,
-0.03881963714957237,
0.03481927886605263,
0.030370447784662247,
-0.0005359227070584893,
0.04660509154200554,
-0.050264615565538406,
0.002032694173976779,
-0.027195272967219353,
0.005821152124553919,
-0.043950144201517105,
0.043232593685388565,
-0.019625084474682808,
0.0023813804145902395,
-0.014772630296647549,
0.0019295458914712071,
-0.013077410869300365,
0.004673066549003124,
-0.002473316853865981,
0.006417618133127689,
0.030298691242933273,
0.025042613968253136,
-0.019248370081186295,
0.022028889507055283,
-0.005274017341434956,
-0.013714239001274109,
-0.005915330722928047,
-0.04592341557145119,
-0.004083327483385801,
0.029688771814107895,
0.019768595695495605,
-0.05442642420530319,
0.017813263460993767,
-0.012880083173513412,
0.018620511516928673,
-0.013633514754474163,
0.04660509154200554,
-0.025544900447130203,
0.0838102400302887,
0.04814783111214638,
-0.02206476777791977,
0.006301015615463257,
-0.053565360605716705,
0.017687691375613213,
-0.028809769079089165,
0.09005294740200043,
0.0005163020687177777,
0.0018398517277091742,
0.012628939934074879,
-0.01408198568969965,
0.02728496864438057,
-0.01687147468328476,
-0.01351691223680973,
0.02723115123808384,
-0.030208997428417206,
-0.02671092562377453,
-0.014638089574873447,
-0.03564446419477463,
0.035267747938632965,
-0.029581138864159584,
-0.054498180747032166,
-0.0011671454412862659,
-0.05177147686481476,
0.05876762419939041,
-0.02113194763660431,
0.053457729518413544,
0.02785900980234146,
-0.08094002306461334,
0.03993184491991997,
0.0692439004778862,
-0.03002960979938507,
0.02134721353650093,
0.005354742053896189,
-0.021993011236190796,
-0.04351961240172386,
0.006359316874295473,
0.025455206632614136,
0.05033637210726738,
-0.0010740876896306872,
-0.016665177419781685,
-0.013445156626403332,
0.04660509154200554,
-0.03033456951379776,
0.002071935450658202,
-0.03329447656869888,
-0.00910844374448061,
-0.0052785021252930164,
0.02123958058655262,
0.045241743326187134,
-0.02904297411441803,
0.09464529156684875,
0.06253477931022644,
0.06163783743977547,
0.05033637210726738,
0.023499874398112297,
0.06088440492749214,
0.008305680938065052,
0.01157951820641756,
-0.045887541025877,
0.11932913213968277,
0.023069340735673904,
-0.030011670663952827,
0.00023516690998803824,
0.02888152375817299,
0.007798908278346062,
0.0289891567081213,
-0.037276897579431534,
0.008982871659100056,
-0.025491084903478622,
-0.04237152636051178,
-0.03810208663344383,
-0.09084226191043854,
0.03910665959119797,
0.032899823039770126,
-0.03684636577963829,
-0.020145311951637268,
-0.021149886772036552,
-0.004466769751161337,
-0.059772197157144547,
0.03342004865407944,
-0.03440668433904648,
-0.034801337867975235,
-0.07078664004802704,
-0.0645798072218895,
-0.0017086740117520094,
0.024217426776885986,
0.005825636442750692,
-0.03541126102209091,
-0.04908065125346184,
0.028235726058483124,
-0.014934079721570015,
-0.007238320074975491,
0.03745628893375397,
0.02920442260801792,
-0.060130976140499115,
0.015795143321156502,
-0.001759127015247941,
-0.05349360406398773,
0.018925471231341362,
-0.049905840307474136,
-0.007561218924820423,
0.019517451524734497,
0.009812542237341404,
-0.036505527794361115,
0.0007769757648929954,
-0.013059471733868122,
-0.0063189547508955,
0.027966642752289772,
0.029652893543243408,
0.005377165973186493,
-0.009005295112729073,
0.06518972665071487,
-0.024360937997698784,
0.03487309440970421,
-0.04427304491400719,
-0.009615215472877026,
0.04161809757351875,
-0.008014174178242683,
0.01446767058223486,
-0.03218226879835129,
0.04025474563241005,
0.026549475267529488,
-0.04197687283158302,
-0.07275991141796112,
-0.04603105038404465,
-0.029276179149746895,
0.021885378286242485,
-0.04649746045470238,
0.016970137134194374,
0.006623914930969477,
0.004291866440325975,
0.06601491570472717,
-0.028199847787618637,
-0.031859371811151505,
-0.03228990361094475,
0.0038501224480569363,
0.03171585872769356,
0.035070423036813736,
-0.014611180871725082,
-0.02739260159432888,
-0.018512876704335213,
0.0571531280875206,
-0.005332318600267172,
0.031141817569732666,
0.03054983541369438,
-0.03533950448036194,
0.02558077871799469,
-0.031697921454906464,
0.14695493876934052,
0.020019739866256714,
0.018387306481599808,
-0.01733788475394249,
-0.02775137685239315,
0.07258052378892899,
-0.043124958872795105,
-0.033725008368492126,
-0.030818918719887733,
0.009059111587703228,
-0.021688051521778107,
0.008718273602426052,
0.002845547627657652,
0.03742041066288948,
-0.04778905585408211,
0.013777025043964386,
0.04305320233106613,
0.008798998780548573,
-0.031034184619784355,
0.026585353538393974,
0.04290969297289848,
-0.045349374413490295,
0.011731998063623905,
-0.035375382751226425,
0.01131940446794033,
-0.023212851956486702,
-0.04351961240172386,
0.00047257618280127645,
-0.0016335551626980305,
0.017346853390336037,
0.07354922592639923,
-0.032899823039770126,
-0.022872013971209526,
-0.04373487830162048,
0.02733878418803215,
0.018225856125354767,
0.0865369364619255,
0.02863037958741188,
-0.0010578306391835213,
0.06228363513946533,
0.043842513114213943,
-0.036200568079948425,
0.0000020671704987762496,
-0.022405603900551796,
-0.053565360605716705,
-0.053924135863780975,
-0.04542113095521927,
-0.006242714356631041,
0.037492163479328156,
-0.007843755185604095,
0.030065488070249557,
0.06221187859773636,
-0.00009452924859942868,
-0.017849139869213104,
-0.03917841613292694,
0.025975432246923447,
0.028235726058483124,
0.04814783111214638,
0.023015525192022324,
0.010207196697592735,
0.0343528687953949,
0.026083065196871758,
-0.006718093529343605,
0.021096069365739822,
-0.020862864330410957,
0.018799899145960808,
0.06303706765174866,
0.05442642420530319,
0.009678001515567303,
-0.00004866609742748551,
0.04068527743220329,
-0.021831562742590904,
-0.05700961872935295,
-0.035841792821884155,
-0.00003253165778005496,
0.00599605543538928,
0.030890673398971558,
0.005063236225396395,
0.007861694321036339,
-0.028594503179192543,
0.023338424041867256,
0.02123958058655262,
-0.019158676266670227,
-0.06228363513946533,
-0.052991319447755814,
-0.018781960010528564,
-0.008171139284968376,
0.06325232982635498,
0.01703292317688465,
-0.018799899145960808,
0.024325059726834297,
0.020432332530617714,
0.037276897579431534,
0.07735225558280945,
-0.04190512001514435,
0.016189798712730408,
-0.0285765640437603,
0.016189798712730408,
-0.023446056991815567,
0.0673065111041069,
-0.049905840307474136,
-0.02712351828813553,
-0.056399695575237274,
0.02134721353650093,
0.050408124923706055,
-0.008552339859306812,
0.003244686871767044,
-0.013884657993912697,
0.001441833795979619,
-0.01583102159202099,
-0.0018465787870809436,
-0.04416541010141373,
-0.0321463905274868,
0.06077677384018898,
0.03838910534977913,
-0.07864385098218918,
0.026316270232200623,
-0.04412953555583954,
0.006265138275921345,
0.0262445155531168,
-0.04649746045470238,
-0.013113288208842278,
0.02717733569443226,
-0.04201275110244751,
-0.0346219502389431,
-0.013768055476248264,
-0.015481214039027691,
0.016754871234297752,
0.0417616069316864,
-0.03824559599161148,
0.040434133261442184,
0.021688051521778107,
-0.044882964342832565,
0.01747242547571659,
-0.03781506419181824,
-0.008740697056055069,
0.04800432175397873,
0.019965922459959984,
0.0031998397316783667,
0.0021975073032081127,
-0.017822232097387314,
-0.04025474563241005,
-0.01648578979074955,
0.013534851372241974,
-0.00870930403470993,
-0.06712712347507477,
0.01761593669652939,
0.09852007776498795,
0.004569918382912874,
-0.010835056193172932,
-0.0013723208103328943,
-0.03137502074241638,
-0.09859183430671692,
-0.04398602247238159,
0.012207376770675182,
-0.013812903314828873,
-0.058624111115932465,
0.07699348032474518,
-0.026531536132097244,
0.029706710949540138,
-0.018692266196012497,
-0.02615482173860073,
-0.07491257786750793,
0.004410711117088795,
-0.006960268132388592,
0.060382116585969925,
0.026423903182148933,
-0.05747602880001068,
0.01796574331820011,
-0.01235088799148798,
0.03917841613292694,
0.024271244183182716,
0.004677551332861185,
-0.034496378153562546,
-0.012978747487068176,
0.06343171745538712,
-0.022262094542384148,
0.01118486374616623,
0.07085839658975601,
0.060023341327905655,
0.02676474116742611,
-0.015005835331976414,
0.01118486374616623,
-0.0241815485060215,
-0.049690574407577515,
0.026800619438290596,
0.0005830121226608753,
0.020378516986966133,
-0.09005294740200043,
0.01340927928686142,
0.021723929792642593,
0.03494485095143318,
0.024360937997698784,
0.0009563641506247222,
-0.010081625543534756,
0.027841072529554367,
-0.014763660728931427,
0.023481935262680054,
-0.06199661269783974,
-0.050156980752944946,
-0.01460221130400896,
0.011220741085708141,
-0.05446230247616768,
-0.03799445182085037,
0.04592341557145119,
0.001967665972188115,
0.0409364216029644,
-0.07505608350038528,
0.015570908784866333,
-0.0596286877989769,
-0.00878105964511633,
0.025365512818098068,
-0.030818918719887733,
0.0013678361428901553,
-0.0022143248934298754,
-0.0022098401095718145,
-0.0032985033467411995,
0.003989148419350386,
-0.040649399161338806,
-0.022710565477609634,
0.007058931514620781,
0.021096069365739822,
0.00666427705436945,
0.025957494974136353,
0.017463454976677895,
-0.013705269433557987,
0.012225315906107426,
-0.013454126194119453,
0.008691365830600262,
0.01695219986140728,
0.03623644635081291,
0.029078850522637367,
0.019338063895702362,
0.044201288372278214,
0.025293756276369095,
0.03519599512219429,
0.03211051598191261,
-0.036559347063302994,
0.017077770084142685,
0.049905840307474136,
-0.0009658941417001188,
0.01273657288402319,
-0.0033164420165121555,
-0.016037318855524063,
-0.004554221872240305,
-0.019858289510011673,
-0.026997946202754974,
0.01942775771021843,
0.05195086449384689,
-0.08990944176912308,
-0.02253117598593235,
-0.06260653585195541,
-0.025401391088962555,
0.0015147103695198894,
-0.04527761787176132,
0.021975072100758553,
-0.032325781881809235,
-0.07096602767705917,
-0.03422729671001434,
-0.05514397844672203,
0.056866105645895004,
-0.019822413101792336,
0.007067901082336903,
0.046533338725566864,
-0.06389813125133514,
0.016665177419781685,
-0.02181362360715866,
-0.04732264578342438,
-0.01653960533440113,
0.006614945363253355,
-0.023535750806331635,
0.015328734181821346,
0.0026414934545755386,
-0.02805633842945099,
-0.0425867922604084,
0.08589114248752594,
0.007171049248427153,
0.05855235829949379,
0.01989416778087616,
0.05647145211696625,
0.039357803761959076,
-0.02423536591231823,
-0.03752804175019264,
0.019804473966360092,
0.0489012636244297,
-0.03446050360798836,
0.006475919391959906,
-0.05740427225828171,
0.019768595695495605,
-0.0016806445783004165,
-0.0057852743193507195,
-0.024325059726834297,
0.07107366621494293,
0.013086380437016487,
-0.017633873969316483,
-0.01673693209886551,
-0.06608666479587555,
-0.030101364478468895,
-0.0524890311062336,
0.04778905585408211,
-0.004004844930022955,
-0.025293756276369095,
0.03932192549109459,
-0.055215734988451004,
0.03264867886900902,
0.02145484648644924,
-0.040434133261442184,
0.01287111360579729,
0.005713518708944321,
-0.0077002448961138725,
-0.009893267415463924,
0.005897392053157091,
0.06805993616580963,
0.06572788953781128,
0.06379050016403198,
0.006256168708205223,
0.028827708214521408,
0.037958573549985886,
0.015041712671518326,
-0.030657468363642693,
0.03508836030960083,
0.031339146196842194,
-0.04412953555583954,
-0.031285326927900314,
0.01488026324659586,
-0.02961701713502407,
-0.003583282232284546,
-0.029581138864159584,
0.015678541734814644,
-0.08883310854434967,
0.02195713296532631,
-0.043124958872795105,
-0.049941714853048325,
-0.029652893543243408,
0.030460141599178314,
-0.024271244183182716,
0.06888512521982193,
-0.02805633842945099,
0.018207916989922523,
0.008758636191487312,
-0.04893714189529419,
-0.013651452958583832,
-0.019678901880979538,
-0.009803573600947857,
-0.02920442260801792,
0.033563561737537384,
-0.027320845052599907,
-0.03849674016237259,
0.025275819003582,
-0.03419141843914986,
-0.02599337138235569,
0.002052875468507409,
-0.02098843641579151,
0.08266215026378632,
-0.05047988146543503,
-0.003921877592802048,
-0.014691906049847603,
-0.02997579239308834,
0.04412953555583954,
-0.038891393691301346,
0.0010533459717407823,
0.005453405901789665,
0.00002750387830019463,
-0.04843485355377197,
0.03835323080420494,
0.011265587992966175,
0.026011310517787933,
-0.07785454392433167,
-0.06691185384988785,
0.031177695840597153,
0.014790569432079792,
-0.016629299148917198,
-0.016467850655317307,
0.024432692676782608,
-0.05019285902380943,
0.00857476331293583,
-0.04412953555583954,
0.013005655258893967,
0.041259318590164185,
-0.04660509154200554,
-0.007834786549210548,
0.006700154859572649,
-0.020432332530617714,
-0.013427217490971088,
-0.017876049503684044,
0.020073555409908295,
0.025706350803375244,
0.05787068232893944,
-0.020037679001688957,
-0.06526148319244385,
-0.012054896913468838,
0.011157955043017864,
0.031249450519680977,
0.057189006358385086,
-0.010610820725560188,
-0.051089800894260406,
-0.038424983620643616,
0.03835323080420494,
-0.010144411586225033,
0.021741867065429688,
0.012207376770675182,
-0.0772087424993515,
-0.01505965180695057,
0.035016607493162155,
-0.04527761787176132,
-0.043591368943452835,
0.06066913902759552,
0.005184323061257601,
-0.0016851292457431555,
0.024970857426524162,
-0.034496378153562546,
0.012153560295701027,
0.02190331742167473,
0.03533950448036194,
-0.023069340735673904,
-0.037599798291921616,
0.01276348065584898,
0.013507942669093609,
0.02986815944314003,
-0.026388026773929596,
0.03171585872769356,
0.03259486332535744,
-0.013570728711783886,
-0.015561939217150211,
0.03621850907802582,
0.003130326746031642,
0.023625444620847702,
-0.06633780896663666,
-0.012234285473823547,
0.0017479151720181108,
-0.010216166265308857,
-0.019750656560063362,
0.05119743570685387,
-0.07218587398529053,
-0.008713789284229279,
0.058265335857868195,
0.017185403034090996,
-0.033097151666879654,
0.013005655258893967,
-0.031590286642313004,
0.04459594190120697,
0.026477720588445663,
0.03546507656574249,
-0.030047548934817314,
-0.012889052741229534,
0.03198494389653206,
0.01752624101936817,
0.024881163612008095,
-0.02588573843240738,
0.007852724753320217,
0.02753611095249653,
0.06892100721597672,
0.0019116071052849293,
0.017346853390336037,
-0.07469730824232101,
0.019714780151844025,
-0.046533338725566864,
-0.024576203897595406,
-0.013068441301584244,
-0.048040200024843216,
-0.012297071516513824,
0.06640956550836563,
0.025670472532510757,
0.013158135116100311,
-0.04656921699643135,
0.03011930361390114,
0.0593416653573513,
0.0621042475104332,
-0.006727063097059727,
-0.02057584375143051,
0.03849674016237259,
0.006417618133127689,
0.03411966562271118,
0.018172040581703186,
0.045457009226083755,
0.029886098578572273,
0.021257519721984863,
-0.0006603733636438847,
0.014342098496854305,
0.031697921454906464,
0.011740967631340027
] |
710,271
|
urllib3_future.util.retry
|
get_retry_after
|
Get the value of Retry-After in seconds.
|
def get_retry_after(self, response: HTTPResponse) -> float | None:
"""Get the value of Retry-After in seconds."""
retry_after = response.headers.get("Retry-After")
if retry_after is None:
return None
return self.parse_retry_after(retry_after)
|
(self, response: 'HTTPResponse') -> 'float | None'
|
[
-0.018346400931477547,
0.029393695294857025,
-0.024103188887238503,
0.04978456348180771,
0.031868577003479004,
-0.0014122962020337582,
-0.01786218397319317,
0.05053778737783432,
0.005841974634677172,
-0.02073161117732525,
0.02566343918442726,
0.03590370714664459,
0.01630193367600441,
-0.031240887939929962,
0.0534072145819664,
0.01470581442117691,
0.0601862370967865,
0.010894856415688992,
0.020121857523918152,
-0.047453153878450394,
0.00048477627569809556,
-0.00587784219533205,
-0.03129468858242035,
0.0030330743174999952,
-0.018202928826212883,
0.017629044130444527,
0.012571677565574646,
0.02057020552456379,
0.032065849751234055,
-0.0015871518990024924,
-0.019350700080394745,
-0.01556664239615202,
-0.08156346529722214,
0.035939574241638184,
-0.017360035330057144,
0.03576023504137993,
-0.03970569744706154,
-0.016292966902256012,
-0.13285447657108307,
0.004041857086122036,
-0.011307336390018463,
0.0018281389493495226,
-0.0037795735988765955,
-0.01682201772928238,
-0.03260386735200882,
0.010867955163121223,
-0.02989584393799305,
0.016239164397120476,
-0.013253167271614075,
-0.06241004168987274,
0.031868577003479004,
-0.005335341207683086,
-0.013280067592859268,
-0.03411031514406204,
0.002548858290538192,
0.05093233287334442,
-0.007904374971985817,
0.055344078689813614,
-0.025878647342324257,
0.015611477196216583,
-0.009944358840584755,
-0.029088817536830902,
-0.08902397751808167,
0.04092520475387573,
0.059253670275211334,
0.02761823683977127,
0.022614672780036926,
-0.02526889368891716,
-0.022991284728050232,
-0.013584944419562817,
0.04770422726869583,
0.026524268090724945,
-0.041786033660173416,
0.009235968813300133,
0.007693651597946882,
-0.023403765633702278,
-0.02487434633076191,
-0.022668475285172462,
-0.021413100883364677,
0.042037107050418854,
-0.024372197687625885,
0.010294070467352867,
0.09411720931529999,
-0.06101119518280029,
0.03723081946372986,
-0.07137700170278549,
0.03459453210234642,
-0.027331294491887093,
-0.03769709914922714,
0.11922469735145569,
-0.04325661435723305,
-0.05164968967437744,
-0.006971811410039663,
-0.03238866105675697,
-0.006622099783271551,
0.0006725220009684563,
-0.004667302593588829,
-0.0064248270355165005,
0.006904559209942818,
-0.04874439537525177,
-0.0005391384474933147,
0.04232405126094818,
0.013423538766801357,
0.003232588991522789,
0.05093233287334442,
-0.03215551748871803,
-0.01861540973186493,
-0.06405996531248093,
0.056455980986356735,
-0.043866369873285294,
0.045623891055583954,
-0.030075183138251305,
-0.012508909218013287,
0.029644770547747612,
0.04548042267560959,
-0.0051156505942344666,
-0.004748005419969559,
-0.004591083619743586,
0.012204032391309738,
0.02761823683977127,
0.040351320058107376,
-0.01327110081911087,
0.010374772362411022,
-0.0067521207965910435,
-0.018193962052464485,
0.0002880636020563543,
-0.045265212655067444,
-0.005025980994105339,
0.033339157700538635,
0.03723081946372986,
0.008733819238841534,
-0.0023336512967944145,
-0.006267905235290527,
0.012598578818142414,
-0.017073091119527817,
0.05832110717892647,
0.04684339836239815,
0.10186466574668884,
-0.015306600369513035,
-0.04368703067302704,
0.010491343215107918,
-0.0006383354775607586,
-0.012939323671162128,
-0.052833329886198044,
0.07603982090950012,
0.02324235998094082,
0.015163129195570946,
0.04117628186941147,
-0.03938288986682892,
-0.04508587345480919,
0.0011724299984052777,
-0.050358448177576065,
0.011773618869483471,
-0.021556571125984192,
-0.005711953621357679,
-0.014230565167963505,
-0.02128756232559681,
0.022668475285172462,
-0.047883566468954086,
-0.07761800289154053,
-0.012499942444264889,
-0.011352171190083027,
0.0434359535574913,
-0.0745333731174469,
0.08034396171569824,
0.012804819270968437,
-0.006223070435225964,
0.008648633025586605,
0.01291242241859436,
-0.00962154846638441,
-0.009065596386790276,
0.021251695230603218,
-0.01421263162046671,
-0.027331294491887093,
-0.026811210438609123,
0.03152783215045929,
0.02686501294374466,
0.0062275538221001625,
-0.00825408659875393,
0.03260386735200882,
0.02718782238662243,
-0.030039316043257713,
-0.022417400032281876,
-0.0025241991970688105,
-0.005308440420776606,
0.020121857523918152,
0.02379831112921238,
0.02387004718184471,
-0.03359023109078407,
0.040279585868120193,
0.06341434270143509,
0.06201549619436264,
0.048851996660232544,
-0.0032527646981179714,
0.04400983825325966,
0.004001505672931671,
0.008576896972954273,
-0.006263421382755041,
0.07819189131259918,
-0.0005458637024275959,
-0.021592440083622932,
0.0117556843906641,
-0.02028326317667961,
0.009235968813300133,
-0.009935392066836357,
-0.041032809764146805,
0.009702250361442566,
0.023367898538708687,
-0.10294070094823837,
-0.023296162486076355,
-0.08314165472984314,
0.03550916165113449,
-0.013818085193634033,
-0.0378764383494854,
-0.05903846397995949,
-0.028963280841708183,
-0.0199245847761631,
-0.020068056881427765,
0.026201456785202026,
-0.011890188790857792,
-0.016239164397120476,
-0.06779021769762039,
0.004649368580430746,
-0.05441151186823845,
0.056384243071079254,
0.0056581515818834305,
-0.03683627024292946,
-0.030541466549038887,
-0.0046135010197758675,
-0.042072977870702744,
-0.036011312156915665,
0.02774377353489399,
0.040602393448352814,
-0.04440438747406006,
0.037446025758981705,
-0.03323155269026756,
-0.030702870339155197,
0.012894488871097565,
-0.016669578850269318,
0.00728565501049161,
0.009096981026232243,
0.03463039919734001,
-0.031868577003479004,
0.06829236447811127,
-0.007061481010168791,
-0.0010485738748684525,
0.04487066715955734,
0.03525808826088905,
-0.024641206488013268,
-0.01920722797513008,
0.054232172667980194,
-0.027492700144648552,
0.037123214453458786,
-0.02239946648478508,
0.011657048016786575,
0.04153496026992798,
-0.00968431681394577,
0.004698687233030796,
0.007657784037292004,
0.020839214324951172,
0.06710872799158096,
-0.03755362704396248,
-0.03093601204454899,
-0.07245303690433502,
-0.07632676512002945,
0.017315199598670006,
-0.025914514437317848,
0.004492446780204773,
0.0018315016059204936,
0.016086725518107414,
0.06861517578363419,
-0.06786195188760757,
-0.05477019026875496,
-0.05867978557944298,
0.009549812413752079,
-0.010939691215753555,
0.043113142251968384,
0.005563998594880104,
-0.0032751820981502533,
0.004658335819840431,
-0.0006837307009845972,
-0.021108223125338554,
0.008859356865286827,
-0.006711769383400679,
-0.042072977870702744,
0.05369415506720543,
-0.010060928761959076,
0.07682891190052032,
-0.012446140870451927,
0.031545765697956085,
-0.021251695230603218,
-0.08063090592622757,
0.041391488164663315,
-0.0035598832182586193,
-0.00422567967325449,
-0.029842043295502663,
0.013871886767446995,
-0.03697974234819412,
0.034935276955366135,
0.049928031861782074,
0.01578184962272644,
-0.007101832423359156,
-0.0017048432491719723,
0.012212999165058136,
0.00782815646380186,
-0.020875083282589912,
0.04946175217628479,
0.014400937594473362,
-0.03260386735200882,
0.020857149735093117,
-0.02467707358300686,
0.0209288839250803,
-0.0018494355026632547,
-0.053909365087747574,
-0.017404869198799133,
0.012401306070387363,
0.03181477263569832,
0.05373002588748932,
-0.023529302328824997,
-0.004828707780689001,
-0.0185257401317358,
0.01949417032301426,
0.026972616091370583,
0.03680040314793587,
0.07381601631641388,
-0.029035016894340515,
0.03204791620373726,
0.04365115985274315,
0.0189382191747427,
0.025322694331407547,
-0.03812751546502113,
-0.08113305270671844,
-0.03862966224551201,
-0.04838571697473526,
0.04221644625067711,
0.015010691247880459,
0.024479800835251808,
0.025645505636930466,
0.040602393448352814,
0.01650817319750786,
-0.011361137963831425,
-0.08034396171569824,
0.007326006423681974,
0.046807531267404556,
0.006200653035193682,
-0.00982778798788786,
0.034146182239055634,
0.010867955163121223,
0.060688383877277374,
0.023744510486721992,
0.009935392066836357,
-0.015494907274842262,
0.00010213928180746734,
0.07826362550258636,
0.039526358246803284,
0.028407329693436623,
-0.0185257401317358,
0.015190030448138714,
0.030541466549038887,
0.002430046210065484,
-0.03116915374994278,
-0.022614672780036926,
0.0037862989120185375,
0.039598096162080765,
0.01638263650238514,
0.0270981527864933,
-0.04192950576543808,
0.03301634639501572,
0.032550062984228134,
-0.011244568042457104,
-0.0721302255988121,
-0.03272940218448639,
0.015799783170223236,
-0.011325270868837833,
0.055738624185323715,
0.02207665517926216,
0.020749544724822044,
0.039239417761564255,
0.0030397993978112936,
-0.005976479034870863,
0.022148391231894493,
-0.03263973444700241,
-0.04189363867044449,
-0.029752373695373535,
0.03396684303879738,
0.013844986446201801,
-0.009926424361765385,
-0.04913894087076187,
-0.03032625839114189,
-0.02288368158042431,
0.005277055781334639,
0.03644172474741936,
-0.009782953187823296,
-0.020749544724822044,
-0.008339272812008858,
0.013674614019691944,
-0.03167130425572395,
-0.006868691183626652,
0.03285494074225426,
-0.04085347056388855,
0.042467523366212845,
0.040961071848869324,
-0.012051594443619251,
0.013540109619498253,
-0.01861540973186493,
0.015692180022597313,
0.025914514437317848,
-0.0000015543314475507941,
-0.025197157636284828,
-0.01972731202840805,
-0.04874439537525177,
-0.046412985771894455,
0.020337065681815147,
-0.029357826337218285,
-0.018032556399703026,
0.055738624185323715,
-0.03393097594380379,
0.0434359535574913,
0.009460142813622952,
-0.06822063028812408,
-0.009989193640649319,
-0.041678428649902344,
-0.0031944795046001673,
0.03694387525320053,
0.020175660029053688,
0.017028257250785828,
0.01354907639324665,
0.014338169246912003,
-0.0494258850812912,
0.01630193367600441,
0.010168532840907574,
-0.011531510390341282,
-0.07740280032157898,
-0.014956889674067497,
0.0645979791879654,
0.0018909076461568475,
-0.012742049992084503,
0.031940311193466187,
-0.060724254697561264,
-0.04935414716601372,
-0.006864207796752453,
0.08120478689670563,
0.02243533357977867,
-0.014060193672776222,
0.06241004168987274,
-0.01817602850496769,
0.0039342534728348255,
-0.03733842074871063,
-0.039920907467603683,
-0.0757528766989708,
0.0058868094347417355,
-0.02439013123512268,
0.051721423864364624,
0.040279585868120193,
-0.018068423494696617,
0.022471202537417412,
-0.055379945784807205,
0.01822086237370968,
0.011379072442650795,
-0.020139792934060097,
-0.017987722530961037,
0.03538362309336662,
0.04469132795929909,
-0.05649184808135033,
-0.011504610069096088,
0.05168555676937103,
0.05240291357040405,
-0.01227576844394207,
-0.06753914058208466,
0.015530774369835854,
-0.019440369680523872,
-0.07277584820985794,
0.0015243832021951675,
-0.0074694775976240635,
0.006290322635322809,
-0.058572184294462204,
0.04734554886817932,
0.025555836036801338,
0.052080102264881134,
0.039992641657590866,
0.010168532840907574,
0.010249235667288303,
0.015100360848009586,
-0.0538017600774765,
0.02288368158042431,
-0.053514815866947174,
-0.09239555895328522,
-0.02595038153231144,
-0.0063755083829164505,
-0.05523647367954254,
-0.04774009436368942,
0.08084610849618912,
0.009531878866255283,
0.013719448819756508,
-0.05025084316730499,
-0.021735910326242447,
0.024246659129858017,
0.003642827505245805,
0.02849699929356575,
0.012643413618206978,
-0.019027888774871826,
-0.005012530833482742,
0.019709378480911255,
-0.0034612466115504503,
-0.002053433796390891,
-0.07230956852436066,
-0.01888441853225231,
0.004770422820001841,
0.040709998458623886,
-0.008922125212848186,
0.011002459563314915,
0.04626951366662979,
-0.00012469678767956793,
0.01933276653289795,
-0.06596095860004425,
0.012383371591567993,
0.01750350557267666,
0.02602211758494377,
0.009917457588016987,
0.049999769777059555,
0.029590968042612076,
0.009280803613364697,
0.04551628977060318,
-0.01406916044652462,
-0.012849654071033001,
0.025968316942453384,
0.006868691183626652,
-0.012652380391955376,
-0.0034791803918778896,
-0.004205504432320595,
-0.013360770419239998,
-0.04329248145222664,
-0.0044296784326434135,
-0.020121857523918152,
-0.002481606090441346,
0.058536313474178314,
-0.12216586619615555,
-0.0414632223546505,
-0.10817740857601166,
0.0010737935081124306,
-0.0037280137185007334,
-0.061764419078826904,
0.00016686951857991517,
0.003736980492249131,
-0.04325661435723305,
-0.03776883706450462,
-0.02933989278972149,
0.07833535969257355,
-0.00825408659875393,
0.028066584840416908,
0.0354732945561409,
-0.061800289899110794,
0.02849699929356575,
-0.06628376990556717,
-0.03755362704396248,
0.021915249526500702,
-0.0011735508451238275,
-0.05204423516988754,
0.021610373631119728,
-0.025555836036801338,
-0.001350648351944983,
-0.038199249655008316,
0.08263950049877167,
0.007478444837033749,
0.0038333754055202007,
0.020946819335222244,
0.04659232497215271,
0.034020647406578064,
-0.06918906420469284,
-0.01813119277358055,
0.007545697037130594,
0.027205755934119225,
-0.00502149760723114,
-0.027438897639513016,
-0.026434598490595818,
0.012813786044716835,
-0.006859724409878254,
0.006057181395590305,
0.014517508447170258,
0.06151334568858147,
0.02722369134426117,
-0.021431034430861473,
0.02100061997771263,
-0.046807531267404556,
-0.02135929837822914,
-0.05383762717247009,
0.024802612140774727,
-0.0033401926048099995,
-0.010733450762927532,
0.040996942669153214,
-0.061800289899110794,
0.018956152722239494,
-0.00761294923722744,
-0.01147770881652832,
0.015611477196216583,
0.029465431347489357,
-0.008657599799335003,
0.015835652127861977,
-0.025017818436026573,
0.04476306587457657,
0.07238130271434784,
0.038880739361047745,
-0.0020814556628465652,
0.02507162094116211,
0.014903087168931961,
0.0026228358037769794,
-0.00948704406619072,
0.020139792934060097,
0.014400937594473362,
-0.03715908154845238,
0.021592440083622932,
-0.02491021528840065,
-0.0018864242592826486,
0.014858252368867397,
-0.004216712899506092,
0.0054743289947509766,
-0.07263237237930298,
0.008576896972954273,
-0.07263237237930298,
-0.010814153589308262,
-0.024802612140774727,
0.03305221349000931,
0.011630146764218807,
0.04519347846508026,
0.005407076794654131,
0.04056652635335922,
0.010222334414720535,
-0.06635550409555435,
-0.027689972892403603,
-0.006626583635807037,
-0.0012643414083868265,
0.012499942444264889,
0.07395948469638824,
-0.056814659386873245,
-0.06847170740365982,
0.048887867480516434,
-0.010805186815559864,
-0.027474764734506607,
0.0033110498916357756,
-0.040638264268636703,
0.05634837597608566,
0.017611108720302582,
-0.022273927927017212,
0.01861540973186493,
0.007895408198237419,
0.05294093117117882,
-0.050752993673086166,
0.017826316878199577,
0.015889452770352364,
0.009944358840584755,
-0.046412985771894455,
0.010007127188146114,
0.012517875991761684,
0.01884854957461357,
-0.07840710133314133,
-0.10451888293027878,
0.049963902682065964,
0.03741015866398811,
-0.01449060719460249,
-0.024533603340387344,
-0.03364403545856476,
-0.08192214369773865,
-0.028227990493178368,
-0.033141884952783585,
0.014248499646782875,
-0.023098889738321304,
-0.02898121438920498,
0.007366357836872339,
0.015468006022274494,
-0.06545880436897278,
0.04440438747406006,
-0.020319132134318352,
0.04010024666786194,
0.03913181275129318,
0.054303910583257675,
-0.02989584393799305,
-0.06621203571557999,
0.004216712899506092,
0.04619777947664261,
0.034773871302604675,
0.08945439010858536,
0.05914606899023056,
-0.07596808671951294,
0.010939691215753555,
0.006532430183142424,
-0.020982686430215836,
0.052905064076185226,
0.04451198875904083,
-0.0625535100698471,
0.007693651597946882,
-0.0011449686717242002,
-0.020982686430215836,
-0.0378764383494854,
0.0506095215678215,
0.017530405893921852,
-0.020193593576550484,
-0.00488250982016325,
0.03418205305933952,
0.013674614019691944,
0.031509898602962494,
0.00902524497359991,
-0.04734554886817932,
-0.01512726116925478,
-0.015396269969642162,
0.018723012879490852,
0.008442392572760582,
0.015450072474777699,
-0.03870140016078949,
-0.03550916165113449,
-0.027349228039383888,
-0.01924309693276882,
0.046412985771894455,
0.00038473863969556987,
-0.030756672844290733,
-0.07162807881832123,
0.06022210419178009,
0.01809532567858696,
0.015808749943971634,
-0.03120502084493637,
0.04619777947664261,
-0.05007150396704674,
0.014912054874002934,
0.06510012596845627,
0.018005656078457832,
-0.056384243071079254,
0.012284735217690468,
0.013611845672130585,
0.024210792034864426,
0.01550387404859066,
0.039633963257074356,
-0.031743038445711136,
-0.013513208366930485,
0.044978272169828415,
-0.051039937883615494,
0.008814522065222263,
0.023654840886592865,
-0.0008255207794718444,
0.029124686494469643,
0.035222217440605164,
0.02327822893857956,
0.048887867480516434,
-0.01729726605117321,
0.0235113687813282,
0.001269945758394897,
0.019637642428278923,
-0.015037591569125652,
-0.06266111880540848,
-0.0033850274048745632,
0.056097302585840225,
-0.005711953621357679,
0.018687143921852112,
-0.021986985579133034,
0.029268156737089157,
0.006133400835096836,
0.014105028472840786,
-0.011603246442973614,
-0.02021152712404728,
0.023780377581715584,
-0.016553008928894997,
0.06969121098518372,
0.03837858885526657,
0.0189382191747427,
0.0038557928055524826,
0.030792539939284325,
0.01602395810186863,
-0.002126290462911129,
-0.010087830014526844,
0.0011135843815281987
] |
710,272
|
urllib3_future.util.retry
|
increment
|
Return a new Retry object with incremented retry counters.
:param response: A response object, or None, if the server did not
return a response.
:type response: :class:`~urllib3.response.HTTPResponse`
:param Exception error: An error encountered during the request, or
None if the response was received successfully.
:return: A new ``Retry`` object.
|
def increment(
self,
method: str | None = None,
url: str | None = None,
response: HTTPResponse | AsyncHTTPResponse | None = None,
error: Exception | None = None,
_pool: ConnectionPool | AsyncConnectionPool | None = None,
_stacktrace: TracebackType | None = None,
) -> Retry:
"""Return a new Retry object with incremented retry counters.
:param response: A response object, or None, if the server did not
return a response.
:type response: :class:`~urllib3.response.HTTPResponse`
:param Exception error: An error encountered during the request, or
None if the response was received successfully.
:return: A new ``Retry`` object.
"""
if self.total is False and error:
# Disabled, indicate to re-raise the error.
raise reraise(type(error), error, _stacktrace)
total = self.total
if total is not None:
total -= 1
connect = self.connect
read = self.read
redirect = self.redirect
status_count = self.status
other = self.other
cause = "unknown"
status = None
redirect_location = None
if error and self._is_connection_error(error):
# Connect retry?
if connect is False:
raise reraise(type(error), error, _stacktrace)
elif connect is not None:
connect -= 1
elif error and self._is_read_error(error):
# Read retry?
if read is False or method is None or not self._is_method_retryable(method):
raise reraise(type(error), error, _stacktrace)
elif read is not None:
read -= 1
elif error:
# Other retry?
if other is not None:
other -= 1
elif response and response.get_redirect_location():
# Redirect retry?
if redirect is not None:
redirect -= 1
cause = "too many redirects"
response_redirect_location = response.get_redirect_location()
if response_redirect_location:
redirect_location = response_redirect_location
status = response.status
else:
# Incrementing because of a server error like a 500 in
# status_forcelist and the given method is in the allowed_methods
cause = ResponseError.GENERIC_ERROR
if response and response.status:
if status_count is not None:
status_count -= 1
cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
status = response.status
history = self.history + (
RequestHistory(method, url, error, status, redirect_location),
)
new_retry = self.new(
total=total,
connect=connect,
read=read,
redirect=redirect,
status=status_count,
other=other,
history=history,
)
if new_retry.is_exhausted():
reason = error or ResponseError(cause)
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
log.debug("Incremented Retry for (url='%s'): %r", url, new_retry)
return new_retry
|
(self, method: 'str | None' = None, url: 'str | None' = None, response: 'HTTPResponse | AsyncHTTPResponse | None' = None, error: 'Exception | None' = None, _pool: 'ConnectionPool | AsyncConnectionPool | None' = None, _stacktrace: 'TracebackType | None' = None) -> 'Retry'
|
[
-0.0325823575258255,
-0.04340421408414841,
-0.06006520241498947,
0.05379786714911461,
-0.032095760107040405,
-0.003372098784893751,
-0.04706340283155441,
0.007016689982265234,
-0.02298671565949917,
-0.051111869513988495,
0.03359447047114372,
0.05714563652873039,
0.05955914407968521,
0.03898593783378601,
0.00031932751880958676,
0.01144469901919365,
0.07466303557157516,
0.0015522359171882272,
-0.023920977488160133,
-0.07995717972517014,
0.02374580316245556,
0.04827015846967697,
0.01875334605574608,
0.05157899856567383,
0.0019889543764293194,
0.0362999364733696,
0.006607951130717993,
0.047219112515449524,
0.048698361963033676,
0.003887888742610812,
-0.018938250839710236,
0.015337453223764896,
-0.05508247762918472,
0.03186219558119774,
0.023259209468960762,
-0.011308452114462852,
-0.07692082971334457,
0.0009859617566689849,
-0.11452484130859375,
0.017974793910980225,
-0.013683032244443893,
-0.014792467467486858,
-0.0411464162170887,
-0.03927789255976677,
0.021118193864822388,
0.01144469901919365,
-0.06886282563209534,
0.014315605163574219,
0.0027614228893071413,
-0.07762152701616287,
-0.030149385333061218,
0.013897133991122246,
0.03301055729389191,
-0.02839764580130577,
0.05636708810925484,
0.07719332724809647,
-0.017877476289868355,
0.05278575420379639,
-0.005094642750918865,
-0.01977519318461418,
0.0028563085943460464,
-0.003211522474884987,
-0.007887694053351879,
0.043949197977781296,
0.02485523745417595,
-0.0119020976126194,
-0.040679287165403366,
-0.012408155016601086,
0.008992263115942478,
-0.019794657826423645,
0.08307138085365295,
0.04756946116685867,
-0.025244513526558876,
-0.03378910943865776,
0.012914213351905346,
0.007576273754239082,
0.038693979382514954,
-0.008155320771038532,
0.042586736381053925,
0.012174590490758419,
0.018490584567189217,
0.002727361163124442,
0.0801907479763031,
-0.030694369226694107,
0.0469076931476593,
-0.04644056409597397,
0.006092160940170288,
-0.08166999369859695,
-0.07154882699251175,
0.0529414638876915,
-0.05134543403983116,
-0.05305824428796768,
0.003389129415154457,
-0.0697970911860466,
0.006578755099326372,
-0.028514428064227104,
-0.0014841126976534724,
-0.09428251534700394,
0.0152012063190341,
-0.04756946116685867,
-0.046518418937921524,
-0.008739233948290348,
-0.03086954355239868,
-0.05990949273109436,
0.010656415484845638,
-0.07816651463508606,
-0.01036445889621973,
-0.009673494845628738,
-0.0070069581270217896,
-0.019638946279883385,
0.024543818086385727,
0.001868522260338068,
-0.0152012063190341,
0.007094545289874077,
0.003508344991132617,
0.03536567464470863,
-0.009293952025473118,
-0.03569655865430832,
-0.00211181933991611,
0.021565860137343407,
-0.009965451434254646,
-0.015580750070512295,
0.009668629616498947,
0.02839764580130577,
0.006695537827908993,
0.002417157404124737,
-0.028261398896574974,
0.021312830969691277,
0.03958931565284729,
-0.05329180881381035,
-0.03727312386035919,
-0.02643180452287197,
0.01603814959526062,
0.03036348521709442,
-0.0015279061626642942,
0.04573986679315567,
-0.041379980742931366,
0.07287236303091049,
-0.07353413105010986,
0.01820836029946804,
0.0353851392865181,
0.06111624836921692,
0.0020376136526465416,
0.02228602021932602,
0.04714125767350197,
-0.00935720931738615,
-0.0039487131871283054,
0.047335896641016006,
0.014909249730408192,
0.0007761179585941136,
0.02678215131163597,
-0.060999464243650436,
0.07703761011362076,
0.0362999364733696,
-0.030889008194208145,
-0.007586005609482527,
-0.017157316207885742,
0.00801907479763031,
-0.007182132452726364,
-0.08758697658777237,
-0.0020862731616944075,
-0.03353608027100563,
0.05375894159078598,
-0.05410929024219513,
0.027113035321235657,
0.0015485864132642746,
0.009201498702168465,
-0.0035472726449370384,
-0.028456036001443863,
-0.00126392871607095,
0.020047686994075775,
0.01880200393497944,
0.043598853051662445,
-0.020339643582701683,
-0.045817721635103226,
0.037545617669820786,
0.027599630877375603,
-0.0187144186347723,
-0.02763855829834938,
0.012310836464166641,
0.0052844141609966755,
-0.018315410241484642,
-0.0043647512793540955,
-0.07380662858486176,
-0.005819668062031269,
0.0037200136575847864,
0.020709455013275146,
-0.004678604658693075,
0.014451851136982441,
0.04920441657304764,
0.047219112515449524,
0.011765850707888603,
0.08976691961288452,
0.0005991192883811891,
0.02672376111149788,
-0.015960294753313065,
-0.01794559881091118,
0.02238333970308304,
0.11382414400577545,
0.05586102977395058,
-0.04815337434411049,
0.08493990451097488,
0.08237069100141525,
-0.0016325239557772875,
-0.008544595912098885,
0.0035959321539849043,
-0.03359447047114372,
-0.027560703456401825,
-0.03750669211149216,
0.010306067764759064,
-0.025497542694211006,
0.03443141281604767,
0.032952167093753815,
0.02133229561150074,
-0.029779572039842606,
0.02783319540321827,
0.08307138085365295,
-0.048036590218544006,
0.041574619710445404,
-0.015210938639938831,
0.0140431122854352,
-0.0017347087850794196,
-0.07026422023773193,
-0.07618121057748795,
0.017488200217485428,
-0.02561432495713234,
-0.013556517660617828,
0.0015047929482534528,
0.007016689982265234,
-0.004262566100805998,
0.010948372073471546,
0.04391027241945267,
0.051773637533187866,
0.006744197569787502,
-0.016476083546876907,
-0.04624592512845993,
-0.06493114680051804,
0.02697679027915001,
-0.014617293141782284,
0.010228212922811508,
-0.011230597272515297,
0.038693979382514954,
0.013079655356705189,
0.059169869869947433,
-0.010237944312393665,
0.0021933240350335836,
-0.02123497612774372,
0.05874166637659073,
-0.03884969279170036,
-0.02279207855463028,
0.07236630469560623,
-0.025147194042801857,
-0.03997858986258507,
-0.04398812726140022,
0.01084132120013237,
0.024427035823464394,
-0.008890078403055668,
-0.015814315527677536,
-0.008992263115942478,
0.013507858850061893,
0.04204174876213074,
0.026334485039114952,
-0.007590871304273605,
-0.06874604523181915,
-0.1002773568034172,
0.0007335409754887223,
0.02006714977324009,
0.024446498602628708,
-0.022130310535430908,
0.06465865671634674,
0.06061019003391266,
0.003462118562310934,
0.011473894119262695,
0.026003601029515266,
-0.021196048706769943,
0.0015011434443295002,
0.042547807097435,
-0.014918982051312923,
-0.034762296825647354,
-0.06469757854938507,
0.01820836029946804,
-0.002997420961037278,
0.005712617188692093,
-0.05099508538842201,
0.005435258615761995,
0.05944236367940903,
0.024485426023602486,
0.11397985368967056,
-0.008486204780638218,
-0.0030606782529503107,
0.040367864072322845,
-0.027619093656539917,
0.035832807421684265,
-0.009220962412655354,
-0.00953238271176815,
0.0031798938289284706,
-0.06014305725693703,
0.03351661562919617,
0.0003999197215307504,
0.004267432261258364,
-0.03238771855831146,
-0.03727312386035919,
-0.02606199122965336,
-0.013605177402496338,
0.043248504400253296,
-0.07684297859668732,
0.047024477273225784,
0.007454624865204096,
-0.013381344266235828,
0.002610578667372465,
-0.0031239355448633432,
0.08112500607967377,
-0.06570969521999359,
-0.06602111458778381,
0.004097124096006155,
-0.029643326997756958,
0.015473699197173119,
0.046829838305711746,
-0.011775583028793335,
0.007931487634778023,
-0.006437642965465784,
0.03927789255976677,
-0.015814315527677536,
0.004831881728023291,
-0.0212739035487175,
0.0011781664798036218,
0.05017760768532753,
0.029565472155809402,
-0.055199261754751205,
-0.020145004615187645,
-0.039414141327142715,
-0.004824582953006029,
-0.06372439116239548,
-0.03090847097337246,
-0.0658654049038887,
-0.014198822900652885,
0.0012079704320058227,
-0.002057077595964074,
0.01623278670012951,
0.0030801421962678432,
-0.014062575995922089,
-0.025030411779880524,
-0.01755632273852825,
-0.009911926463246346,
0.0101114297285676,
-0.009220962412655354,
0.044649895280599594,
0.020183932036161423,
0.04075714200735092,
-0.007016689982265234,
-0.015794852748513222,
-0.024582745507359505,
-0.005839131772518158,
0.036377791315317154,
0.021624252200126648,
-0.021955136209726334,
-0.007011824287474155,
-0.05652279779314995,
0.03433409705758095,
-0.052162911742925644,
-0.08213712275028229,
-0.02098194696009159,
0.006170016247779131,
0.07166561484336853,
-0.002581382868811488,
0.016310641542077065,
-0.013624641112983227,
-0.02728820964694023,
-0.05636708810925484,
-0.01602841727435589,
-0.032796457409858704,
-0.058313462883234024,
-0.032660212367773056,
0.019833585247397423,
0.021877281367778778,
0.04827015846967697,
0.01624251902103424,
0.033458225429058075,
0.018870128318667412,
0.0047078002244234085,
0.04391027241945267,
-0.04799766466021538,
0.0005726607050746679,
-0.036085836589336395,
0.056600652635097504,
0.004143350757658482,
0.04862050339579582,
-0.02199406363070011,
0.017712034285068512,
0.011318184435367584,
0.002131283050402999,
-0.0020534279756247997,
-0.014481047168374062,
-0.023220282047986984,
-0.026548586785793304,
-0.000939735269639641,
0.003488881280645728,
-0.00530874403193593,
-0.008364556357264519,
-0.028553355485200882,
0.03898593783378601,
0.04589557647705078,
0.05270789563655853,
0.03972556069493294,
-0.006914505269378424,
0.02631502039730549,
0.03400321304798126,
-0.01700160652399063,
-0.015240134671330452,
-0.06384117901325226,
-0.04562308266758919,
-0.017819084227085114,
-0.016164664179086685,
-0.013459199108183384,
-0.014451851136982441,
-0.009931390173733234,
-0.02935137040913105,
0.022188700735569,
0.009619969874620438,
0.03480122610926628,
0.0783611536026001,
-0.0002598717692308128,
0.005279548466205597,
0.06695538014173508,
-0.015999222174286842,
-0.00021927156194578856,
0.005391465034335852,
-0.016553938388824463,
-0.03888861835002899,
0.04589557647705078,
0.0266848336905241,
-0.014957909472286701,
0.017361685633659363,
0.0066468785516917706,
0.0025886818766593933,
-0.04659627377986908,
-0.04266459122300148,
0.032251473516225815,
-0.03075276128947735,
-0.00973188690841198,
0.04554522782564163,
-0.03287431225180626,
-0.01875334605574608,
0.0004607439914252609,
0.07228845357894897,
-0.02903994917869568,
0.03020777553319931,
-0.08182570338249207,
-0.05990949273109436,
-0.030421877279877663,
-0.010705075226724148,
0.007303780876100063,
0.009848669171333313,
0.06391903012990952,
-0.046829838305711746,
-0.003710281802341342,
-0.06718894094228745,
0.007654128596186638,
0.022655831649899483,
0.014228018000721931,
0.009220962412655354,
0.010685611516237259,
0.031103109940886497,
0.01754659228026867,
-0.038810763508081436,
0.018879860639572144,
0.03783757612109184,
-0.0049073039554059505,
-0.01794559881091118,
-0.019230207428336143,
-0.04165247455239296,
-0.062050510197877884,
0.006476570386439562,
0.010452046059072018,
-0.03723419830203056,
0.0056882877834141254,
0.016077077016234398,
-0.02269475907087326,
0.04145783558487892,
-0.00849593710154295,
0.016962679103016853,
0.0023855287581682205,
0.0575738400220871,
-0.0372147336602211,
-0.0022237361408770084,
-0.04776410013437271,
-0.04994404315948486,
0.020008759573101997,
0.032251473516225815,
0.006398715544492006,
-0.030227240175008774,
0.0016605030978098512,
-0.037895966321229935,
0.06827891618013382,
-0.07275558263063431,
0.024290788918733597,
-0.06279013305902481,
-0.030285630375146866,
-0.026743223890662193,
-0.03524889424443245,
0.028027832508087158,
-0.035832807421684265,
0.05263004079461098,
-0.0023101065307855606,
0.019804388284683228,
0.02976010926067829,
-0.006350055802613497,
0.02824193425476551,
0.05835239216685295,
-0.02399883233010769,
0.0011112598003819585,
0.024699527770280838,
-0.008033672347664833,
0.022655831649899483,
-0.020865164697170258,
-0.009060386568307877,
-0.0015047929482534528,
0.023784730583429337,
0.006218675523996353,
-0.008880346082150936,
0.08346065878868103,
0.009503187611699104,
0.02935137040913105,
0.04391027241945267,
-0.04472775012254715,
0.011279256083071232,
0.056756362318992615,
-0.038693979382514954,
-0.010568828321993351,
0.05379786714911461,
0.005182229448109865,
0.018870128318667412,
-0.023473311215639114,
-0.026860006153583527,
0.018315410241484642,
0.02697679027915001,
-0.06730572879314423,
-0.05375894159078598,
-0.005201693158596754,
-0.0049243345856666565,
-0.0029365967493504286,
0.0529414638876915,
-0.03390589356422424,
-0.0010972701711580157,
-0.07980147004127502,
-0.03783757612109184,
0.02259743958711624,
0.013225633651018143,
-0.02234441228210926,
-0.03121989220380783,
-0.027404991909861565,
-0.008773296140134335,
0.010062770918011665,
-0.02279207855463028,
0.005805070511996746,
0.020359106361865997,
0.03616369143128395,
-0.03192058950662613,
0.07154882699251175,
0.03100579045712948,
-0.04570093750953674,
-0.014218286611139774,
-0.012038343586027622,
-0.05527711659669876,
0.030071528628468513,
0.04500024393200874,
0.04624592512845993,
0.0038854556623846292,
0.002649506088346243,
-0.016174394637346268,
0.022188700735569,
-0.017566055059432983,
-0.0374288372695446,
-0.014695148915052414,
0.007016689982265234,
0.001855140901170671,
-0.02259743958711624,
-0.031940050423145294,
0.0429760105907917,
0.031142037361860275,
0.04484453424811363,
-0.008690574206411839,
-0.029020486399531364,
-0.07598657160997391,
-0.019502701237797737,
0.0006745413993485272,
-0.039667170494794846,
0.03787650167942047,
0.013673300854861736,
0.009697824716567993,
-0.055354971438646317,
-0.011658799834549427,
-0.023920977488160133,
-0.05173470824956894,
0.011863169260323048,
0.08992262929677963,
-0.012291372753679752,
-0.038947008550167084,
-0.02687947079539299,
0.0700695812702179,
0.03696170449256897,
0.053875721991062164,
-0.02678215131163597,
0.011989683844149113,
-0.018646294251084328,
-0.007809838745743036,
-0.057807404547929764,
0.04332635924220085,
0.01755632273852825,
-0.031589705497026443,
0.04355992376804352,
-0.00339156249538064,
0.009079850278794765,
-0.04920441657304764,
-0.08042430877685547,
-0.014412923716008663,
-0.08641915023326874,
0.0686681941151619,
0.01765364222228527,
-0.019590288400650024,
-0.029721181839704514,
-0.026509659364819527,
-0.029312442988157272,
0.03334144502878189,
-0.06481436640024185,
0.11265631765127182,
-0.0049073039554059505,
-0.027716413140296936,
-0.012028612196445465,
-0.011979952454566956,
0.0008339010528288782,
0.006778258830308914,
0.04636270925402641,
0.002302807755768299,
-0.011833974160254002,
-0.009960586205124855,
0.0212739035487175,
0.03622208163142204,
0.03964770585298538,
-0.005026519298553467,
0.018013721331954002,
0.011707459576427937,
-0.01689455471932888,
0.0011471461039036512,
0.0005230889073573053,
0.012992068193852901,
0.012417887337505817,
-0.04383241757750511,
0.03702009469270706,
0.0013685465091839433,
-0.013585713692009449,
0.012923945672810078,
0.0034767163451761007,
-0.013420271687209606,
-0.05527711659669876,
-0.018879860639572144,
0.01957082375884056,
0.02298671565949917,
0.01708919182419777,
-0.040017519146203995,
-0.021157121285796165,
-0.013634373433887959,
0.056600652635097504,
-0.016398228704929352,
0.0015887304907664657,
0.05804097279906273,
0.05924772471189499,
-0.06703323125839233,
0.048192303627729416,
-0.014850858598947525,
0.027307674288749695,
-0.02460220828652382,
0.018247287720441818,
0.06212836503982544,
0.058313462883234024,
-0.006909639574587345,
-0.030538659542798996,
-0.014588098041713238,
-0.0110943503677845,
0.02224709279835224,
-0.02082623727619648,
0.03717580810189247,
-0.0929589793086052,
0.01805264875292778,
0.02621770277619362,
0.012777967378497124,
0.01982385292649269,
0.018646294251084328,
-0.044377401471138,
-0.02148800529539585,
0.01956109143793583,
0.04834801331162453,
-0.03287431225180626,
0.0040898253209888935,
-0.04418276622891426,
0.004666439723223448,
-0.039355747401714325,
-0.05033331736922264,
0.01018928550183773,
-0.039063792675733566,
0.03775972127914429,
-0.028203006833791733,
0.004800253082066774,
0.026412339881062508,
-0.008301299065351486,
0.0247189924120903,
0.008890078403055668,
-0.01553209125995636,
0.013400807976722717,
0.020300716161727905,
0.00948372296988964,
0.03484015539288521,
0.005167631898075342,
-0.02253904938697815,
-0.04398812726140022,
0.04811444878578186,
0.05944236367940903,
-0.0017699868185445666,
-0.08758697658777237,
0.044260621070861816,
-0.04457204043865204,
-0.005118972156196833,
0.014150163158774376,
-0.0005215682904236019,
-0.013867937959730625,
-0.014315605163574219,
0.04110748693346977,
0.025127731263637543,
-0.004890272859483957,
0.017429808154702187,
-0.012456814758479595,
0.017780156806111336,
-0.003065544180572033,
-0.039608776569366455,
0.05593888461589813,
-0.044455256313085556,
-0.003484015353024006,
0.04570093750953674,
0.07150990515947342,
0.011863169260323048,
-0.026548586785793304,
-0.0716266855597496,
-0.039316821843385696,
-0.02516665868461132,
-0.016203591600060463,
-0.017332490533590317,
0.018870128318667412,
-0.0021702107042074203,
0.030499732121825218,
-0.014918982051312923,
0.011104082688689232,
-0.014695148915052414,
0.013585713692009449,
0.039005402475595474,
0.004192010033875704,
-0.04352099820971489,
0.014938445761799812,
0.011279256083071232,
0.0587027408182621,
0.01678750477731228,
0.01356624998152256,
-0.027404991909861565,
0.0568731464445591,
0.01623278670012951,
-0.02682107873260975,
0.03227093443274498,
0.023375991731882095,
0.012748771347105503
] |
710,277
|
urllib3_future.util.retry
|
sleep
|
Sleep between retry attempts.
This method will respect a server's ``Retry-After`` response header
and sleep the duration of the time requested. If that is not present, it
will use an exponential backoff. By default, the backoff factor is 0 and
this method will return immediately.
|
def sleep(self, response: HTTPResponse | None = None) -> None:
"""Sleep between retry attempts.
This method will respect a server's ``Retry-After`` response header
and sleep the duration of the time requested. If that is not present, it
will use an exponential backoff. By default, the backoff factor is 0 and
this method will return immediately.
"""
if self.respect_retry_after_header and response:
slept = self.sleep_for_retry(response)
if slept:
return
self._sleep_backoff()
|
(self, response: 'HTTPResponse | None' = None) -> 'None'
|
[
0.004762760829180479,
0.03365325555205345,
-0.07563012838363647,
-0.004883847665041685,
0.036308202892541885,
-0.04201275110244751,
-0.025401391088962555,
0.030460141599178314,
-0.06328821182250977,
0.007202442269772291,
-0.014090955257415771,
0.036003243178129196,
0.047250889241695404,
0.04592341557145119,
0.025903677567839622,
-0.019965922459959984,
0.061673715710639954,
0.007655397988855839,
-0.010305861011147499,
-0.05396001413464546,
0.03264867886900902,
0.03211051598191261,
0.033922336995601654,
0.07785454392433167,
-0.05406764894723892,
0.012754512019455433,
-0.04373487830162048,
0.01340927928686142,
0.01717643439769745,
0.020270884037017822,
0.030729224905371666,
-0.03017312102019787,
-0.05901876837015152,
0.008879723027348518,
-0.03363531455397606,
0.031034184619784355,
-0.04879363253712654,
-0.034908972680568695,
-0.0815858244895935,
-0.02165217325091362,
-0.024360937997698784,
0.02703382447361946,
-0.0035922518000006676,
-0.004184233024716377,
-0.038209717720746994,
0.02186743915081024,
0.011749937199056149,
0.011749937199056149,
0.00487039377912879,
0.004489193204790354,
0.0074491011910140514,
0.049690574407577515,
-0.02030676044523716,
-0.04954706132411957,
0.0304960198700428,
0.049116529524326324,
-0.006632884033024311,
0.018154101446270943,
-0.020916681736707687,
-0.039357803761959076,
-0.005565523635596037,
-0.022028889507055283,
-0.0634675994515419,
0.05213025584816933,
0.03437080606818199,
-0.0016391610261052847,
-0.015804113820195198,
-0.01876402087509632,
-0.0002170879306504503,
-0.010503187775611877,
0.04269442707300186,
0.017140556126832962,
-0.04516998678445816,
0.027069702744483948,
-0.024360937997698784,
0.026280393823981285,
-0.04280205816030502,
-0.01689838245511055,
-0.030872734263539314,
0.036254383623600006,
-0.028450991958379745,
0.0012467490741983056,
0.06382637470960617,
-0.038891393691301346,
0.005215716082602739,
-0.04516998678445816,
0.0018006105674430728,
-0.03993184491991997,
-0.059198155999183655,
0.10182082653045654,
-0.024378877133131027,
0.0059736319817602634,
0.005484798923134804,
-0.023625444620847702,
0.05012110620737076,
0.01881783828139305,
0.00821598619222641,
-0.01082608662545681,
-0.032433412969112396,
-0.013032563962042332,
-0.03881963714957237,
0.03481927886605263,
0.030370447784662247,
-0.0005359227070584893,
0.04660509154200554,
-0.050264615565538406,
0.002032694173976779,
-0.027195272967219353,
0.005821152124553919,
-0.043950144201517105,
0.043232593685388565,
-0.019625084474682808,
0.0023813804145902395,
-0.014772630296647549,
0.0019295458914712071,
-0.013077410869300365,
0.004673066549003124,
-0.002473316853865981,
0.006417618133127689,
0.030298691242933273,
0.025042613968253136,
-0.019248370081186295,
0.022028889507055283,
-0.005274017341434956,
-0.013714239001274109,
-0.005915330722928047,
-0.04592341557145119,
-0.004083327483385801,
0.029688771814107895,
0.019768595695495605,
-0.05442642420530319,
0.017813263460993767,
-0.012880083173513412,
0.018620511516928673,
-0.013633514754474163,
0.04660509154200554,
-0.025544900447130203,
0.0838102400302887,
0.04814783111214638,
-0.02206476777791977,
0.006301015615463257,
-0.053565360605716705,
0.017687691375613213,
-0.028809769079089165,
0.09005294740200043,
0.0005163020687177777,
0.0018398517277091742,
0.012628939934074879,
-0.01408198568969965,
0.02728496864438057,
-0.01687147468328476,
-0.01351691223680973,
0.02723115123808384,
-0.030208997428417206,
-0.02671092562377453,
-0.014638089574873447,
-0.03564446419477463,
0.035267747938632965,
-0.029581138864159584,
-0.054498180747032166,
-0.0011671454412862659,
-0.05177147686481476,
0.05876762419939041,
-0.02113194763660431,
0.053457729518413544,
0.02785900980234146,
-0.08094002306461334,
0.03993184491991997,
0.0692439004778862,
-0.03002960979938507,
0.02134721353650093,
0.005354742053896189,
-0.021993011236190796,
-0.04351961240172386,
0.006359316874295473,
0.025455206632614136,
0.05033637210726738,
-0.0010740876896306872,
-0.016665177419781685,
-0.013445156626403332,
0.04660509154200554,
-0.03033456951379776,
0.002071935450658202,
-0.03329447656869888,
-0.00910844374448061,
-0.0052785021252930164,
0.02123958058655262,
0.045241743326187134,
-0.02904297411441803,
0.09464529156684875,
0.06253477931022644,
0.06163783743977547,
0.05033637210726738,
0.023499874398112297,
0.06088440492749214,
0.008305680938065052,
0.01157951820641756,
-0.045887541025877,
0.11932913213968277,
0.023069340735673904,
-0.030011670663952827,
0.00023516690998803824,
0.02888152375817299,
0.007798908278346062,
0.0289891567081213,
-0.037276897579431534,
0.008982871659100056,
-0.025491084903478622,
-0.04237152636051178,
-0.03810208663344383,
-0.09084226191043854,
0.03910665959119797,
0.032899823039770126,
-0.03684636577963829,
-0.020145311951637268,
-0.021149886772036552,
-0.004466769751161337,
-0.059772197157144547,
0.03342004865407944,
-0.03440668433904648,
-0.034801337867975235,
-0.07078664004802704,
-0.0645798072218895,
-0.0017086740117520094,
0.024217426776885986,
0.005825636442750692,
-0.03541126102209091,
-0.04908065125346184,
0.028235726058483124,
-0.014934079721570015,
-0.007238320074975491,
0.03745628893375397,
0.02920442260801792,
-0.060130976140499115,
0.015795143321156502,
-0.001759127015247941,
-0.05349360406398773,
0.018925471231341362,
-0.049905840307474136,
-0.007561218924820423,
0.019517451524734497,
0.009812542237341404,
-0.036505527794361115,
0.0007769757648929954,
-0.013059471733868122,
-0.0063189547508955,
0.027966642752289772,
0.029652893543243408,
0.005377165973186493,
-0.009005295112729073,
0.06518972665071487,
-0.024360937997698784,
0.03487309440970421,
-0.04427304491400719,
-0.009615215472877026,
0.04161809757351875,
-0.008014174178242683,
0.01446767058223486,
-0.03218226879835129,
0.04025474563241005,
0.026549475267529488,
-0.04197687283158302,
-0.07275991141796112,
-0.04603105038404465,
-0.029276179149746895,
0.021885378286242485,
-0.04649746045470238,
0.016970137134194374,
0.006623914930969477,
0.004291866440325975,
0.06601491570472717,
-0.028199847787618637,
-0.031859371811151505,
-0.03228990361094475,
0.0038501224480569363,
0.03171585872769356,
0.035070423036813736,
-0.014611180871725082,
-0.02739260159432888,
-0.018512876704335213,
0.0571531280875206,
-0.005332318600267172,
0.031141817569732666,
0.03054983541369438,
-0.03533950448036194,
0.02558077871799469,
-0.031697921454906464,
0.14695493876934052,
0.020019739866256714,
0.018387306481599808,
-0.01733788475394249,
-0.02775137685239315,
0.07258052378892899,
-0.043124958872795105,
-0.033725008368492126,
-0.030818918719887733,
0.009059111587703228,
-0.021688051521778107,
0.008718273602426052,
0.002845547627657652,
0.03742041066288948,
-0.04778905585408211,
0.013777025043964386,
0.04305320233106613,
0.008798998780548573,
-0.031034184619784355,
0.026585353538393974,
0.04290969297289848,
-0.045349374413490295,
0.011731998063623905,
-0.035375382751226425,
0.01131940446794033,
-0.023212851956486702,
-0.04351961240172386,
0.00047257618280127645,
-0.0016335551626980305,
0.017346853390336037,
0.07354922592639923,
-0.032899823039770126,
-0.022872013971209526,
-0.04373487830162048,
0.02733878418803215,
0.018225856125354767,
0.0865369364619255,
0.02863037958741188,
-0.0010578306391835213,
0.06228363513946533,
0.043842513114213943,
-0.036200568079948425,
0.0000020671704987762496,
-0.022405603900551796,
-0.053565360605716705,
-0.053924135863780975,
-0.04542113095521927,
-0.006242714356631041,
0.037492163479328156,
-0.007843755185604095,
0.030065488070249557,
0.06221187859773636,
-0.00009452924859942868,
-0.017849139869213104,
-0.03917841613292694,
0.025975432246923447,
0.028235726058483124,
0.04814783111214638,
0.023015525192022324,
0.010207196697592735,
0.0343528687953949,
0.026083065196871758,
-0.006718093529343605,
0.021096069365739822,
-0.020862864330410957,
0.018799899145960808,
0.06303706765174866,
0.05442642420530319,
0.009678001515567303,
-0.00004866609742748551,
0.04068527743220329,
-0.021831562742590904,
-0.05700961872935295,
-0.035841792821884155,
-0.00003253165778005496,
0.00599605543538928,
0.030890673398971558,
0.005063236225396395,
0.007861694321036339,
-0.028594503179192543,
0.023338424041867256,
0.02123958058655262,
-0.019158676266670227,
-0.06228363513946533,
-0.052991319447755814,
-0.018781960010528564,
-0.008171139284968376,
0.06325232982635498,
0.01703292317688465,
-0.018799899145960808,
0.024325059726834297,
0.020432332530617714,
0.037276897579431534,
0.07735225558280945,
-0.04190512001514435,
0.016189798712730408,
-0.0285765640437603,
0.016189798712730408,
-0.023446056991815567,
0.0673065111041069,
-0.049905840307474136,
-0.02712351828813553,
-0.056399695575237274,
0.02134721353650093,
0.050408124923706055,
-0.008552339859306812,
0.003244686871767044,
-0.013884657993912697,
0.001441833795979619,
-0.01583102159202099,
-0.0018465787870809436,
-0.04416541010141373,
-0.0321463905274868,
0.06077677384018898,
0.03838910534977913,
-0.07864385098218918,
0.026316270232200623,
-0.04412953555583954,
0.006265138275921345,
0.0262445155531168,
-0.04649746045470238,
-0.013113288208842278,
0.02717733569443226,
-0.04201275110244751,
-0.0346219502389431,
-0.013768055476248264,
-0.015481214039027691,
0.016754871234297752,
0.0417616069316864,
-0.03824559599161148,
0.040434133261442184,
0.021688051521778107,
-0.044882964342832565,
0.01747242547571659,
-0.03781506419181824,
-0.008740697056055069,
0.04800432175397873,
0.019965922459959984,
0.0031998397316783667,
0.0021975073032081127,
-0.017822232097387314,
-0.04025474563241005,
-0.01648578979074955,
0.013534851372241974,
-0.00870930403470993,
-0.06712712347507477,
0.01761593669652939,
0.09852007776498795,
0.004569918382912874,
-0.010835056193172932,
-0.0013723208103328943,
-0.03137502074241638,
-0.09859183430671692,
-0.04398602247238159,
0.012207376770675182,
-0.013812903314828873,
-0.058624111115932465,
0.07699348032474518,
-0.026531536132097244,
0.029706710949540138,
-0.018692266196012497,
-0.02615482173860073,
-0.07491257786750793,
0.004410711117088795,
-0.006960268132388592,
0.060382116585969925,
0.026423903182148933,
-0.05747602880001068,
0.01796574331820011,
-0.01235088799148798,
0.03917841613292694,
0.024271244183182716,
0.004677551332861185,
-0.034496378153562546,
-0.012978747487068176,
0.06343171745538712,
-0.022262094542384148,
0.01118486374616623,
0.07085839658975601,
0.060023341327905655,
0.02676474116742611,
-0.015005835331976414,
0.01118486374616623,
-0.0241815485060215,
-0.049690574407577515,
0.026800619438290596,
0.0005830121226608753,
0.020378516986966133,
-0.09005294740200043,
0.01340927928686142,
0.021723929792642593,
0.03494485095143318,
0.024360937997698784,
0.0009563641506247222,
-0.010081625543534756,
0.027841072529554367,
-0.014763660728931427,
0.023481935262680054,
-0.06199661269783974,
-0.050156980752944946,
-0.01460221130400896,
0.011220741085708141,
-0.05446230247616768,
-0.03799445182085037,
0.04592341557145119,
0.001967665972188115,
0.0409364216029644,
-0.07505608350038528,
0.015570908784866333,
-0.0596286877989769,
-0.00878105964511633,
0.025365512818098068,
-0.030818918719887733,
0.0013678361428901553,
-0.0022143248934298754,
-0.0022098401095718145,
-0.0032985033467411995,
0.003989148419350386,
-0.040649399161338806,
-0.022710565477609634,
0.007058931514620781,
0.021096069365739822,
0.00666427705436945,
0.025957494974136353,
0.017463454976677895,
-0.013705269433557987,
0.012225315906107426,
-0.013454126194119453,
0.008691365830600262,
0.01695219986140728,
0.03623644635081291,
0.029078850522637367,
0.019338063895702362,
0.044201288372278214,
0.025293756276369095,
0.03519599512219429,
0.03211051598191261,
-0.036559347063302994,
0.017077770084142685,
0.049905840307474136,
-0.0009658941417001188,
0.01273657288402319,
-0.0033164420165121555,
-0.016037318855524063,
-0.004554221872240305,
-0.019858289510011673,
-0.026997946202754974,
0.01942775771021843,
0.05195086449384689,
-0.08990944176912308,
-0.02253117598593235,
-0.06260653585195541,
-0.025401391088962555,
0.0015147103695198894,
-0.04527761787176132,
0.021975072100758553,
-0.032325781881809235,
-0.07096602767705917,
-0.03422729671001434,
-0.05514397844672203,
0.056866105645895004,
-0.019822413101792336,
0.007067901082336903,
0.046533338725566864,
-0.06389813125133514,
0.016665177419781685,
-0.02181362360715866,
-0.04732264578342438,
-0.01653960533440113,
0.006614945363253355,
-0.023535750806331635,
0.015328734181821346,
0.0026414934545755386,
-0.02805633842945099,
-0.0425867922604084,
0.08589114248752594,
0.007171049248427153,
0.05855235829949379,
0.01989416778087616,
0.05647145211696625,
0.039357803761959076,
-0.02423536591231823,
-0.03752804175019264,
0.019804473966360092,
0.0489012636244297,
-0.03446050360798836,
0.006475919391959906,
-0.05740427225828171,
0.019768595695495605,
-0.0016806445783004165,
-0.0057852743193507195,
-0.024325059726834297,
0.07107366621494293,
0.013086380437016487,
-0.017633873969316483,
-0.01673693209886551,
-0.06608666479587555,
-0.030101364478468895,
-0.0524890311062336,
0.04778905585408211,
-0.004004844930022955,
-0.025293756276369095,
0.03932192549109459,
-0.055215734988451004,
0.03264867886900902,
0.02145484648644924,
-0.040434133261442184,
0.01287111360579729,
0.005713518708944321,
-0.0077002448961138725,
-0.009893267415463924,
0.005897392053157091,
0.06805993616580963,
0.06572788953781128,
0.06379050016403198,
0.006256168708205223,
0.028827708214521408,
0.037958573549985886,
0.015041712671518326,
-0.030657468363642693,
0.03508836030960083,
0.031339146196842194,
-0.04412953555583954,
-0.031285326927900314,
0.01488026324659586,
-0.02961701713502407,
-0.003583282232284546,
-0.029581138864159584,
0.015678541734814644,
-0.08883310854434967,
0.02195713296532631,
-0.043124958872795105,
-0.049941714853048325,
-0.029652893543243408,
0.030460141599178314,
-0.024271244183182716,
0.06888512521982193,
-0.02805633842945099,
0.018207916989922523,
0.008758636191487312,
-0.04893714189529419,
-0.013651452958583832,
-0.019678901880979538,
-0.009803573600947857,
-0.02920442260801792,
0.033563561737537384,
-0.027320845052599907,
-0.03849674016237259,
0.025275819003582,
-0.03419141843914986,
-0.02599337138235569,
0.002052875468507409,
-0.02098843641579151,
0.08266215026378632,
-0.05047988146543503,
-0.003921877592802048,
-0.014691906049847603,
-0.02997579239308834,
0.04412953555583954,
-0.038891393691301346,
0.0010533459717407823,
0.005453405901789665,
0.00002750387830019463,
-0.04843485355377197,
0.03835323080420494,
0.011265587992966175,
0.026011310517787933,
-0.07785454392433167,
-0.06691185384988785,
0.031177695840597153,
0.014790569432079792,
-0.016629299148917198,
-0.016467850655317307,
0.024432692676782608,
-0.05019285902380943,
0.00857476331293583,
-0.04412953555583954,
0.013005655258893967,
0.041259318590164185,
-0.04660509154200554,
-0.007834786549210548,
0.006700154859572649,
-0.020432332530617714,
-0.013427217490971088,
-0.017876049503684044,
0.020073555409908295,
0.025706350803375244,
0.05787068232893944,
-0.020037679001688957,
-0.06526148319244385,
-0.012054896913468838,
0.011157955043017864,
0.031249450519680977,
0.057189006358385086,
-0.010610820725560188,
-0.051089800894260406,
-0.038424983620643616,
0.03835323080420494,
-0.010144411586225033,
0.021741867065429688,
0.012207376770675182,
-0.0772087424993515,
-0.01505965180695057,
0.035016607493162155,
-0.04527761787176132,
-0.043591368943452835,
0.06066913902759552,
0.005184323061257601,
-0.0016851292457431555,
0.024970857426524162,
-0.034496378153562546,
0.012153560295701027,
0.02190331742167473,
0.03533950448036194,
-0.023069340735673904,
-0.037599798291921616,
0.01276348065584898,
0.013507942669093609,
0.02986815944314003,
-0.026388026773929596,
0.03171585872769356,
0.03259486332535744,
-0.013570728711783886,
-0.015561939217150211,
0.03621850907802582,
0.003130326746031642,
0.023625444620847702,
-0.06633780896663666,
-0.012234285473823547,
0.0017479151720181108,
-0.010216166265308857,
-0.019750656560063362,
0.05119743570685387,
-0.07218587398529053,
-0.008713789284229279,
0.058265335857868195,
0.017185403034090996,
-0.033097151666879654,
0.013005655258893967,
-0.031590286642313004,
0.04459594190120697,
0.026477720588445663,
0.03546507656574249,
-0.030047548934817314,
-0.012889052741229534,
0.03198494389653206,
0.01752624101936817,
0.024881163612008095,
-0.02588573843240738,
0.007852724753320217,
0.02753611095249653,
0.06892100721597672,
0.0019116071052849293,
0.017346853390336037,
-0.07469730824232101,
0.019714780151844025,
-0.046533338725566864,
-0.024576203897595406,
-0.013068441301584244,
-0.048040200024843216,
-0.012297071516513824,
0.06640956550836563,
0.025670472532510757,
0.013158135116100311,
-0.04656921699643135,
0.03011930361390114,
0.0593416653573513,
0.0621042475104332,
-0.006727063097059727,
-0.02057584375143051,
0.03849674016237259,
0.006417618133127689,
0.03411966562271118,
0.018172040581703186,
0.045457009226083755,
0.029886098578572273,
0.021257519721984863,
-0.0006603733636438847,
0.014342098496854305,
0.031697921454906464,
0.011740967631340027
] |
710,278
|
urllib3_future.util.retry
|
sleep_for_retry
| null |
def sleep_for_retry(self, response: HTTPResponse) -> bool:
retry_after = self.get_retry_after(response)
if retry_after:
time.sleep(retry_after)
return True
return False
|
(self, response: 'HTTPResponse') -> 'bool'
|
[
0.028590405359864235,
0.04663531482219696,
-0.06744129210710526,
0.05108864977955818,
0.05664641037583351,
-0.022694190964102745,
-0.015007736161351204,
0.038833074271678925,
-0.03188587352633476,
0.032883420586586,
0.03642827272415161,
0.048737287521362305,
0.034112539142370224,
0.02883979119360447,
0.0035270405933260918,
-0.08550401777029037,
0.06430614739656448,
0.025348378345370293,
-0.006488507613539696,
-0.03804928809404373,
0.006559761241078377,
0.06911574304103851,
0.038191791623830795,
0.029926404356956482,
-0.017884589731693268,
0.05148054286837578,
-0.022801071405410767,
0.06997078657150269,
-0.004295240622013807,
0.050518620759248734,
-0.01145397499203682,
-0.03507446125149727,
-0.010456428863108158,
0.03833429887890816,
0.016619842499494553,
0.048131633549928665,
-0.06341547518968582,
-0.01950560323894024,
-0.0785924419760704,
-0.0385480597615242,
-0.018418990075588226,
0.016156695783138275,
-0.06544619798660278,
-0.004170547239482403,
-0.024065816774964333,
-0.009645922109484673,
-0.04392768815159798,
0.048202887177467346,
-0.012879041954874992,
0.008960108272731304,
0.04467584937810898,
0.016397176310420036,
-0.013039362616837025,
-0.00004776896821567789,
0.0389399528503418,
0.023050457239151,
-0.005949654150754213,
0.05963905155658722,
-0.00766418781131506,
-0.03908246010541916,
-0.018757443875074387,
-0.020360643044114113,
-0.0717877447605133,
0.03683798015117645,
0.026880323886871338,
0.03252715244889259,
-0.027842244133353233,
-0.03904683515429497,
-0.015176963061094284,
0.004039173945784569,
-0.007227761205285788,
0.06975702196359634,
-0.038797445595264435,
0.003052760614082217,
-0.03284779191017151,
0.0048452275805175304,
-0.03503883257508278,
-0.017403630539774895,
-0.021571950986981392,
0.03284779191017151,
-0.0311733391135931,
-0.03847680613398552,
0.05112427473068237,
-0.036980487406253815,
-0.01509680226445198,
-0.03507446125149727,
0.031155524775385857,
-0.03680235147476196,
-0.04374955594539642,
0.05322624742984772,
-0.008078347891569138,
0.007250027731060982,
0.023905497044324875,
-0.056325770914554596,
0.03979499265551567,
0.009645922109484673,
0.0446045957505703,
-0.023673923686146736,
-0.04357142001390457,
-0.06074347719550133,
-0.014900855720043182,
0.0430726483464241,
0.016227949410676956,
-0.020805977284908295,
0.06818944960832596,
-0.02290794998407364,
-0.02517024427652359,
-0.008621654473245144,
0.01167664211243391,
-0.07431723922491074,
0.03368501737713814,
-0.026328111067414284,
0.028483524918556213,
0.04175446182489395,
0.001249160268343985,
-0.03726549819111824,
0.025669017806649208,
0.004582480993121862,
0.0019539003260433674,
0.007877947762608528,
0.058071475476026535,
-0.009062535129487514,
0.03242027387022972,
-0.0021799069363623857,
-0.020307203754782677,
0.023192964494228363,
-0.02803819067776203,
0.04410582035779953,
0.031583044677972794,
0.03341782093048096,
-0.0601021982729435,
0.019416537135839462,
-0.04246699437499046,
0.02203509770333767,
-0.013101709075272083,
0.03291904553771019,
-0.014945389702916145,
0.07438849657773972,
0.027539419010281563,
-0.03503883257508278,
-0.010117975063621998,
-0.059995315968990326,
0.002293467056006193,
-0.016361549496650696,
0.06605184823274612,
0.011106614954769611,
-0.027788804844021797,
0.050055474042892456,
0.02850133739411831,
-0.03525259345769882,
-0.004212853964418173,
-0.026969391852617264,
0.032295577228069305,
0.008434615097939968,
-0.06644374132156372,
0.002687587169930339,
-0.046207793056964874,
0.03329312428832054,
-0.00465818727388978,
-0.06256043910980225,
0.0038365472573786974,
-0.05550635606050491,
0.030175792053341866,
0.0015152469277381897,
0.059389661997556686,
-0.0015308335423469543,
-0.08835414797067642,
0.01148960180580616,
0.029801711440086365,
-0.00798482820391655,
0.022462617605924606,
0.056183263659477234,
0.014143789187073708,
-0.021073177456855774,
-0.03498539328575134,
0.027218777686357498,
0.025294937193393707,
-0.008969014510512352,
-0.011017548851668835,
-0.03368501737713814,
-0.001739026978611946,
-0.020271576941013336,
0.007771067786961794,
-0.00800264161080122,
0.0022556136827915907,
0.005994187667965889,
-0.011133335530757904,
0.061812277883291245,
0.0048585874028503895,
0.08222635835409164,
0.028251951560378075,
0.07645484060049057,
0.04228886216878891,
0.01177461538463831,
0.04214635491371155,
0.011106614954769611,
-0.003166320500895381,
-0.0004920934443362057,
0.09056299924850464,
0.03242027387022972,
-0.006871494464576244,
-0.016655469313263893,
0.01362720225006342,
0.013618296012282372,
0.024172697216272354,
-0.03812054172158241,
0.014517868869006634,
0.011917121708393097,
-0.0035203606821596622,
-0.021269124001264572,
-0.08436395972967148,
0.02358485758304596,
0.05604075640439987,
0.010563308373093605,
-0.0023046003188937902,
-0.015729175880551338,
0.02712971158325672,
-0.039438728243112564,
0.008265388198196888,
-0.041398193687200546,
-0.04713408648967743,
-0.056753288954496384,
-0.04086379334330559,
0.0008912234916351736,
-0.0004116550844628364,
-0.001217986922711134,
-0.031315844506025314,
-0.014206135645508766,
0.02135819010436535,
-0.007797787897288799,
-0.010162508115172386,
0.048238515853881836,
0.03669547289609909,
-0.04716971516609192,
0.024333016946911812,
-0.025330564007163048,
-0.019737176597118378,
0.012994828633964062,
0.012709815986454487,
0.024724910035729408,
0.04645718261599541,
-0.007281201425939798,
-0.04478272795677185,
-0.035199154168367386,
-0.01825867034494877,
-0.03215307369828224,
0.050768010318279266,
-0.003763067303225398,
0.004649281036108732,
-0.0364639014005661,
0.05849899724125862,
-0.002792240586131811,
-0.0015141336480155587,
-0.05482944846153259,
-0.020271576941013336,
0.014419895596802235,
-0.020627843216061592,
0.006875948049128056,
0.017439255490899086,
0.02989077940583229,
0.03794240579009056,
-0.014731628820300102,
-0.038227420300245285,
-0.01980843022465706,
-0.048096008598804474,
-0.007873495109379292,
-0.010981922037899494,
0.01711861602962017,
0.030068911612033844,
-0.033346567302942276,
0.09626326709985733,
-0.05475819483399391,
-0.0430726483464241,
-0.02978389896452427,
0.009396535344421864,
0.0311733391135931,
0.07339094579219818,
-0.017207682132720947,
-0.04706283658742905,
-0.006435067858546972,
0.04898667335510254,
0.013030455447733402,
0.006671094335615635,
0.023460164666175842,
-0.030745819211006165,
0.04492523521184921,
-0.020004376769065857,
0.14158040285110474,
0.01556885614991188,
0.02456459030508995,
-0.03103083185851574,
-0.028216324746608734,
0.10153602063655853,
-0.03958123177289963,
-0.021251309663057327,
-0.003384533803910017,
0.026132164523005486,
-0.026773445308208466,
-0.03208182007074356,
-0.004618107341229916,
0.04203947260975838,
-0.020164696499705315,
-0.0364639014005661,
0.017715362831950188,
0.005735894199460745,
-0.02055658958852291,
0.006136694457381964,
0.03933184593915939,
-0.04602966085076332,
0.020503150299191475,
-0.045352753251791,
0.01593402959406376,
-0.014259575866162777,
-0.06565995514392853,
0.021607577800750732,
0.01594293676316738,
0.008421254344284534,
0.02978389896452427,
-0.03254496678709984,
-0.02392331138253212,
-0.012175415642559528,
0.03163648396730423,
-0.0273969117552042,
0.08130006492137909,
0.0307992585003376,
-0.03038955107331276,
0.08037377148866653,
-0.0036272406578063965,
-0.05892651528120041,
-0.026470618322491646,
-0.0157737098634243,
-0.05276310071349144,
-0.0226763766258955,
-0.03673109784722328,
0.009645922109484673,
0.019416537135839462,
0.004747254308313131,
-0.005945201031863689,
0.051836807280778885,
0.01192602887749672,
-0.011275841854512691,
-0.045138996094465256,
0.05115990340709686,
-0.013386722654104233,
0.04228886216878891,
0.024243950843811035,
-0.02634592540562153,
0.07011329382658005,
0.042609501630067825,
-0.0012892402010038495,
-0.011712268926203251,
-0.023673923686146736,
0.029659206047654152,
0.03598294034600258,
0.029730457812547684,
0.012309015728533268,
0.005633467808365822,
0.0638786256313324,
0.0032398004550486803,
-0.020057816058397293,
-0.017884589731693268,
-0.012246668338775635,
0.02153632417321205,
0.025330564007163048,
0.0068937609903514385,
0.01829429715871811,
-0.04357142001390457,
0.03897558152675629,
0.025597764179110527,
-0.02773536555469036,
-0.05044736713171005,
-0.010126881301403046,
-0.005246027372777462,
-0.040115632116794586,
0.07317718863487244,
-0.0077176280319690704,
0.0001601808617124334,
-0.013938935473561287,
0.0005121334106661379,
0.03015797771513462,
0.07289217412471771,
-0.029124805703759193,
0.03655296564102173,
-0.03733675181865692,
0.03386315330862999,
-0.04246699437499046,
0.016904857009649277,
-0.040828168392181396,
-0.026328111067414284,
-0.04955670237541199,
0.025989657267928123,
0.053689394146203995,
0.0010253802174702287,
0.027753178030252457,
-0.013235309161245823,
-0.013199682347476482,
-0.03908246010541916,
-0.019434349611401558,
-0.005722534377127886,
-0.002240027068182826,
0.028251951560378075,
0.043856434524059296,
-0.06533931940793991,
-0.0027588405646383762,
-0.01991531066596508,
0.03284779191017151,
0.006559761241078377,
-0.06427051872015,
-0.010955201461911201,
0.01627248339354992,
-0.030015472322702408,
-0.03983062133193016,
0.011890402063727379,
-0.03247371315956116,
-0.0036094272509217262,
0.07951873540878296,
-0.04916480928659439,
0.043785180896520615,
-0.000011463856026239228,
-0.013938935473561287,
0.02369173802435398,
-0.03072800487279892,
-0.012024002149701118,
0.02139381691813469,
-0.02826976403594017,
0.008372267708182335,
-0.001598746981471777,
0.006671094335615635,
-0.04114880785346031,
-0.009761708788573742,
0.0018113936530426145,
-0.00961920153349638,
-0.011534135788679123,
0.02611435204744339,
0.07403222471475601,
-0.01664656214416027,
-0.031761180609464645,
-0.013279842212796211,
-0.06783318519592285,
-0.06872384995222092,
-0.011730082333087921,
0.008194134570658207,
-0.020467523485422134,
-0.05906902253627777,
0.08757036179304123,
-0.01553322933614254,
0.04667093977332115,
-0.014696002937853336,
-0.0013872135896235704,
-0.027646297588944435,
-0.003068347228690982,
-0.010946295224130154,
0.015461975708603859,
0.013404536060988903,
-0.03072800487279892,
0.02048533596098423,
-0.007138694636523724,
0.04738347604870796,
0.02948107197880745,
0.037550512701272964,
-0.05461569130420685,
0.004698267672210932,
0.01701173558831215,
0.010536588728427887,
0.022284483537077904,
0.03218869864940643,
0.03306155279278755,
0.021571950986981392,
-0.0021721136290580034,
0.019113710150122643,
-0.043143901973962784,
-0.08222635835409164,
0.07007766515016556,
-0.017430350184440613,
0.02025376260280609,
-0.06459115445613861,
0.012718722224235535,
0.0982583612203598,
0.025294937193393707,
0.051872435957193375,
-0.049485448747873306,
-0.028162885457277298,
0.008505867794156075,
-0.019754990935325623,
0.011881495825946331,
-0.09540823101997375,
-0.05286998301744461,
-0.0012680868385359645,
-0.026702191680669785,
-0.03772864490747452,
-0.04350016638636589,
0.014019095338881016,
0.014936482533812523,
0.07403222471475601,
-0.018383363261818886,
-0.03518133983016014,
-0.0714314803481102,
0.05678891763091087,
0.016700003296136856,
-0.019968749955296516,
-0.009307468309998512,
0.004137147217988968,
-0.0004973817267455161,
0.03621451184153557,
0.0510173961520195,
-0.027860058471560478,
0.0007425934891216457,
0.01816069707274437,
0.05386753007769585,
-0.015853868797421455,
-0.0024871870409697294,
0.008768615312874317,
-0.005330640822649002,
0.020342830568552017,
0.0027009472250938416,
-0.01192602887749672,
0.02705845795571804,
-0.007530588191002607,
-0.0005549967754632235,
0.009628108702600002,
0.053154997527599335,
-0.018846509978175163,
0.028376644477248192,
0.0022778804413974285,
-0.04962795600295067,
0.018508056178689003,
0.07267840951681137,
0.010910668410360813,
-0.026132164523005486,
-0.007348001468926668,
-0.00096247682813555,
0.009173868224024773,
-0.007405894808471203,
-0.045067742466926575,
0.017439255490899086,
0.07681110501289368,
-0.05796459689736366,
-0.01383205596357584,
-0.08443521708250046,
-0.012237762100994587,
0.009360908530652523,
-0.054473184049129486,
0.019327469170093536,
-0.049342941492795944,
-0.07253590226173401,
0.023762991651892662,
-0.020431896671652794,
0.040151260793209076,
-0.025330564007163048,
-0.005789334420114756,
0.046100914478302,
-0.004987734369933605,
0.025954030454158783,
-0.020984109491109848,
-0.0031373738311231136,
0.011480695568025112,
0.006225761026144028,
-0.02331765741109848,
0.0012447069166228175,
0.005824961233884096,
-0.007793334778398275,
-0.07353345304727554,
0.08700033277273178,
0.013725175522267818,
0.00967264175415039,
-0.003640600712969899,
0.03592950105667114,
-0.005673547741025686,
-0.03790678083896637,
0.002863493748009205,
0.037051741033792496,
-0.02055658958852291,
-0.044996488839387894,
-0.0030082270968705416,
-0.00119794683996588,
0.000047281882871175185,
-0.010189228691160679,
-0.05237120762467384,
-0.03972373902797699,
0.03393440693616867,
0.011195681989192963,
-0.028020378202199936,
-0.007388081401586533,
-0.0566820353269577,
0.010251575149595737,
-0.06480491906404495,
0.029017925262451172,
0.011952748522162437,
-0.022088536992669106,
0.012157602235674858,
-0.04474709928035736,
0.08094380050897598,
0.006911574397236109,
-0.06031595543026924,
0.02604309841990471,
0.006074347533285618,
0.04538838192820549,
0.0132264019921422,
0.004373174160718918,
0.06206166371703148,
0.06152726337313652,
0.03559104725718498,
-0.014206135645508766,
-0.021714456379413605,
0.00034040171885862947,
0.00763301458209753,
-0.045067742466926575,
0.029392005875706673,
0.03726549819111824,
-0.05425942316651344,
-0.01671781577169895,
0.014455522410571575,
-0.01409925613552332,
-0.004217307548969984,
-0.029605764895677567,
0.012362455017864704,
-0.11614295095205307,
0.016789069399237633,
-0.022248856723308563,
-0.007022907957434654,
-0.022801071405410767,
0.03769301995635033,
0.017528323456645012,
0.03844118118286133,
-0.049378570169210434,
0.010438615456223488,
0.027877870947122574,
-0.03069237805902958,
0.0014406535774469376,
-0.06412801146507263,
-0.008844321593642235,
-0.021554136648774147,
0.03801365941762924,
-0.008372267708182335,
-0.060565344989299774,
0.010100161656737328,
-0.049485448747873306,
-0.010598935186862946,
0.0001276854454772547,
-0.02290794998407364,
0.06476929038763046,
-0.06259606778621674,
-0.04431958124041557,
-0.009227308444678783,
-0.005486507434397936,
0.0050322674214839935,
0.024101443588733673,
-0.007940295152366161,
-0.010233761742711067,
-0.005219307728111744,
-0.033542513847351074,
0.07495851814746857,
0.0038432274013757706,
-0.008260934613645077,
-0.04770411550998688,
-0.09441068023443222,
0.04093504697084427,
0.032901231199502945,
-0.005798241123557091,
-0.0268268845975399,
0.05165867507457733,
-0.04916480928659439,
-0.02536619082093239,
-0.049449820071458817,
0.05237120762467384,
0.05226432904601097,
-0.027877870947122574,
-0.005838321056216955,
-0.009271841496229172,
-0.02698720432817936,
0.0052816541865468025,
-0.020681284368038177,
0.018151789903640747,
0.015132429078221321,
0.08393643796443939,
-0.016147788614034653,
-0.08621654659509659,
-0.03715861961245537,
-0.012602935545146465,
0.026506245136260986,
0.014313016086816788,
0.004689360968768597,
-0.06758379936218262,
-0.013974562287330627,
0.03537728637456894,
-0.012861228547990322,
0.051908060908317566,
-0.013751896098256111,
-0.06444865465164185,
-0.02661312371492386,
0.009574668481945992,
-0.026060910895466805,
-0.023068271577358246,
0.06665750592947006,
-0.025384005159139633,
-0.012389175593852997,
0.020164696499705315,
0.04706283658742905,
-0.007864587940275669,
-0.03302592411637306,
0.05294123664498329,
-0.026862511411309242,
-0.024546777829527855,
0.028465712442994118,
0.006533041130751371,
0.035733554512262344,
-0.05165867507457733,
0.015461975708603859,
0.013992375694215298,
-0.008416801691055298,
-0.027147524058818817,
0.022622937336564064,
-0.006448427680879831,
-0.008839868009090424,
-0.08963670581579208,
-0.05148054286837578,
-0.00596301443874836,
-0.02180352434515953,
0.0188999492675066,
-0.00394120067358017,
-0.06323734670877457,
0.025686830282211304,
0.03503883257508278,
0.0353238470852375,
-0.08650156110525131,
-0.01886432245373726,
-0.04870166257023811,
0.0415763258934021,
0.006123334169387817,
0.012745441868901253,
-0.03639264777302742,
-0.01347578875720501,
-0.00963701494038105,
0.009832961484789848,
0.001292580273002386,
0.007940295152366161,
-0.008835414424538612,
0.04602966085076332,
0.02864384464919567,
0.006582027766853571,
0.04930731654167175,
-0.07388971745967865,
0.04225323349237442,
-0.04848790168762207,
-0.033774085342884064,
0.01863274909555912,
-0.03662421926856041,
-0.017430350184440613,
0.035359472036361694,
-0.01175680197775364,
0.03416597843170166,
-0.007120881229639053,
0.0015965203056111932,
0.015889495611190796,
0.061883531510829926,
0.05073238164186478,
-0.0630948394536972,
0.03997312858700752,
-0.007797787897288799,
0.052549343556165695,
0.013974562287330627,
0.027468165382742882,
0.020414084196090698,
0.018828697502613068,
-0.023477977141737938,
-0.010741441510617733,
-0.001348246936686337,
0.01186368241906166
] |
710,279
|
urllib3_future.util.timeout
|
Timeout
|
Timeout configuration.
Timeouts can be defined as a default for a pool:
.. code-block:: python
import urllib3
timeout = urllib3.util.Timeout(connect=2.0, read=7.0)
http = urllib3.PoolManager(timeout=timeout)
resp = http.request("GET", "https://example.com/")
print(resp.status)
Or per-request (which overrides the default for the pool):
.. code-block:: python
response = http.request("GET", "https://example.com/", timeout=Timeout(10))
Timeouts can be disabled by setting all the parameters to ``None``:
.. code-block:: python
no_timeout = Timeout(connect=None, read=None)
response = http.request("GET", "https://example.com/", timeout=no_timeout)
:param total:
This combines the connect and read timeouts into one; the read timeout
will be set to the time leftover from the connect attempt. In the
event that both a connect timeout and a total are specified, or a read
timeout and a total are specified, the shorter timeout will be applied.
Defaults to None.
:type total: int, float, or None
:param connect:
The maximum amount of time (in seconds) to wait for a connection
attempt to a server to succeed. Omitting the parameter will default the
connect timeout to the system default, probably `the global default
timeout in socket.py
<http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_.
None will set an infinite timeout for connection attempts.
:type connect: int, float, or None
:param read:
The maximum amount of time (in seconds) to wait between consecutive
read operations for a response from the server. Omitting the parameter
will default the read timeout to the system default, probably `the
global default timeout in socket.py
<http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_.
None will set an infinite timeout.
:type read: int, float, or None
.. note::
Many factors can affect the total amount of time for urllib3 to return
an HTTP response.
For example, Python's DNS resolver does not obey the timeout specified
on the socket. Other factors that can affect total request time include
high CPU load, high swap, the program running at a low priority level,
or other behaviors.
In addition, the read and total timeouts only measure the time between
read operations on the socket connecting the client and the server,
not the total amount of time for the request to return a complete
response. For most requests, the timeout is raised because the server
has not sent the first byte in the specified time. This is not always
the case; if a server streams one byte every fifteen seconds, a timeout
of 20 seconds will not trigger, even though the request will take
several minutes to complete.
If your goal is to cut off any request after a set amount of wall clock
time, consider having a second "watcher" thread to cut off a slow
request.
|
class Timeout:
"""Timeout configuration.
Timeouts can be defined as a default for a pool:
.. code-block:: python
import urllib3
timeout = urllib3.util.Timeout(connect=2.0, read=7.0)
http = urllib3.PoolManager(timeout=timeout)
resp = http.request("GET", "https://example.com/")
print(resp.status)
Or per-request (which overrides the default for the pool):
.. code-block:: python
response = http.request("GET", "https://example.com/", timeout=Timeout(10))
Timeouts can be disabled by setting all the parameters to ``None``:
.. code-block:: python
no_timeout = Timeout(connect=None, read=None)
response = http.request("GET", "https://example.com/", timeout=no_timeout)
:param total:
This combines the connect and read timeouts into one; the read timeout
will be set to the time leftover from the connect attempt. In the
event that both a connect timeout and a total are specified, or a read
timeout and a total are specified, the shorter timeout will be applied.
Defaults to None.
:type total: int, float, or None
:param connect:
The maximum amount of time (in seconds) to wait for a connection
attempt to a server to succeed. Omitting the parameter will default the
connect timeout to the system default, probably `the global default
timeout in socket.py
<http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_.
None will set an infinite timeout for connection attempts.
:type connect: int, float, or None
:param read:
The maximum amount of time (in seconds) to wait between consecutive
read operations for a response from the server. Omitting the parameter
will default the read timeout to the system default, probably `the
global default timeout in socket.py
<http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_.
None will set an infinite timeout.
:type read: int, float, or None
.. note::
Many factors can affect the total amount of time for urllib3 to return
an HTTP response.
For example, Python's DNS resolver does not obey the timeout specified
on the socket. Other factors that can affect total request time include
high CPU load, high swap, the program running at a low priority level,
or other behaviors.
In addition, the read and total timeouts only measure the time between
read operations on the socket connecting the client and the server,
not the total amount of time for the request to return a complete
response. For most requests, the timeout is raised because the server
has not sent the first byte in the specified time. This is not always
the case; if a server streams one byte every fifteen seconds, a timeout
of 20 seconds will not trigger, even though the request will take
several minutes to complete.
If your goal is to cut off any request after a set amount of wall clock
time, consider having a second "watcher" thread to cut off a slow
request.
"""
#: A sentinel object representing the default timeout value
DEFAULT_TIMEOUT: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT
def __init__(
self,
total: _TYPE_TIMEOUT_INTERNAL = None,
connect: _TYPE_TIMEOUT_INTERNAL = _DEFAULT_TIMEOUT,
read: _TYPE_TIMEOUT_INTERNAL = _DEFAULT_TIMEOUT,
) -> None:
self._connect = self._validate_timeout(connect, "connect")
self._read = self._validate_timeout(read, "read")
self.total = self._validate_timeout(total, "total")
self._start_connect: float | None = None
def __repr__(self) -> str:
return f"{type(self).__name__}(connect={self._connect!r}, read={self._read!r}, total={self.total!r})"
# __str__ provided for backwards compatibility
__str__ = __repr__
@staticmethod
def resolve_default_timeout(timeout: _TYPE_TIMEOUT_INTERNAL) -> float | None:
return getdefaulttimeout() if timeout is _DEFAULT_TIMEOUT else timeout
@classmethod
def _validate_timeout(
cls, value: _TYPE_TIMEOUT, name: str
) -> _TYPE_TIMEOUT_INTERNAL:
"""Check that a timeout attribute is valid.
:param value: The timeout value to validate
:param name: The name of the timeout attribute to validate. This is
used to specify in error messages.
:return: The validated and casted version of the given value.
:raises ValueError: If it is a numeric value less than or equal to
zero, or the type is not an integer, float, or None.
"""
if value is None or value is _DEFAULT_TIMEOUT:
return value
if isinstance(value, bool):
raise ValueError(
"Timeout cannot be a boolean value. It must "
"be an int, float or None."
)
try:
float(value) # type: ignore[arg-type]
except (TypeError, ValueError):
raise ValueError(
"Timeout value %s was %s, but it must be an "
"int, float or None." % (name, value)
) from None
try:
if value <= 0: # type: ignore[operator]
raise ValueError(
"Attempted to set %s timeout to %s, but the "
"timeout cannot be set to a value less "
"than or equal to 0." % (name, value)
)
except TypeError:
raise ValueError(
"Timeout value %s was %s, but it must be an "
"int, float or None." % (name, value)
) from None
return value # type: ignore[return-value]
@classmethod
def from_float(cls, timeout: _TYPE_TIMEOUT_INTERNAL) -> Timeout:
"""Create a new Timeout from a legacy timeout value.
The timeout value used by httplib.py sets the same timeout on the
connect(), and recv() socket requests. This creates a :class:`Timeout`
object that sets the individual timeouts to the ``timeout`` value
passed to this function.
:param timeout: The legacy timeout value.
:type timeout: integer, float, :attr:`urllib3.util.Timeout.DEFAULT_TIMEOUT`, or None
:return: Timeout object
:rtype: :class:`Timeout`
"""
return Timeout(read=timeout, connect=timeout)
def clone(self) -> Timeout:
"""Create a copy of the timeout object
Timeout properties are stored per-pool but each request needs a fresh
Timeout object to ensure each one has its own start/stop configured.
:return: a copy of the timeout object
:rtype: :class:`Timeout`
"""
# We can't use copy.deepcopy because that will also create a new object
# for _GLOBAL_DEFAULT_TIMEOUT, which socket.py uses as a sentinel to
# detect the user default.
return Timeout(connect=self._connect, read=self._read, total=self.total)
def start_connect(self) -> float:
"""Start the timeout clock, used during a connect() attempt
:raises urllib3.exceptions.TimeoutStateError: if you attempt
to start a timer that has been started already.
"""
if self._start_connect is not None:
raise TimeoutStateError("Timeout timer has already been started.")
self._start_connect = time.monotonic()
return self._start_connect
def get_connect_duration(self) -> float:
"""Gets the time elapsed since the call to :meth:`start_connect`.
:return: Elapsed time in seconds.
:rtype: float
:raises urllib3.exceptions.TimeoutStateError: if you attempt
to get duration for a timer that hasn't been started.
"""
if self._start_connect is None:
raise TimeoutStateError(
"Can't get connect duration for timer that has not started."
)
return time.monotonic() - self._start_connect
@property
def connect_timeout(self) -
|
(total: '_TYPE_TIMEOUT_INTERNAL' = None, connect: '_TYPE_TIMEOUT_INTERNAL' = <_TYPE_DEFAULT.token: -1>, read: '_TYPE_TIMEOUT_INTERNAL' = <_TYPE_DEFAULT.token: -1>) -> 'None'
|
[
0.029733354225754738,
-0.028740864247083664,
-0.012333759106695652,
-0.015683414414525032,
-0.002445041202008724,
0.026859266683459282,
-0.05512456223368645,
-0.01745128631591797,
-0.03974096477031708,
-0.09949714690446854,
0.004099191632121801,
0.05458696559071541,
0.026590468361973763,
0.02663182094693184,
0.02166937105357647,
0.04321467876434326,
0.01149634551256895,
0.008916904218494892,
-0.0057533420622348785,
-0.059880245476961136,
-0.008730812929570675,
0.05239521339535713,
0.03422023728489876,
-0.008467182517051697,
-0.007893399335443974,
0.0192501749843359,
-0.03312436118721962,
-0.024605488404631615,
0.013005757704377174,
-0.029919445514678955,
-0.03252473101019859,
0.03262811526656151,
-0.03339316323399544,
0.031098028644919395,
0.012189021334052086,
-0.016686242073774338,
-0.03155291825532913,
0.035502202808856964,
-0.029175078496336937,
0.03359993174672127,
-0.07650445401668549,
-0.04685381054878235,
-0.08134284615516663,
-0.009733641520142555,
-0.009526873007416725,
0.004781528376042843,
-0.03655672445893288,
0.048425253480672836,
-0.0002416610368527472,
-0.04466206207871437,
-0.003148054936900735,
0.03521272540092468,
0.004065591376274824,
0.03796275332570076,
-0.03610183298587799,
0.032255932688713074,
-0.04892149940133095,
0.0645945742726326,
-0.031366828829050064,
0.0009879672434180975,
-0.030622459948062897,
0.038479674607515335,
-0.013295234180986881,
-0.004830636084079742,
-0.028285972774028778,
-0.032958947122097015,
-0.050906479358673096,
-0.005120112560689449,
0.027975818142294884,
-0.007443676702678204,
0.06488405168056488,
0.04631621018052101,
-0.009289088658988476,
-0.0381074920296669,
0.06393291056156158,
-0.019002053886651993,
-0.04540643095970154,
0.0032281780149787664,
-0.03610183298587799,
0.03498528152704239,
-0.006151372101157904,
0.016955042257905006,
0.05181626230478287,
-0.010048964060842991,
0.07964733988046646,
-0.017492640763521194,
-0.02154530957341194,
0.01194089837372303,
-0.040692102164030075,
-0.0034685467835515738,
-0.01974642090499401,
-0.022537799552083015,
0.0035176542587578297,
0.00024909179774113,
-0.03250405564904213,
-0.016065936535596848,
-0.009656103327870369,
-0.02766566537320614,
-0.026073545217514038,
-0.0666622593998909,
-0.022310353815555573,
-0.017978547140955925,
-0.013719109818339348,
-0.05045158788561821,
0.05723360553383827,
-0.07625633478164673,
-0.026445729658007622,
-0.03120141290128231,
0.01725485734641552,
-0.004223252646625042,
0.023220136761665344,
-0.05582757666707039,
-0.015890182927250862,
0.03897592052817345,
0.017513317987322807,
0.058556925505399704,
-0.07269991189241409,
-0.012375112622976303,
-0.015714429318904877,
-0.004215498920530081,
-0.011434314772486687,
0.05198167636990547,
0.010927731171250343,
0.009676779620349407,
0.027148744091391563,
0.041436467319726944,
-0.02022198960185051,
0.01933288387954235,
0.04009247198700905,
-0.0062185716815292835,
0.02747957408428192,
0.011051792651414871,
0.02311675250530243,
0.08378271758556366,
0.014949384145438671,
0.030043506994843483,
-0.06203063949942589,
0.11653489619493484,
-0.016189998015761375,
-0.014267046935856342,
0.016458796337246895,
0.05206438526511192,
-0.027148744091391563,
-0.04466206207871437,
0.04532372206449509,
-0.0034323621075600386,
-0.030808551236987114,
-0.03126344457268715,
-0.06099679693579674,
-0.005484542343765497,
0.0012322128750383854,
-0.07249314337968826,
-0.006709647830575705,
0.033227745443582535,
0.03455106541514397,
0.012840342707931995,
-0.02317878231406212,
-0.040960900485515594,
-0.04354551061987877,
-0.04242895916104317,
-0.04950045049190521,
-0.030146891251206398,
0.03161495178937912,
-0.06562841683626175,
-0.014659907668828964,
-0.0027500251308083534,
-0.00008626135968370363,
-0.05247792229056358,
0.038190197199583054,
0.05789526551961899,
-0.030891258269548416,
-0.006027310620993376,
-0.0065494016744196415,
0.010136840865015984,
-0.009309764951467514,
0.03051907569169998,
0.020480450242757797,
-0.017161810770630836,
-0.01938457600772381,
-0.04644027352333069,
0.006466694176197052,
-0.01670691929757595,
-0.05198167636990547,
-0.017492640763521194,
-0.002597533166408539,
0.049376390874385834,
0.018402423709630966,
0.01629338227212429,
0.009330442175269127,
0.02766566537320614,
0.0034013467375189066,
-0.042635727673769,
0.010741638951003551,
0.014287724159657955,
0.009097827598452568,
-0.009568226523697376,
0.03430294618010521,
0.032607439905405045,
0.1439937949180603,
0.09511364996433258,
-0.032690148800611496,
0.0655457079410553,
0.01883663795888424,
-0.035440173000097275,
-0.005375988781452179,
-0.10363252460956573,
-0.040692102164030075,
-0.03277285397052765,
-0.041787974536418915,
0.006983616389334202,
-0.054421547800302505,
0.0016425197245553136,
0.00019853035337291658,
0.06736527383327484,
-0.005386327393352985,
0.015993567183613777,
0.002572979312390089,
0.003592608030885458,
0.010162686929106712,
0.027851758524775505,
0.053801242262125015,
-0.02981606125831604,
-0.014080955646932125,
-0.05065835639834404,
0.06616601347923279,
0.01685165800154209,
-0.008684289641678333,
-0.007583245635032654,
0.055455394089221954,
-0.002361041260883212,
0.03775598481297493,
0.04371092468500137,
0.029154401272535324,
0.04495153948664665,
0.06120356544852257,
-0.023550966754555702,
0.015549014322459698,
0.015631722286343575,
-0.06471863389015198,
-0.018030239269137383,
-0.011920221149921417,
-0.03194577991962433,
0.004598021041601896,
-0.008327613584697247,
-0.013584710657596588,
-0.00572749599814415,
0.011909883469343185,
0.04838389903306961,
-0.0034168544225394726,
0.012623235583305359,
0.00046232211752794683,
0.009289088658988476,
0.0032359317410737276,
-0.03049839846789837,
0.008513705804944038,
0.024212626740336418,
-0.021896816790103912,
-0.011517022736370564,
-0.026404375210404396,
0.009914563968777657,
0.0390586256980896,
-0.020604511722922325,
-0.07075628638267517,
0.0375492163002491,
-0.016603535041213036,
0.005375988781452179,
0.0002494148793630302,
-0.03374467045068741,
-0.039451487362384796,
0.00034989157575182617,
0.10239191353321075,
-0.02588745392858982,
-0.022103585302829742,
-0.011041454039514065,
-0.04867337644100189,
-0.001851873123086989,
0.025701362639665604,
-0.04079548642039299,
-0.03244202584028244,
-0.07050815969705582,
0.01608661375939846,
0.03175968676805496,
0.006151372101157904,
-0.05789526551961899,
-0.085271455347538,
0.0023351951967924833,
-0.06678632646799088,
0.10826414823532104,
-0.024936318397521973,
0.04557184502482414,
-0.03852102905511856,
-0.06422238796949387,
0.03914133459329605,
-0.037921398878097534,
0.006735493894666433,
0.027831081300973892,
-0.07848943769931793,
-0.011517022736370564,
0.01725485734641552,
-0.0469365194439888,
-0.02946455404162407,
-0.03510934114456177,
-0.02173140086233616,
0.03169765695929527,
0.017585687339305878,
-0.013863848522305489,
-0.0024140258319675922,
-0.031077351421117783,
0.025225793942809105,
-0.00037799921119585633,
0.021690048277378082,
-0.021855462342500687,
-0.0035977771040052176,
-0.05024481937289238,
0.06351937353610992,
0.05942535400390625,
-0.029898768290877342,
-0.03684620186686516,
0.017337564378976822,
0.04573725908994675,
-0.04602673649787903,
0.022723890841007233,
0.018381746485829353,
-0.029278462752699852,
0.017306549474596977,
-0.01594187505543232,
0.03897592052817345,
0.04639891907572746,
-0.016551842913031578,
0.0001314920373260975,
-0.05818474292755127,
-0.005298450589179993,
-0.006192725617438555,
-0.05859827995300293,
-0.02766566537320614,
-0.015455967746675014,
0.021142110228538513,
0.04038194566965103,
0.0469365194439888,
-0.018929684534668922,
0.03984434902667999,
0.023923151195049286,
-0.03300030156970024,
0.004864235874265432,
0.022165615111589432,
-0.032338641583919525,
-0.0016140890074893832,
0.014401447027921677,
0.1040460616350174,
-0.02830664999783039,
0.028472064062952995,
-0.018412761390209198,
-0.007526384200900793,
0.0792338028550148,
0.019518975168466568,
-0.04528236761689186,
0.035026635974645615,
-0.06744798272848129,
0.019281191751360893,
-0.056282468140125275,
-0.05553809925913811,
0.06662090867757797,
0.012685266323387623,
0.028410034254193306,
0.0364326648414135,
0.03837629035115242,
0.0520230308175087,
-0.014639231376349926,
0.006942262407392263,
0.0024657179601490498,
-0.06463592499494553,
-0.09205347299575806,
0.015032092109322548,
-0.02890627831220627,
0.012240713462233543,
-0.014577200636267662,
-0.035708971321582794,
0.016386426985263824,
-0.025143086910247803,
0.018133623525500298,
0.02553594671189785,
-0.03796275332570076,
-0.01121720764786005,
-0.004579929169267416,
0.010958747006952763,
-0.03196645528078079,
-0.01338827982544899,
-0.002541963942348957,
0.03231796249747276,
0.06335396319627762,
-0.01290237344801426,
0.022599829360842705,
-0.015683414414525032,
0.02050112746655941,
-0.04284249618649483,
0.03653604909777641,
0.03051907569169998,
0.04197406768798828,
-0.004386083222925663,
-0.06930889934301376,
0.026052869856357574,
0.0339721143245697,
0.019084760919213295,
0.06116221100091934,
0.01670691929757595,
0.03138750419020653,
0.10354981571435928,
-0.0016295965760946274,
-0.028244618326425552,
-0.01752365566790104,
-0.04412446171045303,
-0.024956993758678436,
-0.024129919707775116,
0.014205017127096653,
-0.032131873071193695,
0.00116501294542104,
-0.05024481937289238,
0.026549113914370537,
0.0647599920630455,
-0.019105438143014908,
0.03829358145594597,
-0.0636434406042099,
0.0202840194106102,
0.02630099095404148,
0.017420271411538124,
0.010079978965222836,
0.019291529431939125,
0.018123285844922066,
-0.06674496829509735,
0.013987909071147442,
0.05024481937289238,
0.038334935903549194,
-0.005546573083847761,
-0.0371563546359539,
0.048425253480672836,
0.016861995682120323,
-0.04271843284368515,
-0.01245782058686018,
0.03058110550045967,
-0.01065893191844225,
0.015404275618493557,
0.026114899665117264,
0.006337463855743408,
0.04005111753940582,
0.06674496829509735,
-0.04309061914682388,
-0.0031118704937398434,
0.000015810544937266968,
-0.024274656549096107,
-0.013874187134206295,
-0.0347578339278698,
-0.016551842913031578,
0.06695173680782318,
0.0005298450705595315,
-0.04602673649787903,
0.0075057074427604675,
-0.0499553419649601,
0.03885185718536377,
-0.025308500975370407,
-0.03893456608057022,
0.03769395127892494,
-0.001282612676732242,
0.020656203851103783,
-0.017854485660791397,
-0.08609852939844131,
0.05487643927335739,
0.042966555804014206,
-0.002344241365790367,
0.0010247979080304503,
0.039017271250486374,
-0.044620707631111145,
0.017988886684179306,
-0.07100440561771393,
-0.00041547606815584004,
0.009738810360431671,
-0.030767198652029037,
-0.0032747008372098207,
0.030002152547240257,
-0.03244202584028244,
-0.04127105325460434,
0.03837629035115242,
-0.046895164996385574,
0.08332782983779907,
0.0035641773138195276,
-0.03422023728489876,
-0.041932713240385056,
0.038479674607515335,
-0.011082807555794716,
0.005407004151493311,
-0.023778412491083145,
-0.05723360553383827,
0.01259221974760294,
0.049789927899837494,
0.01214766688644886,
-0.0026776560116559267,
-0.003233347088098526,
-0.05156813934445381,
-0.007655614987015724,
0.012271728366613388,
0.010343609377741814,
0.008849704638123512,
-0.0018583346391096711,
0.020873310044407845,
0.0373837985098362,
0.0916399359703064,
0.013688094913959503,
-0.08341053873300552,
0.021297186613082886,
-0.01549732219427824,
-0.007531553506851196,
0.003499561920762062,
0.03345519304275513,
0.001913903746753931,
0.018133623525500298,
-0.015042430721223354,
-0.01600390486419201,
0.011248222552239895,
0.030973967164754868,
-0.011579052545130253,
-0.06562841683626175,
0.03484054282307625,
0.09527906775474548,
-0.004070760682225227,
-0.002275749109685421,
-0.04342144727706909,
0.01483566127717495,
0.02264118380844593,
-0.003711499972268939,
-0.008472351357340813,
0.01170311402529478,
0.041022930294275284,
-0.03779733553528786,
-0.041374437510967255,
-0.020335711538791656,
0.018402423709630966,
0.027231451123952866,
-0.07013598084449768,
-0.01418433990329504,
-0.08117742836475372,
-0.02671452984213829,
0.025494594126939774,
0.09114369004964828,
0.031304795295000076,
-0.011506684124469757,
-0.008870381861925125,
0.0109794232994318,
0.004789282567799091,
0.07104576379060745,
0.010415978729724884,
-0.005525896325707436,
0.02166937105357647,
-0.011475668288767338,
0.01648981124162674,
-0.04548913612961769,
0.00817770604044199,
-0.04755682498216629,
0.07753830403089523,
-0.04639891907572746,
0.040278561413288116,
0.012716281227767467,
0.011641083285212517,
-0.028182588517665863,
-0.05512456223368645,
-0.01514581497758627,
-0.0031713165808469057,
-0.02745889686048031,
0.05971483141183853,
0.035440173000097275,
-0.020242664963006973,
-0.0035590080078691244,
-0.01194089837372303,
0.02326149120926857,
-0.021080078557133675,
-0.029381847009062767,
-0.006554570980370045,
-0.0010693824151530862,
-0.03221457824110985,
0.0173789169639349,
0.0030395013745874166,
0.010478009469807148,
0.04610944166779518,
0.01338827982544899,
-0.04681245610117912,
-0.08775267750024796,
-0.0019655958749353886,
0.009464842267334461,
-0.004755682311952114,
0.03002282977104187,
0.013915540650486946,
0.003344485303387046,
-0.05549674853682518,
0.014752954244613647,
-0.04540643095970154,
-0.007531553506851196,
0.011723791249096394,
0.041850004345178604,
-0.0002883455599658191,
0.009857703000307083,
0.05375988781452179,
0.06099679693579674,
-0.0014499662211164832,
0.011982251890003681,
-0.021628016605973244,
0.023075398057699203,
-0.025639330968260765,
0.018888330087065697,
-0.03674281761050224,
0.03200780972838402,
-0.008032968267798424,
-0.06244418025016785,
0.00907198153436184,
0.0029955629725009203,
0.009237396530807018,
0.004282698966562748,
-0.01926051452755928,
-0.008353459648787975,
-0.07778642326593399,
0.05971483141183853,
-0.014587539248168468,
-0.04933503642678261,
-0.035440173000097275,
0.007288600318133831,
0.01703774929046631,
-0.004985712934285402,
-0.03566761687397957,
0.0033212238922715187,
-0.011672099120914936,
-0.04644027352333069,
-0.0747675970196724,
-0.04495153948664665,
-0.00038252229569479823,
0.0024527949281036854,
0.04195338860154152,
-0.013408957049250603,
-0.04557184502482414,
0.03370331600308418,
0.04466206207871437,
0.024605488404631615,
0.017627039924263954,
-0.010689946822822094,
0.056075699627399445,
-0.03244202584028244,
-0.011000100523233414,
-0.033372484147548676,
0.018588514998555183,
-0.02429533377289772,
0.011186191812157631,
0.004949528258293867,
0.0364326648414135,
0.015052768401801586,
-0.022331031039357185,
0.05942535400390625,
0.026652498170733452,
-0.006942262407392263,
-0.02987809292972088,
-0.041643235832452774,
-0.009743980132043362,
0.03417888283729553,
0.05863963067531586,
-0.02284795232117176,
-0.055041857063770294,
0.006942262407392263,
0.009687118232250214,
-0.009883549064397812,
0.025143086910247803,
-0.015983227640390396,
-0.033930759876966476,
-0.008953088894486427,
0.030622459948062897,
0.048011716455221176,
0.0606246143579483,
-0.031222090125083923,
0.017492640763521194,
0.07666987180709839,
0.026549113914370537,
-0.0021995031274855137,
-0.015611045062541962,
-0.057523079216480255,
-0.03663943335413933,
0.025349855422973633,
0.014060278423130512,
0.024481426924467087,
-0.06128627434372902,
-0.007407492492347956,
0.03180104121565819,
0.019653374329209328,
0.030973967164754868,
-0.03721838444471359,
0.0035202389117330313,
-0.008151859976351261,
-0.0053966655395925045,
-0.003577100345864892,
-0.02816191129386425,
0.06385020911693573,
-0.07385781407356262,
-0.059797536581754684,
-0.022599829360842705,
-0.023240813985466957,
0.022682538256049156,
-0.017161810770630836,
0.044207170605659485,
-0.03713567554950714,
-0.018381746485829353,
0.00048558361595496535,
0.04619215056300163,
0.01726519502699375,
-0.0009756903164088726,
-0.012705942615866661,
0.05591028556227684,
-0.0036598078440874815,
0.018050916492938995,
0.012540527619421482,
0.07394052296876907,
0.004212914500385523,
-0.026693852618336678,
0.02367502823472023,
0.000017496598957222886,
0.010405640117824078,
-0.04623350501060486,
0.05582757666707039,
-0.0030317476484924555,
0.019033068791031837,
0.02890627831220627,
0.014473816379904747,
-0.019270852208137512,
0.014773630537092686,
-0.03450971469283104,
-0.01128957699984312,
0.018392084166407585,
0.0448688305914402,
0.0031919933389872313,
0.09114369004964828,
-0.009294257499277592,
-0.025370532646775246,
-0.03494392707943916,
-0.0007359677110798657,
0.044827476143836975,
-0.016758611425757408,
0.005810203496366739,
0.03732176870107651,
-0.02152463234961033,
-0.03138750419020653,
0.00774866109713912,
-0.027934465557336807,
-0.033083006739616394,
-0.057936619967222214,
-0.012861019931733608,
0.05227115377783775,
0.025990838184952736,
0.004161222372204065,
-0.00014926123549230397,
-0.03967893496155739,
-0.02809987962245941,
0.009640595875680447,
0.03486122190952301,
-0.020046235993504524,
-0.033641282469034195,
0.013057449832558632,
-0.006818201392889023,
0.015838490799069405,
0.01028157863765955,
0.010229886509478092,
0.05479373410344124,
0.06385020911693573,
0.0017756271408870816,
0.007050815969705582,
-0.03353789821267128,
0.03541949763894081
] |
710,280
|
urllib3_future.util.timeout
|
__init__
| null |
def __init__(
self,
total: _TYPE_TIMEOUT_INTERNAL = None,
connect: _TYPE_TIMEOUT_INTERNAL = _DEFAULT_TIMEOUT,
read: _TYPE_TIMEOUT_INTERNAL = _DEFAULT_TIMEOUT,
) -> None:
self._connect = self._validate_timeout(connect, "connect")
self._read = self._validate_timeout(read, "read")
self.total = self._validate_timeout(total, "total")
self._start_connect: float | None = None
|
(self, total: '_TYPE_TIMEOUT_INTERNAL' = None, connect: '_TYPE_TIMEOUT_INTERNAL' = <_TYPE_DEFAULT.token: -1>, read: '_TYPE_TIMEOUT_INTERNAL' = <_TYPE_DEFAULT.token: -1>) -> 'None'
|
[
-0.0503312312066555,
-0.037397149950265884,
0.021923087537288666,
0.007444302085787058,
-0.012880039401352406,
0.012015365064144135,
-0.035901982337236404,
-0.008970992639660835,
-0.05263702571392059,
-0.06463437527418137,
0.012366638518869877,
0.1012389063835144,
0.021851031109690666,
0.035685814917087555,
-0.008043269626796246,
0.033686257898807526,
0.008673761039972305,
0.029867280274629593,
-0.030785994604229927,
-0.021977130323648453,
-0.027273258194327354,
0.07407373189926147,
0.00452152406796813,
0.013141242787241936,
-0.002062607556581497,
0.06892172247171402,
-0.01306017953902483,
-0.012816989794373512,
0.04107201099395752,
-0.03446086123585701,
-0.011646077036857605,
0.06056320294737816,
-0.03514539450407028,
0.04154037684202194,
-0.004701664671301842,
0.006737251300364733,
-0.03377632796764374,
-0.010177932679653168,
-0.08358515053987503,
0.09280833601951599,
-0.001142202760092914,
-0.035541702061891556,
-0.03566779941320419,
-0.018068082630634308,
-0.010033820755779743,
0.012420681305229664,
-0.00978162419050932,
0.03815373778343201,
0.017284471541643143,
-0.03981103003025055,
-0.060995541512966156,
0.043125614523887634,
-0.019040841609239578,
0.02820998802781105,
-0.03356015682220459,
0.0511959046125412,
-0.025724049657583237,
0.06315722316503525,
-0.04471084848046303,
0.052492912858724594,
-0.06639975309371948,
0.027363328263163567,
-0.011889266781508923,
0.018320279195904732,
0.004152236506342888,
-0.04308958351612091,
-0.06459835171699524,
-0.0201577115803957,
0.038730189204216,
0.019671332091093063,
0.11601042002439499,
0.08308075368404388,
-0.0199415422976017,
0.01732950657606125,
0.05609572306275368,
0.007340721786022186,
-0.038658130913972855,
-0.014159035868942738,
-0.017518654465675354,
0.014834562316536903,
0.021184511482715607,
0.018572475761175156,
0.02963309735059738,
0.01087147369980812,
0.06503068655729294,
0.014195064082741737,
-0.0051610227674245834,
-0.03258739784359932,
-0.05022314563393593,
0.02514760009944439,
-0.042765334248542786,
-0.00634544575586915,
-0.05112384632229805,
0.006503068841993809,
-0.0012947592185810208,
-0.04762912169098854,
-0.025039516389369965,
-0.0041860127821564674,
-0.023850589990615845,
-0.006237361580133438,
-0.035757869482040405,
-0.03363221511244774,
-0.005791514180600643,
-0.06690414994955063,
0.027705594897270203,
-0.06467040628194809,
-0.005179036874324083,
-0.03669460117816925,
0.01571725122630596,
0.04687253385782242,
0.03228116035461426,
-0.004422447178512812,
0.0012148218229413033,
0.0725245252251625,
-0.0060347034595906734,
0.09367301315069199,
-0.006210340652614832,
-0.04680047929286957,
-0.044530708342790604,
0.011402887292206287,
0.014636407606303692,
0.038586076349020004,
0.01365464273840189,
0.03289363905787468,
0.006890370510518551,
0.004345887340605259,
0.011808203533291817,
-0.02374250628054142,
0.047953374683856964,
0.011898273602128029,
0.05901399627327919,
-0.008628725074231625,
0.06618358194828033,
0.053177449852228165,
-0.05768095701932907,
0.0342266783118248,
-0.020644091069698334,
0.07133559882640839,
-0.05508693680167198,
-0.034857168793678284,
0.012474723160266876,
0.04615197330713272,
0.015438033267855644,
-0.04564758017659187,
0.02179698832333088,
0.03905443847179413,
-0.05663614347577095,
-0.04564758017659187,
-0.045215241611003876,
-0.0029340367764234543,
-0.02588617615401745,
-0.09280833601951599,
-0.030047420412302017,
0.018185174092650414,
0.031884852796792984,
-0.03118230402469635,
-0.007232637144625187,
-0.03736111894249916,
-0.07263261079788208,
-0.013087200932204723,
-0.03721700981259346,
-0.023652436211705208,
0.0459718331694603,
-0.031884852796792984,
-0.04741295427083969,
0.015005695633590221,
-0.02500348910689354,
-0.06394984573125839,
-0.004967371933162212,
0.019671332091093063,
0.001876837806776166,
-0.041180096566677094,
0.01295209489762783,
-0.02954302728176117,
-0.02410278655588627,
-0.02516561560332775,
0.03626226261258125,
-0.03991911560297012,
-0.030407700687646866,
-0.03909046947956085,
0.010295024141669273,
-0.02419285662472248,
-0.051087819039821625,
-0.03498326614499092,
0.011069628410041332,
0.021544791758060455,
0.004566559102386236,
0.03309179097414017,
0.0343707911670208,
0.01547406055033207,
0.0006220473442226648,
0.02253556437790394,
-0.010799417272210121,
0.01771680824458599,
0.03319987654685974,
-0.005899598356336355,
0.049538612365722656,
0.028822464868426323,
0.041936688125133514,
0.10023012012243271,
-0.043197669088840485,
0.05609572306275368,
0.016545895487070084,
-0.039486777037382126,
0.00003231620212318376,
-0.05386198312044144,
-0.03891032934188843,
0.04233299568295479,
-0.045503467321395874,
-0.012627842836081982,
-0.03134443238377571,
-0.01756368950009346,
0.014834562316536903,
0.0401713103055954,
-0.016942204907536507,
0.015762286260724068,
0.006480551324784756,
0.001124188769608736,
0.045719634741544724,
0.04935847222805023,
0.1019594669342041,
-0.016500860452651978,
-0.004390922375023365,
-0.09100693464279175,
0.05029520019888878,
0.01777985878288746,
-0.005422226153314114,
-0.054798711091279984,
-0.0339384526014328,
-0.015167822130024433,
-0.006867852993309498,
-0.006719237193465233,
-0.0056113735772669315,
0.055627357214689255,
-0.019707361236214638,
-0.01934707909822464,
0.005746479146182537,
0.03287562355399132,
-0.10188741236925125,
-0.05155618488788605,
-0.02657070942223072,
-0.014123007655143738,
-0.027147158980369568,
-0.015492075122892857,
-0.014330169185996056,
0.007520861923694611,
-0.003809969639405608,
0.039775002747774124,
-0.02246350795030594,
0.03883827105164528,
-0.011988343670964241,
-0.010195947252213955,
0.022013157606124878,
-0.02909267507493496,
0.004519272595643997,
0.0398830845952034,
-0.04020733758807182,
-0.037685371935367584,
-0.03029961697757244,
0.0018599496688693762,
0.03862210363149643,
-0.00453953817486763,
-0.05397006496787071,
0.05447445809841156,
-0.014681443572044373,
0.0016347741475328803,
0.014014923945069313,
-0.011213740333914757,
-0.02350832335650921,
-0.011952316388487816,
0.10577844828367233,
0.013663649559020996,
0.015645194798707962,
0.022787760943174362,
-0.03644240275025368,
-0.025615965947508812,
-0.011051613837480545,
-0.04190065711736679,
-0.05043931305408478,
-0.04413440078496933,
0.026210429146885872,
0.024156829342246056,
0.01116870529949665,
-0.040675703436136246,
-0.07882944494485855,
-0.011411895044147968,
0.0036320809740573168,
0.036064110696315765,
-0.1129840612411499,
-0.010826438665390015,
-0.04042350873351097,
-0.0517723523080349,
0.021454721689224243,
-0.0004922899533994496,
0.049538612365722656,
0.0036433397326618433,
-0.07882944494485855,
0.008268444798886776,
-0.012213519774377346,
0.007174091879278421,
-0.035235464572906494,
-0.0629410594701767,
-0.022643649950623512,
0.01601448282599449,
0.02730928547680378,
-0.03937869146466255,
-0.004032893572002649,
0.009835666045546532,
0.04182860255241394,
-0.008984502404928207,
0.0015717250062152743,
0.024354983121156693,
0.032713498920202255,
-0.010286017321050167,
0.010024813935160637,
0.040963929146528244,
-0.027939777821302414,
-0.036496445536613464,
0.014978675171732903,
0.05908605456352234,
-0.02024778164923191,
0.023580379784107208,
-0.0057149543426930904,
-0.03446086123585701,
0.009619497694075108,
0.023256126791238785,
0.0315425843000412,
0.0006879111751914024,
0.00047033533337526023,
-0.015158815309405327,
-0.06005880981683731,
0.018554462119936943,
-0.014492295682430267,
-0.06614755839109421,
-0.03736111894249916,
-0.004048655740916729,
-0.005705947522073984,
0.004607090726494789,
0.01792396977543831,
0.0015559627208858728,
0.004386418964713812,
0.029074661433696747,
0.020716147497296333,
0.01674405112862587,
0.06175213307142258,
-0.06603947281837463,
0.009137622080743313,
-0.04143229499459267,
0.04874599352478981,
-0.037541259080171585,
-0.023382224142551422,
0.01424910593777895,
-0.0333620049059391,
0.0501871183514595,
0.0572846494615078,
-0.0017034526681527495,
-0.002467923564836383,
-0.03455093130469322,
-0.0005559020210057497,
-0.041180096566677094,
-0.00002724975456658285,
0.09504207968711853,
-0.007102035451680422,
0.014402225613594055,
-0.007376749534159899,
0.024733277037739754,
0.000046512814151356,
-0.009682547301054,
-0.02352633699774742,
0.04182860255241394,
-0.041035983711481094,
-0.10916508734226227,
-0.015825334936380386,
-0.004381915554404259,
0.005350170191377401,
-0.016635967418551445,
-0.008444081991910934,
0.03826182335615158,
-0.004625104833394289,
-0.023328183218836784,
-0.01220451295375824,
-0.004424698650836945,
-0.0004748388601001352,
-0.01585235632956028,
-0.001846439205110073,
-0.02635454200208187,
-0.03202896565198898,
0.020355865359306335,
0.014195064082741737,
0.0719480812549591,
-0.038081683218479156,
0.005814031697809696,
-0.042621221393346786,
-0.04301752895116806,
0.003406905336305499,
0.03483915328979492,
0.05278113856911659,
0.011718133464455605,
-0.01958126202225685,
-0.05832946300506592,
0.01213245652616024,
-0.036730628460645676,
-0.0078496178612113,
0.055267076939344406,
0.024372996762394905,
0.01067331898957491,
0.08985403180122375,
-0.062256526201963425,
-0.0013240319676697254,
-0.030767980962991714,
-0.013735705986618996,
0.0002112427755491808,
-0.01851843297481537,
0.06834527105093002,
-0.05137604475021362,
-0.015879377722740173,
-0.03145251423120499,
-0.017230430617928505,
0.055483244359493256,
0.022715704515576363,
0.004233299754559994,
-0.008074793964624405,
0.030533798038959503,
-0.002956554526463151,
0.08207196742296219,
0.0028259526006877422,
0.0038662634324282408,
-0.01793297752737999,
0.011123670265078545,
-0.015429025515913963,
0.034857168793678284,
0.05789712816476822,
-0.05173632502555847,
-0.01958126202225685,
0.028714381158351898,
0.025633979588747025,
-0.03042571432888508,
-0.04607991501688957,
0.019707361236214638,
-0.004859287291765213,
0.02455313690006733,
-0.013681664131581783,
0.055267076939344406,
0.015726257115602493,
0.008835886605083942,
-0.06676003336906433,
0.01703227497637272,
-0.017527662217617035,
-0.056456003338098526,
-0.0079577025026083,
-0.00039968654164113104,
0.001944390474818647,
0.035919997841119766,
-0.04053159058094025,
-0.006908384617418051,
-0.010258995927870274,
-0.047593094408512115,
0.04121612384915352,
-0.009592476300895214,
-0.026318512856960297,
0.0394507497549057,
0.03145251423120499,
-0.0199415422976017,
-0.02426491305232048,
-0.06268886476755142,
0.041864629834890366,
0.017987020313739777,
-0.0072821760550141335,
-0.02350832335650921,
0.020824231207370758,
-0.03287562355399132,
0.02478731982409954,
-0.04589977487921715,
0.002988079097121954,
0.04013528302311897,
-0.044098369777202606,
0.008097311481833458,
-0.035307519137859344,
-0.04503510147333145,
-0.02060806192457676,
0.01037608738988638,
-0.016104552894830704,
0.06355353444814682,
-0.00948439259082079,
-0.016410790383815765,
0.024138813838362694,
-0.022157270461320877,
-0.023256126791238785,
0.012934081256389618,
0.002679588505998254,
-0.047881320118904114,
0.08401748538017273,
0.024661222472786903,
0.022157270461320877,
0.010213960893452168,
0.017734823748469353,
-0.01094353012740612,
0.030785994604229927,
0.005381694529205561,
0.024427039548754692,
0.00034902204060927033,
-0.015663208439946175,
0.02635454200208187,
0.02024778164923191,
0.03572184219956398,
-0.025958232581615448,
-0.06005880981683731,
-0.006885867100208998,
0.002512958599254489,
0.0013409201055765152,
0.03869415819644928,
0.04085584357380867,
-0.025940218940377235,
0.008322486653923988,
-0.027597511187195778,
-0.008993510156869888,
-0.026696808636188507,
0.01920296810567379,
-0.034713055938482285,
-0.047953374683856964,
0.030695924535393715,
0.0806308463215828,
0.0036793677136301994,
-0.0011799196945503354,
-0.04330575466156006,
0.0014073469210416079,
0.008372025564312935,
-0.018347300589084625,
0.02844417095184326,
-0.009682547301054,
0.01451030932366848,
-0.04503510147333145,
-0.05469062924385071,
-0.025724049657583237,
0.008340501226484776,
0.020031612366437912,
-0.028858494013547897,
-0.03013749048113823,
-0.08055879175662994,
-0.05029520019888878,
0.03175875544548035,
0.026300499215722084,
0.02345428057014942,
-0.04690856114029884,
-0.00487279798835516,
0.020427921786904335,
0.02367044985294342,
0.05811329558491707,
0.0167530570179224,
0.015465053729712963,
0.07695598155260086,
-0.05144809931516647,
-0.027813678607344627,
-0.044170428067445755,
0.01544704008847475,
-0.007971213199198246,
0.039414722472429276,
-0.08027056604623795,
0.057644929736852646,
0.01614958792924881,
0.013231312856078148,
-0.011691112071275711,
-0.04986286535859108,
0.029939334839582443,
0.01123175397515297,
-0.06067128852009773,
0.03855004534125328,
-0.00518804369494319,
-0.020301824435591698,
0.01778886467218399,
-0.016113558784127235,
0.029903307557106018,
-0.026840921491384506,
0.003605059813708067,
-0.011700119823217392,
-0.028318071737885475,
-0.037613317370414734,
0.07328111678361893,
0.0009265972184948623,
-0.013348404318094254,
0.025345755741000175,
0.028264028951525688,
-0.0395948626101017,
-0.031578611582517624,
-0.015654200688004494,
0.010367080569267273,
-0.02381456084549427,
-0.038874298334121704,
0.02844417095184326,
-0.03318186476826668,
-0.026102345436811447,
-0.0337943397462368,
-0.03555971756577492,
0.009700560942292213,
-0.026660779491066933,
0.02284180372953415,
0.023039957508444786,
-0.010655305348336697,
0.0397389754652977,
0.03134443238377571,
-0.03721700981259346,
0.06189624220132828,
-0.030245574191212654,
0.013276347890496254,
-0.010177932679653168,
0.01608653925359249,
-0.0630851686000824,
0.08012644946575165,
-0.02165287733078003,
-0.015338955447077751,
0.02574206329882145,
0.039270609617233276,
0.02336421050131321,
0.01216848473995924,
0.0006535719148814678,
-0.031164290383458138,
-0.054438430815935135,
0.01727546565234661,
0.007966709323227406,
0.009394322521984577,
-0.05350169911980629,
-0.017320500686764717,
-0.007120049558579922,
0.026624752208590508,
-0.04435056820511818,
0.022265354171395302,
-0.007507351227104664,
-0.07472223788499832,
-0.028318071737885475,
-0.026768865063786507,
0.009011523798108101,
-0.03811771050095558,
0.012862024828791618,
0.0011697867885231972,
-0.029651110991835594,
-0.01521285716444254,
0.03696481138467789,
0.02062607742846012,
0.05368184298276901,
0.028786437585949898,
0.007827100344002247,
0.05818535014986992,
0.010664312168955803,
-0.047304872423410416,
0.033668242394924164,
-0.028714381158351898,
-0.033452074974775314,
0.009182657115161419,
0.05775301530957222,
0.03474908322095871,
-0.014573358930647373,
0.07623542100191116,
0.04622402787208557,
0.030245574191212654,
-0.015248885378241539,
-0.051159877330064774,
0.0015649697743356228,
0.0315425843000412,
0.07043489813804626,
0.012339618057012558,
-0.07515458017587662,
0.03065989725291729,
0.05487076938152313,
-0.012979116290807724,
0.020121684297919273,
0.0012170736445114017,
0.00881787296384573,
-0.0285702683031559,
-0.02165287733078003,
0.02635454200208187,
0.0787573829293251,
0.0224094670265913,
0.04712472856044769,
0.05886988341808319,
0.039702944457530975,
0.0398830845952034,
-0.01860850490629673,
-0.08689973503351212,
0.04316164180636406,
0.020373880863189697,
0.012907059863209724,
0.022715704515576363,
-0.04903421923518181,
-0.05768095701932907,
-0.021598834544420242,
0.06272488832473755,
-0.0126188350841403,
0.013150249607861042,
-0.035523686558008194,
-0.03527149185538292,
0.009880701079964638,
0.00825943797826767,
-0.02493143267929554,
0.04680047929286957,
-0.07003858685493469,
-0.014447260648012161,
-0.03489319607615471,
-0.08027056604623795,
0.002789924619719386,
-0.013834782876074314,
0.020337851718068123,
0.016176609322428703,
-0.021472737193107605,
0.019094882532954216,
0.01004282757639885,
0.012483729980885983,
-0.012006358243525028,
0.013825776055455208,
0.04150434955954552,
0.016617951914668083,
0.03923458233475685,
0.019527219235897064,
0.03328994661569595,
0.004332376644015312,
-0.026534682139754295,
0.06200432777404785,
0.07645159214735031,
0.018626518547534943,
-0.06964228302240372,
0.005922115873545408,
0.0010887235403060913,
-0.007939688861370087,
0.006485054735094309,
0.03462298586964607,
0.013420460745692253,
0.0126908915117383,
-0.007484833709895611,
-0.03274952620267868,
0.036064110696315765,
0.01652788184583187,
-0.016347741708159447,
0.04042350873351097,
0.012555786408483982,
-0.006187823135405779,
-0.033974479883909225,
-0.01920296810567379,
0.0339384526014328,
0.007205616217106581,
0.06621961295604706,
0.052132632583379745,
-0.012141463346779346,
0.01868055947124958,
0.04384617507457733,
-0.007322707679122686,
-0.0793338343501091,
-0.028552254661917686,
-0.014807541854679585,
0.04780926555395126,
0.043053556233644485,
0.01548306830227375,
-0.03361419960856438,
-0.019293038174510002,
-0.002467923564836383,
0.06074334681034088,
-0.004435957409441471,
0.001557088689878583,
-0.04845776781439781,
0.0074307918548583984,
-0.009844672866165638,
-0.011655083857476711,
-0.009173650294542313,
-0.019329065456986427,
0.06182418763637543,
0.07032681256532669,
-0.004733189009130001,
0.035469647496938705,
0.005570841953158379,
0.0363343209028244
] |
710,285
|
urllib3_future.util.timeout
|
resolve_default_timeout
| null |
@staticmethod
def resolve_default_timeout(timeout: _TYPE_TIMEOUT_INTERNAL) -> float | None:
return getdefaulttimeout() if timeout is _DEFAULT_TIMEOUT else timeout
|
(timeout: '_TYPE_TIMEOUT_INTERNAL') -> 'float | None'
|
[
0.035711925476789474,
-0.018688714131712914,
0.027401933446526527,
0.02975117228925228,
-0.01184261403977871,
-0.018162766471505165,
0.008901683613657951,
-0.020108776167035103,
-0.0167777668684721,
-0.03543141856789589,
0.03376591578125954,
0.009361889213323593,
-0.041094135493040085,
-0.036045026034116745,
0.05168323963880539,
0.06770714372396469,
-0.0011253113625571132,
0.04375894367694855,
0.026314973831176758,
-0.013245144858956337,
0.02931288070976734,
-0.00016778316057752818,
-0.03409901633858681,
-0.06704094260931015,
-0.006749676540493965,
0.03618527948856354,
0.016655046492815018,
0.0006525052594952285,
-0.008095229044556618,
-0.027138959616422653,
-0.017733240500092506,
0.0001166264119092375,
-0.035063255578279495,
0.0932682603597641,
0.020056182518601418,
0.03094332292675972,
-0.05340133607387543,
0.05410260334610939,
-0.09018269181251526,
-0.025192948058247566,
-0.04249666631221771,
-0.028015540912747383,
-0.024439089000225067,
-0.03709692507982254,
-0.0333276242017746,
-0.028576552867889404,
0.021353522315621376,
0.02566630207002163,
0.012202013283967972,
0.009081383235752583,
0.03018946200609207,
-0.03502819314599037,
-0.004415778908878565,
0.046248432248830795,
-0.049544379115104675,
0.03294192999601364,
-0.03565933182835579,
0.03281920775771141,
-0.003657535882666707,
0.01316625252366066,
-0.00488694105297327,
-0.0009883454767987132,
-0.044810838997364044,
0.015024605207145214,
0.0031206298153847456,
0.004157187417149544,
0.03196015581488609,
-0.02095029503107071,
0.0059256902895867825,
0.025280607864260674,
0.03267895430326462,
0.016374539583921432,
-0.04621336981654167,
-0.011115051805973053,
0.12777049839496613,
-0.014901883900165558,
-0.045161474496126175,
-0.05157804861664772,
-0.00943201594054699,
0.04200578108429909,
-0.016321945935487747,
0.007950592786073685,
-0.007608726620674133,
0.007415878586471081,
0.030873196199536324,
-0.003519474295899272,
0.021476244553923607,
0.013534416444599628,
0.014638909138739109,
-0.05697778984904289,
-0.04940412566065788,
-0.03522104024887085,
-0.0029979082755744457,
0.00999302789568901,
-0.03716704994440079,
-0.003214862197637558,
0.015384003520011902,
-0.015094731003046036,
-0.007367666345089674,
-0.06584879010915756,
0.015366471372544765,
0.023965734988451004,
0.012578942812979221,
-0.030785538256168365,
0.08583484590053558,
-0.024631936103105545,
0.0010721685830503702,
-0.024614404886960983,
0.05785437300801277,
0.013385397382080555,
-0.025824086740612984,
-0.09088395535945892,
-0.03394123166799545,
0.037587810307741165,
-0.0011713318526744843,
0.03162705525755882,
-0.01909194327890873,
0.03288933262228966,
0.028453832492232323,
0.026858452707529068,
-0.039446163922548294,
0.037342365831136703,
-0.029330413788557053,
-0.07496523857116699,
0.027822693809866905,
0.00215200730599463,
-0.025981871411204338,
0.04070843756198883,
0.03180237114429474,
0.06528778374195099,
0.0654630959033966,
0.036430723965168,
0.013201315887272358,
0.04593286290764809,
-0.009589800611138344,
0.03832413628697395,
-0.0028028690721839666,
0.11332444101572037,
0.004098018165677786,
-0.015050902031362057,
-0.05550513416528702,
-0.00040267957956530154,
0.008108377456665039,
-0.08590497821569443,
0.06623449176549911,
0.03622034192085266,
0.017067039385437965,
-0.01699691265821457,
-0.08835940062999725,
-0.0055838231928646564,
0.0037692999467253685,
-0.023632634431123734,
-0.03755274787545204,
0.020161371678113937,
0.05024564638733864,
-0.01633947715163231,
0.0037320451810956,
-0.03281920775771141,
-0.03895527496933937,
-0.043829068541526794,
-0.02557864412665367,
-0.0077314479276537895,
0.03716704994440079,
-0.07699891179800034,
0.026735732331871986,
-0.011956569738686085,
-0.008187269791960716,
0.0018693098099902272,
0.0690746158361435,
0.05091184750199318,
-0.04530172422528267,
0.01842574030160904,
-0.020652256906032562,
-0.019600359722971916,
0.03322243317961693,
0.038464389741420746,
-0.010703058913350105,
-0.026630543172359467,
0.00888853520154953,
0.012088057585060596,
0.003425241680815816,
-0.02336965873837471,
-0.030873196199536324,
-0.013937643729150295,
-0.016935551539063454,
0.08324016630649567,
0.0036816417705267668,
0.013858751393854618,
-0.06739157438278198,
-0.01877637393772602,
-0.006460404954850674,
0.025876682251691818,
0.03257376328110695,
0.008586114272475243,
0.018215361982584,
-0.006723379250615835,
0.024719594046473503,
0.035606734454631805,
0.04533679038286209,
0.05150792375206947,
-0.008415181189775467,
0.04901843145489693,
-0.0022550055291503668,
0.011930272914469242,
-0.04666919261217117,
-0.06995119154453278,
0.004566988907754421,
0.00741149578243494,
-0.1194254457950592,
-0.03366072475910187,
-0.05816994234919548,
-0.011176412925124168,
-0.047791216522455215,
0.007915529422461987,
-0.060519177466630936,
0.014200618490576744,
-0.03185496851801872,
0.03313477709889412,
0.020582130178809166,
0.06325411051511765,
0.02194959856569767,
-0.04772109165787697,
0.01699691265821457,
-0.04060325026512146,
0.08401156216859818,
0.025157885625958443,
0.00011299682228127494,
-0.016637515276670456,
0.02512282319366932,
-0.062272340059280396,
0.019915929064154625,
-0.01765434816479683,
-0.0340113565325737,
0.0019514892483130097,
0.054137665778398514,
-0.06528778374195099,
0.04828210175037384,
-0.010781951248645782,
-0.00981771107763052,
-0.02215997688472271,
0.0026757647283375263,
-0.05343640223145485,
-0.028015540912747383,
0.08064548671245575,
0.017496563494205475,
-0.02335212752223015,
-0.02159896492958069,
0.0009593087597750127,
0.015217453241348267,
0.024544278159737587,
-0.008967427536845207,
0.011535811237990856,
0.020319156348705292,
0.023790419101715088,
0.04754577577114105,
0.02678832784295082,
-0.06626955419778824,
0.00663572084158659,
0.006245642434805632,
0.002364578191190958,
0.016102800145745277,
-0.027016237378120422,
-0.04782627895474434,
-0.010282299481332302,
-0.04151489585638046,
0.0061404528096318245,
-0.032976992428302765,
-0.01724235527217388,
0.009379420429468155,
-0.024298835545778275,
0.07489511370658875,
-0.03073294274508953,
-0.03951628878712654,
-0.04884311556816101,
-0.009274231269955635,
0.004821197595447302,
0.0004171979380771518,
0.010282299481332302,
-0.002016137121245265,
-0.012202013283967972,
-0.002805060474202037,
0.039656542241573334,
0.011684829369187355,
-0.007380815222859383,
-0.10126268118619919,
0.05929196625947952,
-0.0489833690226078,
0.05988803878426552,
-0.05024564638733864,
0.018793905153870583,
-0.019425043836236,
-0.021335991099476814,
0.04004223644733429,
0.002927781781181693,
-0.014560016803443432,
0.0022944516967982054,
-0.04431995376944542,
-0.009107680991292,
0.05813487619161606,
-0.03018946200609207,
-0.043092742562294006,
-0.0005128001212142408,
-0.034186672419309616,
0.018899094313383102,
0.03311724588274956,
0.02843629941344261,
-0.024965038523077965,
-0.035939835011959076,
0.033082179725170135,
0.008515988476574421,
-0.042181096971035004,
-0.03387110307812691,
0.02435143105685711,
-0.06300866603851318,
0.062061961740255356,
0.04365375265479088,
-0.006705847568809986,
-0.015541788190603256,
0.04193565249443054,
0.015489192679524422,
-0.01622552052140236,
0.044074513018131256,
-0.012114354409277439,
-0.013324037194252014,
-0.009081383235752583,
-0.03458990156650543,
-0.004856260959059,
0.050631340593099594,
-0.005461101885885,
-0.01734754629433155,
-0.04326805844902992,
-0.03853451833128929,
0.02708636410534382,
-0.06427094340324402,
-0.042952489107847214,
-0.001775077311322093,
0.044495269656181335,
0.027840225026011467,
0.06830321997404099,
0.045266661792993546,
0.004157187417149544,
0.004374140873551369,
-0.02193206548690796,
0.027489591389894485,
0.03927084431052208,
0.0057284594513475895,
0.026577947661280632,
0.018022513017058372,
0.09691483527421951,
-0.07124853134155273,
-0.014384700916707516,
-0.030873196199536324,
-0.008454627357423306,
0.04340830817818642,
0.024000797420740128,
-0.0016731746727600694,
0.04817691445350647,
-0.0013981473166495562,
0.03737742826342583,
-0.010527742095291615,
-0.06739157438278198,
0.0636398047208786,
-0.008502839133143425,
0.026087062433362007,
0.0597127228975296,
0.029383007436990738,
0.04256679117679596,
0.02163402922451496,
0.008901683613657951,
-0.01086084358394146,
-0.0634995549917221,
-0.05988803878426552,
0.03576451912522316,
-0.015384003520011902,
0.022633330896496773,
0.011544576846063137,
-0.036430723965168,
0.011641000397503376,
-0.0432329922914505,
-0.03986692056059837,
0.01065046340227127,
-0.01349935308098793,
-0.04533679038286209,
0.002336089266464114,
0.010606634430587292,
-0.027156490832567215,
-0.031223827973008156,
0.010299831628799438,
0.009195338934659958,
0.011903975158929825,
-0.012649069540202618,
-0.02040681429207325,
0.0011548959882929921,
0.03536129370331764,
0.00834067165851593,
0.05420779436826706,
-0.026753263548016548,
0.0003955573483835906,
-0.009922901168465614,
-0.017969917505979538,
0.017926089465618134,
-0.010185875929892063,
0.024176115170121193,
0.02622731402516365,
0.0010529933497309685,
0.03238091617822647,
0.06633967906236649,
-0.013727264478802681,
-0.02975117228925228,
-0.02336965873837471,
-0.04919374734163284,
-0.002443470526486635,
0.0024281304795295,
0.014244447462260723,
-0.006631338037550449,
0.05736348405480385,
-0.027401933446526527,
0.04319792985916138,
0.030259588733315468,
-0.0432329922914505,
-0.026946112513542175,
-0.06381512433290482,
0.007893615402281284,
0.030575158074498177,
0.04298755154013634,
0.01734754629433155,
0.009905369952321053,
0.03576451912522316,
-0.04663413017988205,
-0.007512302603572607,
0.02620978280901909,
0.025736428797245026,
-0.0031513101421296597,
-0.019162068143486977,
0.0627281665802002,
0.05529475212097168,
-0.003519474295899272,
0.002081880811601877,
-0.00488694105297327,
0.01312242355197668,
0.030259588733315468,
0.04018248990178108,
0.009309294633567333,
0.02964598312973976,
0.03969160467386246,
-0.06097500026226044,
-0.022563204169273376,
0.05066640302538872,
-0.042075905948877335,
-0.01777707040309906,
-0.022896306589245796,
-0.04417970031499863,
0.05669728294014931,
-0.004917621612548828,
0.022107383236289024,
-0.03369578719139099,
-0.10575077682733536,
0.06420081853866577,
0.010028091259300709,
-0.0680227130651474,
0.02975117228925228,
0.05192868039011955,
0.05354158952832222,
-0.03972666710615158,
-0.06188664585351944,
0.08099611848592758,
0.004203207790851593,
-0.0650072768330574,
-0.05792449787259102,
0.01996852457523346,
-0.016164161264896393,
0.015050902031362057,
-0.04256679117679596,
-0.04803666099905968,
-0.001654547406360507,
-0.051087163388729095,
-0.008853471837937832,
0.05136767029762268,
0.009151509962975979,
0.0025289373006671667,
0.017093336209654808,
0.01680406555533409,
0.06563841551542282,
0.017514096572995186,
-0.026577947661280632,
0.014226916246116161,
-0.0281908567994833,
-0.004159378819167614,
-0.014069131575524807,
-0.03664110228419304,
-0.08141687512397766,
0.07931308448314667,
0.043934259563684464,
0.004323737695813179,
0.029330413788557053,
-0.024158582091331482,
0.03832413628697395,
0.013183783739805222,
0.03302958607673645,
0.020056182518601418,
0.02656041644513607,
-0.003059268929064274,
0.004474948160350323,
0.016216754913330078,
0.054909057915210724,
-0.08099611848592758,
-0.07594700902700424,
-0.011667298153042793,
-0.005198127590119839,
0.029120033606886864,
0.02326446957886219,
0.05648690462112427,
0.0028642297256737947,
-0.021967129781842232,
0.01354318205267191,
-0.005303317215293646,
0.005610120948404074,
-0.05466361343860626,
0.040568187832832336,
-0.031206296756863594,
-0.030768007040023804,
0.05182349309325218,
0.00977388210594654,
-0.01975814439356327,
0.03152186796069145,
0.00866062380373478,
-0.016190458089113235,
0.04645881429314613,
0.007174818776547909,
-0.021108079701662064,
0.024281304329633713,
-0.04298755154013634,
-0.03525610268115997,
0.021265864372253418,
0.02556111291050911,
0.004540691617876291,
-0.07230043411254883,
-0.018250424414873123,
-0.12580695748329163,
-0.04617830738425255,
-0.01497200969606638,
-0.016146628186106682,
0.003471262287348509,
-0.006350832059979439,
0.03138161450624466,
-0.014910649508237839,
-0.041269451379776,
0.10652217268943787,
0.0008387787966057658,
0.019600359722971916,
-0.012219544500112534,
-0.005522462539374828,
0.027138959616422653,
-0.030242057517170906,
-0.054593488574028015,
-0.007341369055211544,
-0.00035720691084861755,
-0.024333899840712547,
0.03039984218776226,
0.004694093484431505,
0.021476244553923607,
-0.007792808581143618,
0.03716704994440079,
0.003598366631194949,
-0.03737742826342583,
-0.0875178873538971,
-0.0032367766834795475,
0.03772806376218796,
-0.02247554622590542,
0.031451739370822906,
-0.024526746943593025,
-0.01196533627808094,
0.03916565701365471,
-0.05915171280503273,
-0.04687957093119621,
0.005811734590679407,
-0.0071485210210084915,
-0.0034318161197006702,
-0.0335555337369442,
-0.021423649042844772,
0.03073294274508953,
0.020897699519991875,
0.007893615402281284,
-0.0835907980799675,
0.00005232095281826332,
-0.0572933591902256,
0.0077095334418118,
-0.005277019925415516,
-0.006569977384060621,
0.02084510587155819,
-0.041094135493040085,
0.03664110228419304,
-0.02207231894135475,
0.01009821705520153,
-0.009063851088285446,
0.03487040847539902,
-0.0244916845113039,
0.01312242355197668,
0.05901145935058594,
0.008051400072872639,
0.013946409337222576,
0.014463593252003193,
-0.012105588801205158,
0.04652893915772438,
0.01974061317741871,
0.017926089465618134,
-0.0335555337369442,
0.0020435303449630737,
0.0002922851126641035,
-0.05669728294014931,
0.012403626926243305,
-0.011176412925124168,
0.017926089465618134,
0.025052696466445923,
-0.009756350889801979,
-0.006591891869902611,
-0.05354158952832222,
-0.00628508860245347,
-0.02349238097667694,
-0.012587708421051502,
-0.09116446226835251,
0.07945333421230316,
0.0032981373369693756,
-0.05378703400492668,
0.034502241760492325,
-0.024719594046473503,
-0.025385797023773193,
-0.07461460679769516,
-0.026753263548016548,
-0.012359797023236752,
-0.009914135560393333,
0.02620978280901909,
0.023019026964902878,
-0.013420460745692253,
-0.05992310494184494,
0.008853471837937832,
0.019670486450195312,
-0.008187269791960716,
-0.018478335812687874,
-0.01768064685165882,
0.018899094313383102,
0.019565297290682793,
-0.010194641537964344,
0.0160239078104496,
0.03821894899010658,
-0.034063953906297684,
-0.02883952669799328,
0.050631340593099594,
0.004409204237163067,
0.023334596306085587,
-0.07093296200037003,
0.002513597020879388,
0.0298563614487648,
-0.007893615402281284,
-0.0025508517865091562,
-0.0693901851773262,
0.029803767800331116,
0.014884351752698421,
0.025964340195059776,
-0.00040514496504329145,
-0.038359202444553375,
-0.012973404489457607,
-0.027735034003853798,
0.0597127228975296,
-0.019021816551685333,
-0.0666552484035492,
-0.031995221972465515,
-0.029908956959843636,
-0.004970216657966375,
-0.019705548882484436,
0.06963562220335007,
-0.04751070961356163,
0.05617133527994156,
0.04596792906522751,
0.013139954768121243,
-0.016269350424408913,
0.011825082823634148,
0.019127005711197853,
-0.002362386789172888,
0.03807869553565979,
0.076788529753685,
-0.016926785930991173,
-0.051858555525541306,
0.005447953473776579,
-0.02876940183341503,
0.03267895430326462,
0.03301205486059189,
-0.026928579434752464,
0.03870983421802521,
-0.010387489572167397,
0.01487558614462614,
-0.0704420804977417,
-0.019793206825852394,
0.07833131402730942,
-0.043057676404714584,
-0.05266501009464264,
-0.048317164182662964,
0.012868214398622513,
0.024509215727448463,
-0.0068899295292794704,
0.038885150104761124,
-0.017803367227315903,
-0.04495109245181084,
-0.003032971639186144,
0.04344337433576584,
0.02072238363325596,
0.009651160798966885,
0.021037952974438667,
-0.012903277762234211,
-0.012955873273313046,
0.015603148378431797,
-0.04453033581376076,
0.04333818331360817,
0.032328322529792786,
-0.028892122209072113,
0.023457318544387817,
-0.031556930392980576,
0.029575856402516365,
-0.0451965369284153,
0.03737742826342583,
-0.012982170097529888,
0.018303019925951958,
0.01798745058476925,
-0.0035238570999354124,
-0.00949337612837553,
0.04884311556816101,
-0.03608008846640587,
-0.03522104024887085,
0.0509469099342823,
0.05873095244169235,
0.016935551539063454,
0.06791752576828003,
0.03972666710615158,
-0.04765096306800842,
-0.002213367959484458,
-0.011500747874379158,
0.014130491763353348,
0.01370973326265812,
-0.03224066272377968,
-0.004869409371167421,
-0.04070843756198883,
0.03622034192085266,
0.019162068143486977,
0.01789979264140129,
0.00806454848498106,
-0.026385098695755005,
-0.03772806376218796,
0.02170415408909321,
0.004702859092503786,
0.004041040316224098,
0.0035260485019534826,
-0.01578723080456257,
0.028699275106191635,
-0.0008152207010425627,
0.05266501009464264,
-0.02941807173192501,
-0.030785538256168365,
0.025613708421587944,
0.011877677403390408,
0.08106624335050583,
-0.0072317966260015965,
0.0070608630776405334,
0.029277818277478218,
0.03678135573863983,
-0.03150433301925659,
-0.0178734939545393,
-0.03082060068845749,
-0.003387987148016691
] |
710,294
|
urllib3_future._async.connectionpool
|
connection_from_url
|
Given a url, return an :class:`.ConnectionPool` instance of its host.
This is a shortcut for not having to parse out the scheme, host, and port
of the url before creating an :class:`.ConnectionPool` instance.
:param url:
Absolute URL string that must include the scheme. Port is optional.
:param kw:
Passes additional parameters to the constructor of the appropriate
:class:`.ConnectionPool`. Useful for specifying things like
timeout, maxsize, headers, etc.
Example::
>>> conn = connection_from_url('http://google.com/')
>>> r = conn.request('GET', '/')
|
def connection_from_url(url: str, **kw: typing.Any) -> AsyncHTTPConnectionPool:
"""
Given a url, return an :class:`.ConnectionPool` instance of its host.
This is a shortcut for not having to parse out the scheme, host, and port
of the url before creating an :class:`.ConnectionPool` instance.
:param url:
Absolute URL string that must include the scheme. Port is optional.
:param kw:
Passes additional parameters to the constructor of the appropriate
:class:`.ConnectionPool`. Useful for specifying things like
timeout, maxsize, headers, etc.
Example::
>>> conn = connection_from_url('http://google.com/')
>>> r = conn.request('GET', '/')
"""
scheme, _, host, port, *_ = parse_url(url)
scheme = scheme or "http"
port = port or port_by_scheme.get(scheme, 80)
if scheme == "https":
return AsyncHTTPSConnectionPool(host, port=port, **kw) # type: ignore[arg-type]
else:
return AsyncHTTPConnectionPool(host, port=port, **kw) # type: ignore[arg-type]
|
(url: str, **kw: Any) -> urllib3_future._async.connectionpool.AsyncHTTPConnectionPool
|
[
0.014044095762073994,
-0.05128820985555649,
-0.032412342727184296,
-0.015313140116631985,
-0.024910878390073776,
0.04075983911752701,
0.021977975964546204,
-0.028990622609853745,
-0.012812651693820953,
-0.059861309826374054,
0.0381089448928833,
0.05373229458928108,
0.02455366589128971,
0.0381089448928833,
-0.02265479974448681,
-0.04162466898560524,
0.03936858847737312,
-0.010048954747617245,
0.021677164360880852,
-0.01866905763745308,
0.009104221127927303,
0.05350668728351593,
0.03340877965092659,
0.011994822882115841,
0.0011873793555423617,
0.04395595192909241,
0.0020715980790555477,
-0.005668399855494499,
0.043655138462781906,
-0.04263990372419357,
0.05741722509264946,
0.08919034898281097,
-0.02263599820435047,
0.08106845617294312,
0.032506346702575684,
0.03030666895210743,
0.05493553727865219,
0.04760327935218811,
-0.03730051591992378,
-0.02351962961256504,
-0.017287209630012512,
-0.019834699109196663,
-0.018763061612844467,
0.02415885217487812,
0.05651479214429855,
0.011129993014037609,
-0.013630480505526066,
-0.012934856116771698,
-0.05286746472120285,
-0.08024123311042786,
0.028934219852089882,
0.036962103098630905,
0.06474948674440384,
0.014767920598387718,
-0.0094896350055933,
0.05046097934246063,
-0.02767457626760006,
0.05094979703426361,
-0.028934219852089882,
0.086107037961483,
-0.042151086032390594,
0.010058354586362839,
-0.02831379882991314,
0.011393201537430286,
-0.050912193953990936,
-0.020511522889137268,
-0.0315663143992424,
0.02017311193048954,
-0.005094979889690876,
-0.03730051591992378,
0.05726682022213936,
0.049972161650657654,
-0.0392557829618454,
-0.050423379987478256,
0.02551249973475933,
0.009433232247829437,
0.006147816777229309,
0.04463277384638786,
0.009785745292901993,
-0.017042800784111023,
-0.006932744290679693,
0.014514111913740635,
0.009325128979980946,
-0.0687728226184845,
0.028821416199207306,
-0.03690570220351219,
0.002625042572617531,
0.006035012658685446,
-0.04801689460873604,
0.05444671958684921,
0.014843123964965343,
-0.03604087233543396,
0.003252514638006687,
-0.0008466173894703388,
-0.010424967855215073,
-0.011994822882115841,
-0.015200336463749409,
0.000026732192054623738,
-0.019120274111628532,
-0.009043118916451931,
-0.009155922569334507,
-0.021357553079724312,
-0.07738352566957474,
-0.019035670906305313,
-0.063433438539505,
-0.04060943052172661,
0.02248559333384037,
-0.011186394840478897,
-0.005856406409293413,
-0.014269703067839146,
-0.024121250957250595,
0.01699579879641533,
0.04181267321109772,
0.04169987142086029,
0.022786403074860573,
-0.014655116945505142,
-0.03498803451657295,
-0.030908290296792984,
-0.003776583122089505,
-0.015519947744905949,
-0.12942376732826233,
0.05606357753276825,
0.01761622168123722,
-0.012925456278026104,
0.07437542080879211,
0.0230496134608984,
0.02034231834113598,
-0.059372495859861374,
0.027843782678246498,
-0.03660489246249199,
0.04117345064878464,
0.011929020285606384,
-0.006443927064538002,
0.03547685220837593,
-0.043655138462781906,
0.025136485695838928,
-0.03276955708861351,
0.02759937383234501,
-0.042376693338155746,
-0.0038823368959128857,
-0.0017766626551747322,
0.045798417180776596,
-0.016318975016474724,
0.014984128065407276,
0.04895692691206932,
-0.053957901895046234,
-0.028483005240559578,
-0.03237474337220192,
-0.03173552080988884,
0.04057183116674423,
-0.016864195466041565,
-0.026734542101621628,
0.07324738055467606,
0.010518970899283886,
-0.019270678982138634,
-0.03981980308890343,
0.0010722252773121,
-0.01793583296239376,
0.010669376701116562,
-0.028445404022932053,
0.0070972503162920475,
0.03594686836004257,
0.03182952105998993,
-0.00624182028695941,
-0.030645081773400307,
-0.0025427897926419973,
0.065426304936409,
-0.060951750725507736,
-0.0037413318641483784,
-0.021808769553899765,
-0.06629113852977753,
0.05486033484339714,
-0.039594195783138275,
0.004505109041929245,
0.038071341812610626,
0.01938348449766636,
0.020511522889137268,
0.03429241105914116,
0.03694330155849457,
-0.03737571835517883,
0.0196278914809227,
0.02647133357822895,
-0.003506323555484414,
0.025305692106485367,
0.019646693021059036,
0.03525124490261078,
-0.029385436326265335,
0.008450898341834545,
0.015096932649612427,
-0.025399696081876755,
-0.043504733592271805,
-0.017042800784111023,
0.05910928547382355,
-0.06881042569875717,
0.03397279977798462,
-0.08061724156141281,
-0.02957344241440296,
0.028370199725031853,
-0.03267555311322212,
0.08407656848430634,
-0.003311266889795661,
0.004042142536491156,
-0.004169046878814697,
0.04211348667740822,
0.03395399823784828,
-0.06189178302884102,
-0.04530959948897362,
-0.04519679397344589,
-0.0181050393730402,
0.06531350314617157,
-0.042865511029958725,
-0.002923503052443266,
-0.028125792741775513,
0.02177116833627224,
-0.015002929605543613,
0.0216019619256258,
0.0004297714040149003,
0.006462728139013052,
0.010941985994577408,
-0.017738426104187965,
0.05301786959171295,
-0.007332258392125368,
0.05662759765982628,
0.0009253451135009527,
0.05907168239355087,
-0.03613487631082535,
-0.037676528096199036,
-0.007835176773369312,
-0.021733567118644714,
0.028332598507404327,
-0.03406680002808571,
-0.007689471356570721,
0.09731223434209824,
-0.003085658885538578,
0.07806035131216049,
-0.01136500108987093,
-0.054108306765556335,
0.0009312203619629145,
0.01551054697483778,
-0.04181267321109772,
0.00892561487853527,
0.08731027692556381,
-0.01295365672558546,
0.012530641630291939,
-0.05316827446222305,
0.0016532833687961102,
-0.007492064032703638,
-0.00420664856210351,
-0.035928066819906235,
-0.004488658159971237,
-0.0495961494743824,
-0.007886878214776516,
0.006509729661047459,
-0.06685515493154526,
0.01200422365218401,
0.003595626913011074,
-0.016873594373464584,
-0.005814105272293091,
-0.06219259276986122,
-0.01232383493334055,
0.0391053780913353,
0.021263549104332924,
0.02511768601834774,
0.035533253103494644,
-0.05692840740084648,
-0.017531618475914,
0.0495961494743824,
0.010030154138803482,
-0.04696405678987503,
0.028370199725031853,
0.09272486716508865,
0.04696405678987503,
0.07948920130729675,
0.002243154216557741,
0.026772145181894302,
-0.018443450331687927,
-0.025963716208934784,
-0.04587361961603165,
0.003814184572547674,
-0.053694695234298706,
-0.05057378485798836,
0.01335787121206522,
0.0024064849130809307,
-0.07099130749702454,
0.04200068116188049,
-0.03997020795941353,
-0.06019972264766693,
0.03235594183206558,
0.022541994228959084,
0.019157875329256058,
-0.03515724092721939,
-0.07584187388420105,
-0.01029336266219616,
-0.01794523373246193,
0.006467428058385849,
0.009757543914020061,
0.00008107785833999515,
0.08129406720399857,
-0.021808769553899765,
-0.04019581899046898,
-0.03662369027733803,
0.04045902565121651,
-0.03884217143058777,
0.10242601484060287,
0.06211739033460617,
-0.01463631633669138,
-0.005137281026691198,
-0.03865416347980499,
-0.024854477494955063,
-0.03352158144116402,
0.03402920067310333,
0.004580311477184296,
0.010312163271009922,
0.006899843458086252,
-0.0139970937743783,
0.005259485449641943,
-0.0012020673602819443,
-0.03523244336247444,
-0.021489158272743225,
-0.024704070761799812,
-0.030757885426282883,
-0.01865025795996189,
0.0005966273020021617,
-0.038390953093767166,
-0.07933879643678665,
0.00656143156811595,
0.010349765419960022,
0.03077668510377407,
-0.024102449417114258,
0.07738352566957474,
-0.014908925630152225,
0.0850541964173317,
-0.005353488959372044,
0.017917031422257423,
-0.025869712233543396,
-0.03468722477555275,
0.02034231834113598,
0.005109080113470554,
0.0017519867978990078,
-0.04546000435948372,
0.032092731446027756,
-0.02391444332897663,
-0.062004588544368744,
-0.014025294221937656,
0.03598446771502495,
-0.057229217141866684,
-0.029611043632030487,
-0.03196112811565399,
0.052115436643362045,
-0.06599032878875732,
0.01881946437060833,
-0.013245067559182644,
-0.03660489246249199,
-0.023087214678525925,
-0.008841011673212051,
0.06305742263793945,
0.0148713244125247,
-0.06286941468715668,
-0.002226703567430377,
-0.07467623054981232,
0.008841011673212051,
-0.0325627475976944,
-0.028407802805304527,
-0.008150087669491768,
-0.027712177485227585,
0.007421561982482672,
0.05726682022213936,
0.030720284208655357,
-0.019176676869392395,
-0.017005199566483498,
0.009353330358862877,
0.01945868693292141,
0.020116709172725677,
0.008060784079134464,
0.02017311193048954,
-0.0363604836165905,
-0.06166617572307587,
-0.02767457626760006,
0.011252196505665779,
0.03634168207645416,
0.001629782491363585,
-0.001680309302173555,
0.06271900981664658,
-0.024346858263015747,
0.009635339491069317,
-0.06301981955766678,
-0.02703535370528698,
0.030513476580381393,
-0.01633777655661106,
0.0349128320813179,
0.025211689993739128,
0.011007788591086864,
0.01667618751525879,
0.030250266194343567,
0.022579597309231758,
-0.010236960835754871,
0.008709407411515713,
-0.005156081635504961,
-0.013771485537290573,
0.025700505822896957,
0.0430535189807415,
0.0197030957788229,
0.01535074133425951,
-0.02560650371015072,
-0.05328107997775078,
0.04339193180203438,
0.014297904446721077,
-0.01407229620963335,
0.00026174046797677875,
-0.06384705007076263,
0.010631774552166462,
-0.06392225623130798,
-0.05328107997775078,
-0.014965327456593513,
-0.009517835453152657,
0.009155922569334507,
0.03235594183206558,
-0.005292386747896671,
0.026734542101621628,
0.0030739083886146545,
0.044519972056150436,
-0.053694695234298706,
-0.029554642736911774,
0.028689811006188393,
0.010114756412804127,
-0.007581367623060942,
-0.00197289464995265,
-0.02312481589615345,
0.009325128979980946,
-0.015886560082435608,
0.01730601117014885,
0.009738743305206299,
0.028971821069717407,
-0.034969232976436615,
0.07324738055467606,
-0.03645448759198189,
-0.008873913437128067,
0.04147426411509514,
0.05053618177771568,
-0.035928066819906235,
-0.038804568350315094,
-0.028577007353305817,
-0.025963716208934784,
0.006326423026621342,
0.08903994411230087,
-0.0005555008538067341,
0.023745236918330193,
-0.016948798671364784,
-0.01344247441738844,
-0.00800908263772726,
-0.03818414732813835,
0.06317022442817688,
0.02887781895697117,
0.01335787121206522,
-0.04042142629623413,
0.0008624804322607815,
0.02543729729950428,
0.010829182341694832,
0.013057060539722443,
0.04012061655521393,
0.04647523909807205,
-0.0424518957734108,
0.03327717259526253,
-0.06899843364953995,
-0.06813360005617142,
0.010142957791686058,
0.017324810847640038,
-0.009776344522833824,
0.039030175656080246,
0.0024041347205638885,
-0.03921818360686302,
-0.005414591170847416,
0.007788174785673618,
0.009499034844338894,
-0.03857896104454994,
-0.04060943052172661,
0.010537771508097649,
-0.01675138995051384,
0.07497704774141312,
-0.00828639231622219,
-0.013245067559182644,
0.06756958365440369,
0.05177702754735947,
0.051062602549791336,
0.013320269994437695,
0.06734397262334824,
-0.005475692916661501,
-0.01303825993090868,
0.061440568417310715,
0.005188982933759689,
-0.08919034898281097,
0.07362339645624161,
0.0214515570551157,
-0.024140050634741783,
-0.04801689460873604,
0.0002623280161060393,
-0.024760473519563675,
0.029329033568501472,
-0.007106650620698929,
0.013874889351427555,
0.04910733178257942,
0.05057378485798836,
0.04952094703912735,
-0.01660098508000374,
-0.015200336463749409,
0.0033582684118300676,
-0.010180559009313583,
0.06685515493154526,
-0.01096078660339117,
-0.01692059636116028,
-0.014523512683808804,
0.050122566521167755,
0.0007308757631108165,
0.03235594183206558,
-0.006486228667199612,
0.010152357630431652,
-0.04455757141113281,
-0.006406325846910477,
-0.013705682940781116,
-0.025813311338424683,
0.027467768639326096,
0.03921818360686302,
0.03562725707888603,
-0.0021409254986792803,
-0.05422111228108406,
0.019815899431705475,
0.060575734823942184,
0.03675529733300209,
-0.03587166592478752,
0.042075883597135544,
0.06486228853464127,
-0.03380359336733818,
-0.05053618177771568,
0.052341047674417496,
0.015914760529994965,
-0.0002449961320962757,
-0.0921984538435936,
-0.041023045778274536,
-0.07373619824647903,
0.0391053780913353,
0.009155922569334507,
0.0733225867152214,
-0.003776583122089505,
-0.07245775312185287,
-0.0635838434100151,
0.03818414732813835,
0.018612656742334366,
0.058808475732803345,
-0.05376989766955376,
0.0056448993273079395,
-0.0006127841188572347,
0.00262034242041409,
0.022786403074860573,
-0.033220771700143814,
-0.003621477633714676,
-0.026508934795856476,
0.03342757746577263,
-0.0856558233499527,
0.021075543016195297,
-0.055236347019672394,
-0.022391589358448982,
0.012023024260997772,
-0.055386751890182495,
0.0341608040034771,
-0.007614268455654383,
0.013423673808574677,
0.007252355571836233,
0.01747521571815014,
0.002116249641403556,
-0.030175063759088516,
0.04256470128893852,
-0.050272971391677856,
-0.019327081739902496,
-0.0006680110818706453,
0.030005859211087227,
0.030645081773400307,
-0.01834004744887352,
-0.03538284823298454,
0.03846615552902222,
0.09347689896821976,
-0.029968256130814552,
0.005118480417877436,
-0.05117540434002876,
-0.016798391938209534,
-0.019590290263295174,
-0.026208125054836273,
-0.03352158144116402,
-0.01032156404107809,
-0.025324493646621704,
-0.032017529010772705,
-0.008878612890839577,
0.019270678982138634,
-0.025174088776111603,
0.027730977162718773,
0.006486228667199612,
-0.07512745261192322,
-0.057454828172922134,
-0.0027989486698061228,
0.00984214711934328,
0.001905917190015316,
-0.018001634627580643,
0.015679752454161644,
-0.01874426193535328,
-0.019016871228814125,
-0.016234371811151505,
0.03730051591992378,
-0.018208442255854607,
0.0024111850652843714,
0.05527395009994507,
-0.07760913670063019,
0.0038517857901751995,
-0.017738426104187965,
-0.07753393799066544,
0.006265320815145969,
-0.0459488220512867,
-0.012615244835615158,
-0.023087214678525925,
0.01564215123653412,
0.007882177829742432,
-0.02073713205754757,
0.051701825112104416,
0.004244249779731035,
0.021733567118644714,
0.04700165614485741,
-0.006030312739312649,
0.01721200719475746,
0.019345881417393684,
-0.020925138145685196,
-0.042715106159448624,
-0.00043182773515582085,
0.04173747077584267,
0.02385804057121277,
0.05647719278931618,
-0.03355918452143669,
-0.008032583631575108,
-0.006580232176929712,
0.03199872747063637,
0.0281445924192667,
0.03243114426732063,
-0.02425285615026951,
-0.010584773495793343,
-0.017249608412384987,
0.006415726151317358,
0.011581208556890488,
0.011176994070410728,
-0.011299198493361473,
0.015181535854935646,
-0.03087068907916546,
0.03534524515271187,
-0.03519484028220177,
0.048054493963718414,
-0.023482028394937515,
0.08475338667631149,
-0.03243114426732063,
0.000311092211632058,
-0.0071536521427333355,
-0.023463226854801178,
0.002523988950997591,
-0.005334688350558281,
0.02558770217001438,
0.030983492732048035,
0.01029336266219616,
-0.007426261901855469,
0.03389759734272957,
0.005795304197818041,
0.060801345854997635,
0.012709247879683971,
-0.0216019619256258,
-0.014194500632584095,
0.015519947744905949,
-0.018706660717725754,
0.028915420174598694,
-0.020943937823176384,
0.019740696996450424,
0.0400078110396862,
-0.012135827913880348,
-0.020831134170293808,
-0.027148157358169556,
-0.02385804057121277,
0.001366573153063655,
0.07948920130729675,
-0.005066778510808945,
-0.017089802771806717,
0.01564215123653412,
-0.03549565374851227,
-0.021244749426841736,
-0.025813311338424683,
0.003541574813425541,
-0.018396448343992233,
0.0034757726825773716,
-0.0024699370842427015,
0.08264771848917007,
-0.006942145060747862,
-0.00928752776235342,
-0.017437614500522614,
0.06568951904773712,
-0.0011339150369167328,
-0.053393881767988205,
0.013762085698544979,
0.03517604246735573,
0.07144252210855484,
-0.02767457626760006,
-0.039443790912628174,
0.006730637513101101,
-0.014814922586083412,
0.024046048521995544,
-0.005691900849342346,
0.049483343958854675,
0.011628210544586182,
0.05256665498018265,
-0.024346858263015747,
-0.04576081410050392,
-0.036172475665807724,
-0.0005223058979026973,
0.03929338604211807,
0.04139906167984009,
0.02878381498157978,
-0.012540042400360107,
-0.032807156443595886,
0.017982834950089455,
-0.01494652684777975,
-0.02415885217487812,
0.0028341999277472496,
-0.005358188878744841,
-0.010659975931048393,
0.032412342727184296,
-0.02957344241440296,
0.029611043632030487,
0.04083504155278206,
-0.02440326102077961,
-0.031773120164871216,
0.05023537203669548,
-0.00997375138103962,
0.02462886832654476,
-0.02383924089372158,
-0.034405212849378586,
0.031773120164871216,
-0.0036426284350454807,
0.010753978975117207,
-0.028896618634462357,
-0.022617198526859283,
-0.04850571230053902,
0.0010963137028738856,
-0.01049077045172453,
-0.0026579436380416155,
-0.0988914892077446,
0.028407802805304527,
0.028426602482795715,
0.006434526760131121,
0.02081233449280262,
-0.048919323831796646,
0.0196278914809227,
0.002735496498644352,
0.07554106414318085,
-0.004190197680145502,
-0.07005126774311066,
-0.02560650371015072,
-0.035119637846946716,
-0.0214515570551157,
0.009207624942064285,
-0.01008655596524477,
0.04132385924458504,
0.05839486047625542,
-0.027148157358169556,
-0.07644349336624146,
-0.027317363768815994,
0.0230496134608984,
-0.020699530839920044
] |
710,295
|
urllib3_future._async.poolmanager
|
proxy_from_url
| null |
def proxy_from_url(url: str, **kw: typing.Any) -> AsyncProxyManager:
return AsyncProxyManager(proxy_url=url, **kw)
|
(url: str, **kw: Any) -> urllib3_future._async.poolmanager.AsyncProxyManager
|
[
0.010366910137236118,
-0.02905985899269581,
-0.017356447875499725,
0.021654922515153885,
-0.021058915182948112,
0.07903414964675903,
-0.011098373681306839,
0.04876421391963959,
-0.040672965347766876,
0.008994287811219692,
0.05071478337049484,
0.061370667070150375,
-0.01865682750940323,
0.021998077630996704,
0.009292291477322578,
-0.004576160106807947,
-0.008502130396664143,
-0.0063980454578995705,
-0.023515187203884125,
-0.04023950546979904,
-0.005160879343748093,
0.036302246153354645,
0.025537999346852303,
-0.0037250439636409283,
-0.0004379748716019094,
0.04110642522573471,
0.00200475100427866,
0.04876421391963959,
-0.01078230980783701,
-0.024671079590916634,
0.04284026473760605,
0.04692200943827629,
-0.008827225305140018,
0.06519956141710281,
0.045441024005413055,
0.008127368986606598,
0.012489057146012783,
0.04818626865744591,
-0.12635348737239838,
-0.023045605048537254,
0.03399046137928963,
-0.026079824194312096,
0.022305112332105637,
0.03626612573862076,
0.058517057448625565,
0.004668721929192543,
-0.0633934736251831,
-0.015577456913888454,
-0.027416324242949486,
-0.03673570603132248,
-0.014647324569523335,
0.023442944511771202,
0.03688019514083862,
0.016886865720152855,
0.012480026111006737,
0.05923948809504509,
-0.01570388302206993,
0.06010640785098076,
0.014502838253974915,
0.06509119272232056,
-0.04370718449354172,
-0.033701490610837936,
0.023768039420247078,
-0.004930603783577681,
0.007224327884614468,
-0.06696952134370804,
-0.020300360396504402,
0.03763874992728233,
0.004713873844593763,
-0.03832506015896797,
0.04981173947453499,
0.05631363391876221,
0.00793773028999567,
-0.06595811247825623,
0.0665360614657402,
0.030378298833966255,
0.013067003339529037,
-0.008452463895082474,
-0.0028919887263327837,
0.03890300542116165,
-0.007648757193237543,
0.004664206877350807,
0.0009538370650261641,
-0.007513300981372595,
-0.05439918860793114,
-0.01514399703592062,
0.015848368406295776,
-0.05692770332098007,
-0.009843146428465843,
0.021998077630996704,
-0.009409687481820583,
-0.002106343163177371,
-0.031245218589901924,
-0.08712539076805115,
-0.05786686763167381,
0.006258074194192886,
-0.010240484960377216,
-0.015487153083086014,
-0.033701490610837936,
0.011324133723974228,
-0.014900175854563713,
0.033575065433979034,
-0.05407409369945526,
-0.019975267350673676,
0.011495711281895638,
-0.0351102352142334,
0.03814445063471794,
-0.037060800939798355,
-0.013238580897450447,
0.01883743517100811,
0.0005734310252591968,
-0.0033728580456227064,
0.0221425648778677,
0.055193863809108734,
0.021546557545661926,
0.040383994579315186,
-0.036067456007003784,
-0.03966156020760536,
-0.0011378315975889564,
0.02221480756998062,
-0.08466912060976028,
0.05425470322370529,
0.02040872536599636,
0.022232869639992714,
0.02040872536599636,
0.02971004880964756,
0.056999947875738144,
-0.031172974035143852,
0.043345965445041656,
-0.08459687978029251,
0.03371955081820488,
0.01574903540313244,
0.0007681492133997381,
0.01954180747270584,
0.005797523073852062,
0.04143152013421059,
-0.00757199851796031,
-0.00019711691129487008,
-0.03319578617811203,
0.0060594049282372,
-0.04063684493303299,
0.06924518197774887,
0.02116728015244007,
0.00889495387673378,
0.014376412145793438,
-0.07079841196537018,
-0.050209078937768936,
0.03332221135497093,
0.0005477507947944105,
-0.013735253363847733,
0.005047999322414398,
-0.01738353818655014,
0.0628877729177475,
0.05638587847352028,
-0.05234025418758392,
-0.002982292789965868,
-0.030143508687615395,
0.02355130948126316,
0.03861403092741966,
0.026874499395489693,
-0.0038424392696470022,
0.025881154462695122,
-0.00028290582122281194,
-0.03778323531150818,
-0.012615482322871685,
-0.06855887174606323,
0.05075090378522873,
-0.07896190136671066,
-0.018151123076677322,
0.04023950546979904,
0.0088407713919878,
0.016950080171227455,
0.017338387668132782,
0.027163472026586533,
0.06715013086795807,
0.011062252335250378,
0.007210782263427973,
0.0013895543524995446,
0.01797051541507244,
0.040672965347766876,
-0.00011697202717186883,
0.05103987455368042,
-0.005653036758303642,
-0.05768625810742378,
-0.008764012716710567,
-0.006054889876395464,
-0.023153970018029213,
0.02756081148982048,
0.031353581696748734,
0.026477161794900894,
-0.030486663803458214,
-0.002119888784363866,
0.07144860178232193,
-0.09030409902334213,
0.037169165909290314,
-0.04237068444490433,
-0.012516148388385773,
0.03010738641023636,
-0.022576024755835533,
0.046885889023542404,
-0.05237637832760811,
0.027470506727695465,
-0.0022666328586637974,
0.035489510744810104,
-0.000565247202757746,
-0.0303963590413332,
-0.04475471004843712,
-0.03727753087878227,
-0.006515440531075001,
0.0351102352142334,
0.023641612380743027,
0.02244959957897663,
-0.028572216629981995,
0.026350736618041992,
-0.009043955244123936,
0.0263326745480299,
-0.026730014011263847,
0.02192583493888378,
0.05732504278421402,
-0.0067818379029631615,
0.0657775029540062,
-0.007644242141395807,
-0.011640198528766632,
-0.021672982722520828,
0.025772789493203163,
0.013202459551393986,
-0.03476707637310028,
-0.033051300793886185,
-0.038866885006427765,
0.020715760067105293,
0.04522429406642914,
-0.011333164758980274,
0.07397712022066116,
0.02208838239312172,
0.09333831816911697,
-0.02774141915142536,
-0.0322205014526844,
0.003047763369977474,
0.00026794918812811375,
0.011387347243726254,
-0.016209585592150688,
0.05042580887675285,
0.022178687155246735,
-0.012218144722282887,
-0.05378511920571327,
0.03348476067185402,
-0.06357408314943314,
0.006267104297876358,
-0.019451502710580826,
0.019036103039979935,
-0.020083632320165634,
0.05768625810742378,
-0.02669389173388481,
0.015839338302612305,
-0.010637822560966015,
-0.005729794967919588,
0.02819293923676014,
0.009897328913211823,
-0.008768527768552303,
0.015432970598340034,
-0.0044790832325816154,
-0.0029077918734401464,
0.01616443321108818,
0.022720512002706528,
-0.058047473430633545,
-0.02250378206372261,
0.011342194862663746,
-0.026296554133296013,
-0.03919197991490364,
0.04327372461557388,
0.06906457245349884,
0.03144388645887375,
0.05378511920571327,
0.008610495366156101,
0.027687236666679382,
0.004704843740910292,
-0.012154931202530861,
-0.07708358019590378,
-0.009400656446814537,
-0.06230982765555382,
-0.04424900934100151,
0.010827461257576942,
0.028265181928873062,
-0.040672965347766876,
-0.005440821871161461,
-0.04992010444402695,
0.015288484282791615,
0.06610260158777237,
-0.007851941511034966,
-0.03893912583589554,
0.013825557194650173,
-0.03081175871193409,
-0.0303963590413332,
-0.03980604559183121,
-0.027217654511332512,
-0.034207191318273544,
-0.06541629135608673,
0.09312158823013306,
-0.045152049511671066,
-0.014647324569523335,
-0.0579029880464077,
-0.00012057008279953152,
-0.02064351737499237,
0.06704176217317581,
0.06826990097761154,
-0.04255129024386406,
-0.023117849603295326,
-0.030378298833966255,
-0.006641866639256477,
-0.018530400469899178,
0.042009465396404266,
-0.017934393137693405,
-0.05963682755827904,
-0.0165708027780056,
-0.03803608566522598,
0.01750093512237072,
0.004490371327847242,
0.020191997289657593,
0.06202085316181183,
-0.023587429895997047,
-0.03193153068423271,
0.016236677765846252,
-0.015044663101434708,
-0.03763874992728233,
-0.05649424344301224,
0.049378279596567154,
0.0007980624795891345,
0.06617484241724014,
-0.05483264848589897,
0.0015701624797657132,
-0.046307940036058426,
0.048619724810123444,
-0.044682469218969345,
-0.0063258023001253605,
-0.02319009229540825,
-0.019487624987959862,
0.0033096452243626118,
-0.015333635732531548,
0.03081175871193409,
-0.027470506727695465,
0.04992010444402695,
0.021727165207266808,
-0.05038968846201897,
0.0032306290231645107,
0.029222406446933746,
0.005215061828494072,
0.033809855580329895,
-0.04789729416370392,
0.09536112844944,
-0.0607927180826664,
-0.00598716177046299,
-0.05772237852215767,
-0.016308920457959175,
-0.027235716581344604,
0.016417285427451134,
0.00008515394438290969,
0.04128703474998474,
-0.055555082857608795,
-0.06436876207590103,
-0.06472998112440109,
-0.08416341990232468,
-0.04775280877947807,
-0.042117830365896225,
0.02981841377913952,
-0.05887827277183533,
-0.027524689212441444,
0.06144290789961815,
-0.03709692507982254,
0.021492375060915947,
0.023515187203884125,
-0.028391608968377113,
0.03348476067185402,
0.010890673846006393,
0.0322205014526844,
0.010809400118887424,
-0.008727891370654106,
-0.026946742087602615,
-0.07115963101387024,
0.012796090915799141,
0.03865015506744385,
0.0043955519795417786,
-0.011811776086688042,
0.040672965347766876,
-0.007296571042388678,
0.07549422979354858,
-0.043345965445041656,
-0.03749426081776619,
0.01299475971609354,
-0.02615206688642502,
0.010944856330752373,
0.04204558953642845,
0.00128231814596802,
-0.014141621999442577,
0.020318422466516495,
0.03774711489677429,
-0.03361118584871292,
-0.05808359757065773,
0.027777541428804398,
-0.044682469218969345,
-0.01813306286931038,
0.02517678216099739,
0.02069769985973835,
0.03693437576293945,
0.008104792796075344,
-0.00591491861268878,
0.018927739933133125,
0.010971947573125362,
-0.007097902242094278,
-0.0016243449645116925,
-0.013410158455371857,
-0.017004260793328285,
-0.0434904545545578,
-0.04959500953555107,
0.01854846253991127,
-0.010276606306433678,
0.024923931807279587,
-0.0031380674336105585,
-0.05407409369945526,
-0.029204346239566803,
0.005806553643196821,
0.05902275815606117,
0.002512711565941572,
-0.05598854273557663,
-0.028644459322094917,
0.01072812732309103,
0.0003739154199138284,
0.014132590964436531,
-0.002295981626957655,
-0.05627751350402832,
0.0071475692093372345,
0.03688019514083862,
-0.006393529940396547,
0.04529653489589691,
-0.03250947594642639,
0.0607927180826664,
0.03274426609277725,
0.013708162121474743,
0.022287052124738693,
-0.014006165787577629,
-0.02931271120905876,
-0.031534191220998764,
-0.0331416055560112,
-0.03621194511651993,
0.00703468918800354,
0.0683782622218132,
-0.0033096452243626118,
0.018042758107185364,
-0.05302656814455986,
0.009987633675336838,
-0.017356447875499725,
-0.1079314574599266,
0.06422427296638489,
0.04168437048792839,
-0.011739532463252544,
0.00502993818372488,
-0.016950080171227455,
-0.00552209559828043,
0.002806199947372079,
0.0008511161431670189,
0.04088969528675079,
0.029800351709127426,
-0.08878698945045471,
0.018638765439391136,
-0.061768002808094025,
-0.027777541428804398,
0.030251873657107353,
0.025483816862106323,
-0.0010040686465799809,
0.008041580207645893,
-0.028825068846344948,
-0.02669389173388481,
-0.021943895146250725,
0.04587448015809059,
-0.014304169453680515,
-0.014764719642698765,
-0.004668721929192543,
-0.019325077533721924,
0.007644242141395807,
0.08936493843793869,
-0.03034217655658722,
-0.05848093330860138,
0.04710261896252632,
0.05439918860793114,
0.024905869737267494,
-0.016733350232243538,
0.056710973381996155,
0.013039912097156048,
-0.034207191318273544,
0.05320717394351959,
0.02192583493888378,
-0.016489528119564056,
0.08459687978029251,
-0.0007986268610693514,
0.007829365320503712,
-0.011206738650798798,
-0.014204834587872028,
-0.008149945177137852,
0.017284205183386803,
0.0037250439636409283,
-0.003246432403102517,
0.05497713387012482,
0.028933433815836906,
0.04818626865744591,
0.0005401314119808376,
0.0055491868406534195,
0.02185359224677086,
-0.047355469316244125,
0.04511592909693718,
-0.034857381135225296,
0.020499030128121376,
-0.014674415811896324,
0.03767487034201622,
-0.04294862970709801,
0.01954180747270584,
0.003930485807359219,
-0.028409669175744057,
-0.02145625464618206,
0.004472310654819012,
-0.04052847996354103,
-0.051473334431648254,
0.04414064437150955,
0.03203989565372467,
-0.004641630686819553,
-0.01116158626973629,
-0.03028799407184124,
0.030089326202869415,
0.02952943928539753,
0.060901083052158356,
-0.005788492504507303,
0.034098826348781586,
0.07368814200162888,
-0.007851941511034966,
-0.03995053470134735,
0.006100041791796684,
0.03709692507982254,
-0.02389446459710598,
-0.06404366344213486,
-0.02691062167286873,
-0.02900567650794983,
0.016354072839021683,
0.02994483895599842,
0.06480222195386887,
-0.0044203856959939,
-0.04233456030488014,
-0.0793953612446785,
-0.0052556986920535564,
0.027777541428804398,
0.055085498839616776,
0.0013206974836066365,
0.021654922515153885,
-0.014538959600031376,
-0.02813875675201416,
0.019559867680072784,
-0.012660634703934193,
-0.04540489986538887,
-0.011531833559274673,
0.0008087860769592226,
-0.10417480766773224,
0.004898997489362955,
-0.04070908576250076,
-0.007368814200162888,
0.014006165787577629,
-0.08019004017114639,
0.06017865240573883,
-0.02035454288125038,
0.046018969267606735,
0.00909362267702818,
0.031588371843099594,
-0.03361118584871292,
0.013708162121474743,
0.058517057448625565,
-0.06003416329622269,
-0.03814445063471794,
0.015288484282791615,
-0.01894580014050007,
0.016932018101215363,
0.041828859597444534,
-0.061768002808094025,
0.05732504278421402,
0.05230413377285004,
0.0033818883821368217,
0.040781330317258835,
-0.07213491201400757,
-0.02087830752134323,
-0.005824614316225052,
-0.04627181962132454,
-0.006985022220760584,
0.018566522747278214,
0.017482873052358627,
-0.03727753087878227,
-0.007766152266412973,
0.013157307170331478,
-0.03225662559270859,
0.00495769502595067,
-0.03361118584871292,
-0.013816527090966702,
-0.03673570603132248,
0.011495711281895638,
0.023099787533283234,
0.034911565482616425,
0.017744755372405052,
0.040203385055065155,
-0.029258528724312782,
-0.03861403092741966,
-0.033809855580329895,
0.025682484731078148,
-0.07069005072116852,
0.0221425648778677,
0.028518034145236015,
-0.017528025433421135,
0.0009606098174117506,
-0.01197432354092598,
-0.03337639570236206,
-0.01209171861410141,
-0.032708145678043365,
0.0022158368956297636,
-0.0263326745480299,
0.006836020387709141,
-0.013220519758760929,
-0.0012710301671177149,
0.025086479261517525,
-0.021149219945073128,
0.016661105677485466,
0.0213478896766901,
-0.009536112658679485,
-0.02302754484117031,
0.031209096312522888,
0.011685349978506565,
-0.008118338882923126,
0.030884001404047012,
0.009319382719695568,
0.02295530214905739,
0.02738020196557045,
0.0019358941353857517,
0.018530400469899178,
-0.042009465396404266,
-0.014602173119783401,
0.02308172732591629,
0.03063115105032921,
-0.07751704007387161,
-0.03231080621480942,
0.03760262578725815,
-0.01837688311934471,
0.022070322185754776,
-0.04294862970709801,
0.0022158368956297636,
0.0033593124244362116,
0.034333616495132446,
0.018692947924137115,
-0.020679637789726257,
0.009662538766860962,
-0.027398264035582542,
0.0731102004647255,
0.09492766857147217,
0.015965765342116356,
0.03749426081776619,
-0.01849428005516529,
-0.00498478626832366,
0.06397142261266708,
-0.0038243785966187716,
0.014313199557363987,
0.0041427006945014,
-0.0636824518442154,
0.03951707482337952,
-0.03487544134259224,
0.014286108314990997,
-0.0013184398412704468,
-0.017943425104022026,
-0.002316300058737397,
-0.004298475105315447,
0.01177565474063158,
0.0424429252743721,
-0.03756650537252426,
0.012028506025671959,
0.07148472219705582,
-0.051473334431648254,
-0.01825045794248581,
-0.08640296012163162,
0.007648757193237543,
0.04396003484725952,
-0.01412356086075306,
-0.002912307158112526,
0.011360256001353264,
0.0413953997194767,
-0.0495227687060833,
0.05237637832760811,
0.013762344606220722,
0.022648267447948456,
0.002912307158112526,
0.030595028772950172,
-0.014358351938426495,
0.07404936105012894,
-0.011405407451093197,
-0.01894580014050007,
0.015478122048079967,
0.023731917142868042,
0.0035421783104538918,
-0.08914820849895477,
0.025321269407868385,
0.014493808150291443,
0.06541629135608673,
-0.03574236109852791,
-0.044501859694719315,
-0.019090285524725914,
-0.022287052124738693,
-0.008958166465163231,
0.004219458904117346,
0.07224328070878983,
-0.014349320903420448,
0.03937258571386337,
0.013274702243506908,
-0.045368779450654984,
0.027416324242949486,
0.03395434096455574,
0.01797051541507244,
0.010773278772830963,
0.005300850607454777,
0.0036753767635673285,
-0.023804159834980965,
0.0303963590413332,
-0.03693437576293945,
-0.020896367728710175,
0.02622430957853794,
0.015432970598340034,
-0.008461493998765945,
0.023352639749646187,
-0.04403227940201759,
-0.021438192576169968,
0.009328413754701614,
-0.028807006776332855,
-0.010773278772830963,
0.024093134328722954,
-0.013735253363847733,
-0.0303963590413332,
-0.027362141758203506,
-0.03010738641023636,
0.0142138646915555,
0.01923477277159691,
-0.027416324242949486,
0.018801312893629074,
-0.052231889218091965,
-0.03836118057370186,
0.023641612380743027,
0.04674139991402626,
-0.007477179169654846,
-0.03453228622674942,
0.014060348272323608,
0.008140914142131805,
-0.02779560163617134,
0.04970337450504303,
-0.02470720186829567,
0.01003278512507677,
0.0007280767895281315,
0.10728126764297485,
-0.010457214899361134,
-0.06057598814368248,
-0.02337069995701313,
-0.04731934890151024,
-0.027344081550836563,
-0.05960070341825485,
-0.033575065433979034,
0.01975853741168976,
0.026838377118110657,
-0.06375469267368317,
-0.06971476227045059,
-0.025664424523711205,
0.011179647408425808,
-0.01988496258854866
] |
710,310
|
urllib3_future
|
request
|
A convenience, top-level request method. It uses a module-global ``PoolManager`` instance.
Therefore, its side effects could be shared across dependencies relying on it.
To avoid side effects create a new ``PoolManager`` instance and use it instead.
The method does not accept low-level ``**urlopen_kw`` keyword arguments neither does
it issue multiplexed/concurrent request.
|
def request(
method: str,
url: str,
*,
body: _TYPE_BODY | None = None,
fields: _TYPE_FIELDS | None = None,
headers: typing.Mapping[str, str] | None = None,
preload_content: bool | None = True,
decode_content: bool | None = True,
redirect: bool | None = True,
retries: Retry | bool | int | None = None,
timeout: Timeout | float | int | None = 3,
json: typing.Any | None = None,
multiplexed: bool = False,
) -> HTTPResponse:
"""
A convenience, top-level request method. It uses a module-global ``PoolManager`` instance.
Therefore, its side effects could be shared across dependencies relying on it.
To avoid side effects create a new ``PoolManager`` instance and use it instead.
The method does not accept low-level ``**urlopen_kw`` keyword arguments neither does
it issue multiplexed/concurrent request.
"""
if multiplexed:
warnings.warn(
"Setting multiplexed=True in urllib3.request top-level function is a no-op. "
"Use a local PoolManager or HTTPPoolConnection instead.",
UserWarning,
)
return _DEFAULT_POOL.request(
method,
url,
body=body,
fields=fields,
headers=headers,
preload_content=preload_content,
decode_content=decode_content,
redirect=redirect,
retries=retries,
timeout=timeout,
json=json,
)
|
(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, fields: Union[Sequence[Union[Tuple[str, Union[str, bytes, Tuple[str, Union[str, bytes]], Tuple[str, Union[str, bytes], str]]], urllib3_future.fields.RequestField]], Mapping[str, Union[str, bytes, Tuple[str, Union[str, bytes]], Tuple[str, Union[str, bytes], str]]], NoneType] = None, headers: Optional[Mapping[str, str]] = None, preload_content: bool | None = True, decode_content: bool | None = True, redirect: bool | None = True, retries: Union[urllib3_future.util.retry.Retry, bool, int, NoneType] = None, timeout: urllib3_future.util.timeout.Timeout | float | int | None = 3, json: Optional[Any] = None, multiplexed: bool = False) -> urllib3_future.response.HTTPResponse
|
[
-0.006191625259816647,
-0.05488484725356102,
-0.03812712803483009,
0.014935813844203949,
-0.06665130704641342,
0.030687687918543816,
-0.035128578543663025,
-0.014214643277227879,
-0.0498366542160511,
-0.03514755517244339,
0.06334910541772842,
0.014888368546962738,
0.00256916880607605,
0.04421911761164665,
0.014034351333975792,
-0.016140926629304886,
0.005114614963531494,
-0.017023412510752678,
-0.0028585856780409813,
-0.11052881926298141,
0.035261426120996475,
0.07207906246185303,
0.04342203587293625,
0.043839555233716965,
0.019044585525989532,
0.02165408246219158,
-0.048280443996191025,
-0.024121243506669998,
0.009171197190880775,
0.034730035811662674,
0.06775204092264175,
0.06281771510839462,
-0.05135490745306015,
0.02256503514945507,
0.008815356530249119,
0.019224878400564194,
0.015590560622513294,
-0.0028585856780409813,
-0.016368664801120758,
0.0017554800724610686,
-0.06706882268190384,
-0.03097236156463623,
0.0182095468044281,
-0.02290664240717888,
0.0011120017152279615,
0.015666473656892776,
-0.028163593262434006,
-0.01681465096771717,
-0.006618634331971407,
0.009275577031075954,
0.03719719871878624,
0.03493879735469818,
0.07879733294248581,
-0.046534452587366104,
-0.014119752682745457,
0.0029036588966846466,
-0.08547764271497726,
0.011386897414922714,
-0.014043840579688549,
0.017355529591441154,
0.032775286585092545,
0.06088194623589516,
0.05306294187903404,
-0.043535903096199036,
-0.08851414918899536,
-0.017668670043349266,
-0.035697922110557556,
0.04456072673201561,
0.013208800926804543,
-0.027119794860482216,
-0.010656238533556461,
0.04049939662218094,
-0.0041396114975214005,
-0.025981104001402855,
0.051544688642024994,
0.00010956923506455496,
0.02730957604944706,
-0.0002989060594700277,
-0.0054230098612606525,
-0.012430696748197079,
0.009033605456352234,
-0.04873592033982277,
0.015514647588133812,
-0.003935596439987421,
0.00029920259839855134,
-0.05074760690331459,
0.01943363808095455,
-0.01195624191313982,
0.014271577820181847,
-0.006822649389505386,
-0.03402784466743469,
-0.025070153176784515,
-0.020192764699459076,
-0.01728910580277443,
-0.02552562765777111,
0.0039403410628438,
0.02381759323179722,
0.005014979280531406,
-0.006343450862914324,
-0.017042389139533043,
0.004673372488468885,
-0.03427455946803093,
-0.05526440963149071,
-0.016140926629304886,
0.03228185325860977,
-0.03497675433754921,
0.01693801023066044,
0.0039403410628438,
0.008065719157457352,
-0.027062859386205673,
-0.02182488702237606,
-0.005280673503875732,
-0.05408776178956032,
0.04281473532319069,
-0.018143123015761375,
0.04228334501385689,
-0.052987027913331985,
-0.03520449250936508,
-0.07557104527950287,
-0.009840177372097969,
-0.0774688571691513,
0.010153316892683506,
0.04596510902047157,
0.0042724586091935635,
0.04995052516460419,
0.014689098112285137,
-0.008094185963273048,
-0.040005967020988464,
0.026113951578736305,
-0.034388430416584015,
0.03137090057134628,
0.015865743160247803,
-0.007562797516584396,
0.055909667164087296,
-0.008673020638525486,
0.04391546919941902,
-0.08646450936794281,
0.0635768473148346,
-0.02431102655827999,
0.06881481409072876,
0.0347679927945137,
-0.009441635571420193,
-0.012079600244760513,
0.0047587743028998375,
-0.02613293007016182,
-0.05112716928124428,
-0.008421559818089008,
-0.035830769687891006,
-0.026721252128481865,
0.02727161906659603,
0.034388430416584015,
-0.013199311681091785,
0.08950101584196091,
0.03313587233424187,
0.03036505915224552,
-0.044712550938129425,
0.003100557252764702,
-0.04960891604423523,
-0.0024908839259296656,
0.007671921979635954,
0.004585598595440388,
0.03207309544086456,
0.009688352234661579,
-0.021767951548099518,
-0.010409521870315075,
-0.07526738941669464,
0.022508099675178528,
-0.044712550938129425,
0.021976711228489876,
-0.023267226293683052,
-0.06407027691602707,
0.031294990330934525,
-0.03383806347846985,
-0.0018681628862395883,
-0.009802221320569515,
0.0004830535326618701,
0.0032879665959626436,
-0.0007816630532033741,
-0.04391546919941902,
-0.03209207206964493,
0.03283222019672394,
-0.005228483583778143,
0.018266480416059494,
0.009764264337718487,
-0.03383806347846985,
0.0419037826359272,
-0.0038051216397434473,
-0.026113951578736305,
-0.018048232421278954,
0.020059917122125626,
-0.0037220921367406845,
-0.002737599890679121,
0.03520449250936508,
-0.045016199350357056,
-0.028600091114640236,
-0.05014030635356903,
-0.04714175686240196,
0.03427455946803093,
0.03214900568127632,
0.048546139150857925,
-0.0003424965252634138,
0.041486263275146484,
0.04596510902047157,
0.04550963267683983,
-0.04201764985918999,
-0.01298106275498867,
-0.05571988597512245,
-0.03693150356411934,
-0.035830769687891006,
0.05374615639448166,
0.04896365851163864,
0.02357087843120098,
-0.035432230681180954,
0.012259893119335175,
-0.04008187726140022,
0.060957856476306915,
0.014859900809824467,
-0.02831541746854782,
-0.04873592033982277,
-0.02448182925581932,
0.031086230650544167,
0.017412463203072548,
-0.027973812073469162,
-0.0009382329299114645,
0.0036651575937867165,
-0.02038254588842392,
0.005508411675691605,
0.02939717285335064,
-0.0498366542160511,
-0.07211701571941376,
0.02525993436574936,
-0.008725210092961788,
0.06513305008411407,
-0.008691998198628426,
-0.010494924150407314,
-0.03066871128976345,
-0.030991340056061745,
-0.017365017905831337,
-0.022223427891731262,
-0.01594165712594986,
0.03305995836853981,
-0.01234529446810484,
-0.007396738976240158,
0.01607450284063816,
-0.04763518646359444,
0.021786930039525032,
-0.03359134867787361,
0.020838022232055664,
-0.0037363257724791765,
-0.04239721596240997,
0.01690005324780941,
-0.006348195485770702,
-0.023969419300556183,
-0.013863547705113888,
0.00906207226216793,
0.0029511041939258575,
0.02858111262321472,
-0.01990809291601181,
-0.020154807716608047,
-0.011244561523199081,
0.00430329842492938,
0.0388672761619091,
-0.0012104508932679892,
0.03044097311794758,
-0.007795280311256647,
0.024576719850301743,
0.01724166050553322,
0.005370819941163063,
-0.026493513956665993,
-0.00656644394621253,
0.053860023617744446,
0.02609497308731079,
0.08145426958799362,
0.0056887040846049786,
-0.0009951674146577716,
-0.02596212550997734,
0.001582304248586297,
0.0019677982199937105,
0.013028508052229881,
-0.06528487801551819,
0.020894955843687057,
-0.015799319371581078,
0.00797082856297493,
-0.0715097188949585,
-0.009024116210639477,
-0.0006944821216166019,
-0.027499357238411903,
0.13413764536380768,
0.030934404581785202,
0.001632121973671019,
0.033913977444171906,
0.032870177179574966,
0.037216175347566605,
-0.029567977413535118,
-0.037747565656900406,
-0.007913894020020962,
-0.07788638025522232,
0.06600604951381683,
0.04774905741214752,
-0.009180686436593533,
-0.03672274574637413,
0.02696796879172325,
0.03298404440283775,
0.027859942987561226,
0.04125852510333061,
-0.06076807528734207,
-0.008445282466709614,
-0.03955049067735672,
-0.07067468017339706,
-0.03036505915224552,
0.008421559818089008,
0.016919031739234924,
0.02455774135887623,
-0.06395640969276428,
-0.037140265107154846,
-0.012772303074598312,
-0.004751657601445913,
0.03262346237897873,
0.027119794860482216,
-0.025013217702507973,
-0.009394190274178982,
0.008891268633306026,
-0.04106874391436577,
0.0003688880242407322,
-0.027366509661078453,
-0.006794182118028402,
0.029378196224570274,
0.058528654277324677,
-0.036134421825408936,
0.022830728441476822,
0.002718621864914894,
0.0818338394165039,
-0.02152123674750328,
-0.04456072673201561,
-0.08304844051599503,
-0.031902290880680084,
-0.00017154480156023055,
-0.04239721596240997,
0.07492578774690628,
-0.023096423596143723,
-0.04023370519280434,
0.01296208519488573,
-0.021369410678744316,
-0.03220594301819801,
-0.015818297863006592,
-0.003942713141441345,
0.07557104527950287,
0.008933969773352146,
0.06615787744522095,
-0.10696092247962952,
-0.05162060260772705,
-0.022527078166604042,
0.003074462292715907,
0.036608874797821045,
-0.06786590814590454,
-0.006082501262426376,
0.009897111915051937,
-0.0684732124209404,
-0.008981415070593357,
-0.014793477952480316,
-0.029719801619648933,
-0.000010193349226028658,
-0.05184834077954292,
0.061565157026052475,
0.015277421101927757,
-0.026379644870758057,
0.0635768473148346,
-0.00823177769780159,
-0.05943960323929787,
-0.000838004460092634,
-0.012686901725828648,
-0.019528528675436974,
-0.02512708678841591,
0.05351841822266579,
-0.014641651883721352,
-0.0073065925389528275,
-0.06296954303979874,
-0.04315634071826935,
0.009916089475154877,
0.039436619728803635,
-0.00400913693010807,
-0.06110968440771103,
-0.016624869778752327,
-0.04429503157734871,
0.06828343123197556,
-0.037216175347566605,
0.03567894548177719,
0.05735200643539429,
0.00832192413508892,
0.005921186879277229,
0.04372568428516388,
-0.009308788925409317,
0.027556290850043297,
0.009830688126385212,
-0.03488186374306679,
0.007548564113676548,
0.011178137734532356,
-0.011861351318657398,
-0.04513007029891014,
-0.030118344351649284,
0.03689354658126831,
0.01518252957612276,
-0.003864428261294961,
-0.01690005324780941,
-0.03738697990775108,
0.06342501938343048,
0.0302701685577631,
-0.03433149680495262,
0.03770960867404938,
-0.053290680050849915,
-0.01907305233180523,
-0.007282869890332222,
-0.012800770811736584,
-0.029567977413535118,
-0.021938756108283997,
0.010029958561062813,
0.01528690941631794,
0.013436539098620415,
0.042359258979558945,
-0.010722661390900612,
0.04554758965969086,
-0.03793734684586525,
-0.0028585856780409813,
0.00641461880877614,
-0.012705879285931587,
-0.003921362571418285,
-0.018219035118818283,
-0.04361181706190109,
0.00895294826477766,
0.0134175606071949,
0.035432230681180954,
0.012886172160506248,
-0.008359880186617374,
0.018978161737322807,
0.0569724440574646,
0.03000447526574135,
-0.022356275469064713,
0.023722702637314796,
0.0495709590613842,
0.010494924150407314,
0.016710272058844566,
-0.006628123112022877,
-0.05256950855255127,
-0.002120809629559517,
0.02562052011489868,
0.004054210148751736,
0.046724237501621246,
-0.03342054411768913,
-0.0040921662002801895,
0.005911697633564472,
0.045851241797208786,
0.023248249664902687,
0.057693611830472946,
0.05105125531554222,
-0.07686156034469604,
-0.026417601853609085,
0.01469858642667532,
-0.00714527815580368,
-0.025468694046139717,
0.0350336879491806,
0.08646450936794281,
-0.058035220950841904,
0.08722363412380219,
0.02713877148926258,
-0.042055606842041016,
0.03958844766020775,
0.005693448707461357,
0.0004667441826313734,
0.014907346107065678,
-0.05253155156970024,
-0.006666079629212618,
0.02216649428009987,
-0.04038552939891815,
0.014186176471412182,
-0.027499357238411903,
0.02343803085386753,
-0.004393444396555424,
-0.00786644872277975,
-0.0009471289231441915,
-0.07803820073604584,
0.052949074655771255,
-0.045054156333208084,
0.06012281775474548,
-0.001779202721081674,
-0.01707085780799389,
-0.03537529334425926,
-0.016833629459142685,
0.05169651284813881,
0.0380701944231987,
-0.019016118720173836,
0.04638262838125229,
0.04106874391436577,
0.009659884497523308,
0.021464301273226738,
-0.06885277479887009,
0.017327062785625458,
-0.0791768953204155,
-0.07333161681890488,
-0.04213152080774307,
-0.004203662741929293,
0.03638113662600517,
-0.021369410678744316,
0.10969378054141998,
0.007382505107671022,
0.01311391033232212,
0.006817904766649008,
0.016843119636178017,
0.05545419082045555,
0.0182095468044281,
-0.020762110128998756,
-0.015391289256513119,
0.03514755517244339,
0.0026213587261736393,
-0.01249711960554123,
0.00088070536730811,
0.020762110128998756,
-0.004561875946819782,
0.08107470721006393,
-0.008359880186617374,
-0.031731486320495605,
0.07469804584980011,
0.0764060840010643,
0.03192126750946045,
-0.007534330245107412,
-0.0032523826230317354,
0.004803847521543503,
0.038696471601724625,
0.012212447822093964,
-0.013161355629563332,
0.006765714846551418,
0.04273882135748863,
-0.01178543921560049,
-0.040613267570734024,
-0.024462850764393806,
0.03372419625520706,
0.017668670043349266,
-0.05124104022979736,
0.0005755720776505768,
0.037216175347566605,
-0.011102224700152874,
0.05200016498565674,
0.114476278424263,
0.028030745685100555,
0.042055606842041016,
-0.0700673758983612,
-0.023551899939775467,
0.02939717285335064,
0.02321029268205166,
0.003219170728698373,
-0.029264327138662338,
-0.04581328481435776,
-0.018873782828450203,
0.03383806347846985,
-0.014793477952480316,
0.00017984774603974074,
0.032870177179574966,
0.014413914643228054,
-0.04638262838125229,
0.02748037874698639,
-0.04778701439499855,
-0.00468048918992281,
0.011187626980245113,
-0.06722065061330795,
0.036001574248075485,
0.006191625259816647,
-0.0013415188295766711,
0.06107172742486,
0.05484689027070999,
0.022356275469064713,
-0.051544688642024994,
0.043535903096199036,
0.04197969660162926,
-0.017089834436774254,
-0.015163552016019821,
0.052683379501104355,
0.01178543921560049,
-0.0102766752243042,
-0.019965026527643204,
-0.010456967167556286,
0.010675216093659401,
0.05014030635356903,
-0.008189077489078045,
-0.05515053868293762,
-0.08646450936794281,
0.010409521870315075,
-0.026322711259126663,
-0.03837384283542633,
0.0056033022701740265,
0.01062777079641819,
-0.012610988691449165,
0.016188371926546097,
-0.006367173511534929,
0.015277421101927757,
0.016710272058844566,
-0.0001748066715663299,
0.05162060260772705,
-0.08312435448169708,
0.015334355644881725,
0.0074204616248607635,
0.03898114711046219,
0.01439493615180254,
0.024899348616600037,
-0.023988397791981697,
-0.0356220118701458,
-0.0031124185770750046,
0.03362930193543434,
-0.04763518646359444,
-0.013246756978332996,
0.051165126264095306,
-0.04019574820995331,
0.00901462696492672,
-0.016738738864660263,
-0.01693801023066044,
-0.012402229011058807,
-0.046724237501621246,
-0.03638113662600517,
-0.0813024491071701,
0.04042348638176918,
0.0626658946275711,
-0.06426005810499191,
-0.0490395724773407,
-0.025165043771266937,
-0.023267226293683052,
0.03776654228568077,
0.009332511574029922,
0.07879733294248581,
-0.009802221320569515,
0.003171725431457162,
-0.0659680888056755,
-0.02138838917016983,
0.027195706963539124,
0.04167604446411133,
0.06957394629716873,
-0.00013032660353928804,
0.018759913742542267,
-0.0030151554383337498,
0.05173446983098984,
0.020287655293941498,
-0.013901503756642342,
0.014271577820181847,
-0.01799129880964756,
0.0006915167905390263,
-0.04042348638176918,
-0.0004987698048353195,
-0.02186284214258194,
-0.01693801023066044,
0.016140926629304886,
0.0008688439847901464,
0.054733019322156906,
-0.03319280594587326,
-0.014138731174170971,
0.025013217702507973,
0.05636514350771904,
-0.03958844766020775,
-0.01885480433702469,
-0.014451870694756508,
-0.028827829286456108,
-0.023798614740371704,
0.01469858642667532,
-0.044143207371234894,
0.011462810449302197,
0.0030080387368798256,
0.08638859540224075,
-0.009318278171122074,
-0.003933224361389875,
-0.0020389663986861706,
-0.0006458506104536355,
-0.0503680445253849,
0.055378276854753494,
0.01646355539560318,
-0.02556358464062214,
-0.015457713045179844,
0.03966435790061951,
0.05317680910229683,
0.024462850764393806,
0.03410375863313675,
0.0095839723944664,
-0.06418414413928986,
-0.048280443996191025,
0.05431549996137619,
0.008098931051790714,
0.005375564564019442,
-0.04934322088956833,
0.0364190936088562,
-0.005812062416225672,
0.031048273667693138,
-0.0015348588349297643,
0.017355529591441154,
-0.012753325514495373,
-0.030611775815486908,
0.01960444264113903,
0.029681846499443054,
-0.00905732810497284,
-0.003859683871269226,
0.012905150651931763,
0.004559503402560949,
0.006765714846551418,
-0.026588404551148415,
0.052645422518253326,
0.056858573108911514,
0.08282069861888885,
-0.022356275469064713,
0.0045689926482737064,
0.039132971316576004,
-0.04065122455358505,
0.0490395724773407,
0.02569643221795559,
0.05014030635356903,
-0.018570132553577423,
0.01568545028567314,
-0.045623503625392914,
0.011462810449302197,
0.0452059842646122,
0.007558053359389305,
-0.021179629489779472,
0.07207906246185303,
0.01454676128923893,
0.018019765615463257,
-0.07940462976694107,
0.019310280680656433,
-0.030384037643671036,
-0.019661376252770424,
0.016311731189489365,
-0.042624954134225845,
-0.0038668005727231503,
-0.0069649857468903065,
-0.019889114424586296,
-0.0032689885701984167,
0.011159159243106842,
0.01942414976656437,
0.04395342245697975,
0.07568491250276566,
-0.022925620898604393,
-0.044750507920980453,
-0.012051133438944817,
-0.058262959122657776,
0.02727161906659603,
-0.014821944758296013,
0.06171698495745659,
-0.01023871824145317,
-0.06145128980278969,
-0.033989887684583664,
0.010883975774049759,
-0.041220568120479584,
-0.004436145536601543,
-0.030118344351649284,
0.04285269230604172,
-0.013816102407872677,
-0.0004385734791867435,
0.027499357238411903,
-0.009503315202891827,
0.008682508952915668,
0.03581179305911064,
0.023115402087569237,
0.01034309808164835,
-0.03097236156463623,
0.0038264719769358635,
-0.018541663885116577,
0.012971573509275913,
-0.019348235800862312,
-0.032642439007759094,
-0.003117163199931383,
0.07405278831720352,
-0.02169203944504261,
-0.04816657677292824,
-0.0019938931800425053,
-0.006158413831144571,
0.0046543944627046585
] |
710,319
|
names
|
get_first_name
| null |
def get_first_name(gender=None):
if gender not in ('male', 'female'):
gender = random.choice(('male', 'female'))
return get_name(FILES['first:%s' % gender]).capitalize()
|
(gender=None)
|
[
-0.0007616138900630176,
0.01774214208126068,
0.02776428870856762,
0.020979000255465508,
-0.0051062749698758125,
-0.04631997272372246,
0.07567672431468964,
0.0019711086060851812,
0.0677144005894661,
-0.019057657569646835,
0.02989334613084793,
0.054524630308151245,
-0.06082525476813316,
0.04881252720952034,
0.03894616663455963,
0.03195316344499588,
0.04794705659151077,
0.032593611627817154,
0.012834925204515457,
0.007737305015325546,
0.017863307148218155,
-0.002522845985367894,
-0.007849816232919693,
-0.023177295923233032,
0.0021928853821009398,
0.05154741182923317,
0.02373119629919529,
-0.03191854804754257,
0.038703832775354385,
0.01222909614443779,
0.08772407472133636,
-0.05009342357516289,
-0.02425047941505909,
0.01602851040661335,
-0.03216087818145752,
-0.006720377132296562,
0.008840779773890972,
0.0801771730184555,
-0.08405447751283646,
-0.014565865509212017,
-0.04375817999243736,
0.006153494119644165,
0.04316966235637665,
-0.00298587279394269,
-0.03091460093855858,
0.016305461525917053,
0.049089476466178894,
0.0279200728982687,
0.014392771758139133,
0.031105004251003265,
0.015275551937520504,
0.019940435886383057,
-0.05140893906354904,
-0.04538526386022568,
-0.004716813564300537,
-0.028508592396974564,
0.03548428416252136,
-0.023696577176451683,
-0.030551103875041008,
0.05123584344983101,
0.030014511197805405,
-0.07671529054641724,
-0.00020581966964527965,
-0.06650274246931076,
-0.017620977014303207,
-0.004004964139312506,
0.07401502132415771,
0.016279496252536774,
-0.01139824464917183,
-0.017058420926332474,
-0.006612193305045366,
0.06674507260322571,
-0.004400916863232851,
0.003048619255423546,
0.0506819449365139,
0.042373426258563995,
-0.04202723875641823,
0.006118875462561846,
-0.012557975016534328,
-0.001554601127281785,
0.0361766591668129,
-0.009935599751770496,
-0.03960392251610756,
-0.03359755873680115,
-0.020511647686362267,
-0.029287517070770264,
-0.013683086261153221,
-0.07096856832504272,
0.009018201380968094,
0.019057657569646835,
-0.029547156766057014,
-0.04514293372631073,
0.04933181032538414,
0.023177295923233032,
0.01463510375469923,
-0.005050019361078739,
-0.034514956176280975,
0.02958177588880062,
0.009520174004137516,
0.041854146867990494,
-0.046770017594099045,
0.023333080112934113,
0.007196385879069567,
0.020130841061472893,
0.00550439115613699,
0.028473975136876106,
0.014496628195047379,
0.005898180417716503,
-0.0038167242892086506,
0.005850579589605331,
-0.06082525476813316,
-0.13099759817123413,
-0.009295151568949223,
0.060167498886585236,
0.04915871471166611,
-0.049193333834409714,
0.0323166623711586,
0.05144355818629265,
-0.01458317507058382,
-0.018936490640044212,
0.0015610920963808894,
0.004279750864952803,
-0.08834721148014069,
-0.012618557550013065,
-0.010688559152185917,
-0.006806924473494291,
0.06729897111654282,
-0.030637649819254875,
0.024129312485456467,
0.032091639935970306,
-0.027521956712007523,
0.046770017594099045,
-0.019403845071792603,
-0.014401426538825035,
0.022069493308663368,
0.017032455652952194,
-0.019109584391117096,
0.05009342357516289,
0.011649230495095253,
0.041334863752126694,
-0.024838998913764954,
-0.03686903789639473,
0.029287517070770264,
-0.020407790318131447,
-0.0029620721470564604,
0.0009796041995286942,
0.06127529963850975,
0.014600484631955624,
0.02193101868033409,
0.00894896313548088,
0.02719307877123356,
0.046770017594099045,
0.042477283626794815,
-0.03832302615046501,
0.0356919951736927,
-0.0512012243270874,
-0.04746239259839058,
-0.003351534018293023,
-0.06096373125910759,
-0.029131731018424034,
0.03133002668619156,
-0.02528904378414154,
-0.013181113637983799,
-0.007724322844296694,
0.03842688351869583,
0.010376989841461182,
0.022831108421087265,
0.03977701812982559,
0.03506885841488838,
0.010550083592534065,
0.053139880299568176,
0.00298587279394269,
-0.031035766005516052,
0.01584676280617714,
0.025583302602171898,
0.009156676009297371,
0.017811380326747894,
-0.018901871517300606,
0.009381698444485664,
0.0026526665315032005,
0.00920860469341278,
-0.007637775968760252,
0.017110349610447884,
-0.0005273959832265973,
0.035345807671546936,
0.023298460990190506,
0.00576403271406889,
0.0041044931858778,
0.05113198608160019,
-0.033839888870716095,
0.01280030608177185,
0.05133970081806183,
-0.05563243478536606,
-0.008481609635055065,
0.010463536716997623,
-0.0020663104951381683,
0.0330955870449543,
-0.04451979324221611,
0.01815756782889366,
-0.05521700903773308,
-0.043827418237924576,
0.04233881086111069,
-0.0010050274431705475,
0.009251877665519714,
-0.01646990142762661,
0.06210615113377571,
-0.020303934812545776,
0.04019244387745857,
-0.09603258967399597,
-0.021688686683773994,
-0.03221280500292778,
-0.03065495938062668,
-0.042684998363256454,
-0.00497645465657115,
-0.020390480756759644,
-0.08661627024412155,
-0.0002204244810855016,
0.02234644442796707,
0.005738068372011185,
0.04898562282323837,
-0.009814433753490448,
-0.02201756462454796,
0.055043913424015045,
0.01196945458650589,
0.06975691020488739,
-0.02068474143743515,
-0.02620644122362137,
-0.04074634239077568,
-0.06418327987194061,
-0.006114548072218895,
0.028872091323137283,
-0.04406974837183952,
0.02672572433948517,
-0.023800434544682503,
-0.04628535360097885,
-0.01860761269927025,
0.021844470873475075,
-0.03641899302601814,
-0.007676722016185522,
0.006495354697108269,
0.006170803681015968,
0.006642485037446022,
0.03884230926632881,
0.004102329257875681,
0.007057910785079002,
-0.029443301260471344,
0.019161513075232506,
-0.036522846668958664,
-0.07456892728805542,
-0.030879981815814972,
-0.011493446305394173,
0.06428713351488113,
-0.01339748129248619,
0.04701234772801399,
-0.02037317119538784,
-0.015076493844389915,
-0.03707674890756607,
0.03515540435910225,
-0.003171948716044426,
-0.000899007311090827,
-0.05611709877848625,
-0.058609653264284134,
-0.01763828471302986,
0.01584676280617714,
-0.04012320563197136,
0.0037366682663559914,
-0.005136566702276468,
0.05030113458633423,
0.045316025614738464,
-0.0527590736746788,
0.08627008646726608,
0.0760229155421257,
-0.02367926947772503,
-0.06169072538614273,
0.0261198952794075,
-0.013934072107076645,
-0.019403845071792603,
0.03390912711620331,
0.04403512924909592,
-0.046666160225868225,
-0.006742014084011316,
-0.03302634879946709,
0.022727251052856445,
0.055770907551050186,
-0.007153112441301346,
-0.01486878003925085,
0.03918849676847458,
-0.11451903730630875,
0.018192186951637268,
0.005439481232315302,
0.033216752111911774,
-0.041127149015665054,
-0.04659692198038101,
-0.03221280500292778,
-0.06743744760751724,
-0.05940588563680649,
0.01403792854398489,
-0.0367305614054203,
0.02130788005888462,
-0.018313352018594742,
-0.026310298591852188,
-0.0009347079903818667,
-0.026102585718035698,
-0.027902763336896896,
-0.0408501997590065,
-0.03138195350766182,
-0.05109737068414688,
-0.05234364792704582,
-0.040815580636262894,
0.02440626360476017,
-0.041854146867990494,
-0.02011353150010109,
-0.021844470873475075,
-0.002186394529417157,
0.0256006121635437,
0.022052183747291565,
0.042892709374427795,
0.0403309166431427,
0.03579585254192352,
0.02026931568980217,
0.016322771087288857,
0.009113403037190437,
-0.014687031507492065,
0.044658269733190536,
-0.017525775358080864,
0.0017579866107553244,
-0.06539493799209595,
0.02326384373009205,
-0.05414382368326187,
0.04524679109454155,
-0.05203207582235336,
-0.03884230926632881,
-0.027798907831311226,
-0.010065420530736446,
-0.03783836215734482,
0.060271356254816055,
-0.007996945641934872,
-0.010550083592534065,
0.03422069922089577,
0.0015794833889231086,
-0.005664503201842308,
-0.10801070183515549,
0.0024124986957758665,
0.022831108421087265,
0.05667099729180336,
0.025721779093146324,
0.04611226171255112,
-0.0058073061518371105,
0.027383482083678246,
-0.09160137921571732,
-0.003206567605957389,
0.011060710996389389,
-0.022934963926672935,
-0.03939621150493622,
-0.017032455652952194,
0.026656486093997955,
-0.041854146867990494,
0.0009482309687882662,
0.04386203736066818,
0.0589558407664299,
0.03030877187848091,
-0.025998728349804878,
0.0017915236530825496,
-0.007101184222847223,
0.016227569431066513,
-0.011311697773635387,
-0.019455773755908012,
0.0372498445212841,
0.02952984720468521,
-0.045523740351200104,
0.009251877665519714,
0.034930381923913956,
-0.07803080976009369,
-0.01800178363919258,
-0.03988087177276611,
0.02243299037218094,
0.04223495349287987,
0.014721650630235672,
-0.011623267084360123,
-0.00670739496126771,
-0.028664378449320793,
0.012834925204515457,
-0.006767977960407734,
0.05854041501879692,
-0.0708647146821022,
-0.017811380326747894,
-0.0021160750184208155,
-0.020442409440875053,
-0.04576607048511505,
-0.017387298867106438,
0.012133894488215446,
-0.017915235832333565,
0.007417080923914909,
0.0009812270291149616,
0.02677765302360058,
0.030897291377186775,
-0.05144355818629265,
-0.03039531782269478,
-0.01740460842847824,
0.027591194957494736,
-0.008905690163373947,
-0.044138986617326736,
-0.05161665007472038,
0.007226677145808935,
-0.016876671463251114,
0.03814993426203728,
0.03148581087589264,
-0.017369989305734634,
-0.012142549268901348,
0.08557770401239395,
-0.0024860636331140995,
-0.0002566660405136645,
-0.006902126129716635,
0.0003599815827328712,
0.06342166662216187,
0.02658724971115589,
-0.06369861960411072,
-0.02016545832157135,
-0.01975003257393837,
0.031831998378038406,
-0.06158686801791191,
0.027331553399562836,
-0.05888660252094269,
0.054732345044612885,
0.005153875797986984,
0.020511647686362267,
-0.029408682137727737,
-0.008066183887422085,
0.022969583049416542,
-0.003615502268075943,
0.001029909704811871,
-0.0015632557915523648,
-0.018572993576526642,
0.004061219748109579,
0.006993000395596027,
0.0022675322834402323,
0.009156676009297371,
0.026812272146344185,
-0.042684998363256454,
-0.03866921365261078,
0.039742399007081985,
0.028612449765205383,
-0.0012787324376404285,
-0.020927073433995247,
-0.05795189365744591,
0.0029382717330008745,
-0.019455773755908012,
0.009303806349635124,
-0.0263795368373394,
0.000505218340549618,
0.028300879523158073,
-0.00601069163531065,
-0.01380425225943327,
-0.019351916387677193,
0.08578541874885559,
0.003464045003056526,
-0.025462137535214424,
0.002477408852428198,
-0.02622375078499317,
-0.018399899825453758,
-0.05037037283182144,
0.08827797323465347,
0.03558814153075218,
0.03112231381237507,
0.019161513075232506,
-0.020615503191947937,
0.06449484825134277,
0.052516739815473557,
-0.0007670230697840452,
-0.00026180478744208813,
0.017577702179551125,
-0.001423698733560741,
-0.0004568060685414821,
-0.009295151568949223,
-0.030031820759177208,
0.013743668794631958,
-0.024787070229649544,
0.014280260540544987,
-0.01743057183921337,
0.012445463798940182,
0.017421917989850044,
-0.01810563914477825,
-0.01959424838423729,
0.03226473554968834,
0.03749217465519905,
-0.003297442104667425,
-0.07422273606061935,
0.04271961748600006,
-0.03191854804754257,
-0.017915235832333565,
0.02978948876261711,
0.04126562550663948,
-0.0014096348313614726,
-0.026292989030480385,
-0.01995774544775486,
0.010775106027722359,
-0.00621840450912714,
0.039638541638851166,
0.02141173556447029,
0.05674023553729057,
0.0030226551461964846,
-0.0677490159869194,
0.038911547511816025,
-0.05836731940507889,
-0.020442409440875053,
0.015370753593742847,
-0.07664605230093002,
-0.03403029218316078,
-0.01696321927011013,
-0.0012397862737998366,
0.03752679377794266,
0.007378134876489639,
-0.02508133091032505,
-0.04161181300878525,
-0.0035852110013365746,
-0.0070968568325042725,
0.0036133385729044676,
0.07408425956964493,
0.0041564214043319225,
-0.012350262142717838,
-0.029927965253591537,
-0.0372152253985405,
-0.05099351331591606,
0.05989054590463638,
0.014046583324670792,
0.02258877642452717,
0.008615757338702679,
-0.0000663301907479763,
-0.01018658559769392,
0.011631921865046024,
-0.023852363228797913,
0.011389589868485928,
0.021325189620256424,
0.021394426003098488,
-0.003011836903169751,
-0.05237826332449913,
-0.020615503191947937,
-0.00009601311467122287,
0.041542574763298035,
-0.0138302156701684,
-0.0026072293985635042,
-0.042788852006196976,
0.004630266223102808,
0.0341341495513916,
0.01010869350284338,
-0.04275423660874367,
-0.009554792195558548,
-0.0009076620335690677,
0.0026937765069305897,
-0.009096093475818634,
-0.007897417061030865,
-0.08294668048620224,
-0.05009342357516289,
-0.03411684185266495,
-0.024060076102614403,
-0.011614612303674221,
-0.038496121764183044,
0.03814993426203728,
0.007404098752886057,
-0.005564974155277014,
0.006698740646243095,
-0.03515540435910225,
0.0537630170583725,
0.06065216287970543,
0.03098383918404579,
-0.005218786187469959,
-0.055147770792245865,
0.03538042679429054,
0.015803487971425056,
-0.02326384373009205,
0.02063281275331974,
0.10565661638975143,
0.06501413136720657,
0.052309028804302216,
-0.05667099729180336,
0.034722670912742615,
0.03004913032054901,
0.04486598074436188,
0.008836451917886734,
0.07588443905115128,
0.002734886249527335,
-0.040261682122945786,
0.006729031912982464,
-0.005876543466001749,
-0.04787781834602356,
0.028975946828722954,
-0.031139623373746872,
-0.0024060076102614403,
-0.059752073138952255,
0.03325137123465538,
-0.0480855330824852,
0.010151967406272888,
-0.00940766278654337,
-0.045731451362371445,
0.017136313021183014,
0.0008665521745570004,
0.07990022003650665,
-0.030014511197805405,
-0.025410208851099014,
0.00007288883352885023,
-0.015967927873134613,
-0.02269263193011284,
0.020303934812545776,
0.05885198339819908,
0.04220033437013626,
0.015647703781723976,
-0.042892709374427795,
0.02227720618247986,
-0.023073438555002213,
0.015067839063704014,
-0.010593356564640999,
0.038599979132413864,
0.008035891689360142,
0.01975003257393837,
-0.0035094821359962225,
0.0573979914188385,
0.02682957984507084,
-0.0832236260175705,
0.010126003064215183,
0.01657375693321228,
-0.060686782002449036,
0.021134786307811737,
-0.021740615367889404,
0.007447372190654278,
-0.01458317507058382,
-0.05822884291410446,
0.0219829473644495,
-0.01429757010191679,
-0.03908463940024376,
-0.0951324999332428,
-0.02000967413187027,
-0.04427746310830116,
-0.004271096084266901,
-0.05777880176901817,
0.03359755873680115,
0.029599085450172424,
-0.0006253023166209459,
0.02347155660390854,
-0.09402469545602798,
-0.017214205116033554,
-0.039846256375312805,
-0.03960392251610756,
0.02445819228887558,
0.012575283646583557,
-0.004240804817527533,
-0.019559629261493683,
-0.05774418264627457,
0.01421967800706625,
0.000968244974501431,
-0.027054602280259132,
-0.0677144005894661,
0.07166094332933426,
-0.01621025986969471,
0.030326081439852715,
0.04694311320781708,
-0.023298460990190506,
0.022640705108642578,
-0.0408501997590065,
-0.022623395547270775,
-0.012679140083491802,
-0.00275435927323997,
-0.04323889687657356,
0.09457860141992569,
0.03044724650681019,
0.002704594749957323,
-0.02838742733001709,
-0.034930381923913956,
-0.07560748606920242,
-0.021757924929261208,
-0.045731451362371445,
-0.03811531513929367,
0.04306580498814583,
0.04566221684217453,
-0.08571618050336838,
0.02393890917301178,
0.02565254084765911,
0.07117628306150436,
0.03169352561235428,
0.04978185519576073,
0.034722670912742615,
0.07526130229234695,
-0.009805778972804546,
0.06189844012260437,
-0.01458317507058382,
0.024700524285435677,
-0.00927784200757742,
0.010679904371500015,
0.00733053358271718,
0.0009649994317442179,
0.04715082421898842,
-0.009883671067655087,
-0.03752679377794266,
0.03532849997282028,
0.04355046898126602,
0.014643758535385132,
0.0051062749698758125,
-0.001978681655600667,
0.06688354909420013,
-0.07221484184265137,
-0.01800178363919258,
-0.012583938427269459,
0.021792544052004814,
-0.03380526974797249,
-0.030135678127408028,
-0.03780374303460121,
-0.024440882727503777,
-0.01659972034394741,
0.06345628201961517,
0.015708286315202713,
-0.0002516625390853733,
0.03280132636427879,
-0.012168512679636478,
0.00019986955157946795,
0.05684409290552139,
-0.020823216065764427,
-0.03527656942605972,
-0.022329134866595268,
0.03129540756344795,
0.04417360574007034,
0.015154385939240456,
0.01065394002944231,
-0.036384373903274536,
0.05701718479394913,
0.028162404894828796,
-0.014747614972293377,
-0.06224462762475014,
0.03319944068789482,
-0.05715566128492355,
-0.07159170508384705,
0.038807690143585205,
-0.0014496628427878022,
0.02828356996178627,
-0.012332952581346035,
0.08183887600898743,
-0.005725086200982332,
-0.010584702715277672,
0.027573885396122932,
0.0032498410437256098,
0.008109456859529018,
0.010039456188678741,
-0.018469136208295822,
0.046146877110004425,
0.011372280307114124,
0.013613848946988583,
0.03752679377794266,
0.04493521898984909,
0.042373426258563995,
-0.08149268478155136,
-0.037872981280088425,
0.04607764258980751,
0.010870307683944702,
0.001798014622181654,
-0.028768233954906464,
0.03165890648961067,
0.0009704086114652455,
-0.020148148760199547,
-0.03262823075056076,
0.00501540070399642,
0.02978948876261711,
0.006322260946035385,
0.009684612974524498,
-0.01520631369203329,
0.05393611267209053,
0.0017428408609703183,
0.010472191497683525,
-0.016608376055955887,
-0.009450935758650303,
0.02229451574385166
] |
710,320
|
names
|
get_full_name
| null |
def get_full_name(gender=None):
return "{0} {1}".format(get_first_name(gender), get_last_name())
|
(gender=None)
|
[
-0.004759598057717085,
0.0034793263766914606,
0.06830410659313202,
0.01855640858411789,
-0.012893088161945343,
-0.04100311920046806,
0.05064281076192856,
-0.022463925182819366,
0.05012639984488487,
-0.07574044167995453,
0.00395270437002182,
0.01390869915485382,
-0.07257311046123505,
0.024942703545093536,
0.0656876191496849,
0.02122453600168228,
0.04069327190518379,
-0.030692091211676598,
0.03439304605126381,
0.028815794736146927,
0.05811357498168945,
0.032361824065446854,
-0.017317019402980804,
-0.04568525776267052,
-0.03628655523061752,
0.027404267340898514,
0.029401062056422234,
-0.024942703545093536,
0.009097459726035595,
0.0246672835201025,
0.07787494361400604,
-0.055703651160001755,
-0.009613871574401855,
-0.02375495620071888,
-0.029349420219659805,
0.012307821772992611,
0.011800016276538372,
0.10775798559188843,
-0.07952746003866196,
-0.003948400728404522,
-0.04974769800901413,
-0.014227152802050114,
0.007720360532402992,
-0.008813433349132538,
-0.0019559108186513186,
-0.017101846635341644,
0.05167563632130623,
-0.014734958298504353,
0.010715550743043423,
0.04048670828342438,
0.04089983552694321,
0.013702133670449257,
-0.05759716033935547,
-0.04582296684384346,
-0.01958923228085041,
-0.02151717059314251,
0.026457512751221657,
-0.004695046693086624,
-0.0032189686316996813,
0.04916243255138397,
-0.006764998193830252,
-0.07381249964237213,
-0.015380472876131535,
-0.051055941730737686,
-0.04592624679207802,
0.005542823113501072,
0.052088767290115356,
0.010250779800117016,
0.012204539030790329,
-0.007010294124484062,
-0.015070626512169838,
0.06554991006851196,
0.0025089019909501076,
-0.008193738758563995,
0.03287823498249054,
0.0346512496471405,
-0.0697844848036766,
-0.000933307281229645,
0.01891789585351944,
-0.03329136595129967,
0.009992574341595173,
-0.03215526044368744,
-0.07305509597063065,
-0.021293392404913902,
0.008030207827687263,
-0.029246138408780098,
-0.07202227413654327,
-0.06534334272146225,
-0.004785418510437012,
0.01713627390563488,
-0.0515034981071949,
-0.014562821015715599,
0.06128090247511864,
0.054980672895908356,
-0.022618848830461502,
-0.013727954588830471,
-0.012927516363561153,
0.035804569721221924,
0.022412285208702087,
0.062107160687446594,
-0.03742266073822975,
-0.029779763892292976,
-0.012918909080326557,
0.03144949674606323,
-0.0012157200835645199,
0.018246561288833618,
0.01581081748008728,
0.012445530854165554,
0.00465631578117609,
-0.002653067000210285,
-0.07078288495540619,
-0.12455859780311584,
-0.008025904186069965,
0.02175816334784031,
0.032671671360731125,
0.012703737244009972,
0.002278668340295553,
0.07697983086109161,
0.008581047877669334,
-0.047957468777894974,
0.034599609673023224,
0.003601974342018366,
-0.0733993723988533,
-0.0560823529958725,
0.013917305506765842,
-0.013349252752959728,
0.019554805010557175,
-0.0012006581528112292,
0.023737741634249687,
0.01879739947617054,
-0.018453124910593033,
0.058733269572257996,
-0.0568053312599659,
-0.03504716604948044,
0.03673411160707474,
0.02557961270213127,
-0.011481561698019505,
0.036596402525901794,
0.012807019986212254,
0.07450105249881744,
-0.031535565853118896,
-0.041071973741054535,
0.028316596522927284,
-0.012092649936676025,
-0.009570837020874023,
-0.007487975060939789,
0.05453311651945114,
0.06551548093557358,
-0.0014922157861292362,
-0.015044805593788624,
0.04664922505617142,
0.05694304034113884,
0.028247741982340813,
-0.029108427464962006,
0.02363445982336998,
-0.019623659551143646,
-0.018108850345015526,
-0.0056848363019526005,
0.00536638218909502,
-0.02840266562998295,
0.029573198407888412,
-0.04189823567867279,
-0.013004978187382221,
0.011378279887139797,
0.054498687386512756,
0.022773772478103638,
0.035098809748888016,
0.010947936214506626,
0.05301830917596817,
-0.0012770440662279725,
0.021207323297858238,
-0.02533861994743347,
-0.026078810915350914,
0.027886252850294113,
0.016112057492136955,
0.05432655289769173,
-0.009622478857636452,
-0.018349843099713326,
-0.028023961931467056,
-0.017058812081813812,
-0.0049661630764603615,
-0.021052399650216103,
0.02780018374323845,
-0.049231287091970444,
0.038903042674064636,
-0.009691333398222923,
0.004324951209127903,
-0.019055606797337532,
0.034238122403621674,
-0.027059992775321007,
-0.033463504165410995,
0.03410041332244873,
-0.03921288996934891,
0.018590835854411125,
-0.013495569117367268,
-0.03697510436177254,
0.028316596522927284,
-0.030571594834327698,
0.05615120753645897,
-0.0806291401386261,
-0.053224872797727585,
0.04444586858153343,
-0.005194244906306267,
0.011868870817124844,
-0.025063199922442436,
0.07539616525173187,
-0.030571594834327698,
0.06265799701213837,
-0.08489814400672913,
-0.06300227344036102,
0.011266390793025494,
-0.02291148342192173,
-0.024615643545985222,
-0.01976136863231659,
-0.019244957715272903,
-0.051228079944849014,
0.004335709847509861,
0.028299381956458092,
-0.0028876042924821377,
0.07622242718935013,
-0.01958923228085041,
-0.10665631294250488,
0.07071402668952942,
0.009545017033815384,
0.029831405729055405,
-0.012789806351065636,
-0.02979697659611702,
-0.01855640858411789,
-0.027662474662065506,
-0.017179308459162712,
0.015466541983187199,
-0.020415490493178368,
0.0060807522386312485,
-0.013710740953683853,
-0.048749301582574844,
-0.014666102826595306,
0.0061151799745857716,
-0.029452702030539513,
0.01915888860821724,
0.008223862387239933,
0.007216859143227339,
-0.0034685677383095026,
0.0285231601446867,
-0.005603071302175522,
0.03239625319838524,
-0.020226139575242996,
0.01939988136291504,
-0.021207323297858238,
-0.028385451063513756,
-0.026491940021514893,
-0.05677090212702751,
0.06503349542617798,
-0.0007288941415026784,
0.03694067895412445,
-0.013788202777504921,
-0.027111634612083435,
-0.02248113974928856,
0.05780372768640518,
0.0014588641934096813,
-0.009278204292058945,
-0.03797350078821182,
-0.039075180888175964,
-0.04616723954677582,
0.000004673260264098644,
-0.025235338136553764,
0.0007703147130087018,
0.0018440214917063713,
-0.003087713848799467,
0.0577692985534668,
-0.02828216925263405,
0.07188456505537033,
0.06926807761192322,
-0.039316173642873764,
-0.03126014396548271,
-0.008456247858703136,
0.007251286413520575,
0.005689139943569899,
0.02122453600168228,
-0.0023109440226107836,
-0.05036739259958267,
-0.013684920035302639,
-0.03305037319660187,
0.017678506672382355,
0.06534334272146225,
-0.008344358764588833,
-0.03156999126076698,
0.04024571552872658,
-0.1025250107049942,
0.015483755618333817,
0.025614039972424507,
0.07119601219892502,
-0.039557166397571564,
-0.043619606643915176,
0.030382243916392326,
-0.032964304089546204,
-0.0507805235683918,
0.05845784768462181,
-0.04244907200336456,
-0.0029758247546851635,
-0.030210107564926147,
-0.04661479592323303,
0.017902284860610962,
0.011395493522286415,
-0.033704496920108795,
-0.02260163612663746,
-0.07250425964593887,
-0.033876631408929825,
-0.0481296069920063,
-0.03189705312252045,
0.02781739830970764,
-0.03341186046600342,
-0.032189685851335526,
0.005276010371744633,
-0.019090034067630768,
0.013960340060293674,
0.02146552875638008,
0.0010139966616407037,
-0.0041205380111932755,
0.03838663175702095,
0.015406293794512749,
-0.0032340306788682938,
-0.0010236793896183372,
0.01807442307472229,
0.046752508729696274,
-0.03310201317071915,
0.0019247109303250909,
-0.08944257348775864,
0.0556003674864769,
-0.003907517995685339,
0.03156999126076698,
-0.061143189668655396,
-0.08434730768203735,
-0.035391442477703094,
-0.017695721238851547,
-0.04988540709018707,
0.037629228085279465,
-0.009476161561906338,
-0.0022937303874641657,
-0.004815542604774237,
0.011378279887139797,
0.034117624163627625,
-0.018831826746463776,
-0.014123870991170406,
0.035460297018289566,
0.034961096942424774,
0.040762126445770264,
0.038111213594675064,
0.01296194363385439,
0.026922283694148064,
-0.06334654986858368,
-0.012282000854611397,
-0.003591215703636408,
-0.037698082625865936,
-0.017153488472104073,
-0.00599898723885417,
0.03535701334476471,
0.0009182452340610325,
0.016955530270934105,
0.007780608721077442,
0.0666515901684761,
-0.01826377399265766,
-0.046821363270282745,
0.005357775371521711,
0.03132899850606918,
0.013917305506765842,
0.010190531611442566,
-0.010164711624383926,
0.04492785036563873,
0.048990294337272644,
-0.057149603962898254,
-0.02211965061724186,
0.0013340645236894488,
-0.038111213594675064,
0.01257463451474905,
-0.0729173868894577,
0.05453311651945114,
0.0560823529958725,
0.00015452018124051392,
-0.01867690309882164,
-0.04912800341844559,
-0.03280938044190407,
0.0061453040689229965,
-0.0007934456807561219,
0.034238122403621674,
-0.07367479056119919,
-0.0029930383898317814,
-0.002543329494073987,
-0.020277781412005424,
-0.06227929890155792,
0.01836705580353737,
-0.0038558768574148417,
-0.05315601825714111,
-0.033205296844244,
-0.027834611013531685,
-0.0022851235698908567,
0.01867690309882164,
-0.02726655825972557,
-0.04120968282222748,
-0.030606022104620934,
-0.014915702864527702,
0.012832839973270893,
-0.03756037354469299,
0.002386254258453846,
-0.014407897368073463,
-0.03367006778717041,
0.034238122403621674,
0.04726891964673996,
-0.03497831150889397,
0.007234072778373957,
0.05670204758644104,
-0.0007783836335875094,
-0.01278119906783104,
-0.061143189668655396,
0.021258965134620667,
0.08531127870082855,
0.01187747810035944,
-0.051951054483652115,
0.010500378906726837,
0.006360475439578295,
0.003982827998697758,
-0.03928174450993538,
0.03003796935081482,
-0.0515034981071949,
0.07470761239528656,
0.002762804739177227,
0.015062019228935242,
-0.060833342373371124,
0.008189435116946697,
0.016929710283875465,
-0.008443337865173817,
0.019417094066739082,
-0.01607763022184372,
-0.01843591220676899,
0.004316344391554594,
0.011713947169482708,
-0.0032232720404863358,
0.04671807959675789,
0.04392945393919945,
-0.016809213906526566,
-0.02902236022055149,
0.051710065454244614,
0.02804117649793625,
-0.015380472876131535,
0.006364779081195593,
-0.052501894533634186,
0.008443337865173817,
-0.012385283596813679,
-0.03210361674427986,
-0.010922115296125412,
0.012772592715919018,
0.030089611187577248,
-0.0007143700495362282,
-0.03492667153477669,
0.005994683597236872,
0.07780608534812927,
-0.046511515974998474,
-0.04461800307035446,
0.0018590835388749838,
-0.0271977037191391,
-0.029951900243759155,
-0.038834188133478165,
0.07718639075756073,
0.029469916597008705,
0.07250425964593887,
0.009889291599392891,
-0.038042355328798294,
0.07105830311775208,
0.02991747297346592,
-0.055152811110019684,
0.013073832727968693,
0.02399594895541668,
0.010285207070410252,
-0.03879976272583008,
-0.007621381897479296,
-0.006928528659045696,
0.03638983890414238,
-0.04110640287399292,
-0.023049192503094673,
0.001267361338250339,
-0.004243186209350824,
-0.051296934485435486,
0.00907163880765438,
-0.019985148683190346,
0.04110640287399292,
0.03251674771308899,
0.014640282839536667,
-0.0320003367960453,
0.03210361674427986,
-0.0529494509100914,
-0.0022743649315088987,
0.03848991543054581,
0.05893983319401741,
0.0003881159645970911,
-0.02556239813566208,
-0.011610665358603,
0.007363175507634878,
0.01033684890717268,
-0.04248350113630295,
0.016568221151828766,
0.06764998286962509,
0.009226562455296516,
-0.05949067324399948,
0.06658273190259933,
-0.035701289772987366,
0.004458357580006123,
0.0032082099933177233,
-0.03700953349471092,
0.0006352944765239954,
-0.007780608721077442,
0.014838241040706635,
0.025717321783304214,
-0.006997383665293455,
-0.009613871574401855,
-0.023961521685123444,
-0.016284193843603134,
-0.011163108050823212,
0.024202512577176094,
0.05284617096185684,
0.041071973741054535,
-0.005164120811969042,
-0.009166314266622066,
0.014795206487178802,
-0.04117525741457939,
0.021172896027565002,
-0.0014287400990724564,
0.05566922202706337,
0.03329136595129967,
0.026646863669157028,
-0.053224872797727585,
0.002326006069779396,
-0.026491940021514893,
0.03501274064183235,
0.007483671884983778,
0.02580339089035988,
-0.032482318580150604,
-0.03886861726641655,
-0.0536724291741848,
-0.018349843099713326,
0.021482743322849274,
0.010767191648483276,
0.04365403577685356,
-0.030606022104620934,
0.009588050656020641,
0.0015858154511079192,
-0.007896801456809044,
-0.03821449354290962,
0.02798953466117382,
0.01181722991168499,
0.04117525741457939,
-0.0008994177333079278,
0.0061539108864963055,
-0.08827204257249832,
-0.027903465554118156,
0.04176052287220955,
-0.043550752103328705,
-0.0072598932310938835,
-0.031346213072538376,
0.043550752103328705,
0.009803222492337227,
-0.005740780849009752,
0.02551075629889965,
0.004690743051469326,
0.027490336447954178,
0.03308480232954025,
0.047303348779678345,
0.008486372418701649,
-0.007651505526155233,
0.06799425929784775,
0.014339041896164417,
-0.009829043410718441,
-0.04565082862973213,
0.07897662371397018,
0.04561639949679375,
0.03917846456170082,
-0.07305509597063065,
0.0231008343398571,
0.04045227915048599,
0.01812606491148472,
0.025493543595075607,
0.06995662301778793,
-0.010061428882181644,
-0.03886861726641655,
-0.009682727046310902,
-0.03535701334476471,
-0.02242949791252613,
0.07932090014219284,
-0.03669968619942665,
0.006631591822952032,
-0.025373047217726707,
0.011318031698465347,
-0.035391442477703094,
0.0018526283092796803,
0.025476329028606415,
-0.045719683170318604,
0.04750991240143776,
0.013004978187382221,
-0.002015083096921444,
0.00864129513502121,
-0.005723567213863134,
-0.001663277274928987,
-0.01387427095323801,
-0.005138300359249115,
0.02187865786254406,
0.054429832845926285,
0.037388235330581665,
0.020329423248767853,
-0.020036788657307625,
0.04341304302215576,
-0.05188219994306564,
0.005900008138269186,
-0.01754079759120941,
0.03162163496017456,
0.0068424600176513195,
0.005422326736152172,
-0.01631862111389637,
0.020776979625225067,
0.017265377566218376,
-0.05212319269776344,
-0.03824892267584801,
0.027473123744130135,
-0.022016368806362152,
0.04220808297395706,
-0.054429832845926285,
0.008068938739597797,
-0.006184034515172243,
-0.012910301797091961,
0.009631085209548473,
0.013779595494270325,
-0.00862838514149189,
-0.0478886142373085,
-0.03866204991936684,
-0.008839253336191177,
-0.012402497231960297,
-0.05009197071194649,
0.04623609408736229,
0.0065283095464110374,
0.008830646984279156,
0.028333809226751328,
-0.09357386827468872,
-0.013022191822528839,
-0.058354564011096954,
-0.005189941264688969,
0.026681290939450264,
-0.0052286721765995026,
-0.0031156863551586866,
-0.013616065494716167,
-0.040280140936374664,
0.016809213906526566,
-0.02406480349600315,
-0.039316173642873764,
-0.06489578634500504,
0.07078288495540619,
0.005202851723879576,
0.03976373001933098,
0.04616723954677582,
-0.018935110419988632,
0.005577250383794308,
-0.023789383471012115,
-0.020880261436104774,
0.016929710283875465,
-0.014855454675853252,
-0.07333051413297653,
0.07477647066116333,
0.025011558085680008,
0.001003775978460908,
-0.02781739830970764,
-0.06658273190259933,
-0.05016082897782326,
0.01946873590350151,
-0.05384456738829613,
-0.010181925259530544,
0.04358518123626709,
0.052019912749528885,
-0.06537777185440063,
-0.021981941536068916,
-0.012677916325628757,
0.06265799701213837,
0.025837818160653114,
0.039935868233442307,
0.006631591822952032,
0.1140926405787468,
-0.015010378323495388,
0.04176052287220955,
-0.04420487582683563,
0.03451354056596756,
0.02594109997153282,
-0.017678506672382355,
0.020415490493178368,
0.011645092628896236,
0.02878136746585369,
0.03332579508423805,
-0.09316074103116989,
0.04527212679386139,
0.01737726666033268,
0.049541134387254715,
0.005478271748870611,
-0.027714114636182785,
0.05071166530251503,
-0.03821449354290962,
-0.02544190175831318,
-0.0009456796105951071,
0.055462658405303955,
-0.03756037354469299,
-0.015871064737439156,
-0.02690506912767887,
-0.0020226140040904284,
0.0032749134115874767,
0.046339377760887146,
-0.02642308548092842,
-0.012583240866661072,
0.05711517855525017,
0.0031931481789797544,
0.012118469923734665,
0.035460297018289566,
0.005659015849232674,
-0.06334654986858368,
0.004845666699111462,
0.023892665281891823,
0.033945489674806595,
0.0010656379163265228,
0.003941945731639862,
-0.0019386970670893788,
0.04200151562690735,
-0.012170111760497093,
0.009966753423213959,
-0.031225716695189476,
0.013228756375610828,
-0.05257074907422066,
-0.042414646595716476,
0.02580339089035988,
0.0049360389821231365,
0.03532258793711662,
0.024409078061580658,
0.07883891463279724,
0.02067369781434536,
0.004643405321985483,
0.02841987833380699,
0.016791999340057373,
-0.025614039972424507,
-0.007651505526155233,
0.0009117900626733899,
0.061143189668655396,
0.030244534835219383,
0.02363445982336998,
0.06854509562253952,
0.0652056336402893,
0.00753961643204093,
-0.049850981682538986,
-0.07587815076112747,
-0.01489848829805851,
0.03138064220547676,
0.01701577752828598,
-0.029280565679073334,
0.017678506672382355,
0.028505947440862656,
-0.035219304263591766,
-0.03869647905230522,
0.011782802641391754,
0.009691333398222923,
-0.018246561288833618,
-0.015346045605838299,
-0.01027660071849823,
0.03112243488430977,
-0.017265377566218376,
-0.021000757813453674,
0.03676854074001312,
-0.02623373456299305,
0.03451354056596756
] |
710,321
|
names
|
get_last_name
| null |
def get_last_name():
return get_name(FILES['last']).capitalize()
|
()
|
[
-0.01616056263446808,
0.033924784511327744,
-0.007927355356514454,
0.08114173263311386,
-0.041033778339624405,
-0.04152975231409073,
0.04407576471567154,
0.03342880681157112,
0.06864313036203384,
-0.03690063953399658,
0.03825630992650986,
-0.017392238602042198,
-0.06930442899465561,
-0.012639130465686321,
0.04493545740842819,
0.06732052564620972,
0.058029234409332275,
0.010489899665117264,
-0.006778343580663204,
-0.020252367481589317,
0.006526222452521324,
-0.020979799330234528,
-0.0016594541957601905,
-0.057698581367731094,
0.009655006229877472,
0.049266986548900604,
0.03676838055253029,
-0.015623255632817745,
0.01606963388621807,
-0.013920403085649014,
0.019921716302633286,
-0.041033778339624405,
0.01134132593870163,
-0.004476186819374561,
0.021938687190413475,
0.011052006855607033,
-0.004624979570508003,
0.03858695924282074,
-0.05340012162923813,
-0.06269141286611557,
-0.01711118407547474,
-0.004434855189174414,
0.01616056263446808,
0.013920403085649014,
0.03670224919915199,
0.01568111963570118,
0.04272009804844856,
0.009646739810705185,
0.02139311283826828,
0.026055291295051575,
-0.008968905545771122,
0.010316308587789536,
-0.0529702752828598,
-0.05240816995501518,
-0.004021541681140661,
-0.03023802489042282,
0.05981474742293358,
-0.043778181076049805,
-0.052904143929481506,
0.03875228762626648,
0.027708545327186584,
-0.07889330387115479,
0.01435024943202734,
-0.07247868180274963,
0.03455302119255066,
0.06702294200658798,
0.04334833472967148,
-0.005480538588017225,
-0.004575381986796856,
0.031511031091213226,
0.011919965036213398,
0.01889669895172119,
-0.01724344491958618,
-0.007753763813525438,
0.038653090596199036,
-0.015631521120667458,
-0.042124927043914795,
0.012597799301147461,
-0.021971752867102623,
-0.016284557059407234,
-0.008588657714426517,
-0.0036536925472319126,
-0.02474921941757202,
-0.008547325618565083,
0.003773553529754281,
-0.06831247359514236,
0.011324793100357056,
-0.07459484785795212,
-0.06804795563220978,
0.034255433827638626,
-0.05981474742293358,
-0.052044451236724854,
0.029775114730000496,
0.02534439228475094,
-0.009522746317088604,
-0.06107122078537941,
-0.06338577717542648,
0.008605189621448517,
-0.0012017093831673265,
0.008729184046387672,
-0.008390266448259354,
0.03911600261926651,
0.024964142590761185,
0.014358515851199627,
0.03766113892197609,
0.030122296884655952,
-0.005579734221100807,
-0.02732829749584198,
-0.03934745863080025,
-0.00023210143262986094,
-0.0465887114405632,
-0.06844473630189896,
-0.006869272794574499,
0.040835388004779816,
0.0693705603480339,
-0.028518641367554665,
0.02506333962082863,
0.043216072022914886,
0.011333059519529343,
-0.008427465334534645,
0.013829474337399006,
-0.01206875778734684,
-0.0877547487616539,
-0.016962392255663872,
-0.06589872390031815,
-0.0034573685843497515,
0.05194525793194771,
-0.03766113892197609,
0.0006225536344572902,
-0.008638255298137665,
-0.05065571889281273,
0.025889966636896133,
-0.01635068655014038,
-0.01840072311460972,
0.07895943522453308,
0.0045051188208162785,
-0.006683281622827053,
0.07399967312812805,
-0.025410521775484085,
0.05230897292494774,
0.0030192560516297817,
0.011093338020145893,
0.0529702752828598,
-0.01061389409005642,
-0.02094673551619053,
0.009936059825122356,
0.0375288762152195,
0.012300213798880577,
0.02575770579278469,
-0.003626827150583267,
-0.003876881906762719,
0.02139311283826828,
0.037561941891908646,
-0.008431598544120789,
0.01820233277976513,
-0.012911917641758919,
-0.013870805501937866,
0.011845569126307964,
-0.04427415505051613,
-0.06844473630189896,
0.04328220337629318,
-0.012077024206519127,
-0.018797503784298897,
-0.07525614649057388,
0.02954365871846676,
0.008402666077017784,
0.04493545740842819,
0.04467093572020531,
0.03673531487584114,
0.053102534264326096,
0.04460480809211731,
0.010779219679534435,
0.0002789866994135082,
0.04314994439482689,
-0.04331526905298233,
0.027510154992341995,
0.022616522386670113,
-0.014259320683777332,
0.03402397781610489,
0.04017408564686775,
0.0022112280130386353,
-0.029923906549811363,
0.012167952954769135,
0.00485230190679431,
0.05075491592288017,
-0.0036991569213569164,
-0.030783599242568016,
0.01615229621529579,
0.02861783653497696,
-0.04106684401631355,
-0.00851426087319851,
0.03789259493350983,
-0.0032093804329633713,
-0.025443587452173233,
0.020533422008156776,
-0.006844473537057638,
0.06930442899465561,
0.03871922194957733,
0.052540428936481476,
-0.05115169659256935,
-0.03164329007267952,
0.047448404133319855,
-0.021690700203180313,
-0.031015055254101753,
0.021657634526491165,
0.031742487102746964,
0.030122296884655952,
-0.004434855189174414,
-0.09053222090005875,
0.022831445559859276,
0.009431816637516022,
0.013002847321331501,
-0.046324193477630615,
-0.00034046711516566575,
-0.028667433187365532,
-0.08206755667924881,
-0.003726022318005562,
0.019161220639944077,
0.03192434459924698,
0.03488367050886154,
-0.042488642036914825,
-0.012134888209402561,
0.050192806869745255,
-0.017607159912586212,
0.03871922194957733,
-0.02195522002875805,
0.030535610392689705,
0.0356772318482399,
0.004744840320199728,
-0.013184704817831516,
-0.016838397830724716,
-0.03192434459924698,
-0.00801001861691475,
0.004352192394435406,
-0.03435463085770607,
-0.023079432547092438,
-0.03346187248826027,
-0.017491433769464493,
0.012192752212285995,
-0.017177315428853035,
-0.005302813835442066,
0.0004127970023546368,
0.018681775778532028,
0.011490118689835072,
-0.03313121944665909,
-0.06844473630189896,
0.02078140899538994,
0.01554059237241745,
-0.022252805531024933,
-0.002920060884207487,
0.0264851376414299,
0.07095768302679062,
-0.0402732789516449,
0.020764876157045364,
-0.016764000058174133,
0.015747249126434326,
-0.04533223807811737,
-0.029047682881355286,
0.006885805167257786,
0.006844473537057638,
-0.002779534086585045,
-0.017656758427619934,
-0.0024716155603528023,
0.007968686521053314,
-0.04152975231409073,
0.0014300651382654905,
0.010365906171500683,
0.015623255632817745,
0.03584255650639534,
-0.01435024943202734,
0.07267706841230392,
0.02240159921348095,
-0.0584590807557106,
-0.07651261985301971,
0.011308261193335056,
-0.03068440407514572,
0.0009619874763302505,
0.02550971694290638,
-0.01114293560385704,
-0.04966376721858978,
0.013556687161326408,
-0.03213926777243614,
-0.02139311283826828,
0.003391238395124674,
0.01134132593870163,
0.00858039129525423,
0.010754420422017574,
-0.11228904873132706,
-0.021442711353302002,
0.005311080254614353,
0.02159150503575802,
-0.034453824162483215,
-0.0324203222990036,
-0.005856654141098261,
-0.021409645676612854,
-0.0950290709733963,
0.012655663304030895,
-0.032883234322071075,
0.03951278328895569,
-0.006389828864485025,
-0.08729183673858643,
0.016276290640234947,
0.0022711583878844976,
-0.05955022946000099,
-0.052738819271326065,
-0.04566289111971855,
-0.010564296506345272,
-0.04896939918398857,
-0.0278573390096426,
0.04017408564686775,
-0.01527607161551714,
0.013316965661942959,
-0.025542782619595528,
0.026369409635663033,
-0.0013670348562300205,
0.04691936448216438,
0.054921116679906845,
0.019392674788832664,
0.005038293078541756,
-0.0018785104621201754,
-0.009944326244294643,
0.004364592023193836,
-0.0038004189264029264,
-0.017293041571974754,
0.011035474017262459,
-0.00904330238699913,
-0.0784965232014656,
0.03984343260526657,
-0.010994142852723598,
0.03116384707391262,
-0.055119507014751434,
-0.04093458130955696,
-0.027361363172531128,
-0.02562544494867325,
-0.030386818572878838,
0.008993704803287983,
0.019078556448221207,
-0.0009242726373486221,
0.04827503114938736,
-0.017491433769464493,
-0.04047166928648949,
-0.10693250596523285,
-0.026584332808852196,
0.019839053973555565,
0.03303202614188194,
0.03314775228500366,
0.05095330625772476,
-0.013713746331632137,
-0.00016300055722240359,
-0.062063176184892654,
0.011754639446735382,
-0.005534269381314516,
-0.06566727161407471,
-0.011134669184684753,
-0.03666918724775314,
0.014978486113250256,
-0.017326107248663902,
-0.01604483462870121,
0.026005694642663002,
0.06110428646206856,
0.02612142078578472,
-0.03928132727742195,
0.016259757801890373,
-0.011953030712902546,
0.033759456127882004,
0.022517327219247818,
0.001185176894068718,
0.029328735545277596,
-0.0008116446551866829,
-0.030105765908956528,
0.01702852174639702,
0.03169288858771324,
0.013531887903809547,
-0.01293671689927578,
-0.06570033729076385,
0.037396617233753204,
0.047250013798475266,
0.007204056717455387,
-0.03018842823803425,
-0.02841944620013237,
-0.015441397204995155,
0.003494566772133112,
-0.027989599853754044,
0.011473586782813072,
-0.05465659499168396,
0.016226693987846375,
0.0028332648798823357,
-0.0712222084403038,
-0.009886462241411209,
-0.018235396593809128,
0.02425324358046055,
-0.01289538573473692,
0.006976733915507793,
0.015143811702728271,
0.012862320058047771,
0.015292604453861713,
-0.05561548098921776,
-0.04893633350729942,
0.03475141152739525,
0.016061367467045784,
-0.022335467860102654,
0.02175682969391346,
-0.026452071964740753,
0.01889669895172119,
-0.015747249126434326,
0.010068319737911224,
0.012366344220936298,
0.03007270023226738,
-0.012911917641758919,
0.046489518135786057,
0.0006483857869170606,
-0.024815350770950317,
-0.020401161164045334,
-0.025096403434872627,
0.0667584165930748,
0.06259221583604813,
-0.05819455906748772,
-0.04900246486067772,
-0.007877757772803307,
-0.009365687146782875,
-0.07843039184808731,
0.028601303696632385,
-0.0301553625613451,
0.04996135085821152,
0.002880796091631055,
0.011638911440968513,
-0.0402732789516449,
0.012771391309797764,
0.00826213974505663,
-0.02256692387163639,
-0.005311080254614353,
-0.0069023375399410725,
-0.02357541024684906,
0.03040335141122341,
0.021856024861335754,
-0.01876443810760975,
0.01954146847128868,
0.03303202614188194,
-0.04219105467200279,
-0.025245197117328644,
0.005984781309962273,
0.050523459911346436,
-0.0196241308003664,
0.006360896863043308,
0.004732441157102585,
-0.01833459362387657,
-0.01833459362387657,
-0.0296759195625782,
-0.00924169272184372,
0.01833459362387657,
-0.035379648208618164,
0.027361363172531128,
0.02503027394413948,
-0.034652214497327805,
0.07214802503585815,
-0.012944983318448067,
-0.051085565239191055,
-0.036470793187618256,
0.019028959795832634,
-0.023542344570159912,
-0.08239820599555969,
0.12313439697027206,
0.09542585164308548,
0.007609103806316853,
0.014209723100066185,
-0.06910604238510132,
0.04546450078487396,
0.0057119945995509624,
0.03096545673906803,
0.007662834599614143,
0.031015055254101753,
-0.0013081376673653722,
-0.01616056263446808,
0.01267219614237547,
-0.01666480489075184,
0.0005677895969711244,
0.009101166389882565,
0.047084689140319824,
0.04437335208058357,
-0.014482509344816208,
0.02385646291077137,
0.006183172110468149,
-0.039578914642333984,
0.016780532896518707,
0.05502030998468399,
0.030122296884655952,
-0.10038561373949051,
0.04718388617038727,
-0.0040628728456795216,
-0.014160125516355038,
0.04238944500684738,
0.04477013275027275,
-0.019045492634177208,
0.0038128183223307133,
-0.045067720115184784,
0.02410445176064968,
0.03997569531202316,
0.012192752212285995,
0.004509251564741135,
0.03964504227042198,
0.0015251273289322853,
-0.05614452436566353,
0.07737231254577637,
-0.07638035714626312,
-0.03666918724775314,
-0.007034597918391228,
-0.06639470160007477,
-0.02309596538543701,
0.01598697155714035,
-0.012787924148142338,
0.010159249417483807,
-0.017210379242897034,
-0.0160200372338295,
0.007728965021669865,
-0.015854710713028908,
0.0003544164355844259,
-0.03370986133813858,
0.04830809682607651,
0.05138315260410309,
0.03270137310028076,
-0.058789730072021484,
-0.04291848838329315,
-0.040141019970178604,
-0.016375485807657242,
0.010142716579139233,
0.0292295403778553,
-0.014184923842549324,
0.02917994186282158,
-0.007228855509310961,
0.05300334095954895,
-0.006832074373960495,
0.010630426928400993,
0.05597919970750809,
0.0024819483514875174,
-0.016119232401251793,
0.006154240109026432,
-0.07168511301279068,
-0.016788799315690994,
0.00877878163009882,
-0.02906421385705471,
0.01596217229962349,
-0.04916778951883316,
0.03422236815094948,
-0.005178819876164198,
-0.05452433601021767,
-0.009407018311321735,
-0.00484403595328331,
0.005910384934395552,
0.018582580611109734,
-0.008563858456909657,
0.011738107539713383,
-0.029477529227733612,
-0.04169508069753647,
-0.084117591381073,
-0.02478228509426117,
0.04047166928648949,
-0.03488367050886154,
0.03584255650639534,
-0.0023331553675234318,
0.0008819079375825822,
-0.015920842066407204,
-0.02086407132446766,
0.07247868180274963,
0.07525614649057388,
-0.0009413217776454985,
0.009167296811938286,
-0.0457620844244957,
0.05888892710208893,
0.012060491368174553,
0.003794219112023711,
0.02094673551619053,
0.11480199545621872,
0.0839853286743164,
-0.021822959184646606,
-0.03729742392897606,
0.03729742392897606,
0.05644210800528526,
0.05809536576271057,
0.027311764657497406,
0.04857261851429939,
0.012688728980720043,
-0.0005652063991874456,
0.01873137429356575,
0.0013691014610230923,
-0.04887020215392113,
-0.003980210516601801,
-0.054755788296461105,
0.0007434479193761945,
-0.05105249956250191,
0.009539278224110603,
-0.03488367050886154,
0.08358854800462723,
-0.009836864657700062,
-0.05406142398715019,
0.033197350800037384,
0.019144687801599503,
0.008638255298137665,
-0.03096545673906803,
-0.061864785850048065,
0.021442711353302002,
0.0026142087299376726,
-0.013540154322981834,
-0.011812503449618816,
0.093309685587883,
0.017590628936886787,
-0.03124651126563549,
-0.03620627522468567,
0.014143592678010464,
-0.0393143929541111,
0.026733126491308212,
0.013945202343165874,
0.014523841440677643,
0.0035296983551234007,
0.0010425836080685258,
-0.008762248791754246,
0.05753325670957565,
0.055284831672906876,
-0.046720974147319794,
0.003775620134547353,
0.03124651126563549,
-0.06156719848513603,
0.0484403595328331,
-0.0039678108878433704,
0.03124651126563549,
-0.0365699902176857,
-0.05058958753943443,
0.01764022558927536,
-0.015722449868917465,
-0.01267219614237547,
-0.07889330387115479,
-0.07638035714626312,
-0.07975299656391144,
-0.01673920266330242,
-0.03541271388530731,
0.025245197117328644,
0.03068440407514572,
0.029808178544044495,
-0.00007155492494348437,
-0.06639470160007477,
-0.019706793129444122,
-0.03071746975183487,
-0.0457620844244957,
0.02332742139697075,
0.007861224934458733,
-0.03023802489042282,
0.0392482616007328,
-0.02679925598204136,
0.030304156243801117,
-0.041232168674468994,
-0.04242251068353653,
-0.027510154992341995,
0.017342640087008476,
0.018599113449454308,
0.02341008372604847,
0.016201894730329514,
-0.07413193583488464,
0.04238944500684738,
-0.006914737168699503,
-0.007191657088696957,
-0.035743363201618195,
0.01601177081465721,
-0.10177434980869293,
0.04771292582154274,
-0.0031267176382243633,
0.023625006899237633,
-0.04986215755343437,
-0.027460558339953423,
-0.028039196506142616,
-0.018433788791298866,
-0.05502030998468399,
0.01892976462841034,
-0.0044968524016439915,
0.029758581891655922,
-0.09026769548654556,
0.01707811839878559,
-0.003599961753934622,
0.042157988995313644,
0.05452433601021767,
0.08729183673858643,
0.017061587423086166,
0.07353676110506058,
-0.0008808746933937073,
0.01545793004333973,
-0.02789040468633175,
0.06596485525369644,
0.0529702752828598,
-0.0006313365884125233,
0.061864785850048065,
0.02684885449707508,
0.027708545327186584,
-0.0538630336523056,
-0.0035214321687817574,
0.0002857030485756695,
0.055681612342596054,
-0.0053524114191532135,
0.016962392255663872,
0.008663053624331951,
0.05412755161523819,
-0.03709902986884117,
-0.01249033771455288,
-0.0035482975654304028,
0.03785952925682068,
0.0061583733186125755,
-0.044505611062049866,
-0.009696337394416332,
-0.033081624656915665,
-0.014069195836782455,
0.007576039060950279,
0.001132479403167963,
0.010754420422017574,
0.030585208907723427,
0.003463568165898323,
0.01792127825319767,
0.01727651059627533,
0.009109432809054852,
-0.0264851376414299,
0.010250178165733814,
0.008745716884732246,
0.060608312487602234,
0.023757267743349075,
0.0039058139082044363,
-0.00833240244537592,
0.07280933111906052,
0.017011988908052444,
-0.0015984905185177922,
-0.042885422706604004,
0.0255923792719841,
-0.041199102997779846,
-0.04791131615638733,
0.042124927043914795,
-0.01901242695748806,
0.021343516185879707,
-0.008439864031970501,
0.07611583918333054,
-0.01618536189198494,
0.006898204330354929,
0.05234203860163689,
0.003023389261215925,
-0.02150884084403515,
0.04278622567653656,
0.004081472288817167,
0.035214319825172424,
0.03461914882063866,
0.041595883667469025,
0.0037818197160959244,
0.01582164503633976,
0.00011088429891970009,
-0.04133136197924614,
-0.008811846375465393,
0.020880604162812233,
0.04751453548669815,
0.006555153988301754,
-0.014523841440677643,
-0.013639349490404129,
-0.02760935015976429,
-0.011308261193335056,
0.02402178756892681,
-0.008844912052154541,
0.001549926120787859,
0.045596759766340256,
0.06454305350780487,
-0.030452948063611984,
0.057136476039886475,
0.012399408966302872,
-0.0031866480130702257,
-0.003151516430079937,
-0.0375288762152195,
-0.008059616200625896
] |
710,322
|
names
|
get_name
| null |
def get_name(filename):
selected = random.random() * 90
with open(filename) as name_file:
for line in name_file:
name, _, cummulative, _ = line.split()
if float(cummulative) > selected:
return name
return "" # Return empty string if file is empty
|
(filename)
|
[
0.04955704137682915,
0.012736123986542225,
-0.020207034423947334,
0.05162043496966362,
0.0564587377011776,
-0.0016186973080039024,
-0.018081381916999817,
-0.028549551963806152,
0.07691480219364166,
-0.02636164240539074,
-0.0019188678124919534,
0.04105443134903908,
-0.02259061112999916,
-0.0009260816150344908,
0.019833488389849663,
0.021683428436517715,
0.08666256070137024,
0.04272649437189102,
-0.01649826020002365,
-0.018428245559334755,
0.049485888332128525,
0.04350915923714638,
-0.010592684149742126,
0.00423129228875041,
0.027393339201807976,
0.03845740109682083,
0.011215259321033955,
0.019495518878102303,
-0.021932458505034447,
0.0010239150142297149,
-0.04027176648378372,
-0.009587668813765049,
0.0001549491280457005,
0.021932458505034447,
-0.0386708565056324,
-0.0033530157525092363,
0.021274307742714882,
-0.007937842048704624,
-0.043011099100112915,
-0.05592510104179382,
0.009543199092149734,
0.006079008802771568,
0.023640096187591553,
-0.01023692637681961,
-0.06054995208978653,
-0.0014196953270584345,
0.03977370634675026,
0.02492082305252552,
-0.006350274197757244,
0.039204493165016174,
0.05496455729007721,
0.0008921734988689423,
-0.06126146763563156,
-0.020384913310408592,
-0.036749765276908875,
0.012327002361416817,
0.025080913677811623,
0.01132198702543974,
0.029421158134937286,
0.023177610710263252,
0.015448776073753834,
-0.02420930750668049,
0.007470910437405109,
-0.057099103927612305,
0.01663167029619217,
0.033405642956495285,
0.021772367879748344,
0.019566670060157776,
-0.02657509595155716,
0.01046816911548376,
0.055996254086494446,
0.035308945924043655,
0.01402574498206377,
0.01189119927585125,
0.0028749664779752493,
0.039916008710861206,
-0.04870322346687317,
-0.054430920630693436,
0.018890731036663055,
-0.016222547739744186,
0.005434197839349508,
-0.02339106611907482,
0.14251650869846344,
-0.05382613092660904,
-0.01508412417024374,
-0.03724782541394234,
0.0329965204000473,
-0.03258740156888962,
-0.0019955779425799847,
0.03178694471716881,
-0.007230774033814669,
0.059091344475746155,
0.018606124445796013,
0.011499865911900997,
0.006585963536053896,
-0.04774267598986626,
0.03906219080090523,
0.047671522945165634,
0.003966697957366705,
0.00998789630830288,
-0.027980338782072067,
0.03692764416337013,
0.02479630708694458,
0.024227095767855644,
-0.010201350785791874,
0.028674066066741943,
-0.004949478432536125,
0.04528794810175896,
0.037212248891592026,
-0.017841245979070663,
-0.04980606958270073,
-0.09690838307142258,
0.035184431821107864,
-0.010370335541665554,
0.03948909789323807,
-0.010921759530901909,
-0.022199276834726334,
0.029990369454026222,
-0.00442028883844614,
-0.04130346328020096,
0.0629335269331932,
-0.05471552535891533,
-0.06716704368591309,
0.037176672369241714,
-0.044113948941230774,
-0.05076661705970764,
0.04831188917160034,
-0.029865853488445282,
0.039204493165016174,
0.029972581192851067,
0.020705094560980797,
0.030577369034290314,
0.04916570708155632,
-0.03160906583070755,
0.023586731404066086,
-0.01924648880958557,
-0.022537246346473694,
0.04044964537024498,
0.0006837217370048165,
-0.014870669692754745,
0.03550461307168007,
-0.0313066728413105,
0.0157333817332983,
-0.02107864059507847,
0.05048200860619545,
-0.018819579854607582,
-0.004953925032168627,
-0.041232310235500336,
-0.003546459134668112,
-0.015128593891859055,
-0.00012117994629079476,
-0.0018310401355847716,
-0.024102579802274704,
-0.06894583255052567,
0.059980738908052444,
-0.05546261742711067,
-0.004242409951984882,
-0.02495639957487583,
-0.04966376721858978,
-0.09598341584205627,
0.05624528229236603,
0.02052721567451954,
-0.021132003515958786,
-0.007301925681531429,
0.006928380113095045,
-0.022857429459691048,
-0.044113948941230774,
0.015377623960375786,
-0.017796775326132774,
0.019477730616927147,
0.029510097578167915,
0.033441219478845596,
-0.02365788258612156,
0.03304988518357277,
-0.05119352415204048,
-0.023177610710263252,
-0.02897646091878414,
0.016009094193577766,
0.060692254453897476,
0.025881368666887283,
-0.03424167260527611,
-0.08210886269807816,
0.02141661010682583,
0.010192456655204296,
0.04475431144237518,
-0.009587668813765049,
0.024387186393141747,
0.03630506619811058,
0.01988685317337513,
-0.02387133799493313,
0.026165975257754326,
0.0037732545752078295,
0.01624923013150692,
-0.05457322299480438,
0.026877490803599358,
-0.021309882402420044,
-0.001650937832891941,
0.05044643580913544,
-0.005625417921692133,
-0.057526011019945145,
-0.01963782124221325,
-0.007164069451391697,
-0.0411255843937397,
-0.034508492797613144,
-0.007186304312199354,
0.0337614007294178,
0.03016824834048748,
0.019531095400452614,
-0.026130398735404015,
0.017458805814385414,
-0.0017498829402029514,
-0.01132198702543974,
-0.023177610710263252,
0.03630506619811058,
-0.003991155885159969,
-0.04898782819509506,
-0.01849939674139023,
-0.004024508409202099,
-0.014897351153194904,
0.013243078254163265,
-0.035006552934646606,
0.041908249258995056,
0.05692122504115105,
0.05613855645060539,
0.04553698003292084,
0.0006309139425866306,
0.03054179437458515,
0.06713146716356277,
-0.011811153963208199,
-0.005309682805091143,
0.05144255608320236,
-0.05393286049365997,
0.041659221053123474,
-0.0592336468398571,
-0.057775042951107025,
-0.04041406884789467,
-0.016702821478247643,
0.012745018117129803,
0.04386491701006889,
-0.0111263208091259,
-0.008871706202626228,
0.04959261417388916,
0.04251303896307945,
0.020794034004211426,
0.058237526565790176,
-0.060905709862709045,
-0.032818641513586044,
0.0006803864962421358,
-0.059802860021591187,
0.036500733345746994,
0.029474521055817604,
0.009347531944513321,
-0.07001310586929321,
0.026130398735404015,
-0.012006820179522038,
-0.02335548959672451,
-0.09377771615982056,
-0.0317513681948185,
-0.014034639112651348,
0.03706994652748108,
0.007844456471502781,
-0.020456064492464066,
-0.005932258907705545,
0.023764610290527344,
-0.03489982336759567,
0.005256319418549538,
-0.03859970346093178,
0.014470442198216915,
-0.015893472358584404,
-0.02890530787408352,
-0.021505549550056458,
-0.0005197396967560053,
-0.03290758281946182,
-0.0337614007294178,
-0.005069546401500702,
-0.04763595014810562,
0.013163032941520214,
0.06054995208978653,
0.011535441502928734,
0.008280259557068348,
-0.02860291488468647,
0.03477530926465988,
0.00298836431466043,
0.034419551491737366,
-0.029332218691706657,
0.03164464235305786,
0.009792229160666466,
-0.09100280702114105,
0.024654004722833633,
0.03491761162877083,
-0.033530157059431076,
-0.018819579854607582,
0.0072352210991084576,
-0.07371298223733902,
-0.01100180484354496,
-0.06990637630224228,
0.0850260779261589,
-0.012042396701872349,
0.03290758281946182,
0.036963220685720444,
-0.015155275352299213,
-0.010352547280490398,
-0.03481088578701019,
-0.06375177204608917,
-0.06428540498018265,
0.0007971194572746754,
-0.04827631264925003,
-0.05087334290146828,
-0.01862391270697117,
0.02246609516441822,
-0.02872742898762226,
0.020367125049233437,
-0.004480322822928429,
-0.02728661149740219,
0.06652668118476868,
0.023213187232613564,
0.007301925681531429,
0.03550461307168007,
0.043224554508924484,
-0.015920154750347137,
0.008258024230599403,
0.013830078765749931,
-0.05076661705970764,
0.0010127975838258862,
-0.008484819903969765,
-0.0339214913547039,
-0.046390797942876816,
-0.00852928962558508,
-0.01743212528526783,
0.01000568363815546,
-0.02018924616277218,
-0.01713862456381321,
0.012700548395514488,
-0.05364825204014778,
-0.030310550704598427,
0.052189648151397705,
0.03020382486283779,
0.03486425057053566,
0.05457322299480438,
-0.00712849386036396,
0.02111421711742878,
-0.08680486679077148,
-0.03557576611638069,
0.018695063889026642,
0.020456064492464066,
0.037461280822753906,
0.06328928470611572,
0.012184699065983295,
-0.00852928962558508,
-0.05500013381242752,
0.006381402723491192,
0.03909776359796524,
-0.02746449038386345,
0.025952519848942757,
0.05361267551779747,
0.04340243339538574,
0.00664377398788929,
0.03385033831000328,
-0.005789955612272024,
0.08637795597314835,
0.011508760042488575,
-0.055960677564144135,
-0.00033046549651771784,
-0.02814042940735817,
-0.017405442893505096,
-0.01015688106417656,
0.020882973447442055,
0.007799986284226179,
-0.04158806800842285,
-0.02728661149740219,
-0.06375177204608917,
0.005527584347873926,
0.009623244404792786,
-0.030399490147829056,
-0.01823257841169834,
-0.05098007246851921,
-0.010859502479434013,
-0.008258024230599403,
0.030577369034290314,
-0.027179883792996407,
-0.034633006900548935,
0.0037532432470470667,
0.016222547739744186,
0.0558539517223835,
-0.08844134956598282,
0.01565333642065525,
-0.03347679600119591,
-0.05706352740526199,
-0.02703758142888546,
-0.014968503266572952,
0.04557255282998085,
0.02387133799493313,
-0.01026360783725977,
0.01785903424024582,
0.029474521055817604,
0.049236856400966644,
-0.04930800944566727,
-0.028585126623511314,
-0.03863527998328209,
0.03219606727361679,
-0.05243867635726929,
0.027233248576521873,
-0.07613213360309601,
0.0031862545292824507,
-0.04105443134903908,
0.022537246346473694,
0.07307261973619461,
-0.006465895101428032,
-0.022394943982362747,
0.029563460499048233,
-0.06126146763563156,
0.015920154750347137,
-0.04717346280813217,
-0.04596388712525368,
0.022234853357076645,
-0.00541641004383564,
-0.028336096554994583,
-0.07663019746541977,
-0.006132372189313173,
-0.03173358365893364,
-0.05539146438241005,
0.017369866371154785,
-0.02703758142888546,
0.03664303570985794,
0.005767720751464367,
0.022359367460012436,
-0.009258592501282692,
0.018036913126707077,
-0.02360451966524124,
0.018392670899629593,
-0.05695679783821106,
-0.02111421711742878,
-0.020794034004211426,
-0.031199945136904716,
0.0601586177945137,
-0.05496455729007721,
-0.010050153359770775,
-0.02504533901810646,
-0.040093887597322464,
-0.029812490567564964,
0.00598562229424715,
0.029812490567564964,
0.004891667515039444,
0.02323097363114357,
-0.04930800944566727,
-0.045465826988220215,
-0.002115646144375205,
-0.04962819069623947,
-0.0451100692152977,
-0.06051437556743622,
-0.0177256241440773,
0.03020382486283779,
-0.011748895980417728,
-0.051940616220235825,
0.08858365565538406,
0.008480372838675976,
-0.0733572244644165,
0.0239424891769886,
0.01261160895228386,
-0.006025644950568676,
-0.034330613911151886,
0.0902201384305954,
0.03845740109682083,
0.026077035814523697,
-0.0018866272876039147,
-0.016987428069114685,
-0.016142502427101135,
0.048596493899822235,
0.010441486723721027,
-0.020545003935694695,
0.049058977514505386,
-0.032818641513586044,
-0.029474521055817604,
-0.02415594458580017,
-0.0368209145963192,
-0.018979670479893684,
-0.004253527149558067,
0.09263928979635239,
0.06008746474981308,
0.04333128035068512,
0.027784671634435654,
-0.039026614278554916,
-0.020954124629497528,
0.016560519114136696,
0.035984884947538376,
0.012327002361416817,
-0.09278159588575363,
-0.004727129824459553,
-0.05318576842546463,
-0.059802860021591187,
-0.03525558114051819,
-0.007217433303594589,
0.028371673077344894,
-0.019228700548410416,
-0.028994247317314148,
0.019566670060157776,
0.043651461601257324,
0.062222011387348175,
-0.011277517303824425,
0.01269165426492691,
-0.010530426166951656,
0.01089507807046175,
0.01700521633028984,
-0.030666308477520943,
-0.0009527634247206151,
0.014790624380111694,
-0.02264397405087948,
-0.05649431422352791,
0.013901229947805405,
-0.00793339591473341,
0.03756800666451454,
-0.0343661904335022,
0.040556371212005615,
0.04888110235333443,
-0.008507054299116135,
0.019833488389849663,
-0.02581021748483181,
0.03913334012031555,
0.032854218035936356,
0.024351611733436584,
-0.048169586807489395,
-0.03820837289094925,
-0.023675670847296715,
-0.01997579261660576,
-0.019317639991641045,
-0.027571218088269234,
0.012540456838905811,
0.007075130008161068,
0.00348642491735518,
0.06151049584150314,
0.0033930386416614056,
0.01305630523711443,
0.0027526747435331345,
-0.01385676022619009,
0.01667613908648491,
-0.0402006134390831,
-0.032729703933000565,
0.019708974286913872,
0.04820515960454941,
-0.031875886023044586,
0.015582185238599777,
-0.05368382856249809,
0.08495492488145828,
0.01835709437727928,
-0.03482867404818535,
0.004213504493236542,
0.009383107535541058,
0.03667861223220825,
0.03280085325241089,
-0.00844035018235445,
0.024316035211086273,
-0.0010672729695215821,
-0.05076661705970764,
-0.1427299678325653,
0.07840898633003235,
-0.0027860270347446203,
-0.04745807126164436,
0.035895947366952896,
-0.005594288930296898,
-0.011508760042488575,
0.030399490147829056,
0.02403142862021923,
0.07584752887487411,
-0.005483114626258612,
-0.006283569615334272,
-0.03657188639044762,
-0.03842182457447052,
0.017627790570259094,
0.03356573358178139,
-0.028318308293819427,
0.036162763833999634,
0.08751638233661652,
0.051015645265579224,
0.014559381641447544,
-0.04180152341723442,
0.016942957416176796,
0.05222522094845772,
0.02018924616277218,
0.0038955463096499443,
0.05542704090476036,
0.0339214913547039,
-0.019282063469290733,
-0.008115720935165882,
0.004046743270009756,
-0.020918549969792366,
0.016009094193577766,
0.006772736087441444,
-0.006746054161339998,
0.018695063889026642,
0.049485888332128525,
-0.028620703145861626,
0.023213187232613564,
-0.009134077467024326,
-0.0010822814656421542,
-0.013838971965014935,
0.0329965204000473,
0.018517185002565384,
0.011820048093795776,
-0.03646515682339668,
0.023177610710263252,
0.0037821484729647636,
-0.008684933185577393,
-0.022964155301451683,
0.054217465221881866,
0.0141146844252944,
0.03525558114051819,
-0.015448776073753834,
-0.045501403510570526,
-0.0466398261487484,
0.03532673418521881,
-0.004297996871173382,
0.02111421711742878,
-0.05386170744895935,
-0.07655904442071915,
-0.0035531294997781515,
0.07239668071269989,
0.0368209145963192,
-0.046106189489364624,
-0.004767152480781078,
-0.01425698772072792,
-0.030435066670179367,
0.04692443460226059,
0.02851397544145584,
-0.0004702671431005001,
0.05293673649430275,
-0.03785261511802673,
0.03756800666451454,
-0.04105443134903908,
0.007048448547720909,
-0.03931121900677681,
-0.031840309500694275,
-0.023853549733757973,
-0.03870643302798271,
-0.04642637446522713,
-0.006861675530672073,
0.029599037021398544,
0.004502557683736086,
-0.012851744890213013,
-0.05453764647245407,
0.013385381549596786,
0.010165774263441563,
-0.02136324718594551,
-0.021256519481539726,
-0.0157333817332983,
-0.00031128793489187956,
0.02209254913032055,
0.00943647138774395,
0.05560491979122162,
0.01967339776456356,
-0.02360451966524124,
-0.008480372838675976,
0.030986491590738297,
0.0451100692152977,
0.0041023301891982555,
0.03559355065226555,
-0.08666256070137024,
0.010192456655204296,
-0.01806359365582466,
0.0028349438216537237,
0.0030550688970834017,
0.033405642956495285,
-0.02538330852985382,
0.03849297761917114,
-0.005069546401500702,
-0.00024097021378111094,
-0.012415941804647446,
0.025916945189237595,
-0.07478025555610657,
-0.06730934977531433,
-0.0018632806604728103,
-0.03393927961587906,
-0.005923364777117968,
0.052865587174892426,
-0.06787855923175812,
0.014950715005397797,
-0.0017810116987675428,
0.01206018403172493,
0.08780098706483841,
0.044113948941230774,
0.008595993742346764,
0.0589134655892849,
-0.002246831776574254,
0.026130398735404015,
-0.03409937024116516,
0.06570843607187271,
0.03660746291279793,
-0.050161827355623245,
-0.004838304128497839,
0.02399585396051407,
0.04215728119015694,
-0.05958940461277962,
0.02945673279464245,
-0.0031684665009379387,
0.05023298040032387,
-0.027553429827094078,
0.022074762731790543,
-0.00909850187599659,
0.10274280607700348,
-0.04486103728413582,
-0.023924700915813446,
-0.0038110536988824606,
0.029776914045214653,
0.017236458137631416,
-0.015671124681830406,
-0.06368061900138855,
-0.014532700181007385,
-0.036536309868097305,
0.06037207320332527,
0.026041459292173386,
-0.043936070054769516,
0.0027793566696345806,
-0.012682760134339333,
0.0015386517625302076,
0.06634879857301712,
-0.03481088578701019,
-0.014799518510699272,
-0.022056974470615387,
0.04528794810175896,
0.03703437000513077,
0.012540456838905811,
-0.03827952221035957,
0.05140697956085205,
0.0106638353317976,
0.010966229252517223,
-0.0540040098130703,
0.020491641014814377,
0.04898782819509506,
-0.04653310030698776,
-0.07954741269350052,
0.03383255377411842,
-0.029474521055817604,
0.023213187232613564,
-0.006252440623939037,
0.024351611733436584,
0.022821852937340736,
0.03756800666451454,
0.018606124445796013,
-0.020616155117750168,
0.019566670060157776,
-0.019566670060157776,
-0.03102206625044346,
0.042121704667806625,
0.0020122542046010494,
-0.008182425983250141,
0.0031217732466757298,
-0.010459274984896183,
0.012958472594618797,
0.04226400703191757,
-0.004202387295663357,
-0.006772736087441444,
0.008458138443529606,
-0.00827136542648077,
0.03495318815112114,
0.030577369034290314,
-0.02403142862021923,
0.0007226327434182167,
-0.004824962932616472,
-0.0008793884189799428,
0.024262672290205956,
-0.016133610159158707,
0.01587568409740925,
-0.0067149256356060505,
0.005425304174423218,
0.029332218691706657,
-0.04105443134903908,
-0.00869382731616497,
-0.010245820507407188,
0.03792376443743706
] |
710,325
|
js2py.evaljs
|
EvalJs
|
This class supports continuous execution of javascript under same context.
>>> ctx = EvalJs()
>>> ctx.execute('var a = 10;function f(x) {return x*x};')
>>> ctx.f(9)
81
>>> ctx.a
10
context is a python dict or object that contains python variables that should be available to JavaScript
For example:
>>> ctx = EvalJs({'a': 30})
>>> ctx.execute('var x = a')
>>> ctx.x
30
You can enable JS require function via enable_require. With this feature enabled you can use js modules
from npm, for example:
>>> ctx = EvalJs(enable_require=True)
>>> ctx.execute("var esprima = require('esprima');")
>>> ctx.execute("esprima.parse('var a = 1')")
You can run interactive javascript console with console method!
|
class EvalJs(object):
"""This class supports continuous execution of javascript under same context.
>>> ctx = EvalJs()
>>> ctx.execute('var a = 10;function f(x) {return x*x};')
>>> ctx.f(9)
81
>>> ctx.a
10
context is a python dict or object that contains python variables that should be available to JavaScript
For example:
>>> ctx = EvalJs({'a': 30})
>>> ctx.execute('var x = a')
>>> ctx.x
30
You can enable JS require function via enable_require. With this feature enabled you can use js modules
from npm, for example:
>>> ctx = EvalJs(enable_require=True)
>>> ctx.execute("var esprima = require('esprima');")
>>> ctx.execute("esprima.parse('var a = 1')")
You can run interactive javascript console with console method!"""
def __init__(self, context={}, enable_require=False):
self.__dict__['_context'] = {}
exec (DEFAULT_HEADER, self._context)
self.__dict__['_var'] = self._context['var'].to_python()
if enable_require:
def _js_require_impl(npm_module_name):
from .node_import import require
from .base import to_python
return require(to_python(npm_module_name), context=self._context)
setattr(self._var, 'require', _js_require_impl)
if not isinstance(context, dict):
try:
context = context.__dict__
except:
raise TypeError(
'context has to be either a dict or have __dict__ attr')
for k, v in six.iteritems(context):
setattr(self._var, k, v)
def execute(self, js=None, use_compilation_plan=False):
"""executes javascript js in current context
During initial execute() the converted js is cached for re-use. That means next time you
run the same javascript snippet you save many instructions needed to parse and convert the
js code to python code.
This cache causes minor overhead (a cache dicts is updated) but the Js=>Py conversion process
is typically expensive compared to actually running the generated python code.
Note that the cache is just a dict, it has no expiration or cleanup so when running this
in automated situations with vast amounts of snippets it might increase memory usage.
"""
try:
cache = self.__dict__['cache']
except KeyError:
cache = self.__dict__['cache'] = {}
hashkey = hashlib.md5(js.encode('utf-8')).digest()
try:
compiled = cache[hashkey]
except KeyError:
code = translate_js(
js, '', use_compilation_plan=use_compilation_plan)
compiled = cache[hashkey] = compile(code, '<EvalJS snippet>',
'exec')
exec (compiled, self._context)
def eval(self, expression, use_compilation_plan=False):
"""evaluates expression in current context and returns its value"""
code = 'PyJsEvalResult = eval(%s)' % json.dumps(expression)
self.execute(code, use_compilation_plan=use_compilation_plan)
return self['PyJsEvalResult']
def execute_debug(self, js):
"""executes javascript js in current context
as opposed to the (faster) self.execute method, you can use your regular debugger
to set breakpoints and inspect the generated python code
"""
code = translate_js(js, '')
# make sure you have a temp folder:
filename = 'temp' + os.sep + '_' + hashlib.md5(
code.encode("utf-8")).hexdigest() + '.py'
try:
with open(filename, mode='w') as f:
f.write(code)
with open(filename, "r") as f:
pyCode = compile(f.read(), filename, 'exec')
exec(pyCode, self._context)
except Exception as err:
raise err
finally:
os.remove(filename)
try:
os.remove(filename + 'c')
except:
pass
def eval_debug(self, expression):
"""evaluates expression in current context and returns its value
as opposed to the (faster) self.execute method, you can use your regular debugger
to set breakpoints and inspect the generated python code
"""
code = 'PyJsEvalResult = eval(%s)' % json.dumps(expression)
self.execute_debug(code)
return self['PyJsEvalResult']
@property
def context(self):
return self._context
def __getattr__(self, var):
return getattr(self._var, var)
def __getitem__(self, var):
return getattr(self._var, var)
def __setattr__(self, var, val):
return setattr(self._var, var, val)
def __setitem__(self, var, val):
return setattr(self._var, var, val)
def console(self):
"""starts to interact (starts interactive console) Something like code.InteractiveConsole"""
while True:
if six.PY2:
code = raw_input('>>> ')
else:
code = input('>>>')
try:
print(self.eval(code))
except KeyboardInterrupt:
break
except Exception as e:
import traceback
if DEBUG:
sys.stderr.write(traceback.format_exc())
else:
sys.stderr.write('EXCEPTION: ' + str(e) + '\n')
time.sleep(0.01)
|
(context={}, enable_require=False)
|
[
0.052169978618621826,
-0.04379371553659439,
-0.009160344488918781,
0.008505350910127163,
0.03017750196158886,
0.03763582184910774,
-0.03843902423977852,
0.05939881131052971,
-0.027653148397803307,
-0.051481518894433975,
0.009925300255417824,
0.03763582184910774,
0.023943113163113594,
0.027060307562351227,
-0.06643640249967575,
-0.026543963700532913,
0.04964562505483627,
0.0038295595441013575,
-0.006855915300548077,
-0.07469792664051056,
-0.04165183752775192,
0.013233733363449574,
0.03895536810159683,
0.03363892808556557,
-0.013004247099161148,
0.0003017989220097661,
0.06104346364736557,
0.039280474185943604,
0.0027753550093621016,
-0.018664918839931488,
-0.007114088162779808,
-0.03274010494351387,
-0.010613759979605675,
-0.037788812071084976,
0.02771051973104477,
-0.0515962615609169,
-0.026333600282669067,
0.02063468098640442,
-0.05090780183672905,
-0.07316801697015762,
-0.01863623410463333,
0.036679625511169434,
-0.005034364759922028,
-0.020558184012770653,
-0.04226380214095116,
0.0007840796024538577,
-0.03807567059993744,
0.01026953011751175,
0.03610590845346451,
-0.042340297251939774,
0.07297677546739578,
-0.022107219323515892,
0.010259968228638172,
0.03920397907495499,
-0.01321460958570242,
0.06628341227769852,
-0.012220167554914951,
0.04387021064758301,
0.020099211484193802,
-0.03847727179527283,
-0.010910180397331715,
0.008022473193705082,
-0.015968451276421547,
0.043219998478889465,
-0.016446547582745552,
0.028704963624477386,
-0.07221181690692902,
0.013185923919081688,
-0.013300667516887188,
-0.0253391582518816,
-0.03551306948065758,
0.0019530275603756309,
0.026639582589268684,
-0.001917170244269073,
-0.0026247543282806873,
-0.011809003539383411,
-0.10105064511299133,
-0.02333114854991436,
-0.007080621086061001,
0.019391627982258797,
0.04077214002609253,
-0.021743865683674812,
0.016044946387410164,
-0.010326902382075787,
0.02543477714061737,
-0.008615314029157162,
-0.009146002121269703,
0.018970901146531105,
-0.014142118394374847,
-0.0028853171970695257,
-0.04616507515311241,
0.040427908301353455,
-0.02941254712641239,
0.03625889867544174,
0.015805896371603012,
-0.026563087478280067,
0.032032519578933716,
-0.05721868574619293,
-0.0008211321546696126,
0.02356063574552536,
0.05304967984557152,
0.04853643849492073,
0.0026988594327121973,
-0.0525142103433609,
0.039012741297483444,
0.07328275591135025,
0.00910775363445282,
0.02899182215332985,
0.038878872990608215,
-0.018425870686769485,
-0.03648838773369789,
0.022948671132326126,
-0.048192210495471954,
-0.02625710517168045,
0.009064724668860435,
0.012057614512741566,
-0.08460409939289093,
0.0009042015299201012,
0.04169008508324623,
0.02250882238149643,
-0.033122580498456955,
0.022355830296874046,
-0.003595291869714856,
0.03583817556500435,
0.06479174643754959,
0.02451683022081852,
0.03205164521932602,
-0.006301322486251593,
0.017651353031396866,
-0.03857289254665375,
0.020386070013046265,
-0.009126877412199974,
0.03205164521932602,
0.08705195784568787,
0.007037592586129904,
0.03675612062215805,
-0.04100162535905838,
0.006454313639551401,
-0.03539832681417465,
0.04444392770528793,
0.020481688901782036,
0.005063050426542759,
-0.0063825990073382854,
0.00672204839065671,
-0.006798543967306614,
-0.038917120546102524,
-0.022566193714737892,
0.00015523222100455314,
-0.03620152920484543,
0.00933724083006382,
0.03354330733418465,
-0.01112054381519556,
0.020558184012770653,
0.024497706443071365,
0.011350030079483986,
0.029144812375307083,
-0.013606649823486805,
0.0022446669172495604,
-0.0015502305468544364,
-0.021342264488339424,
-0.032529741525650024,
-0.028972696512937546,
0.025128794834017754,
-0.0021418759133666754,
0.03966295346617699,
0.03199427202343941,
0.04448217526078224,
-0.04425268620252609,
-0.04712127149105072,
0.05932231619954109,
-0.004869421012699604,
-0.011722946539521217,
0.0017354933079332113,
0.03920397907495499,
0.011330906301736832,
0.06796631217002869,
-0.031057201325893402,
0.029833272099494934,
0.00979143287986517,
0.010757189244031906,
-0.027748769149184227,
-0.04398495331406593,
-0.07775774598121643,
0.014974008314311504,
-0.008012911304831505,
0.034174397587776184,
0.01994621939957142,
-0.0452088825404644,
0.07894343137741089,
0.015490353107452393,
-0.04524713009595871,
-0.004666229709982872,
0.05664496868848801,
0.00514910789206624,
-0.009160344488918781,
-0.013702268712222576,
-0.03719596937298775,
-0.015480791218578815,
-0.007635214366018772,
0.037138599902391434,
-0.04765674099326134,
0.0271750520914793,
0.08391564339399338,
-0.03186040371656418,
-0.020481688901782036,
0.041804827749729156,
-0.049569129943847656,
0.03763582184910774,
0.009743623435497284,
0.003138708882033825,
-0.04092513024806976,
-0.0360867865383625,
0.030942458659410477,
0.06104346364736557,
0.052437715232372284,
-0.006047931034117937,
0.017603542655706406,
0.012344473041594028,
0.0315161757171154,
0.020978910848498344,
0.09913825988769531,
-0.0004030957934446633,
-0.036545757204294205,
-0.030923334881663322,
0.030521731823682785,
-0.04616507515311241,
0.0009328873711638153,
-0.014036937616765499,
-0.03210901468992233,
-0.05041057989001274,
0.02415347658097744,
-0.014639339409768581,
0.06460051238536835,
-0.001082890434190631,
0.017383618280291557,
-0.04283751919865608,
0.025587769225239754,
0.06716310977935791,
-0.03448037803173065,
-0.01023128256201744,
-0.037693191319704056,
0.053126174956560135,
0.044902898371219635,
-0.008605752140283585,
-0.04310525581240654,
0.06337658315896988,
0.04008368030190468,
0.047962721437215805,
-0.04681529104709625,
-0.026601335033774376,
0.013463220559060574,
-0.021667370572686195,
-0.019640237092971802,
-0.034671615809202194,
-0.048880670219659805,
0.06314709037542343,
0.0652889683842659,
0.06945797801017761,
0.02507142350077629,
0.028284236788749695,
0.016857711598277092,
-0.039280474185943604,
-0.04899541288614273,
0.06177017465233803,
0.0347098633646965,
-0.03457599878311157,
-0.015423418954014778,
0.00817546434700489,
-0.016322242096066475,
0.004283751826733351,
0.05882509425282478,
0.02063468098640442,
0.02342676930129528,
0.03283572196960449,
-0.07083489745855331,
-0.02941254712641239,
-0.057371679693460464,
0.02178211323916912,
-0.06230564042925835,
-0.04918665066361427,
0.0383625291287899,
-0.0004942330997437239,
-0.011923747137188911,
-0.023713625967502594,
-0.05557403340935707,
-0.03182215616106987,
-0.002259009750559926,
-0.056912705302238464,
0.021954229101538658,
0.00334907160140574,
-0.012612206861376762,
0.04310525581240654,
0.02730891853570938,
0.02105540595948696,
0.06123470515012741,
0.04191957414150238,
-0.058060139417648315,
-0.016647348180413246,
0.0038941025268286467,
0.043258246034383774,
0.007812110241502523,
-0.004518019501119852,
0.031803034245967865,
0.03138230741024017,
-0.028571095317602158,
-0.01858842372894287,
0.0011480312095955014,
-0.012927751056849957,
-0.015815459191799164,
0.007989006116986275,
0.009064724668860435,
-0.034767236560583115,
0.03396403416991234,
0.01237315870821476,
-0.011627326719462872,
-0.027729643508791924,
0.03675612062215805,
-0.05867210403084755,
0.009944424033164978,
0.05270544812083244,
-0.030387865379452705,
-0.022202840074896812,
0.0753481388092041,
0.024994928389787674,
0.014113432727754116,
-0.007047154475003481,
0.05090780183672905,
0.007783424109220505,
0.029297804459929466,
-0.01936294138431549,
-0.0226044412702322,
0.017775658518075943,
0.004914840217679739,
-0.008051158860325813,
0.041537094861269,
-0.005660672206431627,
-0.049875110387802124,
-0.028092999011278152,
0.01635092869400978,
-0.03754020109772682,
0.0502193421125412,
0.001142054912634194,
-0.014008251018822193,
0.0025410873349756002,
-0.04000718519091606,
-0.05882509425282478,
0.07435369491577148,
0.010068729519844055,
0.055268049240112305,
-0.06517422944307327,
-0.025549519807100296,
-0.042302049696445465,
-0.03752107918262482,
-0.010078291408717632,
-0.02964203432202339,
-0.04895716533064842,
0.053623393177986145,
-0.05186399817466736,
-0.03832428157329559,
-0.06792806833982468,
0.029928892850875854,
0.06287936121225357,
-0.016417860984802246,
0.02757665328681469,
-0.04823045805096626,
-0.026467466726899147,
0.03912748396396637,
-0.03296959027647972,
0.04995160922408104,
0.011875937692821026,
0.015146123245358467,
-0.02711767889559269,
0.019754981622099876,
-0.03870675712823868,
-0.04765674099326134,
-0.04295226186513901,
0.025377405807375908,
-0.004888545256108046,
-0.02352238819003105,
0.012755636125802994,
0.07588360458612442,
0.0059284064918756485,
-0.008027253672480583,
-0.029756776988506317,
0.0012442482402548194,
0.022470572963356972,
-0.004400885663926601,
-0.03317995369434357,
-0.042799271643161774,
0.03293134272098541,
-0.041116368025541306,
-0.006707705557346344,
-0.006851134356111288,
0.027959130704402924,
-0.019439436495304108,
-0.007563499733805656,
0.020558184012770653,
0.0644092708826065,
-0.04272277653217316,
0.03153529763221741,
0.023254653438925743,
0.031305812299251556,
0.051213786005973816,
0.04471166059374809,
0.048459943383932114,
-0.03329469636082649,
0.11810915917158127,
0.015719840303063393,
0.011244849301874638,
0.045132387429475784,
-0.06605392694473267,
-0.05679796263575554,
-0.10992413759231567,
-0.004563438706099987,
-0.04176658019423485,
-0.03492022678256035,
-0.0049674310721457005,
-0.03813304007053375,
-0.0013948489213362336,
0.015366047620773315,
-0.016197936609387398,
0.013367600739002228,
0.005746729671955109,
0.00838104635477066,
-0.02872408740222454,
-0.02730891853570938,
-0.013692706823348999,
0.024555077776312828,
-0.06295585632324219,
0.04597383737564087,
-0.019554181024432182,
0.02419172413647175,
0.005244727712124586,
-0.023503264412283897,
-0.008849581703543663,
-0.030349617823958397,
-0.014218614436686039,
0.009667127393186092,
0.06915199756622314,
0.04398495331406593,
-0.012009804137051105,
0.0319560244679451,
0.03524533286690712,
-0.016685595735907555,
-0.02730891853570938,
0.01248790230602026,
-0.006487780716270208,
0.051749251782894135,
-0.05442659929394722,
-0.035551317036151886,
0.03931872174143791,
0.07802548259496689,
0.040619149804115295,
-0.034767236560583115,
-0.0228339284658432,
-0.051060792058706284,
-0.009915738366544247,
0.02616148442029953,
-0.010154787451028824,
0.030789466574788094,
-0.012602644972503185,
0.006832010578364134,
0.027136804535984993,
-0.015050503425300121,
-0.04784797877073288,
0.01454372052103281,
0.032300256192684174,
0.022910423576831818,
-0.03233850374817848,
0.031611792743206024,
0.003334728768095374,
0.03457599878311157,
-0.04620332643389702,
-0.03507322072982788,
0.04570610448718071,
0.03448037803173065,
-0.033581554889678955,
-0.07358873635530472,
-0.002435905858874321,
-0.041537094861269,
-0.03461424633860588,
-0.0333329439163208,
0.018569299951195717,
0.027155928313732147,
-0.027385413646697998,
-0.03189865127205849,
0.11160703748464584,
-0.05186399817466736,
0.05373813956975937,
-0.03099982999265194,
-0.028685839846730232,
0.026218857616186142,
0.029986264184117317,
-0.034767236560583115,
-0.034308262169361115,
-0.0166664719581604,
-0.017746971920132637,
0.0022255429066717625,
0.007826453074812889,
-0.03885975107550621,
-0.021992476657032967,
0.03826690837740898,
-0.008027253672480583,
0.05859560891985893,
0.07917291671037674,
0.023445893079042435,
0.015834582969546318,
0.070337675511837,
-0.07676330208778381,
-0.0015693544410169125,
-0.018894406035542488,
0.009174687787890434,
0.0011217357823625207,
-0.0584426149725914,
0.0184928048402071,
-0.05469433218240738,
-0.01716369390487671,
0.05744817480444908,
-0.026333600282669067,
-0.028877077624201775,
0.02122751995921135,
-0.02342676930129528,
0.025090547278523445,
-0.041843075305223465,
-0.009318117052316666,
0.016197936609387398,
-0.014218614436686039,
0.010785875841975212,
-0.004147494211792946,
0.054082367569208145,
0.015337361954152584,
-0.011464773677289486,
0.019114330410957336,
0.0061913602985441685,
0.016102317720651627,
0.05679796263575554,
0.031803034245967865,
-0.013577964156866074,
-0.006444751750677824,
0.007955539040267467,
-0.004584953188896179,
0.06609217077493668,
0.003461424494162202,
0.02790175937116146,
-0.014266423881053925,
-0.028341608121991158,
0.009719718247652054,
0.008404950611293316,
-0.027920883148908615,
-0.022298458963632584,
0.01038427371531725,
0.00016195546777453274,
0.04685353860259056,
0.0506783165037632,
-0.0009944423800334334,
-0.06880776584148407,
0.028704963624477386,
0.03566605970263481,
0.018024269491434097,
0.025358282029628754,
0.009944424033164978,
0.04149884730577469,
-0.05836611986160278,
-0.07190583646297455,
-0.013568402267992496,
0.0319560244679451,
0.05400587245821953,
0.015155685134232044,
-0.012516587972640991,
-0.04165183752775192,
0.013415411114692688,
0.04922489821910858,
0.10426346212625504,
-0.004197694361209869,
-0.031439680606126785,
0.029393423348665237,
-0.0584426149725914,
0.011799441650509834,
0.037788812071084976,
-0.020883290097117424,
-0.028418105095624924,
0.00257455394603312,
-0.04620332643389702,
-0.043258246034383774,
-0.019257759675383568,
0.010126100853085518,
0.01635092869400978,
0.06330008804798126,
0.05756291747093201,
-0.04620332643389702,
-0.028112122789025307,
0.019515931606292725,
-0.006621647626161575,
-0.04191957414150238,
0.04092513024806976,
0.060660988092422485,
-0.05664496868848801,
0.0689607560634613,
0.004300485365092754,
-0.05190224573016167,
-0.08062633126974106,
-0.022891299799084663,
0.007816891185939312,
-0.013405848294496536,
0.04486465081572533,
-0.005134765058755875,
-0.02679257281124592,
0.0026056303177028894,
-0.019009148702025414,
0.02405785769224167,
0.005622424650937319,
-0.010776313953101635,
0.03807567059993744,
0.003012013155966997,
0.0025697730015963316,
0.007697366643697023,
-0.03620152920484543,
0.04647105932235718,
0.011292658746242523,
-0.01479233056306839,
-0.004840735346078873,
0.041804827749729156,
-0.03798004984855652,
-0.037004731595516205,
-0.010776313953101635,
0.01693420670926571,
0.006679019425064325,
-0.04528537765145302,
-0.043219998478889465,
0.006731610279530287,
-0.02356063574552536,
-0.021074529737234116,
0.040619149804115295,
-0.03557043895125389,
0.03136318549513817,
-0.029833272099494934,
0.009399393573403358,
0.003989722114056349,
0.0012717389035969973,
0.055000316351652145,
0.007319669704884291,
-0.02204984799027443,
-0.01935337856411934,
-0.03168829157948494,
0.0005369630525819957,
-0.022929547354578972,
0.009848805144429207,
-0.02639097161591053,
0.048192210495471954,
-0.016140565276145935,
-0.06467700749635696,
0.0209980346262455,
-0.02310166321694851,
0.010948428884148598,
-0.034862857311964035,
0.041996069252491,
-0.030101006850600243,
-0.07538638263940811,
0.04926314577460289,
-0.022260211408138275,
0.005096517503261566,
0.024937555193901062,
-0.0271750520914793,
-0.03958645835518837,
0.018865719437599182,
-0.011837689206004143,
0.016962893307209015,
0.03505409508943558,
0.05392937734723091,
0.017364494502544403,
0.019018711522221565,
-0.062076155096292496,
0.00631088437512517,
-0.03807567059993744,
-0.062343891710042953,
-0.0009585851221345365,
-0.006105302833020687,
-0.02964203432202339,
-0.04176658019423485,
-0.030024511739611626,
-0.06039325147867203,
0.013960441574454308,
-0.028092999011278152,
-0.031439680606126785,
-0.06490649282932281,
0.0223749540746212,
0.02941254712641239,
-0.034136150032281876,
0.0184928048402071,
-0.0862870067358017,
-0.044405680149793625,
0.0351688377559185,
-0.027748769149184227,
-0.04482640326023102,
-0.026773449033498764,
-0.06865477561950684,
-0.00014619319699704647,
-0.05327916517853737,
-0.01799558289349079,
0.011837689206004143,
0.004078170284628868,
-0.005603300407528877,
0.03317995369434357,
-0.03218550980091095,
0.04046615585684776,
0.0625733733177185,
-0.01834937557578087,
-0.006296541541814804,
0.014878388494253159,
-0.020022716373205185,
0.02050081267952919,
0.021342264488339424,
0.013300667516887188,
0.017928648740053177,
-0.02017570659518242,
-0.0075491564348340034,
-0.0351497158408165,
0.04662404954433441,
0.006827229633927345,
0.01661866344511509,
-0.00603836914524436,
0.020213954150676727,
0.03017750196158886,
-0.014562844298779964,
0.04643281176686287,
0.0584426149725914,
-0.03853464499115944,
-0.039701201021671295,
0.07722228020429611,
-0.03872588276863098,
-0.06062274053692818,
0.04103987291455269,
-0.020443441346287727,
-0.01936294138431549,
-0.01607363112270832,
-0.05729518085718155,
0.009509355761110783,
-0.0351688377559185,
-0.05247596278786659,
-0.036144156008958817,
-0.03763582184910774,
-0.042302049696445465,
-0.026601335033774376,
-0.008840019814670086,
0.03451862558722496,
0.015366047620773315,
0.012889503501355648,
-0.028322484344244003,
0.013004247099161148,
0.027060307562351227,
0.032032519578933716,
0.022164590656757355,
-0.008404950611293316,
0.04356422647833824,
0.0611964575946331,
-0.00612920755520463,
-0.055000316351652145,
0.05626249313354492,
-0.014878388494253159,
-0.05511505901813507,
-0.08827588707208633,
0.009322897531092167,
-0.012344473041594028,
0.0031506612431257963,
0.05821312963962555,
-0.010240844450891018,
0.016417860984802246,
0.0347098633646965
] |
710,326
|
js2py.evaljs
|
__getattr__
| null |
def __getattr__(self, var):
return getattr(self._var, var)
|
(self, var)
|
[
0.06358115375041962,
-0.007420292589813471,
0.022356383502483368,
-0.019599206745624542,
0.030611302703619003,
0.01196714211255312,
0.03909875452518463,
0.025113558396697044,
0.004031955264508724,
-0.008063910529017448,
-0.03717205300927162,
0.0610232912003994,
0.030926883220672607,
-0.007399531081318855,
-0.03109297901391983,
0.057070232927799225,
-0.015230908989906311,
0.04740350320935249,
0.005456219892948866,
0.032903414219617844,
-0.00814695842564106,
0.0365741103887558,
0.015837155282497406,
-0.056704822927713394,
0.03285358473658562,
0.0724838450551033,
0.04859938845038414,
-0.016094602644443512,
0.05361545458436012,
-0.033003069460392,
-0.015197689644992352,
-0.025312872603535652,
-0.0034319371916353703,
0.02936558984220028,
-0.008504061959683895,
-0.01737353391945362,
-0.03252139315009117,
0.051987726241350174,
-0.04647337272763252,
-0.01219137106090784,
0.044280920177698135,
-0.02401733212172985,
0.03351796418428421,
-0.038567252457141876,
0.002819462213665247,
-0.05165553465485573,
-0.005805019289255142,
0.022638743743300438,
0.0031599567737430334,
-0.014666185714304447,
0.038135405629873276,
-0.00507420115172863,
0.002620148239657283,
-0.04172305762767792,
-0.019815130159258842,
0.05680447816848755,
0.020097490400075912,
0.10304532200098038,
-0.016053078696131706,
0.055342841893434525,
-0.034481316804885864,
-0.0033218993339687586,
-0.032637663185596466,
-0.0071753025986254215,
0.01743997260928154,
-0.03992922976613045,
-0.02129337564110756,
0.041125115007162094,
-0.019549377262592316,
-0.015239213593304157,
-0.008520672097802162,
0.03273731842637062,
-0.008753204718232155,
0.006519227754324675,
0.05165553465485573,
-0.029897093772888184,
-0.06052500754594803,
-0.06760065257549286,
0.03215598687529564,
-0.02615995705127716,
-0.0021966060157865286,
-0.031973280012607574,
-0.04952951893210411,
0.01757284812629223,
-0.040194980800151825,
-0.05507709085941315,
-0.021957755088806152,
-0.05730276554822922,
0.002236053580418229,
0.02179165929555893,
-0.04388229176402092,
0.0664379894733429,
-0.011169886216521263,
0.06175411120057106,
-0.06261780112981796,
-0.06969344615936279,
0.07341397553682327,
-0.02114388905465603,
0.007387073710560799,
0.003178642364218831,
0.02923271432518959,
-0.018552808091044426,
0.001096226740628481,
0.01837010309100151,
0.005057591944932938,
0.015305651351809502,
-0.012166456319391727,
-0.007108864840120077,
0.029000181704759598,
0.02772125042974949,
0.011269543319940567,
-0.007715111132711172,
-0.06414587795734406,
0.057568516582250595,
-0.04338400438427925,
-0.014325691387057304,
-0.0370059609413147,
-0.027987001463770866,
-0.00282361451536417,
0.0019401968456804752,
-0.023768190294504166,
0.03793609142303467,
-0.04467954486608505,
-0.01165156252682209,
0.036773424595594406,
0.0581996776163578,
-0.01923379674553871,
-0.02914966642856598,
0.04604152590036392,
0.003654089290648699,
-0.01901787333190441,
-0.006390504073351622,
-0.002786243101581931,
0.05829933285713196,
-0.0017855209298431873,
0.029631342738866806,
0.028468677774071693,
0.051423002034425735,
0.012656436301767826,
0.026060299947857857,
0.009409279562532902,
0.004596678074449301,
-0.021476078778505325,
-0.040626827627420425,
-0.010596859268844128,
0.01830366626381874,
0.07945983111858368,
0.03247156739234924,
-0.03879978507757187,
-0.028535116463899612,
-0.042487092316150665,
0.0015228831907734275,
0.009782993234694004,
0.014325691387057304,
-0.01858602650463581,
0.043915510177612305,
-0.10158368200063705,
-0.008952518925070763,
0.008753204718232155,
-0.06909550726413727,
0.013453692197799683,
0.03232208266854286,
-0.07374616712331772,
-0.05866474285721779,
0.0690290704369545,
0.047636035829782486,
0.05109081417322159,
-0.002950261812657118,
0.013935367576777935,
0.025478968396782875,
-0.05305073410272598,
-0.0365741103887558,
-0.04388229176402092,
0.05501065403223038,
0.011942228302359581,
0.007428597658872604,
-0.03604260832071304,
0.007993320003151894,
0.00890269037336111,
0.02914966642856598,
-0.018968045711517334,
-0.02401733212172985,
-0.06344828009605408,
-0.019698863849043846,
0.009807907976210117,
0.023768190294504166,
0.05381476879119873,
-0.0016422639600932598,
0.0031765662133693695,
0.030960101634263992,
-0.00042276360909454525,
0.010248059406876564,
0.002217367757111788,
-0.02886730618774891,
-0.028202924877405167,
-0.024067161604762077,
-0.007586387917399406,
-0.014865499921143055,
0.00792688224464655,
0.059063371270895004,
0.03207293897867203,
0.047702476382255554,
-0.04448023438453674,
0.06265102326869965,
-0.024814588949084282,
0.0037807368207722902,
0.03943094611167908,
-0.013819101266562939,
-0.06975989043712616,
-0.059428781270980835,
-0.039264850318431854,
0.0024332914035767317,
0.07348041236400604,
0.028701210394501686,
0.0644780695438385,
-0.00281530967913568,
0.0035046038683503866,
-0.013096588663756847,
0.02959812432527542,
0.07175302505493164,
0.06384690850973129,
-0.014882109127938747,
-0.0035108323208987713,
0.009018956683576107,
-0.006685322616249323,
-0.04351688176393509,
-0.01028958335518837,
0.006402960978448391,
-0.05507709085941315,
-0.047137752175331116,
0.0675009936094284,
0.027604984119534492,
0.056272976100444794,
0.003211861476302147,
0.015637841075658798,
0.02521321550011635,
0.010248059406876564,
0.03567719832062721,
0.005124029703438282,
0.017755551263689995,
0.005751038435846567,
0.05045965313911438,
0.026143347844481468,
0.03431522101163864,
0.04228777810931206,
0.04178949445486069,
-0.006569055840373039,
0.06255136430263519,
-0.024532226845622063,
-0.02830258198082447,
0.06368081271648407,
0.007885358296334743,
-0.03524535149335861,
0.025263044983148575,
0.005526809953153133,
0.011443943716585636,
-0.08630294352769852,
0.03345152735710144,
-0.025678282603621483,
-0.022987544536590576,
-0.05208738148212433,
-0.023768190294504166,
-0.010663297027349472,
0.012847445905208588,
-0.013661311008036137,
0.03265427052974701,
0.026143347844481468,
0.018901607021689415,
-0.00857880525290966,
-0.018602635711431503,
0.015330566093325615,
0.01479075662791729,
-0.010447373613715172,
0.02436613105237484,
-0.017257267609238625,
-0.014417042955756187,
0.006901246029883623,
0.011560210026800632,
0.009251490235328674,
-0.0023170248605310917,
0.019565986469388008,
0.007648673374205828,
-0.020811699330806732,
0.015330566093325615,
-0.005178010556846857,
0.007872901856899261,
0.02750532701611519,
0.011784438043832779,
0.004854125436395407,
0.006643798667937517,
0.06995920091867447,
-0.020047662779688835,
0.029415419325232506,
0.03650767356157303,
-0.004162755329161882,
0.009018956683576107,
-0.066006138920784,
0.0783303901553154,
0.025678282603621483,
0.016966601833701134,
-0.019914787262678146,
-0.021692002192139626,
-0.08357898890972137,
0.034282002598047256,
-0.02773785963654518,
0.014151290990412235,
0.04710453376173973,
0.011626647785305977,
0.005007763393223286,
0.023685142397880554,
0.058631524443626404,
0.024050552397966385,
-0.013104893267154694,
0.038700126111507416,
0.02944863773882389,
0.02302076295018196,
-0.016991514712572098,
0.012581693939864635,
-0.016966601833701134,
0.09015634655952454,
-0.03185701370239258,
-0.016476621851325035,
0.0018000542186200619,
0.03378371521830559,
0.0010256364475935698,
0.056771259754896164,
-0.053781550377607346,
0.0047918399795889854,
0.002406300976872444,
-0.0033426613081246614,
-0.053216829895973206,
-0.0020512728951871395,
-0.00843762420117855,
-0.0421881228685379,
-0.0036644702777266502,
-0.026060299947857857,
-0.025412529706954956,
0.02516338787972927,
0.014948546886444092,
-0.0302957221865654,
-0.0275883749127388,
-0.0038928508292883635,
-0.050559308379888535,
0.0078978156670928,
0.045476801693439484,
0.027073480188846588,
-0.023253295570611954,
0.04972883313894272,
0.0530175156891346,
-0.05687091872096062,
0.01257338933646679,
-0.05587434768676758,
0.02680772729218006,
0.024200037121772766,
-0.031059758737683296,
-0.0278042983263731,
0.03272070735692978,
0.018669074401259422,
0.0014253024710342288,
-0.0060749235562980175,
0.002333634300157428,
-0.021393032744526863,
-0.005011915694922209,
-0.016194259747862816,
0.0006218180642463267,
-0.033916592597961426,
-0.03723849356174469,
-0.0269406046718359,
0.03717205300927162,
-0.04378263279795647,
-0.02330312505364418,
-0.0044056689366698265,
-0.01873551309108734,
0.010339411906898022,
-0.036408018320798874,
0.0013889691326767206,
0.013096588663756847,
-0.02438274212181568,
0.04032785817980766,
-0.00044144928688183427,
0.04617439955472946,
-0.011452248319983482,
0.028003612533211708,
0.06770031154155731,
-0.011128363199532032,
-0.025960642844438553,
-0.030777398496866226,
0.0034879944287240505,
0.01850298047065735,
0.03899909928441048,
-0.017772162333130836,
-0.006834807805716991,
-0.02787073515355587,
0.01994800567626953,
0.007727568503469229,
-0.07846326380968094,
0.014367214404046535,
-0.09713234007358551,
0.028036830946803093,
0.019698863849043846,
0.012016970664262772,
0.0057385810650885105,
-0.05315038934350014,
0.08464199304580688,
0.011352591216564178,
0.0137941874563694,
0.027854125946760178,
0.04551002010703087,
-0.03287019580602646,
-0.04431413859128952,
-0.028269363567233086,
0.049695614725351334,
-0.059063371270895004,
-0.0843762457370758,
0.03207293897867203,
-0.000904179469216615,
0.034846723079681396,
0.011950532905757427,
0.0315912626683712,
0.012382379733026028,
-0.041125115007162094,
-0.03265427052974701,
0.01257338933646679,
-0.017755551263689995,
-0.05587434768676758,
-0.0035751941613852978,
-0.009027261286973953,
0.009417585097253323,
-0.005140639375895262,
0.05916302651166916,
-0.0334349162876606,
0.009758079424500465,
-0.010405849665403366,
-0.04644015431404114,
0.08517350256443024,
-0.04142408445477486,
-0.07241740822792053,
-0.014666185714304447,
-0.03846759349107742,
0.01986495777964592,
0.04271962493658066,
0.023967504501342773,
0.039131972938776016,
-0.0039592888206243515,
-0.027538545429706573,
-0.05810001865029335,
-0.008504061959683895,
0.054645244032144547,
-0.005506048444658518,
-0.09341181069612503,
-0.00073289405554533,
0.008852861821651459,
0.05079184100031853,
0.02443256974220276,
0.04730384796857834,
-0.06723524630069733,
-0.07553999125957489,
-0.04773569479584694,
0.04404838755726814,
-0.042852502316236496,
-0.09334537386894226,
0.02071204222738743,
-0.04102545604109764,
-0.03843437507748604,
-0.08836252242326736,
0.02522982656955719,
0.025346092879772186,
-0.0015010832576081157,
-0.03087705560028553,
-0.0178552083671093,
-0.025761330500245094,
-0.00901065208017826,
-0.05158909782767296,
-0.05311717092990875,
0.00022448772506322712,
0.019250407814979553,
-0.07215165346860886,
0.006083228159695864,
-0.06517566740512848,
-0.05251922830939293,
-0.046274058520793915,
-0.000760403519961983,
0.015480050817131996,
0.01851958967745304,
-0.02966456115245819,
0.0167174581438303,
-0.011335982009768486,
0.08517350256443024,
0.0333186499774456,
-0.05853186547756195,
0.009782993234694004,
0.10497201979160309,
0.0063863517716526985,
-0.018619246780872345,
-0.005535115022212267,
0.04680556058883667,
-0.05245279148221016,
0.01858602650463581,
-0.02202419377863407,
-0.012922188267111778,
-0.05554215610027313,
-0.01061346847563982,
-0.005937895271927118,
0.03903231769800186,
-0.014948546886444092,
-0.0013588644796982408,
-0.0062576280906796455,
0.04567611590027809,
0.01665102131664753,
-0.04637371376156807,
0.027056870982050896,
0.00270734797231853,
-0.01871890388429165,
-0.027139918878674507,
0.044712767004966736,
0.0031184330582618713,
-0.05175519362092018,
-0.026907384395599365,
-0.04551002010703087,
0.04245387390255928,
0.024183427914977074,
-0.05308395251631737,
-0.06467738002538681,
-0.03396642208099365,
-0.027405669912695885,
-0.016501534730196,
-0.04617439955472946,
0.041689835488796234,
-0.03316916525363922,
0.0631825253367424,
-0.0025848529767245054,
-0.026890775188803673,
-0.014724318869411945,
0.05730276554822922,
0.0408925823867321,
0.05039321258664131,
-0.06371402740478516,
-0.04979526996612549,
-0.0649099126458168,
0.05009424313902855,
0.00427279295399785,
-0.05547571927309036,
-0.0010240792762488127,
0.010704820975661278,
0.03282036632299423,
-0.03587651252746582,
-0.07534068077802658,
-0.019565986469388008,
0.04919733107089996,
-0.005065896548330784,
0.002678281394764781,
-0.022107239812612534,
-0.047503162175416946,
0.006303303875029087,
0.024482399225234985,
-0.006490160711109638,
-0.029681170359253883,
-0.04178949445486069,
-0.006182885263115168,
0.047636035829782486,
0.03507925570011139,
-0.004646506626158953,
0.07135439664125443,
0.05315038934350014,
-0.03946416452527046,
-0.008404405787587166,
0.004025727044790983,
-0.031541433185338974,
0.031142806634306908,
-0.054080523550510406,
0.045775774866342545,
-0.009077089838683605,
0.01200036145746708,
0.056007225066423416,
-0.010821087285876274,
0.0750749260187149,
0.008603719063103199,
-0.02793717384338379,
0.006174580659717321,
0.028601553291082382,
-0.023818017914891243,
0.018037913367152214,
-0.07049070298671722,
-0.0008237272268161178,
-0.04939664527773857,
0.015388699248433113,
0.011435638181865215,
0.009351146407425404,
0.02057916671037674,
-0.05723632499575615,
-0.016675934195518494,
-0.024847807362675667,
-0.021459469571709633,
0.01943311095237732,
0.030528254806995392,
-0.012374075129628181,
-0.012415599077939987,
0.014300776645541191,
-0.00543130561709404,
-0.04537714645266533,
0.017240658402442932,
-0.021708613261580467,
0.021476078778505325,
0.042420655488967896,
0.00539808627218008,
0.014699405059218407,
-0.01880194991827011,
0.021824879571795464,
-0.022954324260354042,
-0.005020220298320055,
-0.03139194846153259,
-0.021957755088806152,
0.020778480917215347,
0.07268315553665161,
0.030461817979812622,
0.013636397197842598,
-0.005734428763389587,
0.03361762315034866,
-0.023901065811514854,
-0.056007225066423416,
-0.042354218661785126,
0.03707239776849747,
0.00006812489300500602,
0.02159234508872032,
0.0023128725588321686,
-0.018353493884205818,
0.06255136430263519,
-0.08278173208236694,
-0.008225853554904461,
-0.0016837877919897437,
-0.04185593128204346,
-0.00040148268453776836,
0.06584004312753677,
-0.02914966642856598,
-0.03763711825013161,
-0.02159234508872032,
0.07892832905054092,
-0.04288572072982788,
-0.0260769110172987,
-0.0035751941613852978,
-0.0031661854591220617,
-0.007507492788136005,
0.008429319597780704,
0.011460552923381329,
-0.000695522699970752,
-0.026990432292222977,
-0.01979852095246315,
-0.02008088119328022,
-0.01586207002401352,
-0.014616357162594795,
-0.045343928039073944,
-0.011718000285327435,
-0.06441163271665573,
0.05467846244573593,
0.056007225066423416,
-0.07042426615953445,
0.06590648740530014,
-0.002466510282829404,
0.04644015431404114,
-0.009102004580199718,
-0.06278389692306519,
-0.026392489671707153,
-0.04325113072991371,
-0.03527856990695,
0.04022820293903351,
-0.02594403363764286,
-0.03451453521847725,
-0.03366744890809059,
0.0341823436319828,
-0.02566167339682579,
0.09713234007358551,
0.021625565364956856,
-0.025777939707040787,
-0.025894206017255783,
-0.02544574998319149,
-0.04786856845021248,
0.030644521117210388,
-0.022605525329709053,
0.045211050659418106,
-0.013320816680788994,
0.006220256444066763,
0.012947103008627892,
0.005859000142663717,
-0.0015125023201107979,
0.028385629877448082,
0.014400433748960495,
0.060857195407152176,
-0.009658422321081161,
0.024116989225149155,
-0.0631825253367424,
-0.041125115007162094,
-0.022389601916074753,
-0.04454667121171951,
0.022539086639881134,
-0.04607474431395531,
-0.05979418754577637,
0.055708251893520355,
-0.02657519467175007,
0.01822061836719513,
0.01068821083754301,
0.0290998388081789,
-0.022539086639881134,
0.019117530435323715,
-0.0027592526748776436,
0.009650117717683315,
-0.011842571198940277,
0.028202924877405167,
-0.017307095229625702,
0.0021799965761601925,
0.008620329201221466,
0.008350424468517303,
0.016185954213142395,
0.007760787382721901,
-0.04404838755726814,
0.09161798655986786,
0.0072500454261898994,
-0.04225455969572067,
0.051356565207242966,
-0.024116989225149155,
0.05175519362092018,
0.02700704149901867,
-0.026176566258072853,
0.05989384651184082,
0.03710561618208885,
0.066006138920784,
-0.0260769110172987,
0.01210832316428423,
0.017639284953475,
-0.024050552397966385,
0.029847266152501106,
0.00971655547618866,
0.002686586230993271,
0.011593428440392017,
-0.016476621851325035,
-0.021110670641064644,
-0.02821953594684601,
-0.004293554928153753,
0.010987182147800922,
0.0031890233512967825,
0.09062141180038452,
-0.05640584975481033,
0.012980321422219276,
0.030478427186608315,
0.0023481675889343023,
-0.005942047573626041,
0.018768731504678726,
0.01586207002401352,
-0.0017772162100300193,
0.024415960535407066,
-0.014500090852379799,
0.02843545936048031,
0.04773569479584694,
0.013428778387606144,
0.033916592597961426,
0.07613793015480042,
-0.02401733212172985,
-0.011925619095563889,
-0.032986462116241455,
0.03273731842637062,
-0.003737136721611023,
-0.08019065111875534,
0.005746886134147644,
-0.015770716592669487,
0.04946308210492134,
-0.00800577737390995,
0.005933742970228195,
-0.0034423181787133217,
0.0014740928309038281
] |
710,327
|
js2py.evaljs
|
__getitem__
| null |
def __getitem__(self, var):
return getattr(self._var, var)
|
(self, var)
|
[
0.060024797916412354,
-0.010647962801158428,
-0.011060674674808979,
-0.04586052894592285,
0.042525820434093475,
0.029929855838418007,
0.0211473498493433,
-0.006475447211414576,
0.042030565440654755,
-0.02723897621035576,
-0.03734216094017029,
0.046983107924461365,
0.03354521095752716,
-0.03293439745903015,
-0.038794904947280884,
0.03922412544488907,
-0.0086091673001647,
0.056425951421260834,
-0.009830794297158718,
0.02651260234415531,
-0.02319440059363842,
0.026397043839097023,
0.04896412417292595,
-0.05695422366261482,
0.03856378793716431,
0.04609164968132973,
0.07990099489688873,
-0.027866298332810402,
0.058439984917640686,
-0.035163041204214096,
-0.03387537971138954,
-0.032620735466480255,
-0.008749488741159439,
0.053487442433834076,
-0.0022472154814749956,
-0.016219571232795715,
-0.024614129215478897,
0.02070162072777748,
-0.0007464924128726125,
0.013380114920437336,
0.026496093720197678,
-0.043912529945373535,
0.02258358709514141,
-0.044275715947151184,
-0.007791997864842415,
-0.032587721943855286,
0.002099670935422182,
0.03354521095752716,
0.016458945348858833,
-0.017003724351525307,
0.022022299468517303,
-0.017779622226953506,
-0.004770948085933924,
-0.048699986189603806,
-0.029054908081889153,
0.041535310447216034,
0.0060668629594147205,
0.08465543389320374,
-0.008600912988185883,
0.06619896739721298,
-0.0074081760831177235,
-0.01673133485019207,
-0.04057782143354416,
0.002183245262131095,
0.03625259920954704,
-0.04840283468365669,
-0.011960386298596859,
0.03668181970715523,
-0.0074081760831177235,
-0.04470493644475937,
0.015691300854086876,
0.009649200364947319,
-0.00928601436316967,
-0.02671070396900177,
0.029236501082777977,
-0.016062742099165916,
-0.05943049117922783,
-0.055402424186468124,
0.05120927467942238,
-0.004005367401987314,
-0.017944706603884697,
-0.01223277673125267,
-0.05236486718058586,
0.015187792479991913,
-0.04473795369267464,
-0.04364839568734169,
-0.01901775784790516,
-0.042195647954940796,
0.016004960983991623,
0.01497318223118782,
-0.006999591365456581,
0.06401984393596649,
-0.0021172112319618464,
0.05768059566617012,
-0.058968257158994675,
-0.06768472492694855,
0.08703265339136124,
-0.05375158041715622,
0.0014393322635442019,
0.013776318170130253,
0.03479985520243645,
-0.011225759983062744,
0.010392081923782825,
0.01002064161002636,
-0.025951314717531204,
0.015765588730573654,
-0.020520027726888657,
0.017598029226064682,
0.02884029783308506,
0.024762704968452454,
0.016822131350636482,
0.008080895990133286,
-0.06530750542879105,
0.04196453094482422,
-0.044440802186727524,
-0.002624846762046218,
-0.02156006172299385,
-0.01094511616975069,
-0.029352059587836266,
0.007362777832895517,
-0.013850606046617031,
0.023821722716093063,
-0.048501886427402496,
0.0076723117381334305,
0.03199341520667076,
0.038596801459789276,
-0.02106480859220028,
-0.0012113089906051755,
0.026941822841763496,
-0.007800252176821232,
0.006739582866430283,
-0.027470095083117485,
-0.031564194709062576,
0.05249693617224693,
0.010383827611804008,
0.019859690219163895,
0.032092466950416565,
0.022302942350506783,
-0.014329352416098118,
0.01865457184612751,
0.017598029226064682,
0.008741235360503197,
-0.03199341520667076,
-0.011143217794597149,
0.010581929236650467,
-0.008757743053138256,
0.06302934139966965,
0.03280232846736908,
-0.029880331829190254,
-0.039620328694581985,
-0.0493273101747036,
0.025059858337044716,
0.005835744086652994,
0.007692947052419186,
-0.026331009343266487,
0.02892283909022808,
-0.09383414685726166,
-0.013256301172077656,
0.0009724520496092737,
-0.0580107644200325,
0.004828727338463068,
0.017234843224287033,
-0.06372269243001938,
-0.026694195345044136,
0.03717707470059395,
0.04196453094482422,
0.028823789209127426,
0.0019005376379936934,
0.002379283308982849,
0.03938920795917511,
-0.04833680018782616,
-0.04179944470524788,
-0.05979367718100548,
0.03813456743955612,
0.023260435089468956,
0.008134548552334309,
-0.06144452467560768,
0.03248867020010948,
0.02184070646762848,
-0.00039723506779409945,
-0.024019824340939522,
-0.008373921737074852,
-0.07158072292804718,
-0.03394141420722008,
-0.008394557051360607,
0.03404046595096588,
0.0431201234459877,
0.01503096241503954,
0.008848539553582668,
0.06127944216132164,
-0.011770538985729218,
0.0016364020993933082,
-0.0007965337135829031,
-0.023375993594527245,
-0.005146515555679798,
-0.005823362618684769,
-0.009079658426344395,
-0.001981016481295228,
0.0019366499036550522,
0.06986384838819504,
0.034469686448574066,
0.028080908581614494,
-0.02809741534292698,
0.07158072292804718,
-0.04609164968132973,
0.013850606046617031,
0.054345883429050446,
-0.01327280979603529,
-0.08333475887775421,
-0.05087910592556,
-0.05186961218714714,
0.016879910603165627,
0.061543576419353485,
0.020321926102042198,
0.07778791338205338,
-0.009649200364947319,
-0.0037763125728815794,
-0.03238961845636368,
0.03938920795917511,
0.07494845241308212,
0.06893937289714813,
-0.03407348319888115,
0.013454402796924114,
0.024729687720537186,
0.003235660260543227,
-0.04361537843942642,
-0.021213384345173836,
0.0039558419957757,
-0.053685545921325684,
-0.01976063847541809,
0.08524973690509796,
0.030771788209676743,
0.06992988288402557,
0.00011968641047133133,
0.05107720568776131,
0.040478769689798355,
0.004494430962949991,
0.03367727994918823,
0.045629411935806274,
0.049360327422618866,
-0.003654562635347247,
0.06392079591751099,
0.007371032144874334,
0.03783741220831871,
0.005390015430748463,
0.0563599169254303,
0.013322335667908192,
0.06180771067738533,
-0.034997954964637756,
-0.017069758847355843,
0.056425951421260834,
0.029219992458820343,
-0.01746596209704876,
0.028163449838757515,
0.010466369800269604,
0.0320594497025013,
-0.0729014053940773,
0.023342976346611977,
-0.023491553962230682,
-0.035889413207769394,
-0.08782505989074707,
-0.009698726236820221,
0.01130830217152834,
0.016681808978319168,
-0.04104005545377731,
0.05031781643629074,
0.045266225934028625,
0.04876602068543434,
-0.010590183548629284,
-0.006855142302811146,
0.030193991959095,
0.04843585193157196,
-0.011605454608798027,
0.017647555097937584,
0.02535700984299183,
0.00533636286854744,
0.02089972235262394,
0.02892283909022808,
0.00244325352832675,
0.0005349775892682374,
0.008398683741688728,
0.02103179134428501,
-0.04487002268433571,
0.01276104710996151,
-0.0044985581189394,
-0.015765588730573654,
0.03869585320353508,
0.010152708739042282,
0.018027249723672867,
0.005835744086652994,
0.05269503593444824,
-0.026116399094462395,
0.01442014891654253,
0.019248876720666885,
-0.022071825340390205,
0.013999182730913162,
-0.08359888941049576,
0.07646723091602325,
0.025340501219034195,
0.036516737192869186,
-0.011242268607020378,
-0.0172678604722023,
-0.0862402468919754,
0.01259596273303032,
-0.023788705468177795,
0.015014453791081905,
0.04008256644010544,
0.021246401593089104,
0.0015703681856393814,
-0.002604211214929819,
0.04120514169335365,
-0.008543133735656738,
-0.00195109483320266,
0.0587371364235878,
0.007845650427043438,
0.0011122581781819463,
-0.044572871178388596,
0.01008667517453432,
-0.00940982811152935,
0.08392906188964844,
-0.041535310447216034,
-0.009748251177370548,
0.0009997942252084613,
0.0187701303511858,
0.02122989296913147,
0.03301693871617317,
-0.0650433748960495,
-0.01562526635825634,
-0.0003239787183701992,
0.016087504103779793,
-0.03744120895862579,
-0.012728030793368816,
-0.022979790344834328,
-0.02601734921336174,
-0.0060503543354570866,
-0.0009781268890947104,
-0.022137857973575592,
0.05619483068585396,
0.008493607863783836,
-0.02847711183130741,
-0.04262486845254898,
-0.008068514987826347,
-0.038794904947280884,
0.03199341520667076,
0.06428398191928864,
0.00200887443497777,
-0.01560875866562128,
0.041502293199300766,
0.03219151496887207,
-0.0657697468996048,
-0.0016549741849303246,
-0.04447381943464279,
0.0431201234459877,
0.021081317216157913,
-0.024201417341828346,
-0.025043349713087082,
0.04615768417716026,
-0.012818827293813229,
-0.011754030361771584,
-0.001335122506134212,
0.02319440059363842,
-0.01677260547876358,
-0.0032604229636490345,
-0.016310367733240128,
-0.023342976346611977,
-0.03648371994495392,
-0.015295097604393959,
-0.005200168117880821,
0.02020636759698391,
-0.05593069642782211,
-0.032455652952194214,
-0.0024803976994007826,
-0.03072226233780384,
0.013850606046617031,
-0.03833266720175743,
-0.023788705468177795,
0.0195955540984869,
-0.025555111467838287,
0.026331009343266487,
-0.03658277168869972,
0.059001270681619644,
-0.0026516730431467295,
0.03199341520667076,
0.08505164086818695,
-0.01266199629753828,
-0.02380521409213543,
-0.040115583688020706,
0.011976894922554493,
0.02405284158885479,
0.03513002395629883,
-0.03072226233780384,
-0.0074081760831177235,
-0.03975239768624306,
0.028444094583392143,
-0.012315318919718266,
-0.07858031988143921,
0.031514670699834824,
-0.09561705589294434,
-0.016549741849303246,
0.010953369550406933,
0.013487420044839382,
0.0050969901494681835,
-0.05322330817580223,
0.08637231588363647,
0.027338026091456413,
-0.01599670760333538,
0.020305417478084564,
0.04018161818385124,
-0.037903446704149246,
-0.022187383845448494,
-0.008229472674429417,
0.039818428456783295,
-0.049030154943466187,
-0.06847713142633438,
0.016879910603165627,
0.004936032462865114,
0.01047462411224842,
0.0246636550873518,
0.007078006397932768,
0.03942222520709038,
-0.032009921967983246,
-0.0407429039478302,
0.009054895490407944,
-0.019810164347290993,
-0.041007038205862045,
-0.0039413971826434135,
-0.002129592699930072,
0.005852252710610628,
-0.005761456210166216,
0.034832872450351715,
-0.05461001768708229,
-0.033231548964977264,
0.0025175416376441717,
-0.025290977209806442,
0.07006194442510605,
-0.04688405618071556,
-0.0681469663977623,
-0.009789522737264633,
-0.024647146463394165,
0.029054908081889153,
0.06408587843179703,
0.03113497421145439,
0.027420569211244583,
0.005815108772367239,
-0.04602561518549919,
-0.045629411935806274,
-0.02519192546606064,
0.025885282084345818,
-0.00018920254660770297,
-0.09891875088214874,
-0.008010734803974628,
0.008964098989963531,
0.06233598291873932,
0.040974024683237076,
0.08254235237836838,
-0.04655388742685318,
-0.09436241537332535,
-0.027635179460048676,
0.05616181716322899,
-0.04351632669568062,
-0.07607103139162064,
0.02892283909022808,
-0.033198531717061996,
-0.037573277950286865,
-0.06296330690383911,
0.018836164847016335,
0.005645896773785353,
0.009649200364947319,
-0.015691300854086876,
-0.012265793047845364,
-0.03922412544488907,
-0.007271981332451105,
-0.06666120141744614,
-0.07686343789100647,
-0.017069758847355843,
0.020833689719438553,
-0.057119306176900864,
0.032538194209337234,
-0.04985557869076729,
-0.03813456743955612,
-0.04331822693347931,
-0.033644262701272964,
0.019744129851460457,
0.014923657290637493,
-0.027783755213022232,
0.01672307960689068,
-0.006669422145932913,
0.09832444787025452,
0.008031371049582958,
-0.03942222520709038,
0.029137449339032173,
0.05943049117922783,
-0.0011648789513856173,
0.0109863867983222,
0.0008801078074611723,
0.025538602843880653,
-0.03783741220831871,
0.013759809546172619,
-0.0179942324757576,
0.005992574617266655,
-0.02103179134428501,
-0.009401573799550533,
0.0008264553034678102,
0.026281485334038734,
0.007271981332451105,
-0.02167562209069729,
0.0023607113398611546,
0.05943049117922783,
0.009872064925730228,
-0.06293028593063354,
0.016574503853917122,
0.0027775501366704702,
-0.01028477679938078,
-0.03301693871617317,
0.050780054181814194,
0.018373927101492882,
-0.0493273101747036,
-0.009418082423508167,
-0.039983514696359634,
0.04602561518549919,
0.04127117618918419,
-0.053157273679971695,
-0.05962859466671944,
-0.01120925135910511,
-0.01259596273303032,
-0.0029013636521995068,
-0.04193151369690895,
0.009294268675148487,
-0.03565829619765282,
0.09971115738153458,
-0.009723489172756672,
-0.012307064607739449,
-0.006529099773615599,
0.0688733384013176,
0.025208434090018272,
0.04212961718440056,
-0.006203057710081339,
-0.05249693617224693,
-0.04678500443696976,
0.05513828992843628,
0.005130006931722164,
-0.0454973429441452,
0.028212975710630417,
-0.03390839695930481,
0.06946764141321182,
-0.023755688220262527,
-0.06425096839666367,
-0.03479985520243645,
0.03338012844324112,
0.0021275291219353676,
0.0023648382630199194,
-0.04295504093170166,
-0.029748262837529182,
0.006475447211414576,
0.027866298332810402,
0.012529929168522358,
-0.04866696894168854,
-0.04724724218249321,
-0.002484524855390191,
0.0446719191968441,
0.03882792219519615,
-0.016219571232795715,
0.07257123291492462,
0.06517544388771057,
-0.04982256144285202,
-0.0034894777927547693,
-0.0246636550873518,
-0.04754439368844032,
0.03346266970038414,
-0.05768059566617012,
0.028790771961212158,
-0.02134545147418976,
0.00014057994121685624,
0.0681469663977623,
-0.006182421930134296,
0.059331443160772324,
0.00613702367991209,
-0.0383656844496727,
-0.0035369396209716797,
0.010713997296988964,
-0.02789931371808052,
0.03902602195739746,
-0.02103179134428501,
0.004527447745203972,
-0.004279820714145899,
0.03664880245923996,
0.018225351348519325,
0.002874537371098995,
0.012141980230808258,
-0.05837395042181015,
-0.0019944296218454838,
-0.03359473496675491,
-0.014040454290807247,
0.03829964995384216,
0.05566656216979027,
-0.011118454858660698,
-0.01673133485019207,
0.019727621227502823,
-0.0022080079652369022,
-0.05150642618536949,
-0.008865048177540302,
-0.024432536214590073,
0.030953381210565567,
-0.0033470923081040382,
0.005670659709721804,
0.008031371049582958,
-0.00424267677590251,
0.031481653451919556,
0.01563352160155773,
-0.03509700670838356,
-0.028823789209127426,
-0.027073891833424568,
-0.0011380526702851057,
0.05721835792064667,
0.013404877856373787,
-0.004473795183002949,
-0.0015858449041843414,
0.033974431455135345,
-0.011671488173305988,
-0.038794904947280884,
-0.04678500443696976,
0.029665721580386162,
-0.017251351848244667,
0.01490714866667986,
0.004515066742897034,
-0.05494019016623497,
0.07118452340364456,
-0.08062736690044403,
0.001387743279337883,
-0.01560875866562128,
-0.026050366461277008,
0.01378457248210907,
0.08524973690509796,
-0.015897655859589577,
-0.04998764768242836,
-0.02053653635084629,
0.07224106788635254,
-0.03354521095752716,
-0.027420569211244583,
0.016269097104668617,
-0.017944706603884697,
-0.005092862993478775,
0.02070162072777748,
0.014791589230298996,
0.020437486469745636,
-0.033231548964977264,
-0.00914569292217493,
-0.014989690855145454,
0.014436657540500164,
0.00748659111559391,
-0.029583178460597992,
-0.0050804815255105495,
-0.07065625488758087,
0.05695422366261482,
0.03542717546224594,
-0.03612053394317627,
0.07059022039175034,
-0.023541077971458435,
0.01901775784790516,
-0.010425099171698093,
-0.06874126940965652,
-0.009913336485624313,
-0.08141977339982986,
-0.0588361881673336,
0.041337210685014725,
-0.02961619570851326,
-0.04909618943929672,
-0.016888165846467018,
0.022765180096030235,
-0.012034675106406212,
0.07303347438573837,
-0.0032150244805961847,
-0.04592656344175339,
-0.019991757348179817,
0.005559227429330349,
-0.049723513424396515,
0.0359884649515152,
-0.012117217294871807,
0.02765168808400631,
-0.022550569847226143,
0.030821314081549644,
-0.018918706104159355,
0.02446555346250534,
0.03668181970715523,
0.019116807729005814,
0.03866283595561981,
0.04193151369690895,
-0.030342567712068558,
0.023342976346611977,
-0.043912529945373535,
-0.02834504283964634,
-0.015517962165176868,
-0.01327280979603529,
-0.007635167334228754,
-0.04569544643163681,
-0.04893110692501068,
0.042228665202856064,
-0.03367727994918823,
-0.0021068935748189688,
-0.00889806542545557,
0.006359888240695,
-0.013982674106955528,
0.011291793547570705,
-0.013446149416267872,
0.005517956335097551,
-0.023739179596304893,
0.009228235110640526,
-0.007990099489688873,
-0.014354114420711994,
-0.005084608681499958,
0.005340490024536848,
-0.012529929168522358,
0.008617421612143517,
-0.025224942713975906,
0.07171279191970825,
0.0009260220103897154,
-0.033149007707834244,
0.04298805445432663,
-0.024531586095690727,
0.05289313942193985,
0.039290159940719604,
-0.031201008707284927,
0.04500208795070648,
0.062236931174993515,
0.058439984917640686,
-0.02847711183130741,
0.025290977209806442,
-0.007040862459689379,
-0.04589354619383812,
0.05784567818045616,
0.01681387610733509,
-0.02151053585112095,
0.03027653507888317,
-0.03542717546224594,
-0.028361551463603973,
-0.02756914496421814,
0.0031324822921305895,
0.0058109816163778305,
0.009170454926788807,
0.07395794987678528,
-0.045101139694452286,
0.03275280445814133,
0.008113913238048553,
-0.01086257304996252,
-0.024977315217256546,
-0.008526625111699104,
0.013198521919548512,
0.003951714839786291,
0.004700786899775267,
-0.017234843224287033,
0.030606703832745552,
0.06860920041799545,
0.010326048359274864,
0.04830378293991089,
0.07012797892093658,
-0.03196039795875549,
0.011952131986618042,
-0.04866696894168854,
0.03214199095964432,
-0.0008269711979664862,
-0.07877841591835022,
0.000266199087491259,
-0.03002890758216381,
0.061180390417575836,
-0.04589354619383812,
-0.012967403046786785,
-0.018753621727228165,
0.004362363368272781
] |
710,328
|
js2py.evaljs
|
__init__
| null |
def __init__(self, context={}, enable_require=False):
self.__dict__['_context'] = {}
exec (DEFAULT_HEADER, self._context)
self.__dict__['_var'] = self._context['var'].to_python()
if enable_require:
def _js_require_impl(npm_module_name):
from .node_import import require
from .base import to_python
return require(to_python(npm_module_name), context=self._context)
setattr(self._var, 'require', _js_require_impl)
if not isinstance(context, dict):
try:
context = context.__dict__
except:
raise TypeError(
'context has to be either a dict or have __dict__ attr')
for k, v in six.iteritems(context):
setattr(self._var, k, v)
|
(self, context={}, enable_require=False)
|
[
0.026853375136852264,
0.0017921986291185021,
0.03235521912574768,
-0.051229096949100494,
0.055164191871881485,
0.05877136066555977,
0.005911750253289938,
0.06226922199130058,
-0.02729060687124729,
-0.011149433441460133,
0.043650396168231964,
0.045763690024614334,
0.017771687358617783,
0.014091645367443562,
-0.02539593167603016,
-0.012743511237204075,
0.06562133878469467,
0.03266492486000061,
0.008539700880646706,
-0.03667289391160011,
-0.046856772154569626,
0.021606583148241043,
-0.018154265359044075,
0.014592641033232212,
-0.012743511237204075,
0.011085670441389084,
0.03355760872364044,
0.021916288882493973,
0.02982291392982006,
-0.03541584685444832,
-0.005378873087465763,
-0.018072284758090973,
-0.01136805023998022,
0.015248490497469902,
0.002887557726353407,
-0.06769819557666779,
-0.025523459538817406,
0.05348813161253929,
-0.07797316461801529,
-0.021096477285027504,
0.04026184603571892,
0.029294591397047043,
0.007323647849261761,
-0.00221349042840302,
-0.024539684876799583,
-0.0016885835211724043,
0.0031858778093010187,
0.03135322779417038,
0.03570733591914177,
-0.0021520047448575497,
0.01709762029349804,
-0.0018548230873420835,
0.009473375044763088,
-0.004559061955660582,
-0.04824133962392807,
0.08751941472291946,
0.035033270716667175,
0.07615136355161667,
-0.050208888947963715,
0.04037115350365639,
-0.03195442259311676,
0.03426811099052429,
-0.00208710297010839,
0.029385680332779884,
-0.03734695911407471,
0.02002161368727684,
-0.08132528513669968,
-0.013763721100986004,
0.004968967288732529,
0.011969245038926601,
-0.001103329355828464,
0.01051180250942707,
-0.014118972234427929,
-0.003420434892177582,
0.07469391822814941,
0.00940961204469204,
-0.08358431607484818,
-0.064346082508564,
-0.008352966047823429,
0.020604591816663742,
0.026452578604221344,
-0.013526886701583862,
-0.01831822842359543,
0.00624422961845994,
0.02658010460436344,
0.00361400144174695,
-0.06387241184711456,
-0.009773972444236279,
0.09961618483066559,
-0.0020700234454125166,
-0.09487949311733246,
0.0729449912905693,
0.0007406767690554261,
0.04335891082882881,
0.00375291402451694,
-0.028037546202540398,
0.028966667130589485,
-0.028073983266949654,
-0.01686989516019821,
0.02499513514339924,
-0.0015656119212508202,
-0.018145157024264336,
-0.0014699671883136034,
-0.007669790182262659,
0.02277253568172455,
0.06030167639255524,
0.035761989653110504,
0.01218786183744669,
0.08161676675081253,
0.025013353675603867,
0.00017904906417243183,
0.017953867092728615,
0.006358092185109854,
0.05184851214289665,
-0.06503836065530777,
-0.010520911775529385,
-0.016314245760440826,
-0.0077608805149793625,
0.08190825581550598,
0.008580692112445831,
-0.0489700622856617,
0.028748050332069397,
0.018354663625359535,
0.03441385552287102,
0.06999366730451584,
-0.007473946548998356,
-0.0008152567897923291,
-0.023501258343458176,
0.0515570230782032,
-0.04499853029847145,
0.07819177955389023,
0.008034151047468185,
0.029075974598526955,
0.018646152690052986,
-0.03587130084633827,
-0.006307992618530989,
-0.03461425378918648,
0.04510784149169922,
-0.0005977790569886565,
-0.011076562106609344,
-0.013271833769977093,
0.008662672713398933,
-0.05305090174078941,
-0.025760293006896973,
-0.027527442201972008,
-0.029294591397047043,
0.01238826010376215,
-0.013308269903063774,
-0.033430084586143494,
0.028456561267375946,
0.025450587272644043,
-0.03763844817876816,
0.04135492444038391,
0.008557919412851334,
-0.047986287623643875,
0.04922511428594589,
-0.009883280843496323,
-0.05057324841618538,
-0.0001475945027777925,
0.009400502778589725,
0.006922850850969553,
-0.001929972437210381,
-0.0026165645103901625,
0.006071158219128847,
0.04543576389551163,
0.044233374297618866,
0.021387966349720955,
-0.08358431607484818,
-0.013408469036221504,
0.061030399054288864,
0.03266492486000061,
-0.07298142462968826,
0.031590063124895096,
0.026853375136852264,
0.05625727400183678,
0.027782494202256203,
-0.007191567216068506,
-0.04951660335063934,
-0.011650430038571358,
0.05210356414318085,
0.018746351823210716,
-0.0078109800815582275,
-0.05399823933839798,
0.027855366468429565,
-0.010393385775387287,
0.018145157024264336,
0.02446681261062622,
-0.028456561267375946,
0.055382806807756424,
0.009928826242685318,
-0.03295641392469406,
0.030569853261113167,
0.0418650321662426,
0.03144431859254837,
0.012206079438328743,
0.013107871636748314,
0.030806686729192734,
-0.043541088700294495,
-0.04791341722011566,
0.057896897196769714,
-0.02842012606561184,
0.011759737506508827,
0.005228574387729168,
0.010329622775316238,
0.01780812256038189,
0.04139136150479317,
-0.026980901136994362,
0.025541676208376884,
-0.03880440071225166,
-0.040188971906900406,
-0.051229096949100494,
-0.014692840166389942,
0.013381142169237137,
0.09553534537553787,
-0.00019285491725895554,
0.011759737506508827,
0.002502701710909605,
0.02337373048067093,
0.0038531131576746702,
0.02053171955049038,
0.05654876306653023,
-0.005551944486796856,
-0.0033817216753959656,
0.006362646818161011,
0.02346482127904892,
-0.02304580621421337,
0.02095073275268078,
-0.05775115266442299,
-0.054872702807188034,
0.021460838615894318,
0.013217180036008358,
0.03228234872221947,
0.03430454805493355,
-0.000283945060800761,
-0.033411864191293716,
-0.04805916175246239,
0.06285220384597778,
0.07731731235980988,
-0.0552370660007,
-0.014282934367656708,
0.002814685460180044,
0.06682372838258743,
0.02933102659881115,
-0.018436646088957787,
0.025013353675603867,
0.03242809325456619,
-0.0067497799172997475,
0.034340985119342804,
-0.02719951793551445,
0.008330193348228931,
-0.013235398568212986,
-0.021861635148525238,
-0.011003689840435982,
-0.01126785110682249,
-0.04660172015428543,
0.056585200130939484,
0.05108335241675377,
0.039496686309576035,
-0.055346373468637466,
0.04015253484249115,
0.028748050332069397,
-0.036563582718372345,
-0.03587130084633827,
0.058006204664707184,
0.018463972955942154,
-0.016159391030669212,
0.04048046097159386,
-0.01405520923435688,
-0.03997035697102547,
-0.018427535891532898,
0.016359789296984673,
0.019930524751544,
0.06773462891578674,
0.007601472549140453,
-0.030824905261397362,
-0.05997375026345253,
-0.07833752781152725,
-0.02173410914838314,
-0.019037840887904167,
0.004137769807130098,
-0.005806996952742338,
-0.04135492444038391,
0.017972085624933243,
0.05509132146835327,
-0.08985131978988647,
-0.01066665630787611,
0.019475072622299194,
0.018354663625359535,
-0.051520586013793945,
-0.037674885243177414,
-0.05888067185878754,
0.0580790750682354,
-0.004547675605863333,
0.059317901730537415,
0.01870991662144661,
0.0038235089741647243,
-0.05057324841618538,
0.05935433879494667,
0.008225440047681332,
0.05662163347005844,
0.024521466344594955,
-0.003356671892106533,
-0.02973182313144207,
-0.013545104302465916,
-0.02142440155148506,
0.008034151047468185,
0.0916731208562851,
-0.012953018769621849,
-0.012169643305242062,
0.037565577775239944,
0.04733043909072876,
0.030679160729050636,
-0.011878155171871185,
0.012761729769408703,
-0.013882137835025787,
-0.025814946740865707,
0.06288863718509674,
-0.07258062809705734,
-0.000705379294231534,
0.016059191897511482,
-0.020167358219623566,
-0.03649071231484413,
0.039496686309576035,
0.004035293590277433,
0.0024822065606713295,
0.04124561697244644,
0.03539763018488884,
-0.021624799817800522,
0.035962387919425964,
0.012169643305242062,
-0.07724444568157196,
0.07032158970832825,
-0.01325361616909504,
-0.012078553438186646,
-0.015621960163116455,
-0.06132188439369202,
-0.012779947370290756,
-0.0366000197827816,
-0.029276372864842415,
-0.022408176213502884,
-0.028183290734887123,
-0.03168115392327309,
-0.062050607055425644,
0.013490450568497181,
-0.09458800405263901,
-0.07994071394205093,
0.01891031488776207,
-0.026980901136994362,
0.047585491091012955,
-0.05643945559859276,
-0.04299454763531685,
0.024594338610768318,
0.014027882367372513,
0.02173410914838314,
-0.00041019031777977943,
-0.03913232684135437,
-0.0022271540947258472,
-0.03638140484690666,
-0.015057201497256756,
-0.0005624816403724253,
-0.028875576332211494,
0.07068595290184021,
-0.0073919654823839664,
0.04051689803600311,
-0.056876685470342636,
-0.03470534458756447,
0.04426981136202812,
0.0018252187874168158,
0.04743974655866623,
-0.01982121542096138,
0.0286205243319273,
-0.05286872014403343,
-0.026452578604221344,
-0.03315681219100952,
-0.018746351823210716,
-0.0033384538255631924,
-0.039496686309576035,
-0.05684025213122368,
-0.001664672396145761,
-0.0626700222492218,
0.023647001013159752,
0.021315094083547592,
0.0043996539898216724,
-0.05716817453503609,
-0.09174599498510361,
0.00758780911564827,
0.02964073419570923,
0.00934584904462099,
-0.010976362973451614,
0.021096477285027504,
-0.05017245188355446,
-0.0013390250969678164,
0.029349245131015778,
0.02395670861005783,
0.01880100555717945,
-0.030260145664215088,
-0.004035293590277433,
0.01971190795302391,
0.02428463287651539,
0.036144569516181946,
0.046966079622507095,
-0.01639622636139393,
0.023902054876089096,
0.034322768449783325,
0.03388553485274315,
-0.01768970675766468,
0.07327291369438171,
0.01233360543847084,
0.04124561697244644,
0.01942041888833046,
-0.06256071478128433,
-0.0012820938136428595,
-0.08154390007257462,
-0.017543962225317955,
-0.05490913987159729,
-0.04277593269944191,
0.010730419307947159,
-0.021315094083547592,
0.02739991620182991,
-0.021970942616462708,
-0.028984883800148964,
-0.00626700185239315,
-0.002080271253362298,
-0.034541383385658264,
-0.013381142169237137,
-0.004955303855240345,
0.0013652135385200381,
0.008990596979856491,
-0.01586790382862091,
0.025869600474834442,
-0.03931450843811035,
0.11921878159046173,
-0.01268885750323534,
-0.05873492732644081,
0.04077195003628731,
-0.04904293268918991,
-0.03825785964727402,
-0.0078018708154559135,
-0.017325345426797867,
0.01900140382349491,
0.015649287030100822,
0.029349245131015778,
0.07476679235696793,
0.03004153072834015,
-0.023628784343600273,
0.03304750472307205,
-0.03295641392469406,
0.0646740049123764,
-0.053961802273988724,
-0.07469391822814941,
0.01547621563076973,
0.01617760956287384,
0.05319664627313614,
-0.04926155135035515,
-0.06259714812040329,
-0.036253876984119415,
-0.03277423605322838,
-0.01819070242345333,
0.008102468214929104,
-0.05418041720986366,
-0.03426811099052429,
-0.028037546202540398,
-0.009664664044976234,
-0.02335551381111145,
-0.03661824017763138,
0.023920271545648575,
0.03880440071225166,
-0.009600901044905186,
-0.029003102332353592,
0.021315094083547592,
-0.03248274698853493,
0.048095595091581345,
-0.013344706036150455,
-0.03157184273004532,
0.018646152690052986,
0.058589182794094086,
-0.049808092415332794,
-0.0580790750682354,
-0.008070587180554867,
-0.06762532144784927,
-0.020877860486507416,
0.04856926575303078,
0.06959287077188492,
0.006549381650984287,
-0.010448039509356022,
-0.0039692530408501625,
0.050901174545288086,
-0.041828595101833344,
0.08227261900901794,
-0.026142871007323265,
-0.039496686309576035,
0.046055179089307785,
-0.025851383805274963,
-0.0004323935427237302,
0.048678573220968246,
0.03446850925683975,
-0.002819240093231201,
-0.01920180208981037,
0.01739821769297123,
0.03578021004796028,
-0.034723564982414246,
0.02486760914325714,
0.0050873844884335995,
0.042411573231220245,
0.004918867722153664,
-0.006130366586148739,
-0.05286872014403343,
0.02739991620182991,
-0.012269842438399792,
0.0070685953833162785,
0.004814114421606064,
0.06569421291351318,
0.011085670441389084,
-0.011522903107106686,
0.05228574201464653,
-0.010174768976867199,
-0.0757870003581047,
0.07658859342336655,
-0.024138888344168663,
-0.03264670819044113,
-0.03248274698853493,
-0.013025891035795212,
0.05326951667666435,
-0.06081178039312363,
-0.005711351986974478,
0.0036436058580875397,
-0.014574423432350159,
0.022025596350431442,
0.022389957681298256,
0.06897345930337906,
-0.020914297550916672,
-0.05370675027370453,
-0.022517483681440353,
0.02042241021990776,
-0.02073211781680584,
0.04689320549368858,
0.03186333179473877,
-0.0008932527271099389,
-0.03157184273004532,
-0.04175572097301483,
0.039168763905763626,
-0.011595775373280048,
0.013299161568284035,
0.04390545189380646,
-0.01507541909813881,
0.021715890616178513,
-0.02215312421321869,
0.016523752361536026,
-0.01547621563076973,
-0.053342390805482864,
0.023391949012875557,
-0.04150066897273064,
-0.028693396598100662,
-0.010101896710693836,
-0.015549087896943092,
-0.06336230784654617,
0.009546247310936451,
-0.026161089539527893,
0.025304842740297318,
0.029567861929535866,
0.032191257923841476,
0.015093636699020863,
-0.05399823933839798,
-0.00015101037570275366,
0.007619690615683794,
-0.02062280848622322,
-0.010839727707207203,
-0.035834863781929016,
-0.003809845307841897,
0.01768970675766468,
0.03197263926267624,
-0.022626793012022972,
0.018855659291148186,
0.047075387090444565,
-0.0279100202023983,
0.05348813161253929,
-0.011714193038642406,
0.02164301835000515,
0.048496391624212265,
0.010794182308018208,
-0.06175911799073219,
-0.008931389078497887,
-0.026835156604647636,
-0.04459773376584053,
-0.032118383795022964,
-0.007332756649702787,
0.02721773460507393,
0.0600830614566803,
0.07232557237148285,
-0.0564030185341835,
-0.03193620592355728,
-0.012779947370290756,
0.0495530404150486,
-0.019748343154788017,
0.008425838313996792,
0.007601472549140453,
-0.056366581469774246,
-0.012151425704360008,
0.04751262068748474,
-0.0651841089129448,
-0.006931960117071867,
-0.00023882697860244662,
-0.008375738747417927,
0.013526886701583862,
-0.023319076746702194,
0.017170492559671402,
-0.06241496652364731,
0.022991152480244637,
-0.03370335325598717,
0.018646152690052986,
-0.010274968110024929,
-0.05917215719819069,
0.011550230905413628,
0.029586078599095345,
-0.030679160729050636,
0.02326442301273346,
-0.014182735234498978,
0.033011067658662796,
-0.02455790340900421,
-0.04973521828651428,
0.00075547891901806,
0.000736122252419591,
0.006549381650984287,
-0.00480500515550375,
-0.009455157443881035,
0.012953018769621849,
0.01901962235569954,
-0.03942381590604782,
-0.050318196415901184,
0.03530653938651085,
0.01325361616909504,
-0.04499853029847145,
0.036144569516181946,
-0.03638140484690666,
0.021879853680729866,
-0.019256457686424255,
0.05279584974050522,
-0.008471383713185787,
0.04299454763531685,
0.03698259964585304,
-0.013034999370574951,
0.006781661417335272,
0.025231970474123955,
0.015202945098280907,
-0.0047731236554682255,
0.00844861101359129,
0.00940961204469204,
0.023100461810827255,
0.009728427976369858,
-0.006895523983985186,
-0.024521466344594955,
-0.02113291434943676,
-0.0418650321662426,
0.025213751941919327,
-0.02599712833762169,
0.06988435983657837,
-0.0036709329579025507,
-0.04853282868862152,
0.06365379691123962,
-0.035452283918857574,
-0.04780410975217819,
0.03419524058699608,
0.03690972551703453,
-0.013800157234072685,
0.030915996059775352,
-0.04106343910098076,
0.032810669392347336,
-0.04674746096134186,
0.022116687148809433,
-0.019657254219055176,
0.07527689635753632,
-0.022881845012307167,
0.010429821908473969,
0.00864445511251688,
-0.06226922199130058,
-0.0038394497241824865,
-0.06358092278242111,
0.0021212617866694927,
0.02155192755162716,
0.0005587810883298516,
-0.026744065806269646,
0.013198962435126305,
0.009546247310936451,
-0.04033471643924713,
-0.016505533829331398,
-0.016405334696173668,
0.005397091154009104,
0.018381990492343903,
0.005529171787202358,
-0.029185282066464424,
-0.028492998331785202,
0.013891247101128101,
-0.02264500968158245,
0.019566163420677185,
-0.027855366468429565,
-0.036017045378685,
-0.005060057621449232,
-0.0501360148191452,
0.009673773311078548,
-0.011559339240193367,
0.01889209635555744,
-0.032719578593969345,
0.035324759781360626,
0.007000277750194073,
-0.03741983324289322,
0.010302295908331871,
-0.042229391634464264,
-0.023064024746418,
-0.0038622221909463406,
-0.0011562755098566413,
0.03441385552287102,
-0.03213660418987274,
0.02883913926780224,
-0.026215743273496628,
-0.021460838615894318,
0.038367170840501785,
-0.00636720098555088,
0.010812399908900261,
-0.022280650213360786,
-0.02842012606561184,
0.037966374307870865,
-0.02195272594690323,
0.03262849152088165,
0.049407295882701874,
0.07265350222587585,
-0.0008511235355399549,
-0.015521761029958725,
0.00006479498551925644,
0.08853962272405624,
-0.06121257692575455,
-0.02113291434943676,
0.01951150968670845,
-0.05035463348031044,
-0.03647249564528465,
0.008940497413277626,
-0.02701733633875847,
0.0027600314933806658,
0.012661530636250973,
-0.014592641033232212,
0.027673186734318733,
-0.024904046207666397,
-0.02468542940914631,
0.0018582389457151294,
0.023519475013017654,
0.03044232726097107,
0.022699663415551186,
-0.003345285542309284,
-0.05884423479437828,
0.045763690024614334,
0.014446897432208061,
-0.015813250094652176,
-0.007569591049104929,
0.008006824180483818,
-0.006900078617036343,
0.05490913987159729,
0.0054654087871313095,
-0.07986783981323242,
0.011459140107035637,
0.0021155686117708683,
-0.05443546921014786,
-0.07527689635753632,
-0.04609161242842674,
0.0057887788861989975,
0.010557347908616066,
0.04816846922039986,
0.04408762976527214,
0.04401475936174393,
0.015631068497896194
] |
710,329
|
js2py.evaljs
|
__setattr__
| null |
def __setattr__(self, var, val):
return setattr(self._var, var, val)
|
(self, var, val)
|
[
0.03594497591257095,
0.01573226787149906,
0.03699323162436485,
0.008470570668578148,
-0.0019432858098298311,
0.030145762488245964,
0.005313127301633358,
0.045379262417554855,
0.016433920711278915,
-0.025699136778712273,
-0.04007036238908768,
0.016476189717650414,
0.045615967363119125,
0.023484276607632637,
-0.022503651678562164,
0.022047152742743492,
-0.032749492675065994,
0.043789975345134735,
0.0002755365858320147,
0.03526868298649788,
-0.017482174560427666,
0.012249357998371124,
0.018090838566422462,
-0.012790392152965069,
0.0143458666279912,
0.02522573061287403,
0.012274718843400478,
0.010127488523721695,
0.04135531932115555,
-0.005389210302382708,
-0.0009980605682358146,
-0.061407409608364105,
-0.004455080721527338,
-0.0027453270740807056,
0.056639544665813446,
-0.0630643293261528,
-0.06959055364131927,
0.03709467500448227,
-0.029080601409077644,
-0.03335815668106079,
0.04805062338709831,
-0.021725913509726524,
-0.02547934092581272,
-0.03340887650847435,
0.021370859816670418,
0.005621686112135649,
0.024059126153588295,
0.04784773290157318,
0.051432088017463684,
-0.011091206222772598,
0.010567079298198223,
0.00015480771253351122,
0.019646313041448593,
-0.029063694179058075,
-0.03136308863759041,
0.04521019011735916,
0.03254660218954086,
0.08649788051843643,
-0.039833661168813705,
0.022706538438796997,
-0.009036965668201447,
0.004907351452857256,
0.0005228062509559095,
-0.023196851834654808,
-0.0027199662290513515,
-0.0066276718862354755,
-0.07168706506490707,
0.039089739322662354,
0.014810818247497082,
0.017549805343151093,
0.006209215614944696,
-0.01603659987449646,
-0.0003056527639273554,
-0.005160961300134659,
0.029807616025209427,
0.04162583872675896,
-0.09745383262634277,
-0.02973998710513115,
-0.017042584717273712,
-0.01864878088235855,
0.02686574123799801,
-0.006576950196176767,
-0.03335815668106079,
0.04791536182165146,
-0.02365334890782833,
-0.003920386079698801,
-0.06299670040607452,
-0.029266582801938057,
0.010195117443799973,
-0.00006317131919786334,
0.004097913391888142,
0.06654723733663559,
0.027254609391093254,
0.06827178597450256,
-0.04294461011886597,
-0.047205254435539246,
0.0785176232457161,
-0.06384206563234329,
0.013356788083910942,
0.015318037942051888,
0.005000341683626175,
-0.00010428386303829029,
-0.003920386079698801,
0.017008770257234573,
-0.0011401878437027335,
-0.007840772159397602,
-0.0007941160001792014,
-0.035403940826654434,
0.016391653567552567,
-0.009493463672697544,
0.018733317032456398,
-0.009814702905714512,
-0.04683329537510872,
0.038244374096393585,
-0.047780103981494904,
0.0018038003472611308,
-0.017532898113131523,
-0.05789068713784218,
0.02206406183540821,
0.008986243978142738,
0.003425847040489316,
0.0200013667345047,
-0.04135531932115555,
0.013466685079038143,
0.03837963193655014,
0.03447403758764267,
0.03608023375272751,
0.03171814605593681,
0.04551452398300171,
-0.03440640866756439,
-0.024836862459778786,
-0.0022571280132979155,
0.010795327834784985,
0.041693467646837234,
0.04125387594103813,
-0.003305382328107953,
-0.024397272616624832,
0.04886217415332794,
-0.0027030587662011385,
-0.01815846934914589,
-0.00650509400293231,
0.0032039382494986057,
-0.010499449446797371,
-0.007790050469338894,
0.01409225631505251,
0.015157418325543404,
0.018513523042201996,
0.06083256006240845,
-0.028996065258979797,
0.001525886240415275,
0.006691074464470148,
-0.028539566323161125,
0.010702337138354778,
0.06691920012235641,
-0.058025944977998734,
0.06793363392353058,
-0.09353133291006088,
-0.0196970347315073,
0.034862905740737915,
-0.018800947815179825,
0.011725231073796749,
-0.017532898113131523,
-0.05545603111386299,
-0.03021339140832424,
0.06999633461236954,
0.05542221665382385,
0.0017784393858164549,
0.00742231635376811,
-0.004161315504461527,
0.023873144760727882,
-0.029080601409077644,
-0.05177023261785507,
-0.004066212102770805,
0.0731072798371315,
0.03335815668106079,
0.014176793396472931,
-0.002023595618084073,
-0.01976466365158558,
-0.006843240465968847,
0.053799111396074295,
0.00868191197514534,
0.017752692103385925,
-0.029097508639097214,
0.01733000949025154,
0.0047974539920687675,
-0.010355737060308456,
0.021370859816670418,
0.014751642011106014,
0.03002741187810898,
0.05650428310036659,
0.042505018413066864,
-0.007282830774784088,
-0.02213169075548649,
-0.02159065566956997,
-0.01976466365158558,
-0.011488527990877628,
-0.005106012336909771,
-0.04679948091506958,
-0.0027284198440611362,
0.07182232290506363,
0.014717827551066875,
0.03232680633664131,
0.011759045533835888,
0.0304839089512825,
0.020576216280460358,
-0.020643845200538635,
0.026510687544941902,
-0.006767157465219498,
-0.05870223790407181,
-0.03760189563035965,
-0.01656918041408062,
-0.019866108894348145,
0.050891052931547165,
0.05234508216381073,
0.06313195824623108,
-0.05951378867030144,
0.015284223482012749,
0.010085220448672771,
0.0299597829580307,
0.03340887650847435,
0.06380824744701385,
-0.006171174347400665,
-0.027474405243992805,
-0.032174643129110336,
0.010169756598770618,
-0.051939304918050766,
-0.014396588318049908,
-0.05785687267780304,
-0.044060491025447845,
-0.005680861882865429,
0.05653810128569603,
0.05075579509139061,
0.016746707260608673,
-0.020593123510479927,
0.044060491025447845,
0.016501549631357193,
0.05555747449398041,
0.005837254226207733,
-0.023467369377613068,
-0.008335311897099018,
0.014024627394974232,
0.052209824323654175,
0.04710381105542183,
0.037500448524951935,
0.02973998710513115,
0.04815206676721573,
-0.04493967443704605,
0.08433374762535095,
-0.028860805556178093,
-0.012139460071921349,
0.03733137622475624,
-0.005042610224336386,
-0.06042678281664848,
0.027203887701034546,
0.00029561403789557517,
0.04832113906741142,
-0.04284316673874855,
0.051939304918050766,
-0.03570827469229698,
-0.0244141798466444,
-0.050620533525943756,
-0.007236335892230272,
-0.0048566292971372604,
0.013390602543950081,
0.0015945722116157413,
0.0044846683740615845,
0.03001050464808941,
0.006513547617942095,
-0.024025311693549156,
-0.0016695985104888678,
-0.0017203204333782196,
0.012308533303439617,
0.002872131997719407,
0.015047520399093628,
-0.028607197105884552,
-0.027254609391093254,
-0.028607197105884552,
-0.013280704617500305,
0.013120085000991821,
-0.0043916781432926655,
0.008402940817177296,
-0.0271193515509367,
0.012553690001368523,
-0.004296574275940657,
0.00499188806861639,
0.0007909458363428712,
0.022030245512723923,
0.06265854835510254,
0.01582525670528412,
-0.04392523318529129,
0.014548754319548607,
0.020677659660577774,
0.03692559897899628,
0.03702704608440399,
0.031667422503232956,
0.03075442649424076,
-0.1084774062037468,
0.08473952114582062,
0.03373011574149132,
0.02916513755917549,
-0.007071489468216896,
-0.010609347373247147,
-0.09556020796298981,
0.05873605236411095,
0.012046470306813717,
0.0022655816283077,
0.027203887701034546,
0.01273967046290636,
-0.017186297103762627,
0.03888684883713722,
0.04703618213534355,
0.04341801255941391,
-0.04683329537510872,
0.04892980307340622,
0.10171447694301605,
0.01841207779943943,
0.004345182795077562,
-0.016729800030589104,
-0.03655363991856575,
0.06789982318878174,
-0.00973862037062645,
-0.07033447921276093,
-0.018327541649341583,
-0.00371961179189384,
0.03858251869678497,
0.024092940613627434,
0.014261329546570778,
0.029638543725013733,
0.026088004931807518,
-0.01660299487411976,
-0.08737706393003464,
0.008111289702355862,
0.0039457473903894424,
-0.0017921766266226768,
-0.025175008922815323,
-0.029841430485248566,
-0.02181045152246952,
-0.01660299487411976,
0.0024769234005361795,
-0.019341981038451195,
-0.01817537657916546,
0.02267272397875786,
-0.08960883319377899,
-0.02659522369503975,
0.04257264733314514,
0.012114099226891994,
-0.04991042613983154,
0.029334211722016335,
0.02737296186387539,
-0.015698453411459923,
-0.0055498299188911915,
-0.0250228438526392,
0.021759729832410812,
0.004186676815152168,
-0.0076928334310650826,
-0.030365558341145515,
0.033544134348630905,
-0.0031088346149772406,
-0.015216593630611897,
-0.05680861696600914,
-0.024143662303686142,
0.0007735101971775293,
0.015478657558560371,
0.010795327834784985,
0.009755527600646019,
0.007219428196549416,
-0.05058671906590462,
-0.04487204551696777,
0.0299597829580307,
-0.029554005712270737,
0.013754109852015972,
-0.022486744448542595,
-0.03440640866756439,
0.023551905527710915,
-0.0017287741648033261,
0.0016135929618030787,
-0.026899555698037148,
-0.03281712159514427,
0.005837254226207733,
-0.029131323099136353,
0.039055924862623215,
0.011564611457288265,
0.055625103414058685,
0.07270150631666183,
0.019629405811429024,
-0.015681544318795204,
0.033324338495731354,
0.0024579025339335203,
0.05163497477769852,
0.07283676415681839,
-0.030111948028206825,
0.04182872548699379,
0.0020172554068267345,
0.030923500657081604,
-0.01158997230231762,
-0.03574208915233612,
-0.01630711555480957,
-0.06556661427021027,
0.03469383344054222,
0.01539412047713995,
0.009189131669700146,
-0.014886900782585144,
-0.019291259348392487,
0.08014072477817535,
0.029554005712270737,
0.02916513755917549,
0.013246890157461166,
0.03028102219104767,
0.006885508541017771,
0.0014910148456692696,
-0.04815206676721573,
0.00658117700368166,
-0.02422819845378399,
-0.11828365176916122,
0.04385760426521301,
-0.02894534356892109,
0.03628312423825264,
-0.004000695887953043,
0.0483887679874897,
0.02079601213335991,
-0.04372234642505646,
-0.01783723011612892,
-0.005541376303881407,
0.04260646179318428,
-0.05332570895552635,
0.0050764246843755245,
0.020931269973516464,
-0.022300763055682182,
0.0034047127701342106,
0.050620533525943756,
0.0017171503277495503,
0.030585354194045067,
0.05122919753193855,
-0.025952745229005814,
0.05075579509139061,
-0.06326721608638763,
-0.04909887537360191,
-0.04368853196501732,
-0.061948444694280624,
0.021489212289452553,
0.03756807744503021,
-0.012536782771348953,
0.027795644477009773,
-0.014413495548069477,
-0.04392523318529129,
-0.047239068895578384,
-0.05410344526171684,
0.07107839733362198,
-0.004425492603331804,
-0.048287324607372284,
0.022030245512723923,
0.005904883611947298,
0.028201419860124588,
0.056166138499975204,
0.04683329537510872,
-0.05207456648349762,
-0.05342715233564377,
-0.09380184859037399,
0.038278188556432724,
-0.03763571009039879,
-0.07053736597299576,
0.00021120949531905353,
-0.031396906822919846,
0.019595591351389885,
-0.06762930750846863,
0.0414905771613121,
0.032242272049188614,
-0.0039457473903894424,
-0.00826345570385456,
-0.018192283809185028,
-0.009375112131237984,
-0.015427934937179089,
-0.015630822628736496,
-0.04991042613983154,
0.00585416192188859,
0.004624153953045607,
-0.08027598261833191,
-0.015867525711655617,
-0.07899102568626404,
-0.03915736824274063,
-0.06204988807439804,
0.023856237530708313,
0.06042678281664848,
0.0244141798466444,
-0.011446259915828705,
0.02970617264509201,
0.01627330109477043,
0.05816120281815529,
0.05870223790407181,
0.025445526465773582,
-0.00020869981381110847,
0.05386674031615257,
-0.024600159376859665,
-0.02686574123799801,
-0.012114099226891994,
0.019341981038451195,
-0.06617527455091476,
0.02473541907966137,
-0.04443245381116867,
-0.016400106251239777,
-0.07824710756540298,
-0.03185340389609337,
-0.052717044949531555,
0.010507903061807156,
0.0307882409542799,
-0.0003082945186179131,
-0.044094305485486984,
0.016197219491004944,
-0.02818451263010502,
-0.03435568884015083,
0.03340887650847435,
0.006796745117753744,
-0.03293547034263611,
-0.026696668937802315,
0.02630780078470707,
-0.002021482214331627,
-0.042741719633340836,
-0.020322605967521667,
-0.06570187211036682,
0.003975335042923689,
0.0005764341331087053,
-0.051398273557424545,
-0.0015417367685586214,
-0.05234508216381073,
-0.005934471730142832,
-0.036959417164325714,
-0.011742138303816319,
0.02602037601172924,
-0.01915600150823593,
0.05488118156790733,
-0.025039751082658768,
-0.03594497591257095,
-0.023720979690551758,
0.04291079565882683,
0.0515335313975811,
0.05288611724972725,
0.010321922600269318,
-0.011674508452415466,
0.011775952763855457,
-0.019341981038451195,
-0.007130664773285389,
-0.03679034113883972,
-0.013382148928940296,
-0.007828092202544212,
0.03237752988934517,
-0.009096141904592514,
-0.09217874705791473,
-0.01537721324712038,
0.03472764790058136,
-0.05001187324523926,
-0.040374696254730225,
-0.03104185126721859,
-0.03530249744653702,
0.031447626650333405,
-0.026392336934804916,
-0.023078501224517822,
0.01976466365158558,
-0.028201419860124588,
0.018057024106383324,
0.07351305335760117,
0.015952061861753464,
0.009933054447174072,
0.06434928625822067,
0.044804416596889496,
0.016915779560804367,
-0.026088004931807518,
-0.024126755073666573,
-0.04622463136911392,
0.018310634419322014,
-0.037737153470516205,
0.06478887796401978,
0.0026650172658264637,
0.022977055981755257,
0.06275999546051025,
-0.027778737246990204,
0.07195758074522018,
-0.0005584701430052519,
0.01143780630081892,
-0.010541718453168869,
-0.008601602166891098,
-0.047239068895578384,
0.05339333787560463,
-0.10759822279214859,
-0.021472305059432983,
-0.0040239435620605946,
-0.017532898113131523,
0.019933737814426422,
0.08291352540254593,
-0.052446525543928146,
-0.031971752643585205,
-0.060866374522447586,
0.011775952763855457,
-0.044060491025447845,
0.006982725579291582,
0.0379062257707119,
-0.03689178451895714,
-0.002181045012548566,
-0.0020193688105791807,
0.04108480364084244,
-0.028319772332906723,
-0.006437464617192745,
-0.032005567103624344,
-0.03743281960487366,
0.028539566323161125,
-0.0011676622088998556,
-0.01552937924861908,
-0.02153993397951126,
0.02892843633890152,
-0.0231461301445961,
-0.015081334859132767,
-0.035370126366615295,
-0.004712917376309633,
0.031160201877355576,
0.043248940259218216,
0.02206406183540821,
0.01011903490871191,
-0.024076033383607864,
0.023078501224517822,
-0.020339513197541237,
-0.0584317184984684,
-0.014159886166453362,
0.0030538858845829964,
-0.0029778028838336468,
-0.02760966308414936,
0.0014910148456692696,
-0.05427251756191254,
0.052750859409570694,
-0.043282754719257355,
-0.01027120091021061,
-0.06583712995052338,
-0.06397732347249985,
-0.006183854769915342,
0.08176383376121521,
-0.04365471750497818,
0.011961933225393295,
-0.013965451158583164,
0.055151697248220444,
-0.009544185362756252,
0.01995064504444599,
-0.03347650542855263,
0.010423366911709309,
-0.004114820621907711,
0.029351118952035904,
-0.02943565510213375,
-0.011311001144349575,
-0.020457865670323372,
0.007240562699735165,
-0.00830149743705988,
-0.032005567103624344,
-0.03743281960487366,
-0.02733914740383625,
-0.02076219767332077,
-0.055625103414058685,
0.018006302416324615,
0.059615232050418854,
-0.0023691391106694937,
0.045615967363119125,
0.00671220850199461,
0.08108753710985184,
-0.013399056158959866,
-0.06959055364131927,
0.002229653764516115,
-0.03662126883864403,
-0.04842258244752884,
0.07114602625370026,
0.026781205087900162,
-0.01864878088235855,
-0.011539250612258911,
0.013754109852015972,
-0.02023806981742382,
0.046157002449035645,
0.00029984087450429797,
-0.05978430435061455,
0.008356446400284767,
-0.022283855825662613,
-0.09921219199895859,
0.014498032629489899,
0.008555106818675995,
0.013754109852015972,
0.0004847647505812347,
-0.07229572534561157,
0.03888684883713722,
0.03286784142255783,
-0.017515990883111954,
-0.007063035387545824,
0.015216593630611897,
0.04236976057291031,
-0.007730875164270401,
0.0500456877052784,
-0.04257264733314514,
-0.03560682758688927,
-0.024329641833901405,
-0.040137991309165955,
0.011775952763855457,
-0.0898793488740921,
-0.08534818142652512,
0.05586180463433266,
-0.037229932844638824,
-0.002603728324174881,
-0.004780546762049198,
0.02209787629544735,
0.024836862459778786,
-0.005482200533151627,
-0.033256709575653076,
0.011446259915828705,
-0.05183786153793335,
-0.0022846024949103594,
-0.034626204520463943,
0.02495521306991577,
-0.009434288367629051,
0.023619534447789192,
0.015225047245621681,
-0.011234918609261513,
-0.041963983327150345,
0.06333484500646591,
-0.013796377927064896,
-0.03132927417755127,
0.0009579057223163545,
0.0028404309414327145,
0.05207456648349762,
0.032732583582401276,
-0.005913337226957083,
0.04950465261936188,
0.022537466138601303,
0.015664637088775635,
-0.06198225915431976,
0.025918930768966675,
0.037703339010477066,
0.0021218694746494293,
0.0007122211391106248,
0.02706862986087799,
0.04311368241906166,
-0.011767499148845673,
-0.013703388161957264,
-0.013077816925942898,
-0.046157002449035645,
-0.020322605967521667,
0.026933370158076286,
0.018107745796442032,
0.08933831006288528,
-0.038278188556432724,
0.010152849368751049,
0.02574985846877098,
-0.02916513755917549,
0.004645287990570068,
0.005820346996188164,
0.03888684883713722,
0.006188081577420235,
0.020829826593399048,
0.01706794649362564,
0.0023141903802752495,
0.015039066784083843,
0.002808729652315378,
0.03479527682065964,
0.09163770824670792,
-0.048253510147333145,
-0.009476556442677975,
0.005545603111386299,
0.056639544665813446,
-0.011775952763855457,
-0.08446900546550751,
-0.0065093208104372025,
-0.027406776323914528,
0.019088370725512505,
-0.01946033351123333,
0.03743281960487366,
0.033814653754234314,
0.018513523042201996
] |
710,330
|
js2py.evaljs
|
__setitem__
| null |
def __setitem__(self, var, val):
return setattr(self._var, var, val)
|
(self, var, val)
|
[
0.0440247468650341,
0.01615625061094761,
-0.010524406097829342,
-0.026664044708013535,
0.0024068246129900217,
0.03164798021316528,
-0.015126238577067852,
0.04827770218253136,
0.019287822768092155,
-0.026896627619862556,
-0.04156600683927536,
0.020052026957273483,
0.04096793383359909,
0.023657072335481644,
-0.027710670605301857,
0.01995234750211239,
-0.001466107089072466,
0.043825387954711914,
0.00035744148772209883,
0.04498830810189247,
-0.014046385884284973,
0.01389686856418848,
0.041233744472265244,
-0.0263650082051754,
0.015857215970754623,
-0.008946160785853863,
0.04159923270344734,
0.007654491346329451,
0.05372680351138115,
0.006312982644885778,
-0.012758869677782059,
-0.06249852851033211,
-0.01918814517557621,
-0.001877281698398292,
0.07675258070230484,
-0.046217676252126694,
-0.05990688130259514,
0.02935536950826645,
-0.004680744372308254,
-0.006989967077970505,
0.04515443742275238,
-0.02995344065129757,
-0.000006294812010310125,
-0.0367814302444458,
0.037844669073820114,
0.030883776023983955,
0.03138216957449913,
0.06851247698068619,
0.07661966979503632,
-0.030701031908392906,
-0.005635998211801052,
0.0033745383843779564,
0.021713336929678917,
-0.035452380776405334,
-0.03638271614909172,
0.053427767008543015,
0.03811047971248627,
0.06681793928146362,
-0.015948588028550148,
0.04458959400653839,
0.0028346122708171606,
-0.006927667651325464,
-0.02540144883096218,
-0.06472468376159668,
0.01447832677513361,
-0.003272783011198044,
-0.05459068715572357,
0.03751240670681,
0.019653310999274254,
0.0014401491498574615,
0.009452860802412033,
-0.015558179467916489,
0.0030796555802226067,
-0.03418978303670883,
0.021713336929678917,
0.04754672572016716,
-0.0728318840265274,
-0.020450741052627563,
0.007870461791753769,
-0.008501759730279446,
0.0112803028896451,
0.0233746487647295,
-0.003191794268786907,
0.05316196009516716,
-0.022411087527871132,
0.016721097752451897,
-0.034289464354515076,
0.0018606685334816575,
0.02280980348587036,
0.0024670471902936697,
0.028042932972311974,
0.04322731867432594,
0.022710124030709267,
0.05153387412428856,
-0.05930881202220917,
-0.058611057698726654,
0.08127134293317795,
-0.09509345144033432,
-0.004481386858969927,
0.026846788823604584,
0.0075880391523242,
-0.01640544831752777,
0.012351849116384983,
-0.01837410219013691,
-0.02578354999423027,
0.0005445985589176416,
0.020052026957273483,
-0.01795877330005169,
-0.00949439313262701,
-0.002782696159556508,
0.03781144320964813,
0.01519269123673439,
-0.05648458003997803,
0.0355188325047493,
-0.04797866940498352,
0.04973965883255005,
-0.04169891029596329,
-0.062232717871665955,
0.025467900559306145,
0.023524167016148567,
-0.027245502918958664,
0.01579076237976551,
-0.021048812195658684,
0.042263757437467575,
0.028042932972311974,
0.008854788728058338,
0.01000109314918518,
0.046749297529459,
0.03304348140954971,
-0.044822175055742264,
-0.02056703343987465,
-0.028923427686095238,
0.0005292833666317165,
0.03134894371032715,
0.0443902350962162,
-0.007874615490436554,
-0.023723524063825607,
0.005353575572371483,
-0.018722977489233017,
-0.030252477154135704,
-0.011388287879526615,
0.0012636348837986588,
-0.010906508192420006,
0.015940280631184578,
0.019321048632264137,
-0.008173651061952114,
0.00949439313262701,
0.07070540636777878,
-0.06010624021291733,
-0.00014432640455197543,
-0.031232651323080063,
-0.010158917866647243,
0.014320502988994122,
0.044290557503700256,
-0.04877609759569168,
0.05738168954849243,
-0.08193586766719818,
-0.0042363437823951244,
0.02857455238699913,
-0.016679564490914345,
0.016081493347883224,
-0.01595689356327057,
-0.021879468113183975,
0.013955013826489449,
0.03502044081687927,
0.05977397784590721,
0.027893414720892906,
0.008555753156542778,
-0.02757776528596878,
0.04661639407277107,
-0.007172711193561554,
-0.05492294952273369,
-0.007446827366948128,
0.0579797625541687,
0.01677924394607544,
0.008630511350929737,
-0.023241743445396423,
-0.003980916924774647,
0.007230856921523809,
0.03671497851610184,
-0.003040199400857091,
0.003964303992688656,
-0.03894113376736641,
0.011072639375925064,
-0.014594619162380695,
-0.01447832677513361,
0.019703151658177376,
0.03317638486623764,
0.04917481169104576,
0.07927776873111725,
0.028242290019989014,
-0.014411875046789646,
-0.01819135807454586,
-0.04322731867432594,
-0.007297309581190348,
-0.008057359606027603,
-0.01409622561186552,
-0.02839180827140808,
-0.011928214691579342,
0.06708374619483948,
0.0002018233499256894,
-0.001188875874504447,
0.03257831186056137,
0.03595077618956566,
0.009660524316132069,
-0.00197799876332283,
0.03581786900758743,
-0.031249264255166054,
-0.06937635689973831,
-0.019852668046951294,
-0.025235317647457123,
0.01578245684504509,
0.056251998990774155,
0.016239317134022713,
0.05528843775391579,
-0.07176864147186279,
-0.011662404984235764,
0.008410387672483921,
0.031232651323080063,
0.03830983489751816,
0.05412551760673523,
-0.01717795804142952,
0.005104378797113895,
-0.00649157352745533,
-0.0009677137713879347,
-0.04056921973824501,
-0.02458740584552288,
-0.052065491676330566,
-0.04120051860809326,
0.020317835733294487,
0.05299582704901695,
0.06671825796365738,
0.04269569739699364,
-0.028092771768569946,
0.04409119859337807,
-0.00734299561008811,
0.018058452755212784,
-0.013697510585188866,
-0.009610685519874096,
0.04877609759569168,
0.004340175539255142,
0.0668511614203453,
0.045818962156772614,
0.061003345996141434,
-0.012218943797051907,
0.06698406487703323,
-0.01898878626525402,
0.07867969572544098,
-0.025451287627220154,
0.012833628803491592,
0.030917001888155937,
0.006749076768755913,
-0.06675148755311966,
0.034256238490343094,
0.01478566974401474,
0.07515771687030792,
-0.03390736132860184,
0.043426673859357834,
-0.03183072432875633,
-0.03897435963153839,
-0.048078346997499466,
-0.0029218310955911875,
0.02659759297966957,
0.009751896373927593,
-0.024670472368597984,
0.012567819096148014,
0.051035478711128235,
0.03455527499318123,
-0.04043631628155708,
0.02480337582528591,
0.02016831748187542,
0.019819442182779312,
-0.0015751307364553213,
0.003864625236019492,
-0.01529236976057291,
0.008273329585790634,
-0.0029176778625696898,
0.007205937523394823,
0.004126281943172216,
-0.018889108672738075,
0.02378997579216957,
-0.013631058856844902,
-0.0035448228009045124,
-0.003989223390817642,
0.004402474500238895,
0.010175530798733234,
0.023241743445396423,
0.08093908429145813,
0.009461167268455029,
-0.01397993415594101,
0.014312196522951126,
0.008530832827091217,
-0.004979780409485102,
0.04927448928356171,
0.017692964524030685,
0.03317638486623764,
-0.11562725901603699,
0.08572366088628769,
0.05100225284695625,
0.0666850283741951,
-0.03196362778544426,
0.002720397198572755,
-0.10639037191867828,
0.05156709998846054,
0.018124904483556747,
-0.011022799648344517,
0.028524713590741158,
0.018855882808566093,
-0.010217064060270786,
0.024919668212532997,
0.05857783183455467,
0.01637222245335579,
-0.05980720371007919,
0.05591973662376404,
0.10466260462999344,
0.012667497619986534,
-0.026630818843841553,
-0.026115812361240387,
-0.045254118740558624,
0.05751459300518036,
-0.030252477154135704,
-0.0974857434630394,
-0.05329486355185509,
-0.019138304516673088,
0.040236957371234894,
0.029438434168696404,
0.003295626025646925,
0.024238530546426773,
0.025916455313563347,
0.009868188761174679,
-0.06715019792318344,
-0.003723413683474064,
-0.020267996937036514,
0.009652217850089073,
0.0005069595063105226,
-0.024504341185092926,
-0.031614750623703,
-0.012061119079589844,
0.021929308772087097,
-0.0241886917501688,
-0.04030340909957886,
0.03874177858233452,
-0.07947713136672974,
-0.014187597669661045,
0.049473848193883896,
-0.002743240213021636,
-0.027710670605301857,
0.03558528795838356,
0.02699630707502365,
-0.018340876325964928,
0.013165891170501709,
-0.02299254760146141,
0.010325049050152302,
-0.0022490001283586025,
-0.0011546112364158034,
-0.04043631628155708,
0.028840363025665283,
-0.03095022775232792,
-0.019819442182779312,
-0.05977397784590721,
0.011463047005236149,
0.023324809968471527,
0.027727283537387848,
0.02058364637196064,
0.0009453899110667408,
-0.011620871722698212,
-0.0427621491253376,
-0.028092771768569946,
0.03078409656882286,
-0.06449209898710251,
0.014254050329327583,
-0.030451834201812744,
0.001268826425075531,
0.028325356543064117,
-0.0011951057240366936,
-0.0022635364439338446,
-0.016422061249613762,
-0.020816229283809662,
-0.018324263393878937,
-0.06336241215467453,
0.03910726681351662,
0.0001591224572621286,
0.040037598460912704,
0.060637857764959335,
0.02977069653570652,
0.011155704967677593,
0.02177979052066803,
0.013963320292532444,
0.04355958104133606,
0.06289724260568619,
-0.020616872236132622,
0.04448991268873215,
-0.034455593675374985,
0.024836601689457893,
-0.017726190388202667,
-0.03890790790319443,
-0.01249305997043848,
-0.06286401301622391,
0.002876145066693425,
0.0030318929348140955,
0.0303521566092968,
-0.02736179530620575,
-0.010939734056591988,
0.09090694785118103,
0.04080180451273918,
-0.023058999329805374,
0.0017526833107694983,
0.0454866997897625,
-0.0011452664621174335,
-0.015558179467916489,
-0.014960107393562794,
0.0007766630151309073,
-0.0183907151222229,
-0.1161588802933693,
0.04535379633307457,
-0.012891774997115135,
0.007596345618367195,
-0.027826962992548943,
0.04169891029596329,
0.029455047100782394,
-0.04880932345986366,
-0.010707151144742966,
-0.0013020526384934783,
0.0454866997897625,
-0.04900868237018585,
-0.004211423918604851,
0.0026934007182717323,
-0.014860428869724274,
-0.01719457097351551,
0.022128665819764137,
0.008580672554671764,
0.00312326499260962,
0.05675039067864418,
0.007064725738018751,
0.034422367811203,
-0.06229916960000992,
-0.025899842381477356,
-0.04033663496375084,
-0.048244476318359375,
0.028707457706332207,
0.03870855271816254,
0.0011400748044252396,
0.01448663417249918,
-0.005735676735639572,
-0.03777821734547615,
-0.04030340909957886,
-0.06216626614332199,
0.029239077121019363,
-0.014345422387123108,
-0.058212343603372574,
0.02161365933716297,
0.04116729274392128,
0.03438914194703102,
0.06156819313764572,
0.06316304951906204,
-0.051832910627126694,
-0.08658754080533981,
-0.09562507271766663,
0.040635671466588974,
-0.04718123748898506,
-0.042031172662973404,
0.010765296407043934,
-0.02280980348587036,
-0.0017952544149011374,
-0.05133451521396637,
0.017859095707535744,
0.02679695002734661,
-0.003125341609120369,
0.009029226377606392,
0.0031814109534025192,
-0.03317638486623764,
-0.026431461796164513,
-0.027893414720892906,
-0.054657138884067535,
-0.02339126169681549,
-0.000770952261518687,
-0.05053708702325821,
0.002019531326368451,
-0.06944280862808228,
-0.03634949028491974,
-0.04542024806141853,
0.012916694395244122,
0.026929855346679688,
0.028059545904397964,
-0.017925547435879707,
0.03171443194150925,
0.015508339740335941,
0.05153387412428856,
0.049839336425065994,
0.041100841015577316,
0.0013363171601668,
0.010923121124505997,
-0.035851094871759415,
-0.021015586331486702,
-0.0005274662980809808,
0.011662404984235764,
-0.05688329413533211,
0.0172111839056015,
-0.03400703892111778,
-0.026115812361240387,
-0.04648348689079285,
-0.01775941625237465,
-0.030651191249489784,
-0.001969692064449191,
0.02458740584552288,
-0.014345422387123108,
-0.018025226891040802,
0.01898878626525402,
-0.04993901401758194,
-0.05917590484023094,
0.028524713590741158,
-0.004012066405266523,
-0.021846242249011993,
-0.05076967179775238,
0.03531947731971741,
-0.005552932620048523,
-0.05638490244746208,
-0.01389686856418848,
-0.05518876016139984,
-0.0021025969181209803,
0.015408661216497421,
-0.06582114845514297,
0.007372068706899881,
-0.04395829513669014,
-0.0024815835058689117,
-0.04183181747794151,
-0.02797648124396801,
0.0043152556754648685,
-0.005336962174624205,
0.05113516002893448,
-0.03015279769897461,
-0.006707543972879648,
-0.012858549132943153,
0.05156709998846054,
0.062232717871665955,
0.05698297545313835,
0.06429274380207062,
-0.016513433307409286,
-0.017327476292848587,
-0.012717337347567081,
-0.022477541118860245,
-0.017128119245171547,
0.02576693706214428,
-0.07117057591676712,
0.024437887594103813,
0.014852122403681278,
-0.07190155237913132,
-0.02079961635172367,
0.03937307745218277,
-0.047048334032297134,
-0.04279537498950958,
-0.03850919380784035,
-0.017476994544267654,
0.034056879580020905,
-0.026713883504271507,
-0.034455593675374985,
0.004564452450722456,
-0.03438914194703102,
0.03018602542579174,
0.05439132824540138,
0.0051542180590331554,
0.009469473734498024,
0.0735628604888916,
0.0634288638830185,
0.019836055114865303,
0.008912934921681881,
-0.05369357764720917,
-0.0463838092982769,
0.023906268179416656,
-0.031249264255166054,
0.06356176733970642,
-0.016920454800128937,
0.03651561960577965,
0.03221282362937927,
-0.026896627619862556,
0.03904081508517265,
0.003025663085281849,
0.0026082585100084543,
-0.014993333257734776,
-0.008746803738176823,
-0.05794653668999672,
0.08432815968990326,
-0.06356176733970642,
-0.016679564490914345,
0.029039720073342323,
-0.007172711193561554,
0.034256238490343094,
0.07781581580638885,
-0.05053708702325821,
-0.014121145009994507,
-0.0411340668797493,
0.016488512977957726,
-0.032694604247808456,
0.006018099840730429,
0.035651739686727524,
-0.02699630707502365,
-0.015716003254055977,
-0.005449100863188505,
-0.00947778020054102,
-0.01815813221037388,
-0.005453254096210003,
-0.03698078915476799,
-0.03261153772473335,
0.008730190806090832,
-0.00791199505329132,
-0.03114958480000496,
-0.020467353984713554,
0.03455527499318123,
-0.003490830073133111,
-0.02757776528596878,
-0.031681206077337265,
-0.011654098518192768,
0.013415087945759296,
0.03940630331635475,
0.01618947833776474,
-0.009793429635465145,
-0.01280040293931961,
0.02438804879784584,
-0.02556758001446724,
-0.06316304951906204,
-0.029288915917277336,
0.01815813221037388,
-0.015641244128346443,
-0.027694057673215866,
0.005532166454941034,
-0.09110630303621292,
0.034256238490343094,
-0.031232651323080063,
-0.013116052374243736,
-0.07010733336210251,
-0.058046214282512665,
-0.0013425471261143684,
0.08612237125635147,
-0.03134894371032715,
0.017427153885364532,
-0.003198024118319154,
0.031681206077337265,
-0.002932214178144932,
0.031033294275403023,
-0.01697029359638691,
0.03096684068441391,
-0.017128119245171547,
0.06326273083686829,
-0.031897176057100296,
-0.010516099631786346,
-0.011031106114387512,
0.008630511350929737,
0.002502349903807044,
-0.028624393045902252,
-0.025501126423478127,
-0.03156491369009018,
-0.034256238490343094,
-0.051068708300590515,
0.018257809802889824,
0.04598509520292282,
0.01760989800095558,
0.06851247698068619,
-0.016737710684537888,
0.03498721495270729,
-0.014893654733896255,
-0.06575469672679901,
0.006092858966439962,
-0.06788117438554764,
-0.05532166361808777,
0.07841388881206512,
0.004693204071372747,
-0.014926881529390812,
0.008647125214338303,
0.007720944005995989,
-0.012285396456718445,
0.05319518595933914,
-0.041067611426115036,
-0.07974293828010559,
0.01178700290620327,
0.0029488273430615664,
-0.11728857457637787,
-0.006400201469659805,
0.027062758803367615,
0.02201237343251705,
0.010507793165743351,
-0.045686058700084686,
0.01759328506886959,
0.0230091605335474,
0.005710757337510586,
0.000384178216336295,
0.05572037771344185,
0.025700485333800316,
0.0003063042531721294,
0.025850001722574234,
-0.048244476318359375,
-0.00909567903727293,
-0.003245786763727665,
-0.027112599462270737,
-0.012019586749374866,
-0.08412879705429077,
-0.05572037771344185,
0.046084772795438766,
-0.040668897330760956,
0.005270509980618954,
-0.017327476292848587,
0.005357728805392981,
0.03058473952114582,
-0.004306949209421873,
-0.02638162113726139,
0.021015586331486702,
-0.037844669073820114,
-0.013680897653102875,
-0.03578464314341545,
-0.0024670471902936697,
-0.0035053666215389967,
0.022095439955592155,
0.023058999329805374,
-0.025119025260210037,
-0.032844122499227524,
0.035053666681051254,
-0.030717644840478897,
-0.026032745838165283,
-0.026531139388680458,
-0.004655824508517981,
0.05817911773920059,
0.03615013137459755,
0.004763809964060783,
0.033641550689935684,
0.011114171706140041,
0.018324263393878937,
-0.06495726853609085,
0.03291057422757149,
0.012351849116384983,
-0.0017225720221176744,
0.017676351591944695,
0.006765689700841904,
0.033641550689935684,
0.02938859537243843,
-0.01700351946055889,
-0.005220670253038406,
-0.033475421369075775,
-0.02496950700879097,
0.020915908738970757,
-0.0033122391905635595,
0.07489190995693207,
-0.012958227656781673,
0.005465713795274496,
0.01547511387616396,
-0.02496950700879097,
-0.04973965883255005,
-0.017310863360762596,
0.027245502918958664,
0.01736070215702057,
0.00151179323438555,
0.018689751625061035,
-0.00214724475517869,
0.030485060065984726,
-0.0131825041025877,
0.06402693688869476,
0.10233677178621292,
-0.059043001383543015,
0.02016831748187542,
-0.008123812265694141,
0.05771395191550255,
-0.00519575085490942,
-0.08246748894453049,
-0.000948504894040525,
-0.009469473734498024,
0.010582552291452885,
-0.04455636814236641,
0.022244956344366074,
0.010889895260334015,
0.004103438463062048
] |
710,331
|
js2py.evaljs
|
console
|
starts to interact (starts interactive console) Something like code.InteractiveConsole
|
def console(self):
"""starts to interact (starts interactive console) Something like code.InteractiveConsole"""
while True:
if six.PY2:
code = raw_input('>>> ')
else:
code = input('>>>')
try:
print(self.eval(code))
except KeyboardInterrupt:
break
except Exception as e:
import traceback
if DEBUG:
sys.stderr.write(traceback.format_exc())
else:
sys.stderr.write('EXCEPTION: ' + str(e) + '\n')
time.sleep(0.01)
|
(self)
|
[
0.03627678379416466,
-0.045453522354364395,
0.004664542153477669,
-0.02100612223148346,
0.049790963530540466,
-0.0024935808032751083,
-0.028928225859999657,
0.015790438279509544,
-0.006255235988646746,
0.015369240194559097,
0.00973235908895731,
0.03584662452340126,
-0.0071782865561544895,
0.02826506458222866,
-0.06538424640893936,
-0.05348316580057144,
0.02543318085372448,
0.00443601980805397,
-0.07836072146892548,
-0.02688496932387352,
0.014732963405549526,
0.01657010242342949,
0.05839415267109871,
-0.0030133568216115236,
0.0008563982555642724,
0.07836072146892548,
-0.026275577023625374,
-0.006533047650009394,
0.0013621717225760221,
-0.03717295080423355,
-0.021454205736517906,
-0.04043499380350113,
-0.027763212099671364,
-0.004209738224744797,
-0.013980183750391006,
-0.0297885462641716,
-0.018532704561948776,
-0.02525394782423973,
-0.014553729444742203,
-0.01120206993073225,
0.016130981966853142,
-0.003835588926449418,
0.005323223769664764,
0.029465926811099052,
-0.08173030614852905,
-0.02086273580789566,
0.04814201593399048,
0.010718140751123428,
0.010180441662669182,
-0.042585790157318115,
0.02414270117878914,
0.004794486332684755,
0.0296451598405838,
0.005878846626728773,
-0.015512626618146896,
0.0031052138656377792,
-0.005359070375561714,
-0.04964757710695267,
-0.019106252118945122,
-0.06495408713817596,
-0.045310135930776596,
0.00976820569485426,
-0.020611809566617012,
0.08223215490579605,
0.011363380588591099,
-0.012420855462551117,
-0.0030581653118133545,
0.01275243703275919,
0.00521120335906744,
-0.012698667123913765,
-0.04936080425977707,
0.02089858241379261,
-0.04968342185020447,
-0.0032194750383496284,
-0.011372341774404049,
-0.00984886009246111,
-0.07592315226793289,
0.025845415890216827,
0.012402932159602642,
0.020038263872265816,
-0.013191558420658112,
0.03767480328679085,
0.018855324015021324,
0.06592194736003876,
-0.010189402848482132,
0.021507974714040756,
-0.014741924591362476,
0.02559448964893818,
-0.03122241050004959,
-0.003279966302216053,
-0.039825599640607834,
0.025791646912693977,
-0.05179837346076965,
0.09649911522865295,
0.00980405230075121,
0.03274589031934738,
0.02543318085372448,
-0.012367085553705692,
-0.024483244866132736,
0.04889479652047157,
-0.008518054150044918,
0.06828781962394714,
0.045632753521203995,
-0.03853512182831764,
-0.015494703315198421,
-0.005999828688800335,
0.002766911406069994,
0.058824311941862106,
-0.003129858523607254,
0.00447858776897192,
-0.016812067478895187,
0.03326566889882088,
-0.017322881147265434,
-0.04143869876861572,
0.00003745692447409965,
0.018478935584425926,
-0.01815631613135338,
0.04785524308681488,
0.033534519374370575,
0.0014820338692516088,
-0.057677220553159714,
0.005157432984560728,
0.016731413081288338,
0.025952955707907677,
0.028784839436411858,
0.02848014421761036,
-0.012420855462551117,
0.00048504964797757566,
0.04337441548705101,
-0.00674364622682333,
-0.0012154246214777231,
-0.05029281601309776,
0.01817423850297928,
0.031921420246362686,
0.03450237587094307,
0.04767601191997528,
-0.013702372089028358,
-0.017349766567349434,
-0.013935375958681107,
0.026580272242426872,
-0.01951848715543747,
-0.020181650295853615,
0.011004913598299026,
-0.022905994206666946,
-0.05774891376495361,
0.0006984490901231766,
0.039467133581638336,
0.005636882036924362,
0.06538424640893936,
-0.024985097348690033,
0.01417734008282423,
0.018299702554941177,
-0.01950056478381157,
0.028874456882476807,
0.018873248249292374,
0.03735218197107315,
-0.030989406630396843,
-0.02695666253566742,
0.04642137885093689,
-0.00890788622200489,
-0.05559811741113663,
-0.000735415902454406,
0.033552441745996475,
-0.01928548514842987,
0.00892132893204689,
0.0446290485560894,
-0.029376309365034103,
0.03154503181576729,
0.02697458490729332,
0.04090099781751633,
-0.012779321521520615,
-0.018676090985536575,
-0.015638090670108795,
-0.02695666253566742,
0.021292895078659058,
0.01946471817791462,
-0.01966187357902527,
0.03161672502756119,
-0.009176735766232014,
-0.013800950720906258,
-0.01657010242342949,
-0.046887386590242386,
-0.06671056896448135,
0.04201224446296692,
0.018676090985536575,
0.007379923947155476,
0.03835589066147804,
0.013639640994369984,
0.03251288831233978,
0.02701043151319027,
-0.022135291248559952,
0.04172547161579132,
0.014499959535896778,
0.0002766911347862333,
-0.004308316390961409,
-0.01490323431789875,
-0.03306851163506508,
-0.005063335876911879,
0.0005993107915855944,
-0.04004067927598953,
0.002636967459693551,
0.09205413609743118,
0.03631263226270676,
-0.02261922135949135,
0.042442403733730316,
0.02677742950618267,
-0.003255321644246578,
-0.01347833126783371,
0.042621638625860214,
-0.05692443996667862,
-0.05215683951973915,
-0.04785524308681488,
0.015745630487799644,
-0.025074714794754982,
0.03409013897180557,
0.04764016345143318,
0.0600072517991066,
-0.04183301329612732,
-0.009131927974522114,
0.008867559023201466,
0.12940631806850433,
0.00825816672295332,
-0.03005739487707615,
-0.04889479652047157,
0.0011258081067353487,
-0.004933391697704792,
0.004512194078415632,
-0.0074471365660429,
-0.034914612770080566,
-0.04939664900302887,
0.012331238947808743,
-0.04936080425977707,
-0.06273159384727478,
-0.01653425581753254,
-0.022009827196598053,
0.009463508613407612,
0.005914693232625723,
0.014123570173978806,
-0.03265627473592758,
0.007863853126764297,
0.002379319630563259,
0.04581198841333389,
0.06183542683720589,
-0.023031456395983696,
-0.09700097143650055,
0.06875382363796234,
0.03167049214243889,
0.022135291248559952,
-0.04168962687253952,
0.00047300741425715387,
0.021167432889342308,
-0.057641372084617615,
-0.011874194256961346,
-0.006138734519481659,
-0.01928548514842987,
0.03781818971037865,
0.019751491025090218,
0.03557777404785156,
0.04226317256689072,
0.03195726498961449,
-0.053053006529808044,
0.00746954046189785,
-0.048679716885089874,
0.05477364361286163,
0.07029522955417633,
-0.0036294707097113132,
-0.059111084789037704,
0.060580797493457794,
0.07137063145637512,
-0.054666101932525635,
0.10316658765077591,
0.05850169062614441,
-0.012626973912119865,
0.010960105806589127,
-0.034878768026828766,
-0.013729257509112358,
-0.012322277761995792,
0.00389832048676908,
-0.0902618020772934,
-0.07212340831756592,
0.057247061282396317,
0.011632230132818222,
-0.007590522989630699,
0.00017517237574793398,
-0.02416062541306019,
-0.07305542379617691,
-0.0012837572721764445,
-0.002679535187780857,
0.042334865778684616,
-0.0225833747535944,
0.05498872324824333,
0.08130014687776566,
0.04663645848631859,
-0.0034188719000667334,
0.030648864805698395,
0.018819477409124374,
-0.045776139944791794,
-0.0002999354328494519,
-0.02086273580789566,
-0.002554072067141533,
0.011031799018383026,
-0.03710125759243965,
-0.04620629921555519,
0.028856532648205757,
-0.010144595056772232,
-0.04025575891137123,
0.004070832394063473,
0.014356573112308979,
-0.02229660004377365,
-0.04021991416811943,
-0.0013319262070581317,
0.055920735001564026,
0.00889444351196289,
-0.02068350277841091,
-0.04975511506199837,
0.02105989307165146,
0.031168639659881592,
-0.004548040684312582,
-0.012779321521520615,
0.04921741783618927,
-0.04670815169811249,
0.005878846626728773,
0.034896690398454666,
0.062050506472587585,
-0.014347611926496029,
0.0008048687595874071,
0.0453459806740284,
0.009857822209596634,
0.02082688920199871,
-0.0021149509120732546,
-0.0017071955371648073,
0.014150455594062805,
0.029232922941446304,
-0.003391986945644021,
0.021633438766002655,
0.009526240639388561,
-0.039825599640607834,
-0.03910866752266884,
-0.005807153414934874,
-0.05036450922489166,
0.011013875715434551,
-0.006084964610636234,
0.025899186730384827,
-0.01424903329461813,
0.044019654393196106,
-0.005399398040026426,
0.02684912271797657,
0.04186885803937912,
0.021633438766002655,
-0.050328660756349564,
-0.0033135723788291216,
0.007944508455693722,
-0.013774065300822258,
-0.012734513729810715,
-0.025809569284319878,
-0.053053006529808044,
0.018425164744257927,
-0.022995609790086746,
-0.043840423226356506,
-0.05430763587355614,
0.0010496339527890086,
0.025845415890216827,
0.006326929200440645,
-0.007626369595527649,
-0.06714072823524475,
-0.03839173540472984,
-0.0010317106498405337,
-0.011470920406281948,
0.07671178132295609,
0.08531496673822403,
0.0055248611606657505,
0.016928568482398987,
-0.002480138326063752,
0.024913404136896133,
-0.0595770925283432,
-0.006102887913584709,
0.02242206409573555,
-0.0033987080678343773,
0.0594695508480072,
0.015190007165074348,
0.0736289694905281,
-0.020271265879273415,
0.024985097348690033,
-0.01347833126783371,
-0.01775304041802883,
-0.004155968315899372,
-0.01770823262631893,
0.03125825896859169,
0.019984493032097816,
-0.018263855949044228,
-0.05556226894259453,
0.023121073842048645,
-0.003633951535448432,
-0.014042915776371956,
-0.02385592833161354,
-0.017215341329574585,
0.019052481278777122,
0.007285826373845339,
-0.057713065296411514,
0.03742387518286705,
-0.03383921459317207,
0.09872160851955414,
0.030630940571427345,
-0.010834642685949802,
0.04785524308681488,
-0.01813839189708233,
0.04079345986247063,
-0.05398501828312874,
0.022009827196598053,
-0.04079345986247063,
-0.02075519599020481,
-0.044915821403265,
-0.036635249853134155,
0.005569669418036938,
0.03989729285240173,
-0.03140164539217949,
-0.029358385130763054,
-0.053303930908441544,
-0.04036330059170723,
0.03566739335656166,
-0.011058683507144451,
-0.011632230132818222,
-0.020647656172513962,
0.036778636276721954,
0.004160448908805847,
0.0295734666287899,
-0.011614306829869747,
0.03781818971037865,
0.0591469332575798,
-0.021221201866865158,
-0.024304011836647987,
0.03828419744968414,
-0.019876953214406967,
-0.018281778320670128,
-0.015862131491303444,
-0.06086757034063339,
0.018532704561948776,
0.021633438766002655,
0.051547445356845856,
0.0071782865561544895,
-0.014571652747690678,
0.0004209177859593183,
0.020647656172513962,
-0.01919586770236492,
0.01046721450984478,
0.00970547366887331,
0.05212099477648735,
0.03771064803004265,
-0.015019736252725124,
0.007993797771632671,
0.025737876072525978,
0.03591831773519516,
0.032190270721912384,
-0.03434106707572937,
0.05563396215438843,
-0.0447007417678833,
-0.014777771197259426,
0.10022716224193573,
0.0008591988007538021,
0.012143044732511044,
-0.06352022290229797,
0.044234734028577805,
-0.01490323431789875,
-0.008078932762145996,
0.010485137812793255,
0.017188455909490585,
0.019912799820303917,
0.05376993864774704,
-0.046959079802036285,
0.008285051211714745,
0.01921379193663597,
0.021776825189590454,
-0.012367085553705692,
0.008459803648293018,
0.017403537407517433,
0.004241103772073984,
0.012806206941604614,
-0.054486870765686035,
-0.04136700555682182,
-0.02523602358996868,
-0.0750628337264061,
-0.02086273580789566,
-0.05050789564847946,
0.033624134957790375,
-0.0598280169069767,
-0.060437411069869995,
0.0600789450109005,
-0.03317605331540108,
0.03122241050004959,
-0.0452025942504406,
0.012322277761995792,
0.039718061685562134,
0.009338045492768288,
-0.00821783859282732,
0.01951848715543747,
-0.0004867299576289952,
-0.03493253514170647,
0.03557777404785156,
0.01644463837146759,
-0.0295734666287899,
-0.0447007417678833,
0.05133236572146416,
-0.041044384241104126,
0.015682898461818695,
0.04764016345143318,
0.05531134083867073,
-0.007612926885485649,
0.0452025942504406,
-0.015826284885406494,
0.02235037088394165,
0.002323309425264597,
-0.012277469038963318,
0.025737876072525978,
-0.09692927449941635,
0.026454810053110123,
-0.07018769532442093,
0.011614306829869747,
0.03688617795705795,
-0.02708212472498417,
-0.006869109347462654,
0.027691517025232315,
-0.008773461915552616,
-0.06742750108242035,
-0.04366118833422661,
0.03262042999267578,
0.039682213217020035,
0.03452029824256897,
0.01039552129805088,
0.014419305138289928,
0.036491863429546356,
0.05577734857797623,
0.02991400845348835,
0.01937510073184967,
-0.03627678379416466,
-0.03584662452340126,
0.03245911747217178,
-0.008096856065094471,
-0.004525636322796345,
0.03550608083605766,
-0.01616682857275009,
-0.03403637185692787,
0.02835468016564846,
-0.015691859647631645,
0.01631021499633789,
0.013944337144494057,
-0.03907282277941704,
-0.00977716688066721,
-0.0025428698863834143,
-0.04136700555682182,
0.030720558017492294,
-0.015207930468022823,
-0.012340201064944267,
0.022762607783079147,
0.023515386506915092,
-0.05868092551827431,
0.03401844576001167,
0.0447724349796772,
0.0076174079440534115,
0.004203016869723797,
0.004852736834436655,
-0.0014618701534345746,
0.02684912271797657,
-0.033749599009752274,
-0.030613018199801445,
0.015530549921095371,
-0.03247704356908798,
0.011488843709230423,
0.033642057329416275,
0.015709783881902695,
0.010745026171207428,
0.016157865524291992,
0.03774649649858475,
0.0755646824836731,
0.06914813816547394,
-0.02118535526096821,
0.07051031291484833,
0.010449291206896305,
0.018299702554941177,
-0.0013128826394677162,
-0.009096081368625164,
-0.06466731429100037,
-0.007841449230909348,
-0.03778234124183655,
-0.0447007417678833,
-0.03538062050938606,
-0.04036330059170723,
-0.04222732409834862,
-0.0593620128929615,
-0.01416837889701128,
-0.03774649649858475,
-0.007841449230909348,
-0.012743474915623665,
-0.024447398260235786,
-0.026454810053110123,
0.021436281502246857,
-0.011058683507144451,
0.01278828363865614,
0.02968100644648075,
0.01786954328417778,
-0.026436885818839073,
-0.10667955875396729,
0.0226012971252203,
-0.006528566591441631,
-0.013075056485831738,
0.06972168385982513,
-0.05075882002711296,
-0.03900112956762314,
-0.04928911104798317,
-0.022798454388976097,
0.04172547161579132,
-0.0598280169069767,
0.03860681504011154,
-0.026508579030632973,
0.026490656659007072,
-0.01627436839044094,
0.006537528242915869,
0.0003864714235533029,
0.030863944441080093,
0.06620872020721436,
0.021400434896349907,
0.03867850825190544,
0.05681690201163292,
-0.0032261961605399847,
-0.017439384013414383,
-0.010046016424894333,
0.015539512038230896,
-0.023103149607777596,
-0.032190270721912384,
0.010628524236381054,
0.008222319185733795,
0.032226115465164185,
0.0032754854764789343,
-0.03437691181898117,
-0.05391332507133484,
-0.015449895523488522,
-0.02695666253566742,
0.0037146066315472126,
0.01926756091415882,
-0.027763212099671364,
0.05083051323890686,
-0.020647656172513962,
-0.039574675261974335,
-0.006035675294697285,
0.012250584550201893,
0.03439483791589737,
-0.02989608608186245,
-0.05373409017920494,
0.0008289532270282507,
0.05506041646003723,
-0.04143869876861572,
-0.02718966454267502,
0.01656114123761654,
0.01789642684161663,
0.10080070793628693,
-0.03713710233569145,
-0.09922345727682114,
-0.0297885462641716,
-0.04154623672366142,
0.010861527174711227,
-0.018604397773742676,
0.0006978889578022063,
0.03448445349931717,
-0.06613702327013016,
-0.005130548030138016,
0.023264460265636444,
0.006936321966350079,
-0.012922707945108414,
-0.007935546338558197,
-0.021257048472762108,
0.03235157951712608,
0.02541525661945343,
-0.013899529352784157,
0.0023121072445064783,
-0.02692081592977047,
0.015396125614643097,
0.007487463764846325,
0.0007847050437703729,
-0.026651965454220772,
-0.0023076264187693596,
0.017439384013414383,
-0.07269695401191711,
-0.05204930156469345,
0.005117105785757303,
-0.07126308977603912,
-0.019787337630987167,
-0.021705131977796555,
0.030397938564419746,
-0.03613339737057686,
-0.005650324281305075,
-0.11306025832891464,
-0.04380457475781441,
0.045596908777952194,
-0.01964395120739937,
-0.07893426716327667,
-0.027673594653606415,
-0.03163464739918709,
-0.03717295080423355,
-0.05821491777896881,
-0.06115434318780899,
-0.0005234167329035699,
0.0742742046713829,
0.05531134083867073,
0.03846342861652374,
-0.00008828631689539179,
0.019088327884674072,
0.04312349110841751,
-0.05061543360352516,
0.005650324281305075,
0.03333736211061478,
-0.010583716444671154,
0.03692202270030975,
0.04885895177721977,
0.0018012928776443005,
0.052945464849472046,
-0.0020141322165727615,
-0.0018808275926858187,
-0.01810254529118538,
0.06301836669445038,
-0.006035675294697285,
0.027476437389850616,
-0.006313486956059933,
0.007801122032105923,
-0.0036966833285987377,
-0.01941094733774662,
0.05072297528386116,
0.06710488349199295,
-0.10918881744146347,
0.0000724633937352337,
0.010888412594795227,
-0.0013722536386922002,
-0.06079587712883949,
-0.033857136964797974,
-0.051511600613594055,
0.03588247299194336,
-0.039646368473768234,
-0.07922104001045227,
-0.033767521381378174,
-0.02860560640692711,
0.011533651500940323,
-0.08639036864042282,
-0.028981996700167656,
-0.09958192706108093,
0.009553126059472561,
-0.023533308878540993,
0.027225511148571968,
0.012537357397377491,
0.012734513729810715,
-0.034986305981874466,
0.020450498908758163,
0.089616559445858,
-0.0016332619125023484,
0.003293408779427409,
0.014428266324102879,
0.046815693378448486,
0.033767521381378174,
0.009687550365924835,
-0.03767480328679085,
0.0593620128929615,
0.002672814065590501,
0.008518054150044918,
-0.008531496860086918,
0.056028276681900024,
0.05126067250967026,
-0.04333857074379921,
0.04358949512243271,
-0.007025938481092453,
-0.0001536083873361349,
-0.006618183106184006
] |
710,332
|
js2py.evaljs
|
eval
|
evaluates expression in current context and returns its value
|
def eval(self, expression, use_compilation_plan=False):
"""evaluates expression in current context and returns its value"""
code = 'PyJsEvalResult = eval(%s)' % json.dumps(expression)
self.execute(code, use_compilation_plan=use_compilation_plan)
return self['PyJsEvalResult']
|
(self, expression, use_compilation_plan=False)
|
[
0.07589609175920486,
-0.06364022940397263,
0.06232089921832085,
0.0008809987921267748,
0.03569129854440689,
0.03996175900101662,
-0.025831058621406555,
0.023036165162920952,
-0.040274228900671005,
-0.05190515145659447,
0.06780652701854706,
0.03839939460158348,
0.04419749602675438,
-0.012464179657399654,
-0.03333039581775665,
-0.049509529024362564,
0.040343668311834335,
-0.04260041564702988,
0.027289262041449547,
-0.034076858311891556,
-0.07402125746011734,
-0.04895402118563652,
0.04478771984577179,
0.037705011665821075,
0.016109691932797432,
-0.011049374006688595,
0.08367318660020828,
0.022185545414686203,
-0.0047695450484752655,
0.008723190054297447,
-0.02492835931479931,
-0.061661235988140106,
-0.04704446718096733,
-0.014781683683395386,
-0.009278696030378342,
0.009547770023345947,
-0.046940308064222336,
0.003146424191072583,
-0.04815547913312912,
-0.08652015775442123,
-0.038885463029146194,
0.03801748529076576,
-0.006379646249115467,
0.0259352158755064,
-0.07700710743665695,
-0.0312819667160511,
-0.030188312754034996,
-0.002072300063446164,
0.01748109981417656,
-0.009912321344017982,
0.06818843632936478,
-0.024963079020380974,
-0.0009873262606561184,
0.04461412504315376,
-0.0042509278282523155,
0.016708597540855408,
-0.00033878308022394776,
0.013679350726306438,
0.04544738680124283,
-0.009625888429582119,
-0.02869538962841034,
-0.02136964537203312,
-0.059022579342126846,
0.02138700522482395,
0.01893930323421955,
0.03204578906297684,
-0.04839851334691048,
0.03919793665409088,
-0.0011001634411513805,
-0.04638480395078659,
-0.042912885546684265,
-0.003838637610897422,
0.04506547376513481,
-0.03048342652618885,
-0.0001878361072158441,
-0.01447789091616869,
-0.05975168198347092,
-0.006826655473560095,
-0.015623623505234718,
0.0154413478448987,
0.001356217311695218,
-0.0072693247348070145,
0.029372412711381912,
-0.01019007433205843,
-0.0011728567769750953,
-0.01764601469039917,
-0.003027077065780759,
-0.001540662837214768,
-0.03874658793210983,
0.011405245400965214,
0.013748789206147194,
-0.00959984865039587,
-0.054856278002262115,
0.017402980476617813,
0.007299704011529684,
-0.0016263758298009634,
0.03999647498130798,
-0.015016037970781326,
0.04853739216923714,
0.032618653029203415,
0.055446505546569824,
0.07561834156513214,
0.010771620087325573,
-0.03805220499634743,
0.0511760488152504,
0.08311767876148224,
0.037357818335294724,
-0.00674853753298521,
0.06923001259565353,
0.000648271874524653,
-0.003159443847835064,
0.08249273151159286,
-0.06593169271945953,
-0.016196489334106445,
0.00020628065976779908,
0.05020391196012497,
-0.09401949495077133,
-0.03805220499634743,
0.04433637112379074,
0.029320333153009415,
0.004376784432679415,
0.021161330863833427,
0.02407773956656456,
0.026959430426359177,
0.026421284303069115,
0.07082709670066833,
0.01062406413257122,
-0.053085602819919586,
0.03892018273472786,
-0.033868543803691864,
0.031698595732450485,
0.0016871343832463026,
0.01932121440768242,
0.06068909913301468,
-0.04912761598825455,
0.06700798869132996,
0.024043021723628044,
-0.016482923179864883,
-0.01062406413257122,
0.03338247537612915,
0.03178539499640465,
0.04933593049645424,
0.015397949144244194,
0.02282785065472126,
0.024355493485927582,
-0.021005094051361084,
-0.037705011665821075,
0.05388414114713669,
0.0007502594380639493,
0.015510786324739456,
0.028730107471346855,
-0.0027384739369153976,
0.04249625653028488,
-0.05068998038768768,
0.03253185749053955,
0.05093301460146904,
0.022723693400621414,
0.03409421816468239,
0.003367758821696043,
-0.023904144763946533,
0.003244071966037154,
0.013896345160901546,
-0.01388766523450613,
0.006440404802560806,
0.019408011808991432,
0.007911629043519497,
0.04135052487254143,
-0.017680734395980835,
-0.056314483284950256,
0.014104660600423813,
-0.010736901313066483,
-0.02982376143336296,
-0.02294936776161194,
0.04183659330010414,
0.0013800867600366473,
0.028730107471346855,
-0.006713818293064833,
0.08547858148813248,
-0.004747845698148012,
0.043711427599191666,
-0.006436064839363098,
-0.010971255600452423,
-0.03996175900101662,
0.0037388198543339968,
0.010068557225167751,
-0.023695828393101692,
0.0288863442838192,
-0.0034371973015367985,
0.03350399434566498,
0.01646556332707405,
-0.06141820177435875,
0.002241556067019701,
0.026212967932224274,
-0.006982891820371151,
-0.027810050174593925,
-0.05086357519030571,
-0.03008415549993515,
-0.004322535824030638,
-0.064161017537117,
0.028868984431028366,
-0.0855480208992958,
-0.015814578160643578,
0.029962638393044472,
-0.010164035484194756,
-0.048710986971855164,
-0.00531203206628561,
-0.055307626724243164,
0.03470180556178093,
0.012290583923459053,
-0.003764859400689602,
-0.029337693005800247,
0.00745594035834074,
-0.008688470348715782,
0.04662783816456795,
0.022480659186840057,
0.03701062873005867,
-0.005824139807373285,
0.001182621461339295,
0.01696031168103218,
0.007820491679012775,
0.020692622289061546,
0.007612176705151796,
0.025154033675789833,
-0.05381470546126366,
0.037045348435640335,
-0.053536951541900635,
-0.01135316677391529,
-0.006423045415431261,
-0.04135052487254143,
-0.03857298940420151,
-0.030257750302553177,
-0.0007307298947125673,
0.09047813713550568,
-0.046731993556022644,
0.01933857426047325,
-0.0197899229824543,
0.026178250089287758,
0.057217180728912354,
-0.032028429210186005,
0.032219383865594864,
-0.026160890236496925,
0.04454468563199043,
0.01834907755255699,
-0.008840367197990417,
-0.037080068141222,
0.03642040118575096,
0.02473740465939045,
0.06721629947423935,
-0.0428781658411026,
-0.051488518714904785,
0.03930209204554558,
-0.02163003943860531,
0.031768035143613815,
-0.009053021669387817,
-0.022254984825849533,
0.0823538526892662,
0.090755894780159,
0.060862693935632706,
0.04996087774634361,
0.022654253989458084,
0.0682578757405281,
-0.06141820177435875,
-0.030986852943897247,
-0.020831497386097908,
0.0061018927954137325,
-0.03145556151866913,
-0.04253097623586655,
0.06391797959804535,
0.03951040655374527,
0.023122962564229965,
0.017437700182199478,
0.004904082044959068,
0.042183782905340195,
-0.0031963330693542957,
-0.029476569965481758,
-0.0411769263446331,
-0.03975344076752663,
0.06284168362617493,
-0.004044782370328903,
0.0020061167888343334,
-0.013505754992365837,
-0.007013271097093821,
-0.03642040118575096,
-0.0018097363645210862,
-0.029250895604491234,
-0.009825523011386395,
0.03944097086787224,
0.011613559909164906,
0.03185483440756798,
-0.019234417006373405,
-0.009426252916455269,
0.006201710551977158,
-0.01886986568570137,
-0.005915277637541294,
0.04076029732823372,
0.0014386753318831325,
-0.006553241983056068,
-0.03926737233996391,
0.013531793840229511,
0.10867097973823547,
0.0025496885646134615,
0.03676759451627731,
0.027133027091622353,
-0.004131580702960491,
-0.02699415013194084,
0.02784476988017559,
0.02591785602271557,
-0.0036455122753977776,
-0.01635272614657879,
0.013705389574170113,
0.013254040852189064,
-0.015910057350993156,
0.013280079700052738,
0.004856342915445566,
-0.011926032602787018,
0.016083652153611183,
0.0394756905734539,
-0.025101955980062485,
0.03244505822658539,
-0.033868543803691864,
0.02836555615067482,
-0.03614265099167824,
0.07527114450931549,
0.029198816046118736,
0.007390841841697693,
-0.029910558834671974,
-0.011587521061301231,
0.015866657719016075,
0.03593433275818825,
-0.026542801409959793,
0.01604025438427925,
-0.03346927464008331,
0.029337693005800247,
-0.008983583189547062,
0.030570223927497864,
-0.034875400364398956,
0.01840115711092949,
-0.0026863953098654747,
-0.038225799798965454,
0.0337817445397377,
-0.006010755430907011,
-0.014729605056345463,
-0.0038321276661008596,
0.019147619605064392,
-0.05114132910966873,
-0.030309829860925674,
0.00854091439396143,
-0.012620415538549423,
0.04565570130944252,
-0.08853387087583542,
-0.05506459251046181,
-0.02763645350933075,
-0.016934271901845932,
-0.0362815260887146,
-0.04895402118563652,
0.01097993552684784,
-0.007777092512696981,
-0.02546650730073452,
-0.059925276786088943,
-0.04110749065876007,
-0.012186426669359207,
-0.013748789206147194,
-0.0011446474818512797,
0.02360903099179268,
-0.09513051062822342,
-0.02138700522482395,
0.0412810854613781,
0.00126182462554425,
0.03784388676285744,
0.006718158256262541,
0.0024021321441978216,
-0.004704446531832218,
0.017489777877926826,
0.011292408220469952,
-0.00930473580956459,
0.027688533067703247,
-0.015371909365057945,
-0.019842002540826797,
0.011700358241796494,
-0.0025475185830146074,
0.01141392532736063,
0.0047695450484752655,
-0.06405685842037201,
-0.04360726848244667,
0.012984966859221458,
0.0691605731844902,
-0.029007861390709877,
-0.045482102781534195,
-0.057494934648275375,
0.013271400704979897,
-0.04464884474873543,
0.0006889583892188966,
-0.003176803467795253,
0.0238867849111557,
-0.03791332617402077,
0.006726838182657957,
-0.026351844891905785,
0.02638656459748745,
-0.06089741364121437,
0.03159444034099579,
0.00022269088367465883,
0.0288863442838192,
0.010598024353384972,
0.016048934310674667,
0.014460531994700432,
-0.05930033326148987,
0.05454380437731743,
0.03767029196023941,
-0.008402037434279919,
0.005954336374998093,
-0.03475388139486313,
-0.07100068777799606,
-0.09443612396717072,
-0.009374174289405346,
-0.08943656831979752,
0.03846883401274681,
0.016265928745269775,
-0.031299326568841934,
-0.021925151348114014,
-0.019685765728354454,
-0.007225926034152508,
0.0031334045343101025,
-0.038086920976638794,
-0.011405245400965214,
-0.00910510029643774,
-0.021143971011042595,
0.030587583780288696,
0.014035222120583057,
-0.053467512130737305,
0.04659311845898628,
-0.04253097623586655,
-0.03244505822658539,
0.0009195153252221644,
-0.017238065600395203,
0.050238631665706635,
-0.052356500178575516,
-0.0020809797570109367,
0.008198062889277935,
-0.013167242519557476,
0.014738284982740879,
0.03593433275818825,
0.02869538962841034,
0.048710986971855164,
-0.030761178582906723,
-0.029650166630744934,
0.027150385081768036,
-0.022914648056030273,
0.01900874264538288,
-0.04534322768449783,
-0.038954902440309525,
0.06398741900920868,
0.03694118931889534,
0.06690382957458496,
-0.037080068141222,
0.01696031168103218,
0.002558368258178234,
0.01068482268601656,
-0.019373293966054916,
0.027688533067703247,
0.028868984431028366,
-0.03409421816468239,
-0.007377822417765856,
0.0301362331956625,
-0.0329832062125206,
-0.07093124836683273,
-0.006132272072136402,
-0.0007361547905020416,
0.038954902440309525,
-0.01729014329612255,
0.01788036897778511,
0.0024737403728067875,
-0.0054292092099785805,
-0.06548034399747849,
-0.019633686169981956,
0.054578524082899094,
0.035326749086380005,
-0.005828479770570993,
-0.010519906878471375,
0.045030754059553146,
-0.024164538830518723,
-0.07603497058153152,
0.01932121440768242,
-0.015380589291453362,
0.008085224777460098,
0.004355085082352161,
0.0027558335568755865,
0.04843323305249214,
-0.030361909419298172,
0.048641547560691833,
-0.04749581590294838,
-0.028417635709047318,
0.06239033862948418,
0.05589785426855087,
-0.03864242881536484,
-0.07672934979200363,
-0.016153091564774513,
0.03711478412151337,
-0.01418277807533741,
-0.0007204226567409933,
0.022341782227158546,
-0.018366437405347824,
0.07054933905601501,
-0.004951820708811283,
0.03812164068222046,
0.021473802626132965,
0.00025578259374015033,
0.07145203649997711,
0.027098307386040688,
-0.03390326350927353,
0.010841058567166328,
-0.0511760488152504,
0.05440492928028107,
0.0004754897963721305,
-0.03642040118575096,
-0.027080947533249855,
0.009495691396296024,
0.08179835230112076,
0.07002855092287064,
-0.03385118395090103,
0.02487628161907196,
-0.015094156377017498,
-0.022324422374367714,
-0.005329391453415155,
-0.01088445819914341,
0.023175042122602463,
0.01082369964569807,
-0.04339895397424698,
0.008020127192139626,
-0.021404365077614784,
0.048259638249874115,
0.011787155643105507,
-0.027948927134275436,
-0.007273664698004723,
0.011882633902132511,
-0.009773444384336472,
0.028921063989400864,
-0.006670419126749039,
0.007577457465231419,
-0.06648720055818558,
0.013844266533851624,
-0.020623182877898216,
0.025831058621406555,
-0.006735517643392086,
0.0279836468398571,
0.00786823034286499,
-0.023921504616737366,
0.010120635852217674,
-0.007442920934408903,
0.03680231422185898,
-0.013670670799911022,
0.041662994772195816,
0.027393419295549393,
0.03600377216935158,
0.032028429210186005,
0.05249537527561188,
-0.04131580516695976,
0.0453779473900795,
0.0305355042219162,
-0.06513315439224243,
0.004995219875127077,
0.029719604179263115,
-0.0033373795449733734,
0.01715126633644104,
-0.019234417006373405,
-0.005633184220641851,
0.00199635187163949,
0.0002018051454797387,
0.06239033862948418,
0.015371909365057945,
-0.05298144370317459,
0.016439523547887802,
0.0292856153100729,
0.13616855442523956,
-0.016196489334106445,
-0.020275991410017014,
-0.013236680999398232,
-0.017203345894813538,
-0.015580224804580212,
0.043364234268665314,
0.04204490780830383,
-0.046801432967185974,
-0.027653813362121582,
-0.046975027769804,
-0.00936549436300993,
-0.05183571204543114,
0.03853827342391014,
-0.002278445055708289,
0.0898531973361969,
0.02209874801337719,
-0.024633247405290604,
0.0015851467614993453,
0.00421186862513423,
0.013002326712012291,
0.04148939996957779,
0.03253185749053955,
0.024789482355117798,
-0.07457676529884338,
0.07339631021022797,
0.0024954399559646845,
-0.05506459251046181,
-0.07221586257219315,
0.0014148058835417032,
0.06291112303733826,
-0.018852505832910538,
0.04982199892401695,
0.0058414991945028305,
-0.037705011665821075,
-0.015259072184562683,
-0.01068482268601656,
0.00346323661506176,
0.025952575728297234,
-0.010216114111244678,
-0.00930473580956459,
-0.018626831471920013,
0.03338247537612915,
0.012212465517222881,
-0.013210642151534557,
0.047808289527893066,
-0.05704358592629433,
-0.014356373809278011,
0.011344486847519875,
0.07124372571706772,
-0.03190691024065018,
0.0030574563425034285,
0.03345191478729248,
-0.013670670799911022,
0.05975168198347092,
-0.02461588755249977,
-0.019112899899482727,
-0.005012579262256622,
-0.08339542895555496,
-0.011882633902132511,
0.003665041644126177,
-0.03204578906297684,
0.0022675953805446625,
-0.03345191478729248,
0.02942449040710926,
0.03333039581775665,
0.03385118395090103,
-0.03871186822652817,
-0.005264293402433395,
0.02534499019384384,
-0.04763469099998474,
-0.018540034070611,
0.025831058621406555,
0.021873073652386665,
-0.04266985133290291,
-0.015024717897176743,
0.0321325846016407,
-0.008132964372634888,
-0.025049876421689987,
-0.020223913714289665,
-0.019477451220154762,
0.027341341599822044,
-0.0014809892745688558,
0.0378786064684391,
-0.039163216948509216,
-0.028851624578237534,
0.03390326350927353,
-0.01019007433205843,
-0.023591671139001846,
-0.0026386564131826162,
-0.08874218165874481,
-0.03912849724292755,
0.034267812967300415,
-0.019807282835245132,
-0.010294231586158276,
0.04339895397424698,
0.02831347845494747,
0.011483363807201385,
0.006075853481888771,
-0.06863978505134583,
0.005021259188652039,
-0.0051688156090676785,
-0.007529718801379204,
0.007130448240786791,
-0.058744825422763824,
-0.021664757281541824,
0.0015927415806800127,
-0.021213408559560776,
-0.05659223720431328,
-0.0024325114209204912,
-0.028973141685128212,
-0.001936678308993578,
-0.07367406785488129,
-0.012559657916426659,
0.01280269119888544,
0.018522674217820168,
0.01147468388080597,
-0.048919301480054855,
-0.06443876773118973,
-0.010276872664690018,
-0.06853562593460083,
-0.041801873594522476,
0.00936549436300993,
-0.02534499019384384,
0.005190514959394932,
-0.01412201952189207,
-0.020796779543161392,
0.08152059465646744,
-0.02032807096838951,
0.03352135419845581,
-0.005963016301393509,
-0.03178539499640465,
0.050099752843379974,
0.020501665771007538,
-0.013549153693020344,
0.01247285958379507,
-0.012056229636073112,
-0.08082621544599533,
-0.03431989252567291,
-0.013818226754665375,
-0.016179129481315613,
0.018887225538492203,
-0.05645335838198662,
0.044232215732336044,
-0.0379827655851841,
0.0766599103808403,
-0.010276872664690018,
-0.004652367904782295,
-0.011049374006688595,
0.025292910635471344,
0.028001004830002785,
-0.011170891113579273,
0.02315768226981163,
0.06530674546957016,
-0.000574493664316833,
-0.02869538962841034,
0.00007859279139665887,
-0.011769796721637249,
-0.03392062336206436,
0.07054933905601501,
0.038885463029146194,
-0.06450820714235306,
-0.023539593443274498,
-0.0021580129396170378,
-0.047079186886548996,
-0.052148185670375824,
-0.0024737403728067875,
-0.03739253804087639,
0.020397508516907692,
0.007468960247933865,
-0.01998087950050831,
-0.07395181804895401,
0.02565746195614338,
0.03536146879196167,
-0.03142084181308746,
-0.0313861221075058,
0.03940625116229057,
0.01394842378795147,
-0.047669410705566406,
0.03265337273478508,
0.041871313005685806,
0.06943833082914352,
0.02058846317231655,
0.009148499928414822,
-0.025449147447943687,
0.05943920835852623,
-0.0275843758136034,
-0.015371909365057945,
-0.058814264833927155,
0.05523819103837013,
-0.06693854928016663,
-0.004804264288395643,
-0.04454468563199043,
-0.03892018273472786,
0.009816843084990978,
-0.0011945562437176704
] |
710,333
|
js2py.evaljs
|
eval_debug
|
evaluates expression in current context and returns its value
as opposed to the (faster) self.execute method, you can use your regular debugger
to set breakpoints and inspect the generated python code
|
def eval_debug(self, expression):
"""evaluates expression in current context and returns its value
as opposed to the (faster) self.execute method, you can use your regular debugger
to set breakpoints and inspect the generated python code
"""
code = 'PyJsEvalResult = eval(%s)' % json.dumps(expression)
self.execute_debug(code)
return self['PyJsEvalResult']
|
(self, expression)
|
[
0.04523325711488724,
-0.029085997492074966,
0.03839769959449768,
0.03846745193004608,
0.046977024525403976,
-0.0000395412280340679,
-0.01881522126495838,
0.018082840368151665,
-0.0262087844312191,
-0.05046455189585686,
0.026330849155783653,
0.023314135149121284,
0.0434546172618866,
-0.004490194376558065,
-0.017629461362957954,
-0.04913929104804993,
0.041257474571466446,
-0.011282158084213734,
0.0036880625411868095,
-0.05764886364340782,
-0.053045324981212616,
-0.0024696069303900003,
0.06308940798044205,
0.04893004149198532,
-0.018152590841054916,
-0.006247037556022406,
0.07770215719938278,
0.030393820255994797,
0.0037730711046606302,
0.01925116404891014,
-0.03752581775188446,
-0.06612356007099152,
-0.021901685744524002,
-0.002933884272351861,
-0.022930506616830826,
0.005505937151610851,
-0.03574717789888382,
-0.002844516420736909,
-0.09744157642126083,
-0.0656004324555397,
-0.06476342678070068,
0.039060331881046295,
-0.041675977408885956,
0.010828779079020023,
-0.03574717789888382,
-0.05046455189585686,
-0.0305158831179142,
-0.004747399594634771,
0.01836184412240982,
-0.011726818047463894,
0.06786732375621796,
-0.030306631699204445,
0.013235175050795078,
0.0349101722240448,
0.008030036464333534,
0.024970712140202522,
0.01966966688632965,
-0.005946238059550524,
0.02920806035399437,
-0.016687829047441483,
-0.04655852168798447,
-0.014159370213747025,
-0.04045534506440163,
0.03707243874669075,
-0.007053528446704149,
0.023697763681411743,
-0.07083172351121902,
0.03325359523296356,
-0.0060029104351997375,
-0.05381258204579353,
-0.032992031425237656,
0.0024914040695875883,
0.008147740736603737,
-0.019948668777942657,
-0.02612159587442875,
0.020314859226346016,
-0.07574914395809174,
-0.018919847905635834,
0.02310488373041153,
-0.00687043322250247,
-0.00005326656537363306,
-0.016949394717812538,
0.03738631680607796,
0.025092775002121925,
-0.032992031425237656,
-0.02226787619292736,
0.014996376819908619,
0.01661807857453823,
-0.04572151228785515,
0.03147495537996292,
-0.00751562649384141,
0.0023083086125552654,
-0.07540038973093033,
0.03409060090780258,
-0.0029251654632389545,
0.004961010999977589,
0.04882541298866272,
-0.011221126653254032,
0.019425539299845695,
0.05848587304353714,
0.0827939510345459,
0.05464958772063255,
0.009494799189269543,
-0.04579126462340355,
0.019774293527007103,
0.04540763422846794,
0.04390799626708031,
0.01022718008607626,
0.025371776893734932,
-0.005427468102425337,
-0.008326477371156216,
0.04028096795082092,
-0.07097122818231583,
-0.023767514154314995,
0.02655753865838051,
0.048616163432598114,
-0.05294070020318031,
-0.00027655018493533134,
0.08091069012880325,
0.0006517320871353149,
0.015876978635787964,
0.0017394053284078836,
-0.005178981460630894,
0.04411724954843521,
0.03623543307185173,
0.05949725583195686,
0.010968280956149101,
-0.01618213765323162,
0.002532818354666233,
-0.03581693023443222,
0.03414291515946388,
-0.02530202642083168,
0.001742674969136715,
0.06253140419721603,
-0.004239527974277735,
0.052661698311567307,
0.019477853551506996,
-0.04540763422846794,
0.011648348532617092,
0.03668881207704544,
-0.009486080147325993,
0.009773802012205124,
-0.02272125519812107,
0.014673780649900436,
0.023819826543331146,
-0.02270381711423397,
-0.04219910874962807,
0.10113836079835892,
0.027272481471300125,
0.02524971403181553,
0.02920806035399437,
0.02401164174079895,
0.03958345949649811,
-0.03416035324335098,
0.018902409821748734,
0.027725860476493835,
0.02266894280910492,
0.025615904480218887,
0.014778406359255314,
-0.027708422392606735,
0.007964645512402058,
-0.029940441250801086,
-0.006678618956357241,
-0.038083821535110474,
0.031056450679898262,
0.018152590841054916,
0.016469858586788177,
-0.008356993086636066,
-0.053045324981212616,
0.04913929104804993,
-0.032556090503931046,
-0.019111663103103638,
-0.025912344455718994,
0.03780481964349747,
0.014778406359255314,
0.025005586445331573,
-0.018553657457232475,
0.09046651422977448,
-0.01704530045390129,
0.01869315840303898,
-0.02795254997909069,
-0.006861714646220207,
-0.03958345949649811,
0.05060405284166336,
0.016025198623538017,
-0.013209017924964428,
0.009015263989567757,
-0.016469858586788177,
0.050429679453372955,
0.040769219398498535,
-0.045163508504629135,
0.0004269499040674418,
0.005985472816973925,
-0.03804894909262657,
-0.010192304849624634,
-0.010950842872262001,
-0.012703326530754566,
-0.028161801397800446,
-0.002833617851138115,
0.03651443496346474,
-0.07965517789125443,
-0.012764357961714268,
0.0031714721117168665,
-0.0031758316326886415,
-0.03616568073630333,
0.0020848887506872416,
-0.047395527362823486,
0.0696459636092186,
0.04753502830862999,
0.006896589882671833,
-0.02313975803554058,
0.0072191860526800156,
0.016713986173272133,
0.034700918942689896,
0.041222598403692245,
-0.008309039287269115,
-0.01872803457081318,
-0.011473972350358963,
0.027342231944203377,
0.022791005671024323,
0.03672368824481964,
-0.010122554376721382,
0.004457498900592327,
-0.0699249655008316,
0.008234929293394089,
-0.026348285377025604,
-0.004246067255735397,
-0.018937285989522934,
-0.04683752357959747,
-0.05862537398934364,
-0.015092284418642521,
-0.01391524262726307,
0.04899979010224342,
-0.034648604691028595,
0.0698203444480896,
-0.006011629011482,
-0.00933786015957594,
0.03447423130273819,
-0.006403976120054722,
-0.006948902737349272,
-0.028894182294607162,
0.05109230801463127,
0.020314859226346016,
0.004261325113475323,
-0.014952783472836018,
-0.009860989637672901,
0.020262546837329865,
0.078469417989254,
-0.03520661219954491,
-0.0394090861082077,
0.032992031425237656,
-0.028074612841010094,
0.010514901950955391,
-0.019983544945716858,
-0.035520490258932114,
0.06410079449415207,
0.10867141932249069,
0.08384021371603012,
0.08342170715332031,
0.010523620992898941,
0.01830952987074852,
-0.046000514179468155,
-0.020349735394120216,
0.008631635457277298,
0.006539118010550737,
-0.02397676557302475,
-0.022023748606443405,
0.030812323093414307,
0.04924391955137253,
0.015972886234521866,
0.056463103741407394,
0.022913068532943726,
0.025912344455718994,
0.01114265713840723,
-0.05803249403834343,
-0.024133704602718353,
-0.026034409180283546,
0.04614001512527466,
-0.033776722848415375,
-0.04282686486840248,
0.029155747964978218,
-0.0009067577193491161,
-0.035590238869190216,
-0.0011890296591445804,
-0.0435592457652092,
-0.01867572031915188,
0.04314074292778969,
-0.0008402766543440521,
0.006988137494772673,
-0.018414156511425972,
0.006146770901978016,
0.03790944814682007,
0.01784743182361126,
0.011927351355552673,
0.03529379889369011,
0.007685643155127764,
-0.02362801320850849,
0.019495289772748947,
-0.029521938413381577,
0.10385863482952118,
0.006303709931671619,
0.03142264112830162,
0.04202473163604736,
0.014795844443142414,
-0.029452187940478325,
0.038641829043626785,
-0.01286026556044817,
0.01654832810163498,
-0.03958345949649811,
-0.010933405719697475,
0.013200299814343452,
-0.008230569772422314,
0.018483906984329224,
0.03175395727157593,
0.006744010373950005,
0.0039452677592635155,
-0.002303949324414134,
-0.017184801399707794,
0.01049746386706829,
0.03007994219660759,
0.013514176942408085,
-0.025127651169896126,
0.07107585668563843,
0.028074612841010094,
0.031614456325769424,
-0.03402085229754448,
0.006146770901978016,
0.004448779858648777,
0.012642295099794865,
-0.012712045572698116,
0.02097748965024948,
-0.030271757394075394,
0.029068559408187866,
0.006569633726030588,
0.06933208554983139,
-0.038990579545497894,
-0.008396227844059467,
-0.026104159653186798,
-0.030812323093414307,
0.00619472423568368,
0.006077020429074764,
-0.018239779397845268,
-0.005117949564009905,
-0.014037306420505047,
-0.011805287562310696,
-0.030358945950865746,
0.011517566628754139,
-0.005270529072731733,
0.03749094158411026,
-0.06294991075992584,
-0.03403829038143158,
-0.06326378881931305,
-0.042931489646434784,
-0.037316568195819855,
-0.034334730356931686,
-0.014534279704093933,
0.03405572474002838,
-0.04314074292778969,
-0.029434749856591225,
-0.02012304589152336,
-0.0037490942049771547,
0.033863913267850876,
0.0001679735869402066,
0.021919123828411102,
-0.044256750494241714,
-0.03402085229754448,
0.02395932748913765,
-0.014604030176997185,
0.06134564429521561,
-0.002445630030706525,
-0.026487788185477257,
0.0035202251747250557,
0.039513710886240005,
0.004917416721582413,
-0.042547859251499176,
-0.01465634349733591,
0.030620509758591652,
-0.016792455688118935,
-0.001798257464542985,
0.02748173289000988,
0.0239244531840086,
-0.0020412947051227093,
-0.03391622379422188,
-0.033410534262657166,
-0.007589736487716436,
0.031195951625704765,
-0.02967887744307518,
-0.005845971405506134,
-0.06420542299747467,
0.00934657920151949,
-0.05022042617201805,
-0.031544703990221024,
-0.01705401949584484,
0.04143185168504715,
-0.02741198241710663,
-0.01375830452889204,
0.0007710710051469505,
0.022982820868492126,
-0.09541881084442139,
0.02746429480612278,
-0.0074981884099543095,
0.02444758266210556,
-0.002066361252218485,
0.007746675051748753,
0.061136394739151,
-0.0788181722164154,
0.04453575238585472,
0.05196418985724449,
0.009991772472858429,
-0.014734812080860138,
-0.02744685858488083,
-0.09444230049848557,
-0.07707440108060837,
-0.029399873688817024,
-0.06821607798337936,
-0.0284059289842844,
0.020349735394120216,
-0.0030603071209043264,
-0.03756069391965866,
0.017612025141716003,
0.010305649600923061,
-0.01827465556561947,
-0.038153573870658875,
-0.012947453185915947,
-0.0609968937933445,
-0.026540100574493408,
0.019408103078603745,
0.05963675677776337,
-0.02441270649433136,
0.049069542437791824,
-0.0522431917488575,
-0.016766298562288284,
0.009677894413471222,
0.0025480762124061584,
0.028946496546268463,
-0.06444954872131348,
-0.00013609539018943906,
-0.003317512571811676,
0.03260840103030205,
0.05489371716976166,
0.014874313957989216,
0.03006250597536564,
0.055556345731019974,
-0.0478489063680172,
-0.024726584553718567,
0.025127651169896126,
0.013270050287246704,
0.008173897862434387,
-0.002443450503051281,
-0.02444758266210556,
0.027342231944203377,
0.03231196105480194,
0.05852074548602104,
-0.049488045275211334,
0.04055996984243393,
-0.034718357026576996,
-0.025406653061509132,
0.015502069145441055,
0.04544251039624214,
0.042094483971595764,
-0.03986246511340141,
0.013958836905658245,
-0.013418270274996758,
-0.04223398491740227,
-0.08209645003080368,
0.007698721718043089,
-0.0033654661383479834,
0.050743553787469864,
-0.032556090503931046,
0.0038929549045860767,
0.029556812718510628,
0.03225965052843094,
-0.06500755250453949,
-0.03187602013349533,
0.0478837825357914,
0.045651763677597046,
0.0062601156532764435,
0.0005307584069669247,
0.06629794090986252,
-0.007986443117260933,
-0.08397971093654633,
-0.02402907982468605,
-0.03217246010899544,
-0.006726572755724192,
-0.002220030641183257,
0.0003969789540860802,
0.046105142682790756,
-0.025092775002121925,
0.04404749721288681,
-0.03797919675707817,
0.012494075112044811,
0.016862206161022186,
0.021116992458701134,
-0.052103690803050995,
-0.04537276178598404,
-0.03965321183204651,
-0.0024129345547407866,
-0.010218461975455284,
0.03449166938662529,
0.00416105892509222,
-0.04641902074217796,
0.05963675677776337,
0.03321871906518936,
0.03461373224854469,
0.04160622879862785,
0.015554381534457207,
0.08886225521564484,
0.08502597361803055,
-0.04701190069317818,
0.0062819127924740314,
-0.02790023759007454,
0.024168580770492554,
-0.03281765431165695,
-0.05764886364340782,
0.007594095543026924,
-0.023645451292395592,
0.06699544191360474,
0.057788364589214325,
-0.03100413829088211,
0.024238331243395805,
0.0027137340512126684,
-0.043384868651628494,
0.010453869588673115,
-0.03280021622776985,
0.011273439042270184,
0.001214096206240356,
-0.030393820255994797,
0.02612159587442875,
-0.04132722690701485,
0.06668156385421753,
0.05632360279560089,
0.004865103866904974,
0.03742119297385216,
-0.0036597263533622026,
0.011543722823262215,
0.05632360279560089,
-0.0008468157611787319,
0.002286511706188321,
-0.07463313639163971,
0.029330123215913773,
0.009372735396027565,
0.0239244531840086,
-0.00633422564715147,
-0.006308068986982107,
-0.014481966383755207,
-0.017760245129466057,
0.0022843319457024336,
0.007441516499966383,
-0.006308068986982107,
-0.015528225339949131,
0.04920904338359833,
0.03372441232204437,
0.04676777124404907,
0.025912344455718994,
0.04188523069024086,
-0.04010659083724022,
0.01790846511721611,
0.04941829293966293,
-0.03675856068730354,
0.008522650226950645,
0.039513710886240005,
0.005401311442255974,
0.02087286487221718,
-0.03393366187810898,
-0.04331511631608009,
-0.017184801399707794,
-0.011831443756818771,
0.05018555000424385,
-0.008731902576982975,
-0.027795610949397087,
-0.004581741988658905,
0.03098670020699501,
0.11139169335365295,
0.011883757077157497,
-0.015554381534457207,
-0.004176316782832146,
-0.023383885622024536,
-0.014952783472836018,
0.03170164301991463,
0.005933159496635199,
-0.02230275236070156,
-0.016766298562288284,
-0.016705267131328583,
-0.01701042614877224,
-0.05939262732863426,
0.02401164174079895,
0.019111663103103638,
0.06650719046592712,
0.021291367709636688,
-0.04969729855656624,
-0.00809106882661581,
0.00933786015957594,
-0.03102157637476921,
0.002004239708185196,
0.0393742099404335,
0.02969631366431713,
-0.06326378881931305,
0.08593273162841797,
-0.007668205536901951,
-0.04481475427746773,
-0.08084093779325485,
0.009416329674422741,
0.051336437463760376,
-0.03885107859969139,
0.0479535311460495,
-0.031666770577430725,
-0.002209132071584463,
-0.01483943872153759,
-0.05506809055805206,
-0.004012838937342167,
0.02014048397541046,
0.004786634352058172,
0.028092050924897194,
0.017760245129466057,
0.011805287562310696,
0.01790846511721611,
-0.012903859838843346,
0.055207595229148865,
-0.02697604149580002,
0.011203688569366932,
0.009643019177019596,
0.0783996656537056,
-0.029504500329494476,
-0.007816425524652004,
0.026540100574493408,
0.0016903619980439544,
0.08084093779325485,
-0.028580304235219955,
-0.03545073792338371,
-0.002072900300845504,
-0.05803249403834343,
0.04153647646307945,
-0.012720764614641666,
-0.0609271414577961,
-0.03895570710301399,
-0.04983679950237274,
0.004435701761394739,
0.011848881840705872,
-0.025476403534412384,
-0.003341489238664508,
0.011944788508117199,
0.0022908709943294525,
-0.06940183788537979,
-0.01827465556561947,
0.035590238869190216,
0.03224221244454384,
-0.02828386425971985,
-0.05070868134498596,
0.049941424280405045,
-0.008513931185007095,
-0.0434894934296608,
-0.00979123916476965,
-0.05848587304353714,
0.07083172351121902,
-0.007009934633970261,
0.025668218731880188,
-0.045093756169080734,
-0.031143639236688614,
0.005100511945784092,
-0.0022178508806973696,
-0.005924440920352936,
-0.004647133406251669,
-0.12352830171585083,
-0.07923667132854462,
0.02143086865544319,
-0.0027791252359747887,
0.00896295066922903,
0.030882075428962708,
0.03735144063830376,
-0.0057326266542077065,
0.02273869328200817,
-0.058276619762182236,
0.022529441863298416,
0.007698721718043089,
-0.020384609699249268,
0.0011192790698260069,
-0.0349276103079319,
0.005675954278558493,
0.0008337375475093722,
-0.03707243874669075,
-0.04069947078824043,
-0.0240639541298151,
-0.016217011958360672,
-0.02143086865544319,
-0.06225240230560303,
0.020332297310233116,
-0.00359651492908597,
0.0002772313600871712,
0.017245834693312645,
-0.02221556380391121,
-0.08788574486970901,
-0.03218989819288254,
-0.060369137674570084,
-0.029800940304994583,
-0.017333021387457848,
-0.0700644701719284,
0.025441529229283333,
-0.017786400392651558,
-0.00448583485558629,
0.05144106224179268,
-0.04132722690701485,
0.03623543307185173,
0.013235175050795078,
-0.03011481836438179,
0.07118047773838043,
0.014595311135053635,
-0.005148465745151043,
0.010671840980648994,
0.0034591935109347105,
-0.07247086614370346,
-0.010968280956149101,
-0.022930506616830826,
-0.03328847140073776,
-0.0054492647759616375,
-0.0698203444480896,
0.03306178003549576,
-0.058695122599601746,
0.050743553787469864,
0.0002573415404185653,
0.02099492773413658,
-0.03707243874669075,
0.022581754252314568,
0.01546719390898943,
-0.016016479581594467,
0.04132722690701485,
0.08390995860099792,
-0.019809167832136154,
-0.04139697551727295,
-0.0026527021545916796,
-0.026853978633880615,
-0.057404737919569016,
0.06692568957805634,
0.026051845401525497,
-0.052208319306373596,
-0.04153647646307945,
-0.00262654572725296,
-0.054684463888406754,
-0.048651039600372314,
-0.007097122725099325,
-0.031178515404462814,
0.020349735394120216,
-0.004315817728638649,
0.02357570081949234,
-0.05893924832344055,
0.04010659083724022,
0.04188523069024086,
0.000041380357288289815,
-0.02533690258860588,
-0.013801898807287216,
0.0029970956966280937,
0.009904583916068077,
0.04746527597308159,
0.007467672694474459,
0.06312428414821625,
0.02361057512462139,
0.01792590133845806,
-0.026104159653186798,
0.07916691899299622,
0.010654402896761894,
-0.003306614002212882,
-0.07958542555570602,
0.03780481964349747,
-0.044256750494241714,
0.016748860478401184,
-0.018466468900442123,
0.007088403683155775,
0.0010119285434484482,
0.003613952547311783
] |
710,334
|
js2py.evaljs
|
execute
|
executes javascript js in current context
During initial execute() the converted js is cached for re-use. That means next time you
run the same javascript snippet you save many instructions needed to parse and convert the
js code to python code.
This cache causes minor overhead (a cache dicts is updated) but the Js=>Py conversion process
is typically expensive compared to actually running the generated python code.
Note that the cache is just a dict, it has no expiration or cleanup so when running this
in automated situations with vast amounts of snippets it might increase memory usage.
|
def execute(self, js=None, use_compilation_plan=False):
"""executes javascript js in current context
During initial execute() the converted js is cached for re-use. That means next time you
run the same javascript snippet you save many instructions needed to parse and convert the
js code to python code.
This cache causes minor overhead (a cache dicts is updated) but the Js=>Py conversion process
is typically expensive compared to actually running the generated python code.
Note that the cache is just a dict, it has no expiration or cleanup so when running this
in automated situations with vast amounts of snippets it might increase memory usage.
"""
try:
cache = self.__dict__['cache']
except KeyError:
cache = self.__dict__['cache'] = {}
hashkey = hashlib.md5(js.encode('utf-8')).digest()
try:
compiled = cache[hashkey]
except KeyError:
code = translate_js(
js, '', use_compilation_plan=use_compilation_plan)
compiled = cache[hashkey] = compile(code, '<EvalJS snippet>',
'exec')
exec (compiled, self._context)
|
(self, js=None, use_compilation_plan=False)
|
[
0.04057072848081589,
-0.04759534075856209,
0.020715441554784775,
0.03623410314321518,
0.016638657078146935,
0.022937513887882233,
-0.013305549509823322,
0.07092709094285965,
-0.04297199845314026,
-0.022865833714604378,
-0.010787799023091793,
0.07712738960981369,
0.023528872057795525,
-0.00856572762131691,
-0.04652014374732971,
-0.014067146927118301,
0.012615632265806198,
-0.02908405102789402,
-0.006437735632061958,
-0.06436839699745178,
-0.03888625279068947,
-0.008422368206083775,
0.034764669835567474,
0.08759263157844543,
0.021862316876649857,
-0.00541181955486536,
0.08185825496912003,
0.014685384929180145,
-0.0004482783260755241,
-0.0017919932724907994,
0.030840203166007996,
-0.013430989347398281,
-0.010742999613285065,
-0.01586809940636158,
0.010805719532072544,
0.012391633354127407,
-0.016101058572530746,
-0.01784825325012207,
-0.028689812868833542,
-0.03666418045759201,
-0.007871330715715885,
0.0477745421230793,
0.018170811235904694,
-0.015644101426005363,
-0.07633890956640244,
-0.00601213751360774,
0.003209908027201891,
0.008198369294404984,
0.03243507817387581,
-0.017059775069355965,
0.08694751560688019,
-0.03845617547631264,
-0.009013726375997066,
0.012660432606935501,
-0.002728309715166688,
0.011612116359174252,
-0.014972103759646416,
0.04551662877202034,
0.05881321802735329,
-0.01370874885469675,
-0.00414174422621727,
-0.01585914008319378,
-0.03313395380973816,
0.020034484565258026,
0.020572083070874214,
0.019873205572366714,
-0.02834933251142502,
0.004542702808976173,
-0.012965071015059948,
-0.027740055695176125,
0.0015881540020927787,
0.016118979081511497,
0.057953063398599625,
0.033241476863622665,
-0.02951412834227085,
-0.02136055938899517,
-0.06099944934248924,
-0.016513217240571976,
-0.0101874815300107,
0.023098792880773544,
0.05884905904531479,
-0.04254192113876343,
0.009121245704591274,
-0.009434844367206097,
-0.007687651086598635,
0.00019235927902627736,
-0.009757403284311295,
-0.013018830679357052,
-0.07139301300048828,
-0.01725689508020878,
0.01924600824713707,
-0.0036243062932044268,
-0.017875133082270622,
0.012463313527405262,
0.010608600452542305,
0.02121720090508461,
0.029012370854616165,
-0.050570048391819,
-0.02933492884039879,
0.08486880362033844,
0.061608728021383286,
0.05447659641504288,
0.007719011045992374,
-0.06626790761947632,
0.0926818922162056,
0.0744035616517067,
0.005299820099025965,
-0.012884431518614292,
0.008623967878520489,
-0.015402182005345821,
-0.004255983978509903,
0.04189680144190788,
-0.06985189765691757,
-0.04440559446811676,
0.022435756400227547,
-0.01517818309366703,
-0.06974437832832336,
-0.03460339084267616,
-0.011208917945623398,
0.05143020674586296,
-0.051071807742118835,
0.016074178740382195,
0.012033234350383282,
0.001183835556730628,
0.021127600222826004,
0.007553251460194588,
0.03723762184381485,
-0.06587367504835129,
0.007486051879823208,
-0.004533743020147085,
0.03698674216866493,
-0.027757976204156876,
0.022955434396862984,
0.05985257402062416,
-0.04175344482064247,
0.04132336378097534,
0.008874846622347832,
-0.013314509764313698,
-0.01038460060954094,
0.04834797978401184,
0.03075060434639454,
0.04021232947707176,
0.02109176106750965,
0.039101291447877884,
0.026897819712758064,
-0.019192248582839966,
-0.026234781369566917,
0.013162190094590187,
0.0008091969648376107,
-0.010778839699923992,
0.06533607095479965,
-0.02643190138041973,
0.04021232947707176,
0.005187820643186569,
-0.005806058179587126,
-0.029567888006567955,
-0.009569244459271431,
0.025679264217615128,
-0.01660281792283058,
0.012714192271232605,
0.031144842505455017,
-0.00801469013094902,
0.004484463017433882,
0.04551662877202034,
0.0014683144399896264,
-0.006151016801595688,
0.02867189235985279,
0.004233584273606539,
-0.05082092806696892,
-0.009461724199354649,
0.008959966711699963,
0.01870840974152088,
-0.016235459595918655,
0.06519271433353424,
-0.019980724900960922,
0.047702860087156296,
-0.023349672555923462,
0.028062613680958748,
0.015769541263580322,
-0.027757976204156876,
-0.033223554491996765,
-0.018170811235904694,
-0.027148697525262833,
-0.016110019758343697,
-0.007463651709258556,
0.01003516186028719,
0.021844398230314255,
-0.014219466596841812,
0.04802541807293892,
-0.004399343393743038,
-0.003250227775424719,
0.018923448398709297,
0.032381318509578705,
-0.024586146697402,
-0.0266827791929245,
-0.025822622701525688,
-0.044763993471860886,
-0.03906545415520668,
-0.06340072304010391,
0.0407140851020813,
-0.06157288700342178,
-0.0005367579869925976,
0.08737759292125702,
-0.005447659641504288,
-0.002223191550001502,
0.05630442872643471,
-0.05117932707071304,
0.07003109902143478,
0.04153840243816376,
0.011047638021409512,
0.007123173214495182,
-0.010456280782818794,
-0.013592269271612167,
0.03076852485537529,
0.01670137792825699,
-0.006961893755942583,
-0.03397619351744652,
0.0055417390540242195,
0.039674729108810425,
-0.00519230030477047,
0.053150519728660583,
0.026736538857221603,
-0.02643190138041973,
-0.03395827114582062,
0.04555246978998184,
-0.028313493356108665,
0.018636729568243027,
-0.019192248582839966,
-0.04716526344418526,
-0.04089328646659851,
-0.004668142646551132,
-0.05397483706474304,
0.09941978752613068,
-0.019765686243772507,
0.020339123904705048,
-0.009855963289737701,
-0.01937144808471203,
0.02766837552189827,
-0.0759088322520256,
-0.009300445206463337,
-0.02444278821349144,
0.033635713160037994,
0.02008824422955513,
-0.006433255970478058,
-0.07146468758583069,
0.05418987572193146,
-0.030302606523036957,
0.017185214906930923,
-0.01482874434441328,
-0.051215168088674545,
0.01743609458208084,
-0.012203474529087543,
0.007575651630759239,
-0.04261359944939613,
-0.06082025170326233,
0.05214700475335121,
0.0997065082192421,
0.02446070872247219,
0.021969838067889214,
0.02431734837591648,
0.00821628887206316,
-0.08472543954849243,
-0.04702190309762955,
0.02795509435236454,
0.049387335777282715,
-0.020303282886743546,
-0.04809710010886192,
0.07003109902143478,
0.0054431795142591,
0.012409552931785583,
0.0744035616517067,
0.02557174302637577,
0.020428722724318504,
0.011379157193005085,
-0.02851061336696148,
-0.03465715050697327,
-0.03467506915330887,
0.04845549911260605,
-0.0660887137055397,
-0.012606672942638397,
0.034621309489011765,
0.015411142259836197,
0.008839006535708904,
-0.03535602614283562,
-0.013816268183290958,
-0.009972442872822285,
0.025625504553318024,
-0.04329455643892288,
-0.005465579219162464,
-0.00021027920593041927,
-0.0036198263987898827,
0.04619758576154709,
0.00429182406514883,
-0.011217878200113773,
0.03471091017127037,
0.045444950461387634,
-0.02892277203500271,
-0.0021246320102363825,
0.002882869215682149,
0.08508384227752686,
-0.05591018870472908,
-0.027005339041352272,
0.0632573589682579,
0.027220377698540688,
0.006558695342391729,
0.02892277203500271,
-0.01771385408937931,
-0.025069985538721085,
-0.002575990278273821,
-0.0037116659805178642,
0.00706493342295289,
-0.03191540017724037,
0.05046252906322479,
0.008906206116080284,
0.0059852576814591885,
-0.04272111877799034,
0.03963889181613922,
-0.0351051464676857,
0.024496547877788544,
0.0015814340440556407,
-0.029101969674229622,
-0.01992696523666382,
0.05433323606848717,
0.0365208238363266,
-0.0011446357239037752,
-0.027059098705649376,
-0.009631963446736336,
0.013699788600206375,
0.05465579405426979,
-0.012875471264123917,
0.019138488918542862,
-0.009730523452162743,
0.015043783001601696,
-0.019622325897216797,
-0.00970364362001419,
-0.03877873346209526,
0.0024729506112635136,
-0.00913020595908165,
-0.01559034176170826,
-0.00030939883436076343,
0.04451311379671097,
0.0005342380027286708,
0.0351051464676857,
0.0337253138422966,
-0.03297267481684685,
0.0067558144219219685,
0.008951006457209587,
-0.01585914008319378,
0.006796134635806084,
-0.0941154882311821,
-0.03383283317089081,
-0.04960237443447113,
-0.013780428096652031,
-0.04619758576154709,
-0.030123407021164894,
-0.0035078267101198435,
0.07655395567417145,
-0.0182604119181633,
-0.0660528689622879,
-0.0632932037115097,
0.03677170351147652,
-0.006661735009402037,
0.020984241738915443,
0.011074518784880638,
-0.05451243370771408,
-0.00023673911346122622,
0.03824113681912422,
-0.02091256156563759,
0.037452660501003265,
0.016522178426384926,
0.016755137592554092,
0.0008209568914026022,
0.032685957849025726,
0.018152892589569092,
-0.01040252111852169,
-0.002360951155424118,
-0.020715441554784775,
0.02725621685385704,
-0.03207667917013168,
0.005362540017813444,
0.022955434396862984,
-0.010268121026456356,
-0.013896907679736614,
-0.017238974571228027,
0.014138827100396156,
0.06773734837770462,
-0.015796421095728874,
-0.03437042981386185,
-0.10830806940793991,
0.002936628879979253,
-0.06734310835599899,
0.004645742475986481,
-0.02417398989200592,
0.023779749870300293,
-0.0036780661903321743,
0.04877805709838867,
-0.013583309017121792,
0.0773424282670021,
-0.05411819741129875,
0.0027731095906347036,
0.023564711213111877,
-0.018887609243392944,
0.033492352813482285,
0.045588307082653046,
0.007804130669683218,
-0.033223554491996765,
0.03162867948412895,
0.021109679713845253,
-0.000597517762798816,
0.013941708020865917,
-0.05096428841352463,
-0.018869688734412193,
-0.08773598819971085,
-0.02709493786096573,
-0.07261157035827637,
0.001867032959125936,
0.005532779265195131,
-0.00432542385533452,
-0.00920188520103693,
-0.026754459366202354,
-0.0007985570118762553,
0.017337534576654434,
-0.009685724042356014,
-0.014147786423563957,
0.011397076770663261,
-0.05565930902957916,
0.040678247809410095,
0.004645742475986481,
-0.05074924975633621,
-0.004126064479351044,
-0.004083504434674978,
0.034800510853528976,
0.04892141744494438,
0.012185554020106792,
0.055121712386608124,
-0.03456754982471466,
-0.006979813799262047,
-0.0032905475236475468,
0.02429942786693573,
0.021396400406956673,
-0.009157085791230202,
0.00333982752636075,
-0.03567858412861824,
-0.06056937202811241,
-0.028869012370705605,
0.017597373574972153,
-0.017597373574972153,
0.02838517352938652,
-0.06899174302816391,
-0.027990935370326042,
0.09440220147371292,
0.0885244682431221,
0.033922433853149414,
-0.06770150363445282,
0.010635480284690857,
-0.04874221608042717,
-0.01235579326748848,
0.012131794355809689,
-0.018511289730668068,
0.046591825783252716,
-0.006800614297389984,
-0.021020080894231796,
0.016513217240571976,
-0.05096428841352463,
-0.01467642467468977,
-0.019048888236284256,
-0.00585981784388423,
0.04723694175481796,
0.009649883955717087,
0.03241715952754021,
0.027041178196668625,
-0.01852921023964882,
-0.045588307082653046,
-0.022579114884138107,
0.07361508160829544,
-0.0019095927709713578,
-0.01243643369525671,
-0.059637535363435745,
0.004972781520336866,
-0.0055282991379499435,
-0.026485661044716835,
0.022131117060780525,
0.008901726454496384,
0.04512238875031471,
-0.03824113681912422,
-0.015339462086558342,
0.08028129488229752,
-0.05128684639930725,
0.07275492697954178,
-0.017588414251804352,
0.001074636005796492,
0.01697913557291031,
0.029119890183210373,
-0.03892209380865097,
-0.08909790217876434,
-0.016369858756661415,
-0.0022735914681106806,
-0.009372124448418617,
-0.013323470018804073,
0.0003469187067821622,
0.015438022091984749,
0.032112520188093185,
-0.02643190138041973,
0.03334899619221687,
0.06013929471373558,
0.017095616087317467,
0.08271840959787369,
0.05379563942551613,
-0.06379496306180954,
0.010071001946926117,
-0.03902961313724518,
0.017588414251804352,
-0.012597712688148022,
-0.05798890069127083,
0.012803792022168636,
-0.024389028549194336,
0.025374624878168106,
0.06863334029912949,
-0.026521500200033188,
0.016531137749552727,
0.010850518941879272,
-0.04064240679144859,
-0.015635142102837563,
0.025804702192544937,
-0.00741437217220664,
0.011549396440386772,
-0.03402995318174362,
0.008063970133662224,
0.030392205342650414,
0.027901334688067436,
-0.016154820099473,
-0.03304435685276985,
-0.043903835117816925,
-0.018995128571987152,
0.02781173586845398,
0.04157424345612526,
-0.009219805710017681,
0.004762222059071064,
0.003059828421100974,
-0.019013049080967903,
-0.03521266579627991,
0.003897585440427065,
0.005788138136267662,
0.010160601697862148,
-0.014434506185352802,
-0.003200948005542159,
0.006164456717669964,
0.0011681555770337582,
0.00470846239477396,
0.012579793110489845,
0.01770489290356636,
-0.0045023830607533455,
0.03956720978021622,
0.09891802817583084,
0.051609404385089874,
-0.06074857339262962,
0.025356704369187355,
0.0337253138422966,
-0.009255644865334034,
0.03162867948412895,
0.03773937746882439,
0.03824113681912422,
-0.009210845455527306,
-0.051967803388834,
-0.005286380182951689,
0.019013049080967903,
0.06978021562099457,
0.020159924402832985,
-0.0014593545347452164,
-0.03549938648939133,
0.010142682120203972,
0.045158229768276215,
0.11404245346784592,
-0.030392205342650414,
-0.03544562682509422,
-0.02766837552189827,
-0.06125032901763916,
0.021611439064145088,
0.03019508719444275,
0.020590001717209816,
-0.0870191901922226,
0.010725080035626888,
-0.021002160385251045,
0.05229036509990692,
-0.045588307082653046,
0.036305785179138184,
-0.0122841140255332,
0.03494386747479439,
0.03356403484940529,
-0.0005779178463853896,
0.017041856423020363,
-0.021844398230314255,
-0.000547397939953953,
0.01314427051693201,
0.040104810148477554,
0.023116713389754295,
-0.05669866502285004,
0.0477387011051178,
-0.0189592894166708,
-0.02094840072095394,
-0.06003177538514137,
-0.019478967413306236,
0.043760474771261215,
0.022955434396862984,
0.09189341217279434,
0.037309300154447556,
-0.05677034705877304,
0.015321542508900166,
-0.0337611548602581,
0.035338107496500015,
0.011253717355430126,
0.02894069068133831,
0.0492081344127655,
0.011854035779833794,
0.007835490629076958,
-0.032793477177619934,
-0.034191232174634933,
0.02825973369181156,
0.004294063895940781,
-0.048670537769794464,
-0.011647956445813179,
0.06383080035448074,
-0.01601145975291729,
-0.007190372794866562,
0.0005487979506142437,
0.0022343916352838278,
0.014156746678054333,
-0.04906477406620979,
-0.011558356694877148,
0.051788605749607086,
-0.053329721093177795,
-0.04859885573387146,
0.035911545157432556,
-0.014515145681798458,
0.013735628686845303,
-0.03388659283518791,
-0.006612455006688833,
0.008180448785424232,
0.03666418045759201,
-0.00021979917073622346,
0.04623342677950859,
0.024263588711619377,
-0.018582969903945923,
-0.0477387011051178,
0.03275763615965843,
-0.016199618577957153,
-0.029263250529766083,
-0.04049904644489288,
0.007889250293374062,
-0.03035636618733406,
-0.046448465436697006,
0.03207667917013168,
0.004255983978509903,
0.0108863590285182,
0.004229104146361351,
0.03456754982471466,
-0.01796473190188408,
-0.055981870740652084,
0.03845617547631264,
-0.01980152539908886,
0.01272315252572298,
0.003398067317903042,
-0.040104810148477554,
-0.04261359944939613,
0.008122209459543228,
-0.012526032514870167,
-0.024657826870679855,
0.04272111877799034,
0.006115177180618048,
-0.01684473641216755,
-0.021521838381886482,
-0.03415539115667343,
-0.0019644726999104023,
-0.020572083070874214,
-0.03175412118434906,
0.030230926349759102,
-0.017337534576654434,
-0.0617879293859005,
-0.06856166571378708,
-0.047667019069194794,
-0.06684134900569916,
-0.01811705157160759,
-0.03198707848787308,
-0.012364753521978855,
-0.11647956073284149,
0.034890107810497284,
-0.029030291363596916,
-0.02374391071498394,
-0.019837364554405212,
-0.09497564285993576,
-0.06705638766288757,
-0.0014671945245936513,
-0.03564274683594704,
-0.03499762713909149,
0.030589325353503227,
-0.02232823520898819,
0.026736538857221603,
-0.032918915152549744,
-0.014757064171135426,
0.08680415153503418,
-0.0076921312138438225,
-0.019765686243772507,
0.0182783305644989,
-0.050211649388074875,
0.029030291363596916,
0.03666418045759201,
0.008830047212541103,
0.018654650077223778,
0.042219359427690506,
-0.03544562682509422,
-0.009864922612905502,
0.02487286739051342,
-0.01587706059217453,
0.04397551342844963,
-0.04343791678547859,
0.017606332898139954,
-0.05594602972269058,
0.03222003951668739,
0.00272158975712955,
-0.0003284387639723718,
-0.025500064715743065,
0.01571578159928322,
0.0035011067520827055,
-0.03881457448005676,
0.023779749870300293,
0.029406609013676643,
-0.02164727821946144,
-0.021969838067889214,
0.047702860087156296,
-0.010519000701606274,
-0.055838510394096375,
0.030141327530145645,
0.01784825325012207,
-0.06225384771823883,
-0.05608939006924629,
-0.019299767911434174,
0.02795509435236454,
-0.04146672412753105,
-0.015814339742064476,
-0.03397619351744652,
-0.03261427581310272,
-0.007808610796928406,
-0.00982908345758915,
-0.03594738617539406,
0.009811162948608398,
0.014649544842541218,
0.005806058179587126,
-0.03159284219145775,
0.035624824464321136,
0.05440491437911987,
-0.018726330250501633,
0.0323275588452816,
0.021665198728442192,
0.08795102685689926,
0.07332836091518402,
-0.0011995155364274979,
-0.04014064744114876,
0.07404515892267227,
-0.022005677223205566,
-0.08063969761133194,
-0.09382876753807068,
0.01075195986777544,
-0.04297199845314026,
-0.013153230771422386,
0.016961216926574707,
-0.038993772119283676,
0.029532048851251602,
0.02696949802339077
] |
710,335
|
js2py.evaljs
|
execute_debug
|
executes javascript js in current context
as opposed to the (faster) self.execute method, you can use your regular debugger
to set breakpoints and inspect the generated python code
|
def execute_debug(self, js):
"""executes javascript js in current context
as opposed to the (faster) self.execute method, you can use your regular debugger
to set breakpoints and inspect the generated python code
"""
code = translate_js(js, '')
# make sure you have a temp folder:
filename = 'temp' + os.sep + '_' + hashlib.md5(
code.encode("utf-8")).hexdigest() + '.py'
try:
with open(filename, mode='w') as f:
f.write(code)
with open(filename, "r") as f:
pyCode = compile(f.read(), filename, 'exec')
exec(pyCode, self._context)
except Exception as err:
raise err
finally:
os.remove(filename)
try:
os.remove(filename + 'c')
except:
pass
|
(self, js)
|
[
0.01981263794004917,
-0.011677183210849762,
0.001686485018581152,
0.05056605860590935,
0.010107952170073986,
-0.022267300635576248,
-0.03319055214524269,
0.06823962926864624,
-0.03864340856671333,
-0.031524885445833206,
-0.01762974075973034,
0.025142762809991837,
0.0026234211400151253,
-0.027422092854976654,
-0.046042464673519135,
-0.028579290956258774,
0.031349554657936096,
0.0066319736652076244,
-0.029981955885887146,
-0.09797612577676773,
-0.02246016636490822,
0.02929815649986267,
0.02111010253429413,
0.08984066545963287,
0.0016952516743913293,
0.0007731092628091574,
0.05267005413770676,
0.06343550980091095,
0.008556254208087921,
-0.014000345952808857,
0.011510616168379784,
-0.027825359255075455,
0.00882802065461874,
-0.008017105050384998,
-0.00577284162864089,
0.01464031171053648,
-0.006916889920830727,
-0.015455610118806362,
-0.05649231746792793,
-0.04095780476927757,
-0.02423103153705597,
0.05238952115178108,
-0.02985922247171402,
-0.01723524183034897,
0.005010142456740141,
-0.01879570633172989,
-0.01842750608921051,
-0.008017105050384998,
0.03348861634731293,
-0.0067284065298736095,
0.07083456218242645,
-0.04656846448779106,
0.022021833807229996,
0.007648905273526907,
0.012886980548501015,
0.03797714412212372,
0.002827245742082596,
0.012781781144440174,
0.03639914467930794,
-0.049514058977365494,
-0.018515173345804214,
0.0009900839067995548,
-0.005036442540585995,
0.035557545721530914,
-0.009546886198222637,
0.024160897359251976,
-0.05666764825582504,
-0.0038748609367758036,
-0.022793300449848175,
-0.04165913909673691,
-0.02949102222919464,
0.006592523772269487,
0.016428709030151367,
0.023985564708709717,
-0.014701678417623043,
-0.004295660182833672,
-0.07420095801353455,
-0.031069021672010422,
0.0135883130133152,
-0.01606927625834942,
0.044289134442806244,
-0.04670873284339905,
0.016437476500868797,
0.03101642057299614,
-0.010616417974233627,
0.03275221958756447,
0.02188156731426716,
0.014429911971092224,
-0.07595428824424744,
0.007044006139039993,
0.002494113054126501,
0.010213151574134827,
-0.05722871422767639,
0.03476854786276817,
0.021390635520219803,
0.02638762816786766,
0.050881657749414444,
-0.020706836134195328,
-0.029140356928110123,
0.061366576701402664,
0.0988878533244133,
0.016165709123015404,
-0.028386425226926804,
-0.06932669878005981,
0.06515377014875412,
0.033628884702920914,
0.026264894753694534,
0.001477181096561253,
-0.018497640267014503,
-0.014850711449980736,
-0.04912832751870155,
-0.0013051355490460992,
-0.04130847379565239,
-0.057333916425704956,
0.04109807312488556,
-0.03546988219022751,
-0.03552247956395149,
0.013956512324512005,
0.039660342037677765,
0.0014782770304009318,
0.0003772400668822229,
0.002965320600196719,
-0.02407323196530342,
0.034821148961782455,
0.0538623221218586,
0.04190460592508316,
0.045025534927845,
0.00863077025860548,
-0.025563562288880348,
-0.005216158926486969,
0.018918437883257866,
-0.046077530831098557,
0.017314141616225243,
0.029350757598876953,
-0.0017029225127771497,
0.02617722749710083,
-0.012106749229133129,
-0.041974738240242004,
0.001410335418768227,
0.031332019716501236,
-0.004571809899061918,
0.0027680709026753902,
-0.01513124443590641,
0.019707437604665756,
0.015490677207708359,
0.006263773888349533,
-0.02579149603843689,
0.03836287558078766,
0.007469188887625933,
0.011247617192566395,
0.049759525805711746,
-0.0037850027438253164,
-0.023003699257969856,
-0.007092223037034273,
-0.02039123699069023,
-0.02111010253429413,
0.007526172325015068,
0.012247015722095966,
-0.004633176606148481,
0.010818050242960453,
0.015455610118806362,
-0.042360469698905945,
-0.004922476131469011,
-0.02111010253429413,
0.030297555029392242,
-0.009450452402234077,
0.01085311733186245,
0.0205841027200222,
-0.07434122264385223,
0.008771036751568317,
-0.022635499015450478,
0.019479503855109215,
0.012948347255587578,
0.0757438912987709,
0.009844952262938023,
0.02791302464902401,
-0.028456557542085648,
0.01482441183179617,
0.004225526936352253,
-0.015175078064203262,
-0.03994087502360344,
-0.015753677114844322,
-0.021776366978883743,
0.051898591220378876,
0.01123008318245411,
0.015166310593485832,
-0.01094078365713358,
-0.013018480502068996,
0.07939081639051437,
0.021986767649650574,
0.00703085632994771,
0.024581696838140488,
0.023582298308610916,
-0.0453411340713501,
0.0048391930758953094,
0.021180234849452972,
-0.0016360767185688019,
-0.06294457614421844,
-0.027842892333865166,
0.04029154032468796,
-0.05063619092106819,
0.017717408016324043,
0.03902914375066757,
-0.018480105325579643,
0.010642717592418194,
0.06396150588989258,
-0.013903913088142872,
0.06515377014875412,
0.07791801542043686,
0.020233437418937683,
0.02658049389719963,
-0.0267733596265316,
0.0008662549662403762,
0.02193416841328144,
0.035399746149778366,
-0.021986767649650574,
-0.061576977372169495,
0.006373357493430376,
0.0557909831404686,
0.021285435184836388,
0.0414838045835495,
0.018515173345804214,
-0.01592024229466915,
-0.052073922008275986,
0.020426303148269653,
-0.021653635427355766,
0.008407221175730228,
-0.02773769199848175,
-0.04172927141189575,
-0.06066524237394333,
0.001203223248012364,
-0.06441736966371536,
0.030735887587070465,
-0.03506661579012871,
0.05778978019952774,
-0.014272112399339676,
-0.0225127674639225,
-0.006978256162256002,
-0.041974738240242004,
-0.05484418570995331,
-0.03234895318746567,
0.009441685862839222,
0.04127340391278267,
-0.009152386337518692,
-0.007635755464434624,
-0.011519382707774639,
-0.013632146641612053,
0.025370696559548378,
-0.006807306781411171,
-0.031156687065958977,
0.003530769841745496,
-0.024143364280462265,
-0.011677183210849762,
-0.04018634185194969,
-0.040221408009529114,
0.03699528053402901,
0.11698222905397415,
0.04653339833021164,
0.050495926290750504,
0.026019427925348282,
-0.040431808680295944,
-0.057719647884368896,
-0.021583501249551773,
0.0508115254342556,
0.062173109501600266,
-0.03206842020153999,
-0.01725277490913868,
0.04460473358631134,
0.007780405227094889,
-0.012492481619119644,
0.053055789321660995,
0.02849162369966507,
0.006057757884263992,
0.02168870158493519,
-0.06494337320327759,
-0.013263947330415249,
-0.03776674345135689,
0.018129440024495125,
-0.07307882606983185,
-0.04127340391278267,
0.07875961810350418,
0.021390635520219803,
0.002404254861176014,
-0.03671474754810333,
-0.05042579397559166,
-0.012404815293848515,
0.01997043751180172,
-0.050004992634058,
-0.03378668427467346,
0.017778772860765457,
0.0023582298308610916,
0.08219614624977112,
0.027422092854976654,
0.008788570761680603,
0.032717153429985046,
0.03198075294494629,
-0.0291052907705307,
0.02658049389719963,
-0.01825217343866825,
0.06631097197532654,
-0.006759089883416891,
-0.006368973758071661,
0.06483817100524902,
0.044534601271152496,
-0.02309136651456356,
0.04011620581150055,
-0.04730486497282982,
0.0036951445508748293,
-0.032489217817783356,
-0.0030792870093137026,
0.0008870757883414626,
-0.02189910039305687,
0.052845388650894165,
0.030946288257837296,
0.039239540696144104,
-0.04271113872528076,
0.007894371636211872,
-0.05919244512915611,
0.013509413227438927,
0.06852016597986221,
-0.014964678324759007,
-0.031104087829589844,
0.0562819167971611,
0.03485621511936188,
0.024090765044093132,
-0.02658049389719963,
0.0341724157333374,
-0.006364590488374233,
0.02154843509197235,
-0.025493429973721504,
0.02344203181564808,
0.008345854468643665,
0.017515774816274643,
-0.021864034235477448,
0.058631379157304764,
-0.05522991716861725,
-0.020215904340147972,
-0.05666764825582504,
-0.013316546566784382,
-0.019111305475234985,
0.03273468464612961,
0.003322561737149954,
0.017016075551509857,
-0.0011845941189676523,
-0.007363989017903805,
-0.009564419277012348,
0.018515173345804214,
-0.005356425419449806,
0.023038765415549278,
-0.04863739386200905,
0.00504520907998085,
-0.05971844494342804,
-0.041764337569475174,
-0.026598026975989342,
-0.02968388982117176,
-0.05154792219400406,
0.07925055176019669,
-0.010502451099455357,
-0.011510616168379784,
-0.043517667800188065,
0.016253376379609108,
0.06248870864510536,
0.009660852141678333,
0.00795135460793972,
0.021443234756588936,
-0.03527701646089554,
0.02209196798503399,
-0.030017022043466568,
0.04327220097184181,
0.016034210100769997,
-0.0007539322250522673,
0.00010773395479191095,
0.0524245910346508,
-0.0011265149805694818,
-0.038292743265628815,
-0.049338728189468384,
0.0345756821334362,
0.011624583043158054,
-0.0238803643733263,
0.045656733214855194,
0.02132050134241581,
-0.016639109700918198,
0.0051854755729436874,
-0.02503756247460842,
-0.012273315340280533,
0.018550239503383636,
-0.0035636448301374912,
-0.016025442630052567,
-0.08766653388738632,
-0.006951956544071436,
-0.043938469141721725,
-0.042360469698905945,
-0.0170862078666687,
0.0365043468773365,
0.002089751185849309,
0.025125229731202126,
0.005242459010332823,
0.0546688511967659,
-0.08899907022714615,
0.029526090249419212,
-0.013675980269908905,
-0.010318350978195667,
0.0011122692376375198,
0.02987675555050373,
0.06631097197532654,
-0.051898591220378876,
0.03103395365178585,
0.020776968449354172,
0.022740699350833893,
0.009906318970024586,
-0.04635806381702423,
-0.022442633286118507,
-0.05039072409272194,
-0.01339544728398323,
-0.04891792684793472,
-0.02445896342396736,
-0.0014432104071602225,
0.0016667600721120834,
-0.013789946213364601,
0.0166829414665699,
0.019356772303581238,
-0.011370349675416946,
-0.013123680837452412,
-0.02947348915040493,
-0.05309085547924042,
-0.04558660089969635,
0.01689334213733673,
0.062138043344020844,
-0.0403616726398468,
0.01976003684103489,
-0.025440828874707222,
0.019479503855109215,
0.051127124577760696,
0.004672626499086618,
0.00640404038131237,
-0.023126432672142982,
-0.005799141246825457,
-0.007745338603854179,
0.082967609167099,
0.07693615555763245,
-0.043517667800188065,
0.026054494082927704,
-0.01956717111170292,
-0.07237749546766281,
-0.024213498458266258,
0.033839281648397446,
0.027825359255075455,
0.022547833621501923,
-0.011843749321997166,
-0.0011867857538163662,
0.06802923232316971,
0.0664161667227745,
0.02712402679026127,
-0.0813545435667038,
0.05140765756368637,
-0.07932068407535553,
-0.04481513425707817,
0.0453411340713501,
0.003467211499810219,
0.0620679073035717,
-0.017577141523361206,
0.015183844603598118,
0.024757029488682747,
-0.0565975159406662,
-0.021197767928242683,
-0.0098887849599123,
-0.01386007945984602,
0.04243060573935509,
0.016411175951361656,
0.023582298308610916,
0.04965432733297348,
0.015271510928869247,
-0.05347658693790436,
-0.01725277490913868,
0.051898591220378876,
0.034049682319164276,
-0.00012752741167787462,
-0.03471595048904419,
0.03717061132192612,
0.005259992089122534,
-0.033243149518966675,
-0.03685501217842102,
-0.006789773236960173,
0.025703828781843185,
-0.03710047900676727,
-0.0013270522467792034,
0.09145373106002808,
-0.03741607815027237,
0.03717061132192612,
-0.00032792764250189066,
0.049724459648132324,
-0.024160897359251976,
-0.0014092396013438702,
-0.07293856143951416,
-0.011826216243207455,
-0.04881272837519646,
-0.047024331986904144,
0.013675980269908905,
0.0037170611321926117,
-0.05316098779439926,
-0.02928062342107296,
0.005562441889196634,
-0.010782984085381031,
0.008468587882816792,
0.06315497308969498,
0.025440828874707222,
0.11347556859254837,
0.09334732592105865,
-0.07567375153303146,
0.006281307432800531,
-0.024581696838140488,
-0.016604041680693626,
-0.054002586752176285,
-0.05842098221182823,
0.03962527588009834,
-0.05358178913593292,
0.006522390525788069,
0.03667967766523361,
-0.006732790265232325,
0.018164506182074547,
0.019847704097628593,
-0.05778978019952774,
0.021250369027256966,
-0.003723636269569397,
0.00010848733654711396,
-0.010879416950047016,
-0.0066714235581457615,
0.05337138846516609,
-0.000502438866533339,
0.0628744438290596,
0.029350757598876953,
0.01787520758807659,
0.02324916608631611,
-0.03469841554760933,
0.05642218515276909,
0.05936777964234352,
-0.0063426741398870945,
-0.010125485248863697,
-0.006390890572220087,
-0.008556254208087921,
-0.004037044011056423,
0.032296352088451385,
-0.004254018887877464,
-0.014596478082239628,
-0.018743105232715607,
-0.0065048569813370705,
0.005452858749777079,
-0.001413622871041298,
-0.03589067980647087,
0.019707437604665756,
0.01821710728108883,
0.023319298401474953,
0.03853821009397507,
0.0741308256983757,
0.015657244250178337,
-0.06855523586273193,
0.009371552616357803,
0.03469841554760933,
-0.002579587744548917,
0.03294508531689644,
0.03720567747950554,
0.04193967208266258,
0.005878041498363018,
-0.08303774148225784,
-0.048181530088186264,
0.015429310500621796,
0.0341724157333374,
0.010660250671207905,
-0.002798754256218672,
-0.011870048940181732,
-0.017945339903235435,
0.03322561830282211,
0.08444041013717651,
-0.017708640545606613,
-0.024581696838140488,
-0.0043833269737660885,
-0.04425406828522682,
0.026861026883125305,
0.029350757598876953,
-0.016192009672522545,
-0.058491114526987076,
0.009993985295295715,
-0.010046585462987423,
0.02871955744922161,
-0.048602327704429626,
0.005781608168035746,
0.03303275257349014,
0.030122222378849983,
0.05210898816585541,
-0.03583807870745659,
-0.008749120868742466,
-0.0028075207956135273,
-0.0322437509894371,
-0.05060112476348877,
0.03748621046543121,
0.04078247398138046,
-0.0582105815410614,
0.07875961810350418,
-0.028456557542085648,
-0.01923403888940811,
-0.0678538978099823,
-0.0311917532235384,
0.03815247863531113,
0.005628191865980625,
0.057509247213602066,
-0.004102793987840414,
-0.014806877821683884,
-0.0012733564944937825,
-0.056176718324422836,
0.04232540354132652,
-0.006820456590503454,
0.021565968170762062,
0.0620679073035717,
0.0414838045835495,
0.0006903739995323122,
-0.0005627095815725625,
-0.010125485248863697,
0.02307383343577385,
0.018146973103284836,
-0.0009057049173861742,
-0.03045535460114479,
0.045306067913770676,
0.0023735715076327324,
-0.029789090156555176,
0.005001375917345285,
0.03531208261847496,
0.0373108796775341,
-0.014596478082239628,
-0.04386833682656288,
0.050741393119096756,
-0.05119725689291954,
0.00978358555585146,
-0.005606275051832199,
-0.038292743265628815,
-0.03045535460114479,
-0.048602327704429626,
-0.02756235934793949,
-0.017910273745656013,
-0.017217708751559258,
0.04246567189693451,
0.06133151054382324,
-0.0013654063222929835,
-0.053020723164081573,
-0.020619168877601624,
0.0045674266293644905,
-0.006263773888349533,
0.0003424473979976028,
-0.08002201467752457,
0.03660954535007477,
-0.03340094909071922,
-0.053827252238988876,
0.021986767649650574,
-0.0384330116212368,
0.0414838045835495,
0.010555051267147064,
0.02928062342107296,
-0.026457760483026505,
-0.0461476668715477,
0.014473745599389076,
-0.008056554943323135,
0.04225527122616768,
-0.0047296094708144665,
-0.06245364248752594,
-0.06869550049304962,
-0.0005049044848419726,
-0.0019133221358060837,
0.022775765508413315,
0.0162796750664711,
0.023810232058167458,
-0.03196321800351143,
0.004346068482846022,
-0.04306180402636528,
-0.0035899446811527014,
-0.003134078811854124,
-0.050004992634058,
0.019479503855109215,
-0.005400258582085371,
-0.011168716475367546,
-0.05561565235257149,
-0.05926257744431496,
-0.040221408009529114,
-0.031332019716501236,
0.005917491391301155,
-0.05221419036388397,
-0.05291552096605301,
0.04909326136112213,
-0.018760638311505318,
-0.022232234477996826,
0.010949550196528435,
-0.04635806381702423,
-0.09783585369586945,
-0.005242459010332823,
-0.030911220237612724,
-0.023599831387400627,
-0.014088012278079987,
-0.046077530831098557,
0.03980060666799545,
-0.028807224705815315,
-0.017787540331482887,
0.04867246001958847,
-0.03008715622127056,
-0.00805217120796442,
0.03755634278059006,
-0.038678474724292755,
0.050881657749414444,
0.028421491384506226,
0.04232540354132652,
-0.0016119685024023056,
0.01862037181854248,
-0.03008715622127056,
0.019847704097628593,
-0.018515173345804214,
-0.016411175951361656,
0.03161255270242691,
-0.05971844494342804,
-0.008810486644506454,
-0.09979958832263947,
-0.011396650224924088,
0.028176024556159973,
0.019654838368296623,
-0.039274606853723526,
0.04541126638650894,
0.0015243019443005323,
-0.04576193168759346,
0.02887735702097416,
0.04481513425707817,
-0.042956601828336716,
-0.019041171297430992,
0.028000691905617714,
-0.02154843509197235,
-0.08163508027791977,
0.015262744389474392,
-0.034435417503118515,
-0.017752474173903465,
-0.07097482681274414,
-0.01570107601583004,
-0.0017281266627833247,
-0.030350156128406525,
-0.01612187549471855,
-0.010555051267147064,
-0.03411981463432312,
0.010756684467196465,
0.029929356649518013,
-0.019724970683455467,
0.05056605860590935,
0.042956601828336716,
0.022407567128539085,
-0.017349207773804665,
-0.026861026883125305,
0.028053291141986847,
0.047795794904232025,
0.04597233235836029,
-0.004192652180790901,
0.03582054749131203,
0.05810537934303284,
0.0006837989785708487,
-0.04551646485924721,
0.0840897411108017,
0.0038880109786987305,
-0.044289134442806244,
-0.07904014736413956,
-0.006044607609510422,
-0.032261285930871964,
-0.002722045872360468,
0.07079949229955673,
0.006237474270164967,
0.020215904340147972,
0.019514571875333786
] |
710,336
|
js2py.internals.simplex
|
JsException
| null |
class JsException(Exception):
def __init__(self, typ=None, message=None, throw=None):
if typ is None and message is None and throw is None:
# it means its the trasnlator based error (old format), do nothing
self._translator_based = True
else:
assert throw is None or (typ is None
and message is None), (throw, typ,
message)
self._translator_based = False
self.typ = typ
self.message = message
self.throw = throw
def get_thrown_value(self, space):
if self.throw is not None:
return self.throw
else:
return space.NewError(self.typ, self.message)
def __str__(self):
if self._translator_based:
if self.mes.Class == 'Error':
return self.mes.callprop('toString').value
else:
return self.mes.to_string().value
else:
if self.throw is not None:
from .conversions import to_string
return to_string(self.throw)
else:
return self.typ + ': ' + self.message
|
(typ=None, message=None, throw=None)
|
[
-0.02148987166583538,
-0.021542714908719063,
0.014981258660554886,
0.03318599984049797,
-0.0004491735599003732,
-0.03938635438680649,
-0.02747885324060917,
0.049003954976797104,
0.061827417463064194,
-0.03596911206841469,
0.06284906715154648,
0.017931712791323662,
0.026263441890478134,
-0.018636299297213554,
-0.06535034626722336,
0.030649488791823387,
0.042627450078725815,
0.0375896617770195,
0.0098642036318779,
-0.044142309576272964,
-0.045375335961580276,
-0.03931589797139168,
0.022317759692668915,
0.04819367825984955,
0.017050979658961296,
0.01775556616485119,
0.03551113232970238,
0.027690228074789047,
0.03892837464809418,
-0.06341273337602615,
-0.049990374594926834,
-0.07405198365449905,
-0.018442537635564804,
0.025946378707885742,
-0.02911701425909996,
-0.01583557017147541,
-0.05647256597876549,
-0.04305020347237587,
-0.12259795516729355,
-0.017191898077726364,
-0.05013129115104675,
0.05555660277605057,
-0.05953751504421234,
-0.032305266708135605,
0.03207627683877945,
-0.04231038689613342,
-0.010207689367234707,
0.08497306704521179,
-0.07264281064271927,
-0.025136103853583336,
0.00025527479010634124,
0.0033643979113548994,
0.006266411393880844,
-0.0214370284229517,
-0.04868688806891441,
0.07827950268983841,
0.026104910299181938,
0.06320136040449142,
-0.04921532794833183,
0.020362533628940582,
-0.01971079222857952,
0.03544067218899727,
-0.00005232789408182725,
0.015773918479681015,
-0.023110419511795044,
0.015421625226736069,
-0.03471847251057625,
-0.03751920163631439,
-0.009080351330339909,
0.006587878800928593,
0.04956762120127678,
0.02471335232257843,
-0.006314851809293032,
0.05552137270569801,
0.047559551894664764,
-0.024924729019403458,
-0.09251213818788528,
0.003945681266486645,
-0.00963521283119917,
0.020133543759584427,
0.034471869468688965,
0.00612989766523242,
-0.05397128313779831,
-0.02141941338777542,
0.06327182054519653,
-0.015404010191559792,
-0.05534522607922554,
-0.024290600791573524,
-0.06616061925888062,
-0.0000488531295559369,
-0.0888482928276062,
-0.05435880646109581,
-0.06513897329568863,
0.0001722932793200016,
-0.02707371488213539,
-0.004447699058800936,
0.0486164316534996,
-0.0671822726726532,
0.05154046416282654,
0.03140692040324211,
0.058269258588552475,
0.04974376782774925,
-0.030579030513763428,
-0.03980910778045654,
0.02307518944144249,
0.00903631467372179,
0.023357024416327477,
-0.01826639100909233,
0.043543413281440735,
-0.016108596697449684,
-0.013387133367359638,
0.0012484382605180144,
-0.025083260610699654,
0.0009209158597514033,
0.07341785728931427,
-0.025646928697824478,
-0.011449521407485008,
0.0016447678208351135,
0.031900130212306976,
0.01867152750492096,
0.05869201198220253,
0.005949347745627165,
-0.053266700357198715,
0.05192798376083374,
0.06654814630746841,
-0.024942342191934586,
0.01560657937079668,
-0.039985254406929016,
0.04424799978733063,
0.010049156844615936,
0.0014047682052478194,
0.0031772423535585403,
0.008521086536347866,
-0.030860865488648415,
-0.008322921581566334,
0.05988980829715729,
-0.09089159220457077,
-0.016777953132987022,
-0.04121827706694603,
-0.00004045864625368267,
0.025928763672709465,
0.047559551894664764,
0.012541630305349827,
-0.02413206920027733,
-0.030350040644407272,
-0.006438154261559248,
0.013598509132862091,
-0.02760215476155281,
-0.02413206920027733,
0.027108944952487946,
0.022987116128206253,
-0.01015484519302845,
-0.012964381836354733,
-0.0011405484983697534,
-0.008706040680408478,
-0.02550601214170456,
-0.006781639996916056,
-0.013871535658836365,
0.0017746759112924337,
0.020802900195121765,
-0.0002248620003229007,
-0.05671916902065277,
0.06313090026378632,
0.008388976566493511,
0.03383773937821388,
0.021806934848427773,
0.05883292853832245,
-0.0023273355327546597,
-0.040126170963048935,
0.016592999920248985,
-0.04921532794833183,
-0.004733936861157417,
-0.037977185100317,
0.030808020383119583,
-0.034278105944395065,
0.03278086334466934,
-0.021718861535191536,
0.08342298120260239,
0.02043299376964569,
-0.009661635383963585,
0.04928578808903694,
-0.035863425582647324,
-0.02490711398422718,
0.016566578298807144,
0.013166950084269047,
0.010057964362204075,
-0.021930238232016563,
0.01471703965216875,
0.03713167831301689,
0.018354464322328568,
0.02057391032576561,
0.015870798379182816,
0.0284652728587389,
0.04037277400493622,
0.01612621173262596,
0.022071154788136482,
-0.0008653196273371577,
-0.04555148258805275,
0.028042521327733994,
0.05101202428340912,
-0.058656781911849976,
0.06506851315498352,
0.007917785085737705,
-0.031054625287652016,
0.004857239313423634,
-0.002512289211153984,
0.007662372197955847,
-0.024871883913874626,
-0.01008438691496849,
-0.02865903452038765,
-0.049919914454221725,
-0.025911148637533188,
-0.02557647041976452,
0.058269258588552475,
0.060242097824811935,
-0.06066485121846199,
0.001050273422151804,
0.0033379760570824146,
0.054394036531448364,
0.045375335961580276,
0.06735841929912567,
-0.01819593273103237,
0.001082750502973795,
-0.019428957253694534,
0.008124756626784801,
0.014831534586846828,
-0.042028553783893585,
-0.004967330954968929,
-0.012339062057435513,
-0.026175368577241898,
-0.013986031524837017,
0.0073056756518781185,
0.0073849414475262165,
-0.008785306476056576,
0.0017460520612075925,
0.008243655785918236,
0.03137169033288956,
-0.05418265983462334,
0.027426008135080338,
-0.02695041336119175,
0.01696290634572506,
-0.012083649635314941,
-0.0271441750228405,
0.05640210583806038,
0.06852098554372787,
0.005271183792501688,
0.018319234251976013,
0.060700081288814545,
-0.074404276907444,
0.0014950432814657688,
-0.004240726586431265,
0.022370604798197746,
0.0022040328476577997,
-0.053337156772613525,
-0.024079225957393646,
-0.022071154788136482,
0.0478413850069046,
-0.002598160644993186,
0.03635663539171219,
0.01602932997047901,
0.02129611000418663,
-0.05703623220324516,
0.024730967357754707,
0.028447657823562622,
-0.0021049506030976772,
-0.0478413850069046,
-0.017050979658961296,
0.06542080640792847,
0.08116830140352249,
0.055239539593458176,
0.07419290393590927,
0.0009198149782605469,
-0.015263093635439873,
0.021313725039362907,
-0.02332179620862007,
-0.021243266761302948,
-0.053266700357198715,
0.03214673325419426,
-0.002115959767252207,
0.004504946526139975,
-0.026210596784949303,
-0.021049505099654198,
0.01216291543096304,
0.0008333930745720863,
-0.011176494881510735,
0.013924379833042622,
0.04171149060130119,
-0.07377015054225922,
-0.024396289139986038,
0.033943429589271545,
0.019992627203464508,
0.009740901179611683,
-0.052879177033901215,
-0.00029284352785907686,
-0.015694651752710342,
0.0167955681681633,
-0.01277942769229412,
-0.024343444034457207,
0.023445097729563713,
-0.031001782044768333,
0.0531257800757885,
0.01038383599370718,
0.062144480645656586,
0.002159996423870325,
-0.05108248069882393,
-0.07560207694768906,
-0.026774266734719276,
0.0002884398854803294,
-0.024554820731282234,
0.014118141494691372,
-0.008208426646888256,
-0.0037431130185723305,
-0.00962640531361103,
0.03568727895617485,
0.0233394093811512,
0.06552649289369583,
0.03811810165643692,
-0.040725067257881165,
0.026932798326015472,
0.06401163339614868,
0.012180529534816742,
-0.040654610842466354,
0.034665629267692566,
-0.02642197348177433,
-0.009388607926666737,
-0.038470394909381866,
-0.02057391032576561,
0.020274460315704346,
0.031142698600888252,
-0.008904204703867435,
-0.0060594393871724606,
-0.029751142486929893,
-0.0069930157624185085,
-0.03702599182724953,
0.01886528916656971,
-0.04188763350248337,
0.02767261303961277,
-0.04431845620274544,
-0.006940171588212252,
0.011141265742480755,
0.04206378012895584,
-0.062074024230241776,
-0.03352067619562149,
0.021084735170006752,
-0.04541056603193283,
-0.022828584536910057,
0.020785285159945488,
-0.016848411411046982,
0.018178317695856094,
0.02312803454697132,
-0.06140466779470444,
0.013246215879917145,
0.016117403283715248,
0.015518506057560444,
-0.03491223603487015,
-0.035458289086818695,
-0.003428251016885042,
-0.05816357210278511,
0.002924031810835004,
-0.017746759578585625,
0.04530487582087517,
-0.004703111480921507,
-0.02925793267786503,
0.011317412368953228,
-0.07574298977851868,
-0.022511521354317665,
0.06749933212995529,
-0.027426008135080338,
0.002675224794074893,
0.028606189414858818,
0.03003297746181488,
-0.04280359670519829,
-0.00724842818453908,
-0.019763635471463203,
-0.05488724634051323,
0.034542325884103775,
0.023621244356036186,
0.022793356329202652,
-0.04375478997826576,
-0.050518814474344254,
0.02753169648349285,
-0.006926960777491331,
-0.04639698565006256,
0.007702005095779896,
0.03515883907675743,
0.02175409160554409,
0.05094156414270401,
-0.029169859364628792,
-0.02747885324060917,
0.05671916902065277,
-0.04819367825984955,
-0.05104725435376167,
0.03234049677848816,
0.011317412368953228,
-0.02820105291903019,
-0.01019007433205843,
0.012638510204851627,
0.03931589797139168,
-0.006834483705461025,
0.06503328680992126,
0.007970628328621387,
0.02050345204770565,
0.0203096903860569,
0.05784650892019272,
-0.014100526459515095,
0.011537594720721245,
0.008644388988614082,
0.008750077337026596,
0.0026796285528689623,
0.020873358473181725,
0.012198144569993019,
-0.027249861508607864,
-0.08173197507858276,
-0.05897384509444237,
0.008217234164476395,
0.026985641568899155,
-0.01872437261044979,
-0.01925281062722206,
-0.06323658674955368,
0.0017493548803031445,
-0.03995002433657646,
0.015729881823062897,
0.02168363332748413,
0.0004398157761897892,
-0.007908977568149567,
-0.04146488383412361,
-0.059713661670684814,
0.02175409160554409,
0.006438154261559248,
0.024730967357754707,
0.04963808134198189,
-0.012867501005530357,
0.02069721184670925,
-0.09060975164175034,
0.016055753454566002,
-0.04343772307038307,
-0.08130922168493271,
-0.023039961233735085,
0.016760338097810745,
0.030209122225642204,
0.004487331956624985,
0.049391474574804306,
0.01489318534731865,
0.04720725864171982,
0.004313386976718903,
-0.06263769418001175,
0.021983081474900246,
0.062144480645656586,
-0.05309055373072624,
-0.02536509372293949,
0.030790407210588455,
0.056155502796173096,
0.038752228021621704,
-0.049391474574804306,
0.029169859364628792,
-0.03433094918727875,
-0.017042173072695732,
-0.015544927679002285,
0.038153328001499176,
0.03790672495961189,
-0.015368781052529812,
0.012647317722439766,
0.008701636455953121,
-0.016548963263630867,
-0.07856133580207825,
0.012074842117726803,
0.06397640705108643,
-0.002877793274819851,
-0.009714478626847267,
0.006742007099092007,
-0.016610613092780113,
0.03741351515054703,
-0.03193536028265953,
-0.018231160938739777,
-0.004401460289955139,
0.008010261692106724,
0.025453167036175728,
-0.027690228074789047,
0.020626753568649292,
0.00552219245582819,
-0.009353378787636757,
-0.03108985535800457,
0.04107736051082611,
-0.01571226678788662,
-0.01583557017147541,
0.013845114037394524,
0.006913749501109123,
-0.022123999893665314,
0.07926592230796814,
0.028253896161913872,
0.0022612805478274822,
0.027179403230547905,
-0.04579808562994003,
0.0364270955324173,
-0.004419074859470129,
-0.005843659862875938,
-0.0629899874329567,
-0.002303115325048566,
-0.057811278849840164,
-0.007644757628440857,
0.025735002011060715,
-0.06200356408953667,
-0.015553735196590424,
-0.034013886004686356,
0.055239539593458176,
-0.06573787331581116,
0.05065973103046417,
0.05626118928194046,
0.037624891847372055,
-0.053795136511325836,
-0.03903406113386154,
0.07574298977851868,
-0.013757040724158287,
0.029064171016216278,
-0.009784937836229801,
-0.07553161680698395,
-0.037765808403491974,
0.016786759719252586,
0.019622718915343285,
0.04245130345225334,
0.017632262781262398,
0.000350916845491156,
0.023744547739624977,
-0.012893922626972198,
-0.04181717708706856,
0.031001782044768333,
-0.024202527478337288,
-0.008578334003686905,
0.027654998004436493,
0.06281384080648422,
-0.02483665570616722,
0.007015034090727568,
0.011581631377339363,
0.005759990308433771,
-0.015888413414359093,
0.01578272506594658,
-0.0017427493585273623,
0.04607992246747017,
0.000018595152141642757,
-0.02194785326719284,
0.00364843406714499,
0.04297974333167076,
-0.06520943343639374,
-0.002886600559577346,
0.02340986765921116,
-0.05238596722483635,
-0.01425905805081129,
0.00962640531361103,
-0.06432870030403137,
-0.0015412818174809217,
0.011229339055716991,
-0.0007838518940843642,
0.03931589797139168,
0.008957048878073692,
0.0032454989850521088,
-0.013246215879917145,
0.006513016298413277,
0.05108248069882393,
0.03748397156596184,
0.019622718915343285,
0.0040161400102078915,
0.013510435819625854,
0.0040579745545983315,
-0.05013129115104675,
-0.08173197507858276,
0.047418635338544846,
0.018090244382619858,
0.02682710997760296,
-0.038223788142204285,
0.001501648803241551,
0.008142371661961079,
0.07947729527950287,
0.047947075217962265,
0.008855764754116535,
0.03241095319390297,
0.04375478997826576,
-0.01400364562869072,
0.05337238684296608,
0.0410069040954113,
0.01946418732404709,
0.020855745300650597,
0.008190811611711979,
-0.0508711077272892,
-0.03942158445715904,
-0.0003195407334715128,
0.04171149060130119,
-0.03864654153585434,
0.005940540228039026,
0.012074842117726803,
0.024889498949050903,
-0.04174671694636345,
-0.012030805461108685,
0.014082911424338818,
-0.0023845830000936985,
0.050976794213056564,
0.06926079839468002,
0.03419003263115883,
-0.029011327773332596,
-0.025787845253944397,
-0.038611311465501785,
-0.02319849282503128,
0.01277942769229412,
0.013351904228329659,
-0.02798967808485031,
0.07708170264959335,
0.036250948905944824,
-0.009106773883104324,
0.026985641568899155,
-0.001827519852668047,
0.02707371488213539,
0.045657169073820114,
-0.021648403257131577,
-0.029698297381401062,
-0.04079552739858627,
-0.019798865541815758,
-0.005332835018634796,
-0.024660509079694748,
-0.004295772407203913,
-0.01426786556839943,
0.020538680255413055,
0.03734305500984192,
-0.0010717413388192654,
-0.0432615764439106,
-0.0007833014242351055,
0.0020983449649065733,
0.0019376113777980208,
0.005456137470901012,
0.019816480576992035,
-0.06496282666921616,
-0.06045347452163696,
-0.012013190425932407,
0.017191898077726364,
0.03547590225934982,
-0.107801653444767,
-0.07236097753047943,
0.07503840327262878,
0.02629867009818554,
0.007631546817719936,
0.04114782065153122,
0.06658337265253067,
0.013246215879917145,
-0.00027206377126276493,
-0.06358888000249863,
0.029328390955924988,
-0.04431845620274544,
0.03674415871500969,
0.008102738298475742,
-0.052808716893196106,
0.03773057833313942,
-0.021595560014247894,
0.003917057532817125,
0.06404686719179153,
-0.026598120108246803,
-0.0333973728120327,
-0.005073018837720156,
0.013061262667179108,
0.0006247696001082659,
-0.020274460315704346,
0.00923888385295868,
0.055380456149578094,
0.007340904790908098,
0.01011961605399847,
-0.009873011149466038,
-0.05738852545619011,
0.05809311196208,
0.003961094189435244,
0.008728059008717537,
0.031900130212306976,
0.056296419352293015,
-0.04379001632332802,
-0.023286566138267517,
-0.02800729125738144,
-0.009089158847928047,
-0.027232246473431587,
-0.04692542552947998,
0.016848411411046982,
0.04160580039024353,
-0.019834095612168312,
0.004984945524483919,
-0.03193536028265953,
0.0017966942396014929,
0.01587960682809353,
-0.08518444001674652,
-0.0012330254539847374,
-0.07870224863290787,
0.02858857624232769,
0.04086598753929138,
0.05960797145962715,
-0.002205133903771639,
-0.04622083902359009,
-0.04079552739858627,
-0.049391474574804306,
-0.058410175144672394,
0.03149499371647835,
-0.0015930248191580176,
-0.05259734019637108,
0.0031530221458524466,
-0.05154046416282654,
-0.06661859899759293,
0.0546758696436882,
-0.008820535615086555,
-0.03484177589416504,
-0.029293160885572433,
-0.02990967407822609,
0.05816357210278511,
-0.0010590808233246207,
0.04956762120127678,
-0.00952952541410923,
0.05323147028684616,
-0.07042336463928223,
0.008789709769189358,
0.026122525334358215,
0.042768366634845734,
0.0005796320619992912,
-0.01334309671074152,
-0.012532822787761688,
0.043402496725320816,
0.04607992246747017,
-0.0345599427819252,
0.001784584135748446,
-0.012118878774344921,
0.005588247440755367,
0.02511848881840706,
0.0008565122843720019,
0.016416853293776512,
0.007085492368787527,
-0.03938635438680649,
-0.021507486701011658,
-0.006402925122529268,
-0.03744874522089958,
-0.03202343359589577,
0.037977185100317,
-0.02286381460726261,
0.00606384314596653,
-0.02418491244316101,
-0.045375335961580276,
-0.0014135756064206362,
0.027690228074789047,
0.0448116660118103,
0.059044305235147476,
-0.0406193807721138,
0.008001454174518585,
-0.021718861535191536,
-0.04865166172385216,
0.016566578298807144,
0.043472953140735626,
0.010947504080832005,
0.018512995913624763,
-0.02931077592074871,
0.023691702634096146,
0.024748582392930984,
-0.018689142540097237,
-0.020890973508358,
0.010568789206445217,
0.07236097753047943,
-0.06080576777458191,
-0.017464924603700638,
0.015817955136299133,
0.011916309595108032,
-0.01754419133067131,
-0.063447967171669,
0.019569875672459602,
-0.032957009971141815,
0.01051594503223896,
0.00609466852620244,
0.05929090827703476,
-0.009820166975259781,
0.03596911206841469
] |
710,337
|
js2py.internals.simplex
|
__init__
| null |
def __init__(self, typ=None, message=None, throw=None):
if typ is None and message is None and throw is None:
# it means its the trasnlator based error (old format), do nothing
self._translator_based = True
else:
assert throw is None or (typ is None
and message is None), (throw, typ,
message)
self._translator_based = False
self.typ = typ
self.message = message
self.throw = throw
|
(self, typ=None, message=None, throw=None)
|
[
-0.016670597717165947,
0.016706371679902077,
0.09079394489526749,
0.0040961019694805145,
-0.02790357545018196,
-0.05544941499829292,
-0.0032777758315205574,
0.03613155335187912,
0.03233952820301056,
-0.02073092572391033,
0.023002563044428825,
0.036113668233156204,
-0.011063052341341972,
-0.0016332982340827584,
-0.0764128714799881,
0.08020489662885666,
-0.002707630628719926,
0.0580609031021595,
-0.03158827871084213,
-0.01940729469060898,
-0.009077605791389942,
-0.04232042282819748,
-0.020265866070985794,
0.041175663471221924,
0.04768649488687515,
0.0665750727057457,
-0.021482177078723907,
-0.01680474914610386,
0.031999677419662476,
-0.05544941499829292,
-0.0113671300932765,
-0.030407743528485298,
-0.01827147603034973,
0.04024554416537285,
0.014488395303487778,
-0.00429732957854867,
-0.054948579519987106,
-0.040782149881124496,
-0.07848775386810303,
0.036882802844047546,
0.02797512337565422,
0.016384407877922058,
-0.007373877801001072,
0.010696371085941792,
-0.026579944416880608,
-0.013728201389312744,
0.015329079702496529,
0.055020127445459366,
-0.08063417673110962,
0.004775804467499256,
-0.043071672320365906,
0.023252980783581734,
0.03881458938121796,
-0.0074946144595742226,
-0.049153223633766174,
0.041282981634140015,
0.05054840072989464,
0.06342697143554688,
-0.04779381677508354,
0.03257206082344055,
-0.013933900743722916,
0.058919474482536316,
-0.013334689661860466,
0.02330664172768593,
-0.0006003293674439192,
-0.023396074771881104,
0.002515346510335803,
-0.03434286266565323,
-0.006631570868194103,
0.05351762846112251,
0.0753396525979042,
0.011268751695752144,
-0.07376560568809509,
0.046899471431970596,
0.09329810738563538,
-0.0380275659263134,
-0.04854506626725197,
0.011340299621224403,
0.026132771745324135,
0.030550839379429817,
0.025578279048204422,
0.037204768508672714,
-0.04647018760442734,
0.023592831566929817,
0.05226554349064827,
-0.009551608934998512,
-0.03967316076159477,
-0.03504045307636261,
-0.01630391553044319,
0.011241921223700047,
-0.07165495306253433,
-0.07369405776262283,
-0.018817026168107986,
-0.015346966683864594,
-0.020337413996458054,
-0.002128541935235262,
0.029745927080512047,
-0.051156558096408844,
0.023986343294382095,
0.014291639439761639,
0.013737144879996777,
0.007718200795352459,
-0.020498396828770638,
-0.055163223296403885,
0.020891908556222916,
-0.055270545184612274,
0.004458311945199966,
-0.0519435815513134,
0.035129886120557785,
0.004274970851838589,
-0.031194766983389854,
-0.02829708904027939,
-0.004337575286626816,
0.020498396828770638,
0.005196146667003632,
-0.025399409234523773,
0.006331965327262878,
-0.010767918080091476,
-0.0006713180337101221,
0.022304974496364594,
0.04400179162621498,
0.014890850521624088,
-0.05809667706489563,
0.022591164335608482,
0.047078341245651245,
-0.01609821617603302,
0.020784586668014526,
-0.06031465157866478,
0.10159763693809509,
-0.0062470026314258575,
0.036042120307683945,
-0.0062246439047157764,
0.004793691448867321,
-0.046971019357442856,
-0.06281881779432297,
0.0383853055536747,
-0.03960161283612251,
0.017421849071979523,
-0.04428798332810402,
0.00437558488920331,
0.0475076287984848,
0.04997602105140686,
-0.005612017121165991,
-0.04028131812810898,
-0.001843469450250268,
0.027742594480514526,
-0.008017806336283684,
-0.022931015118956566,
0.004717671778053045,
0.053195662796497345,
0.028440183028578758,
-0.04596935212612152,
-0.03999512642621994,
0.016572220250964165,
0.019389407709240913,
-0.039494290947914124,
-0.02895890362560749,
-0.035899024456739426,
-0.0045075006783008575,
0.036042120307683945,
0.023324526846408844,
-0.0756973922252655,
0.0604577474296093,
0.009497947990894318,
0.03173137456178665,
0.04418066143989563,
0.026544170454144478,
0.006470588967204094,
0.008608073927462101,
0.03219643235206604,
-0.06385625898838043,
-0.032804589718580246,
-0.04371560364961624,
0.005701452028006315,
-0.0021777311339974403,
0.012663930654525757,
-0.0011693566339090466,
0.04224887490272522,
-0.034700602293014526,
-0.008952396921813488,
0.034468069672584534,
-0.003347087651491165,
-0.030944351106882095,
0.04189113900065422,
0.022680599242448807,
0.00021059038408566266,
-0.005227448884397745,
0.013558275997638702,
-0.0106158796697855,
0.006958007346838713,
0.01298589538782835,
0.016652710735797882,
-0.0018881866708397865,
0.05981381982564926,
0.03570226952433586,
0.03237530216574669,
-0.006492947693914175,
-0.032214321196079254,
0.006797024980187416,
0.034468069672584534,
-0.036954350769519806,
0.056379534304142,
0.021428516134619713,
-0.041247207671403885,
0.024057891219854355,
0.0017629783833399415,
0.022269200533628464,
0.022591164335608482,
-0.03684702888131142,
-0.026436850428581238,
-0.010830522514879704,
-0.04435953125357628,
0.011358186602592468,
0.051228102296590805,
0.010061386041343212,
-0.03448595851659775,
0.0034029842354357243,
0.015874629840254784,
0.027778368443250656,
0.08292370289564133,
0.12785561382770538,
0.00939956959336996,
0.007208423689007759,
-0.02720598690211773,
0.04958250746130943,
0.04271393641829491,
0.005008334293961525,
-0.04264238849282265,
-0.020408961921930313,
0.014667264185845852,
-0.035129886120557785,
-0.013817636296153069,
-0.050977688282728195,
0.018289363011717796,
-0.014729868620634079,
-0.030389856547117233,
0.017949512228369713,
0.006577910389751196,
-0.015507949516177177,
0.000831741199363023,
0.03114110603928566,
-0.01351355854421854,
-0.06206756830215454,
0.022197652608156204,
0.04249929264187813,
-0.006072605028748512,
0.003776373341679573,
0.037168994545936584,
-0.07104679942131042,
0.01219887100160122,
-0.04428798332810402,
0.019693486392498016,
-0.03657872602343559,
-0.013871297240257263,
0.00173726596403867,
-0.02305622398853302,
0.032142773270606995,
-0.06482215225696564,
0.02432619407773018,
0.00045276235323399305,
-0.012225701473653316,
0.012485061772167683,
-0.006649457849562168,
0.059098344296216965,
0.0025086388923227787,
-0.06711167842149734,
-0.019908128306269646,
0.0005296201561577618,
0.05537786707282066,
0.027474289759993553,
0.0695800706744194,
0.03428920358419418,
-0.041318755596876144,
0.05019066482782364,
-0.02439774200320244,
-0.012663930654525757,
-0.02319931983947754,
-0.029853248968720436,
0.008925567381083965,
0.0327509269118309,
-0.012815969064831734,
0.013647710904479027,
0.03375259414315224,
-0.001462254673242569,
-0.038993459194898605,
-0.0008183260215446353,
-0.007315745111554861,
-0.027653159573674202,
-0.07076060771942139,
-0.008549941703677177,
0.005777471233159304,
0.03500467911362648,
0.0065689668990671635,
0.011805359274148941,
0.024898575618863106,
-0.00957843940705061,
-0.00009858760313363746,
-0.015427458100020885,
0.029781701043248177,
-0.07093947380781174,
0.02017643116414547,
-0.03521932289004326,
0.05620066449046135,
0.000378699362045154,
-0.030282534658908844,
-0.028171880170702934,
-0.020552057772874832,
-0.0002428706648061052,
0.04643441364169121,
-0.011143543757498264,
0.026061223819851875,
0.06582382321357727,
-0.038957685232162476,
0.01456888671964407,
0.0662173330783844,
0.07970406115055084,
0.03555917367339134,
-0.06940120458602905,
0.0143363568931818,
0.04568316414952278,
-0.009091020561754704,
-0.021178098395466805,
0.04217732697725296,
-0.05992114171385765,
-0.01770803891122341,
-0.028350748121738434,
-0.029513398185372353,
-0.0143363568931818,
0.005620960611850023,
0.02466604672372341,
-0.018924348056316376,
0.04020977020263672,
0.00804910808801651,
-0.06893613934516907,
-0.050870366394519806,
-0.033824142068624496,
0.014488395303487778,
0.009784138761460781,
-0.020408961921930313,
0.0055628283880651,
0.02133908122777939,
-0.02924509346485138,
-0.025542505085468292,
0.025542505085468292,
0.0006880869623273611,
0.01996178925037384,
-0.024683931842446327,
-0.021392742171883583,
0.047292985022068024,
0.084927037358284,
-0.04604090005159378,
0.013173707760870457,
0.009855685755610466,
0.02994268387556076,
0.010911013931035995,
-0.03620310127735138,
-0.027259647846221924,
-0.04994024708867073,
0.03001423180103302,
-0.0061575681902468204,
0.06221066415309906,
-0.007695842068642378,
-0.011393960565328598,
0.0025533561129122972,
-0.07201269268989563,
-0.005947396624833345,
0.03468271344900131,
-0.012297249399125576,
-0.04207000881433487,
0.05548518896102905,
0.00744989700615406,
-0.059420306235551834,
-0.022376522421836853,
-0.03233952820301056,
-0.03257206082344055,
0.03237530216574669,
0.0032554171048104763,
0.027492176741361618,
-0.021321194246411324,
-0.041175663471221924,
0.030318308621644974,
0.017377130687236786,
-0.010025612078607082,
0.04607667401432991,
0.0032062281388789415,
-0.022573277354240417,
0.05244441330432892,
0.07093947380781174,
0.032214321196079254,
0.06886459141969681,
-0.03938697278499603,
-0.004328631795942783,
0.06904346495866776,
-0.0808488205075264,
-0.00852311123162508,
0.025184765458106995,
-0.022609051316976547,
0.05430465191602707,
-0.03504045307636261,
-0.02116021141409874,
-0.030425630509853363,
0.008022278547286987,
-0.013281028717756271,
0.04038863629102707,
-0.008648320101201534,
0.05054840072989464,
0.008335298858582973,
0.006837270688265562,
0.016402294859290123,
0.006488475948572159,
0.030515065416693687,
-0.00783893745392561,
-0.0012576732551679015,
-0.06582382321357727,
0.006054718513041735,
-0.013236312195658684,
0.0035505511332303286,
0.008621489629149437,
-0.03784869611263275,
-0.0011006038403138518,
-0.026901910081505775,
-0.0033895689994096756,
0.047114115208387375,
0.018334081396460533,
0.08929144591093063,
0.040853697806596756,
-0.05745274946093559,
-0.0016903127543628216,
0.02611488476395607,
-0.024934349581599236,
-0.008357658050954342,
0.029620720073580742,
0.016330746933817863,
-0.06281881779432297,
0.03752673417329788,
-0.0359884575009346,
-0.04833042621612549,
-0.022340748459100723,
-0.016473842784762383,
0.021768366917967796,
0.02439774200320244,
-0.029513398185372353,
0.025882355868816376,
0.028493843972682953,
-0.007074272260069847,
-0.061030130833387375,
0.003633278189226985,
0.04364405572414398,
-0.0628545954823494,
-0.02935241535305977,
0.04035286232829094,
0.048938579857349396,
0.005911623127758503,
-0.02611488476395607,
0.025041671469807625,
-0.016572220250964165,
-0.03208911418914795,
0.008769056759774685,
0.00896134041249752,
0.029334528371691704,
-0.009046304039657116,
0.033305421471595764,
-0.05015489086508751,
-0.005124599207192659,
-0.020194318145513535,
0.04639863967895508,
0.04242774471640587,
-0.022680599242448807,
0.0035527870059013367,
-0.009864629246294498,
-0.041104115545749664,
0.0033828613813966513,
-0.020301640033721924,
0.04217732697725296,
-0.05251596122980118,
0.0067433640360832214,
0.04453840106725693,
-0.024451402947306633,
-0.03588113561272621,
-0.017699094489216805,
0.012529779225587845,
-0.0021777311339974403,
0.018369853496551514,
0.025578279048204422,
-0.034468069672584534,
-0.00014882466348353773,
-0.007025083061307669,
-0.03419976681470871,
0.04621976986527443,
0.039494290947914124,
-0.023449735715985298,
0.04353673383593559,
0.01578519679605961,
0.026579944416880608,
-0.0006970304530113935,
0.03201756626367569,
-0.05258750915527344,
-0.005822188686579466,
-0.028869468718767166,
-0.02840440906584263,
0.03978048264980316,
-0.05044107884168625,
-0.06324810534715652,
-0.0067925532348454,
0.055020127445459366,
-0.07669906318187714,
0.01718037575483322,
0.013254198245704174,
0.02840440906584263,
-0.04421643540263176,
-0.03545185178518295,
0.04375137761235237,
-0.00155504303984344,
0.024737592786550522,
-0.012207814492285252,
-0.057095009833574295,
-0.043322090059518814,
-0.02090979553759098,
-0.02217976562678814,
0.028100332245230675,
0.026418963447213173,
0.019550390541553497,
-0.031999677419662476,
-0.04811578243970871,
0.005486809182912111,
-0.00148461339995265,
0.019138991832733154,
-0.010821579024195671,
0.08285215497016907,
-0.009641042910516262,
-0.00303183076903224,
-0.059134118258953094,
-0.00954266544431448,
0.0029893494211137295,
-0.009010530076920986,
0.02917354740202427,
-0.02924509346485138,
0.016885241493582726,
-0.01506077591329813,
-0.03673970699310303,
-0.008697508834302425,
0.035094112157821655,
-0.06206756830215454,
-0.04056750610470772,
0.04364405572414398,
-0.04793691262602806,
-0.02899467758834362,
0.00198991852812469,
-0.06049352139234543,
-0.017654377967119217,
0.005097768735140562,
-0.06818488985300064,
-0.016420181840658188,
0.022644825279712677,
-0.04156917333602905,
0.018334081396460533,
0.010946787893772125,
0.03244685009121895,
0.06371316313743591,
0.012529779225587845,
-0.03232164308428764,
0.006135209463536739,
-0.006837270688265562,
-0.020480509847402573,
-0.02031952701508999,
-0.026454737409949303,
0.010535388253629208,
-0.005164844449609518,
-0.03745518624782562,
0.033305421471595764,
0.03432497754693031,
-0.021213872358202934,
0.01453311275690794,
0.061423640698194504,
0.015472175553441048,
0.047042567282915115,
0.0067657227627933025,
0.03117688000202179,
0.011063052341341972,
-0.0049367863684892654,
0.03584536164999008,
0.02745640277862549,
-0.07469572871923447,
-0.024791253730654716,
-0.023324526846408844,
-0.030640272423624992,
-0.021643158048391342,
-0.008809302002191544,
-0.006797024980187416,
0.009551608934998512,
-0.04879548400640488,
-0.007566161919385195,
0.018334081396460533,
0.03103378415107727,
0.005907151382416487,
-0.005325826816260815,
0.08650108426809311,
-0.037204768508672714,
-0.009694703854620457,
0.0025019312743097544,
-0.06185292825102806,
0.03931542485952377,
-0.017547056078910828,
0.010767918080091476,
0.028905242681503296,
-0.01589251682162285,
-0.01786007732152939,
0.03468271344900131,
-0.000568188785109669,
0.02906622551381588,
0.043107446283102036,
-0.01835196651518345,
0.006090492010116577,
-0.045182328671216965,
-0.02702711708843708,
-0.05008334293961525,
-0.029119886457920074,
0.011197204701602459,
0.04060328006744385,
0.001660128589719534,
-0.007253141142427921,
-0.06435709446668625,
-0.04875971004366875,
0.026687266305088997,
-0.04736453294754028,
0.018459288403391838,
0.0026137244421988726,
-0.06292614340782166,
-0.02527420036494732,
-0.07008090615272522,
0.014148544520139694,
0.018548723310232162,
0.013960731215775013,
-0.07927477359771729,
-0.06410668045282364,
0.05741697549819946,
0.030032118782401085,
0.026508396491408348,
0.07086792588233948,
0.042821258306503296,
0.018656045198440552,
-0.005535997916013002,
0.0051067122258245945,
-0.029119886457920074,
-0.0224301815032959,
0.021464290097355843,
-0.028189767152071,
-0.06167405843734741,
0.049403637647628784,
0.0163128599524498,
0.045182328671216965,
0.11791049689054489,
-0.002183320699259639,
0.01395178772509098,
-0.00938168354332447,
0.04149762541055679,
-0.014273752458393574,
0.034807924181222916,
0.04178381711244583,
0.023288754746317863,
-0.030622385442256927,
0.03348429128527641,
0.02396845631301403,
-0.008965812623500824,
0.03555917367339134,
0.019138991832733154,
0.014962398447096348,
-0.02386113442480564,
-0.012485061772167683,
-0.049045901745557785,
-0.03938697278499603,
0.01548111904412508,
0.010803692042827606,
0.004545510280877352,
0.006372211035341024,
0.018119437620043755,
0.04063905403017998,
-0.040817923843860626,
0.012395626865327358,
-0.011206148192286491,
-0.008505224250257015,
0.02287735417485237,
-0.06492947787046432,
-0.04181959107518196,
-0.05745274946093559,
0.053374532610177994,
-0.016607994213700294,
0.04875971004366875,
0.011519168503582478,
-0.08471239358186722,
0.006895402912050486,
-0.021875688806176186,
-0.0393511988222599,
0.022609051316976547,
-0.015248589217662811,
-0.02298467606306076,
-0.06714744865894318,
-0.12105859071016312,
-0.06990203261375427,
0.02192934975028038,
0.06246108189225197,
-0.021571610122919083,
-0.028869468718767166,
0.0008116184617392719,
-0.016965731978416443,
-0.03148095682263374,
-0.02418310008943081,
-0.005719338543713093,
0.031337860971689224,
-0.046899471431970596,
0.025989677757024765,
0.03232164308428764,
0.041426077485084534,
-0.043357864022254944,
0.0019384936895221472,
-0.021804140880703926,
0.029298754408955574,
0.06543030589818954,
-0.06782715767621994,
-0.04879548400640488,
0.020158544182777405,
-0.008424733765423298,
-0.008344242349267006,
0.010240254923701286,
0.034807924181222916,
0.01210943702608347,
-0.0729428082704544,
-0.030765481293201447,
0.032142773270606995,
-0.057130783796310425,
0.007664539851248264,
0.014166430570185184,
-0.04596935212612152,
0.019747145473957062,
0.0035907968413084745,
-0.054769713431596756,
0.025667712092399597,
0.04171226918697357,
0.09930811077356339,
0.06814911961555481,
-0.045361198484897614,
-0.006989309098571539,
-0.012905403971672058,
-0.007239725906401873,
-0.025184765458106995,
0.029745927080512047,
0.048902805894613266,
0.014711981639266014,
0.008563357405364513,
0.0400666743516922,
-0.024827027693390846,
-0.06678971648216248,
-0.012055776081979275,
0.01786007732152939,
0.04468149691820145,
-0.06764828413724899,
-0.014586773701012135,
0.035344529896974564,
-0.020015450194478035,
-0.0027747065760195255,
-0.03251839801669121,
-0.019425181671977043,
0.01879913918673992,
0.01978291943669319,
0.051263876259326935,
0.035165660083293915,
0.02284158207476139,
0.07347941398620605
] |
710,338
|
js2py.internals.simplex
|
__str__
| null |
def __str__(self):
if self._translator_based:
if self.mes.Class == 'Error':
return self.mes.callprop('toString').value
else:
return self.mes.to_string().value
else:
if self.throw is not None:
from .conversions import to_string
return to_string(self.throw)
else:
return self.typ + ': ' + self.message
|
(self)
|
[
0.006941648665815592,
-0.03769849240779877,
0.06959448009729385,
0.01686464622616768,
0.019685804843902588,
-0.09305369108915329,
0.05119020864367485,
-0.0221420805901289,
0.08116389065980911,
-0.08742918074131012,
0.020201977342367172,
-0.005339730065315962,
-0.015858998522162437,
-0.008289930410683155,
-0.017576610669493675,
0.05435844883322716,
-0.04097352549433708,
-0.053254906088113785,
0.023477012291550636,
0.04456894472241402,
-0.010136587545275688,
0.012254680506885052,
0.0037467104848474264,
-0.03257235139608383,
0.015164832584559917,
0.05912860855460167,
0.020077385008335114,
-0.03166459873318672,
0.009291130118072033,
-0.03787648305296898,
-0.038908831775188446,
-0.056494344025850296,
0.00630978075787425,
-0.014470667578279972,
-0.02507893182337284,
0.045601293444633484,
-0.04250425100326538,
-0.043038222938776016,
-0.05514160916209221,
-0.01849326491355896,
-0.012121186591684818,
0.036915332078933716,
-0.005170638207346201,
-0.01609928533434868,
-0.012103388085961342,
-0.05022905766963959,
-0.014461768791079521,
0.09262651205062866,
-0.04481813311576843,
0.011658410541713238,
-0.0037578349001705647,
0.04556569457054138,
-0.03358690068125725,
-0.04567249119281769,
-0.04951709508895874,
0.0048057567328214645,
0.017514314502477646,
0.006585666909813881,
-0.02580869384109974,
0.03403187915682793,
-0.01571660488843918,
0.01956121064722538,
0.010937546379864216,
-0.0020880568772554398,
-0.021768298000097275,
-0.017879195511341095,
0.011444821022450924,
-0.014239279553294182,
0.006278632208704948,
0.04407057166099548,
0.07318989932537079,
-0.05720630660653114,
-0.058772627264261246,
0.048199962824583054,
0.0412227138876915,
-0.06521590054035187,
-0.043180614709854126,
-0.011516017839312553,
0.015164832584559917,
-0.0190984345972538,
0.022373467683792114,
0.005339730065315962,
-0.06799256056547165,
-0.04506732150912285,
0.041649892926216125,
-0.057241905480623245,
-0.044106170535087585,
-0.044853731989860535,
-0.05069183558225632,
0.004002572502940893,
-0.030774643644690514,
-0.04143630340695381,
-0.030472058802843094,
0.03926481306552887,
-0.05514160916209221,
-0.002049121307209134,
0.016695555299520493,
-0.06906050443649292,
0.04456894472241402,
0.015556412748992443,
0.043607793748378754,
0.01863565668463707,
-0.0382324643433094,
-0.01736302115023136,
0.0017198380082845688,
-0.005112791433930397,
0.0044431001879274845,
0.00233168201521039,
0.04855594411492348,
0.003521996783092618,
-0.03469044342637062,
0.0062207854352891445,
-0.0046455650590360165,
-0.011097738519310951,
0.02721482329070568,
-0.04695402458310127,
-0.04553009569644928,
0.01016328576952219,
-0.006812605541199446,
-0.015494116581976414,
0.027730997651815414,
0.01229027844965458,
-0.06699581444263458,
-0.04328741133213043,
-0.0028322816360741854,
0.03986998274922371,
-0.013135735876858234,
-0.05638754740357399,
0.08515089005231857,
-0.07447143644094467,
0.014248179271817207,
-0.015040239319205284,
0.01215678546577692,
-0.019151831045746803,
0.03620336949825287,
0.05104781687259674,
-0.061656080186367035,
0.014007891528308392,
0.016971440985798836,
0.12146105617284775,
0.027090229094028473,
0.03196718171238899,
-0.003604317782446742,
-0.02335241809487343,
0.01597469113767147,
-0.021163130179047585,
0.0412583127617836,
0.035064227879047394,
-0.024633953347802162,
-0.02397538721561432,
0.034619249403476715,
-0.005281882826238871,
-0.03168239817023277,
-0.010492568835616112,
-0.028300568461418152,
0.028781143948435783,
-0.020451165735721588,
-0.00019036693265661597,
0.0028122577350586653,
-0.018422069028019905,
-0.022266672924160957,
-0.08621884137392044,
0.02260485664010048,
-0.016748953610658646,
0.04955269396305084,
0.020753750577569008,
0.05667233467102051,
0.015369522385299206,
0.007560167461633682,
0.05208016559481621,
-0.06913170218467712,
-0.033106327056884766,
-0.057526689022779465,
0.034156471490859985,
-0.01877805031836033,
0.06656863540410995,
0.013313726522028446,
0.09568796306848526,
-0.011311328038573265,
-0.005847004242241383,
0.014995741657912731,
-0.01851106435060501,
-0.045743685215711594,
0.02812257781624794,
0.04542330279946327,
-0.013776503503322601,
0.001247049425728619,
0.013393822126090527,
0.02002398669719696,
-0.004249535035341978,
0.022836245596408844,
0.022693851962685585,
0.035242218524217606,
0.06176287680864334,
-0.028033582493662834,
0.000988962478004396,
0.010261180810630322,
-0.0703776404261589,
0.0275174081325531,
-0.012423771433532238,
-0.02125212550163269,
0.07432904094457626,
-0.0008804991957731545,
0.01811058446764946,
-0.02032657153904438,
0.005709061399102211,
0.025612903758883476,
0.019810397177934647,
-0.02199968695640564,
0.004554344806820154,
-0.015316125005483627,
-0.011311328038573265,
-0.04161429405212402,
0.01972140185534954,
0.03898002952337265,
-0.0350998230278492,
0.029866889119148254,
-0.007867202162742615,
-0.017834696918725967,
0.07418664544820786,
0.06140689551830292,
-0.046242062002420425,
0.029101528227329254,
-0.03515322133898735,
-0.0366661436855793,
0.041507501155138016,
-0.014737654477357864,
-0.01609928533434868,
0.019062835723161697,
-0.000022301021090243012,
-0.0018833671929314733,
-0.004053744953125715,
-0.01954341121017933,
0.0443197563290596,
-0.03898002952337265,
0.05168858543038368,
-0.02749960869550705,
-0.01732742413878441,
-0.013643009588122368,
-0.006594566628336906,
-0.024527158588171005,
-0.0328037403523922,
-0.04268224164843559,
0.07155238091945648,
0.09127378463745117,
-0.05272093415260315,
0.03709332272410393,
0.03469044342637062,
-0.07229994237422943,
0.008272131904959679,
0.02427797205746174,
0.015770001336932182,
-0.015520814806222916,
-0.04844914749264717,
0.011364725418388844,
-0.08529328554868698,
-0.008917348459362984,
-0.0344056598842144,
0.030970433726906776,
0.006211885716766119,
-0.028193773701786995,
0.006096191704273224,
0.0025408214423805475,
0.03212737664580345,
0.0033796040806919336,
-0.02262265607714653,
-0.05375327914953232,
0.026378266513347626,
0.061976466327905655,
0.044996123760938644,
0.08572046458721161,
0.016624359413981438,
-0.08358456939458847,
0.06236804649233818,
-0.0244381632655859,
0.0025897689629346132,
-0.04830675572156906,
0.0012448244960978627,
-0.030222870409488678,
-0.00021108619694132358,
-0.019988389685750008,
-0.006167388055473566,
0.012797552160918713,
-0.042112670838832855,
0.023904191330075264,
-0.016606559976935387,
0.05257853865623474,
-0.07845842838287354,
-0.003577619092538953,
0.03958519920706749,
0.032038379460573196,
0.0026965634897351265,
-0.053575288504362106,
-0.009486920200288296,
0.004979297984391451,
-0.03152220696210861,
0.0381968691945076,
-0.012886548414826393,
0.005130590405315161,
-0.05731309950351715,
-0.0025919938925653696,
0.01702483929693699,
0.044390954077243805,
-0.013821001164615154,
-0.047594793140888214,
-0.036274563521146774,
-0.0198637954890728,
-0.005726860370486975,
0.007217534817755222,
0.006109540816396475,
-0.03762729838490486,
0.03837485983967781,
0.01895604096353054,
0.04506732150912285,
0.027410613372921944,
0.08814114332199097,
0.0008465696591883898,
-0.024883141741156578,
0.020504562184214592,
0.07852962613105774,
-0.004845805000513792,
-0.00428068358451128,
-0.0020357719622552395,
-0.016935843974351883,
0.013064539059996605,
-0.02310323156416416,
-0.07504100352525711,
0.010643861256539822,
0.04264664277434349,
-0.011667310260236263,
-0.004100467544049025,
-0.04873393476009369,
0.0008549130288884044,
-0.04232626035809517,
0.020112982019782066,
-0.019062835723161697,
0.057384297251701355,
-0.017007039859890938,
-0.022515861317515373,
0.007266482338309288,
0.06122890114784241,
-0.02949310839176178,
-0.039514001458883286,
0.045921675860881805,
-0.018279675394296646,
0.04506732150912285,
-0.023868592455983162,
0.0026765395887196064,
0.041649892926216125,
0.043180614709854126,
-0.07553938031196594,
-0.00462331622838974,
-0.016829049214720726,
-0.0005806956323795021,
-0.03009827807545662,
-0.012744155712425709,
-0.0350998230278492,
0.01833307184278965,
0.013260329142212868,
0.05574677884578705,
0.03709332272410393,
-0.01732742413878441,
-0.00793839804828167,
0.020112982019782066,
-0.05745549499988556,
-0.008085240609943867,
0.026022283360362053,
0.02264045551419258,
0.04382138326764107,
0.014853348955512047,
-0.02121652662754059,
0.0008999669807963073,
-0.018146181479096413,
-0.045601293444633484,
-0.08486610651016235,
0.10209563374519348,
0.04962388798594475,
0.02765979990363121,
-0.04015477001667023,
-0.06041014567017555,
0.04549449682235718,
-0.0009138724999502301,
-0.045458901673555374,
0.05101221799850464,
0.023156628012657166,
0.04068874195218086,
0.01345611922442913,
0.01345611922442913,
0.014835549518465996,
0.03986998274922371,
-0.019614607095718384,
-0.028781143948435783,
0.04083113372325897,
-0.02292524091899395,
-0.0191162321716547,
-0.010910848155617714,
0.015120334923267365,
0.0025052232667803764,
-0.042112670838832855,
0.004498722497373819,
-0.005054944194853306,
0.001842206809669733,
0.0024340269155800343,
0.038268063217401505,
-0.04029716178774834,
0.01579670049250126,
0.0015618710312992334,
0.01908063516020775,
-0.019009439274668694,
0.036132171750068665,
0.027392813935875893,
-0.03259015083312988,
-0.05161738768219948,
-0.052044566720724106,
0.01847546547651291,
0.014087987132370472,
-0.03776969015598297,
0.0032283116597682238,
-0.029083728790283203,
0.006073942873626947,
-0.07404425740242004,
0.026520658284425735,
0.030169473960995674,
0.021020736545324326,
-0.008054092526435852,
0.022533660754561424,
-0.04339420422911644,
0.023138828575611115,
0.05592476949095726,
0.02337021753191948,
0.011400323361158371,
-0.010661660693585873,
-0.0021370043978095055,
-0.04083113372325897,
0.026680849492549896,
-0.04446215182542801,
-0.03331991285085678,
-0.019934991374611855,
-0.03883763402700424,
0.010296778753399849,
0.011889798566699028,
-0.006963897496461868,
0.008886200375854969,
0.05887942016124725,
0.012201283127069473,
-0.01565430872142315,
-0.02397538721561432,
-0.011213432997465134,
-0.01941881701350212,
0.001655316213145852,
0.043643392622470856,
0.019507812336087227,
-0.002304983325302601,
-0.022426865994930267,
0.017380820587277412,
-0.024064382538199425,
-0.008605864830315113,
-0.0244381632655859,
-0.005344179458916187,
0.022836245596408844,
-0.0565299391746521,
0.054322853684425354,
-0.04250425100326538,
0.043038222938776016,
0.0004344092740211636,
0.023281222209334373,
0.029546504840254784,
0.016446368768811226,
-0.04809316620230675,
-0.01847546547651291,
0.005063843913376331,
0.00820093508809805,
-0.02123432606458664,
0.02233787067234516,
-0.0328037403523922,
0.04965948686003685,
-0.015494116581976414,
-0.004009247291833162,
-0.010777355171740055,
-0.017131634056568146,
-0.015841199085116386,
-0.035669393837451935,
0.026716448366642,
0.009531417861580849,
0.00853021815419197,
0.05421605706214905,
0.037235718220472336,
0.04375018551945686,
0.0016820149030536413,
0.04748799651861191,
0.04065314307808876,
0.07087601721286774,
-0.04666924104094505,
-0.012299178168177605,
-0.021020736545324326,
0.015031339600682259,
-0.06033894792199135,
-0.058915019035339355,
-0.07240673899650574,
0.020219776779413223,
0.02657405659556389,
-0.06624824553728104,
0.008917348459362984,
-0.008886200375854969,
0.03198498114943504,
-0.05880822613835335,
0.04830675572156906,
0.06510910391807556,
0.036149971187114716,
-0.03234096243977547,
-0.003072569612413645,
0.004205037374049425,
0.016811249777674675,
0.00772480946034193,
-0.007551268208771944,
-0.06485991925001144,
0.0003982548660133034,
0.012717456556856632,
-0.019347621127963066,
0.012877648696303368,
0.0062207854352891445,
0.01122233271598816,
-0.05574677884578705,
-0.011516017839312553,
-0.0035598198883235455,
0.045601293444633484,
-0.01292214635759592,
0.015770001336932182,
-0.036594949662685394,
0.04456894472241402,
-0.009958595968782902,
0.008272131904959679,
0.01897384040057659,
0.004828005563467741,
-0.004739010240882635,
0.03380049020051956,
-0.06920289993286133,
0.014888946898281574,
-0.016223879531025887,
-0.003864629426971078,
0.0004021484055556357,
0.012236881069839,
-0.07052003592252731,
-0.05410926416516304,
0.025132328271865845,
-0.0841541439294815,
0.01972140185534954,
0.01659766025841236,
-0.015414020046591759,
-0.01892044208943844,
-0.01084855105727911,
-0.033088527619838715,
-0.018066085875034332,
-0.010519267991185188,
-0.009718308225274086,
0.04642005264759064,
-0.019614607095718384,
0.0657854750752449,
0.04175668954849243,
0.021786097437143326,
-0.014194781892001629,
0.01406128890812397,
0.03501082956790924,
-0.001700926455669105,
0.007733708713203669,
0.03577619045972824,
-0.0183508712798357,
0.007626913953572512,
-0.03381828963756561,
-0.012503867037594318,
0.01307343877851963,
-0.008846152573823929,
0.015147034078836441,
0.03648815304040909,
0.027730997651815414,
0.05834544822573662,
0.042575445026159286,
0.05069183558225632,
0.0175499115139246,
0.06987926363945007,
-0.004460899159312248,
0.012788653373718262,
0.0035397959873080254,
-0.018564460799098015,
-0.015458517707884312,
0.016392970457673073,
-0.05934219807386398,
-0.004712311550974846,
0.020112982019782066,
-0.012450470589101315,
-0.0473812036216259,
-0.03865964338183403,
0.0045498949475586414,
0.004245085176080465,
0.07888560742139816,
0.00802739430218935,
0.04570808634161949,
-0.02717922441661358,
0.007804905064404011,
-0.0026720897294580936,
-0.020255375653505325,
0.028051380068063736,
0.04143630340695381,
0.016846848651766777,
0.045779284089803696,
-0.0017999339615926147,
0.024829743430018425,
0.03898002952337265,
0.010830752551555634,
0.06304441392421722,
-0.011008743196725845,
-0.018368670716881752,
-0.042397454380989075,
-0.04620646312832832,
-0.0343344621360302,
-0.05286332592368126,
0.02641386352479458,
-0.00021998574084136635,
-0.011355825699865818,
0.01925862580537796,
0.027855589985847473,
0.0043986025266349316,
-0.05820305645465851,
0.04029716178774834,
-0.0065634180791676044,
0.05361088737845421,
-0.01208558864891529,
-0.007595765870064497,
-0.003582068718969822,
-0.08522208780050278,
0.00011416454071877524,
0.07052003592252731,
0.009424623101949692,
-0.07326109707355499,
-0.07724808901548386,
0.04001237452030182,
0.030988233163952827,
0.03157560154795647,
-0.02659185416996479,
0.022088682278990746,
0.0015273852040991187,
0.00018438755068928003,
-0.08009594678878784,
-0.012646260671317577,
-0.05919980630278587,
0.06429034471511841,
-0.0206291563808918,
-0.08066552132368088,
0.03403187915682793,
-0.042717840522527695,
-0.00030453148065134883,
0.04948149621486664,
-0.005749109201133251,
-0.008125289343297482,
0.02993808500468731,
0.039015624672174454,
-0.006042794324457645,
0.026040082797408104,
-0.015867896378040314,
0.030062679201364517,
0.0014461767859756947,
-0.04154310002923012,
0.012450470589101315,
-0.0795263797044754,
0.07575296610593796,
0.014719855040311813,
-0.02123432606458664,
0.028318367898464203,
0.041507501155138016,
-0.09056182205677032,
-0.040581945329904556,
0.017914794385433197,
-0.01893824152648449,
-0.04136510565876961,
-0.0442841611802578,
0.045031722635030746,
0.03408527746796608,
0.0046010673977434635,
0.007484521251171827,
-0.06464633345603943,
0.021964088082313538,
-0.005615615751594305,
-0.058131858706474304,
-0.0030859189573675394,
-0.012646260671317577,
0.03212737664580345,
0.0054465243592858315,
0.024633953347802162,
0.01819068007171154,
-0.05834544822573662,
-0.02854975499212742,
-0.07012845575809479,
-0.03570499271154404,
0.00500599667429924,
0.05610276013612747,
0.013865498825907707,
-0.013945594429969788,
-0.07724808901548386,
-0.049873076379299164,
-0.020522361621260643,
0.04941030219197273,
-0.01988159492611885,
0.009531417861580849,
-0.005375328008085489,
0.022070882841944695,
-0.02840736322104931,
0.04154310002923012,
-0.02014858089387417,
-0.009620413184165955,
-0.02292524091899395,
0.037200119346380234,
0.043928176164627075,
0.01267295889556408,
-0.04083113372325897,
-0.014426169916987419,
-0.0856492668390274,
0.042860232293605804,
0.07689210772514343,
-0.016731154173612595,
-0.007880551740527153,
-0.01267295889556408,
-0.011818601749837399,
0.03212737664580345,
-0.002741061383858323,
0.06436154246330261,
0.08123508840799332,
-0.022088682278990746,
-0.03759169951081276,
-0.0029591002967208624,
-0.026485059410333633,
0.006567867938429117,
0.03776969015598297,
-0.042860232293605804,
0.028175974264740944,
0.049267906695604324,
-0.02445596270263195,
0.018083885312080383,
0.03191378712654114,
0.04841355234384537,
0.03362249955534935,
0.0041115921922028065,
0.021928491070866585,
-0.00009407102334080264,
-0.010955345816910267,
0.013518416322767735,
0.05054944381117821,
0.02077155001461506,
0.0328749381005764,
-0.04460454359650612,
0.011694008484482765,
0.04997987300157547,
-0.013358224183321,
-0.014506266452372074,
-0.00970940850675106,
0.057847075164318085,
-0.06439714133739471,
-0.018226277083158493,
0.006247484125196934,
-0.0028122577350586653,
0.01674005389213562,
-0.013643009588122368,
-0.0236728023737669,
0.00584255438297987,
0.032946132123470306,
0.001529610133729875,
0.07803124934434891,
-0.03712892159819603,
0.005130590405315161
] |
710,339
|
js2py.internals.simplex
|
get_thrown_value
| null |
def get_thrown_value(self, space):
if self.throw is not None:
return self.throw
else:
return space.NewError(self.typ, self.message)
|
(self, space)
|
[
0.012816413305699825,
-0.032345786690711975,
0.05667610093951225,
0.046088989824056625,
0.02374584972858429,
-0.04091233015060425,
0.03864127770066261,
-0.02028917521238327,
0.0852312371134758,
-0.039509620517492294,
0.06325547397136688,
-0.010921087116003036,
0.04495346546173096,
-0.046122390776872635,
-0.03897525742650032,
0.04071194306015968,
0.0005320168565958738,
0.03308054059743881,
0.009459932334721088,
0.04144669324159622,
0.0039054574444890022,
-0.054304856806993484,
-0.009409835562109947,
-0.06816495209932327,
0.020456165075302124,
0.015555034391582012,
0.03657061234116554,
0.015329599380493164,
0.044419098645448685,
-0.05503960698843002,
-0.0738091841340065,
-0.046990733593702316,
-0.025115160271525383,
0.04041136056184769,
0.027469707652926445,
0.005527339410036802,
-0.050196923315525055,
-0.06709621846675873,
-0.036670807749032974,
-0.030675897374749184,
-0.08082272112369537,
-0.0251652579754591,
-0.008545666933059692,
0.020990530028939247,
-0.0294902753084898,
-0.04228163883090019,
0.035501882433891296,
0.018018124625086784,
-0.07581304758787155,
0.009501679800450802,
-0.008817024528980255,
0.028588533401489258,
-0.0025194480549544096,
-0.0022668770980089903,
0.017041238024830818,
0.03254617378115654,
0.031243659555912018,
-0.014995621517300606,
-0.06796456128358841,
0.026300782337784767,
0.027987372130155563,
0.054638832807540894,
-0.014836981892585754,
-0.04091233015060425,
0.03687119483947754,
0.031911615282297134,
0.02875552326440811,
0.01575542241334915,
-0.006625292357057333,
0.023445269092917442,
0.032529477030038834,
-0.03470033407211304,
-0.05320272594690323,
0.04889440909028053,
0.07400956749916077,
-0.06465817987918854,
-0.03286345303058624,
-0.003264636965468526,
0.034967515617609024,
-0.022025862708687782,
-0.0034858975559473038,
0.07260686159133911,
-0.036737602204084396,
0.019337337464094162,
0.03780633211135864,
0.011163221672177315,
-0.032746560871601105,
0.005756949074566364,
-0.07347520440816879,
-0.0050722938030958176,
-0.035468485206365585,
-0.035501882433891296,
-0.05397087708115578,
-0.0036257507745176554,
0.03152754157781601,
0.021190917119383812,
0.03169453144073486,
-0.042782608419656754,
0.023795947432518005,
0.049796149134635925,
0.03727196529507637,
0.07153812795877457,
0.021291110664606094,
0.008775277063250542,
0.02905610390007496,
-0.0026634761597961187,
0.0364370197057724,
-0.018552489578723907,
0.08536482602357864,
-0.016807453706860542,
-0.03727196529507637,
-0.004450259264558554,
-0.026785051450133324,
-0.0026530392933636904,
0.014135627076029778,
-0.04395153000950813,
-0.03804011642932892,
0.021625088527798653,
-0.008958965539932251,
0.043851338326931,
0.036303430795669556,
-0.04461948573589325,
-0.02402973175048828,
-0.021357905119657516,
0.04836004227399826,
0.047792281955480576,
-0.020155584439635277,
-0.060483451932668686,
0.05009672790765762,
0.03680439665913582,
0.008028000593185425,
-0.02047286368906498,
-0.0072014047764241695,
-0.06285469979047775,
-0.04458608850836754,
0.03930923342704773,
-0.022860808297991753,
0.03476713225245476,
-0.037939924746751785,
-0.01756725274026394,
0.047725483775138855,
0.053469911217689514,
0.005890540312975645,
-0.028805619105696678,
0.03249607980251312,
0.03439975529909134,
-0.013459321111440659,
0.046923935413360596,
0.012215252965688705,
0.022159453481435776,
0.0036069646012037992,
-0.021357905119657516,
0.017517156898975372,
0.0013599174562841654,
-0.01608940027654171,
0.016264738515019417,
-0.031143467873334885,
-0.0251652579754591,
0.00020704038615804166,
-0.029390081763267517,
-0.02967396378517151,
-0.09137643873691559,
0.027252620086073875,
-0.025699622929096222,
0.05483921989798546,
0.027786986902356148,
0.025549331679940224,
0.06295488774776459,
0.0020174370147287846,
0.011881274171173573,
-0.07260686159133911,
-0.012966703623533249,
-0.06729660928249359,
0.014436207711696625,
-0.04665675386786461,
0.035435087978839874,
-0.05747764930129051,
0.056342121213674545,
0.027619997039437294,
0.00812401995062828,
0.0032395885791629553,
-0.01016128621995449,
-0.008478871546685696,
0.05721046403050423,
-0.00013339558790903538,
0.004679869394749403,
0.0018608847167342901,
0.00923449732363224,
0.007944506593048573,
0.052267588675022125,
0.032162100076675415,
0.025532633066177368,
0.04214804992079735,
0.04101252183318138,
0.0282545555382967,
-0.0048927804455161095,
-0.009760512970387936,
-0.0008093753131106496,
0.023979634046554565,
0.044485896825790405,
-0.02254352904856205,
0.027369514107704163,
0.012215252965688705,
0.0051724873483181,
-0.03126036003232002,
-0.013501068577170372,
0.017500458285212517,
0.010436818934977055,
-0.07561266422271729,
0.0282545555382967,
-0.0537370927631855,
-0.010395071469247341,
-0.037539150565862656,
0.05667610093951225,
0.04124630615115166,
-0.056742895394563675,
-0.005218409467488527,
-0.03050890751183033,
-0.013734853826463223,
0.05483921989798546,
0.06960105895996094,
-0.05159963294863701,
0.010929436422884464,
-0.027803685516119003,
0.008483046665787697,
0.012557580135762691,
-0.03647042065858841,
-0.013275633566081524,
0.013809998519718647,
-0.008537317626178265,
-0.006884125526994467,
0.03264636918902397,
-0.015413094311952591,
-0.0057485997676849365,
-0.010086141526699066,
-0.01179778017103672,
0.0423150360584259,
-0.027135727927088737,
0.022610323503613472,
0.016131147742271423,
0.004613074008375406,
0.008307707495987415,
-0.021408002823591232,
0.09044129401445389,
0.08015476912260056,
-0.002623816253617406,
0.016531920060515404,
0.07795051485300064,
-0.06920028477907181,
0.027953974902629852,
0.00711791031062603,
0.0091092549264431,
-0.024898074567317963,
-0.023662354797124863,
0.04218144714832306,
-0.02127441205084324,
0.028571834787726402,
-0.05213399603962898,
0.05667610093951225,
0.007493635639548302,
0.006930047646164894,
0.008320231921970844,
0.07080338150262833,
0.004738315474241972,
-0.0423150360584259,
-0.01218185480684042,
-0.032162100076675415,
0.02451399900019169,
0.0768817812204361,
0.07314122468233109,
-0.015663577243685722,
0.012499134056270123,
-0.04298299551010132,
-0.014369412325322628,
-0.013409224338829517,
-0.019621219485998154,
-0.025549331679940224,
0.02923979051411152,
0.017316769808530807,
0.011497199535369873,
-0.004625597968697548,
-0.022126056253910065,
-0.011831177398562431,
-0.03476713225245476,
-0.07247327268123627,
0.04251542314887047,
0.008958965539932251,
-0.08396212011575699,
0.00395346712321043,
0.024680988863110542,
-0.0206899493932724,
0.028054168447852135,
-0.03610304370522499,
-0.03329762816429138,
0.010311576537787914,
-0.03368170186877251,
-0.057611238211393356,
0.0023754199501127005,
0.01341757457703352,
0.012991751544177532,
0.04465288668870926,
0.018969962373375893,
-0.050564300268888474,
0.0015164697542786598,
-0.018368801102042198,
-0.0013609611196443439,
0.028705425560474396,
0.03079278953373432,
-0.030024640262126923,
-0.01738356612622738,
-0.013200487941503525,
0.04929518327116966,
-0.014695040881633759,
-0.0011104774894192815,
0.027469707652926445,
0.052167393267154694,
0.02912289835512638,
0.008499745279550552,
-0.0014684604248031974,
0.08142388612031937,
0.036704204976558685,
-0.025866610929369926,
0.04041136056184769,
-0.0021113683469593525,
0.0059197633527219296,
-0.03570226952433586,
-0.07481111586093903,
0.0151292122900486,
-0.0115055488422513,
0.024196719750761986,
-0.0000709051382727921,
-0.026968739926815033,
-0.017116382718086243,
-0.05076468735933304,
0.04926178604364395,
0.0033084715250879526,
0.021040625870227814,
0.017750941216945648,
-0.009351389482617378,
-0.008624986745417118,
-0.014770185574889183,
-0.0389084592461586,
-0.039609815925359726,
-0.004788412246853113,
0.011121474206447601,
-0.021107422187924385,
0.006704612169414759,
-0.007710721809417009,
0.0429161973297596,
0.012641075067222118,
-0.08082272112369537,
0.035802461206912994,
0.0012785103172063828,
0.036637406796216965,
-0.00017233796825166792,
-0.018669381737709045,
-0.049328580498695374,
-0.028571834787726402,
0.017099684104323387,
0.022961001843214035,
0.03573566675186157,
-0.010603807866573334,
-0.001448630471713841,
0.03576906397938728,
-0.06135179474949837,
0.0023879441432654858,
-0.02810426615178585,
0.011655839160084724,
-0.05577436089515686,
0.02352876402437687,
-0.001163705252110958,
-0.055473778396844864,
-0.012240300886332989,
-0.016406679525971413,
-0.012156805954873562,
0.06345585733652115,
-0.014753486961126328,
0.004562977235764265,
-0.01283311191946268,
-0.02955706976354122,
0.043650951236486435,
-0.000002205593318649335,
-0.08723510801792145,
0.02007208950817585,
0.027152428403496742,
0.013325730338692665,
0.0031602687668055296,
-0.010027695447206497,
0.01840219832956791,
0.03984360024333,
-0.029941145330667496,
-0.03351471200585365,
0.03266306594014168,
0.013409224338829517,
-0.01655696891248226,
0.019905101507902145,
-0.00945158302783966,
-0.01865268312394619,
-0.012657773680984974,
0.01185622625052929,
-0.017283372581005096,
0.07741614431142807,
-0.0030371141619980335,
0.025549331679940224,
-0.031544242054224014,
-0.0051307398825883865,
-0.06222013756632805,
0.009651970118284225,
-0.011697586625814438,
-0.017116382718086243,
-0.012282048352062702,
-0.027903879061341286,
-0.0027093980461359024,
-0.05400427430868149,
-0.0034587616100907326,
-0.01967131532728672,
-0.012816413305699825,
0.023211484774947166,
-0.02843824401497841,
-0.007431014906615019,
-0.055907949805259705,
-0.02251012995839119,
0.017734242603182793,
0.037873126566410065,
-0.019036756828427315,
-0.0023232358507812023,
-0.05854637920856476,
0.036737602204084396,
0.019337337464094162,
-0.0059197633527219296,
0.01250748336315155,
0.00945158302783966,
0.01565522886812687,
-0.05704347789287567,
0.01539639476686716,
-0.04952896758913994,
-0.05687648802995682,
-0.006291314493864775,
0.01679910346865654,
0.05597474426031113,
0.005189186427742243,
0.02967396378517151,
0.026334181427955627,
0.06729660928249359,
-0.01806822046637535,
-0.047291312366724014,
-0.012749617919325829,
0.01770084537565708,
-0.05233438313007355,
-0.045220647007226944,
0.0226938184350729,
-0.008240912109613419,
0.05169982463121414,
-0.006107626482844353,
0.02603360079228878,
0.009969249367713928,
-0.10046064108610153,
-0.05159963294863701,
0.06596069782972336,
0.0017836523475125432,
-0.022126056253910065,
0.06586050242185593,
-0.04886101186275482,
-0.024263516068458557,
-0.04946216940879822,
-0.014770185574889183,
0.02504836395382881,
-0.002218867652118206,
0.00901741161942482,
-0.021825475618243217,
-0.027402911335229874,
0.002074839547276497,
-0.024296913295984268,
-0.00600743293762207,
-0.03760594502091408,
-0.01673230715095997,
0.02473108470439911,
0.02523205243051052,
0.012682822532951832,
-0.03817370906472206,
0.03169453144073486,
-0.010812544263899326,
0.044051725417375565,
-0.01643172651529312,
-0.016999490559101105,
0.06809815764427185,
-0.01661541499197483,
0.02433031238615513,
0.06973464787006378,
0.02785378135740757,
-0.039209041744470596,
0.016005905345082283,
-0.03409917280077934,
0.0034879848826676607,
-0.030625801533460617,
-0.01608940027654171,
-0.02643437497317791,
-0.016824152320623398,
-0.03556867688894272,
0.0251652579754591,
0.00043182336958125234,
-0.035902656614780426,
-0.033831991255283356,
-0.03328092768788338,
0.03453334420919418,
-0.08596599102020264,
0.03780633211135864,
0.02341187186539173,
0.057177066802978516,
-0.04178067296743393,
0.007886060513556004,
0.07367558777332306,
-0.01661541499197483,
0.005928113125264645,
-0.04331697151064873,
-0.07681498676538467,
-0.011004582047462463,
-0.009735464118421078,
-0.006182771176099777,
0.04318338260054588,
0.010511963628232479,
0.03286345303058624,
-0.04929518327116966,
-0.01803482323884964,
-0.04839343950152397,
0.016966093331575394,
-0.016406679525971413,
-0.002362895756959915,
-0.009777211584150791,
0.008624986745417118,
-0.018736176192760468,
-0.03974340483546257,
0.00247770082205534,
0.011472150683403015,
-0.003408665070310235,
0.0012691171141341329,
-0.058379389345645905,
0.034600142389535904,
-0.07314122468233109,
-0.06091762334108353,
-0.025933407247066498,
-0.00784431304782629,
-0.05363689735531807,
0.054638832807540894,
0.03137725219130516,
-0.04825985059142113,
-0.058345992118120193,
0.011029629968106747,
-0.06659525632858276,
0.008958965539932251,
-0.020606454461812973,
-0.028521738946437836,
0.036303430795669556,
-0.028571834787726402,
0.03261297196149826,
0.060049280524253845,
0.030559005215764046,
0.05911413952708244,
0.059949085116386414,
0.016423378139734268,
0.026785051450133324,
-0.017300071194767952,
0.060483451932668686,
-0.039910394698381424,
-0.03174462914466858,
-0.03657061234116554,
-0.04234843701124191,
0.028855716809630394,
-0.015555034391582012,
-0.012983402237296104,
0.005665105301886797,
0.04224824160337448,
0.04388473555445671,
0.04752509668469429,
0.07347520440816879,
0.06348925828933716,
-0.01840219832956791,
0.03930923342704773,
0.025332245975732803,
-0.021992463618516922,
0.0642240047454834,
-0.0042832703329622746,
-0.024163322523236275,
-0.01850239187479019,
-0.018418896943330765,
-0.0008485133876092732,
-0.08850422501564026,
-0.001050465856678784,
0.012215252965688705,
0.021875571459531784,
-0.02923979051411152,
-0.012282048352062702,
-0.03850768506526947,
0.043149981647729874,
0.07260686159133911,
0.022560227662324905,
0.05607493966817856,
-0.02195906639099121,
-0.02584991231560707,
0.0018995009595528245,
-0.001210670918226242,
0.024296913295984268,
0.019220445305109024,
0.014953874051570892,
0.019838305190205574,
-0.018101617693901062,
-0.009844006970524788,
0.017917931079864502,
0.018452296033501625,
0.004613074008375406,
0.028521738946437836,
-0.07915282994508743,
-0.0194542296230793,
-0.023478668183088303,
-0.02822115831077099,
0.011831177398562431,
-0.007790041621774435,
0.03119356371462345,
-0.009384787641465664,
0.04558802396059036,
0.03346461430191994,
-0.058813560754060745,
-0.07681498676538467,
0.005481417290866375,
0.060383256524801254,
-0.009543427266180515,
0.025716321542859077,
0.007827614434063435,
-0.05607493966817856,
-0.039142243564128876,
-0.005802871193736792,
0.04512045532464981,
0.033548109233379364,
-0.09985948354005814,
-0.0793532207608223,
0.10540352016687393,
0.027937276288866997,
0.03934263065457344,
0.01825190894305706,
0.04628937691450119,
0.0047090924344956875,
0.039075449109077454,
-0.04378454014658928,
0.041546888649463654,
-0.028154361993074417,
-0.014928825199604034,
-0.027402911335229874,
-0.04338376969099045,
0.00547306751832366,
-0.013751552440226078,
0.021842174232006073,
0.04805946350097656,
-0.023795947432518005,
-0.04208125174045563,
-0.002396293682977557,
-0.0219256691634655,
-0.013976987451314926,
0.01263272576034069,
-0.05567416548728943,
0.012315446510910988,
-0.037973321974277496,
0.04338376969099045,
-0.029907748103141785,
-0.027937276288866997,
0.05741085112094879,
-0.019571121782064438,
0.008416250348091125,
0.0070177167654037476,
0.023645656183362007,
-0.05377048999071121,
-0.023495366796851158,
-0.03760594502091408,
-0.037104979157447815,
0.001662585185840726,
-0.02109072357416153,
-0.043851338326931,
0.07220608741044998,
0.023896140977740288,
0.006015782244503498,
-0.007230627816170454,
0.027903879061341286,
0.035902656614780426,
-0.05173322185873985,
0.03984360024333,
-0.022209549322724342,
-0.0025173607282340527,
0.01074574887752533,
0.030709294602274895,
0.0024505651090294123,
-0.03647042065858841,
-0.04171387851238251,
-0.03480052947998047,
-0.032596271485090256,
0.03984360024333,
-0.07167172431945801,
-0.010269830003380775,
-0.03152754157781601,
-0.05534018576145172,
-0.052668362855911255,
0.067330002784729,
-0.004291619639843702,
-0.04949557036161423,
0.0015696975169703364,
-0.04475307837128639,
0.04378454014658928,
-0.02152489498257637,
0.025582730770111084,
-0.002865950344130397,
-0.006829854100942612,
-0.0577448308467865,
0.027586599811911583,
-0.022276345640420914,
-0.03288015350699425,
-0.029907748103141785,
-0.016381630674004555,
-0.0021395478397607803,
-0.04017757624387741,
0.08703471720218658,
-0.07240647077560425,
0.0024630893021821976,
-0.012064962647855282,
0.04191426560282707,
0.02912289835512638,
-0.008700132369995117,
0.011605742387473583,
0.051833417266607285,
0.01250748336315155,
-0.016698909923434258,
0.01201486587524414,
0.031110068783164024,
0.0007697154069319367,
0.01828530617058277,
0.0033063841983675957,
0.042448628693819046,
0.03780633211135864,
-0.017024539411067963,
-0.030124833807349205,
0.0364370197057724,
0.08870460838079453,
0.06773077696561813,
0.012549230828881264,
0.02451399900019169,
-0.018235210329294205,
-0.0352013036608696,
0.01756725274026394,
0.03257957473397255,
-0.02464759163558483,
0.012991751544177532,
-0.011163221672177315,
-0.005239283200353384,
0.0017565166344866157,
-0.0024797881487756968,
0.04264901578426361,
0.0008203339530155063,
0.05747764930129051,
-0.04111271724104881,
-0.00029197000549174845,
0.020606454461812973,
0.013150391168892384,
0.05173322185873985,
-0.00502637168392539,
0.013734853826463223,
-0.06562671810388565,
0.0713377445936203,
0.0009716678177937865,
0.056342121213674545,
-0.005648406222462654,
0.06318867206573486
] |
710,341
|
js2py.evaljs
|
disable_pyimport
| null |
def disable_pyimport():
import pyjsparser.parser
pyjsparser.parser.ENABLE_PYIMPORT = False
|
()
|
[
0.02636193484067917,
-0.003295241855084896,
0.012250034138560295,
0.04851292073726654,
-0.023473432287573814,
0.01166711375117302,
0.01807924173772335,
0.04245750606060028,
-0.03514924645423889,
-0.016165172681212425,
-0.01061437651515007,
-0.024169456213712692,
-0.042805518954992294,
0.01420760340988636,
-0.04144826903939247,
0.004815620835870504,
0.036993712186813354,
0.061493780463933945,
0.007947731763124466,
-0.04367554932832718,
-0.05557757243514061,
0.013650784268975258,
0.011536609381437302,
0.06427787989377975,
0.008287044242024422,
0.028467409312725067,
0.01122339814901352,
-0.020045511424541473,
0.03367019444704056,
-0.04311873018741608,
0.0347142294049263,
-0.01223263330757618,
0.0391513891518116,
0.023229824379086494,
0.042318299412727356,
-0.0003928733058273792,
0.0216811690479517,
0.039290592074394226,
-0.04193548858165741,
-0.060275737196207047,
0.046633653342723846,
0.05032258480787277,
0.03414000943303108,
-0.033722396939992905,
0.004833021201193333,
-0.029407043009996414,
-0.02712756209075451,
-0.007765025366097689,
0.012284835800528526,
-0.036019276827573776,
0.04604203253984451,
0.045589614659547806,
0.016112972050905228,
0.077189140021801,
-0.006329474505037069,
0.006512180902063847,
0.006446928717195988,
0.04186588525772095,
-0.040056221187114716,
0.00917882565408945,
-0.018583858385682106,
0.02813679724931717,
-0.03647169470787048,
-0.02801499329507351,
0.03584527224302292,
0.006190269719809294,
0.0002085355226881802,
0.004724267404526472,
-0.023403828963637352,
0.01172801572829485,
-0.10496052354574203,
-0.024030251428484917,
-0.0016584963304921985,
0.011232098564505577,
0.08498461544513702,
-0.024882882833480835,
-0.05254986509680748,
-0.03288716450333595,
-0.03198233246803284,
-0.02648373879492283,
0.00015918845019768924,
-0.0013159216614440084,
-0.02902422845363617,
0.03654129430651665,
-0.04339713975787163,
0.03034667670726776,
0.017887834459543228,
0.03128631040453911,
-0.012780752964317799,
0.02510908991098404,
-0.023786643519997597,
-0.0033148175571113825,
-0.035305850207805634,
0.021489761769771576,
0.008278343826532364,
-0.0334961861371994,
0.06295543164014816,
-0.029320038855075836,
-0.022899212315678596,
-0.014834025874733925,
0.05296747758984566,
-0.04287511855363846,
-0.0683148205280304,
-0.052167050540447235,
-0.0231254193931818,
-0.03220854327082634,
0.048860933631658554,
0.02490028366446495,
0.0183576513081789,
-0.02006291225552559,
0.014442511834204197,
0.01727881282567978,
-0.0004622038977686316,
0.017940036952495575,
0.008552403189241886,
-0.05481194332242012,
-0.012258734554052353,
-0.004741668235510588,
0.07019408792257309,
0.008334895595908165,
-0.03330478072166443,
0.06361665576696396,
-0.08832553029060364,
0.01961049623787403,
0.10294204950332642,
0.0008662244654260576,
0.019593095406889915,
0.04670325666666031,
0.034975241869688034,
-0.0032299894373863935,
0.004798220004886389,
-0.015573551878333092,
-0.002320807194337249,
-0.04089144989848137,
-0.057700447738170624,
-0.003201713552698493,
-0.022533798590302467,
0.040787044912576675,
0.02263820357620716,
0.0034344468731433153,
-0.04729487746953964,
-0.03612368181347847,
0.016652390360832214,
-0.02361263707280159,
-0.013694285415112972,
0.04311873018741608,
-0.06170258671045303,
0.014416411519050598,
-0.06549592316150665,
0.03340918570756912,
0.008652457036077976,
-0.018253246322274208,
-0.07704993337392807,
-0.017174409702420235,
-0.01618257351219654,
0.05032258480787277,
0.04190068691968918,
-0.0028754519298672676,
-0.014599117450416088,
-0.05383750796318054,
0.012667649425566196,
-0.044580381363630295,
0.06873244047164917,
-0.04520680382847786,
0.04016062244772911,
-0.00013077650510240346,
0.04823451116681099,
-0.03779413923621178,
0.014947130344808102,
-0.013876992277801037,
-0.042005088180303574,
0.030903495848178864,
0.019001474604010582,
0.010066256858408451,
0.03201713413000107,
-0.009065721184015274,
0.022063981741666794,
0.06768839806318283,
0.017766030505299568,
0.038803376257419586,
0.011432205326855183,
-0.009831348434090614,
0.004182673525065184,
0.03368759527802467,
0.07384821772575378,
0.0028798021376132965,
0.023403828963637352,
-0.02752777561545372,
-0.04277071729302406,
-0.009831348434090614,
0.01093628816306591,
0.04120466113090515,
0.05376790463924408,
-0.05749163776636124,
0.006307723466306925,
0.006011913064867258,
-0.008182640187442303,
0.023438630625605583,
-0.019871504977345467,
0.043814752250909805,
-0.02425646036863327,
0.031060101464390755,
-0.02030652016401291,
0.02199438028037548,
0.0025100389029830694,
0.05185383930802345,
-0.022533798590302467,
-0.06142417713999748,
0.008269643411040306,
-0.030938297510147095,
0.002184865064918995,
-0.010823183692991734,
0.07384821772575378,
0.01792263612151146,
-0.018305448815226555,
0.007634520530700684,
0.014660019427537918,
0.024813279509544373,
-0.021124349907040596,
0.011936822906136513,
0.07224736362695694,
0.05328068882226944,
-0.05185383930802345,
-0.04360594600439072,
0.06570473313331604,
0.003688930766656995,
-0.060275737196207047,
0.0035149245522916317,
0.0017411492299288511,
-0.06977647542953491,
0.04113505780696869,
-0.011910722590982914,
-0.023108018562197685,
-0.013520278967916965,
0.0052288854494690895,
-0.00659918412566185,
-0.030085666105151176,
-0.001519291428849101,
-0.035462457686662674,
-0.06455628573894501,
0.030242271721363068,
0.049104541540145874,
-0.05161023139953613,
-0.04238790273666382,
-0.044371575117111206,
0.042840320616960526,
0.003936889581382275,
0.005133181810379028,
0.028850223869085312,
0.0025513654109090567,
0.04677285999059677,
-0.015321243554353714,
-0.009874850511550903,
0.058257266879081726,
0.014138001017272472,
-0.03321777656674385,
0.00923972763121128,
0.046633653342723846,
-0.009500737302005291,
0.010579574853181839,
-0.06828001886606216,
0.00780852697789669,
-0.030538082122802734,
-0.01182371936738491,
0.06518270820379257,
0.005807456094771624,
-0.030973097309470177,
-0.011832419782876968,
-0.011414804495871067,
0.039777811616659164,
0.05032258480787277,
-0.08171329647302628,
0.02660554274916649,
0.004215299617499113,
0.0007765025366097689,
0.013372373767197132,
-0.040265027433633804,
0.04242270439863205,
-0.008008633740246296,
0.04367554932832718,
0.07022888958454132,
0.0027514726389199495,
0.017287513241171837,
0.04388435557484627,
-0.004920024424791336,
-0.02276000753045082,
-0.018061840906739235,
0.024761078879237175,
-0.03177352622151375,
0.011797618120908737,
0.03835095837712288,
0.03755053132772446,
0.042074691504240036,
-0.004589412827044725,
0.02893722616136074,
0.03995181620121002,
0.06358185410499573,
-0.04621603712439537,
0.0029863808304071426,
-0.02869361825287342,
0.01204992737621069,
0.012780752964317799,
-0.019523492082953453,
0.05007897689938545,
0.05380270630121231,
-0.041274264454841614,
0.006425177678465843,
-0.004013017285615206,
-0.0373765267431736,
0.008239191956818104,
-0.044789187610149384,
0.0231254193931818,
0.010570874437689781,
-0.05171463266015053,
-0.006960246711969376,
0.0011212523095309734,
0.013424576260149479,
-0.022220587357878685,
-0.005385491065680981,
0.007173404563218355,
-0.07844198495149612,
-0.03401820734143257,
0.007925980724394321,
-0.02187257632613182,
-0.02660554274916649,
-0.032504353672266006,
0.028432607650756836,
0.003806384978815913,
-0.009961852803826332,
0.024517469108104706,
-0.04057823866605759,
0.017505019903182983,
0.009231027215719223,
-0.017739929258823395,
0.03664569929242134,
-0.0047503686510026455,
-0.005250636022537947,
-0.04186588525772095,
-0.013755187392234802,
-0.004315352998673916,
-0.0021261379588395357,
0.021907376125454903,
0.023055817931890488,
-0.01586936227977276,
-0.01626087725162506,
0.007595369126647711,
0.014712221920490265,
0.041274264454841614,
0.04642484709620476,
-0.012946058996021748,
0.08929996937513351,
0.046807657927274704,
-0.06605274230241776,
0.05961451306939125,
0.0329393669962883,
-0.03744612634181976,
-0.01555615197867155,
0.02878062054514885,
0.013511579483747482,
-0.04621603712439537,
-0.022620802745223045,
-0.0018151018302887678,
0.015190738253295422,
-0.004498059395700693,
0.0031234107445925474,
-0.033235177397727966,
0.00527673726901412,
-0.04364074766635895,
-0.006394726689904928,
0.016739392653107643,
-0.025439701974391937,
-0.06452148407697678,
-0.021924776956439018,
-0.0628858283162117,
-0.043571144342422485,
0.056726012378931046,
-0.0008417548378929496,
0.03995181620121002,
-0.028954626992344856,
-0.006829742342233658,
0.06737519055604935,
-0.014868827536702156,
-0.0023860596120357513,
-0.01041426882147789,
0.0347142294049263,
-0.02559630759060383,
0.02841520681977272,
-0.014512114226818085,
-0.00269927061162889,
-0.014181503094732761,
0.03128631040453911,
-0.03789854422211647,
-0.027458174154162407,
0.03447062149643898,
0.06848882883787155,
-0.018392452970147133,
-0.03361799195408821,
0.014181503094732761,
0.03998661786317825,
0.05185383930802345,
-0.0010434932773932815,
0.00026957361842505634,
0.019471289590001106,
-0.0004869453841820359,
-0.006346874870359898,
0.05174943432211876,
0.030607685446739197,
-0.02446526661515236,
0.017418017610907555,
-0.004223999567329884,
0.014842726290225983,
-0.04464998468756676,
-0.005777004640549421,
-0.0641038715839386,
0.056203991174697876,
0.021785572171211243,
0.030625086277723312,
0.0029994314536452293,
0.01344197615981102,
-0.046807657927274704,
0.014416411519050598,
-0.008400147780776024,
0.012223933823406696,
-0.035949673503637314,
0.006451278924942017,
0.046877261251211166,
-0.030990498140454292,
0.020811138674616814,
-0.007151653524488211,
0.04576362296938896,
-0.006938496138900518,
-0.01344197615981102,
0.016678491607308388,
-0.03300897032022476,
0.011327801272273064,
-0.024726277217268944,
0.04471958428621292,
-0.02942444384098053,
0.004689466208219528,
-0.03581047058105469,
0.01662628911435604,
0.04165707528591156,
0.004785169847309589,
-0.06417347490787506,
0.0908312201499939,
0.01735711470246315,
-0.030259672552347183,
0.1061437651515007,
0.02808459661900997,
-0.030938297510147095,
-0.0380377471446991,
0.03377459943294525,
0.049661360681056976,
0.000399670418119058,
0.0035149245522916317,
-0.06031053885817528,
0.013520278967916965,
-0.04012582451105118,
0.018670862540602684,
0.0007406137883663177,
-0.012745952233672142,
0.02321242354810238,
0.008987418375909328,
0.004493709187954664,
0.07273457944393158,
0.022777408361434937,
0.03633248805999756,
-0.021246153861284256,
-0.002180514857172966,
0.028885023668408394,
0.010205461643636227,
-0.04524160549044609,
-0.005507295485585928,
-0.03998661786317825,
-0.05714362487196922,
0.0311123039573431,
-0.007229956332594156,
0.0016661090776324272,
0.07217776030302048,
0.03581047058105469,
-0.04499799385666847,
-0.05425512418150902,
-0.022011781111359596,
0.02808459661900997,
-0.018009638413786888,
-0.028954626992344856,
0.020602330565452576,
-0.06212020292878151,
-0.003423571353778243,
-0.010388168506324291,
0.014225004240870476,
-0.02688395231962204,
0.006699237506836653,
-0.009500737302005291,
0.029233036562800407,
-0.0545683354139328,
0.019523492082953453,
0.01558225229382515,
0.012789453379809856,
-0.03003346547484398,
-0.02991166152060032,
-0.034644629806280136,
0.00016190730093512684,
-0.042283497750759125,
0.0764235109090805,
-0.001349635305814445,
0.07934681326150894,
0.052375856786966324,
-0.03487083688378334,
0.0184098519384861,
-0.014651319943368435,
0.008465399965643883,
-0.022586001083254814,
0.030451079830527306,
0.08213090896606445,
-0.04847811907529831,
-0.001963007031008601,
0.008495851419866085,
0.04844331741333008,
-0.030973097309470177,
0.007695422973483801,
-0.034453220665454865,
-0.00632512429729104,
-0.0504617877304554,
-0.008678557351231575,
0.03241734951734543,
-0.0474688820540905,
0.0812956839799881,
0.027545176446437836,
0.06038014218211174,
0.10008835047483444,
-0.03936019539833069,
-0.02055012807250023,
-0.05655200406908989,
0.03995181620121002,
0.031147103756666183,
-0.014503413811326027,
0.020132513716816902,
0.0012691575102508068,
-0.02865881659090519,
-0.0048417216166853905,
-0.0029428794514387846,
-0.00247741281054914,
-0.01172801572829485,
0.022394593805074692,
0.03887297958135605,
-0.0979306697845459,
0.06546112149953842,
-0.052863072603940964,
0.02991166152060032,
0.052132248878479004,
0.05453353375196457,
-0.010536073707044125,
-0.04906973987817764,
0.045067597180604935,
-0.11915942281484604,
-0.012789453379809856,
0.02119395136833191,
0.01188462134450674,
-0.006886294111609459,
0.01763552613556385,
-0.037272121757268906,
-0.007186454720795155,
-0.015808461233973503,
-0.05303708091378212,
0.013781288638710976,
-0.03692410886287689,
-0.02208138257265091,
-0.07426583021879196,
-0.05665640905499458,
-0.005968411453068256,
-0.07927720993757248,
0.044580381363630295,
-0.023108018562197685,
0.0127546526491642,
0.05481194332242012,
0.03337438404560089,
0.02486548200249672,
-0.022586001083254814,
0.02845000848174095,
0.0165827888995409,
0.008287044242024422,
-0.03403560817241669,
-0.03608888015151024,
-0.008709008805453777,
-0.08032124489545822,
0.040021419525146484,
-0.02890242449939251,
0.07203855365514755,
0.007756324950605631,
-0.02055012807250023,
0.017444118857383728,
0.0646606907248497,
-0.03744612634181976,
-0.07656271755695343,
0.05404631793498993,
-0.061284974217414856,
0.0616677850484848,
0.0032452151644974947,
0.0005437692743726075,
0.016121672466397285,
0.010501272045075893,
0.019714899361133575,
-0.044789187610149384,
0.03629768639802933,
0.04116985946893692,
-0.00813043862581253,
-0.038524966686964035,
0.010188060812652111,
0.0575612410902977,
-0.04162227734923363,
-0.022586001083254814,
-0.0163043774664402,
-0.025317898020148277,
0.004789520055055618,
0.006642685737460852,
0.033235177397727966,
-0.032747961580753326,
-0.01093628816306591,
-0.023786643519997597,
-0.04920894652605057,
0.08025164902210236,
0.01293735858052969,
-0.09278009086847305,
-0.004291427321732044,
0.05683041363954544,
-0.027458174154162407,
-0.010083657689392567,
0.01941908895969391,
0.0076084197498857975,
-0.06883683800697327,
-0.027753984555602074,
0.028989428654313087,
-0.0072169057093560696,
-0.030903495848178864,
-0.029685452580451965,
0.02535269968211651,
-0.036228083074092865,
0.07092491537332535,
0.03422701358795166,
0.06250301748514175,
-0.05470753833651543,
-0.024273861199617386,
-0.01816624402999878,
-0.05181903764605522,
-0.029598450288176537,
-0.04023022577166557,
-0.028763219714164734,
0.003817260265350342,
-0.01523424033075571,
-0.014894927851855755,
0.0012049927609041333,
0.0023512584157288074,
-0.0037041562609374523,
-0.06664436310529709,
-0.023873645812273026,
-0.07572748512029648,
-0.0005377877969294786,
0.07865078747272491,
-0.02098514325916767,
-0.00035616886452771723,
-0.057735245674848557,
-0.009805248118937016,
0.04701646789908409,
0.01711350679397583,
0.0010984139516949654,
-0.0013398474548012018,
-0.008052135817706585,
0.022951412945985794,
-0.017887834459543228,
-0.0026318433228880167,
-0.0014757898170500994,
-0.022516397759318352,
-0.009152724407613277,
-0.013842190615832806,
0.001203905208967626,
-0.010266363620758057,
-0.04552001506090164,
-0.014486013911664486,
0.00436973012983799,
-0.03422701358795166,
0.002038047183305025,
-0.007016798947006464,
-0.03862936794757843,
-0.05362870171666145,
0.09946192800998688,
-0.008121738210320473,
0.033322181552648544,
0.08227011561393738,
-0.03894257918000221,
-0.0039020883850753307,
0.008500201627612114,
-0.02590951882302761,
0.04416276514530182,
0.0021196126472204924,
-0.012989560142159462,
0.029494045302271843,
-0.048895735293626785,
0.03280016407370567,
-0.010770982131361961,
0.007490965537726879,
-0.013546380214393139,
-0.049626559019088745,
0.04520680382847786,
-0.012397939339280128,
0.046564050018787384,
0.013267970643937588,
-0.031303711235523224,
-0.017853032797574997,
-0.0350448414683342,
-0.014799225144088268,
-0.021820373833179474,
0.004833021201193333,
-0.021942177787423134,
0.026901353150606155,
-0.024517469108104706,
-0.03887297958135605,
0.003038582857698202,
0.0004181585682090372,
0.026744747534394264,
-0.027388570830225945,
0.013067862950265408,
-0.023630037903785706,
0.04955695569515228,
-0.0251786932349205,
-0.00857850443571806,
-0.11275599896907806,
-0.03455762565135956,
0.0299464613199234,
0.03532325103878975,
-0.009135323576629162,
-0.008830812759697437,
-0.03276536241173744,
0.008069535717368126,
0.007517066318541765,
-0.013180967420339584,
0.031007898971438408,
0.062781423330307,
0.032069336622953415,
-0.05056619271636009,
-0.03768973797559738,
-0.07510106265544891,
-0.018583858385682106,
0.03447062149643898,
-0.014903628267347813,
0.0029189535416662693,
0.06873244047164917,
0.002536139916628599,
-0.055438365787267685,
0.0016867723315954208,
-0.004876522812992334,
0.032834965735673904,
0.005959711503237486,
0.020811138674616814,
0.020532727241516113,
0.0005802017985843122,
0.0017879133811220527,
0.024604473263025284,
-0.052201852202415466,
-0.04451077803969383,
-0.049870166927576065,
0.0758666917681694,
-0.048373714089393616,
-0.04186588525772095,
0.027997592464089394,
0.002034784760326147,
-0.004550261422991753,
-0.01941908895969391
] |
710,343
|
js2py.evaljs
|
eval_js
|
Just like javascript eval. Translates javascript to python,
executes and returns python object.
js is javascript source code
EXAMPLE:
>>> import js2py
>>> add = js2py.eval_js('function add(a, b) {return a + b}')
>>> add(1, 2) + 3
6
>>> add('1', 2, 3)
u'12'
>>> add.constructor
function Function() { [python code] }
NOTE: For Js Number, String, Boolean and other base types returns appropriate python BUILTIN type.
For Js functions and objects, returns Python wrapper - basically behaves like normal python object.
If you really want to convert object to python dict you can use to_dict method.
|
def eval_js(js):
"""Just like javascript eval. Translates javascript to python,
executes and returns python object.
js is javascript source code
EXAMPLE:
>>> import js2py
>>> add = js2py.eval_js('function add(a, b) {return a + b}')
>>> add(1, 2) + 3
6
>>> add('1', 2, 3)
u'12'
>>> add.constructor
function Function() { [python code] }
NOTE: For Js Number, String, Boolean and other base types returns appropriate python BUILTIN type.
For Js functions and objects, returns Python wrapper - basically behaves like normal python object.
If you really want to convert object to python dict you can use to_dict method.
"""
e = EvalJs()
return e.eval(js)
|
(js)
|
[
0.00037670868914574385,
-0.009711233898997307,
0.0034003378823399544,
-0.03393307328224182,
-0.030296048149466515,
0.041544582694768906,
-0.004279129207134247,
0.06321675330400467,
-0.010779843665659428,
0.006135137286037207,
-0.00566176138818264,
0.06126701086759567,
0.010770469903945923,
0.017632074654102325,
-0.029283680021762848,
0.012982681393623352,
0.04484415054321289,
-0.021222231909632683,
0.0374201200902462,
-0.08496391773223877,
-0.053318046033382416,
-0.03307068720459938,
0.035864073783159256,
0.09838716685771942,
0.016994658857584,
-0.04480665549635887,
0.08136438578367233,
0.057292528450489044,
-0.021484697237610817,
-0.02401561848819256,
0.03837624564766884,
-0.06182943657040596,
0.04698137193918228,
0.010479883290827274,
-0.0038034101016819477,
-0.01521364040672779,
-0.015869805589318275,
-0.009926830418407917,
-0.09223797172307968,
-0.033726852387189865,
0.0011892979964613914,
0.06460407376289368,
-0.049043603241443634,
-0.035057928413152695,
0.013788826763629913,
0.001782189472578466,
-0.0523056797683239,
-0.043231863528490067,
0.0047900001518428326,
-0.020303601399064064,
0.014988670125603676,
-0.04694387689232826,
0.030652252957224846,
0.005605518817901611,
-0.028102584183216095,
0.04431921988725662,
-0.0434943288564682,
0.07574012130498886,
0.010358024388551712,
0.007016272284090519,
-0.04101965203881264,
-0.028102584183216095,
-0.03162712603807449,
-0.011257906444370747,
-0.005375861190259457,
0.0270339734852314,
-0.05283061042428017,
-0.03352062776684761,
-0.05665511265397072,
-0.06970340758562088,
-0.05020595341920853,
0.036407750099897385,
0.043756794184446335,
0.02564665488898754,
-0.030596010386943817,
0.020716048777103424,
-0.05414293706417084,
-0.02742767333984375,
-0.005310244858264923,
0.02050982601940632,
0.037157654762268066,
-0.016732193529605865,
0.0217471644282341,
0.0005237598088569939,
-0.03299569711089134,
-0.01830698736011982,
-0.044206734746694565,
0.003993229009211063,
-0.07322794944047928,
0.014529354870319366,
-0.02444681152701378,
-0.020134873688220978,
-0.024934248998761177,
-0.0064491587691009045,
-0.011426635086536407,
-0.0016427545342594385,
0.06516650319099426,
-0.03130841627717018,
0.012485872022807598,
0.02358442358672619,
0.06291679292917252,
0.023321958258748055,
-0.05845487490296364,
-0.05174325034022331,
0.022365832701325417,
0.02478426694869995,
0.02750266343355179,
-0.014773073606193066,
0.00829579308629036,
-0.0217471644282341,
0.028027594089508057,
0.05256814509630203,
-0.07821480184793472,
0.015401116572320461,
0.042481958866119385,
0.020584816113114357,
-0.02519671432673931,
-0.015073033981025219,
-0.0012994399294257164,
0.016329120844602585,
-0.027633896097540855,
0.021840902045369148,
0.004112744703888893,
0.07281550019979477,
0.08053949475288391,
0.02750266343355179,
0.04008227214217186,
-0.04619397595524788,
0.03097096085548401,
0.01834448240697384,
0.027577653527259827,
-0.03876994177699089,
0.0069037871435284615,
0.06580391526222229,
-0.02176591195166111,
0.02740892581641674,
0.011857828125357628,
-0.0028754062950611115,
-0.007709932047873735,
-0.009251918643712997,
0.01066735852509737,
0.03097096085548401,
0.03130841627717018,
0.00955187901854515,
-0.004311937838792801,
-0.05178074538707733,
-0.023696908727288246,
0.024971744045615196,
0.0145949712023139,
0.06280431151390076,
0.004522847477346659,
0.002929305424913764,
0.06595389544963837,
0.02750266343355179,
0.01964743807911873,
-0.029489904642105103,
0.020697301253676414,
-0.035039179027080536,
-0.0034612673334777355,
0.0038080969825387,
0.03790755569934845,
0.02386563830077648,
0.03618277981877327,
-0.00024679399211890996,
0.0434943288564682,
0.011839080601930618,
0.08338912576436996,
-0.037232644855976105,
-0.06887851655483246,
-0.010170548222959042,
-0.03539538383483887,
-0.01198906172066927,
-0.017247751355171204,
0.0004253351653460413,
-0.036314014345407486,
0.04570654034614563,
-0.03515166416764259,
0.07971460372209549,
0.028927477076649666,
0.004780626390129328,
0.019459962844848633,
-0.007695871405303478,
-0.04495663568377495,
-0.01566358283162117,
-0.006364794913679361,
0.040719687938690186,
-0.0374201200902462,
0.024184346199035645,
0.009983072988688946,
0.010236164554953575,
0.03181460127234459,
-0.005394608713686466,
0.0409446582198143,
-0.005399295594543219,
-0.029414914548397064,
-0.0444692000746727,
-0.04536908119916916,
0.01089232973754406,
-0.0689535066485405,
0.07049080729484558,
-0.06276681274175644,
0.028177574276924133,
0.02446555905044079,
0.010114305652678013,
-0.00470329262316227,
0.045481570065021515,
-0.0401572622358799,
0.016019785776734352,
0.03224579617381096,
-0.02650904282927513,
0.004086967092007399,
0.02227209508419037,
-0.020772291347384453,
0.050243448466062546,
0.02562790736556053,
-0.00271370867267251,
-0.04308187961578369,
0.009139432571828365,
0.04559405520558357,
0.024053113535046577,
0.02604035474359989,
0.007780235260725021,
0.009312847629189491,
-0.028383798897266388,
0.08593878895044327,
-0.052455659955739975,
-0.050280943512916565,
-0.015335500240325928,
-0.042444463819265366,
-0.02219710499048233,
0.02082853391766548,
-0.040307242423295975,
0.11376016587018967,
-0.015485480427742004,
0.04990599304437637,
0.019834913313388824,
-0.024146851152181625,
-0.005113395396620035,
-0.05226818472146988,
-0.0023774243891239166,
0.014979296363890171,
0.035657849162817,
-0.021072251722216606,
0.0017282902263104916,
0.02784011885523796,
0.07022833824157715,
0.007245929911732674,
0.027633896097540855,
-0.03910740092396736,
-0.05830489471554756,
0.026284072548151016,
0.03228329122066498,
0.045031625777482986,
-0.027633896097540855,
-0.05605518817901611,
0.04660642147064209,
0.07030332833528519,
0.01878505013883114,
0.023734403774142265,
-0.0023610203061252832,
0.04049471765756607,
-0.015288631431758404,
-0.05283061042428017,
0.041057147085666656,
0.0036674903240054846,
-0.05058090388774872,
-0.011942192912101746,
0.09126310050487518,
0.03925738111138344,
0.05305558070540428,
0.13415750861167908,
-0.019000647589564323,
0.0818893164396286,
0.009851840324699879,
-0.023790646344423294,
-0.052943095564842224,
-0.026921488344669342,
0.05841737985610962,
0.01397630199790001,
0.012157789431512356,
0.03974481672048569,
0.025890372693538666,
-0.06134200096130371,
-0.03127092123031616,
-0.021953387185931206,
-0.0007235384546220303,
0.028533779084682465,
-0.05365550145506859,
0.004977475851774216,
0.0025309198535978794,
0.035939063876867294,
-0.02004113607108593,
-0.010498630814254284,
-0.003967451397329569,
0.001636895933188498,
0.04454419016838074,
0.04259444400668144,
-0.07574012130498886,
0.017172759398818016,
0.05391796678304672,
0.00827704556286335,
-0.018991272896528244,
0.04064469784498215,
0.032358281314373016,
-0.02521546185016632,
-0.013676341623067856,
-0.029414914548397064,
-0.029733622446656227,
-0.02043483406305313,
0.009322221390902996,
-0.01912250556051731,
-0.05706755816936493,
0.008600440807640553,
0.02954614721238613,
-0.044619180262088776,
-0.010104931890964508,
-0.02699647843837738,
-0.0575924888253212,
0.021597182378172874,
0.01463246624916792,
0.01921624317765236,
-0.02868375927209854,
0.06842857599258423,
-0.0017880480736494064,
-0.02127847447991371,
-0.06842857599258423,
0.0007417001179419458,
0.017303993925452232,
0.07791484147310257,
0.01070485357195139,
-0.015354247763752937,
-0.036332760006189346,
0.07461526989936829,
-0.02300325036048889,
-0.013310763984918594,
-0.013254521414637566,
-0.007133444771170616,
0.02433432638645172,
-0.03162712603807449,
0.0034940754994750023,
0.06497902423143387,
-0.0182694923132658,
0.002589506097137928,
0.0043470892123878,
-0.04529409110546112,
0.024596791714429855,
0.019497457891702652,
-0.015298005193471909,
0.05474286153912544,
-0.09966199845075607,
-0.01434187963604927,
-0.04934356361627579,
-0.041057147085666656,
-0.02131596952676773,
-0.06554145365953445,
0.04690638184547424,
0.07948963344097137,
-0.025459179654717445,
-0.024559296667575836,
-0.10693605244159698,
0.007967710494995117,
0.0065522706136107445,
-0.02300325036048889,
-0.025346694514155388,
-0.05665511265397072,
0.03777632489800453,
0.06692877411842346,
0.012795206159353256,
0.06085456162691116,
0.03338939696550369,
0.023603171110153198,
0.017735186964273453,
-0.0017997652757912874,
0.0004490625287871808,
-0.041094642132520676,
0.0006485482444986701,
0.0013170157326385379,
-0.005980470217764378,
-0.014866811223328114,
0.013638846576213837,
-0.005333679262548685,
-0.02041608653962612,
-0.021016009151935577,
0.003770601935684681,
0.06351671367883682,
0.03833875060081482,
-0.018400724977254868,
-0.023190725594758987,
-0.0838390663266182,
0.040269747376441956,
-0.03832000121474266,
0.0025731020141392946,
-0.0018325734417885542,
0.014988670125603676,
0.018578827381134033,
0.02397812344133854,
0.014135656878352165,
0.05568023771047592,
-0.05016845837235451,
0.021503444761037827,
0.04803123697638512,
0.020584816113114357,
0.017285246402025223,
0.02662152796983719,
-0.008755108341574669,
0.007827104069292545,
0.04611898586153984,
0.02178465947508812,
0.004208825994282961,
-0.0014107534661889076,
0.03233953192830086,
-0.03428927809000015,
-0.09688736498355865,
-0.055117812007665634,
-0.026227829977869987,
0.027971351519227028,
-0.018447594717144966,
-0.003065225202590227,
-0.051630765199661255,
-0.06475405395030975,
0.012279648333787918,
0.015401116572320461,
-0.031533386558294296,
-0.02825256623327732,
0.0008875795756466687,
-0.02960238978266716,
-0.010807965882122517,
0.014876184985041618,
-0.03843248635530472,
0.04911859333515167,
-0.0005753156146965921,
-0.05665511265397072,
0.0654289647936821,
-0.05665511265397072,
0.044206734746694565,
-0.003812784096226096,
-0.0366327241063118,
0.004902485758066177,
0.040269747376441956,
0.025459179654717445,
-0.004283816087990999,
0.01349823921918869,
-0.0049399808049201965,
-0.031008455902338028,
-0.033258162438869476,
0.0030441342387348413,
0.023603171110153198,
0.016891546547412872,
-0.04090716317296028,
-0.05762998387217522,
0.08751358836889267,
0.05496783182024956,
0.0711282268166542,
-0.0391823910176754,
0.05541777238249779,
-0.047206342220306396,
0.018410099670290947,
-0.023321958258748055,
0.003468297654762864,
0.05444290116429329,
-0.012673347257077694,
-0.08578880876302719,
0.04536908119916916,
-0.026827750727534294,
-0.06021714583039284,
0.009729981422424316,
0.0019954429008066654,
0.017716439440846443,
-0.009120685048401356,
0.026659023016691208,
0.018372604623436928,
0.004190078470855951,
-0.04064469784498215,
-0.029939845204353333,
0.05181824043393135,
0.04041972756385803,
0.0074896481819450855,
-0.067978635430336,
0.02566540241241455,
-0.004051815252751112,
-0.041619572788476944,
-0.03042728081345558,
0.0007311546360142529,
0.018513210117816925,
-0.03265824168920517,
-0.003173023695126176,
0.006885039620101452,
-0.02041608653962612,
0.03620152920484543,
0.008966018445789814,
-0.017697691917419434,
0.02386563830077648,
0.02735268324613571,
-0.039332371205091476,
-0.024221841245889664,
-0.027615148574113846,
-0.024521801620721817,
0.019347475841641426,
-0.01258898340165615,
0.0003210518916603178,
0.009411272592842579,
0.035939063876867294,
-0.0038549660239368677,
0.0033487819600850344,
0.04979350417852402,
-0.034195538610219955,
0.04656892642378807,
0.043306853622198105,
-0.0444692000746727,
0.031008455902338028,
-0.022815775126218796,
0.031120941042900085,
-0.04649393633008003,
-0.004419736098498106,
0.02135346457362175,
-0.012973307631909847,
0.03307068720459938,
0.0911131203174591,
-0.052418164908885956,
0.022890765219926834,
0.015223014168441296,
-0.038170021027326584,
0.012092173099517822,
0.005333679262548685,
-0.05095585435628891,
-0.005235254764556885,
-0.020791038870811462,
0.02005988359451294,
0.004483009222894907,
0.03402681276202202,
0.012157789431512356,
-0.005132143385708332,
-0.03254575654864311,
0.010714227333664894,
-0.012720216065645218,
-0.0009174584411084652,
-0.0059007927775382996,
0.023603171110153198,
-0.02956489473581314,
0.005118082277476788,
-0.011314149014651775,
0.02305949293076992,
0.02223460003733635,
0.023603171110153198,
-0.002479364164173603,
0.0409446582198143,
-0.010179921984672546,
-0.027615148574113846,
-0.026415305212140083,
-0.00035503183607943356,
-0.01612289808690548,
-0.00566176138818264,
0.029058709740638733,
0.045894015580415726,
0.017716439440846443,
-0.05733002349734306,
-0.009926830418407917,
-0.0010475196177139878,
-0.03485170379281044,
0.012092173099517822,
-0.008427025750279427,
0.0358453243970871,
0.031120941042900085,
-0.015382369048893452,
-0.02401561848819256,
0.045969005674123764,
0.03297694772481918,
0.03655773028731346,
-0.02127847447991371,
-0.05665511265397072,
0.009720607660710812,
0.03558285906910896,
0.06865354627370834,
-0.04968101903796196,
-0.01693841628730297,
0.014923053793609142,
-0.05144328996539116,
-0.01706027425825596,
0.01957244798541069,
0.013601351529359818,
-0.05324305593967438,
0.008370783179998398,
-0.0513308048248291,
-0.023359453305602074,
-0.01741647906601429,
0.04743131250143051,
-0.0173883568495512,
0.07292798906564713,
-0.012813953682780266,
0.012523367069661617,
0.023209473118185997,
0.03083972819149494,
-0.009050382301211357,
0.031008455902338028,
0.01833510957658291,
-0.007934902794659138,
-0.07221557945013046,
0.062091901898384094,
-0.033333152532577515,
-0.055492762476205826,
-0.06130450591444969,
0.0028121331706643105,
0.03010857291519642,
-0.021878397092223167,
0.04709385707974434,
0.03173961117863655,
0.003932299558073282,
0.017988279461860657,
0.0005688710953108966,
-0.018513210117816925,
0.008619188331067562,
0.026284072548151016,
0.014810568653047085,
0.001697825500741601,
0.07888971269130707,
-0.004539251793175936,
-0.026865245774388313,
-0.023434443399310112,
-0.028571274131536484,
-0.020341096445918083,
0.009509697556495667,
0.036389004439115524,
-0.002966800471767783,
-0.0012982682092115283,
0.04169456288218498,
-0.013563855551183224,
0.011923445388674736,
-0.03305193781852722,
-0.026246577501296997,
-0.036820199340581894,
-0.056805092841386795,
-0.02178465947508812,
0.054255422204732895,
-0.06430411338806152,
0.010536125861108303,
-0.007681810762733221,
0.0019192809704691172,
-0.015044912695884705,
0.028158826753497124,
0.051630765199661255,
-0.014051292091608047,
0.025159219279885292,
-0.03140215575695038,
-0.010545499622821808,
0.03832000121474266,
0.02305949293076992,
-0.03713890537619591,
-0.022047124803066254,
0.02268454059958458,
-0.0012736619682982564,
-0.02311573550105095,
0.02922743745148182,
-0.03447675332427025,
0.0011928131571039557,
-0.0321333110332489,
0.010611115954816341,
0.02440931648015976,
-0.05961722508072853,
0.00502434466034174,
-0.025421684607863426,
0.005797681398689747,
-0.006510088685899973,
-0.014913680031895638,
-0.018981900066137314,
0.038919925689697266,
0.03344563767313957,
-0.05155577510595322,
0.06467906385660172,
0.01834448240697384,
-0.0148386899381876,
0.01566358283162117,
-0.020228611305356026,
0.021447202190756798,
0.010742348618805408,
-0.024634286761283875,
-0.005221194121986628,
-0.002233302453532815,
-0.01909438520669937,
-0.009580000303685665,
0.004663454368710518,
-0.06051710620522499,
0.0026082536205649376,
-0.045894015580415726,
-0.02782137133181095,
-0.07555264979600906,
0.03455174341797829,
0.02129722200334072,
-0.004396301694214344,
0.014979296363890171,
-0.07551515102386475,
-0.020997261628508568,
0.006289804819971323,
-0.048143722116947174,
-0.05268063023686409,
0.039369866251945496,
-0.05530528724193573,
0.01476369984447956,
-0.011173542588949203,
0.001039903494529426,
0.06317926198244095,
-0.03736387565732002,
-0.01826011762022972,
0.017135264351963997,
-0.007288111839443445,
0.03005233034491539,
0.02954614721238613,
0.005394608713686466,
0.029321175068616867,
0.014407495968043804,
-0.07911468297243118,
-0.06224188208580017,
0.03005233034491539,
-0.00192982645239681,
0.03518915921449661,
0.003098033368587494,
0.02095976658165455,
-0.021934639662504196,
0.04776877164840698,
-0.015091781504452229,
-0.005919540300965309,
-0.007611507084220648,
-0.0031566196121275425,
0.009964325465261936,
-0.044131744652986526,
0.03620152920484543,
-0.004527534358203411,
-0.07420282065868378,
-0.026377810165286064,
-0.008155186660587788,
-0.044656675308942795,
-0.06801612675189972,
0.051668260246515274,
-0.008881654590368271,
-0.05714254826307297,
-0.05781745910644531,
-0.03132716566324234,
-0.007334980648010969,
-0.029696127399802208,
-0.034982938319444656,
-0.027127711102366447,
-0.04008227214217186,
0.0036182780750095844,
0.03393307328224182,
-0.011079804971814156,
0.017997652292251587,
0.005469599273055792,
-0.015401116572320461,
-0.03659522905945778,
-0.0024488994386047125,
0.07686497271060944,
0.004850930068641901,
0.03367060795426369,
0.00979559775441885,
0.04315686970949173,
0.04919358342885971,
0.0010434186551719904,
-0.034139297902584076,
0.005530528724193573,
-0.03955734148621559,
-0.031214678660035133,
-0.09576251357793808,
0.007864599116146564,
-0.03929487615823746,
-0.04184454306960106,
-0.008052075281739235,
-0.03642649948596954,
0.023771898820996284,
0.00122210627887398
] |
710,344
|
js2py.evaljs
|
eval_js6
|
Just like eval_js but with experimental support for js6 via babel.
|
def eval_js6(js):
"""Just like eval_js but with experimental support for js6 via babel."""
return eval_js(js6_to_js5(js))
|
(js)
|
[
0.013269549235701561,
-0.027691498398780823,
0.0034360166173428297,
-0.034944839775562286,
-0.03180963546037674,
0.025793427601456642,
-0.005253588780760765,
0.041079677641391754,
-0.04345226287841797,
0.016404755413532257,
0.05714549124240875,
0.024946073070168495,
-0.011295216158032417,
0.025505326688289642,
0.025590062141418457,
-0.024878285825252533,
0.05087507888674736,
0.004884990397840738,
0.08453194051980972,
-0.02198033779859543,
-0.042062606662511826,
-0.05558636039495468,
0.007244868669658899,
0.06541565805673599,
0.017472419887781143,
-0.00022084139345679432,
0.10757994651794434,
0.05328156054019928,
-0.013710172846913338,
-0.017828308045864105,
-0.017641890794038773,
-0.05433227866888046,
-0.019268808886408806,
-0.003423306392505765,
0.02284463867545128,
-0.03255530446767807,
-0.02123466692864895,
-0.026284892112016678,
-0.04846859350800514,
-0.014565998688340187,
0.031385958194732666,
0.02726782113313675,
-0.07131323218345642,
-0.029589569196105003,
-0.04928205534815788,
-0.019845008850097656,
-0.029996298253536224,
0.007876146584749222,
0.012117148377001286,
0.03369075804948807,
0.06104331463575363,
-0.04097799211740494,
0.04043568670749664,
0.03853761777281761,
-0.047519560903310776,
0.0344533734023571,
-0.04284217208623886,
0.024996915832161903,
0.01882818527519703,
0.017879148945212364,
-0.036029450595378876,
-0.015540455467998981,
0.013998272828757763,
0.033216238021850586,
0.0035398174077272415,
0.020336473360657692,
-0.03289424628019333,
-0.007575336378067732,
-0.03186047449707985,
-0.03819867596030235,
-0.05121401697397232,
0.07321130484342575,
0.01762494444847107,
-0.0106258075684309,
-0.05507794767618179,
0.02762370929121971,
-0.0625685527920723,
-0.0453503355383873,
-0.0054739005863666534,
0.019370490685105324,
0.040910206735134125,
-0.030674180015921593,
0.009786928072571754,
-0.007189790718257427,
0.011354531161487103,
-0.001869472675025463,
0.04433351010084152,
0.001745547284372151,
-0.10493620485067368,
0.018862079828977585,
0.007880383171141148,
0.003965612500905991,
-0.047858498990535736,
0.017845256254076958,
-0.012473036535084248,
0.023268314078450203,
0.02450544945895672,
-0.001984924543648958,
0.012591666541993618,
-0.009024309925734997,
0.1010722741484642,
0.03741911053657532,
-0.047621242702007294,
-0.04907868802547455,
0.052163053303956985,
0.07449927926063538,
-0.00935477763414383,
-0.004897700622677803,
-0.011312163434922695,
-0.05643371492624283,
0.016260705888271332,
0.04284217208623886,
-0.06070437282323837,
-0.004075768403708935,
0.01745547354221344,
-0.019472172483801842,
-0.043723419308662415,
-0.00870231632143259,
0.0006291596218943596,
0.03233499079942703,
0.022946320474147797,
0.027776233851909637,
-0.005029040388762951,
0.06836444139480591,
0.030013244599103928,
0.02526806853711605,
0.019438279792666435,
-0.002220065100118518,
0.08073580265045166,
-0.03819867596030235,
0.07904109358787537,
0.008054090663790703,
0.012244251556694508,
-0.010719016194343567,
-0.06856781244277954,
0.014277898706495762,
-0.025505326688289642,
-0.013227181509137154,
0.009202254004776478,
-0.03226720541715622,
-0.039418864995241165,
-0.018557032570242882,
0.010786804370582104,
-0.013761013746261597,
-0.02772539108991623,
-0.018675660714507103,
-0.02596289850771427,
0.07836320996284485,
-0.03352128714323044,
-0.01964164339005947,
0.05792505294084549,
0.03414832800626755,
0.049858253449201584,
-0.006944058462977409,
0.043486159294843674,
-0.006355147808790207,
0.027522027492523193,
-0.027115298435091972,
0.03857151046395302,
-0.02216675505042076,
0.021454978734254837,
-0.013769486919045448,
-0.04589264094829559,
0.03363991528749466,
0.017929989844560623,
-0.033165398985147476,
0.054976265877485275,
-0.02255653776228428,
-0.055891405791044235,
0.06267023086547852,
-0.003544054226949811,
0.021844761446118355,
0.02772539108991623,
0.06280580908060074,
-0.010371601209044456,
0.05619645491242409,
-0.046875569969415665,
0.05012940615415573,
0.032182469964027405,
0.011269795708358288,
-0.03836814686655998,
0.009888609871268272,
-0.015565875917673111,
-0.03969001770019531,
-0.0006768232560716569,
0.08073580265045166,
0.0069991364143788815,
-0.0209635142236948,
0.012735716067254543,
-0.013608490116894245,
-0.010702068917453289,
-0.012939081527292728,
0.03491094708442688,
0.02262432686984539,
-0.01716737262904644,
-0.02830159291625023,
-0.056806549429893494,
0.02394619770348072,
-0.08310838788747787,
-0.030097980052232742,
-0.06277191638946533,
0.038164783269166946,
0.028606638312339783,
-0.013938957825303078,
-0.030572498217225075,
-0.015989551320672035,
-0.018726501613855362,
0.01870955526828766,
0.0327417217195034,
-0.03404664620757103,
-0.0020167003385722637,
0.0407746285200119,
-0.020539838820695877,
0.05989091470837593,
-0.0007499074563384056,
0.007371971383690834,
0.01648101769387722,
-0.009981819428503513,
0.018235037103295326,
0.032521411776542664,
0.017065690830349922,
-0.01798083260655403,
0.06517839431762695,
0.02945399284362793,
0.020912673324346542,
-0.04921426624059677,
-0.03714795783162117,
-0.03880877047777176,
-0.058128420263528824,
-0.06517839431762695,
0.026962773874402046,
-0.036436181515455246,
0.10581745207309723,
0.009083624929189682,
0.0017233042744919658,
0.07802426815032959,
0.006711035966873169,
-0.005660318303853273,
0.017421578988432884,
0.03897824138402939,
-0.005808605346828699,
-0.03640228882431984,
0.011473160237073898,
0.05162074789404869,
0.02704750932753086,
0.0786343663930893,
0.00878705084323883,
-0.011032536625862122,
-0.04965488985180855,
-0.02348862588405609,
-0.00910057220607996,
-0.0025166384875774384,
0.022031178697943687,
-0.010812224820256233,
-0.053722184151411057,
0.057043809443712234,
0.05277314782142639,
0.0522647351026535,
0.030386080965399742,
-0.001921373070217669,
0.038266465067863464,
-0.057721689343452454,
-0.03840203955769539,
-0.002470034174621105,
-0.03053860366344452,
-0.010566492564976215,
-0.011913783848285675,
0.06561902165412903,
-0.03019966371357441,
-0.028911685571074486,
0.0614500418305397,
-0.006897453684359789,
-0.030047139152884483,
0.022251490503549576,
-0.0003670097794383764,
-0.027776233851909637,
-0.06612743437290192,
0.033843282610177994,
0.014015219174325466,
-0.04799407720565796,
0.061178889125585556,
-0.006723746657371521,
-0.04582485184073448,
0.04677388817071915,
-0.02726782113313675,
0.03152153268456459,
0.024268191307783127,
-0.025759533047676086,
0.027945702895522118,
-0.009075150825083256,
0.007189790718257427,
-0.040571264922618866,
0.024674920365214348,
-0.004927358124405146,
0.04416404291987419,
0.05012940615415573,
-0.012091727927327156,
-0.018421456217765808,
0.048773642629384995,
0.023641150444746017,
0.020082267001271248,
-0.012608613818883896,
0.04697725176811218,
0.04036790132522583,
-0.025522274896502495,
-0.05006161704659462,
-0.02457323856651783,
0.016811484470963478,
-0.033622968941926956,
0.02072625607252121,
0.0021300336811691523,
-0.08121031522750854,
0.010735963471233845,
-0.06680531799793243,
-0.03301287442445755,
-0.02980988100171089,
-0.017709678038954735,
-0.04897700622677803,
0.03687680512666702,
-0.06473777443170547,
0.009990292601287365,
-0.020709307864308357,
0.06982189416885376,
0.05145127698779106,
-0.048943113535642624,
-0.0625685527920723,
0.046875569969415665,
-0.025132492184638977,
0.03579219430685043,
-0.02123466692864895,
-0.054739005863666534,
-0.003516515251249075,
0.06643247604370117,
0.024132614955306053,
0.02072625607252121,
0.0235394686460495,
0.02387840859591961,
-0.0009733968181535602,
-0.05575583130121231,
-0.009083624929189682,
0.007244868669658899,
0.06809329241514206,
0.011447739787399769,
0.05046834796667099,
-0.02531890943646431,
0.038944344967603683,
-0.025217227637767792,
0.044808030128479004,
0.000650873058475554,
-0.08161704987287521,
-0.027183085680007935,
-0.1022246703505516,
-0.011346057057380676,
-0.009998765774071217,
-0.027691498398780823,
0.012795031070709229,
0.06622911244630814,
-0.05185800790786743,
-0.0024107194039970636,
-0.0660257488489151,
0.0499599352478981,
-0.015803134068846703,
-0.00022229777823667973,
0.022014232352375984,
0.00972761306911707,
-0.015752293169498444,
0.010524124838411808,
0.020929619669914246,
0.030064085498452187,
0.010346180759370327,
-0.0001804597268346697,
0.05097676068544388,
0.01974332705140114,
-0.030114928260445595,
-0.015828555449843407,
-0.019031548872590065,
0.02072625607252121,
0.010524124838411808,
-0.04775681719183922,
0.014260952360928059,
0.0054145860485732555,
0.02882695011794567,
-0.06850001960992813,
0.023963144049048424,
0.042401548475027084,
0.05131570249795914,
-0.04294385388493538,
-0.00812187884002924,
-0.019150178879499435,
0.04179145395755768,
-0.009600509889423847,
0.03650397062301636,
0.026454363018274307,
0.020116161555051804,
-0.044299617409706116,
0.053417135030031204,
0.01371864601969719,
0.021675290539860725,
-0.003518633544445038,
0.030521657317876816,
-0.0020760148763656616,
0.05121401697397232,
0.078092060983181,
0.007833778858184814,
-0.012066307477653027,
-0.03650397062301636,
0.09219200909137726,
0.007757517043501139,
-0.008160009980201721,
0.00008241832256317139,
-0.009719139896333218,
-0.011939204297959805,
-0.10798667371273041,
-0.017201267182826996,
-0.043147217482328415,
0.05328156054019928,
0.011718892492353916,
-0.013744066469371319,
-0.011498580686748028,
-0.02577647939324379,
0.008914154022932053,
-0.038435935974121094,
-0.07029640674591064,
-0.0011174468090757728,
-0.028403274714946747,
-0.03241972625255585,
-0.01831977255642414,
0.03152153268456459,
-0.06921179592609406,
0.03484315797686577,
0.03409748524427414,
-0.02067541517317295,
-0.02003142610192299,
-0.0003948135708924383,
0.029996298253536224,
-0.044706348329782486,
-0.03279256448149681,
-0.020065320655703545,
0.013591542840003967,
0.01986195519566536,
0.0020654231775552034,
0.040571264922618866,
0.036131132394075394,
-0.010761383920907974,
-0.011218954809010029,
-0.022353174164891243,
-0.00290006585419178,
0.03031829185783863,
-0.046299371868371964,
-0.0706353485584259,
0.00815153680741787,
0.012896713800728321,
-0.010973221622407436,
0.021912550553679466,
0.06311085820198059,
-0.027233926579356194,
0.03369075804948807,
0.006922874599695206,
0.005092591978609562,
0.00893110129982233,
-0.031606268137693405,
-0.005334087647497654,
0.03191131725907326,
0.055891405791044235,
-0.03231804445385933,
0.00541034946218133,
0.012659454718232155,
-0.010735963471233845,
-0.060195960104465485,
0.015396405011415482,
0.049858253449201584,
-0.01225272472947836,
0.0033915305975824594,
-0.03765637055039406,
0.020183950662612915,
0.051586855202913284,
-0.063144750893116,
-0.027572868391871452,
-0.0037940233014523983,
0.02945399284362793,
-0.049858253449201584,
-0.005982312373816967,
0.015345564112067223,
-0.01757410168647766,
-0.04982436075806618,
-0.012956027872860432,
0.014337213709950447,
-0.037927523255348206,
-0.005029040388762951,
-0.011286742985248566,
-0.00039401918184012175,
0.030589444562792778,
0.006054337602108717,
-0.04850248992443085,
0.04490971192717552,
0.002592900302261114,
0.03118259273469448,
0.02226843871176243,
0.0255561675876379,
0.015760766342282295,
-0.014049113728106022,
0.08175262063741684,
-0.026335733011364937,
0.021743079647421837,
0.03857151046395302,
-0.041655875742435455,
0.08202377706766129,
0.04385899379849434,
-0.01681995764374733,
0.0266916211694479,
-0.037453003227710724,
0.018302826210856438,
-0.030843650922179222,
0.009320884011685848,
0.06073826551437378,
-0.012210357934236526,
0.0006344555877149105,
0.04568927735090256,
-0.027979597449302673,
0.056298136711120605,
0.03319929167628288,
-0.028810003772377968,
0.008261692710220814,
-0.033165398985147476,
0.001085671130567789,
0.01911628432571888,
0.06009427830576897,
0.017472419887781143,
0.014023693278431892,
0.002605610527098179,
-0.013455966487526894,
0.000951153808273375,
-0.03341960534453392,
0.03806309774518013,
-0.03911381587386131,
0.041893135756254196,
-0.029843773692846298,
0.04263880476355553,
-0.026708567515015602,
-0.015159145928919315,
-0.02255653776228428,
-0.0057874214835464954,
0.02377672679722309,
0.058874089270830154,
-0.07287236303091049,
-0.007295709569007158,
-0.015057464130222797,
0.029589569196105003,
0.03721574693918228,
-0.005279009696096182,
-0.0637548416852951,
0.029996298253536224,
0.026149315759539604,
0.05982312560081482,
0.02830159291625023,
-0.058535147458314896,
-0.008409978821873665,
0.04558759555220604,
-0.051078442484140396,
-0.01484562549740076,
-0.03640228882431984,
0.013167866505682468,
0.02565785124897957,
-0.030216610059142113,
-0.01591329090297222,
0.026894986629486084,
-0.00987166352570057,
0.01127826888114214,
-0.01870955526828766,
-0.01274419017136097,
-0.027827074751257896,
0.02548838034272194,
0.07171995937824249,
-0.015599769540131092,
-0.023691991344094276,
-0.02613236755132675,
-0.031199539080262184,
0.015057464130222797,
0.0700252577662468,
-0.028030438348650932,
-0.03469063341617584,
0.0011354531161487103,
-0.01489646639674902,
0.003105548908933997,
0.03996117040514946,
-0.011871416121721268,
-0.005922997836023569,
0.049688782542943954,
-0.040571264922618866,
-0.018167249858379364,
0.030114928260445595,
-0.009854716248810291,
0.024674920365214348,
0.027776233851909637,
0.022183703258633614,
-0.0054230596870183945,
-0.08026128262281418,
0.05121401697397232,
-0.010024186223745346,
-0.00218193419277668,
-0.042232077568769455,
-0.00970219261944294,
0.055145736783742905,
-0.029996298253536224,
0.057958949357271194,
-0.006537328939884901,
-0.031131751835346222,
-0.003533462295308709,
-0.023353049531579018,
-0.005723869893699884,
0.00045571706141345203,
0.06609354168176651,
-0.0072321584448218346,
0.02726782113313675,
0.021726131439208984,
0.003768602618947625,
-0.01122742798179388,
0.020997408777475357,
-0.05002772435545921,
-0.02142108604311943,
-0.027233926579356194,
0.03289424628019333,
-0.026284892112016678,
-0.028403274714946747,
0.06009427830576897,
-0.02974209189414978,
-0.011701946146786213,
0.00990555714815855,
-0.028555797412991524,
-0.008066801354289055,
0.01596413180232048,
-0.0441979356110096,
0.104529470205307,
-0.05192579701542854,
-0.02308189682662487,
-0.04867196083068848,
-0.012888239696621895,
-0.0042028711177408695,
-0.015235408209264278,
-0.015125252306461334,
-0.016557278111577034,
0.02623405121266842,
-0.00589757738634944,
-0.022353174164891243,
0.03860540688037872,
-0.017074164003133774,
-0.021963391453027725,
-0.007562626153230667,
0.029437044635415077,
0.004457077011466026,
-0.03433474525809288,
0.022709062322974205,
-0.00021514823311008513,
0.04114746302366257,
-0.03541935607790947,
0.02830159291625023,
-0.0013049236731603742,
-0.010015713050961494,
0.00781259499490261,
-0.04436740651726723,
-0.02945399284362793,
-0.018218090757727623,
-0.05504405498504639,
-0.012481510639190674,
0.02106519602239132,
0.03518209978938103,
0.004126609303057194,
0.037927523255348206,
-0.0004970255540683866,
-0.05063781887292862,
-0.06385652720928192,
0.009363250806927681,
0.006804245058447123,
-0.062263503670692444,
-0.06195845454931259,
-0.04084241762757301,
0.0014108428731560707,
0.0021120274905115366,
-0.02221759781241417,
-0.018506189808249474,
-0.023115791380405426,
0.0076049938797950745,
-0.04782460629940033,
0.004537575412541628,
-0.07036419957876205,
0.009295462630689144,
-0.009575089439749718,
0.030013244599103928,
0.03555493429303169,
-0.06344980001449585,
-0.021861709654331207,
0.02921673282980919,
-0.0419270284473896,
-0.04324889928102493,
0.03840203955769539,
-0.033724650740623474,
0.05402722954750061,
0.06850001960992813,
-0.04714672267436981,
0.012608613818883896,
-0.026894986629486084,
-0.017591049894690514,
-0.004690099041908979,
-0.02923368103802204,
0.02601373940706253,
0.02377672679722309,
0.0004403587954584509,
-0.015099831856787205,
-0.046875569969415665,
-0.022827690467238426,
-0.02382756769657135,
0.014133849181234837,
-0.0007001254707574844,
0.06351758539676666,
-0.01757410168647766,
0.029013369232416153,
-0.019201019778847694,
0.028928633779287338,
-0.035622723400592804,
0.014362634159624577,
-0.012905186973512173,
0.004702809266746044,
0.020116161555051804,
0.006664431653916836,
-0.01757410168647766,
0.0488075353205204,
-0.017125004902482033,
-0.03718185052275658,
0.03596166521310806,
0.026606885716319084,
-0.016786063089966774,
0.056704867631196976,
-0.003912652842700481,
-0.02031952701508999,
-0.03772415965795517,
-0.026284892112016678,
-0.0012953910045325756,
-0.016379334032535553,
-0.0717877522110939,
-0.056637078523635864,
-0.006795771420001984,
-0.04443519562482834,
0.009236148558557034,
-0.013278022408485413,
-0.003923244774341583,
-0.0013684751465916634,
-0.02123466692864895,
-0.018523138016462326,
-0.0009347363375127316,
0.07056756317615509,
-0.013998272828757763,
0.03606334701180458,
0.012184936553239822,
0.022997161373496056,
0.10175015777349472,
-0.005931471474468708,
-0.03409748524427414,
-0.042571015655994415,
-0.033267080783843994,
-0.05694212391972542,
-0.10181794315576553,
0.0797867625951767,
-0.04799407720565796,
-0.02916589193046093,
0.02452239766716957,
-0.06768656522035599,
0.008613343350589275,
-0.0255561675876379
] |
710,346
|
js2py.evaljs
|
get_file_contents
| null |
def get_file_contents(path_or_file):
if hasattr(path_or_file, 'read'):
js = path_or_file.read()
else:
with codecs.open(path_as_local(path_or_file), "r", "utf-8") as f:
js = f.read()
return js
|
(path_or_file)
|
[
0.013384965248405933,
-0.051913246512413025,
-0.0015530713135376573,
0.048936888575553894,
0.009162687696516514,
-0.0028876743745058775,
-0.003207806032150984,
0.033968567848205566,
0.04620278999209404,
0.009430906735360622,
0.08998296409845352,
0.026925669983029366,
-0.027531325817108154,
-0.031044121831655502,
-0.02208043448626995,
0.041807468980550766,
-0.010469171218574047,
-0.02239191345870495,
-0.0005791571456938982,
0.015426886267960072,
-0.032463084906339645,
-0.05115185305476189,
-0.0012253689346835017,
0.03990398347377777,
-0.017910070717334747,
-0.01695832796394825,
-0.04125372692942619,
-0.02728906273841858,
-0.018290767446160316,
-0.03440117835998535,
0.0745474249124527,
-0.05554717406630516,
-0.011896785348653793,
0.0155999306589365,
-0.03436657041311264,
0.0639917254447937,
0.03208238631486893,
0.015193277038633823,
-0.05073654651641846,
-0.06793713569641113,
-0.03222082182765007,
0.051463332027196884,
0.004525104537606239,
-0.03507605195045471,
-0.025004880502820015,
-0.017961982637643814,
-0.019778946414589882,
-0.04502608999609947,
0.01558262575417757,
-0.008293140679597855,
0.11794689297676086,
0.017157327383756638,
-0.02770436927676201,
-0.023793570697307587,
0.01721789315342903,
0.003032598877325654,
-0.005308129359036684,
0.03436657041311264,
-0.02377626672387123,
0.02697758376598358,
-0.01226883102208376,
-0.04204972833395004,
0.04436852037906647,
-0.02822350151836872,
-0.008608946576714516,
0.05174020305275917,
0.037896670401096344,
-0.06087693199515343,
0.0040665376000106335,
-0.013990620151162148,
-0.0073370723985135555,
0.04502608999609947,
-0.055304910987615585,
-0.003757221158593893,
0.027202541008591652,
-0.005597978364676237,
-0.020782602950930595,
-0.016266150400042534,
-0.00452077854424715,
0.025610534474253654,
-0.009335732087492943,
-0.04879845306277275,
0.017364980652928352,
0.018896421417593956,
0.02434731274843216,
-0.07579334080219269,
0.043053384870290756,
-0.01764185167849064,
-0.009456862695515156,
0.04710261896252632,
0.0260777547955513,
0.009205949492752552,
-0.06807556748390198,
-0.008812273852527142,
0.024468444287776947,
-0.023637831211090088,
0.027029497548937798,
0.006718439515680075,
-0.046825747936964035,
0.046410441398620605,
-0.0018440018175169826,
0.08679895102977753,
-0.013307095505297184,
0.00588782737031579,
0.046375833451747894,
0.032134298235177994,
0.01132574025541544,
-0.009560689330101013,
0.003220784245058894,
-0.03741214796900749,
-0.03273995593190193,
-0.034349266439676285,
-0.04326104000210762,
0.013765662908554077,
0.04869462549686432,
-0.04620278999209404,
-0.050252024084329605,
0.006484829820692539,
0.038761891424655914,
0.00005870658060302958,
0.022962959483265877,
0.022028520703315735,
-0.0013767825439572334,
0.0195193812251091,
0.00787350907921791,
0.002677858341485262,
0.015098102390766144,
-0.038311976939439774,
0.006493481807410717,
-0.008284488692879677,
0.04578748345375061,
-0.002786010969430208,
0.002370704896748066,
0.029590550810098648,
-0.019207900390028954,
0.036270055919885635,
-0.04731027036905289,
0.022374609485268593,
0.040942247956991196,
0.045579832047224045,
0.03478187695145607,
-0.004157385788857937,
-0.03507605195045471,
-0.010399953462183475,
-0.021197909489274025,
0.011862176470458508,
0.06475312262773514,
-0.014475143514573574,
-0.048486970365047455,
0.021076777949929237,
0.01986546814441681,
-0.0431918203830719,
-0.04440312832593918,
-0.019155988469719887,
0.03716988489031792,
-0.043814778327941895,
0.008578663691878319,
0.03497222438454628,
-0.02050573192536831,
-0.010893129743635654,
-0.03336291387677193,
0.017572633922100067,
0.015383625403046608,
-0.000312560994643718,
0.0575890950858593,
0.04357251897454262,
-0.002824945840984583,
-0.04374556243419647,
-0.040838420391082764,
-0.063334159553051,
-0.01070278137922287,
0.008085488341748714,
-0.041807468980550766,
0.04696418344974518,
0.05340142548084259,
-0.03530100733041763,
-0.010823911987245083,
0.03161516785621643,
0.031528644263744354,
0.0025697057135403156,
-0.02239191345870495,
-0.041322942823171616,
-0.003992993850260973,
0.035820141434669495,
0.0387272834777832,
0.03355326130986214,
0.0012816082453355193,
-0.05461273714900017,
0.08354571461677551,
0.011619915254414082,
-0.018135027959942818,
-0.007609616499394178,
-0.02140556275844574,
-0.007267854642122984,
-0.024035833775997162,
-0.08818329870700836,
0.02645845152437687,
-0.011420913971960545,
-0.07987718284130096,
-0.053989775478839874,
-0.01332439947873354,
-0.03078455477952957,
0.013973315246403217,
0.053609080612659454,
-0.04315721243619919,
0.08209214359521866,
0.01059030182659626,
0.011066174134612083,
-0.05627395957708359,
0.08534538000822067,
-0.02169973775744438,
-0.04634122550487518,
-0.027410194277763367,
-0.02310139499604702,
0.04104607179760933,
-0.007501464337110519,
-0.1276373714208603,
0.03298221528530121,
-0.024710705503821373,
0.04786401242017746,
0.0691138356924057,
0.02076529897749424,
-0.019398249685764313,
0.04308799281716347,
0.0403192862868309,
-0.031372904777526855,
-0.04547600448131561,
0.020228860899806023,
-0.03312065079808235,
-0.0061127846129238605,
0.014726057648658752,
-0.017892764881253242,
0.0771084725856781,
-0.030196204781532288,
-0.01849842071533203,
0.02761784754693508,
0.028742633759975433,
-0.05049428343772888,
0.04654887691140175,
-0.007293811067938805,
-0.006355046760290861,
-0.024018527939915657,
0.046479661017656326,
0.02969437651336193,
-0.02950402908027172,
0.0009776995284482837,
0.03813893347978592,
0.021717041730880737,
0.015885453671216965,
-0.0403192862868309,
0.04502608999609947,
0.06541068851947784,
-0.0023079763632267714,
-0.006428590510040522,
-0.005022606812417507,
0.03786206245422363,
0.05464734509587288,
-0.03327639028429985,
0.020678777247667313,
0.0367891862988472,
0.010875824838876724,
-0.033709000796079636,
0.024866444990038872,
-0.030957600101828575,
-0.033518653362989426,
-0.08250745385885239,
-0.06949453055858612,
0.04125372692942619,
-0.016724716871976852,
-0.007125093135982752,
-0.04156520590186119,
0.04696418344974518,
0.012995615601539612,
-0.05520108714699745,
-0.03564709424972534,
-0.060392409563064575,
-0.008340728469192982,
0.01643054187297821,
0.03654692694544792,
0.022409217432141304,
-0.1145552322268486,
0.04644504934549332,
0.025800883769989014,
-0.01945016346871853,
0.03502413630485535,
-0.01820424571633339,
0.010131735354661942,
-0.09316696971654892,
-0.028033152222633362,
0.009733733721077442,
0.04187668487429619,
-0.013895445503294468,
-0.03571631386876106,
-0.029867421835660934,
0.024330008774995804,
-0.00212411698885262,
-0.01583353988826275,
-0.04409164935350418,
0.06326494365930557,
-0.0052475640550255775,
-0.008825251832604408,
-0.002431270433589816,
0.023309048265218735,
0.002316628582775593,
-0.01804850623011589,
-0.007198636885732412,
-0.02588740549981594,
-0.03980015590786934,
-0.03158055990934372,
0.044645391404628754,
0.00911942683160305,
-0.06492616981267929,
0.038277365267276764,
0.027012191712856293,
0.0048106275498867035,
0.03609701246023178,
0.0038826782256364822,
-0.00631178542971611,
0.045925918966531754,
-0.04069998487830162,
0.021959302946925163,
-0.012121742591261864,
0.049317583441734314,
-0.017503416165709496,
0.018515724688768387,
-0.05807361751794815,
0.02367244102060795,
-0.015340364538133144,
0.03609701246023178,
0.06091154366731644,
0.007401963695883751,
0.002418291987851262,
-0.022166956216096878,
0.0011831894516944885,
0.026735322549939156,
-0.010451867245137691,
-0.0051048025488853455,
-0.04322642832994461,
-0.0037507321685552597,
-0.024918358772993088,
0.062399722635746,
-0.04786401242017746,
-0.02716793306171894,
-0.0023079763632267714,
-0.02988472580909729,
0.005589326377958059,
0.043849390000104904,
0.02185547724366188,
0.03941945731639862,
-0.07302463054656982,
-0.012208265252411366,
-0.01585949771106243,
-0.011092130094766617,
-0.043018776923418045,
-0.08839095383882523,
0.07108654081821442,
-0.000595380028244108,
0.00116804800927639,
-0.00008942867862060666,
0.052743859589099884,
0.025489404797554016,
0.03980015590786934,
0.004224440548568964,
0.02927907183766365,
0.009318428114056587,
0.024070441722869873,
0.039557892829179764,
0.06873314082622528,
-0.03467804938554764,
0.011983308009803295,
-0.022443827241659164,
0.017157327383756638,
0.035854749381542206,
0.00008212837565224618,
0.01513271126896143,
-0.009975995868444443,
-0.014873145148158073,
-0.04294956102967262,
-0.029348289594054222,
-0.008306119590997696,
-0.00045802624663338065,
0.03293030336499214,
-0.021647823974490166,
0.0007543643587268889,
-0.00037312647327780724,
0.04824471101164818,
-0.013687792234122753,
-0.04111529141664505,
-0.03613162040710449,
-0.02038460224866867,
0.06485694646835327,
-0.04706801101565361,
0.033328305929899216,
0.019432859495282173,
-0.01513271126896143,
0.03817354142665863,
0.015721062198281288,
0.040042418986558914,
0.056654658168554306,
0.04997515305876732,
0.0022517370525747538,
0.030161596834659576,
-0.04281112551689148,
-0.012225569225847721,
-0.037135276943445206,
0.001138846855610609,
0.01083256397396326,
0.009266514331102371,
-0.01460492704063654,
0.0355086587369442,
-0.031113339588046074,
0.003592829219996929,
0.039142586290836334,
-0.04371095448732376,
0.0098375603556633,
0.005174020305275917,
-0.022962959483265877,
-0.043468691408634186,
0.029867421835660934,
-0.03654692694544792,
-0.0473448820412159,
0.010174996219575405,
-0.026216190308332443,
-0.012917745858430862,
0.013731054030358791,
-0.07876969873905182,
-0.005329759791493416,
0.015063493512570858,
-0.003385176183655858,
0.07129418849945068,
0.052328553050756454,
-0.038277365267276764,
0.012926398776471615,
-0.044333912432193756,
0.024399226531386375,
0.042222775518894196,
-0.023914702236652374,
0.012364004738628864,
0.037066057324409485,
0.022893741726875305,
-0.017771635204553604,
0.07281698286533356,
-0.019207900390028954,
0.0012426733737811446,
0.006065197754651308,
-0.01974433846771717,
-0.03928102180361748,
0.042188163846731186,
0.008401293307542801,
-0.053643688559532166,
-0.022063130512833595,
-0.012139047496020794,
0.009785646572709084,
-0.02991933375597,
-0.015669148415327072,
0.030196204781532288,
0.0723324567079544,
0.0033527305349707603,
-0.00782159622758627,
0.03786206245422363,
0.005269194487482309,
0.05219011753797531,
0.07593177258968353,
-0.12251526117324829,
0.052363160997629166,
-0.06793713569641113,
-0.06530686467885971,
0.014258838258683681,
-0.014215577393770218,
-0.002695162780582905,
0.022184260189533234,
0.033328305929899216,
-0.07641629874706268,
-0.046825747936964035,
0.06392250955104828,
0.019398249685764313,
-0.009898126125335693,
0.015721062198281288,
-0.042222775518894196,
-0.005597978364676237,
-0.03993859142065048,
-0.07150184363126755,
-0.030005857348442078,
-0.010183648206293583,
0.0021316877100616693,
-0.011922742240130901,
0.024589573964476585,
0.0010577323846518993,
0.06063467264175415,
0.003798319259658456,
0.06361103057861328,
0.06634512543678284,
-0.0499059334397316,
-0.06831783056259155,
-0.03161516785621643,
0.010538388974964619,
-0.026994887739419937,
0.026216190308332443,
0.021924695000052452,
0.036719970405101776,
-0.0007008288521319628,
-0.02732367254793644,
-0.01078065112233162,
0.05675848200917244,
-0.00779996532946825,
0.0087992949411273,
0.05257081240415573,
0.014899102039635181,
0.020228860899806023,
0.006744395941495895,
0.021076777949929237,
0.03682379797101021,
-0.002766543533653021,
-0.032809171825647354,
-0.0028119676280766726,
-0.0033570565283298492,
-0.03755057975649834,
0.08001561462879181,
-0.0024334334302693605,
0.020678777247667313,
-0.06513381749391556,
-0.0027405868750065565,
0.011749697849154472,
0.007791312877088785,
-0.010322083719074726,
-0.05457812547683716,
-0.06949453055858612,
0.0027167932130396366,
-0.07717769593000412,
0.021249821409583092,
-0.003201316809281707,
-0.03848502039909363,
0.0034241112880408764,
0.0004382884071674198,
-0.03459152579307556,
0.04949062690138817,
-0.002855228492990136,
-0.0074798334389925,
-0.0518440306186676,
-0.000235907849855721,
0.015219232998788357,
0.016309412196278572,
0.011524740606546402,
-0.02054034173488617,
-0.01964051090180874,
-0.04018085449934006,
-0.04291494935750961,
-0.013532052747905254,
0.05596248060464859,
0.017875460907816887,
0.01038264948874712,
-0.029746290296316147,
0.01922520622611046,
0.014016576111316681,
0.028690719977021217,
-0.01737363263964653,
-0.05080576241016388,
0.012035220861434937,
-0.03969632834196091,
-0.022928349673748016,
0.059561796486377716,
0.019017552956938744,
-0.0739244595170021,
0.04156520590186119,
-0.04755253344774246,
0.036685362458229065,
-0.022859133780002594,
0.041772857308387756,
-0.004884171299636364,
-0.02355130948126316,
0.045925918966531754,
0.035750921815633774,
0.05260542407631874,
-0.034072395414114,
0.02076529897749424,
-0.008526750840246677,
0.014968319796025753,
0.012372656725347042,
0.07129418849945068,
0.02706410549581051,
0.025316359475255013,
-0.06447625160217285,
0.007501464337110519,
0.00752742076292634,
0.001463304623030126,
0.048140883445739746,
-0.008003292605280876,
0.03890032693743706,
0.014371316879987717,
-0.012554353103041649,
0.015002928674221039,
-0.028431154787540436,
0.017538025975227356,
-0.027081409469246864,
0.06738339364528656,
0.04571826756000519,
-0.020938342437148094,
0.062019024044275284,
-0.0029179570265114307,
-0.016023889183998108,
-0.03338021785020828,
-0.049352191388607025,
-0.023239830508828163,
-0.003190501593053341,
-0.008639229461550713,
0.006264198571443558,
0.011914090253412724,
-0.016819892451167107,
0.027652455493807793,
0.045129913836717606,
0.001049620914272964,
-0.04751792550086975,
-0.023014873266220093,
-0.003770199604332447,
0.0761394277215004,
0.08250745385885239,
-0.019190596416592598,
-0.04634122550487518,
-0.01718328520655632,
0.018256157636642456,
0.02306678518652916,
0.020644167438149452,
0.0195193812251091,
0.04163442552089691,
0.018671464174985886,
0.028171587735414505,
0.023585917428135872,
-0.005775348749011755,
-0.040423113852739334,
0.051567159593105316,
0.04530296102166176,
-0.007436572574079037,
0.030576901510357857,
0.04907532408833504,
0.01755532994866371,
-0.02991933375597,
-0.007306789513677359,
-0.011265174485743046,
-0.00044639984844252467,
0.01124787051230669,
-0.016759326681494713,
-0.013376313261687756,
-0.057381439954042435,
-0.018671464174985886,
-0.059561796486377716,
-0.007635573390871286,
0.008379663340747356,
-0.014535709284245968,
0.041772857308387756,
-0.03824275732040405,
-0.024693401530385017,
0.01078065112233162,
0.005745065864175558,
0.001049620914272964,
0.01794467866420746,
0.003692329628393054,
0.11497053503990173,
-0.052328553050756454,
0.030161596834659576,
0.02706410549581051,
0.05160176753997803,
0.014302099123597145,
-0.013064833357930183,
-0.007786986883729696,
0.009396297857165337,
-0.022997567430138588,
-0.04692957550287247,
0.029036808758974075,
0.07994639873504639,
-0.013194616883993149,
0.020523035898804665,
0.048486970365047455,
-0.014319404028356075,
-0.06032319366931915,
0.0003525774518493563,
0.008764686062932014,
0.04582209140062332,
-0.013315747492015362,
0.00887716468423605,
0.01564319245517254,
0.021803563460707664,
0.024901054799556732,
0.001174537232145667,
0.008448881097137928,
-0.025454794988036156,
0.0308710765093565,
-0.01460492704063654,
0.04194590449333191,
0.06804095953702927,
-0.025160619989037514,
-0.054474301636219025,
-0.02317061275243759,
-0.04585669934749603,
0.017503416165709496,
0.030715337023139,
0.029971247538924217,
0.038865718990564346,
0.012329395860433578,
0.009465515613555908,
0.08375336974859238,
-0.009560689330101013,
-0.05011358857154846,
0.061638329178094864,
-0.050286632031202316,
-0.003408969845622778,
-0.04028467833995819,
0.00304341409355402,
-0.03682379797101021,
-0.06907922774553299,
0.008314771577715874,
-0.02566244825720787,
-0.017347676679491997,
-0.003941080532968044,
-0.024243485182523727,
0.016447847709059715,
0.012727397494018078,
-0.08534538000822067,
-0.0032359256874769926,
0.03467804938554764,
-0.03824275732040405,
-0.027687065303325653,
-0.01616232469677925,
-0.014215577393770218,
0.018671464174985886,
-0.00017696469149086624,
0.05257081240415573,
-0.030126987025141716,
-0.04069998487830162,
0.019778946414589882,
0.010261517949402332,
-0.036685362458229065,
-0.0011485805734992027,
0.02694297581911087,
-0.033259086310863495,
-0.028327329084277153,
-0.009301123209297657,
-0.029157940298318863,
-0.042222775518894196,
-0.026354623958468437,
-0.005156715866178274,
-0.05558178201317787,
0.03253230080008507,
-0.02038460224866867,
0.025870101526379585,
0.03768901526927948,
-0.037585191428661346,
0.037481363862752914,
-0.039211805909872055,
-0.021457474678754807,
0.11580114811658859,
-0.03448769822716713,
-0.004254722967743874,
0.001965132774785161,
0.054474301636219025,
0.009145383723080158,
0.015201929025352001,
-0.026025841012597084,
-0.04018085449934006,
-0.032047778367996216,
-0.014985623769462109,
-0.04762175306677818,
0.028500372543931007,
-0.01465683989226818,
-0.011767002753913403,
0.029071418568491936,
-0.027946630492806435,
-0.0729554146528244,
0.0001585787395015359
] |
710,347
|
js2py.evaljs
|
import_js
|
Imports from javascript source file.
globals is your globals()
|
def import_js(path, lib_name, globals):
"""Imports from javascript source file.
globals is your globals()"""
with codecs.open(path_as_local(path), "r", "utf-8") as f:
js = f.read()
e = EvalJs()
e.execute(js)
var = e.context['var']
globals[lib_name] = var.to_python()
|
(path, lib_name, globals)
|
[
-0.003381534246727824,
-0.022912537679076195,
-0.0367356538772583,
0.009377401322126389,
-0.03257792070508003,
0.03977746143937111,
0.0134091442450881,
0.05954020097851753,
-0.04060540720820427,
0.00831546913832426,
-0.021904602646827698,
0.05115273594856262,
-0.03538574278354645,
0.015560006722807884,
-0.06188005208969116,
-0.006754069123417139,
0.04467314854264259,
0.0266742967069149,
-0.0019258770626038313,
-0.0770350843667984,
-0.06915158778429031,
-0.020572686567902565,
-0.013013169169425964,
0.05615641549229622,
0.019906729459762573,
-0.029248133301734924,
0.02696227841079235,
0.04474514350295067,
-0.0096293855458498,
-0.03855353966355324,
0.08574652671813965,
-0.046581026166677475,
0.004452466033399105,
0.017503883689641953,
-0.027430249378085136,
-0.037365615367889404,
0.014084100723266602,
-0.06803565472364426,
-0.04388120025396347,
-0.05158470571041107,
0.045177116990089417,
0.09035423398017883,
0.05763231962919235,
-0.024946408346295357,
0.014408079907298088,
-0.00746952323243022,
-0.054824501276016235,
-0.06807165592908859,
0.027214262634515762,
0.03862553462386131,
0.03430581092834473,
-0.01561400294303894,
0.021904602646827698,
0.0003959747264161706,
0.0028528179973363876,
0.05439252778887749,
-0.025972342118620872,
0.012518201023340225,
-0.026170330122113228,
-0.008909431286156178,
-0.032001957297325134,
0.006430089473724365,
0.009953364729881287,
-0.00021612683485727757,
-0.010799311101436615,
0.04128936305642128,
-0.00567863741889596,
-0.0536365769803524,
-0.03000408411026001,
-0.0663437619805336,
-0.02519839070737362,
0.038877516984939575,
0.009611386805772781,
-0.008202976547181606,
0.04359321668744087,
0.0723193809390068,
-0.06324796378612518,
-0.07156343013048172,
-0.052484650164842606,
0.017152905464172363,
0.009719379246234894,
-0.0066865733824670315,
0.04125336557626724,
0.021022658795118332,
-0.038193561136722565,
-0.02395647019147873,
-0.021400634199380875,
0.0001822383637772873,
0.03192996233701706,
-0.011510265059769154,
0.006007116753607988,
0.010259345173835754,
-0.05201667919754982,
0.034485798329114914,
0.0014669063966721296,
-0.03333387151360512,
0.06864761561155319,
-0.02820419892668724,
-0.04348522424697876,
0.05079275742173195,
0.027862221002578735,
0.0019045034423470497,
-0.057452332228422165,
-0.07696308940649033,
0.036537669599056244,
0.008297470398247242,
0.05162070691585541,
-0.022228581830859184,
0.016864923760294914,
0.0007087047561071813,
-0.01367912720888853,
-0.00415773456916213,
-0.054680511355400085,
0.04359321668744087,
0.02942812256515026,
-0.039705466479063034,
0.009503393433988094,
0.04748097062110901,
0.05824428051710129,
0.02131064049899578,
-0.03340586647391319,
-0.010619321838021278,
0.02296653389930725,
0.10525728017091751,
0.06583979725837708,
0.05410454794764519,
0.05885624513030052,
-0.011708253063261509,
0.025270387530326843,
-0.008526955731213093,
0.02685428597033024,
-0.00478319451212883,
0.013589132577180862,
0.014273089356720448,
-0.03480977937579155,
0.0054401527158916,
-0.05493249371647835,
0.01844882220029831,
0.02062668278813362,
0.000013200329703977332,
-0.00742902560159564,
0.022624555975198746,
0.009413398802280426,
-0.02037470042705536,
0.014867051504552364,
0.0005087487515993416,
-0.01363412942737341,
0.016279960051178932,
-0.06069212779402733,
0.05903623253107071,
-0.007798002101480961,
-0.03000408411026001,
0.0009961238829419017,
-0.01363412942737341,
-0.010628321208059788,
-0.030652044340968132,
-0.008351466618478298,
-0.049496840685606,
0.000869007024448365,
0.03772559389472008,
0.013166159391403198,
-0.0061241090297698975,
0.0643278956413269,
0.02284054271876812,
0.016324957832694054,
0.05021679401397705,
0.04542909935116768,
-0.04427717253565788,
-0.05702035874128342,
-0.02350649982690811,
0.03180396929383278,
0.005728134419769049,
-0.027178265154361725,
0.049892816692590714,
0.011204284615814686,
-0.033351872116327286,
-0.05741633474826813,
0.050864752382040024,
0.040101438760757446,
0.053312595933675766,
-0.012887177057564259,
0.0008594451355747879,
-0.0011643007164821029,
0.004958683624863625,
-0.00034647787106223404,
0.04182932898402214,
-0.0002848880540113896,
-0.04820092394948006,
0.057452332228422165,
0.031012021005153656,
0.03714963048696518,
0.0417933315038681,
0.05954020097851753,
-0.011294279247522354,
-0.03869752958416939,
-0.07379528880119324,
-0.004204981494694948,
-0.0048371911980211735,
-0.09978563338518143,
0.10309741646051407,
-0.030616044998168945,
0.0051386719569563866,
-0.02863617241382599,
0.021832605823874474,
0.017134906724095345,
0.03097602352499962,
-0.0012554199201986194,
-0.04942484572529793,
-0.014084100723266602,
0.01600997895002365,
-0.02464042790234089,
-0.01838582567870617,
-0.007667510770261288,
0.044097185134887695,
0.023434504866600037,
-0.016324957832694054,
-0.12635193765163422,
0.0358717106282711,
0.0643278956413269,
0.0025175893679261208,
0.05025279149413109,
0.03866153210401535,
-0.004373720847070217,
0.0012329212622717023,
0.04827291890978813,
-0.03594370558857918,
-0.038193561136722565,
-0.020590685307979584,
-0.0217606108635664,
0.008193977177143097,
0.04665302112698555,
-0.011807246133685112,
0.10266544669866562,
-0.05410454794764519,
-0.024550432339310646,
-0.009035423398017883,
0.036267686635255814,
-0.0043849702924489975,
0.005831627640873194,
-0.026368316262960434,
-0.005516647826880217,
0.05298861861228943,
0.01410209946334362,
-0.037653595209121704,
0.005044178105890751,
0.045357104390859604,
-0.010421334765851498,
-0.04089339077472687,
-0.04186532646417618,
-0.05846026912331581,
-0.0068800607696175575,
0.07948292791843414,
0.0018336329376325011,
0.01493004709482193,
-0.03153398633003235,
0.06378792971372604,
0.0367356538772583,
-0.0016738931881263852,
0.006457088049501181,
-0.02710627019405365,
-0.01693691872060299,
-0.03356785699725151,
-0.019906729459762573,
-0.011609259061515331,
0.0029360626358538866,
-0.021508626639842987,
-0.015865987166762352,
0.06209603697061539,
0.029284130781888962,
-0.043413229286670685,
0.09625785797834396,
0.04164934158325195,
0.05039678141474724,
-0.028186200186610222,
-0.033927835524082184,
-0.05158470571041107,
-0.06040414422750473,
-0.01582098938524723,
-0.0029900590889155865,
0.023362508043646812,
-0.0005962119321338832,
0.027484245598316193,
-0.010178349912166595,
0.008103982545435429,
-0.0506487675011158,
0.003190296469256282,
0.003406282514333725,
-0.11389672756195068,
-0.0343778058886528,
-0.011393273249268532,
-0.007546018343418837,
-0.0020158712286502123,
0.006542582530528307,
0.004274727310985327,
-0.014588069170713425,
-0.003966496791690588,
0.03094002604484558,
-0.009323405101895332,
0.00709154736250639,
0.04366521164774895,
0.014120099134743214,
-0.00246134283952415,
0.006677574012428522,
0.04319724440574646,
-0.04042541980743408,
-0.08077884465456009,
-0.03056204877793789,
-0.04812892898917198,
-0.02021270990371704,
0.021076655015349388,
-0.026044337078928947,
-0.03527774661779404,
0.030778035521507263,
-0.00629509799182415,
-0.00809498317539692,
-0.02735825441777706,
-0.010097355581820011,
-0.03923749551177025,
-0.01712590642273426,
-0.03453979641199112,
0.05961219593882561,
-0.024406442418694496,
0.013238155283033848,
-0.019060783088207245,
-0.03579971566796303,
-0.02050069160759449,
0.006740569602698088,
0.0022408568765968084,
0.020824670791625977,
-0.004483963828533888,
-0.049748823046684265,
0.04211731255054474,
0.025360381230711937,
-0.009800374507904053,
0.031425993889570236,
-0.02986009418964386,
-0.03126400336623192,
-0.045177116990089417,
-0.016243962571024895,
-0.014894049614667892,
0.01600997895002365,
-0.06281599402427673,
-0.07091547548770905,
-0.0028505681548267603,
-0.03601570054888725,
0.03401782736182213,
-0.008963427506387234,
0.0028235698118805885,
0.05946820601820946,
-0.04956883564591408,
-0.01548801176249981,
-0.004207231570035219,
-0.02833019196987152,
-0.013247154653072357,
-0.0328839011490345,
0.03848154470324516,
0.04269327595829964,
-0.06177205592393875,
0.013733123429119587,
-0.07797102630138397,
0.01369712594896555,
0.03300989419221878,
0.021670617163181305,
-0.01844882220029831,
-0.02447843737900257,
0.009210912510752678,
0.0778990313410759,
0.005647139623761177,
-0.0361596904695034,
0.09560989588499069,
0.011096292175352573,
0.012509201653301716,
0.01886279694736004,
0.0435212217271328,
0.008621449582278728,
0.001982123591005802,
0.0038652531802654266,
-0.018520817160606384,
-0.021220644935965538,
-0.0012576697627082467,
0.021292641758918762,
-0.005449152085930109,
0.009755377657711506,
0.011114290915429592,
0.02726825885474682,
0.0462210513651371,
0.02312852442264557,
-0.027628237381577492,
-0.07206740230321884,
0.011276280507445335,
0.005584143567830324,
-0.014039103873074055,
0.012032232247292995,
0.04362921416759491,
0.01011535432189703,
-0.002895565237849951,
-0.01604597643017769,
0.05554445460438728,
0.07437125593423843,
0.07372329384088516,
0.008729442954063416,
0.017089908942580223,
-0.03094002604484558,
-0.0018415075028315187,
-0.018394825980067253,
-0.0018730054143816233,
0.025414377450942993,
-0.010295342653989792,
0.011573261581361294,
0.03333387151360512,
-0.02820419892668724,
0.011213283985853195,
-0.004407468717545271,
-0.05410454794764519,
-0.03209195286035538,
0.0038112567272037268,
-0.02627832256257534,
-0.02820419892668724,
-0.03394583240151405,
-0.047552965581417084,
-0.0622040294110775,
-0.00786999799311161,
-0.06583979725837708,
-0.01830483227968216,
-0.03302789106965065,
-0.045321106910705566,
-0.00044069060822948813,
0.05651639401912689,
-0.0506487675011158,
0.07048349827528,
0.02626032382249832,
0.03426981344819069,
0.09409799426794052,
-0.05885624513030052,
0.06583979725837708,
0.03399983048439026,
-0.015623003244400024,
0.008792438544332981,
0.020590685307979584,
-0.0007902620709501207,
0.014480075798928738,
0.025630364194512367,
-0.0013814117992296815,
-0.0322539396584034,
-0.038985513150691986,
-0.009512392804026604,
-0.052880626171827316,
0.06036814674735069,
-0.037509605288505554,
-0.060332149267196655,
0.0002878410159610212,
0.008490958251059055,
0.02447843737900257,
-0.05309661105275154,
0.01108729187399149,
-0.002095741219818592,
0.06188005208969116,
-0.015308022499084473,
0.041901323944330215,
0.031156010925769806,
-0.010529328137636185,
-0.0061376080848276615,
0.057308342307806015,
-0.04568108543753624,
0.032559920102357864,
0.01772886887192726,
-0.013463140465319157,
0.009395400062203407,
-0.011762249283492565,
0.025810353457927704,
0.005453651770949364,
0.04344922676682472,
-0.07300333678722382,
-0.05241265520453453,
0.04096538573503494,
0.022264579311013222,
0.013238155283033848,
0.0010816184803843498,
0.013913111761212349,
-0.03866153210401535,
-0.010007360950112343,
-0.05018079653382301,
-0.0037617599591612816,
0.02449643611907959,
-0.019024785608053207,
0.04636504128575325,
0.049604833126068115,
0.01032234076410532,
0.0037257622461766005,
-0.03192996233701706,
-0.00021486128389369696,
-0.0058541265316307545,
-0.003559272736310959,
-0.01749488338828087,
0.03412582352757454,
-0.007217539474368095,
-0.006223102565854788,
0.04366521164774895,
0.03277590870857239,
0.009138916619122028,
0.004301725421100855,
-0.006772067863494158,
-0.048632897436618805,
0.014813054352998734,
0.03162398189306259,
0.014354083687067032,
0.027196263894438744,
0.04481713846325874,
-0.03237993270158768,
0.023632491007447243,
-0.005692136473953724,
0.038193561136722565,
-0.06281599402427673,
-0.015101036056876183,
0.03511575981974602,
-0.034323807805776596,
-0.03747360780835152,
0.08963427692651749,
-0.0915781557559967,
0.018610812723636627,
-0.03725762292742729,
-0.042297299951314926,
0.0052916621789336205,
-0.03002208285033703,
-0.05903623253107071,
-0.01590198464691639,
-0.00881043728441,
0.04812892898917198,
-0.03041805885732174,
0.029482118785381317,
0.028708167374134064,
-0.007298534270375967,
-0.032541923224925995,
-0.011807246133685112,
0.026782291010022163,
0.047552965581417084,
-0.008067985065281391,
0.01753988116979599,
-0.01859281398355961,
-0.0266742967069149,
-0.017314894124865532,
-0.04632904380559921,
0.023020530119538307,
0.026746293529868126,
0.037761591374874115,
0.0030463056173175573,
-0.06936757266521454,
0.015551007352769375,
0.006830564234405756,
0.011861243285238743,
0.018790800124406815,
0.0006867686752229929,
0.028006212785840034,
-0.03153398633003235,
0.03155198693275452,
-0.10619322210550308,
-0.00808598380535841,
-0.026638299226760864,
-0.00810848269611597,
-0.012437205761671066,
0.050576772540807724,
0.027340255677700043,
0.030724039301276207,
0.028708167374134064,
-0.0059576197527348995,
-0.034467801451683044,
-0.015335021540522575,
0.013607131317257881,
0.0032555421348661184,
-0.006889060139656067,
0.01473206002265215,
0.004002494737505913,
0.02957211248576641,
-0.005647139623761177,
-0.03246992826461792,
0.053744569420814514,
-0.0328839011490345,
-0.014084100723266602,
0.02833019196987152,
0.018898794427514076,
-0.05176469683647156,
0.04841690883040428,
-0.013436142355203629,
-0.0025648362934589386,
-0.0014871550956740975,
0.06616377830505371,
0.010007360950112343,
0.08581852167844772,
0.04470914602279663,
-0.003482777625322342,
0.03441380336880684,
-0.0031452991534024477,
0.005737133789807558,
-0.011762249283492565,
0.023974468931555748,
0.054572515189647675,
-0.03189396485686302,
0.03669965639710426,
-0.03797757625579834,
-0.04910086467862129,
0.005120673216879368,
-0.048092931509017944,
-0.046041060239076614,
-0.013526136986911297,
-0.023308511823415756,
0.03714963048696518,
0.00784749910235405,
-0.04848890379071236,
0.010628321208059788,
0.05572444200515747,
0.01755787990987301,
0.0098453713580966,
-0.016882922500371933,
0.005417654290795326,
0.05975618585944176,
0.04884888231754303,
0.013643128797411919,
-0.010439333505928516,
0.011312277987599373,
-0.03443180397152901,
0.018322831019759178,
0.044493161141872406,
0.0035435238387435675,
0.0006907058996148407,
0.06792766600847244,
0.006745069287717342,
0.005908122751861811,
-0.03655566647648811,
-0.01830483227968216,
0.0006524583441205323,
0.025252388790249825,
-0.028708167374134064,
0.03884151950478554,
-0.011609259061515331,
0.026584303006529808,
-0.027430249378085136,
-0.008774439804255962,
-0.042333297431468964,
0.021652618423104286,
0.07581116259098053,
-0.049748823046684265,
0.016846925020217896,
-0.008405463770031929,
0.0016176467761397362,
0.034035827964544296,
0.013850116170942783,
-0.029122140258550644,
-0.036807648837566376,
0.011969235725700855,
-0.01604597643017769,
-0.04636504128575325,
-0.0008397588972002268,
-0.02091466449201107,
0.015587004832923412,
0.0005512147909030318,
0.024982405826449394,
-0.007618013769388199,
-0.047264982014894485,
0.02573835663497448,
-0.010700317099690437,
0.0004977807402610779,
0.004081239458173513,
0.010466331616044044,
0.003903500735759735,
-0.000732890737708658,
-0.02451443485915661,
-0.03270391374826431,
-0.009701380506157875,
0.006394091993570328,
0.01828683353960514,
0.021832605823874474,
-0.027160266414284706,
0.014462077058851719,
0.0017042661784216762,
-0.01967274397611618,
0.0025828350335359573,
0.026170330122113228,
-0.05010880157351494,
-0.0288881566375494,
-0.016657937318086624,
-0.0639319196343422,
0.028978150337934494,
0.018232835456728935,
-0.019996723160147667,
-0.04982082173228264,
0.05396055430173874,
0.010637320578098297,
0.0038562538102269173,
0.07717907428741455,
-0.007865497842431068,
-0.020590685307979584,
0.06357194483280182,
-0.059792183339595795,
-0.0034242814872413874,
0.007483022287487984,
0.002221733098849654,
0.08077884465456009,
-0.011753249913454056,
-0.026440313085913658,
0.03272191062569618,
0.010223347693681717,
-0.04434916749596596,
0.053600579500198364,
0.03011207841336727,
0.0074110268615186214,
0.038985513150691986,
-0.029626108705997467,
0.003091302700340748,
-0.07113146036863327,
-0.008580951951444149,
-0.012680190615355968,
-0.022246580570936203,
-0.010781311430037022,
0.038985513150691986,
0.023596493527293205,
0.0061241090297698975,
-0.043269239366054535,
0.038877516984939575,
-0.03356785699725151,
-0.02435244619846344,
0.007492021657526493,
0.0015602754428982735,
-0.004540210124105215,
-0.007820500992238522,
0.020194711163640022,
0.030742038041353226,
-0.04362921416759491,
-0.0010534952161833644,
-0.0036267684772610664,
-0.049460843205451965,
-0.05172869935631752,
0.07581116259098053,
-0.026494309306144714,
-0.008445960469543934,
-0.010556326247751713,
-0.007213039789348841,
-0.022930536419153214,
-0.026062335819005966,
0.027412250638008118,
-0.02642231434583664,
-0.037509605288505554,
-0.06670374423265457,
0.035565730184316635,
-0.003694264218211174,
0.0038112567272037268,
0.03250592574477196,
0.008697944693267345,
-0.1010095551609993,
-0.07080747932195663,
0.1258479654788971,
-0.0016401453176513314,
0.03761759772896767,
-0.0018077596323564649,
-0.00643458915874362,
0.030076080933213234,
-0.019330766052007675,
-0.0684676319360733,
0.001223921892233193,
-0.044637151062488556,
-0.042009320110082626,
-0.07354330271482468,
0.00478319451212883,
0.032955896109342575,
-0.06425590068101883,
0.041613344103097916,
0.014327085576951504,
-0.02311052568256855,
-0.03025606833398342
] |
710,350
|
js2py.translators
|
parse
|
Returns syntax tree of javascript_code.
Syntax tree has the same structure as syntax tree produced by esprima.js
Same as PyJsParser().parse For your convenience :)
|
def parse(javascript_code):
"""Returns syntax tree of javascript_code.
Syntax tree has the same structure as syntax tree produced by esprima.js
Same as PyJsParser().parse For your convenience :) """
p = PyJsParser()
return p.parse(javascript_code)
|
(javascript_code)
|
[
-0.01613510772585869,
0.02130785956978798,
0.007979432120919228,
-0.029767556115984917,
-0.004456761758774519,
0.0708499550819397,
-0.03505486622452736,
0.04250997304916382,
-0.008133645169436932,
-0.009543594904243946,
0.017976853996515274,
0.01033669151365757,
-0.017201382666826248,
0.03112463280558586,
-0.009481909684836864,
-0.07035647332668304,
0.048995740711688995,
-0.020497139543294907,
-0.0041593508794903755,
-0.027846500277519226,
-0.0770537331700325,
0.016390662640333176,
0.03820962831377983,
0.07557328790426254,
0.016699088737368584,
0.012856976129114628,
0.04522412642836571,
0.015941239893436432,
-0.01652284525334835,
-0.00971983838826418,
0.04416666552424431,
-0.027353018522262573,
0.03126562759280205,
0.010319067165255547,
0.0152362659573555,
0.04603484645485878,
-0.06038108468055725,
-0.0013405533973127604,
-0.058371905237436295,
-0.012134376913309097,
-0.013341645710170269,
0.0014694316778331995,
-0.0489252433180809,
-0.033274807035923004,
-0.002346243942156434,
-0.03320430964231491,
0.01982741430401802,
-0.015588752925395966,
0.017862295731902122,
-0.03403265401721001,
0.05237961933016777,
-0.003262710990384221,
0.0013042031787335873,
0.028657222166657448,
-0.05505852401256561,
0.0098872696980834,
0.006089218892157078,
0.049630217254161835,
0.07225990295410156,
0.00756525993347168,
0.009376163594424725,
0.024973727762699127,
0.008746092207729816,
0.0005455292412079871,
-0.043778929859399796,
-0.006728102453052998,
-0.01199338212609291,
-0.05703245475888252,
-0.06425844132900238,
-0.02141360566020012,
-0.0661618784070015,
0.05424780398607254,
0.042333729565143585,
0.021554602310061455,
0.06136804819107056,
-0.019968409091234207,
-0.07345836609601974,
0.010574620217084885,
-0.03293994441628456,
0.06249600648880005,
0.0023021830711513758,
-0.009984204545617104,
0.009270417504012585,
0.022259576246142387,
0.027776002883911133,
-0.004179178271442652,
0.006604731548577547,
0.03052540495991707,
-0.05008845403790474,
0.0016710103955119848,
-0.01291866134852171,
-0.009411412291228771,
-0.004436934366822243,
0.043778929859399796,
-0.017827047035098076,
0.010239757597446442,
0.026066439226269722,
-0.0012182843638584018,
0.0074330768547952175,
0.03216446936130524,
0.03616520017385483,
0.0937616378068924,
-0.06020483747124672,
-0.07620776444673538,
0.020320896059274673,
0.0640469491481781,
0.004560305271297693,
0.015412509441375732,
0.04853750765323639,
0.00913823489099741,
-0.028445729985833168,
-0.0666201114654541,
-0.005067005753517151,
0.009305666200816631,
0.0400778129696846,
-0.010592244565486908,
0.001547639723867178,
0.004498619586229324,
0.020532388240098953,
-0.022664936259388924,
-0.0017393047455698252,
0.020056530833244324,
-0.007851655595004559,
0.04977121204137802,
0.07180166989564896,
0.016055798158049583,
0.10031790286302567,
-0.057843174785375595,
0.005080224014818668,
-0.0032230562064796686,
0.01565925031900406,
0.03778664395213127,
0.048255518078804016,
0.033221933990716934,
-0.03505486622452736,
0.011975757777690887,
-0.005225624889135361,
-0.059006381779909134,
-0.024321626871824265,
-0.02477985993027687,
-0.012804103083908558,
0.04124101996421814,
0.015958864241838455,
-0.033433426171541214,
-0.08579541742801666,
0.008067553862929344,
0.0027229648549109697,
-0.015491819009184837,
-0.0003629518032539636,
0.032146845012903214,
0.034720003604888916,
-0.049524471163749695,
0.06394120305776596,
0.027212023735046387,
0.053683824837207794,
-0.03824487701058388,
-0.0024321626406162977,
-0.03272844851016998,
0.018417464569211006,
0.013121341355144978,
0.012072691693902016,
0.004124102182686329,
0.04339119419455528,
-0.004058010410517454,
0.032534580677747726,
-0.013949686661362648,
0.039090845733881,
-0.05163939669728279,
-0.10645117610692978,
-0.027053404599428177,
0.0008377082413062453,
0.0221185814589262,
-0.057314444333314896,
0.05601023882627487,
-0.0008283452480100095,
-0.027353018522262573,
0.026877161115407944,
0.09073024243116379,
0.015967676416039467,
-0.0215898510068655,
-0.016663840040564537,
0.008107208646833897,
-0.014813280664384365,
0.017360001802444458,
0.0068338485434651375,
0.028163738548755646,
0.01572093553841114,
-0.004113086964935064,
0.05093442276120186,
-0.0012039645807817578,
-0.016002925112843513,
-0.033697791397571564,
0.012574986554682255,
-0.021501727402210236,
-0.013826316222548485,
-0.02238294668495655,
-0.0012854773085564375,
0.02467411383986473,
-0.0750093087553978,
0.043250199407339096,
-0.005771980155259371,
0.05005320534110069,
-0.03521348536014557,
0.0017877718200907111,
0.0011185965267941356,
0.06584464013576508,
-0.06016958877444267,
0.022206703200936317,
-0.007424264680594206,
0.011076915077865124,
-0.029115455225110054,
-0.012742417864501476,
0.04987695813179016,
0.035830337554216385,
0.035460226237773895,
-0.0625312551856041,
-0.000019706934835994616,
0.04176975041627884,
0.06676110625267029,
-0.014249301515519619,
0.05713820084929466,
-0.015007148496806622,
0.016505220904946327,
-0.007362579461187124,
0.036693934351205826,
-0.026277931407094002,
-0.051286909729242325,
0.01231062039732933,
-0.03708167001605034,
-0.050758179277181625,
-0.006701665930449963,
-0.07747671753168106,
0.057420190423727036,
-0.030719272792339325,
-0.007199554238468409,
-0.03112463280558586,
0.0325169563293457,
-0.027264896780252457,
-0.04822026938199997,
-0.03736365959048271,
-0.031089384108781815,
-0.03341580182313919,
0.018153099343180656,
0.032481707632541656,
-0.01335045788437128,
0.048889994621276855,
0.039513830095529556,
-0.02206570841372013,
0.01683127135038376,
-0.0031481527257710695,
-0.050335194915533066,
0.02285880409181118,
0.05495277792215347,
0.03031391277909279,
-0.036094702780246735,
0.05456504225730896,
0.024110134690999985,
0.023775272071361542,
0.024022012948989868,
0.00971983838826418,
0.020567636936903,
-0.08487895131111145,
0.013279960490763187,
0.039936818182468414,
0.02275305800139904,
-0.05386006832122803,
0.0029036144260317087,
0.07116719335317612,
0.01636422425508499,
-0.028269484639167786,
0.07472731918096542,
-0.021008245646953583,
0.034402765333652496,
0.004284924361854792,
-0.03179435804486275,
-0.04353218898177147,
-0.03575984016060829,
0.04194599390029907,
-0.011852387338876724,
-0.03137137368321419,
-0.04247472435235977,
0.026894785463809967,
-0.02488560602068901,
-0.015377260744571686,
-0.023669525980949402,
0.024022012948989868,
0.04102952778339386,
-0.011729016900062561,
0.007318518590182066,
0.02696528285741806,
-0.0054194931872189045,
-0.023458033800125122,
-0.06161478906869888,
-0.0037958482280373573,
0.08079010248184204,
0.037645649164915085,
0.012504489161074162,
-0.0075696660205721855,
0.01379987969994545,
-0.016602154821157455,
0.02775837853550911,
-0.03965482860803604,
0.10391326993703842,
0.009578843601047993,
-0.020074155181646347,
0.04310920462012291,
-0.04110002517700195,
-0.024973727762699127,
-0.016232041642069817,
-0.018681829795241356,
-0.038280125707387924,
0.005265279673039913,
-0.01764199137687683,
0.009878457523882389,
-0.051921386271715164,
-0.005027350969612598,
-0.029291698709130287,
-0.04924248158931732,
0.05276735499501228,
0.008966396562755108,
-0.029608936980366707,
-0.06810055673122406,
0.08043761551380157,
-0.010275006294250488,
-0.037962887436151505,
-0.041699253022670746,
-0.020814377814531326,
-0.001017807167954743,
0.04987695813179016,
-0.02206570841372013,
-0.026031190529465675,
-0.009490721859037876,
0.04391992464661598,
-0.024127759039402008,
-0.04913673549890518,
-0.05241486802697182,
-0.01694582961499691,
-0.04508313164114952,
-0.05132215842604637,
-0.017976853996515274,
0.04991220682859421,
-0.02425112947821617,
0.03457900881767273,
0.00454268092289567,
-0.00552964536473155,
-0.004216630011796951,
0.03641194477677345,
0.002427756553515792,
0.04444865509867668,
-0.07211890816688538,
-0.014566539786756039,
0.03272844851016998,
-0.03412077575922012,
0.022206703200936317,
-0.002960893791168928,
-0.016690276563167572,
0.0625312551856041,
-0.015853118151426315,
-0.04258047044277191,
-0.00024756728089414537,
0.037751395255327225,
0.02088487520813942,
-0.012460427358746529,
-0.008719655685126781,
-0.018875697627663612,
-0.013465017080307007,
0.04000731557607651,
0.006763351149857044,
0.08523143827915192,
0.025537708774209023,
0.03323955833911896,
-0.010424813255667686,
-0.024215880781412125,
-0.02301742322742939,
-0.027881748974323273,
0.008829807862639427,
0.029556063935160637,
0.01896381936967373,
-0.04381417855620384,
-0.028586724773049355,
-0.04141726344823837,
0.01801210269331932,
-0.02883346565067768,
-0.00908536184579134,
0.012724793516099453,
0.028251860290765762,
0.003758396254852414,
-0.03286944702267647,
-0.09763899445533752,
0.06704309582710266,
-0.06122705340385437,
-0.050017956644296646,
-0.0006152005516923964,
0.019316306337714195,
0.0034191273152828217,
0.026136936619877815,
-0.03128325194120407,
0.01636422425508499,
-0.04607009515166283,
0.03665868565440178,
0.05040569230914116,
-0.03990156948566437,
0.00900605134665966,
0.027987495064735413,
0.01416999101638794,
-0.028445729985833168,
0.06817105412483215,
0.0307016484439373,
-0.0231760423630476,
0.033644918352365494,
0.019422052428126335,
-0.026718541979789734,
-0.05146315321326256,
0.0032318683806806803,
0.018981443718075752,
0.048784248530864716,
0.013006783090531826,
-0.005657421890646219,
-0.014381484128534794,
-0.05558725446462631,
0.011103351600468159,
-0.037962887436151505,
-0.03919659182429314,
-0.03331005573272705,
0.0009032488451339304,
-0.025713952258229256,
-0.017122073099017143,
0.04550611600279808,
-0.06651436537504196,
0.05960560962557793,
0.07197791337966919,
-0.043144453316926956,
0.0780406966805458,
-0.040148310363292694,
0.008411229588091373,
0.001980538247153163,
-0.06580939143896103,
0.0022349900100380182,
0.09051875025033951,
-0.019104814156889915,
0.023035047575831413,
0.06690210103988647,
0.02349328249692917,
-0.016963453963398933,
0.017545057460665703,
-0.03676443174481392,
0.01943967677652836,
0.05135740712285042,
-0.05375432223081589,
-0.03475525230169296,
0.03687017783522606,
0.042333729565143585,
0.0671488419175148,
-0.011499899439513683,
0.05093442276120186,
-0.009922519326210022,
-0.0066796354949474335,
0.02141360566020012,
0.022506317123770714,
0.030543029308319092,
0.030349161475896835,
0.00924398098140955,
0.06341247260570526,
-0.003582152770832181,
-0.012266559526324272,
0.026189809665083885,
-0.0003632271836977452,
0.02583732269704342,
-0.028005119413137436,
-0.007917746901512146,
0.0029322542250156403,
-0.00240352307446301,
-0.09911943972110748,
-0.04458964988589287,
0.06235501170158386,
0.005926193669438362,
-0.028551476076245308,
-0.09453710913658142,
-0.033486299216747284,
0.0028331170324236155,
-0.0660913810133934,
-0.039408084005117416,
0.010151635855436325,
0.03190010413527489,
-0.016954641789197922,
-0.02599594183266163,
0.10088188201189041,
-0.07218940556049347,
-0.011632082052528858,
-0.0572439469397068,
-0.013394519686698914,
-0.005714701022952795,
0.06429369002580643,
-0.062460757791996,
0.025026602670550346,
0.0042100208811461926,
0.01641709916293621,
-0.008424447849392891,
-0.047233305871486664,
-0.03197060152888298,
0.0014760408084839582,
0.0035909649450331926,
-0.03117750585079193,
-0.02164272405207157,
0.06640861928462982,
0.03835062310099602,
0.0546707883477211,
0.02802274376153946,
-0.03475525230169296,
0.015271514654159546,
-0.03965482860803604,
0.040677040815353394,
-0.040042564272880554,
-0.013561950996518135,
-0.02190708927810192,
0.05037044361233711,
0.01698989048600197,
0.061896778643131256,
-0.02275305800139904,
-0.00448760436847806,
-0.005736731458455324,
-0.07444532960653305,
0.03630619868636131,
0.001146685448475182,
-0.02375764772295952,
0.026348428800702095,
-0.022788306698203087,
0.045259375125169754,
-0.0320587232708931,
0.027881748974323273,
0.01698989048600197,
-0.0025268937461078167,
-0.04466014727950096,
0.01673433743417263,
-0.04666932672262192,
0.004093259572982788,
0.03630619868636131,
0.025555333122611046,
0.04124101996421814,
-0.006027533672749996,
0.028428103774785995,
0.044307660311460495,
-0.03299281746149063,
0.039090845733881,
0.010618681088089943,
0.025907820090651512,
-0.023792896419763565,
-0.04532987251877785,
-0.010292630642652512,
0.04776203632354736,
0.034508511424064636,
0.023246539756655693,
0.00834073219448328,
0.05516427010297775,
0.09418462216854095,
-0.04543561860918999,
0.006441706325858831,
-0.0164082869887352,
0.010204508900642395,
-0.00761813297867775,
0.0010211117332801223,
0.016981078311800957,
-0.0505114383995533,
-0.02435687556862831,
-0.0557282492518425,
0.03031391277909279,
0.002065355656668544,
0.03412077575922012,
-0.017827047035098076,
-0.02462124079465866,
0.03360966965556145,
-0.009340914897620678,
0.09221068769693375,
-0.043250199407339096,
-0.013174214400351048,
-0.02206570841372013,
-0.0812835842370987,
-0.0031679801177233458,
-0.002142462180927396,
0.009050113148987293,
-0.017765361815690994,
0.006384427193552256,
-0.02467411383986473,
-0.0015718733193352818,
-0.01732475310564041,
0.06545689702033997,
-0.02125498652458191,
0.009790335781872272,
0.02040901780128479,
0.011808326467871666,
0.0022305839229375124,
-0.0020080762915313244,
0.04021880775690079,
-0.019369179382920265,
-0.006239025853574276,
0.021061118692159653,
-0.028710095211863518,
0.02823423594236374,
-0.007820812985301018,
-0.0645756796002388,
-0.052027132362127304,
-0.004599960055202246,
-0.0013890204718336463,
-0.010477686300873756,
0.05417730659246445,
0.029644185677170753,
0.054917529225349426,
-0.018135474994778633,
-0.012539737857878208,
-0.009076549671590328,
-0.0003310076426714659,
-0.007318518590182066,
-0.04310920462012291,
-0.009993016719818115,
0.035090114921331406,
0.02430400252342224,
0.02633080445230007,
-0.022365322336554527,
-0.016478784382343292,
-0.0421927347779274,
0.05135740712285042,
0.04141726344823837,
0.04021880775690079,
-0.0071510872803628445,
0.036376696079969406,
-0.025132348760962486,
0.028657222166657448,
-0.06478717178106308,
-0.07444532960653305,
-0.023405160754919052,
0.012909849174320698,
-0.02685953676700592,
-0.0037275536451488733,
-0.0926336720585823,
-0.04850225895643234,
-0.03630619868636131,
0.0067060720175504684,
-0.032481707632541656,
0.005106660537421703,
0.03454376012086868,
-0.0650339126586914,
-0.028798216953873634,
-0.05135740712285042,
-0.04480114206671715,
0.01619679294526577,
-0.033221933990716934,
-0.029062582179903984,
-0.0031811983790248632,
0.004456761758774519,
0.03464950621128082,
-0.014161178842186928,
0.008296671323478222,
-0.028110865503549576,
0.04497738555073738,
0.005613361019641161,
0.04776203632354736,
0.015315575525164604,
-0.0026656854897737503,
0.020796753466129303,
-0.019897911697626114,
0.012645483948290348,
-0.00383550301194191,
-0.016487596556544304,
0.053895317018032074,
0.012301808223128319,
-0.01922818459570408,
-0.028798216953873634,
0.06996873766183853,
0.05875964090228081,
0.010433625429868698,
0.004152741748839617,
0.029238825663924217,
0.007499168161302805,
0.00846850872039795,
-0.01054818369448185,
-0.012733605690300465,
0.02393389120697975,
-0.014760407619178295,
-0.0038222847506403923,
-0.014046620577573776,
-0.03990156948566437,
0.039725326001644135,
0.0032494927290827036,
-0.03554834797978401,
-0.038491617888212204,
0.06658486276865005,
0.05749068781733513,
-0.006111249327659607,
0.05079342797398567,
-0.048572756350040436,
-0.03553072363138199,
-0.04215748608112335,
-0.017774173989892006,
-0.014557727612555027,
0.006031939759850502,
0.0442371629178524,
-0.0042628939263522625,
0.0068602850660681725,
-0.022576814517378807,
0.0036262136418372393,
0.009499534033238888,
0.0020697617437690496,
-0.015941239893436432,
-0.03415602445602417,
0.03986632078886032,
0.0025621424429118633,
0.05146315321326256,
0.005084630101919174,
0.0033265992533415556,
-0.04198124259710312,
-0.0369759239256382,
0.0030291881412267685,
0.01636422425508499,
0.0629894882440567,
0.03558359667658806,
-0.04751529544591904,
-0.026947658509016037,
0.04289770871400833,
-0.0033420207910239697,
-0.0026921220123767853,
-0.03412077575922012,
0.0019342743325978518,
0.03672918304800987,
0.00597025454044342,
0.004176975227892399,
-0.012319432571530342,
-0.027088653296232224,
-0.03528398275375366,
-0.00638002110645175,
-0.06901702284812927,
-0.08805134147405624,
0.06542164832353592,
-0.010398376733064651,
-0.08586591482162476,
-0.04959496855735779,
-0.026136936619877815,
-0.0014672286342829466,
0.03484337404370308,
0.004851107019931078,
-0.018047351390123367,
-0.0038729547522962093,
0.0416640043258667,
-0.02248869277536869,
-0.029820429161190987,
0.014584164135158062,
0.008653564378619194,
0.004058010410517454,
-0.05311984196305275,
-0.03725791350007057,
0.03004954569041729,
-0.015888366848230362,
0.0004736548871733248,
0.013879189267754555,
0.009411412291228771,
-0.015518255531787872,
-0.012002194300293922,
0.001630253973416984,
0.036482442170381546,
-0.03553072363138199,
-0.03420889750123024,
-0.08212955296039581,
0.017677240073680878,
0.007142275106161833,
-0.0069880615919828415,
0.0066179498098790646,
-0.0421927347779274,
-0.003460985142737627,
-0.004749767016619444
] |
710,352
|
js2py.node_import
|
require
|
Installs the provided npm module, exports a js bundle via browserify, converts to ECMA 5.1 via babel and
finally translates the generated JS bundle to Python via Js2Py.
Returns a pure python object that behaves like the installed module. Nice!
:param module_name: Name of the npm module to require. For example 'esprima'. Supports specific versions via @
specification. Eg: 'crypto-js@3.3'.
:param include_polyfill: Whether the babel-polyfill should be included as part of the translation. May be needed
for some modules that use unsupported features of JS6 such as Map or typed arrays.
:param update: Whether to force update the translation. Otherwise uses a cached version if exists.
:param context: Optional context in which the translated module should be executed in. If provided, the
header (js2py imports) will be skipped as it is assumed that the context already has all the necessary imports.
:return: The JsObjectWrapper containing the translated module object. Can be used like a standard python object.
|
def require(module_name, include_polyfill=True, update=False, context=None):
"""
Installs the provided npm module, exports a js bundle via browserify, converts to ECMA 5.1 via babel and
finally translates the generated JS bundle to Python via Js2Py.
Returns a pure python object that behaves like the installed module. Nice!
:param module_name: Name of the npm module to require. For example 'esprima'. Supports specific versions via @
specification. Eg: 'crypto-js@3.3'.
:param include_polyfill: Whether the babel-polyfill should be included as part of the translation. May be needed
for some modules that use unsupported features of JS6 such as Map or typed arrays.
:param update: Whether to force update the translation. Otherwise uses a cached version if exists.
:param context: Optional context in which the translated module should be executed in. If provided, the
header (js2py imports) will be skipped as it is assumed that the context already has all the necessary imports.
:return: The JsObjectWrapper containing the translated module object. Can be used like a standard python object.
"""
module_name, maybe_version = (module_name+"@@@").split('@')[:2]
py_code = _get_and_translate_npm_module(module_name, include_polyfill=include_polyfill, update=update,
maybe_version_str=maybe_version)
# this is a bit hacky but we need to strip the default header from the generated code...
if context is not None:
if not py_code.startswith(DEFAULT_HEADER):
# new header version? retranslate...
assert not update, "Unexpected header."
py_code = _get_and_translate_npm_module(module_name, include_polyfill=include_polyfill, update=True)
assert py_code.startswith(DEFAULT_HEADER), "Unexpected header."
py_code = py_code[len(DEFAULT_HEADER):]
context = {} if context is None else context
exec(py_code, context)
return context['var'][_get_module_var_name(module_name)].to_py()
|
(module_name, include_polyfill=True, update=False, context=None)
|
[
0.014949901960790157,
0.02055950276553631,
-0.008184054866433144,
-0.018066346645355225,
0.026665927842259407,
0.005501202307641506,
0.009249969385564327,
0.05615020543336868,
-0.04971858486533165,
-0.0634128749370575,
0.042383648455142975,
-0.0157538540661335,
0.037144407629966736,
0.04993538185954094,
-0.014660839922726154,
0.0017953431233763695,
0.10167739540338516,
0.012673541903495789,
0.030315328389406204,
0.003220326267182827,
-0.024606363847851753,
0.025527747347950935,
0.029628807678818703,
0.04491293802857399,
-0.042853374034166336,
-0.017434023320674896,
0.08483956009149551,
0.06326834112405777,
-0.05427130311727524,
-0.0634128749370575,
0.022059008479118347,
-0.058390431106090546,
0.05745097994804382,
0.014769238419830799,
-0.00035991548793390393,
-0.016268745064735413,
-0.003315174486488104,
-0.018084412440657616,
-0.05998026952147484,
-0.047442223876714706,
0.00711814034730196,
0.03246522322297096,
0.03743346780538559,
-0.04202232137322426,
0.007316870149224997,
0.00011460838140919805,
-0.035807497799396515,
-0.017479190602898598,
-0.018915465101599693,
0.038878776133060455,
0.048562340438365936,
-0.010451381094753742,
0.053115058690309525,
-0.003425830975174904,
-0.01971038430929184,
0.06702614575624466,
0.028201567009091377,
-0.0022707139141857624,
0.0013380388263612986,
0.03483191505074501,
-0.004755965434014797,
0.027876371517777443,
-0.02149895206093788,
0.003200001548975706,
-0.04993538185954094,
0.007949192076921463,
-0.03942076861858368,
-0.06738746911287308,
-0.022022876888513565,
-0.007091040723025799,
-0.04137193411588669,
0.023703046143054962,
0.0205775685608387,
-0.015356394462287426,
0.028617093339562416,
0.04419028386473656,
-0.007181372493505478,
-0.03811999037861824,
-0.002791250590234995,
-0.009015106596052647,
0.023721111938357353,
0.015302195213735104,
0.011228234507143497,
-0.023287519812583923,
-0.024823158979415894,
-0.0026309117674827576,
-0.0007006354862824082,
0.014200148172676563,
-0.030297262594103813,
-0.03620495647192001,
-0.08137082308530807,
-0.009376433677971363,
-0.007736912928521633,
0.07674583792686462,
-0.01170699205249548,
-0.03441638872027397,
0.04339536279439926,
0.004405930172652006,
-0.03154383972287178,
0.05582500994205475,
0.05802910402417183,
0.05806523561477661,
-0.04491293802857399,
-0.020505303516983986,
0.03963756188750267,
0.04563559219241142,
0.025563880801200867,
0.036710817366838455,
0.044334813952445984,
-0.007330419961363077,
-0.024443766102194786,
0.03586169704794884,
-0.0766013115644455,
-0.004175584297627211,
-0.005934794899076223,
-0.016747502610087395,
-0.010740443132817745,
0.006783912889659405,
0.08007004857063293,
0.01682880148291588,
-0.035789430141448975,
0.03369373455643654,
0.03851744905114174,
-0.013775588944554329,
0.041082870215177536,
-0.016973331570625305,
0.049826983362436295,
-0.0020076227374374866,
0.055535949766635895,
-0.03895104303956032,
0.02867129072546959,
-0.019620051607489586,
-0.018879331648349762,
0.0809372290968895,
-0.05362091585993767,
-0.022474534809589386,
-0.03378406912088394,
-0.014977000653743744,
0.032103896141052246,
-0.013061968609690666,
-0.022257737815380096,
0.0015638681361451745,
0.03111024759709835,
-0.008152438327670097,
-0.010848840698599815,
-0.08223801106214523,
-0.026629794389009476,
0.012059286236763,
-0.06110038235783577,
0.02845449559390545,
0.005460553336888552,
-0.0019037412712350488,
0.05824590101838112,
0.004629501141607761,
-0.0363314226269722,
0.027280183508992195,
0.002965138992294669,
-0.05914921686053276,
-0.032121963798999786,
0.033404674381017685,
-0.005017927847802639,
-0.0029199731070548296,
0.02191447839140892,
0.025021890178322792,
0.031435441225767136,
-0.009042206220328808,
0.0951012447476387,
-0.04101060703396797,
-0.03683727979660034,
0.08007004857063293,
0.013314897194504738,
-0.026792392134666443,
0.02321525476872921,
0.0057721976190805435,
0.05806523561477661,
0.022203540429472923,
-0.01971038430929184,
0.0221493411809206,
0.00061030377401039,
0.04296177253127098,
0.03728893771767616,
-0.0049050129018723965,
-0.01479633804410696,
0.000998730189166963,
-0.0221493411809206,
0.08252707123756409,
0.006869728211313486,
-0.03519324213266373,
0.029484277591109276,
-0.02408243902027607,
-0.003118702908977866,
0.02717178501188755,
0.08679072558879852,
0.042166851460933685,
-0.004737899173051119,
-0.035626836121082306,
-0.046791836619377136,
0.03873424604535103,
-0.057523246854543686,
0.06854371726512909,
-0.04404575377702713,
0.023269454017281532,
0.022890061140060425,
0.04068541154265404,
0.002414115471765399,
0.0039745960384607315,
0.006923926994204521,
0.00437657255679369,
-0.002484122524037957,
-0.03607849404215813,
-0.006738747004419565,
0.00984615832567215,
-0.011526328511536121,
0.05864335969090462,
-0.011860555969178677,
0.03351307287812233,
0.01597968302667141,
0.006259988993406296,
0.036006227135658264,
0.005347638390958309,
0.0026128452736884356,
0.03192323446273804,
0.034741584211587906,
0.03344080597162247,
0.02236613631248474,
-0.07573412358760834,
-0.03002626821398735,
-0.021282155066728592,
0.0032045182306319475,
0.010821741074323654,
-0.022853927686810493,
0.01686493493616581,
0.06966383010149002,
0.02120989002287388,
-0.024696694687008858,
-0.02800283581018448,
-0.0031119282357394695,
0.029050685465335846,
-0.03927623853087425,
0.014046584255993366,
-0.025780675932765007,
0.0411551371216774,
0.01909612864255905,
0.008247287012636662,
-0.01638617552816868,
0.015735788270831108,
0.016304876655340195,
-0.033007215708494186,
-0.039565298706293106,
0.017253359779715538,
-0.050694167613983154,
0.022908126935362816,
0.025545813143253326,
-0.03221229463815689,
-0.02961074188351631,
0.029177149757742882,
0.020089777186512947,
-0.006165140774101019,
-0.04758675768971443,
0.05452423170208931,
0.016503607854247093,
-0.04184165969491005,
-0.05127229169011116,
-0.018933530896902084,
0.031453508883714676,
-0.0635935366153717,
-0.018698668107390404,
0.05643926560878754,
-0.014986034482717514,
0.021589282900094986,
0.05174201726913452,
-0.010740443132817745,
0.024642495438456535,
0.011589561589062214,
0.0036448852624744177,
-0.05539141595363617,
-0.05849882960319519,
0.009773893281817436,
0.001159633626230061,
0.008053073659539223,
-0.027442779392004013,
0.0005064222496002913,
-0.0010766413761302829,
0.055066224187612534,
-0.09481218457221985,
0.017199162393808365,
-0.00010712778748711571,
-0.010099087841808796,
-0.028978418558835983,
0.01793084852397442,
-0.03132704272866249,
0.0054018376395106316,
-0.02274552918970585,
-0.015681589022278786,
-0.01818377710878849,
0.02914101630449295,
-0.03609655797481537,
-0.0005984477465972304,
0.03551843762397766,
-0.0012499652802944183,
0.0013357804855331779,
0.04249204695224762,
-0.04624984785914421,
-0.023179123178124428,
-0.06800172477960587,
-0.050079911947250366,
0.00678842980414629,
-0.02672012522816658,
-0.0626179575920105,
0.063015416264534,
-0.01115596853196621,
-0.02476896159350872,
0.038878776133060455,
-0.012529010884463787,
-0.005072126630693674,
0.0016079047927632928,
0.057306449860334396,
-0.024389566853642464,
0.04462387412786484,
-0.0017727601807564497,
0.002445731544867158,
-0.03156190738081932,
0.04339536279439926,
0.014895702712237835,
-0.04574398696422577,
-0.04335923120379448,
0.01008102111518383,
0.002475089393556118,
0.05163361877202988,
-0.022474534809589386,
-0.0411551371216774,
0.03960143029689789,
0.019836848601698875,
0.027460847049951553,
-0.03598816320300102,
-0.02455216459929943,
0.010532679967582226,
-0.02764151059091091,
-0.03674694895744324,
0.027027254924178123,
0.0212640892714262,
-0.026611728593707085,
-0.0565115325152874,
-0.00459562661126256,
-0.12046639621257782,
-0.029502343386411667,
0.040396351367235184,
0.02276359684765339,
0.006698098033666611,
-0.08223801106214523,
-0.024443766102194786,
0.005672832950949669,
-0.06720680743455887,
-0.01478730421513319,
-0.012402546592056751,
0.032971080392599106,
0.02169768139719963,
-0.09228289872407913,
-0.03403699770569801,
-0.044118016958236694,
-0.04054088145494461,
0.04184165969491005,
0.007100074086338282,
-0.007185889407992363,
-0.07530052959918976,
-0.025473548099398613,
0.0282557662576437,
0.0407576784491539,
0.03156190738081932,
0.007623997982591391,
0.006350320763885975,
0.0030645038932561874,
0.01689203456044197,
-0.003425830975174904,
-0.052898261696100235,
0.004132676869630814,
-0.040432482957839966,
-0.03512097895145416,
-0.05145295336842537,
-0.02018010802567005,
0.022167406976222992,
0.022962326183915138,
-0.0647859200835228,
-0.0029357813764363527,
-0.04227524995803833,
0.014841503463685513,
0.052898261696100235,
-0.02695498801767826,
-0.03808385878801346,
0.00833761878311634,
-0.06063065677881241,
0.016711371019482613,
-0.001716302940621972,
0.060594525188207626,
-0.023287519812583923,
0.007479467429220676,
0.02652139589190483,
0.03616882488131523,
-0.010388148948550224,
0.015094432048499584,
0.0880192369222641,
0.02691885642707348,
0.025329018011689186,
0.018698668107390404,
-0.03945690020918846,
-0.0027370513416826725,
0.08773017674684525,
-0.02281779609620571,
0.05875175818800926,
0.04885140061378479,
-0.04693636670708656,
-0.0028860988095402718,
-0.08736885339021683,
-0.059944137930870056,
-0.034470587968826294,
-0.030965717509388924,
-0.03392859920859337,
-0.003956529777497053,
-0.012059286236763,
-0.05459649860858917,
-0.00646323524415493,
-0.004900496453046799,
-0.063015416264534,
0.003139027627184987,
0.014109816402196884,
-0.057487115263938904,
0.004674667026847601,
0.05210334435105324,
-0.043467629700899124,
0.06944703310728073,
0.002895131940022111,
0.016910100355744362,
0.06717067211866379,
-0.04639437794685364,
0.04314243420958519,
-0.04202232137322426,
0.005049543920904398,
-0.003346790559589863,
-0.004421738442033529,
0.004618209786713123,
0.03154383972287178,
0.030170798301696777,
0.063015416264534,
-0.022004809230566025,
-0.02892422117292881,
0.03192323446273804,
-0.0010574458865448833,
0.05112776160240173,
-0.0309115182608366,
-0.06756813824176788,
0.025329018011689186,
0.008509249426424503,
0.03551843762397766,
-0.08259933441877365,
-0.016494574025273323,
-0.023341719061136246,
0.0411551371216774,
-0.05503008887171745,
0.02999013476073742,
0.011255334131419659,
-0.010903039947152138,
-0.012230916880071163,
0.09820865839719772,
0.042853374034166336,
-0.00601609330624342,
0.02782217413187027,
0.03477771580219269,
-0.05564434826374054,
-0.036277223378419876,
0.02166154980659485,
0.04935725778341293,
0.02847256138920784,
-0.005067610181868076,
-0.02845449559390545,
0.01821991056203842,
0.04657503962516785,
-0.03486804664134979,
-0.0007734654354862869,
-0.00771432975307107,
-0.04986311495304108,
-0.009466765448451042,
-0.016042916104197502,
0.05582500994205475,
0.011968954466283321,
-0.020487235859036446,
-0.014814403839409351,
0.03436218947172165,
-0.027442779392004013,
0.0460691824555397,
-0.02341398410499096,
-0.060775190591812134,
0.018346374854445457,
0.01836444064974785,
0.016042916104197502,
0.03134511038661003,
0.0032451674342155457,
0.020433038473129272,
-0.03197743371129036,
0.003927172161638737,
-0.015049266628921032,
-0.02778604067862034,
0.0464666411280632,
0.0332782082259655,
-0.021607350558042526,
0.015672555193305016,
-0.04111900553107262,
-0.011987021192908287,
0.006589700002223253,
0.0014961193082854152,
0.04769515246152878,
-0.03732507303357124,
0.07096460461616516,
-0.050947096198797226,
0.013152300380170345,
0.015076366253197193,
-0.0009558226447552443,
-0.05521075427532196,
0.10912073403596878,
-0.013938185758888721,
-0.03833678737282753,
-0.01576288789510727,
0.0050630937330424786,
0.06568923592567444,
-0.03790319338440895,
-0.009010590612888336,
0.022077074274420738,
-0.006779396440833807,
0.00244121509604156,
0.025726476684212685,
0.028617093339562416,
-0.02236613631248474,
0.007185889407992363,
-0.02102922648191452,
0.012781940400600433,
-0.03530164062976837,
0.01006295531988144,
0.012140585109591484,
0.06254569441080093,
-0.03750573471188545,
-0.019385188817977905,
0.009981656447052956,
0.02211320772767067,
0.01927679218351841,
0.014507276006042957,
-0.04494906961917877,
0.05521075427532196,
-0.01755145564675331,
-0.0013922378420829773,
-0.008450533263385296,
-0.06449685245752335,
-0.05011604353785515,
0.019981378689408302,
0.04682796820998192,
0.023558516055345535,
0.0015616097953170538,
-0.08064816892147064,
-0.016593938693404198,
0.010903039947152138,
0.014886668883264065,
0.001994072925299406,
-0.041046738624572754,
0.05325958877801895,
0.015880318358540535,
-0.025491613894701004,
-0.013631057925522327,
0.055535949766635895,
-0.0019387447973713279,
0.0052437568083405495,
0.04321470111608505,
-0.005623150151222944,
0.02827383205294609,
0.015157664194703102,
0.05492169409990311,
0.033856332302093506,
-0.04317856580018997,
0.03772253170609474,
0.018319275230169296,
-0.0009134796564467251,
0.030568256974220276,
-0.004451096057891846,
-0.010035855695605278,
0.003263233695179224,
-0.025148354470729828,
-0.06633962690830231,
0.005722515285015106,
-0.005596050526946783,
0.0327904187142849,
0.06731520593166351,
0.03811999037861824,
-0.02892422117292881,
-0.03790319338440895,
-0.021824145689606667,
0.07891380041837692,
-0.019764583557844162,
0.0315980389714241,
0.029014552012085915,
-0.09922037273645401,
0.0415525957942009,
0.028743557631969452,
-0.009864225052297115,
-0.013947219587862492,
-0.00016330282960552722,
-0.0015977425500750542,
-0.040649279952049255,
0.02256486564874649,
0.03365760296583176,
-0.06933863461017609,
-0.0726628452539444,
0.00486888037994504,
0.061642374843358994,
-0.014191115275025368,
-0.02847256138920784,
-0.025256752967834473,
-0.03531970828771591,
-0.005049543920904398,
-0.010361049324274063,
-0.011237267404794693,
-0.034470587968826294,
-0.010352016426622868,
-0.013838821090757847,
0.033422742038965225,
0.03311561420559883,
-0.010478480719029903,
-0.02455216459929943,
-0.01533832773566246,
-0.02626846730709076,
-0.04440708085894585,
0.00292674801312387,
-0.03156190738081932,
-0.030532125383615494,
-0.041697125881910324,
-0.06269022077322006,
0.09047625958919525,
-0.05755937844514847,
0.00124657794367522,
-0.0460691824555397,
-0.010821741074323654,
-0.007718846667557955,
0.017235293984413147,
0.06500271707773209,
-0.019367123022675514,
0.021426687017083168,
0.008482149802148342,
-0.017470156773924828,
0.0051263258792459965,
0.00481016468256712,
0.055716611444950104,
-0.010568812489509583,
0.008929291740059853,
-0.02782217413187027,
-0.07371069490909576,
0.048490073531866074,
-0.024154704064130783,
0.00293352291919291,
0.008775727823376656,
0.03765026479959488,
-0.0346512533724308,
-0.025256752967834473,
-0.011968954466283321,
-0.02626846730709076,
0.05539141595363617,
0.0022853927221149206,
0.032085832208395004,
-0.03591589629650116,
0.004071702715009451,
-0.004396896809339523,
0.023594647645950317,
0.008409883826971054,
0.02164348214864731,
-0.0411551371216774,
0.02827383205294609,
-0.010342983528971672,
0.02234807051718235,
-0.03739733621478081,
-0.04603305086493492,
0.043503761291503906,
-0.01246577873826027,
-0.01731659285724163,
-0.01150826271623373,
0.01996331289410591,
-0.04578012228012085,
0.025003822520375252,
-0.0254012830555439,
0.04899593070149422,
-0.048309408128261566,
0.016693303361535072,
0.01748822256922722,
0.045238129794597626,
-0.008482149802148342,
-0.05383771285414696,
0.07248218357563019,
0.03201356530189514,
-0.04176939278841019,
-0.000702893768902868,
0.028328031301498413,
0.048526205122470856,
0.003075795480981469,
0.025925206020474434,
-0.01532026194036007,
0.018247010186314583,
0.025130286812782288,
-0.030098533257842064,
0.01401045173406601,
0.03569909930229187,
-0.042600445449352264,
0.0446961410343647,
-0.04364829137921333,
-0.02849062718451023,
-0.04176939278841019,
-0.004421738442033529,
-0.022167406976222992,
-0.006476785056293011,
0.04715316370129585,
0.036710817366838455,
0.022474534809589386,
-0.013540726155042648,
-0.062365029007196426,
0.04176939278841019,
-0.022709397599101067,
-0.01577191986143589,
-0.02520255371928215,
-0.008793793618679047,
0.0675320029258728,
0.006960059981793165,
0.044334813952445984,
0.0028793239034712315,
-0.04769515246152878,
-0.03566296771168709,
0.03237489238381386,
-0.05185041204094887,
-0.027460847049951553,
0.026991121470928192,
-0.03524744138121605,
0.010008756071329117,
0.0367288812994957,
-0.0055192685686051846,
0.01380268856883049,
-0.022059008479118347,
-0.013116166926920414,
-0.009403533302247524,
-0.04643050953745842,
-0.0020414970349520445,
-0.004796614870429039,
0.0130439018830657,
-0.0007203955319710076,
0.03067665547132492,
-0.0407576784491539,
-0.06442458927631378,
0.004286240786314011,
0.041046738624572754,
0.030405661091208458,
-0.014389844611287117,
0.010379116050899029,
-0.009227386675775051,
0.09011493623256683,
-0.01859026961028576,
-0.08744111657142639,
0.059655074030160904,
-0.03002626821398735,
-0.05109162628650665,
-0.08715205639600754,
0.044370945543050766,
-0.02581680938601494,
-0.022926192730665207,
-0.011381798423826694,
0.02847256138920784,
0.0000465772973257117,
-0.035337772220373154
] |
710,353
|
js2py.evaljs
|
run_file
|
Context must be EvalJS object. Runs given path as a JS program. Returns (eval_value, context).
|
def run_file(path_or_file, context=None):
''' Context must be EvalJS object. Runs given path as a JS program. Returns (eval_value, context).
'''
if context is None:
context = EvalJs()
if not isinstance(context, EvalJs):
raise TypeError('context must be the instance of EvalJs')
eval_value = context.eval(get_file_contents(path_or_file))
return eval_value, context
|
(path_or_file, context=None)
|
[
0.09083860367536545,
-0.048482879996299744,
0.016270797699689865,
0.005312277004122734,
0.02379615232348442,
-0.013127068988978863,
-0.009751791134476662,
0.04499182477593422,
-0.0036201856564730406,
-0.005699676927179098,
0.055108752101659775,
0.031668830662965775,
0.005574996583163738,
-0.00921744666993618,
-0.033022504299879074,
-0.024686725810170174,
0.04773479700088501,
0.001466108369641006,
-0.005993566941469908,
0.0016041473718360066,
-0.01884455792605877,
-0.02938896045088768,
-0.014391684904694557,
0.02636100724339485,
0.023813962936401367,
-0.01052659098058939,
0.02550605498254299,
0.0032928993459790945,
-0.01969950832426548,
-0.01996668055653572,
0.05151083320379257,
-0.07277775555849075,
-0.03460772708058357,
-0.006327532231807709,
-0.017856020480394363,
-0.006732743699103594,
-0.05022840574383736,
0.03412681818008423,
-0.07274212688207626,
-0.08364275842905045,
-0.02682410553097725,
0.03141947090625763,
-0.004697780590504408,
0.028320271521806717,
-0.05685427784919739,
-0.010606742464005947,
-0.03471459448337555,
-0.06665059924125671,
0.0038539613597095013,
-0.01672499068081379,
0.09133732318878174,
-0.043424416333436966,
-0.002189700258895755,
0.02983424812555313,
0.014231381006538868,
0.08214659988880157,
-0.03168664127588272,
0.06454884260892868,
0.024134570732712746,
-0.010758140124380589,
0.02700222097337246,
-0.022282175719738007,
0.024936087429523468,
0.007031085900962353,
-0.009725074283778667,
0.04228448122739792,
-0.003315163776278496,
-0.01228102296590805,
-0.048162270337343216,
-0.025523867458105087,
-0.025808850303292274,
0.020625706762075424,
-0.012503666803240776,
-0.010214890353381634,
0.04837600886821747,
0.024312684312462807,
-0.08649259805679321,
0.005681865848600864,
0.00042580594890750945,
0.05176019296050072,
0.0026962144766002893,
-0.03401994705200195,
0.029994551092386246,
-0.005414693150669336,
-0.004875895567238331,
-0.022709650918841362,
0.05966849625110626,
-0.04142952710390091,
-0.037617869675159454,
0.0306535754352808,
5.957456892247137e-7,
0.010401911102235317,
-0.061734627932310104,
-0.0009434524108655751,
0.021623149514198303,
-0.020839445292949677,
0.057139262557029724,
-0.01120342779904604,
-0.06462009251117706,
0.03647793456912041,
0.029193034395575523,
0.008126492612063885,
0.016983255743980408,
-0.03223880007863045,
0.07808557897806168,
0.07195842266082764,
0.02570198103785515,
-0.00013129017315804958,
0.035587359219789505,
-0.003804979845881462,
-0.05475252494215965,
0.004635440651327372,
-0.041857004165649414,
-0.0030145947821438313,
-0.006893047131597996,
-0.00498276436701417,
-0.044778089970350266,
0.002691761590540409,
0.014293721877038479,
0.028409328311681747,
-0.023635849356651306,
0.018096474930644035,
0.025399185717105865,
0.05297137424349785,
0.006122699938714504,
0.02311931550502777,
0.0007942811935208738,
-0.06419261544942856,
0.004341551102697849,
0.00678617786616087,
0.06251833587884903,
-0.03936339542269707,
0.019592640921473503,
0.026254137977957726,
-0.03578328713774681,
0.027910606935620308,
-0.011541846208274364,
0.035409245640039444,
0.032345667481422424,
0.04659486189484596,
0.0721009150147438,
0.01401764340698719,
-0.0053256358951330185,
-0.01108765322715044,
-0.004317060112953186,
0.0017176956171169877,
-0.012450232170522213,
0.014605422504246235,
0.0028476121369749308,
0.08734755218029022,
0.023422110825777054,
0.00007882976206019521,
0.018826745450496674,
-0.020750386640429497,
0.03546267747879028,
-0.03592577576637268,
0.006781725212931633,
0.0030702557414770126,
0.005009481683373451,
-0.02326180785894394,
-0.02099974825978279,
-0.000005361710918805329,
0.015611771494150162,
0.047485433518886566,
0.0482335165143013,
0.039327770471572876,
-0.021712208166718483,
0.03861531242728233,
-0.04125141352415085,
-0.020946312695741653,
0.025399185717105865,
-0.019592640921473503,
-0.023813962936401367,
0.04620300605893135,
0.048660993576049805,
-0.022834330797195435,
-0.035159882158041,
0.02853400819003582,
0.050335273146629333,
0.027394073083996773,
-0.0491240918636322,
-0.018417080864310265,
0.007930566556751728,
0.029869871214032173,
0.009315409697592258,
0.042533840984106064,
0.008816688321530819,
-0.02087506651878357,
0.06928669661283493,
-0.008527250960469246,
-0.024847030639648438,
-0.016217362135648727,
0.03412681818008423,
0.022780897095799446,
-0.009573676623404026,
-0.04025397077202797,
-0.01563848927617073,
-0.025078579783439636,
-0.07331209629774094,
-0.01616392843425274,
-0.0324525348842144,
-0.05931226536631584,
0.03015485405921936,
0.027750302106142044,
-0.061057791113853455,
0.07701689004898071,
-0.009814131073653698,
0.06397887319326401,
-0.018452703952789307,
0.04032521694898605,
-0.03672729432582855,
-0.07060474902391434,
-0.016885293647646904,
0.029014918953180313,
0.07292024046182632,
0.02099974825978279,
-0.07473701983690262,
0.019450148567557335,
-0.024134570732712746,
0.04427936673164368,
0.08357151597738266,
0.04727169871330261,
0.03893591836094856,
0.02037634514272213,
0.0717090591788292,
-0.02037634514272213,
0.011595280840992928,
-0.02123129740357399,
-0.07723062485456467,
0.04363815113902092,
0.018969237804412842,
-0.04064582288265228,
0.10409035533666611,
-0.0401114784181118,
-0.06362264603376389,
-0.03861531242728233,
0.03765349090099335,
0.010339570231735706,
0.0022331157233566046,
-0.013420958071947098,
-0.0054102404974401,
0.03776036202907562,
0.036086082458496094,
-0.0369766540825367,
-0.011933699250221252,
0.012307739816606045,
0.0527220144867897,
-0.02514982596039772,
-0.04285444691777229,
-0.044421859085559845,
0.04908847063779831,
0.05667616426944733,
-0.011711055412888527,
-0.0009634903399273753,
-0.03428712114691734,
0.10330665111541748,
0.07986672222614288,
-0.010384099557995796,
0.04566866159439087,
0.060879677534103394,
0.024401742964982986,
-0.03872217983007431,
-0.017054501920938492,
0.010677988640964031,
0.002041642088443041,
-0.06045220047235489,
-0.07085411250591278,
0.032025061547756195,
-0.0005833263276144862,
-0.013581261970102787,
0.031027616932988167,
0.05058463290333748,
0.020394157618284225,
-0.014676668681204319,
-0.0784418061375618,
-0.021391600370407104,
-0.01667155511677265,
0.029050542041659355,
0.06622312217950821,
0.0009963302873075008,
-0.03580109775066376,
0.02735844999551773,
-0.03138384595513344,
-0.017027786001563072,
-0.028747746720910072,
-0.008148756809532642,
0.013260655105113983,
-0.04499182477593422,
-0.008976991288363934,
0.03213192895054817,
0.02812434360384941,
0.03943464159965515,
-0.016564685851335526,
-0.008496081456542015,
-0.009288692846894264,
0.040859561413526535,
-0.00964492280036211,
-0.05585683509707451,
0.03138384595513344,
0.030368592590093613,
0.010455344803631306,
-0.04858974739909172,
0.058492936193943024,
0.006002472247928381,
-0.05382632464170456,
0.04566866159439087,
0.021836888045072556,
-0.03485708683729172,
-0.0518314391374588,
0.02335086464881897,
0.003925207536667585,
-0.037617869675159454,
-0.0031659924425184727,
-0.0015540525782853365,
0.00296338670887053,
0.03195381537079811,
0.02050102688372135,
-0.042355723679065704,
0.010588930919766426,
-0.04224885627627373,
-0.036175139248371124,
-0.0070889731869101524,
0.07915426790714264,
0.014062171801924706,
0.018292400985956192,
-0.0047556678764522076,
0.013964208774268627,
-0.017677905037999153,
0.03580109775066376,
0.02402770146727562,
0.02358241379261017,
0.06793302297592163,
0.03818783536553383,
-0.00280530983582139,
0.00553492084145546,
-0.0010965198744088411,
-0.021106617525219917,
0.021694395691156387,
0.024223627522587776,
-0.00286765000782907,
0.039149656891822815,
-0.06750555336475372,
-0.00903933122754097,
-0.02497171051800251,
-0.025666357949376106,
-0.020857255905866623,
0.015950189903378487,
0.015184296295046806,
0.06561753153800964,
-0.07951049506664276,
-0.045454926788806915,
0.03986211493611336,
-0.030315157026052475,
-0.03647793456912041,
-0.0856376513838768,
0.018132098019123077,
0.02226436324417591,
-0.02682410553097725,
-0.0288546159863472,
-0.036264196038246155,
0.02511420287191868,
0.05215204507112503,
-0.03264846280217171,
0.029050542041659355,
-0.019004860892891884,
0.02682410553097725,
0.044599972665309906,
0.027910606935620308,
-0.02108880504965782,
0.044778089970350266,
0.049017224460840225,
0.01320722047239542,
0.01469448022544384,
-0.0038272440433502197,
0.029673943296074867,
-0.04427936673164368,
0.0058911507949233055,
-0.04349566251039505,
0.0019670564215630293,
0.008870122954249382,
-0.005067368969321251,
0.008816688321530819,
-0.0029678395949304104,
-0.003039085539057851,
-0.0455261692404747,
0.060559067875146866,
-0.05628431215882301,
-0.049872174859046936,
-0.059739742428064346,
-0.007699016947299242,
-0.01399983186274767,
-0.03140166029334068,
0.011773395352065563,
0.005187596660107374,
0.015113050118088722,
0.036620426923036575,
-0.007031085900962353,
0.04648799076676369,
-0.005071822088211775,
0.03592577576637268,
-0.010677988640964031,
0.042747579514980316,
-0.026307571679353714,
0.031793512403964996,
0.007022180128842592,
-0.020981935784220695,
0.05706801638007164,
0.005009481683373451,
0.01643110066652298,
0.026254137977957726,
-0.025185449048876762,
0.0027986306231468916,
-0.04363815113902092,
-0.009689451195299625,
-0.07958174496889114,
0.02181907556951046,
-0.053434472531080246,
-0.02429487369954586,
0.021213484928011894,
-0.033966511487960815,
-0.01602143608033657,
0.02732282690703869,
0.002293229568749666,
0.00048007533769123256,
0.022923389449715614,
-0.06665059924125671,
0.05450316146016121,
-0.008513893000781536,
-0.004005359020084143,
0.030796067789196968,
-0.03498176857829094,
-0.00016517375479452312,
0.016707178205251694,
-0.03147290274500847,
0.020946312695741653,
-0.022567158564925194,
-0.03494614362716675,
0.015041803941130638,
0.09411592036485672,
0.028694311156868935,
-0.06821800768375397,
0.016555780544877052,
0.009288692846894264,
-0.01690310426056385,
-0.05845731496810913,
-0.0076544880867004395,
-0.048660993576049805,
0.030261723324656487,
-0.06397887319326401,
-0.05927664041519165,
0.007093426305800676,
0.004595364443957806,
0.04232010245323181,
-0.028694311156868935,
0.013857340440154076,
-0.005085180513560772,
-0.005298918578773737,
0.049017224460840225,
0.029424583539366722,
0.0326840877532959,
0.009609299711883068,
0.011942604556679726,
0.05129709467291832,
-0.1289552003145218,
-0.00722255976870656,
-0.04299693927168846,
-0.003010141896083951,
0.032880011945962906,
0.028836803510785103,
0.029406771063804626,
-0.028961485251784325,
0.04784166440367699,
-0.06832487881183624,
0.00622066343203187,
0.07758685201406479,
0.07829931378364563,
0.003586788894608617,
-0.03250597044825554,
-0.02547043189406395,
-0.019663885235786438,
-0.016600308939814568,
-0.03900716453790665,
-0.013358618132770061,
0.058492936193943024,
0.024936087429523468,
-0.03231004625558853,
0.05115460231900215,
-0.022976823151111603,
0.04096642881631851,
-0.04367377609014511,
0.0378672294318676,
0.03505301475524902,
0.009208540432155132,
-0.08043669164180756,
-0.05215204507112503,
-0.020180419087409973,
0.02714471146464348,
0.03854406625032425,
0.01537131704390049,
0.017116842791438103,
0.02573760412633419,
0.030867313966155052,
-0.012859896756708622,
0.03754662349820137,
0.009030425921082497,
0.042070742696523666,
0.03986211493611336,
0.020483214408159256,
-0.052401404827833176,
-0.0002927763853222132,
-0.0353914313018322,
-0.0024668914265930653,
0.01888018101453781,
-0.036584801971912384,
0.009017067030072212,
-0.029317714273929596,
0.03307593986392021,
0.07609068602323532,
-0.01507742702960968,
0.026895351707935333,
-0.05022840574383736,
-0.05692552402615547,
0.03633544221520424,
0.004657704848796129,
0.006127153057605028,
-0.05607057362794876,
-0.039470262825489044,
0.0024847029708325863,
0.0026984408032149076,
0.02087506651878357,
0.02718033455312252,
-0.010553308762609959,
0.04032521694898605,
-0.03318280726671219,
-0.001773356576450169,
0.023101503029465675,
0.0021162277553230524,
-0.001095406711101532,
-0.03546267747879028,
-0.0094668073579669,
-0.006318626459687948,
0.00199488690122962,
0.034500859677791595,
0.04228448122739792,
-0.01064236555248499,
-0.06426385790109634,
-0.026450064033269882,
-0.0401114784181118,
0.05161770060658455,
-0.012094002217054367,
0.0326840877532959,
-0.006193946115672588,
0.050014667212963104,
0.050192780792713165,
-0.03783160820603371,
-0.03765349090099335,
-0.0073027112521231174,
-0.0049159713089466095,
-0.03840157389640808,
-0.021017558872699738,
0.021035371348261833,
0.007547619286924601,
-0.007133502047508955,
-0.01782039739191532,
0.013937491923570633,
-0.015522714704275131,
-0.015887849032878876,
-0.002253153594210744,
-0.011443883180618286,
-0.0644419714808464,
0.03736850991845131,
0.044243741780519485,
0.07829931378364563,
-0.03124135546386242,
-0.022335609421133995,
0.022389044985175133,
-0.022549347952008247,
0.018274590373039246,
0.03416243940591812,
0.014044360257685184,
-0.06109341233968735,
0.0116041861474514,
-0.02402770146727562,
-0.00802407693117857,
-0.05247265100479126,
0.051190223544836044,
-0.0076901111751794815,
0.04887473210692406,
0.035498302429914474,
0.01164871547371149,
0.022335609421133995,
-0.01814100332558155,
-0.01189807616174221,
0.005178690887987614,
0.04880348592996597,
0.03548049181699753,
-0.020251665264368057,
0.05386194959282875,
-0.023048069328069687,
-0.03551611304283142,
-0.06953606009483337,
-0.05347009748220444,
0.022460289299488068,
-0.01652015745639801,
-0.025862284004688263,
0.014240287244319916,
0.0010948501294478774,
-0.025986965745687485,
-0.045953646302223206,
0.04021834582090378,
0.00566850695759058,
-0.04403000697493553,
-0.0002152685628971085,
0.037297263741493225,
0.040004607290029526,
0.0761619359254837,
-0.025274505838751793,
0.030030174180865288,
-0.013287371955811977,
-0.010873915627598763,
-0.018541762605309486,
0.013127068988978863,
-0.029994551092386246,
0.019574828445911407,
0.04531243443489075,
0.022887766361236572,
-0.011657620780169964,
0.00667040329426527,
-0.05607057362794876,
0.015300070866942406,
0.013287371955811977,
-0.05165332555770874,
0.03722601756453514,
-0.02091068960726261,
0.04142952710390091,
-0.1036628782749176,
0.038152214139699936,
0.002205285243690014,
-0.008665290661156178,
0.029816435649991035,
-0.020714763551950455,
-0.03344998136162758,
-0.015567243099212646,
-0.028106532990932465,
0.0108204809948802,
-0.004568647593259811,
-0.033111561089754105,
0.0044862693175673485,
0.0852101743221283,
0.009814131073653698,
-0.003994226921349764,
-0.02844495140016079,
-0.020411968231201172,
0.013581261970102787,
0.008812234736979008,
0.04841163381934166,
0.05354134365916252,
-0.0716734379529953,
-0.0059178676456213,
0.010464251041412354,
-0.01584332063794136,
0.034554291516542435,
-0.03339654579758644,
-0.009043784812092781,
-0.03060014173388481,
-0.04841163381934166,
-0.007173577789217234,
-0.01294004824012518,
0.023493357002735138,
0.016333136707544327,
0.030938560143113136,
-0.02240685559809208,
0.017953982576727867,
-0.009244163520634174,
-0.04427936673164368,
0.02376052923500538,
-0.005472580436617136,
-0.01934327930212021,
-0.040147099643945694,
-0.04317505285143852,
-0.03886467218399048,
-0.022780897095799446,
0.006216210313141346,
-0.018417080864310265,
-0.037938475608825684,
0.03321843221783638,
0.017660092562437057,
0.009921000339090824,
0.018470516428351402,
-0.03524893894791603,
-0.0689660906791687,
0.0236714705824852,
-0.05072712525725365,
-0.03765349090099335,
-0.026628179475665092,
-0.02335086464881897,
-0.001431598560884595,
0.009297598153352737,
-0.014614328742027283,
0.06846737116575241,
-0.052900128066539764,
-0.028783369809389114,
0.04581115394830704,
-0.040823936462402344,
0.018808934837579727,
-0.02853400819003582,
-0.03097418323159218,
-0.00020302316988818347,
-0.03163320943713188,
-0.027483129873871803,
-0.013029105961322784,
-0.021516280248761177,
-0.01672499068081379,
0.0558924600481987,
-0.03033296950161457,
0.030404215678572655,
-0.11128619313240051,
0.006759461015462875,
0.004573100246489048,
-0.03409119322896004,
-0.04826914146542549,
0.020269475877285004,
-0.010286135599017143,
-0.018737688660621643,
0.013483298942446709,
0.02618289180099964,
-0.0304220262914896,
-0.042035117745399475,
0.048660993576049805,
-0.022816520184278488,
-0.0405745767056942,
-0.021925944834947586,
0.026895351707935333,
-0.01652015745639801,
-0.035088635981082916,
0.00374041311442852,
-0.004728951025754213,
-0.07053350657224655,
0.014498553238809109,
-0.0013291825307533145,
-0.04210636392235756,
0.011595280840992928,
-0.032470349222421646,
-0.052045177668333054,
0.02438393048942089,
0.006136058829724789,
0.005178690887987614,
-0.02114224061369896,
-0.012521478347480297,
0.06967855244874954,
-0.012913331389427185,
0.0229946356266737,
0.028338082134723663,
0.07402455806732178,
0.05421817675232887,
0.022335609421133995,
-0.02753656543791294,
-0.013331901282072067,
-0.024508612230420113,
-0.02673504874110222,
-0.06754117459058762,
0.025434808805584908,
-0.03719039261341095,
-0.06273207068443298,
0.0739533081650734,
-0.04481371119618416,
-0.010036774910986423,
0.02249591238796711
] |
710,354
|
js2py.evaljs
|
translate_file
|
Translates input JS file to python and saves the it to the output path.
It appends some convenience code at the end so that it is easy to import JS objects.
For example we have a file 'example.js' with: var a = function(x) {return x}
translate_file('example.js', 'example.py')
Now example.py can be easily importend and used:
>>> from example import example
>>> example.a(30)
30
|
def translate_file(input_path, output_path):
'''
Translates input JS file to python and saves the it to the output path.
It appends some convenience code at the end so that it is easy to import JS objects.
For example we have a file 'example.js' with: var a = function(x) {return x}
translate_file('example.js', 'example.py')
Now example.py can be easily importend and used:
>>> from example import example
>>> example.a(30)
30
'''
js = get_file_contents(input_path)
py_code = translate_js(js)
lib_name = os.path.basename(output_path).split('.')[0]
head = '__all__ = [%s]\n\n# Don\'t look below, you will not understand this Python code :) I don\'t.\n\n' % repr(
lib_name)
tail = '\n\n# Add lib to the module scope\n%s = var.to_python()' % lib_name
out = head + py_code + tail
write_file_contents(output_path, out)
|
(input_path, output_path)
|
[
-0.03723675012588501,
-0.028764041140675545,
0.0023227997589856386,
-0.007339417468756437,
-0.03049096278846264,
0.00930019374936819,
-0.032667603343725204,
0.07835907489061356,
-0.00776665098965168,
-0.05475781112909317,
0.035689715296030045,
0.02741488255560398,
0.01626184768974781,
0.04310109093785286,
-0.01940988190472126,
0.048929449170827866,
0.0536784864962101,
0.00992080569267273,
-0.00016119623614940792,
-0.009097820147871971,
-0.025939803570508957,
-0.022647859528660774,
0.01921200565993786,
0.054290104657411575,
0.012682082131505013,
-0.031534310430288315,
0.025040365755558014,
0.04648297652602196,
-0.020830994471907616,
-0.06152158975601196,
0.028206389397382736,
-0.043892595916986465,
0.046842753887176514,
0.0009140542824752629,
-0.00976790115237236,
-0.010010750032961369,
0.007847600616514683,
0.021010881289839745,
-0.045907337218523026,
-0.0746174082159996,
0.05256318300962448,
0.0457274504005909,
-0.04889347404241562,
-0.005360653158277273,
0.024554669857025146,
0.02507634274661541,
-0.07512109726667404,
-0.024914445355534554,
0.020938927307724953,
0.005171771161258221,
0.04159003123641014,
-0.04216567426919937,
0.014678834937512875,
0.014696824364364147,
-0.023169534280896187,
0.03523999825119972,
-0.005909310653805733,
0.01958976872265339,
0.03169621154665947,
-0.009156282991170883,
-0.0040834504179656506,
-0.02784661389887333,
0.02174842171370983,
-0.019068093970417976,
0.0011748914839699864,
0.08613022416830063,
-0.025184275582432747,
-0.05626886710524559,
-0.05339066684246063,
-0.0118456045165658,
-0.024176904931664467,
-0.017691953107714653,
0.029969288036227226,
-0.007870086468756199,
0.04874956235289574,
0.08490698784589767,
-0.010244603268802166,
-0.03023912012577057,
-0.011180019937455654,
0.02527421899139881,
0.010433485731482506,
-0.04083450511097908,
0.006273583043366671,
-0.018123684450984,
-0.02462662383913994,
-0.07112759351730347,
0.039539314806461334,
-0.016954414546489716,
-0.04964900016784668,
0.009372148662805557,
-0.050872236490249634,
0.005616993177682161,
-0.014283082447946072,
0.055981047451496124,
0.009848850779235363,
-0.05285100266337395,
0.03453843668103218,
-0.011359907686710358,
-0.03662513196468353,
0.04838978871703148,
0.030580906197428703,
0.06814145296812057,
-0.08253247290849686,
-0.019014127552509308,
0.057564061135053635,
-0.004969397094100714,
0.03774043545126915,
0.021820375695824623,
0.0010467214742675424,
-0.05083626136183739,
-0.038963671773672104,
-0.016054976731538773,
-0.016756538301706314,
-0.04065461829304695,
0.03792032226920128,
-0.03993506729602814,
-0.0030783279798924923,
0.014714812859892845,
0.03327922150492668,
0.03583362698554993,
-0.004263338167220354,
0.0051582795567810535,
-0.022647859528660774,
0.02122674696147442,
0.04133819043636322,
-0.07562478631734848,
0.03774043545126915,
0.01571318879723549,
0.016756538301706314,
-0.00002599939216452185,
-0.02671332098543644,
-0.0486416295170784,
0.018744297325611115,
0.029519569128751755,
-0.015110565349459648,
0.0076047517359256744,
-0.025867849588394165,
0.0036697087343782187,
0.0025296704843640327,
0.03509608656167984,
0.04597929120063782,
-0.0243208147585392,
0.04036679491400719,
-0.02514829859137535,
0.04648297652602196,
-0.05382239446043968,
0.026821253821253777,
-0.01480475626885891,
-0.06522727757692337,
0.07026413083076477,
-0.029501579701900482,
-0.03209196403622627,
-0.019805634394288063,
-0.009677957743406296,
0.02298964560031891,
-0.038100212812423706,
0.005666462238878012,
-0.022467972710728645,
-0.031534310430288315,
0.013095823116600513,
-0.005014369264245033,
0.03914355859160423,
0.036139436066150665,
0.06101790443062782,
0.07504913955926895,
0.0070920721627771854,
0.03270358219742775,
-0.04133819043636322,
-0.030131187289953232,
-0.05878729745745659,
-0.02772069163620472,
-0.032163918018341064,
-0.04860565438866615,
0.03466435521841049,
0.06252896040678024,
-0.042813267558813095,
0.03383687511086464,
0.03712881729006767,
0.03144436702132225,
0.040043000131845474,
0.014175149612128735,
-0.01958976872265339,
-0.018141673877835274,
0.014966655522584915,
0.02477053366601467,
0.023097578436136246,
-0.024680590257048607,
0.025616006925702095,
0.034250617027282715,
-0.020633118227124214,
0.026893209666013718,
-0.0007375394925475121,
0.0461232028901577,
-0.04662688821554184,
-0.01588408276438713,
-0.030670849606394768,
-0.026551421731710434,
0.02696516364812851,
-0.029897334054112434,
0.012906941585242748,
-0.043568797409534454,
0.014795762486755848,
0.04018690809607506,
0.023421376943588257,
-0.04957704618573189,
0.039431381970644,
-0.02185635454952717,
-0.024536680430173874,
-0.02897990681231022,
-0.007681204006075859,
0.03005923144519329,
-0.01155778393149376,
0.01654067263007164,
-0.06612671166658401,
0.042129695415496826,
0.03712881729006767,
-0.09778694808483124,
0.06547911465167999,
-0.004861464723944664,
0.052958935499191284,
0.01575816050171852,
0.04328097775578499,
-0.027324939146637917,
0.019517814740538597,
0.04795805737376213,
-0.03957528993487358,
-0.018159661442041397,
0.029339682310819626,
-0.007690198719501495,
-0.03842401131987572,
0.05885925143957138,
-0.0360494926571846,
0.08246051520109177,
-0.012214373797178268,
-0.01276303082704544,
-0.014975650236010551,
-0.01281699724495411,
-0.035689715296030045,
-0.010955160483717918,
0.003768647089600563,
-0.018924184143543243,
0.04781414568424225,
-0.008567150682210922,
0.005225737113505602,
-0.025004388764500618,
0.04166198894381523,
0.025562040507793427,
-0.03561776131391525,
-0.01370744127780199,
0.005378641653805971,
0.026353545486927032,
0.02892594039440155,
0.0010332298697903752,
0.003339165123179555,
0.022719815373420715,
0.08073358982801437,
0.048101965337991714,
-0.04781414568424225,
-0.010838232934474945,
0.02086697146296501,
0.00399125786498189,
-0.04043875262141228,
-0.008868463337421417,
-0.027810636907815933,
-0.015821121633052826,
-0.07368199527263641,
-0.029375659301877022,
0.03748859465122223,
-0.005612495820969343,
-0.03716479614377022,
0.07706388086080551,
0.041302211582660675,
-0.0033481596037745476,
-0.009983766824007034,
-0.011971525847911835,
-0.020956914871931076,
0.00762274069711566,
0.02187434211373329,
0.06717006117105484,
0.02306160144507885,
0.012960908003151417,
0.034124694764614105,
-0.01666659489274025,
0.02036328613758087,
0.021640488877892494,
-0.001924798241816461,
-0.027199018746614456,
-0.054218146950006485,
-0.06047824025154114,
0.0002937228709924966,
0.03885573893785477,
-0.0028871973045170307,
-0.02703711949288845,
0.027990523725748062,
-0.017305195331573486,
-0.026551421731710434,
-0.0018460974097251892,
-0.08620218187570572,
0.06321253627538681,
-0.04328097775578499,
-0.03838803246617317,
0.03766848146915436,
0.055801160633563995,
-0.007825114764273167,
-0.08836083114147186,
-0.015830116346478462,
-0.05126798897981644,
-0.06976044178009033,
-0.0654071643948555,
0.047994036227464676,
-0.027127062901854515,
-0.04831783100962639,
0.04731046035885811,
0.0028624627739191055,
0.005122301634401083,
0.02469857968389988,
0.03907160460948944,
-0.026695333421230316,
0.04198578745126724,
-0.04036679491400719,
-0.022575903683900833,
-0.043892595916986465,
0.03086872771382332,
0.01155778393149376,
-0.009052847512066364,
-0.090519480407238,
0.05644875392317772,
0.01339263841509819,
0.08037381619215012,
-0.08361179381608963,
-0.007474333513528109,
0.019194016233086586,
0.0119445426389575,
-0.05590909346938133,
-0.025472097098827362,
-0.03734468296170235,
-0.007262965198606253,
-0.007870086468756199,
0.031984031200408936,
0.013680458068847656,
0.04536767303943634,
0.020255353301763535,
-0.0448639877140522,
0.01130594126880169,
-0.05259915813803673,
0.007825114764273167,
0.006646850146353245,
0.0010697696125134826,
0.017988769337534904,
-0.076344333589077,
0.01651369035243988,
0.00011994854867225513,
-0.038280099630355835,
-0.008994384668767452,
-0.06576693803071976,
0.011126053519546986,
0.023097578436136246,
-0.08397157490253448,
-0.01131493505090475,
-0.03482625633478165,
0.010190637782216072,
0.02268383651971817,
-0.0016324807656928897,
-0.010136671364307404,
-0.015506318770349026,
-0.018159661442041397,
0.06555107235908508,
0.02218015119433403,
0.046339068561792374,
0.07065988332033157,
0.030832748860120773,
-0.008814496919512749,
0.0038023758679628372,
0.02588583715260029,
-0.0038990655448287725,
0.013590514659881592,
-0.008238855749368668,
0.009106813929975033,
-0.022539926692843437,
0.030401019379496574,
0.0031862605828791857,
0.019805634394288063,
-0.06486749649047852,
0.0067637767642736435,
0.03921551629900932,
0.02910582721233368,
0.07504913955926895,
-0.04518778622150421,
-0.05443401262164116,
-0.00845921877771616,
0.006183639168739319,
0.021460600197315216,
0.005306686740368605,
-0.012466216459870338,
0.03720077499747276,
0.015740172937512398,
-0.038963671773672104,
0.0553334504365921,
0.020201386883854866,
0.029267726466059685,
0.002014742000028491,
0.01528145931661129,
0.008580642752349377,
0.0077036903239786625,
-0.029951300472021103,
0.007357406429946423,
0.09181467443704605,
0.055225517600774765,
0.0540742389857769,
0.015119560062885284,
-0.01824960485100746,
0.028008513152599335,
-0.043568797409534454,
-0.05475781112909317,
-0.01219638530164957,
0.001192880212329328,
-0.062097229063510895,
-0.04349684342741966,
-0.01621687412261963,
-0.06673832982778549,
-0.028116445988416672,
0.037452615797519684,
-0.02009345404803753,
-0.01266409270465374,
0.0036787032149732113,
-0.08656195551156998,
0.0053021893836557865,
0.04662688821554184,
-0.03076079487800598,
0.087209552526474,
0.03142637759447098,
-0.04173394292593002,
0.05047648400068283,
-0.05777992308139801,
0.027612758800387383,
0.018312565982341766,
0.00871106144040823,
0.012466216459870338,
0.059758689254522324,
0.009579019621014595,
0.0184564758092165,
0.04101439192891121,
-0.022288084030151367,
-0.03572569414973259,
-0.03597753867506981,
0.04425236955285072,
-0.04159003123641014,
0.03863987326622009,
-0.045403651893138885,
-0.04454018920660019,
0.06180940940976143,
0.02293567918241024,
0.07112759351730347,
-0.0540742389857769,
0.033243242651224136,
-0.0540742389857769,
0.04551158472895622,
-0.04910933971405029,
0.03662513196468353,
0.016855476424098015,
-0.018312565982341766,
0.013914312236011028,
0.14822745323181152,
-0.03734468296170235,
0.03149833530187607,
-0.012151413597166538,
-0.07015619426965714,
-0.010244603268802166,
-0.006075706798583269,
0.016306819394230843,
0.0018854477675631642,
0.02268383651971817,
-0.05558529496192932,
-0.02728896215558052,
0.07101965695619583,
-0.008076957426965237,
-0.023655230179429054,
-0.0402228869497776,
-0.02338539995253086,
0.005117804743349552,
0.018888207152485847,
-0.056808531284332275,
-0.015947043895721436,
0.01985960081219673,
0.038603898137807846,
0.013284705579280853,
0.039971042424440384,
-0.015173526480793953,
0.031048614531755447,
-0.003908060025423765,
-0.010280581191182137,
0.04418041557073593,
0.01370744127780199,
-0.05583713576197624,
-0.04702264070510864,
-0.033746927976608276,
-0.0008359155617654324,
-0.015569278970360756,
-0.008967401459813118,
-0.039539314806461334,
-0.018978150561451912,
-0.00019436301954556257,
-0.03086872771382332,
-0.019445858895778656,
0.032487716525793076,
0.05439803749322891,
0.027360916137695312,
0.017503071576356888,
-0.03925149142742157,
0.04461214691400528,
-0.03597753867506981,
0.03579764813184738,
-0.021442612633109093,
-0.029015883803367615,
-0.00752829946577549,
0.0001344238844467327,
-0.004735543392598629,
0.09282204508781433,
-0.01440000906586647,
-0.01010968815535307,
-0.0603703074157238,
-0.010883204638957977,
-0.006237605586647987,
0.014786767773330212,
-0.03586960583925247,
0.01910407282412052,
0.0031975035089999437,
-0.011665716767311096,
-0.04058266058564186,
0.04335293173789978,
-0.001138351741246879,
-0.03263162449002266,
0.0011917558731511235,
-0.027127062901854515,
-0.036319322884082794,
0.03536592051386833,
0.005234731826931238,
0.0007633983623236418,
-0.021406633779406548,
-0.019805634394288063,
0.019985521212220192,
0.043820641934871674,
-0.02595779299736023,
-0.04007897526025772,
-0.00398451229557395,
0.005347161553800106,
-0.04820989817380905,
-0.016837486997246742,
0.014894700609147549,
0.022953668609261513,
-0.008454721421003342,
-0.004175642970949411,
0.026803264394402504,
0.035437874495983124,
0.057815901935100555,
-0.09685152769088745,
-0.031228501349687576,
0.013365655206143856,
0.010820244438946247,
0.027882590889930725,
0.004018241073936224,
0.05249122530221939,
-0.017287205904722214,
-0.013716435991227627,
-0.02311556786298752,
0.08166901022195816,
-0.011575772427022457,
0.02462662383913994,
-0.008355783298611641,
-0.024482714012265205,
0.08483503013849258,
0.06411197036504745,
0.04964900016784668,
-0.038531940430402756,
-0.00024144300550688058,
0.03881976380944252,
0.014175149612128735,
0.010757283307611942,
0.046914707869291306,
-0.0034988154657185078,
-0.028206389397382736,
0.016972403973340988,
-0.07670410722494125,
-0.0049334196373820305,
0.04184187576174736,
-0.009336170740425587,
0.02502237632870674,
0.06324850767850876,
0.011773648671805859,
-0.004096942022442818,
-0.021694455295801163,
0.021820375695824623,
0.00901237316429615,
0.002120426157489419,
0.004699565935879946,
0.04579940438270569,
-0.04220164939761162,
0.03914355859160423,
0.028566164895892143,
-0.05965075641870499,
-0.08210074156522751,
-0.017862847074866295,
-0.0528150238096714,
-0.008292822167277336,
0.009097820147871971,
0.026353545486927032,
0.0077126845717430115,
-0.0695805549621582,
-0.0065119341015815735,
0.05457792431116104,
-0.004825487267225981,
-0.0024464724119752645,
-0.016306819394230843,
-0.03358503058552742,
0.03448446840047836,
-0.01339263841509819,
-0.006206125020980835,
-0.052527204155921936,
0.0038765796925872564,
-0.03130045905709267,
0.017305195331573486,
0.016927430406212807,
0.01064935140311718,
0.014426992274820805,
0.02532818540930748,
0.02514829859137535,
-0.017233239486813545,
-0.015227492898702621,
-0.027936557307839394,
0.028638118878006935,
-0.009641979821026325,
-0.06278080493211746,
0.001173767144791782,
0.01288895308971405,
0.04302913323044777,
-0.02210819721221924,
-0.014615874737501144,
-0.01985960081219673,
0.028710074722766876,
0.04072657227516174,
-0.03466435521841049,
-0.024050982668995857,
0.027019130066037178,
-0.01890619657933712,
0.01644173450767994,
-0.005068335682153702,
-0.003408871591091156,
-0.0005236418219283223,
-0.032361794263124466,
-0.04461214691400528,
-0.02905186079442501,
0.02709108591079712,
-0.018033741042017937,
0.027738681063055992,
0.017251228913664818,
0.009641979821026325,
0.052527204155921936,
-0.03484424576163292,
0.07242278009653091,
0.0017955040093511343,
0.05878729745745659,
0.027199018746614456,
0.02588583715260029,
-0.028871973976492882,
0.021658476442098618,
0.0034313576761633158,
-0.02658740058541298,
0.03863987326622009,
0.028188399970531464,
-0.02079501561820507,
0.027432871982455254,
-0.012709065340459347,
0.012052474543452263,
-0.012124430388212204,
0.013923306949436665,
-0.05141190066933632,
0.05375044047832489,
-0.027234995737671852,
-0.00711905537173152,
-0.010955160483717918,
-0.020938927307724953,
0.015488329343497753,
0.014642857946455479,
0.00527970353141427,
-0.017682960256934166,
0.037272728979587555,
0.030203143134713173,
0.0033571538515388966,
0.03176816552877426,
-0.027810636907815933,
-0.01833055540919304,
0.0440005287528038,
-0.07663215696811676,
-0.082172691822052,
0.06673832982778549,
0.030580906197428703,
0.01175566017627716,
-0.019517814740538597,
-0.014534925110638142,
0.03264961391687393,
0.04220164939761162,
-0.044396281242370605,
0.02935766987502575,
0.03939540311694145,
-0.005518054589629173,
-0.002263211878016591,
-0.004058715887367725,
-0.01732318475842476,
-0.002844474045559764,
-0.03617541491985321,
-0.026119692251086235,
-0.018366532400250435,
-0.013986267149448395,
0.004553406964987516,
0.03763250261545181,
-0.04554756358265877,
-0.07915057986974716,
0.049684979021549225,
0.022953668609261513,
-0.030023254454135895,
-0.005985762923955917,
-0.015623245388269424,
0.022018251940608025,
-0.037596527487039566,
-0.02563399448990822,
-0.013248727656900883,
-0.07483327388763428,
-0.042309582233428955,
0.006278080400079489,
-0.04371270909905434,
-0.08476307988166809,
-0.007357406429946423,
-0.0184564758092165,
0.0015549041563645005,
0.015488329343497753,
0.00363822840154171,
-0.04119427874684334,
-0.04820989817380905,
-0.0222341176122427,
-0.020309319719672203,
-0.04302913323044777,
0.0020822000224143267,
0.03610345721244812,
-0.00638151541352272,
0.03432257100939751,
-0.0035078099463135004,
0.02671332098543644,
-0.04756230488419533,
-0.05180765315890312,
0.07389786094427109,
-0.0034358548000454903,
0.02665935456752777,
-0.0257779061794281,
0.015992015600204468,
0.0636802390217781,
0.03176816552877426,
-0.001601000432856381,
0.006421990226954222,
-0.011728676967322826,
-0.020381275564432144,
-0.06411197036504745,
0.028782030567526817,
0.013572526164352894,
-0.06278080493211746,
0.050512462854385376,
0.028943927958607674,
-0.02185635454952717,
-0.004717554431408644
] |
710,355
|
js2py.translators.translator
|
translate_js
|
js has to be a javascript source code.
returns equivalent python code.
|
def translate_js(js, HEADER=DEFAULT_HEADER, use_compilation_plan=False, parse_fn=pyjsparser_parse_fn):
"""js has to be a javascript source code.
returns equivalent python code."""
if use_compilation_plan and not '//' in js and not '/*' in js:
return translate_js_with_compilation_plan(js, HEADER=HEADER)
parsed = parse_fn(js)
translating_nodes.clean_stacks()
return HEADER + translating_nodes.trans(
parsed) # syntax tree to python code
|
(js, HEADER='from js2py.pyjs import *\n# setting scope\nvar = Scope( JS_BUILTINS )\nset_global_object(var)\n\n# Code follows:\n', use_compilation_plan=False, parse_fn=<function pyjsparser_parse_fn at 0x7f61f97e16c0>)
|
[
-0.03237278759479523,
-0.01581851951777935,
0.035499703139066696,
-0.03386266902089119,
-0.06279584765434265,
0.019846724346280098,
-0.02876763418316841,
0.07953404635190964,
-0.04123851656913757,
-0.0458369217813015,
-0.03060699813067913,
0.013280199840664864,
0.02072962000966072,
-0.014264258556067944,
-0.049920305609703064,
0.007559781428426504,
0.06018395349383354,
-0.002972870133817196,
0.00554567901417613,
-0.04870632663369179,
-0.029135506600141525,
-0.027461687102913857,
0.009610670618712902,
0.08277133107185364,
-0.0009219805942848325,
-0.059227485209703445,
0.020490502938628197,
0.03492949903011322,
-0.019846724346280098,
-0.04333538934588432,
0.038074810057878494,
-0.033108532428741455,
0.011256900615990162,
-0.03987738490104675,
-0.030110370367765427,
0.037817299365997314,
0.0015197735046967864,
-0.021097492426633835,
-0.030846115201711655,
-0.07081546634435654,
0.01431943941861391,
0.051575735211372375,
-0.03156346455216408,
-0.048338454216718674,
-0.02915390022099018,
0.007628757506608963,
-0.012185778468847275,
-0.018246479332447052,
0.03299817070364952,
0.009256593883037567,
0.07717966288328171,
-0.03459841385483742,
0.0030441454146057367,
-0.00924739707261324,
-0.06849787384271622,
-0.001653127372264862,
0.0013231916818767786,
0.02030656486749649,
0.05959535762667656,
0.02488657832145691,
-0.013004295527935028,
0.007564379833638668,
-0.03277744725346565,
0.02637646347284317,
-0.016637036576867104,
0.0037362058646976948,
-0.01449417881667614,
-0.05370939522981644,
-0.041569601744413376,
-0.08247703313827515,
-0.02966892346739769,
0.023157577961683273,
0.053930118680000305,
0.04800736904144287,
-0.0022095346357673407,
-0.022090747952461243,
-0.044696517288684845,
-0.052311480045318604,
-0.05871246010065079,
-0.021741269156336784,
0.025751080363988876,
-0.036014724522829056,
0.03702637553215027,
-0.030846115201711655,
0.011367262341082096,
-0.007481608539819717,
0.012480076402425766,
0.01601165346801281,
-0.03459841385483742,
-0.00004196046575088985,
-0.042047835886478424,
-0.02812385745346546,
-0.009895771741867065,
0.016747398301959038,
-0.021281428635120392,
0.031048445031046867,
0.04134887829422951,
0.001715205842629075,
0.008916310966014862,
0.05661558732390404,
0.09093809872865677,
0.0316370390355587,
-0.04083385318517685,
-0.03057021088898182,
0.0655548945069313,
0.05175967141985893,
0.03266708552837372,
0.0016370329540222883,
0.054224416613578796,
-0.0351870097219944,
-0.014521769247949123,
-0.030717359855771065,
-0.06853465735912323,
-0.06632742285728455,
0.07953404635190964,
0.0007869024411775172,
0.003366034012287855,
-0.0235622376203537,
-0.029466591775417328,
0.028804421424865723,
-0.00019241459085606039,
-0.014264258556067944,
-0.013602088205516338,
0.0237277802079916,
0.029098719358444214,
-0.05245862901210785,
0.060257527977228165,
-0.03921521455049515,
0.04675660282373428,
-0.015680568292737007,
0.005329553969204426,
-0.00841048639267683,
0.03932557627558708,
0.041643176227808,
-0.03702637553215027,
0.011698347516357899,
-0.04167996346950531,
-0.009904968552291393,
-0.011036177165806293,
-0.025769473984837532,
0.005187003407627344,
0.013133050873875618,
-0.03984059765934944,
0.004750154446810484,
0.012765178456902504,
-0.06033110246062279,
-0.006865421775728464,
-0.007923055440187454,
-0.017805032432079315,
0.017731457948684692,
0.0030602398328483105,
-0.06503987312316895,
-0.010033723898231983,
0.031489890068769455,
0.03564685210585594,
-0.030901296064257622,
0.008525446988642216,
-0.029466591775417328,
-0.006575722247362137,
0.06886574625968933,
0.10057636350393295,
-0.016866957768797874,
0.015643781051039696,
0.044954027980566025,
0.014604540541768074,
-0.029908040538430214,
0.056578800082206726,
0.00742642767727375,
-0.08600860834121704,
-0.01820969209074974,
-0.012020235881209373,
-0.030294306576251984,
-0.020766407251358032,
0.07320664077997208,
0.015137956477701664,
0.006736666429787874,
-0.0007811544346623123,
0.0606989748775959,
-0.014301045797765255,
0.006309014745056629,
0.022385045886039734,
0.002851012395694852,
0.0007144775008782744,
-0.03586757555603981,
-0.03588596731424332,
0.004651288967579603,
-0.0008553037187084556,
-0.017198042944073677,
0.029393017292022705,
-0.01338136475533247,
0.01316983811557293,
0.014245864935219288,
0.045211538672447205,
0.0023256444837898016,
-0.029337836429476738,
-0.043666474521160126,
-0.01733599416911602,
-0.005007665138691664,
-0.0529368631541729,
0.0013450341066345572,
-0.026302888989448547,
0.03998774662613869,
0.030533423647284508,
0.027811165899038315,
-0.010079707950353622,
0.07320664077997208,
-0.006106684450060129,
0.022587375715374947,
-0.048412028700113297,
-0.028399761766195297,
-0.008097794838249683,
-0.01778663881123066,
-0.05278971418738365,
0.012020235881209373,
-0.025144090875983238,
-0.0047731464728713036,
-0.07081546634435654,
0.03928878903388977,
0.03410178795456886,
0.014080322347581387,
0.011440836824476719,
0.0015588599490001798,
0.03367873281240463,
-0.007348254323005676,
0.08637648075819016,
-0.024169227108359337,
-0.016673823818564415,
-0.01441140752285719,
-0.018476400524377823,
-0.06982221454381943,
0.015533419325947762,
-0.044659730046987534,
0.07449419796466827,
-0.027755985036492348,
0.016030047088861465,
-0.027774378657341003,
0.01265481673181057,
-0.03634580969810486,
-0.020214596763253212,
-0.016315149143338203,
-0.019386883825063705,
0.0025245253928005695,
0.030625391751527786,
0.0448804534971714,
-0.009757819585502148,
0.07041081041097641,
-0.010355613194406033,
-0.0322808176279068,
-0.02705702744424343,
0.006943594664335251,
-0.043887197971343994,
0.0313059538602829,
0.05911712348461151,
-0.03803802281618118,
-0.07225017249584198,
0.05356224626302719,
0.0923360139131546,
0.04028204455971718,
-0.036916013807058334,
0.022587375715374947,
-0.0034212148748338223,
-0.08615575730800629,
-0.049957092851400375,
-0.022348258644342422,
0.022513801231980324,
-0.02256898209452629,
-0.02004905417561531,
0.09505826979875565,
-0.017060089856386185,
0.025107303634285927,
0.09130597114562988,
-0.04385041072964668,
0.0258246548473835,
0.002899295650422573,
0.03408339247107506,
-0.033145319670438766,
-0.05941142141819,
0.04532190039753914,
0.02586144208908081,
0.009794606827199459,
0.02163090743124485,
0.03511343523859978,
-0.004497242160141468,
0.018007362261414528,
-0.0008995633688755333,
0.02282649278640747,
0.03522379696369171,
0.0009610670967958868,
-0.029264261946082115,
0.005384734831750393,
0.0066584935411810875,
-0.013657269068062305,
-0.03231760486960411,
-0.027388112619519234,
0.0050214603543281555,
0.029319442808628082,
0.023617418482899666,
-0.06982221454381943,
0.010815453715622425,
0.016296755522489548,
-0.011827102862298489,
0.03502146899700165,
0.05966893211007118,
-0.01830166019499302,
-0.053157586604356766,
0.024426737800240517,
-0.061618655920028687,
-0.03399142622947693,
0.0004023606306873262,
0.004209841601550579,
-0.04660945385694504,
-0.03329246863722801,
0.06415697932243347,
-0.04800736904144287,
-0.004915697034448385,
-0.018320053815841675,
0.008746170438826084,
-0.0626119077205658,
0.06095648556947708,
-0.026578793302178383,
0.009500308893620968,
-0.042084623128175735,
0.006856224965304136,
-0.01100858673453331,
-0.051796458661556244,
-0.06452485173940659,
-0.006874618586152792,
-0.002206085715442896,
0.06768855452537537,
-0.0590803362429142,
0.016545068472623825,
-0.0036074502859264612,
0.03881055489182472,
-0.06345801800489426,
-0.02547517605125904,
-0.02004905417561531,
-0.022992035374045372,
-0.008171369321644306,
-0.05275292694568634,
0.004651288967579603,
0.016637036576867104,
-0.005757205653935671,
-0.014990807510912418,
0.05385654419660568,
-0.05378296971321106,
0.021391790360212326,
-0.006911405827850103,
0.02869405969977379,
0.04510117694735527,
-0.07548744976520538,
-0.022734524682164192,
-0.0049019018188118935,
0.0309932641685009,
-0.004550124052911997,
-0.024187620729207993,
0.03881055489182472,
0.05716739594936371,
-0.05227469280362129,
-0.03253832831978798,
-0.026578793302178383,
0.05492337420582771,
0.009463521651923656,
-0.0035867574624717236,
0.020913556218147278,
0.007913858629763126,
0.007283876650035381,
0.04031883180141449,
0.028877995908260345,
0.010732682421803474,
0.029006751254200935,
0.035977937281131744,
-0.007283876650035381,
0.020416926592588425,
-0.00618945574387908,
-0.042342133820056915,
0.01359289139509201,
0.03283262625336647,
-0.00595493707805872,
-0.041312091052532196,
-0.015395467169582844,
0.004023606423288584,
0.035812392830848694,
-0.0690864697098732,
0.05113428831100464,
0.016710611060261726,
0.053930118680000305,
0.03684243932366371,
-0.04226855933666229,
-0.06691601872444153,
0.0387369804084301,
-0.02685469761490822,
-0.010006133466959,
-0.007293073460459709,
0.020839981734752655,
-0.00010957141785183921,
-0.008916310966014862,
-0.011312081478536129,
0.0490741990506649,
-0.021189460530877113,
-0.0065389350056648254,
0.04094421863555908,
-0.03542612865567207,
-0.014567753300070763,
0.022992035374045372,
-0.024776216596364975,
-0.0014507974265143275,
0.0535990335047245,
0.0012668611016124487,
0.0010857988381758332,
0.051833245903253555,
-0.03735746070742607,
0.0000848549825605005,
-0.06268548220396042,
-0.03147149831056595,
-0.0184028260409832,
0.02427958883345127,
-0.00546290772035718,
0.02111588604748249,
-0.04767628386616707,
-0.0674678310751915,
0.001837063580751419,
-0.02753526158630848,
-0.037817299365997314,
-0.039656661450862885,
0.025971803814172745,
-0.05966893211007118,
-0.04767628386616707,
0.010162479244172573,
-0.02692827209830284,
0.055990204215049744,
0.020619258284568787,
-0.017841819673776627,
0.09027592837810516,
-0.03209688141942024,
0.05245862901210785,
0.012286943383514881,
-0.022293077781796455,
0.016802579164505005,
0.03511343523859978,
0.034947894513607025,
0.0506928414106369,
0.04870632663369179,
-0.05595341697335243,
-0.05083999037742615,
-0.07482527941465378,
0.007385042030364275,
0.010033723898231983,
0.05569590628147125,
-0.08240345865488052,
-0.02654200606048107,
0.10366649180650711,
0.07048438489437103,
0.05242184177041054,
-0.07206623256206512,
0.041643176227808,
-0.052605777978897095,
0.054702650755643845,
-0.012682407163083553,
-0.0006041157175786793,
0.05793992802500725,
0.019736362621188164,
-0.01769467070698738,
0.10087066143751144,
0.01566217467188835,
-0.0026279897429049015,
-0.010401597246527672,
-0.00735285272821784,
-0.008088598027825356,
-0.032207243144512177,
0.017115270718932152,
0.03378909453749657,
-0.009776213206350803,
-0.05345188453793526,
-0.0017060090322047472,
0.06220725178718567,
0.003979921340942383,
-0.019570820033550262,
-0.036437779664993286,
-0.04535868763923645,
0.03218885138630867,
-0.020196203142404556,
-0.04061312973499298,
0.025548750534653664,
0.000594344106502831,
0.001361128524877131,
0.026817910373210907,
0.06698959320783615,
-0.038369107991456985,
0.05010424554347992,
-0.004651288967579603,
0.00020391061843838543,
0.02424280159175396,
0.030772540718317032,
-0.018586762249469757,
-0.017621096223592758,
-0.015800125896930695,
-0.003621245501562953,
0.005628450307995081,
-0.042636431753635406,
-0.008778358809649944,
-0.014052731916308403,
0.010226857848465443,
-0.032851021736860275,
-0.003308553947135806,
0.05643165111541748,
-0.023249546065926552,
0.07894545048475266,
0.06691601872444153,
-0.03237278759479523,
0.026431644335389137,
-0.001253065885975957,
0.08468426764011383,
-0.06643778830766678,
-0.01203862950205803,
-0.015229924581944942,
-0.00004684627128881402,
-0.0332556813955307,
0.09182099252939224,
0.00546290772035718,
-0.0007570127490907907,
-0.0056560407392680645,
-0.05168609693646431,
0.03125077486038208,
0.0038281739689409733,
0.013482529670000076,
0.010309629142284393,
-0.01333538070321083,
0.005564072635024786,
0.02282649278640747,
0.00768393836915493,
-0.06415697932243347,
-0.0174279622733593,
-0.07066831737756729,
-0.010723485611379147,
-0.024776216596364975,
0.028399761766195297,
0.021299822255969048,
-0.0021635505836457014,
-0.02983446605503559,
-0.01966278813779354,
-0.001357679720968008,
0.03154507279396057,
-0.03215206414461136,
0.021005524322390556,
0.03698958829045296,
0.046572666615247726,
-0.06349480152130127,
0.02231147140264511,
-0.0015036790864542127,
0.019515639171004295,
-0.025659112259745598,
0.0087967524304986,
0.006630903109908104,
0.05992644280195236,
0.054739437997341156,
-0.05168609693646431,
-0.0177590474486351,
0.0500306710600853,
-0.0025613128673285246,
0.03305334970355034,
-0.010990193113684654,
0.04580013453960419,
-0.008102393709123135,
-0.040171682834625244,
-0.028933176770806313,
0.03270387277007103,
0.03724709898233414,
-0.000021321520762285218,
0.05834458768367767,
-0.03592275455594063,
0.033402830362319946,
0.0322808176279068,
0.07776825875043869,
-0.014806871302425861,
-0.05805028975009918,
0.012939917854964733,
-0.032685477286577225,
0.05768241733312607,
0.024904971942305565,
0.03364194557070732,
-0.013261806219816208,
0.01746474951505661,
-0.01402514148503542,
0.04013489559292793,
0.014724099077284336,
0.04079706594347954,
-0.006483754143118858,
0.055732693523168564,
0.010125692002475262,
0.009555489756166935,
-0.024849791079759598,
0.0174279622733593,
0.05047211796045303,
-0.0053479475900530815,
0.010263645090162754,
0.02915390022099018,
-0.047565922141075134,
0.05937463417649269,
0.007316065486520529,
-0.017805032432079315,
-0.0697118490934372,
-0.04502760246396065,
0.02337830141186714,
0.0007932252483442426,
0.05610056594014168,
0.04370326176285744,
-0.013740040361881256,
-0.032336000353097916,
-0.0031729009933769703,
0.01785101555287838,
0.022293077781796455,
0.05227469280362129,
0.007219498977065086,
-0.044954027980566025,
0.03792766109108925,
-0.010603927075862885,
0.006713674403727055,
-0.050803203135728836,
-0.01818210259079933,
-0.0765174925327301,
0.016811776906251907,
0.02976089157164097,
-0.04094421863555908,
-0.005375538021326065,
0.025585537776350975,
0.006543533410876989,
0.019993873313069344,
-0.06629063934087753,
-0.013050279580056667,
0.009435931220650673,
-0.02385653555393219,
-0.050288181751966476,
0.02611895278096199,
-0.005426120478659868,
-0.020803194493055344,
-0.016508281230926514,
-0.016471493989229202,
-0.0025774072855710983,
0.01791539415717125,
0.032942987978458405,
-0.0009288782603107393,
0.00770693039521575,
-0.037854086607694626,
0.002086527179926634,
0.048375241458415985,
-0.003793685929849744,
-0.025456782430410385,
-0.018458006903529167,
-0.0042213378474116325,
-0.004860516171902418,
-0.06364195793867111,
0.03903127834200859,
-0.0548865869641304,
0.00308323185890913,
0.0259901974350214,
0.033458009362220764,
-0.008773760870099068,
0.00024141637550201267,
0.042084623128175735,
-0.016315149143338203,
0.061655443161726,
-0.006336605176329613,
0.04370326176285744,
-0.004297211300581694,
0.01475168950855732,
0.0002227353397756815,
-0.0050260587595403194,
0.016508281230926514,
0.004550124052911997,
-0.05646843835711479,
-0.00816677138209343,
-0.031066838651895523,
-0.030827721580863,
-0.03741263970732689,
0.01160637941211462,
0.002132511232048273,
0.024941759184002876,
-0.028933176770806313,
-0.02863887883722782,
-0.020766407251358032,
-0.014089519158005714,
0.00957388337701559,
-0.02376456744968891,
-0.009767016395926476,
-0.046572666615247726,
0.0403556190431118,
0.005297365132719278,
0.010346416383981705,
0.024481918662786484,
-0.06147150695323944,
-0.001246168278157711,
-0.010465974919497967,
-0.056026991456747055,
0.025383207947015762,
0.0781361311674118,
0.05039854347705841,
0.0025659112725406885,
-0.012599635869264603,
-0.003126916941255331,
0.06066218763589859,
0.02188841812312603,
-0.014650524593889713,
0.004377683624625206,
0.011376459151506424,
0.008502454496920109,
0.013050279580056667,
0.05591662973165512,
-0.005835378542542458,
0.030000008642673492,
-0.045469049364328384,
-0.03364194557070732,
-0.0077207256108522415,
0.009610670618712902,
0.083286352455616,
0.01579093001782894,
0.0007863276405259967,
-0.06518702208995819,
0.03277744725346565,
0.007573576644062996,
0.013960763812065125,
-0.0017577410908415914,
-0.022752918303012848,
0.012811162509024143,
-0.0019876614678651094,
0.009293381124734879,
0.006400982849299908,
-0.010337219573557377,
-0.02321275882422924,
0.0016439305618405342,
-0.01889025606215,
-0.0506928414106369,
0.087185800075531,
-0.01820969209074974,
-0.03851625695824623,
-0.013546907342970371,
-0.0004219038528390229,
-0.00442136824131012,
-0.00698957871645689,
-0.034230541437864304,
-0.017455553635954857,
-0.04381362348794937,
0.020527290180325508,
0.025971803814172745,
-0.016351936385035515,
0.003379829227924347,
0.004605304915457964,
-0.023617418482899666,
-0.0368056520819664,
-0.007959842681884766,
0.0694175511598587,
-0.054960161447525024,
0.02137339673936367,
0.023543843999505043,
0.005619253497570753,
0.06250154972076416,
-0.010613123886287212,
-0.04936849698424339,
0.030147157609462738,
-0.0377805121243,
-0.06662172079086304,
-0.09807482361793518,
0.03752300143241882,
-0.0041868495754897594,
-0.008005826734006405,
0.03459841385483742,
-0.04053955525159836,
-0.024941759184002876,
0.016379525884985924
] |
710,356
|
js2py.evaljs
|
translate_js6
|
Just like translate_js but with experimental support for js6 via babel.
|
def translate_js6(js):
"""Just like translate_js but with experimental support for js6 via babel."""
return translate_js(js6_to_js5(js))
|
(js)
|
[
-0.015495145693421364,
-0.031180627644062042,
0.01884334348142147,
-0.02768535166978836,
-0.05208306759595871,
0.0031751638744026423,
-0.011273129843175411,
0.050594981759786606,
0.00994077231734991,
-0.012363240122795105,
0.024484233930706978,
-0.004862240049988031,
-0.0004071693401783705,
0.04315454140305519,
0.022425135597586632,
0.004892521072179079,
0.048345547169446945,
0.006060496903955936,
0.06834821403026581,
-0.013583126477897167,
-0.012198857963085175,
-0.03169972822070122,
0.023532548919320107,
0.0303154606372118,
-0.00956874992698431,
0.01453480962663889,
0.07931853830814362,
0.043050721287727356,
-0.005493812263011932,
-0.05274059623479843,
-0.02709703892469406,
-0.025089850649237633,
-0.004029516596347094,
-0.020210307091474533,
0.017943568527698517,
0.0041657802648842335,
-0.01988154463469982,
-0.03289365768432617,
-0.03206310048699379,
-0.02576468139886856,
0.034918151795864105,
0.023653673008084297,
-0.08617065846920013,
-0.03353388234972954,
-0.02076401375234127,
-0.006449821870774031,
-0.04478105902671814,
0.035887137055397034,
0.01622188650071621,
0.06025024875998497,
0.05654733255505562,
-0.04450420290231705,
0.05007588118314743,
0.01684480719268322,
-0.07931853830814362,
0.021923338994383812,
-0.028412092477083206,
0.02815254218876362,
0.008608413860201836,
0.04408892244100571,
-0.01717356964945793,
-0.009127514436841011,
0.0035839553456753492,
0.050975654274225235,
0.0015886634355410933,
0.00955144688487053,
-0.003930022474378347,
-0.03299747779965401,
0.0008159608696587384,
-0.01713896356523037,
-0.0326860174536705,
0.06253428757190704,
0.009032346308231354,
-0.001740067615173757,
-0.0431891493499279,
0.038586460053920746,
-0.03761747106909752,
-0.0320977047085762,
-0.010364703834056854,
0.0079854940995574,
0.0319419763982296,
-0.045888472348451614,
-0.0015270202420651913,
-0.019154803827404976,
0.02664715237915516,
0.003408759133890271,
0.040835894644260406,
-0.003250865964218974,
-0.10070546716451645,
0.009049649350345135,
-0.019743116572499275,
-0.025903107598423958,
-0.034018374979496,
0.03799814730882645,
-0.016187280416488647,
0.030332764610648155,
0.024951424449682236,
0.01584121212363243,
-0.004291229415684938,
0.013418744318187237,
0.12887531518936157,
0.050802621990442276,
-0.05274059623479843,
-0.0547131784260273,
0.05540531128644943,
0.029779057949781418,
-0.01154998317360878,
0.0003598555049393326,
0.0045637572184205055,
-0.0449540913105011,
0.0007164666312746704,
0.018877949565649033,
-0.02097165398299694,
-0.01639491878449917,
0.03557567670941353,
-0.030332764610648155,
-0.02251165173947811,
0.00006076448335079476,
-0.017104357481002808,
0.03927859291434288,
0.030748045071959496,
0.024484233930706978,
-0.01809929870069027,
0.0366830937564373,
0.002056935103610158,
-0.013228407129645348,
0.04395049810409546,
-0.0018255029572173953,
0.0801490917801857,
-0.06737922877073288,
0.0320977047085762,
-0.0213004183024168,
0.023497942835092545,
-0.00952549185603857,
-0.03348197415471077,
-0.00018628132238518447,
-0.03249568119645119,
-0.01671503111720085,
0.007609146181493998,
0.005441902205348015,
-0.04765341430902481,
-0.02393052726984024,
0.019656600430607796,
-0.034918151795864105,
-0.022027159109711647,
-0.027529621496796608,
0.003620724892243743,
0.06315720826387405,
-0.065372034907341,
-0.04765341430902481,
0.02815254218876362,
0.007911955006420612,
0.054643966257572174,
0.012103689834475517,
0.02927725948393345,
-0.0022862046025693417,
0.011273129843175411,
-0.03952084109187126,
0.03415680304169655,
0.023861313238739967,
0.06696394830942154,
-0.0013096469920128584,
-0.060976989567279816,
0.05734328553080559,
0.015399977564811707,
-0.060734741389751434,
0.056858792901039124,
-0.025072546675801277,
-0.05495542287826538,
0.058104634284973145,
-0.023792099207639694,
-0.004953082650899887,
0.0508718341588974,
0.0644722655415535,
0.016611211001873016,
0.04536937177181244,
-0.021750304847955704,
0.049937453120946884,
0.03531612828373909,
0.010200321674346924,
-0.03557567670941353,
0.038794100284576416,
-0.0186357032507658,
-0.030782651156187057,
-0.0000339983707817737,
0.07551179826259613,
0.01663716696202755,
0.010252231732010841,
0.009395716711878777,
-0.04145881533622742,
0.02114468812942505,
0.012986160814762115,
0.02901770919561386,
0.01655064895749092,
-0.014811663888394833,
0.004291229415684938,
-0.02235592156648636,
0.003901904448866844,
-0.05696261301636696,
-0.03228804096579552,
-0.047341953963041306,
0.055682163685560226,
0.03983230143785477,
0.010001333430409431,
-0.027962205931544304,
-0.020608283579349518,
0.013730204664170742,
0.01288234069943428,
-0.00003974361970904283,
-0.058519914746284485,
0.01048582699149847,
0.038136571645736694,
-0.0317862443625927,
0.011238522827625275,
-0.029208047315478325,
0.0022689010947942734,
0.012986160814762115,
-0.0030453887302428484,
0.013583126477897167,
0.061565302312374115,
0.00012443539162632078,
-0.035679496824741364,
0.03547185659408569,
-0.0007781098247505724,
0.024951424449682236,
-0.022165585309267044,
-0.025505131110548973,
-0.044054318219423294,
-0.03657927364110947,
-0.08644751459360123,
0.0205563735216856,
-0.03972848132252693,
0.07523494213819504,
0.01647278480231762,
0.03394916281104088,
0.05052576959133148,
-0.01860109530389309,
-0.03242646902799606,
0.011143354699015617,
0.02685479260981083,
0.0061816200613975525,
-0.05845069885253906,
0.0051953294314444065,
0.08935447782278061,
0.006614203564822674,
0.06800214946269989,
-0.009188076481223106,
-0.04211634397506714,
-0.024155469611287117,
0.016533346846699715,
-0.035125792026519775,
0.0029999674297869205,
0.011472118087112904,
-0.009196728467941284,
-0.060976989567279816,
0.012493015266954899,
0.041839487850666046,
0.027841081842780113,
-0.006428192835301161,
-0.015425932593643665,
0.007513977587223053,
-0.06367631256580353,
-0.05793159827589989,
-0.012406498193740845,
-0.022079069167375565,
-0.001595152192749083,
-0.0001683020673226565,
0.06897113472223282,
-0.02668175846338272,
-0.03702915832400322,
0.1103261262178421,
-0.030367370694875717,
-0.04232398420572281,
0.030159730464220047,
0.03606017306447029,
-0.009499536827206612,
-0.060319460928440094,
0.044469598680734634,
-0.000603994878474623,
-0.04218555614352226,
0.062153615057468414,
0.003579629585146904,
-0.02886197902262211,
0.05917743965983391,
-0.005614935420453548,
0.018687613308429718,
0.0008613821701146662,
-0.008794425055384636,
-0.0034476914443075657,
-0.02673366852104664,
0.021110082045197487,
-0.04294690117239952,
0.006341676227748394,
-0.005402969662100077,
0.023082662373781204,
0.050145093351602554,
-0.028169846162199974,
-0.0186357032507658,
0.05779317393898964,
-0.013808069750666618,
0.009118863381445408,
0.028740856796503067,
0.048553187400102615,
0.02735658921301365,
-0.0449540913105011,
-0.04619993269443512,
-0.05692800506949425,
0.008184482343494892,
-0.027996812015771866,
0.029882878065109253,
-0.02301344834268093,
-0.07461202144622803,
0.01440503541380167,
-0.07426595687866211,
-0.027789171785116196,
-0.015391325578093529,
-0.010961669497191906,
-0.03841342777013779,
0.05533609911799431,
-0.054851602762937546,
0.009196728467941284,
-0.037790507078170776,
0.033758826553821564,
0.030211640521883965,
-0.045265551656484604,
-0.06793293356895447,
0.0422893762588501,
-0.0461307168006897,
0.05772395804524422,
-0.05834687873721123,
-0.047307346016168594,
0.009577401913702488,
0.06454148143529892,
-0.015737392008304596,
-0.026699062436819077,
0.012181554920971394,
0.02868894673883915,
0.014976045116782188,
-0.051806215196847916,
-0.0005829064175486565,
-0.000039540846046293154,
0.07184349000453949,
-0.03052310086786747,
0.05744710564613342,
-0.02927725948393345,
0.05772395804524422,
-0.0502835214138031,
0.04159724339842796,
-0.01626514457166195,
-0.08284841477870941,
-0.017113007605075836,
-0.10513512790203094,
0.007708640303462744,
-0.0004285281465854496,
-0.037790507078170776,
0.009447626769542694,
0.057896994054317474,
-0.06900574266910553,
-0.004012213088572025,
-0.02401704341173172,
0.035541072487831116,
-0.02463996410369873,
-0.008517571724951267,
0.005467857234179974,
0.024709176272153854,
-0.009015043266117573,
0.00558898039162159,
0.0062119010835886,
0.023965133354067802,
0.03064422495663166,
0.01154998317360878,
0.059142835438251495,
0.026041533797979355,
0.003744011279195547,
-0.05357115715742111,
-0.033291637897491455,
0.021611878648400307,
0.02668175846338272,
-0.0665486678481102,
0.009170773439109325,
0.010987624526023865,
0.022373225539922714,
-0.08970054239034653,
0.06526821851730347,
0.04474645107984543,
0.034001074731349945,
0.021698394790291786,
-0.03111141547560692,
-0.0010814591078087687,
0.029052317142486572,
-0.025089850649237633,
0.016118066385388374,
0.04211634397506714,
-0.011671106331050396,
-0.020867833867669106,
0.014889528974890709,
-0.004113870207220316,
0.030592314898967743,
0.024380413815379143,
0.005809598136693239,
0.0038975784555077553,
0.02481299638748169,
0.08720885962247849,
0.006839147303253412,
-0.029363777488470078,
-0.0013410092797130346,
0.0961373895406723,
0.036371633410453796,
-0.008699256926774979,
0.0357833169400692,
-0.04125117510557175,
0.017502333968877792,
-0.09717559069395065,
-0.03599095717072487,
-0.017857052385807037,
0.033758826553821564,
-0.003002130426466465,
-0.0040338425897061825,
-0.03285905346274376,
-0.02685479260981083,
-0.0031989559065550566,
-0.04962599277496338,
-0.0694902315735817,
-0.03799814730882645,
-0.018185816705226898,
-0.045888472348451614,
-0.013012115843594074,
0.026906702667474747,
-0.03810196742415428,
0.04581925645470619,
0.034018374979496,
-0.03360309824347496,
0.02072940766811371,
-0.016663121059536934,
0.04471184313297272,
-0.022425135597586632,
-0.020123790949583054,
-0.027996812015771866,
-0.008842009119689465,
0.005385666154325008,
0.028637036681175232,
0.05111408233642578,
0.011852791532874107,
-0.019275926053524017,
-0.007829763926565647,
-0.024588054046034813,
-0.019483566284179688,
0.02635299414396286,
-0.04145881533622742,
-0.05305205658078194,
0.028619732707738876,
0.035679496824741364,
-0.005104486830532551,
-0.028412092477083206,
0.0922614336013794,
-0.033966466784477234,
0.02668175846338272,
-0.022321315482258797,
0.003201118903234601,
0.01993345469236374,
-0.035887137055397034,
-0.007539932616055012,
0.05370958521962166,
0.06834821403026581,
-0.02297884225845337,
-0.00025711688795126975,
-0.0013453350402414799,
-0.020089183002710342,
-0.06499136239290237,
0.0014394220197573304,
0.06983630359172821,
-0.014482899568974972,
0.0018579467432573438,
-0.03353388234972954,
0.008526223711669445,
0.01834154687821865,
-0.09779850393533707,
-0.034208714962005615,
-0.02076401375234127,
0.05149475485086441,
-0.041839487850666046,
-0.02235592156648636,
0.036094777286052704,
-0.019570084288716316,
-0.04675363749265671,
0.0025068221148103476,
0.052394527941942215,
-0.045265551656484604,
0.009862907230854034,
0.005645216442644596,
-0.003994910046458244,
0.06253428757190704,
0.007094371598213911,
0.000037175155739532784,
0.04927992820739746,
-0.008842009119689465,
0.007635101210325956,
-0.025159064680337906,
0.007003528997302055,
0.011454814113676548,
-0.008413751609623432,
0.03678691387176514,
-0.03123253770172596,
0.002917776582762599,
0.05633969232439995,
-0.04180488362908363,
0.04619993269443512,
0.047930266708135605,
0.006043193396180868,
0.025695467367768288,
-0.016403570771217346,
0.03149208799004555,
-0.01660255901515484,
-0.01706109754741192,
0.04516173154115677,
-0.014387731440365314,
-0.055474523454904556,
0.03976308926939964,
-0.0005328889819793403,
0.0227712020277977,
0.016905369237065315,
-0.019085589796304703,
-0.0016870761755853891,
-0.023584458976984024,
0.02005457691848278,
0.03678691387176514,
0.05215228348970413,
0.005909092258661985,
0.027218163013458252,
0.00641954131424427,
-0.06263811141252518,
-0.016663121059536934,
-0.05011048913002014,
0.04055904224514961,
-0.05696261301636696,
0.06104620173573494,
-0.033170513808727264,
0.016611211001873016,
-0.013678294606506824,
-0.008980436250567436,
-0.0010263046715408564,
-0.006713698152452707,
-0.017839748412370682,
0.02555704116821289,
-0.04152802750468254,
0.01672368310391903,
-0.05980036035180092,
0.02206176519393921,
0.020867833867669106,
0.021577270701527596,
-0.08713964372873306,
0.021248508244752884,
-0.016870761290192604,
0.04779183864593506,
0.03481433168053627,
-0.05948890000581741,
-0.025401310995221138,
0.04862239956855774,
-0.030678831040859222,
0.0015281016239896417,
-0.04024758189916611,
0.025072546675801277,
-0.002374884206801653,
-0.027218163013458252,
-0.042427804321050644,
0.054643966257572174,
0.0010765924816951156,
0.024864906445145607,
-0.007526955101639032,
-0.0007775690755806863,
0.00906695332378149,
0.0062119010835886,
0.04055904224514961,
-0.0027144623454660177,
-0.0393478088080883,
-0.011999869719147682,
0.003281146753579378,
0.03448556736111641,
0.07035540044307709,
-0.006125384010374546,
-0.017078401520848274,
0.02948489971458912,
-0.021456148475408554,
0.02360176295042038,
0.07966460287570953,
-0.023774797096848488,
0.017294693738222122,
0.061772942543029785,
-0.034918151795864105,
-0.03865567222237587,
-0.012527622282505035,
-0.006618529558181763,
0.0449540913105011,
0.027218163013458252,
0.017857052385807037,
-0.003415247891098261,
-0.06938641518354416,
0.04440038278698921,
0.006021564360707998,
0.002075319876894355,
-0.030073214322328568,
-0.0030799955129623413,
0.02922534942626953,
-0.01425795629620552,
0.055474523454904556,
0.0043885610066354275,
-0.03211500868201256,
-0.04422735050320625,
-0.025245580822229385,
0.02768535166978836,
0.004507521633058786,
0.07814190536737442,
-0.007423134986311197,
0.0014015709748491645,
0.007937910035252571,
-0.037963539361953735,
-0.014180091209709644,
-0.008829032070934772,
-0.06170373037457466,
-0.019587386399507523,
-0.027581531554460526,
0.022165585309267044,
-0.03827499970793724,
-0.010139760561287403,
0.03983230143785477,
-0.03955544903874397,
-0.007661056239157915,
-0.0018060366855934262,
-0.027045128867030144,
0.02522827684879303,
0.02964062988758087,
-0.05665115267038345,
0.08707043528556824,
-0.037790507078170776,
-0.04401971027255058,
-0.035956352949142456,
-0.027010522782802582,
0.001376697444356978,
-0.005043925251811743,
0.008344538509845734,
-0.02856782265007496,
0.02309996634721756,
0.001262062694877386,
-0.0046892063692212105,
0.03720219060778618,
0.0038413426373153925,
-0.02451884001493454,
-0.0227712020277977,
-0.027200859040021896,
0.0032724952325224876,
-0.03761747106909752,
0.04132038727402687,
0.0102781867608428,
0.05381340533494949,
-0.007756224367767572,
0.02185412496328354,
-0.019743116572499275,
0.02785838581621647,
0.03412219509482384,
-0.03952084109187126,
0.013349531218409538,
-0.013652339577674866,
-0.014924135059118271,
-0.006713698152452707,
0.03247838094830513,
0.040628254413604736,
0.02910422720015049,
0.03561028465628624,
0.003759151790291071,
-0.06696394830942154,
-0.05069880187511444,
0.014422338455915451,
-0.0039927470497787,
-0.07440438121557236,
-0.034502871334552765,
-0.02806602604687214,
0.03827499970793724,
-0.0018882275326177478,
0.000940869387704879,
-0.010407961905002594,
-0.021213902160525322,
0.006510383449494839,
-0.050594981759786606,
0.03657927364110947,
-0.07516573369503021,
0.014794359914958477,
0.001980151515454054,
0.038378819823265076,
0.03490084782242775,
-0.04606150463223457,
0.011904701590538025,
0.01839345693588257,
-0.0523599237203598,
-0.013583126477897167,
0.0766192153096199,
-0.004485892131924629,
0.038378819823265076,
0.027841081842780113,
-0.03976308926939964,
-0.0024981703609228134,
0.020919743925333023,
-0.02014109306037426,
-0.011567286215722561,
-0.0004796271095983684,
0.01354851946234703,
0.008478639647364616,
0.031215235590934753,
-0.04419274255633354,
-0.022373225539922714,
-0.015564358793199062,
-0.006761282216757536,
-0.004204712808132172,
0.015287505462765694,
0.05391722545027733,
0.0169313233345747,
-0.0022862046025693417,
-0.013903237879276276,
0.03799814730882645,
-0.02948489971458912,
0.009906165301799774,
0.007518303580582142,
-0.016109414398670197,
0.039797693490982056,
0.010200321674346924,
-0.017087053507566452,
0.04232398420572281,
-0.005022295750677586,
-0.040212973952293396,
0.0059480248019099236,
-0.00022778232232667506,
-0.039001740515232086,
0.04883003979921341,
-0.025176366791129112,
-0.017709974199533463,
-0.04907228797674179,
-0.03232264891266823,
0.017450423911213875,
0.018289636820554733,
-0.11344072967767715,
-0.05550913140177727,
-0.025539737194776535,
-0.019916150718927383,
0.031422875821590424,
0.014612674713134766,
-0.003966792020946741,
-0.0057836431078612804,
-0.02093704789876938,
-0.029173439368605614,
-0.011437511071562767,
0.06526821851730347,
0.007250101771205664,
0.04637296497821808,
0.00032362662022933364,
-0.017580198124051094,
0.11115668714046478,
-0.009162121452391148,
-0.029917484149336815,
-0.04194330796599388,
-0.03289365768432617,
-0.06751765310764313,
-0.10527355223894119,
0.07751898467540741,
-0.023255696520209312,
-0.023947829380631447,
0.04014376178383827,
-0.04087050259113312,
0.007885999977588654,
0.0032054446637630463
] |
710,359
|
js2py.evaljs
|
write_file_contents
| null |
def write_file_contents(path_or_file, contents):
if hasattr(path_or_file, 'write'):
path_or_file.write(contents)
else:
with codecs.open(path_as_local(path_or_file), "w", "utf-8") as f:
f.write(contents)
|
(path_or_file, contents)
|
[
0.006436048541218042,
-0.04509648308157921,
-0.03358399122953415,
0.061129216104745865,
0.00029989646282047033,
-0.036797598004341125,
-0.01173320785164833,
0.0630008801817894,
0.039799321442842484,
0.01433764398097992,
0.07310079783201218,
-0.014885017648339272,
0.014169900678098202,
-0.03079415298998356,
-0.020464692264795303,
0.07811544090509415,
-0.009808572940528393,
0.016500651836395264,
-0.015450048260390759,
0.06932215392589569,
-0.001460029510781169,
-0.03651508316397667,
0.003173881210386753,
0.006391905713826418,
-0.008731484413146973,
-0.018681315705180168,
-0.04499053955078125,
0.003712425706908107,
-0.014240529388189316,
-0.05131181702017784,
0.03647977113723755,
-0.08079933375120163,
0.006833335384726524,
-0.010532517917454243,
0.015299961902201176,
0.021630067378282547,
0.030123179778456688,
0.06685014814138412,
0.013498927466571331,
-0.073877714574337,
-0.008978685364127159,
0.06367185711860657,
-0.004913115408271551,
-0.019458232447504997,
-0.0015461083967238665,
0.019458232447504997,
0.005072029773145914,
0.021276922896504402,
0.03231267258524895,
-0.0345727913081646,
0.042377274483442307,
0.004149441607296467,
0.01721576787531376,
-0.00822825450450182,
0.015141046606004238,
0.01942291669547558,
0.026627054437994957,
0.04477865248918533,
-0.038139548152685165,
-0.0456261970102787,
0.02369595877826214,
-0.020447034388780594,
0.0499698705971241,
-0.014576016925275326,
-0.0014545116573572159,
0.0443548783659935,
-0.011433035135269165,
-0.05367787927389145,
-0.00971145834773779,
0.020411720499396324,
-0.02076486498117447,
-0.013119298033416271,
-0.011371235363185406,
-0.0038669263012707233,
0.0398346371948719,
0.05007581040263176,
-0.037503886967897415,
0.02556762285530567,
0.0398346371948719,
0.03450216352939606,
-0.023307500407099724,
-0.0646253451704979,
-0.009464258328080177,
0.012969211675226688,
-0.012386524118483067,
-0.04951078072190285,
0.06349528580904007,
0.007499894592911005,
0.041882872581481934,
0.017462968826293945,
0.01921103149652481,
0.016571279615163803,
-0.04096469655632973,
-0.04499053955078125,
0.0398346371948719,
-0.013295869342982769,
0.03225969895720482,
-0.030564608052372932,
-0.07740915566682816,
0.04993455484509468,
-0.03559691086411476,
0.04587339982390404,
0.015891477465629578,
-0.00971145834773779,
0.027651172131299973,
-0.056114573031663895,
0.02632688172161579,
-0.015776706859469414,
-0.028375117108225822,
-0.03135918453335762,
-0.044708024710416794,
-0.021736010909080505,
-0.036726970225572586,
-0.017330538481473923,
0.016032734885811806,
-0.027509912848472595,
-0.008912470191717148,
-0.03451982140541077,
0.015202847309410572,
0.008687341585755348,
0.04138847067952156,
0.009437772445380688,
0.028904832899570465,
0.01690676622092724,
-0.001408161479048431,
-0.03568519651889801,
0.015299961902201176,
0.018981486558914185,
-0.009172914549708366,
-0.022442298009991646,
-0.02284841425716877,
-0.011238805949687958,
0.00818411074578762,
-0.004268627613782883,
0.029805349186062813,
0.006506677251309156,
-0.054560739547014236,
-0.005557602737098932,
0.0032599600963294506,
0.05780966579914093,
0.028074944391846657,
-0.0631774514913559,
-0.06688546389341354,
-0.013860899955034256,
0.03912834823131561,
0.01998794823884964,
-0.011538978666067123,
-0.026927225291728973,
-0.04022309556603432,
0.02643282525241375,
-0.02148880995810032,
0.020517664030194283,
-0.08969856053590775,
0.017983855679631233,
0.015114560723304749,
-0.046756260097026825,
0.02503790520131588,
0.009027242660522461,
0.005080858711153269,
0.01323406957089901,
0.010770890861749649,
0.016341736540198326,
0.03951680660247803,
0.02643282525241375,
0.022636527195572853,
0.05222998932003975,
-0.03427261859178543,
-0.011335920542478561,
-0.029416890814900398,
-0.06875712424516678,
-0.0016961945220828056,
-0.007742681074887514,
0.006877478212118149,
0.028922488912940025,
0.04191818833351135,
-0.03210078552365303,
0.039022404700517654,
-0.05420759692788124,
0.020182177424430847,
-0.015582476742565632,
-0.0005363373784348369,
-0.011662579141557217,
-0.013198754750192165,
0.0470740869641304,
0.04265978932380676,
0.01567959226667881,
-0.047427233308553696,
0.014028643257915974,
0.03446684777736664,
0.024755390360951424,
0.014390615746378899,
0.007654394954442978,
-0.004061155486851931,
-0.012951554730534554,
0.0014280258910730481,
-0.0733126848936081,
0.03443153575062752,
-0.05798623710870743,
-0.01386972889304161,
0.0325951874256134,
-0.01640353724360466,
0.008537255227565765,
0.04799226298928261,
0.042624473571777344,
0.027686486020684242,
0.07783292979001999,
0.06745049357414246,
-0.01788674108684063,
-0.09344188868999481,
0.03651508316397667,
0.01175969373434782,
-0.033089589327573776,
0.0014997582184150815,
-0.04361327737569809,
0.03700948506593704,
0.006939278449863195,
-0.0903342217206955,
0.035455651581287384,
-0.02348407357931137,
0.06345997005701065,
0.008078168146312237,
0.03775108978152275,
-0.06995781511068344,
0.024702418595552444,
0.052618447691202164,
-0.01846942864358425,
-0.02851637452840805,
0.005358959548175335,
0.023819560185074806,
0.008440140634775162,
0.05378382280468941,
0.016050392761826515,
0.03286004438996315,
-0.020429378375411034,
-0.034714050590991974,
-0.02426098845899105,
-0.02856934629380703,
-0.024755390360951424,
0.001988641917705536,
-0.007654394954442978,
-0.03923429176211357,
-0.04866323620080948,
0.026874255388975143,
0.046791572123765945,
-0.023219214752316475,
-0.04343670606613159,
0.014690788462758064,
-0.042447902262210846,
0.04781569167971611,
-0.03059992380440235,
0.03986995294690132,
0.04654437303543091,
-0.07359519600868225,
-0.008312125690281391,
0.046120598912239075,
-0.029699405655264854,
0.035967711359262466,
-0.05636177584528923,
0.0325951874256134,
0.015917964279651642,
-0.012969211675226688,
0.007159993518143892,
0.05657365918159485,
-0.07691475003957748,
-0.010947462171316147,
-0.056008629500865936,
-0.06543757766485214,
0.012686696834862232,
-0.04008184000849724,
-0.0077824098989367485,
-0.09231182932853699,
0.058975040912628174,
0.004367949441075325,
-0.0369388572871685,
-0.0013938150368630886,
-0.04523773863911629,
0.0036197255831211805,
0.03619725629687309,
0.030140835791826248,
0.05071147158741951,
-0.022601213306188583,
0.03155341371893883,
0.0018860093550756574,
-0.0005269569810479879,
0.05346599221229553,
0.008325368165969849,
-0.017048023641109467,
0.008912470191717148,
-0.015299961902201176,
-0.0220891535282135,
0.029770035296678543,
0.015653105452656746,
-0.019829032942652702,
0.049722667783498764,
-0.012739667668938637,
0.016173992305994034,
-0.031835928559303284,
-0.058092180639505386,
0.0783979594707489,
-0.04993455484509468,
-0.01562662050127983,
0.033937133848667145,
0.045273054391145706,
-0.013737299479544163,
0.013754956424236298,
0.010885662399232388,
0.005310402251780033,
-0.011335920542478561,
-0.03708011656999588,
0.09188805520534515,
-0.003361488925293088,
-0.06261242181062698,
-0.03483765199780464,
0.03764514625072479,
0.04057623818516731,
0.0729595422744751,
0.0025911936536431313,
-0.02436693198978901,
0.038351431488990784,
-0.07016970217227936,
-0.021577095612883568,
-0.050358328968286514,
-0.012360038235783577,
-0.011318263597786427,
0.026644710451364517,
-0.07889235764741898,
0.029558148235082626,
-0.030370378866791725,
0.024649446830153465,
-0.006811263971030712,
0.015299961902201176,
0.017462968826293945,
0.004899872466921806,
0.03135918453335762,
0.0058533609844744205,
-0.013834414072334766,
0.00465267151594162,
-0.0008503044373355806,
0.045449625700712204,
-0.008086996152997017,
0.04138847067952156,
0.014885017648339272,
0.0028913661371916533,
-0.02284841425716877,
-0.0030723523814231157,
0.014505388215184212,
-0.03234798461198807,
0.04347202181816101,
0.021824296563863754,
0.009888030588626862,
-0.006025518756359816,
0.02496727742254734,
0.031729985028505325,
-0.03365461900830269,
-0.05293627828359604,
0.02434927597641945,
0.014108100906014442,
-0.03273644298315048,
-0.02572653628885746,
-0.02009388990700245,
0.04205944389104843,
0.036126624792814255,
0.018169255927205086,
-0.004776271991431713,
-0.004301734734326601,
0.014037472195923328,
0.012245266698300838,
0.07069941610097885,
-0.004917529411613941,
-0.0354909673333168,
0.03789234533905983,
-0.021947896108031273,
0.06921621412038803,
0.024084417149424553,
0.03413136303424835,
0.006374248303472996,
-0.0031451883260160685,
0.0020692027173936367,
-0.0456261970102787,
-0.02223041094839573,
0.03563222289085388,
-0.018292857334017754,
0.004473892506211996,
-0.016103364527225494,
0.030935410410165787,
0.003370317630469799,
0.0443548783659935,
-0.023890187963843346,
0.00007545692642452195,
-0.0032445101533085108,
0.04986392706632614,
-0.015653105452656746,
0.024790706112980843,
-0.02989363484084606,
-0.013075155206024647,
0.03662102669477463,
-0.009888030588626862,
0.030317408964037895,
0.02849871665239334,
0.05915161222219467,
-0.014452416449785233,
0.006767121143639088,
-0.0073542227037250996,
0.01467313151806593,
-0.013887385837733746,
0.04640311375260353,
-0.031782954931259155,
0.049652040004730225,
0.040364354848861694,
0.045343682169914246,
-0.05343068018555641,
-0.007663223892450333,
0.046049971133470535,
-0.0049749151803553104,
0.010046944953501225,
0.016015078872442245,
0.03550862520933151,
-0.09662018716335297,
0.040329039096832275,
-0.03446684777736664,
-0.023060299456119537,
-0.004917529411613941,
0.03146512433886528,
0.05007581040263176,
0.005456074140965939,
-0.11088719964027405,
0.020235149189829826,
-0.02279544249176979,
-0.008802113123238087,
0.010832690633833408,
0.0443548783659935,
-0.06787426769733429,
0.017533596605062485,
0.010611975565552711,
0.037539202719926834,
0.018787257373332977,
-0.018381142988801003,
-0.030405694618821144,
0.0006031036609783769,
0.025461679324507713,
0.028745917603373528,
0.031041353940963745,
-0.030123179778456688,
-0.04287167638540268,
-0.0486985519528389,
-0.014002157375216484,
-0.007958982139825821,
0.01650947891175747,
0.05353662371635437,
0.01291623990982771,
-0.030123179778456688,
-0.02291904203593731,
0.017533596605062485,
0.004573214333504438,
-0.015202847309410572,
-0.00422669155523181,
0.05378382280468941,
-0.07027564942836761,
0.035914741456508636,
-0.0017579947598278522,
0.04587339982390404,
0.052547819912433624,
0.11335920542478561,
-0.08715592324733734,
0.03353101760149002,
-0.06660294532775879,
-0.07052284479141235,
-0.014293501153588295,
0.02856934629380703,
-0.019617145881056786,
0.024013789370656013,
0.03210078552365303,
-0.014364129863679409,
-0.002847223076969385,
0.06575540453195572,
-0.0018562128534540534,
-0.036161940544843674,
-0.004509206861257553,
-0.06406031548976898,
0.029063746333122253,
0.0020040918607264757,
-0.033901818096637726,
-0.00933182891458273,
-0.013445955701172352,
0.02722739800810814,
-0.019829032942652702,
0.04015246778726578,
-0.025973737239837646,
0.05134712904691696,
0.06649700552225113,
0.06271836906671524,
0.0012900789733976126,
-0.03338976204395294,
-0.06582603603601456,
-0.04371922090649605,
0.0011609607608988881,
-0.05904566869139671,
0.02918734773993492,
-0.05989321321249008,
-0.03593239560723305,
0.002078031422570348,
-0.04297761991620064,
-0.033937133848667145,
0.0055090454407036304,
0.016924424096941948,
0.031023696064949036,
0.04594402760267258,
-0.02065892145037651,
0.04138847067952156,
-0.018292857334017754,
-0.01281029637902975,
0.003474053693935275,
0.014028643257915974,
-0.007460165768861771,
0.01178617961704731,
0.02207149751484394,
-0.07310079783201218,
-0.010611975565552711,
0.00997631624341011,
-0.015794362872838974,
-0.07214730978012085,
0.0009915620321407914,
0.03564988076686859,
0.014955646358430386,
0.023837216198444366,
-0.05346599221229553,
-0.05088804289698601,
0.0056767892092466354,
-0.027456942945718765,
0.034643422812223434,
-0.02136520855128765,
-0.03153575584292412,
0.004793928936123848,
-0.020376406610012054,
0.035420339554548264,
0.06141173467040062,
0.007579352241009474,
-0.04449613764882088,
-0.015582476742565632,
0.028145572170615196,
0.016791995614767075,
0.004425335209816694,
-0.02438458986580372,
-0.08122310787439346,
-0.024084417149424553,
-0.05208873376250267,
-0.053960394114255905,
-0.05713869258761406,
0.04022309556603432,
-0.006082904525101185,
-0.03144747018814087,
-0.019087430089712143,
0.014028643257915974,
0.04629717022180557,
-0.006012275815010071,
0.0026110580656677485,
-0.05424290895462036,
0.03347804769873619,
0.010700262151658535,
0.020447034388780594,
0.046756260097026825,
-0.005239773541688919,
-0.018769601359963417,
0.029099062085151672,
-0.015608962625265121,
0.022601213306188583,
-0.03441387787461281,
-0.01854005828499794,
-0.01216580905020237,
-0.028198543936014175,
0.0800224170088768,
0.004284077323973179,
0.006082904525101185,
-0.05501982569694519,
0.020235149189829826,
-0.053819138556718826,
0.03665634244680405,
0.03301895782351494,
0.04442550987005234,
-0.006224161945283413,
-0.07246513664722443,
-0.020959094166755676,
-0.027298027649521828,
-0.014549531042575836,
0.05092335864901543,
0.03427261859178543,
0.017683682963252068,
0.04922826588153839,
-0.04156504198908806,
0.002178456634283066,
-0.012068694457411766,
-0.005102930124849081,
0.052618447691202164,
-0.07486651837825775,
0.061870820820331573,
0.02720974199473858,
-0.013825586065649986,
-0.010603147558867931,
0.03443153575062752,
0.005500216968357563,
-0.03948149457573891,
-0.04160035774111748,
-0.03503188118338585,
0.0009297617943957448,
-0.014072786085307598,
0.024614132940769196,
-0.04138847067952156,
-0.011538978666067123,
0.026185624301433563,
0.041070640087127686,
-0.023925501853227615,
0.035967711359262466,
0.035226110368967056,
0.015202847309410572,
0.04548494145274162,
0.029858320951461792,
-0.020994408056139946,
-0.03413136303424835,
-0.055973317474126816,
0.04989923909306526,
-0.018857887014746666,
-0.01709216646850109,
0.01643885113298893,
-0.009128770790994167,
-0.05855126678943634,
0.038351431488990784,
-0.007742681074887514,
-0.024702418595552444,
-0.028286829590797424,
0.022301040589809418,
-0.007566109299659729,
0.005464902613312006,
-0.012201123870909214,
0.07359519600868225,
-0.005893089808523655,
-0.051170557737350464,
-0.02498493529856205,
-0.04915763810276985,
0.026009051129221916,
-0.025196820497512817,
-0.005570845678448677,
-0.011406549252569675,
-0.0020603742450475693,
-0.020447034388780594,
-0.06406031548976898,
0.007817723788321018,
0.019758403301239014,
-0.04947546869516373,
-0.015096903778612614,
-0.04357796162366867,
0.012209951877593994,
-0.031641699373722076,
0.013375326991081238,
0.011327092535793781,
0.09393629431724548,
0.0200056042522192,
0.1131473183631897,
-0.021100351586937904,
0.0499698705971241,
0.04488459601998329,
0.05441948398947716,
-0.033954791724681854,
-0.009490743279457092,
0.00924354325979948,
0.022565897554159164,
0.002741280011832714,
-0.04477865248918533,
0.00017395098984707147,
0.020217491313815117,
-0.026997854933142662,
0.02288372814655304,
0.04573214054107666,
-0.002138728043064475,
-0.013631356880068779,
0.013048669323325157,
-0.034555137157440186,
0.018822573125362396,
0.0034961251076310873,
-0.004763029050081968,
0.008404825814068317,
0.00860788393765688,
0.025373393669724464,
0.01462015975266695,
-0.022389326244592667,
-0.01282795425504446,
0.0470740869641304,
0.00018526263011153787,
0.08178813755512238,
0.0057121035642921925,
-0.07084067910909653,
-0.01392270065844059,
-0.027545228600502014,
-0.04982861131429672,
-0.015096903778612614,
0.014496559277176857,
0.05696211755275726,
0.023837216198444366,
0.017710169777274132,
0.055443599820137024,
0.054596055299043655,
-0.021065035834908485,
0.059610698372125626,
0.05215936154127121,
-0.03483765199780464,
-0.014929160475730896,
-0.09146428108215332,
-0.01846942864358425,
-0.04951078072190285,
0.02701551280915737,
-0.03526142239570618,
-0.033866506069898605,
-0.011565464548766613,
0.024084417149424553,
-0.04495522379875183,
-0.0021100351586937904,
0.004595285747200251,
-0.011088719591498375,
-0.03718605637550354,
0.03206546977162361,
-0.06600260734558105,
-0.016244621947407722,
0.006029932759702206,
-0.011433035135269165,
-0.07352457195520401,
-0.04068218171596527,
-0.03296598792076111,
-0.08680278062820435,
-0.04071749746799469,
0.05784497782588005,
-0.004930772352963686,
-0.02503790520131588,
-0.005403102375566959,
-0.000027278991183266044,
0.026220938190817833,
-0.024808362126350403,
0.018928516656160355,
-0.022424640133976936,
0.014734931290149689,
-0.019034458324313164,
0.03203015774488449,
-0.035226110368967056,
0.040434982627630234,
-0.00015532816178165376,
-0.03413136303424835,
0.05777435004711151,
-0.033160217106342316,
0.051064614206552505,
0.03296598792076111,
-0.0514177605509758,
0.09471321105957031,
0.02719208411872387,
0.000912656367290765,
-0.00438560638576746,
0.056714918464422226,
0.07656160742044449,
0.02998192049562931,
0.0010605354327708483,
-0.0030502809677273035,
0.021736010909080505,
-0.01598859205842018,
-0.040434982627630234,
0.021241609007120132,
-0.036073654890060425,
-0.01702153868973255,
0.05904566869139671,
0.01862834393978119,
-0.08009304851293564,
0.02863997407257557
] |
710,362
|
riotwatcher.LolWatcher
|
LolWatcher
|
LolWatcher class is intended to be the main interaction point with the APIs for
League of Legends.
|
class LolWatcher:
"""
LolWatcher class is intended to be the main interaction point with the APIs for
League of Legends.
"""
def __init__(
self,
api_key: str = None,
timeout: int = None,
kernel_url: str = None,
rate_limiter: RateLimiter = BasicRateLimiter(),
deserializer: Deserializer = DictionaryDeserializer(),
default_status_v4: bool = False,
**kwargs,
):
"""
Initialize a new instance of the RiotWatcher class.
:param string api_key: the API key to use for this instance
:param int timeout: Time to wait for a response before timing out a connection
to the Riot API
:param string kernel_url: URL for the kernel instance to connect to, instead of
the API. See
https://github.com/meraki-analytics/kernel for
details.
:param RateLimiter rate_limiter: Instance to be used for rate limiting.
This defaults to
Handlers.RateLimit.BasicRateLimiter.
This parameter is not used when connecting to
a kernel instance.
:param Deserializer deserializer: Instance to be used to deserialize responses
from the Riot Api. Default is
Handlers.DictionaryDeserializer.
"""
if not kernel_url and not api_key:
raise ValueError("Either api_key or kernel_url must be set!")
if kernel_url:
handler_chain = [
SanitationHandler(),
DeserializerAdapter(deserializer),
ThrowOnErrorHandler(),
TypeCorrectorHandler(),
DeprecationHandler(),
]
else:
handler_chain = [
SanitationHandler(),
DeserializerAdapter(deserializer),
ThrowOnErrorHandler(),
TypeCorrectorHandler(),
RateLimiterAdapter(rate_limiter),
DeprecationHandler(),
]
if kernel_url:
UrlConfig.root_url = kernel_url
else:
UrlConfig.root_url = "https://{platform}.api.riotgames.com"
self._base_api = BaseApi(api_key, handler_chain, timeout=timeout)
self._champion = ChampionApiV3(self._base_api)
self._lol_status_v3 = LolStatusApiV3(self._base_api)
self._lol_status_v4 = LolStatusApiV4(self._base_api)
self._data_dragon = DataDragonApi(self._base_api)
self._clash = ClashApiV1(self._base_api)
self._champion_mastery = ChampionMasteryApiV4(self._base_api)
self._league = LeagueApiV4(self._base_api)
self._match = MatchApiV5(self._base_api)
self._spectator = SpectatorApiV5(self._base_api)
self._challenges = ChallengesApiV1(self._base_api)
self._summoner = SummonerApiV4(self._base_api)
self._lol_status = (
self._lol_status_v4 if default_status_v4 else self._lol_status_v3
)
# todo: tournament-stub
# todo: tournament
if "default_match_v5" in kwargs:
LOG.warning(
"property 'default_match_v5' has been deprecated and can be removed"
)
@property
def champion_mastery(self) -> ChampionMasteryApiV4:
"""
Interface to the ChampionMastery Endpoint
:rtype: league_of_legends.ChampionMasteryApiV4
"""
return self._champion_mastery
@property
def champion(self) -> ChampionApiV3:
"""
Interface to the Champion Endpoint
:rtype: league_of_legends.ChampionApiV3
"""
return self._champion
@property
def clash(self) -> ClashApiV1:
"""
Interface to the Clash Endpoint
:rtype: league_of_legends.ClashApiV1
"""
return self._clash
@property
def league(self) -> LeagueApiV4:
"""
Interface to the League Endpoint
:rtype: league_of_legends.LeagueApiV4
"""
return self._league
@property
def lol_status(self) -> Union[LolStatusApiV3, LolStatusApiV4]:
"""
Interface to the LoLStatus Endpoint
:rtype: league_of_legends.LolStatusApiV3
"""
return self._lol_status
@property
def lol_status_v3(self) -> LolStatusApiV3:
"""
Interface to the LoLStatus Endpoint
:rtype: league_of_legends.LolStatusApiV3
"""
return self._lol_status_v3
@property
def lol_status_v4(self) -> LolStatusApiV4:
"""
Interface to the LoLStatus Endpoint
:rtype: league_of_legends.LolStatusApiV4
"""
return self._lol_status_v4
@property
def match(self) -> MatchApiV5:
"""
Interface to the Match Endpoint
:rtype: league_of_legends.MatchApiV5
"""
return self._match
@property
def match_v4(self):
"""
This property has been deprecated. Use 'match' property instead.
Note that v4 is now permanently removed by Riot
"""
raise NotImplementedError(
"this property has been deprecated. Use 'match' property instead. Note "
+ "that v4 is now permanently removed by Riot"
)
@property
def match_v5(self):
"""this property has been deprecated. Use 'match' property instead."""
raise NotImplementedError(
"this property has been deprecated. Use 'match' property instead."
)
@property
def spectator(self) -> SpectatorApiV5:
"""
Interface to the Spectator Endpoint
:rtype: league_of_legends.SpectatorApiV4
"""
return self._spectator
@property
def data_dragon(self) -> DataDragonApi:
"""
Interface to the DataDragon Endpoint
:rtype: league_of_legends.DataDragonApi
"""
return self._data_dragon
@property
def summoner(self) -> SummonerApiV4:
"""
Interface to the Summoner Endpoint
:rtype: league_of_legends.SummonerApiV4
"""
return self._summoner
@property
def third_party_code(self) -> None:
"""
DEPRECATED: API has been removed by Riot
"""
raise NotImplementedError(
"API has been removed by Riot and no longer functions"
)
@property
def challenges(self) -> ChallengesApiV1:
"""
Interface to the Challenges Endpoint
:rtype: league_of_legends.ChallengesApiV1
"""
return self._challenges
|
(api_key: str = None, timeout: int = None, kernel_url: str = None, rate_limiter: riotwatcher.RateLimiter.RateLimiter = <riotwatcher.Handlers.RateLimit.BasicRateLimiter.BasicRateLimiter object at 0x7f89e048f9d0>, deserializer: riotwatcher.Deserializer.Deserializer = <riotwatcher.Handlers.DictionaryDeserializer.DictionaryDeserializer object at 0x7f89e0454bb0>, default_status_v4: bool = False, **kwargs)
|
[
0.01929154433310032,
-0.06566829979419708,
-0.11687535047531128,
0.0060699712485075,
-0.001749623566865921,
-0.04990316554903984,
-0.037911392748355865,
0.007620802149176598,
-0.07847005873918533,
0.017059138044714928,
-0.01862972415983677,
-0.033268775790929794,
0.007433122023940086,
0.04919195547699928,
-0.00499081052839756,
0.027796419337391853,
-0.008830845355987549,
0.000929757603444159,
0.02086213044822216,
-0.06049227714538574,
0.006203323137015104,
0.010480455122888088,
0.01634792983531952,
0.05314311757683754,
-0.011280565522611141,
0.07068627327680588,
-0.0027139538433402777,
0.0038548517040908337,
0.003237482625991106,
-0.025208408012986183,
-0.03569874167442322,
-0.00399808119982481,
0.006445331498980522,
0.017483888193964958,
-0.04563591256737709,
-0.0363309271633625,
-0.013532727025449276,
0.003931405488401651,
-0.15401625633239746,
0.016328172758221626,
-0.017088772729039192,
0.021237490698695183,
0.013335169292986393,
-0.02698643133044243,
-0.0026299916207790375,
0.010203873738646507,
-0.036765553057193756,
0.07044920325279236,
0.027065454050898552,
-0.0311944168061018,
0.0022003029007464647,
-0.019884219393134117,
-0.04322570189833641,
0.05037730559706688,
0.02813226729631424,
0.029238592833280563,
-0.0071120900101959705,
0.06017618626356125,
0.03265634551644325,
-0.04227742552757263,
-0.04322570189833641,
0.0056304046884179115,
-0.01229798886924982,
0.021553583443164825,
0.0316290445625782,
-0.019558247178792953,
-0.0360543467104435,
0.035619717091321945,
0.01431308127939701,
0.04057842493057251,
0.03631117194890976,
0.010510088875889778,
-0.0023534104693681,
-0.02975224331021309,
0.04180328547954559,
0.00008596862608101219,
-0.022027723491191864,
-0.020526282489299774,
0.03241927921772003,
-0.02591961808502674,
0.03024613857269287,
0.024062572047114372,
-0.009853208437561989,
-0.023410629481077194,
0.04982414096593857,
-0.018847038969397545,
0.02627522125840187,
-0.05705476924777031,
-0.027677884325385094,
-0.023548919707536697,
-0.08439680188894272,
0.012426401488482952,
-0.032498300075531006,
0.0021583219058811665,
-0.0063811251893639565,
-0.023963792249560356,
-0.05235288664698601,
-0.03311073035001755,
-0.021573340520262718,
-0.011329954490065575,
-0.042474981397390366,
0.02327233925461769,
-0.06270492821931839,
0.04958707094192505,
0.014115523546934128,
-0.07716617733240128,
-0.044332027435302734,
-0.000745781697332859,
0.013868575915694237,
0.002681850688531995,
-0.08937526494264603,
-0.015310749411582947,
-0.044134471565485,
0.05014023557305336,
-0.027638372033834457,
0.06282345950603485,
-0.03480973094701767,
-0.013107976876199245,
0.005294555798172951,
-0.005585954058915377,
0.018135828897356987,
0.020664572715759277,
-0.020763352513313293,
-0.0010624919086694717,
0.04599151760339737,
0.023489654064178467,
-0.03275512531399727,
0.02518865279853344,
0.02674936130642891,
-0.041684750467538834,
-0.035797521471977234,
0.049033910036087036,
-0.023232826963067055,
0.0143427150323987,
0.06246785819530487,
0.018540823832154274,
-0.000426293263444677,
0.024852802976965904,
-0.017454255372285843,
0.008252987638115883,
-0.013443825766444206,
0.013710529543459415,
0.034888751804828644,
-0.08574020117521286,
-0.010598990134894848,
-0.005506930872797966,
-0.023252584040164948,
-0.022857466712594032,
-0.04287010058760643,
-0.0038178095128387213,
0.022561131045222282,
-0.027993977069854736,
0.009784063324332237,
0.010243385098874569,
-0.02963370829820633,
-0.017444375902414322,
-0.04666321352124214,
-0.02424037456512451,
0.037061892449855804,
-0.009759368374943733,
-0.02597888559103012,
-0.0494290255010128,
0.01712828315794468,
-0.051128026098012924,
-0.00303498562425375,
0.007038005627691746,
-0.013295657001435757,
-0.04113158956170082,
0.017394987866282463,
0.0650361105799675,
-0.010658257640898228,
0.01845192350447178,
-0.04705832898616791,
0.013009198009967804,
-0.019736049696803093,
0.06199371814727783,
0.0010161892278119922,
-0.024852802976965904,
-0.004625327885150909,
-0.011497879400849342,
-0.0005565580795519054,
-0.03684457764029503,
-0.043265216052532196,
-0.04369984194636345,
-0.0036548241041600704,
0.02542572282254696,
0.030878324061632156,
0.024912070482969284,
-0.023430386558175087,
0.06776241213083267,
-0.021118955686688423,
-0.0143427150323987,
0.06705120205879211,
0.005837840493768454,
-0.01385869737714529,
0.023904524743556976,
0.03753603249788284,
0.03433559089899063,
0.03453315049409866,
-0.004437647759914398,
-0.012179454788565636,
0.061835672706365585,
0.008327072486281395,
-0.028152022510766983,
-0.02848787233233452,
-0.0013890800764784217,
0.02730252407491207,
-0.017177673056721687,
-0.020091654732823372,
-0.03415779024362564,
-0.023904524743556976,
0.0247145127505064,
-0.01846180111169815,
0.013552483171224594,
0.03698286786675453,
-0.06290248781442642,
0.053538233041763306,
0.0008803681121207774,
0.017523400485515594,
0.010213751345872879,
0.048915375024080276,
-0.028448360040783882,
-0.06906630098819733,
-0.053419698029756546,
-0.056304045021533966,
0.059781067073345184,
0.010233507491648197,
0.03362438082695007,
0.015360139310359955,
-0.038622599095106125,
0.019331056624650955,
-0.02657155878841877,
0.022738931700587273,
0.024556467309594154,
-0.02542572282254696,
-0.004304296337068081,
-0.0010618745582178235,
0.05211581662297249,
-0.021553583443164825,
-0.03674579784274101,
0.06428539007902145,
-0.03725944831967354,
0.026314733549952507,
0.006662645377218723,
-0.04468763247132301,
-0.02427988499403,
0.005126631818711758,
-0.013325290754437447,
-0.00493154302239418,
-0.02115846797823906,
0.02362794429063797,
-0.045003727078437805,
0.0029905352275818586,
0.026136931031942368,
-0.03887942433357239,
-0.11086957901716232,
-0.020605305209755898,
-0.02333160676062107,
0.027203744277358055,
-0.06369271874427795,
-0.014421738684177399,
0.031352464109659195,
-0.049508050084114075,
0.06926385313272476,
-0.04994267597794533,
-0.0039289360865950584,
0.049152445048093796,
-0.028092756867408752,
0.005719305947422981,
-0.025465233251452446,
0.07432134449481964,
0.026472778990864754,
-0.02939663827419281,
0.000010475979252078105,
-0.06155909225344658,
-0.02260064147412777,
-0.002028674352914095,
-0.018382776528596878,
0.007931956090033054,
-0.02507011778652668,
0.003467143978923559,
-0.016367685049772263,
0.037298962473869324,
0.013473459519445896,
0.02248210646212101,
-0.03346633538603783,
-0.010628623887896538,
0.046742238104343414,
-0.007354098837822676,
-0.023410629481077194,
0.009300045669078827,
-0.0173653531819582,
0.007210869342088699,
0.02981151081621647,
0.0832904800772667,
0.022640153765678406,
-0.05903034657239914,
0.04405544698238373,
0.05717330053448677,
-0.07483499497175217,
0.010678012855350971,
0.020941155031323433,
0.08171001076698303,
-0.019024841487407684,
-0.007838116027414799,
-0.014826732687652111,
0.08226317912340164,
-0.04911293461918831,
0.02692716382443905,
0.005842779763042927,
0.01833338849246502,
-0.016693655401468277,
0.023667454719543457,
-0.02548499032855034,
0.027914954349398613,
-0.0008630817756056786,
-0.02050652727484703,
0.032913170754909515,
0.027796419337391853,
0.05634355917572975,
-0.010411310009658337,
0.04460860788822174,
0.028843477368354797,
0.02098066546022892,
0.06673511117696762,
-0.06851313263177872,
0.06096641719341278,
-0.005951436702162027,
-0.011310199275612831,
-0.04630760848522186,
-0.06053178757429123,
-0.06547074019908905,
-0.02171163074672222,
-0.01455015130341053,
0.03986721485853195,
-0.008939501829445362,
0.00043061483302153647,
-0.012456035241484642,
0.03305146470665932,
0.010174239985644817,
0.03101661615073681,
0.007052822504192591,
-0.025109630078077316,
0.03548142686486244,
0.011754704639315605,
-0.034414615482091904,
0.05361725762486458,
-0.00029896092019043863,
0.021237490698695183,
0.0039042411372065544,
-0.006924409884959459,
-0.016041714698076248,
0.0316290445625782,
0.0732545256614685,
0.06013667210936546,
-0.07929980754852295,
-0.025208408012986183,
-0.060571301728487015,
0.031154906377196312,
-0.01208067499101162,
-0.06515464931726456,
-0.018847038969397545,
-0.033881206065416336,
0.0650361105799675,
-0.019489102065563202,
-0.018738381564617157,
0.024319397285580635,
-0.08787382394075394,
0.0164071973413229,
-0.03743725270032883,
-0.040005505084991455,
-0.03998574987053871,
-0.027203744277358055,
-0.007398549467325211,
0.03265634551644325,
0.024556467309594154,
0.04852025955915451,
0.02998931333422661,
-0.057686954736709595,
0.04065744951367378,
0.062191277742385864,
0.07226673513650894,
-0.007640557829290628,
0.02327233925461769,
0.049508050084114075,
-0.027203744277358055,
0.00053155462956056,
-0.020289212465286255,
0.01054960023611784,
-0.014826732687652111,
0.047097839415073395,
0.012011529877781868,
-0.01415503490716219,
0.011576902121305466,
-0.06934288144111633,
-0.0002682468038983643,
-0.031411729753017426,
0.00703306682407856,
0.02639375627040863,
-0.0585562102496624,
0.04634711891412735,
-0.008939501829445362,
0.052827026695013046,
0.013730284757912159,
0.014560028910636902,
0.023608187213540077,
0.08763675391674042,
0.057331349700689316,
-0.046268098056316376,
0.03390096127986908,
-0.06392978876829147,
-0.010529844090342522,
-0.048006609082221985,
-0.000010775017472042236,
-0.02001263201236725,
-0.02295624651014805,
0.04468763247132301,
0.0797344297170639,
0.030996859073638916,
0.07088383287191391,
0.010836059227585793,
-0.025287430733442307,
0.05349872261285782,
0.054209932684898376,
-0.01431308127939701,
0.016999870538711548,
0.0033757733181118965,
0.005506930872797966,
-0.03275512531399727,
-0.008618470281362534,
0.04504323750734329,
0.03771383315324783,
-0.054012373089790344,
-0.08526606112718582,
0.012940052896738052,
-0.015399650670588017,
-0.011359588243067265,
-0.0025534378364682198,
0.008183842524886131,
0.0055908928625285625,
0.03283414989709854,
0.005269861314445734,
0.04749295860528946,
0.03575800731778145,
0.026314733549952507,
-0.005803267937153578,
-0.053538233041763306,
0.005432846490293741,
0.0679599717259407,
-0.022640153765678406,
-0.056304045021533966,
0.0017879004590213299,
0.02151407301425934,
0.055829908698797226,
-0.032557569444179535,
-0.03178709000349045,
-0.007946772500872612,
0.006247773766517639,
-0.008080124855041504,
-0.08009003847837448,
0.012179454788565636,
-0.005176021251827478,
0.012218966148793697,
0.03921527415513992,
-0.0369236022233963,
0.07843054831027985,
0.05717330053448677,
-0.037239693105220795,
-0.04859928414225578,
0.004729046020656824,
0.05006121098995209,
0.0017977782990783453,
0.022205526009202003,
-0.0007093569147400558,
0.025524500757455826,
-0.002639869460836053,
0.015152703039348125,
-0.01779010333120823,
-0.020467014983296394,
-0.05950448662042618,
0.03137221932411194,
-0.007235563825815916,
0.024418175220489502,
-0.014224180020391941,
-0.004504323936998844,
-0.02915957011282444,
-0.031174661591649055,
-0.011280565522611141,
-0.0038301567547023296,
-0.028408849611878395,
-0.07337306439876556,
0.014085889793932438,
0.011942384764552116,
-0.030009068548679352,
-0.04792758449912071,
0.06199371814727783,
0.003116478445008397,
-0.00030991921084932983,
0.027855686843395233,
-0.017661690711975098,
0.017632056027650833,
0.009576627053320408,
-0.03453315049409866,
-0.010806425474584103,
0.04255400598049164,
-0.03107588179409504,
-0.07491401582956314,
0.006489782128483057,
-0.027974221855401993,
0.024121839553117752,
-0.04028208926320076,
-0.01862972415983677,
0.06835509091615677,
-0.016743045300245285,
-0.03316999971866608,
0.010411310009658337,
-0.02289697900414467,
0.044766657054424286,
-0.023845257237553596,
-0.03072027862071991,
0.0473744235932827,
0.04192182049155235,
0.07396573573350906,
-0.027559349313378334,
0.020062020048499107,
0.0056057097390294075,
-0.01046069897711277,
-0.021533828228712082,
0.011537390761077404,
0.018550701439380646,
0.006302102003246546,
-0.016505975276231766,
-0.03137221932411194,
0.016614632681012154,
0.04634711891412735,
0.011211419478058815,
-0.029376883059740067,
-0.043502286076545715,
-0.014915633015334606,
0.020644817501306534,
0.027500081807374954,
0.016189882531762123,
-0.045240797102451324,
-0.07195064425468445,
-0.05093046650290489,
-0.06270492821931839,
-0.011685559526085854,
0.04875732958316803,
-0.002884347690269351,
-0.028784209862351418,
0.036587752401828766,
0.004803130403161049,
0.0373779833316803,
-0.0035091249737888575,
-0.03631117194890976,
-0.02327233925461769,
0.005482235923409462,
-0.020427502691745758,
0.05488162860274315,
0.004998218733817339,
-0.027065454050898552,
0.005581015255302191,
-0.08024808019399643,
-0.013542604632675648,
-0.017829615622758865,
0.015044046565890312,
0.02627522125840187,
0.07440036535263062,
-0.010282897390425205,
0.010845937766134739,
0.002307725138962269,
-0.0018484025495126843,
0.010924960486590862,
-0.024260129779577255,
-0.03698286786675453,
0.026729606091976166,
-0.010253263637423515,
0.017474010586738586,
0.014481005258858204,
-0.03372316062450409,
0.057924021035432816,
0.029949801042675972,
-0.012189332395792007,
-0.10683939605951309,
0.017661690711975098,
-0.016328172758221626,
0.030088093131780624,
0.046386633068323135,
0.06491757929325104,
0.010450821369886398,
-0.03247854486107826,
0.03311073035001755,
-0.014332837425172329,
-0.017474010586738586,
-0.011448489502072334,
0.0968034490942955,
-0.045714933425188065,
-0.008346827700734138,
0.04911293461918831,
0.04935000464320183,
-0.013591994531452656,
0.047769539058208466,
-0.026907406747341156,
-0.056422580033540726,
0.022936491295695305,
0.011507757008075714,
-0.03180684894323349,
-0.008411034010350704,
0.014688441529870033,
-0.003496777731925249,
0.01917300932109356,
-0.013512970879673958,
0.002985596191138029,
-0.03836577385663986,
0.020002752542495728,
-0.021020177751779556,
-0.0009359312825836241,
0.0776798278093338,
0.05776597559452057,
-0.06274443864822388,
0.011073129251599312,
0.007452877704054117,
-0.011280565522611141,
0.026670338585972786,
-0.08637238293886185,
-0.027440814301371574,
0.019449591636657715,
-0.07222722470760345,
-0.03042394109070301,
-0.041092075407505035,
0.05891181156039238,
-0.02880396507680416,
0.0020508996676653624,
-0.03494802117347717,
-0.007862810976803303,
0.009828513488173485,
0.0579635351896286,
-0.03299219533801079,
-0.0017829615389928222,
0.029554685577750206,
0.01385869737714529,
0.01259432639926672,
0.021494315937161446,
0.017839493229985237,
-0.035975322127342224,
0.04045988991856575,
-0.04057842493057251,
-0.016812190413475037,
0.05681769922375679,
-0.0014866243582218885,
-0.05160216614603996,
0.044134471565485,
-0.02139553800225258,
-0.0048821535892784595,
-0.05235288664698601,
-0.004921664949506521,
-0.0037116219755262136,
0.016515852883458138,
0.037298962473869324,
-0.0014483474660664797,
-0.043067656457424164,
0.022106746211647987,
0.07847005873918533,
-0.024497199803590775,
-0.026472778990864754,
0.007196052465587854,
0.030009068548679352,
-0.03933380916714668,
0.035501182079315186,
0.05488162860274315,
0.012604204006493092,
-0.024991095066070557,
0.042712051421403885,
0.037002623081207275,
-0.006553988438099623,
0.016318295150995255,
-0.01568610966205597,
0.0015261359512805939,
-0.0002040404360741377,
-0.0256035253405571,
-0.012218966148793697,
0.09348447620868683,
-0.04330472648143768,
0.0026867894921451807,
0.007838116027414799,
0.014026622287929058,
0.00034757872344926,
0.017543155699968338,
0.03565923124551773,
-0.005783512257039547,
-0.015893545001745224,
0.008850601501762867,
-0.03239952027797699,
0.016565242782235146,
-0.02001263201236725,
-0.08400169014930725,
-0.06389027833938599,
-0.04899439960718155,
-0.022205526009202003,
0.0031905625946819782,
0.05294555798172951,
-0.03241927921772003,
-0.009714917279779911,
0.018244486302137375,
0.009621077217161655,
0.02554425783455372,
-0.008411034010350704,
-0.050535351037979126,
0.02309453673660755,
-0.03565923124551773,
0.04804611951112747,
0.0517997220158577,
0.06637950986623764,
-0.06373222917318344,
0.05010072514414787,
-0.0076356190256774426,
0.009522298350930214,
0.020842375233769417,
0.00241144304163754,
0.03710140287876129,
-0.006800936069339514,
0.012861029244959354,
0.060926906764507294,
-0.0012470852816477418,
0.06835509091615677,
-0.0009248186834156513,
0.039946239441633224,
-0.0051612043753266335,
-0.00973467342555523,
0.026551803573966026,
0.0021756081841886044,
0.008381400257349014,
-0.06882923096418381,
-0.02645302377641201,
0.048915375024080276,
-0.07412378489971161,
0.04322570189833641,
0.005788451060652733,
0.036943357437849045,
0.04563591256737709,
0.012130064889788628,
-0.04057842493057251,
-0.03024613857269287,
-0.03313048556447029,
-0.03125368431210518,
0.03277488052845001,
0.04164524003863335,
-0.002527508419007063,
0.007008372340351343,
0.011695437133312225,
0.05219483748078346,
-0.026294978335499763,
0.01397723238915205,
-0.016989992931485176,
-0.029060790315270424,
-0.015330505557358265,
-0.007097273133695126,
0.009848269633948803,
0.007438060827553272,
-0.0017088771564885974,
0.016871457919478416,
-0.009117304347455502,
0.010164362378418446,
0.04231693595647812,
0.025820838287472725,
0.03990672901272774,
-0.032853905111551285,
0.018738381564617157
] |
710,363
|
riotwatcher.LolWatcher
|
__init__
|
Initialize a new instance of the RiotWatcher class.
:param string api_key: the API key to use for this instance
:param int timeout: Time to wait for a response before timing out a connection
to the Riot API
:param string kernel_url: URL for the kernel instance to connect to, instead of
the API. See
https://github.com/meraki-analytics/kernel for
details.
:param RateLimiter rate_limiter: Instance to be used for rate limiting.
This defaults to
Handlers.RateLimit.BasicRateLimiter.
This parameter is not used when connecting to
a kernel instance.
:param Deserializer deserializer: Instance to be used to deserialize responses
from the Riot Api. Default is
Handlers.DictionaryDeserializer.
|
def __init__(
self,
api_key: str = None,
timeout: int = None,
kernel_url: str = None,
rate_limiter: RateLimiter = BasicRateLimiter(),
deserializer: Deserializer = DictionaryDeserializer(),
default_status_v4: bool = False,
**kwargs,
):
"""
Initialize a new instance of the RiotWatcher class.
:param string api_key: the API key to use for this instance
:param int timeout: Time to wait for a response before timing out a connection
to the Riot API
:param string kernel_url: URL for the kernel instance to connect to, instead of
the API. See
https://github.com/meraki-analytics/kernel for
details.
:param RateLimiter rate_limiter: Instance to be used for rate limiting.
This defaults to
Handlers.RateLimit.BasicRateLimiter.
This parameter is not used when connecting to
a kernel instance.
:param Deserializer deserializer: Instance to be used to deserialize responses
from the Riot Api. Default is
Handlers.DictionaryDeserializer.
"""
if not kernel_url and not api_key:
raise ValueError("Either api_key or kernel_url must be set!")
if kernel_url:
handler_chain = [
SanitationHandler(),
DeserializerAdapter(deserializer),
ThrowOnErrorHandler(),
TypeCorrectorHandler(),
DeprecationHandler(),
]
else:
handler_chain = [
SanitationHandler(),
DeserializerAdapter(deserializer),
ThrowOnErrorHandler(),
TypeCorrectorHandler(),
RateLimiterAdapter(rate_limiter),
DeprecationHandler(),
]
if kernel_url:
UrlConfig.root_url = kernel_url
else:
UrlConfig.root_url = "https://{platform}.api.riotgames.com"
self._base_api = BaseApi(api_key, handler_chain, timeout=timeout)
self._champion = ChampionApiV3(self._base_api)
self._lol_status_v3 = LolStatusApiV3(self._base_api)
self._lol_status_v4 = LolStatusApiV4(self._base_api)
self._data_dragon = DataDragonApi(self._base_api)
self._clash = ClashApiV1(self._base_api)
self._champion_mastery = ChampionMasteryApiV4(self._base_api)
self._league = LeagueApiV4(self._base_api)
self._match = MatchApiV5(self._base_api)
self._spectator = SpectatorApiV5(self._base_api)
self._challenges = ChallengesApiV1(self._base_api)
self._summoner = SummonerApiV4(self._base_api)
self._lol_status = (
self._lol_status_v4 if default_status_v4 else self._lol_status_v3
)
# todo: tournament-stub
# todo: tournament
if "default_match_v5" in kwargs:
LOG.warning(
"property 'default_match_v5' has been deprecated and can be removed"
)
|
(self, api_key: Optional[str] = None, timeout: Optional[int] = None, kernel_url: Optional[str] = None, rate_limiter: riotwatcher.RateLimiter.RateLimiter = <riotwatcher.Handlers.RateLimit.BasicRateLimiter.BasicRateLimiter object at 0x7f89e048f9d0>, deserializer: riotwatcher.Deserializer.Deserializer = <riotwatcher.Handlers.DictionaryDeserializer.DictionaryDeserializer object at 0x7f89e0454bb0>, default_status_v4: bool = False, **kwargs)
|
[
0.026674125343561172,
-0.07057898491621017,
-0.09478875994682312,
-0.015387401916086674,
-0.005781365092843771,
-0.027699295431375504,
-0.009517320431768894,
0.02476179040968418,
-0.05740949884057045,
0.025708099827170372,
-0.006358023267239332,
0.009906687773764133,
-0.004354506731033325,
0.048734989017248154,
0.005293423775583506,
0.03461918979883194,
0.008452720940113068,
0.018571341410279274,
-0.0011015644995495677,
-0.07341791689395905,
0.01280476339161396,
0.026654411107301712,
-0.03316029533743858,
0.051573917269706726,
0.0001968399592442438,
0.08635082840919495,
-0.02101597748696804,
-0.008221072144806385,
0.0024397065863013268,
-0.016688579693436623,
-0.02452521212399006,
0.003408196149393916,
0.01658014766871929,
0.0530722439289093,
-0.06170732527971268,
-0.025944678112864494,
-0.04451601952314377,
0.023874623700976372,
-0.15259255468845367,
0.02923704870045185,
0.0026787484530359507,
0.015801412984728813,
-0.012538612820208073,
-0.04278111830353737,
0.010744566097855568,
0.03375173732638359,
0.012203461490571499,
0.051416199654340744,
-0.00619537616148591,
-0.04021819308400154,
-0.025944678112864494,
0.017822179943323135,
-0.047867536544799805,
0.053387679159641266,
-0.0027773226611316204,
0.04542290046811104,
-0.0057912226766347885,
0.053269390016794205,
0.016649149358272552,
-0.035841505974531174,
-0.07546825706958771,
0.04293883591890335,
0.013307490386068821,
0.05086418613791466,
0.016649149358272552,
-0.032292842864990234,
-0.06024843081831932,
0.032430846244096756,
0.01638299971818924,
0.03927188366651535,
0.05453113839030266,
0.03302229195833206,
-0.010912141762673855,
-0.04077020660042763,
0.07172244787216187,
-0.0030829019378870726,
-0.04475259780883789,
-0.00822600070387125,
-0.0037655269261449575,
0.0023559187538921833,
0.05043046176433563,
0.0400407612323761,
-0.004024283494800329,
-0.030400222167372704,
0.04258396849036217,
-0.03213512524962425,
0.006629101932048798,
-0.08674512058496475,
-0.028507601469755173,
-0.024111201986670494,
-0.08903203904628754,
-0.025984106585383415,
-0.040533632040023804,
-0.023992912843823433,
-0.01917264424264431,
-0.0150522505864501,
-0.03002564236521721,
-0.04991787672042847,
-0.004963201005011797,
-0.02357890084385872,
-0.045225754380226135,
0.013268060982227325,
-0.0422685332596302,
0.005781365092843771,
0.01644214428961277,
-0.057961516082286835,
-0.035033199936151505,
0.02637840434908867,
0.004559047520160675,
0.010153122246265411,
-0.044240012764930725,
0.003243084764108062,
-0.037891846150159836,
0.08422163128852844,
-0.049720726907253265,
0.07046069949865341,
-0.042505111545324326,
-0.0014206977793946862,
0.014490379020571709,
-0.021153980866074562,
0.007575412280857563,
0.02541237883269787,
-0.01189788244664669,
0.0273049995303154,
0.03268713876605034,
0.026634695008397102,
-0.032470278441905975,
0.04719723388552666,
0.02736414410173893,
0.005879939533770084,
-0.032292842864990234,
0.04648749902844429,
-0.015574692748486996,
0.029552485793828964,
0.060721587389707565,
0.03172111511230469,
0.0008144677267409861,
0.0455411896109581,
-0.011069860309362411,
0.008925875648856163,
0.007274761330336332,
0.008571010082960129,
0.03294343128800392,
-0.08106726408004761,
0.0011336010647937655,
-0.0150522505864501,
-0.05764607712626457,
-0.010044691152870655,
0.009862328879535198,
0.011720448732376099,
0.017644746229052544,
-0.0008477364317514002,
0.04006047546863556,
0.06359994411468506,
0.005170206539332867,
-0.03012421540915966,
-0.01907406933605671,
-0.016008418053388596,
0.03436289727687836,
-0.013918649405241013,
-0.018443197011947632,
-0.022198865190148354,
0.03639352321624756,
-0.07010582834482193,
-0.016885727643966675,
0.006949467118829489,
-0.023105746135115623,
-0.036748386919498444,
0.02907933108508587,
0.06998754292726517,
-0.015229683369398117,
0.006979039404541254,
-0.057961516082286835,
0.009675038047134876,
-0.018502339720726013,
0.06675431877374649,
-0.024130916222929955,
-0.01050798874348402,
-0.0011218953877687454,
-0.012134459801018238,
0.0008144677267409861,
-0.044200584292411804,
-0.02095683291554451,
-0.04644807055592537,
-0.03367288038134575,
0.02738385833799839,
0.02831045351922512,
0.005184992682188749,
-0.029572201892733574,
0.049720726907253265,
0.01177959330379963,
-0.01280476339161396,
0.045028604567050934,
0.00953210610896349,
0.007427551317960024,
0.017546173185110092,
0.03436289727687836,
0.031602825969457626,
0.022396013140678406,
0.02551095187664032,
-0.012479469180107117,
0.06359994411468506,
0.002354686614125967,
-0.011079718358814716,
-0.032194267958402634,
-0.0027723938692361116,
0.03895644471049309,
-0.00458861980587244,
-0.006638959050178528,
-0.019369792193174362,
-0.012104887515306473,
0.012095030397176743,
-0.004630513954907656,
0.030498797073960304,
-0.0013307490153238177,
-0.0073930504731833935,
0.04195309430360794,
0.009921473450958729,
0.0141355125233531,
0.006648816633969545,
0.048813845962285995,
0.0182361900806427,
-0.07885920256376266,
-0.03450090065598488,
-0.04830126091837883,
0.07128871977329254,
0.000950006942730397,
0.00870901346206665,
-0.009768683463335037,
-0.022435443475842476,
0.03836500272154808,
0.017881324514746666,
0.0145199503749609,
0.012095030397176743,
-0.04668464884161949,
-0.03099166601896286,
0.00955674983561039,
0.027738723903894424,
-0.03166196867823601,
-0.047906965017318726,
0.08485250174999237,
-0.024052057415246964,
0.02937505394220352,
-0.0165012888610363,
-0.002015838399529457,
-0.050548750907182693,
-0.01094171404838562,
0.020621681585907936,
0.002991721034049988,
-0.010409414768218994,
0.025136370211839676,
-0.03357430547475815,
-0.022534016519784927,
0.007900706492364407,
-0.04562005028128624,
-0.07290533185005188,
-0.012913194485008717,
-0.007609913125634193,
0.014450948685407639,
-0.04404286667704582,
-0.0015315936179831624,
0.030656514689326286,
-0.06533484905958176,
0.05993299558758736,
-0.055201441049575806,
-0.023224035277962685,
0.04132222384214401,
-0.027896443381905556,
-0.0022253082133829594,
-0.02010909654200077,
0.052362509071826935,
0.02659526653587818,
-0.014165084809064865,
0.0015328257577493787,
-0.0800815224647522,
-0.012883622199296951,
-0.01003976259380579,
-0.02277059480547905,
0.026614980772137642,
-0.026181254535913467,
0.01457909494638443,
-0.004445687402039766,
0.08414276689291,
0.007935207337141037,
0.023243749514222145,
-0.03714268282055855,
-0.008940662257373333,
0.07436423003673553,
-0.007220545783638954,
-0.012045742943882942,
0.01498324889689684,
-0.010862855240702629,
0.0055250730365514755,
0.035112060606479645,
0.06951438635587692,
-0.010291125625371933,
-0.06915952265262604,
0.030676230788230896,
0.04451601952314377,
-0.07881977409124374,
-0.014017223380506039,
-0.023480327799916267,
0.003972532227635384,
0.01811790280044079,
-0.007989423349499702,
-0.0002806278644129634,
0.06454625725746155,
-0.025747530162334442,
0.030498797073960304,
0.019645798951387405,
0.03931131213903427,
-0.019892234355211258,
0.03388974070549011,
-0.0380101352930069,
0.04203195497393608,
0.007210688199847937,
0.01748702861368656,
0.024190060794353485,
0.02738385833799839,
0.04629035294055939,
-0.005244136787950993,
0.04924757406115532,
0.018058758229017258,
0.01637314260005951,
-0.00026060501113533974,
-0.057803794741630554,
0.027699295431375504,
-0.0036472382489591837,
-0.046053774654865265,
-0.03101138211786747,
-0.06762176752090454,
-0.04562005028128624,
-0.00022348575294017792,
-0.03213512524962425,
0.015702838078141212,
-0.0025703171268105507,
0.0010904748924076557,
-0.014746670611202717,
0.03314058110117912,
0.004803018178790808,
0.03174082934856415,
-0.004480188246816397,
-0.03205626457929611,
0.037812989205121994,
0.0015919702127575874,
-0.014786100946366787,
0.07483738660812378,
-0.033199723809957504,
0.056147754192352295,
0.009413816966116428,
0.006969182286411524,
-0.017565887421369553,
0.02357890084385872,
0.07282647490501404,
0.04999673366546631,
-0.0924229845404625,
-0.01719130575656891,
-0.052441369742155075,
0.013958078809082508,
-0.02105540782213211,
-0.08619310706853867,
0.022632591426372528,
-0.03205626457929611,
0.05819809064269066,
-0.009182168170809746,
-0.0078021325170993805,
0.01415522675961256,
-0.0563449002802372,
0.011099432595074177,
-0.04116450250148773,
-0.039685893803834915,
-0.022336868569254875,
-0.050509318709373474,
0.013583498075604439,
0.029789064079523087,
-0.01420451421290636,
0.02182428352534771,
-0.005672933999449015,
-0.0455411896109581,
0.03988304361701012,
0.035250063985586166,
0.05776436626911163,
0.008122498169541359,
-0.020306244492530823,
0.005776436533778906,
-0.016678720712661743,
-0.025964392349123955,
0.00682624988257885,
0.04676350578665733,
0.00023349716502707452,
0.02923704870045185,
0.0017620102735236287,
-0.02838931232690811,
0.045186322182416916,
-0.08138269931077957,
0.021272270008921623,
-0.01633371226489544,
0.013563782908022404,
0.025846103206276894,
-0.03390945866703987,
0.02825130894780159,
-0.009280742146074772,
0.031346533447504044,
0.015150824561715126,
0.046053774654865265,
0.04857726767659187,
0.09605050832033157,
0.037753842771053314,
-0.015959130600094795,
-0.00908359419554472,
-0.03937045857310295,
-0.002502547577023506,
-0.025905247777700424,
0.0053377822041511536,
-0.020680826157331467,
-0.035092346370220184,
0.024150630459189415,
0.06994811445474625,
0.03286457434296608,
0.04668464884161949,
0.0019123356323689222,
0.005170206539332867,
0.022534016519784927,
0.03296314552426338,
0.01914307102560997,
0.03897616267204285,
0.024367494508624077,
0.0035141631960868835,
-0.01565355248749256,
-0.02271145023405552,
0.02367747575044632,
0.07050012797117233,
-0.04451601952314377,
-0.06766119599342346,
0.015456403605639935,
0.008536508306860924,
-0.008339360356330872,
-0.019635941833257675,
0.023480327799916267,
0.01911349967122078,
-0.0008964073495008051,
-0.00546099990606308,
0.045107465237379074,
0.009438460692763329,
0.01996123604476452,
0.011858453042805195,
-0.03897616267204285,
0.04084906727075577,
0.052559658885002136,
-0.04565947875380516,
-0.024998366832733154,
-0.015702838078141212,
0.008324574679136276,
0.05575345829129219,
-0.02819216437637806,
-0.056108321994543076,
-0.03436289727687836,
0.027088135480880737,
0.011286723427474499,
-0.09344815462827682,
0.0013566247653216124,
-0.007373335305601358,
0.0053328536450862885,
-0.025865819305181503,
-0.06809492409229279,
0.11726363748311996,
0.054452281445264816,
-0.0492081418633461,
-0.01825590617954731,
-0.007945064455270767,
0.037931278347969055,
0.031188813969492912,
0.005505358334630728,
0.014914247207343578,
-0.005988370627164841,
-0.0033441230189055204,
0.02996649779379368,
-0.02840902842581272,
-0.035250063985586166,
-0.05295395478606224,
0.025116655975580215,
-0.005958798341453075,
0.031602825969457626,
0.004775910638272762,
-0.01924164593219757,
-0.03732011839747429,
-0.04203195497393608,
-0.0050149522721767426,
0.002418759511783719,
-0.014046795666217804,
-0.08469478040933609,
0.03530920669436455,
0.006693175062537193,
-0.012775191105902195,
-0.021173695102334023,
0.0290399007499218,
-0.008107711561024189,
0.03747783601284027,
0.028645604848861694,
-0.008679441176354885,
0.03485576808452606,
0.010892427526414394,
-0.013800360262393951,
-0.01626471057534218,
0.014864959754049778,
-0.037004679441452026,
-0.10038776695728302,
0.001097867963835597,
-0.026200970634818077,
0.011119147762656212,
-0.006496026646345854,
-0.006180590018630028,
0.016028132289648056,
-0.006239734590053558,
-0.031405676156282425,
-0.04471316933631897,
-0.05192878469824791,
0.030735373497009277,
-0.049681298434734344,
-0.029591916128993034,
0.04002104699611664,
0.07093385607004166,
0.10835254192352295,
-0.022297440096735954,
0.0013196595245972276,
-0.021627135574817657,
0.012410467490553856,
0.005347639787942171,
0.024190060794353485,
0.00862522516399622,
-0.004499903414398432,
-0.03132681921124458,
-0.036846961826086044,
-0.014786100946366787,
0.042505111545324326,
0.008585795760154724,
-0.013613070361316204,
-0.000999910058453679,
-0.03672867268323898,
-0.006362951826304197,
0.009137810207903385,
0.016737865284085274,
-0.00959125068038702,
-0.08571995049715042,
-0.05938097834587097,
-0.06115531176328659,
-0.006121445447206497,
0.06868636608123779,
-0.013277918100357056,
-0.05910497158765793,
0.02643754705786705,
-0.02458435669541359,
0.04116450250148773,
0.009921473450958729,
-0.06438853591680527,
-0.03826642781496048,
0.0290399007499218,
-0.03450090065598488,
0.08264444768428802,
0.017171591520309448,
-0.014283373020589352,
0.0490109957754612,
-0.05819809064269066,
0.014845244586467743,
-0.0005929842591285706,
0.0058355811052024364,
0.02566867135465145,
0.06699088960886002,
-0.017142020165920258,
0.0016129171708598733,
-0.008265430107712746,
-0.0018260834040120244,
-0.003974996507167816,
-0.02361833117902279,
-0.0669514611363411,
0.03911416605114937,
0.003521556267514825,
0.027127565816044807,
0.0000909499212866649,
-0.04806468263268471,
0.05370311811566353,
0.004800553899258375,
-0.009857400320470333,
-0.13350863754749298,
-0.004179537761956453,
-0.025195514783263206,
0.04041534289717674,
0.03929159790277481,
0.04751266911625862,
0.036117516458034515,
0.0029966498259454966,
0.02937505394220352,
-0.03998161479830742,
-0.027147280052304268,
-0.008723799139261246,
0.06375766545534134,
-0.03396860137581825,
-0.024032341316342354,
0.03542749583721161,
0.03528949245810509,
-0.016668863594532013,
0.04581719636917114,
-0.02178485505282879,
-0.052362509071826935,
-0.009758826345205307,
-0.013751073740422726,
-0.05220479145646095,
0.013613070361316204,
0.01808832958340645,
-0.0030065071769058704,
-0.007462052162736654,
-0.02566867135465145,
0.03105081059038639,
0.0010257856920361519,
0.04743381217122078,
0.002856181701645255,
-0.009517320431768894,
0.06363938003778458,
0.07747916877269745,
-0.05299338325858116,
-0.004236217588186264,
0.016777295619249344,
-0.008916018530726433,
0.009300457313656807,
-0.09636594355106354,
-0.0362752340734005,
0.004078499507158995,
-0.08075182139873505,
-0.034146033227443695,
-0.07105214148759842,
0.060603298246860504,
-0.03808899596333504,
0.004945950582623482,
-0.04285997524857521,
-0.023204321041703224,
0.023401468992233276,
0.041401080787181854,
-0.009872186928987503,
-0.0030015783850103617,
0.032194267958402634,
0.030498797073960304,
-0.021725710481405258,
0.02549123764038086,
0.013593355193734169,
-0.024840649217367172,
0.015387401916086674,
-0.020661111921072006,
0.01724059320986271,
0.04211081564426422,
0.01813761703670025,
-0.0457383394241333,
0.024899793788790703,
-0.03720182925462723,
-0.004113000351935625,
-0.045935485512018204,
0.006688246037811041,
0.017565887421369553,
0.016875868663191795,
0.05027274042367935,
0.0071564726531505585,
-0.03903530538082123,
0.023953482508659363,
0.06450682878494263,
0.012597757391631603,
-0.03294343128800392,
-0.016668863594532013,
-0.003629987593740225,
-0.05559573695063591,
-0.006624172907322645,
0.06103702262043953,
0.024071771651506424,
-0.022060861811041832,
0.035092346370220184,
0.04136165231466293,
-0.01631399802863598,
0.0326082818210125,
-0.028566746041178703,
-0.011957027018070221,
0.01420451421290636,
-0.01726030744612217,
-0.025156086310744286,
0.06801605969667435,
-0.03718211501836777,
-0.009778541512787342,
0.008827301673591137,
0.008950519375503063,
-0.008664654567837715,
0.0436091385781765,
0.017053302377462387,
-0.0326082818210125,
-0.0011989063350483775,
0.0076148416846990585,
-0.035979513078927994,
0.011809165589511395,
-0.0348360538482666,
-0.08059410750865936,
-0.06296907365322113,
-0.060524437576532364,
-0.005717292428016663,
-0.0005409248406067491,
0.04802525416016579,
-0.03672867268323898,
-0.02111455239355564,
-0.00020084452989976853,
-0.004632978234440088,
0.0192022155970335,
-0.0026516406796872616,
-0.017989756539463997,
0.029769349843263626,
-0.02639811858534813,
0.05768550559878349,
0.032904002815485,
0.08887432515621185,
-0.052441369742155075,
0.01718144863843918,
0.007427551317960024,
0.011602160520851612,
0.009458175860345364,
0.01747717149555683,
0.01732930913567543,
-0.023007173091173172,
-0.004647764377295971,
0.03004535660147667,
0.02375633455812931,
0.07223503291606903,
-0.0022031289990991354,
0.019389506429433823,
0.023066317662596703,
0.018531912937760353,
-0.0059341550804674625,
0.03105081059038639,
-0.0012106120120733976,
-0.07026354968547821,
-0.053348250687122345,
0.06005128473043442,
-0.07436423003673553,
0.04258396849036217,
-0.018423480913043022,
0.06450682878494263,
0.06438853591680527,
-0.014253800734877586,
-0.029513057321310043,
-0.02732471376657486,
-0.011198006570339203,
-0.0017435277113690972,
0.021351128816604614,
0.027620436623692513,
-0.0028808251954615116,
0.006190447602421045,
0.0004497438785620034,
0.032332275062799454,
-0.02813301980495453,
0.01900506764650345,
-0.005875010509043932,
-0.007210688199847937,
-0.04857726767659187,
-0.022672021761536598,
0.007718344684690237,
0.006855822168290615,
0.025846103206276894,
0.008408362977206707,
-0.0344417579472065,
0.037872131913900375,
0.013218773528933525,
0.012725903652608395,
0.045107465237379074,
0.002267202129587531,
-0.006190447602421045
] |
710,364
|
leaguelosestreakmeter
|
losestreak
| null |
def losestreak(token, region, summoner_name):
lol_watcher = LolWatcher(token)
try:
summoner = lol_watcher.summoner.by_name(region, summoner_name)
except ApiError as err:
if err.response.status_code == 429:
raise Exception("you should retry in {} seconds".format(
err.response.headers["Retry-After"]), err.response.headers["Retry-After"])
elif err.response.status_code == 404:
raise Exception("summoner with that ridiculous name not found")
else:
raise Exception("unknow summoner fetching error ocurred")
matches = lol_watcher.match.matchlist_by_account(
region, summoner["accountId"], queue=420)
losestreak = 0
for match in matches["matches"]:
champion_id = match["champion"]
true_match = lol_watcher.match.by_id(region, match["gameId"])
for participant in true_match["participants"]:
if participant["championId"] == champion_id:
victim = participant["teamId"]
break
for team in true_match["teams"]:
if team["teamId"] == victim:
if team["win"] == "Fail":
losestreak += 1
elif team["win"] == "Win":
return losestreak
else:
raise Exception("lose detection failed")
|
(token, region, summoner_name)
|
[
0.021809803321957588,
-0.002464652294293046,
-0.07453937828540802,
0.0772092342376709,
-0.0328860804438591,
-0.03983130678534508,
-0.02659028209745884,
0.028087563812732697,
0.007094049360603094,
0.03395041450858116,
-0.046361617743968964,
-0.037414006888866425,
0.004385863430798054,
-0.036548107862472534,
0.006485214922577143,
0.02498476393520832,
0.024714170023798943,
0.04654201492667198,
-0.015072035603225231,
-0.027871089056134224,
0.02507496066391468,
0.03380609676241875,
0.007797591388225555,
-0.014278296381235123,
-0.0338602177798748,
0.021088222041726112,
-0.029206015169620514,
0.029133858159184456,
-0.05253114178776741,
-0.015126154758036137,
-0.04499061405658722,
-0.026085175573825836,
0.0013800248270854354,
0.025399671867489815,
-0.054659806191921234,
-0.00240827864035964,
-0.08940396457910538,
0.020438799634575844,
-0.074322909116745,
-0.06072109192609787,
0.000005773886186943855,
0.038171667605638504,
0.03882109001278877,
0.01635284349322319,
0.01449477020651102,
-0.02898954041302204,
0.04181565344333649,
-0.04405255615711212,
0.024840446189045906,
0.032453134655952454,
-0.013836327008903027,
0.015315569937229156,
-0.036079078912734985,
0.027907168492674828,
0.08529094606637955,
0.037991270422935486,
-0.01583871617913246,
0.013466516509652138,
0.01711050420999527,
-0.06245288997888565,
-0.0012187964748591185,
-0.01850856840610504,
0.02031252160668373,
0.0886823832988739,
0.0352853424847126,
-0.026085175573825836,
0.02505692094564438,
-0.016280684620141983,
-0.010986080393195152,
-0.05920577049255371,
0.03519514203071594,
0.03755832463502884,
-0.01568537950515747,
0.016325784847140312,
-0.014142999425530434,
0.01944662444293499,
-0.0027081859298050404,
-0.012564539909362793,
0.05516491457819939,
0.03838814049959183,
0.03119036555290222,
0.02916993573307991,
-0.01868896372616291,
0.0061244238168001175,
-0.005723044276237488,
-0.04693888500332832,
0.03070329688489437,
-0.044377267360687256,
-0.027979327365756035,
-0.058087319135665894,
0.004074681084603071,
0.04888715595006943,
0.0092993825674057,
-0.050763268023729324,
-0.0020948415622115135,
-0.001514193951152265,
-0.00022535331663675606,
0.036367714405059814,
-0.027600497007369995,
-0.028340118005871773,
0.010102142579853535,
0.05191779509186745,
-0.03600692376494408,
0.04567611590027809,
0.017498353496193886,
0.026662440970540047,
0.007590136490762234,
0.02801540680229664,
-0.015983032062649727,
0.037414006888866425,
-0.07894102483987808,
-0.051232293248176575,
-0.07360132783651352,
0.03615123778581619,
-0.04073328152298927,
0.01387240644544363,
0.02078155055642128,
0.017570512369275093,
0.00938958115875721,
-0.016758732497692108,
0.05090758204460144,
-0.022080397233366966,
-0.028628749772906303,
-0.03975914791226387,
0.048382047563791275,
0.0036778112407773733,
-0.00986762810498476,
0.030829574912786484,
0.0219180416315794,
0.014142999425530434,
0.01700226590037346,
0.042465079575777054,
-0.04242900013923645,
-0.0391097217798233,
0.02794324792921543,
0.03443748131394386,
0.02438945882022381,
-0.003235842566937208,
0.04307842254638672,
-0.06566392630338669,
0.004730869550257921,
0.00674227811396122,
0.00025382195599377155,
-0.002469161991029978,
0.025958897545933723,
-0.0131057258695364,
-0.06519489735364914,
0.0657721608877182,
0.09164086729288101,
0.024714170023798943,
0.013457496650516987,
-0.03929011896252632,
0.03831598535180092,
0.03221862018108368,
0.003519965335726738,
0.029115818440914154,
0.0025931838899850845,
-0.011599424295127392,
0.0017295408761128783,
-0.04708319902420044,
0.037702638655900955,
-0.047985177487134933,
0.011500206775963306,
-0.0367104634642601,
0.013926524668931961,
-0.017786987125873566,
-0.03449160233139992,
0.0514848493039608,
0.004485080484300852,
0.04091367870569229,
0.0009296000353060663,
0.0010124691762030125,
-0.018941517919301987,
0.02087174728512764,
-0.02182784304022789,
0.03205626457929611,
-0.04105799272656441,
-0.020059969276189804,
-0.03156919404864311,
-0.0038379121106117964,
0.004672240931540728,
-0.021124301478266716,
0.007928377948701382,
-0.0733848512172699,
-0.04159918054938316,
-0.00986762810498476,
-0.015099095180630684,
0.031028009951114655,
-0.037810876965522766,
0.05660807713866234,
0.003964188974350691,
-0.006733258254826069,
0.04156310111284256,
0.01993369124829769,
0.00321780308149755,
-0.0005800839862786233,
-0.04820165038108826,
0.06129835918545723,
0.01172570139169693,
-0.0782194435596466,
-0.030919771641492844,
0.07771433889865875,
-0.058087319135665894,
-0.007833670824766159,
-0.011906096711754799,
-0.017074424773454666,
-0.028809145092964172,
-0.0022639622911810875,
-0.0006888849311508238,
-0.05974695831537247,
-0.01991565339267254,
-0.005542648956179619,
0.01771482825279236,
0.07204992324113846,
0.04596474766731262,
-0.0305048618465662,
0.013737109489738941,
-0.024245142936706543,
0.02374003455042839,
-0.014359474182128906,
-0.038676775991916656,
-0.07331269234418869,
-0.05357743427157402,
-0.01717364229261875,
-0.010499012656509876,
0.02687891572713852,
-0.020565075799822807,
0.0006584431976079941,
0.060685012489557266,
0.019608980044722557,
-0.04553179815411568,
0.017498353496193886,
-0.009091928601264954,
-0.07215815782546997,
-0.0034590817522257566,
-0.003634967375546694,
-0.04693888500332832,
-0.07183344662189484,
0.037233609706163406,
-0.0034703565761446953,
0.0071932668797671795,
-0.024335339665412903,
-0.0023383754305541515,
0.010426854714751244,
0.059530481696128845,
-0.016767753288149834,
0.01468418538570404,
-0.010598230175673962,
0.010138222016394138,
0.04632553830742836,
0.0019088088301941752,
-0.023090612143278122,
0.026951072737574577,
0.029151897877454758,
0.027600497007369995,
-0.12526656687259674,
-0.056391604244709015,
0.02410082519054413,
0.03878501057624817,
0.005831281188875437,
0.04268155246973038,
0.046650249511003494,
-0.04069720208644867,
-0.02372199483215809,
-0.09517661482095718,
0.031046049669384956,
-0.021521171554923058,
-0.007987006567418575,
0.07273542881011963,
-0.05736573785543442,
0.027907168492674828,
-0.07078715413808823,
-0.03993954136967659,
-0.025886740535497665,
-0.017390117049217224,
0.029620924964547157,
0.038352061063051224,
0.011662562377750874,
0.04278979077935219,
-0.02440749853849411,
0.007671314291656017,
0.017904244363307953,
0.006007167045027018,
0.010688427835702896,
0.044846296310424805,
0.03373394161462784,
-0.0019369956571608782,
-0.03777479752898216,
0.025201238691806793,
0.004207722842693329,
-0.011464128270745277,
-0.03788303583860397,
0.05097974091768265,
0.0007046695682220161,
0.004543709103018045,
-0.008135832846164703,
0.01062528882175684,
0.03597084432840347,
0.001205266802571714,
-0.03497866913676262,
0.0281236432492733,
-0.008014066144824028,
0.011906096711754799,
-0.006904634181410074,
-0.03126252442598343,
-0.029675044119358063,
0.0017430705484002829,
-0.017561491578817368,
-0.01610931009054184,
-0.027149507775902748,
0.012627677991986275,
0.02305453270673752,
0.04488237574696541,
-0.07800297439098358,
0.06912751495838165,
-0.01982545480132103,
0.04087759926915169,
-0.002021556021645665,
0.0007565332343801856,
0.0013135040644556284,
0.05599473416805267,
-0.013655931688845158,
0.061154041439294815,
0.005538139026612043,
0.07706491649150848,
-0.05491236224770546,
0.03211038187146187,
-0.010598230175673962,
0.021881962195038795,
-0.010950000956654549,
-0.025219276547431946,
-0.1316164880990982,
0.008627410046756268,
-0.03469003736972809,
0.01850856840610504,
-0.002190676750615239,
-0.024064747616648674,
-0.003734184894710779,
0.007968966849148273,
0.026373807340860367,
0.03250725194811821,
-0.05069110915064812,
-0.04011993855237961,
-0.004762438591569662,
0.03209234029054642,
0.06714317202568054,
0.022459227591753006,
0.022820018231868744,
0.0333731509745121,
0.0791575014591217,
-0.0023180809803307056,
0.05346919596195221,
0.01759757101535797,
0.04996952787041664,
0.013213963247835636,
0.02458789385855198,
0.002428573090583086,
0.01329514104872942,
0.0025458300951868296,
-0.049716971814632416,
-0.13176080584526062,
-0.015414787456393242,
0.025525949895381927,
0.02469613030552864,
-0.06079325079917908,
0.008920552209019661,
-0.031316641718149185,
-0.051340531557798386,
-0.02601301670074463,
0.016785793006420135,
-0.09221813082695007,
-0.02507496066391468,
0.010499012656509876,
0.01382730808109045,
0.0485985204577446,
0.03420296683907509,
0.0772092342376709,
0.0008709715330041945,
0.018012480810284615,
0.023505520075559616,
-0.011049218475818634,
0.027420101687312126,
0.0030644668731838465,
-0.007878769189119339,
0.06313838809728622,
0.019663099199533463,
-0.05321664363145828,
-0.045134928077459335,
0.02327100746333599,
-0.057149264961481094,
0.02698715217411518,
0.02830403856933117,
0.06725140661001205,
0.043908242136240005,
-0.09705272316932678,
0.027203626930713654,
-0.05328880250453949,
-0.03339118883013725,
0.004938323982059956,
0.0023451403249055147,
0.022242752835154533,
0.015026937238872051,
-0.018833279609680176,
-0.03936227783560753,
-0.019121913239359856,
0.04607298597693443,
-0.04993344843387604,
-0.007747982628643513,
-0.0419599711894989,
-0.029314253479242325,
-0.06209209933876991,
-0.008541722781956196,
0.004494100343436003,
-0.06418468058109283,
-0.013881426304578781,
-0.03319275379180908,
-0.02171960659325123,
0.07067891955375671,
0.00925428420305252,
-0.019194070249795914,
0.01668657548725605,
-0.07331269234418869,
0.01877916231751442,
0.05206211283802986,
-0.021665487438440323,
0.005569708067923784,
-0.03411277011036873,
0.0010784262558445334,
-0.0514487698674202,
0.01043587364256382,
-0.023884350433945656,
-0.03499670699238777,
0.006985811982303858,
-0.07547743618488312,
0.02794324792921543,
0.004243801813572645,
-0.028430314734578133,
-0.008248579688370228,
-0.02469613030552864,
-0.0019922417122870684,
0.07605469971895218,
0.04950049892067909,
0.059350088238716125,
0.065700002014637,
0.08420857042074203,
-0.024912605062127113,
0.0040972307324409485,
-0.022549426183104515,
0.0038717363495379686,
-0.01686697080731392,
-0.03993954136967659,
-0.028755027800798416,
-0.044088635593652725,
0.026716558262705803,
-0.006895614322274923,
-0.005695984698832035,
-0.0552731528878212,
0.024551814422011375,
0.028610710054636,
0.003359864465892315,
-0.005664415657520294,
0.016984228044748306,
0.024082785472273827,
0.04149094223976135,
-0.014034762047231197,
-0.04297018423676491,
0.009515857324004173,
-0.08536310493946075,
0.03353550657629967,
-0.04527924582362175,
0.007914848625659943,
-0.02631969004869461,
0.01659637689590454,
0.009777430444955826,
0.0005535883828997612,
-0.03353550657629967,
-0.029963675886392593,
-0.002278619445860386,
0.018544647842645645,
0.039073646068573,
-0.03328295052051544,
0.02906169928610325,
0.04693888500332832,
-0.03497866913676262,
0.010372735559940338,
-0.06137051433324814,
-0.1000833660364151,
-0.05671631544828415,
-0.006841495633125305,
-0.019031714648008347,
-0.047804780304431915,
-0.052855852991342545,
-0.0018389056203886867,
0.014170059002935886,
-0.04167133942246437,
-0.014566929079592228,
0.02097998559474945,
0.04650593549013138,
0.041887812316417694,
-0.07183344662189484,
0.0018321408424526453,
0.023667877539992332,
-0.038279905915260315,
-0.02601301670074463,
0.006088344845920801,
0.0305048618465662,
0.026914993301033974,
0.012167669832706451,
0.03784695640206337,
0.034852392971515656,
-0.0007486409158445895,
-0.0007052332512103021,
0.04661417379975319,
0.03128056228160858,
-0.03517710417509079,
-0.051701322197914124,
0.002557104919105768,
0.0138182882219553,
-0.012573559768497944,
0.021683527156710625,
0.023613758385181427,
-0.02334316447377205,
0.03059506043791771,
0.008401915431022644,
0.005533629097044468,
0.002739755203947425,
0.008235050365328789,
0.040264252573251724,
-0.041130151599645615,
0.014170059002935886,
-0.0044061578810215,
0.02772677317261696,
-0.0152524309232831,
0.006710709072649479,
0.030144071206450462,
0.008492114022374153,
0.004848126322031021,
-0.032741766422986984,
-0.015802636742591858,
0.0553092323243618,
-0.019681138917803764,
-0.05177348107099533,
0.004464786034077406,
-0.009849589318037033,
-0.06032422184944153,
-0.012771994806826115,
-0.05011384189128876,
0.010977060534060001,
-0.05989127233624458,
-0.0034771214704960585,
0.030107993632555008,
0.029476609081029892,
0.06266936659812927,
-0.0400117002427578,
0.02334316447377205,
0.03162331506609917,
-0.009335462003946304,
0.00018138193991035223,
0.0715448185801506,
0.019194070249795914,
-0.01177079975605011,
-0.010526071302592754,
0.060215987265110016,
-0.029530728235840797,
-0.01766972988843918,
0.006503254175186157,
0.002778089139610529,
0.0019460153998807073,
-0.022062357515096664,
0.07367347925901413,
0.05289193242788315,
-0.005993637256324291,
0.02974720112979412,
-0.03882109001278877,
-0.0281236432492733,
0.03079349547624588,
0.0362233966588974,
-0.037702638655900955,
0.033120594918727875,
0.005231466609984636,
0.01114843599498272,
-0.030847614631056786,
-0.0219360813498497,
-0.05260330066084862,
-0.0371975302696228,
0.041130151599645615,
-0.038929328322410583,
0.011022158898413181,
-0.019753295928239822,
0.12122570723295212,
0.0018997890874743462,
0.009732332080602646,
-0.034852392971515656,
0.005732064135372639,
0.01962701976299286,
0.02668048068881035,
0.013962604105472565,
-0.0020373405423015356,
0.04654201492667198,
0.04888715595006943,
0.03429316729307175,
-0.003513200441375375,
-0.033030398190021515,
-0.022531386464834213,
0.029999755322933197,
0.00812230259180069,
-0.02507496066391468,
-0.0026585771702229977,
0.03250725194811821,
0.043619606643915176,
-0.007779551669955254,
-0.008419955149292946,
0.012790033593773842,
-0.03079349547624588,
0.05184563994407654,
0.05577825754880905,
0.010471953079104424,
0.021196460351347923,
0.05065502971410751,
0.018544647842645645,
0.07298798114061356,
0.020565075799822807,
0.005998147185891867,
-0.003653006860986352,
-0.002051997696980834,
-0.04221252351999283,
0.02677067741751671,
0.026626361533999443,
-0.034563757479190826,
-0.06169522926211357,
-0.034076690673828125,
0.002180529525503516,
0.00231357105076313,
-0.09604251384735107,
-0.047985177487134933,
0.0733848512172699,
0.03975914791226387,
-0.05711318552494049,
-0.03119036555290222,
-0.01271787565201521,
-0.02202627807855606,
0.02936837077140808,
0.013881426304578781,
0.054010383784770966,
-0.07360132783651352,
0.00769837386906147,
0.0018118462758138776,
0.06800906360149384,
0.01138294953852892,
0.017426196485757828,
0.02774481289088726,
0.023000413551926613,
0.005587747786194086,
-0.0004323852190282196,
0.005254016257822514,
-0.014503790065646172,
0.029675044119358063,
-0.0064356061629951,
0.001551400520838797,
-0.025201238691806793,
-0.020907826721668243,
0.025201238691806793,
-0.05520099401473999,
0.009885667823255062,
0.02640988677740097,
0.012799053452908993,
0.010868823155760765,
0.0016607651486992836,
0.03429316729307175,
0.006349917966872454,
-0.037810876965522766,
-0.028159722685813904,
-0.016253625974059105,
0.022080397233366966,
-0.00963311456143856,
-0.021016065031290054,
-0.04394432157278061,
0.02505692094564438,
-0.03766655921936035,
-0.029512688517570496,
-0.07807513326406479,
0.039795227348804474,
-0.05480412393808365,
-0.03380609676241875,
0.03882109001278877,
0.10809292644262314,
-0.034852392971515656,
0.028267959132790565,
0.025580067187547684,
0.017615610733628273,
-0.019410545006394386,
-0.02467809058725834,
0.006751297973096371,
0.04784085974097252,
-0.05931400880217552,
-0.013024548068642616,
-0.011103336699306965,
0.02105214260518551,
-0.027149507775902748,
-0.00832073763012886,
0.012420223094522953,
-0.013836327008903027,
0.043042343109846115,
0.000574164732825011,
-0.024732209742069244,
-0.010995100252330303,
0.004593317862600088,
-0.00850113295018673,
-0.010886862874031067,
-0.01888739876449108,
-0.038857169449329376,
-0.040480729192495346,
0.028087563812732697,
-0.010029984638094902,
0.008257599547505379,
0.0002194340922869742,
0.03225469961762428,
-0.01721874065697193,
0.00017997260147240013,
-0.029422489926218987,
-0.013376318849623203,
0.042284682393074036,
0.019699178636074066,
0.028538553044199944,
-0.0380995087325573,
-0.014215157367289066,
0.032561369240283966,
-0.014161039143800735,
0.03519514203071594,
0.012420223094522953,
-0.030937811359763145,
-0.05404646322131157,
-0.024425538256764412,
-0.025489870458841324,
0.04329489544034004,
0.01158138457685709,
-0.0037138904444873333,
0.04203213006258011,
0.07298798114061356,
0.0035244752652943134,
0.04091367870569229,
-0.008235050365328789,
-0.04044464975595474,
-0.04239292070269585,
0.008870944380760193,
0.03986738249659538,
0.002155725145712495,
-0.0064356061629951,
0.009091928601264954,
-0.011211574077606201,
0.07425075024366379,
-0.032561369240283966,
0.026175372302532196,
0.012898270972073078,
-0.013953584246337414,
0.03449160233139992,
0.0027442651335150003,
-0.01711050420999527,
0.038460299372673035,
0.06411252915859222,
0.08161088079214096,
0.0305048618465662,
0.005321664270013571,
0.0032538820523768663,
-0.025886740535497665,
0.025958897545933723,
-0.037810876965522766,
-0.01595597341656685
] |
710,366
|
offtheface.offtheface
|
ping
|
Example function with PEP 484 type annotations.
Returns:
리턴 없이 화면 print
|
def ping():
"""Example function with PEP 484 type annotations.
Returns:
리턴 없이 화면 print
"""
if len(sys.argv) > 1:
n = int(sys.argv[1])
print(f"{'o' * n}fftheface")
else:
print('offtheface')
|
()
|
[
0.02981140837073326,
-0.03208854794502258,
0.028924887999892235,
-0.02216299995779991,
0.040606092661619186,
0.0005168650532141328,
-0.010064609348773956,
0.0017263238551095128,
0.009247620590031147,
-0.06268218159675598,
-0.025587400421500206,
-0.0019903243519365788,
-0.025917673483490944,
-0.017817314714193344,
-0.0014221258461475372,
-0.007374629843980074,
0.027621181681752205,
0.04936699569225311,
-0.008839125744998455,
0.0015829162439331412,
0.0418228842318058,
0.042413897812366486,
0.03959789499640465,
0.010299276560544968,
-0.009221546351909637,
0.043039675801992416,
0.04888027906417847,
-0.01847785897552967,
-0.032105930149555206,
-0.04356116056442261,
-0.02477041259407997,
-0.04992324486374855,
-0.020389961078763008,
0.03907641023397446,
0.005336502566933632,
0.03772055730223656,
-0.010898981243371964,
0.0810035914182663,
-0.10860738903284073,
-0.019451292231678963,
0.01365414634346962,
-0.048184968531131744,
-0.021450307220220566,
0.02369268238544464,
-0.049610354006290436,
-0.012619872577488422,
0.0526001863181591,
-0.0029376838356256485,
-0.07217315584421158,
0.005697194952517748,
-0.0024096830748021603,
-0.022649716585874557,
0.02191964164376259,
-0.004019760061055422,
-0.029029184952378273,
0.006644554436206818,
0.002340152161195874,
0.023988189175724983,
-0.008082976564764977,
0.004536896478384733,
-0.01261118147522211,
0.030245976522564888,
-0.010290585458278656,
-0.010386190377175808,
0.019225316122174263,
-0.005553787108510733,
0.03605181351304054,
-0.00406538974493742,
-0.02324073016643524,
-0.007800506893545389,
0.03299244865775108,
0.02623056247830391,
-0.05812789872288704,
0.012498193420469761,
0.0395631268620491,
-0.0386592261493206,
-0.026039352640509605,
0.02254542149603367,
-0.0014883975964039564,
0.02056378684937954,
0.015122988261282444,
-0.007748358882963657,
0.02278877981007099,
0.032384052872657776,
0.01402787584811449,
-0.010812067426741123,
0.0123765142634511,
-0.006674974225461483,
-0.016704818233847618,
0.022736631333827972,
-0.041336167603731155,
-0.013358639553189278,
-0.0011559525737538934,
0.022302061319351196,
-0.028125282377004623,
-0.00206854660063982,
0.03332272171974182,
-0.026943255215883255,
-0.0276559479534626,
-0.019851095974445343,
-0.029933087527751923,
0.02028566412627697,
0.011629056185483932,
-0.038554929196834564,
0.0227192472666502,
-0.019764181226491928,
-0.002285830909386277,
0.03523482382297516,
-0.01149868592619896,
-0.0015601014019921422,
-0.03772055730223656,
-0.04168382287025452,
-0.01807805523276329,
-0.05701540410518646,
0.06591536849737167,
0.030958669260144234,
0.01745227538049221,
0.02018136717379093,
-0.01647884212434292,
0.00411971053108573,
0.014479827135801315,
0.012046242132782936,
-0.0002774449239950627,
-0.0972043126821518,
0.049262698739767075,
0.04981894791126251,
-0.02725614421069622,
0.023988189175724983,
0.03706001117825508,
-0.0005081737181171775,
0.03619087487459183,
0.00935191661119461,
-0.027395205572247505,
0.04283108562231064,
0.021450307220220566,
-0.01711331307888031,
-0.017261065542697906,
0.03412232920527458,
0.0026139302644878626,
-0.030871756374835968,
-0.023431940004229546,
-0.03321842476725578,
0.024318460375070572,
-0.0458904467523098,
-0.05200917273759842,
0.006305590737611055,
-0.007704901974648237,
-0.07119972258806229,
0.028594616800546646,
0.04004984349012375,
0.04922793433070183,
0.021450307220220566,
-0.023205965757369995,
-0.01875598169863224,
0.005840602330863476,
0.01886027865111828,
0.037546731531620026,
-0.08941683918237686,
0.005049687344580889,
-0.01802590675652027,
-0.009056409820914268,
0.01598343439400196,
0.014080023393034935,
-0.008200310170650482,
-0.018790747970342636,
0.013010985217988491,
-0.02369268238544464,
0.044569358229637146,
0.08086453378200531,
0.041162341833114624,
0.008556656539440155,
-0.022684482857584953,
0.03460904583334923,
-0.006522875279188156,
0.1330823004245758,
0.0638294368982315,
-0.0413709320127964,
0.008304606191813946,
0.039458829909563065,
-0.02391865663230419,
-0.016470151022076607,
-0.029533283784985542,
-0.024735646322369576,
-0.05346932262182236,
0.03580845519900322,
0.01988586038351059,
0.04168382287025452,
0.035495564341545105,
-0.02850770205259323,
-0.018547389656305313,
0.01609642244875431,
0.03925023972988129,
0.03394849970936775,
0.06866184622049332,
0.002459658542647958,
-0.04443029686808586,
-0.011377006769180298,
-0.03643423318862915,
0.04759395495057106,
-0.09094652533531189,
0.004202278796583414,
0.07710985839366913,
-0.007270333357155323,
-0.006083960644900799,
0.035217441618442535,
0.01637454517185688,
0.04220530390739441,
0.04884551465511322,
-0.056181032210588455,
-0.06747981905937195,
0.044221702963113785,
-0.043943580240011215,
0.02254542149603367,
0.014575432054698467,
-0.022806162014603615,
-0.03389635309576988,
0.04533420130610466,
0.0026704242918640375,
-0.06960051506757736,
0.017487041652202606,
0.07279893755912781,
0.015331581234931946,
0.016122495755553246,
0.019503440707921982,
0.04849785938858986,
0.03156706690788269,
0.027047552168369293,
0.04300491139292717,
0.0011054339120164514,
-0.05972711369395256,
0.028003603219985962,
-0.030628396198153496,
-0.049158401787281036,
0.05746735632419586,
-0.004971465095877647,
-0.047628723084926605,
-0.009360608644783497,
-0.011307476088404655,
-0.054755646735429764,
-0.04401311278343201,
0.026143649592995644,
0.012854539789259434,
0.03761626034975052,
0.0048193661496043205,
0.0010831622639670968,
-0.03813774138689041,
0.0017198054119944572,
0.0029941778630018234,
-0.03619087487459183,
0.026161031797528267,
-0.03772055730223656,
-0.0675145834684372,
0.021971790120005608,
-0.0031658324878662825,
-0.017130695283412933,
0.01593128591775894,
-0.07863953709602356,
-0.04112757369875908,
0.03949359804391861,
0.05972711369395256,
-0.06560248136520386,
0.03502622991800308,
-0.030923902988433838,
0.06960051506757736,
0.01647884212434292,
-0.0018338796216994524,
-0.08392389118671417,
-0.003437437815591693,
-0.0016013854183256626,
-0.09470119327306747,
0.023205965757369995,
0.00298331375233829,
-0.00960396695882082,
-0.015392420813441277,
-0.06108296662569046,
0.009656115435063839,
0.04345686361193657,
0.08670513331890106,
0.03014167957007885,
-0.026091501116752625,
0.04658575728535652,
-0.03452213108539581,
0.0055581326596438885,
0.00013383355690166354,
-0.06814035773277283,
-0.001630718819797039,
0.022649716585874557,
0.050792381167411804,
-0.024892091751098633,
-0.04084945097565651,
0.03879828751087189,
0.01706116460263729,
0.06038765609264374,
0.007478926330804825,
0.006822727620601654,
0.03450474888086319,
0.02680419385433197,
-0.02635224163532257,
-0.007113888394087553,
-0.059866175055503845,
0.029776642099022865,
-0.08051687479019165,
-0.028646763414144516,
-0.047176770865917206,
-0.02169366553425789,
0.026213180273771286,
0.04234436899423599,
-0.05378221347928047,
0.023710064589977264,
-0.05642439052462578,
-0.03186257183551788,
-0.005366922821849585,
0.002872498705983162,
0.026665130630135536,
0.012906688265502453,
0.02708231657743454,
-0.013932269997894764,
-0.01825188286602497,
0.002390127396211028,
0.039806485176086426,
-0.014297308400273323,
0.0138279739767313,
0.07773564010858536,
0.07432861626148224,
-0.03161921352148056,
-0.03744243457913399,
0.03142800182104111,
0.008487124927341938,
0.08260280638933182,
0.001974028069525957,
-0.020581170916557312,
-0.015314198099076748,
0.023310260847210884,
-0.015383729711174965,
-0.051140036433935165,
0.010638239793479443,
-0.008534927852451801,
0.020042305812239647,
-0.02911609783768654,
-0.02148507349193096,
0.03789438307285309,
0.006575023289769888,
-0.012133155949413776,
0.032331906259059906,
0.09122464805841446,
0.07189503312110901,
0.00037481545587070286,
-0.00537126837298274,
0.07265987247228622,
0.017704326659440994,
0.01261118147522211,
0.03938930109143257,
-0.011724662035703659,
0.00003089511301368475,
0.0846192017197609,
0.021797962486743927,
0.06553295254707336,
-0.01074253674596548,
-0.017208917066454887,
0.013445553369820118,
-0.04293538257479668,
-0.02663036622107029,
0.007405049633234739,
-0.016139879822731018,
-0.03446998447179794,
-0.0076831732876598835,
0.06911379843950272,
0.006666282657533884,
0.015887828543782234,
0.060491953045129776,
-0.02843817137181759,
-0.006175220012664795,
-0.07356377691030502,
-0.05280878022313118,
-0.01727844960987568,
0.02329287864267826,
0.012107081711292267,
-0.0059014419093728065,
-0.006214331369847059,
0.027325674891471863,
-0.007631025277078152,
0.00531042879447341,
0.0046629211865365505,
0.009708262979984283,
-0.044221702963113785,
-0.02906394936144352,
-0.09546604007482529,
0.010299276560544968,
-0.013115281239151955,
0.03949359804391861,
-0.009325842373073101,
0.018199734389781952,
0.0395631268620491,
-0.0022336826659739017,
-0.017191534861922264,
0.038102976977825165,
-0.013263034634292126,
-0.008152507245540619,
-0.08267233520746231,
0.03208854794502258,
0.03931976854801178,
-0.004189241677522659,
-0.019294846802949905,
0.005814528092741966,
-0.016643978655338287,
0.00821334682404995,
0.007139962632209063,
-0.047107238322496414,
-0.020529022440314293,
0.04550802707672119,
0.018825512379407883,
-0.0007175814243964851,
-0.019399143755435944,
0.006883567199110985,
0.008452359586954117,
0.010099374689161777,
-0.023988189175724983,
-0.010464413091540337,
-0.016565756872296333,
-0.02437060885131359,
0.028646763414144516,
-0.043491628021001816,
0.05840602517127991,
0.11347456276416779,
0.06629779189825058,
0.015461951494216919,
0.02873367816209793,
0.012915379367768764,
0.02640439011156559,
0.012715478427708149,
-0.060213830322027206,
-0.020389961078763008,
0.001988151576370001,
-0.05642439052462578,
0.02482256107032299,
-0.0006056800484657288,
0.03984125331044197,
-0.07606689631938934,
0.05927516147494316,
0.014201702550053596,
0.0138279739767313,
0.031758274883031845,
0.016122495755553246,
0.02843817137181759,
-0.004106673412024975,
-0.0012211378198117018,
-0.027117082849144936,
-0.03653853014111519,
0.010959820821881294,
-0.029776642099022865,
-0.025170214474201202,
-0.01495785266160965,
0.025031153112649918,
-0.031149879097938538,
0.07759657502174377,
-0.0846192017197609,
-0.08023875206708908,
0.06758411228656769,
-0.049992773681879044,
-0.01813020370900631,
-0.042066242545843124,
0.0638989731669426,
-0.05319119989871979,
-0.003228844841942191,
0.022284679114818573,
0.01295014563947916,
0.04936699569225311,
0.04811543971300125,
-0.03977172076702118,
-0.014940469525754452,
0.009995078667998314,
-0.018234500661492348,
-0.02299737185239792,
0.029203012585639954,
0.04383928328752518,
0.04050179570913315,
-0.04307444393634796,
0.014775332994759083,
0.003365734126418829,
-0.011742044240236282,
-0.04015414044260979,
0.0164266936480999,
-0.010160214267671108,
0.029150864109396935,
-0.014836173504590988,
-0.04036273434758186,
0.0040284511633217335,
-0.023988189175724983,
-0.02306690253317356,
-0.039458829909563065,
0.007678827736526728,
0.04842832684516907,
0.03309674561023712,
-0.10081992298364639,
0.033461783081293106,
-0.0213633943349123,
-0.031149879097938538,
0.05541619285941124,
-0.016339780762791634,
-0.027047552168369293,
-0.0015731384046375751,
0.012906688265502453,
-0.0231711994856596,
-0.0575716532766819,
0.015618396922945976,
-0.021432925015687943,
0.04846309497952461,
-0.007822235114872456,
-0.00293985684402287,
0.07005245983600616,
0.0003088153316639364,
-0.01510560605674982,
0.05965758115053177,
0.04585568234324455,
0.036573294550180435,
0.0008892360492609441,
0.03573892265558243,
0.008665298111736774,
0.02464873343706131,
-0.01802590675652027,
0.024283695966005325,
0.015296815894544125,
-0.013193503953516483,
-0.033409636467695236,
0.012480811215937138,
0.016730891540646553,
0.005944898817688227,
0.02118956670165062,
0.004619464743882418,
0.06010953336954117,
0.039980314671993256,
0.0076918648555874825,
0.004654230084270239,
-0.04477795213460922,
0.017747782170772552,
0.007561494130641222,
-0.060144297778606415,
-0.014610197395086288,
0.04230960085988045,
0.02810789830982685,
0.0028246960137039423,
-0.030002618208527565,
-0.020668083801865578,
-0.049888480454683304,
-0.024179399013519287,
0.0011298784520477057,
0.0008414335316047072,
0.011237944476306438,
0.011411772109568119,
0.010255820117890835,
-0.03768579289317131,
-0.08023875206708908,
-0.026334859430789948,
0.010221053846180439,
-0.040884215384721756,
0.10874645411968231,
0.024179399013519287,
-0.004919317085295916,
0.03314889594912529,
-0.007704901974648237,
-0.03605181351304054,
-0.024892091751098633,
0.04109280928969383,
0.008448014035820961,
-0.06768841296434402,
0.01467972807586193,
-0.006279516499489546,
-0.0037177347112447023,
-0.030385037884116173,
-0.019920626655220985,
0.05534666031599045,
-0.01554886531084776,
0.037546731531620026,
-0.034591663628816605,
-0.0642813891172409,
0.006927024107426405,
0.019451292231678963,
0.020598553121089935,
0.01388012245297432,
0.02996785193681717,
-0.10040273517370224,
0.009056409820914268,
-0.044951777905225754,
-0.013393404893577099,
0.014766641892492771,
0.03911117836833,
0.027516886591911316,
-0.07690126448869705,
0.00733551848679781,
-0.0004201735428068787,
-0.07509346306324005,
-0.04721153527498245,
0.017608720809221268,
-0.011629056185483932,
-0.028264343738555908,
0.0012591625563800335,
0.024353226646780968,
-0.0018882007570937276,
0.03412232920527458,
0.0018099783919751644,
-0.021502455696463585,
0.03474810719490051,
-0.014940469525754452,
-0.028403405100107193,
0.034991465508937836,
0.012819774448871613,
-0.004649884533137083,
-0.014488518238067627,
-0.005601589567959309,
-0.018912427127361298,
-0.03450474888086319,
0.0016470151022076607,
-0.03054148331284523,
-0.0035069689620286226,
-0.025587400421500206,
0.006518529262393713,
0.039632659405469894,
0.03389635309576988,
0.03076745942234993,
0.02011183649301529,
-0.037094779312610626,
0.09908165037631989,
0.0017317560268566012,
-0.01444506086409092,
0.0422748364508152,
0.047976378351449966,
-0.05899703875184059,
-0.038833051919937134,
-0.013593306764960289,
-0.03474810719490051,
0.016470151022076607,
0.023014754056930542,
-0.020198749378323555,
-0.046377163380384445,
-0.05256542190909386,
-0.07265987247228622,
-0.038554929196834564,
-0.01173335313796997,
-0.05009707063436508,
0.03931976854801178,
-0.031202027574181557,
-0.002768202219158411,
0.02351885475218296,
-0.025291893631219864,
0.04255295917391777,
0.019138403236865997,
-0.07161691039800644,
-0.008708755485713482,
0.08531451225280762,
-0.019312230870127678,
0.03241882100701332,
0.02018136717379093,
0.03485240414738655,
0.07891765981912613,
-0.019294846802949905,
0.014888321049511433,
-0.005232206545770168,
0.009560509584844112,
0.002744300989434123,
-0.06393373757600784,
-0.01920793391764164,
-0.02084191143512726,
-0.015835680067539215,
0.008482779376208782,
-0.026995403692126274,
-0.014810099266469479,
-0.017591338604688644,
-0.07655361294746399,
-0.027464738115668297,
-0.01978156343102455,
-0.003126721363514662,
0.060596249997615814,
0.044221702963113785,
-0.036573294550180435,
-0.004584698937833309,
-0.03137585520744324,
-0.006666282657533884,
0.04627286642789841,
-0.004273982252925634,
-0.007313790265470743,
0.04300491139292717,
-0.0899730920791626,
0.007717939093708992,
-0.06522005796432495,
-0.0010445943335071206,
0.07502392679452896,
-0.009621349163353443,
0.006596751976758242,
-0.01467103697359562,
-0.0035786726512014866,
-0.08580122888088226,
0.015505408868193626,
0.04029320180416107,
0.02470088005065918,
0.01740012876689434,
-0.0028442516922950745,
-0.07523252069950104,
-0.015314198099076748,
-0.013697602786123753,
-0.04335256665945053,
0.034191858023405075,
-0.017608720809221268,
-0.004810674581676722,
0.0168786458671093,
-0.04175335541367531,
0.022058703005313873,
-0.043491628021001816,
-0.017686942592263222,
-0.030072148889303207,
0.014697111211717129,
-0.035217441618442535,
0.07808329164981842,
0.020024921745061874,
-0.016522299498319626,
-0.028229577466845512,
0.002789930673316121,
-0.06494193524122238,
0.05910133197903633,
-0.015461951494216919,
0.02023351565003395,
-0.011985402554273605,
0.04936699569225311,
0.01870383322238922,
-0.00843932293355465,
0.03796391561627388,
-0.0010299276327714324,
-0.03841586783528328,
-0.057536885142326355,
-0.01252426765859127,
-0.008878237567842007,
0.038276806473731995,
-0.02635224163532257,
-0.0386592261493206,
-0.007387666497379541,
-0.0006800998817197978,
-0.006605443079024553,
0.05840602517127991,
-0.034591663628816605,
0.03485240414738655,
-0.05965758115053177,
0.01470580231398344,
-0.000003335653673275374,
-0.03695571795105934,
-0.017608720809221268,
0.03559986129403114,
-0.010029844008386135,
0.02821219526231289,
0.022128235548734665,
0.008652261458337307,
0.037199076265096664,
0.033340103924274445,
0.015270741656422615,
-0.027221379801630974,
0.010586092248558998,
0.06136108934879303,
0.018008524551987648,
0.006453344132751226,
0.018217116594314575,
-0.004906279966235161,
-0.018443092703819275,
-0.06407279521226883,
0.0445345938205719,
0.000907162029761821,
0.01649622432887554,
0.005579861346632242,
-0.001457977807149291,
-0.03931976854801178,
0.018199734389781952
] |
710,372
|
xer_reader.src.table
|
Table
|
A class representing a P6 table
|
class Table:
"""A class representing a P6 table"""
depends: list[str]
description: str
key: str | None
def __init__(
self, name: str, labels: list[str], entries: list[dict[str, str]]
) -> None:
self.name: str = name
self.entries: list[dict[str, str]] = entries
self.labels: list[str] = labels
try:
self.description = table_data[name]["description"]
self.key = table_data[name]["key"]
self.depends = table_data[name]["depends"]
except KeyError:
self.description = ""
self.key = None
self.depends = []
def __bool___(self) -> bool:
return len(self.entries) > 0
def __len__(self) -> int:
return len(self.entries)
def __str__(self) -> str:
return self.name
@property
def values(self) -> list[list[str]]:
return [list(entry.values()) for entry in self.entries]
|
(name: str, labels: list[str], entries: list[dict[str, str]]) -> None
|
[
0.04869544878602028,
-0.021125497296452522,
-0.05314863845705986,
-0.038594312965869904,
-0.02331588789820671,
-0.034666091203689575,
-0.00037223054096102715,
0.020401401445269585,
0.026049351319670677,
-0.032258473336696625,
0.0035231790971010923,
0.04876786097884178,
0.00015966880891937762,
0.0014346149982884526,
-0.008091771975159645,
-0.02456495352089405,
0.03968045487999916,
0.022935738787055016,
0.024510646238923073,
0.033688563853502274,
0.021686673164367676,
0.01627405546605587,
0.023243479430675507,
0.02965172752737999,
0.0032561689149588346,
-0.01868167519569397,
-0.0027696669567376375,
0.001247934065759182,
0.0394270233809948,
-0.030466334894299507,
-0.030973203480243683,
0.015921058133244514,
-0.030737871304154396,
0.027895795181393623,
-0.019315257668495178,
-0.04406123608350754,
0.020799655467271805,
-0.002980107208713889,
-0.033634256571531296,
0.04406123608350754,
0.03093699738383293,
-0.001645055366680026,
-0.044387079775333405,
-0.034394554793834686,
0.021559955552220345,
0.004539176356047392,
-0.025886429473757744,
0.00777950556948781,
0.025614893063902855,
-0.06911495327949524,
-0.0073676761239767075,
0.0346841923892498,
0.02127031795680523,
0.030176697298884392,
-0.0683908611536026,
-0.008576011285185814,
-0.02340639941394329,
0.016907639801502228,
-0.0009973290143534541,
0.022211642935872078,
-0.006286057643592358,
0.030068082734942436,
0.00010090672731166705,
0.008354256860911846,
0.022446973249316216,
-0.02054622210562229,
-0.023931369185447693,
-0.038630515336990356,
-0.002545649651437998,
0.004066251218318939,
-0.0365668423473835,
0.011603636667132378,
0.03490142151713371,
0.04359057545661926,
-0.018029987812042236,
-0.008127976208925247,
-0.01834678091108799,
-0.08986030519008636,
0.03710991516709328,
-0.06296014040708542,
-0.03975286707282066,
-0.0008078194805420935,
0.0013248692266643047,
-0.028927631676197052,
0.0703459158539772,
0.011739404872059822,
0.06784778833389282,
0.03361615166068077,
-0.016989100724458694,
0.0606430321931839,
-0.060932669788599014,
0.018790289759635925,
-0.03928220272064209,
0.019749715924263,
-0.001107640448026359,
-0.017848964780569077,
0.004729251377284527,
-0.07421983033418655,
-0.0752335637807846,
0.007996734231710434,
0.08790524303913116,
-0.025868326425552368,
0.013513440266251564,
0.013151392340660095,
0.01083428505808115,
-0.05180906131863594,
-0.040151119232177734,
-0.0009809236507862806,
-0.0016246902523562312,
-0.02724410779774189,
-0.05933966115117073,
0.07262682169675827,
-0.0019810812082141638,
0.009883909486234188,
0.06372044235467911,
-0.06882531940937042,
-0.03271103277802467,
-0.05021605268120766,
-0.01558616477996111,
-0.023515013977885246,
0.03285585343837738,
0.019695408642292023,
-0.022573690861463547,
0.06907875090837479,
-0.007960529066622257,
0.008471922017633915,
0.021288419142365456,
-0.024637363851070404,
0.04427846521139145,
-0.03162488713860512,
0.0202384814620018,
-0.02688205987215042,
-0.01725158467888832,
0.018880801275372505,
0.05340207368135452,
-0.03634961321949959,
0.04453189671039581,
0.024239109829068184,
0.018844595178961754,
0.02376844733953476,
0.03892015665769577,
-0.02760615572333336,
0.0006986394291743636,
-0.0322403721511364,
0.009010468609631062,
-0.06763055920600891,
-0.0009486787603236735,
0.04366298392415047,
-0.03345322981476784,
-0.04956436529755592,
-0.07646452635526657,
-0.06049821153283119,
-0.018455393612384796,
0.0021688935812562704,
0.014147023670375347,
0.034629885107278824,
-0.055538155138492584,
-0.07342332601547241,
0.029018143191933632,
-0.024945104494690895,
-0.009245799854397774,
-0.024999411776661873,
-0.027533747255802155,
-0.00025838345754891634,
-0.055827796459198,
0.029181065037846565,
0.03687458485364914,
-0.08703632652759552,
-0.025089923292398453,
0.009476604871451855,
0.018093345686793327,
-0.08884657174348831,
0.0007518152124248445,
0.06893393397331238,
-0.047066234052181244,
0.04471292346715927,
0.04645075276494026,
0.034394554793834686,
0.03312738612294197,
-0.011965684592723846,
-0.010128291323781013,
-0.004326472990214825,
-0.039970092475414276,
0.02800440974533558,
0.021071191877126694,
-0.0045255995355546474,
0.012382039800286293,
0.017269687727093697,
0.05513990297913551,
0.018401088193058968,
-0.07161308825016022,
-0.06585652381181717,
0.029941365122795105,
0.0645531490445137,
0.011974736116826534,
-0.04485774040222168,
0.019333360716700554,
0.04540081322193146,
-0.0404045507311821,
0.02977844513952732,
-0.03041202761232853,
-0.008476447314023972,
0.0279501024633646,
0.04648695886135101,
-0.022356461733579636,
0.002295610262081027,
0.0030796704813838005,
-0.02434772439301014,
-0.014653891324996948,
-0.030303413048386574,
0.012255323119461536,
-0.020310889929533005,
-0.04297509044408798,
-0.014943528920412064,
0.03258431702852249,
-0.05061430484056473,
-0.004254063591361046,
-0.01812955178320408,
-0.04543701931834221,
0.0033874111250042915,
0.059231046587228775,
-0.025089923292398453,
0.013821180909872055,
-0.010490339249372482,
-0.005503128748387098,
-0.05763803422451019,
-0.009838652797043324,
-0.005598166491836309,
0.018826493993401527,
-0.025216640904545784,
-0.003973476123064756,
-0.04029593616724014,
-0.02536145970225334,
-0.02005745656788349,
0.06875290721654892,
0.04453189671039581,
-0.018880801275372505,
-0.02340639941394329,
0.02447444200515747,
0.027696669101715088,
0.005385463126003742,
-0.026682933792471886,
-0.02148754522204399,
-0.034267839044332504,
-0.022899532690644264,
0.028113024309277534,
0.049383342266082764,
-0.024673568084836006,
-0.0665082111954689,
-0.028637994080781937,
0.005362835247069597,
-0.03526347130537033,
0.06122231110930443,
0.016346465796232224,
0.048659246414899826,
-0.031498171389102936,
0.0015986680518835783,
-0.005313053727149963,
0.05282279849052429,
-0.02809492126107216,
-0.0029914211481809616,
-0.0867466926574707,
0.013920743949711323,
0.051302194595336914,
0.0361504890024662,
-0.02594073675572872,
-0.029995672404766083,
0.030466334894299507,
-0.04406123608350754,
-0.02661052532494068,
0.05695014446973801,
0.034629885107278824,
-0.008444768376648426,
-0.021071191877126694,
-0.0072228568606078625,
-0.007711621467024088,
0.023297786712646484,
0.003864862024784088,
-0.07429224252700806,
-0.0500350259244442,
0.03111802227795124,
-0.06216363236308098,
0.0033874111250042915,
-0.0005328893312253058,
0.028837120160460472,
-0.0549226738512516,
-0.05347448214888573,
0.016201645135879517,
0.004321947693824768,
-0.0003207518602721393,
0.03544449433684349,
0.01491637621074915,
-0.01694384403526783,
-0.0003487539943307638,
0.03434024751186371,
0.019514385610818863,
-0.004842391237616539,
0.003149817232042551,
0.010779977776110172,
-0.0452921986579895,
0.04818858206272125,
-0.017450710758566856,
0.15104641020298004,
0.044025029987096786,
-0.09543584287166595,
-0.011485971510410309,
0.04159931093454361,
0.006715989671647549,
0.04152689874172211,
-0.03434024751186371,
0.06111369654536247,
0.032258473336696625,
0.0009667811682447791,
0.0923946350812912,
-0.04022352769970894,
-0.029271576553583145,
-0.0684632658958435,
-0.035860851407051086,
0.0037517219316214323,
0.042649250477552414,
-0.044423285871744156,
0.024239109829068184,
-0.005444296170026064,
0.01822006329894066,
0.03424973785877228,
-0.05948447808623314,
0.09282909333705902,
-0.049781594425439835,
0.030484437942504883,
-0.025180434808135033,
0.01712486892938614,
-0.028909528627991676,
0.06701507419347763,
0.049781594425439835,
-0.02273661084473133,
0.03964425250887871,
0.020383300259709358,
0.0008400643710047007,
-0.0327291339635849,
-0.04290268197655678,
0.07331471145153046,
-0.020220378413796425,
-0.0006166129023768008,
0.0057746646925807,
0.04134587571024895,
-0.03501003608107567,
-0.027262210845947266,
0.021107396110892296,
0.04789894446730614,
0.05640707165002823,
0.03750816732645035,
0.006426351144909859,
0.028746606782078743,
0.05524851754307747,
0.045726656913757324,
-0.04561804234981537,
0.0032290152739733458,
-0.03135335445404053,
-0.023152966052293777,
0.02130652219057083,
0.12816497683525085,
-0.014237536117434502,
-0.02203061804175377,
0.015568061731755733,
-0.004792609717696905,
-0.00952186156064272,
-0.00380602921359241,
0.0341954305768013,
0.0054533472284674644,
0.048043765127658844,
0.004629688337445259,
-0.0078157102689147,
0.039571840316057205,
-0.019550589844584465,
0.03269293159246445,
0.031805913895368576,
0.013766873627901077,
0.05358309671282768,
-0.026719139888882637,
-0.048623040318489075,
0.059013817459344864,
-0.025524381548166275,
-0.03213175758719444,
0.059448275715112686,
-0.017079612240195274,
-0.021831491962075233,
0.017441660165786743,
-0.011142025701701641,
0.048804063349962234,
-0.0011687360238283873,
-0.02197631075978279,
0.02871040254831314,
0.02876470983028412,
-0.028692301362752914,
0.003966687712818384,
-0.03750816732645035,
0.0069558462128043175,
-0.0346117839217186,
-0.017387352883815765,
-0.03479280695319176,
-0.0038716504350304604,
-0.09362559765577316,
0.038992565125226974,
0.030031878501176834,
-0.018754083663225174,
-0.07248199731111526,
0.06223604455590248,
0.005620794370770454,
-0.015196963213384151,
0.005933060776442289,
0.03491952642798424,
0.011739404872059822,
-0.022990046069025993,
0.0037019404117017984,
-0.009413246996700764,
0.0008389329886995256,
-0.030393926426768303,
-0.029597420245409012,
0.03692889213562012,
0.018174806609749794,
-0.004566329997032881,
0.05032466724514961,
0.01602967269718647,
0.03975286707282066,
-0.014834915287792683,
-0.011286845430731773,
-0.02474597841501236,
0.033960096538066864,
0.025126127526164055,
0.015097400173544884,
0.03913738578557968,
-0.030611155554652214,
-0.0014414034085348248,
-0.06375664472579956,
0.026954470202326775,
-0.011350203305482864,
0.03041202761232853,
-0.0711786299943924,
0.024727875366806984,
0.018473496660590172,
0.004310633521527052,
0.0010867095552384853,
0.0539451465010643,
0.00896068662405014,
0.00033602575422264636,
-0.014273740351200104,
-0.05532092601060867,
-0.01250875648111105,
-0.00894258450716734,
-0.010951950214803219,
-0.019206643104553223,
0.01609303243458271,
0.06372044235467911,
-0.013603951781988144,
-0.010028728283941746,
-0.017695093527436256,
-0.04029593616724014,
-0.03001377545297146,
-0.013341466896235943,
0.039173588156700134,
0.03394199535250664,
0.017894219607114792,
0.08739838004112244,
0.012182913720607758,
-0.027569951489567757,
-0.046305932104587555,
0.0042585888877511024,
0.0049736336804926395,
-0.017206329852342606,
-0.027497543022036552,
0.006163866259157658,
0.03289205580949783,
-0.03071976825594902,
0.012907009571790695,
-0.029108654707670212,
0.0014131184434518218,
0.020166071131825447,
-0.031136123463511467,
-0.10166306793689728,
-0.045183584094047546,
0.010906694456934929,
-0.02974223904311657,
0.02279091812670231,
-0.03790641948580742,
-0.030031878501176834,
0.009286530315876007,
0.02367793582379818,
-0.03481091186404228,
-0.008585061877965927,
-0.02367793582379818,
-0.030086185783147812,
-0.018156705424189568,
-0.0011246114736422896,
0.02956121601164341,
0.00748081598430872,
0.004371729213744402,
0.037471964955329895,
0.055357132107019424,
0.0015941424062475562,
-0.039499431848526,
0.03138955682516098,
0.005697729531675577,
-0.01785801537334919,
0.01270788349211216,
0.018455393612384796,
-0.014554327353835106,
0.059629298746585846,
0.01819290965795517,
-0.008585061877965927,
-0.036711663007736206,
0.01497973408550024,
-0.045762863010168076,
0.012155760079622269,
0.032964468002319336,
-0.01429184339940548,
-0.025651097297668457,
-0.0240761898458004,
-0.013450081460177898,
-0.005824446678161621,
0.010055881924927235,
-0.003292373614385724,
0.047319669276475906,
0.007607532665133476,
-0.005055094603449106,
-0.07146826386451721,
0.07537838071584702,
0.03531777858734131,
-0.02331588789820671,
0.03819606080651283,
-0.001559069030918181,
0.016627052798867226,
-0.029724137857556343,
-0.010571800172328949,
0.015540908090770245,
-0.029307782649993896,
0.062272246927022934,
-0.007870017550885677,
0.003032151609659195,
-0.02398567646741867,
0.007476290222257376,
0.03928220272064209,
0.05897761136293411,
0.022374562919139862,
-0.04272165894508362,
0.05253315716981888,
-0.006127661559730768,
-0.022953839972615242,
0.055538155138492584,
0.010671363212168217,
0.006580221466720104,
-0.03330841287970543,
0.02974223904311657,
0.031769707798957825,
-0.03986148163676262,
-0.012816498056054115,
0.02327968366444111,
0.007571327965706587,
-0.04044075682759285,
0.04116485267877579,
-0.016165440902113914,
-0.003509602276608348,
-0.03473849967122078,
0.008155129849910736,
0.013115187175571918,
0.058108698576688766,
0.02063673362135887,
-0.020980678498744965,
0.04427846521139145,
-0.0250175129622221,
0.01054464653134346,
-0.013857385143637657,
0.02785959094762802,
0.03298256918787956,
0.02130652219057083,
0.022863328456878662,
-0.07338712364435196,
-0.023297786712646484,
0.04739207774400711,
-0.0010109057184308767,
-0.07302507013082504,
-0.04105623811483383,
0.03654874116182327,
0.01339577417820692,
-0.005082248244434595,
0.01464483980089426,
0.04203376919031143,
-0.02279091812670231,
0.08008500933647156,
0.0076935188844799995,
0.0019980522338300943,
-0.02608555555343628,
-0.013513440266251564,
-0.06828224658966064,
0.0644807443022728,
0.03386958688497543,
-0.01491637621074915,
-0.026067452505230904,
-0.009530912153422832,
-0.046342138200998306,
-0.0016654205974191427,
-0.07251820713281631,
0.02273661084473133,
-0.009245799854397774,
-0.013223801739513874,
0.05213490501046181,
-0.07487151771783829,
0.05879658833146095,
0.00915528740733862,
-0.005801818333566189,
-0.0030276260804384947,
-0.013893590308725834,
0.049202315509319305,
0.007177600637078285,
-0.012210067361593246,
-0.010327418334782124,
-0.07566802203655243,
-0.03968045487999916,
-0.006996576674282551,
-0.018057141453027725,
-0.05354689434170723,
-0.025379560887813568,
0.03189642354846001,
0.018754083663225174,
0.04760930687189102,
-0.05644327774643898,
-0.0006703544058836997,
-0.01569477841258049,
-0.030466334894299507,
0.01792137324810028,
-0.09391523897647858,
0.04532840475440025,
-0.010635158978402615,
0.01558616477996111,
0.02965172752737999,
-0.001332789077423513,
-0.002946165157482028,
0.02331588789820671,
-0.06701507419347763,
0.03379717841744423,
-0.009236748330295086,
-0.050541896373033524,
-0.028601787984371185,
-0.020672937855124474,
0.07979536801576614,
0.0078338123857975,
0.01375782210379839,
-0.037471964955329895,
-0.06089646741747856,
0.01525127049535513,
-0.03613238409161568,
-0.03758057951927185,
0.06390146166086197,
0.008471922017633915,
-0.006725040730088949,
0.02661052532494068,
0.02212112955749035,
-0.011467869393527508,
-0.05857935920357704,
-0.03365235775709152,
0.01904372312128544,
-0.012916061095893383,
-0.0519900880753994,
-0.03218606486916542,
-0.04004250466823578,
0.05984652787446976,
0.021704774349927902,
0.033779073506593704,
0.04359057545661926,
-0.013911692425608635,
0.04152689874172211,
0.002127031795680523,
0.02563299611210823,
0.011902326717972755,
-0.05365550518035889,
0.012273425236344337,
-0.008182283490896225,
0.004324210342019796,
-0.005195388104766607,
0.037254735827445984,
-0.04058557748794556,
0.02563299611210823,
0.004450927022844553,
0.01736924983561039,
0.038630515336990356,
-0.009091929532587528,
0.0732060968875885,
-0.01301562413573265,
-0.016174491494894028,
-0.02063673362135887,
-0.07414741814136505,
-0.005697729531675577,
-0.02898193895816803,
0.00492837792262435,
0.0038150802720338106,
-0.0028850696980953217,
-0.028782812878489494,
-0.004842391237616539,
-0.0577828548848629,
0.003663472831249237,
0.012563063763082027,
0.020401401445269585,
-0.002629373222589493,
0.00841308943927288,
0.01239109132438898,
0.005177285987883806,
0.03392389416694641,
-0.00752607174217701,
-0.007901696488261223,
-0.009512810036540031,
0.018826493993401527,
0.01859116181731224,
0.1271512359380722,
0.003957636654376984,
-0.10151824355125427,
0.022809021174907684,
0.03205934539437294,
0.03090079315006733,
0.007901696488261223,
-0.07273543626070023,
-0.008539806120097637,
0.03768919035792351,
0.015106450766324997,
0.0462697297334671,
0.03434024751186371,
-0.036802176386117935,
0.057094961404800415,
-0.014509071595966816,
-0.06216363236308098,
-0.05358309671282768,
0.004941954743117094,
0.041925154626369476,
0.06368423253297806,
-0.03240329027175903,
-0.034267839044332504,
-0.0018328677397221327,
-0.05144701525568962,
0.03138955682516098,
-0.020745348185300827,
0.03703750669956207,
0.0481523796916008,
-0.030774075537919998,
-0.01962299831211567,
0.009313683956861496,
0.01435520127415657,
-0.003654421539977193,
-0.014554327353835106,
-0.003292373614385724,
0.02974223904311657,
-0.005358309950679541,
0.032747238874435425,
0.025343356654047966,
0.06143953651189804,
-0.0548502653837204,
0.015658574178814888,
0.07733344286680222,
-0.04261304438114166,
0.04587147757411003,
-0.025759711861610413,
-0.03287395462393761,
-0.05720357596874237,
-0.04565424844622612,
0.062091223895549774,
-0.012137657962739468,
0.0013441030168905854,
0.038594312965869904,
0.0015228642150759697,
0.00714592169970274,
0.0013373146066442132
] |
710,373
|
xer_reader.src.table
|
__bool___
| null |
def __bool___(self) -> bool:
return len(self.entries) > 0
|
(self) -> bool
|
[
0.04869193956255913,
0.004715700633823872,
-0.05323462560772896,
0.01186244934797287,
0.03662542253732681,
0.0180820282548666,
-0.036341506987810135,
0.00890349131077528,
0.007466156501322985,
-0.030592165887355804,
-0.014444328844547272,
0.011551913805305958,
0.039996951818466187,
-0.010079089552164078,
-0.00706689665094018,
-0.03380398824810982,
-0.04446865990757942,
0.050856813788414,
0.002612933050841093,
0.011578531935811043,
-0.038293443620204926,
0.024505672976374626,
0.03385722264647484,
0.03300546854734421,
0.009404784068465233,
0.028338566422462463,
0.03509936481714249,
-0.01987426169216633,
0.009227335453033447,
0.07743863761425018,
-0.04815959185361862,
-0.0019197737565264106,
0.03140842914581299,
0.0011611803201958537,
0.03509936481714249,
0.028161117807030678,
0.005598508287221193,
0.01553563866764307,
0.025144489482045174,
-0.03311193734407425,
0.035897884517908096,
-0.00447836285457015,
-0.004145646467804909,
0.013805513270199299,
0.00747946510091424,
-0.0180820282548666,
0.03839991241693497,
0.04766273498535156,
-0.009733064100146294,
-0.03513485565781593,
0.03121323697268963,
0.027983669191598892,
0.018809568136930466,
0.039145197719335556,
-0.07083754241466522,
-0.007239909376949072,
0.031443919986486435,
0.043226517736911774,
-0.03195852041244507,
0.013344146311283112,
-0.05075034499168396,
0.024115286767482758,
0.04869193956255913,
-0.06412997841835022,
0.0545477494597435,
0.021648747846484184,
-0.03270380571484566,
-0.039145197719335556,
0.0033227279782295227,
0.05539950355887413,
-0.05089230462908745,
0.01038962509483099,
-0.020566310733556747,
0.03847089037299156,
-0.07516729086637497,
-0.03790305554866791,
0.00706689665094018,
0.032295674085617065,
-0.006725308019667864,
-0.062213536351919174,
-0.02226981893181801,
-0.0004242134455125779,
0.0020273521076887846,
0.021808452904224396,
-0.014533053152263165,
0.024363715201616287,
0.02028239332139492,
0.03266831487417221,
-0.00814489834010601,
0.06473330408334732,
0.014506435953080654,
0.059267885982990265,
0.03910970687866211,
-0.0735347643494606,
0.04312004894018173,
-0.0058513726107776165,
0.007652477826923132,
-0.04351043701171875,
-0.04429120942950249,
-0.0771547183394432,
0.012492392212152481,
0.015704214572906494,
0.07921312749385834,
-0.004351930692791939,
0.0054742940701544285,
0.03311193734407425,
-0.050324466079473495,
-0.033449091017246246,
-0.01698184572160244,
-0.0008822530508041382,
-0.005035108420997858,
0.010868736542761326,
-0.00983953382819891,
0.00337152648717165,
0.0018499032594263554,
-0.05369599536061287,
0.019608087837696075,
-0.02212785929441452,
-0.03886127844452858,
-0.036696404218673706,
0.06189412623643875,
0.018365945667028427,
-0.00108909176196903,
-0.057564377784729004,
0.06075845658779144,
-0.010318645276129246,
-0.00122661457862705,
0.05209895595908165,
0.044433169066905975,
-0.0027903816662728786,
0.015047654509544373,
0.03343134745955467,
0.0232812762260437,
0.009080939926207066,
0.006379283033311367,
-0.03666091337800026,
0.0630652904510498,
-0.023352256044745445,
-0.0606519840657711,
0.059622783213853836,
0.004760062787681818,
0.005248046945780516,
0.04067125543951988,
0.05667713284492493,
-0.02686574123799801,
-0.025055764243006706,
-0.059374354779720306,
0.04319102689623833,
-0.0002103045117110014,
-0.012581116519868374,
-0.014204773120582104,
-0.0423392727971077,
-0.05543499067425728,
0.04074223339557648,
-0.07317987084388733,
0.038186971098184586,
-0.0019197737565264106,
-0.033094193786382675,
0.029811391606926918,
-0.042729660868644714,
-0.014621777459979057,
0.011294613592326641,
-0.012031026184558868,
0.025144489482045174,
-0.06867267191410065,
0.005900171119719744,
-0.028799934312701225,
-0.04560432955622673,
-0.020566310733556747,
0.09411881864070892,
0.05429932102560997,
0.002564134541898966,
-0.009378166869282722,
0.015704214572906494,
-0.021542279049754143,
0.0736057460308075,
0.02113414742052555,
0.06118433177471161,
-0.01298924908041954,
-0.02102767862379551,
-0.021701982244849205,
-0.062355492264032364,
-0.05096328258514404,
-0.03087608329951763,
0.048230573534965515,
0.016946356743574142,
0.0022103460505604744,
-0.03747717663645744,
0.05114073306322098,
0.048833899199962616,
-0.059516314417123795,
-0.07158283144235611,
0.001027539256028831,
0.0065034967847168446,
-0.04940173402428627,
-0.0342831015586853,
-0.004564869217574596,
0.01376115158200264,
0.023866858333349228,
-0.038293443620204926,
-0.04084870591759682,
-0.07623198628425598,
-0.017895707860589027,
-0.020317882299423218,
-0.012146367691457272,
0.036181800067424774,
-0.07332182675600052,
-0.0024110849481076,
0.0026595131494104862,
0.0008645081543363631,
-0.044433169066905975,
-0.09660310298204422,
-0.01413379330188036,
0.03989047929644585,
0.028604740276932716,
-0.03575592488050461,
-0.007892033085227013,
-0.025250958278775215,
-0.07016324251890182,
-0.006419208832085133,
0.06753699481487274,
-0.0038706010673195124,
0.036288272589445114,
-0.013069100677967072,
0.0038040578365325928,
0.0031497154850512743,
0.011924556456506252,
0.06029708683490753,
-0.028853168711066246,
-0.028001414611935616,
0.011436572298407555,
0.02292637899518013,
-0.014204773120582104,
0.026706038042902946,
0.035489752888679504,
-0.018969271332025528,
0.036483462899923325,
0.06200059503316879,
0.010682415217161179,
0.02782396599650383,
0.046527065336704254,
-0.0028369619976729155,
-0.008801458403468132,
-0.00810497161000967,
-0.023440981283783913,
-0.005203684791922569,
-0.0051149604842066765,
0.06686269491910934,
-0.0012465774780139327,
-0.021400319412350655,
-0.01099295075982809,
-0.026049477979540825,
-0.013157824985682964,
-0.04815959185361862,
0.028054649010300636,
-0.08049075305461884,
-0.0465625524520874,
0.010682415217161179,
0.004573741927742958,
-0.014754864387214184,
0.04851448908448219,
0.00008345636888407171,
0.053021688014268875,
0.08538834005594254,
-0.010629180818796158,
0.021595513448119164,
0.028232097625732422,
0.008663935586810112,
-0.01328203920274973,
0.003344909055158496,
0.10625631362199783,
-0.023387746885418892,
-0.018756333738565445,
-0.02028239332139492,
-0.010070216841995716,
0.020708270370960236,
0.049082327634096146,
-0.05600282922387123,
-0.05390893295407295,
0.014444328844547272,
0.033395856618881226,
-0.014506435953080654,
-0.000954341609030962,
0.0057848296128213406,
-0.03021952323615551,
-0.064271941781044,
-0.03320066258311272,
0.03981950134038925,
-0.030095309019088745,
-0.01923544518649578,
0.01046060398221016,
0.03680287301540375,
0.07005676627159119,
-0.018259476870298386,
0.037441689521074295,
-0.015500148758292198,
0.029350023716688156,
-0.05408637970685959,
-0.02471861243247986,
-0.0031341887079179287,
-0.008943417109549046,
-0.027362598106265068,
-0.046278636902570724,
-0.034247610718011856,
-0.011214761063456535,
0.023849112913012505,
0.01780698262155056,
0.038541872054338455,
0.06640132516622543,
-0.0025596984196454287,
-0.0025840974412858486,
0.030556676909327507,
0.0031718965619802475,
0.030077563598752022,
0.013823258690536022,
0.0067430529743433,
-0.016520479694008827,
-0.03637699410319328,
-0.04496551677584648,
0.07694178074598312,
-0.049224287271499634,
0.01183583214879036,
-0.03550749644637108,
-0.01998073048889637,
-0.029190320521593094,
-0.08531736582517624,
0.06200059503316879,
-0.028799934312701225,
0.0018942655296996236,
0.01715042255818844,
0.03327164053916931,
-0.09759681671857834,
0.059871211647987366,
0.006215142551809549,
-0.01246577501296997,
-0.0072975801303982735,
-0.015154124237596989,
-0.013370763510465622,
0.014586287550628185,
-0.0322069488465786,
-0.008885746821761131,
0.002985575469210744,
0.009715319611132145,
-0.0014262443874031305,
0.04631412774324417,
0.011401082389056683,
0.01328203920274973,
0.03547200560569763,
0.09000200778245926,
-0.006499060895293951,
-0.006973735988140106,
-0.0051149604842066765,
0.04510747268795967,
0.03453152999281883,
0.02738034352660179,
-0.005159322638064623,
0.013876493088901043,
0.07445749640464783,
0.02173747308552265,
0.06203608587384224,
0.07765157520771027,
-0.010212176479399204,
-0.02358293905854225,
0.02193266712129116,
-0.044149249792099,
-0.03839991241693497,
-0.025144489482045174,
0.01154304202646017,
-0.029261300340294838,
-0.004866532050073147,
-0.02333451248705387,
-0.018144136294722557,
-0.005922352429479361,
-0.042232804000377655,
0.012572244741022587,
-0.022447267547249794,
-0.006578912492841482,
0.02837405726313591,
-0.01912897638976574,
-0.021116402000188828,
0.005940097384154797,
0.02771749533712864,
-0.01686650514602661,
0.01857888512313366,
-0.0009221790242008865,
0.007834362797439098,
-0.02936776913702488,
-0.019714556634426117,
-0.01783359982073307,
-0.032544102519750595,
-0.0012887215707451105,
0.010797756724059582,
-0.10895353555679321,
-0.004516070708632469,
-0.0846785455942154,
-0.012749693356454372,
0.03910970687866211,
-0.03327164053916931,
-0.04496551677584648,
0.026954466477036476,
0.05220542475581169,
0.021311596035957336,
0.017212528735399246,
0.04177143797278404,
-0.019164465367794037,
-0.005891298875212669,
-0.029190320521593094,
-0.006286122370511293,
-0.023352256044745445,
0.012811800464987755,
0.04539139196276665,
-0.03715777024626732,
-0.04180692881345749,
-0.028551505878567696,
-0.048833899199962616,
0.011463189497590065,
0.010682415217161179,
-0.015411424450576305,
0.04556884244084358,
0.032100480049848557,
-0.0029367769602686167,
0.06817581504583359,
0.010584818199276924,
0.054370298981666565,
-0.028906403109431267,
-0.008592955768108368,
-0.03687385097146034,
0.004578177817165852,
0.009901640936732292,
-0.03140842914581299,
-0.06019061803817749,
-0.06051002815365791,
0.05610929802060127,
0.003826238913461566,
-0.000457762333098799,
0.00027740231598727405,
-0.019856516271829605,
-0.08290406316518784,
-0.04943722486495972,
0.04372337460517883,
-0.00871273409575224,
-0.0028147809207439423,
-0.012838417664170265,
-0.027806220576167107,
0.05465421825647354,
0.0027349290903657675,
-0.011986663565039635,
0.012847290374338627,
0.07786451280117035,
-0.004307568538933992,
-0.05170856788754463,
0.03270380571484566,
-0.02647535502910614,
-0.01907574199140072,
-0.02248275838792324,
-0.01576632261276245,
-0.04741430655121803,
-0.0447525754570961,
-0.0422682948410511,
0.031497154384851456,
-0.020246902480721474,
0.03151489794254303,
-0.08120055496692657,
0.004786680452525616,
0.020140433683991432,
-0.028799934312701225,
-0.03666091337800026,
0.04386533424258232,
-0.017567427828907967,
0.03343134745955467,
-0.010797756724059582,
-0.01827722229063511,
-0.01788683421909809,
-0.022145604714751244,
0.00068816845305264,
-0.006738616619259119,
-0.00006432517693610862,
0.03996146097779274,
-0.04691745340824127,
-0.0003573928843252361,
-0.04340396448969841,
-0.004036959260702133,
-0.011409955099225044,
-0.029633942991495132,
0.0018022139556705952,
-0.04326200857758522,
-0.01797555945813656,
-0.018365945667028427,
0.04194888472557068,
-0.025215469300746918,
0.024967040866613388,
-0.07431554049253464,
0.016644693911075592,
0.010016982443630695,
0.04826606065034866,
-0.010886481031775475,
0.03272154927253723,
0.05259581282734871,
0.022305309772491455,
0.010052472352981567,
-0.009227335453033447,
0.041877906769514084,
0.0068007237277925014,
0.011099419556558132,
-0.017097188159823418,
-0.029687177389860153,
0.023210298269987106,
-0.02171972766518593,
-0.04940173402428627,
-0.010398496873676777,
0.025428406894207,
-0.020992187783122063,
0.02592526376247406,
0.030024329200387,
0.07388966530561447,
0.01643175445497036,
-0.0015360407996922731,
-0.06515918672084808,
0.010868736542761326,
0.023707153275609016,
0.04400729387998581,
0.022748930379748344,
0.0032805840019136667,
-0.05348305404186249,
-0.08680792897939682,
0.07296692579984665,
-0.002950085559859872,
0.0173101257532835,
0.015446914359927177,
-0.007013662252575159,
0.024736355990171432,
-0.020353373140096664,
-0.019892005249857903,
-0.015473531559109688,
-0.03265057131648064,
0.0471658781170845,
0.015278338454663754,
0.005327899008989334,
-0.030077563598752022,
0.04269417002797127,
0.024416949599981308,
-0.04482355713844299,
0.04319102689623833,
-0.057812806218862534,
-0.014231390319764614,
0.05028897896409035,
0.027752986177802086,
-0.04943722486495972,
0.0907827839255333,
-0.007053588051348925,
-0.039180684834718704,
0.04170046001672745,
0.04592373967170715,
-0.05270228162407875,
0.08396875113248825,
0.033040959388017654,
0.030432462692260742,
0.0068184686824679375,
0.02851601503789425,
0.005793701857328415,
0.04631412774324417,
-0.013317529112100601,
-0.005416623316705227,
0.0021260578650981188,
-0.014000707305967808,
-0.025304192677140236,
-0.013628064654767513,
-0.019643576815724373,
0.028657974675297737,
0.05039544776082039,
-0.01810864545404911,
0.0028081266209483147,
-0.07999390363693237,
0.002998884068801999,
0.043581414967775345,
0.0048221698962152,
-0.012554499320685863,
0.03305870294570923,
-0.03266831487417221,
-0.07658688724040985,
-0.03932264447212219,
-0.02597849816083908,
0.029261300340294838,
-0.019909750670194626,
0.017097188159823418,
-0.0038528561126440763,
-0.025943009182810783,
0.016999591141939163,
-0.024292735382914543,
-0.028107883408665657,
-0.031497154384851456,
0.050679367035627365,
0.009466891176998615,
-0.04901134595274925,
0.04091968387365341,
-0.019040251150727272,
0.031798817217350006,
-0.02008719928562641,
-0.010744522325694561,
0.020140433683991432,
-0.00405914057046175,
0.002218109555542469,
-0.05440578982234001,
-0.03907421603798866,
0.006250632461160421,
-0.042126335203647614,
-0.009919385425746441,
0.03442505747079849,
-0.012607734650373459,
-0.010354135185480118,
0.002581879496574402,
-0.01953710801899433,
0.019004762172698975,
-0.04056478664278984,
0.03201175481081009,
-0.020193668082356453,
0.048975858837366104,
0.019998475909233093,
0.023600684478878975,
0.025588110089302063,
0.0186853539198637,
0.028285332024097443,
-0.0029101595282554626,
0.0392516665160656,
-0.049224287271499634,
-0.08886633813381195,
0.03275704011321068,
0.022305309772491455,
0.023440981283783913,
-0.03513485565781593,
0.04177143797278404,
-0.013406253419816494,
0.019661322236061096,
-0.014027324505150318,
0.013317529112100601,
-0.008317910134792328,
-0.03172783926129341,
-0.0010652471100911498,
0.05972925201058388,
0.028161117807030678,
-0.07140538096427917,
-0.02462988719344139,
-0.04152300953865051,
-0.012980376370251179,
-0.010398496873676777,
-0.016999591141939163,
0.01923544518649578,
0.00075692986138165,
0.057670846581459045,
-0.0496501624584198,
-0.029509728774428368,
0.07097950577735901,
0.04571079835295677,
-0.018170753493905067,
0.0016779998550191522,
0.0005475957877933979,
0.005221429746598005,
0.011205889284610748,
-0.03932264447212219,
-0.03811599314212799,
0.0386483408510685,
-0.06153922900557518,
-0.024062052369117737,
-0.06970187276601791,
0.07885822653770447,
0.007705712225288153,
-0.019466128200292587,
0.0033382547553628683,
-0.03550749644637108,
0.01932417042553425,
-0.05713849887251854,
0.04191339761018753,
0.020211413502693176,
-0.02193266712129116,
-0.0074705928564071655,
-0.02557036653161049,
-0.02782396599650383,
0.013991834595799446,
0.019572598859667778,
-0.004715700633823872,
-0.0269722118973732,
0.022092370316386223,
0.0006903865723870695,
0.02223432995378971,
-0.02182619646191597,
0.032987724989652634,
-0.028551505878567696,
-0.009360422380268574,
0.03300546854734421,
-0.059764742851257324,
-0.012625479139387608,
-0.07708374410867691,
0.02958070859313011,
0.06792738288640976,
0.01783359982073307,
0.02477184683084488,
-0.037086792290210724,
0.052524831146001816,
0.03343134745955467,
-0.010815502144396305,
0.039677541702985764,
0.04074223339557648,
0.01518961414694786,
0.010921970941126347,
-0.035330045968294144,
0.01628979668021202,
-0.06040355563163757,
0.01857888512313366,
0.010646925307810307,
0.007186674512922764,
-0.029261300340294838,
0.1360677033662796,
0.01128574088215828,
-0.06302979588508606,
-0.012749693356454372,
-0.0760190486907959,
0.06281685829162598,
0.02826758660376072,
0.07236360013484955,
-0.009174101054668427,
0.013619191944599152,
0.015411424450576305,
-0.020548565313220024,
0.02557036653161049,
-0.03101804293692112,
-0.009520125575363636,
-0.04915330559015274,
-0.08120055496692657,
-0.019714556634426117,
-0.0398549921810627,
0.0035977736115455627,
-0.01805541105568409,
-0.02322804182767868,
0.03861285001039505,
-0.01326429471373558,
-0.0096443397924304,
0.03158587962388992,
0.022110115736722946,
-0.0023090520408004522,
0.02581879496574402,
0.061113353818655014,
-0.03407016023993492,
0.06338469684123993,
-0.03128421679139137,
-0.009901640936732292,
-0.014630650170147419,
0.01069128792732954,
0.0019031378906220198,
-0.02991786040365696,
0.00688057579100132,
0.04485904425382614,
0.020690524950623512,
0.03130196034908295,
-0.00692937383428216,
0.05795476585626602,
0.0564287044107914,
-0.05426383018493652,
0.00704471580684185,
-0.015863919630646706,
-0.004001469351351261,
-0.05919690430164337,
-0.002291307086125016,
-0.02163100428879261,
0.04755626618862152,
-0.03178107365965843,
0.07108597457408905,
-0.022003646939992905,
0.05550597235560417
] |
710,374
|
xer_reader.src.table
|
__init__
| null |
def __init__(
self, name: str, labels: list[str], entries: list[dict[str, str]]
) -> None:
self.name: str = name
self.entries: list[dict[str, str]] = entries
self.labels: list[str] = labels
try:
self.description = table_data[name]["description"]
self.key = table_data[name]["key"]
self.depends = table_data[name]["depends"]
except KeyError:
self.description = ""
self.key = None
self.depends = []
|
(self, name: str, labels: list[str], entries: list[dict[str, str]]) -> NoneType
|
[
0.026965467259287834,
0.011518605053424835,
-0.030324678868055344,
-0.04137519747018814,
-0.04405522346496582,
-0.03484033793210983,
0.005006692372262478,
0.041962601244449615,
0.03713488206267357,
-0.019274160265922546,
-0.028672607615590096,
0.08208956569433212,
-0.004210486076772213,
-0.005410532001405954,
0.0032353054266422987,
-0.002230295678600669,
0.024634212255477905,
0.050663504749536514,
-0.03179318457841873,
0.01814524456858635,
0.022064324468374252,
0.03006768971681595,
0.0218440480530262,
0.0812818855047226,
0.03671268746256828,
0.034069374203681946,
0.007406784221529961,
-0.0028865349013358355,
0.03684118017554283,
-0.014529045671224594,
-0.002300279214978218,
0.026965467259287834,
-0.02742437645792961,
0.04053080454468727,
-0.02503805235028267,
-0.0353359617292881,
-0.006241156719624996,
-0.017530307173728943,
-0.06960725039243698,
0.017355922609567642,
0.059180848300457,
-0.007099315524101257,
-0.050700217485427856,
-0.02926001138985157,
0.024322154000401497,
0.013629584573209286,
0.004942445550113916,
-0.04269685223698616,
0.02691039815545082,
-0.053857509046792984,
-0.05095720663666725,
0.08524685353040695,
0.025790661573410034,
0.010224482975900173,
-0.05128762125968933,
0.03441814333200455,
0.0039925044402480125,
0.08297067135572433,
-0.01782400906085968,
0.041265059262514114,
-0.04460591450333595,
0.04170561209321022,
-0.011481892317533493,
0.01595166139304638,
-0.020761024206876755,
0.026965467259287834,
-0.00533710652962327,
-0.04930513724684715,
-0.032343875616788864,
0.01646563969552517,
0.02134842611849308,
0.0005919920513406396,
-0.014657540246844292,
0.0260660070925951,
-0.0034877052530646324,
0.01969635672867298,
-0.032288808375597,
-0.04879115894436836,
0.04100807011127472,
-0.027149030938744545,
-0.021825691685080528,
0.0025285861920565367,
-0.03869517147541046,
-0.041448622941970825,
0.05969482660293579,
0.011500248685479164,
-0.0008030899916775525,
0.032839495688676834,
-0.012418066151440144,
0.05697808787226677,
-0.07496730238199234,
-0.0010927760740742087,
-0.0375937893986702,
0.020210333168506622,
-0.009191938675940037,
-0.022302957251667976,
0.027644652873277664,
-0.06990095227956772,
-0.029186585918068886,
0.06050250679254532,
0.06689051538705826,
-0.08473288267850876,
0.012418066151440144,
-0.011289150454103947,
-0.04354124516248703,
-0.06802860647439957,
-0.026763547211885452,
-0.030177827924489975,
-0.021568702533841133,
-0.03643734008073807,
-0.019292516633868217,
0.04611113294959068,
0.018741825595498085,
0.04034724086523056,
0.0043389806523919106,
-0.01714482344686985,
-0.016704272478818893,
-0.059254273772239685,
0.01185819786041975,
-0.03636391460895538,
0.02468928135931492,
-0.0145565802231431,
-0.03192168101668358,
0.05462847650051117,
0.03010440245270729,
0.01116983499377966,
-0.010545719414949417,
-0.045487016439437866,
0.05110405758023262,
-0.03160962089896202,
0.07034150511026382,
-0.04453248903155327,
-0.009274542331695557,
0.00642471993342042,
0.050993919372558594,
-0.051030632108449936,
0.07012122869491577,
0.03935600072145462,
0.009682971052825451,
0.03612528368830681,
0.03260086476802826,
0.00052975257858634,
-0.021146507933735847,
-0.032674290239810944,
-0.009361734613776207,
-0.07081877440214157,
-0.0022624193225055933,
-0.008430150337517262,
-0.014226165600121021,
-0.05025966838002205,
-0.044826190918684006,
-0.050993919372558594,
-0.0530865453183651,
0.007659184280782938,
0.016584955155849457,
0.00906344410032034,
-0.0413384847342968,
-0.07996022701263428,
0.025827374309301376,
0.020981300622224808,
0.01041722483932972,
-0.0349871888756752,
-0.012161077000200748,
-0.004242609720677137,
-0.02437722310423851,
0.033537037670612335,
-0.014841102994978428,
-0.0972151905298233,
-0.0073150028474628925,
0.018567441031336784,
0.016722628846764565,
-0.05132433399558067,
0.001967570511624217,
0.038768596947193146,
-0.06641324609518051,
0.0011725113727152348,
0.045450303703546524,
0.005139776039868593,
0.02874603308737278,
-0.04761635512113571,
-0.010830242186784744,
0.013482733629643917,
-0.02707560546696186,
0.03814448043704033,
0.019861562177538872,
-0.035905007272958755,
-0.005823549814522266,
0.04669853672385216,
0.057932619005441666,
0.03652912378311157,
-0.01815442368388176,
-0.05349038168787956,
-0.002005430404096842,
0.053710658103227615,
0.004543195012956858,
-0.021054726094007492,
0.034363072365522385,
0.012408887967467308,
0.002019197680056095,
0.018264561891555786,
-0.021146507933735847,
0.021385138854384422,
0.02960878051817417,
0.02133006975054741,
0.01780565269291401,
0.07056178152561188,
0.007617882452905178,
-0.008531110361218452,
-0.02085280604660511,
-0.02050403505563736,
-0.008815634064376354,
-0.01530919037759304,
-0.04655168578028679,
0.011949979700148106,
0.01530919037759304,
-0.019971700385212898,
-0.04005353897809982,
-0.016199473291635513,
-0.0006183793302625418,
-0.0018402233254164457,
0.0669272243976593,
-0.003586370497941971,
0.026267927139997482,
-0.011261616833508015,
0.011261616833508015,
-0.04049409180879593,
0.03777735307812691,
0.005483957473188639,
0.030967149883508682,
0.03230716288089752,
-0.05227886512875557,
-0.034032661467790604,
0.007874870672821999,
-0.031389348208904266,
0.023312555626034737,
-0.013473555445671082,
0.00032037554774433374,
-0.017346743494272232,
-0.006227389443665743,
-0.03728173300623894,
0.04589085653424263,
-0.006828559562563896,
-0.048644308000802994,
-0.0284156184643507,
0.0064293090254068375,
-0.017218248918652534,
0.015557000413537025,
0.003168763592839241,
-0.06064935773611069,
-0.0662296861410141,
-0.006576159968972206,
0.02186240442097187,
0.049855828285217285,
-0.005534437485039234,
0.018062641844153404,
-0.04651497304439545,
0.019053883850574493,
-0.04291712865233421,
0.06340280920267105,
-0.04104478284716606,
0.002178668510168791,
-0.04746950417757034,
-0.012574095278978348,
0.05257256701588631,
0.022798577323555946,
-0.019971700385212898,
-0.0070947264321148396,
0.011408466845750809,
-0.029957551509141922,
-0.030655093491077423,
0.059107422828674316,
0.049194999039173126,
0.042623426765203476,
-0.024469004943966866,
-0.0352441780269146,
-0.022743508219718933,
0.0568312369287014,
-0.05227886512875557,
-0.1014738604426384,
-0.010022562928497791,
0.040273815393447876,
-0.04625798389315605,
0.007562813349068165,
0.03162797912955284,
0.044642627239227295,
-0.0892118290066719,
-0.027185743674635887,
-0.018888676539063454,
-0.05345366895198822,
-0.010775173082947731,
0.019733069464564323,
0.06769819557666779,
-0.0032995527144521475,
0.014464798383414745,
0.023147348314523697,
0.006911163218319416,
0.00753068970516324,
-0.010793529450893402,
0.0183196309953928,
-0.01596084050834179,
0.00841179396957159,
-0.04805690422654152,
0.14964090287685394,
0.00014089926844462752,
-0.08150216192007065,
-0.04500975459814072,
0.03107728809118271,
0.012840261682868004,
0.023789821192622185,
-0.011123944073915482,
0.06696394085884094,
0.07577498257160187,
0.004731347318738699,
0.09001950919628143,
-0.036565836519002914,
0.029370149597525597,
-0.006952465046197176,
-0.04067765548825264,
-0.01563042588531971,
0.04045737907290459,
-0.010720103979110718,
-0.005323339253664017,
-0.016025086864829063,
-0.03012275882065296,
0.05466518923640251,
-0.046294696629047394,
0.08957895636558533,
-0.05767562985420227,
0.053343530744314194,
0.022615013644099236,
0.020375540480017662,
-0.026653410866856575,
0.059107422828674316,
0.0057409461587667465,
-0.04317411780357361,
0.03445485606789589,
-0.02421201579272747,
0.007131439168006182,
-0.040604230016469955,
-0.06766147911548615,
0.06516502052545547,
-0.03847489506006241,
-0.012050938792526722,
0.014997132122516632,
0.014152740128338337,
-0.04776320606470108,
0.03597843274474144,
-0.05033309385180473,
0.057749055325984955,
0.009123102761805058,
-0.009609545581042767,
-0.012124364264309406,
0.015364259481430054,
0.049158286303281784,
0.06505487859249115,
-0.022927071899175644,
-0.014244521968066692,
-0.02035718411207199,
-0.03601514548063278,
-0.01798921637237072,
0.10676048696041107,
-0.00470840185880661,
-0.02456078678369522,
0.004956212360411882,
-0.0413384847342968,
-0.02369803935289383,
0.032362233847379684,
0.04853416979312897,
0.013253279961645603,
0.024817775934934616,
-0.0002673142298590392,
-0.01648399606347084,
0.016208650544285774,
0.013390951789915562,
0.009407625533640385,
0.0046143257059156895,
0.04387165978550911,
0.014189452864229679,
-0.05716165155172348,
-0.0530865453183651,
-0.018218670040369034,
-0.014189452864229679,
-0.010490650311112404,
0.02608436346054077,
-0.02435886673629284,
-0.0055482047609984875,
-0.0037446939386427402,
0.024175303056836128,
0.07584840804338455,
0.021256644278764725,
-0.006268691271543503,
0.0018402233254164457,
0.052866268903017044,
0.0008415235788561404,
0.0009298634831793606,
-0.007507744245231152,
0.02355118840932846,
-0.028672607615590096,
-0.04247657582163811,
-0.02204596810042858,
-0.030838655307888985,
-0.0655321478843689,
0.03197674825787544,
0.038401469588279724,
-0.0058006043545901775,
-0.028342192992568016,
0.05191173776984215,
0.02118322066962719,
0.003746988484635949,
0.01345519907772541,
0.04166889935731888,
-0.006975410506129265,
-0.007884048856794834,
-0.04236644133925438,
-0.02872767671942711,
0.031003862619400024,
-0.019365942105650902,
-0.03544609993696213,
0.011408466845750809,
-0.023606257513165474,
-0.026818616315722466,
0.033885810524225235,
0.03917243704199791,
0.018925389274954796,
-0.015052201226353645,
0.01748441718518734,
-0.01647481694817543,
0.005635397508740425,
0.03983326256275177,
-0.03671268746256828,
-0.04152204841375351,
0.014281234703958035,
0.012601629830896854,
-0.05914413556456566,
0.042146164923906326,
0.011656277813017368,
0.012390531599521637,
-0.06454090029001236,
0.00891200453042984,
-0.0007526100380346179,
-0.0346384197473526,
-0.05595013499259949,
0.059437837451696396,
0.007264522835612297,
-0.06105319783091545,
-0.01885196380317211,
-0.03781406581401825,
0.00982982199639082,
-0.002374851843342185,
-0.04945198819041252,
0.01582316681742668,
0.03596007451415062,
0.057602204382419586,
-0.05393093451857567,
-0.0025492371059954166,
-0.026451490819454193,
-0.05312325805425644,
-0.010490650311112404,
0.00046808674233034253,
0.027369307354092598,
-0.023000497370958328,
0.006346705369651318,
0.05415121093392372,
0.011959157884120941,
0.0003479100705590099,
-0.0019320050487294793,
0.011114765889942646,
0.026965467259287834,
0.018686756491661072,
-0.04423878714442253,
-0.039906688034534454,
0.06924012303352356,
0.008255764842033386,
0.05451833829283714,
-0.04240315034985542,
-0.022725151851773262,
0.04592756927013397,
-0.06288883090019226,
-0.08789017051458359,
-0.028837814927101135,
0.05044323205947876,
-0.04266013950109482,
0.04001682624220848,
0.004979157820343971,
-0.016364680603146553,
-0.024285441264510155,
0.003602432319894433,
-0.039612989872694016,
0.006227389443665743,
0.009191938675940037,
-0.04992925375699997,
-0.005438066553324461,
0.00941680371761322,
0.01595166139304638,
0.022449808195233345,
0.03256415203213692,
0.04089793190360069,
0.05870358645915985,
-0.005286626983433962,
-0.021440207958221436,
0.013317527249455452,
-0.040237102657556534,
-0.02654327265918255,
-0.005318750161677599,
0.005025048740208149,
0.0058419061824679375,
0.001653218176215887,
0.003333970671519637,
0.006438487209379673,
-0.05033309385180473,
0.004527132958173752,
-0.049708977341651917,
0.0074297296814620495,
0.036914605647325516,
-0.011628743261098862,
0.01953114941716194,
-0.06817545741796494,
0.005424299277365208,
-0.039612989872694016,
0.04493632912635803,
0.02015526406466961,
0.04981911554932594,
0.02070595510303974,
-0.04071436822414398,
-0.05965811386704445,
0.051361046731472015,
0.04401851072907448,
-0.027204100042581558,
0.033224981278181076,
0.03931928798556328,
-0.012353818863630295,
-0.04794676601886749,
-0.030159471556544304,
0.007769322022795677,
-0.02188076078891754,
0.07650923728942871,
-0.028709320351481438,
0.022413095459342003,
-0.01713564619421959,
0.021421851590275764,
0.054555051028728485,
0.037740640342235565,
0.04791005328297615,
-0.06872614473104477,
0.023018853738904,
-0.01747523806989193,
-0.03144441545009613,
0.06050250679254532,
0.028801102191209793,
-0.014327125623822212,
0.004350453149527311,
-0.024836132302880287,
-0.035574592649936676,
-0.0735355094075203,
-0.04236644133925438,
-0.0087467972189188,
-0.0015350491739809513,
-0.04471605271100998,
0.04820375517010689,
0.0027373896446079016,
0.012381353415548801,
0.004501893185079098,
0.0005635970737785101,
0.025680523365736008,
0.038915447890758514,
0.0005417989450506866,
-0.010279552079737186,
-0.006250334903597832,
-0.04218287765979767,
0.018622510135173798,
-0.037557076662778854,
0.008375081233680248,
0.04886458441615105,
0.05796933174133301,
-0.0049195000901818275,
-0.05903399735689163,
0.022413095459342003,
0.02270679548382759,
-0.007925351150333881,
-0.05462847650051117,
-0.022816933691501617,
0.008737619034945965,
-0.047175802290439606,
0.0052545033395290375,
-0.0027373896446079016,
0.03094879351556301,
-0.021109795197844505,
0.03799762949347496,
0.013959999196231365,
0.02672683447599411,
-0.0260660070925951,
-0.004123293329030275,
-0.041962601244449615,
0.0629255399107933,
0.028176985681056976,
-0.00982982199639082,
-0.002746567828580737,
-0.03634556010365486,
-0.03895216062664986,
-0.0071956864558160305,
-0.08524685353040695,
-0.004458296578377485,
-0.04820375517010689,
0.027626296505331993,
0.03256415203213692,
-0.034363072365522385,
0.01102298405021429,
0.0003711423196364194,
-0.04266013950109482,
-0.0009247007546946406,
0.010059275664389133,
0.007425140589475632,
0.02235802635550499,
0.025937512516975403,
-0.009045087732374668,
-0.06942369043827057,
0.00798959843814373,
-0.017952503636479378,
0.011380932293832302,
-0.04082450643181801,
-0.02351447567343712,
0.004928678274154663,
0.00466710003092885,
0.07717006653547287,
-0.08069448173046112,
-0.015052201226353645,
-0.008049256168305874,
-0.01563960500061512,
0.008026311174035072,
-0.051691461354494095,
0.02990248240530491,
-0.0000875511541380547,
-0.028525756672024727,
0.01901717111468315,
0.021587058901786804,
0.050186242908239365,
0.03518911078572273,
-0.04809361696243286,
0.05837317183613777,
0.04034724086523056,
-0.02116486430168152,
-0.012583273462951183,
0.013831504620611668,
0.06865271925926208,
-0.0036345559637993574,
0.01201422605663538,
-0.025093121454119682,
-0.07915255427360535,
0.030728518962860107,
0.0009178171749226749,
-0.02825041115283966,
0.06619296967983246,
0.013822326436638832,
-0.0009637079783715308,
0.022137749940156937,
0.05947455018758774,
-0.053894221782684326,
-0.06534858047962189,
-0.02221117541193962,
-0.002261271933093667,
-0.0272408127784729,
-0.05077364295721054,
0.017098933458328247,
-0.030489886179566383,
0.01965964399278164,
0.015749741345643997,
-0.003600137773901224,
-0.022394739091396332,
-0.03447321057319641,
0.03649241104722023,
-0.0035932541359215975,
0.029645493254065514,
0.05532601848244667,
-0.009008374996483326,
0.007902405224740505,
-0.0024230373091995716,
0.014813568443059921,
0.024505717679858208,
0.0756281316280365,
0.002081150421872735,
0.0009614134323783219,
-0.0045546675100922585,
0.04119163379073143,
-0.020081838592886925,
-0.004410111345350742,
0.06336609274148941,
-0.028837814927101135,
-0.0039030173793435097,
-0.018090175464749336,
-0.047506216913461685,
0.015566178597509861,
-0.011904088780283928,
-0.009150637313723564,
0.012243680655956268,
-0.04255000129342079,
-0.01967800036072731,
-0.017778117209672928,
-0.07885885238647461,
0.05088378116488457,
0.03214195743203163,
0.021219931542873383,
0.03361046314239502,
0.0019044706132262945,
0.004795594606548548,
-0.013987533748149872,
-0.02740602008998394,
-0.04269685223698616,
-0.0013629584573209286,
-0.01931087300181389,
-0.010848598554730415,
0.041962601244449615,
0.10118015855550766,
0.024964626878499985,
-0.07192014902830124,
0.021899117156863213,
0.03300470486283302,
0.0436880961060524,
-0.011491070501506329,
-0.040751080960035324,
-0.022761864587664604,
0.06090634688735008,
0.008260354399681091,
0.04188917577266693,
0.031003862619400024,
0.002104095881804824,
0.009692149236798286,
-0.0685792937874794,
-0.046845387667417526,
0.017695514485239983,
-0.006622050888836384,
0.005832727998495102,
0.04251328855752945,
-0.04937856271862984,
-0.01646563969552517,
0.0006768901366740465,
-0.06167731061577797,
0.06733106821775436,
0.005070939660072327,
0.050186242908239365,
0.06296225637197495,
-0.023073922842741013,
0.0026272516697645187,
0.026818616315722466,
0.059584688395261765,
-0.049672264605760574,
0.017236605286598206,
0.021054726094007492,
0.010031741112470627,
-0.017869899049401283,
0.0551791675388813,
0.02856246940791607,
0.02204596810042858,
-0.06332938373088837,
0.040273815393447876,
0.031389348208904266,
-0.07449004054069519,
0.03577651083469391,
0.010114344768226147,
0.010105166584253311,
-0.01295039989054203,
-0.01835634373128414,
0.024744350463151932,
0.0016073272563517094,
0.013317527249455452,
0.022284600883722305,
-0.003604726865887642,
0.05429806187748909,
0.010233661159873009
] |
710,375
|
xer_reader.src.table
|
__len__
| null |
def __len__(self) -> int:
return len(self.entries)
|
(self) -> int
|
[
0.009109476581215858,
-0.000012993222298973706,
-0.0308220274746418,
0.027899811044335365,
0.02016165480017662,
0.01965557225048542,
-0.015394688583910465,
-0.003238516626879573,
0.04829001799225807,
-0.03506658598780632,
-0.016880283132195473,
-0.022202307358384132,
0.010790974833071232,
-0.025646930560469627,
0.02339404821395874,
0.01963924616575241,
-0.007534091826528311,
0.011803138069808483,
0.0146110774949193,
0.05478745698928833,
-0.008440141566097736,
0.043784257024526596,
0.05736684426665306,
-0.009582907892763615,
-0.027263127267360687,
0.030707750469446182,
0.04309859499335289,
-0.0297282375395298,
0.07333291321992874,
0.03353201597929001,
-0.080516017973423,
0.011288893409073353,
0.009876761585474014,
0.026430541649460793,
0.01707618683576584,
-0.025793857872486115,
-0.006628041621297598,
-0.007211668416857719,
0.01220310665667057,
0.028977276757359505,
-0.01913316547870636,
-0.01905153878033161,
0.020390206947922707,
-0.02236555889248848,
0.048845075070858,
-0.016210949048399925,
0.03137708455324173,
0.00743205938488245,
-0.029418056830763817,
-0.05788925290107727,
-0.02868342213332653,
0.0650070533156395,
0.018414855003356934,
0.02334507368505001,
-0.03405442088842392,
0.04721255227923393,
0.0191984660923481,
0.025744881480932236,
-0.04482907056808472,
0.03728681802749634,
-0.04838797077536583,
-0.009909411892294884,
0.04130282253026962,
-0.06125224754214287,
0.019296417012810707,
0.007072904147207737,
-0.012186781503260136,
0.03973560035228729,
0.048714473843574524,
0.012668375857174397,
0.02447151392698288,
0.014806980267167091,
-0.032225996255874634,
0.0520448200404644,
-0.04097631573677063,
0.018300577998161316,
0.013182619586586952,
0.02765493281185627,
0.06435403972864151,
-0.051881566643714905,
0.026169337332248688,
0.009036012925207615,
0.03250352665781975,
0.05269782990217209,
0.06252561509609222,
-0.004350672941654921,
0.011215430684387684,
0.019524971023201942,
-0.06745583564043045,
0.055571068078279495,
-0.029662935063242912,
0.097690150141716,
0.03134443238377571,
-0.04309859499335289,
-0.0016498682089149952,
-0.028340592980384827,
-0.01594974659383297,
-0.06066453829407692,
0.010513445362448692,
-0.03921319171786308,
0.008138124831020832,
0.03500128537416458,
0.06357043236494064,
0.007028009742498398,
-0.019508644938468933,
-0.013100993819534779,
-0.010774648748338223,
-0.050836753100156784,
-0.056093476712703705,
0.04293534532189369,
0.026332588866353035,
0.03784187510609627,
0.002871199045330286,
0.007236156612634659,
0.02238188497722149,
0.009640046395361423,
0.015255923382937908,
-0.032715752720832825,
0.011492959223687649,
-0.01060323417186737,
0.04316389933228493,
0.040649812668561935,
-0.015435501001775265,
-0.06275416910648346,
0.06379898637533188,
0.0350339338183403,
-0.04711460322141647,
-0.014080507680773735,
0.021386045962572098,
-0.02336139790713787,
0.05155506357550621,
0.004815941676497459,
0.0009290074231103063,
0.015606916509568691,
0.06752113252878189,
-0.039539698511362076,
0.07653266191482544,
-0.0042241523042321205,
-0.041172221302986145,
0.06295007467269897,
0.004807779099792242,
0.024585790932178497,
0.04845327138900757,
0.019394367933273315,
-0.05044494941830635,
-0.009591070003807545,
-0.016766007989645004,
0.032193344086408615,
0.008831947110593319,
-0.021092191338539124,
-0.01590893231332302,
-0.03178521618247032,
-0.002814060775563121,
0.010986876673996449,
-0.0362093523144722,
0.03653585538268089,
-0.020047377794981003,
-0.06559475511312485,
0.024357236921787262,
-0.08254034072160721,
-0.04904098063707352,
-0.014423336833715439,
-0.027410054579377174,
-0.02065141126513481,
-0.06069719046354294,
0.01657826639711857,
0.01808835007250309,
-0.041694626212120056,
-0.046592194586992264,
0.07365942001342773,
0.041204869747161865,
-0.025271449238061905,
-0.0034119721967726946,
0.005934219807386398,
0.006946383509784937,
0.058672863990068436,
-0.00043159816414117813,
0.03996415436267853,
0.023230796679854393,
-0.030136367306113243,
-0.04202113300561905,
-0.06340717524290085,
-0.015011045150458813,
-0.03137708455324173,
0.04943278431892395,
0.022512486204504967,
0.006672936026006937,
0.027899811044335365,
0.011166454292833805,
0.0297282375395298,
-0.04796351492404938,
-0.06647632271051407,
-0.0202922560274601,
-0.013182619586586952,
-0.03735211864113808,
-0.028079388663172722,
-0.00610563438385725,
0.020928939804434776,
-0.027214152738451958,
-0.010423656553030014,
-0.09697183966636658,
-0.02664276957511902,
-0.02024327963590622,
-0.04518822580575943,
0.012350033968687057,
0.026838671416044235,
-0.01641501486301422,
-0.0154518261551857,
-0.024798018857836723,
-0.032781053334474564,
-0.04241293668746948,
-0.07000257074832916,
0.01815365068614483,
0.02282266691327095,
0.04045391082763672,
-0.09037645161151886,
-0.03029961884021759,
-0.05031434819102287,
-0.018235277384519577,
-0.02024327963590622,
0.09377209842205048,
0.009778810665011406,
-0.026691744104027748,
-0.0458085834980011,
-0.008415654301643372,
-0.04633099213242531,
0.017419015988707542,
0.052926383912563324,
0.009770647622644901,
-0.025728555396199226,
-0.005191422067582607,
0.04904098063707352,
0.033825866878032684,
0.04838797077536583,
0.05534251779317856,
-0.008105474524199963,
0.004164973273873329,
0.005448544397950172,
-0.002809979487210512,
-0.00364664732478559,
-0.02758963219821453,
-0.0238348301500082,
0.0028956870082765818,
0.029091551899909973,
-0.03875608742237091,
0.005656690802425146,
-0.013305059634149075,
0.06099104508757591,
0.0159170962870121,
-0.021892128512263298,
-0.04136812314391136,
-0.05753009766340256,
-0.04727785289287567,
-0.044469915330410004,
0.04979193955659866,
-0.07300641387701035,
-0.029662935063242912,
-0.00398335512727499,
-0.005975032690912485,
-0.030609799548983574,
0.055081311613321304,
-0.024716392159461975,
0.0071218800731003284,
0.043849557638168335,
-0.013443823903799057,
0.04891037568449974,
0.02440621331334114,
0.02497759647667408,
-0.032177019864320755,
0.0552445650100708,
-0.013052018359303474,
0.003893566317856312,
-0.012480635195970535,
-0.04133547097444534,
-0.04417606070637703,
-0.006762724835425615,
0.03767862170934677,
0.016096672043204308,
-0.06637836992740631,
0.008472791872918606,
0.00651784660294652,
-0.027377404272556305,
-0.02554897964000702,
-0.03302593156695366,
-0.03093630261719227,
-0.003089549019932747,
-0.003650728613138199,
0.020324906334280968,
-0.06605186313390732,
-0.007036172319203615,
0.01975352317094803,
0.01911683939397335,
0.00877480860799551,
0.02236555889248848,
0.05207747220993042,
-0.0436210036277771,
-0.005150608718395233,
0.015672216191887856,
0.032634127885103226,
0.019378043711185455,
-0.07783867418766022,
-0.04087836667895317,
-0.03999680280685425,
-0.024210309609770775,
-0.023132845759391785,
0.0030630205292254686,
0.05191421881318092,
0.0282099898904562,
0.06285212188959122,
0.015435501001775265,
0.001185619505122304,
0.060272734612226486,
0.0022181901149451733,
0.048028815537691116,
0.06363572925329208,
0.05191421881318092,
-0.04002945497632027,
0.01538652554154396,
-0.055538419634103775,
0.08025480806827545,
-0.025222474709153175,
0.03304225578904152,
-0.015231436118483543,
-0.03790717571973801,
0.01060323417186737,
-0.04414341226220131,
0.07548784464597702,
-0.002618158236145973,
0.036372601985931396,
-0.0018437302205711603,
0.015794655308127403,
-0.06758643686771393,
0.040682464838027954,
-0.008158531971275806,
-0.04313124716281891,
0.01066853478550911,
0.03813572973012924,
0.003183419117704034,
-0.03996415436267853,
-0.013892767019569874,
0.027508005499839783,
-0.024553140625357628,
-0.010186941362917423,
0.019018888473510742,
0.05599552392959595,
-0.03784187510609627,
0.03989885374903679,
-0.025173498317599297,
0.04561268165707588,
0.006150528788566589,
0.013280571438372135,
0.004493518266826868,
0.03509923443198204,
0.025320425629615784,
0.0383969321846962,
-0.029695585370063782,
0.02665909379720688,
0.0350339338183403,
0.008105474524199963,
0.08378106355667114,
0.011737837456166744,
-0.008027929812669754,
-0.010733836330473423,
-0.0022569624707102776,
-0.019916776567697525,
-0.01011347770690918,
-0.019851474091410637,
-0.0282099898904562,
-0.0011754162842407823,
0.0003145156952086836,
-0.02078201249241829,
-0.046984001994132996,
-0.01512532215565443,
-0.03764596953988075,
0.04979193955659866,
0.006672936026006937,
-0.02656114287674427,
0.059815626591444016,
-0.06396223604679108,
-0.014170296490192413,
-0.01277448982000351,
0.014733516611158848,
-0.03562164306640625,
-0.00041705850162543356,
-0.036437906324863434,
0.03129545971751213,
-0.0562567301094532,
-0.041172221302986145,
0.02491229586303234,
0.035948146134614944,
-0.021990079432725906,
0.024422537535429,
-0.06268886476755142,
-0.03203009441494942,
-0.07228810340166092,
0.03500128537416458,
0.020063702017068863,
-0.03338508680462837,
0.007383083458989859,
0.0010764446342363954,
0.07392062246799469,
-0.014725353568792343,
0.03780922293663025,
0.09004994481801987,
-0.027932461351156235,
-0.0026752965059131384,
0.01464372780174017,
-0.007476953323930502,
-0.045482080429792404,
-0.0036425660364329815,
0.025810182094573975,
0.011517447419464588,
-0.012619399465620518,
-0.02928745560348034,
-0.0037221515085548162,
-0.07437773048877716,
0.00818710122257471,
-0.037482719868421555,
0.06631306558847427,
0.01763124391436577,
-0.0015141647309064865,
0.03464213013648987,
0.017876122146844864,
0.09272728115320206,
-0.03131178393959999,
0.0008325865492224693,
-0.042249683290719986,
0.029385406523942947,
0.0038384688086807728,
-0.03669910877943039,
-0.030544497072696686,
-0.006305618677288294,
0.03235659748315811,
-0.016349714249372482,
-0.010872600600123405,
0.005248560104519129,
-0.0069341398775577545,
-0.07868758589029312,
-0.010644047521054745,
0.03526248782873154,
0.03353201597929001,
-0.003034451277926564,
0.04162932559847832,
0.041661977767944336,
0.06592126190662384,
-0.05109795928001404,
0.0034119721967726946,
-0.04587388411164284,
0.038560185581445694,
-0.04623303934931755,
-0.047571707516908646,
-0.022153330966830254,
0.0001299641007790342,
-0.028063064441084862,
-0.0308220274746418,
-0.029973115772008896,
-0.07868758589029312,
-0.007627961691468954,
-0.06631306558847427,
-0.02607138641178608,
-0.030707750469446182,
0.0692189559340477,
-0.01439068652689457,
-0.010301217436790466,
-0.024732718244194984,
-0.04988989233970642,
-0.03575224429368973,
0.01754961721599102,
-0.013647888787090778,
0.015688542276620865,
0.03793982416391373,
0.004144566599279642,
-0.03500128537416458,
-0.051326509565114975,
0.01512532215565443,
0.021141167730093002,
0.01603137142956257,
0.012856115587055683,
-0.038560185581445694,
-0.003948663827031851,
0.013468311168253422,
-0.0026426459662616253,
0.020341232419013977,
-0.010333867743611336,
-0.013541774824261665,
-0.0319158174097538,
-0.061415500938892365,
-0.007301457226276398,
0.0362093523144722,
0.0019784134346991777,
0.008068743161857128,
-0.03139340877532959,
-0.007542254403233528,
-0.001435599522665143,
0.07215750217437744,
0.021173818036913872,
0.051032654941082,
0.0015549777308478951,
-0.017353715375065804,
0.00025265838485211134,
-0.038984641432762146,
0.02125544473528862,
0.02917317859828472,
-0.01905153878033161,
-0.05246927589178085,
0.0011509284377098083,
0.03029961884021759,
-0.006350513081997633,
0.021908452734351158,
-0.03194846585392952,
0.008938061073422432,
-0.016153810545802116,
0.034772731363773346,
0.024063382297754288,
0.06219911202788353,
0.03330346196889877,
-0.005126120988279581,
-0.001216229284182191,
-0.02277369052171707,
0.05230602249503136,
0.01062772236764431,
0.004058859311044216,
-0.0020896289497613907,
-0.050771452486515045,
-0.05635467916727066,
0.041792578995227814,
-0.006840269546955824,
-0.04946543648838997,
0.03186684101819992,
0.06291741877794266,
0.014211108908057213,
-0.0012876521795988083,
0.002161051845178008,
-0.006844351068139076,
0.0065096840262413025,
0.046526893973350525,
-0.03656850755214691,
-0.03131178393959999,
0.016700705513358116,
0.09435980767011642,
0.004407810978591442,
-0.07470423728227615,
0.04829001799225807,
-0.07215750217437744,
-0.06236236169934273,
0.02765493281185627,
0.009509444236755371,
-0.025385726243257523,
0.039604999125003815,
-0.014023369178175926,
-0.051293861120939255,
0.014602914452552795,
0.05834635719656944,
-0.0404212586581707,
0.06445199251174927,
0.014039694331586361,
-0.0001254364033229649,
-0.05155506357550621,
0.04528617858886719,
0.023492000997066498,
0.01589260809123516,
-0.021141167730093002,
-0.005036332178860903,
0.020912613719701767,
-0.0063015371561050415,
0.003389524994418025,
-0.0394090972840786,
0.025744881480932236,
-0.01195006538182497,
0.04522087797522545,
-0.04476376995444298,
0.04636364057660103,
-0.061415500938892365,
0.004513924941420555,
0.03038124553859234,
-0.018235277384519577,
-0.05599552392959595,
0.017370039597153664,
0.017157811671495438,
-0.10709348320960999,
-0.034217674285173416,
0.017451666295528412,
0.027508005499839783,
0.011501121334731579,
0.0026508085429668427,
0.018414855003356934,
-0.05723624303936958,
0.007807539310306311,
-0.048159416764974594,
0.0170108862221241,
-0.047637008130550385,
0.006032171193510294,
-0.03441357612609863,
-0.02233290858566761,
0.043784257024526596,
0.011778650805354118,
-0.020422857254743576,
-0.028569145128130913,
-0.030022090300917625,
0.01854545623064041,
0.0175985936075449,
0.014080507680773735,
-0.07594495266675949,
0.060827791690826416,
0.04613509029150009,
-0.03764596953988075,
0.008195263333618641,
0.06187260523438454,
-0.0004382302868179977,
-0.0008453406044282019,
-0.017206788063049316,
-0.01812100037932396,
0.03976825252175331,
-0.08789501339197159,
-0.03405442088842392,
-0.025108197703957558,
0.028944626450538635,
0.03338508680462837,
0.06278681755065918,
0.03944174572825432,
0.005166933871805668,
0.03294430673122406,
-0.005481194704771042,
0.050216395407915115,
-0.060338035225868225,
-0.02171255089342594,
-0.006334187928587198,
0.04930218309164047,
0.009036012925207615,
-0.033221833407878876,
0.005301617085933685,
-0.008619719184935093,
0.04045391082763672,
-0.012872440740466118,
0.00745246559381485,
-0.0032670858781784773,
-0.0456453338265419,
-0.014970232732594013,
0.020488157868385315,
0.03816837817430496,
0.010750161483883858,
-0.01118277944624424,
-0.04538412764668465,
0.013876441866159439,
-0.016137486323714256,
0.008554418571293354,
0.016659893095493317,
0.005150608718395233,
-0.003707866882905364,
-0.04554738104343414,
-0.006077065598219633,
0.001542733865790069,
0.03682971000671387,
-0.013419335708022118,
-0.011068503372371197,
-0.044927023351192474,
0.018986238166689873,
-0.025108197703957558,
-0.053971197456121445,
-0.0370582640171051,
0.005342430435121059,
-0.049661338329315186,
-0.009305378422141075,
-0.08306275308132172,
0.07803457975387573,
-0.028601795434951782,
0.017843471840023994,
0.005966870114207268,
0.01252144854515791,
0.002679377794265747,
-0.012178618460893631,
0.0532202385365963,
0.01694558374583721,
0.0005974012310616672,
-0.004983275197446346,
-0.005003681872040033,
-0.018414855003356934,
0.02615301124751568,
0.06102369353175163,
-0.00004856117084273137,
-0.02241453528404236,
0.021402372047305107,
-0.05194687098264694,
-0.0035670618526637554,
0.03139340877532959,
0.04251088947057724,
-0.06438668817281723,
0.003771127201616764,
0.05165301635861397,
-0.03444622829556465,
0.003858875250443816,
-0.08541358262300491,
0.013084668666124344,
0.017712870612740517,
-0.021630924195051193,
0.010439981706440449,
-0.025157174095511436,
0.02182682789862156,
0.0490083284676075,
-0.007938141003251076,
0.03474007919430733,
0.06422343850135803,
0.027736559510231018,
-0.038560185581445694,
-0.011615398339927197,
-0.013019368052482605,
-0.07052497565746307,
0.021565623581409454,
-0.03291165456175804,
0.023492000997066498,
-0.00850544311106205,
0.13687069714069366,
0.013647888787090778,
-0.09272728115320206,
-0.03895198926329613,
0.013819304294884205,
0.06752113252878189,
0.06262356787919998,
0.007366758305579424,
0.024210309609770775,
0.015606916509568691,
0.02509187161922455,
0.028030412271618843,
0.041694626212120056,
-0.0436210036277771,
0.00705249747261405,
-0.018888287246227264,
-0.021696224808692932,
-0.044861722737550735,
-0.006236236542463303,
0.012039854191243649,
-0.048094116151332855,
-0.015288574621081352,
0.004342509899288416,
-0.0027630445547401905,
0.02290429174900055,
0.02662644349038601,
0.01512532215565443,
0.022137006744742393,
0.013419335708022118,
0.06363572925329208,
-0.009378842078149319,
0.020504483953118324,
-0.0016876203007996082,
0.05514661222696304,
-0.033189184963703156,
0.002601832849904895,
0.0636683851480484,
-0.03555634245276451,
0.003228313522413373,
0.04675544798374176,
0.042347636073827744,
0.024863319471478462,
-0.04518822580575943,
0.011370520107448101,
0.04198848083615303,
-0.011280731298029423,
-0.04091101512312889,
-0.03243822231888771,
0.016700705513358116,
-0.02074936218559742,
-0.035784896463155746,
-0.036960311233997345,
0.057203590869903564,
-0.007717750500887632,
0.06882715225219727,
0.005301617085933685,
0.029091551899909973
] |
710,377
|
xer_reader.src.reader
|
XerReader
|
Open a XER file exported from Primavera P6 and read its contents.
|
class XerReader:
"""Open a XER file exported from Primavera P6 and read its contents."""
CODEC = "cp1252"
file_name: str
"""XER file name"""
data: str
"""XER file data as tab seperated text"""
def __init__(self, file: str | Path | BinaryIO) -> None:
self.file_name, self.data = _read_file(file)
_file_info = _parse_file_info(self.data)
self.currency: str = _file_info[7]
"""(str) Currency type set in P6"""
self.export_version: str = _file_info[0]
"""(str) P6 Version"""
self.export_date: datetime = datetime.strptime(_file_info[1], DATE_FORMAT)
"""(datetime) Date the XER file was exported"""
self.export_user: str = _file_info[4]
"""(str) P6 user name that exported the XER file"""
def check_errors(self) -> list[str]:
"""Check XER file for missing tables and orphan data
Returns:
list[str]: Descriptions of missing information
"""
errors = set()
id_map = {
data["key"]: table for table, data in table_data.items() if data["key"]
}
tables = self.parse_tables()
# Check for minimum tables required to be in the XER
for name in REQUIRED_TABLES:
if name not in tables:
errors.add(f"Missing Required Table {name}")
# Check for required table pairs
for table in tables.values():
for table2 in table.depends:
if table2 not in tables:
errors.add(f"Missing Table {table2} Required for Table {table}")
for row in table.entries:
for key, val in row.items():
if val == "":
continue
if not key.endswith("_id"):
continue
if key == "parent_wbs_id" and row["proj_node_flag"] == "Y":
continue
clean_key = key if key in id_map else _clean_foreign_key_label(key)
if clean_key:
if check_table := tables.get(id_map[clean_key]):
for entry in check_table.entries:
if entry.get(clean_key, "") == val:
break
else:
errors.add(
f"Orphan data {key} [{val}] in table {table}"
)
return list(errors)
def delete_tables(self, *table_names: str) -> str:
"""
Delete tables from XER file.
Does not modify `XerReader.data` attribute, but returns a new string.
Args:
*table_names (str): table names to remove from XER file
Returns:
str: XER File String with tables removed
"""
if not table_names:
raise ValueError("Must pass at least one table name")
rev_data = self.data
for name in table_names:
table_search = re.compile(rf"%T\t{name.upper()}\n(.|\s)*?(?=%T|%E)")
rev_data = table_search.sub("", rev_data)
return rev_data
def get_table_names(self) -> list[str]:
"""Get list of table names included in the XER file.
Returns:
list[str]: list of table names
"""
table_names = re.compile(r"(?<=%T\t)[A-Z]+")
return table_names.findall(self.data)
def get_table_str(self, table_name: str) -> str:
"""Get string for a specific table in the XER file.
Args:
table_name (str): Name of table
Returns:
str: Table header and rows
"""
re_search = re.compile(rf"(?<=%T\t{table_name.upper()}\n)(.|\s)*?(?=%T|%E)")
if found_table := re_search.search(self.data):
return re.sub(r"%[TFR]\t", "", found_table.group())
return ""
def has_table(self, table_name: str) -> bool:
"""Check if a table is included in the XER file.
Args:
table_name (str): table name
Returns:
bool: True if found; False if not found
"""
return f"%T\t{table_name.upper()}" in self.data
def parse_tables(self) -> dict[str, XerTable]:
"""
Parse tables into a dictionary with the table name as the key
and a `Table` object as the value.
Returns:
dict[str, Table]: dict of XER Tables
"""
tables = {}
for table_str in self.data.split("%T\t")[1:]:
name, table = _parse_table(table_str)
tables[name] = table
return tables
def to_csv(self, file_directory: str | Path = Path.cwd()) -> None:
"""
Generate a CSV file for each table in the XER file.
Uses `tab` as the delimiter.
Args:
file_directory (str | Path, optional): Directory to save CSV files.
Defaults to current working directory.
"""
for table in self.parse_tables().values():
_write_table_to_csv(
f"{self.file_name}_{table.name}", table, Path(file_directory)
)
def to_excel(self) -> None:
"""
Generate an Excel file with each table in the XER file on a seperate worksheet.
"""
wb = Workbook()
ws = wb.active
ws.title = "ERMHDR"
ws.append(_parse_file_info(self.data))
for name, table in self.parse_tables().items():
new_ws = wb.create_sheet(name)
new_ws.append(table.labels)
for entry in table.entries:
new_ws.append(list(entry.values()))
tab = Table(displayName=name, ref=new_ws.calculate_dimension())
new_ws.add_table(tab)
wb.save(f"{self.file_name}.xlsx")
def to_json(self, *tables: str) -> str:
"""Generate a json compliant string representation of tables in the XER file
Returns:
str: json compliant string representation of XER tables
"""
out_data = {}
if not tables:
out_data = {
name: _entry_by_key(table)
for name, table in self.parse_tables().items()
}
else:
out_data = {
name: _entry_by_key(table)
for name, table in self.parse_tables().items()
if name in tables
}
json_data = {self.file_name: {**out_data}}
return json.dumps(json_data, indent=2)
|
(file: str | pathlib.Path | typing.BinaryIO) -> None
|
[
0.0523698553442955,
-0.007607379462569952,
-0.034654177725315094,
-0.0012436097022145987,
0.02668312005698681,
-0.05767061188817024,
-0.03146575391292572,
0.01245477981865406,
-0.006516340654343367,
-0.03830093890428543,
0.032880619168281555,
0.0007310955552384257,
-0.017466582357883453,
0.042525600641965866,
-0.04316328465938568,
-0.015304433181881905,
-0.005191151984035969,
0.07353302091360092,
0.03582990914583206,
0.027838923037052155,
-0.03776289150118828,
-0.014347906224429607,
-0.04280458763241768,
0.0027400513645261526,
0.007871421054005623,
0.035949476063251495,
-0.019040867686271667,
0.016868753358721733,
0.04571402072906494,
-0.012803513556718826,
-0.0353715717792511,
-0.025467533618211746,
-0.02207983285188675,
-0.006247317418456078,
-0.043880678713321686,
-0.03156539425253868,
0.02746029756963253,
-0.015274541452527046,
-0.0014260722091421485,
0.05942424386739731,
0.003634304739534855,
0.011607854627072811,
0.051293764263391495,
-0.014397725462913513,
-0.038540069013834,
0.007502759341150522,
-0.046391561627388,
-0.0054701389744877815,
0.015364215709269047,
0.006411720532923937,
0.0029293640982359648,
-0.02122294344007969,
0.04184805974364281,
0.03144582733511925,
-0.010820711962878704,
-0.028855232521891594,
-0.04527561366558075,
0.0625329539179802,
-0.00837459322065115,
-0.04419952258467674,
0.022219326347112656,
0.025088908150792122,
0.010810748673975468,
0.04280458763241768,
0.03710527718067169,
0.006466521415859461,
0.03521215170621872,
-0.06942792236804962,
-0.03887883946299553,
0.04607272148132324,
-0.009077043272554874,
-0.0056445058435201645,
0.004737798124551773,
0.02925378642976284,
0.06018149480223656,
0.009400867857038975,
-0.05021766945719719,
-0.06149671971797943,
-0.006705653388053179,
-0.0331396758556366,
0.05404377728700638,
0.0009073306573554873,
0.02200012281537056,
0.014895915985107422,
0.07540621608495712,
0.028177693486213684,
0.11422527581453323,
0.03387700021266937,
0.02387332171201706,
0.06217426061630249,
-0.022817155346274376,
0.019648659974336624,
0.0015742841642349958,
-0.050616223365068436,
0.022059904411435127,
-0.04611257463693619,
-0.02686246857047081,
-0.009430758655071259,
-0.039954930543899536,
-0.048822734504938126,
-0.0019005993381142616,
0.02293672226369381,
-0.013072536326944828,
0.006426666397601366,
-0.00022247349261306226,
0.009166717529296875,
-0.02736065909266472,
0.01096020545810461,
0.040811821818351746,
-0.04842418059706688,
-0.11207308620214462,
-0.0244910791516304,
0.024670427665114403,
-0.03323931619524956,
0.05225029215216637,
-0.08823961764574051,
-0.016350634396076202,
-0.006197498179972172,
-0.05225029215216637,
0.002065002452582121,
0.08102581650018692,
-0.0011414805194362998,
-0.0394766703248024,
0.04467778652906418,
-0.024112453684210777,
-0.05244956538081169,
0.042525600641965866,
0.0041947695426642895,
0.10043533891439438,
-0.049500275403261185,
0.026324421167373657,
0.012793549336493015,
-0.0244910791516304,
-0.054123491048812866,
-0.02122294344007969,
-0.046391561627388,
-0.012155864387750626,
0.019648659974336624,
-0.03240235522389412,
-0.04615243151783943,
0.042166899889707565,
-0.016968391835689545,
0.01825372502207756,
-0.023295419290661812,
-0.022837083786725998,
-0.014606965705752373,
0.006252299062907696,
-0.004269498400390148,
-0.02015681564807892,
-0.03060886636376381,
-0.0482647605240345,
-0.057192347943782806,
-0.0516524612903595,
-0.06651848554611206,
-0.009171699173748493,
0.026404133066534996,
-0.06855110824108124,
-0.04176834970712662,
0.010043534450232983,
-0.01849285699427128,
-0.007697053719311953,
-0.040552761405706406,
-0.015822552144527435,
0.0291740745306015,
-0.029353424906730652,
-0.009191627614200115,
-0.03130633383989334,
-0.02122294344007969,
0.011677601374685764,
0.020744681358337402,
0.05559813603758812,
0.02959255501627922,
-0.05918511003255844,
0.016868753358721733,
-0.043362561613321304,
0.03612882271409035,
0.023295419290661812,
0.01419844850897789,
0.001216831966303289,
0.05890612304210663,
-0.0009770774049684405,
-0.005475121084600687,
-0.009385921992361546,
0.03624838963150978,
0.007253663614392281,
-0.029353424906730652,
0.031944017857313156,
-0.007348319981247187,
0.07393156737089157,
-0.010158117860555649,
-0.025706665590405464,
-0.016918571665883064,
0.045594457536935806,
0.09166717529296875,
0.01419844850897789,
-0.001854516682215035,
0.03903825953602791,
0.02387332171201706,
-0.02933349646627903,
-0.031107056885957718,
-0.060340914875268936,
0.021083449944853783,
0.03855999559164047,
-0.010372340679168701,
-0.0803881287574768,
-0.02046569436788559,
0.005639524199068546,
-0.05826843902468681,
-0.06014163792133331,
0.02652369812130928,
0.05711263790726662,
-0.038679562509059906,
-0.03513244166970253,
-0.006974676623940468,
0.020236525684595108,
-0.010242810472846031,
0.0007479094783775508,
0.007059368770569563,
0.01006346195936203,
0.004125022795051336,
0.019698478281497955,
0.01389953400939703,
-0.058706849813461304,
-0.048822734504938126,
0.009809384122490883,
-0.012404960580170155,
0.004658087622374296,
-0.013182138092815876,
0.042685020714998245,
0.0006373733631335199,
0.027101600542664528,
0.006720598787069321,
-0.014208412729203701,
0.018921300768852234,
0.021023668348789215,
0.0021633952856063843,
-0.009251410141587257,
0.005280826706439257,
0.06189527362585068,
-0.007756836712360382,
0.013909497298300266,
-0.02088417485356331,
-0.002205741358920932,
-0.07492795586585999,
0.027559936046600342,
-0.028755594044923782,
0.054880738258361816,
0.011946624144911766,
-0.09931939095258713,
-0.02275737375020981,
0.048304617404937744,
-0.06787356734275818,
0.01922021619975567,
-0.014039027504622936,
0.007557560224086046,
-0.019628731533885002,
-0.025985652580857277,
-0.027520081028342247,
0.05508001521229744,
-0.03222300484776497,
0.0018831626512110233,
-0.031067201867699623,
0.0020326199010014534,
0.01742672733962536,
0.01815408654510975,
-0.000151714775711298,
-0.02345484122633934,
-0.02361426129937172,
-0.026304494589567184,
-0.005315700080245733,
0.08369611948728561,
0.04007449746131897,
-0.08744251728057861,
0.00801091454923153,
-0.012584309093654156,
0.027001962065696716,
0.0026603408623486757,
-0.03166503086686134,
-0.027739284560084343,
-0.0034699016250669956,
-0.01377000380307436,
-0.02363418973982334,
0.02046569436788559,
-0.0023103614803403616,
0.014098810032010078,
-0.03575019910931587,
-0.07365258038043976,
-0.09780488908290863,
-0.04376111179590225,
-0.018084339797496796,
-0.014517290517687798,
0.011846986599266529,
-0.017616039142012596,
-0.02550738863646984,
-0.008175317198038101,
-0.02473020926117897,
0.010611471720039845,
-0.05970323085784912,
-0.012494634836912155,
-0.040632471442222595,
0.0012965425848960876,
0.001890635467134416,
0.10784842818975449,
-0.0017810334684327245,
-0.10968177020549774,
0.004396537318825722,
0.03224293142557144,
0.002347725909203291,
-0.011747348122298717,
-0.01833343505859375,
0.01630081608891487,
0.008763182908296585,
0.002517110900953412,
-0.00746290385723114,
-0.0006619715131819248,
-0.02090410143136978,
0.02660340815782547,
0.07002574950456619,
0.021362436935305595,
0.028097981587052345,
0.00004184027420706116,
0.06556195765733719,
0.016968391835689545,
0.00017654649855103344,
0.03937702998518944,
-0.06855110824108124,
0.0711018443107605,
-0.004062748979777098,
-0.03341866284608841,
-0.044040098786354065,
-0.0031610229052603245,
-0.0316251777112484,
0.015872370451688766,
0.03094763681292534,
0.05029737949371338,
0.04607272148132324,
0.000028451386242522858,
-0.04025384783744812,
0.04109080880880356,
0.031944017857313156,
0.04842418059706688,
-0.011567998677492142,
0.0041399686597287655,
-0.025607027113437653,
-0.0017698241863399744,
-0.0662793517112732,
-0.019439419731497765,
0.02070482447743416,
-0.027818994596600533,
0.06926850229501724,
-0.026902323588728905,
0.06368876248598099,
0.0016278396360576153,
0.03582990914583206,
0.003457446815446019,
-0.0979643166065216,
-0.037802744656801224,
-0.0039108009077608585,
0.018313508480787277,
0.0445183627307415,
-0.003435028251260519,
0.034913238137960434,
-0.076362743973732,
0.022657735273241997,
-0.03993500396609306,
-0.08369611948728561,
0.01045205071568489,
0.026065362617373466,
-0.007348319981247187,
0.013231957331299782,
0.008215172216296196,
0.010422158986330032,
-0.01999739371240139,
-0.07173953205347061,
0.026324421167373657,
0.008459285832941532,
0.015443926677107811,
0.03339873626828194,
-0.04627199470996857,
-0.00872332789003849,
0.08110552281141281,
0.03700564056634903,
-0.04930099844932556,
0.019828008487820625,
0.002797343535348773,
-0.06783371418714523,
0.011667637154459953,
0.01669936813414097,
0.010088371112942696,
-0.0011072298511862755,
0.05268869921565056,
0.02379360981285572,
0.03019038587808609,
0.04782635346055031,
0.014238303527235985,
0.003641777439042926,
-0.042087189853191376,
-0.007079296745359898,
-0.01957891322672367,
-0.04312342777848244,
-0.005739162210375071,
-0.015463854186236858,
0.02017674222588539,
0.05372493714094162,
0.0037239789962768555,
-0.04547489061951637,
0.08481206744909286,
-0.054522041231393814,
-0.005584723316133022,
0.028974799439311028,
-0.005480102729052305,
0.01470660325139761,
0.020844317972660065,
0.020276380702853203,
-0.06205469369888306,
0.03836072236299515,
-0.008733291178941727,
0.005559813696891069,
0.04539518058300018,
0.017665859311819077,
-0.015453889966011047,
0.05292782932519913,
0.019877828657627106,
0.06113802269101143,
-0.01817401498556137,
0.007099224254488945,
-0.07755840569734573,
0.007677126210182905,
-0.04938070848584175,
0.019329817965626717,
0.03686614707112312,
-0.03844043239951134,
-0.005116423591971397,
-0.08959469944238663,
0.019907718524336815,
0.00605302257463336,
-0.003783761989325285,
-0.028197620064020157,
0.002065002452582121,
0.04647127166390419,
0.001741178217343986,
0.0024535914417356253,
0.06420687586069107,
-0.019339781254529953,
-0.01245477981865406,
0.0053206817246973515,
-0.05492059513926506,
0.03840057551860809,
-0.0830584317445755,
0.019439419731497765,
-0.003943182993680239,
-0.04360169172286987,
0.0093111926689744,
-0.045076336711645126,
-0.06954748928546906,
0.02652369812130928,
0.0605800487101078,
0.024451222270727158,
-0.02473020926117897,
0.059982217848300934,
0.027838923037052155,
0.027001962065696716,
0.03800202161073685,
0.009968805126845837,
-0.030828069895505905,
-0.004481229465454817,
-0.046869825571775436,
0.006172588560730219,
0.006934821140021086,
0.006591069046407938,
-0.030070818960666656,
0.026304494589567184,
0.002757488051429391,
0.01755625754594803,
-0.020844317972660065,
0.026722975075244904,
0.03658716008067131,
-0.0016701859422028065,
-0.036965783685445786,
-0.03588969260454178,
0.020067140460014343,
-0.07456925511360168,
0.036447666585445404,
-0.06030106171965599,
0.03822122886776924,
0.004423937760293484,
0.03493316471576691,
-0.0445183627307415,
-0.025288183242082596,
-0.02857624553143978,
-0.021123306825757027,
0.036706726998090744,
-0.046351708471775055,
0.04954013228416443,
0.05591697618365288,
0.0023539531975984573,
0.014367833733558655,
0.03937702998518944,
0.020924029871821404,
-0.07763811200857162,
0.052330002188682556,
-0.022876938804984093,
-0.04007449746131897,
-0.016888681799173355,
0.002422454534098506,
0.025049053132534027,
0.04079189524054527,
0.02670304663479328,
0.0020413382444530725,
-0.05711263790726662,
-0.041489362716674805,
-0.04356183484196663,
0.002276733750477433,
0.046750258654356,
-0.056156110018491745,
-0.02738058753311634,
0.01849285699427128,
0.03788245841860771,
-0.026643265038728714,
0.03975565731525421,
-0.016191212460398674,
0.009704764001071453,
0.006187534425407648,
-0.034395117312669754,
-0.035690415650606155,
0.04969955235719681,
-0.025806302204728127,
0.005594687070697546,
0.03371758013963699,
-0.02285701036453247,
-0.0334983728826046,
0.005445229355245829,
0.02933349646627903,
-0.07134097814559937,
0.0445183627307415,
0.010372340679168701,
-0.004416464827954769,
-0.011308940127491951,
0.022219326347112656,
-0.015543565154075623,
0.01695842854678631,
-0.006979658268392086,
-0.026623336598277092,
-0.04850389435887337,
-0.001959136687219143,
-0.05659451708197594,
-0.008200226351618767,
0.057949598878622055,
0.006516340654343367,
-0.019459348171949387,
-0.033817216753959656,
-0.006606014911085367,
0.06835182756185532,
-0.025806302204728127,
0.01957891322672367,
0.0334983728826046,
0.020276380702853203,
0.006795327644795179,
0.02925378642976284,
0.00344250095076859,
0.018064411357045174,
-0.011757311411201954,
-0.000634882366284728,
-0.01817401498556137,
0.045913297683000565,
0.03686614707112312,
-0.011318903416395187,
-0.013550800271332264,
-0.054282911121845245,
0.0029094363562762737,
-0.0074280304834246635,
0.07811637967824936,
-0.023833466693758965,
0.005599668715149164,
-0.011637745425105095,
-0.03648752346634865,
-0.05340609326958656,
0.047467656433582306,
0.01304264459758997,
-0.04571402072906494,
0.06368876248598099,
-0.007383193355053663,
0.004924619570374489,
-0.053605370223522186,
0.0445183627307415,
0.01833343505859375,
-0.023494696244597435,
0.07735912501811981,
0.07715985178947449,
0.012036298401653767,
-0.025726592168211937,
-0.049659695476293564,
-0.03634802997112274,
-0.013789931312203407,
0.036029186099767685,
0.07385186105966568,
0.04400024563074112,
-0.01202633511275053,
-0.03222300484776497,
-0.024331657215952873,
-0.035610705614089966,
0.038759272545576096,
0.009435741230845451,
-0.056235820055007935,
0.026982033625245094,
-0.04722852259874344,
0.01348105352371931,
0.03559077903628349,
0.00360441324301064,
0.01676911488175392,
-0.007557560224086046,
-0.0005906678852625191,
-0.0036392866168171167,
-0.04348212480545044,
-0.029353424906730652,
-0.016101539134979248,
-0.027161382138729095,
-0.056753937155008316,
0.004374118521809578,
-0.012544454075396061,
-0.025806302204728127,
-0.005774035584181547,
-0.025607027113437653,
0.039616163820028305,
-0.012823441065847874,
0.03094763681292534,
-0.01965862326323986,
0.03214329481124878,
0.04631185159087181,
-0.03891869634389877,
0.018971120938658714,
-0.027261020615696907,
0.06966705620288849,
0.03393678367137909,
0.012773621827363968,
0.032940398901700974,
0.0010069689014926553,
-0.024610644206404686,
-0.0065412502735853195,
0.018134158104658127,
0.02761971950531006,
-0.019180361181497574,
-0.007283554878085852,
0.016101539134979248,
-0.04392053559422493,
0.05830829590559006,
0.0067704180255532265,
-0.030070818960666656,
0.0213225819170475,
0.008499141782522202,
0.00761236110702157,
0.021362436935305595,
-0.011269084177911282,
-0.05225029215216637,
-0.013959316536784172,
0.04623214155435562,
-0.026045434176921844,
-0.008459285832941532,
-0.007487813476473093,
0.042924150824546814,
0.0252483282238245,
-0.04244588688015938,
0.01744665578007698,
0.028078055009245872,
0.06552210450172424,
0.009495523758232594,
0.05141333118081093,
0.019160432741045952,
-0.012574344873428345,
0.02608528919517994,
-0.012155864387750626,
0.019648659974336624,
0.03887883946299553,
-0.06384818255901337,
0.014437580481171608,
-0.020425837486982346,
-0.003978056367486715,
0.01078085694462061,
0.02915414795279503,
0.008778128772974014,
-0.02951284497976303,
0.06623949855566025,
0.04316328465938568,
0.0244910791516304,
-0.014606965705752373,
0.024530934169888496,
-0.008095606230199337,
0.029732048511505127,
-0.057192347943782806,
-0.05021766945719719,
-0.008005931973457336,
0.041648782789707184,
0.021701207384467125,
0.018243761733174324,
-0.057351768016815186,
-0.004012929741293192,
0.022817155346274376,
-0.04244588688015938,
-0.05193144828081131,
-0.019798116758465767,
0.021362436935305595,
-0.050456803292036057,
0.012604236602783203,
0.02345484122633934,
-0.022617880254983902,
0.03164510428905487,
-0.026244711130857468,
0.006705653388053179,
-0.06747501343488693,
0.03196394443511963,
0.027559936046600342,
0.07042430341243744,
0.004959492944180965,
-0.03230271488428116,
-0.0013438706519082189,
0.02849653549492359,
0.005031730979681015,
0.03869948908686638,
-0.03752375766634941,
-0.0248896311968565,
0.005684361327439547,
0.020605187863111496,
0.037483904510736465,
0.0673554465174675,
-0.03660708665847778,
0.07604390382766724,
-0.003168495837599039,
-0.027579862624406815,
0.004007948096841574,
0.01820390485227108,
0.07341345399618149,
0.026643265038728714,
-0.05280826613306999,
0.03541142866015434,
0.027300875633955002,
-0.08544974774122238,
0.03690600395202637,
0.02855631895363331,
0.03435526415705681,
-0.008877766318619251,
-0.01479627750813961,
-0.035172298550605774,
-0.07150039821863174,
-0.0028322169091552496,
0.005400392226874828,
0.0248896311968565,
0.04914157837629318,
0.03965601697564125,
-0.05476117506623268,
0.059384386986494064,
0.018443036824464798,
-0.018134158104658127,
-0.010990097187459469,
0.028177693486213684,
0.03411613032221794,
0.024590715765953064,
0.0032083510886877775,
0.0018084340263158083,
-0.011059843935072422,
-0.013182138092815876,
0.002700196113437414,
-0.026822613552212715,
-0.05655466392636299,
-0.014278159476816654,
0.07955116778612137,
0.02088417485356331,
0.023076215758919716,
0.02907443791627884
] |
710,378
|
xer_reader.src.reader
|
__init__
| null |
def __init__(self, file: str | Path | BinaryIO) -> None:
self.file_name, self.data = _read_file(file)
_file_info = _parse_file_info(self.data)
self.currency: str = _file_info[7]
"""(str) Currency type set in P6"""
self.export_version: str = _file_info[0]
"""(str) P6 Version"""
self.export_date: datetime = datetime.strptime(_file_info[1], DATE_FORMAT)
"""(datetime) Date the XER file was exported"""
self.export_user: str = _file_info[4]
"""(str) P6 user name that exported the XER file"""
|
(self, file: str | pathlib.Path | typing.BinaryIO) -> NoneType
|
[
0.027304163202643394,
-0.016993431374430656,
-0.01855536364018917,
0.018911246210336685,
-0.013098485767841339,
-0.08628194779157639,
-0.007651492487639189,
0.04579032585024834,
-0.01109169889241457,
-0.0022193281911313534,
0.03748638182878494,
0.0468975193798542,
-0.015906009823083878,
0.04911190643906593,
-0.03736775368452072,
0.0300128310918808,
-0.018159937113523483,
0.0478070005774498,
-0.04053116217255592,
0.031812019646167755,
-0.023310361430048943,
0.0014952044002711773,
-0.047767456620931625,
0.06540345400571823,
0.025188634172081947,
0.07813616842031479,
0.006277387496083975,
0.01678583212196827,
0.010725929401814938,
-0.04832105338573456,
-0.003731832606717944,
-0.00944079551845789,
-0.01869376190006733,
0.035252224653959274,
-0.003111508209258318,
0.02001843973994255,
0.017250457778573036,
0.003946845419704914,
-0.1198931559920311,
0.0695158839225769,
0.03337395191192627,
0.008916855789721012,
-0.005486535374075174,
0.015906009823083878,
-0.0468975193798542,
0.034421831369400024,
-0.031871333718299866,
-0.02014695294201374,
0.004176686983555555,
0.010538102127611637,
-0.013098485767841339,
0.034421831369400024,
0.003746661124750972,
-0.002351548755541444,
-0.0405707061290741,
0.05369884520769119,
0.03701186925172806,
0.08390939235687256,
-0.026078343391418457,
0.047648828476667404,
-0.031100252643227577,
0.028134558349847794,
0.08438390493392944,
-0.050891321152448654,
0.028747467324137688,
0.04345731437206268,
-0.013039171695709229,
-0.04832105338573456,
-0.01996901072561741,
0.07350968569517136,
0.08841724693775177,
0.0010775357950478792,
-0.03337395191192627,
0.03481725603342056,
0.07260020822286606,
-0.005039209499955177,
-0.06777600944042206,
0.008284173905849457,
-0.0223217960447073,
-0.015777496621012688,
0.033789150416851044,
-0.013533453457057476,
-0.04456450790166855,
0.019089188426733017,
0.050060927867889404,
-0.03586513549089432,
0.09569308161735535,
-0.02999305911362171,
-0.04646255075931549,
0.11119378358125687,
-0.04788608476519585,
-0.0003351852938067168,
-0.04666026309132576,
0.018673991784453392,
0.018970560282468796,
-0.07714761048555374,
-0.002958280500024557,
-0.012821687385439873,
-0.061488740146160126,
-0.0029385092202574015,
-0.06295181810855865,
-0.04203378036618233,
-0.040847502648830414,
-0.030803682282567024,
-0.028628841042518616,
-0.02447686716914177,
0.014927330426871777,
0.011922093108296394,
0.002659239573404193,
-0.034540459513664246,
-0.03394731879234314,
0.0018090738449245691,
-0.02485252171754837,
0.05662499740719795,
-0.003361120820045471,
-0.038989000022411346,
-0.014551675878465176,
-0.013444483280181885,
0.0009249260765500367,
0.015283213928341866,
0.03932511433959007,
0.00944079551845789,
-0.02783798798918724,
0.10368069261312485,
0.019148502498865128,
-0.035430166870355606,
0.012070377357304096,
-0.06097468361258507,
0.06322861462831497,
-0.023171961307525635,
0.03916694223880768,
-0.016805604100227356,
-0.007181924302130938,
-0.03216790407896042,
-0.04970504343509674,
-0.06247730180621147,
0.03438228741288185,
0.04254783317446709,
-0.04895373433828354,
0.040649790316820145,
0.049349162727594376,
-0.00896628387272358,
0.00031618631328456104,
-0.061884164810180664,
-0.029577862471342087,
0.03380892053246498,
-0.006282330024987459,
-0.04171743988990784,
-0.08046918362379074,
0.0026345255319029093,
-0.02261836640536785,
-0.025089778006076813,
-0.06057925894856453,
-0.0022996491752564907,
0.03954259678721428,
-0.06524528563022614,
-0.005432164296507835,
-0.029024265706539154,
-0.02835204266011715,
0.0032548499293625355,
-0.019662557169795036,
0.000032417978218290955,
0.017250457778573036,
0.0046561406925320625,
-0.020562151446938515,
0.010597416199743748,
-0.05765310674905777,
-0.05994657799601555,
0.030724598094820976,
-0.0014210620429366827,
0.021194832399487495,
-0.025643374770879745,
-0.0809832364320755,
0.04646255075931549,
-0.020680777728557587,
0.003697232808917761,
0.04729294776916504,
-0.0007395701250061393,
0.01614326611161232,
-0.0007902340730652213,
0.009292510338127613,
-0.01931655779480934,
-0.024951379746198654,
0.06745967268943787,
0.044406335800886154,
0.022460194304585457,
0.029479006305336952,
0.04365502670407295,
0.04982367157936096,
-0.011991292238235474,
0.047134775668382645,
0.020483065396547318,
-0.014482475817203522,
0.02333013154566288,
0.01293042954057455,
-0.0511285774409771,
0.021827513352036476,
-0.008076575584709644,
-0.0582067035138607,
0.010117962025105953,
-0.007399408612400293,
0.01013279054313898,
0.0251095499843359,
-0.030724598094820976,
-0.06583842635154724,
0.019464842975139618,
0.021570486947894096,
0.025781773030757904,
-0.06224004924297333,
0.04072887450456619,
0.021946141496300697,
-0.027482105419039726,
0.02803570218384266,
0.0242791548371315,
0.015461155213415623,
-0.03635941818356514,
-0.026533082127571106,
-0.0024763550609350204,
-0.02625628374516964,
0.048400137573480606,
0.08129958063364029,
0.06512665748596191,
-0.044841304421424866,
-0.014690075069665909,
0.027106450870633125,
0.00259745423682034,
0.012040721252560616,
-0.006816155277192593,
-0.0413220152258873,
0.005867132917046547,
-0.0031436365097761154,
-0.03544993698596954,
-0.04784654080867767,
0.034738171845674515,
-0.00382821774110198,
0.0049576531164348125,
-0.022578822448849678,
0.019099075347185135,
-0.06761784106492996,
-0.03056642785668373,
0.05547826364636421,
-0.014808702282607555,
-0.01905953139066696,
-0.010577645152807236,
0.009262853302061558,
-0.03661644458770752,
0.0036997043062001467,
0.04302234575152397,
-0.06057925894856453,
-0.027818217873573303,
0.0808250680565834,
-0.013147913850843906,
-0.031120024621486664,
0.018911246210336685,
-0.008017261512577534,
0.010874214582145214,
-0.03705141320824623,
-0.07785937190055847,
0.06160736456513405,
-0.0145912179723382,
-0.00011260372411925346,
-0.03938442841172218,
0.04333868622779846,
0.01236694771796465,
0.022994020953774452,
-0.02115529030561447,
-0.02109597623348236,
-0.03329486772418022,
0.01176392287015915,
-0.03742706775665283,
0.1340494006872177,
0.05073315277695656,
-0.03444160148501396,
0.016429949551820755,
-0.02924175001680851,
-0.0787293091416359,
-0.0013592768227681518,
-0.04227103665471077,
0.008798227645456791,
0.03088276833295822,
0.055517807602882385,
-0.004890924785286188,
0.044208623468875885,
0.020542379468679428,
0.028371812775731087,
-0.01722080074250698,
-0.04511810466647148,
-0.022519508376717567,
-0.025603830814361572,
-0.02370578609406948,
-0.03718981146812439,
0.059590693563222885,
-0.01958347111940384,
-0.009935077279806137,
0.050574980676174164,
0.008546143770217896,
-0.055715519934892654,
-0.02230202406644821,
0.044524963945150375,
-0.05476649850606918,
-0.013226998969912529,
-0.019662557169795036,
0.053422048687934875,
-0.013493911363184452,
-0.08628194779157639,
0.02001843973994255,
0.015214013867080212,
0.019909698516130447,
-0.010350274853408337,
0.005044152494519949,
0.08817999064922333,
0.015589669346809387,
0.013256656005978584,
0.017873253673315048,
0.020542379468679428,
0.005175137426704168,
0.013138027861714363,
-0.013039171695709229,
0.011971521191298962,
0.0247338954359293,
-0.029577862471342087,
0.02841135673224926,
0.03179224953055382,
-0.00906019750982523,
0.040135737508535385,
-0.022736992686986923,
0.020324895158410072,
-0.0222427099943161,
-0.024753665551543236,
0.026849422603845596,
-0.0526311956346035,
0.059709321707487106,
0.022044997662305832,
0.011319068260490894,
0.00643555773422122,
0.024555953219532967,
-0.03088276833295822,
-0.031812019646167755,
0.025247948244214058,
-0.021946141496300697,
0.026493540033698082,
-0.029063809663057327,
-0.0015260970685631037,
0.011378382332623005,
-0.010725929401814938,
-0.06046063080430031,
-0.01627177931368351,
-0.055834148079156876,
-0.004082773346453905,
0.02002832479774952,
-0.06089559942483902,
0.01401785109192133,
-0.01849604956805706,
0.011704608798027039,
0.031495679169893265,
-0.04907236248254776,
-0.04011596366763115,
-0.00820014625787735,
0.0037713751662522554,
0.01703297346830368,
0.07109759002923965,
0.041480183601379395,
-0.04915144667029381,
-0.003741718363016844,
-0.013958537019789219,
-0.04476222023367882,
0.020542379468679428,
0.03869242966175079,
-0.0011819528881460428,
0.025267720222473145,
0.003170822048559785,
-0.031040938571095467,
-0.06532437354326248,
-0.06322861462831497,
0.02350807376205921,
0.015243670903146267,
0.0016990959411486983,
0.024239612743258476,
-0.07046490907669067,
-0.03341349586844444,
0.011773807927966118,
0.003852931782603264,
-0.019741641357541084,
0.03523245453834534,
-0.020819177851080894,
-0.0025752116926014423,
-0.004193986766040325,
0.024892065674066544,
0.04800471290946007,
0.053105708211660385,
0.00017021852545440197,
0.027165764942765236,
-0.00759712141007185,
0.009371595457196236,
0.05725768208503723,
0.013582882471382618,
0.01020198967307806,
0.02625628374516964,
-0.019800955429673195,
0.005244337022304535,
0.0008792049484327435,
-0.055082838982343674,
-0.025129320099949837,
0.04416907951235771,
-0.025979487225413322,
-0.02384418621659279,
0.062121421098709106,
-0.023428989574313164,
0.022005455568432808,
-0.011131240986287594,
0.06975314021110535,
0.001354333944618702,
0.001013896893709898,
-0.03313669562339783,
-0.0303884856402874,
0.04669980704784393,
-0.009198596701025963,
-0.023211505264043808,
0.02230202406644821,
-0.03847494721412659,
-0.039127398282289505,
0.0904734656214714,
0.0006969382520765066,
0.032701727002859116,
0.006588785443454981,
-0.013404940254986286,
-0.000516525178682059,
-0.021511172875761986,
0.01767554134130478,
0.011694722808897495,
-0.024358239024877548,
0.07271883636713028,
-0.05318479239940643,
-0.013454368337988853,
0.06639201939105988,
-0.019909698516130447,
-0.050495896488428116,
-0.03894945979118347,
-0.01581703871488571,
0.06421718001365662,
-0.03465908765792847,
-0.015678640455007553,
0.08161591738462448,
-0.024180298671126366,
-0.02491183578968048,
-0.024951379746198654,
-0.0713348463177681,
0.013820137828588486,
-0.014077164232730865,
-0.015332642011344433,
-0.024140754714608192,
-0.028431126847863197,
0.04203378036618233,
-0.04753020033240318,
-0.011378382332623005,
-0.02981511875987053,
-0.00759712141007185,
-0.0024639980401843786,
0.034481145441532135,
-0.009767021052539349,
-0.04310142993927002,
0.04978413134813309,
0.01734931394457817,
-0.07560544461011887,
-0.0014148835325613618,
0.01627177931368351,
-0.0069446684792637825,
0.01185289304703474,
0.002125414554029703,
0.00956436526030302,
-0.03363097831606865,
0.027363477274775505,
-0.015095386654138565,
0.02688896656036377,
0.011645294725894928,
0.016192693263292313,
0.015144814737141132,
-0.01848616451025009,
-0.06564071029424667,
-0.06208187714219093,
0.015036072582006454,
-0.062002792954444885,
-0.020680777728557587,
0.020700549706816673,
0.013484025374054909,
-0.01036016084253788,
0.016252007335424423,
-0.017299886792898178,
0.0029360379558056593,
-0.034797485917806625,
-0.01153655257076025,
0.08011329919099808,
-0.06370312720537186,
0.01703297346830368,
0.0446435920894146,
0.06358449906110764,
0.018594905734062195,
0.07145347446203232,
-0.006025303155183792,
-0.019662557169795036,
0.011645294725894928,
0.006751898676156998,
-0.015382070094347,
-0.050891321152448654,
-0.008284173905849457,
0.005773219279944897,
-0.04551352933049202,
-0.027857759967446327,
0.012070377357304096,
-0.013879451900720596,
-0.01817970909178257,
-0.02829272858798504,
-0.028371812775731087,
0.007527921814471483,
-0.020819177851080894,
0.04476222023367882,
-0.031040938571095467,
0.028589297086000443,
-0.06520574539899826,
0.034224119037389755,
0.017082402482628822,
-0.00874385703355074,
0.041282471269369125,
-0.04499947652220726,
-0.04353639855980873,
-0.004584469832479954,
-0.030764140188694,
-0.016588119789958,
0.04361548647284508,
0.0024763550609350204,
-0.0015866466565057635,
-0.05484558269381523,
-0.015431498177349567,
-0.025821315124630928,
0.00029965874273329973,
0.0364978164434433,
0.006514642853289843,
0.021570486947894096,
-0.055517807602882385,
-0.027422791346907616,
0.01493721641600132,
0.01589612476527691,
-0.015589669346809387,
-0.06421718001365662,
-0.000057460336392978206,
-0.06326815485954285,
0.007888748310506344,
0.02198568359017372,
0.03691301494836807,
-0.009524823166429996,
0.04788608476519585,
-0.058760300278663635,
0.003677461529150605,
-0.0028841381426900625,
0.050891321152448654,
0.02829272858798504,
0.03398686274886131,
-0.03303784132003784,
0.01312814187258482,
-0.02981511875987053,
-0.031179338693618774,
0.018525706604123116,
-0.045671701431274414,
0.03879128769040108,
-0.030862996354699135,
0.005886903963983059,
0.002287292154505849,
-0.019682327285408974,
-0.046818435192108154,
-0.0018090738449245691,
0.028371812775731087,
0.05401518940925598,
0.017774397507309914,
0.031495679169893265,
-0.002289763418957591,
-0.04907236248254776,
-0.01013279054313898,
0.09158065170049667,
0.01506572961807251,
-0.03685370087623596,
0.0493096187710762,
0.01201106421649456,
-0.015619325451552868,
-0.04875602200627327,
-0.029004495590925217,
0.004203872289508581,
-0.016252007335424423,
-0.010340388864278793,
0.048558309674263,
-0.007340094540268183,
0.02123437449336052,
-0.06963451206684113,
-0.000881058513186872,
0.010192104615271091,
-0.04701614752411842,
0.005044152494519949,
0.03444160148501396,
-0.03475794196128845,
-0.013523568399250507,
-0.011912207119166851,
-0.04677889123558998,
0.041282471269369125,
-0.03426365926861763,
0.006420729216188192,
0.017309771850705147,
-0.015095386654138565,
-0.03661644458770752,
0.06821098178625107,
-0.02060169354081154,
0.0226974505931139,
0.04377365484833717,
-0.006183473858982325,
-0.0063218725845217705,
-0.022163625806570053,
-0.0002876106009352952,
0.007760234642773867,
0.010597416199743748,
-0.00004073968739248812,
-0.009673107415437698,
-0.00270125363022089,
-0.0671037882566452,
0.028569526970386505,
-0.02764027565717697,
0.09055254608392715,
-0.02556428872048855,
0.005417335778474808,
-0.004332385957241058,
-0.03050711378455162,
0.03019077330827713,
-0.047767456620931625,
0.05045635253190994,
-0.015807153657078743,
0.028964951634407043,
0.00457705557346344,
-0.015372185036540031,
0.004695683252066374,
0.006786498241126537,
-0.010117962025105953,
0.038494717329740524,
0.05235439911484718,
0.03991825133562088,
0.0006169262924231589,
0.002237863838672638,
-0.03141659498214722,
-0.005674362648278475,
-0.01061718724668026,
-0.016222350299358368,
-0.060104746371507645,
0.05377793312072754,
-0.009954849258065224,
-0.0028841381426900625,
0.029380150139331818,
-0.009485280141234398,
-0.00016929174307733774,
-0.013306084088981152,
-0.02961740456521511,
0.004359571263194084,
0.014472590759396553,
0.008284173905849457,
0.017962224781513214,
-0.0633472427725792,
-0.01793256774544716,
0.05421290174126625,
-0.004876096732914448,
0.04011596366763115,
-0.01874319091439247,
0.0013654553331434727,
-0.014482475817203522,
-0.044841304421424866,
0.035746507346630096,
-0.01439350564032793,
0.05611094459891319,
0.04666026309132576,
-0.01907930336892605,
0.019049646332859993,
-0.01615315116941929,
0.022914934903383255,
-0.01931655779480934,
0.06623385101556778,
0.05104949325323105,
0.012703059241175652,
0.02841135673224926,
0.008279231376945972,
-0.06900183111429214,
-0.015807153657078743,
0.02993374690413475,
-0.02924175001680851,
0.06125148385763168,
-0.03228653222322464,
-0.04381319880485535,
-0.038613345474004745,
0.050060927867889404,
-0.01989981159567833,
-0.01493721641600132,
-0.012001178227365017,
-0.005921503994613886,
0.003781260922551155,
-0.02021615207195282,
-0.004008630756288767,
0.006366358138620853,
0.01061718724668026,
-0.03351235017180443,
0.018090737983584404,
0.05682271346449852,
-0.017843596637248993,
-0.03922625631093979,
-0.052156686782836914,
0.0053679076954722404,
0.006722241640090942,
0.008284173905849457,
0.03825746104121208,
0.06275410205125809,
-0.011833122000098228,
-0.04155926778912544,
0.0017744740471243858,
0.08683554083108902,
-0.04590895399451256,
0.05547826364636421,
-0.05472695454955101,
-0.023428989574313164,
0.0033438208047300577,
0.009218367747962475,
0.03811906278133392,
0.07271883636713028,
0.03056642785668373,
0.021787971258163452,
-0.03641873225569725,
-0.034105490893125534,
0.02884632535278797,
0.041598811745643616,
0.03082345426082611,
0.03349258005619049,
-0.062200505286455154,
-0.011585980653762817,
-0.013138027861714363,
-0.06852731853723526,
0.02026558108627796,
0.022974248975515366,
0.060104746371507645,
0.06038154661655426,
-0.015648983418941498,
-0.009327109903097153,
-0.03426365926861763,
0.020562151446938515,
-0.06457306444644928,
0.026809880509972572,
0.03805974870920181,
-0.007938176393508911,
-0.017962224781513214,
0.06350541114807129,
-0.022282253950834274,
0.012653631158173084,
0.0012140813050791621,
0.08628194779157639,
0.01799188181757927,
-0.03985893726348877,
0.026295827701687813,
-0.01239660382270813,
-0.0005125091411173344,
-0.05148446187376976,
-0.05607140436768532,
-0.02249973826110363,
0.031693391501903534,
-0.005165251903235912,
0.051840346306562424,
0.02172865718603134,
-0.012100034393370152,
0.014868016354739666
] |
710,379
|
xer_reader.src.reader
|
check_errors
|
Check XER file for missing tables and orphan data
Returns:
list[str]: Descriptions of missing information
|
def check_errors(self) -> list[str]:
"""Check XER file for missing tables and orphan data
Returns:
list[str]: Descriptions of missing information
"""
errors = set()
id_map = {
data["key"]: table for table, data in table_data.items() if data["key"]
}
tables = self.parse_tables()
# Check for minimum tables required to be in the XER
for name in REQUIRED_TABLES:
if name not in tables:
errors.add(f"Missing Required Table {name}")
# Check for required table pairs
for table in tables.values():
for table2 in table.depends:
if table2 not in tables:
errors.add(f"Missing Table {table2} Required for Table {table}")
for row in table.entries:
for key, val in row.items():
if val == "":
continue
if not key.endswith("_id"):
continue
if key == "parent_wbs_id" and row["proj_node_flag"] == "Y":
continue
clean_key = key if key in id_map else _clean_foreign_key_label(key)
if clean_key:
if check_table := tables.get(id_map[clean_key]):
for entry in check_table.entries:
if entry.get(clean_key, "") == val:
break
else:
errors.add(
f"Orphan data {key} [{val}] in table {table}"
)
return list(errors)
|
(self) -> list[str]
|
[
0.022914359346032143,
0.025855034589767456,
-0.007093903608620167,
0.0032629091292619705,
0.0005749475094489753,
-0.011504917405545712,
0.005929090548306704,
-0.01734807901084423,
0.0718747079372406,
-0.021100305020809174,
-0.009428303688764572,
0.004131745547056198,
0.04220061004161835,
-0.055987417697906494,
-0.028910282999277115,
-0.03588006645441055,
-0.008573789149522781,
0.05614018067717552,
0.042926233261823654,
0.005551957990974188,
-0.029807761311531067,
0.050449781119823456,
-0.02679070457816124,
0.006974557880312204,
-0.0010687400354072452,
0.03876345604658127,
0.015438549220561981,
0.006564009003341198,
0.08569969981908798,
0.017749080434441566,
-0.050793495029211044,
0.01460790354758501,
0.008406705223023891,
0.0222651194781065,
-0.028852997347712517,
-0.0099104605615139,
0.0643511563539505,
-0.04181870445609093,
-0.018531987443566322,
0.023009834811091423,
0.010607438161969185,
0.038400646299123764,
0.0046831220388412476,
-0.019238512963056564,
-0.007585607469081879,
-0.030285144224762917,
-0.04281166195869446,
0.020852066576480865,
-0.08172787725925446,
-0.010569248348474503,
-0.00028165566618554294,
0.04078755900263786,
0.031583625823259354,
0.008168013766407967,
0.03691121190786362,
-0.006268031895160675,
-0.04067298769950867,
0.009538101963698864,
0.019467657431960106,
-0.038687076419591904,
0.011504917405545712,
0.03609011694788933,
0.0005227337824180722,
0.0019357859855517745,
0.05701856315135956,
0.010607438161969185,
0.019801825284957886,
-0.0844012200832367,
-0.002034842735156417,
0.026179654523730278,
-0.02140583097934723,
-0.003683005692437291,
-0.016374219208955765,
0.06870488822460175,
0.08111683279275894,
-0.015190310776233673,
0.01489433366805315,
-0.03144995868206024,
0.018961632624268532,
-0.06511496752500534,
-0.0002331715077161789,
-0.009714733809232712,
0.012975255958735943,
0.02245607227087021,
0.06946869939565659,
-0.0036639105528593063,
0.0614868625998497,
0.0501442551612854,
0.051213592290878296,
0.04827291518449783,
-0.03673935681581497,
0.021081211045384407,
-0.012621992267668247,
-0.046554338186979294,
-0.0007906647515483201,
0.033206723630428314,
-0.04105489328503609,
-0.0453704297542572,
-0.06622249633073807,
-0.04017651081085205,
0.06480944156646729,
0.033435869961977005,
0.0274017546325922,
0.04575233533978462,
0.03521173074841499,
-0.008950921706855297,
-0.04231518134474754,
-0.03093438409268856,
0.06209791079163551,
-0.012946613132953644,
-0.08134597539901733,
-0.034868016839027405,
0.032863009721040726,
-0.018054604530334473,
0.06492401659488678,
-0.10532967001199722,
0.030915288254618645,
-0.007996156811714172,
-0.057553231716156006,
-0.04319356754422188,
0.09967745840549469,
-0.02673341892659664,
-0.054650746285915375,
-0.020050063729286194,
0.047929201275110245,
-0.014665190130472183,
0.016412409022450447,
0.006922045722603798,
0.05201559513807297,
-0.06091400235891342,
0.04258251562714577,
0.009566744789481163,
-0.04132222756743431,
-0.020661113783717155,
-0.04143679887056351,
-0.041207656264305115,
0.002859520958736539,
-0.00394556624814868,
-0.0010395003482699394,
-0.07817615568637848,
0.014722475782036781,
-0.015514930710196495,
-0.004234382417052984,
0.012851135805249214,
-0.027420848608016968,
0.0068074739538133144,
-0.03885893523693085,
-0.005547184497117996,
0.03622378408908844,
-0.012507420964539051,
-0.049074918031692505,
-0.058889903128147125,
-0.011065726168453693,
-0.06725364178419113,
-0.06301448494195938,
0.03586097061634064,
-0.04495033249258995,
-0.041398607194423676,
0.006048435810953379,
-0.044262904673814774,
0.0008700295584276319,
-0.024136457592248917,
-0.018083248287439346,
0.007967513985931873,
0.003804738400503993,
0.0005743507645092905,
-0.011504917405545712,
-0.04750910401344299,
-0.00805821642279625,
0.04296442121267319,
0.024040982127189636,
0.002001425949856639,
-0.024480173364281654,
0.02669522725045681,
-0.033053964376449585,
0.010607438161969185,
0.027287181466817856,
0.008845897391438484,
0.016192814335227013,
0.041589561849832535,
-0.036586593836545944,
0.016431504860520363,
-0.009843626990914345,
0.03322581946849823,
0.008263491094112396,
-0.0010735138785094023,
-0.04319356754422188,
-0.006745414342731237,
0.041971467435359955,
0.0031626590061932802,
-0.020794780924916267,
-0.030877098441123962,
0.05995924025774002,
0.10105232149362564,
0.01940082386136055,
0.01562950201332569,
0.040443845093250275,
0.05029701814055443,
-0.0023153049405664206,
-0.06870488822460175,
-0.03227105364203453,
-0.012841588817536831,
-0.0007542642997577786,
0.034295156598091125,
-0.05610198900103569,
0.02255154773592949,
-0.04231518134474754,
-0.04086393862962723,
-0.03937450796365738,
0.027993708848953247,
0.05728589743375778,
-0.006072305142879486,
-0.059271808713674545,
0.0023928796872496605,
0.0341423936188221,
0.0020467774011194706,
0.032347436994314194,
-0.002773592248558998,
-0.00445636548101902,
0.01489433366805315,
0.015524477697908878,
-0.03914536163210869,
0.0066785807721316814,
-0.03060976415872574,
-0.011418988928198814,
0.003995691426098347,
0.04613424092531204,
0.023143501952290535,
0.024098267778754234,
0.005704720504581928,
0.00154910609126091,
-0.0007620217511430383,
-0.03316853567957878,
-0.0027043716982007027,
0.0632818192243576,
0.010235080495476723,
-0.000981020973995328,
-0.03328310698270798,
0.09142829477787018,
-0.02545403316617012,
-0.04960958659648895,
-0.024422887712717056,
-0.0341423936188221,
-0.039298124611377716,
0.05239750072360039,
-0.04750910401344299,
0.00284281256608665,
-0.009762471541762352,
-0.0766485333442688,
-0.007977060973644257,
0.0019095299066975713,
-0.027420848608016968,
0.026236940175294876,
-0.04258251562714577,
0.04437747597694397,
-0.05423064902424812,
-0.015982765704393387,
-0.06221248582005501,
0.06087581440806389,
0.0018952083773911,
0.017376722767949104,
0.02803189866244793,
-0.01968725398182869,
0.06171600520610809,
-0.04705081507563591,
-0.009113231673836708,
-0.003771321615204215,
-0.005475576967000961,
-0.05323769524693489,
0.04132222756743431,
0.07981835305690765,
0.03309215232729912,
-0.022093260660767555,
-0.0011612328235059977,
-0.019859110936522484,
0.04628700390458107,
0.005933864042162895,
0.037159450352191925,
-0.029616808518767357,
-0.004093554802238941,
-0.022570643573999405,
-0.030342429876327515,
0.011743608862161636,
0.024938460439443588,
-0.04750910401344299,
-0.07023251056671143,
-0.07936006039381027,
-0.0692395567893982,
-0.050449781119823456,
-0.001988298026844859,
-0.01422599796205759,
0.007967513985931873,
-0.004726086743175983,
-0.03899260237812996,
-0.03250019997358322,
0.002117191208526492,
0.015543573535978794,
0.003554112510755658,
-0.02892937883734703,
-0.03274843841791153,
-0.020947543904185295,
0.012135062366724014,
0.05552912876009941,
-0.02654246613383293,
-0.06335820257663727,
-0.015218953602015972,
0.02134854346513748,
-0.028089184314012527,
0.013452637940645218,
-0.057133134454488754,
-0.030399715527892113,
-0.0021649296395480633,
0.03146905452013016,
0.026065083220601082,
0.05373417213559151,
-0.029635904356837273,
0.0016374218976125121,
0.027669088914990425,
-0.03356953710317612,
0.057705994695425034,
-0.0005722622154280543,
0.05904266610741615,
0.04517947882413864,
-0.0012232925510033965,
0.0046377708204090595,
-0.07229480147361755,
0.08157511800527573,
-0.05132816359400749,
0.0038453158922493458,
-0.011084821075201035,
0.016316933557391167,
-0.0701943188905716,
0.017529483884572983,
-0.015791812911629677,
0.0250721275806427,
0.0251294132322073,
0.015553121455013752,
-0.04323175549507141,
0.04941863566637039,
0.03232834115624428,
0.04571414738893509,
-0.02860475704073906,
0.006568782962858677,
-0.022226927801966667,
-0.0026088953018188477,
-0.02379274182021618,
-0.03297758102416992,
0.004320311360061169,
-0.012641088105738163,
0.04116946458816528,
-0.033149439841508865,
0.08569969981908798,
-0.011409441009163857,
0.027287181466817856,
0.03440972790122032,
-0.056216560304164886,
-0.005437386222183704,
0.051786452531814575,
0.0008210978703573346,
0.08470674604177475,
0.04189508780837059,
0.015285787172615528,
-0.05373417213559151,
0.020431969314813614,
0.015028000809252262,
-0.05904266610741615,
0.06454210728406906,
-0.02784094586968422,
-0.03446701541543007,
0.008172787725925446,
-0.0397564135491848,
0.005628339480608702,
-0.020470160990953445,
-0.08875495195388794,
0.018130986019968987,
-0.0050459327176213264,
0.0682847872376442,
0.01940082386136055,
-0.01707119680941105,
0.009428303688764572,
-0.0016219069948419929,
0.000060717084124917164,
-0.02860475704073906,
-0.03376048803329468,
-0.03746497631072998,
-0.05434522032737732,
-0.03870617225766182,
0.03099166974425316,
0.007814751006662846,
0.046210624277591705,
0.08096406608819962,
-0.033053964376449585,
0.017529483884572983,
0.05067892372608185,
0.027478136122226715,
-0.012975255958735943,
0.010416485369205475,
-0.026523370295763016,
-0.03022785857319832,
-0.04785281792283058,
-0.013080280274152756,
-0.025874130427837372,
-0.020088255405426025,
0.06935412436723709,
-0.004064911976456642,
-0.01778727024793625,
0.005886125843971968,
0.00549467233940959,
-0.007967513985931873,
0.025664081797003746,
0.0345052070915699,
0.012793850153684616,
0.043117184191942215,
-0.014235545881092548,
-0.050449781119823456,
0.05900447443127632,
-0.05392512306571007,
0.026867086067795753,
0.007704953197389841,
-0.004585258662700653,
0.014483784325420856,
-0.0018080861773341894,
0.05782056599855423,
0.04991511255502701,
-0.01778727024793625,
0.021424924954771996,
-0.05881351977586746,
0.0031053731217980385,
-0.013968211598694324,
0.01079839188605547,
0.043308138847351074,
-0.0012579028261825442,
0.03368410840630531,
-0.10853768140077591,
-0.013576757162809372,
-0.012937065213918686,
-0.024060076102614403,
-0.0015801360132172704,
0.01186772808432579,
0.05709494277834892,
0.00412458460777998,
0.055032651871442795,
0.05125178396701813,
0.03463887423276901,
0.03351224958896637,
0.02321988344192505,
-0.02969319000840187,
0.02360178902745247,
-0.04651615023612976,
0.04838748648762703,
-0.03859160095453262,
-0.0182073675096035,
0.022914359346032143,
-0.08806751668453217,
-0.022627929225564003,
0.08699817955493927,
-0.006077079102396965,
-0.008378062397241592,
-0.06729183346033096,
0.05220654606819153,
0.003181754145771265,
0.030495192855596542,
0.012965708039700985,
0.015056643635034561,
-0.004580484703183174,
-0.04785281792283058,
-0.049685969948768616,
0.04002374783158302,
0.017615413293242455,
0.015047095715999603,
-0.03261477127671242,
0.0024752281606197357,
0.003804738400503993,
0.013576757162809372,
-0.015581764280796051,
0.02392640896141529,
0.023869123309850693,
0.0025611568707972765,
0.01807370036840439,
-0.047547295689582825,
0.013767710886895657,
-0.046019669622182846,
0.02793642319738865,
-0.044835761189460754,
0.008335097692906857,
-0.03217557817697525,
-0.02192140370607376,
-0.05705675482749939,
-0.03374139219522476,
-0.03444791957736015,
-0.01935308612883091,
-0.028050994500517845,
-0.03408510982990265,
-0.01079839188605547,
0.03799964487552643,
-0.03540268540382385,
0.011390346102416515,
0.03740769252181053,
0.017854103818535805,
-0.057935137301683426,
0.08027663826942444,
-0.03679664060473442,
0.010034579783678055,
0.017099840566515923,
-0.0048167891800403595,
-0.013042089529335499,
0.05453617498278618,
0.020508350804448128,
0.01568678766489029,
-0.03990917652845383,
-0.031679101288318634,
-0.014722475782036781,
0.019410371780395508,
0.07683948427438736,
-0.041627753525972366,
-0.01782546192407608,
-0.0236972663551569,
0.024002790451049805,
0.01793048530817032,
0.09639307111501694,
-0.05308493226766586,
-0.0037975776940584183,
-0.02169225923717022,
-0.011285321786999702,
-0.03549816086888313,
0.037636835128068924,
-0.04223880171775818,
-0.016517434269189835,
-0.016937529668211937,
-0.024518363177776337,
-0.012125514447689056,
-0.005762006621807814,
0.0520537868142128,
-0.06702449917793274,
-0.02516760490834713,
0.01711893640458584,
0.025492224842309952,
-0.010550152510404587,
0.023009834811091423,
-0.009872269816696644,
0.05346683785319328,
0.018617916852235794,
0.0060914005152881145,
-0.01745310239493847,
0.010597891174256802,
0.010445128194987774,
-0.04762367531657219,
0.06068485975265503,
-0.039489079266786575,
0.0049695516936481,
-0.007380333263427019,
0.007819524966180325,
0.05686580017209053,
-0.019763633608818054,
0.015333524905145168,
0.0053275884129107,
0.060417525470256805,
0.009967746213078499,
0.038820743560791016,
-0.016526982188224792,
0.0066117472015321255,
-0.0606466680765152,
0.020947543904185295,
-0.032290149480104446,
0.017844557762145996,
-0.005585374776273966,
-0.003628106787800789,
-0.00705571286380291,
-0.020890256389975548,
0.020909352228045464,
-0.025492224842309952,
0.07069079577922821,
-0.021100305020809174,
-0.020126445218920708,
0.013824996538460255,
-0.04590509831905365,
-0.04040565341711044,
0.033053964376449585,
0.022379690781235695,
-0.04575233533978462,
0.06820841133594513,
-0.03185096010565758,
0.021864118054509163,
0.03645292669534683,
0.03857250511646271,
-0.008358967490494251,
0.001916690613143146,
0.029158521443605423,
0.0616014339029789,
0.02764999307692051,
-0.023811837658286095,
-0.025969605892896652,
-0.03733130916953087,
-0.007475809659808874,
0.0464397668838501,
0.06133409962058067,
0.050984449684619904,
-0.03679664060473442,
-0.054459791630506516,
-0.014197355136275291,
0.007270534988492727,
0.02726808749139309,
0.03952726721763611,
-0.027229895815253258,
0.0020694530103355646,
-0.03309215232729912,
0.041016701608896255,
0.00805821642279625,
-0.025243984535336494,
0.024862078949809074,
-0.022436976432800293,
-0.027630897238850594,
0.03444791957736015,
-0.08394293487071991,
-0.05881351977586746,
-0.033531345427036285,
-0.010044127702713013,
-0.008588111028075218,
0.004260638728737831,
0.0038596373051404953,
-0.0106265340000391,
-0.04586690664291382,
0.006282353308051825,
0.043117184191942215,
-0.010387842543423176,
0.04403375834226608,
-0.0312780998647213,
0.04666890949010849,
-0.011953657492995262,
-0.04002374783158302,
-0.0048788487911224365,
-0.0046258363872766495,
0.02178773656487465,
-0.0022484713699668646,
0.0037235834170132875,
0.06144867092370987,
0.00894137378782034,
-0.04338451847434044,
0.009184839203953743,
0.027516325935721397,
-0.015333524905145168,
-0.02316259779036045,
-0.048502057790756226,
0.03339767828583717,
-0.0130134467035532,
0.0805821642279625,
-0.016231004148721695,
-0.01858927309513092,
0.03479163348674774,
0.01492297649383545,
0.0025754785165190697,
0.0463251955807209,
0.008874540217220783,
-0.04147499054670334,
0.010359199717640877,
0.04067298769950867,
-0.030017809942364693,
-0.06034114584326744,
-0.026809800416231155,
0.010330556891858578,
0.04361366480588913,
-0.06385467946529388,
-0.024995746091008186,
0.01184863317757845,
0.044262904673814774,
0.0029740927275270224,
0.06584059447050095,
-0.012478778138756752,
-0.03297758102416992,
0.03635745123028755,
-0.0010126475244760513,
0.014846595004200935,
0.04972415789961815,
-0.03060976415872574,
-0.03156452998518944,
0.014598356559872627,
-0.01511392928659916,
0.01648879051208496,
0.03904988616704941,
-0.00802957359701395,
-0.017758628353476524,
0.008726551197469234,
-0.014951619319617748,
-0.006540140137076378,
-0.03250019997358322,
0.017080744728446007,
-0.004375210497528315,
0.032290149480104446,
-0.0008222913020290434,
-0.02807009033858776,
-0.0774887204170227,
0.033588629215955734,
0.049265872687101364,
0.06396925449371338,
-0.050029683858156204,
-0.02669522725045681,
0.0265042744576931,
-0.008864992298185825,
-0.012832040898501873,
-0.013128018006682396,
0.011905918829143047,
-0.02640879899263382,
-0.010225532576441765,
0.018837513402104378,
-0.004375210497528315,
0.01668929122388363,
-0.02616056054830551,
0.012746112421154976,
-0.10074679553508759,
0.04086393862962723,
0.017462650313973427,
0.016612909734249115,
0.00701752258464694,
-0.07920730113983154,
-0.01291796937584877,
-0.07195108383893967,
0.03885893523693085,
-0.002211474347859621,
0.012173253111541271,
-0.038916219025850296,
0.028719330206513405,
0.045828718692064285,
-0.0027258540503680706,
0.04002374783158302,
-0.006716771516948938,
0.10479500144720078,
-0.004382370971143246,
-0.08631075173616409,
0.003616172354668379,
0.02096663787961006,
0.06771192699670792,
0.031087147071957588,
-0.06293810904026031,
0.018169177696108818,
0.052130166441202164,
-0.04395737871527672,
-0.0005585374892689288,
0.044262904673814774,
0.01639331504702568,
-0.012698373757302761,
0.03679664060473442,
-0.012593349441885948,
-0.002802235074341297,
-0.00495523028075695,
-0.025606796145439148,
-0.01725260354578495,
0.029674094170331955,
0.030972575768828392,
-0.0539633147418499,
0.024155553430318832,
0.022035975009202957,
-0.00044426406384445727,
-0.024957556277513504,
-0.007337368559092283,
0.026485180482268333,
0.014808404259383678,
0.015257144346833229,
-0.010025031864643097,
-0.022188737988471985,
-0.007466261740773916,
0.01489433366805315,
-0.013844091445207596,
-0.040596604347229004,
0.03526901826262474,
0.05911904573440552,
0.007027070038020611,
0.012516968883574009,
0.01696617342531681
] |
710,380
|
xer_reader.src.reader
|
delete_tables
|
Delete tables from XER file.
Does not modify `XerReader.data` attribute, but returns a new string.
Args:
*table_names (str): table names to remove from XER file
Returns:
str: XER File String with tables removed
|
def delete_tables(self, *table_names: str) -> str:
"""
Delete tables from XER file.
Does not modify `XerReader.data` attribute, but returns a new string.
Args:
*table_names (str): table names to remove from XER file
Returns:
str: XER File String with tables removed
"""
if not table_names:
raise ValueError("Must pass at least one table name")
rev_data = self.data
for name in table_names:
table_search = re.compile(rf"%T\t{name.upper()}\n(.|\s)*?(?=%T|%E)")
rev_data = table_search.sub("", rev_data)
return rev_data
|
(self, *table_names: str) -> str
|
[
-0.03804096207022667,
0.014078795909881592,
-0.006911987904459238,
-0.09559383988380432,
-0.029031259939074516,
-0.039970312267541885,
-0.07007545232772827,
0.08714838325977325,
-0.005383069161325693,
0.019202494993805885,
0.004366064909845591,
0.0364210344851017,
-0.04848857596516609,
0.014215306378901005,
-0.006220334209501743,
-0.05828093737363815,
0.021550478413701057,
0.05154641345143318,
0.0188202653080225,
-0.07964940369129181,
-0.01709113083779812,
0.028266800567507744,
-0.01914789155125618,
-0.046158794313669205,
-0.015607714653015137,
0.034928519278764725,
-0.017400555312633514,
-0.013378041796386242,
0.04688685014843941,
0.014242609031498432,
-0.0204037893563509,
0.025063350796699524,
-0.020057961344718933,
0.052019648253917694,
0.008700277656316757,
-0.045831166207790375,
0.015780627727508545,
0.029031259939074516,
0.012103942222893238,
0.04481188952922821,
-0.011749014258384705,
0.01850173994898796,
0.06898336857557297,
-0.020604003220796585,
-0.006980243604630232,
0.012941207736730576,
-0.02224213071167469,
-0.02187810279428959,
-0.002142079174518585,
0.030742192640900612,
0.04102599248290062,
-0.010365706868469715,
0.028048383072018623,
0.026228241622447968,
0.01821051724255085,
0.0011319005861878395,
0.006384146865457296,
0.05343936011195183,
-0.0025163458194583654,
-0.03734930604696274,
0.04779691994190216,
-0.009141662158071995,
0.004786972887814045,
0.021787095814943314,
0.046486418694257736,
-0.00970135536044836,
0.09421053528785706,
-0.031506653875112534,
-0.002468567108735442,
0.012595380656421185,
-0.062248844653367996,
-0.03531074896454811,
-0.021732492372393608,
0.05464065447449684,
0.08707557618618011,
0.014024191536009312,
0.002482218202203512,
-0.05740727111697197,
-0.0095921466127038,
-0.05340295657515526,
0.029923129826784134,
-0.07761084288358688,
0.03731290623545647,
0.025245364755392075,
0.03491031751036644,
-0.0013924083905294538,
0.04390181601047516,
0.00930547434836626,
0.02684709057211876,
0.002391211222857237,
0.0032535032369196415,
-0.014005990698933601,
-0.05977345257997513,
-0.056133169680833817,
-0.02901305817067623,
-0.010411210358142853,
0.004152198322117329,
-0.007849360816180706,
-0.009159862995147705,
-0.05686122551560402,
0.05751647800207138,
0.01716393604874611,
0.027866369113326073,
0.009746858850121498,
0.003995210863649845,
-0.020057961344718933,
-0.028448814526200294,
-0.01587163656949997,
0.0221693255007267,
-0.007694649044424295,
-0.05019950866699219,
-0.031615860760211945,
0.0682189092040062,
-0.013851278461515903,
0.045758362859487534,
-0.05653360113501549,
-0.025281768292188644,
-0.06439661234617233,
-0.016690699383616447,
-0.03358161449432373,
0.04393821954727173,
0.011239374987781048,
-0.06836452335119247,
0.010256498120725155,
0.010074484162032604,
0.011621604673564434,
0.0655250996351242,
-0.005992816761136055,
0.07804767787456512,
-0.003681236645206809,
0.0007183871930465102,
0.03749492019414902,
-0.00964675098657608,
-0.027556944638490677,
0.006115675903856754,
0.022405944764614105,
0.03785894811153412,
0.010784339159727097,
0.036803264170885086,
-0.055623531341552734,
0.017082029953598976,
0.016363073140382767,
0.03571118041872978,
0.013778472319245338,
0.00639779819175601,
-0.02169608883559704,
0.013341638259589672,
-0.020039759576320648,
0.006857383996248245,
-0.0033012819476425648,
-0.05780769884586334,
-0.021787095814943314,
-0.0700390562415123,
-0.0577348954975605,
-0.035547368228435516,
0.05977345257997513,
-0.049253035336732864,
-0.03815016895532608,
-0.018802063539624214,
0.006825531367212534,
0.06301330775022507,
0.00031937798485159874,
-0.0383685864508152,
0.009892470203340054,
0.01951191946864128,
-0.03614801540970802,
0.03283535689115524,
0.016181059181690216,
-0.00815423484891653,
-0.003192073432728648,
0.028048383072018623,
0.055696334689855576,
-0.014961564913392067,
0.045903973281383514,
0.017082029953598976,
-0.012713689357042313,
0.026301046833395958,
-0.013323437422513962,
-0.014188004657626152,
0.041535634547472,
-0.0023889360018074512,
0.010875347070395947,
-0.012895704247057438,
0.023734647780656815,
0.05336655303835869,
-0.009619449265301228,
-0.014570234343409538,
0.02853982150554657,
0.04703246057033539,
-0.024426301941275597,
-0.031179027631878853,
-0.015635017305612564,
0.020312780514359474,
0.055878348648548126,
0.02331601455807686,
-0.00038251414662227035,
0.024371696636080742,
0.003640283364802599,
-0.01084804441779852,
-0.06301330775022507,
-0.07651875913143158,
0.04062556102871895,
0.01349635049700737,
-0.022114722058176994,
0.018565446138381958,
0.027720758691430092,
0.059227410703897476,
-0.08299846202135086,
-0.07462581247091293,
0.008809485472738743,
0.11233914643526077,
-0.04685044661164284,
-0.024426301941275597,
-0.019311703741550446,
0.036257222294807434,
0.041535634547472,
-0.03711269050836563,
0.014961564913392067,
0.007685548160225153,
-0.0065434095449745655,
0.007890313863754272,
0.09603067487478256,
-0.0022933785803616047,
-0.04503030702471733,
0.010465814732015133,
-0.04066196456551552,
0.0019885047804564238,
0.011093763634562492,
0.007649145554751158,
-0.018447136506438255,
0.008031375706195831,
0.008035925216972828,
-0.003490121802315116,
0.03407305106520653,
0.06694481521844864,
-0.027447737753391266,
-0.031015215441584587,
-0.059227410703897476,
0.05711604654788971,
0.009792362339794636,
-0.015016169287264347,
-0.021259255707263947,
-0.001305951620452106,
-0.0503087155520916,
0.07979501038789749,
0.030997013673186302,
-0.002104538958519697,
-0.018692854791879654,
-0.04459347203373909,
0.0009259970975108445,
0.0387326143682003,
-0.07651875913143158,
0.03438247740268707,
0.006247636396437883,
0.027848167344927788,
0.0485977828502655,
0.04004311561584473,
-0.017245842143893242,
0.010584124363958836,
-0.0188202653080225,
0.008700277656316757,
-0.042882539331912994,
-0.04532152786850929,
0.009364629164338112,
0.058790575712919235,
-0.015453003346920013,
-0.004709616769105196,
0.007963120006024837,
-0.02890384942293167,
-0.009237219579517841,
-0.02897665649652481,
0.033527009189128876,
-0.02278817445039749,
-0.022260332480072975,
-0.02595522068440914,
0.014224407263100147,
0.028776440769433975,
-0.03250773251056671,
-0.004438870586454868,
-0.009910671971738338,
-0.012704589404165745,
-0.05977345257997513,
0.01922069676220417,
0.030997013673186302,
0.03774973750114441,
-0.02670147828757763,
-0.02289738319814205,
-0.1098637506365776,
0.01791929453611374,
0.0038973784539848566,
0.05959143862128258,
0.027975577861070633,
0.0018610948463901877,
-0.028048383072018623,
-0.06705401837825775,
-0.03228931501507759,
0.03825937956571579,
-0.0281393900513649,
-0.02191450633108616,
-0.0011364510282874107,
-0.010729735717177391,
-0.0204037893563509,
0.07513544708490372,
-0.009728657081723213,
-0.0577348954975605,
-0.02728392370045185,
0.01355095487087965,
0.013796674087643623,
0.023334216326475143,
-0.00854556541889906,
0.002887199865654111,
-0.018128611147403717,
-0.058790575712919235,
0.0005298318574205041,
0.014197105541825294,
0.05358497053384781,
0.0274659376591444,
0.028922051191329956,
0.002773440908640623,
0.026301046833395958,
0.02014896832406521,
0.02753874473273754,
-0.00256867497228086,
-0.0026778834871947765,
-0.030105143785476685,
-0.06789128482341766,
0.027156515046954155,
-0.012895704247057438,
-0.028485218062996864,
0.003105616895481944,
-0.008176987059414387,
-0.06301330775022507,
0.032016292214393616,
-0.027192916721105576,
0.056205976754426956,
0.03653024509549141,
0.02901305817067623,
-0.0017917020013555884,
0.021113643422722816,
0.0485977828502655,
0.0221693255007267,
-0.00508274557068944,
0.03906024247407913,
-0.012258654460310936,
-0.040225133299827576,
0.007448929827660322,
-0.0017188963247463107,
0.04084397852420807,
0.07964940369129181,
0.014588436111807823,
0.002545923227444291,
0.06257647275924683,
0.029340684413909912,
0.056242380291223526,
0.021150046959519386,
-0.022114722058176994,
-0.007817508652806282,
0.08037745952606201,
-0.027520542964339256,
-0.02224213071167469,
-0.021277455613017082,
0.03898743540048599,
-0.05121878907084465,
0.007844810374081135,
-0.027666153386235237,
-0.049580659717321396,
0.027520542964339256,
-0.004586757160723209,
-0.02997773326933384,
0.0011739913607016206,
-0.021495873108506203,
0.037640530616045,
-0.010784339159727097,
0.0161992609500885,
0.0022603885736316442,
-0.003983835224062204,
0.023552633821964264,
0.018729258328676224,
-0.003963358700275421,
0.010047182440757751,
-0.009223568253219128,
0.031179027631878853,
0.008318047970533371,
0.03236211836338043,
-0.01502527017146349,
0.02422608621418476,
-0.046231597661972046,
0.013396242633461952,
-0.023771051317453384,
0.005114598199725151,
0.07025747001171112,
-0.017618970945477486,
-0.019657529890537262,
0.009055204689502716,
-0.06341373920440674,
-0.010584124363958836,
-0.04688685014843941,
-0.02843061275780201,
-0.04477548599243164,
-0.033781830221414566,
0.005087296012789011,
0.00017348225810565054,
-0.04779691994190216,
0.03562017157673836,
-0.022697167471051216,
0.02559119276702404,
0.05333015322685242,
-0.041535634547472,
-0.008181536570191383,
-0.014734047465026379,
0.004222728777676821,
0.027083707973361015,
0.017646273598074913,
0.0274659376591444,
0.004263681825250387,
0.06563431024551392,
-0.034928519278764725,
-0.02231493778526783,
0.02912226691842079,
0.014451924711465836,
-0.02883104421198368,
0.016636095941066742,
0.018556345254182816,
0.015498506836593151,
0.04335577413439751,
0.014561133459210396,
-0.04113520309329033,
-0.01896587572991848,
0.013095919974148273,
0.021441269665956497,
-0.01274099200963974,
-0.06891056150197983,
-0.02853982150554657,
-0.0711311399936676,
0.049580659717321396,
0.019420912489295006,
0.011430489830672741,
-0.03572938218712807,
-0.00224901270121336,
0.04521232098340988,
-0.03880542144179344,
-0.059118203818798065,
0.056205976754426956,
-0.013805774971842766,
-0.03745851665735245,
-0.010019879788160324,
-0.03627542406320572,
-0.02864903025329113,
-0.0450667068362236,
0.039387866854667664,
-0.012640884146094322,
-0.039788298308849335,
-0.06006467714905739,
-0.10957252979278564,
0.00508274557068944,
0.02102263644337654,
0.07131315022706985,
0.05118238553404808,
-0.06050150841474533,
0.04200886934995651,
0.03258053585886955,
0.03026895597577095,
0.045976780354976654,
0.005537780933082104,
0.0112666767090559,
-0.036366432905197144,
-0.0637049600481987,
-0.028485218062996864,
0.04131721705198288,
0.000837265164591372,
-0.0049143824726343155,
-0.017191238701343536,
0.014997967518866062,
0.061702802777290344,
-0.052674900740385056,
0.055878348648548126,
0.040079519152641296,
0.014488328248262405,
-0.024025870487093925,
-0.034000247716903687,
-0.01022009551525116,
-0.07273286581039429,
0.0019475516164675355,
-0.0241168774664402,
0.026337450370192528,
0.012413366697728634,
-0.011858223006129265,
-0.06064712256193161,
0.03465549647808075,
-0.01929350197315216,
0.00043967796955257654,
-0.0028780989814549685,
-0.01907508447766304,
-0.02968651056289673,
0.0447026789188385,
-0.011439590714871883,
0.030578380450606346,
0.010611426085233688,
-0.019784940406680107,
-0.020385587587952614,
0.05369418114423752,
-0.026501262560486794,
-0.023734647780656815,
-0.013250631280243397,
0.016035448759794235,
0.013396242633461952,
0.09712275862693787,
-0.016581490635871887,
-0.03314477950334549,
-0.049617063254117966,
-0.05318453907966614,
-0.010729735717177391,
0.0016483658691868186,
0.0485977828502655,
-0.002225123345851898,
-0.05653360113501549,
-0.015416599810123444,
0.005251108668744564,
-0.008076879195868969,
0.05755288153886795,
-0.058390144258737564,
0.02753874473273754,
-0.06843733042478561,
0.01441552210599184,
-0.024590114131569862,
-0.005069094710052013,
-0.037640530616045,
0.05828093737363815,
0.06985703855752945,
-0.003626632271334529,
0.0022899657487869263,
0.059045396745204926,
0.0011410013539716601,
-0.09777801483869553,
0.03855060040950775,
0.005856305826455355,
-0.05729806050658226,
-0.05056353658437729,
0.09399211406707764,
0.05722525343298912,
0.03756772354245186,
-0.01491606142371893,
0.02357083559036255,
-0.013969587162137032,
-0.04444786161184311,
-0.011539698578417301,
-0.007125854957848787,
0.018228719010949135,
0.0225333534181118,
0.04827015846967697,
-0.06301330775022507,
-0.04553994536399841,
0.035292547196149826,
-0.04513951390981674,
0.007976771332323551,
-0.000022289625121629797,
-0.033199384808540344,
0.0003307538863737136,
-0.004372890572994947,
0.010602325201034546,
-0.030214352533221245,
-0.014461025595664978,
0.05187403783202171,
0.052565693855285645,
0.062103234231472015,
0.05074555054306984,
-0.006689020898193121,
-0.03862340748310089,
-0.049362242221832275,
0.01652688719332218,
-0.030359962955117226,
0.052638497203588486,
0.04437505453824997,
0.018237819895148277,
-0.024772128090262413,
-0.028066584840416908,
-0.006584362592548132,
0.00665716826915741,
-0.0067572761327028275,
-0.03283535689115524,
0.04098959267139435,
-0.031652264297008514,
-0.04473908245563507,
-0.020786019042134285,
0.03916944935917854,
0.02839421108365059,
-0.015753326937556267,
0.03170686960220337,
0.06472423672676086,
0.020312780514359474,
-0.003988385666161776,
-0.06319531798362732,
0.0005537212127819657,
0.009628549218177795,
-0.0016824934864416718,
0.00899605080485344,
0.034491684287786484,
0.03052377700805664,
-0.06028309464454651,
0.005619687493890524,
0.006406898610293865,
0.029613705351948738,
0.03465549647808075,
0.012240452691912651,
0.042700525373220444,
-0.029413489624857903,
-0.019712135195732117,
0.033308591693639755,
-0.00878218375146389,
0.012895704247057438,
0.009992578066885471,
0.04666843265295029,
0.019766738638281822,
-0.04561275243759155,
0.02440810017287731,
0.033527009189128876,
0.008486410602927208,
-0.058572158217430115,
-0.007776555605232716,
-0.017427856102585793,
-0.024826733395457268,
-0.021222852170467377,
-0.018365230411291122,
0.021204650402069092,
-0.009255420416593552,
0.03228931501507759,
-0.018447136506438255,
0.025136156007647514,
0.04091678559780121,
-0.06483344733715057,
-0.03571118041872978,
-0.04546713829040527,
-0.008231590501964092,
0.04211807996034622,
0.01274099200963974,
0.018046705052256584,
-0.04757850244641304,
-0.05802611634135246,
-0.01641767844557762,
-0.0383685864508152,
0.0735701248049736,
-0.03663945198059082,
0.023170404136180878,
0.015753326937556267,
-0.07142236083745956,
0.01734595000743866,
0.007389775477349758,
-0.04495749995112419,
0.022151123732328415,
-0.003717639483511448,
-0.0009032452944666147,
0.05172842741012573,
-0.0038495997432619333,
-0.025791408494114876,
-0.03228931501507759,
0.048925407230854034,
-0.011548799462616444,
-0.023589037358760834,
0.029176872223615646,
-0.009446535259485245,
0.01622656360268593,
-0.06141158193349838,
0.03509233146905899,
0.07073070853948593,
0.04029793664813042,
-0.01347814965993166,
0.04870699346065521,
0.04142642393708229,
-0.0450667068362236,
-0.005810802336782217,
0.006511556915938854,
0.03418226167559624,
0.042846135795116425,
-0.08365371078252792,
0.03565657511353493,
-0.0027279374189674854,
0.02105903998017311,
0.004197701811790466,
0.06352294236421585,
0.003612981177866459,
-0.05707964301109314,
0.04120800644159317,
0.07986781746149063,
-0.030942408367991447,
-0.01684541068971157,
0.05052713304758072,
-0.03916944935917854,
0.07262365520000458,
-0.07324250042438507,
-0.04251851141452789,
-0.0050963968969881535,
-0.02191450633108616,
0.02357083559036255,
0.003221650840714574,
-0.02335241809487343,
0.05915460363030434,
0.04736008867621422,
-0.07957659661769867,
-0.029522698372602463,
0.0038495997432619333,
-0.006611664779484272,
0.0021329785231500864,
-0.03070579096674919,
-0.003399114590138197,
-0.03855060040950775,
0.003178422339260578,
0.026392053812742233,
-0.006761826574802399,
-0.08394493162631989,
0.013077718205749989,
0.0036334579344838858,
0.00009420655260328203,
0.027010902762413025,
0.017628071829676628,
0.0018042154842987657,
-0.026464860886335373,
-0.0026983600109815598,
-0.0112666767090559,
0.020786019042134285,
-0.023261411115527153,
-0.024808531627058983,
-0.0064387512393295765,
0.028121190145611763,
0.03696707636117935,
-0.02821219712495804,
-0.013869480229914188,
-0.021550478413701057,
-0.0183925312012434,
-0.024917740374803543,
0.04972627013921738,
0.024462703615427017,
0.03159765899181366,
-0.0267378818243742,
0.007312419358640909,
-0.014333616010844707,
-0.0436105951666832,
0.021332060918211937,
-0.013414444401860237,
0.0685829371213913,
-0.03218010440468788,
-0.04113520309329033,
0.02562759444117546,
-0.008632021956145763,
0.022842777892947197,
-0.013560055755078793,
0.003369537414982915,
-0.043210163712501526,
0.03818657249212265,
-0.02761154994368553,
0.052201662212610245,
0.009278172627091408,
0.025755004957318306,
-0.06628955900669098,
-0.014215306378901005,
0.042991746217012405,
-0.023625439032912254,
0.01367836445569992,
-0.05438583344221115,
-0.0668720081448555,
0.016654295846819878,
0.04102599248290062,
0.028339605778455734,
-0.06676279753446579,
-0.046158794313669205,
0.05132799595594406,
-0.0035287996288388968,
0.03267154470086098,
-0.004577656276524067
] |
710,381
|
xer_reader.src.reader
|
get_table_names
|
Get list of table names included in the XER file.
Returns:
list[str]: list of table names
|
def get_table_names(self) -> list[str]:
"""Get list of table names included in the XER file.
Returns:
list[str]: list of table names
"""
table_names = re.compile(r"(?<=%T\t)[A-Z]+")
return table_names.findall(self.data)
|
(self) -> list[str]
|
[
-0.002529948716983199,
0.011978533118963242,
-0.019180020317435265,
-0.0618501752614975,
0.005688456352800131,
0.01097283884882927,
-0.00497010350227356,
-0.01644130051136017,
0.04636967182159424,
-0.01238260604441166,
0.0050643873400986195,
-0.011888738721609116,
-0.0447174608707428,
-0.012005471624433994,
0.004862350411713123,
-0.045435816049575806,
0.024477871134877205,
0.05983879044651985,
-0.004303382243961096,
-0.035181328654289246,
-0.030224693939089775,
0.025178266689181328,
-0.025178266689181328,
-0.042023640125989914,
-0.006923125125467777,
0.037246592342853546,
-0.06361014395952225,
-0.04798596724867821,
0.07147610187530518,
0.01016469206660986,
-0.05646253004670143,
-0.008211670443415642,
-0.02862635999917984,
-0.0036411508917808533,
-0.03532499819993973,
-0.03331360965967178,
0.0425264872610569,
-0.0199881661683321,
0.04159262776374817,
0.029290836304426193,
0.02198159508407116,
-0.04417869821190834,
0.04331667348742485,
-0.0011448748409748077,
-0.03448093309998512,
-0.025950495153665543,
-0.019790619611740112,
-0.02731536515057087,
0.055097661912441254,
0.01710577681660652,
0.0266688484698534,
0.006034163758158684,
-0.003017081879079342,
-0.028913700953125954,
0.0073316884227097034,
-0.012768721207976341,
-0.009509195573627949,
0.037964947521686554,
0.014627459459006786,
0.032182205468416214,
0.025088472291827202,
0.011071613058447838,
0.003232587594538927,
0.014241344295442104,
0.03185894712805748,
-0.009670824743807316,
0.10021021962165833,
-0.04008408635854721,
-0.017985759302973747,
0.005279893055558205,
-0.041305284947156906,
-0.03457072749733925,
0.010416115634143353,
0.055241331458091736,
0.049602262675762177,
-0.005692945793271065,
-0.009145529009401798,
-0.060916319489479065,
-0.02701006457209587,
-0.04249056801199913,
0.010936921462416649,
-0.001818330492824316,
0.015920493751764297,
0.04238281399011612,
0.059300024062395096,
-0.024801131337881088,
0.005208057817071676,
0.0007391176768578589,
-0.002078733406960964,
0.0752115398645401,
-0.03284668177366257,
-0.0282492246478796,
-0.009985104203224182,
0.01724046654999256,
-0.05208057910203934,
-0.04575907438993454,
-0.027530871331691742,
0.008126365952193737,
-0.049458589404821396,
-0.027261488139629364,
0.012553215026855469,
0.046261921525001526,
0.03925798088312149,
0.03570213541388512,
0.023759519681334496,
-0.016917208209633827,
-0.07029081881046295,
-0.004745618440210819,
0.031104676425457,
-0.011879759840667248,
-0.0692492127418518,
0.005908451974391937,
0.04881207272410393,
0.010101836174726486,
0.0803118422627449,
-0.07456502318382263,
0.010793250985443592,
-0.015480502508580685,
-0.017644541338086128,
-0.03853962942957878,
0.05129038915038109,
0.0374261811375618,
-0.041341204196214676,
0.028985535725951195,
-0.0021337324287742376,
0.0035827846731990576,
0.04249056801199913,
-0.008898595348000526,
0.04087427631020546,
-0.012544236145913601,
0.02765658311545849,
0.05315810814499855,
-0.027620665729045868,
-0.04464562609791756,
0.028374936431646347,
-0.010101836174726486,
0.08124570548534393,
0.03343932330608368,
0.02449583075940609,
-0.027961883693933487,
-0.017806170508265495,
0.0033425854053348303,
0.005145201925188303,
-0.009670824743807316,
-0.008036571554839611,
0.02408277802169323,
0.030637746676802635,
0.037067003548145294,
0.05983879044651985,
-0.022412607446312904,
-0.02453174814581871,
-0.06457991898059845,
-0.0399763323366642,
-0.06720190495252609,
-0.04511255770921707,
0.05937185883522034,
-0.061670590192079544,
-0.05326586216688156,
0.002529948716983199,
-0.028159430250525475,
0.014376035891473293,
-0.024388078600168228,
-0.10265261679887772,
0.003138303756713867,
0.045363981276750565,
-0.0006235077744349837,
-0.005836616735905409,
-0.00042680258047766984,
0.009055734612047672,
-0.04759087413549423,
0.007578622084110975,
0.011664253659546375,
-0.037929028272628784,
0.0815330445766449,
0.037102922797203064,
0.003477276535704732,
0.002229138510301709,
0.04496888443827629,
0.031104676425457,
0.06260444968938828,
0.012086286209523678,
0.014025838114321232,
-0.018039634451270103,
0.0290394127368927,
0.0034436038695275784,
-0.050141025334596634,
0.020113877952098846,
0.001680272165685892,
0.03343932330608368,
0.005917431320995092,
-0.006936594378203154,
-0.06059305742383003,
0.014411953277885914,
0.055851928889751434,
-0.022179143503308296,
-0.0016398647567257285,
0.029147164896130562,
0.03284668177366257,
-0.0415567085146904,
-0.08706436306238174,
0.0019384301267564297,
-0.0017846577102318406,
-0.0046603139489889145,
0.019197978079319,
0.016872311010956764,
-0.0024626031517982483,
0.03245158866047859,
-0.07858780026435852,
-0.09273934364318848,
-0.026381507515907288,
0.0663398802280426,
-0.05143406242132187,
-0.03166139870882034,
-0.03198465704917908,
0.01844370737671852,
-0.002055162563920021,
-0.05804290622472763,
0.004732149187475443,
0.010461012832820415,
-0.0199881661683321,
0.029326753690838814,
0.02318483591079712,
-0.033116064965724945,
-0.04830922558903694,
0.0331699401140213,
-0.048668403178453445,
0.03096100501716137,
-0.011008757166564465,
-0.018497584387660027,
-0.028464730829000473,
-0.019413484260439873,
0.0287341121584177,
-0.0003196108737029135,
0.015642132610082626,
0.03467848151922226,
0.051110800355672836,
-0.0022628114093095064,
-0.0008861555252224207,
0.05664211884140968,
-0.020239589735865593,
-0.017330260947346687,
-0.024585625156760216,
-0.008243098855018616,
-0.03990449756383896,
0.022717908024787903,
-0.014564603567123413,
0.0007273321971297264,
-0.005441522691398859,
-0.05294260010123253,
-0.008072489872574806,
0.0163425263017416,
-0.045292142778635025,
0.013451156206429005,
-0.045256227254867554,
-0.01847962662577629,
-0.007856983691453934,
-0.0044380733743309975,
0.025178266689181328,
0.026130083948373795,
-0.019808579236268997,
-0.014169509522616863,
-0.01724046654999256,
-0.02505255490541458,
0.02397502399981022,
0.015417647548019886,
-0.008112897165119648,
-0.020670602098107338,
0.006788433995097876,
-0.07255363464355469,
-0.0036299265921115875,
0.07585805654525757,
0.010021021589636803,
-0.07391850650310516,
-0.017429035156965256,
-0.021802008152008057,
-0.039796747267246246,
0.042993415147066116,
0.01731230318546295,
-0.07244587689638138,
-0.023041166365146637,
-0.04838106036186218,
-0.032325875014066696,
0.013109938241541386,
0.005163160618394613,
0.010748353786766529,
-0.07858780026435852,
-0.025752948597073555,
-0.06680680811405182,
-0.05707313120365143,
-0.01689027063548565,
-0.0012941574677824974,
-0.008490032516419888,
0.006146406289190054,
-0.04838106036186218,
-0.008301464840769768,
0.007232914678752422,
0.05384054407477379,
-0.01710577681660652,
0.038862887769937515,
-0.0037421691231429577,
0.029991229996085167,
0.013181773945689201,
0.05319402366876602,
0.0033493200317025185,
-0.10135958343744278,
0.017985759302973747,
0.0074798488058149815,
0.02070651948451996,
0.014483788050711155,
-0.08045551180839539,
-0.009751639328897,
0.02325667254626751,
-0.01059570349752903,
-0.021209366619586945,
-0.005576213821768761,
0.0017274139681831002,
-0.05721680074930191,
0.07614539563655853,
-0.005320300348103046,
0.024729294702410698,
0.010514888912439346,
0.05696537718176842,
0.04636967182159424,
-0.04500480368733406,
0.04417869821190834,
-0.014941737987101078,
0.058294329792261124,
-0.024100735783576965,
-0.022699948400259018,
-0.010829168371856213,
-0.018533501774072647,
-0.05951552838087082,
0.013774415478110313,
0.023490136489272118,
-0.0029093287885189056,
0.02862635999917984,
0.009554092772305012,
0.0013682376593351364,
0.016746599227190018,
0.050248779356479645,
0.024334201589226723,
-0.05786331743001938,
0.00937450397759676,
-0.02419053018093109,
0.004458277020603418,
-0.03069162368774414,
-0.02941654808819294,
0.040407344698905945,
0.06425666064023972,
0.015148264355957508,
0.009742659516632557,
0.02817738801240921,
0.017285363748669624,
0.05786331743001938,
0.03223608061671257,
-0.03602539375424385,
-0.02810555323958397,
0.05657028406858444,
0.010398156940937042,
0.08562765270471573,
0.011942615732550621,
0.0377853587269783,
-0.023346466943621635,
0.006132937036454678,
-0.011233242228627205,
-0.04996143653988838,
0.01575886458158493,
0.04238281399011612,
0.01613599993288517,
0.034768275916576385,
-0.035594381392002106,
0.05075162649154663,
-0.00030838660313747823,
-0.04482521489262581,
0.006505582481622696,
-0.05294260010123253,
0.06457991898059845,
0.002969939960166812,
-0.03782127425074577,
-0.011772006750106812,
0.049314919859170914,
0.019503278657794,
-0.002350360620766878,
-0.0014389504212886095,
-0.03818045184016228,
-0.01553437951952219,
-0.01529193576425314,
0.010487951338291168,
-0.0027409649919718504,
0.00818922184407711,
0.06231710687279701,
-0.01496867649257183,
-0.02277178317308426,
0.057575978338718414,
-0.007470868993550539,
-0.028446771204471588,
-0.031392019242048264,
-0.05125447362661362,
0.02054489031434059,
-0.02160445973277092,
-0.009293689392507076,
-0.03282872214913368,
-0.02645334228873253,
0.024406036362051964,
-0.022646071389317513,
0.006402319297194481,
0.08692068606615067,
-0.03302627056837082,
-0.03252342343330383,
-0.031194470822811127,
-0.010047960095107555,
-0.012508317828178406,
0.020491013303399086,
-0.044501956552267075,
0.006321504712104797,
0.025896618142724037,
-0.03868329897522926,
0.014833985827863216,
0.04651334509253502,
0.029147164896130562,
-0.04173629730939865,
-0.014358076266944408,
0.03072754107415676,
0.07456502318382263,
0.03685149922966957,
0.03760576993227005,
-0.04421461373567581,
0.01095488015562296,
0.015803761780261993,
-0.011071613058447838,
0.004579499363899231,
-0.01754576712846756,
0.009248792193830013,
-0.08720803260803223,
0.04489704966545105,
-0.03976082801818848,
-0.002198833040893078,
-0.05908451974391937,
0.0033874823711812496,
0.03246954828500748,
-0.005607641767710447,
0.010038980282843113,
0.053553201258182526,
0.0166478268802166,
0.034804195165634155,
-0.011700171045958996,
-0.05567234382033348,
0.012966267764568329,
-0.04108978062868118,
-0.003912778105586767,
-0.055097661912441254,
-0.00497010350227356,
0.007327198516577482,
-0.07664824277162552,
-0.018039634451270103,
0.07391850650310516,
0.0051092845387756824,
-0.008974920026957989,
-0.08002450317144394,
0.03241566941142082,
0.019503278657794,
0.060162048786878586,
0.05466664955019951,
-0.002725251019001007,
0.03550458699464798,
-0.06371789425611496,
-0.0478782132267952,
-0.005311321001499891,
0.020975902676582336,
-0.024441953748464584,
-0.02855452336370945,
0.024028901010751724,
-0.017833108082413673,
-0.030063064768910408,
-0.04306524991989136,
0.022484442219138145,
0.01964695006608963,
0.024100735783576965,
-0.007358626462519169,
-0.056821707636117935,
0.0141246123239398,
-0.07700742036104202,
0.014115632511675358,
-0.01751882955431938,
0.008090448565781116,
0.016567012295126915,
0.010335301049053669,
-0.03843187540769577,
-0.04680068418383598,
-0.09403238445520401,
0.012086286209523678,
0.036348652094602585,
-0.03911431133747101,
0.014627459459006786,
0.07585805654525757,
0.001278443494811654,
0.06472358852624893,
0.04166446253657341,
-0.030386323109269142,
0.05545683577656746,
0.06971614062786102,
-0.06289178878068924,
-0.002160670468583703,
-0.005814168136566877,
-0.019844496622681618,
0.015669070184230804,
0.06070081144571304,
-0.021873842924833298,
-0.0017487400909885764,
-0.06885411590337753,
0.028680235147476196,
-0.011879759840667248,
-0.016144979745149612,
0.03020673617720604,
-0.026345588266849518,
-0.05667803809046745,
-0.02239464782178402,
0.030296528711915016,
-0.025106430053710938,
0.09317035973072052,
-0.06490317732095718,
-0.022250978276133537,
-0.021766090765595436,
-0.026920272037386894,
0.008292485028505325,
0.024711336940526962,
-0.0523679181933403,
0.02573498897254467,
-0.017330260947346687,
0.011610377579927444,
0.025681111961603165,
-0.01217607967555523,
0.002098937053233385,
-0.03320585936307907,
0.0199881661683321,
0.01747393235564232,
-0.043675851076841354,
-0.05136222392320633,
0.0590486004948616,
0.0377853587269783,
0.038072697818279266,
-0.039653073996305466,
-0.0010438563767820597,
0.010712436400353909,
-0.0019642459228634834,
0.005966817960143089,
-0.07413400709629059,
0.0377853587269783,
-0.045292142778635025,
-0.010550807230174541,
-0.005086835939437151,
-0.05976695194840431,
0.02126324363052845,
-0.09467890113592148,
-0.00020273824338801205,
0.028913700953125954,
0.00234362599439919,
0.022107306867837906,
-0.018982473760843277,
-0.00026236713165417314,
-0.004583988804370165,
-0.03096100501716137,
-0.024172572419047356,
0.06964430212974548,
0.028644317761063576,
0.026237836107611656,
-0.009715721942484379,
0.011340995319187641,
-0.07054224610328674,
0.009055734612047672,
0.03325973451137543,
0.021873842924833298,
0.03643844649195671,
0.02088610827922821,
0.0015994574641808867,
-0.002352605341002345,
0.006043143104761839,
0.012705865316092968,
0.020832231268286705,
-0.048596568405628204,
0.05570825934410095,
-0.023615848273038864,
0.0034256449434906244,
0.03227199986577034,
0.013621765188872814,
0.024334201589226723,
0.003840942634269595,
0.06152691692113876,
0.036276817321777344,
0.005782740190625191,
-0.035971518605947495,
-0.020275507122278214,
0.013136876747012138,
0.01637844368815422,
-0.0067300680093467236,
0.038755133748054504,
-0.00913655012845993,
0.009428380988538265,
-0.04389135539531708,
-0.020562849938869476,
0.04080243781208992,
0.06953655183315277,
0.04744720458984375,
-0.005338259506970644,
0.03392421081662178,
-0.035181328654289246,
0.03774943947792053,
0.03685149922966957,
-0.01530989445745945,
0.045435816049575806,
-0.03907839208841324,
-0.015597235411405563,
0.030296528711915016,
-0.06034163385629654,
-0.036725785583257675,
0.04026367515325546,
0.02415461279451847,
-0.05822249501943588,
0.03767760470509529,
-0.025717031210660934,
-0.03245158866047859,
0.02126324363052845,
0.037138838320970535,
0.06353830546140671,
0.012274853885173798,
-0.0010202854173257947,
-0.017527809366583824,
0.0009125325595960021,
0.045220308005809784,
-0.11508011817932129,
-0.006528031080961227,
-0.032595258206129074,
-0.007861473597586155,
0.025519482791423798,
0.03160752356052399,
0.06070081144571304,
-0.04978184774518013,
-0.07851596176624298,
-0.039006557315588,
-0.02370564267039299,
-0.00006471489177783951,
0.006496603135019541,
0.033493198454380035,
0.011071613058447838,
-0.021173449233174324,
0.059156354516744614,
-0.032738927751779556,
-0.02476521208882332,
0.013621765188872814,
0.028374936431646347,
0.005917431320995092,
0.01644130051136017,
0.00044139413512311876,
0.02257423661649227,
-0.03954532369971275,
0.05161364749073982,
-0.021317118778824806,
-0.03825228661298752,
0.021963637322187424,
-0.02291545458137989,
-0.006891697179526091,
-0.03836004063487053,
-0.004339300096035004,
0.012768721207976341,
0.029506340622901917,
-0.0026489258743822575,
0.024441953748464584,
0.01878492534160614,
-0.0472676157951355,
0.04712394252419472,
0.02521418407559395,
0.08613049983978271,
0.052691176533699036,
-0.05700129643082619,
0.012660968117415905,
0.016019267961382866,
0.011745068244636059,
-0.001499561476521194,
0.09690579026937485,
-0.005814168136566877,
-0.046190086752176285,
0.012562194839119911,
0.05570825934410095,
-0.018587378785014153,
0.0014423177344724536,
0.047842297703027725,
-0.031769152730703354,
0.03020673617720604,
0.0034144206438213587,
-0.0504283681511879,
-0.05531316623091698,
0.018587378785014153,
0.0095989890396595,
0.09008143842220306,
0.02539377100765705,
0.056929461658000946,
0.0586894229054451,
-0.03421155363321304,
-0.007219445891678333,
-0.0009911024244502187,
0.0010056939208880067,
-0.022897494956851006,
0.006828841287642717,
0.007825556211173534,
-0.0028936148155480623,
0.004328075796365738,
0.018039634451270103,
-0.020185714587569237,
-0.1031554639339447,
0.047052107751369476,
0.01810249127447605,
-0.010227547958493233,
0.01689027063548565,
-0.013720538467168808,
0.040335509926080704,
-0.060162048786878586,
0.01037121843546629,
0.0009967145742848516,
0.02546560764312744,
-0.008692068979144096,
0.024370118975639343,
-0.01991633139550686,
0.03889880329370499,
0.09194915741682053,
-0.019467361271381378,
0.0716916099190712,
-0.04083835706114769,
0.012849535793066025,
-0.05085937678813934,
0.046908438205718994,
0.017590664327144623,
0.02907533012330532,
-0.04475338011980057,
0.011745068244636059,
0.042095474898815155,
-0.04963817819952965,
0.0067345574498176575,
0.012741782702505589,
0.016396403312683105,
-0.005836616735905409,
-0.004554805811494589,
-0.016459258273243904,
-0.0007452910649590194,
0.014016859233379364,
-0.00102140789385885,
0.011978533118963242,
0.021730171516537666,
0.003941961098462343,
-0.03453481197357178,
0.038395956158638,
-0.005742332898080349,
0.008481052704155445,
-0.03415767475962639,
-0.04353218153119087,
-0.0024042369332164526,
0.016369463875889778,
0.04310116916894913,
-0.051865071058273315,
-0.044394202530384064,
0.012957288883626461,
0.0035491117741912603,
0.01578580215573311,
-0.03421155363321304,
0.01709679700434208,
0.03570213541388512,
-0.032703012228012085,
0.059192270040512085,
0.01768943853676319
] |
710,382
|
xer_reader.src.reader
|
get_table_str
|
Get string for a specific table in the XER file.
Args:
table_name (str): Name of table
Returns:
str: Table header and rows
|
def get_table_str(self, table_name: str) -> str:
"""Get string for a specific table in the XER file.
Args:
table_name (str): Name of table
Returns:
str: Table header and rows
"""
re_search = re.compile(rf"(?<=%T\t{table_name.upper()}\n)(.|\s)*?(?=%T|%E)")
if found_table := re_search.search(self.data):
return re.sub(r"%[TFR]\t", "", found_table.group())
return ""
|
(self, table_name: str) -> str
|
[
0.032162006944417953,
-0.009444398805499077,
-0.01174168474972248,
-0.05582769960165024,
0.005301079247146845,
-0.04598218947649002,
-0.0020294974092394114,
0.0079174330458045,
0.013008838519454002,
-0.04262742027640343,
0.01927167922258377,
0.01048364769667387,
-0.08547363430261612,
0.02217063494026661,
0.002044311258941889,
-0.045362286269664764,
0.04142408072948456,
0.03843396157026291,
0.007561900187283754,
-0.008619381114840508,
0.003131419885903597,
0.052254144102334976,
-0.013902228325605392,
-0.04288267716765404,
0.0026026794221252203,
0.04332025349140167,
-0.05659346282482147,
-0.03857982158660889,
0.03183382377028465,
-0.01605365425348282,
-0.020055672153830528,
-0.0457998625934124,
-0.020912596955895424,
0.024249132722616196,
-0.03608197718858719,
-0.02200654335319996,
0.035498540848493576,
-0.047805432230234146,
0.006727766711264849,
0.009052401408553123,
-0.010310439392924309,
-0.008569242432713509,
0.03854335844516754,
-0.010501879267394543,
-0.06647543609142303,
-0.03690243884921074,
-0.02880723960697651,
-0.03398524969816208,
0.022644678130745888,
0.04992039501667023,
0.03974669799208641,
0.008427940309047699,
-0.008582916110754013,
-0.025124289095401764,
-0.013883995823562145,
-0.05028504133224487,
-0.0366654172539711,
0.040585387498140335,
0.010456298477947712,
0.014449200592935085,
0.013136466033756733,
0.014266876503825188,
-0.007042276207357645,
0.05105080455541611,
0.0037444853223860264,
-0.017612528055906296,
0.08868253976106644,
-0.026181768625974655,
0.009316771291196346,
0.006399583071470261,
-0.04696673899888992,
-0.003236256306990981,
-0.015105567872524261,
0.03347473964095116,
0.05389506369829178,
-0.0021354733034968376,
-0.04208044707775116,
-0.10837356746196747,
0.002910351613536477,
-0.0457998625934124,
0.05017564818263054,
-0.003325139405205846,
0.0634123906493187,
-0.015105567872524261,
0.03748587518930435,
-0.037595272064208984,
0.0408041775226593,
0.0006609255797229707,
0.014750035479664803,
0.05064969137310982,
-0.0006290188175626099,
-0.021496035158634186,
-0.027713293209671974,
0.008646730333566666,
-0.02127724513411522,
-0.02937244437634945,
0.03456868603825569,
0.008136222139000893,
-0.03854335844516754,
-0.04372136667370796,
0.016272444278001785,
0.05951065197587013,
-0.004457829054445028,
0.011158247478306293,
-0.010939458385109901,
0.011969590559601784,
-0.02217063494026661,
0.017968060448765755,
0.04638330265879631,
-0.006641162559390068,
-0.044888243079185486,
-0.02889840118587017,
-0.009380585514008999,
0.00032875349279493093,
0.09138093888759613,
-0.06961141526699066,
-0.03956437483429909,
-0.026272932067513466,
-0.02176952175796032,
-0.03376645967364311,
0.07526347041130066,
-0.0020568459294736385,
-0.059437721967697144,
0.008455289527773857,
0.002340588252991438,
-0.006595581769943237,
0.04076771438121796,
-0.014631524682044983,
0.09035992622375488,
-0.024249132722616196,
0.03560793399810791,
0.030083509162068367,
-0.009148121811449528,
-0.020857900381088257,
0.014348922297358513,
0.04138761758804321,
0.027075158432126045,
0.04824300855398178,
-0.0012876653345301747,
-0.004845268093049526,
0.004977453500032425,
-0.007320320699363947,
-0.004681176505982876,
-0.027549201622605324,
0.015780167654156685,
0.0004244737501721829,
0.01717494986951351,
0.020821435377001762,
0.048279475420713425,
-0.026509953662753105,
-0.0350244976580143,
-0.06224551424384117,
-0.06403229385614395,
-0.034678082913160324,
-0.0022448678500950336,
0.033401813358068466,
-0.04696673899888992,
-0.05885428562760353,
-0.009166354313492775,
-0.03721239045262337,
0.040184274315834045,
-0.01983688399195671,
-0.06676715612411499,
-0.013546695932745934,
0.012771816924214363,
-0.016746487468481064,
-0.034678082913160324,
0.007694085594266653,
0.029026027768850327,
-0.05356688052415848,
0.02346513792872429,
0.0306851789355278,
-0.06848100572824478,
0.08335866779088974,
0.010173696093261242,
0.027166320011019707,
-0.0060258181765675545,
0.04590925946831703,
-0.00011288437963230535,
0.01562519185245037,
0.022681143134832382,
0.029007796198129654,
-0.04394015669822693,
0.06078692153096199,
0.0003692067111842334,
-0.047696035355329514,
0.037340015172958374,
-0.03529798611998558,
0.055718306452035904,
-0.006914649158716202,
-0.024887267500162125,
-0.0421169139444828,
0.02395741268992424,
0.03744941204786301,
-0.008797147311270237,
-0.0328548401594162,
0.05615588277578354,
0.03495156764984131,
-0.01553403027355671,
-0.054113853722810745,
-0.03203437849879265,
-0.0005455485079437494,
0.0060896314680576324,
0.06862686574459076,
-0.01800452545285225,
-0.0011668754741549492,
0.08007683604955673,
-0.04911816492676735,
-0.13791009783744812,
0.02866137959063053,
0.043575506657361984,
-0.053384553641080856,
-0.04200751706957817,
-0.012826514430344105,
0.0369936004281044,
0.01569812186062336,
-0.06158914789557457,
0.02663758024573326,
-0.019691023975610733,
0.012407168745994568,
0.024668477475643158,
0.009872861206531525,
0.02362922951579094,
-0.05699457600712776,
0.016609743237495422,
-0.05509840324521065,
0.01156847644597292,
-0.012270425446331501,
0.010802715085446835,
-0.011422617360949516,
0.007224600296467543,
-0.0026254698168486357,
0.0032248611096292734,
0.024322060868144035,
0.0297006294131279,
0.017339041456580162,
-0.03017467074096203,
-0.036865971982479095,
0.080951988697052,
-0.0385068915784359,
-0.0011252828408032656,
-0.015406403690576553,
-0.004305132664740086,
-0.040840644389390945,
0.04466945305466652,
-0.02534307725727558,
-0.00532386964187026,
-0.010374252684414387,
-0.08744273334741592,
-0.004681176505982876,
0.04806068539619446,
-0.05662992596626282,
0.03108629398047924,
-0.04332025349140167,
0.011431734077632427,
0.0006495303241536021,
-0.006773347966372967,
0.01965455897152424,
0.0313415490090847,
0.006367675960063934,
-0.024340294301509857,
-0.05196242406964302,
-0.017047321423888206,
-0.03577202931046486,
0.011604941450059414,
-0.03207084536552429,
-0.06483452022075653,
0.01367432251572609,
-0.027239250019192696,
-0.010100766085088253,
0.05732275918126106,
0.04222630709409714,
-0.050540294498205185,
-0.03307362645864487,
-0.02435852587223053,
-0.046419765800237656,
0.05323869735002518,
0.020237997174263,
-0.0017343598883599043,
-0.026582883670926094,
-0.028716078028082848,
-0.0272027850151062,
0.012370703741908073,
0.01209721714258194,
0.011386152356863022,
-0.07285679131746292,
0.0002485593140590936,
-0.10647739470005035,
-0.003995181061327457,
0.012562144547700882,
0.011349687352776527,
-0.006495303008705378,
-0.02760389819741249,
-0.02459554746747017,
-0.04109589755535126,
-0.025434240698814392,
0.06848100572824478,
-0.021477801725268364,
0.0194175373762846,
-0.015233195386826992,
0.027804456651210785,
-0.006805254612118006,
0.044487129896879196,
0.026564650237560272,
-0.10706082731485367,
0.011841963045299053,
-0.013902228325605392,
0.01461329311132431,
0.003017467213794589,
-0.06578260660171509,
0.008345894515514374,
-0.005415031686425209,
0.004895407240837812,
-0.005305637139827013,
-0.01656416244804859,
0.033875856548547745,
-0.033967018127441406,
0.06545442342758179,
0.012981490232050419,
0.030958665534853935,
0.018059222027659416,
0.053530413657426834,
0.006162561476230621,
-0.03455045446753502,
0.03026583418250084,
-0.06957495212554932,
0.043502576649188995,
-0.042700350284576416,
-0.0315421037375927,
0.02703869342803955,
-0.021878916770219803,
-0.03737648203969002,
0.037741128355264664,
0.017685456201434135,
0.009690536186099052,
0.03611844405531883,
0.004316527862101793,
-0.027713293209671974,
-0.03498803451657295,
0.046091582626104355,
0.09444398432970047,
-0.03974669799208641,
0.03276367858052254,
-0.026418790221214294,
0.030466390773653984,
-0.03553500771522522,
-0.018177732825279236,
0.0225717481225729,
0.10166402906179428,
-0.024085039272904396,
-0.015023522078990936,
-0.0025639354716986418,
0.018278010189533234,
0.04806068539619446,
-0.014713571406900883,
0.0060258181765675545,
-0.007238274905830622,
0.06231844425201416,
-0.006682185456156731,
0.04321086034178734,
-0.00935323629528284,
0.04922756180167198,
-0.08248351514339447,
0.011276758275926113,
-0.05291051045060158,
-0.04087710753083229,
-0.01302707102149725,
0.06640250980854034,
0.010702436789870262,
0.061297427862882614,
-0.0537492036819458,
0.0594012588262558,
0.0009982255287468433,
-0.03963730111718178,
-0.019308144226670265,
-0.01668267324566841,
0.027877384796738625,
0.0000042687743189162575,
-0.029500070959329605,
-0.06224551424384117,
0.07715964317321777,
0.05560891330242157,
-0.03194321691989899,
0.022225331515073776,
-0.03393055126070976,
-0.024869034066796303,
-0.07128880172967911,
0.027895618230104446,
-0.014421852305531502,
-0.027020461857318878,
0.054259710013866425,
-0.0015053149545565248,
0.012899444438517094,
0.02800501324236393,
0.0017617085250094533,
-0.010310439392924309,
-0.03909033164381981,
-0.043757833540439606,
-0.04182519391179085,
-0.0007589248707517982,
0.00025354474200867116,
0.001956567633897066,
-0.004270946606993675,
0.01776750385761261,
-0.03141447529196739,
0.005360334645956755,
0.08984941244125366,
-0.03974669799208641,
-0.019563397392630577,
-0.0272027850151062,
-0.01903465762734413,
-0.0029490955639630556,
-0.017402853816747665,
-0.03010174259543419,
0.0021024271845817566,
0.02151426672935486,
-0.02444968931376934,
0.006449722219258547,
0.025835353881120682,
0.03374822810292244,
-0.05462436005473137,
0.041715800762176514,
0.004781454801559448,
0.06844454258680344,
0.0012682933593168855,
0.025543633848428726,
-0.05433264002203941,
-0.009020494297146797,
0.037850525230169296,
0.01998274400830269,
-0.0008141919388435781,
-0.06388643383979797,
-0.010301322676241398,
-0.07468003034591675,
0.04346611350774765,
-0.016719138249754906,
0.010675087571144104,
-0.03608197718858719,
0.020857900381088257,
0.033638834953308105,
0.014540363103151321,
-0.008924774825572968,
0.04226277396082878,
0.05728629603981972,
-0.017019974067807198,
-0.02330104634165764,
-0.04299207031726837,
-0.01063862256705761,
-0.07263799756765366,
-0.012124566361308098,
-0.003400348126888275,
-0.01075713336467743,
-0.04280974715948105,
-0.03407641127705574,
-0.021878916770219803,
0.00610786397010088,
0.020037440583109856,
0.024504385888576508,
-0.0457998625934124,
0.05203535407781601,
-0.009663187898695469,
0.06935616582632065,
0.07216395437717438,
0.01776750385761261,
0.04477884992957115,
-0.05830731242895126,
-0.05057676136493683,
0.019289910793304443,
-0.01605365425348282,
-0.04871705174446106,
-0.029317747801542282,
0.019855115562677383,
-0.036720115691423416,
0.008961238898336887,
-0.01355581171810627,
0.042299237102270126,
0.03690243884921074,
0.025780655443668365,
-0.0016944764647632837,
-0.017940711230039597,
-0.003997460473328829,
-0.08642172068357468,
-0.006075957324355841,
-0.029718860983848572,
0.03163326531648636,
0.051196664571762085,
-0.0063084205612540245,
-0.023282812908291817,
-0.020420322194695473,
-0.050941407680511475,
-0.021878916770219803,
0.07045011222362518,
-0.05619234964251518,
0.028515521436929703,
0.04667501896619797,
-0.005998469423502684,
0.04992039501667023,
0.030047044157981873,
-0.014977941289544106,
0.03974669799208641,
0.05991176515817642,
-0.07621155679225922,
-0.033219486474990845,
-0.01076625008136034,
-0.017092902213335037,
0.0170837864279747,
0.03810577839612961,
0.024723175913095474,
0.010994154959917068,
-0.03569909930229187,
0.03810577839612961,
-0.013865763321518898,
-0.04492470622062683,
0.04660209268331528,
-0.026181768625974655,
-0.06432401388883591,
0.022881699725985527,
-0.006340327672660351,
-0.025033125653862953,
0.029645930975675583,
-0.061297427862882614,
0.020110370591282845,
-0.03250842168927193,
-0.02499666064977646,
-0.012890327721834183,
0.026601115241646767,
-0.020602645352482796,
0.04167933389544487,
-0.0004321655724197626,
-0.017211413010954857,
-0.01047453097999096,
0.01711113564670086,
0.01221572794020176,
-0.0464562326669693,
0.05148838087916374,
0.007634830195456743,
-0.063740573823452,
-0.055645376443862915,
0.030138207599520683,
0.03513389080762863,
0.030940433964133263,
-0.04182519391179085,
-0.008578358218073845,
-0.03309186175465584,
-0.0015007569454610348,
-0.0018642659997567534,
-0.024796104058623314,
0.054259710013866425,
-0.023592764511704445,
-0.026655811816453934,
-0.04864412173628807,
-0.015369938686490059,
0.061224501579999924,
-0.08875546604394913,
-0.015597843565046787,
0.046164512634277344,
-0.03770466521382332,
0.028223801404237747,
-0.002962769940495491,
-0.008933890610933304,
-0.005551774986088276,
-0.004038483370095491,
0.02694753184914589,
0.07679499685764313,
0.047550179064273834,
0.03309186175465584,
-0.012917676940560341,
0.003368441481143236,
-0.04765957221388817,
0.0032977908849716187,
0.010802715085446835,
0.024741407483816147,
0.01541551947593689,
0.02094906195998192,
-0.013473765924572945,
-0.0019360561855137348,
0.006062283180654049,
0.04605511948466301,
0.02661934867501259,
-0.0017901967512443662,
0.0477689653635025,
-0.047404319047927856,
0.021477801725268364,
-0.004501131363213062,
0.021897148340940475,
0.02847905643284321,
-0.027239250019192696,
0.055718306452035904,
0.04897230863571167,
0.018907029181718826,
-0.026090607047080994,
-0.0616985447704792,
-0.008282081224024296,
0.03259958326816559,
0.023209882900118828,
0.08073320239782333,
-0.00041564242565073073,
0.023355742916464806,
-0.030940433964133263,
0.006075957324355841,
0.004168389365077019,
0.05900014191865921,
0.02743980661034584,
0.00030624784994870424,
0.051998890936374664,
-0.010510995984077454,
0.006650278810411692,
0.0391632579267025,
-0.0026049583684653044,
0.03857982158660889,
-0.0004640723345801234,
-0.004890849348157644,
-0.015707237645983696,
-0.025561867281794548,
-0.04474238306283951,
0.017986292019486427,
0.005364892538636923,
-0.06552735716104507,
-0.005155219696462154,
-0.021167851984500885,
0.015597843565046787,
0.06078692153096199,
0.007101531606167555,
0.026601115241646767,
0.002035195007920265,
0.02760389819741249,
0.009663187898695469,
-0.0276950616389513,
0.04667501896619797,
-0.10975922644138336,
-0.001092236489057541,
-0.006586465518921614,
-0.01226130872964859,
0.005720424931496382,
0.014987057074904442,
0.030721643939614296,
-0.03934558480978012,
-0.046419765800237656,
-0.0749717503786087,
0.01567077450454235,
0.005761447828263044,
0.02071204036474228,
0.020256230607628822,
0.015260543674230576,
-0.0350244976580143,
0.050722621381282806,
-0.005857168231159449,
-0.05477022007107735,
0.0012728514848276973,
0.019800418987870216,
-0.030721643939614296,
0.021021991968154907,
0.0411323606967926,
-0.004296016413718462,
0.015242311172187328,
0.043976619839668274,
0.0046173627488315105,
-0.025452472269535065,
0.013765485025942326,
0.01845121942460537,
-0.0004270377103239298,
-0.07927460223436356,
0.009462631307542324,
0.010219276882708073,
0.05254586413502693,
0.008993146009743214,
0.028187336400151253,
0.015643425285816193,
-0.04401308670639992,
0.001336665009148419,
-0.011404384858906269,
0.0875885933637619,
0.037522342056035995,
-0.08773445338010788,
0.03788698837161064,
-0.011085317470133305,
0.023574531078338623,
-0.01035602018237114,
0.06873626261949539,
-0.0228999312967062,
0.002607237547636032,
0.02184245176613331,
0.07526347041130066,
-0.02734864503145218,
-0.002889840165153146,
0.043830763548612595,
-0.04313793033361435,
0.019727488979697227,
-0.01557961106300354,
-0.05316576734185219,
-0.04572693631052971,
-0.01413013320416212,
-0.00907063391059637,
0.05619234964251518,
0.012817398644983768,
0.029117191210389137,
0.0408041775226593,
-0.006905532907694578,
-0.003915414214134216,
0.015333473682403564,
0.014221295714378357,
-0.0313415490090847,
0.02071204036474228,
0.012899444438517094,
-0.020292693749070168,
0.026181768625974655,
0.03529798611998558,
-0.03458692133426666,
-0.1141350120306015,
0.010565693490207195,
0.026400558650493622,
0.015260543674230576,
0.01967279240489006,
-0.015479332767426968,
0.03287307173013687,
0.00003646485856734216,
-0.03538914769887924,
0.019691023975610733,
-0.0009674582979641855,
-0.014667989686131477,
-0.0005096534150652587,
-0.020292693749070168,
0.029117191210389137,
0.08190007507801056,
-0.020365623757243156,
0.08569242060184479,
-0.034021712839603424,
-0.01145908236503601,
-0.02590828388929367,
0.04372136667370796,
0.020456787198781967,
0.034696314483881,
-0.03099513053894043,
0.02897133119404316,
0.03668364882469177,
-0.016153933480381966,
-0.0038584379944950342,
-0.011231176555156708,
0.03464161604642868,
-0.04379429668188095,
-0.022298261523246765,
0.034112878143787384,
-0.022863468155264854,
0.01974572241306305,
0.02038385719060898,
0.03267251327633858,
0.003559882054105401,
0.021660126745700836,
-0.040585387498140335,
0.05659346282482147,
0.029171887785196304,
0.011869312264025211,
-0.014923243783414364,
0.012297773733735085,
0.02661934867501259,
-0.033875856548547745,
0.02995588257908821,
-0.020602645352482796,
-0.024413224309682846,
0.024650245904922485,
0.0067095342092216015,
0.03553500771522522,
-0.012954141944646835,
0.009398818016052246,
-0.0014232690446078777,
-0.01598072424530983,
0.031760893762111664,
0.004574060905724764
] |
710,383
|
xer_reader.src.reader
|
has_table
|
Check if a table is included in the XER file.
Args:
table_name (str): table name
Returns:
bool: True if found; False if not found
|
def has_table(self, table_name: str) -> bool:
"""Check if a table is included in the XER file.
Args:
table_name (str): table name
Returns:
bool: True if found; False if not found
"""
return f"%T\t{table_name.upper()}" in self.data
|
(self, table_name: str) -> bool
|
[
0.0387379452586174,
-0.010604338720440865,
-0.02671043761074543,
-0.04331985116004944,
0.025495538488030434,
0.01210560742765665,
-0.021729348227381706,
0.025287268683314323,
-0.03540564700961113,
-0.0232219398021698,
-0.0025816617999225855,
0.006725337356328964,
0.002001330256462097,
-0.009962177835404873,
-0.03188243880867958,
-0.06609054654836655,
0.03766189143061638,
0.05258779972791672,
0.017997870221734047,
-0.04491657763719559,
-0.029469994828104973,
0.05130347982048988,
0.011185755021870136,
-0.02941792830824852,
0.02863692119717598,
0.05796807259321213,
-0.040959473699331284,
-0.010942774824798107,
0.0254781823605299,
0.03846025466918945,
-0.02704019658267498,
-0.02797740511596203,
0.017642078921198845,
0.028775766491889954,
0.014960621483623981,
-0.009710519574582577,
0.03342709690332413,
-0.06744428724050522,
0.01597593165934086,
-0.010864674113690853,
0.02108718827366829,
0.01581973023712635,
0.011827915906906128,
0.03354858607053757,
-0.04345869645476341,
-0.010153090581297874,
-0.04817945137619972,
-0.0005613487446680665,
-0.013737044297158718,
0.029522063210606575,
0.05946066230535507,
-0.0002564034948591143,
0.025009578093886375,
0.01245272159576416,
-0.031691525131464005,
-0.04463888704776764,
-0.02761293388903141,
0.06227228790521622,
-0.016592059284448624,
0.012643634341657162,
0.013702332973480225,
0.023291362449526787,
0.018206140026450157,
-0.008760294876992702,
0.03261137753725052,
0.0024753580801188946,
0.0445694625377655,
-0.08539009094238281,
0.0060050757601857185,
0.02809889428317547,
-0.046096764504909515,
0.02855014242231846,
0.016887106001377106,
0.06744428724050522,
0.014943266287446022,
-0.01358084287494421,
-0.017494555562734604,
-0.04276446998119354,
-0.011498157866299152,
-0.03967515379190445,
0.022267375141382217,
-0.05123405531048775,
0.022423576563596725,
-0.006022431422024965,
0.0034841587767004967,
0.026814572513103485,
0.040230534970760345,
0.03349652141332626,
0.04009168967604637,
0.03738419711589813,
0.00822660606354475,
0.01591518521308899,
0.015463937073946,
-0.008174539543688297,
0.0019015349680557847,
-0.03970986232161522,
0.04477773234248161,
-0.01534244790673256,
-0.07400474697351456,
-0.05519115552306175,
0.030511338263750076,
0.0034125663805752993,
0.07282456010580063,
0.0042456407099962234,
0.013164306059479713,
0.049047235399484634,
-0.030008021742105484,
-0.004542856942862272,
0.028984036296606064,
-0.011394023895263672,
-0.015168890357017517,
-0.046756282448768616,
0.044083502143621445,
0.012088252231478691,
0.05033155903220177,
-0.11572787165641785,
0.01985493116080761,
-0.0017268931260332465,
-0.07705935090780258,
-0.013936635106801987,
0.08990257978439331,
-0.008682194165885448,
0.016566025093197823,
-0.028012115508317947,
0.05116463080048561,
-0.03870323300361633,
0.0347808413207531,
0.00894686859101057,
0.0335138738155365,
-0.0085563650354743,
0.06199459731578827,
0.02589471824467182,
-0.022302087396383286,
-0.02559967152774334,
-0.0109774861484766,
0.036655258387327194,
0.04529840126633644,
0.03056340478360653,
-0.020826851949095726,
-0.001082019996829331,
0.029886532574892044,
0.009875399060547352,
0.021364878863096237,
-0.013407286256551743,
-0.01284322515130043,
0.02202439494431019,
-0.04547195881605148,
-0.014439950697124004,
0.03196921572089195,
-0.01201882865279913,
-0.024766597896814346,
-0.08740335702896118,
-0.05887056887149811,
-0.029331149533391,
-0.06963110715150833,
0.030251001939177513,
-0.034694064408540726,
-0.05564240738749504,
-0.004013508092612028,
-0.04064707085490227,
0.048595987260341644,
0.016349079087376595,
-0.0878198891878128,
0.01858796551823616,
-0.03155267983675003,
-0.017199508845806122,
-0.058662299066782,
0.005692672915756702,
0.02006320096552372,
-0.03321882709860802,
0.050817519426345825,
0.008864428848028183,
-0.02809889428317547,
0.09226295351982117,
0.004876954481005669,
0.0004924682434648275,
-0.01693049445748329,
0.01171510387212038,
0.012660990469157696,
0.012053540907800198,
0.01825820654630661,
0.01702595129609108,
-0.04915136843919754,
0.030181579291820526,
-0.02375996671617031,
-0.02577322907745838,
0.011984117329120636,
-0.034364305436611176,
0.0865008607506752,
0.019802864640951157,
-0.027005484327673912,
-0.06366074085235596,
0.044985998421907425,
0.039328038692474365,
-0.00882971752434969,
-0.0425909124314785,
0.04894310235977173,
0.04123716801404953,
-0.0177462138235569,
-0.04078591987490654,
-0.0028658616356551647,
-0.040230534970760345,
-0.00043687576544471085,
0.049949731677770615,
0.0015533360419794917,
0.021885549649596214,
0.06445910781621933,
-0.05248366668820381,
-0.06227228790521622,
-0.011862627230584621,
0.02424592711031437,
-0.1024681106209755,
-0.021226033568382263,
0.04356283321976662,
0.04623560979962349,
0.07546262443065643,
-0.0393974594771862,
-0.0270749069750309,
-0.024350060150027275,
-0.012010151520371437,
0.06806909292936325,
0.03918919339776039,
0.028168316930532455,
-0.020497092977166176,
0.021104542538523674,
-0.04509013518691063,
0.016236266121268272,
0.021139254793524742,
-0.018692098557949066,
0.0047120749950408936,
-0.01573295146226883,
0.038876790553331375,
-0.01720818690955639,
0.022822758182883263,
0.025217846035957336,
0.01780695840716362,
-0.0026337290182709694,
0.02662365883588791,
0.07865607738494873,
-0.016982562839984894,
0.029192304238677025,
0.015871796756982803,
-0.023360785096883774,
-0.08247433602809906,
0.008374130353331566,
-0.057343266904354095,
-0.00959770753979683,
0.008365452289581299,
-0.08393221348524094,
0.004946377128362656,
0.009198525920510292,
-0.0541498139500618,
0.010665083304047585,
-0.07070716470479965,
-0.002057736273854971,
-0.008751616813242435,
-0.025617027655243874,
-0.018848299980163574,
0.032108064740896225,
0.022666556760668755,
-0.04488186538219452,
-0.01674826070666313,
0.029608840122818947,
0.04717281833291054,
-0.013207695446908474,
-0.02165992558002472,
-0.03606516495347023,
0.012860581278800964,
-0.0593218170106411,
-0.055572982877492905,
0.028654277324676514,
0.03446843847632408,
-0.018397051841020584,
-0.0271269753575325,
0.02785591408610344,
-0.030094800516963005,
0.0767122358083725,
0.002466680249199271,
-0.0009182255016639829,
0.006751371081918478,
-0.026727793738245964,
-0.034242816269397736,
0.01630568876862526,
0.02400294691324234,
-0.038425542414188385,
-0.07400474697351456,
-0.034242816269397736,
-0.039779286831617355,
-0.025755872949957848,
-0.012574211694300175,
-0.018206140026450157,
0.010899385437369347,
0.004141506273299456,
-0.022145885974168777,
-0.05460106208920479,
0.02535669133067131,
0.06109209731221199,
-0.026658371090888977,
0.02072271704673767,
-0.0193169042468071,
0.035926319658756256,
-0.008703888393938541,
0.04148014634847641,
-0.0017778754699975252,
-0.08240491151809692,
0.0020989561453461647,
-0.0047120749950408936,
0.024766597896814346,
-0.01973344199359417,
-0.048353008925914764,
0.00023592918296344578,
0.036204010248184204,
-0.03634285554289818,
-0.005948669742792845,
0.0074369218200445175,
-0.004410519730299711,
-0.03373949974775314,
0.008894801139831543,
-0.029105525463819504,
0.03264608979225159,
-0.004351944196969271,
0.052205976098775864,
0.011810560710728168,
-0.03561391681432724,
-0.017702823504805565,
-0.08101645112037659,
0.07796184718608856,
-0.0664723664522171,
-0.043181005865335464,
0.012122963555157185,
-0.010534916073083878,
-0.05571182817220688,
0.07844781130552292,
-0.003293246030807495,
-0.02277069166302681,
0.031413834542036057,
-0.044985998421907425,
0.003599140327423811,
0.013120916672050953,
0.07587916404008865,
0.04873483255505562,
-0.006981334183365107,
0.02408972568809986,
-0.02617241069674492,
0.028741056099534035,
-0.05147703364491463,
-0.05539942532777786,
0.032559312880039215,
0.0801139548420906,
-0.00033165677450597286,
-0.051928285509347916,
0.0029765041545033455,
0.040890052914619446,
0.05224068835377693,
-0.001593471155501902,
-0.023326074704527855,
0.04266033321619034,
0.0643896833062172,
-0.008174539543688297,
0.06484093517065048,
0.025287268683314323,
0.018848299980163574,
-0.05991191044449806,
0.0020436348859220743,
-0.07775358110666275,
-0.021434301510453224,
0.01907392591238022,
0.03186508268117905,
-0.06584756076335907,
0.05144232511520386,
-0.034815553575754166,
0.029522063210606575,
-0.028584854677319527,
-0.016409823670983315,
0.019230127334594727,
-0.0329584926366806,
0.021607859060168266,
-0.00541498139500618,
-0.01427507121115923,
-0.038668520748615265,
0.04672157019376755,
0.07664281129837036,
-0.03918919339776039,
0.025304624810814857,
-0.01516021229326725,
-0.016409823670983315,
-0.05949537456035614,
0.019785508513450623,
-0.03264608979225159,
-0.053767990320920944,
0.04470830783247948,
0.009233237244188786,
-0.031240276992321014,
0.04845714196562767,
-0.058662299066782,
-0.04029995948076248,
-0.03648170083761215,
-0.031778305768966675,
-0.02280540205538273,
0.027179041877388954,
0.02355169877409935,
-0.020670650526881218,
0.02129545621573925,
0.034902334213256836,
-0.04866541177034378,
0.0057707736268639565,
0.047485221177339554,
-0.028116250410676003,
-0.009111748076975346,
-0.013381252065300941,
-0.005631927866488695,
-0.022180596366524696,
-0.042729757726192474,
0.001390626304782927,
-0.061855748295784,
0.027508800849318504,
-0.013867212459445,
-0.005896602291613817,
0.0060441261157393456,
0.030997298657894135,
0.007124518975615501,
0.038876790553331375,
0.01082996279001236,
0.06220286339521408,
0.006538763642311096,
0.012791157700121403,
-0.03922390565276146,
-0.002887556329369545,
0.038876790553331375,
-0.025582315400242805,
-0.02764764614403248,
-0.0819883719086647,
0.05775980278849602,
-0.06938812881708145,
0.042278509587049484,
-0.024471551179885864,
-0.01120311114937067,
-0.08247433602809906,
-0.03500646725296974,
0.018535898998379707,
0.010560949333012104,
-0.02202439494431019,
0.00968448631465435,
0.017546622082591057,
-0.023447563871741295,
-0.009406794793903828,
-0.05723913013935089,
0.00939811673015356,
0.0018028243212029338,
-0.009302660822868347,
-0.022753335535526276,
0.022597134113311768,
-0.02186819352209568,
-0.04366696625947952,
-0.04762406647205353,
0.020323535427451134,
0.007081129588186741,
-0.0010755116818472743,
-0.05609365552663803,
0.05050511658191681,
-0.06275824457406998,
0.04807531461119652,
0.006751371081918478,
0.019507817924022675,
0.07948914915323257,
-0.04120245575904846,
-0.08129414170980453,
0.04397936910390854,
0.03891150280833244,
0.007011706940829754,
-0.03283700346946716,
0.04352812096476555,
-0.0054887430742383,
-0.01907392591238022,
0.025009578093886375,
0.03960572928190231,
0.024384772405028343,
0.08073876053094864,
-0.041549570858478546,
0.0019948219414800406,
0.006916250567883253,
-0.0567878820002079,
-0.02499222196638584,
-0.03714121878147125,
0.05498288944363594,
0.0020208554342389107,
-0.025495538488030434,
-0.00779705261811614,
0.0036794105544686317,
-0.08420990407466888,
0.0042846910655498505,
-0.017876381054520607,
-0.009970854967832565,
0.0010397154837846756,
0.058939989656209946,
-0.037280064076185226,
0.060050755739212036,
0.041827261447906494,
-0.03304527327418327,
0.01912599243223667,
0.06529217958450317,
-0.02625918947160244,
-0.008174539543688297,
0.006365206558257341,
-0.04262562468647957,
0.010396069847047329,
0.04189668223261833,
0.0058792466297745705,
0.009241915307939053,
-0.016297010704874992,
0.012418010272085667,
0.01076921820640564,
-0.023829389363527298,
0.06848563253879547,
0.05185886099934578,
-0.011315923184156418,
-0.014535406604409218,
-0.03880736604332924,
0.001444862806238234,
0.031153498217463493,
-0.017520589753985405,
-0.008560704067349434,
0.00659516965970397,
-0.043423984199762344,
-0.034815553575754166,
0.030424559488892555,
-0.017043307423591614,
0.004087269771844149,
-0.011064264923334122,
-0.019438395276665688,
0.004291199147701263,
0.01750323362648487,
-0.01111633237451315,
-0.037314776331186295,
0.020670650526881218,
0.06716659665107727,
-0.039119768887758255,
-0.02211117371916771,
0.026241833344101906,
0.010083667002618313,
0.04998444393277168,
-0.034728776663541794,
0.024471551179885864,
-0.01952517405152321,
0.011940727941691875,
0.02815096080303192,
-0.04064707085490227,
0.0019091280410066247,
0.034399017691612244,
-0.01087335217744112,
-0.05456634983420372,
0.011298567056655884,
0.051268767565488815,
-0.058939989656209946,
0.04078591987490654,
0.018327629193663597,
-0.0031327055767178535,
-0.0007083298987708986,
0.002575153484940529,
0.02757822349667549,
0.004113303031772375,
-0.01392795704305172,
0.018605321645736694,
0.05574654042720795,
0.03110143169760704,
-0.03696766123175621,
-0.01964666321873665,
-0.020774785429239273,
-0.005631927866488695,
0.02724846452474594,
0.023812033236026764,
0.034815553575754166,
-0.004607941024005413,
0.015932541340589523,
0.007528039161115885,
-0.022267375141382217,
-0.00015416751557495445,
0.05390683561563492,
-0.0018331968458369374,
-0.034902334213256836,
-0.01550732646137476,
-0.05369856581091881,
-0.029279083013534546,
0.0497414655983448,
0.025009578093886375,
0.005510437767952681,
-0.02855014242231846,
0.04731166362762451,
0.050817519426345825,
0.016227588057518005,
-0.03696766123175621,
-0.0342254601418972,
0.008816700428724289,
0.008000981993973255,
0.03106672130525112,
0.07837838679552078,
0.03446843847632408,
-0.014439950697124004,
-0.007909865118563175,
-0.021399591118097305,
0.02752615511417389,
0.03877265751361847,
-0.0009518521837890148,
-0.04581907391548157,
0.01693917252123356,
0.002031702781096101,
-0.0017106221057474613,
0.028567498549818993,
-0.037766024470329285,
-0.006642898079007864,
-0.0029005729593336582,
-0.02039295993745327,
-0.003186942311003804,
-0.022822758182883263,
0.02150372415781021,
-0.00965845212340355,
0.0011270364047959447,
-0.04692983999848366,
0.009606385603547096,
0.003926729317754507,
0.0116109699010849,
0.0321948416531086,
0.055815961211919785,
0.045402538031339645,
-0.002258411841467023,
-0.021694637835025787,
0.000640534155536443,
0.02216324210166931,
0.03354858607053757,
-0.10552271455526352,
0.010361358523368835,
-0.011038231663405895,
0.003505853470414877,
-0.03077167272567749,
0.028168316930532455,
0.00698567321524024,
-0.017529267817735672,
-0.049255505204200745,
0.002835489111021161,
0.04075120761990547,
-0.03453786298632622,
-0.0012799835531041026,
-0.0011856119381263852,
0.02617241069674492,
0.008491281419992447,
0.06602112203836441,
0.007276381365954876,
-0.03780073672533035,
0.03186508268117905,
0.023742610588669777,
-0.020583871752023697,
0.02346491999924183,
0.04401408135890961,
-0.01122046634554863,
0.031778305768966675,
0.018397051841020584,
-0.030181579291820526,
-0.033132050186395645,
-0.003521039616316557,
0.005597216542810202,
0.011055586859583855,
-0.06744428724050522,
-0.04050822556018829,
0.016236266121268272,
0.06539631634950638,
0.02313516102731228,
0.014873843640089035,
-0.014196970500051975,
-0.05741268768906593,
0.04276446998119354,
-0.04377109929919243,
0.08927777409553528,
0.014153581112623215,
-0.09934408217668533,
0.0053932867012917995,
-0.004924682434648275,
-0.041133031249046326,
-0.048804257065057755,
0.06720130890607834,
-0.03672468289732933,
-0.02117396518588066,
0.012010151520371437,
0.05793336033821106,
0.014509373344480991,
-0.006330495234578848,
0.06484093517065048,
-0.010344003327190876,
-0.011602291837334633,
-0.009198525920510292,
-0.04231322184205055,
-0.03467670828104019,
-0.029070813208818436,
-0.009892754256725311,
0.09746966511011124,
0.016887106001377106,
0.015229634940624237,
0.05116463080048561,
0.0490819476544857,
-0.03304527327418327,
0.010986164212226868,
0.005527793429791927,
0.0011780187487602234,
0.0058792466297745705,
0.03065018355846405,
-0.05699615180492401,
0.05928710475564003,
-0.002913589822128415,
-0.007823086343705654,
-0.0452289804816246,
0.019924355670809746,
-0.004085100255906582,
0.009241915307939053,
0.03242046758532524,
-0.035752762109041214,
0.023169873282313347,
-0.045888498425483704,
-0.017590012401342392,
0.020358247682452202,
0.04828358441591263,
-0.025374047458171844,
0.03970986232161522,
-0.012426688335835934,
-0.01916070282459259,
0.030823741108179092,
-0.053108472377061844,
0.014960621483623981,
-0.02539140358567238,
-0.05637134611606598,
0.001478489488363266,
0.045194268226623535,
0.05099107697606087,
0.03780073672533035,
-0.065812848508358,
0.08309914171695709,
0.012973393313586712,
-0.013901923783123493,
-0.028046827763319016,
0.026658371090888977,
0.05067867413163185,
-0.053282029926776886,
0.025703806430101395,
-0.0030112157110124826,
0.03849496319890022,
-0.036655258387327194,
-0.021920261904597282,
0.026814572513103485,
-0.0007858882308937609,
-0.00781874731183052,
-0.022510355338454247,
0.09892754256725311,
0.04592320695519447,
0.0011791035067290068,
-0.03287171572446823,
0.0018071632366627455,
0.05515644699335098,
0.024801310151815414,
-0.012365942820906639,
-0.024107081815600395,
-0.023360785096883774,
-0.0015674375463277102,
-0.03028571419417858,
0.014943266287446022,
-0.020497092977166176,
-0.011758493259549141,
0.004807531833648682,
-0.023117804899811745,
0.03196921572089195,
0.04033466801047325
] |
710,384
|
xer_reader.src.reader
|
parse_tables
|
Parse tables into a dictionary with the table name as the key
and a `Table` object as the value.
Returns:
dict[str, Table]: dict of XER Tables
|
def parse_tables(self) -> dict[str, XerTable]:
"""
Parse tables into a dictionary with the table name as the key
and a `Table` object as the value.
Returns:
dict[str, Table]: dict of XER Tables
"""
tables = {}
for table_str in self.data.split("%T\t")[1:]:
name, table = _parse_table(table_str)
tables[name] = table
return tables
|
(self) -> dict[str, xer_reader.src.table.Table]
|
[
0.004279307089745998,
0.0363982617855072,
-0.04594217985868454,
-0.0928117036819458,
-0.02695094235241413,
0.023937072604894638,
-0.02285517193377018,
0.0481446199119091,
-0.011765680275857449,
0.012181052938103676,
0.008505485020577908,
0.0180735532194376,
-0.04802870377898216,
0.057881735265254974,
0.006998551078140736,
-0.07812874764204025,
-0.0036828124430030584,
0.04455116391181946,
-0.018836678937077522,
-0.047526393085718155,
-0.03392534330487251,
0.010075208730995655,
0.015388118103146553,
-0.017687158659100533,
-0.01358172856271267,
0.054829228669404984,
-0.047410473227500916,
-0.026738425716757774,
0.06653694808483124,
0.004400054924190044,
-0.02436210587620735,
-0.01372662652283907,
0.006008417811244726,
0.023338163271546364,
-0.025811081752181053,
-0.04768094792962074,
0.003359207883477211,
-0.029346581548452377,
-0.025926999747753143,
0.023821154609322548,
0.0030283585656434298,
-0.03568343445658684,
-0.009949631057679653,
0.028457876294851303,
-0.023975711315870285,
-0.006206444464623928,
-0.022526737302541733,
-0.03634029999375343,
0.05127440765500069,
-0.009683985263109207,
-0.017252465710043907,
-0.0416918508708477,
0.026352031156420708,
0.014818187803030014,
0.017059270292520523,
-0.03890981897711754,
-0.05332229286432266,
0.08091078698635101,
-0.001531083951704204,
-0.019329331815242767,
0.00950044859200716,
0.040494032204151154,
-0.011813978664577007,
0.03326847404241562,
0.0032746843062341213,
-0.014673290774226189,
0.05509970337152481,
-0.049535635858774185,
-0.031008072197437286,
0.006935762241482735,
0.0004392206610646099,
-0.010268405079841614,
-0.01197819598019123,
0.03620506450533867,
0.032553646713495255,
0.00921548344194889,
-0.05301317945122719,
-0.0605478510260582,
-0.01946456916630268,
0.007220727391541004,
-0.010258745402097702,
-0.0032481197267770767,
-0.026448629796504974,
0.004262402653694153,
0.04628993198275566,
0.006592837627977133,
0.06433450430631638,
0.037055131047964096,
0.00040510937105864286,
0.05838404595851898,
-0.032901398837566376,
-0.014779548160731792,
-0.014084040187299252,
0.004699510056525469,
-0.017938314005732536,
-0.024883735924959183,
-0.055061064660549164,
0.0015479886205866933,
-0.023859793320298195,
-0.04203960672020912,
0.01767749898135662,
0.05073345825076103,
-0.03079555556178093,
-0.019474228844046593,
-0.008307458832859993,
0.0030307734850794077,
-0.042851030826568604,
-0.02977161295711994,
0.017658179625868797,
-0.009838542900979519,
-0.10989028960466385,
0.004047471098601818,
0.008428206667304039,
0.04138273745775223,
0.053399570286273956,
-0.07082591205835342,
0.014151658862829208,
-0.020575450733304024,
-0.043314702808856964,
-0.008906368166208267,
0.008626232855021954,
0.039064373821020126,
-0.0046512107364833355,
0.01858552359044552,
-0.021290278062224388,
-0.005322569515556097,
0.03749948367476463,
-0.04157593101263046,
0.0917297974228859,
-0.00007437318708980456,
0.001434485544450581,
0.03645621985197067,
-0.007491202559322119,
-0.03680397570133209,
0.004392810165882111,
-0.01564893312752247,
0.030756916850805283,
0.05900227651000023,
0.006283723283559084,
-0.027318015694618225,
0.02366659790277481,
0.007752018049359322,
0.01165942195802927,
-0.03717104718089104,
-0.027318015694618225,
-0.01760988123714924,
0.018730420619249344,
0.009698474779725075,
0.006467259954661131,
-0.01652797870337963,
-0.03983716294169426,
-0.03276616334915161,
0.042851030826568604,
-0.026796383783221245,
-0.04327606409788132,
0.03873594105243683,
-0.06850755214691162,
-0.04362381622195244,
0.020401572808623314,
-0.008413717150688171,
-0.0034292417112737894,
-0.023743875324726105,
-0.038310907781124115,
-0.015533016063272953,
-0.007167598232626915,
0.00018232940055895597,
0.0018486510962247849,
-0.012673703953623772,
0.046599049121141434,
-0.055292900651693344,
0.02930794097483158,
0.05560201406478882,
-0.0575726218521595,
0.04644449055194855,
0.0019235147628933191,
-0.030370524153113365,
0.033017318695783615,
0.008829089812934399,
-0.00823017954826355,
0.04246463626623154,
0.024613261222839355,
0.019483888521790504,
-0.0422714427113533,
0.0367266945540905,
-0.008462016470730305,
-0.04431932792067528,
0.03987580165266991,
0.029926171526312828,
0.024342786520719528,
0.011041192337870598,
-0.006621817126870155,
-0.031742218881845474,
-0.004569102078676224,
0.0499606691300869,
0.022623335942626,
-0.005003795027732849,
0.05297453701496124,
0.03079555556178093,
-0.04006899893283844,
-0.007182087749242783,
-0.06240253895521164,
0.027318015694618225,
-0.02291313000023365,
0.024941695854067802,
-0.025984957814216614,
-0.0411122590303421,
-0.018459945917129517,
-0.07013040781021118,
-0.05533153936266899,
0.00981922261416912,
0.044589802622795105,
-0.05069481581449509,
-0.040725868195295334,
-0.016305802389979362,
0.02809080295264721,
0.0067473952658474445,
-0.013774925842881203,
0.024729179218411446,
0.022661974653601646,
-0.06313668936491013,
0.032263852655887604,
-0.010007590055465698,
-0.023164285346865654,
-0.06495273858308792,
-0.02389843389391899,
-0.03164562210440636,
0.018740080296993256,
-0.014837507158517838,
-0.005810391157865524,
0.0007933140150271356,
0.008379907347261906,
-0.006409300956875086,
-0.005559235345572233,
0.0007637307862751186,
0.05556337535381317,
-0.014286897145211697,
0.028573794290423393,
-0.019899262115359306,
0.08245635777711868,
-0.032901398837566376,
0.06348443776369095,
-0.029559096321463585,
-0.058113571256399155,
-0.07855378091335297,
-0.018894638866186142,
-0.024613261222839355,
0.03552887588739395,
-0.01980266347527504,
-0.10703098028898239,
-0.019619125872850418,
0.044473882764577866,
-0.052240390330553055,
0.05792037397623062,
0.02227558195590973,
-0.001395846251398325,
-0.01277996227145195,
0.0029196853283792734,
0.013214655220508575,
0.05544745549559593,
-0.056683916598558426,
0.016083626076579094,
-0.02480645850300789,
-0.029848892241716385,
0.013552749529480934,
0.03160698339343071,
-0.004076450597494841,
-0.027820326387882233,
-0.0012618160108104348,
-0.06978265196084976,
-0.00788242556154728,
0.13067825138568878,
-0.0073173255659639835,
-0.017986614257097244,
-0.027704408392310143,
-0.025869039818644524,
0.022430138662457466,
0.04899468645453453,
-0.019367970526218414,
-0.034852687269449234,
-0.028921548277139664,
-0.02067204751074314,
-0.06823708117008209,
-0.01773545891046524,
-0.031046712771058083,
0.0405326709151268,
-0.030119366943836212,
-0.03890981897711754,
-0.032495688647031784,
-0.008379907347261906,
-0.036185745149850845,
-0.011292347684502602,
-0.018179811537265778,
-0.06329124420881271,
-0.008896708488464355,
-0.018971918150782585,
0.011572482995688915,
-0.0042165182530879974,
-0.03120126947760582,
0.04605809599161148,
-0.03487200662493706,
0.018005933612585068,
-0.030042089521884918,
0.07731732726097107,
0.048685573041439056,
-0.0675029307603836,
0.04497619345784187,
0.03786655515432358,
0.03487200662493706,
-0.011359966360032558,
-0.06645967066287994,
0.014528392814099789,
0.016373421996831894,
-0.013233974575996399,
0.015233560465276241,
-0.04420340806245804,
0.001924722222611308,
-0.03794383630156517,
0.056567996740341187,
-0.009959290735423565,
0.048453737050294876,
-0.006327192299067974,
0.057302143424749374,
0.02044021151959896,
-0.0029993790667504072,
0.08825226128101349,
-0.03533567860722542,
0.08292002975940704,
-0.02428482659161091,
0.0018148416420444846,
0.01081901602447033,
0.01693369261920452,
-0.038948457688093185,
0.05123576894402504,
0.04381701350212097,
-0.0009991892147809267,
0.05216311290860176,
-0.007264196407049894,
-0.0004808786907233298,
-0.014615331776440144,
0.024342786520719528,
0.046599049121141434,
-0.027781687676906586,
0.02384047396481037,
-0.05537017807364464,
-0.0026250602677464485,
-0.06734837591648102,
-0.048376455903053284,
-0.0012750983005389571,
0.03448561206459999,
-0.002340095117688179,
-0.04841509461402893,
0.03983716294169426,
0.04520802944898605,
0.08253363519906998,
0.02745325304567814,
-0.052935898303985596,
-0.031974054872989655,
0.031181950122117996,
-0.006955081596970558,
0.00027394690550863743,
0.013668667525053024,
0.035142481327056885,
-0.03574139252305031,
0.00397260719910264,
-0.00423342315480113,
-0.05096529424190521,
0.044357966631650925,
0.056104324758052826,
0.0361471064388752,
0.018508244305849075,
0.016489339992403984,
0.04856965318322182,
-0.019532186910510063,
-0.019773684442043304,
0.01565859280526638,
0.015755191445350647,
0.04903332516551018,
0.023569999262690544,
-0.03972124308347702,
-0.00868902262300253,
0.07735596597194672,
0.041885048151016235,
0.009592216461896896,
-0.01772579923272133,
0.04273511469364166,
-0.042851030826568604,
-0.012557785958051682,
0.008539294824004173,
0.008413717150688171,
-0.028283998370170593,
0.042116884142160416,
-0.007298005744814873,
-0.017658179625868797,
0.0846201628446579,
0.0023630373179912567,
-0.017175188288092613,
-0.028882909566164017,
-0.06846891343593597,
-0.044821638613939285,
-0.031123990193009377,
0.00610018614679575,
-0.04312150552868843,
0.008292969316244125,
0.021155040711164474,
-0.009244462475180626,
-0.030892154201865196,
0.08802042156457901,
-0.012799282558262348,
-0.01727178692817688,
-0.0010480921482667327,
-0.00872283149510622,
-0.018566204234957695,
0.0041416543535888195,
-0.028979506343603134,
-0.021058442071080208,
0.051390327513217926,
0.007607120554894209,
0.029636375606060028,
0.04675360396504402,
0.025926999747753143,
-0.0051583521999418736,
0.00990133173763752,
0.01491478644311428,
0.03811771050095558,
0.024883735924959183,
0.040378112345933914,
-0.04462844133377075,
-0.021850548684597015,
0.018382666632533073,
-0.011765680275857449,
0.04273511469364166,
-0.020652728155255318,
0.0032722693867981434,
-0.14056992530822754,
0.058693163096904755,
-0.012963499873876572,
0.004873387049883604,
-0.05591112747788429,
0.051776718348264694,
0.029906852170825005,
-0.008413717150688171,
0.005960118491202593,
0.07847650349140167,
0.031742218881845474,
0.010500241070985794,
-0.013098737224936485,
-0.056220244616270065,
0.01036500371992588,
-0.059272751212120056,
-0.004931346047669649,
-0.03139446675777435,
-0.06101152300834656,
0.025753121823072433,
-0.06955081969499588,
-0.00282791699282825,
0.057147588580846786,
0.04961291700601578,
0.050462979823350906,
-0.045903537422418594,
0.06858483701944351,
0.0006635099416598678,
0.0045497827231884,
0.026699785143136978,
0.013349892571568489,
-0.043314702808856964,
0.00007999551598913968,
-0.06159111112356186,
0.006327192299067974,
0.02038225345313549,
-0.013890843838453293,
-0.043546538800001144,
0.043430622667074203,
0.0022942109499126673,
0.0155716547742486,
-0.03792451322078705,
0.020227696746587753,
0.06958945840597153,
-0.03321051597595215,
-0.029926171526312828,
-0.0733761116862297,
0.007365624886006117,
-0.06255709379911423,
0.025598565116524696,
-0.03719036653637886,
0.025076933205127716,
0.017416683956980705,
0.016962671652436256,
-0.045053474605083466,
-0.050462979823350906,
-0.03506520390510559,
-0.06506865471601486,
0.029404539614915848,
-0.025424687191843987,
0.050462979823350906,
0.04146001487970352,
0.010954253375530243,
0.05486786738038063,
0.050231143832206726,
-0.034118540585041046,
-0.021174360066652298,
0.07179190218448639,
-0.03564479202032089,
-0.0343310572206974,
0.012731663882732391,
-0.03139446675777435,
0.06889394670724869,
0.023338163271546364,
0.009920651093125343,
-0.01513696275651455,
-0.024941695854067802,
-0.02198578603565693,
-0.0041537294164299965,
-0.025057613849639893,
0.032669562846422195,
-0.05826812982559204,
-0.05173807963728905,
-0.007423583883792162,
0.014634651131927967,
-0.0405326709151268,
0.03643690049648285,
-0.010142827406525612,
0.01387152448296547,
0.017861036583781242,
-0.02279721200466156,
-0.00282791699282825,
0.03603118658065796,
-0.012567446567118168,
0.02401435188949108,
0.018981577828526497,
-0.06259573251008987,
0.01361070852726698,
0.005192161537706852,
0.00392913818359375,
-0.04231008142232895,
0.02637135051190853,
-0.0034944454673677683,
0.0077568478882312775,
-0.058461327105760574,
-0.007684399373829365,
0.025521285831928253,
0.05135168507695198,
-0.03409922122955322,
0.016218863427639008,
-0.02561788447201252,
0.03753812238574028,
-0.015397777780890465,
-0.05309045687317848,
0.05019250512123108,
-0.016566617414355278,
-0.0040812804363667965,
-0.05003795027732849,
-0.04138273745775223,
0.04876285046339035,
-0.027955563738942146,
-0.03983716294169426,
0.0033954321406781673,
-0.010983233340084553,
-0.027994204312562943,
0.010645139031112194,
0.013523769564926624,
0.010007590055465698,
-0.032843440771102905,
-0.014711929485201836,
0.052704062312841415,
0.044357966631650925,
0.03156834468245506,
-0.008292969316244125,
0.02710549905896187,
-0.0763513445854187,
0.025057613849639893,
-0.001169443828985095,
0.038484785705804825,
0.0246905405074358,
-0.00762644037604332,
0.036823295056819916,
-0.0192327331751585,
-0.06448906660079956,
0.030428482219576836,
-0.005322569515556097,
-0.06742565333843231,
0.03979852423071861,
0.014634651131927967,
-0.00010142827522940934,
0.008442696183919907,
0.021831229329109192,
0.022758573293685913,
-0.049535635858774185,
0.07731732726097107,
0.05127440765500069,
0.011128130368888378,
-0.015677914023399353,
-0.05768853798508644,
-0.028341958299279213,
0.03867798298597336,
0.012306630611419678,
0.014277237467467785,
0.005525426007807255,
-0.012190712615847588,
-0.07870834320783615,
-0.04277375340461731,
-0.013378872536122799,
0.06309804320335388,
0.003830124856904149,
-0.035374317318201065,
0.029926171526312828,
-0.04961291700601578,
0.09134340286254883,
0.06077968701720238,
0.0008887049043551087,
-0.016334781423211098,
0.014113020151853561,
-0.02250741794705391,
0.008611743338406086,
-0.03593458980321884,
0.02424618788063526,
0.006307872477918863,
0.006800524424761534,
-0.05734078586101532,
-0.0013318498386070132,
-0.0699758529663086,
0.011572482995688915,
-0.0028158421628177166,
-0.011649762280285358,
0.06155247241258621,
-0.004356585908681154,
0.0003136427840217948,
0.023415442556142807,
0.002854481339454651,
0.03869730234146118,
-0.1163044199347496,
0.03753812238574028,
-0.0325922854244709,
0.02119367942214012,
0.010345684364438057,
0.0028955356683582067,
0.07897881418466568,
0.005192161537706852,
-0.012422548606991768,
0.0027433934155851603,
0.014480093494057655,
0.025598565116524696,
-0.03477540984749794,
0.025347407907247543,
0.0056703235022723675,
-0.018778720870614052,
0.019677085801959038,
0.024729179218411446,
-0.00692127225920558,
0.022488096728920937,
0.02884426899254322,
0.037847235798835754,
-0.017542261630296707,
0.006095356307923794,
-0.0025791760999709368,
-0.04416476935148239,
0.05792037397623062,
-0.005911819636821747,
-0.037383563816547394,
-0.01670185662806034,
-0.004332436248660088,
-0.0074525633826851845,
-0.032669562846422195,
-0.0003939401649404317,
0.051042571663856506,
0.052472226321697235,
0.01070309802889824,
0.022024424746632576,
0.028477195650339127,
-0.04223280027508736,
0.05367004871368408,
0.04945835843682289,
0.04656040668487549,
0.06719381362199783,
-0.05745670199394226,
0.03149106353521347,
0.020362934097647667,
-0.011524183675646782,
-0.007042020093649626,
0.050462979823350906,
-0.03734492510557175,
-0.05312909558415413,
0.046946801245212555,
0.04146001487970352,
0.0015250465366989374,
-0.009882011450827122,
0.015475057065486908,
0.005868350155651569,
0.02326088398694992,
-0.03506520390510559,
-0.04238735884428024,
-0.000255381892202422,
0.020884564146399498,
-0.013919822871685028,
0.06394810974597931,
-0.038716621696949005,
0.0282067209482193,
0.034292418509721756,
-0.05548609793186188,
0.010654798708856106,
0.0040909405797719955,
0.016025668010115623,
-0.052472226321697235,
-0.006327192299067974,
-0.001355999382212758,
0.005390188191086054,
0.007302835583686829,
0.018044572323560715,
-0.013002138584852219,
-0.06448906660079956,
0.021155040711164474,
-0.0023002484813332558,
0.012354929931461811,
0.006341682281345129,
-0.01945490948855877,
0.032321810722351074,
-0.006027737632393837,
0.04207824543118477,
0.02009245753288269,
0.006341682281345129,
-0.00950044859200716,
0.02326088398694992,
-0.02785896696150303,
0.039238251745700836,
0.09829849004745483,
-0.026680465787649155,
0.03931553289294243,
-0.00499413488432765,
0.017416683956980705,
-0.019561167806386948,
0.03800179436802864,
0.04296695068478584,
0.027240736410021782,
-0.07148278504610062,
-0.008631063625216484,
-0.02320292592048645,
-0.08400192856788635,
0.03564479202032089,
-0.02424618788063526,
0.04358517751097679,
-0.008312288671731949,
0.007761678192764521,
-0.03038984350860119,
-0.024613261222839355,
0.007177257910370827,
-0.018344027921557426,
-0.016325121745467186,
0.0317615382373333,
0.025366729125380516,
-0.025869039818644524,
0.08531566709280014,
-0.006109846290200949,
-0.002184330252930522,
-0.02445870451629162,
-0.01513696275651455,
0.0071386187337338924,
0.011553163640201092,
0.02625543251633644,
-0.019435590133070946,
-0.03079555556178093,
0.011340647004544735,
0.008283308707177639,
-0.011176429688930511,
-0.03222521021962166,
-0.004414544906467199,
0.02003449946641922,
-0.03475609049201012,
0.08639757335186005,
0.019841302186250687
] |
710,385
|
xer_reader.src.reader
|
to_csv
|
Generate a CSV file for each table in the XER file.
Uses `tab` as the delimiter.
Args:
file_directory (str | Path, optional): Directory to save CSV files.
Defaults to current working directory.
|
def to_csv(self, file_directory: str | Path = Path.cwd()) -> None:
"""
Generate a CSV file for each table in the XER file.
Uses `tab` as the delimiter.
Args:
file_directory (str | Path, optional): Directory to save CSV files.
Defaults to current working directory.
"""
for table in self.parse_tables().values():
_write_table_to_csv(
f"{self.file_name}_{table.name}", table, Path(file_directory)
)
|
(self, file_directory: str | pathlib.Path = PosixPath('/app')) -> NoneType
|
[
-0.023621687665581703,
0.034703467041254044,
-0.03973400965332985,
-0.0371822863817215,
0.005458869971334934,
-0.023895086720585823,
-0.07815570384263992,
0.023986220359802246,
-0.05606505274772644,
0.03198770061135292,
0.02404090017080307,
-0.014389908872544765,
0.0086302999407053,
0.0847901925444603,
0.032516274601221085,
0.004798155277967453,
0.05380495265126228,
0.015848038718104362,
0.038968492299318314,
0.052638452500104904,
0.004545261152088642,
0.02650149166584015,
-0.0661625936627388,
-0.039442386478185654,
0.009245447814464569,
0.04323352128267288,
-0.08201974630355835,
0.008671309798955917,
0.016185229644179344,
0.02611873298883438,
-0.04702465608716011,
-0.02786848694086075,
-0.014690647833049297,
0.026574397459626198,
-0.045748792588710785,
0.0025266639422625303,
0.02482464350759983,
0.01620345748960972,
-0.02066897600889206,
0.035104453563690186,
0.0448010079562664,
0.028561098501086235,
0.031222183257341385,
0.020176857709884644,
-0.010143108665943146,
0.006042121443897486,
-0.05909067019820213,
-0.028397059068083763,
0.008739659562706947,
-0.012676607817411423,
-0.02983696199953556,
-0.037801992148160934,
0.006365643814206123,
0.04017144814133644,
-0.023348288610577583,
-0.024150259792804718,
0.002315918682143092,
0.01828129030764103,
-0.04090051352977753,
0.00903584249317646,
0.008798896335065365,
0.004048585891723633,
0.016312817111611366,
0.03665371239185333,
0.048956677317619324,
0.020887695252895355,
-0.02799607440829277,
-0.01681404747068882,
-0.021817252039909363,
0.03375568240880966,
-0.0016278641996905208,
-0.04082760587334633,
0.04797244071960449,
0.05398721992969513,
0.00575505243614316,
0.027740901336073875,
-0.057924170047044754,
-0.09193502366542816,
-0.03754681721329689,
-0.032789673656225204,
-0.01035271491855383,
-0.026027599349617958,
0.003925556316971779,
0.0011539722327142954,
0.034940414130687714,
-0.0033058514818549156,
0.0449468232691288,
0.034940414130687714,
-0.034393616020679474,
0.08683156967163086,
-0.034594107419252396,
-0.03548721224069595,
-0.012111582793295383,
-0.016859615221619606,
0.012658380903303623,
-0.016613556072115898,
-0.017688926309347153,
0.03464878723025322,
-0.07031826674938202,
-0.024533018469810486,
-0.0013442125637084246,
0.02912612445652485,
0.09251827746629715,
0.004716135561466217,
-0.018536463379859924,
-0.046295590698719025,
-0.0357423834502697,
0.007003575097769499,
0.006456776987761259,
0.0023922426626086235,
-0.13414785265922546,
0.036781299859285355,
0.0659438744187355,
-0.01364261843264103,
0.03481282666325569,
-0.07181284576654434,
-0.014563062228262424,
0.008803453296422958,
-0.05876259133219719,
-0.00828855112195015,
0.06353796273469925,
0.014809121377766132,
-0.018864542245864868,
0.0224005039781332,
-0.05712219700217247,
-0.05508081614971161,
0.033336471766233444,
0.03062070533633232,
0.013706411235034466,
0.03304484486579895,
-0.03413844108581543,
0.013259858824312687,
0.026264546439051628,
-0.04028080776333809,
0.05858032777905464,
0.028251245617866516,
0.011418971233069897,
0.02690247632563114,
-0.010753700509667397,
0.06809461861848831,
0.028943857178092003,
-0.04717046767473221,
0.015073406510055065,
-0.026519717648625374,
0.06627195328474045,
-0.0009608841501176357,
-0.020978828892111778,
0.023840406909585,
-0.01879163645207882,
-0.04749854654073715,
-0.05241973325610161,
-0.024059126153588295,
-0.005180913954973221,
-0.10243355482816696,
-0.009044955484569073,
0.027850260958075523,
-0.060002002865076065,
0.045748792588710785,
-0.011072666384279728,
-0.04924830049276352,
0.014544835314154625,
0.0358881950378418,
-0.05697638541460037,
0.02701183781027794,
-0.016695575788617134,
0.005522663239389658,
-0.05384140834212303,
0.05143549665808678,
0.001820382778532803,
-0.08398821949958801,
0.06288180500268936,
-0.02192661166191101,
-0.015775131061673164,
0.08916457742452621,
-0.062079835683107376,
-0.024678830057382584,
0.04957637935876846,
0.00259957043454051,
0.06463155895471573,
0.04706110805273056,
0.006766629405319691,
0.01558375172317028,
0.002959545934572816,
0.05912712588906288,
0.033227112144231796,
-0.060585252940654755,
0.0020129012409597635,
-0.025972919538617134,
0.029344843700528145,
-0.007026358507573605,
0.03386504203081131,
-0.019320206716656685,
0.008397910743951797,
0.022801490500569344,
0.011500990949571133,
-0.04545716568827629,
0.05905421823263168,
-0.01763424649834633,
-0.01922907494008541,
-0.02333006076514721,
0.016978086903691292,
0.017041880637407303,
0.06696456670761108,
-0.03133154287934303,
-0.005048770923167467,
0.007841999642550945,
-0.033063072711229324,
-0.06517835706472397,
-0.03973400965332985,
-0.009796802885830402,
0.09047689288854599,
-0.029490655288100243,
-0.04057243466377258,
-0.006178820971399546,
0.005094337742775679,
0.03601578250527382,
-0.022054199129343033,
0.014134736731648445,
-0.0013396558351814747,
-0.0065205697901546955,
0.032680314034223557,
-0.05409657955169678,
-0.03136799857020378,
-0.011701484210789204,
0.023147795349359512,
-0.00937759131193161,
0.06747490912675858,
-0.029199030250310898,
0.008274881169199944,
-0.03632563352584839,
0.023621687665581703,
-0.015592865645885468,
-0.036708392202854156,
0.009723897092044353,
-0.021835479885339737,
-0.03464878723025322,
-0.012567248195409775,
-0.008525497280061245,
0.0198852326720953,
-0.00513079110532999,
0.007249634247273207,
-0.021088188514113426,
0.010562321171164513,
-0.0554453507065773,
0.04283253476023674,
-0.03277144581079483,
-0.008721433579921722,
0.00782832968980074,
-0.05887195095419884,
0.0030324524268507957,
0.03320888429880142,
-0.04498327523469925,
0.005495322868227959,
-0.021197548136115074,
-0.00806527491658926,
-0.052638452500104904,
-0.04640495032072067,
0.019393114373087883,
0.030529573559761047,
0.0032511716708540916,
-0.020887695252895355,
-0.01491848099976778,
0.0064932298846542835,
-0.0397704653441906,
0.022017745301127434,
-0.017433753237128258,
-0.05920002982020378,
-0.032716765999794006,
0.034320708364248276,
0.023986220359802246,
0.08056161552667618,
0.05274781212210655,
-0.047352734953165054,
-0.000714824884198606,
-0.026811344549059868,
0.006101357750594616,
-0.011674144305288792,
0.003841258119791746,
-0.06277244538068771,
-0.013296312652528286,
0.010790153406560421,
-0.028706911951303482,
-0.01902858167886734,
-0.017780058085918427,
-0.020997054874897003,
-0.0005083515425212681,
-0.08530053496360779,
-0.020504936575889587,
0.004966751206666231,
0.01961183361709118,
0.009486950933933258,
-0.0025357771664857864,
-0.017433753237128258,
0.028415285050868988,
-0.034193120896816254,
-0.05504436418414116,
0.015529071912169456,
-0.08289462327957153,
0.04002563655376434,
-0.04024435579776764,
-0.0019718913827091455,
0.020377350971102715,
0.1056414321064949,
0.047863081097602844,
-0.10746409744024277,
0.053695593029260635,
-0.014007150195538998,
0.011728824116289616,
-0.024168485775589943,
0.02117932215332985,
0.0044404580257833,
0.00874421652406454,
-0.0421399250626564,
0.031422678381204605,
0.016786707565188408,
0.012293849140405655,
-0.03131331875920296,
0.008862689137458801,
-0.02360345982015133,
0.02595469355583191,
-0.0355965718626976,
0.06721974164247513,
0.014280549250543118,
0.002852464560419321,
0.021944839507341385,
-0.022327598184347153,
0.04658721759915352,
0.016823161393404007,
-0.051617760211229324,
-0.037765536457300186,
0.0529300756752491,
-0.021908385679125786,
0.03683597967028618,
0.03519558534026146,
0.02513449639081955,
0.041957657784223557,
-0.032716765999794006,
-0.019320206716656685,
0.05610150843858719,
0.052164558321237564,
0.018099024891853333,
-0.021944839507341385,
-0.009951729327440262,
-0.04272317513823509,
-0.07006309181451797,
-0.007746309507638216,
-0.04013499617576599,
0.010626113973557949,
0.022801490500569344,
-0.019557153806090355,
0.034229572862386703,
0.07873895764350891,
0.015975624322891235,
0.0791034922003746,
-0.015884490683674812,
-0.0796138346195221,
-0.008675866760313511,
-0.023548780009150505,
-0.007413673680275679,
0.0422128289937973,
-0.007541260216385126,
0.04454583674669266,
-0.028652232140302658,
0.0033240781631320715,
0.0792493000626564,
-0.046259138733148575,
0.019283754751086235,
-0.028251245617866516,
0.015064293518662453,
0.030875878408551216,
0.04009854421019554,
0.024168485775589943,
0.047279827296733856,
-0.011801729910075665,
-0.04031726345419884,
0.015611091628670692,
0.0184817835688591,
0.030547799542546272,
-0.013970697298645973,
0.02090592309832573,
0.05814288929104805,
-0.014909367077052593,
0.01274040061980486,
0.021197548136115074,
-0.017716266214847565,
-0.052784264087677,
0.02806898020207882,
0.012503454461693764,
-0.05555471032857895,
-0.010070201940834522,
0.05303943529725075,
-0.024095579981803894,
-0.023475874215364456,
0.016358382999897003,
0.03926011919975281,
-0.030875878408551216,
-0.004522477742284536,
-0.028287699446082115,
-0.04917539656162262,
-0.01589360460639,
-0.014891141094267368,
-0.032789673656225204,
-0.021671440452337265,
0.043561600148677826,
-0.0066162594594061375,
-0.031039917841553688,
0.03576061129570007,
-0.008552837185561657,
0.010443847626447678,
-0.0031668737065047026,
0.01742463931441307,
0.0034676126670092344,
0.040936969220638275,
0.036890659481287,
-0.006461333483457565,
0.03816652297973633,
-0.07808279991149902,
-0.004078204277902842,
0.03802071139216423,
0.05905421823263168,
-0.007504806853830814,
0.006971678696572781,
0.0019513864535838366,
0.04928475618362427,
0.011792616918683052,
0.004326541908085346,
-0.021562080830335617,
0.039369478821754456,
0.03661726042628288,
-0.002184914890676737,
0.013114046305418015,
-0.0319330208003521,
-0.05909067019820213,
-0.046769481152296066,
0.0714118629693985,
0.03058425337076187,
0.007372663822025061,
-0.02199951931834221,
0.017142126336693764,
0.04188475012779236,
0.015228332951664925,
-0.06043944135308266,
0.006484116893261671,
-0.053185250610113144,
-0.004907514899969101,
0.02063252404332161,
0.008233871310949326,
0.0015025562606751919,
-0.035961102694272995,
0.012339415028691292,
0.009295571595430374,
-0.04749854654073715,
0.026847796514630318,
-0.09375768154859543,
0.017041880637407303,
0.021598532795906067,
0.03805716335773468,
-0.020687203854322433,
0.024642378091812134,
0.043197065591812134,
0.0449468232691288,
0.015437939204275608,
0.04666012153029442,
-0.04866505041718483,
-0.0119202034547925,
-0.06871432065963745,
-0.06572515517473221,
0.014535722322762012,
0.03421134874224663,
-0.0371822863817215,
-0.01485468726605177,
0.04902958124876022,
-0.01595739834010601,
-0.02083301544189453,
-0.04600396379828453,
0.07830151915550232,
0.0041055441834032536,
-0.019429566338658333,
-0.025991147384047508,
0.008707763627171516,
-0.0012223221128806472,
-0.06437639147043228,
0.014162076637148857,
-0.025225628167390823,
0.06984437257051468,
0.06525126844644547,
0.04009854421019554,
-0.0224734116345644,
-0.000042398227378726006,
-0.03215174004435539,
-0.0033240781631320715,
0.02588178776204586,
-0.03900494799017906,
-0.03685420751571655,
0.05883549898862839,
0.02929016388952732,
0.025663068518042564,
0.038932040333747864,
-0.04972219467163086,
0.01033448800444603,
0.054679833352565765,
-0.02697538398206234,
-0.018490895628929138,
-0.017215033993124962,
-0.008520940318703651,
0.09215374290943146,
0.05336751416325569,
0.0005254389834590256,
-0.07286998629570007,
-0.02834237925708294,
0.04797244071960449,
0.01992168463766575,
-0.06634486466646194,
0.0006179960328154266,
-0.04141085967421532,
-0.028087206184864044,
-0.03926011919975281,
-0.04388967901468277,
-0.019976364448666573,
0.05453401803970337,
-0.052091654390096664,
0.034430067986249924,
-0.01605764403939247,
0.03683597967028618,
-0.054133035242557526,
0.03700001910328865,
-0.0475350022315979,
0.0423586443066597,
0.012029563076794147,
-0.006256284192204475,
0.0034243245609104633,
0.034229572862386703,
0.03740100562572479,
-0.035997554659843445,
-0.0005695815780200064,
-0.004807268735021353,
-0.021871931850910187,
0.017916757613420486,
0.0344482958316803,
-0.0020926427096128464,
0.013524144887924194,
-0.03548721224069595,
-0.035377852618694305,
-0.016139663755893707,
-0.011619464494287968,
-0.029034990817308426,
-0.05759609118103981,
-0.007609609980136156,
0.07655176520347595,
0.028360605239868164,
-0.020614296197891235,
0.01728793978691101,
0.013141386210918427,
-0.022327598184347153,
0.015729565173387527,
-0.013150499202311039,
0.004164780490100384,
0.04064534232020378,
0.009596310555934906,
0.008643969893455505,
-0.006839535664767027,
-0.016959860920906067,
0.01777094602584839,
-0.0329354852437973,
0.08931039273738861,
0.03747390955686569,
-0.015911830589175224,
0.019903458654880524,
-0.040426623076200485,
-0.0044404580257833,
0.0006282484973780811,
0.04669657722115517,
-0.044144850224256516,
-0.022564543411135674,
0.00008536603854736313,
-0.04932120814919472,
-0.0448739156126976,
0.029727602377533913,
-0.037218738347291946,
-0.06477737426757812,
-0.009705670177936554,
0.009341137483716011,
0.005344953387975693,
-0.0112367058172822,
0.005372293293476105,
-0.005035100970417261,
-0.01926552690565586,
0.00411010067909956,
0.08333206176757812,
0.014207642525434494,
-0.014909367077052593,
0.028980311006307602,
-0.02912612445652485,
-0.05701283738017082,
0.00966921728104353,
0.0315684899687767,
-0.016823161393404007,
-0.010990645736455917,
-0.040936969220638275,
0.012439661659300327,
-0.015638431534171104,
0.020504936575889587,
0.013405672274529934,
0.04039016738533974,
-0.013988923281431198,
-0.042540907859802246,
0.00803337898105383,
-0.009286457672715187,
-0.06707392632961273,
0.028925631195306778,
-0.05296653136610985,
0.02052316442131996,
0.01664089597761631,
-0.04224928468465805,
0.010389167815446854,
-0.010416507720947266,
-0.0024469224736094475,
-0.047753721475601196,
0.022455183789134026,
0.0034288810566067696,
-0.03235223516821861,
-0.02517094835639,
-0.012776854448020458,
0.05402367562055588,
-0.04556652531027794,
0.008725989609956741,
-0.013906903564929962,
0.0033445830922573805,
0.06652712821960449,
-0.06743846088647842,
0.008826236240565777,
-0.01753399893641472,
0.013934243470430374,
-0.016704687848687172,
0.010088428854942322,
-0.018572915345430374,
-0.04822761192917824,
-0.04582170024514198,
-0.009687443263828754,
-0.058470968157052994,
0.013050253503024578,
0.034594107419252396,
0.03608869016170502,
-0.008379683829843998,
-0.040463075041770935,
-0.009705670177936554,
-0.026519717648625374,
-0.04020790383219719,
0.0071220481768250465,
-0.038312334567308426,
-0.057851262390613556,
0.055226631462574005,
-0.03370100259780884,
-0.010462074540555477,
-0.009090522304177284,
-0.03798425570130348,
-0.03399262949824333,
0.02704828977584839,
0.03856750950217247,
0.010872173123061657,
0.02070542983710766,
-0.013597051613032818,
0.06791234761476517,
-0.00280006299726665,
0.008589290082454681,
-0.04436356946825981,
0.03526849299669266,
-0.009696557186543941,
-0.03730987012386322,
0.016221683472394943,
0.04082760587334633,
0.02192661166191101,
0.03125863894820213,
-0.04658721759915352,
0.008279438130557537,
-0.013806657865643501,
-0.008402467705309391,
-0.008639413863420486,
0.05092515051364899,
-0.00949606392532587,
-0.028014300391077995,
0.04870150238275528,
0.057814810425043106,
-0.019958138465881348,
0.0007820355240255594,
-0.02407735213637352,
0.006889658980071545,
0.017679812386631966,
-0.03563302382826805,
-0.028160113841295242,
-0.04020790383219719,
0.019994592294096947,
-0.06131431832909584,
-0.0020926427096128464,
0.004880174994468689,
0.056903477758169174,
0.035961102694272995,
-0.045748792588710785,
0.016431288793683052,
0.006256284192204475,
0.003668105462566018,
-0.05446111410856247,
0.019520699977874756,
0.06375668197870255,
0.010088428854942322,
0.012640153989195824,
0.05704928934574127,
0.024332525208592415,
-0.0112184789031744,
-0.024733509868383408,
0.037838444113731384,
0.002993720816448331,
-0.013943357393145561,
0.0011562505969777703,
-0.00040098544559441507,
0.016941634938120842,
-0.015392372384667397,
0.03594287484884262,
0.040499527007341385,
-0.05806998163461685,
0.0318601168692112,
-0.002286300528794527,
0.03652612864971161,
0.040463075041770935,
-0.007304314058274031,
0.004638672340661287,
-0.03195124864578247,
0.04111923277378082,
0.026647305116057396,
-0.003037008922547102,
0.01698720082640648,
0.017652472481131554,
-0.04822761192917824,
0.06918821483850479,
0.028652232140302658,
-0.01415296271443367,
-0.042613815516233444,
0.014326116070151329,
0.031459130346775055,
-0.015875378623604774,
-0.06678230315446854,
-0.009195324964821339,
0.07647886127233505,
0.012129809707403183,
0.04822761192917824,
0.029253710061311722,
0.029107896611094475,
-0.018973901867866516,
-0.05398721992969513,
0.048883769661188126,
0.014389908872544765,
0.00021943129831925035,
-0.027540408074855804,
0.025389669463038445,
0.04082760587334633,
0.006743845995515585,
0.052055198699235916,
-0.008571063168346882,
-0.005682145711034536,
-0.012102469801902771,
-0.012539908289909363,
0.00013527562259696424,
-0.007709856145083904,
-0.0528571717441082,
0.09769463539123535,
0.028415285050868988,
0.06663648784160614,
-0.007705299649387598
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.