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
|
---|---|---|---|---|---|---|
37,048 | sphinx_autodoc_typehints | _future_annotations_imported | null | def _future_annotations_imported(obj: Any) -> bool:
_annotations = getattr(inspect.getmodule(obj), "annotations", None)
if _annotations is None:
return False
# Make sure that annotations is imported from __future__ - defined in cpython/Lib/__future__.py
# annotations become strings at runtime
future_annotations = 0x100000 if sys.version_info[0:2] == (3, 7) else 0x1000000
return bool(_annotations.compiler_flag == future_annotations)
| (obj: Any) -> bool | [
0.031491342931985855,
-0.013151957653462887,
-0.05948946624994278,
0.04841597378253937,
0.03535134717822075,
-0.03152627497911453,
0.08013437688350677,
0.06455463171005249,
-0.04394465684890747,
0.0009579053148627281,
0.009021230041980743,
-0.018583908677101135,
0.04177886247634888,
-0.030408445745706558,
-0.0018699622014537454,
-0.023649072274565697,
-0.025675136595964432,
0.05330647528171539,
-0.001342704868875444,
-0.03025124967098236,
-0.06294775009155273,
0.019998662173748016,
-0.019247619435191154,
-0.00978973787277937,
0.029011158272624016,
0.04764746502041817,
0.04397958889603615,
0.028347447514533997,
0.015876665711402893,
0.024173054844141006,
-0.0021614274010062218,
-0.0737767219543457,
0.021361015737056732,
-0.022985361516475677,
0.03299342468380928,
-0.03522908315062523,
0.02361414022743702,
0.01213892549276352,
-0.011562544852495193,
-0.08027410507202148,
0.008898967877030373,
0.04485289379954338,
-0.0631573423743248,
-0.03329034894704819,
-0.025238486006855965,
-0.05152493715286255,
-0.023299749940633774,
0.060712091624736786,
0.001105275354348123,
-0.04240764304995537,
0.05194412171840668,
-0.04876529425382614,
0.033342745155096054,
0.0312642827630043,
-0.012959831394255161,
0.05058176815509796,
0.026705635711550713,
0.08306867629289627,
-0.06266829371452332,
0.003076213411986828,
0.007807337678968906,
0.012435848824679852,
0.007868468761444092,
-0.03391912579536438,
0.06602178514003754,
0.013413948938250542,
-0.001980216708034277,
-0.034635234624147415,
-0.006444983649998903,
0.0013798202853649855,
-0.10710199922323227,
0.001431126962415874,
0.04422411322593689,
-0.01245331484824419,
-0.03484483063220978,
-0.081950843334198,
-0.10780064761638641,
-0.013972863554954529,
0.00793396681547165,
-0.02932554855942726,
-0.029639936983585358,
-0.005698308348655701,
-0.01603386178612709,
-0.03849523887038231,
0.001316505717113614,
-0.03536881133913994,
-0.05383045971393585,
0.014051461592316628,
-0.03611985221505165,
0.022531243041157722,
-0.055611997842788696,
0.0503721758723259,
-0.000438016519183293,
0.0025958961341530085,
-0.03622464835643768,
0.007947065867483616,
0.05645037069916725,
-0.020295584574341774,
-0.015605942346155643,
0.0012531912652775645,
0.05012764781713486,
-0.05246810242533684,
-0.03505442291498184,
0.014243587851524353,
0.007680708542466164,
0.04645977169275284,
-0.008554012514650822,
-0.005178692750632763,
0.013274220749735832,
-0.045446738600730896,
0.009466615505516529,
-0.03769180178642273,
0.018688704818487167,
0.023945994675159454,
0.024854231625795364,
-0.11234182864427567,
0.015640875324606895,
-0.04006718844175339,
0.022374048829078674,
-0.001880878466181457,
0.03961306810379028,
0.034617770463228226,
-0.023823732510209084,
-0.00007477665349142626,
0.08851809054613113,
-0.03915895149111748,
0.029238218441605568,
0.05753326788544655,
0.026530975475907326,
-0.0688512846827507,
0.03330781310796738,
-0.0008787621627561748,
-0.05243317037820816,
-0.004785705823451281,
-0.03290609270334244,
0.01732635125517845,
-0.025343282148241997,
0.05686955526471138,
-0.05435444042086601,
-0.0691656768321991,
-0.034879762679338455,
-0.013483813963830471,
0.0030390978790819645,
-0.042826827615499496,
-0.020278118550777435,
0.040381576865911484,
-0.06029290705919266,
0.01213892549276352,
-0.02909848839044571,
-0.04576113075017929,
0.06158539652824402,
-0.06651083379983902,
-0.046354975551366806,
0.022740835323929787,
-0.0685368999838829,
-0.00991200003772974,
-0.007392518222332001,
-0.027072424069046974,
0.034897226840257645,
0.008663175627589226,
0.012435848824679852,
0.007589011453092098,
-0.026548441499471664,
-0.03166600316762924,
0.02101169340312481,
0.01612992398440838,
0.0019856749568134546,
-0.055507201701402664,
-0.037761665880680084,
0.04418918117880821,
-0.041289813816547394,
0.03262663632631302,
0.09389764815568924,
0.013038428500294685,
0.041254881769418716,
0.07720007002353668,
-0.04722828045487404,
0.05442430451512337,
0.002176710171625018,
0.06336693465709686,
0.013859334401786327,
-0.018618840724229813,
-0.013763271272182465,
-0.04111515358090401,
0.03446057438850403,
0.07314794510602951,
0.018688704818487167,
-0.010497113689780235,
0.02897622622549534,
-0.007379418704658747,
-0.0005086995661258698,
0.021186355501413345,
0.042722031474113464,
0.04055623710155487,
-0.018339384347200394,
-0.01943974755704403,
-0.02230418473482132,
-0.03870483115315437,
-0.007711274083703756,
-0.007016997784376144,
-0.005977765657007694,
0.01853151060640812,
-0.004392718896269798,
0.019474679604172707,
-0.002143961377441883,
0.04914954677224159,
0.0024015859235078096,
0.02607685700058937,
0.028399845585227013,
-0.020260652527213097,
-0.03453043848276138,
-0.05959426611661911,
-0.04356040433049202,
0.04527207836508751,
-0.011955531314015388,
0.036049988120794296,
0.05449416860938072,
0.010532045736908913,
-0.00749731482937932,
0.03171839937567711,
0.0894961953163147,
0.07657129317522049,
-0.02020825445652008,
0.011309286579489708,
0.02621658518910408,
-0.0037508406676352024,
-0.021937396377325058,
0.04156927019357681,
0.032155051827430725,
-0.08013437688350677,
-0.013291686773300171,
0.022146988660097122,
-0.0314214788377285,
0.0302687156945467,
0.0398925244808197,
0.016243454068899155,
0.041394609957933426,
0.07943572849035263,
-0.01919522136449814,
-0.021151423454284668,
0.03936854377388954,
0.05187425762414932,
-0.05243317037820816,
-0.019474679604172707,
-0.017920197919011116,
-0.025116221979260445,
0.001195334829390049,
-0.014295985922217369,
-0.035019490867853165,
-0.014121325686573982,
-0.0030718466732650995,
-0.021553141996264458,
-0.02074970304965973,
-0.05533254146575928,
-0.06755879521369934,
-0.014706439338624477,
0.008693741634488106,
0.011649874970316887,
0.041953522711992264,
0.022269252687692642,
0.0020402565132826567,
0.008501614443957806,
0.02597206085920334,
0.06717454642057419,
-0.005475616082549095,
0.008671908639371395,
0.015073226764798164,
-0.0018732370808720589,
-0.03349994122982025,
-0.025727534666657448,
0.03171839937567711,
-0.04614538326859474,
-0.01930001750588417,
-0.004942900501191616,
0.027421744540333748,
-0.052118781954050064,
-0.01394666451960802,
-0.0187935009598732,
0.023911062628030777,
0.03706302121281624,
0.061236076056957245,
-0.06064222753047943,
0.009815936908125877,
0.03355234116315842,
-0.004218058194965124,
-0.035298947244882584,
-0.004222424700856209,
0.03507188707590103,
-0.022880565375089645,
-0.02164047211408615,
0.009938199073076248,
-0.0006091295508667827,
0.0767110213637352,
-0.03170093521475792,
0.05739353969693184,
0.06025797501206398,
0.050022851675748825,
-0.02845224365592003,
-0.027089890092611313,
-0.031142020598053932,
0.05805724859237671,
0.03170093521475792,
0.0007139260414987803,
-0.0063183545134961605,
0.037761665880680084,
0.00453681405633688,
0.0006506114732474089,
-0.00597339915111661,
-0.0576031319797039,
0.01159747689962387,
0.03273143246769905,
0.016610242426395416,
-0.00010964059038087726,
-0.04841597378253937,
0.047926921397447586,
0.003054380649700761,
-0.026408713310956955,
-0.022234318777918816,
-0.018810968846082687,
0.008842202834784985,
-0.027736134827136993,
-0.008951365947723389,
0.045900858938694,
-0.03330781310796738,
-0.010095394216477871,
-0.08747012913227081,
0.05952439829707146,
-0.016793636605143547,
-0.02167540416121483,
0.012025396339595318,
-0.014208655804395676,
-0.08558379113674164,
0.030321113765239716,
0.045446738600730896,
0.027858396992087364,
0.012951098382472992,
-0.03446057438850403,
-0.05851136893033981,
-0.004755140282213688,
0.016365716233849525,
-0.03653904050588608,
0.0062746889889240265,
-0.00008214515401050448,
0.07405617833137512,
-0.0338841937482357,
0.016863500699400902,
-0.004921067971736193,
0.029709801077842712,
0.047542668879032135,
-0.040486373007297516,
-0.05337633937597275,
0.011676074005663395,
-0.029657403007149696,
0.021081557497382164,
-0.01572820544242859,
0.016339518129825592,
0.016304586082696915,
0.005798738449811935,
0.009012497030198574,
0.011815803125500679,
0.04471316561102867,
-0.007130526937544346,
0.02345694601535797,
-0.02819025330245495,
-0.0767110213637352,
0.03264410421252251,
0.02529088407754898,
0.006191725376993418,
0.04317614808678627,
-0.014217388816177845,
-0.0375870019197464,
0.015894131734967232,
0.008824736811220646,
-0.03825071454048157,
0.007549712900072336,
0.012383450753986835,
0.01714295707643032,
-0.007676342036575079,
-0.035526007413864136,
0.009091094136238098,
-0.003183193039149046,
0.016025127843022346,
0.014977163635194302,
-0.010645575821399689,
0.002617728663608432,
0.005654643289744854,
0.022513777017593384,
-0.044783029705286026,
-0.038285646587610245,
0.004311938304454088,
0.03832057863473892,
0.006493015214800835,
-0.04017198458313942,
-0.026827897876501083,
-0.001920177135616541,
-0.009047429077327251,
-0.00926575530320406,
0.018828434869647026,
0.06989925354719162,
0.023299749940633774,
0.07168079167604446,
0.01192933227866888,
0.06787318736314774,
0.011632408946752548,
-0.022216852754354477,
0.051070816814899445,
0.05239823833107948,
-0.05264276638627052,
-0.012444581836462021,
0.025779934599995613,
-0.021308617666363716,
-0.00991200003772974,
-0.019736669957637787,
-0.06298268586397171,
-0.0028098556213080883,
0.05526267737150192,
0.01654037833213806,
-0.04418918117880821,
0.04289669170975685,
-0.029150886461138725,
0.004563013557344675,
-0.02008599229156971,
0.020522642880678177,
0.035281483083963394,
-0.0425124391913414,
-0.04394465684890747,
-0.001149486401118338,
-0.0018950696103274822,
0.05089615657925606,
-0.03734247758984566,
-0.04390972480177879,
0.011772138066589832,
0.02151820994913578,
-0.027701202780008316,
-0.000022634265405940823,
-0.04803172126412392,
-0.0024365182034671307,
-0.014016528613865376,
-0.008562745526432991,
-0.014592909254133701,
0.0014616925036534667,
0.057218875735998154,
0.0011030921014025807,
-0.02073223702609539,
-0.022845633327960968,
0.04813651740550995,
-0.011894400231540203,
0.08223030716180801,
0.033709533512592316,
-0.02347441203892231,
-0.08013437688350677,
0.019928796216845512,
-0.019509611651301384,
0.0070562963373959064,
-0.0046896422281861305,
-0.0542147122323513,
0.040486373007297516,
-0.01349254697561264,
0.020924363285303116,
-0.029779665172100067,
-0.07279861718416214,
0.011239422485232353,
-0.03494962677359581,
-0.005493082106113434,
0.04932421073317528,
0.0212562195956707,
0.011649874970316887,
0.006938400212675333,
-0.025343282148241997,
0.023788800463080406,
0.07726993411779404,
-0.03362220525741577,
0.05152493715286255,
-0.022793233394622803,
0.0005346257821656764,
0.060851823538541794,
0.003043464384973049,
0.08097274601459503,
0.021692872047424316,
0.04764746502041817,
-0.0027116090059280396,
0.0008099894621409476,
-0.006527947261929512,
-0.03706302121281624,
-0.006724440958350897,
-0.003921134863048792,
-0.010706706903874874,
-0.060188110917806625,
0.027998125180602074,
-0.026653237640857697,
-0.005043330602347851,
0.015108158811926842,
0.016243454068899155,
-0.006899101659655571,
0.0774795264005661,
0.009370551444590092,
0.07073762267827988,
0.03570066764950752,
0.014750104397535324,
0.021186355501413345,
0.0272645503282547,
0.03915895149111748,
-0.01732635125517845,
-0.005606611724942923,
0.03692329302430153,
-0.048590634018182755,
0.02791079506278038,
-0.03982266038656235,
-0.039333611726760864,
0.015876665711402893,
0.018688704818487167,
0.034373246133327484,
0.0027159755118191242,
0.047263212502002716,
0.04198845475912094,
-0.0054144845344126225,
-0.028137855231761932,
-0.006300888489931822,
-0.024469977244734764,
0.020540110766887665,
-0.009877067990601063,
-0.03748220577836037,
0.047263212502002716,
-0.057428471744060516,
-0.006663309410214424,
0.025989526882767677,
0.02216445468366146,
0.0348098985850811,
-0.010139059275388718,
-0.02165793813765049,
0.05774286016821861,
-0.030984826385974884,
0.007340120151638985,
-0.031648535281419754,
0.011580010876059532,
0.04946393892168999,
0.018985629081726074,
0.008292021229863167,
0.0238761305809021,
-0.009012497030198574,
-0.002416868694126606,
-0.04457343742251396,
0.016243454068899155,
0.040486373007297516,
0.036993157118558884,
0.020522642880678177,
-0.0317358672618866,
-0.024557307362556458,
0.01447064708918333,
0.04083569347858429,
0.05215371400117874,
0.04925434663891792,
-0.016924630850553513,
0.006152426823973656,
-0.029150886461138725,
-0.006047630216926336,
0.01709929294884205,
-0.015553544275462627,
-0.006431883666664362,
0.0071479929611086845,
0.012566844001412392,
0.003580546472221613,
0.03493215888738632,
0.003405885538086295,
-0.0662313774228096,
-0.00795579981058836,
-0.012025396339595318,
-0.019492145627737045,
0.01734381727874279,
0.005296588875353336,
0.022950429469347,
-0.04289669170975685,
0.01814725622534752,
-0.031753331422805786,
0.036049988120794296,
0.0662313774228096,
-0.03926374763250351,
-0.003008532337844372,
0.014531778171658516,
-0.03688836097717285,
0.014243587851524353,
-0.004257356747984886,
0.018863366916775703,
-0.043769996613264084,
0.04397958889603615,
-0.05383045971393585,
-0.014164990745484829,
0.03653904050588608,
0.04460836946964264,
-0.03908908739686012,
-0.05585652217268944,
0.039962392300367355,
0.04586592689156532,
-0.02073223702609539,
0.051594801247119904,
0.018618840724229813,
-0.018059926107525826,
0.028085457161068916,
0.04380492866039276,
-0.02883649803698063,
0.019876398146152496,
0.007829170674085617,
-0.032015323638916016,
-0.08125220239162445,
0.01115209236741066,
0.01837431639432907,
-0.030460843816399574,
0.015431281179189682,
0.021168889477849007,
0.02958753891289234,
-0.028853964060544968,
0.014182456769049168,
0.0023077058140188456,
-0.05554213374853134,
-0.004859936889261007,
-0.019072959199547768,
0.01545748021453619,
0.038145918399095535,
0.021623006090521812,
0.006466816179454327,
0.05110574886202812,
0.027456676587462425,
0.054703760892152786,
-0.02258364111185074,
0.014103859663009644,
0.022269252687692642,
-0.029430344700813293,
-0.08726053684949875,
-0.009012497030198574,
-0.05323661118745804,
-0.015684539452195168,
-0.01785033382475376,
0.018880832940340042,
-0.07031843811273575,
0.011108426377177238,
-0.028923828154802322,
-0.016723770648241043,
-0.023160021752119064,
0.05931480601429939,
0.0031810097862035036,
-0.05865109711885452,
-0.033185552805662155,
-0.02908102236688137,
0.04576113075017929,
-0.010392317548394203,
0.002943034516647458,
-0.03180573135614395,
-0.048590634018182755,
0.07237943261861801,
-0.017937663942575455,
-0.007999464869499207,
0.06745400279760361,
-0.006104394793510437,
0.013475080952048302,
0.01076783798635006,
-0.002451800974085927,
-0.10102380812168121,
0.006423150654882193,
0.03322048485279083,
-0.024557307362556458,
0.04488782584667206,
-0.06029290705919266,
-0.022077124565839767,
-0.015151823870837688,
0.029692335054278374,
0.0059472001157701015,
-0.023771334439516068,
-0.042582303285598755,
0.02698509395122528,
-0.029500208795070648,
-0.05218864604830742,
0.06619644165039062,
0.05278249457478523,
-0.036329444497823715,
-0.00013618083903566003,
-0.008305121213197708,
-0.01447064708918333,
0.0112830875441432,
0.008060595951974392,
-0.028766633942723274,
0.004480049479752779,
-0.015020828694105148,
-0.023125089704990387,
-0.005597878713160753,
-0.032783832401037216,
0.04866049811244011,
0.022531243041157722,
0.020819567143917084,
0.05840656906366348,
-0.05414484813809395,
0.01603386178612709,
0.03577053174376488,
0.02593712881207466,
0.056520234793424606,
0.06396078318357468,
0.017151691019535065,
-0.03405885398387909,
0.043874792754650116,
-0.037866462022066116,
-0.03467016667127609,
-0.027858396992087364,
-0.012706573121249676,
-0.04785705730319023,
0.0036656935699284077,
-0.0474378727376461,
0.04233777895569801,
-0.03584039583802223,
-0.007772405631840229,
-0.04303641989827156,
-0.029657403007149696,
-0.04212818294763565,
0.04914954677224159,
-0.006300888489931822,
-0.07293835282325745,
-0.000335676217218861,
-0.06860676407814026,
0.005244190338999033,
0.005130660720169544,
0.036958225071430206,
-0.0563805066049099,
0.022950429469347,
0.055367473512887955,
-0.007475482299923897,
0.034879762679338455,
-0.019509611651301384,
-0.0012455497635528445,
-0.05285235866904259,
0.015684539452195168,
-0.028347447514533997,
0.005829303991049528,
0.048171449452638626,
0.010182724334299564,
-0.07726993411779404,
0.05152493715286255,
-0.0321899838745594,
-0.004990932531654835,
0.005453783553093672,
0.018845900893211365,
-0.07740966230630875,
-0.024819299578666687,
0.0037923224736005068,
-0.051839325577020645,
-0.004921067971736193,
0.022199386730790138,
-0.01812979020178318,
0.014505579136312008,
-0.008335686288774014,
-0.04803172126412392,
0.018583908677101135,
0.031648535281419754,
0.031211884692311287,
0.021064091473817825,
-0.01697702892124653,
-0.047018688172101974,
0.05009271577000618,
0.009527746587991714,
-0.049498870968818665,
0.05215371400117874,
0.01982400007545948,
-0.05089615657925606,
-0.11227196455001831,
0.013047161512076855,
-0.04918448254466057,
-0.002458350732922554,
0.01957947574555874,
0.03636437654495239,
-0.056939419358968735,
0.015029561705887318
]
|
37,049 | sphinx_autodoc_typehints | _get_sphinx_line_keyword_and_argument |
Extract a keyword, and its optional argument out of a sphinx field option line.
For example
>>> _get_sphinx_line_keyword_and_argument(":param parameter:")
("param", "parameter")
>>> _get_sphinx_line_keyword_and_argument(":return:")
("return", None)
>>> _get_sphinx_line_keyword_and_argument("some invalid line")
None
| def _get_sphinx_line_keyword_and_argument(line: str) -> tuple[str, str | None] | None:
"""
Extract a keyword, and its optional argument out of a sphinx field option line.
For example
>>> _get_sphinx_line_keyword_and_argument(":param parameter:")
("param", "parameter")
>>> _get_sphinx_line_keyword_and_argument(":return:")
("return", None)
>>> _get_sphinx_line_keyword_and_argument("some invalid line")
None
"""
param_line_without_description = line.split(":", maxsplit=2)
if len(param_line_without_description) != 3: # noqa: PLR2004
return None
split_directive_and_name = param_line_without_description[1].split(maxsplit=1)
if len(split_directive_and_name) != 2: # noqa: PLR2004
if not len(split_directive_and_name):
return None
return split_directive_and_name[0], None
return tuple(split_directive_and_name) # type: ignore[return-value]
| (line: str) -> tuple[str, str | None] | None | [
-0.004984984174370766,
0.02946481667459011,
0.06049634516239166,
0.03306112810969353,
0.005519089754670858,
-0.010094593279063702,
0.041268546134233475,
0.04550578445196152,
-0.005741633474826813,
-0.0005377217894420028,
0.004059201572090387,
0.02268167771399021,
-0.03217095136642456,
-0.0013786597410216928,
0.02538781240582466,
0.02512075938284397,
-0.03411153331398964,
0.055297717452049255,
-0.07256712764501572,
0.014981658197939396,
0.049351342022418976,
0.01580061949789524,
-0.020954737439751625,
-0.0114921685308218,
-0.005821749567985535,
0.01231113076210022,
0.04539896175265312,
-0.04226554557681084,
-0.025868507102131844,
-0.023180177435278893,
0.04917330667376518,
-0.04821191728115082,
-0.03589188680052757,
-0.007352851796895266,
-0.022574856877326965,
0.007076897192746401,
0.024159369990229607,
0.06701242923736572,
-0.09321920573711395,
-0.027898108586668968,
-0.06957613676786423,
-0.0458974614739418,
0.05996223911643028,
-0.033399395644664764,
-0.09685111790895462,
-0.03519754856824875,
-0.029162157326936722,
-0.03533997759222984,
-0.05711367726325989,
-0.00622677942737937,
0.05600985884666443,
-0.00883499439805746,
0.0015500185545533895,
-0.07384897768497467,
-0.013076681643724442,
-0.03845559060573578,
0.0101569052785635,
0.05444314703345299,
-0.0029642852023243904,
0.0513097308576107,
0.05729171261191368,
0.04700127989053726,
-0.0008006017887964845,
0.047179315239191055,
0.010753323324024677,
-0.053659792989492416,
0.05109608918428421,
-0.012435754761099815,
-0.040449585765600204,
0.021987341344356537,
-0.03304332494735718,
-0.01297876238822937,
-0.05928570404648781,
0.003271395806223154,
0.013886741362512112,
-0.03760102391242981,
-0.029162157326936722,
0.019690686836838722,
0.09165249764919281,
-0.0009369099861942232,
-0.04077005013823509,
0.03806391358375549,
0.011483266949653625,
-0.0487816296517849,
-0.0030822334811091423,
-0.011768123134970665,
-0.013477261178195477,
0.02731059119105339,
0.010352743789553642,
0.03681766986846924,
-0.06986099481582642,
0.004074779339134693,
0.023963531479239464,
0.1000557541847229,
-0.02462226152420044,
-0.013041074387729168,
0.047998275607824326,
0.003979085478931665,
-0.018462244421243668,
0.011225116439163685,
-0.02301994524896145,
0.005367759615182877,
0.011999568901956081,
0.023678675293922424,
-0.0072059729136526585,
-0.03242019936442375,
-0.027755679562687874,
-0.03760102391242981,
0.03300771862268448,
-0.001671304926276207,
-0.029820887371897697,
-0.09677990525960922,
-0.04294207692146301,
0.05255597457289696,
-0.01663738489151001,
-0.00450206408277154,
-0.04468682408332825,
-0.03396910801529884,
-0.0243730116635561,
0.003400471294298768,
-0.015195299871265888,
0.008581294678151608,
-0.09578291326761246,
0.022592660039663315,
0.002937579993158579,
-0.02898412197828293,
-0.003224661573767662,
0.03169025853276253,
-0.018515655770897865,
0.00662290770560503,
0.03382667899131775,
0.030194761231541634,
0.032598234713077545,
-0.007882506586611271,
-0.0702526718378067,
0.014082580804824829,
0.03913212567567825,
0.06387901306152344,
-0.023304801434278488,
-0.022076359018683434,
-0.0037587671540677547,
0.036052118986845016,
-0.01232893392443657,
-0.05985541641712189,
-0.039630625396966934,
-0.04244358092546463,
-0.027933714911341667,
-0.02024259604513645,
0.0003969627432525158,
0.018284209072589874,
-0.048603594303131104,
-0.06597982347011566,
-0.0005090692429803312,
-0.014652293175458908,
0.0061511145904660225,
-0.04490046575665474,
-0.044473178684711456,
-0.06576618552207947,
0.04689445719122887,
-0.03496610373258591,
0.043440576642751694,
-0.0811128169298172,
0.05711367726325989,
-0.028343195095658302,
0.07327926903963089,
0.07598540186882019,
-0.01772339828312397,
0.00540336687117815,
0.04190947487950325,
-0.008964070118963718,
0.008082795888185501,
0.0917949229478836,
0.012809628620743752,
-0.010477368719875813,
-0.06416387110948563,
0.04020033776760101,
-0.005946374032646418,
0.01665518805384636,
0.01766998879611492,
-0.015248710289597511,
0.040413979440927505,
0.008336495608091354,
0.00045510235941037536,
0.0021442107390612364,
0.03870484232902527,
-0.028628051280975342,
0.03646159917116165,
0.019388027489185333,
-0.03480587154626846,
0.022005144506692886,
-0.0032914248295128345,
-0.04675203189253807,
0.022343412041664124,
-0.02159566432237625,
-0.051808226853609085,
0.04034276679158211,
0.0017447444843128324,
-0.003934576641768217,
0.01770559512078762,
-0.029126551002264023,
0.023322604596614838,
-0.005416719242930412,
-0.06113727018237114,
0.0813264548778534,
0.01053968071937561,
-0.008323143236339092,
0.06569497287273407,
0.031227365136146545,
-0.13573399186134338,
0.03809952363371849,
-0.005848454777151346,
-0.027915911749005318,
0.028752677142620087,
-0.04707249253988266,
0.02488931454718113,
-0.06117287650704384,
-0.013690902851521969,
0.07740968465805054,
-0.01271170936524868,
0.00946256797760725,
0.07196180522441864,
-0.02540561556816101,
0.11023936420679092,
0.04301329329609871,
0.09549805521965027,
-0.04974301904439926,
0.02754203788936138,
0.019530456513166428,
-0.009213319048285484,
-0.013414948247373104,
0.019904330372810364,
-0.011598990298807621,
0.018782708793878555,
-0.00294425617903471,
-0.019868722185492516,
-0.015907440334558487,
0.008354299701750278,
-0.004297323524951935,
0.03948819637298584,
-0.07256712764501572,
-0.008363201282918453,
0.04892405867576599,
0.012435754761099815,
0.047713421285152435,
-0.04703688621520996,
0.023714281618595123,
0.022236589342355728,
-0.02597532793879509,
-0.02893071249127388,
-0.008910659700632095,
-0.01068210881203413,
0.04390346631407738,
0.04087686911225319,
0.053659792989492416,
0.028592444956302643,
-0.0024168272502720356,
-0.005550245754420757,
-0.004771342035382986,
-0.009836441837251186,
-0.02807614393532276,
0.007615453563630581,
0.06932688504457474,
0.02974967285990715,
0.005772789940237999,
0.00561700901016593,
0.01499055977910757,
0.056401535868644714,
-0.01312119048088789,
-0.022592660039663315,
0.01515079103410244,
-0.009596094489097595,
0.033399395644664764,
-0.0075175343081355095,
-0.0017035738565027714,
-0.014999461360275745,
0.015675995498895645,
0.02569047175347805,
-0.012320032343268394,
-0.018061665818095207,
0.058822814375162125,
-0.024533243849873543,
-0.015480156056582928,
-0.02544122375547886,
0.05269840359687805,
-0.005060649011284113,
0.06056755781173706,
0.026331398636102676,
0.04023594409227371,
0.010593091137707233,
0.028610248118638992,
0.008229674771428108,
-0.00587070919573307,
0.014349632896482944,
-0.00588851235806942,
0.027773482725024223,
0.08210980892181396,
-0.014554373919963837,
0.015284317545592785,
0.038562413305044174,
-0.01570270024240017,
0.018266405910253525,
0.06886399537324905,
0.006978977937251329,
-0.003569604828953743,
0.010726617649197578,
0.008091697469353676,
0.03519754856824875,
-0.0024168272502720356,
0.022859713062644005,
-0.0864538699388504,
-0.023340407758951187,
-0.003547350410372019,
-0.04030715674161911,
-0.05650835484266281,
-0.07320805639028549,
0.003939027898013592,
-0.031013723462820053,
0.05469239875674248,
-0.04208751022815704,
0.03519754856824875,
-0.02056306041777134,
-0.031530026346445084,
0.029304586350917816,
-0.0459330677986145,
0.031761471182107925,
-0.023393819108605385,
-0.024123763665556908,
-0.03138759732246399,
0.010352743789553642,
0.08987214416265488,
-0.0148659348487854,
0.048567987978458405,
-0.07413383573293686,
0.020224792882800102,
-0.009355747140944004,
-0.03859801962971687,
-0.038277558982372284,
0.015213103964924812,
-0.00795817095786333,
-0.002995441434904933,
0.028859497979283333,
-0.029162157326936722,
-0.008176264353096485,
-0.007085798773914576,
0.06402143836021423,
0.015106282196938992,
0.022022947669029236,
0.028022732585668564,
0.06875717639923096,
-0.018871726468205452,
0.062027446925640106,
-0.006725277751684189,
-0.02487150952219963,
-0.03217095136642456,
0.08816300332546234,
0.03359523415565491,
-0.054478757083415985,
-0.019939936697483063,
0.015773914754390717,
-0.0036786512937396765,
0.06533890217542648,
0.015061773359775543,
-0.018337620422244072,
0.0378858782351017,
0.029696263372898102,
0.0037476399447768927,
-0.08282195031642914,
0.0072905393317341805,
0.015186398290097713,
0.009969968348741531,
-0.03325696662068367,
0.060460735112428665,
0.02431960217654705,
-0.006978977937251329,
0.0026527238078415394,
-0.00999667402356863,
0.044259537011384964,
0.01772339828312397,
-0.0486748106777668,
-0.030087940394878387,
0.0004022481734864414,
-0.011598990298807621,
0.02754203788936138,
-0.020420631393790245,
-0.06348733603954315,
-0.008474472910165787,
-0.01768779195845127,
-0.025476830080151558,
-0.005594754591584206,
0.04899527505040169,
0.036604028195142746,
0.015106282196938992,
0.0014587754849344492,
-0.03218875452876091,
0.03923894837498665,
-0.03300771862268448,
0.004399693571031094,
-0.015159692615270615,
-0.05244915559887886,
-0.05860917270183563,
-0.013317028991878033,
-0.030194761231541634,
-0.0975632593035698,
0.015097380615770817,
-0.0016857703449204564,
0.011714712716639042,
0.022325607016682625,
0.039345767349004745,
-0.006200074218213558,
-0.04119733348488808,
-0.030889097601175308,
-0.04219432920217514,
0.004931573756039143,
-0.03516194224357605,
0.03133418783545494,
-0.03331037610769272,
0.05333933234214783,
0.0917949229478836,
-0.024408619850873947,
0.010584189556539059,
-0.027185967192053795,
-0.03345280513167381,
-0.043404970318078995,
0.05273400992155075,
0.049671806395053864,
0.029536031186580658,
-0.054763611406087875,
0.0022488064132630825,
0.07349290698766708,
-0.03533997759222984,
-0.014260615222156048,
0.0046912264078855515,
0.007139209657907486,
-0.04386785998940468,
-0.04742856323719025,
-0.002574833342805505,
0.029090942814946175,
0.0514521598815918,
0.10311795771121979,
-0.041838258504867554,
-0.015515763312578201,
-0.009827540256083012,
0.017358427867293358,
0.007001232355833054,
0.03414714336395264,
-0.037743452936410904,
0.0011383122764527798,
0.01999334804713726,
0.040983691811561584,
-0.08581294119358063,
-0.00022518665355164558,
0.0324736125767231,
0.031530026346445084,
-0.0008812739979475737,
0.05536893010139465,
-0.06576618552207947,
-0.12049418687820435,
-0.015159692615270615,
0.03601651266217232,
-0.007793488912284374,
0.05814627930521965,
0.04454439505934715,
0.03706691786646843,
-0.007579846307635307,
0.023465033620595932,
0.05006348341703415,
0.0702526718378067,
-0.023981334641575813,
-0.03213534504175186,
-0.03916773200035095,
0.005461228080093861,
-0.03361303731799126,
-0.026402613148093224,
-0.011785927228629589,
0.05184383690357208,
-0.009943262673914433,
0.04226554557681084,
0.005968628451228142,
0.022290000692009926,
-0.01974409818649292,
0.00514966668561101,
-0.05219990760087967,
-0.014082580804824829,
-0.01890733279287815,
0.002712810644879937,
0.04027155041694641,
-0.0379214882850647,
-0.05462118238210678,
-0.06861474364995956,
0.009863147512078285,
-0.0033025520388036966,
0.037850271910429,
0.04187386855483055,
-0.07448990643024445,
0.03656841814517975,
0.002888620365411043,
0.051274124532938004,
0.03656841814517975,
0.049102094024419785,
0.04895966500043869,
-0.00972962100058794,
-0.04657399654388428,
0.008194067515432835,
-0.0014899317175149918,
0.01915658265352249,
-0.01513298787176609,
0.018061665818095207,
0.005461228080093861,
-0.03710252419114113,
0.018212996423244476,
-0.037209346890449524,
-0.011127197183668613,
0.056650783866643906,
0.004308450501412153,
-0.028289785608649254,
0.038562413305044174,
-0.0024390816688537598,
0.03136979416012764,
0.016379233449697495,
0.004606659524142742,
-0.017785711213946342,
0.050134699791669846,
0.0432625412940979,
-0.06551693379878998,
0.0024746886920183897,
-0.017518658190965652,
-0.01718929409980774,
-0.0405920147895813,
0.02054525539278984,
-0.052912045270204544,
0.05038394778966904,
-0.02974967285990715,
-0.04999227076768875,
-0.027720073238015175,
0.02355404943227768,
0.04137536883354187,
-0.049066487699747086,
0.03357743099331856,
-0.027987126260995865,
0.0458974614739418,
0.039595019072294235,
-0.0031445459462702274,
-0.045541390776634216,
0.016174493357539177,
0.018764905631542206,
0.0459686741232872,
-0.020883522927761078,
0.020474042743444443,
-0.026188969612121582,
0.03710252419114113,
-0.0025570299476385117,
-0.00022935934248380363,
0.024942724034190178,
-0.0050962562672793865,
-0.08773571997880936,
0.02321578375995159,
-0.035820670425891876,
-0.021542252972722054,
-0.0025347755290567875,
-0.010860144160687923,
0.0015978654846549034,
-0.05216429755091667,
-0.022877516224980354,
0.0059775300323963165,
-0.010370547883212566,
-0.0230021420866251,
0.015711601823568344,
-0.00859464704990387,
0.0053544072434306145,
0.013779920525848866,
-0.019601669162511826,
-0.033666446805000305,
-0.031530026346445084,
0.029357995837926865,
-0.057790208607912064,
0.047214921563863754,
0.011866042390465736,
-0.07189059257507324,
-0.043725430965423584,
0.055831823498010635,
0.04219432920217514,
0.04272843524813652,
0.007949269376695156,
0.04814070463180542,
-0.04226554557681084,
0.023838907480239868,
0.07349290698766708,
0.008541236631572247,
-0.06640711426734924,
0.011794828809797764,
-0.004815850872546434,
0.01800825633108616,
0.027364002540707588,
0.004515416454523802,
-0.007397360634058714,
0.02348283678293228,
-0.004927122965455055,
-0.011171706020832062,
0.011928355321288109,
-0.005510187707841396,
-0.06950492411851883,
-0.04739295691251755,
-0.000004681246537074912,
0.006360305938869715,
0.005025042220950127,
0.018853921443223953,
0.04650278016924858,
-0.024533243849873543,
-0.02077670209109783,
-0.03307893127202988,
-0.00999667402356863,
-0.032829683274030685,
-0.02782689407467842,
0.029803084209561348,
-0.06352294236421585,
0.023304801434278488,
0.05170140787959099,
-0.013317028991878033,
0.023197980597615242,
-0.03279407322406769,
-0.013868938200175762,
0.01598755642771721,
0.02081230841577053,
-0.03185048699378967,
0.010237021371722221,
-0.03952380269765854,
0.005670419428497553,
-0.06145773455500603,
0.031797077506780624,
0.007971524260938168,
-0.014376338571310043,
0.005866258405148983,
0.03080008178949356,
-0.010815635323524475,
0.013414948247373104,
0.026598451659083366,
-0.0030399502720683813,
-0.04810509830713272,
-0.029268978163599968,
0.02812955342233181,
0.003238014178350568,
0.025209777057170868,
0.015248710289597511,
0.01568489708006382,
0.01999334804713726,
0.08232345432043076,
-0.06537450850009918,
-0.047677814960479736,
0.052591584622859955,
-0.005069551058113575,
0.006711925379931927,
0.027453020215034485,
-0.03952380269765854,
-0.039879873394966125,
0.02647382766008377,
-0.0035362232010811567,
-0.016210099682211876,
-0.00649828277528286,
-0.027114752680063248,
0.006453774403780699,
0.028182964771986008,
-0.007192620076239109,
0.033114537596702576,
-0.0162011981010437,
-0.06138651818037033,
-0.036888882517814636,
-0.017598774284124374,
-0.021969538182020187,
0.009542684070765972,
-0.01042395830154419,
0.000756649358663708,
-0.02622457779943943,
0.01161679346114397,
0.023393819108605385,
0.013423850759863853,
-0.034253962337970734,
0.042051903903484344,
-0.021275199949741364,
-0.021844912320375443,
-0.003242465201765299,
0.006338051520287991,
-0.0017603226006031036,
0.01432292815297842,
-0.00709025003015995,
-0.04272843524813652,
0.008265282027423382,
0.01660177856683731,
0.019334618002176285,
0.0019205542048439384,
-0.04497167840600014,
-0.007406262215226889,
-0.0027751228772103786,
-0.03320355713367462,
0.015035068616271019,
-0.029625048860907555,
-0.0432981476187706,
-0.008056090213358402,
-0.03574945777654648,
0.02786250039935112,
0.017563167959451675,
-0.00629799347370863,
-0.013094484806060791,
-0.024533243849873543,
0.0189251359552145,
-0.0513809435069561,
-0.028236374258995056,
-0.014305124059319496,
-0.021488843485713005,
-0.010326039046049118,
0.04244358092546463,
-0.0048292032442986965,
-0.026135560125112534,
-0.02351844310760498,
-0.035108532756567,
0.07238908857107162,
-0.02084791660308838,
-0.0459686741232872,
0.015613682568073273,
0.02214757353067398,
0.011314134113490582,
-0.01147436536848545,
-0.02998111955821514,
0.02216537669301033,
0.0011917228111997247,
-0.019352421164512634,
0.013147896155714989,
-0.013379341922700405,
-0.002690556226298213,
-0.006435970775783062,
-0.011812631972134113,
-0.05009908974170685,
-0.01001447718590498,
0.003745414549484849,
0.019334618002176285,
0.04087686911225319,
0.011296330019831657,
-0.0003354849759489298,
-0.05084683746099472,
0.03201071918010712,
-0.017785711213946342,
0.009355747140944004,
0.08531444519758224,
0.011803730390965939,
0.012943155132234097,
0.02163127064704895,
0.00019333504315000027,
-0.00024020836281124502,
0.015186398290097713,
-0.011963961645960808,
-0.06569497287273407,
0.01338824350386858,
-0.013379341922700405,
0.02216537669301033,
0.06882838904857635,
-0.030782276764512062,
-0.05600985884666443,
0.04027155041694641,
0.032064128667116165,
0.027737876400351524,
0.025209777057170868,
-0.011696909554302692,
0.022610463201999664,
0.0027639956679195166,
0.03354182094335556,
-0.014972755685448647,
-0.028877301141619682,
-0.009070890955626965,
0.03222436085343361
]
|
37,050 | sphinx_autodoc_typehints | _get_type_hint | null | def _get_type_hint(autodoc_mock_imports: list[str], name: str, obj: Any) -> dict[str, Any]:
_resolve_type_guarded_imports(autodoc_mock_imports, obj)
try:
result = get_type_hints(obj)
except (AttributeError, TypeError, RecursionError) as exc:
# TypeError - slot wrapper, PEP-563 when part of new syntax not supported
# RecursionError - some recursive type definitions https://github.com/python/typing/issues/574
if isinstance(exc, TypeError) and _future_annotations_imported(obj) and "unsupported operand type" in str(exc):
result = obj.__annotations__
else:
result = {}
except NameError as exc:
_LOGGER.warning('Cannot resolve forward reference in type annotations of "%s": %s', name, exc)
result = obj.__annotations__
return result
| (autodoc_mock_imports: list[str], name: str, obj: Any) -> dict[str, typing.Any] | [
0.018587835133075714,
-0.02921883761882782,
0.022294143214821815,
0.01785595715045929,
0.0044358400627970695,
0.03413556143641472,
0.049655135720968246,
0.008937361650168896,
-0.0076002757996320724,
-0.018221896141767502,
0.0122918039560318,
-0.03676281496882439,
0.014037053100764751,
-0.04631476849317551,
-0.030476167798042297,
0.035092633217573166,
-0.014665717259049416,
0.05175694078207016,
-0.003286415711045265,
0.010293213650584221,
0.010096169076859951,
-0.015163019299507141,
0.019441694021224976,
-0.016354667022824287,
-0.01567908748984337,
0.0069763027131557465,
0.05153174698352814,
-0.02332627959549427,
0.01834387518465519,
-0.014374842867255211,
-0.054384198039770126,
-0.06849631667137146,
0.05359601974487305,
-0.0014567195903509855,
-0.006600980181246996,
-0.047365669161081314,
0.038038913160562515,
0.08805060386657715,
-0.0001784246851457283,
-0.04661502689123154,
-0.024339649826288223,
0.0378887839615345,
-0.04830397665500641,
-0.03533659130334854,
-0.02330751344561577,
-0.05569782480597496,
-0.029444031417369843,
-0.00868401862680912,
0.02734222635626793,
-0.049354877322912216,
0.06177804619073868,
-0.09773391485214233,
-0.02086791768670082,
0.004004219546914101,
-0.009556643664836884,
-0.034679777920246124,
-0.04278673976659775,
0.05198213458061218,
-0.0036898870021104813,
0.04879189655184746,
0.04871683195233345,
0.034980036318302155,
0.025240423157811165,
-0.015857364982366562,
0.011522393673658371,
-0.033028360456228256,
0.0034693852066993713,
-0.016551712527871132,
-0.03985922411084175,
-0.01727420650422573,
-0.03745716065168381,
-0.019019456580281258,
-0.005151297897100449,
-0.002979120472446084,
0.009129714220762253,
-0.08729995787143707,
0.017077162861824036,
-0.0433121882379055,
0.09007734060287476,
-0.028899814933538437,
-0.020192338153719902,
0.03693171218037605,
-0.04830397665500641,
-0.054947178810834885,
0.013352089561522007,
-0.001821485930122435,
-0.03417309373617172,
0.005437481217086315,
0.021374603733420372,
-0.05862533673644066,
-0.0639924481511116,
-0.003516300581395626,
0.017189759761095047,
0.02685430832207203,
-0.06939708441495895,
-0.0045460909605026245,
0.03205252066254616,
-0.03237154707312584,
0.012685893103480339,
0.05055591091513634,
0.03188362717628479,
0.005526620429009199,
-0.04045974090695381,
0.06455542892217636,
0.005428098142147064,
-0.04676515609025955,
0.012892319820821285,
-0.03918364644050598,
0.01859721913933754,
-0.002913439180701971,
-0.036368727684020996,
-0.08865112066268921,
-0.01535068079829216,
0.01779027469456196,
0.045901913195848465,
-0.02914377488195896,
-0.01620453968644142,
-0.020154805853962898,
0.07532718032598495,
-0.0037321108393371105,
0.03963403031229973,
0.020717788487672806,
-0.035486720502376556,
-0.013408388011157513,
0.07896780222654343,
-0.0074689132161438465,
0.00040024600457400084,
0.01171005517244339,
0.0433121882379055,
-0.026722945272922516,
0.04927981272339821,
-0.033122189342975616,
-0.10396426916122437,
0.06707008928060532,
0.02724839746952057,
0.08497296273708344,
-0.005019935313612223,
0.01829696074128151,
-0.003847053274512291,
-0.05832508206367493,
0.0053483424708247185,
-0.005451555829495192,
-0.016457881778478622,
-0.08632411807775497,
-0.0797184482216835,
0.011925864964723587,
0.039221178740262985,
0.00039438161184079945,
-0.007825469598174095,
-0.05896312743425369,
0.008064737543463707,
-0.04361244663596153,
-0.029575394466519356,
0.0006380478735081851,
-0.06260375678539276,
-0.029012411832809448,
-0.021581029519438744,
-0.045301396399736404,
0.006005156319588423,
0.014553121291100979,
-0.009814677760004997,
-0.030250973999500275,
-0.010818663984537125,
-0.07442640513181686,
0.05757443606853485,
0.0432746559381485,
0.0032395003363490105,
-0.055435098707675934,
-0.023983092978596687,
0.004273982252925634,
-0.06920942664146423,
0.012263654731214046,
0.03710060566663742,
-0.012441933155059814,
0.032033756375312805,
0.03141447529196739,
-0.06707008928060532,
0.0012326990254223347,
-0.007027909625321627,
0.03135817497968674,
0.059488579630851746,
-0.014965975657105446,
-0.04909215122461319,
-0.046389833092689514,
-0.004827582743018866,
0.0590381920337677,
0.023739133030176163,
0.016063792631030083,
-0.019010072574019432,
0.021224474534392357,
-0.027229631319642067,
0.028693387284874916,
0.06875903904438019,
-0.001328875427134335,
-0.013051832094788551,
0.035467952489852905,
-0.030044548213481903,
0.028693387284874916,
-0.04995539411902428,
0.0020161843858659267,
-0.022800827398896217,
0.02861832268536091,
-0.011147071607410908,
0.05813742056488991,
0.024358415976166725,
0.03895845264196396,
0.0570865161716938,
-0.002080692909657955,
0.010396426543593407,
-0.007356316316872835,
-0.0442880280315876,
-0.01273280754685402,
-0.040309611707925797,
-0.04931734502315521,
0.002161621581763029,
-0.0041543482802808285,
0.049054618924856186,
-0.012582679279148579,
-0.001984516391530633,
0.048942022025585175,
0.05558522790670395,
0.04361244663596153,
-0.0049683284014463425,
0.009556643664836884,
0.045301396399736404,
-0.02116817608475685,
-0.03338491544127464,
-0.0007852445705793798,
0.040497273206710815,
-0.10051130503416061,
0.001786299399100244,
-0.03847053274512291,
-0.022969722747802734,
0.0035866734106093645,
-0.011578692123293877,
0.008416601456701756,
0.028956113383173943,
-0.019629355520009995,
0.011766352690756321,
-0.00022006200742907822,
0.01976071670651436,
0.07585263252258301,
-0.012066611088812351,
0.03610600158572197,
-0.06369218975305557,
-0.032915763556957245,
0.028655854985117912,
-0.047290604561567307,
-0.004926104564219713,
-0.03227771446108818,
0.03325355425477028,
0.008505741134285927,
0.03516769781708717,
0.00823363196104765,
-0.00952849444001913,
-0.03623736649751663,
-0.024264585226774216,
-0.058700401335954666,
0.031939923763275146,
-0.035392891615629196,
-0.0041543482802808285,
0.05010552331805229,
0.018606601282954216,
0.03740086406469345,
-0.03955896571278572,
-0.024189520627260208,
-0.015078572556376457,
0.03329108655452728,
-0.07694106549024582,
0.009861592203378677,
0.08572360873222351,
-0.008923286572098732,
0.03582451120018959,
0.015604022890329361,
-0.004166077356785536,
0.016335900872945786,
0.06898423284292221,
0.04507620260119438,
0.03642502427101135,
0.02400185912847519,
-0.00900773424655199,
-0.03732579946517944,
0.011240902356803417,
0.011128305457532406,
0.04357491433620453,
0.0305137000977993,
-0.0020947675220668316,
0.06309167295694351,
-0.00575650529935956,
0.0032019680365920067,
0.040497273206710815,
-0.025033995509147644,
0.03387283533811569,
-0.031620901077985764,
0.0065634483471512794,
0.09405575692653656,
-0.007797319907695055,
-0.038038913160562515,
-0.012000929564237595,
0.009458120912313461,
0.01764952950179577,
0.013004916720092297,
-0.003666429314762354,
0.029275136068463326,
0.03706307336688042,
-0.02124324068427086,
0.02844942733645439,
-0.0876002162694931,
-0.0324653759598732,
-0.03010084666311741,
-0.0023316896986216307,
0.026985671371221542,
0.027135800570249557,
-0.011147071607410908,
-0.014102734625339508,
-0.00438188761472702,
-0.027229631319642067,
0.03486743941903114,
-0.011184603907167912,
0.07517705112695694,
-0.03424815833568573,
0.004621155560016632,
0.062040772289037704,
-0.05592301860451698,
0.02933143451809883,
-0.02330751344561577,
-0.03584327548742294,
0.040497273206710815,
0.02037999965250492,
-0.0024912015069276094,
-0.05322069674730301,
-0.06357958912849426,
-0.00885760597884655,
-0.006389861460775137,
-0.02281959354877472,
0.02775508165359497,
0.04349984973669052,
-0.023739133030176163,
-0.025446848943829536,
0.01175696961581707,
0.016101324930787086,
-0.047778524458408356,
0.028862282633781433,
0.015331914648413658,
-0.03325355425477028,
0.01692703366279602,
0.06639450788497925,
-0.014759548008441925,
0.05078110098838806,
0.008538581430912018,
-0.012169824913144112,
-0.043424785137176514,
0.0024255202151834965,
-0.0245836079120636,
0.012113526463508606,
0.009476887062191963,
-0.014515588991343975,
0.003363825846463442,
-0.013905690051615238,
-0.0016490721609443426,
0.013427154161036015,
-0.016870735213160515,
0.006929387338459492,
-0.019329097121953964,
-0.03726950287818909,
0.05010552331805229,
-0.0035772903356701136,
0.033328618854284286,
0.05689885467290878,
-0.03689417988061905,
-0.04879189655184746,
0.007018526550382376,
-0.025934768840670586,
-0.05010552331805229,
0.00383767019957304,
0.0009136751177720726,
0.006427393760532141,
0.004112124443054199,
-0.050330717116594315,
0.014825229533016682,
0.016307752579450607,
0.0023152693174779415,
-0.005306118633598089,
0.016401583328843117,
-0.015660321339964867,
-0.043837640434503555,
-0.051306553184986115,
-0.021280772984027863,
0.002707011764869094,
0.04901708662509918,
0.05370861664414406,
-0.019169583916664124,
0.03888338804244995,
0.002814916893839836,
0.024189520627260208,
-0.02891858108341694,
0.015660321339964867,
-0.0018754384946078062,
-0.044325560331344604,
0.010921877808868885,
0.04151064157485962,
-0.02873091958463192,
-0.021862521767616272,
0.0159793458878994,
0.01618577353656292,
0.0630541443824768,
0.01686135306954384,
-0.01248884852975607,
0.005869101732969284,
0.0164672639220953,
-0.07041046023368835,
-0.00696222810074687,
0.046990346163511276,
-0.061853110790252686,
-0.008191408589482307,
0.04714047536253929,
-0.04890448972582817,
0.010236915200948715,
-0.0319586917757988,
-0.025803405791521072,
0.04988032951951027,
-0.0550973080098629,
0.019910845905542374,
0.011766352690756321,
-0.022556867450475693,
0.006657278630882502,
-0.04593944549560547,
0.020680256187915802,
-0.019404161721467972,
0.04211115837097168,
-0.013089364394545555,
0.008937361650168896,
0.040497273206710815,
-0.06556879729032516,
-0.03265303745865822,
-0.06834618747234344,
-0.010462108068168163,
-0.03833916783332825,
0.014731398783624172,
-0.0026999744586646557,
0.01966688595712185,
0.07123616337776184,
0.04151064157485962,
0.051006294786930084,
0.00834622886031866,
0.002739852527156472,
-0.023476406931877136,
0.03982169181108475,
-0.010152467526495457,
-0.026422686874866486,
0.005273277871310711,
-0.04278673976659775,
0.10028611123561859,
-0.008486974984407425,
-0.0057611968368291855,
-0.03642502427101135,
-0.02843066118657589,
0.012263654731214046,
0.0037884090561419725,
0.027717549353837967,
0.007961523719131947,
-0.026929372921586037,
-0.03895845264196396,
-0.0037977921310812235,
0.00802251324057579,
0.07116109877824783,
0.032896995544433594,
-0.04015948250889778,
-0.028693387284874916,
0.023382578045129776,
0.06849631667137146,
-0.029068710282444954,
0.010856196284294128,
-0.01042457576841116,
-0.02548438124358654,
0.03603093698620796,
0.00885760597884655,
0.06376725435256958,
0.03160213679075241,
-0.00482289120554924,
0.05096876248717308,
-0.055134840309619904,
0.020023442804813385,
-0.0065869055688381195,
-0.021318305283784866,
0.001710062031634152,
-0.03381653502583504,
-0.045113734900951385,
-0.06973487883806229,
0.02203141711652279,
-0.03376023843884468,
0.04755333065986633,
0.018428323790431023,
0.013361472636461258,
0.020623957738280296,
0.010565321892499924,
0.06091480329632759,
0.021881287917494774,
0.010931260883808136,
0.004421765450388193,
0.010706068016588688,
-0.02006097510457039,
-0.027023203670978546,
0.007384465541690588,
0.04143557697534561,
-0.026441453024744987,
0.004489792510867119,
-0.01248884852975607,
0.0020771741401404142,
0.01653294637799263,
-0.026985671371221542,
0.021430902183055878,
0.04289933666586876,
0.08842592686414719,
0.021130643784999847,
-0.03345998004078865,
0.028205469250679016,
0.013333323411643505,
-0.01427162904292345,
-0.033591341227293015,
-0.03830163925886154,
0.02736099250614643,
0.0019763063173741102,
-0.04308699816465378,
0.07352562993764877,
-0.003992490470409393,
0.059488579630851746,
0.028505725786089897,
0.007154580671340227,
-0.019347863271832466,
0.09307992458343506,
-0.030250973999500275,
0.0011623261962085962,
-0.048266444355249405,
0.015566490590572357,
0.04714047536253929,
0.0032230799552053213,
-0.01697394996881485,
-0.013849391601979733,
0.04395023733377457,
0.043725043535232544,
0.007816086523234844,
-0.02116817608475685,
0.014928443357348442,
0.11950261145830154,
0.06162791699171066,
-0.02646021917462349,
-0.04192349687218666,
-0.042561545968055725,
0.0007987326825968921,
0.05006799101829529,
-0.032146353274583817,
0.009031192399561405,
0.036650218069553375,
-0.11747586727142334,
-0.01171005517244339,
-0.010021104477345943,
-0.04368751123547554,
0.03385406732559204,
0.010584088042378426,
0.023401344195008278,
0.014055819250643253,
0.026704179123044014,
0.014356076717376709,
-0.06939708441495895,
0.013333323411643505,
0.018869327381253242,
0.07198680937290192,
-0.04537646099925041,
-0.018916241824626923,
-0.013764943927526474,
-0.001732346834614873,
0.04218622297048569,
-0.008360303938388824,
0.04075999930500984,
0.04804125055670738,
-0.0008116344106383622,
-0.02321368269622326,
-0.001521228114143014,
-0.035862043499946594,
0.042148690670728683,
0.01216044183820486,
0.0011916481889784336,
-0.005221670959144831,
0.03276563435792923,
-0.059375982731580734,
0.003234808798879385,
-0.008979585021734238,
-0.015960579738020897,
0.0035116090439260006,
-0.10073649883270264,
0.004273982252925634,
0.029537862166762352,
0.008829456754028797,
0.03432322293519974,
0.0206614900380373,
-0.07138629257678986,
0.006680736318230629,
0.03719443827867508,
-0.04657749459147453,
-0.01627960428595543,
-0.01609194278717041,
-0.0482289120554924,
-0.019000690430402756,
-0.01929156482219696,
0.0354304239153862,
0.03473607450723648,
-0.026403920724987984,
0.0329720601439476,
-0.0010813972912728786,
0.004996477626264095,
-0.02844942733645439,
0.0029744289349764585,
0.0007987326825968921,
-0.0876002162694931,
-0.05738677456974983,
0.009655165486037731,
0.038733258843421936,
0.030569998547434807,
0.03554301708936691,
0.029894419014453888,
0.006582214497029781,
0.07018526643514633,
0.00802251324057579,
-0.01766829565167427,
0.02281959354877472,
-0.009148480370640755,
-0.05322069674730301,
0.018381407484412193,
-0.010593471117317677,
0.012882936745882034,
0.020980514585971832,
0.03353504464030266,
-0.035374123603105545,
-0.03736333176493645,
0.01919773407280445,
0.032334014773368835,
-0.029200073331594467,
-0.02520289085805416,
0.07296264916658401,
-0.030250973999500275,
-0.013877540826797485,
-0.028599556535482407,
0.08737502247095108,
-0.021524732932448387,
0.00416138581931591,
-0.018869327381253242,
-0.05551016330718994,
0.055547695606946945,
0.04447568953037262,
-0.0089748939499259,
0.0609898678958416,
-0.029988249763846397,
0.009683314710855484,
0.024264585226774216,
0.05993896722793579,
-0.06418010592460632,
-0.027041969820857048,
-0.014965975657105446,
-0.029537862166762352,
-0.016410965472459793,
-0.010752983391284943,
-0.05036824941635132,
-0.03255920857191086,
-0.01899130642414093,
0.02724839746952057,
-0.05048084631562233,
-0.032033756375312805,
0.05164434388279915,
-0.017546316608786583,
-0.0016080213245004416,
0.0315270721912384,
0.0007436072337441146,
-0.03974662721157074,
-0.04552659019827843,
0.039108581840991974,
0.033197253942489624,
0.031620901077985764,
-0.03751346096396446,
-0.059788838028907776,
0.011025091633200645,
-0.0452638640999794,
-0.06440529972314835,
0.05498471111059189,
-0.04500114172697067,
0.026347622275352478,
-0.004414728377014399,
-0.010124318301677704,
0.005231054034084082,
0.005010552238672972,
0.029894419014453888,
0.007905225269496441,
0.03227771446108818,
0.042674142867326736,
0.0017698790179565549,
-0.06849631667137146,
-0.050518378615379333,
0.00844005960971117,
0.03239031136035919,
-0.06335439532995224,
0.03118927963078022,
-0.03877079114317894,
0.011344115249812603,
-0.012413783930242062,
-0.02715456672012806,
-0.002045506378635764,
-0.0014555467059835792,
-0.001786299399100244,
-0.05006799101829529,
-0.007229645270854235,
-0.03392913192510605,
0.0071874214336276054,
0.021318305283784866,
-0.04380010813474655,
0.005310810171067715,
-0.04575178399682045,
0.01766829565167427,
0.048266444355249405,
-0.01260144542902708,
-0.023401344195008278,
0.0354304239153862,
0.05040578171610832,
0.041660770773887634,
0.042373884469270706,
0.019554290920495987,
0.0017182722222059965,
-0.011822651140391827,
-0.014600036665797234,
-0.0260848980396986,
-0.006169359665364027,
0.05359601974487305,
-0.010612237267196178,
-0.028280531987547874,
0.014731398783624172,
0.004578931722790003,
0.033610109239816666,
0.050630975514650345,
-0.012986150570213795,
-0.046990346163511276,
-0.005798729136586189,
0.004637575708329678,
0.05453432723879814,
-0.08422231674194336,
0.07401355355978012,
-0.0007183902780525386,
-0.016448497772216797,
0.030682595446705818,
-0.02174992486834526,
0.02796150930225849,
-0.019704418256878853,
0.059375982731580734,
0.008852913975715637,
0.023194916546344757,
-0.018128065392374992,
0.026741711422801018,
-0.03982169181108475,
0.026985671371221542,
-0.00033280529896728694,
0.035280294716358185,
-0.0037907548248767853,
-0.03623736649751663,
-0.025240423157811165,
-0.02764248475432396,
-0.0026272558607161045,
-0.03648132458329201,
-0.004360775463283062,
-0.08197038620710373,
0.0011159973219037056
]
|
37,051 | sphinx_autodoc_typehints | _get_types_type | null | def _get_types_type(obj: Any) -> str | None:
try:
return _TYPES_DICT.get(obj)
except Exception: # noqa: BLE001
# e.g. exception: unhashable type
return None
| (obj: Any) -> str | None | [
0.022423479706048965,
-0.035117026418447495,
-0.018656479194760323,
-0.011765185743570328,
0.011390270665287971,
-0.038455553352832794,
0.0633784681558609,
0.02867206186056137,
-0.0032715785782784224,
-0.05055994912981987,
-0.039633858948946,
0.045703910291194916,
0.0016714954981580377,
-0.08376669138669968,
-0.004530221223831177,
0.0224770400673151,
-0.07319766283035278,
0.05848671868443489,
0.03706301376223564,
-0.009515696205198765,
-0.011765185743570328,
0.08333822339773178,
-0.006851123180240393,
0.016058852896094322,
-0.005918299313634634,
-0.008806035853922367,
0.0057129887863993645,
-0.02945759706199169,
-0.03949103504419327,
-0.003615250578150153,
-0.028636354953050613,
-0.07705393433570862,
-0.0015275549376383424,
-0.03168923407793045,
-0.030510930344462395,
0.011908010579645634,
0.034331489354372025,
0.056987062096595764,
0.014398516155779362,
-0.06137892231345177,
-0.048096220940351486,
0.023209016770124435,
-0.027475904673337936,
-0.059522200375795364,
-0.030064601451158524,
-0.02851138450205326,
-0.04409712925553322,
0.0027315227780491114,
-0.003905363380908966,
0.0029725392814725637,
0.02060246467590332,
-0.02913624234497547,
-0.07712534815073013,
-0.040669336915016174,
-0.012309704907238483,
0.002985929138958454,
-0.05859383940696716,
-0.03292109817266464,
-0.013746879063546658,
0.04456131160259247,
0.03767002001404762,
0.010042362846434116,
-0.016264164820313454,
-0.005601406563073397,
0.029582569375634193,
-0.007364399265497923,
-0.004655193071812391,
0.012872077524662018,
0.009055979549884796,
-0.009551403112709522,
-0.04820334166288376,
-0.03483137860894203,
-0.05213101953268051,
0.03045736998319626,
0.049667295068502426,
-0.07319766283035278,
-0.01338981743901968,
-0.04345441982150078,
0.010354791767895222,
0.002680195029824972,
0.05434480309486389,
0.03611680120229721,
-0.01838868111371994,
-0.058415308594703674,
0.002722596051171422,
0.051916785538196564,
-0.012791738845407963,
0.024315908551216125,
-0.039848096668720245,
-0.050631362944841385,
-0.032706860452890396,
-0.03995521366596222,
-0.010845751501619816,
0.04577532038092613,
-0.014086087234318256,
-0.03991950675845146,
0.02170935645699501,
-0.017594220116734505,
0.03518844023346901,
-0.012345410883426666,
0.03026098571717739,
-0.029279066249728203,
0.022227095440030098,
-0.0010126049164682627,
0.0038317192811518908,
-0.03565261885523796,
0.04609667509794235,
0.012265072204172611,
0.004998865071684122,
0.021155910566449165,
-0.0353669710457325,
-0.06880580633878708,
-0.01274710614234209,
-0.044918373227119446,
0.012872077524662018,
0.0037580751813948154,
-0.020334668457508087,
0.0207452904433012,
0.006846659816801548,
-0.0026601103600114584,
-0.03920538350939751,
0.03568832576274872,
-0.01601422019302845,
0.009872758761048317,
0.06902004033327103,
0.002992624184116721,
0.007882138714194298,
-0.042383234947919846,
0.023351840674877167,
0.07719675451517105,
0.01816551759839058,
0.04484695941209793,
-0.07241213321685791,
0.028779180720448494,
-0.018317269161343575,
0.05723700299859047,
0.004162001423537731,
-0.020227549597620964,
0.011202813126146793,
0.0007208184688352048,
0.018219077959656715,
0.02776155434548855,
0.03315318748354912,
-0.09340736269950867,
-0.018799303099513054,
0.0899081602692604,
0.030510930344462395,
0.009221120737493038,
-0.020173991098999977,
-0.010926091112196445,
-0.011550948955118656,
-0.019370602443814278,
-0.06255722790956497,
0.0732690766453743,
-0.06412829458713531,
-0.0017239389708265662,
-0.016889022663235664,
-0.009301459416747093,
-0.03222482651472092,
-0.03977668285369873,
0.017005067318677902,
0.028118615970015526,
-0.029886070638895035,
-0.11404553800821304,
0.05941507965326309,
0.031492847949266434,
0.03774143010377884,
0.03554550185799599,
0.018620772287249565,
-0.027975790202617645,
-0.09226476401090622,
-0.020638171583414078,
-0.05006006360054016,
0.017335349693894386,
0.03359951451420784,
0.08398093283176422,
-0.06941281259059906,
0.002689121523872018,
-0.008886375464498997,
0.025779860094189644,
0.03317103907465935,
0.0009289185400120914,
-0.03392086923122406,
0.002499432535842061,
0.00868106447160244,
0.04077645763754845,
0.05891519412398338,
-0.021441560238599777,
0.001170493196696043,
0.009926317259669304,
0.0030417200177907944,
0.046025265008211136,
0.028743473812937737,
-0.039383914321660995,
0.04106210544705391,
0.039241090416908264,
0.00839987862855196,
0.007252817507833242,
-0.06812738627195358,
0.005195248872041702,
0.01686224341392517,
0.0201561376452446,
0.0025909296236932278,
0.03377804532647133,
-0.0002739333431236446,
-0.04706074297428131,
0.08255268633365631,
0.033688779920339584,
0.03138573095202446,
0.01949557289481163,
-0.02802935056388378,
-0.059343669563531876,
-0.05259520187973976,
0.0188885685056448,
0.046346619725227356,
-0.0036665783263742924,
-0.03884832188487053,
-0.043668657541275024,
-0.016469474881887436,
0.019067099317908287,
-0.005485361907631159,
0.024190936237573624,
-0.01917421817779541,
0.02851138450205326,
0.05384491756558418,
-0.01070292666554451,
-0.04109781235456467,
0.015344730578362942,
0.03863408416509628,
-0.016987213864922523,
-0.004505673423409462,
-0.004101747181266546,
-0.032706860452890396,
0.016148120164871216,
0.01587139628827572,
-0.011934789828956127,
0.024030258879065514,
-0.011158180423080921,
0.04102639853954315,
-0.017130039632320404,
0.022084271535277367,
-0.016844389960169792,
-0.03220697492361069,
0.0005537247052416205,
0.0029435281176120043,
0.04063363000750542,
0.022905513644218445,
0.02156653255224228,
-0.031957030296325684,
-0.024762235581874847,
0.030046749860048294,
-0.0190135408192873,
0.02345895953476429,
-0.10376215726137161,
-0.01123852003365755,
-0.08162432163953781,
-0.006904682144522667,
-0.028564943000674248,
0.03841984644532204,
-0.03584900498390198,
-0.04691791906952858,
-0.014746651984751225,
0.023262575268745422,
0.06198592483997345,
-0.049238819628953934,
-0.02329828217625618,
0.02331613376736641,
0.049845825880765915,
0.0009601614437997341,
-0.01601422019302845,
0.033688779920339584,
-0.027815112844109535,
-0.027654435485601425,
0.0212094709277153,
0.006159315817058086,
-0.0005093709332868457,
0.050024356693029404,
0.02042393386363983,
0.03254618123173714,
0.04506119713187218,
-0.0320284403860569,
-0.011961570009589195,
0.04616808891296387,
-0.04120492935180664,
0.024369467049837112,
0.026815339922904968,
0.01055117603391409,
-0.05284514278173447,
-0.007475981023162603,
0.020816702395677567,
0.04234752804040909,
0.02565488964319229,
-0.007351009640842676,
0.018727891147136688,
-0.02279839478433132,
0.08590906858444214,
0.027172401547431946,
-0.04338300600647926,
0.06330705434083939,
0.012470383197069168,
-0.04006233066320419,
0.038277022540569305,
0.006578863598406315,
-0.03483137860894203,
0.01355942152440548,
-0.01758529245853424,
0.0006973862764425576,
-0.0516311340034008,
-0.020834555849432945,
0.05402344837784767,
-0.03788425400853157,
0.019424160942435265,
0.046525150537490845,
0.015496481209993362,
0.010640441440045834,
0.018924275413155556,
-0.008614115417003632,
0.05573734641075134,
-0.03154641017317772,
0.0751257985830307,
-0.026244040578603745,
0.007841969840228558,
-0.0009222236694768071,
-0.029546862468123436,
0.020691730082035065,
-0.03517058491706848,
-0.05452333390712738,
-0.025083590298891068,
0.011702699586749077,
-0.012720325961709023,
-0.03329601138830185,
-0.07669687271118164,
0.012247219681739807,
0.007623269222676754,
0.09197911620140076,
0.02711884304881096,
0.03317103907465935,
-0.027493758127093315,
-0.015237611718475819,
0.01883501000702381,
0.00903366319835186,
-0.021138057112693787,
0.032421208918094635,
0.06459248065948486,
-0.011443830095231533,
0.004195475950837135,
0.05912943184375763,
-0.028564943000674248,
0.0474892184138298,
0.019888341426849365,
-0.02822573482990265,
-0.047453511506319046,
0.011140327900648117,
0.04852469637989998,
-0.008899765089154243,
-0.00003443344758125022,
-0.002858725842088461,
0.09297888725996017,
0.0026288675144314766,
0.03349239379167557,
0.005427339114248753,
-0.004798017907887697,
-0.03981238976120949,
0.008341856300830841,
-0.07105529308319092,
0.03877691179513931,
-0.046525150537490845,
0.017799530178308487,
0.05727270990610123,
-0.03966956585645676,
-0.03913397341966629,
0.07309054583311081,
-0.04995294287800789,
-0.041919052600860596,
0.013871850445866585,
0.020638171583414078,
0.02536923997104168,
0.008252590894699097,
-0.04120492935180664,
-0.018977833911776543,
-0.024333760142326355,
-0.03756289929151535,
-0.010354791767895222,
0.053666386753320694,
-0.019941899925470352,
-0.03699159994721413,
-0.032706860452890396,
-0.018602918833494186,
-0.01662122644484043,
-0.008346319198608398,
0.002673500217497349,
0.00007420190377160907,
0.007703607901930809,
-0.001503006904385984,
0.028975563123822212,
0.017147893086075783,
-0.02995748445391655,
0.013514788821339607,
-0.037312958389520645,
0.04613238200545311,
-0.0037379905115813017,
-0.016772978007793427,
-0.07633981108665466,
0.05505892634391785,
-0.033813752233982086,
0.07919630408287048,
0.032099854201078415,
0.0004753385146614164,
0.013916483148932457,
-0.009149707853794098,
-0.02379816770553589,
-0.04266888275742531,
0.03770572319626808,
-0.14139646291732788,
0.003789318259805441,
-0.013925409875810146,
-0.028493531048297882,
0.07405461370944977,
-0.0016815378330647945,
0.004278046544641256,
-0.0010600271634757519,
-0.0006170474225655198,
0.0061102197505533695,
-0.003952227532863617,
-0.045561082661151886,
0.041133519262075424,
0.04009803757071495,
-0.0011515242513269186,
0.02536923997104168,
0.02519070915877819,
-0.03199273720383644,
0.04102639853954315,
0.019459867849946022,
-0.07526862621307373,
0.015032300725579262,
-0.01999546028673649,
-0.02474438212811947,
-0.061593156307935715,
-0.006931461859494448,
-0.0103726452216506,
-0.020531052723526955,
0.02090596780180931,
-0.048274751752614975,
0.0387054979801178,
0.0380270816385746,
0.013737952336668968,
-0.0020207464694976807,
0.030475223436951637,
0.027529463171958923,
-0.0387054979801178,
-0.03293894976377487,
-0.0344386100769043,
-0.018103033304214478,
-0.017433540895581245,
0.05355926975607872,
0.018781449645757675,
-0.06605643033981323,
0.06748467683792114,
0.037455782294273376,
-0.01187230460345745,
-0.040990691632032394,
0.009578182362020016,
0.031599968671798706,
0.009337165392935276,
0.0008960019331425428,
0.012068687938153744,
0.01579105667769909,
-0.006895755883306265,
0.039883799850940704,
0.017255010083317757,
-0.004739995114505291,
0.024048110470175743,
0.04152628406882286,
-0.02597624436020851,
-0.005989711266011,
0.04498978331685066,
0.03249262273311615,
0.02078099548816681,
-0.00602541770786047,
-0.030046749860048294,
0.04766774922609329,
-0.008565019816160202,
0.02995748445391655,
-0.02913624234497547,
-0.05927225574851036,
-0.018727891147136688,
0.019263483583927155,
-0.00009344976569991559,
-0.02711884304881096,
-0.017397835850715637,
0.009729933924973011,
0.047774866223335266,
-0.05488039553165436,
0.012086541391909122,
0.059058018028736115,
0.0118098184466362,
0.008966714143753052,
-0.006270897574722767,
-0.0193527489900589,
0.04006233066320419,
0.09197911620140076,
-0.04806051775813103,
-0.04452560469508171,
-0.04798910394310951,
0.0058870562352240086,
-0.07087676227092743,
-0.007984793744981289,
0.022137830033898354,
0.003684431314468384,
0.004632876720279455,
-0.01673727110028267,
0.0041686962358653545,
0.0356169119477272,
-0.010015582665801048,
0.012854224070906639,
0.017130039632320404,
0.08519494533538818,
-0.046025265008211136,
0.005284514278173447,
0.03824131563305855,
-0.08369528502225876,
-0.012764958664774895,
0.005021181423217058,
0.0031912396661937237,
0.048453282564878464,
0.021352294832468033,
-0.008997957222163677,
0.0016871169209480286,
0.005110446829348803,
0.009863832034170628,
0.04106210544705391,
0.004398555029183626,
-0.033028215169906616,
-0.039705269038677216,
0.06434253603219986,
-0.044025719165802,
-0.004565927665680647,
-0.029903924092650414,
0.025958392769098282,
-0.026851046830415726,
0.01646054908633232,
-0.07034116983413696,
0.004456577356904745,
-0.018076252192258835,
0.023530371487140656,
0.0005763200460933149,
-0.03293894976377487,
0.030528781935572624,
-0.04299023747444153,
0.010006656870245934,
-0.008855132386088371,
-0.013809364289045334,
0.034313637763261795,
0.024619409814476967,
-0.09969165176153183,
-0.01123852003365755,
0.017165744677186012,
0.0052532716654241085,
0.011247445829212666,
0.02424449473619461,
0.007342082913964987,
0.018299415707588196,
0.002695816569030285,
0.027154548093676567,
-0.024833647534251213,
-0.05859383940696716,
-0.06373552978038788,
0.05234525725245476,
0.051773957908153534,
0.037348661571741104,
-0.01047083642333746,
-0.008935471065342426,
0.03738436847925186,
-0.01814766600728035,
0.005882592871785164,
0.022869806736707687,
0.008855132386088371,
0.025583477690815926,
-0.002481579314917326,
-0.037634313106536865,
-0.02918980084359646,
0.02090596780180931,
-0.004141916520893574,
-0.009640668518841267,
0.017594220116734505,
-0.050310004502534866,
-0.02329828217625618,
-0.03838414326310158,
-0.023405399173498154,
0.00020963432325515896,
-0.03108222782611847,
0.030796578153967857,
0.007672365289181471,
0.00011144232848891988,
0.01355942152440548,
0.04648944362998009,
0.022780541330575943,
0.042061880230903625,
-0.013889703899621964,
-0.008435584604740143,
0.013202359899878502,
0.06373552978038788,
0.013639760203659534,
-0.01920992322266102,
0.09604962170124054,
0.04009803757071495,
-0.002722596051171422,
-0.015425069257616997,
0.047132156789302826,
-0.03124290704727173,
0.01742461510002613,
0.02549421228468418,
0.0541662722826004,
0.047917690128088,
-0.016103487461805344,
-0.03236765041947365,
0.04423995688557625,
-0.07098388671875,
-0.022441333159804344,
0.00674400432035327,
-0.0051863226108253,
0.06137892231345177,
0.04423995688557625,
-0.001837752410210669,
-0.015148346312344074,
-0.025279974564909935,
-0.02233421429991722,
-0.030957257375121117,
0.004083894193172455,
-0.016764050349593163,
-0.024458732455968857,
-0.002356607699766755,
0.015362583100795746,
-0.052309550344944,
-0.08633753657341003,
0.05259520187973976,
-0.020406080409884453,
-0.03515273332595825,
-0.049238819628953934,
0.056022994220256805,
-0.01673727110028267,
0.02169150300323963,
-0.024030258879065514,
0.051881078630685806,
-0.005583553574979305,
0.027315227314829826,
-0.010452983900904655,
-0.01245252974331379,
0.002782850293442607,
0.02758302353322506,
-0.061593156307935715,
-0.0032514939084649086,
0.006319993641227484,
-0.015326877124607563,
0.007475981023162603,
0.0201561376452446,
-0.04773915931582451,
-0.001858952920883894,
-0.02792223170399666,
-0.0037156741600483656,
-0.030689461156725883,
-0.025083590298891068,
-0.013657613657414913,
-0.022405626252293587,
0.04370436444878578,
-0.035563353449106216,
-0.02806505560874939,
-0.050345711410045624,
0.029082681983709335,
-0.06198592483997345,
0.0047221421264112,
0.012300778180360794,
0.053309325128793716,
-0.023494666442275047,
-0.1004771888256073,
0.04106210544705391,
-0.006337846629321575,
0.05020288750529289,
0.05895090103149414,
-0.0224770400673151,
0.06319993734359741,
-0.03120720013976097,
-0.03643815591931343,
0.049203112721443176,
-0.025458505377173424,
0.011720553040504456,
0.005815643817186356,
-0.02203071303665638,
0.011693773791193962,
-0.06862727552652359,
-0.015612526796758175,
-0.025583477690815926,
0.007694681640714407,
0.03633103519678116,
-0.054773278534412384,
-0.06830591708421707,
-0.00026598313706927,
0.0769825205206871,
0.079267717897892,
0.023226868361234665,
0.032242678105831146,
-0.000724723853636533,
0.03392086923122406,
-0.02727952040731907,
0.02249489165842533,
0.037812843918800354,
-0.005338073708117008,
0.005293441005051136,
0.026279747486114502,
-0.003760306863114238,
-0.046203795820474625,
0.00706089660525322,
0.010274453088641167,
-0.009167561307549477,
-0.04645373672246933,
-0.022905513644218445,
-0.049524471163749695,
0.05880807712674141,
-0.03799137473106384,
-0.0009835936361923814,
-0.012345410883426666,
-0.016665859147906303,
0.04720356687903404,
0.04188334569334984,
0.11276011168956757,
0.024994324892759323,
-0.023887433111667633,
0.017388908192515373,
-0.04595385119318962,
0.035241998732089996,
0.05748694762587547,
-0.0380270816385746,
-0.01899568736553192,
0.003276041941717267,
0.0078062633983790874,
0.03563476726412773,
0.02078099548816681,
0.017353203147649765,
-0.0532379113137722,
0.022155683487653732,
-0.01853150688111782,
0.07287631183862686,
-0.025958392769098282,
0.05438051000237465,
0.03583114966750145,
0.00756078353151679,
0.021191617473959923,
0.027047431096434593,
0.020031165331602097,
-0.017388908192515373,
0.03663453832268715,
0.00851146038621664,
0.023012632504105568,
-0.01396111585199833,
0.06427112221717834,
-0.0336352214217186,
-0.02172720991075039,
0.02506573684513569,
0.006842196453362703,
0.04423995688557625,
-0.0005308504332788289,
-0.05405915528535843,
-0.05216672644019127,
-0.023530371487140656,
-0.008413268253207207,
-0.01123852003365755,
-0.03706301376223564,
-0.03043951652944088
]
|
37,052 | sphinx_autodoc_typehints | _inject_rtype | null | def _inject_rtype( # noqa: PLR0913, PLR0917
type_hints: dict[str, Any],
original_obj: Any,
app: Sphinx,
what: str,
name: str,
lines: list[str],
) -> None:
if inspect.isclass(original_obj) or inspect.isdatadescriptor(original_obj):
return
if what == "method" and name.endswith(".__init__"): # avoid adding a return type for data class __init__
return
if not app.config.typehints_document_rtype:
return
r = get_insert_index(app, lines)
if r is None:
return
insert_index = r.insert_index
if not app.config.typehints_use_rtype and r.found_return and " -- " in lines[insert_index]:
return
formatted_annotation = add_type_css_class(format_annotation(type_hints["return"], app.config))
if r.found_param and insert_index < len(lines) and lines[insert_index].strip():
insert_index -= 1
if insert_index == len(lines) and not r.found_param:
# ensure that :rtype: doesn't get joined with a paragraph of text
lines.append("")
insert_index += 1
if app.config.typehints_use_rtype or not r.found_return:
line = f":rtype: {formatted_annotation}"
lines.insert(insert_index, line)
if r.found_directive:
lines.insert(insert_index + 1, "")
else:
line = lines[insert_index]
lines[insert_index] = f":return: {formatted_annotation} --{line[line.find(' ') :]}"
| (type_hints: 'dict[str, Any]', original_obj: 'Any', app: 'Sphinx', what: 'str', name: 'str', lines: 'list[str]') -> 'None' | [
-0.04045823961496353,
-0.04294188693165779,
0.04301387444138527,
-0.031405527144670486,
0.013696050271391869,
-0.01019554864615202,
0.0075409263372421265,
0.03475305065512657,
0.04960094019770622,
-0.031225554645061493,
0.05042881891131401,
0.007527428213506937,
0.042869895696640015,
-0.026510225608944893,
-0.04297788068652153,
0.04524555802345276,
-0.03282732516527176,
0.03826255351305008,
-0.038118574768304825,
-0.020805038511753082,
0.019815178588032722,
0.04938497021794319,
0.023234691470861435,
0.012643200345337391,
-0.01154535636305809,
0.01168033666908741,
0.04844910278916359,
-0.02015713043510914,
-0.014307962730526924,
-0.04546152800321579,
-0.014955870807170868,
-0.10496105998754501,
0.011275394819676876,
0.031891461461782455,
0.03432111442089081,
-0.012850170955061913,
-0.011257397010922432,
0.0873955562710762,
0.011185407638549805,
0.02206485904753208,
-0.06281105428934097,
0.029911741614341736,
-0.03486103564500809,
-0.09308274835348129,
-0.023900596424937248,
-0.021182984113693237,
0.034915030002593994,
-0.004962793551385403,
-0.038622502237558365,
-0.04916900023818016,
-0.00015227519907057285,
-0.043841756880283356,
0.005007787141948938,
0.004191153217107058,
0.01672861911356449,
-0.03531097248196602,
-0.02256878651678562,
0.03531097248196602,
0.0016265184385702014,
0.038838472217321396,
0.06749039143323898,
0.007288962136954069,
0.0054802196100354195,
0.03106357716023922,
0.04420170560479164,
0.034141138195991516,
-0.0017232546815648675,
-0.008044854737818241,
0.00958363525569439,
-0.010132557712495327,
-0.019329247996211052,
-0.01812341995537281,
-0.005606201943010092,
0.009637627750635147,
0.04218599572777748,
-0.03633682802319527,
0.03001972660422325,
-0.03622884303331375,
0.09970580786466599,
-0.02330668270587921,
-0.010249541141092777,
0.045857470482587814,
-0.04848509654402733,
-0.02361263893544674,
0.013651056215167046,
-0.030919598415493965,
-0.09574636816978455,
-0.04888104274868965,
-0.020481083542108536,
-0.046037446707487106,
-0.06590661406517029,
0.002780604176223278,
0.008539783768355846,
0.013246114365756512,
-0.0039031943306326866,
-0.006546568125486374,
0.05496417358517647,
-0.07479735463857651,
0.05197659879922867,
-0.012463225983083248,
0.04074620082974434,
0.07400546222925186,
0.03259335830807686,
-0.001000545104034245,
0.036174848675727844,
-0.04179004952311516,
0.007882878184318542,
0.015918733552098274,
-0.04056622460484505,
0.06767036765813828,
-0.012301248498260975,
-0.06839026510715485,
-0.05514414981007576,
-0.035652924329042435,
0.009727614931762218,
-0.016098707914352417,
-0.022442804649472237,
0.01094244234263897,
-0.007239469327032566,
0.01664762943983078,
0.06295503675937653,
-0.05370435491204262,
-0.0600394532084465,
-0.06356695294380188,
0.013138129375874996,
0.00013322322047315538,
-0.0030415670480579138,
0.04053023084998131,
-0.04938497021794319,
-0.049780912697315216,
-0.040350254625082016,
0.00037738378159701824,
-0.08415602147579193,
0.01985117420554161,
0.03423112630844116,
0.07846882939338684,
0.006479077506810427,
0.008607274852693081,
-0.017817463725805283,
-0.0034532584249973297,
0.003997680731117725,
0.04423770308494568,
0.03138753026723862,
-0.018933303654193878,
-0.030757620930671692,
-0.000059300149587215856,
0.031927455216646194,
0.029731767252087593,
-0.010375523008406162,
-0.006474578287452459,
-0.02435053326189518,
-0.02778804302215576,
0.006078634411096573,
0.07789290696382523,
-0.023702625185251236,
0.015054856427013874,
-0.009529643692076206,
-0.031153565272688866,
-0.03135153651237488,
-0.03531097248196602,
-0.00021639106853399426,
-0.07573321461677551,
0.07767694443464279,
-0.06857024133205414,
0.04412971809506416,
0.07868479937314987,
-0.02931782603263855,
0.00028106936952099204,
-0.031909458339214325,
0.038406532257795334,
-0.01585574261844158,
-0.005678191781044006,
0.03478904813528061,
-0.027914026752114296,
0.0312795452773571,
0.09207489341497421,
0.0059481533244252205,
-0.014964869245886803,
0.0024116565473377705,
0.028417954221367836,
0.03478904813528061,
-0.03822655603289604,
-0.038838472217321396,
-0.007977364584803581,
0.012310247868299484,
0.03970234841108322,
0.01961720734834671,
-0.011041427962481976,
-0.016485653817653656,
0.03327726200222969,
0.03970234841108322,
0.04542553424835205,
0.046829331666231155,
-0.019527219235897064,
0.007063994184136391,
-0.013750042766332626,
-0.02535839006304741,
0.04344581440091133,
0.0032057936768978834,
0.03225141018629074,
-0.032197415828704834,
0.05338039994239807,
0.0009994201827794313,
0.029497800394892693,
0.030163705348968506,
0.04538953676819801,
0.04326584190130234,
0.0411781370639801,
-0.06857024133205414,
-0.03475305065512657,
-0.020247116684913635,
0.004706330131739378,
-0.0009504896588623524,
-0.01936524361371994,
-0.018753329291939735,
-0.05244453251361847,
0.006992004346102476,
0.021326962858438492,
-0.013075138442218304,
0.004823313094675541,
0.015423804521560669,
0.03327726200222969,
-0.03649880364537239,
0.018501365557312965,
0.05719585716724396,
-0.05395631864666939,
-0.013696050271391869,
-0.03624683991074562,
0.045785482972860336,
-0.05985947698354721,
-0.03822655603289604,
-0.03126154839992523,
-0.018519364297389984,
0.006218114867806435,
0.026438236236572266,
0.030487660318613052,
0.003257536329329014,
0.02607828751206398,
0.019005294889211655,
0.028255976736545563,
-0.05186861380934715,
0.08170836418867111,
-0.017691481858491898,
0.01318312343209982,
-0.0786128044128418,
-0.0019324749009683728,
-0.008143840357661247,
0.0337991863489151,
0.010861453600227833,
-0.014262969605624676,
0.01689959317445755,
-0.0007772643584758043,
0.008175335824489594,
0.013777039013803005,
0.05507215857505798,
0.030505657196044922,
0.009853596799075603,
-0.04222198948264122,
0.021488940343260765,
-0.03558093309402466,
0.02906586229801178,
0.03667877987027168,
0.05737583339214325,
0.046289410442113876,
-0.0482691265642643,
-0.046541374176740646,
-0.009592634625732899,
0.021758902817964554,
0.01889730989933014,
0.014595922082662582,
0.046325404196977615,
0.07681306451559067,
-0.005867164582014084,
-0.006740040611475706,
0.021488940343260765,
0.015729760751128197,
0.03208943083882332,
0.03178347647190094,
-0.038910459727048874,
-0.005003287922590971,
0.0008807496051304042,
-0.01192330289632082,
0.03775862604379654,
-0.007347453851252794,
-0.013372096233069897,
-0.004159657750278711,
0.008260823786258698,
0.06137126311659813,
-0.03302529826760292,
0.012967153452336788,
0.03252137079834938,
0.02658221498131752,
0.008152839727699757,
0.039594363421201706,
0.049528948962688446,
0.026276258751749992,
-0.06381891667842865,
0.0009915463160723448,
-0.045353543013334274,
-0.05985947698354721,
-0.046577367931604385,
-0.00422039907425642,
0.05089675262570381,
-0.022010866552591324,
0.018330389633774757,
0.0018706086557358503,
0.027464089915156364,
-0.09445055574178696,
-0.003262035548686981,
-0.030487660318613052,
-0.024512510746717453,
0.05392032489180565,
-0.010708475485444069,
0.007369950879365206,
-0.018573354929685593,
-0.017646487802267075,
0.014109991490840912,
0.029641779139637947,
0.025286400690674782,
0.06817429512739182,
-0.04801716282963753,
-0.007320457603782415,
-0.006996504031121731,
-0.054532237350940704,
0.0542442761361599,
-0.04769321158528328,
-0.031405527144670486,
0.02687017433345318,
-0.0010725348256528378,
-0.035130999982357025,
0.003799709025770426,
-0.015153842978179455,
-0.039882320910692215,
0.022190840914845467,
-0.032413385808467865,
-0.06468278914690018,
0.025970302522182465,
-0.05665593221783638,
-0.03502301499247551,
0.000676028779707849,
0.046577367931604385,
-0.06489875912666321,
0.03030768595635891,
0.035364966839551926,
0.04344581440091133,
0.016170697286725044,
0.05733983591198921,
-0.02231682278215885,
0.062235139310359955,
0.013777039013803005,
0.009165194816887379,
-0.047333262860774994,
-0.0014094243524596095,
-0.018204407766461372,
0.049528948962688446,
-0.028453949838876724,
0.0031203057151287794,
0.0019167271675541997,
-0.009493648074567318,
-0.04488560929894447,
-0.02206485904753208,
0.01479389425367117,
-0.005741182714700699,
0.024890456348657608,
-0.008121343329548836,
0.024980444461107254,
-0.022442804649472237,
0.013849028386175632,
0.013264111243188381,
-0.002149568870663643,
-0.009574636816978455,
-0.055000171065330505,
-0.0052777486853301525,
-0.018753329291939735,
0.008260823786258698,
-0.007527428213506937,
0.03905443847179413,
-0.03523898497223854,
-0.07933270931243896,
0.014505934901535511,
-0.004470113664865494,
0.02190288156270981,
-0.02530439756810665,
-0.022046862170100212,
-0.03007371909916401,
-0.027932023629546165,
0.03676876425743103,
-0.0008453171467408538,
-0.033151280134916306,
0.016521647572517395,
-0.008436298929154873,
-0.011995292268693447,
0.032683346420526505,
-0.022442804649472237,
-0.026240264996886253,
-0.05888761579990387,
-0.07522928714752197,
-0.03718270733952522,
-0.08811545372009277,
0.012166268192231655,
0.04081818833947182,
-0.018537361174821854,
0.021956874057650566,
0.0050662788562476635,
0.0041326615028083324,
0.013030145317316055,
0.019419236108660698,
-0.004251894541084766,
0.003403765382245183,
-0.020823035389184952,
-0.057735782116651535,
0.02037310041487217,
0.0003748528833966702,
-0.01985117420554161,
0.06439483165740967,
0.0462174192070961,
0.0646108016371727,
0.03927040845155716,
-0.05064478889107704,
-0.0032822827342897654,
0.005493717733770609,
0.002544387709349394,
0.05215657502412796,
0.12785379588603973,
0.026654206216335297,
0.029659777879714966,
0.02087702788412571,
0.015117847360670567,
-0.025718338787555695,
-0.013588065281510353,
0.004935797303915024,
0.0021833141800016165,
0.0035792405251413584,
-0.025646349415183067,
-0.006866022478789091,
-0.04351780563592911,
-0.00009722834511194378,
-0.06014743819832802,
0.04819713905453682,
0.04250994697213173,
-0.0038649498019367456,
0.015648772940039635,
-0.026258261874318123,
0.00858477782458067,
-0.005655694752931595,
-0.005633198190480471,
-0.030451664701104164,
-0.03482504189014435,
-0.024746477603912354,
-0.05755580589175224,
0.03829854726791382,
-0.0075409263372421265,
0.04816114157438278,
0.041394107043743134,
-0.009655625559389591,
-0.06878620386123657,
-0.07148582488298416,
-0.03527497872710228,
-0.018807321786880493,
-0.014487937092781067,
0.0006186619284562767,
0.06252309679985046,
0.037866607308387756,
-0.011617345735430717,
0.03460907191038132,
0.013048142194747925,
-0.005169764161109924,
-0.0687142163515091,
-0.06849824637174606,
-0.002958328928798437,
0.05935554951429367,
-0.036192845553159714,
0.0051427679136395454,
0.0030978089198470116,
0.03966635465621948,
0.0407102033495903,
0.028669917955994606,
0.011221402324736118,
-0.024530507624149323,
0.0006192243308760226,
0.028885887935757637,
-0.015459799207746983,
0.004249644931405783,
0.016674626618623734,
-0.033637210726737976,
0.030433667823672295,
0.0048548090271651745,
0.01752050593495369,
0.02980375662446022,
0.03599487617611885,
0.014055998995900154,
0.0547122098505497,
-0.021938877180218697,
0.03486103564500809,
0.021668914705514908,
0.0016985081601887941,
0.05237254500389099,
0.025718338787555695,
-0.019491225481033325,
-0.04103415831923485,
0.019185269251465797,
-0.07314158976078033,
-0.03783061355352402,
-0.017511507496237755,
0.03424912318587303,
-0.031927455216646194,
0.015378810465335846,
0.03545495122671127,
-0.07479735463857651,
0.03210742771625519,
-0.024764474481344223,
0.006348595954477787,
0.02884989231824875,
0.005313743371516466,
0.010249541141092777,
-0.005471221171319485,
0.0018548609223216772,
0.013777039013803005,
-0.03104558028280735,
-0.05021285265684128,
-0.025988299399614334,
-0.0017727476079016924,
-0.0015275325858965516,
-0.006600560154765844,
0.07580520957708359,
0.04848509654402733,
0.016791610047221184,
0.012508219107985497,
-0.0037524658255279064,
0.030505657196044922,
0.014343958348035812,
0.000033253079891437665,
0.015837745741009712,
-0.055792056024074554,
0.009048211388289928,
0.03869448974728584,
-0.04740525037050247,
-0.022712767124176025,
0.07123386114835739,
0.008503789082169533,
0.014352956786751747,
-0.00551621476188302,
-0.08494790643453598,
-0.018465371802449226,
0.016791610047221184,
-0.01131138950586319,
0.03226940706372261,
-0.06335098296403885,
-0.040854182094335556,
-0.005003287922590971,
-0.04661336541175842,
-0.035400960594415665,
-0.002503893570974469,
0.09992177784442902,
-0.06342297047376633,
0.035130999982357025,
-0.016989581286907196,
-0.04045823961496353,
0.05100473761558533,
0.02902986668050289,
0.05284047871828079,
-0.013264111243188381,
0.03804658353328705,
-0.009466651827096939,
-0.06083133816719055,
0.07947668433189392,
0.0159907229244709,
0.03230540081858635,
-0.055504098534584045,
-0.019743189215660095,
0.011221402324736118,
0.0057861763052642345,
0.021218979731202126,
0.0014420447405427694,
-0.029641779139637947,
0.041358113288879395,
0.0032170419581234455,
-0.016773611307144165,
-0.03703872859477997,
-0.04567749798297882,
-0.058527667075395584,
0.019671199843287468,
0.014002006500959396,
-0.049348972737789154,
-0.025448376312851906,
-0.03007371909916401,
-0.004863807465881109,
0.03009171597659588,
-0.021938877180218697,
-0.0006377841928042471,
-0.06623057276010513,
0.04056622460484505,
-0.01581074856221676,
-0.04888104274868965,
0.06903816759586334,
0.025754332542419434,
-0.01728653907775879,
0.010285535827279091,
0.020175127312541008,
-0.02436853013932705,
-0.045821476727724075,
-0.01317412406206131,
-0.056979887187480927,
-0.0003717595827765763,
-0.0023081714753061533,
-0.018384382128715515,
0.0062451111152768135,
-0.01579275168478489,
0.03180147334933281,
0.018483368679881096,
0.030955592170357704,
-0.017817463725805283,
0.03927040845155716,
0.025664346292614937,
-0.023234691470861435,
-0.04121413081884384,
-0.008958224207162857,
-0.011446370743215084,
0.08969923108816147,
0.023918595165014267,
-0.01860935054719448,
0.004620842169970274,
0.061731211841106415,
0.0015320319216698408,
-0.055288128554821014,
0.05388432741165161,
-0.028004013001918793,
-0.059751491993665695,
0.02015713043510914,
-0.055000171065330505,
-0.026924166828393936,
0.015594779513776302,
0.0013385594356805086,
-0.016134703531861305,
-0.008589277043938637,
0.026888171210885048,
0.023270687088370323,
-0.026402240619063377,
-0.016953585669398308,
-0.01940123736858368,
0.016431661322712898,
-0.030883602797985077,
-0.01091544609516859,
0.062271133065223694,
0.012985151261091232,
-0.014352956786751747,
0.0051427679136395454,
-0.045569512993097305,
0.012904162518680096,
-0.0016028968384489417,
0.023792613297700882,
0.08127643167972565,
-0.03667877987027168,
0.026438236236572266,
0.05582805350422859,
0.06410687416791916,
-0.005448724143207073,
0.0028705913573503494,
-0.007135984022170305,
-0.005327241495251656,
0.023180698975920677,
-0.035436954349279404,
-0.025016438215970993,
-0.04592946171760559,
-0.005957151763141155,
-0.02210085280239582,
-0.022262830287218094,
-0.051292698830366135,
0.052804481238126755,
-0.037614643573760986,
-0.018195409327745438,
0.0009353043278679252,
-0.0026816183235496283,
0.021524935960769653,
0.01243622973561287,
-0.023234691470861435,
-0.0013565568951889873,
0.01563977263867855,
-0.021272972226142883,
-0.03032568283379078,
-0.05330841243267059,
-0.033403243869543076,
-0.04938497021794319,
-0.0009752361802384257,
-0.021542932838201523,
0.0312795452773571,
-0.0017007578862830997,
0.00968262180685997,
0.008917730301618576,
-0.04794517531991005,
-0.014991865493357182,
-0.04002630338072777,
0.03424912318587303,
0.027698056772351265,
0.024710481986403465,
-0.028885887935757637,
-0.07098189741373062,
-0.09272279590368271,
0.010834457352757454,
0.024170558899641037,
0.10661682486534119,
0.02309071272611618,
0.002035960089415312,
-0.06137126311659813,
-0.01785345748066902,
-0.004422870464622974,
0.018555358052253723,
-0.04744124412536621,
-0.020301109179854393,
0.020499082282185555,
0.01569376513361931,
0.07522928714752197,
0.04175405576825142,
-0.041610077023506165,
-0.0037479663733392954,
-0.03684075549244881,
0.000021389532776083797,
0.03511299937963486,
-0.0003889133804477751,
-0.024656489491462708,
0.011482365429401398,
0.004940296523272991,
0.07227770984172821,
0.0043868753127753735,
0.049025021493434906,
0.011383379809558392,
-0.04027826711535454,
-0.03923441469669342,
-0.0004926798865199089,
-0.007972865365445614,
0.03554493933916092,
-0.04092617332935333,
-0.04625341668725014,
-0.04420170560479164,
-0.0008267572848126292,
-0.026492228731513023,
0.003268784610554576,
0.0062361122108995914,
-0.021938877180218697,
-0.05679991468787193,
-0.06018343195319176,
0.07969265431165695,
-0.0025128922425210476,
-0.012445228174328804,
0.06029141694307327,
-0.03226940706372261,
0.07429341971874237,
0.02186688594520092,
0.013165125623345375,
0.030487660318613052,
0.08437199145555496,
-0.00040184904355555773,
-0.005291246809065342,
0.02307271584868431,
0.037902604788541794,
-0.005426227580755949,
0.04197002574801445,
0.052804481238126755,
0.030235694721341133,
0.004213650245219469,
-0.004913300275802612,
-0.06533069908618927,
0.015477796085178852,
0.0022271829657256603,
0.015747757628560066,
0.014703907072544098,
-0.02309071272611618,
0.03487903252243996
]
|
37,053 | sphinx_autodoc_typehints | _inject_signature | null | def _inject_signature( # noqa: C901
type_hints: dict[str, Any],
signature: inspect.Signature,
app: Sphinx,
lines: list[str],
) -> None:
for arg_name in signature.parameters:
annotation = type_hints.get(arg_name)
default = signature.parameters[arg_name].default
if arg_name.endswith("_"):
arg_name = f"{arg_name[:-1]}\\_" # noqa: PLW2901
insert_index = None
for at, line in enumerate(lines):
if _line_is_param_line_for_arg(line, arg_name):
# Get the arg_name from the doc to match up for type in case it has a star prefix.
# Line is in the correct format so this is guaranteed to return tuple[str, str].
func = _get_sphinx_line_keyword_and_argument
_, arg_name = func(line) # type: ignore[assignment, misc] # noqa: PLW2901
insert_index = at
break
if annotation is not None and insert_index is None and app.config.always_document_param_types:
lines.append(f":param {arg_name}:")
insert_index = len(lines)
if insert_index is not None:
if annotation is None:
type_annotation = f":type {arg_name}: "
else:
formatted_annotation = add_type_css_class(format_annotation(annotation, app.config))
type_annotation = f":type {arg_name}: {formatted_annotation}"
if app.config.typehints_defaults:
formatted_default = format_default(app, default, annotation is not None)
if formatted_default:
if app.config.typehints_defaults.endswith("after"):
lines[insert_index] += formatted_default
else: # add to last param doc line
type_annotation += formatted_default
lines.insert(insert_index, type_annotation)
| (type_hints: 'dict[str, Any]', signature: 'inspect.Signature', app: 'Sphinx', lines: 'list[str]') -> 'None' | [
-0.031383924186229706,
-0.04144003987312317,
0.028731761500239372,
0.03352038934826851,
-0.025674408301711082,
0.009936400689184666,
-0.009945609606802464,
0.03595153987407684,
0.012155745178461075,
0.02289332076907158,
0.00393680389970541,
0.02228553406894207,
-0.027553023770451546,
-0.05267489701509476,
-0.03348355367779732,
0.006146939471364021,
0.03841952234506607,
0.05790555104613304,
-0.043134476989507675,
-0.04792310670018196,
0.03245215862989426,
0.001486085937358439,
-0.0169904176145792,
-0.0043304841965436935,
-0.017100924625992775,
-0.0365777425467968,
0.059784166514873505,
-0.016207661479711533,
0.004843880422413349,
-0.035380586981773376,
0.0036167947109788656,
-0.08877377957105637,
0.0361357145011425,
0.015572247095406055,
0.03007626160979271,
-0.033538807183504105,
0.007661803159862757,
0.055179718881845474,
0.016769403591752052,
0.02228553406894207,
-0.002645255997776985,
0.03963509574532509,
-0.00307577196508646,
-0.057242508977651596,
-0.031604938209056854,
0.060815561562776566,
0.01352787110954523,
0.021788252517580986,
-0.07087168097496033,
-0.008679386228322983,
0.024237819015979767,
-0.057242508977651596,
0.01897032931447029,
-0.03458862006664276,
-0.01012978795915842,
-0.0033957811538130045,
0.04656019061803818,
0.023169588297605515,
0.012606981210410595,
0.03204696625471115,
0.08626895397901535,
0.004638982471078634,
0.0374249629676342,
0.014052778482437134,
0.017285101115703583,
0.0012443523155525327,
0.039045728743076324,
-0.06099973991513252,
0.0023344557266682386,
-0.011842642910778522,
0.029873665422201157,
-0.03945092111825943,
-0.04269245266914368,
-0.002290713367983699,
0.005074102897197008,
0.009393076412379742,
-0.011962358839809895,
0.03748021647334099,
0.05226970463991165,
-0.01041526347398758,
0.03945092111825943,
-0.0035177990794181824,
-0.009540418162941933,
0.0033129011280834675,
-0.0005286483210511506,
0.028031885623931885,
-0.07676537334918976,
0.00939768087118864,
0.01107830461114645,
0.0009778698440641165,
-0.049543872475624084,
0.01858355663716793,
0.028547585010528564,
0.02018590457737446,
-0.005608218722045422,
-0.012864830903708935,
-0.008872773498296738,
-0.08022791892290115,
0.0020973265636712313,
0.021714581176638603,
0.007749287877231836,
0.017607413232326508,
0.0327100045979023,
-0.007067829370498657,
0.0021261044312268496,
-0.07691271603107452,
0.028897522017359734,
0.00015986071957740933,
-0.02318800613284111,
0.05613744258880615,
0.022838067263364792,
-0.08427983522415161,
-0.03445969521999359,
-0.037369709461927414,
0.018657227978110313,
-0.013316066935658455,
0.037277620285749435,
0.011225646361708641,
-0.024072060361504555,
0.022561799734830856,
0.010534979403018951,
-0.02775561809539795,
-0.04011395946145058,
-0.006418602075427771,
0.010056116618216038,
-0.015977438539266586,
0.01394227147102356,
0.08553224802017212,
-0.0008909609168767929,
-0.0963619127869606,
0.014623730443418026,
-0.01738639920949936,
-0.0456024631857872,
-0.0063034906052052975,
0.030776137486100197,
-0.03320728614926338,
0.010221877135336399,
0.015434113331139088,
-0.037019770592451096,
-0.0028570606373250484,
-0.030573541298508644,
0.03208380192518234,
0.004470920190215111,
-0.020112233236432076,
-0.029965754598379135,
-0.026005927473306656,
0.009743014350533485,
-0.027553023770451546,
0.004427177831530571,
0.012781950645148754,
-0.023998389020562172,
-0.0049912226386368275,
-0.013712049461901188,
0.043908026069402695,
-0.013398947194218636,
-0.05201185494661331,
0.02788454294204712,
-0.04523410648107529,
-0.02650320902466774,
0.018528303131461143,
0.035472676157951355,
-0.06361506879329681,
0.06431494653224945,
-0.07109269499778748,
-0.008559671230614185,
0.0602261945605278,
-0.049838557839393616,
0.04707588627934456,
-0.010663904249668121,
0.005184609442949295,
0.0008995942189358175,
0.01970704272389412,
0.04821779206395149,
-0.011667673476040363,
0.11212754249572754,
0.043650176376104355,
-0.028842268511652946,
-0.008550462312996387,
0.02125413715839386,
-0.007298051845282316,
0.043392326682806015,
-0.009319405071437359,
0.006473855581134558,
-0.0189334936439991,
0.013131888583302498,
0.0142001211643219,
-0.002546260366216302,
0.012984545901417732,
-0.021014705300331116,
-0.020443754270672798,
0.04563929885625839,
0.0430239737033844,
0.029450055211782455,
-0.007555901072919369,
-0.004632075782865286,
0.04453423246741295,
-0.04328181967139244,
0.040003452450037,
0.023169588297605515,
-0.01127169094979763,
0.004348902031779289,
0.0022861089091748,
-0.0030619585886597633,
0.01841779612004757,
0.049065008759498596,
0.029523726552724838,
0.06140493229031563,
0.017358772456645966,
-0.07503410428762436,
-0.02267230674624443,
0.0044294800609350204,
-0.0468917079269886,
-0.01583009585738182,
-0.05886327847838402,
-0.02237762324512005,
-0.03562001883983612,
-0.021235719323158264,
0.0029859852511435747,
-0.014531641267240047,
-0.02315117046236992,
0.10417105257511139,
0.021198883652687073,
0.017745546996593475,
0.013583124615252018,
0.09923508763313293,
-0.01423695683479309,
0.07993323355913162,
-0.055916428565979004,
0.02138306200504303,
-0.002762669464573264,
-0.021180465817451477,
-0.007017180323600769,
-0.019412357360124588,
0.054185155779123306,
0.020664766430854797,
-0.02779245376586914,
-0.0048853205516934395,
-0.036761920899152756,
0.040887508541345596,
-0.02585858665406704,
0.00894644483923912,
0.053927306085824966,
-0.03992978110909462,
0.0348464697599411,
-0.12870356440544128,
-0.033059943467378616,
-0.01639183796942234,
0.02125413715839386,
0.02779245376586914,
0.004802440293133259,
0.0036927680484950542,
0.050796281546354294,
0.005985783878713846,
0.005180004984140396,
0.02659529820084572,
0.037406545132398605,
0.017588995397090912,
-0.02103312313556671,
0.034662291407585144,
-0.03536216914653778,
-0.0070540159940719604,
0.04714955762028694,
0.020370082929730415,
0.06096290424466133,
0.0012489567743614316,
-0.010940170846879482,
0.007850585505366325,
-0.01524993497878313,
-0.021880341693758965,
-0.00492676068097353,
0.012118909507989883,
0.0546271838247776,
-0.004945178050547838,
-0.00901090633124113,
0.05794238671660423,
0.022488128393888474,
0.06851420551538467,
0.027129413560032845,
-0.02302224561572075,
0.018555929884314537,
0.07407637685537338,
-0.05433249846100807,
0.05193818360567093,
0.030315693467855453,
0.03493855893611908,
0.04453423246741295,
0.028731761500239372,
0.06070505455136299,
-0.02895277552306652,
-0.014089614152908325,
0.03661457821726799,
0.049543872475624084,
0.0494702011346817,
0.005750956945121288,
-0.027221502736210823,
0.015332815237343311,
-0.022911738604307175,
0.014936832711100578,
0.0010584477568045259,
-0.05223286896944046,
0.000808080832939595,
0.027460934594273567,
0.10910702496767044,
-0.025582319125533104,
0.04895450174808502,
-0.05871593579649925,
0.0012547123478725553,
-0.07024547457695007,
0.00565886776894331,
-0.046523354947566986,
-0.016576016321778297,
0.07006129622459412,
-0.02749777026474476,
-0.02550864778459072,
0.025674408301711082,
0.0033336211927235126,
-0.01107830461114645,
0.013877809047698975,
0.01587614044547081,
0.05002273619174957,
0.03834585100412369,
-0.008223545737564564,
-0.007850585505366325,
-0.058752771466970444,
0.035214826464653015,
-0.02779245376586914,
-0.03072088398039341,
0.02646637335419655,
-0.023077499121427536,
-0.016769403591752052,
0.0048807160928845406,
0.002228553406894207,
-0.018436213955283165,
0.03320728614926338,
-0.0339808352291584,
-0.005668076686561108,
-0.0307577196508646,
-0.0005928227910771966,
-0.04026130214333534,
-0.015259143896400928,
0.008702408522367477,
-0.030776137486100197,
0.0024012201465666294,
0.03889838606119156,
0.018445422872900963,
0.04759158566594124,
0.03101556934416294,
-0.00853664893656969,
0.06490431725978851,
-0.01378572080284357,
-0.003271460998803377,
-0.07028231024742126,
0.026871563866734505,
-0.040555987507104874,
0.08626895397901535,
-0.01725747436285019,
0.017874471843242645,
-0.05127514526247978,
-0.04792310670018196,
-0.025582319125533104,
0.05529022589325905,
-0.003573052352294326,
0.0019522863440215588,
-0.004908342845737934,
0.04457106813788414,
0.06862470507621765,
-0.012385968118906021,
-0.011096722446382046,
0.016925955191254616,
0.025711243972182274,
-0.012956920079886913,
-0.04269245266914368,
-0.011216437444090843,
0.0037687416188418865,
-0.005810814909636974,
-0.015203890390694141,
0.02534288726747036,
0.01045209914445877,
-0.07757575809955597,
0.0024656825698912144,
-0.01746927946805954,
0.01209128275513649,
0.07079800963401794,
0.0023390601854771376,
-0.031162912026047707,
-0.05694782733917236,
0.004369622096419334,
-0.048291463404893875,
0.0022469712421298027,
0.028731761500239372,
0.016382629051804543,
-0.024293072521686554,
0.0026705805212259293,
-0.03937724977731705,
-0.017202220857143402,
-0.07757575809955597,
-0.012956920079886913,
-0.0009997410234063864,
-0.06821952015161514,
-0.0060318284668028355,
-0.012579354457557201,
-0.09813001751899719,
0.007316469680517912,
-0.005308929830789566,
0.04254510998725891,
-0.019172925502061844,
-0.01570117101073265,
0.014384298585355282,
-0.0002794325118884444,
0.014780281111598015,
-0.03707502409815788,
-0.03567527234554291,
-0.0022527265828102827,
0.0009053497924469411,
0.09960344433784485,
0.0007027540123090148,
0.017110133543610573,
0.015563038177788258,
-0.07205042243003845,
-0.008416933007538319,
0.04615499824285507,
-0.019265014678239822,
-0.004537684377282858,
0.11072778701782227,
0.03282051160931587,
0.033704567700624466,
-0.05407464876770973,
-0.005944343749433756,
0.016152407974004745,
-0.05359578877687454,
-0.02834498882293701,
0.00732567859813571,
-0.010138996876776218,
0.004940574057400227,
-0.011750553734600544,
-0.009623298421502113,
0.035767361521720886,
-0.04788627102971077,
0.07437106221914291,
-0.005097125191241503,
-0.02814239263534546,
0.03468070924282074,
-0.013813347555696964,
-0.021622492000460625,
-0.010028489865362644,
-0.00669026467949152,
-0.027258338406682014,
0.008513626642525196,
0.01746927946805954,
-0.0654200091958046,
-0.0008880831301212311,
0.004470920190215111,
0.050280582159757614,
-0.04740740731358528,
0.029744740575551987,
-0.08567959070205688,
-0.04512359946966171,
-0.03480963408946991,
-0.003285274375230074,
0.022082937881350517,
0.045933984220027924,
0.02611643448472023,
-0.004196955356746912,
-0.0438711903989315,
0.031476013362407684,
-0.00808541290462017,
0.0322679802775383,
-0.03922990709543228,
-0.04884399473667145,
-0.002840945031493902,
0.10417105257511139,
-0.018878242000937462,
0.0026728827506303787,
0.0021502776071429253,
-0.02357477881014347,
0.014992086216807365,
0.09046821296215057,
0.048807159066200256,
-0.04711272194981575,
0.04740740731358528,
0.03282051160931587,
-0.03722236678004265,
-0.035435840487480164,
0.034570202231407166,
-0.012478057295084,
0.014881579205393791,
-0.02921062521636486,
-0.02521396242082119,
-0.02396155335009098,
0.027645112946629524,
0.014172494411468506,
-0.008964862674474716,
0.025803333148360252,
0.04206624627113342,
0.06041037291288376,
-0.011676882393658161,
0.0671144500374794,
0.02064635045826435,
-0.025913840159773827,
-0.036375146359205246,
-0.03729603812098503,
-0.06560418754816055,
0.00898788496851921,
-0.016207661479711533,
0.048733487725257874,
-0.024974532425403595,
0.029892083257436752,
0.03425710275769234,
-0.06486748158931732,
0.006469251122325659,
-0.035509511828422546,
-0.008978676050901413,
-0.001464214758016169,
0.004017381928861141,
-0.010433681309223175,
-0.04910184442996979,
-0.008826728910207748,
-0.014089614152908325,
-0.021696163341403008,
-0.030444616451859474,
0.018482258543372154,
0.014596103690564632,
0.012404385954141617,
-0.02998417243361473,
0.06774065643548965,
-0.023630032315850258,
0.01578405126929283,
-0.03204696625471115,
0.02309591695666313,
0.005608218722045422,
0.024550922214984894,
0.022561799734830856,
0.026226941496133804,
-0.05304325371980667,
0.010617859661579132,
0.033409882336854935,
0.0033036922104656696,
-0.049322858452796936,
0.01460531260818243,
0.04147687554359436,
-0.002863967325538397,
0.03819850832223892,
-0.08553224802017212,
-0.002177904359996319,
0.030002590268850327,
0.03232323378324509,
0.005074102897197008,
-0.051606666296720505,
-0.006879047024995089,
-0.010848081670701504,
-0.04383435472846031,
-0.0024472647346556187,
-0.004017381928861141,
0.026945235207676888,
-0.09835103154182434,
-0.007652594242244959,
0.007896630093455315,
-0.03919307142496109,
0.011225646361708641,
0.03123658150434494,
0.04383435472846031,
0.0010941321961581707,
0.007786123547703028,
0.003236927790567279,
-0.06206797435879707,
0.026429537683725357,
0.017478488385677338,
-0.01583930477499962,
-0.06372557580471039,
0.018353333696722984,
0.004422573372721672,
-0.01004690770059824,
0.014338253997266293,
-0.02022274024784565,
-0.03604362532496452,
0.034220267087221146,
0.01352787110954523,
-0.02125413715839386,
-0.061883796006441116,
-0.027350427582859993,
0.00012043512106174603,
0.040298137813806534,
-0.040555987507104874,
-0.010765201412141323,
0.02814239263534546,
0.047996778041124344,
-0.016769403591752052,
0.006064059212803841,
-0.045455120503902435,
0.02199084870517254,
-0.09312038123607635,
0.012680652551352978,
0.012395177036523819,
-0.04821779206395149,
0.009420703165233135,
0.05256439000368118,
0.011953149922192097,
-0.019393939524888992,
-0.021788252517580986,
-0.048733487725257874,
-0.05300641804933548,
-0.018859824165701866,
-0.05344844609498978,
-0.022451292723417282,
0.022175027057528496,
-0.00710006058216095,
0.0026015136390924454,
0.03687242791056633,
0.0027949006762355566,
0.041845232248306274,
0.037977494299411774,
0.05610060691833496,
0.030573541298508644,
-0.0006923940381966531,
-0.035767361521720886,
0.019596535712480545,
0.013058217242360115,
0.03372298553586006,
0.10417105257511139,
0.0013226279988884926,
-0.01452243234962225,
0.014052778482437134,
0.01785605400800705,
-0.03072088398039341,
-0.051127802580595016,
0.011888687498867512,
-0.05226970463991165,
-0.07389219850301743,
0.03195487707853317,
-0.041587382555007935,
0.005994992796331644,
0.005230654031038284,
0.025821750983595848,
-0.02563757263123989,
0.04891766607761383,
-0.0031701631378382444,
-0.015949811786413193,
-0.06615672260522842,
-0.04795994237065315,
0.03783015161752701,
0.05123830959200859,
-0.0778704434633255,
-0.03849319368600845,
0.03252582624554634,
0.045418284833431244,
0.03683559224009514,
-0.028989611193537712,
-0.042876631021499634,
0.04247143864631653,
0.026429537683725357,
0.05252755433320999,
0.054664019495248795,
-0.04435005411505699,
0.0365777425467968,
0.06936141848564148,
0.06851420551538467,
-0.0404454804956913,
-0.019762296229600906,
0.027847707271575928,
-0.02370370365679264,
0.022469710558652878,
-0.07278712838888168,
-0.0365777425467968,
0.0013790325028821826,
-0.0774284154176712,
-0.0576477013528347,
-0.06891939043998718,
-0.04350283369421959,
0.038051165640354156,
0.01717459410429001,
-0.01622607931494713,
-0.014089614152908325,
0.020204322412610054,
-0.004963595885783434,
0.021825088188052177,
-0.060557715594768524,
-0.00018576074216980487,
0.052895911037921906,
-0.023869464173913002,
0.021272554993629456,
-0.04438688978552818,
-0.06906673312187195,
0.016585225239396095,
0.00877607986330986,
-0.016622060909867287,
0.055400729179382324,
-0.014890788123011589,
-0.01781000941991806,
0.008131456561386585,
0.012496475130319595,
0.011216437444090843,
-0.0778704434633255,
0.033704567700624466,
0.006100894883275032,
0.009333218447864056,
-0.025158708915114403,
-0.028418660163879395,
-0.09098391234874725,
0.005520734470337629,
-0.005750956945121288,
0.024458833038806915,
0.0314207598567009,
-0.011971567757427692,
0.005525338929146528,
-0.03626463934779167,
0.0034141989890486,
-0.0012213301379233599,
-0.005714121274650097,
-0.005272094160318375,
0.014338253997266293,
-0.005262885242700577,
-0.020314829424023628,
0.026300612837076187,
-0.01112434919923544,
0.025158708915114403,
0.014725027605891228,
0.0019384730840101838,
0.008748453110456467,
0.029063282534480095,
-0.018749317154288292,
0.023648450151085854,
0.0032829721458256245,
0.044202711433172226,
-0.008246568031609058,
-0.019596535712480545,
0.024956114590168,
-0.013675213791429996,
-0.022819649428129196,
0.048512473702430725,
-0.019467610865831375,
0.014034360647201538,
-0.010912544094026089,
-0.049580708146095276,
-0.012413594871759415,
-0.003925292752683163,
-0.030297275632619858,
0.02525079809129238,
-0.001316872425377369,
-0.04608132690191269,
-0.07326599210500717,
-0.03267316892743111,
0.060078851878643036,
-0.023243259638547897,
0.04092434421181679,
0.03423868492245674,
-0.009475955739617348,
0.043908026069402695,
-0.03670666739344597,
0.0002669141686055809,
0.01618003472685814,
0.043908026069402695,
0.03819850832223892,
-0.06615672260522842,
-0.009632507339119911,
0.0365777425467968,
-0.013868600130081177,
0.06206797435879707,
0.03372298553586006,
-0.0021387666929513216,
-0.013223977759480476,
-0.036596160382032394,
-0.008403119631111622,
0.040555987507104874,
-0.04077700152993202,
0.025932256132364273,
0.022340787574648857,
-0.051643501967191696,
0.02357477881014347
]
|
37,054 | sphinx_autodoc_typehints | _inject_types_to_docstring | null | def _inject_types_to_docstring( # noqa: PLR0913, PLR0917
type_hints: dict[str, Any],
signature: inspect.Signature | None,
original_obj: Any,
app: Sphinx,
what: str,
name: str,
lines: list[str],
) -> None:
if signature is not None:
_inject_signature(type_hints, signature, app, lines)
if "return" in type_hints:
_inject_rtype(type_hints, original_obj, app, what, name, lines)
| (type_hints: 'dict[str, Any]', signature: 'inspect.Signature | None', original_obj: 'Any', app: 'Sphinx', what: 'str', name: 'str', lines: 'list[str]') -> 'None' | [
-0.05972760170698166,
-0.042792532593011856,
0.05038532242178917,
-0.01868455670773983,
-0.0036739297211170197,
0.009088601917028427,
0.011459161527454853,
0.05741827189922333,
0.004391220863908529,
-0.0021026686299592257,
0.006188821978867054,
-0.004109115339815617,
0.0253326203674078,
-0.03362520411610603,
-0.05671847611665726,
0.03128088638186455,
-0.018911991268396378,
0.01793227531015873,
-0.021361276507377625,
-0.02246345579624176,
0.008515643887221813,
0.017914781346917152,
0.030843514949083328,
0.03747408464550972,
-0.03173575550317764,
0.016935067251324654,
0.04181281849741936,
-0.017844801768660545,
-0.03429001197218895,
-0.0566834881901741,
-0.01120548602193594,
-0.06553591042757034,
0.03266298398375511,
0.020434048026800156,
0.026259850710630417,
-0.01509810145944357,
0.01808973029255867,
0.06571085751056671,
0.04730621725320816,
0.02409048192203045,
-0.05108511820435524,
0.06966470181941986,
-0.004894199315458536,
-0.055808741599321365,
-0.03883868455886841,
0.019086940214037895,
0.005104138050228357,
0.008681845851242542,
-0.024072987958788872,
-0.005366561468690634,
-0.005108512006700039,
-0.05934271216392517,
-0.01033948827534914,
-0.024545349180698395,
0.01581539213657379,
-0.03624944016337395,
0.023880543187260628,
0.06133713200688362,
-0.0003124480426777154,
0.031035957857966423,
0.04797102510929108,
0.018387142568826675,
0.010042074136435986,
0.0021792089100927114,
0.02743200771510601,
0.009071107022464275,
0.0100683169439435,
-0.03498980775475502,
-0.0041769081726670265,
-0.006429377011954784,
-0.025350114330649376,
-0.03845379874110222,
-0.02468530833721161,
0.01110051665455103,
0.01608656346797943,
-0.04583664610981941,
-0.02220103330910206,
-0.02246345579624176,
0.054129231721162796,
-0.04699131101369858,
0.024265430867671967,
0.02711709961295128,
-0.037614043802022934,
0.0021278175991028547,
0.01894698105752468,
-0.015657939016819,
-0.1062990352511406,
0.01669013872742653,
0.03343275934457779,
-0.01745116524398327,
-0.0456966869533062,
0.00618444848805666,
0.007382849231362343,
0.015649190172553062,
0.0010682825231924653,
0.00663056829944253,
0.010899324901401997,
-0.08236600458621979,
0.038033921271562576,
0.04902071878314018,
0.030266182497143745,
0.0280793197453022,
0.03462241217494011,
0.004539927467703819,
0.009254803881049156,
-0.07165912538766861,
0.030161213129758835,
-0.0005448022275231779,
-0.011292960494756699,
0.05853794515132904,
0.001264006714336574,
-0.08397553861141205,
-0.04401717707514763,
-0.027029626071453094,
0.012517603114247322,
-0.001956148771569133,
0.009814640507102013,
-0.02207856811583042,
0.009674681350588799,
0.015675432980060577,
0.02743200771510601,
-0.06718043237924576,
-0.042792532593011856,
-0.03439497947692871,
0.020608996972441673,
-0.0021212571300566196,
-0.009272298775613308,
0.032540518790483475,
-0.018824515864253044,
-0.08138629049062729,
-0.021588711068034172,
-0.025035206228494644,
-0.0650460496544838,
0.04216271638870239,
0.05895782634615898,
0.0566834881901741,
0.019961684942245483,
0.007982050068676472,
0.012552592903375626,
-0.011345445178449154,
-0.02332070656120777,
0.02748449333012104,
0.009910862892866135,
-0.0016281194984912872,
-0.052519701421260834,
0.0022721504792571068,
0.04135795310139656,
-0.013584792613983154,
-0.026277344673871994,
0.0048985728062689304,
-0.032208118587732315,
-0.04947558790445328,
-0.010523184202611446,
0.05188988521695137,
-0.04741118848323822,
0.01229016948491335,
-0.000665899773593992,
-0.031350865960121155,
-0.00842379592359066,
0.0236006248742342,
0.018824515864253044,
-0.08285586535930634,
0.05325448513031006,
-0.05972760170698166,
0.03586455062031746,
0.05783814936876297,
-0.029146509245038033,
-0.013873458839952946,
-0.02073146030306816,
0.017031287774443626,
-0.008747451938688755,
0.003662995295599103,
0.05052528157830238,
0.0015176829183474183,
0.0804765522480011,
0.06441623717546463,
-0.01023451890796423,
-0.016768865287303925,
-0.033082861453294754,
0.01411838736385107,
0.05384931340813637,
-0.018859505653381348,
-0.060987234115600586,
0.02116883359849453,
0.019944189116358757,
0.044472046196460724,
0.004139731638133526,
-0.002803558250889182,
0.003977903630584478,
-0.007054819725453854,
0.04496190324425697,
0.044367074966430664,
0.032103147357702255,
-0.020923905074596405,
-0.0004975112969987094,
0.020941399037837982,
-0.03248803690075874,
0.01669013872742653,
-0.010785607621073723,
0.009044865146279335,
0.008030160330235958,
0.059482671320438385,
0.012570087797939777,
0.009937104769051075,
0.07221896201372147,
0.05703338608145714,
0.05129505693912506,
0.029636366292834282,
-0.05871289595961571,
-0.03866373747587204,
0.008082645013928413,
-0.02150123566389084,
-0.019104434177279472,
-0.05304454639554024,
-0.006416255608201027,
-0.028096815571188927,
-0.016646400094032288,
-0.00775024201720953,
-0.0506652407348156,
-0.030965978279709816,
0.06130214035511017,
0.025822477415204048,
-0.03546217083930969,
0.019454332068562508,
0.08292584121227264,
-0.012640067376196384,
0.01517682895064354,
-0.04790104553103447,
0.053814321756362915,
-0.04734120890498161,
-0.00861623976379633,
-0.01745116524398327,
-0.043177422136068344,
0.011511646211147308,
0.029286468401551247,
0.000609588052611798,
-0.01423210371285677,
-0.005449662450700998,
0.042092736810445786,
0.021133843809366226,
-0.022375982254743576,
0.0641363188624382,
0.006875496823340654,
0.014730708673596382,
-0.10349985212087631,
-0.03698422759771347,
-0.012753784656524658,
0.020154127851128578,
0.019191909581422806,
0.013024955987930298,
0.005427793599665165,
-0.016698885709047318,
0.023880543187260628,
0.0024973973631858826,
0.03367768973112106,
0.03563711792230606,
0.017634863033890724,
-0.04482194408774376,
-0.0025411348324269056,
-0.06266674399375916,
0.012867501005530357,
0.0681251510977745,
0.019559301435947418,
0.054899007081985474,
-0.006704921834170818,
-0.040203288197517395,
-0.006897365674376488,
0.021781153976917267,
-0.018964475020766258,
0.0015789150493219495,
0.042407646775245667,
0.0531495176255703,
0.015019374899566174,
0.014249598607420921,
0.028394227847456932,
0.004312493838369846,
0.037019215524196625,
0.02220103330910206,
-0.0140396598726511,
0.028324248269200325,
0.011030536144971848,
-0.03617946058511734,
0.03624944016337395,
0.02823677472770214,
0.021746164187788963,
0.007312869653105736,
0.0029675730038434267,
0.06777525693178177,
-0.03364269807934761,
0.009114844724535942,
0.0218686293810606,
0.037509072571992874,
0.05524890497326851,
0.02683718129992485,
-0.013514813035726547,
0.06333155184984207,
-0.03516475483775139,
-0.014485780149698257,
-0.011362940073013306,
-0.05482902750372887,
-0.02818428911268711,
0.020066654309630394,
0.08397553861141205,
-0.005572126712650061,
0.0576632022857666,
-0.0491606779396534,
0.02214854769408703,
-0.12393389642238617,
-0.0035427180118858814,
-0.034692391753196716,
-0.0057295807637274265,
0.05374434217810631,
-0.03159579634666443,
0.01599034108221531,
0.0021474994719028473,
-0.006945476867258549,
-0.00618444848805666,
0.03105345368385315,
-0.007076688576489687,
0.07991671562194824,
-0.020066654309630394,
-0.036319419741630554,
0.018439628183841705,
-0.04891575127840042,
0.05237974226474762,
-0.03212064132094383,
-0.029443921521306038,
0.007995170541107655,
0.04261758551001549,
-0.042897503823041916,
-0.023478159680962563,
-0.01631399802863598,
0.010593163780868053,
0.014739456586539745,
-0.02333820052444935,
-0.05115509778261185,
0.010785607621073723,
-0.047656115144491196,
-0.05853794515132904,
-0.010435709729790688,
0.036039501428604126,
-0.0521698035299778,
0.03451744467020035,
0.04485693201422691,
0.005865166429430246,
0.039223574101924896,
0.057313304394483566,
-0.051225077360868454,
0.07396845519542694,
0.012989966198801994,
0.007470323704183102,
-0.07767736911773682,
0.009246056899428368,
-0.0032737338915467262,
0.06532596796751022,
-0.025297630578279495,
-0.006315660197287798,
0.01530804019421339,
-0.03698422759771347,
-0.07606784254312515,
0.01798476092517376,
0.015439252369105816,
0.008218230679631233,
-0.0024099228903651237,
-0.007352232933044434,
0.06966470181941986,
0.00891365297138691,
0.0014149002963677049,
0.005117259453982115,
0.02445787563920021,
-0.027851887047290802,
-0.04891575127840042,
-0.04104304313659668,
-0.02295331284403801,
-0.018999464809894562,
-0.018509607762098312,
0.03089599870145321,
0.0095609650015831,
-0.08894409239292145,
0.014477032236754894,
0.00034005718771368265,
0.019506817683577538,
0.020049158483743668,
-0.0024186703376471996,
-0.043772246688604355,
-0.03768402338027954,
-0.008178867399692535,
0.0006833946681581438,
-0.03276795521378517,
0.04951057583093643,
0.02937394194304943,
-0.016873834654688835,
0.024282926693558693,
-0.018562093377113342,
-0.01948932185769081,
-0.04615155607461929,
-0.025944942608475685,
-0.012316412292420864,
-0.08033659309148788,
0.007999544963240623,
0.009079854935407639,
-0.06270173192024231,
-0.037124186754226685,
0.000349898065906018,
0.005187239032238722,
0.06238682568073273,
0.0019791109953075647,
0.01631399802863598,
0.014459537342190742,
0.010566921904683113,
-0.01557921152561903,
-0.01139792986214161,
-0.007811474148184061,
-0.012718794867396355,
0.055703774094581604,
0.0477260947227478,
-0.001471758703701198,
0.0030594212003052235,
-0.035602129995822906,
-0.002733578672632575,
0.02965386211872101,
-0.030581090599298477,
0.04216271638870239,
0.09321284294128418,
0.016768865287303925,
0.02424793690443039,
-0.0012246432015672326,
0.024003008380532265,
0.007076688576489687,
-0.01738118566572666,
-0.002521452959626913,
0.05993754044175148,
-0.012001504190266132,
-0.03343275934457779,
-0.008436917327344418,
-0.04590662568807602,
0.021413762122392654,
-0.030703555792570114,
0.052624668926000595,
-0.001995512517169118,
0.010505689308047295,
0.04601159691810608,
-0.022883333265781403,
-0.023950522765517235,
0.004362791310995817,
-0.008467533625662327,
-0.03105345368385315,
0.003708919510245323,
-0.045276809483766556,
-0.038418807089328766,
0.024387896060943604,
0.007562172133475542,
0.07046946883201599,
-0.016865087673068047,
-0.004684260580688715,
-0.06795020401477814,
-0.02570001222193241,
-0.01971675641834736,
-0.024440379813313484,
-0.0016193720512092113,
0.020801439881324768,
0.007295374758541584,
0.00025968998670578003,
-0.03374766930937767,
0.04940560832619667,
0.015692928805947304,
0.008432543836534023,
-0.07613781839609146,
-0.05675346776843071,
0.025017712265253067,
0.11273715645074844,
-0.040098316967487335,
0.03638939931988716,
0.04496190324425697,
0.017617367208003998,
0.025140175595879555,
0.004964178893715143,
0.025717508047819138,
-0.006337528582662344,
0.0028560429345816374,
0.015535473823547363,
-0.020259099081158638,
0.0047192503698170185,
0.02160620503127575,
-0.02813180536031723,
-0.014004670083522797,
0.0005448022275231779,
-0.01847461797297001,
-0.017564883455634117,
0.03338027745485306,
0.01560545340180397,
0.058502957224845886,
0.005650853738188744,
-0.00663056829944253,
0.05528389662504196,
0.007015456445515156,
0.04086809605360031,
0.022218527272343636,
-0.039188582450151443,
-0.027449503540992737,
-0.0034136930480599403,
-0.08957390487194061,
-0.03985339030623436,
0.0037614041939377785,
0.08264592289924622,
-0.01587662473320961,
0.027292048558592796,
0.04741118848323822,
-0.08019663393497467,
0.010059569031000137,
-0.031893208622932434,
0.008537513203918934,
0.03810390084981918,
0.013978428207337856,
0.015045616775751114,
-0.0427575446665287,
-0.024037998169660568,
0.03796394169330597,
-0.03698422759771347,
-0.05126006528735161,
-0.015421757474541664,
0.019104434177279472,
-0.008738704025745392,
-0.03170076385140419,
0.10587915778160095,
-0.024265430867671967,
-0.013611034490168095,
0.00831882655620575,
0.013208651915192604,
0.008017039857804775,
0.036809276789426804,
0.00928979367017746,
0.00546715734526515,
-0.06329656392335892,
-0.004386846907436848,
0.024055492132902145,
-0.0367392972111702,
-0.04440206661820412,
0.04748116806149483,
-0.00369798531755805,
0.01414462924003601,
0.024160461500287056,
-0.06816014647483826,
-0.006591205019503832,
0.04412214457988739,
0.025962436571717262,
0.017801064997911453,
-0.052624668926000595,
-0.04016829654574394,
-0.010356983169913292,
-0.057313304394483566,
-0.05279961973428726,
-0.006652437150478363,
0.08103639632463455,
-0.1172158494591713,
-0.00450931116938591,
-0.005532763432711363,
-0.05416421964764595,
0.03694923594594002,
0.026417303830385208,
0.03785897046327591,
-0.0035361573100090027,
0.028219278901815414,
0.03301288187503815,
-0.038208868354558945,
0.04734120890498161,
0.04877579212188721,
0.019191909581422806,
-0.06885994225740433,
-0.02575249783694744,
-0.006368144880980253,
0.015754161402583122,
0.052624668926000595,
0.015456747263669968,
-0.03299538791179657,
0.04454202577471733,
0.02256842516362667,
-0.02192111313343048,
-0.031035957857966423,
-0.038208868354558945,
-0.06613073498010635,
0.03516475483775139,
-0.0211163479834795,
-0.03491982817649841,
0.012911238707602024,
-0.04146292060613632,
-0.0027007756289094687,
-0.014669476076960564,
-0.0226209107786417,
0.021081358194351196,
-0.0710643008351326,
0.004294998943805695,
-0.0038029546849429607,
-0.04737619683146477,
0.035287220031023026,
0.018072234466671944,
-0.042092736810445786,
0.018404638394713402,
0.011686595156788826,
-0.025017712265253067,
-0.07284877449274063,
-0.02256842516362667,
-0.040203288197517395,
-0.0442621074616909,
-0.001846805796958506,
0.0024973973631858826,
0.03163078427314758,
0.0027029626071453094,
0.03411506116390228,
0.03936353325843811,
0.022236023098230362,
0.0322955921292305,
0.03981839865446091,
0.02419545128941536,
-0.01868455670773983,
-0.033030375838279724,
0.0006205223617143929,
-0.010164539329707623,
0.0764877200126648,
0.013007461093366146,
-0.007540303282439709,
0.01326113659888506,
0.0670754611492157,
-0.025630032643675804,
-0.0685800239443779,
0.025612538680434227,
-0.04888075962662697,
-0.06452120095491409,
0.029513902962207794,
-0.03549715876579285,
-0.009464742615818977,
-0.011362940073013306,
0.028639156371355057,
-0.0001477499317843467,
0.018859505653381348,
0.02877911552786827,
0.006018246989697218,
-0.04541676864027977,
-0.011852797120809555,
0.009735913947224617,
0.03859375789761543,
-0.03943351283669472,
-0.01501062698662281,
0.04849587380886078,
0.013882205821573734,
0.029338952153921127,
-0.011511646211147308,
-0.05237974226474762,
0.02181614376604557,
-0.01287624891847372,
0.02106386423110962,
0.09468241780996323,
-0.03498980775475502,
0.06532596796751022,
0.04412214457988739,
0.08817431330680847,
-0.04093807563185692,
-0.02165869064629078,
0.03066856600344181,
-0.027886876836419106,
0.04293249174952507,
-0.04440206661820412,
-0.00441527646034956,
-0.026539769023656845,
-0.0045224325731396675,
-0.02396801859140396,
-0.02500021643936634,
-0.018072234466671944,
0.02774691767990589,
-0.023408180102705956,
0.013838469050824642,
-0.005589621607214212,
0.013750993646681309,
0.0008840393275022507,
-0.016550177708268166,
-0.021588711068034172,
-0.010986799374222755,
0.042687565088272095,
-0.05346442386507988,
-0.01517682895064354,
-0.047166258096694946,
-0.04153290018439293,
-0.043667279183864594,
-0.019139423966407776,
-0.029496407136321068,
0.055633794516325,
-0.028429217636585236,
-0.003295602509751916,
-0.008572502993047237,
-0.019139423966407776,
0.024037998169660568,
-0.04132296144962311,
0.034429971128702164,
0.003017870942130685,
0.04611656442284584,
-0.07375851273536682,
-0.04342234879732132,
-0.09118343889713287,
0.02575249783694744,
-0.021798649802803993,
0.09454245865345001,
0.030983474105596542,
0.006661184597760439,
-0.03311785310506821,
-0.01884201169013977,
-0.028201784938573837,
0.0018293107859790325,
-0.04163787141442299,
-0.013838469050824642,
0.016821349039673805,
0.021361276507377625,
0.023565635085105896,
0.0387687049806118,
-0.03519974648952484,
0.019611787050962448,
-0.05129505693912506,
0.026207365095615387,
0.012342654168605804,
0.057803161442279816,
-0.02758946269750595,
0.031123433262109756,
-0.009202319197356701,
0.059692610055208206,
-0.006521225441247225,
0.03322282060980797,
0.02926897257566452,
-0.04121799394488335,
-0.0157716553658247,
0.02090640924870968,
-0.02834174409508705,
0.03439497947692871,
-0.04111302271485329,
-0.0631566047668457,
-0.03813888877630234,
-0.014328326098620892,
0.009202319197356701,
0.01701379381120205,
0.021903619170188904,
-0.02031158283352852,
-0.06252678483724594,
-0.061687029898166656,
0.07438833266496658,
-0.00017248881340492517,
0.025630032643675804,
0.01717999577522278,
-0.05976258963346481,
0.07690759748220444,
-0.000023201248041004874,
0.027187079191207886,
0.024667814373970032,
0.05307953804731369,
0.03271546959877014,
-0.04058817774057388,
-0.032313086092472076,
0.05279961973428726,
-0.01878952607512474,
0.010776860639452934,
0.04314243048429489,
-0.0002652938128449023,
-0.013488570228219032,
-0.007011082489043474,
-0.026469789445400238,
0.0345524325966835,
-0.006591205019503832,
0.011327950283885002,
0.005852045025676489,
-0.04195277765393257,
0.04737619683146477
]
|
37,055 | sphinx_autodoc_typehints | _is_dataclass | null | def _is_dataclass(name: str, what: str, qualname: str) -> bool:
# generated dataclass __init__() and class need extra checks, as the function operates on the generated class
# and methods (not an instantiated dataclass object) it cannot be replaced by a call to
# `dataclasses.is_dataclass()` => check manually for either generated __init__ or generated class
return (what == "method" and name.endswith(".__init__")) or (what == "class" and qualname.endswith(".__init__"))
| (name: str, what: str, qualname: str) -> bool | [
0.05902806669473648,
0.0002523935690987855,
0.028170879930257797,
-0.007192940916866064,
-0.040365301072597504,
-0.015304881148040295,
0.01340502593666315,
0.05814441293478012,
0.07472175359725952,
0.00126362475566566,
0.016550833359360695,
0.029708435758948326,
0.041461031883955,
-0.027835089713335037,
-0.012530209496617317,
-0.03515174239873886,
0.0017882940592244267,
0.0663093701004982,
-0.03000887855887413,
-0.03181153163313866,
-0.05270110443234444,
0.054185643792152405,
-0.015048622153699398,
0.028312264010310173,
0.051039837300777435,
0.08603252470493317,
0.00151325692422688,
0.0215434767305851,
-0.017655400559306145,
0.011213565245270729,
-0.0945155993103981,
-0.024159090593457222,
0.02369959093630314,
0.04082480072975159,
0.06638006120920181,
0.0245832446962595,
0.04690433666110039,
-0.012273949570953846,
-0.06701629608869553,
-0.02143743820488453,
0.005885133519768715,
0.01912226527929306,
-0.05697798728942871,
-0.005266576074063778,
0.001671210047788918,
-0.004263628739863634,
-0.016656871885061264,
0.04061272367835045,
-0.06326960027217865,
-0.036335837095975876,
0.010506642051041126,
-0.03916352987289429,
0.029248936101794243,
0.05793233588337898,
0.002882920205593109,
-0.01906924694776535,
0.009543459862470627,
0.11254213005304337,
-0.02431814931333065,
0.011019160971045494,
0.014650978147983551,
0.020041264593601227,
0.01896320842206478,
-0.050156183540821075,
-0.04259210824966431,
0.026615649461746216,
-0.021472783759236336,
-0.03267751261591911,
-0.03707810863852501,
0.04071876034140587,
-0.05005014315247536,
0.009269527159631252,
0.022144360467791557,
0.08659806102514267,
0.0026774706784635782,
-0.0397997610270977,
-0.03271285817027092,
-0.02293964847922325,
-0.000615796132478863,
-0.02161416970193386,
0.013882199302315712,
-0.02546689845621586,
-0.04845956712961197,
-0.07288375496864319,
-0.01461563166230917,
-0.008381455205380917,
-0.07139921933412552,
0.0226568803191185,
-0.008217979222536087,
-0.0541502982378006,
-0.038597993552684784,
0.02078353427350521,
0.04591464623808861,
0.029160570353269577,
0.006088373716920614,
-0.013776160776615143,
0.012857160530984402,
0.0018678229534998536,
0.0035125233698636293,
-0.005328431725502014,
0.03405601158738136,
0.013475718908011913,
0.07079833000898361,
0.0038593574427068233,
-0.018998553976416588,
-0.003972023259848356,
-0.03934026136994362,
0.022197380661964417,
-0.07359068095684052,
-0.04792937636375427,
-0.002653170144185424,
0.017425650730729103,
0.023081034421920776,
0.04764660447835922,
0.038597993552684784,
-0.11134035885334015,
0.01779678463935852,
0.0022709898184984922,
-0.039870452135801315,
-0.011478661559522152,
0.051039837300777435,
0.01901622675359249,
0.006649493705481291,
-0.01284832414239645,
0.02675703354179859,
-0.03557589650154114,
0.03228870406746864,
0.0215434767305851,
-0.013617102988064289,
-0.04262745380401611,
0.10511943697929382,
-0.004634763579815626,
-0.05450375750660896,
0.00914581585675478,
0.019051572307944298,
0.03905749320983887,
0.06977329403162003,
0.05185279622673988,
-0.05503395199775696,
0.0004846288065891713,
0.05627106502652168,
0.028754090890288353,
0.012901343405246735,
0.034126706421375275,
-0.03073347546160221,
0.02293964847922325,
-0.055846910923719406,
0.0042525832541286945,
-0.020748188719153404,
-0.03174084052443504,
-0.021455110982060432,
-0.040966182947158813,
0.006220921874046326,
0.01839767023921013,
-0.040648069232702255,
-0.04503099247813225,
-0.024848341941833496,
-0.03905749320983887,
-0.01602064073085785,
-0.03301330283284187,
0.012167911045253277,
-0.023664245381951332,
-0.0342504158616066,
-0.013740814290940762,
0.0018357904627919197,
0.003983068745583296,
-0.09310174733400345,
-0.0701621025800705,
-0.0010625935392454267,
0.0629868358373642,
0.0309455506503582,
-0.0007361939642578363,
0.044854260981082916,
0.010153180919587612,
-0.00703388312831521,
-0.009543459862470627,
-0.0028299009427428246,
-0.021296054124832153,
0.062421295791864395,
-0.002712816698476672,
0.0641179084777832,
-0.0024565572384744883,
-0.012000016868114471,
0.03640653192996979,
-0.006874825339764357,
0.02338147535920143,
-0.0012360105756670237,
-0.02585570700466633,
0.061360910534858704,
0.0081472871825099,
-0.03465689718723297,
-0.01762889139354229,
-0.023752611130475998,
0.02896616794168949,
0.07366137206554413,
-0.04266279935836792,
0.0018114900449290872,
0.07783221453428268,
0.02541388012468815,
0.011982344090938568,
0.01563183404505253,
0.013572920113801956,
0.054079603403806686,
-0.048318181186914444,
-0.005730493925511837,
0.014103112742304802,
0.03273053094744682,
0.04538445174694061,
-0.037997107952833176,
-0.0486362986266613,
-0.012150238268077374,
-0.07740806043148041,
0.003245218191295862,
0.05867460370063782,
0.03725484013557434,
-0.0030949970241636038,
0.10929028689861298,
-0.06432998925447464,
-0.010709882713854313,
-0.0001759023143677041,
0.08193236589431763,
0.07839775085449219,
-0.012035363353788853,
0.07344929128885269,
0.0007063706289045513,
-0.04057737812399864,
-0.04538445174694061,
0.057013336569070816,
0.03034466691315174,
-0.04665691405534744,
-0.0196171123534441,
0.011637718416750431,
0.027976475656032562,
-0.0013343170285224915,
0.015163497067987919,
0.042910221964120865,
0.058321140706539154,
0.042026568204164505,
-0.012441843748092651,
-0.007727551274001598,
-0.01901622675359249,
0.012132564559578896,
-0.05171141400933266,
-0.02619149535894394,
-0.03767899423837662,
-0.08101336658000946,
-0.023805629462003708,
0.04188518226146698,
-0.008381455205380917,
-0.02338147535920143,
-0.031122282147407532,
0.007939628325402737,
-0.046975027769804,
-0.0674404501914978,
-0.02060680277645588,
-0.029991205781698227,
-0.044571492820978165,
-0.011761430650949478,
0.0558115653693676,
-0.0007030569249764085,
0.005434470251202583,
-0.0047275470569729805,
0.03356116637587547,
0.10243313014507294,
-0.04513702914118767,
-0.011125199496746063,
0.012424170970916748,
-0.004215028136968613,
-0.04117825999855995,
-0.0325891487300396,
0.04057737812399864,
-0.00041890706052072346,
0.03073347546160221,
-0.006366724614053965,
-0.022639207541942596,
-0.043475762009620667,
0.008827700279653072,
-0.07981160283088684,
0.0107805747538805,
-0.01265392079949379,
0.015322554856538773,
-0.009985286742448807,
0.021455110982060432,
-0.000614691583905369,
0.006234176456928253,
-0.05224160477519035,
-0.01580856367945671,
0.008089849725365639,
-0.01052431482821703,
0.023611225187778473,
-0.023752611130475998,
-0.038103144615888596,
0.021243033930659294,
-0.0021815199870616198,
0.048883721232414246,
0.026562629267573357,
0.018203265964984894,
-0.03955233842134476,
0.0012724612606689334,
-0.03842126205563545,
-0.0072061954997479916,
0.003017677227035165,
0.03304864838719368,
-0.013864526525139809,
-0.024936705827713013,
0.008385873399674892,
-0.008916065096855164,
-0.05181745067238808,
-0.020924918353557587,
-0.00565096503123641,
0.009658334776759148,
0.036441877484321594,
0.0016579552320763469,
0.013396189548075199,
0.029248936101794243,
0.029354974627494812,
0.017328448593616486,
0.009189997799694538,
-0.024512553587555885,
0.04842422157526016,
-0.02387632243335247,
0.037325531244277954,
0.006724604405462742,
-0.05757887288928032,
-0.02028868906199932,
-0.020041264593601227,
0.0038240111898630857,
-0.015817400068044662,
-0.007621512748301029,
0.02039472758769989,
-0.03962302953004837,
-0.005810022819787264,
0.0751459077000618,
0.006304868962615728,
0.03232404962182045,
0.0010068129049614072,
-0.017832130193710327,
-0.03326072543859482,
0.015534631907939911,
-0.02491903305053711,
0.046621568500995636,
-0.01306923758238554,
0.03499268367886543,
0.00862004142254591,
0.02769370563328266,
0.018167918547987938,
-0.026704013347625732,
0.002949194051325321,
0.09550528973340988,
0.03474526107311249,
-0.041531722992658615,
-0.062032487243413925,
0.023081034421920776,
-0.0014701788313686848,
0.05651848763227463,
-0.014739342965185642,
0.03557589650154114,
0.029991205781698227,
-0.01845068857073784,
-0.003044186858460307,
0.1044125184416771,
-0.0020169394556432962,
0.00505449902266264,
-0.007497801445424557,
-0.034515511244535446,
0.009101632982492447,
-0.012821814976632595,
0.0026244514156132936,
0.01680709235370159,
0.020624477416276932,
-0.0497320294380188,
-0.041637759655714035,
-0.02239178493618965,
-0.05846252664923668,
-0.006269522942602634,
-0.015720197930932045,
0.012132564559578896,
-0.006296032574027777,
-0.02967309020459652,
-0.014103112742304802,
-0.01922830380499363,
0.012662757188081741,
-0.008337272331118584,
-0.02712816745042801,
0.008708407171070576,
-0.006627402734011412,
-0.042804185301065445,
0.02364657260477543,
0.0006682630628347397,
-0.027764398604631424,
0.0013011799892410636,
0.03615910932421684,
-0.008889555931091309,
-0.01152284350246191,
-0.038209185004234314,
0.0008797876653261483,
-0.0375729538500309,
0.026456590741872787,
-0.02071284130215645,
0.05577621981501579,
-0.034621551632881165,
-0.028312264010310173,
0.07274237275123596,
0.018592072650790215,
0.0026067784056067467,
0.005743748974055052,
0.04658622294664383,
-0.04181449115276337,
-0.018114900216460228,
-0.00900443084537983,
0.060477256774902344,
-0.020924918353557587,
-0.025820359587669373,
0.01834465004503727,
0.03736087679862976,
0.07115179300308228,
0.04230933636426926,
-0.016842439770698547,
0.0536201037466526,
0.03499268367886543,
0.0004492826701607555,
0.034621551632881165,
0.056447796523571014,
0.024671610444784164,
0.0017728301463648677,
0.038315221667289734,
-0.026209168136119843,
-0.021260706707835197,
0.01453610323369503,
0.001120030996389687,
-0.06917241215705872,
0.011814449913799763,
-0.018927861005067825,
-0.021896937862038612,
0.008416800759732723,
-0.02067749574780464,
-0.03905749320983887,
0.006662748754024506,
-0.00895582977682352,
-0.012159074656665325,
-0.06033587083220482,
-0.05185279622673988,
-0.030238628387451172,
0.009136978536844254,
-0.05181745067238808,
-0.0524890273809433,
0.00039074060623534024,
0.029637744650244713,
0.058391835540533066,
-0.01928132399916649,
0.001293448032811284,
0.05263041332364082,
-0.03585866466164589,
-0.0014403554378077388,
0.0033357925713062286,
-0.045313760638237,
0.0066229840740561485,
-0.02956705167889595,
0.01839767023921013,
-0.04220329970121384,
-0.07387344539165497,
0.022179707884788513,
-0.032076627016067505,
-0.01587042026221752,
0.026880744844675064,
0.05376148968935013,
-0.03117530234158039,
-0.025237148627638817,
0.004279092885553837,
-0.010718719102442265,
0.033967647701501846,
0.020818879827857018,
0.07316652685403824,
-0.028418302536010742,
0.0006920112646184862,
0.02453022636473179,
-0.016064824536442757,
0.05001479759812355,
0.012777632102370262,
0.03697206825017929,
0.07189406454563141,
0.0036251891870051622,
0.04450079798698425,
-0.00007372985419351608,
-0.004723128862679005,
-0.059204794466495514,
-0.0629868358373642,
-0.021296054124832153,
0.002099781995639205,
-0.05347872152924538,
0.005955825559794903,
0.014456573873758316,
0.017805621027946472,
0.010453622788190842,
0.03863333910703659,
0.012901343405246735,
0.07747875154018402,
0.03508105129003525,
-0.03697206825017929,
-0.011761430650949478,
0.02442418783903122,
0.021419765427708626,
-0.03626514598727226,
-0.02590872533619404,
-0.017213573679327965,
-0.046833645552396774,
0.005633292254060507,
-0.005284248851239681,
0.025997091084718704,
0.014774689450860023,
-0.017814457416534424,
0.0018192220013588667,
0.018998553976416588,
0.08037713915109634,
0.08737567812204361,
0.006706931162625551,
-0.020200323313474655,
-0.01719590090215206,
-0.07228287309408188,
0.023911667987704277,
0.009128142148256302,
0.0077231330797076225,
0.01580856367945671,
0.016736401244997978,
-0.02000591903924942,
0.04322833940386772,
-0.001624818192794919,
0.0015254071913659573,
0.014120785519480705,
0.018220938742160797,
0.03170549497008324,
-0.014765853062272072,
0.03128134086728096,
0.03951699286699295,
-0.036229800432920456,
0.024848341941833496,
-0.01940503530204296,
0.037820376455783844,
0.012857160530984402,
0.017001496627926826,
0.03951699286699295,
-0.008315181359648705,
0.03796176239848137,
-0.0005754794692620635,
0.00025625957641750574,
0.014597958885133266,
0.03034466691315174,
-0.012273949570953846,
0.02149045653641224,
-0.00432327575981617,
0.009044195525348186,
0.01384685281664133,
-0.03785572201013565,
-0.005191465374082327,
0.05178210511803627,
0.016674544662237167,
0.04167310893535614,
0.01912226527929306,
-0.013617102988064289,
0.019316669553518295,
-0.02923126332461834,
0.02133139967918396,
0.06701629608869553,
-0.009622988291084766,
-0.034356456249952316,
-0.03955233842134476,
-0.009437421336770058,
0.02437116764485836,
-0.02840062975883484,
-0.03430343419313431,
0.00621650367975235,
-0.004696619231253862,
0.011805612593889236,
0.047611258924007416,
0.02652728371322155,
0.04040064662694931,
-0.012521372176706791,
0.015402083285152912,
-0.01674523763358593,
-0.11954066902399063,
0.04305160790681839,
-0.0027702541556209326,
-0.030539071187376976,
-0.027605339884757996,
-0.04238003119826317,
-0.07192941009998322,
-0.024247456341981888,
-0.02065982297062874,
-0.014023583382368088,
-0.06581452488899231,
0.005571436602622271,
0.1049780547618866,
0.007572912145406008,
-0.05185279622673988,
0.057437486946582794,
0.001451401156373322,
0.02603243663907051,
-0.006896916776895523,
0.027676032856106758,
-0.02536085993051529,
-0.030592089518904686,
0.05054498836398125,
-0.04057737812399864,
-0.023010341450572014,
0.011010324582457542,
-0.016992660239338875,
-0.05001479759812355,
-0.0017783530056476593,
0.011867469176650047,
0.004230491816997528,
0.02497205324470997,
0.017213573679327965,
0.043581798672676086,
0.01321062259376049,
0.019493399187922478,
-0.02808251418173313,
-0.025519918650388718,
-0.04248606786131859,
0.009941103868186474,
0.03133435919880867,
-0.01845068857073784,
-0.017443323507905006,
0.06652145087718964,
0.012565555050969124,
-0.04177914559841156,
-0.017620055004954338,
-0.040648069232702255,
-0.02962007187306881,
0.012636247090995312,
-0.08002367615699768,
0.010612680576741695,
-0.015896929427981377,
0.018167918547987938,
-0.048388876020908356,
-0.022621534764766693,
-0.025678975507616997,
-0.06881894916296005,
0.006949936039745808,
0.013723141513764858,
-0.023081034421920776,
-0.016268063336610794,
0.03110460937023163,
-0.0013155393535271287,
0.04294556751847267,
-0.050757065415382385,
-0.04453614354133606,
0.07797359675168991,
-0.04552583768963814,
0.00035898431087844074,
-0.047505222260951996,
-0.020200323313474655,
0.01475701667368412,
0.028117859736084938,
-0.022974995896220207,
0.02491903305053711,
-0.031122282147407532,
-0.05715471878647804,
-0.02553759142756462,
0.0146421417593956,
-0.036936722695827484,
0.03306632116436958,
-0.04481891542673111,
0.023752611130475998,
-0.03140505030751228,
0.054963257163763046,
0.018609745427966118,
0.009172325022518635,
-0.029885167255997658,
0.019740823656320572,
-0.02907220646739006,
-0.0845479816198349,
0.0972725972533226,
0.024406515061855316,
-0.0762769877910614,
-0.03027397394180298,
-0.03168782219290733,
-0.014324026182293892,
-0.06394118070602417,
0.02984982170164585,
-0.013599430210888386,
-0.04245072230696678,
0.014995602890849113,
-0.02779974415898323,
0.011487497948110104,
0.0185213815420866,
0.07044486701488495,
0.008712825365364552,
-0.06765252351760864,
0.06196179613471031,
-0.05768491327762604,
0.002003684639930725,
0.0007500010542571545,
0.022020649164915085,
0.024441860616207123,
0.0591341033577919,
-0.03637118637561798,
-0.025997091084718704,
0.03965837508440018,
-0.03386160731315613,
-0.018433015793561935,
0.02005893923342228,
0.021790899336338043,
-0.002476439345628023,
0.00856260396540165,
-0.014960256405174732,
-0.0018269539577886462,
-0.05991172045469284,
0.027711378410458565,
0.058497872203588486,
0.007356416899710894,
-0.008938156999647617,
0.04906045272946358,
-0.02447720617055893,
-0.07253029197454453,
0.021366745233535767,
-0.04061272367835045,
-0.016453631222248077,
0.03729018568992615,
0.02426512911915779,
-0.037714339792728424,
0.04930787533521652,
0.050085488706827164,
-0.008946993388235569,
-0.023681918159127235,
-0.039976492524147034,
-0.011381459422409534,
-0.00812077708542347,
-0.06804133206605911,
0.012945526279509068,
0.005792349576950073,
0.004283511079847813,
-0.010683372616767883,
-0.07599421590566635,
0.03912818431854248,
-0.017257755622267723,
-0.014023583382368088,
-0.007184104528278112,
-0.0006594265578314662,
-0.034073684364557266,
0.025838034227490425,
-0.06662748754024506,
0.028488993644714355,
0.05319594964385033,
0.02751697599887848,
-0.020536111667752266,
-0.0072061954997479916,
0.02889547497034073,
0.04223864525556564,
0.03796176239848137,
0.009066286496818066,
0.08921367675065994,
-0.018362322822213173,
-0.020324034616351128,
-0.03273053094744682,
0.03089253231883049,
0.02364657260477543,
-0.02917824499309063,
-0.02719886042177677,
0.038704030215740204,
-0.07387344539165497,
-0.015605323947966099,
0.013440372422337532,
0.03253612667322159,
-0.025838034227490425,
-0.00009692575986264274,
0.00011880999954883009,
0.009543459862470627,
0.009711354039609432
]
|
37,056 | sphinx_autodoc_typehints | _is_newtype | null | def _is_newtype(annotation: Any) -> bool:
if sys.version_info < (3, 10):
return inspect.isfunction(annotation) and hasattr(annotation, "__supertype__")
return isinstance(annotation, NewType)
| (annotation: Any) -> bool | [
0.017214814200997353,
-0.01715289056301117,
-0.015215560793876648,
0.015206714160740376,
-0.020753316581249237,
-0.020841779187321663,
0.027441086247563362,
0.043700505048036575,
-0.0013755927793681622,
0.020027924329042435,
0.015887875109910965,
-0.0545990914106369,
-0.0038061016239225864,
-0.030731894075870514,
-0.02001023106276989,
-0.01568441279232502,
-0.014490167610347271,
0.045646682381629944,
0.02096562646329403,
-0.037366583943367004,
-0.08258865028619766,
0.06365765631198883,
0.009518571197986603,
-0.008346443064510822,
0.04592975974082947,
0.06461305171251297,
0.027547242119908333,
0.029634958133101463,
0.045823607593774796,
0.03235960379242897,
-0.08662253618240356,
-0.07749320566654205,
0.06655923277139664,
0.023920277133584023,
0.04111739993095398,
0.03503117337822914,
-0.035561949014663696,
0.04115278273820877,
0.01005819346755743,
0.0018809351604431868,
-0.022274872288107872,
0.04603591561317444,
-0.10268734395503998,
-0.008527791127562523,
0.039560455828905106,
-0.02048792876303196,
-0.015542872250080109,
0.014897095039486885,
-0.030572660267353058,
0.03508425131440163,
0.01542787067592144,
-0.07243314385414124,
0.031209591776132584,
0.0494682639837265,
-0.07388392835855484,
0.015127098187804222,
0.0315103642642498,
0.05024673417210579,
-0.05622680485248566,
0.030130349099636078,
0.010252811014652252,
0.024716438725590706,
0.006634692195802927,
-0.06457766890525818,
0.02975880540907383,
-0.021018704399466515,
-0.025494910776615143,
-0.038463521748781204,
0.007926245220005512,
0.017559818923473358,
-0.07094697654247284,
0.023318730294704437,
0.012057446874678135,
0.03030727244913578,
-0.010650892741978168,
-0.04097585752606392,
-0.05750066414475441,
-0.0008116440149024129,
0.030024193227291107,
-0.0021264187525957823,
-0.01829405687749386,
-0.028821101412177086,
-0.0019384358311071992,
0.027104929089546204,
0.038428135216236115,
0.02503490447998047,
-0.08166863769292831,
0.00582525972276926,
-0.004838902037590742,
-0.0007524846587330103,
-0.04953903332352638,
0.023407192900776863,
0.010854355990886688,
-0.004056008532643318,
0.004953903611749411,
-0.03987892344594002,
0.06394074112176895,
-0.0630207285284996,
0.08860410004854202,
-0.023424886167049408,
0.04646053537726402,
0.01963868923485279,
0.006586037576198578,
-0.028378790244460106,
0.010827817022800446,
0.036481961607933044,
0.02476951666176319,
0.03825121000409126,
-0.03202344849705696,
0.038569677621126175,
0.029404954984784126,
-0.012888994999229908,
-0.008443751372396946,
0.027352623641490936,
-0.01587018370628357,
-0.023000266402959824,
0.019620995968580246,
-0.013932853005826473,
0.004922941327095032,
0.0019439647439867258,
0.03280191868543625,
0.0236371960490942,
0.002572048921138048,
-0.02278795652091503,
0.06294995546340942,
0.0052060214802622795,
0.015304023399949074,
-0.013525925576686859,
0.009881268255412579,
0.00927087664604187,
-0.025494910776615143,
0.0472743920981884,
-0.07232698798179626,
0.023035651072859764,
-0.04766362905502319,
0.011756674386560917,
-0.03917122259736061,
-0.006811617407947779,
-0.06270226091146469,
-0.08761332184076309,
-0.0424974150955677,
0.042568184435367584,
0.09292107075452805,
-0.0309618953615427,
-0.08004092425107956,
0.042143564671278,
-0.05633295699954033,
0.012685530818998814,
-0.030784972012043,
-0.04858363792300224,
-0.007439701352268457,
-0.02664492279291153,
-0.03276653215289116,
0.01909022033214569,
-0.02397335320711136,
0.010933972895145416,
0.029298800975084305,
-0.03451809287071228,
-0.009633572772145271,
-0.025919530540704727,
0.0019505994860082865,
0.00232214224524796,
-0.035561949014663696,
-0.06153455749154091,
0.02070023864507675,
-0.01829405687749386,
0.016613269224762917,
-0.03246575966477394,
-0.035314254462718964,
0.0699915811419487,
-0.000024551816750317812,
0.040480468422174454,
0.07713935524225235,
0.01770135760307312,
0.010173194110393524,
0.09228414297103882,
-0.016427498310804367,
0.004838902037590742,
0.04391281679272652,
0.024893363937735558,
0.06652384251356125,
-0.04309896007180214,
-0.018700985237956047,
0.005321023054420948,
0.04132970795035362,
0.037614282220602036,
-0.04002046212553978,
-0.024274127557873726,
-0.0002850153250619769,
0.015224406495690346,
-0.018329443410038948,
0.004750439431518316,
0.020381774753332138,
-0.017904821783304214,
0.024327203631401062,
-0.02346027083694935,
-0.021531786769628525,
0.05049442872405052,
-0.04660207778215408,
0.0637638121843338,
0.010111270472407341,
0.023247960954904556,
-0.009845882654190063,
-0.023725658655166626,
-0.011429362930357456,
-0.0029059951193630695,
-0.004496109671890736,
-0.0196033027023077,
0.050777509808540344,
-0.08145632594823837,
-0.020364081487059593,
-0.03168728947639465,
0.016887502744793892,
0.054032932966947556,
-0.007890860550105572,
-0.022416412830352783,
0.02330103889107704,
-0.013738235458731651,
-0.013605541549623013,
0.002474740147590637,
0.07699781656265259,
0.06893002986907959,
-0.05374985188245773,
0.051732905209064484,
0.023336423560976982,
-0.007116813212633133,
-0.008439328521490097,
0.018417906016111374,
0.010509352199733257,
-0.03572118282318115,
-0.017276737838983536,
-0.016684038564562798,
-0.008872794918715954,
0.033509619534015656,
0.006356034893542528,
0.006444497499614954,
0.022487182170152664,
0.03718965873122215,
-0.001857713796198368,
0.003677831031382084,
0.0050025577656924725,
-0.01214590948075056,
-0.04493898153305054,
0.03623426333069801,
-0.039701998233795166,
-0.04281587898731232,
-0.03910045325756073,
0.07261007279157639,
-0.01660442352294922,
0.005714681465178728,
-0.001919637550599873,
-0.0879671722650528,
-0.014729016460478306,
-0.007709512021392584,
0.007687396369874477,
0.04854825511574745,
-0.03612811118364334,
-0.043488193303346634,
0.034907326102256775,
-0.0271226204931736,
-0.0038083132822066545,
0.047592855989933014,
0.045646682381629944,
0.048831332474946976,
-0.028201865032315254,
-0.03658811375498772,
0.0520513691008091,
0.030431121587753296,
-0.01946176402270794,
-0.0289449505507946,
0.09391185641288757,
0.02045254409313202,
-0.00002325597779417876,
0.003562829690054059,
0.017099812626838684,
-0.10346581041812897,
-0.026485690847039223,
-0.002572048921138048,
0.00690892618149519,
-0.022664107382297516,
0.03764966502785683,
-0.02216871827840805,
0.006820463575422764,
-0.0018267518607899547,
-0.05109597370028496,
0.005219290964305401,
0.011349746957421303,
0.03267807140946388,
-0.015958646312355995,
-0.025123367086052895,
-0.03772043436765671,
-0.013844390399754047,
0.034500397741794586,
0.04798209294676781,
0.018860217183828354,
0.10473967343568802,
0.017648281529545784,
0.03044881299138069,
-0.0028971489518880844,
-0.03533194586634636,
0.07013311982154846,
-0.01681673340499401,
-0.050671353936195374,
-0.04292203485965729,
0.025884145870804787,
0.002461470663547516,
-0.0038503329269587994,
-0.010668585076928139,
-0.06139301881194115,
0.05152059718966484,
-0.0015204502269625664,
0.045752838253974915,
-0.08492405712604523,
-0.01561364158987999,
0.024893363937735558,
-0.011570902541279793,
0.00448062876239419,
-0.03910045325756073,
0.014233626425266266,
0.08223479986190796,
-0.030059577897191048,
-0.008284518495202065,
0.00394764170050621,
-0.011827444657683372,
-0.03803890198469162,
-0.06723154336214066,
0.04394819959998131,
-0.009226645343005657,
-0.039525073021650314,
-0.008160671219229698,
0.0005183353205211461,
-0.04493898153305054,
0.06043761968612671,
-0.0017725685611367226,
-0.036517344415187836,
0.0025941645726561546,
-0.018718678504228592,
-0.05215752497315407,
-0.02990034595131874,
0.03821582719683647,
-0.02862648479640484,
0.009279722347855568,
0.007537010125815868,
0.047592855989933014,
-0.025194136425852776,
0.008859525434672832,
-0.004504955839365721,
0.0196033027023077,
0.06638230383396149,
-0.01511825155466795,
-0.0692484900355339,
-0.08067785203456879,
-0.04239125922322273,
0.005307753570377827,
0.033509619534015656,
-0.05236983671784401,
0.02429181896150112,
0.024981826543807983,
-0.0040294695645570755,
-0.0443374365568161,
0.005524486768990755,
0.023000266402959824,
0.036075033247470856,
-0.02165563404560089,
-0.04497436434030533,
0.03235960379242897,
0.02961726486682892,
0.019992539659142494,
0.014817479066550732,
0.006064108572900295,
0.007616626564413309,
-0.04341742396354675,
-0.0027976285200566053,
-0.012924379669129848,
-0.01623287983238697,
-0.01257053017616272,
-0.053820621222257614,
-0.007612203247845173,
-0.06878848373889923,
0.004631015006452799,
-0.018524060025811195,
0.02059408463537693,
-0.04592975974082947,
-0.019620995968580246,
0.06510844826698303,
0.029263414442539215,
-0.002201611874625087,
-0.01864790730178356,
-0.03924199193716049,
-0.009394723922014236,
-0.009111643768846989,
0.019178682938218117,
-0.030395735055208206,
-0.0326249934732914,
-0.002213775645941496,
-0.0022524779196828604,
-0.035420410335063934,
-0.012888994999229908,
0.011270130053162575,
0.07947476208209991,
0.04224972054362297,
-0.020753316581249237,
0.028308019042015076,
0.0170467346906662,
0.012543991208076477,
0.0001466543326387182,
0.031032666563987732,
-0.0118185980245471,
-0.03499579057097435,
-0.020894857123494148,
0.0578899011015892,
-0.02257564477622509,
-0.06931926310062408,
-0.008364135399460793,
0.03867582976818085,
0.08322557806968689,
0.044868212193250656,
-0.0487251803278923,
0.013154382817447186,
-0.011261284351348877,
0.014667092822492123,
0.041612789034843445,
-0.0014353049919009209,
0.05983607470989227,
-0.0020733412820845842,
0.0014585264725610614,
-0.033916544169187546,
0.011730135418474674,
0.02370796538889408,
0.0037884090561419725,
0.03536733239889145,
-0.020771009847521782,
0.038428135216236115,
0.03524348512291908,
-0.03764966502785683,
-0.042780496180057526,
-0.03276653215289116,
-0.011057820171117783,
-0.01641865074634552,
0.04408974200487137,
-0.022593338042497635,
0.007678550202399492,
-0.0058783371932804585,
-0.0017128563486039639,
0.009978576563298702,
-0.009332800284028053,
0.012464375235140324,
0.005259099416434765,
0.0575360506772995,
-0.025742605328559875,
-0.047769781202077866,
0.016445189714431763,
-0.018382519483566284,
0.053997546434402466,
0.0428866483271122,
-0.04638976603746414,
0.0071920063346624374,
-0.032306525856256485,
0.03800351545214653,
-0.01433093473315239,
-0.07395470142364502,
0.045717451721429825,
-0.05962376669049263,
0.03565041348338127,
0.024681054055690765,
-0.031103435903787613,
-0.030024193227291107,
-0.03561502695083618,
-0.030590353533625603,
0.038357365876436234,
0.08152709901332855,
-0.020647162571549416,
0.05735912546515465,
-0.016577884554862976,
0.0014740073820576072,
0.02836109697818756,
0.007497202139347792,
0.013720543123781681,
-0.007497202139347792,
0.05364369601011276,
-0.017011350020766258,
0.029776498675346375,
-0.02209794707596302,
-0.006687769666314125,
-0.03200575336813927,
-0.03630503639578819,
-0.024751825258135796,
-0.0014076605439186096,
-0.012508606538176537,
0.02103639766573906,
-0.020894857123494148,
0.008452598005533218,
0.002525606192648411,
0.03807428479194641,
0.050883665680885315,
-0.04016200080513954,
0.047911323606967926,
0.02121332287788391,
0.024327203631401062,
0.03533194586634636,
0.03159882500767708,
0.057005275040864944,
-0.03987892344594002,
0.0028219555970281363,
0.053891390562057495,
-0.04699131101369858,
0.03683581203222275,
0.012959765270352364,
-0.04833594337105751,
0.03579195216298103,
-0.019267145544290543,
0.021284092217683792,
0.026963388547301292,
0.05265291780233383,
0.0355442576110363,
-0.01212821714580059,
-0.006581614725291729,
-0.020204849541187286,
0.03779120743274689,
-0.008381827734410763,
0.01548094768077135,
-0.010385504923760891,
0.018055208027362823,
-0.07381316274404526,
0.029918037354946136,
0.022770263254642487,
-0.008886064402759075,
-0.004091393668204546,
0.017904821783304214,
0.010597814805805683,
0.02554798685014248,
0.02938726358115673,
-0.004208606202155352,
-0.006108339875936508,
-0.011977830901741982,
0.02572491206228733,
0.00883298646658659,
0.036446575075387955,
0.03460655361413956,
-0.06946080178022385,
0.001007920247502625,
-0.053891390562057495,
-0.0236371960490942,
0.04953903332352638,
-0.012800532393157482,
0.05817297846078873,
0.013039381243288517,
-0.0740254744887352,
-0.005029096733778715,
-0.006170263513922691,
-0.04822978749871254,
0.04741593077778816,
-0.02356642670929432,
0.0586329847574234,
0.032448068261146545,
0.045752838253974915,
-0.003675619373098016,
-0.014888249337673187,
0.02832571230828762,
0.017064427956938744,
-0.0157551821321249,
0.00787759106606245,
0.0542452409863472,
0.024486437439918518,
-0.062206871807575226,
0.008461443707346916,
-0.008691446855664253,
0.06383458524942398,
0.029493417590856552,
0.00040139886550605297,
0.03140420839190483,
-0.0333503857254982,
0.028591100126504898,
-0.06988542526960373,
0.031934984028339386,
-0.02330103889107704,
-0.02514106035232544,
0.039525073021650314,
-0.03772043436765671,
-0.08287172764539719,
-0.03067881613969803,
-0.0018521848833188415,
0.006785078439861536,
-0.04242664575576782,
-0.027529548853635788,
-0.047805167734622955,
-0.04812363162636757,
0.0077360509894788265,
-0.012800532393157482,
-0.026397228240966797,
-0.000035696026316145435,
0.0630207285284996,
0.03902968019247055,
-0.042143564671278,
0.007324700243771076,
-0.02606107108294964,
0.0362696498632431,
0.010199733078479767,
-0.0035230214707553387,
-0.029334185644984245,
-0.03092651069164276,
0.021301785483956337,
-0.0428866483271122,
-0.04960980266332626,
0.0311565138399601,
0.0048079402185976505,
-0.006900079548358917,
0.010465120896697044,
0.022487182170152664,
-0.024574900045990944,
0.05006980895996094,
0.039701998233795166,
0.018240980803966522,
-0.01722365990281105,
0.028785716742277145,
0.006524113938212395,
-0.035491179674863815,
0.004157740157097578,
0.018223287537693977,
0.044832825660705566,
0.029564186930656433,
0.03609272465109825,
0.07268083840608597,
-0.028237249702215195,
-0.05311292037367821,
-0.03828659653663635,
-0.03945430368185043,
-0.03878198564052582,
0.02415027841925621,
-0.09072720259428024,
-0.0011135224485769868,
-0.05930529907345772,
0.035561949014663696,
-0.07112389802932739,
0.0046044765040278435,
-0.05244060605764389,
-0.02250487543642521,
-0.02832571230828762,
0.09971500188112259,
0.043806660920381546,
-0.04960980266332626,
-0.039489686489105225,
-0.01022627204656601,
0.0026450306177139282,
0.015365947037935257,
-0.08541944622993469,
0.057960670441389084,
-0.01777212880551815,
0.019656380638480186,
-0.012968610972166061,
-0.0017482413677498698,
0.0634099617600441,
-0.03312038257718086,
0.014481320977210999,
0.010942818596959114,
-0.01648942194879055,
-0.05332523211836815,
0.061039168387651443,
0.012243218719959259,
-0.03931276127696037,
0.020364081487059593,
-0.038357365876436234,
0.006280841771513224,
0.03416424244642258,
0.09115182608366013,
0.034978095442056656,
0.03276653215289116,
-0.028785716742277145,
0.030466506257653236,
-0.05024673417210579,
-0.005626218859106302,
0.00846586748957634,
0.014189395122230053,
-0.05746528133749962,
0.004412070382386446,
-0.05923452973365784,
-0.01891329512000084,
0.04147125035524368,
0.011066666804254055,
-0.003454463090747595,
-0.03906506672501564,
0.00021866839961148798,
-0.032253447920084,
-0.03147497773170471,
0.011287822388112545,
0.02154948003590107,
0.004443032201379538,
0.009775113314390182,
0.019815614446997643,
-0.06500229239463806,
0.030059577897191048,
-0.043488193303346634,
0.046885158866643906,
0.014684785157442093,
0.051980599761009216,
-0.001785837928764522,
-0.04638976603746414,
0.07848398387432098,
-0.06241918355226517,
-0.025087982416152954,
0.0271226204931736,
0.023141805082559586,
-0.06075608730316162,
0.027352623641490936,
-0.0029679189901798964,
0.04752208665013313,
-0.055094484239816666,
-0.04638976603746414,
0.028608791530132294,
-0.029705727472901344,
-0.03871121630072594,
0.010818971320986748,
0.020098693668842316,
-0.06701923906803131,
-0.017931360751390457,
-0.012791686691343784,
0.01693173497915268,
0.02100101113319397,
0.030395735055208206,
-0.055059097707271576,
0.025017213076353073,
0.020806394517421722,
0.03540271520614624,
0.04345281049609184,
-0.006546229589730501,
-0.018276365473866463,
-0.02982957474887371,
-0.03715427592396736,
-0.03476578742265701,
0.008602984249591827,
0.048654407262802124,
-0.0003571675915736705,
-0.047840554267168045,
-0.016843272373080254,
-0.012490913271903992,
0.013340153731405735,
-0.06822232902050018,
0.041718944907188416,
-0.058137595653533936,
-0.03680042549967766,
-0.02558337338268757,
-0.005387370008975267,
-0.00012516070273704827,
0.01134090032428503,
-0.011137436144053936,
-0.000051764422096312046,
0.0010836663423106074,
0.007227391004562378,
-0.008448174223303795,
0.013800159096717834,
0.046672847121953964,
0.006351612042635679,
-0.02561875805258751,
-0.06687769293785095,
0.01809944026172161,
0.015843644738197327,
0.020717931911349297,
0.04005584865808487,
0.02209794707596302,
0.0013203037669882178,
-0.04118816927075386,
0.00932395365089178,
0.006736423820257187,
-0.02349565550684929,
-0.005913722328841686,
0.02261103130877018,
-0.03580964356660843,
-0.01022627204656601
]
|
37,057 | sphinx_autodoc_typehints | _line_is_param_line_for_arg | Return True if `line` is a valid parameter line for `arg_name`, false otherwise. | def _line_is_param_line_for_arg(line: str, arg_name: str) -> bool:
"""Return True if `line` is a valid parameter line for `arg_name`, false otherwise."""
keyword_and_name = _get_sphinx_line_keyword_and_argument(line)
if keyword_and_name is None:
return False
keyword, doc_name = keyword_and_name
if doc_name is None:
return False
if keyword not in {"param", "parameter", "arg", "argument"}:
return False
return any(doc_name == prefix + arg_name for prefix in ("", "\\*", "\\**", "\\*\\*"))
| (line: str, arg_name: str) -> bool | [
0.02665901929140091,
0.011886578984558582,
0.05782279744744301,
0.045258745551109314,
-0.002604313427582383,
0.007249845657497644,
0.025075314566493034,
0.04036685824394226,
-0.007073878310620785,
-0.0028396695852279663,
0.0014286331133916974,
0.0002977693802677095,
0.016232967376708984,
0.0071662613190710545,
-0.016523312777280807,
-0.02588476426899433,
0.01295997854322195,
0.04670167341828346,
-0.08277493715286255,
-0.0518399141728878,
0.010144504718482494,
0.023174870759248734,
0.00361172528937459,
0.017007222399115562,
0.02919294685125351,
0.0032993836794048548,
0.07721437513828278,
-0.025268878787755966,
-0.0437806211411953,
0.0007544590625911951,
0.008679578080773354,
-0.03153330832719803,
0.04543471336364746,
0.03702348470687866,
0.0551832914352417,
0.00868837721645832,
0.031674083322286606,
0.01444690115749836,
-0.07819978892803192,
-0.05901937186717987,
-0.02755645103752613,
0.026747003197669983,
0.027362888678908348,
0.017587915062904358,
-0.0645095482468605,
-0.009590208530426025,
-0.010901163332164288,
0.02364998124539852,
-0.10480602085590363,
-0.01947956159710884,
0.036847516894340515,
-0.041457854211330414,
0.04226730391383171,
-0.009000718593597412,
-0.0012405682355165482,
-0.05201588198542595,
0.013725435361266136,
0.07063320279121399,
0.017191987484693527,
0.021837519481778145,
0.03269469365477562,
0.002562521258369088,
0.007078277412801981,
-0.038184866309165955,
0.025937553495168686,
-0.0396277979016304,
0.016426531597971916,
-0.04321752488613129,
-0.014473295770585537,
0.025145702064037323,
-0.035017456859350204,
-0.011173912324011326,
-0.0450475849211216,
0.045223552733659744,
-0.03295864164829254,
0.013795822858810425,
-0.0480390265583992,
0.08291570842266083,
0.022031083703041077,
-0.025268878787755966,
0.03864238038659096,
0.0012515662238001823,
0.03677712753415108,
-0.05504251644015312,
-0.054866548627614975,
-0.00696389889344573,
-0.051030464470386505,
0.011314686387777328,
0.02032420225441456,
0.0074346112087368965,
-0.03346894681453705,
0.03281787037849426,
0.03172687441110611,
-0.0018322577234357595,
0.03575652092695236,
0.005705734249204397,
0.056696608662605286,
-0.01062841434031725,
-0.025128105655312538,
-0.010505237616598606,
-0.0311637781560421,
0.03355693072080612,
0.03396165370941162,
0.011411468498408794,
0.003827285021543503,
0.01104193739593029,
-0.0038558796513825655,
-0.029914410784840584,
-0.019110029563307762,
0.02848907746374607,
-0.0017519727116450667,
-0.05074891820549965,
-0.07087955623865128,
0.026676615700125694,
-0.005710133351385593,
0.00020896096248179674,
-0.025462443009018898,
-0.032782673835754395,
-0.0732727125287056,
0.028647448867559433,
0.060743849724531174,
0.0022402815520763397,
-0.007157462649047375,
-0.021679149940609932,
0.06208120286464691,
-0.04219691827893257,
-0.04283039644360542,
0.04480123147368431,
-0.016840053722262383,
-0.0067307427525520325,
0.04575145244598389,
-0.005248219706118107,
-0.007760150358080864,
-0.028401093557476997,
-0.028541868552565575,
-0.01888127252459526,
-0.01962033472955227,
0.058033958077430725,
-0.04374542832374573,
-0.035017456859350204,
0.02662382647395134,
0.045293938368558884,
0.007100273389369249,
-0.07087955623865128,
-0.02435385063290596,
-0.03867757320404053,
-0.04997466504573822,
0.005740927532315254,
0.016338547691702843,
0.0185469351708889,
-0.04163382202386856,
-0.03765696659684181,
-0.016963230445981026,
-0.022242244333028793,
-0.02051776647567749,
-0.044660456478595734,
0.005415388382971287,
-0.06996452808380127,
0.023861141875386238,
-0.00919428188353777,
0.014112563803792,
-0.03726983815431595,
-0.002113805152475834,
-0.043252717703580856,
0.010690002702176571,
0.05845627933740616,
-0.07679205387830734,
-0.008917134255170822,
-0.001844355370849371,
0.00860919151455164,
0.02799636870622635,
0.047159191220998764,
0.040718793869018555,
0.02435385063290596,
0.015106777660548687,
0.03741060942411423,
-0.04363984614610672,
0.006959499791264534,
-0.004654330667108297,
-0.033275384455919266,
0.05908976122736931,
-0.006189643405377865,
0.02048257365822792,
-0.002951848553493619,
0.01947956159710884,
-0.012194521725177765,
0.007403816562145948,
-0.026975760236382484,
-0.010144504718482494,
0.002995840273797512,
-0.024441834539175034,
-0.03089982643723488,
0.028049159795045853,
-0.03980376198887825,
-0.06690270453691483,
-0.010311673395335674,
-0.008041697554290295,
0.028981786221265793,
0.08404190093278885,
-0.015238752588629723,
0.01865251548588276,
-0.06028633564710617,
-0.02956247702240944,
0.04554029181599617,
-0.019673123955726624,
0.03216679021716118,
0.03216679021716118,
0.01764950342476368,
-0.04737035185098648,
0.030107975006103516,
-0.013162340968847275,
-0.09206599742174149,
0.04923560097813606,
0.03389126807451248,
0.017772680148482323,
0.054901741445064545,
-0.04314713925123215,
0.015370728448033333,
-0.014886818826198578,
0.0012845599558204412,
0.15583649277687073,
0.05715412274003029,
0.10318712145090103,
0.018265387043356895,
0.048496540635824203,
-0.046490512788295746,
0.07341348379850388,
0.04092995449900627,
-0.009264669381082058,
0.025497635826468468,
-0.000374480034224689,
0.030213555321097374,
0.03186764568090439,
0.03389126807451248,
-0.04188017547130585,
-0.018599724397063255,
0.001408836804330349,
0.04166901484131813,
0.0160130076110363,
-0.03213159739971161,
0.002165495418012142,
0.04353426769375801,
-0.036812324076890945,
-0.002419547876343131,
-0.05370516702532768,
-0.03850160539150238,
0.020077848806977272,
0.05233262479305267,
-0.05662621930241585,
-0.0063524129800498486,
-0.030935021117329597,
0.04627935215830803,
-0.029175348579883575,
-0.021960698068141937,
0.011288290843367577,
-0.0007308134809136391,
-0.07369503378868103,
-0.012652036733925343,
0.012405682355165482,
-0.004126429092139006,
-0.0050590550526976585,
0.09016555547714233,
0.031075794249773026,
0.060743849724531174,
0.019708318635821342,
0.012722423300147057,
0.03038952313363552,
0.008538804948329926,
0.023931529372930527,
-0.01932119019329548,
0.04571625962853432,
-0.036249227821826935,
-0.0015089181251823902,
0.017060013487935066,
0.020130639895796776,
0.005397791508585215,
0.0543738417327404,
-0.028770625591278076,
-0.03765696659684181,
0.08523847162723541,
0.020834507420659065,
-0.022435808554291725,
0.01691044121980667,
0.04381581395864487,
-0.010821978561580181,
-0.01206254679709673,
0.027468468993902206,
0.03797370567917824,
-0.03804409131407738,
0.01640893518924713,
-0.006501985248178244,
0.006387606728821993,
0.021309617906808853,
-0.0012031751684844494,
-0.0020401189103722572,
0.06391125917434692,
0.04948195442557335,
-0.024301059544086456,
-0.00885994452983141,
-0.04177459701895714,
0.04744073748588562,
0.020992878824472427,
0.02032420225441456,
-0.05718931555747986,
0.005683738272637129,
-0.01295997854322195,
-0.04508277773857117,
0.010945155285298824,
-0.003842682112008333,
-0.036953095346689224,
0.0033697704784572124,
0.04494200274348259,
-0.05402190610766411,
-0.08713892102241516,
0.029069768264889717,
0.03119897097349167,
0.004205614328384399,
0.0008946828311309218,
-0.022031083703041077,
0.052930910140275955,
0.02189031057059765,
0.031638890504837036,
0.04047244042158127,
-0.035615745931863785,
-0.02181992307305336,
-0.02665901929140091,
0.03258911147713661,
-0.006260030437260866,
-0.024864153936505318,
0.054197873920202255,
0.05300129950046539,
0.005991680547595024,
-0.025339266285300255,
0.013320711441338062,
-0.006273228209465742,
-0.04036685824394226,
-0.04786305874586105,
0.04874289408326149,
0.0006972697447054088,
0.006946302484720945,
0.04223211109638214,
0.010813179425895214,
0.019004449248313904,
-0.021204039454460144,
0.023544400930404663,
0.03980376198887825,
-0.02211906760931015,
0.04663128778338432,
0.08875782042741776,
0.008987520821392536,
0.000619184342212975,
-0.014420505613088608,
-0.0010096114128828049,
-0.061940427869558334,
0.03719944879412651,
0.043886199593544006,
0.014138958416879177,
-0.04040205106139183,
-0.02599034458398819,
0.001499019912444055,
0.10346867144107819,
-0.026271890848875046,
0.024477027356624603,
-0.0332929790019989,
-0.02651824615895748,
0.026764599606394768,
-0.009880553930997849,
-0.018001437187194824,
0.030741456896066666,
0.04420294240117073,
-0.032413143664598465,
-0.004009850788861513,
-0.005991680547595024,
-0.03510544076561928,
-0.02535686269402504,
-0.022770145907998085,
0.04955234378576279,
-0.010892365127801895,
-0.03322259336709976,
-0.013338307850062847,
0.02435385063290596,
0.018705304712057114,
0.08544963598251343,
-0.027750015258789062,
-0.04663128778338432,
-0.05331803858280182,
-0.025673603639006615,
-0.03549256920814514,
-0.02282293699681759,
-0.01376062911003828,
0.012484867125749588,
-0.012854398228228092,
0.010214891284704208,
0.007219051476567984,
-0.05856185778975487,
-0.05008024349808693,
0.037621770054101944,
0.03005518577992916,
-0.08221183717250824,
0.0057321288622915745,
-0.025110509246587753,
-0.024529816582798958,
-0.039416637271642685,
0.015150769613683224,
-0.017931049689650536,
0.005116244312375784,
0.023474015295505524,
0.03600287437438965,
-0.005886100232601166,
0.007702961098402739,
-0.025603216141462326,
-0.04107072576880455,
-0.03262430429458618,
-0.012669633142650127,
-0.0014825230464339256,
-0.005397791508585215,
0.03287065774202347,
-0.004733515437692404,
-0.02435385063290596,
-0.015599485486745834,
0.0052130259573459625,
0.028911398723721504,
0.02789078839123249,
0.08960246294736862,
0.06014556437730789,
0.021696746349334717,
-0.03547497093677521,
-0.002903457498177886,
0.05571119114756584,
-0.02625429444015026,
-0.06757137924432755,
-0.026764599606394768,
0.03306422382593155,
-0.04737035185098648,
-0.009238273836672306,
-0.007874528877437115,
0.003396165557205677,
-0.007526993751525879,
0.032043613493442535,
-0.0396277979016304,
-0.031445324420928955,
-0.03895912319421768,
-0.016162579879164696,
0.009431838057935238,
-0.018370967358350754,
-0.02848907746374607,
-0.0017519727116450667,
0.04318233206868172,
0.05176952853798866,
-0.050960078835487366,
-0.025937553495168686,
0.05912495404481888,
-0.071548230946064,
-0.06940143555402756,
0.0015760055975988507,
-0.09579650312662125,
-0.05257897824048996,
0.015634678304195404,
0.014244538731873035,
0.019708318635821342,
0.01891646534204483,
0.07855172455310822,
-0.014684456400573254,
-0.05637986585497856,
0.022541388869285583,
0.06011037155985832,
0.023931529372930527,
0.023104483261704445,
0.03772735223174095,
0.0011646824423223734,
-0.020359396934509277,
0.02681739069521427,
-0.005701334681361914,
-0.016664085909724236,
0.027503661811351776,
0.028876205906271935,
0.021731939166784286,
0.0906582623720169,
-0.019409174099564552,
0.06306661665439606,
-0.02025381661951542,
-0.04539951682090759,
0.009370249696075916,
-0.015511502511799335,
0.03250112757086754,
-0.03716425597667694,
-0.06778253614902496,
-0.0034071635454893112,
-0.07049243152141571,
-0.0075533888302743435,
-0.026676615700125694,
-0.01508038304746151,
0.028770625591278076,
0.027732418850064278,
0.03489428013563156,
-0.015335534699261189,
0.02331564389169216,
0.0645095482468605,
0.024881752207875252,
0.03906470164656639,
-0.009291063994169235,
0.004627935588359833,
-0.02599034458398819,
0.017191987484693527,
0.034718312323093414,
-0.03723464533686638,
0.035615745931863785,
-0.005569359287619591,
-0.035774115473032,
0.04473084211349487,
-0.015863437205553055,
0.008398030884563923,
0.015599485486745834,
0.017438342794775963,
0.010135706514120102,
0.03589729219675064,
-0.007619376294314861,
0.006418400909751654,
-0.015493905171751976,
-0.02811954729259014,
0.029844025149941444,
0.0015089181251823902,
0.015898630023002625,
-0.06327778100967407,
-0.005657343193888664,
0.024301059544086456,
-0.03258911147713661,
-0.047827865928411484,
0.02181992307305336,
-0.048496540635824203,
0.09171406179666519,
0.008626787923276424,
-0.0028770624194294214,
-0.024177882820367813,
0.00516463490203023,
0.07042204588651657,
-0.045857030898332596,
0.001967532327398658,
0.008925932459533215,
0.0615181066095829,
0.005041458178311586,
0.008538804948329926,
-0.008125281892716885,
0.012080143205821514,
-0.03850160539150238,
0.029316123574972153,
0.018423758447170258,
-0.030882230028510094,
0.0005292760906741023,
0.017323963344097137,
-0.03867757320404053,
0.005903697106987238,
0.006194042973220348,
-0.013602258637547493,
-0.005375795532017946,
0.04881327971816063,
-0.004097834229469299,
-0.005283412989228964,
-0.015793049708008766,
0.02908736653625965,
0.03396165370941162,
-0.019778704270720482,
0.04286559298634529,
0.003448955714702606,
-0.043323107063770294,
-0.04511797055602074,
0.013822217471897602,
-0.028506673872470856,
0.036214035004377365,
0.02748606540262699,
0.014050974510610104,
-0.04617377370595932,
-0.03670674189925194,
0.00995973963290453,
-0.04448448866605759,
0.023333240300416946,
0.02979123406112194,
-0.01714799553155899,
-0.07538431882858276,
-0.005811314098536968,
0.014112563803792,
-0.012810406275093555,
-0.05757644400000572,
0.020236220210790634,
-0.04131707921624184,
0.04927079379558563,
0.010470043867826462,
0.038290444761514664,
-0.02111605554819107,
-0.004671927075833082,
-0.03510544076561928,
0.029245736077427864,
0.026834987103939056,
-0.057435669004917145,
-0.00013754305837210268,
0.05592235177755356,
0.06426319479942322,
-0.020728927105665207,
-0.0012691628653556108,
-0.006295223720371723,
-0.0678529217839241,
-0.0559927374124527,
-0.027345290407538414,
-0.018634919077157974,
-0.012704825960099697,
0.0320260152220726,
-0.007056281901896,
-0.011622628197073936,
-0.02368517592549324,
0.035985276103019714,
0.012722423300147057,
-0.0011206906056031585,
-0.007870129309594631,
-0.05071372538805008,
-0.029069768264889717,
0.03075905330479145,
0.016963230445981026,
0.01657610386610031,
0.056098319590091705,
-0.026870179921388626,
0.013003970496356487,
0.010892365127801895,
0.026711810380220413,
-0.047123994678258896,
-0.03832564130425453,
-0.024969734251499176,
-0.015933822840452194,
-0.08868742734193802,
0.03396165370941162,
-0.056168705224990845,
-0.022242244333028793,
-0.009396644309163094,
-0.007443409413099289,
-0.010989147238433361,
0.01456127967685461,
-0.05233262479305267,
-0.04937637597322464,
-0.05328284576535225,
-0.021362408995628357,
0.045223552733659744,
0.035351794213056564,
-0.018740499392151833,
-0.03412002697587013,
0.005257017910480499,
-0.006985894870012999,
0.09016555547714233,
-0.00017857913917396218,
-0.04617377370595932,
0.08361957967281342,
-0.013003970496356487,
0.03589729219675064,
0.04620896652340889,
0.03318740054965019,
-0.02398431859910488,
0.08587195724248886,
0.013945394195616245,
-0.04691283404827118,
0.017975041642785072,
0.011279492639005184,
0.02662382647395134,
0.05982882156968117,
-0.04300636425614357,
0.02625429444015026,
-0.0615181066095829,
-0.026271890848875046,
-0.04300636425614357,
-0.007720557507127523,
-0.0421617217361927,
-0.027767611667513847,
0.034243203699588776,
-0.09924545884132385,
0.008829150348901749,
-0.0023513606283813715,
-0.057998765259981155,
0.015300341881811619,
-0.024107495322823524,
-0.020464977249503136,
-0.04226730391383171,
-0.02789078839123249,
0.031075794249773026,
-0.09051749110221863,
-0.033609721809625626,
0.004887486808001995,
0.02942170388996601,
-0.0016925837844610214,
0.08017062395811081,
-0.03786812350153923,
-0.007443409413099289,
-0.0005762923392467201,
-0.04796863719820976,
-0.020113041624426842,
-0.02602553740143776,
-0.02859465777873993,
-0.0009293264010921121,
0.01828298345208168,
-0.018705304712057114,
-0.015520300716161728,
0.04300636425614357,
0.020640943199396133,
0.06253871321678162,
-0.01331191323697567,
0.013047962449491024,
-0.007984507828950882,
0.03741060942411423,
-0.05388113483786583,
-0.033750493079423904,
-0.035844504833221436,
-0.0004429422551766038,
0.016866449266672134,
0.02982642687857151,
-0.01921560987830162,
-0.01858212798833847,
0.001033256994560361,
-0.06345374882221222,
0.05557041987776756,
-0.0024723380338400602,
-0.006726343184709549,
0.006018075626343489,
0.049622729420661926,
-0.02572639286518097,
0.03213159739971161,
0.017904654145240784,
-0.01279280986636877,
-0.02618390880525112,
-0.06289064884185791,
-0.020306605845689774,
-0.04684244841337204,
-0.03218438848853111,
0.04487161710858345,
-0.04874289408326149,
-0.01109472755342722,
0.0286298505961895,
-0.026747003197669983,
0.03566853702068329,
0.007812940515577793,
-0.006809927523136139,
-0.016708077862858772,
-0.02018342912197113,
-0.011464257724583149,
-0.019673123955726624,
0.029967201873660088,
0.07285039126873016,
0.03350413963198662,
-0.058069150894880295,
0.01199215929955244,
0.030283942818641663,
0.016065798699855804,
0.029844025149941444,
0.04557548463344574,
-0.03864238038659096,
0.053564392030239105,
-0.02398431859910488,
-0.032078806310892105,
0.05247339606285095,
-0.003178406273946166,
-0.014182950370013714,
-0.01618017628788948,
0.05043217912316322,
0.009704587049782276,
-0.009599006734788418,
-0.052860524505376816,
0.04371023550629616,
-0.015969015657901764,
0.007038685027509928,
-0.023597192019224167,
0.011341081000864506,
-0.016338547691702843,
0.03920547664165497
]
|
37,058 | sphinx_autodoc_typehints | _resolve_type_guarded_imports | null | def _resolve_type_guarded_imports(autodoc_mock_imports: list[str], obj: Any) -> None:
if _should_skip_guarded_import_resolution(obj):
return
if hasattr(obj, "__globals__"):
_TYPE_GUARD_IMPORTS_RESOLVED_GLOBALS_ID.add(id(obj.__globals__))
module = inspect.getmodule(obj)
if module:
try:
module_code = inspect.getsource(module)
except (TypeError, OSError):
... # no source code => no type guards
else:
_TYPE_GUARD_IMPORTS_RESOLVED.add(module.__name__)
_execute_guarded_code(autodoc_mock_imports, obj, module_code)
| (autodoc_mock_imports: list[str], obj: Any) -> NoneType | [
0.009381856769323349,
0.00002816229607560672,
-0.03459503501653671,
-0.002844690578058362,
0.03047529235482216,
0.013564563356339931,
0.06757095456123352,
0.02939588576555252,
-0.06307341903448105,
0.0018698499770835042,
-0.010731116868555546,
-0.03803114965558052,
0.013042849488556385,
-0.02545604482293129,
-0.03867879509925842,
0.02657143399119377,
0.021965958178043365,
0.0876479521393776,
0.03660992905497551,
-0.061634212732315063,
-0.022685563191771507,
0.040981534868478775,
0.02363904006779194,
-0.016371024772524834,
-0.03290396183729172,
0.011639619246125221,
0.051811594516038895,
-0.026985205709934235,
-0.018233004957437515,
-0.006908212788403034,
0.04839346930384636,
-0.03409131243824959,
0.04983267933130264,
-0.01139675173908472,
0.030385341495275497,
-0.08390600234270096,
0.05026444420218468,
0.0836181566119194,
0.00998452678322792,
-0.04630661383271217,
-0.010659156367182732,
0.07113300263881683,
0.020238904282450676,
-0.047170139849185944,
-0.037743307650089264,
-0.03889467567205429,
-0.04029790684580803,
0.014634977094829082,
0.032166365534067154,
-0.021012481302022934,
0.021786056458950043,
-0.04904111474752426,
-0.015111715532839298,
0.01468894723802805,
0.032796021550893784,
0.024160753935575485,
-0.006337026134133339,
0.028388436883687973,
0.022361740469932556,
0.03592630475759506,
0.050804149359464645,
0.04209692031145096,
0.001329021411947906,
-0.03842693567276001,
0.05069620907306671,
-0.021120421588420868,
-0.032004453241825104,
0.0042816526256501675,
-0.03175259381532669,
-0.00722753768786788,
-0.12967291474342346,
-0.01477889809757471,
0.03553052246570587,
0.012728022411465645,
0.045299164950847626,
-0.0903104916214943,
0.0032157371751964092,
-0.055589526891708374,
0.06656350940465927,
-0.05102002993226051,
0.041053492575883865,
0.019699200987815857,
-0.025258153676986694,
-0.031248869374394417,
-0.020382825285196304,
0.0068947202526032925,
-0.034613024443387985,
0.02405281364917755,
-0.0035170719493180513,
-0.05735255777835846,
-0.021318312734365463,
0.004996760748326778,
-0.01178354024887085,
0.03936241939663887,
-0.04918503761291504,
0.019699200987815857,
0.02655344270169735,
-0.013276721350848675,
-0.03900261968374252,
0.03403734043240547,
0.03315582498908043,
-0.0002801120572257787,
-0.06231783702969551,
0.04296045005321503,
0.0031707617454230785,
-0.019195476546883583,
0.01772928051650524,
-0.012781992554664612,
0.007398444227874279,
0.012988879345357418,
-0.04421975836157799,
-0.10441476106643677,
0.013897381722927094,
0.001231200061738491,
0.009777639992535114,
-0.0942683219909668,
-0.013618534430861473,
0.000009065342965186574,
0.07321985810995102,
-0.005500484723597765,
0.015543478541076183,
0.009561758488416672,
-0.030421322211623192,
0.015192670747637749,
0.13528583943843842,
0.0010366817004978657,
0.01395135186612606,
-0.002430917229503393,
0.021174391731619835,
-0.04040585085749626,
0.020490767434239388,
-0.01749540865421295,
-0.08066777884960175,
0.050804149359464645,
-0.02680530585348606,
0.06012304127216339,
-0.053070906549692154,
0.025599965825676918,
0.02419673465192318,
-0.07116898149251938,
-0.028190545737743378,
-0.03277803212404251,
-0.043176330626010895,
-0.07185260951519012,
-0.020994490012526512,
0.059439413249492645,
0.02302737534046173,
0.03137480095028877,
0.0019058302277699113,
-0.03903859853744507,
0.048285529017448425,
-0.06361312419176102,
-0.04558700695633888,
0.04932895675301552,
-0.08088365942239761,
0.008693734183907509,
-0.022487672045826912,
0.008320438675582409,
0.0034473601263016462,
0.020868560299277306,
0.017738275229930878,
-0.02592378854751587,
-0.009795630350708961,
-0.04015398770570755,
0.031464751809835434,
0.009327886626124382,
0.016946708783507347,
-0.03651997819542885,
-0.017675310373306274,
0.0021475725807249546,
-0.06274960190057755,
-0.005882774945348501,
0.0024781415704637766,
-0.00015193232684396207,
0.06066274270415306,
0.010308348573744297,
-0.07152878493070602,
0.009714674204587936,
-0.04054976999759674,
0.03432518243789673,
0.03245420753955841,
-0.01131579652428627,
-0.017459427937865257,
-0.029287943616509438,
0.0008640887681394815,
0.07922856509685516,
0.033515624701976776,
-0.018727732822299004,
0.0004713978269137442,
0.006390996277332306,
-0.03921850025653839,
0.06328930705785751,
0.06865036487579346,
-0.046630438417196274,
0.020778609439730644,
0.024106783792376518,
-0.04673837870359421,
0.01633504405617714,
-0.0699816346168518,
0.0016438488382846117,
-0.020544737577438354,
0.017468424513936043,
0.0030920549761503935,
0.019123516976833344,
0.021947968751192093,
0.04508328437805176,
0.02662540413439274,
0.001579758943989873,
0.016748817637562752,
-0.013933361507952213,
-0.043967895209789276,
-0.028460398316383362,
-0.030817106366157532,
-0.0075108823366463184,
-0.011747559532523155,
0.037203606218099594,
0.04249270632863045,
-0.024574527516961098,
0.019519299268722534,
0.04044182971119881,
0.05321482568979263,
0.06944192945957184,
-0.05368256941437721,
0.003454106394201517,
0.0438239760696888,
-0.00816752202808857,
-0.04371603578329086,
0.0013357676798477769,
0.025563985109329224,
-0.07124094665050507,
0.0014999277191236615,
-0.027524910867214203,
-0.031860534101724625,
0.010371314361691475,
0.004254667554050684,
-0.013492602854967117,
0.03777929022908211,
0.02531212382018566,
-0.040909573435783386,
0.034145280718803406,
0.005163169465959072,
0.07354368269443512,
0.004319882020354271,
-0.03236425668001175,
-0.03567444160580635,
0.0020688658114522696,
-0.033515624701976776,
-0.053862471133470535,
0.001897959504276514,
-0.010164427570998669,
0.020706648007035255,
0.030583234503865242,
-0.0028986609540879726,
-0.02867627888917923,
-0.03173460438847542,
-0.061958033591508865,
-0.00485283974558115,
-0.017279528081417084,
0.0025276143569499254,
-0.014167233370244503,
-0.02703917771577835,
0.005172164645045996,
0.026679374277591705,
0.018511852249503136,
-0.04925699532032013,
-0.016442986205220222,
-0.01973518170416355,
0.03502679616212845,
-0.043895937502384186,
-0.004304140340536833,
0.0026445502880960703,
-0.030691174790263176,
0.04652249440550804,
0.031626660376787186,
0.000256921659456566,
0.018358934670686722,
0.03267008811235428,
0.024934330955147743,
0.04101751372218132,
0.06055480241775513,
0.013420642353594303,
-0.011162880808115005,
0.014536031521856785,
0.004522270988672972,
0.02813657559454441,
0.025006290525197983,
-0.019627239555120468,
0.020418806001544,
-0.019699200987815857,
0.024574527516961098,
0.022055909037590027,
-0.005896267481148243,
0.0663476288318634,
-0.03009749948978424,
0.0022487672977149487,
0.06307341903448105,
-0.019447337836027145,
-0.03394738957285881,
-0.010884033516049385,
-0.0020654925610870123,
-0.018439890816807747,
0.035242680460214615,
0.020454786717891693,
0.029215984046459198,
0.04274456575512886,
-0.029647747054696083,
0.0059052626602351665,
-0.07692582905292511,
-0.03857085481286049,
-0.027920693159103394,
0.028730249032378197,
0.0594034343957901,
0.025276143103837967,
-0.03875075653195381,
0.0594034343957901,
-0.006867735181003809,
-0.024412617087364197,
0.02986362762749195,
-0.020418806001544,
0.0328499898314476,
-0.018655773252248764,
0.024934330955147743,
0.0803079754114151,
-0.005801819264888763,
0.020706648007035255,
0.02426869608461857,
-0.02426869608461857,
0.010137442499399185,
-0.021983947604894638,
0.01312380563467741,
-0.040046047419309616,
-0.029665736481547356,
-0.0010833436390385032,
0.01139675173908472,
0.06444067507982254,
-0.00022712549252901226,
0.008734212256968021,
-0.0908861756324768,
0.004254667554050684,
-0.010101462714374065,
-0.009453817270696163,
-0.03119489923119545,
0.0647285133600235,
-0.0010198159143328667,
-0.055589526891708374,
0.0028222028631716967,
0.03639404848217964,
0.012089372612535954,
0.020958511158823967,
0.005887272302061319,
0.010470259934663773,
-0.008432877250015736,
-0.0013706235913559794,
-0.022523652762174606,
0.02412477508187294,
-0.0037014707922935486,
0.008770192041993141,
0.08037993311882019,
-0.014203214086592197,
-0.02867627888917923,
0.04601877182722092,
0.0004542509850580245,
-0.014796888455748558,
-0.048213567584753036,
-0.033677536994218826,
0.026769325137138367,
0.00722753768786788,
-0.0267153549939394,
0.027758782729506493,
-0.025420064106583595,
-0.0693339928984642,
-0.008837655186653137,
-0.02552800439298153,
-0.0534307099878788,
0.0333717055618763,
0.01709962636232376,
0.042636625468730927,
-0.026823295280337334,
-0.021498214453458786,
0.028388436883687973,
0.036412037909030914,
0.03630409762263298,
0.011288811452686787,
-0.027201088145375252,
-0.015714384615421295,
-0.013492602854967117,
-0.014931813813745975,
0.044975344091653824,
-0.054402176290750504,
0.003935342654585838,
0.09498792886734009,
-0.07224839180707932,
0.03299391269683838,
0.0006026696064509451,
0.05242326110601425,
-0.036250125616788864,
-0.02300938591361046,
0.029341913759708405,
-0.015354582108557224,
0.02302737534046173,
0.053790509700775146,
-0.02529413439333439,
-0.013483608141541481,
0.023063356056809425,
-0.02568991668522358,
0.06976575404405594,
-0.003969074226915836,
-0.050804149359464645,
0.004000556655228138,
0.0006403364823199809,
-0.0829705148935318,
-0.02185801789164543,
0.039398401975631714,
-0.08239483088254929,
0.012242288328707218,
0.047817785292863846,
-0.03180656209588051,
-0.006040188483893871,
0.018089083954691887,
-0.0411614365875721,
0.0310329869389534,
-0.07476700842380524,
-0.02435864694416523,
-0.00622908491641283,
-0.06055480241775513,
-0.006184109952300787,
-0.01146871317178011,
0.0242147259414196,
-0.05069620907306671,
0.01570538990199566,
-0.005158672109246254,
0.0435001514852047,
-0.0026040724478662014,
-0.0388227179646492,
-0.029953578487038612,
-0.0743352472782135,
-0.0051856571808457375,
-0.0027502423617988825,
0.0028671782929450274,
0.017513398081064224,
0.02128233201801777,
0.07469505071640015,
0.029054071754217148,
0.03245420753955841,
0.0331738144159317,
0.015849310904741287,
-0.02246968261897564,
0.11031552404165268,
-0.023621050640940666,
0.003038084600120783,
-0.070377416908741,
-0.01759435422718525,
0.03598027676343918,
-0.005729858763515949,
-0.06033892184495926,
-0.04752994328737259,
0.020076993852853775,
0.031860534101724625,
0.013807430863380432,
-0.006143631879240274,
0.0308710765093565,
-0.02531212382018566,
-0.02279350347816944,
-0.017657320946455002,
0.0242147259414196,
0.09484400600194931,
0.0075783454813063145,
-0.01817903481423855,
0.016128158196806908,
0.052998945116996765,
0.04267260804772377,
-0.03749144822359085,
0.031320828944444656,
-0.0050012581050395966,
-0.04432769864797592,
0.04216888174414635,
-0.006701326463371515,
0.050336405634880066,
0.028784221038222313,
-0.0008787057595327497,
0.03741948679089546,
-0.034145280718803406,
0.032004453241825104,
0.03481091558933258,
-0.047889746725559235,
0.0006021074368618429,
0.023711001500487328,
-0.06764291971921921,
-0.017108621075749397,
-0.00021503836615011096,
-0.022973405197262764,
0.02718309871852398,
-0.0022094137966632843,
0.00341812614351511,
0.03126686066389084,
0.029809657484292984,
0.02741697058081627,
0.01878170296549797,
0.01772928051650524,
-0.02867627888917923,
0.0316806323826313,
0.02419673465192318,
-0.04547906666994095,
-0.014041302725672722,
0.051667675375938416,
-0.03464900329709053,
0.035242680460214615,
-0.044975344091653824,
-0.05051630735397339,
0.006143631879240274,
0.006777784321457148,
0.008567802608013153,
0.00022909315885044634,
0.02655344270169735,
0.04785376787185669,
0.008621773682534695,
-0.012026406824588776,
-0.014338139444589615,
-0.020364835858345032,
0.011216850951313972,
-0.025815848261117935,
-0.03824703395366669,
0.01673082821071148,
-0.056776873767375946,
0.06055480241775513,
-0.007214045152068138,
0.02083257958292961,
0.09117401391267776,
0.036016255617141724,
-0.013195766136050224,
0.089590884745121,
-0.00019985919061582536,
-0.05853990837931633,
-0.05846794694662094,
0.06721115112304688,
0.049221016466617584,
0.049868661910295486,
-0.03695174306631088,
0.013663509860634804,
0.013051845133304596,
-0.005082213785499334,
-0.007879680022597313,
0.014527035877108574,
0.006175114773213863,
0.08052385598421097,
0.024934330955147743,
-0.0444716215133667,
-0.03502679616212845,
-0.049472879618406296,
-0.01181952003389597,
0.04965278133749962,
-0.011054939590394497,
0.0042299311608076096,
0.008046088740229607,
-0.04857337102293968,
-0.08073973655700684,
0.010776092298328876,
-0.014850858598947525,
0.012386209331452847,
-0.004146726801991463,
0.03900261968374252,
0.03957830369472504,
0.009345876052975655,
0.00877468939870596,
-0.07483897358179092,
-0.03509875759482384,
0.0032854487653821707,
0.01709962636232376,
0.002705266932025552,
-0.010884033516049385,
-0.02577986754477024,
-0.06382900476455688,
0.034469105303287506,
-0.015894286334514618,
0.016640877351164818,
0.06325332075357437,
-0.017297517508268356,
-0.00811804924160242,
0.01712661050260067,
-0.042636625468730927,
0.03824703395366669,
-0.012008416466414928,
-0.01817903481423855,
-0.035800375044345856,
0.01524664182215929,
-0.12003019452095032,
0.020418806001544,
0.009453817270696163,
0.03126686066389084,
0.002957128919661045,
-0.07447917014360428,
0.015741370618343353,
0.050876110792160034,
-0.01910552568733692,
0.04015398770570755,
0.0012806729646399617,
-0.09304498881101608,
0.025887807831168175,
0.028082605451345444,
-0.02128233201801777,
0.040261927992105484,
-0.009633718989789486,
-0.022415710613131523,
-0.02081458829343319,
0.03229229524731636,
0.01964523084461689,
-0.0018676011823117733,
-0.016398010775446892,
0.03025941178202629,
0.017603348940610886,
-0.012943903915584087,
0.010542220436036587,
-0.005756843835115433,
0.02923397347331047,
-0.04925699532032013,
-0.008239483460783958,
-0.020023023709654808,
0.017792245373129845,
0.058575887233018875,
0.029881618916988373,
0.022595612332224846,
0.03119489923119545,
0.07149280607700348,
-0.041988980025053024,
0.038462914526462555,
0.04033388942480087,
0.001573012676090002,
-0.030925046652555466,
0.015849310904741287,
0.024502567946910858,
-0.008046088740229607,
-0.030223431065678596,
0.026823295280337334,
-0.006768789142370224,
-0.013510593213140965,
-0.003343916730955243,
0.004452559165656567,
-0.03943438082933426,
-0.005464504472911358,
0.03842693567276001,
-0.021120421588420868,
-0.03443312272429466,
-0.01847587153315544,
0.09318891167640686,
-0.03545856103301048,
-0.006301045883446932,
-0.029917599633336067,
-0.029917599633336067,
0.05364659056067467,
0.01084805279970169,
-0.016092177480459213,
0.06566400080919266,
-0.022487672045826912,
0.019861111417412758,
0.02790270373225212,
0.04486740380525589,
-0.06051882356405258,
-0.018997585400938988,
0.016155144199728966,
-0.01670384220778942,
0.01586730219423771,
-0.000762332056183368,
0.022577622905373573,
-0.005199149716645479,
-0.06656350940465927,
-0.020472776144742966,
0.017486413940787315,
-0.05548158288002014,
-0.008252975530922413,
0.008221493102610111,
-0.02403482422232628,
0.0007775112753733993,
-0.013789440505206585,
-0.046702396124601364,
-0.03903859853744507,
0.022253800183534622,
0.011009964160621166,
0.03231028839945793,
-0.05803618207573891,
-0.024088794365525246,
-0.005239627789705992,
-0.046162694692611694,
-0.05530168116092682,
0.0133576774969697,
-0.04767386615276337,
0.058971669524908066,
-0.017162591218948364,
-0.012386209331452847,
0.035152729600667953,
-0.031950484961271286,
0.03236425668001175,
0.013924366794526577,
0.0590796135365963,
0.018817683681845665,
-0.018116068094968796,
-0.012134348042309284,
0.007277010474354029,
0.03585434332489967,
0.015606444329023361,
-0.024790409952402115,
0.010884033516049385,
-0.05159571394324303,
0.00878368504345417,
0.005023745819926262,
-0.04601877182722092,
-0.012647067196667194,
0.0009405468590557575,
0.03709566220641136,
-0.0590796135365963,
-0.018655773252248764,
-0.012799982912838459,
-0.03596228361129761,
0.008181015029549599,
0.01284495834261179,
0.018331950530409813,
-0.06623968482017517,
-0.03293994069099426,
0.04195300117135048,
0.009062531404197216,
-0.06839850544929504,
0.032256316393613815,
0.015075735747814178,
0.019303416833281517,
0.014248188585042953,
0.06656350940465927,
-0.007938148453831673,
-0.03878673538565636,
0.01209836732596159,
0.032112397253513336,
0.004270408768206835,
0.05814412608742714,
0.0027929688803851604,
-0.006242577917873859,
0.026967216283082962,
0.011324791237711906,
0.019051555544137955,
0.025492025539278984,
0.011135894805192947,
-0.05382649227976799,
0.008360916748642921,
-0.020023023709654808,
-0.015399557538330555,
-0.056381091475486755,
0.0031999957282096148,
-0.02396286278963089,
0.004353613127022982,
0.03472096472978592,
-0.04950885847210884,
0.03749144822359085,
0.015102720819413662,
0.03320979326963425,
0.00622908491641283,
0.022649582475423813,
-0.01630805991590023,
0.018331950530409813,
0.00901755690574646,
-0.005023745819926262,
0.037527427077293396,
0.008950093761086464,
-0.03229229524731636,
-0.02907206304371357,
-0.027848733589053154,
-0.026499472558498383,
-0.01932140812277794,
0.017576364800333977,
-0.007879680022597313,
-0.07062928378582001,
-0.011972436681389809
]
|
37,059 | sphinx_autodoc_typehints | _should_skip_guarded_import_resolution | null | def _should_skip_guarded_import_resolution(obj: Any) -> bool:
if isinstance(obj, types.ModuleType):
return False # Don't skip modules
if not hasattr(obj, "__globals__"):
return True # Skip objects without __globals__
if hasattr(obj, "__module__"):
return obj.__module__ in _TYPE_GUARD_IMPORTS_RESOLVED or obj.__module__ in sys.builtin_module_names
return id(obj.__globals__) in _TYPE_GUARD_IMPORTS_RESOLVED_GLOBALS_ID
| (obj: Any) -> bool | [
0.03716143220663071,
0.02108875848352909,
-0.06863561272621155,
0.024214982986450195,
0.024214982986450195,
-0.002669211709871888,
0.07326312363147736,
0.01269034668803215,
-0.07206209003925323,
-0.029036784544587135,
0.030008209869265556,
-0.04835931584239006,
0.012151647359132767,
-0.018033185973763466,
-0.05122060328722,
-0.036878835409879684,
-0.000002332835038032499,
0.07665428519248962,
0.03818584233522415,
-0.06746990233659744,
-0.05966317281126976,
0.041930247098207474,
0.013917874544858932,
0.010244120843708515,
-0.03631364181637764,
0.02863055095076561,
0.03977544978260994,
0.014438912272453308,
-0.018121495842933655,
0.03193339705467224,
0.019905386492609978,
-0.00015523485490120947,
0.05252761393785477,
-0.012549048289656639,
0.051255930215120316,
-0.08025738596916199,
0.0299905464053154,
0.06987196952104568,
-0.051644500344991684,
-0.07587714493274689,
-0.028895486146211624,
0.03709078207612038,
0.004305180162191391,
-0.01889863610267639,
-0.013017098419368267,
-0.03566013649106026,
-0.01972876489162445,
0.05598941817879677,
0.016496567055583,
-0.0032101189717650414,
0.025045109912753105,
-0.06008706986904144,
0.013008267618715763,
0.04814736917614937,
0.022113172337412834,
0.028294969350099564,
0.003810636466369033,
0.0378325991332531,
-0.037408702075481415,
-0.010146978311240673,
0.011233208701014519,
0.04468556120991707,
0.014677352271974087,
-0.05764967203140259,
0.0452154316008091,
-0.01303476095199585,
-0.05726110190153122,
-0.03451209142804146,
-0.03357598930597305,
0.017150072380900383,
-0.125543475151062,
-0.036808185279369354,
0.02117707021534443,
0.02032928168773651,
0.029584314674139023,
-0.09763707220554352,
-0.020523566752672195,
-0.03458273783326149,
0.025363029912114143,
-0.05263358727097511,
0.022183820605278015,
-0.027535490691661835,
-0.0357661135494709,
-0.016973448917269707,
-0.0463811419904232,
0.02260771580040455,
-0.018775001168251038,
0.005457643885165453,
0.022713689133524895,
-0.03195105865597725,
-0.028418604284524918,
0.023455504328012466,
0.004941022023558617,
0.004461932927370071,
-0.0065085492096841335,
0.03292248398065567,
0.03163313865661621,
-0.016849812120199203,
-0.05878005921840668,
-0.06994261592626572,
0.023826412856578827,
-0.05425851792097092,
-0.05083203315734863,
0.009996849112212658,
0.017980199307203293,
0.0054797218181192875,
0.04966632276773453,
-0.005598941817879677,
-0.02002902328968048,
-0.0029429770074784756,
-0.0024373943451792,
-0.029866911470890045,
-0.003236612305045128,
0.038079869002103806,
-0.01140983123332262,
-0.09488175809383392,
-0.04115310683846474,
-0.01065918430685997,
0.047122955322265625,
0.004693750292062759,
-0.006786730140447617,
0.036137018352746964,
-0.03723208233714104,
0.014297613874077797,
0.12935851514339447,
0.008009842596948147,
0.03172145038843155,
0.0334523543715477,
-0.003020249539986253,
-0.005603357683867216,
0.029248731210827827,
-0.014712677337229252,
-0.09099605679512024,
-0.0021503823809325695,
-0.05079670995473862,
0.04115310683846474,
-0.022872649133205414,
0.062771737575531,
0.025027446448802948,
-0.08301270753145218,
-0.015039429068565369,
-0.036560915410518646,
-0.02153031714260578,
-0.010332432575523853,
0.014748001471161842,
0.05711980536580086,
-0.02636978030204773,
0.03673753887414932,
-0.0005599493742920458,
-0.028436265885829926,
0.048853859305381775,
-0.016116827726364136,
-0.038680389523506165,
0.06831768900156021,
-0.10413678735494614,
0.05588344484567642,
-0.009996849112212658,
0.007811142131686211,
-0.011904374696314335,
-0.01329969521611929,
0.008217374794185162,
-0.010632690973579884,
-0.008654516190290451,
-0.029778599739074707,
0.009731914848089218,
-0.04514478147029877,
0.04108245670795441,
-0.06739924848079681,
0.018933961167931557,
0.03896298259496689,
-0.04288401082158089,
-0.008089323528110981,
0.03673753887414932,
0.013988523744046688,
0.04397907108068466,
0.05885070934891701,
-0.0627364069223404,
-0.006671925541013479,
-0.058638762682676315,
0.06407874077558517,
0.0486772358417511,
-0.05482370778918266,
-0.026016535237431526,
-0.029178082942962646,
-0.0023181738797575235,
0.06605691462755203,
0.027023283764719963,
-0.0634429007768631,
0.04065856337547302,
0.01682331971824169,
-0.019092921167612076,
0.05348137766122818,
0.05295150727033615,
-0.016920462250709534,
0.00816880352795124,
0.021194733679294586,
-0.009740745648741722,
0.007409325335174799,
-0.03271053731441498,
0.020276295021176338,
-0.034600403159856796,
-0.023614464327692986,
-0.018103834241628647,
-0.01721188984811306,
-0.019340194761753082,
0.05245696380734444,
-0.01616981439292431,
-0.010835806839168072,
0.029619639739394188,
0.010208796709775925,
-0.02539835497736931,
-0.0560600683093071,
-0.0010166848078370094,
0.058497462421655655,
0.016090335324406624,
0.09106670320034027,
0.03903363272547722,
-0.01276982668787241,
0.016805656254291534,
0.02531004324555397,
0.028489254415035248,
0.04238946735858917,
-0.034529753029346466,
-0.0034750530030578375,
0.01642591878771782,
-0.014827482402324677,
-0.022325119003653526,
0.018421756103634834,
0.013167227618396282,
-0.06520912796258926,
0.03203937038779259,
-0.017662277445197105,
-0.03942220285534859,
0.028683539479970932,
0.05800291895866394,
0.03541286662220955,
0.039139606058597565,
0.03329339250922203,
-0.0017452538013458252,
0.008001011796295643,
0.03444144129753113,
0.044120367616415024,
-0.04238946735858917,
-0.07047248631715775,
-0.011568792164325714,
-0.006248030811548233,
-0.015030598267912865,
0.0004399011086206883,
0.002602978143841028,
-0.023967711254954338,
0.03170378878712654,
0.036949485540390015,
-0.04948970302939415,
-0.05079670995473862,
-0.05673123523592949,
-0.024727188050746918,
-0.003943103365600109,
0.010562041774392128,
-0.02462121471762657,
0.017291368916630745,
-0.05386994779109955,
0.023755762726068497,
-0.010226458311080933,
0.0468403585255146,
0.004042453598231077,
0.027588477358222008,
-0.014827482402324677,
0.007555039133876562,
-0.01582540012896061,
-0.012796320021152496,
0.042283494025468826,
-0.07439351081848145,
0.0234201792627573,
0.03474169969558716,
0.010747496038675308,
-0.004316219128668308,
0.022960960865020752,
0.022766675800085068,
0.03285183757543564,
0.07223871350288391,
0.02855990268290043,
-0.013317356817424297,
0.0003446903720032424,
-0.02260771580040455,
-0.023879399523139,
-0.018333444371819496,
-0.01642591878771782,
0.00636725127696991,
-0.00990853738039732,
0.014712677337229252,
-0.009961524978280067,
0.011436324566602707,
0.08619191497564316,
-0.015860725194215775,
0.007797895465046167,
0.08159971982240677,
-0.003969596698880196,
-0.0694480761885643,
-0.005921278614550829,
0.03158015385270119,
0.015931373462080956,
0.062771737575531,
-0.010261783376336098,
0.012443074956536293,
0.05001956969499588,
-0.01746799238026142,
0.0433785542845726,
-0.01552514173090458,
-0.043201930820941925,
0.029584314674139023,
0.017150072380900383,
0.019340194761753082,
0.07156755030155182,
-0.03963414952158928,
0.04408504441380501,
-0.032427940517663956,
0.018333444371819496,
-0.013282032683491707,
-0.05655461177229881,
0.02622848190367222,
-0.02847159095108509,
0.07170884311199188,
0.028436265885829926,
-0.020099671557545662,
0.02320823259651661,
0.010208796709775925,
0.019251883029937744,
-0.00904308632016182,
-0.00952879898250103,
0.010235290043056011,
-0.06231251358985901,
-0.03906895965337753,
-0.00031626515556126833,
0.02251940406858921,
0.06058161333203316,
-0.00789062213152647,
-0.003066612873226404,
-0.04503880813717842,
0.03779727220535278,
0.0029959639068692923,
-0.025716276839375496,
-0.018139159306883812,
0.033417027443647385,
-0.002918691374361515,
-0.07940959930419922,
-0.012028010562062263,
-0.028683539479970932,
0.0516798235476017,
0.05680188536643982,
-0.0037421949673444033,
-0.039669476449489594,
0.04256608709692955,
-0.015772413462400436,
-0.009943862445652485,
-0.016805656254291534,
-0.002508043311536312,
-0.010146978311240673,
0.06531510502099991,
0.014924624934792519,
-0.01967577636241913,
0.06927145272493362,
0.014041510410606861,
-0.035819098353385925,
0.0008571724174544215,
-0.010182303376495838,
0.009246202185750008,
0.020929798483848572,
-0.029284056276082993,
-0.01087996270507574,
-0.0316154770553112,
-0.07658363878726959,
-0.0008864255505613983,
-0.011259702034294605,
-0.061217453330755234,
0.009369838051497936,
0.03149184212088585,
0.06439666450023651,
-0.014562548138201237,
0.01783006824553013,
0.020611878484487534,
0.0525982640683651,
0.04249544069170952,
0.021512653678655624,
-0.0353068932890892,
-0.044402964413166046,
-0.00222655083052814,
0.006203874945640564,
0.024956798180937767,
-0.014650858938694,
-0.008725165389478207,
0.07216806709766388,
-0.050196193158626556,
-0.004185959696769714,
0.03366430103778839,
-0.0007523026433773339,
-0.033187419176101685,
-0.020470580086112022,
0.02886016108095646,
-0.006910366006195545,
0.0299905464053154,
0.0463811419904232,
0.015118909999728203,
-0.004004921298474073,
0.006654263008385897,
0.005696084350347519,
0.029425354674458504,
0.03105028346180916,
-0.029937559738755226,
0.03603104501962662,
-0.0036340137012302876,
-0.05825019255280495,
-0.05326942726969719,
0.005470890551805496,
-0.05263358727097511,
-0.009572954848408699,
0.028453929349780083,
-0.00930802058428526,
-0.029337042942643166,
0.040481939911842346,
-0.03885700926184654,
0.04136505350470543,
-0.050443463027477264,
-0.0059433565475046635,
-0.030714699998497963,
-0.05772032216191292,
-0.034229494631290436,
-0.005289852153509855,
-0.018245132640004158,
0.005740240216255188,
0.0036075201351195574,
-0.06927145272493362,
0.005802058149129152,
0.028153670951724052,
-0.04623984172940254,
0.012628528289496899,
-0.07404026389122009,
0.010456068441271782,
0.01001451164484024,
-0.018050847575068474,
0.022572390735149384,
-0.01771526411175728,
0.0689888596534729,
0.007374000735580921,
0.017609290778636932,
0.028347956016659737,
0.03938687965273857,
-0.013432161882519722,
0.12194036692380905,
-0.00929918885231018,
0.03223365545272827,
-0.06948339939117432,
-0.017291368916630745,
-0.014359431341290474,
-0.0364549420773983,
-0.06725795567035675,
-0.04927775263786316,
0.01586955599486828,
-0.0017551888013258576,
0.015604621730744839,
-0.011930868029594421,
-0.017008773982524872,
-0.0059433565475046635,
-0.025292381644248962,
-0.022113172337412834,
0.024444591253995895,
0.08025738596916199,
-0.01502176746726036,
0.0018887597834691405,
0.01905759796500206,
0.05485903471708298,
0.01582540012896061,
0.015931373462080956,
0.044120367616415024,
-0.020594215020537376,
-0.04556867480278015,
0.04691100865602493,
-0.007837635464966297,
0.08506152778863907,
0.04465023800730705,
0.0038481687661260366,
0.00915789045393467,
-0.023013947531580925,
0.03567780181765556,
0.00418816739693284,
-0.0316154770553112,
-0.010032173246145248,
0.009705421514809132,
-0.026475753635168076,
0.010456068441271782,
-0.009396331384778023,
-0.0006159719196148217,
-0.016761502251029015,
-0.03906895965337753,
0.03366430103778839,
0.04450893774628639,
0.01619630865752697,
0.008393997326493263,
0.020170321688055992,
0.0373733788728714,
0.006808808073401451,
0.020982785150408745,
0.04256608709692955,
-0.026705363765358925,
-0.01735318824648857,
0.030979635193943977,
-0.049913596361875534,
-0.009820226579904556,
0.0037134939339011908,
-0.032728198915719986,
0.03426481783390045,
0.006075823679566383,
0.026316793635487556,
0.040941160172224045,
0.03917493298649788,
0.07623039186000824,
0.024285631254315376,
-0.004086609464138746,
-0.010959443636238575,
-0.011056586168706417,
-0.015330856665968895,
0.003035703906789422,
-0.05662526190280914,
0.053375404328107834,
-0.0359957218170166,
0.0343707911670208,
-0.012681514956057072,
-0.015701765194535255,
0.07312183082103729,
0.009193215519189835,
-0.006795561406761408,
0.0682823657989502,
0.010544379241764545,
-0.034759361296892166,
-0.04514478147029877,
0.04722892865538597,
0.009149059653282166,
0.05016086995601654,
-0.028224319219589233,
-0.0034860919695347548,
-0.0025676535442471504,
-0.02614017017185688,
-0.03942220285534859,
0.07209741324186325,
0.022113172337412834,
0.057296428829431534,
0.014589041471481323,
-0.025027446448802948,
0.007850882597267628,
-0.042283494025468826,
-0.019163571298122406,
0.04051726311445236,
0.005921278614550829,
0.01884564943611622,
-0.03440611809492111,
0.026546403765678406,
-0.0904308632016182,
0.03200404718518257,
0.03156248852610588,
-0.014253458008170128,
0.016708513721823692,
0.017406174913048744,
0.01608150452375412,
0.041471026837825775,
-0.03659623861312866,
-0.07050780951976776,
-0.06316030770540237,
-0.02200719714164734,
-0.024797838181257248,
0.013803069479763508,
0.005281020887196064,
-0.028648214414715767,
-0.06400809437036514,
0.0019009026000276208,
-0.0076654283329844475,
0.0343707911670208,
0.05478838458657265,
-0.018059678375720978,
0.04150635376572609,
-0.011091910302639008,
-0.06496185809373856,
0.042142193764448166,
-0.007312182802706957,
-0.01691163145005703,
-0.05104398354887962,
0.020470580086112022,
-0.08378984779119492,
0.0035854424349963665,
0.012178140692412853,
0.06054628640413284,
-0.044332318007946014,
-0.004433231428265572,
0.0452154316008091,
0.07223871350288391,
-0.05454111471772194,
0.04698165878653526,
0.020735513418912888,
-0.07241533696651459,
0.019393181428313255,
0.03497130796313286,
-0.018174484372138977,
0.04009336978197098,
-0.006804392207413912,
0.02508043497800827,
-0.05711980536580086,
0.031986385583877563,
0.02064720168709755,
-0.031898073852062225,
-0.008853216655552387,
-0.005422319285571575,
0.00047908927081152797,
-0.017980199307203293,
-0.0043846601620316505,
-0.011533467099070549,
-0.02320823259651661,
-0.006482055876404047,
0.025574978440999985,
-0.014191639609634876,
-0.002854665508493781,
0.02283732406795025,
0.012292944826185703,
-0.016160983592271805,
0.02349082939326763,
0.026652377098798752,
-0.03567780181765556,
0.039740122854709625,
0.03173911198973656,
0.01746799238026142,
-0.019322531297802925,
-0.005082320421934128,
-0.002129408298060298,
-0.03615468367934227,
-0.044332318007946014,
0.02281966246664524,
-0.008853216655552387,
-0.01443008054047823,
-0.01605501025915146,
0.010773989371955395,
-0.01087996270507574,
0.00772283086553216,
0.020965123549103737,
-0.021141747012734413,
-0.03804454579949379,
-0.031898073852062225,
0.0816703736782074,
-0.051785796880722046,
-0.03203937038779259,
0.019905386492609978,
-0.013626446947455406,
0.05747305229306221,
-0.008186466060578823,
-0.026652377098798752,
0.046063218265771866,
0.002424147678539157,
-0.03126223012804985,
-0.009096072986721992,
0.04256608709692955,
-0.05040813982486725,
0.009193215519189835,
0.025327706709504128,
-0.02433861792087555,
0.03352300450205803,
-0.02704094722867012,
-0.005753486882895231,
-0.009113735519349575,
0.000832886784337461,
0.01882798783481121,
-0.010420743376016617,
-0.05093801021575928,
-0.004459725227206945,
-0.007965686731040478,
-0.04609854519367218,
0.009961524978280067,
0.01070334017276764,
-0.03942220285534859,
-0.0648205578327179,
0.010305939242243767,
-0.03744402900338173,
0.01126853283494711,
-0.06492653489112854,
-0.03977544978260994,
-0.036560915410518646,
-0.03631364181637764,
-0.02455056644976139,
0.008226205594837666,
-0.019340194761753082,
0.06171199679374695,
-0.02364978939294815,
-0.004525958560407162,
0.050054892897605896,
-0.008031920529901981,
0.03850376605987549,
0.036348968744277954,
0.060228366404771805,
0.03405287116765976,
-0.018121495842933655,
-0.024797838181257248,
0.013882550410926342,
0.04987827315926552,
0.0323043055832386,
-0.04443829134106636,
-0.014235795475542545,
-0.0332227423787117,
0.02327888086438179,
0.02366745099425316,
-0.03631364181637764,
0.03166846185922623,
-0.012796320021152496,
-0.014209302142262459,
-0.013529304414987564,
-0.032268982380628586,
-0.03864506259560585,
-0.0007948025013320148,
0.013697096146643162,
-0.007241533603519201,
-0.010367756709456444,
-0.05009021982550621,
0.006548289209604263,
-0.00904308632016182,
0.027305880561470985,
-0.05779097229242325,
0.007895038463175297,
0.029548989608883858,
-0.03119158186018467,
0.039740122854709625,
0.04422634467482567,
-0.007868544198572636,
-0.03034379333257675,
-0.0332227423787117,
0.031085608527064323,
0.0033757027704268694,
0.05754369869828224,
0.012028010562062263,
-0.0772901251912117,
0.05941590294241905,
0.020170321688055992,
0.03209235891699791,
0.005364916753023863,
0.049984246492385864,
-0.04231881722807884,
0.0052015408873558044,
-0.0019373310497030616,
-0.05920395255088806,
-0.0010514574823901057,
-0.015083584934473038,
-0.05196242034435272,
0.04309595748782158,
0.009104903787374496,
-0.025786925107240677,
0.02357914112508297,
0.02253706566989422,
0.07124962657690048,
0.0005685045616701245,
0.01732669398188591,
-0.04850061237812042,
0.021795250475406647,
0.046522438526153564,
-0.06005174294114113,
0.01027944590896368,
-0.0024307710118591785,
-0.06012239307165146,
-0.07658363878726959,
-0.010138147510588169,
-0.031138595193624496,
0.016222801059484482,
0.024426929652690887,
-0.013246708549559116,
-0.022925635799765587,
-0.020700188353657722
]
|
37,060 | sphinx_autodoc_typehints | add_type_css_class | null | def add_type_css_class(type_rst: str) -> str:
return f":sphinx_autodoc_typehints_type:`{rst.escape(type_rst)}`"
| (type_rst: str) -> str | [
-0.029008598998188972,
-0.015952952206134796,
0.07557877898216248,
0.021098779514431953,
0.04074001684784889,
0.013819966465234756,
-0.015108645893633366,
0.02424493245780468,
-0.0012575725559145212,
-0.026004645973443985,
0.011242609471082687,
0.004317073151469231,
0.04617913067340851,
0.010229441337287426,
0.0000614135860814713,
-0.00814978126436472,
-0.03556752949953079,
-0.016130700707435608,
-0.007878714241087437,
-0.03187035396695137,
-0.0071143945679068565,
0.0332745686173439,
0.03946022689342499,
-0.028741976246237755,
-0.022662967443466187,
0.013855516910552979,
0.008803008124232292,
-0.004985853098332882,
-0.04440164193511009,
-0.0999659076333046,
-0.012104691006243229,
-0.06754453480243683,
-0.046605728566646576,
-0.03572750464081764,
0.03581637889146805,
0.0010570497252047062,
0.01067381352186203,
0.09050967544317245,
0.04450829327106476,
0.010416078381240368,
-0.03754054009914398,
0.06196322292089462,
-0.10096129775047302,
-0.061216674745082855,
-0.007043295074254274,
-0.0002109377965098247,
-0.025826895609498024,
0.022645194083452225,
-0.06964197009801865,
-0.03174592927098274,
0.0053146881982684135,
-0.026004645973443985,
-0.02884862571954727,
-0.02712446264922619,
0.004972521681338549,
-0.03672289475798607,
-0.02804875560104847,
0.04845431447029114,
0.010922661982476711,
0.06448725610971451,
0.049165308475494385,
0.009465121664106846,
-0.008731908164918423,
0.03595857694745064,
0.02132985182106495,
0.05463997274637222,
-0.006372293457388878,
0.015393043868243694,
0.029808469116687775,
-0.00606123311445117,
0.008776345290243626,
0.0014231010572984815,
-0.01706388220191002,
-0.009136286564171314,
0.044437192380428314,
-0.05616861209273338,
-0.04546813666820526,
-0.009060743264853954,
-0.011784743517637253,
0.00830531120300293,
0.05919034034013748,
0.028706425800919533,
0.018681395798921585,
-0.01150923315435648,
0.054959919303655624,
-0.010087242349982262,
-0.07650306820869446,
-0.018023725599050522,
-0.011535895057022572,
-0.035318680107593536,
-0.0316748321056366,
-0.03291907161474228,
-0.0024795953650027514,
-0.022165272384881973,
-0.024813728407025337,
0.0316748321056366,
0.03258134797215462,
-0.05172489210963249,
-0.001547525287605822,
0.004776998423039913,
0.06896652281284332,
0.00967842061072588,
0.10039250552654266,
-0.00838529784232378,
0.016832808032631874,
-0.06708238273859024,
-0.013473357073962688,
0.03384336456656456,
-0.03949577733874321,
0.011384808458387852,
0.046605728566646576,
-0.0772140622138977,
0.017623791471123695,
-0.03448326140642166,
0.04411724582314491,
0.04070447012782097,
-0.008220880292356014,
0.0013520015636458993,
0.0499829538166523,
0.03700729459524155,
0.04678347706794739,
0.0067011285573244095,
-0.050374001264572144,
0.0722726508975029,
0.02333841286599636,
0.037753839045763016,
-0.03610077500343323,
0.06747343391180038,
-0.020050061866641045,
-0.026946714147925377,
-0.05293358489871025,
0.03435883671045303,
-0.051156096160411835,
0.003561641089618206,
0.1018855944275856,
0.04905866086483002,
-0.04699677601456642,
0.02225414663553238,
0.001483091269619763,
0.06349185854196548,
-0.04347734898328781,
0.048418764024972916,
0.005074727348983288,
-0.0716327577829361,
-0.009793957695364952,
0.015810752287507057,
-0.05048064887523651,
0.052542537450790405,
-0.0028062087949365377,
0.029630720615386963,
-0.045823633670806885,
-0.010433852672576904,
0.015019770711660385,
0.040917765349149704,
-0.041095513850450516,
0.00613677641376853,
-0.027479959651827812,
-0.005439112428575754,
0.026040194556117058,
0.017294954508543015,
0.0332745686173439,
-0.02731998637318611,
0.025240324437618256,
-0.04802771657705307,
0.05183153972029686,
0.04365509748458862,
-0.030448364093899727,
-0.010113905183970928,
-0.04187760874629021,
0.014246564358472824,
-0.008798563852906227,
-0.05225813761353493,
0.05200929194688797,
0.004181539639830589,
0.052080389112234116,
0.043832845985889435,
0.00036632909905165434,
0.07458338141441345,
0.00019288518524263054,
-0.013082309626042843,
0.0609678290784359,
0.03482098504900932,
-0.03814488649368286,
0.0009454012615606189,
0.010913774371147156,
-0.024369357153773308,
0.042304206639528275,
-0.01439765002578497,
0.04184206202626228,
-0.011615881696343422,
0.02134762704372406,
0.019712338224053383,
-0.013331158086657524,
-0.07017521560192108,
0.01933906599879265,
-0.0005982356960885227,
-0.009420684538781643,
-0.030537238344550133,
0.014726486057043076,
0.04454383999109268,
-0.043832845985889435,
0.09321145713329315,
-0.005883484147489071,
0.04386839643120766,
0.08766569197177887,
-0.013162296265363693,
0.08510611206293106,
0.030714986845850945,
-0.02591576986014843,
-0.02548917382955551,
-0.029506295919418335,
-0.02470707893371582,
0.023071790114045143,
-0.01477980986237526,
-0.00018649734556674957,
-0.07077956199645996,
-0.01797928847372532,
0.01479758508503437,
-0.04365509748458862,
-0.02593354508280754,
0.015926290303468704,
0.009580658748745918,
0.008505278266966343,
-0.0012720146914944053,
0.03110603429377079,
-0.035763051360845566,
-0.023267313838005066,
-0.04042007029056549,
0.016583960503339767,
-0.018983568996191025,
-0.014077702537178993,
-0.00922516081482172,
0.014299888163805008,
0.03476766124367714,
-0.013517794199287891,
-0.04639242962002754,
-0.044294994324445724,
0.05958138778805733,
0.003383892122656107,
0.010051692835986614,
-0.031177135184407234,
0.04408169537782669,
-0.006558929570019245,
-0.035318680107593536,
-0.036971744149923325,
-0.01212246622890234,
0.04113106429576874,
0.013535568490624428,
-0.007149944081902504,
0.03814488649368286,
-0.012193565256893635,
-0.02822650410234928,
0.01693057082593441,
-0.0063056377694010735,
0.03519425541162491,
0.031212683767080307,
-0.03519425541162491,
-0.024902602657675743,
-0.020796606317162514,
-0.06356295943260193,
-0.02529365010559559,
0.001728606759570539,
0.041095513850450516,
-0.020458882674574852,
-0.0145665118470788,
-0.04525483772158623,
0.030128415673971176,
0.00598568981513381,
-0.02808430604636669,
-0.011242609471082687,
0.08880328387022018,
0.049911852926015854,
0.036971744149923325,
0.01517974492162466,
0.0020407780539244413,
-0.017641564831137657,
0.02106322906911373,
0.02792433090507984,
-0.019427940249443054,
0.008020913228392601,
0.000054643860494252294,
-0.03594079986214638,
0.039389126002788544,
0.053004682064056396,
0.021098779514431953,
0.009571771137416363,
0.00937624741345644,
0.11027533560991287,
-0.02013893611729145,
0.03825153410434723,
0.007660971954464912,
-0.0042082020081579685,
0.06537599861621857,
-0.028137629851698875,
0.01706388220191002,
0.03654514625668526,
0.05997243523597717,
0.023533936589956284,
-0.04468604177236557,
-0.0007259926060214639,
-0.03288352116942406,
0.02760438434779644,
0.02911524847149849,
-0.007185494061559439,
-0.0021163213532418013,
-0.03293684870004654,
-0.022058622911572456,
-0.10081910341978073,
0.01662839762866497,
0.022769616916775703,
-0.03474988415837288,
0.0649494007229805,
-0.06327856332063675,
0.0439394973218441,
-0.017659340053796768,
0.0792759507894516,
-0.040811117738485336,
0.0107449134811759,
0.02486705221235752,
0.07316139340400696,
-0.054959919303655624,
-0.07671637088060379,
0.041557662189006805,
-0.04184206202626228,
0.014966446906328201,
-0.01586407795548439,
-0.012469076551496983,
0.020405558869242668,
0.0017530472250655293,
-0.021098779514431953,
-0.007421011105179787,
-0.060150183737277985,
-0.0039793504402041435,
-0.010691588744521141,
0.001495311502367258,
-0.04497043788433075,
0.05517321825027466,
-0.0622476190328598,
-0.038500383496284485,
-0.00507028354331851,
0.03277687355875969,
0.012078029103577137,
-0.0007770953816361725,
0.005025846417993307,
-0.015926290303468704,
-0.0098295072093606,
-0.03130155801773071,
-0.012451301328837872,
0.045077089220285416,
0.007496554404497147,
0.026324592530727386,
-0.026786739006638527,
0.015419705770909786,
0.02500925213098526,
0.0512627437710762,
0.0039660194888710976,
0.027408860623836517,
0.0009176280000247061,
-0.03283019736409187,
0.0012320211390033364,
-0.021152103319764137,
0.04955635592341423,
0.04710342362523079,
-0.02273406833410263,
-0.013739979825913906,
0.07671637088060379,
0.0068922084756195545,
-0.001533083152025938,
0.058159396052360535,
0.022662967443466187,
-0.009465121664106846,
0.00914517417550087,
-0.024049408733844757,
-0.01921464130282402,
-0.011900280602276325,
-0.012522401288151741,
0.0040548937395215034,
-0.018503647297620773,
-0.054817721247673035,
-0.07301919162273407,
-0.02911524847149849,
-0.03249247372150421,
0.0036971743684262037,
-0.0016308450140058994,
-0.058159396052360535,
-0.039282478392124176,
0.008394185453653336,
-0.01486868504434824,
-0.018876919522881508,
0.02532920055091381,
0.017925962805747986,
-0.01783708855509758,
0.05336017906665802,
-0.040633369237184525,
-0.01441542524844408,
-0.03412776440382004,
-0.04241085797548294,
0.011384808458387852,
0.008389742113649845,
-0.0005299135227687657,
0.0044303881004452705,
-0.062140971422195435,
0.0314437560737133,
0.011633656919002533,
0.01614847593009472,
0.035620853304862976,
-0.03435883671045303,
0.03140820935368538,
0.011109298095107079,
-0.03357674181461334,
-0.04518373683094978,
-0.041415464133024216,
0.023587262257933617,
0.02273406833410263,
0.03471433371305466,
-0.004072668496519327,
-0.00862970296293497,
-0.044152796268463135,
-0.026804514229297638,
0.010353866033256054,
0.00975840725004673,
-0.016121814027428627,
0.06601589173078537,
0.04283745214343071,
0.00705662602558732,
0.020832156762480736,
0.05616861209273338,
0.014699823223054409,
-0.022769616916775703,
0.0779961571097374,
-0.03281242400407791,
0.06903762370347977,
0.01951681450009346,
-0.04877426102757454,
-0.00314615317620337,
-0.05371567979454994,
0.01891246996819973,
-0.05471106991171837,
0.013028984889388084,
-0.02559582330286503,
0.02255631983280182,
0.03128378465771675,
-0.007296586874872446,
0.0064656115137040615,
0.039886824786663055,
-0.029684044420719147,
-0.021898647770285606,
-0.016672834753990173,
0.01877027004957199,
-0.036065224558115005,
-0.06349185854196548,
0.03048391453921795,
0.028599776327610016,
-0.01166920643299818,
0.07245039939880371,
-0.05378677695989609,
-0.055422067642211914,
-0.03320347145199776,
-0.009394022636115551,
-0.032083652913570404,
-0.0254713986068964,
0.015357493422925472,
0.02620016783475876,
0.01949903927743435,
0.005487993359565735,
-0.0606478787958622,
0.027088912203907967,
-0.03594079986214638,
0.0016597291687503457,
0.01143813319504261,
-0.048134367913007736,
-0.02731998637318611,
0.02442268095910549,
-0.005896815564483404,
-0.004541480913758278,
0.057092905044555664,
-0.04497043788433075,
0.03139043226838112,
-0.02376501075923443,
-0.009687308222055435,
-0.018788045272231102,
0.007198825012892485,
-0.021454276517033577,
0.014922008849680424,
-0.02408495917916298,
-0.0004224310687277466,
-0.017010556533932686,
-0.042801905423402786,
0.0022840716410428286,
-0.01983676292002201,
-0.014193239621818066,
0.049627456814050674,
0.00458147469907999,
0.04070447012782097,
0.07006856799125671,
0.02529365010559559,
0.02241411991417408,
0.03258134797215462,
-0.028937499970197678,
0.017481591552495956,
0.05823049694299698,
-0.0509427972137928,
-0.0633496642112732,
-0.03155040740966797,
0.09015417844057083,
-0.0338255912065506,
0.0022207486908882856,
0.014850909821689129,
-0.02136540226638317,
0.015321943908929825,
0.006030126940459013,
0.012069141492247581,
0.02209417149424553,
0.001205358887091279,
0.00791870802640915,
-0.029790693894028664,
0.026608990505337715,
0.054035626351833344,
0.0396379753947258,
-0.01464649848639965,
-0.07301919162273407,
0.013144521974027157,
-0.025098126381635666,
0.019641239196062088,
0.0439394973218441,
0.03169260546565056,
0.022609643638134003,
0.019179092720150948,
-0.02116987854242325,
0.03487430885434151,
0.05936808884143829,
0.023373963311314583,
-0.014637610875070095,
-0.0646294504404068,
0.035283129662275314,
0.03190590441226959,
-0.03139043226838112,
-0.013517794199287891,
0.08347082138061523,
-0.018521422520279884,
0.015295282006263733,
-0.009731745347380638,
0.034056663513183594,
-0.04767221957445145,
0.015757428482174873,
0.0666913390159607,
0.005292469635605812,
-0.03325679525732994,
-0.023605037480592728,
0.02287626639008522,
0.0011809184215962887,
0.0033438988029956818,
-0.05812384933233261,
0.01935684122145176,
-0.07437008619308472,
0.05112054571509361,
-0.04258860647678375,
-0.06086117774248123,
0.08937208354473114,
0.02060108259320259,
0.02074328064918518,
-0.053573478013277054,
0.011073748581111431,
0.04365509748458862,
-0.07309029251337051,
0.004139324650168419,
0.009865056723356247,
0.007363243028521538,
-0.06949976831674576,
0.001455318066291511,
0.011953604407608509,
0.000910406990442425,
0.03595857694745064,
0.021098779514431953,
-0.0426597036421299,
-0.003794936230406165,
0.036225199699401855,
0.016121814027428627,
-0.016726158559322357,
0.006092339288443327,
-0.03297239542007446,
0.041095513850450516,
-0.013428919948637486,
0.00419264892116189,
-0.0024373799096792936,
-0.015633003786206245,
-0.006665579043328762,
-0.015926290303468704,
-0.04162876307964325,
-0.004674792755395174,
-0.018716946244239807,
0.012602387927472591,
0.03448326140642166,
-0.022040847688913345,
-0.007398792542517185,
-0.013997715897858143,
0.03368339315056801,
-0.014166576787829399,
0.006998857948929071,
0.02776435762643814,
-0.0021874208468943834,
0.012664600275456905,
-0.05378677695989609,
-0.00824754312634468,
-0.007518772967159748,
-0.024316031485795975,
0.07269924879074097,
-0.005727954208850861,
0.011029311455786228,
0.0068788775242865086,
0.016690609976649284,
0.06071897968649864,
0.01953458972275257,
0.05456887185573578,
-0.03832263499498367,
-0.023693911731243134,
0.008434179238975048,
-0.02957739494740963,
0.004459272138774395,
-0.014255451038479805,
-0.04959190636873245,
0.08766569197177887,
0.10892444849014282,
0.009465121664106846,
-0.010327203199267387,
0.023391738533973694,
-0.0389980785548687,
-0.08368412405252457,
0.05087169632315636,
-0.07956034690141678,
-0.03172815591096878,
0.02102767862379551,
-0.028937499970197678,
-0.05645300820469856,
0.000969286251347512,
0.02440490573644638,
-0.030128415673971176,
-0.0029039704240858555,
0.01541081815958023,
-0.05350238084793091,
0.017321618273854256,
-0.05417782440781593,
-0.025187000632286072,
0.04212645813822746,
-0.014539849013090134,
0.053466830402612686,
-0.0020018955692648888,
-0.026164619252085686,
-0.055422067642211914,
-0.032865747809410095,
0.007492110598832369,
0.03537200391292572,
0.025240324437618256,
0.031070485711097717,
0.022538544610142708,
0.023445062339305878,
-0.06679798662662506,
0.011695869266986847,
0.009847281500697136,
-0.04820546507835388,
0.03368339315056801,
-0.016068488359451294,
-0.014326550997793674,
-0.004879203625023365,
-0.0022751842625439167,
-0.06299416720867157,
0.03814488649368286,
-0.029026374220848083,
-0.006270087789744139,
-0.011624769307672977,
-0.029310772195458412,
0.04013567045331001,
-0.02986179292201996,
-0.044579390436410904,
-0.02392498403787613,
-0.010558277368545532,
-0.02685783989727497,
-0.02712446264922619,
0.007852052338421345,
0.01342003233730793,
-0.0405978187918663,
-0.006985526531934738,
-0.04472159221768379,
0.010087242349982262,
0.009016306139528751,
0.07198825478553772,
0.0033194583375006914,
-0.0389980785548687,
-0.011722531169652939,
-0.05293358489871025,
-0.07095731049776077,
0.00575461657717824,
-0.034198861569166183,
-0.029346322640776634,
0.029026374220848083,
-0.06715348362922668,
0.01935684122145176,
-0.03156818076968193,
0.03190590441226959,
-0.0158374160528183,
0.07006856799125671,
0.04177096113562584,
-0.022040847688913345,
0.009669532999396324,
0.0030195072758942842,
0.01983676292002201,
0.059403639286756516,
-0.0002084381994791329,
0.02684006467461586,
0.052364788949489594,
0.01342003233730793,
-0.0010570497252047062,
0.0354253314435482,
0.030892735347151756,
-0.03999347239732742,
-0.05563536658883095,
0.026306817308068275,
0.028333153575658798,
0.0025618041399866343,
-0.02392498403787613,
0.012282440438866615,
0.023533936589956284,
0.0399579219520092,
0.04038451984524727,
0.023054014891386032,
0.004523706156760454,
-0.04820546507835388,
-0.007820946164429188,
-0.033772267401218414,
-0.06416730582714081,
-0.00028217615908943117,
-0.00807868130505085,
-0.015810752287507057,
-0.015668554231524467,
-0.009820619598031044,
-0.01875249482691288,
-0.00952733401209116,
0.030892735347151756,
-0.01827257312834263,
-0.03354119136929512,
-0.06505604833364487,
0.05645300820469856,
-0.049663007259368896,
0.00954510923475027,
-0.034980956465005875,
-0.04130881279706955,
0.028884174302220345,
0.007936482317745686,
0.019712338224053383,
0.016717271879315376,
0.019587915390729904,
-0.02728443592786789,
-0.07664526998996735,
0.00967842061072588,
0.04834766685962677,
-0.02452933043241501,
0.016859469935297966,
-0.0013142299139872193,
-0.042446404695510864,
0.01875249482691288,
0.06651359051465988,
-0.04433054476976395,
0.019445715472102165,
-0.05673740804195404,
0.0075098853558301926,
-0.02959517017006874,
-0.05823049694299698,
-0.051760442554950714
]
|
37,063 | sphinx_autodoc_typehints | backfill_type_hints |
Backfill type hints.
:param obj: the object
:param name: the name
:return: backfilled value
| def backfill_type_hints(obj: Any, name: str) -> dict[str, Any]: # noqa: C901, PLR0911, PLR0912
"""
Backfill type hints.
:param obj: the object
:param name: the name
:return: backfilled value
"""
parse_kwargs = {"type_comments": True}
def _one_child(module: Module) -> stmt | None:
children = module.body # use the body to ignore type comments
if len(children) != 1:
_LOGGER.warning('Did not get exactly one node from AST for "%s", got %s', name, len(children))
return None
return children[0]
try:
code = textwrap.dedent(normalize_source_lines(inspect.getsource(obj)))
obj_ast = ast.parse(code, **parse_kwargs) # type: ignore[call-overload] # dynamic kwargs
except (OSError, TypeError, SyntaxError):
return {}
obj_ast = _one_child(obj_ast)
if obj_ast is None:
return {}
try:
type_comment = obj_ast.type_comment
except AttributeError:
return {}
if not type_comment:
return {}
try:
comment_args_str, comment_returns = type_comment.split(" -> ")
except ValueError:
_LOGGER.warning('Unparseable type hint comment for "%s": Expected to contain ` -> `', name)
return {}
rv = {}
if comment_returns:
rv["return"] = comment_returns
args = load_args(obj_ast)
comment_args = split_type_comment_args(comment_args_str)
is_inline = len(comment_args) == 1 and comment_args[0] == "..."
if not is_inline:
if args and args[0].arg in {"self", "cls"} and len(comment_args) != len(args):
comment_args.insert(0, None) # self/cls may be omitted in type comments, insert blank
if len(args) != len(comment_args):
_LOGGER.warning('Not enough type comments found on "%s"', name)
return rv
for at, arg in enumerate(args):
arg_key = getattr(arg, "arg", None)
if arg_key is None:
continue
value = getattr(arg, "type_comment", None) if is_inline else comment_args[at]
if value is not None:
rv[arg_key] = value
return rv
| (obj: Any, name: str) -> dict[str, typing.Any] | [
0.0045509664341807365,
-0.015124264173209667,
0.0011591276852414012,
-0.01924995146691799,
-0.05736857280135155,
-0.007087971083819866,
0.056390922516584396,
0.020491568371653557,
0.007464366964995861,
-0.0714467465877533,
-0.012220639735460281,
-0.007410596124827862,
0.004042587708681822,
-0.009991595521569252,
-0.05498310178518295,
0.03337701037526131,
-0.014977616257965565,
0.04610602930188179,
-0.031363051384687424,
0.024147985503077507,
0.01991475559771061,
-0.00739104300737381,
0.02348318137228489,
0.03996638208627701,
-0.030248528346419334,
-0.020647993311285973,
0.06409481167793274,
0.014410578645765781,
-0.03805018588900566,
-0.020178720355033875,
-0.031089307740330696,
-0.05017305910587311,
0.01350136287510395,
0.00207506469450891,
-0.0014676988357678056,
-0.0739886462688446,
-0.013745775446295738,
0.0865025743842125,
-0.010275114327669144,
-0.04348592460155487,
-0.005958783905953169,
0.022349106147885323,
-0.08869251608848572,
-0.02667032554745674,
-0.0015349123859778047,
-0.05623449757695198,
0.0233463104814291,
-0.05017305910587311,
0.014498567208647728,
-0.06741882860660553,
0.046849045902490616,
-0.0807148814201355,
0.006432944908738136,
0.008446906693279743,
0.005518841091543436,
-0.07226797938346863,
-0.06902217119932175,
0.050720542669296265,
0.007107524201273918,
0.0525585301220417,
0.02459770441055298,
0.02549714408814907,
-0.007723444607108831,
-0.0006391394999809563,
-0.010705281049013138,
-0.03460885211825371,
-0.003754180623218417,
-0.03480438143014908,
-0.05118981748819351,
-0.046457983553409576,
-0.03873454034328461,
-0.026435688138008118,
0.01573040708899498,
0.007102636154741049,
0.03249712660908699,
-0.07363668829202652,
-0.008344252593815327,
-0.0008169497596099973,
0.04880434647202492,
-0.00752302585169673,
0.0038519457448273897,
0.04340771213173866,
-0.06217861548066139,
-0.06049705669283867,
0.005337975453585386,
-0.005592165049165487,
-0.02131279557943344,
-0.0020530675537884235,
0.007894533686339855,
-0.031617239117622375,
-0.019347717985510826,
-0.0017732148990035057,
-0.004448312800377607,
0.02139100804924965,
-0.04724010452628136,
-0.014078177511692047,
0.049742892384529114,
-0.05603896826505661,
0.006247191224247217,
0.0057290359400212765,
0.041569728404283524,
0.00031926421797834337,
-0.046536196023225784,
-0.01699157804250717,
0.043446820229291916,
-0.0236005000770092,
0.04962557554244995,
-0.015525100752711296,
0.012259745970368385,
-0.008055846206843853,
-0.03568426892161369,
-0.12224550545215607,
-0.0875975489616394,
-0.012601924128830433,
0.03406136855483055,
0.0013601572718471289,
-0.029935680329799652,
-0.005494399927556515,
0.015544653870165348,
0.004005925729870796,
0.03531276062130928,
0.026846302673220634,
-0.0418434701859951,
-0.02923176996409893,
0.05001663416624069,
-0.002568778581917286,
0.033592093735933304,
0.005147333722561598,
0.0472010001540184,
-0.008412688970565796,
0.017724815756082535,
-0.015456665307283401,
-0.1080109030008316,
0.061318282037973404,
0.02393290214240551,
0.0710165798664093,
-0.004558298736810684,
-0.01098879985511303,
0.021938493475317955,
-0.058033376932144165,
0.03191053494811058,
-0.026240158826112747,
0.014527896419167519,
-0.08618973195552826,
-0.046653516590595245,
-0.044971954077482224,
0.03034629300236702,
0.009057938121259212,
-0.029740149155259132,
-0.014351919293403625,
-0.02008095569908619,
0.008280705660581589,
0.026201052591204643,
0.07183781266212463,
-0.02438262104988098,
-0.015261135064065456,
-0.021547432988882065,
-0.008793972432613373,
-0.040826715528964996,
0.01295387838035822,
-0.007767438888549805,
-0.02268150821328163,
-0.010050253942608833,
-0.05643002688884735,
0.027941271662712097,
-0.0006409725756384432,
0.00603210786357522,
-0.06425123661756516,
-0.03891051933169365,
-0.006931547075510025,
-0.05709483101963997,
-0.0226228479295969,
0.022075364366173744,
0.05459204316139221,
0.07093837112188339,
0.09909472614526749,
-0.05118981748819351,
0.008930843323469162,
0.015681525692343712,
-0.006330291740596294,
0.05251942202448845,
0.007557243574410677,
-0.026494348421692848,
-0.006887552794069052,
-0.009282798506319523,
0.03339656442403793,
0.020374251529574394,
-0.021762516349554062,
0.03531276062130928,
0.021527878940105438,
0.004660951904952526,
0.02543848380446434,
0.03949710726737976,
-0.012445500120520592,
0.015681525692343712,
0.022212235257029533,
-0.02811724878847599,
0.05963672325015068,
-0.042078107595443726,
-0.0073470487259328365,
-0.02498876489698887,
0.018790455535054207,
0.013159184716641903,
0.05897191911935806,
0.03337701037526131,
0.02655300684273243,
0.05619538947939873,
0.00002071780363621656,
-0.012015333399176598,
0.018340736627578735,
-0.02217312902212143,
-0.0014493678463622928,
-0.01765638031065464,
0.0080900639295578,
-0.021469220519065857,
-0.05259763449430466,
0.014977616257965565,
0.029329536482691765,
0.017871463671326637,
0.04164794087409973,
0.04438536614179611,
0.008867296390235424,
-0.034882593899965286,
0.029192665591835976,
0.05177640914916992,
-0.039262473583221436,
-0.02968149073421955,
-0.0325753390789032,
0.040983136743307114,
-0.07089926302433014,
-0.0026054405607283115,
-0.07590483874082565,
-0.03760046511888504,
-0.02250553108751774,
0.015124264173209667,
0.026064181700348854,
0.010304443538188934,
-0.042860228568315506,
-0.010607515461742878,
-0.025868650525808334,
0.006051660981029272,
0.009942712262272835,
-0.039282023906707764,
-0.012934325262904167,
-0.06917859613895416,
-0.02688540704548359,
0.0369943231344223,
0.0017671044915914536,
-0.02713959664106369,
-0.03568426892161369,
0.0226228479295969,
0.010411985218524933,
0.025594908744096756,
0.002474679611623287,
-0.02647479437291622,
-0.029603278264403343,
-0.0027520880103111267,
-0.040983136743307114,
0.02348318137228489,
-0.00830025877803564,
0.030248528346419334,
0.010675950907170773,
-0.005362416617572308,
0.061318282037973404,
0.021078160032629967,
-0.026377029716968536,
-0.02987702004611492,
0.014557226561009884,
-0.08329588174819946,
-0.026318369433283806,
0.07598304748535156,
-0.029329536482691765,
0.032927293330430984,
0.024050218984484673,
-0.021723410114645958,
0.04661440849304199,
0.03212561830878258,
0.0622568279504776,
0.04657530412077904,
-0.030111657455563545,
0.0024600147735327482,
-0.0452456958591938,
0.01589660905301571,
0.0012373398058116436,
0.01609213836491108,
-0.0006806896417401731,
-0.00782609824091196,
0.02301390841603279,
-0.04340771213173866,
0.019592130556702614,
0.041569728404283524,
-0.009815618395805359,
0.03433511033654213,
0.007317719049751759,
0.03327924758195877,
0.09260312467813492,
-0.049078091979026794,
0.00441409507766366,
-0.023776477202773094,
-0.034100472927093506,
0.009385451674461365,
0.02537982538342476,
0.02805858850479126,
0.04680993780493736,
0.04262559115886688,
-0.02066754549741745,
-0.030111657455563545,
-0.06022331491112709,
-0.015740184113383293,
0.001998074585571885,
0.010431538335978985,
0.008520230650901794,
0.02137145586311817,
0.01977788284420967,
0.02250553108751774,
-0.03484348952770233,
0.005714371334761381,
-0.00564104737713933,
-0.007136853877454996,
0.046184241771698,
-0.051307134330272675,
-0.05537416413426399,
0.034432876855134964,
-0.02137145586311817,
0.03812839835882187,
-0.019904978573322296,
0.014068400487303734,
0.03060048259794712,
0.02968149073421955,
-0.031011095270514488,
-0.02471502311527729,
-0.06120096519589424,
-0.001156072597950697,
0.02557535469532013,
-0.010519526898860931,
0.02563401497900486,
0.021566985175013542,
-0.014322590082883835,
-0.03846079856157303,
0.0013002761406823993,
0.07879868894815445,
-0.020941289141774178,
0.017979005351662636,
0.022877037525177002,
-0.009341456927359104,
0.03177366405725479,
0.0559607557952404,
-0.060849010944366455,
0.0846254900097847,
0.04067029058933258,
-0.05435740575194359,
-0.06358643621206284,
-0.027159150689840317,
-0.015124264173209667,
0.026846302673220634,
-0.02936864271759987,
0.026904961094260216,
-0.022798825055360794,
-0.03507812321186066,
-0.06718418747186661,
0.004123243968933821,
0.007332384120672941,
0.002230266807600856,
0.0027667528484016657,
0.000020144962036283687,
0.023952454328536987,
-0.021097712218761444,
0.057251255959272385,
0.03949710726737976,
-0.013677340000867844,
-0.026865854859352112,
0.01478208601474762,
0.0025956640020012856,
-0.06483782827854156,
-0.018096324056386948,
-0.022349106147885323,
0.017314203083515167,
0.0051033394411206245,
-0.06135739013552666,
0.05138534680008888,
0.02622060477733612,
0.0009189921547658741,
0.007562132086604834,
-0.01295387838035822,
-0.024578150361776352,
-0.033846285194158554,
-0.026142392307519913,
0.00843712966889143,
0.0028547414112836123,
0.01795945316553116,
0.03441332280635834,
-0.007806544657796621,
0.0495864674448967,
-0.0017231102101504803,
0.020647993311285973,
-0.010187125764787197,
0.004333438817411661,
-0.004262559115886688,
-0.10832375288009644,
0.012269522994756699,
0.037502698600292206,
-0.024812787771224976,
-0.00018850337073672563,
0.02119547873735428,
0.002213157946243882,
0.01586727984249592,
0.057329464703798294,
-0.005841466132551432,
0.021742962300777435,
0.03249712660908699,
-0.0139901889488101,
-0.012699688784778118,
0.031089307740330696,
-0.04063118249177933,
0.023893795907497406,
0.04086581990122795,
0.04301665350794792,
0.009605422616004944,
-0.00822693482041359,
-0.022935697808861732,
0.0447373203933239,
-0.015681525692343712,
-0.00013511444558389485,
0.02876249887049198,
-0.024930106475949287,
0.005469958297908306,
0.0025516697205603123,
0.008036293089389801,
-0.018565597012639046,
0.01832118257880211,
0.0015960155287757516,
-0.004614513833075762,
0.05056412145495415,
-0.07590483874082565,
-0.025125635787844658,
-0.04317307844758034,
0.014293260872364044,
-0.044698212295770645,
0.05173730105161667,
0.039594873785972595,
-0.003429111558943987,
0.0904131829738617,
0.0024856780655682087,
0.020256932824850082,
0.002079952973872423,
0.020628441125154495,
-0.016414763405919075,
0.009057938121259212,
-0.05138534680008888,
-0.005870795343071222,
0.03327924758195877,
-0.013305832631886005,
0.09494948387145996,
-0.03433511033654213,
-0.04270380362868309,
-0.054318301379680634,
-0.01681560091674328,
0.017343532294034958,
-0.004812487866729498,
0.03582113981246948,
0.0031260396353900433,
-0.00699509447440505,
-0.0036759686190634966,
-0.010392432101070881,
-0.015104711055755615,
0.045754075050354004,
0.018086547031998634,
-0.04356413707137108,
-0.03715074434876442,
-0.01642454043030739,
0.04911719635128975,
-0.023385416716337204,
0.009781400673091412,
0.029525065794587135,
0.02876249887049198,
0.0323602557182312,
-0.02320943959057331,
-0.006892440840601921,
-0.026924513280391693,
-0.006237414665520191,
0.05435740575194359,
-0.04067029058933258,
0.0418434701859951,
-0.004343215376138687,
0.020941289141774178,
-0.009781400673091412,
0.015075381845235825,
-0.023365864530205727,
-0.05294958874583244,
0.049273621290922165,
-0.039594873785972595,
0.05232389271259308,
-0.00537708168849349,
0.02870383858680725,
0.003991261124610901,
0.014293260872364044,
0.0413350909948349,
0.013648010790348053,
0.0009507657960057259,
-0.06307805329561234,
0.015261135064065456,
-0.029114453122019768,
-0.061631131917238235,
0.0040083699859678745,
0.015446889214217663,
0.030971990898251534,
0.0015239138156175613,
0.03451108559966087,
-0.02440217323601246,
0.034041814506053925,
-0.0452456958591938,
0.031226178631186485,
0.0350390188395977,
0.05279316380620003,
0.0034266675356775522,
-0.0036588595248758793,
0.03660326078534126,
0.03996638208627701,
-0.04727921262383461,
-0.06507246196269989,
-0.04735742509365082,
-0.01137986034154892,
0.05447472631931305,
-0.004680505022406578,
0.06597190350294113,
0.03419823944568634,
0.044228941202163696,
0.0015336903743445873,
0.025985969230532646,
-0.03408092260360718,
0.05916745215654373,
-0.0016253450885415077,
0.02367871254682541,
-0.034296002238988876,
0.04856971278786659,
-0.0006391394999809563,
0.05795516446232796,
0.005127780605107546,
-0.007425260730087757,
0.016668953001499176,
0.055687014013528824,
0.05040769651532173,
-0.013354714959859848,
0.0270027257502079,
0.038812752813100815,
0.02191893942654133,
-0.008466459810733795,
-0.021410562098026276,
-0.06726240366697311,
-0.015485995449125767,
-0.014136835932731628,
-0.04442447051405907,
0.021860281005501747,
0.09901650995016098,
-0.14422310888767242,
-0.03891051933169365,
0.00010158406803384423,
-0.017617274075746536,
0.04970378801226616,
0.015857502818107605,
0.010812821798026562,
0.0588546022772789,
0.048687029629945755,
-0.008319811895489693,
-0.03795241937041283,
0.04943004623055458,
0.001855093170888722,
0.0826701819896698,
-0.03007255122065544,
0.011291871778666973,
-0.00909215584397316,
0.010539080016314983,
0.07500539720058441,
-0.028097694739699364,
0.017167555168271065,
0.014283483847975731,
-0.047044575214385986,
0.04837417975068092,
-0.04434625804424286,
-0.04817865043878555,
-0.0081438347697258,
0.027745740488171577,
-0.0014371472643688321,
-0.02150832675397396,
0.0049078091979026794,
-0.036720577627420425,
-0.01575973816215992,
0.014723426662385464,
0.021958045661449432,
0.030170315876603127,
-0.0700780376791954,
0.03433511033654213,
0.02563401497900486,
-0.003497547237202525,
0.04223453253507614,
0.028273671865463257,
-0.06671492010354996,
0.012416169978678226,
0.026455242186784744,
-0.043329499661922455,
-0.06585458666086197,
-0.043329499661922455,
-0.03494125232100487,
-0.0019516361644491553,
-0.01966056600213051,
0.014185719192028046,
0.03355298936367035,
-0.012934325262904167,
0.047318316996097565,
-0.0018269856227561831,
0.04622334986925125,
-0.026201052591204643,
0.05541326850652695,
0.03499991446733475,
-0.08204448968172073,
-0.029388194903731346,
0.003458441002294421,
-0.0005264040664769709,
0.014205272309482098,
0.0018660917412489653,
-0.010607515461742878,
0.015378453768789768,
0.05099428817629814,
-0.0007179626263678074,
-0.008520230650901794,
0.043525032699108124,
-0.017167555168271065,
-0.02530161291360855,
-0.020452463999390602,
-0.021488772705197334,
0.0010418095625936985,
0.013276503421366215,
0.0018954213010147214,
-0.04798312112689018,
-0.00940011627972126,
0.005660600494593382,
0.008158499374985695,
-0.022642401978373528,
-0.018614478409290314,
0.058502648025751114,
0.018066994845867157,
-0.03609488159418106,
0.002312145195901394,
0.050251271575689316,
-0.042156320065259933,
-0.0012183977523818612,
0.02727646753191948,
-0.0574076771736145,
0.026963619515299797,
0.04403340816497803,
0.0049200295470654964,
0.07961991429328918,
-0.011340754106640816,
0.017724815756082535,
0.04375966638326645,
0.1119215115904808,
-0.04035744071006775,
-0.04454178735613823,
-0.008696207776665688,
-0.04180436581373215,
0.024304408580064774,
-0.053145118057727814,
-0.06245235726237297,
-0.03210606426000595,
0.006159202661365271,
0.03728761523962021,
-0.08290482312440872,
-0.0034071144182235003,
0.05420098081231117,
-0.013325385749340057,
-0.02256418950855732,
0.036779239773750305,
0.0007460700580850244,
-0.03106975555419922,
-0.062217723578214645,
-0.031558580696582794,
0.01827230118215084,
0.014293260872364044,
-0.062100403010845184,
-0.05310601368546486,
-0.004778270144015551,
-0.051698196679353714,
-0.03609488159418106,
0.0008927177404984832,
-0.03073735348880291,
0.004115911666303873,
-0.016463646665215492,
-0.011575390584766865,
0.020647993311285973,
-0.03382673114538193,
0.020374251529574394,
-0.00765012064948678,
0.0277261883020401,
0.012641030363738537,
-0.027178702875971794,
-0.0763741135597229,
-0.051111605018377304,
0.03079601190984249,
0.037502698600292206,
-0.004641399253159761,
0.03846079856157303,
-0.029251324012875557,
-0.00564104737713933,
-0.07175959646701813,
0.007268836721777916,
0.027315573766827583,
-0.010519526898860931,
-0.004538745619356632,
-0.012513935565948486,
0.01065639778971672,
-0.04571497067809105,
0.03644683584570885,
0.007474143523722887,
-0.028215013444423676,
0.008588666096329689,
-0.02557535469532013,
-0.027237363159656525,
0.033455222845077515,
0.017509732395410538,
0.027628423646092415,
0.019269505515694618,
0.05838533118367195,
0.06116186082363129,
0.04137419909238815,
0.029270876199007034,
0.048217758536338806,
-0.04243006184697151,
-0.03478483110666275,
0.004382321611046791,
-0.021488772705197334,
0.06542441993951797,
0.01949436403810978,
-0.055491480976343155,
-0.019562801346182823,
0.013266726396977901,
0.04078760743141174,
0.06593279540538788,
0.011037682183086872,
-0.06675402075052261,
0.01657118834555149,
-0.03433511033654213,
0.03869543597102165,
-0.05983225256204605,
0.05826801061630249,
0.007087971083819866,
-0.007645232602953911,
0.05427919328212738,
0.013129855506122112,
0.021860281005501747,
0.057329464703798294,
0.048100437968969345,
0.025555802509188652,
0.017333755269646645,
-0.0014139279955998063,
0.05478757247328758,
-0.04688815027475357,
-0.009932936169207096,
0.03668147325515747,
-0.004902920685708523,
0.012318405322730541,
-0.04739652946591377,
-0.04438536614179611,
-0.005680153612047434,
-0.0027667528484016657,
-0.02080441825091839,
-0.03523454815149307,
-0.03660326078534126,
0.02622060477733612
]
|
37,065 | sphinx_autodoc_typehints | format_annotation |
Format the annotation.
:param annotation:
:param config:
:return:
| def format_annotation(annotation: Any, config: Config) -> str: # noqa: C901, PLR0911, PLR0912, PLR0915, PLR0914
"""
Format the annotation.
:param annotation:
:param config:
:return:
"""
typehints_formatter: Callable[..., str] | None = getattr(config, "typehints_formatter", None)
if typehints_formatter is not None:
formatted = typehints_formatter(annotation, config)
if formatted is not None:
return formatted
# Special cases
if isinstance(annotation, ForwardRef):
return annotation.__forward_arg__
if annotation is None or annotation is type(None):
return ":py:obj:`None`"
if annotation is Ellipsis:
return ":py:data:`...<Ellipsis>`"
if isinstance(annotation, tuple):
return format_internal_tuple(annotation, config)
try:
module = get_annotation_module(annotation)
class_name = get_annotation_class_name(annotation, module)
args = get_annotation_args(annotation, module, class_name)
except ValueError:
return str(annotation).strip("'")
# Redirect all typing_extensions types to the stdlib typing module
if module == "typing_extensions":
module = "typing"
if module == "_io":
module = "io"
full_name = f"{module}.{class_name}" if module != "builtins" else class_name
fully_qualified: bool = getattr(config, "typehints_fully_qualified", False)
prefix = "" if fully_qualified or full_name == class_name else "~"
role = "data" if module == "typing" and class_name in _PYDATA_ANNOTATIONS else "class"
args_format = "\\[{}]"
formatted_args: str | None = ""
always_use_bars_union: bool = getattr(config, "always_use_bars_union", True)
is_bars_union = full_name == "types.UnionType" or (
always_use_bars_union and type(annotation).__qualname__ == "_UnionGenericAlias"
)
if is_bars_union:
full_name = ""
# Some types require special handling
if full_name == "typing.NewType":
args_format = f"\\(``{annotation.__name__}``, {{}})"
role = "class" if sys.version_info >= (3, 10) else "func"
elif full_name in {"typing.TypeVar", "typing.ParamSpec"}:
params = {k: getattr(annotation, f"__{k}__") for k in ("bound", "covariant", "contravariant")}
params = {k: v for k, v in params.items() if v}
if "bound" in params:
params["bound"] = f" {format_annotation(params['bound'], config)}"
args_format = f"\\(``{annotation.__name__}``{', {}' if args else ''}"
if params:
args_format += "".join(f", {k}={v}" for k, v in params.items())
args_format += ")"
formatted_args = None if args else args_format
elif full_name == "typing.Optional":
args = tuple(x for x in args if x is not type(None))
elif full_name in {"typing.Union", "types.UnionType"} and type(None) in args:
if len(args) == 2: # noqa: PLR2004
full_name = "typing.Optional"
role = "data"
args = tuple(x for x in args if x is not type(None))
else:
simplify_optional_unions: bool = getattr(config, "simplify_optional_unions", True)
if not simplify_optional_unions:
full_name = "typing.Optional"
role = "data"
args_format = f"\\[:py:data:`{prefix}typing.Union`\\[{{}}]]"
args = tuple(x for x in args if x is not type(None))
elif full_name in {"typing.Callable", "collections.abc.Callable"} and args and args[0] is not ...:
fmt = [format_annotation(arg, config) for arg in args]
formatted_args = f"\\[\\[{', '.join(fmt[:-1])}], {fmt[-1]}]"
elif full_name == "typing.Literal":
formatted_args = f"\\[{', '.join(f'``{arg!r}``' for arg in args)}]"
elif is_bars_union:
return " | ".join([format_annotation(arg, config) for arg in args])
if args and not formatted_args:
try:
iter(args)
except TypeError:
fmt = [format_annotation(args, config)]
else:
fmt = [format_annotation(arg, config) for arg in args]
formatted_args = args_format.format(", ".join(fmt))
escape = "\\ " if formatted_args else ""
return f":py:{role}:`{prefix}{full_name}`{escape}{formatted_args}"
| (annotation: 'Any', config: 'Config') -> 'str' | [
0.01677422970533371,
0.0008367484551854432,
0.016519034281373024,
0.016636816784739494,
0.018560603260993958,
-0.035020746290683746,
0.0133487144485116,
-0.03951612114906311,
0.025735536590218544,
-0.028424909338355064,
0.013495943509042263,
-0.012180701829493046,
-0.011729201301932335,
-0.044718194752931595,
-0.013937628827989101,
0.04911541938781738,
0.021613139659166336,
0.022496510297060013,
0.016430696472525597,
0.03596300631761551,
0.028110822662711143,
-0.0012563496129587293,
-0.004917430691421032,
-0.008607957512140274,
0.00891713798046112,
-0.030113128945231438,
0.039692796766757965,
-0.02883714996278286,
-0.039614275097846985,
-0.039732057601213455,
0.017461296170949936,
-0.08982899785041809,
0.011326776817440987,
0.031271327286958694,
0.01617550104856491,
0.008627587929368019,
0.005943122785538435,
0.06152186915278435,
-0.034667398780584335,
-0.06631170213222504,
-0.02602999284863472,
-0.02919049747288227,
-0.028856780380010605,
-0.0514318123459816,
0.013446866534650326,
-0.012622387148439884,
0.014104487374424934,
0.001309106475673616,
-0.12430009245872498,
0.01586141437292099,
0.07015927135944366,
-0.05767429992556572,
-0.018648939207196236,
0.02416509948670864,
-0.027993040159344673,
0.025028839707374573,
0.0203764196485281,
0.07255419343709946,
0.03702305257320404,
-0.00891713798046112,
0.04173436388373375,
0.05343411862850189,
0.013181855902075768,
0.010050796903669834,
0.00005045642319601029,
-0.02646186389029026,
0.015086011029779911,
-0.008127011358737946,
-0.014143748208880424,
-0.02084755152463913,
-0.02654038555920124,
0.0037862255703657866,
0.022535771131515503,
0.01441857498139143,
0.00596275320276618,
-0.05610386282205582,
-0.027914518490433693,
0.006905015092343092,
0.05323781445622444,
0.0012575765140354633,
0.049743592739105225,
0.0031261511612683535,
-0.04138101637363434,
0.003099159337580204,
0.10003683716058731,
-0.023320989683270454,
-0.07015927135944366,
0.038946837186813354,
-0.032252851873636246,
-0.015724001452326775,
-0.03979094699025154,
-0.013554834760725498,
0.025048470124602318,
0.055593471974134445,
-0.060029953718185425,
0.003950630780309439,
0.02891567163169384,
-0.05673203617334366,
0.02088681235909462,
0.02599073201417923,
0.018364297226071358,
-0.04283367097377777,
0.022202054038643837,
0.02634408138692379,
-0.002001080196350813,
-0.004490468185395002,
-0.02428288199007511,
0.05268816277384758,
-0.04087062180042267,
0.0041199433617293835,
0.001350821228697896,
-0.04711310938000679,
0.016204947605729103,
-0.027816366404294968,
0.0518244206905365,
-0.011208994314074516,
-0.027364864945411682,
-0.02385101281106472,
0.0227517057210207,
0.019846398383378983,
0.03382328897714615,
0.038829054683446884,
-0.027286343276500702,
-0.04138101637363434,
0.022143162786960602,
-0.00739577692002058,
-0.015871228650212288,
0.030721673741936684,
-0.022575031965970993,
-0.05319855362176895,
0.006433884147554636,
0.05641794949769974,
-0.08095602691173553,
0.02856232412159443,
0.0672539621591568,
0.002363016828894615,
-0.007906168699264526,
-0.02385101281106472,
-0.04161658138036728,
0.016008641570806503,
0.013172040693461895,
-0.011935321614146233,
0.043775931000709534,
-0.059794388711452484,
-0.03822050988674164,
0.018648939207196236,
0.04597454518079758,
0.0064240689389407635,
0.02408657781779766,
-0.031899500638246536,
0.004627881571650505,
-0.014840629883110523,
0.009486421011388302,
-0.011130472645163536,
0.01044340617954731,
-0.02844453975558281,
-0.00900056678801775,
-0.027777105569839478,
0.02634408138692379,
0.005967660807073116,
0.0054131001234054565,
-0.08284055441617966,
0.0191789623349905,
-0.06419160962104797,
0.04562119394540787,
0.03706231340765953,
-0.0011152556398883462,
0.017029426991939545,
-0.01040414534509182,
0.012210147455334663,
0.02018011547625065,
-0.013702062889933586,
0.04251958057284355,
0.0261085145175457,
0.03818124905228615,
0.08056341856718063,
-0.039967622607946396,
0.04558193311095238,
0.016489587724208832,
-0.0076166195794939995,
0.03829903155565262,
-0.005658480804413557,
0.02045494131743908,
0.00014653833932243288,
0.01182735338807106,
0.0008631268865428865,
0.03199765458703041,
-0.014114302583038807,
-0.0014367045368999243,
0.013299638405442238,
0.011719386093318462,
-0.011248255148530006,
-0.006703802850097418,
0.013574465177953243,
-0.03421589732170105,
-0.022437619045376778,
-0.034431830048561096,
-0.031389109790325165,
0.008558881469070911,
-0.03706231340765953,
0.006728340871632099,
0.012808877043426037,
0.012720540165901184,
0.028032300993800163,
0.009299932047724724,
-0.0018219522899016738,
0.03804383799433708,
0.022064639255404472,
-0.03319511190056801,
-0.09265578538179398,
0.04024244844913483,
-0.030800195410847664,
0.006831401027739048,
-0.012239593081176281,
-0.0019753153901547194,
-0.0312516950070858,
0.07789367437362671,
0.01638162136077881,
-0.019807137548923492,
0.03853459656238556,
0.09171351790428162,
0.012799061834812164,
-0.03129095584154129,
0.03869164362549782,
0.04287293180823326,
-0.025362558662891388,
0.03374476358294487,
0.009982090443372726,
0.09249874204397202,
-0.05410155653953552,
-0.003810763591900468,
-0.05268816277384758,
0.0026452047750353813,
0.024969948455691338,
-0.006173780653625727,
-0.00033187749795615673,
0.014928966760635376,
-0.05123550817370415,
-0.012612571939826012,
-0.009937921538949013,
-0.001969180768355727,
0.011837168596684933,
-0.02532329596579075,
-0.01922803744673729,
-0.02618703804910183,
-0.04010503366589546,
-0.004249995108693838,
0.036335986107587814,
0.03839718550443649,
-0.026913363486528397,
-0.05292372778058052,
0.06266043335199356,
-0.015802523121237755,
0.011493636295199394,
-0.04636715352535248,
-0.020356789231300354,
-0.006453514564782381,
-0.056025341153144836,
0.055593471974134445,
0.019591201096773148,
-0.014487281441688538,
-0.04683828353881836,
0.002583859721198678,
0.05323781445622444,
0.025126991793513298,
-0.03303806856274605,
0.0001008361650747247,
-0.03604152798652649,
-0.01767723076045513,
-0.025087730959057808,
0.002856232225894928,
0.015252869576215744,
0.015243054367601871,
0.017107948660850525,
-0.017372960224747658,
-0.01954212598502636,
0.06807844340801239,
0.0036242741625756025,
0.05390525236725807,
-0.013103334233164787,
0.04813389480113983,
-0.037121206521987915,
0.015537511557340622,
0.010355069302022457,
0.04165584221482277,
0.018491895869374275,
0.008092658594250679,
0.0140455961227417,
-0.0028464170172810555,
0.030014976859092712,
0.054886773228645325,
-0.017274806275963783,
0.0462886318564415,
0.04216623306274414,
0.022260945290327072,
0.020867181941866875,
0.027816366404294968,
-0.003315094392746687,
0.0013962166849523783,
-0.117076076567173,
0.013986704871058464,
0.05398377403616905,
0.09234169870615005,
-0.012534050270915031,
0.015252869576215744,
-0.02314431592822075,
-0.010678972117602825,
-0.07008074969053268,
-0.006016736850142479,
-0.006757786963135004,
0.03246878460049629,
0.0024673037696629763,
-0.022928379476070404,
0.02887641079723835,
0.00947169866412878,
0.01677422970533371,
-0.006816678214818239,
-0.0104826670140028,
0.015596402809023857,
0.029210127890110016,
-0.024223990738391876,
-0.03545261546969414,
0.026874102652072906,
-0.05433712154626846,
0.026442233473062515,
-0.02548034116625786,
-0.025382189080119133,
0.064113087952137,
-0.01155252754688263,
0.02563738450407982,
-0.013162225484848022,
-0.027659321203827858,
-0.023360250517725945,
0.028856780380010605,
-0.04055653512477875,
-0.0006631415453739464,
-0.024106208235025406,
-0.04562119394540787,
-0.04644567519426346,
-0.013211301527917385,
0.024852165952324867,
0.012504604645073414,
-0.010139133781194687,
0.08590290695428848,
-0.00781292375177145,
0.03358772024512291,
0.03829903155565262,
0.010963613167405128,
0.06584057211875916,
-0.014978042803704739,
0.01574363186955452,
0.0015753445914015174,
-0.014968227595090866,
0.00416411180049181,
0.039339445531368256,
-0.05202072486281395,
0.004620519932359457,
-0.010963613167405128,
-0.02349766343832016,
-0.003769048722460866,
0.019669722765684128,
-0.014055411331355572,
0.02875862829387188,
-0.008180995471775532,
0.009486421011388302,
0.049979157745838165,
-0.009658187627792358,
0.014850445091724396,
0.02139720506966114,
0.003567836480215192,
-0.02345840260386467,
-0.036375246942043304,
0.027463017031550407,
-0.02926901914179325,
-0.05928399786353111,
0.06301378458738327,
-0.0024268159177154303,
0.01673496887087822,
-0.1250067800283432,
-0.02950458601117134,
-0.016587741672992706,
0.003835301613435149,
-0.0007263271254487336,
0.022928379476070404,
0.00014546480088029057,
-0.010276547633111477,
-0.05610386282205582,
-0.04797685146331787,
-0.04169510304927826,
0.021927226334810257,
-0.02108311653137207,
-0.003496676217764616,
0.03386254981160164,
-0.03313622251152992,
-0.03733713924884796,
0.006640003994107246,
-0.02895493246614933,
0.05826321244239807,
-0.006453514564782381,
0.039339445531368256,
0.027227452024817467,
-0.08959343284368515,
0.09697448462247849,
0.0006008761702105403,
0.011532897129654884,
0.006276840344071388,
0.06701839715242386,
-0.015184163115918636,
-0.06478052586317062,
0.0771084576845169,
0.015341206453740597,
-0.013280007988214493,
-0.03908425197005272,
0.04200918972492218,
0.05335559695959091,
0.04157732054591179,
-0.009196871891617775,
-0.00298137660138309,
-0.028660476207733154,
-0.004551813472062349,
-0.0036561735905706882,
-0.002723726676777005,
0.011159918271005154,
0.09422621876001358,
-0.0011882564285770059,
0.03286139294505119,
-0.03986946865916252,
0.02532329596579075,
0.0180011335760355,
0.006792140193283558,
-0.0077785709872841835,
-0.01613624021410942,
0.022339466959238052,
-0.03849533572793007,
-0.022241314873099327,
-0.00026715832063928246,
0.030682412907481194,
-0.03568818047642708,
0.07624471932649612,
-0.014997673220932484,
-0.0035727443173527718,
0.04094914346933365,
0.05154959484934807,
0.0018563056364655495,
-0.0168134905397892,
-0.016322730109095573,
-0.0514318123459816,
0.030014976859092712,
0.009879030287265778,
-0.04715237021446228,
0.019296744838356972,
0.04087062180042267,
0.014183009043335915,
0.03295954689383507,
0.026481494307518005,
-0.10584745556116104,
0.0026255743578076363,
-0.02088681235909462,
-0.005501437000930309,
0.009290116839110851,
-0.02864084579050541,
0.00943734496831894,
0.00702279806137085,
0.0037592335138469934,
0.05712464824318886,
-0.04546415060758591,
0.06450570374727249,
-0.04617084935307503,
-0.10851719975471497,
0.015419728122651577,
0.06462348252534866,
-0.03250804543495178,
0.010276547633111477,
0.054572686553001404,
0.025814058259129524,
0.025735536590218544,
0.05437638238072395,
0.016754599288105965,
-0.0482516773045063,
0.022123530507087708,
0.07125858217477798,
-0.010305993258953094,
-0.043932974338531494,
0.024302512407302856,
-0.030839456245303154,
0.010433590970933437,
0.024734383448958397,
-0.015341206453740597,
-0.019875843077898026,
0.031703196465969086,
-0.028189344331622124,
0.07098375260829926,
-0.02029789797961712,
-0.04067431762814522,
0.02595147117972374,
-0.002385101281106472,
0.03900573030114174,
-0.04169510304927826,
-0.025126991793513298,
-0.016440512612462044,
0.039182402193546295,
-0.05111772567033768,
-0.018089471384882927,
-0.03254730626940727,
0.054611947387456894,
-0.06701839715242386,
0.05190294235944748,
0.036453768610954285,
-0.02883714996278286,
0.03904499113559723,
-0.060501087456941605,
0.01133659202605486,
0.030368326231837273,
0.01934582181274891,
0.008666849695146084,
-0.010512112639844418,
0.02930827997624874,
-0.031349848955869675,
-0.005329670384526253,
-0.011719386093318462,
-0.0561823844909668,
0.01613624021410942,
-0.004031606484204531,
0.028307126834988594,
0.023478033021092415,
0.037435293197631836,
0.05319855362176895,
0.014565803110599518,
-0.028974562883377075,
0.0005662161856889725,
0.014016150496900082,
0.0320369154214859,
0.02563738450407982,
0.02076902985572815,
-0.0006790913175791502,
0.049704331904649734,
-0.0478590689599514,
0.00014730515249539167,
0.03339141607284546,
0.03305770084261894,
0.04110619053244591,
0.04196992889046669,
-0.04758424311876297,
-0.02864084579050541,
0.027620060369372368,
0.0033690782729536295,
0.011277700774371624,
-0.01795205846428871,
0.04778054729104042,
0.022084269672632217,
-0.050332505255937576,
0.00022682386043015867,
0.009407899342477322,
0.132937490940094,
-0.07424241304397583,
0.013181855902075768,
0.0005281821358948946,
0.0026452047750353813,
0.026638537645339966,
0.022633923217654228,
-0.044600412249565125,
0.0031286049634218216,
-0.006105073727667332,
-0.00854415912181139,
-0.02072976902127266,
0.048958372324705124,
0.011562342755496502,
0.027364864945411682,
-0.049429506063461304,
0.014025965705513954,
-0.01776556856930256,
-0.04923320189118385,
-0.00905945897102356,
-0.06317082792520523,
-0.04067431762814522,
0.004384954459965229,
-0.017588894814252853,
0.010580819100141525,
-0.023556554690003395,
0.010943982750177383,
0.004892892669886351,
0.017814645543694496,
0.0035212142392992973,
-0.030152389779686928,
0.030682412907481194,
0.0352170504629612,
0.0010048343101516366,
-0.02813045307993889,
0.006728340871632099,
-0.02701151743531227,
-0.060854434967041016,
0.028150083497166634,
0.08142715692520142,
-0.011611418798565865,
0.027953779324889183,
0.05178515985608101,
-0.004576351493597031,
-0.009785785339772701,
0.05370894446969032,
-0.06152186915278435,
-0.008686480112373829,
0.025441080331802368,
-0.04216623306274414,
-0.019915103912353516,
0.039457231760025024,
-0.00021455482055898756,
0.03582559525966644,
0.017539817839860916,
0.005236425902694464,
-0.011562342755496502,
0.0015409913612529635,
0.05398377403616905,
-0.005226610694080591,
-0.03843644633889198,
-0.02341914176940918,
-0.033803656697273254,
-0.01145437452942133,
0.029367173090577126,
0.017255175858736038,
0.022555401548743248,
0.02151498757302761,
0.06615465879440308,
-0.0019385082414373755,
-0.02626555971801281,
-0.013741323724389076,
0.019689353182911873,
-0.05728169158101082,
-0.06941331923007965,
0.012573311105370522,
-0.07494910806417465,
0.030407587066292763,
0.015753446146845818,
0.007302531972527504,
-0.04094914346933365,
-0.02587294951081276,
-0.07227936387062073,
-0.039614275097846985,
-0.0355900302529335,
-0.015095826238393784,
-0.010885091498494148,
0.006919737905263901,
-0.07267197221517563,
-0.014349868521094322,
0.05296298861503601,
-0.00037819313001818955,
-0.0020342066418379545,
-0.04087062180042267,
-0.05355190113186836,
0.02911197580397129,
0.031624674797058105,
0.017902981489896774,
0.05264890193939209,
-0.02001325599849224,
0.03231174126267433,
0.0068215858191251755,
0.06419160962104797,
-0.036139681935310364,
-0.004667142406105995,
-0.008553974330425262,
-0.002959292149171233,
-0.0006619146442972124,
-0.019483234733343124,
-0.039653535932302475,
0.024930687621235847,
-0.06415235251188278,
-0.05288446694612503,
-0.07220084220170975,
-0.03276324272155762,
0.1336441934108734,
0.008976029232144356,
-0.034353308379650116,
0.02840527892112732,
0.012985550798475742,
-0.03354845941066742,
0.0007938068592920899,
-0.05190294235944748,
0.06144334748387337,
0.009913383983075619,
-0.002105367137119174,
-0.038672011345624924,
-0.013633356429636478,
-0.059872910380363464,
-0.029092345386743546,
-0.06395604461431503,
-0.03307732939720154,
0.0205727256834507,
0.025971101596951485,
-0.015243054367601871,
0.07220084220170975,
-0.055083077400922775,
-0.004338332451879978,
-0.04318701848387718,
0.01720610074698925,
-0.04679902270436287,
0.027541538700461388,
-0.05665351450443268,
-0.050057679414749146,
-0.021691661328077316,
0.0064240689389407635,
-0.04781980812549591,
0.0062081338837742805,
0.0073319775983691216,
-0.04640641435980797,
-0.010080242529511452,
-0.00472603365778923,
0.05359116196632385,
-0.016744785010814667,
-0.033882178366184235,
0.015714185312390327,
-0.04354036599397659,
-0.01708831824362278,
0.06470200419425964,
0.003275833558291197,
-0.03592374548316002,
-0.021534617990255356,
-0.03081982582807541,
-0.008588327094912529,
0.07090523093938828,
0.027718212455511093,
-0.030682412907481194,
-0.019159331917762756,
0.07165119051933289,
0.05060733109712601,
-0.00003916507193935104,
0.005079382099211216,
0.020788660272955894,
-0.04334406182169914,
-0.07220084220170975,
0.009427529759705067,
-0.030113128945231438,
0.02677595056593418,
0.04793759062886238,
-0.03539372235536575,
0.02021937631070614,
-0.004983683582395315,
-0.014173193834722042,
-0.012180701829493046,
-0.0010532969608902931,
-0.039417967200279236,
-0.0016857660375535488,
-0.049429506063461304,
0.049586549401283264,
-0.049625810235738754,
0.05849877744913101,
0.01883542910218239,
-0.020867181941866875,
0.023360250517725945,
-0.020513832569122314,
-0.01827596127986908,
-0.02463623136281967,
0.013633356429636478,
0.006625281181186438,
-0.072004534304142,
-0.03217432647943497,
0.017696861177682877,
-0.01566510833799839,
0.0280911922454834,
0.048840589821338654,
-0.007960152812302113,
-0.039967622607946396,
-0.08786594867706299,
0.05154959484934807,
0.025539232417941093,
-0.06548722088336945,
0.027541538700461388,
0.013662802055478096,
-0.06670431047677994,
0.012828507460653782
]
|
37,066 | sphinx_autodoc_typehints | format_default | null | def format_default(app: Sphinx, default: Any, is_annotated: bool) -> str | None: # noqa: FBT001
if default is inspect.Parameter.empty:
return None
formatted = repr(default).replace("\\", "\\\\")
if is_annotated:
if app.config.typehints_defaults.startswith("braces"):
return f" (default: ``{formatted}``)"
return f", default: ``{formatted}``"
if app.config.typehints_defaults == "braces-after":
return f" (default: ``{formatted}``)"
return f"default: ``{formatted}``"
| (app: 'Sphinx', default: 'Any', is_annotated: 'bool') -> 'str | None' | [
0.037759169936180115,
-0.026857618242502213,
0.07897020131349564,
-0.027667749673128128,
0.008528394624590874,
-0.040260009467601776,
0.027315517887473106,
-0.0379352830350399,
0.0743912011384964,
-0.026611056178808212,
0.009386957623064518,
-0.022771738469600677,
-0.0673113539814949,
-0.016052929684519768,
0.03716037794947624,
0.02689284086227417,
0.00873532984405756,
-0.010056196711957455,
0.08657839149236679,
0.03878064081072807,
0.028354600071907043,
-0.011579596437513828,
-0.026205990463495255,
-0.03418402373790741,
-0.005058918613940477,
-0.00016497071192134172,
0.024832289665937424,
-0.03307449445128441,
0.002248775213956833,
-0.05054515600204468,
0.018386460840702057,
-0.08361965417861938,
0.021415648981928825,
0.03909764811396599,
0.06083030253648758,
-0.006194863934069872,
-0.02234906144440174,
0.09756800532341003,
-0.09094605594873428,
-0.06234489753842354,
0.029957251623272896,
-0.025307800620794296,
-0.04586048424243927,
-0.054842375218868256,
-0.03909764811396599,
0.02752685733139515,
0.04395843669772148,
0.08228117227554321,
-0.03140139952301979,
0.03131334111094475,
0.06185177341103554,
-0.027667749673128128,
-0.02613554522395134,
0.028442658483982086,
-0.09615907818078995,
-0.03955554589629173,
0.03041515126824379,
0.03430730476975441,
0.01597367785871029,
0.0005401793750934303,
0.04254951328039169,
0.02490273490548134,
0.05452536791563034,
-0.04371187463402748,
0.005424358416348696,
0.007374837528914213,
-0.0013197656953707337,
0.009210841730237007,
0.009439792484045029,
0.015903232619166374,
-0.003405634080991149,
-0.013913126662373543,
-0.07012920081615448,
0.012284058146178722,
0.029182342812418938,
-0.04335964471101761,
-0.028636384755373,
-0.02979874797165394,
-0.012257641181349754,
-0.015093101188540459,
0.021556541323661804,
-0.025554362684488297,
-0.017928561195731163,
-0.030749771744012833,
0.04508557543158531,
-0.03330344706773758,
-0.03330344706773758,
0.03828751668334007,
0.05878736451268196,
-0.029481738805770874,
-0.021063417196273804,
-0.025413470342755318,
0.05417313799262047,
0.06245056539773941,
-0.03092588670551777,
-0.0005321991047821939,
0.006573512218892574,
-0.07974511384963989,
0.07446164637804031,
0.004860788583755493,
0.007564161904156208,
-0.046811506152153015,
0.0011843768879771233,
-0.04825565591454506,
0.003343993565067649,
-0.04571959003806114,
0.02627643756568432,
0.03004531003534794,
0.009985750541090965,
-0.020552681758999825,
-0.06639555096626282,
-0.10919162631034851,
0.023194415494799614,
-0.049206677824258804,
0.05766022577881813,
0.04487423598766327,
0.019038088619709015,
0.02349381148815155,
0.05871691554784775,
0.036491136997938156,
-0.0021287964191287756,
-0.015410108491778374,
-0.0457548126578331,
-0.05392657592892647,
0.030379928648471832,
0.01237211562693119,
-0.02224339172244072,
0.03277510032057762,
0.007330808788537979,
-0.009783217683434486,
0.019548824056982994,
0.06343681365251541,
-0.08002689480781555,
-0.025589587166905403,
0.036737699061632156,
0.004997278098016977,
-0.029006227850914,
0.05766022577881813,
-0.03117244876921177,
0.11123456805944443,
0.006758433301001787,
-0.01118333637714386,
0.02650538645684719,
-0.03821707144379616,
-0.016149794682860374,
0.02525496669113636,
0.051073502749204636,
0.03351478651165962,
0.006547094788402319,
0.00227629323489964,
0.03590995445847511,
0.04159848764538765,
-0.058118123561143875,
0.0008932359633035958,
-0.028108038008213043,
-0.01243375614285469,
0.013243887573480606,
-0.04733985289931297,
0.04247906431555748,
-0.005679725669324398,
0.06090075150132179,
-0.04582526162266731,
0.06354248523712158,
-0.022067274898290634,
0.05054515600204468,
0.06889639794826508,
-0.05336300656199455,
0.03691381588578224,
0.04159848764538765,
0.0004562492831610143,
-0.009880080819129944,
-0.00955426786094904,
-0.007911990396678448,
0.03076738305389881,
0.10510575026273727,
0.0812244787812233,
-0.038639746606349945,
0.02359948121011257,
0.020041946321725845,
-0.05255287513136864,
0.004803550895303488,
0.010029779747128487,
0.0394146554172039,
0.028689218685030937,
-0.00038360164035111666,
0.03131334111094475,
0.019038088619709015,
-0.003104036208242178,
-0.03920331597328186,
0.0022718904074281454,
0.04286652058362961,
0.02123953215777874,
-0.011438703164458275,
-0.008995100855827332,
-0.019055699929594994,
-0.013948350213468075,
0.05128484219312668,
-0.05286988243460655,
0.02011239342391491,
-0.0061684465035796165,
-0.03821707144379616,
0.006071582902222872,
0.0022564802784472704,
-0.0042377798818051815,
0.04586048424243927,
0.03344433754682541,
0.03214108571410179,
-0.011517955921590328,
-0.08770553022623062,
-0.022437117993831635,
-0.012398533523082733,
0.01652844250202179,
-0.03369089961051941,
-0.02574809081852436,
-0.028953392058610916,
-0.015515778213739395,
0.05262332037091255,
0.04776253178715706,
-0.07777261734008789,
0.049065787345170975,
0.03443058580160141,
-0.04424022138118744,
0.07918154448270798,
0.01062857173383236,
0.04980546981096268,
0.02322963811457157,
0.06639555096626282,
-0.028196096420288086,
0.02049984782934189,
-0.030608879402279854,
-0.011535567231476307,
-0.037125151604413986,
-0.022718902677297592,
0.03397268429398537,
-0.018069453537464142,
-0.029305623844265938,
0.02562480978667736,
-0.08277429640293121,
-0.04247906431555748,
-0.009932915680110455,
0.024180661886930466,
0.01452072523534298,
-0.023652315139770508,
-0.023934099823236465,
0.002151911612600088,
-0.05839990824460983,
-0.028231319040060043,
0.001539910095743835,
0.0008161853766068816,
0.00036654045106843114,
0.003865735838189721,
0.052094973623752594,
0.00936054065823555,
-0.016176210716366768,
0.00936054065823555,
0.035363998264074326,
-0.04547302797436714,
0.007498118560761213,
-0.00019757960399147123,
-0.004497550427913666,
-0.026047486811876297,
-0.03708992898464203,
-0.028442658483982086,
0.025977039709687233,
0.00722954235970974,
0.017849309369921684,
-0.011403480544686317,
-0.014978625811636448,
0.03959077224135399,
-0.007986838929355145,
0.040894024074077606,
0.03439536318182945,
-0.0048079537227749825,
-0.0455082543194294,
-0.022560399025678635,
0.0012537224683910608,
0.012645094655454159,
0.04156326502561569,
-0.014793704263865948,
-0.026434941217303276,
0.02361709251999855,
-0.023951711133122444,
0.0182279571890831,
0.04247906431555748,
0.04371187463402748,
0.05286988243460655,
0.018756303936243057,
0.02550152875483036,
-0.006806865334510803,
0.05449014529585838,
0.050826940685510635,
0.051320064812898636,
0.0061684465035796165,
0.03194735571742058,
-0.018386460840702057,
-0.044275444000959396,
0.09418658167123795,
-0.036385469138622284,
-0.011694070883095264,
-0.034994155168533325,
-0.031084390357136726,
-0.005626891274005175,
0.05808290094137192,
-0.018368849530816078,
0.0073264059610664845,
-0.002456811722368002,
-0.017866920679807663,
-0.09728621691465378,
0.029587408527731895,
-0.019249428063631058,
-0.04283129796385765,
0.015286827459931374,
-0.007484910078346729,
-0.014406249858438969,
0.020306119695305824,
0.014881761744618416,
-0.0003629630955401808,
-0.028935780748724937,
0.05744888633489609,
0.03140139952301979,
-0.016132181510329247,
0.008184969425201416,
-0.02854832634329796,
-0.042408619076013565,
-0.022895019501447678,
-0.05466625839471817,
-0.039273761212825775,
0.06104164198040962,
0.000740235554985702,
0.0386749692261219,
0.02023567445576191,
-0.005891064647585154,
-0.037125151604413986,
-0.04075313359498978,
-0.013543284498155117,
-0.04420499876141548,
0.006146431900560856,
-0.027562079951167107,
-0.06276757270097733,
-0.040295232087373734,
0.013490449637174606,
-0.014001184143126011,
0.02173265628516674,
0.010364399291574955,
-0.026804784312844276,
0.03684336692094803,
0.01451191958039999,
0.01620262861251831,
0.028636384755373,
-0.030608879402279854,
-0.019777772948145866,
0.0023313292767852545,
0.022032052278518677,
0.004488744307309389,
0.035487279295921326,
-0.03832273930311203,
-0.0031370578799396753,
-0.0021761273965239525,
0.000830494798719883,
0.024303942918777466,
-0.04814998432993889,
0.012468979693949223,
0.02187354862689972,
0.03944987803697586,
0.06343681365251541,
0.06396515667438507,
0.004466730169951916,
0.027333129197359085,
0.016660528257489204,
-0.020270897075533867,
-0.01765558123588562,
-0.022912630811333656,
-0.0020451415330171585,
-0.06276757270097733,
-0.013411197811365128,
0.06569109112024307,
-0.06537408381700516,
0.006128820590674877,
-0.0682976022362709,
-0.057272769510746,
-0.024955570697784424,
0.013895515352487564,
-0.0004793644475284964,
0.05114394798874855,
-0.021010583266615868,
-0.04068268835544586,
0.0018106878269463778,
-0.026047486811876297,
-0.03381418064236641,
0.0045019532553851604,
-0.022049663588404655,
-0.030256647616624832,
0.012988519854843616,
0.0042994203977286816,
-0.05301077291369438,
-0.007163499016314745,
-0.021820714697241783,
-0.017928561195731163,
-0.026963287964463234,
0.04092925041913986,
0.057378437370061874,
-0.03635024651885033,
0.027562079951167107,
-0.010478873737156391,
-0.025184521451592445,
0.010831104591488838,
0.033990297466516495,
0.04385276511311531,
-0.037759169936180115,
0.04977024719119072,
-0.018879584968090057,
0.0003271896275691688,
-0.037512607872486115,
0.03152468055486679,
0.04860788583755493,
0.01632590964436531,
-0.0006086992798373103,
0.03531116247177124,
-0.03205302730202675,
-0.016422772780060768,
-0.039907779544591904,
-0.025061240419745445,
0.056004736572504044,
0.06695912033319473,
0.050333816558122635,
0.0007947213016450405,
-0.014881761744618416,
-0.013155830092728138,
0.03786483779549599,
-0.02159176394343376,
-0.011341840028762817,
-0.00014474494673777372,
0.03576906397938728,
-0.028354600071907043,
-0.005050112958997488,
-0.021803101524710655,
0.04332441836595535,
-0.03430730476975441,
0.03797050938010216,
-0.038886308670043945,
0.016237851232290268,
0.00637538218870759,
-0.005736963357776403,
0.015163547359406948,
-0.04085880145430565,
0.012107942253351212,
-0.06368337571620941,
0.018756303936243057,
-0.005124961957335472,
-0.03878064081072807,
-0.00880577601492405,
-0.025307800620794296,
0.03506460040807724,
0.013499255292117596,
0.039907779544591904,
-0.08918490260839462,
-0.028565939515829086,
-0.012301669456064701,
0.03515265882015228,
0.016255462542176247,
0.019689716398715973,
0.030379928648471832,
0.012081525288522243,
0.03920331597328186,
0.009607101790606976,
-0.05153140425682068,
0.03705470636487007,
-0.013023743405938148,
-0.07139723747968674,
-0.01119214203208685,
0.030732160434126854,
-0.004352254793047905,
-0.014503113925457,
0.016114570200443268,
0.029605019837617874,
-0.005296674557030201,
0.001511291367933154,
0.001038531307131052,
-0.02034134417772293,
-0.0007831637631170452,
-0.01910853572189808,
-0.016299491748213768,
-0.028636384755373,
0.0011810747673735023,
-0.021803101524710655,
-0.001891040476039052,
-0.02134520187973976,
-0.014793704263865948,
-0.021028194576501846,
0.03143662214279175,
0.01294449158012867,
0.09277766197919846,
0.0016213635681197047,
-0.039379432797431946,
0.01282121054828167,
-0.013270305469632149,
0.03180646523833275,
-0.037019483745098114,
0.01651083119213581,
0.02676955983042717,
0.052094973623752594,
-0.07136201113462448,
-0.03545205667614937,
-0.027544468641281128,
0.02536063641309738,
-0.09848380088806152,
-0.015920843929052353,
0.026804784312844276,
-0.014679228886961937,
0.0016158599173650146,
-0.00471549341455102,
-0.030873052775859833,
0.013191052712500095,
0.0012702333042398095,
0.027931923046708107,
-0.06572631746530533,
0.053961798548698425,
-0.00179747911170125,
0.07453209161758423,
-0.023176804184913635,
-0.06016106531023979,
0.018263179808855057,
-0.0753774493932724,
0.03494131937623024,
0.027562079951167107,
-0.0006395195377990603,
0.04483901336789131,
0.0020693575497716665,
-0.056004736572504044,
0.031225282698869705,
0.04409932717680931,
0.019178980961441994,
0.022419506683945656,
0.03502937778830528,
-0.04564914479851723,
0.07727949321269989,
-0.05758977681398392,
0.02602987550199032,
-0.0024920348078012466,
0.0034694760106503963,
0.011456315405666828,
-0.0008046278380788863,
-0.03256376087665558,
-0.05832946300506592,
0.04318352788686752,
0.0386749692261219,
-0.0010654989164322615,
0.036491136997938156,
0.0685441642999649,
-0.03959077224135399,
-0.04631838575005531,
0.01131542306393385,
-0.015700699761509895,
0.06963607668876648,
-0.03464192524552345,
0.012926879338920116,
-0.030256647616624832,
0.013552090153098106,
0.047797754406929016,
0.05551161617040634,
-0.025096463039517403,
0.009959333576261997,
0.04360620304942131,
0.003907563164830208,
0.03240525722503662,
0.028971005231142044,
-0.019777772948145866,
-0.001828299369663,
-0.026558222249150276,
0.026241213083267212,
-0.03356761857867241,
-0.08361965417861938,
0.05438447371125221,
-0.027967145666480064,
-0.027192236855626106,
0.03930898755788803,
-0.009448598138988018,
0.02146848291158676,
-0.060759857296943665,
0.03576906397938728,
-0.008378696627914906,
0.02109863981604576,
0.004306024871766567,
-0.021415648981928825,
0.0445220060646534,
-0.0004911972209811211,
-0.00949262734502554,
-0.020147616043686867,
-0.02222578041255474,
0.005613682325929403,
-0.08136537671089172,
0.030873052775859833,
0.034360140562057495,
0.013455226086080074,
0.01769961044192314,
0.045050352811813354,
0.013464031741023064,
-0.034976545721292496,
0.06156998872756958,
0.0011557581601664424,
-0.01482892781496048,
0.03980210795998573,
-0.01910853572189808,
0.05864647030830383,
0.03326822444796562,
0.02374037355184555,
0.028865335509181023,
0.00527465995401144,
-0.0037402536254376173,
-0.001008261344395578,
-0.00936054065823555,
0.05783633887767792,
-0.06195744127035141,
0.02664627879858017,
-0.05984405800700188,
-0.011509149335324764,
-0.005983524955809116,
0.022014440968632698,
-0.003760066581889987,
-0.021803101524710655,
-0.008810179308056831,
0.07706815749406815,
-0.01757632941007614,
-0.0545605905354023,
0.014811315573751926,
0.002397372620180249,
-0.05593429133296013,
-0.028460269793868065,
-0.040541794151067734,
-0.002170623978599906,
0.053081221878528595,
0.00869570393115282,
0.004189348313957453,
-0.006463439669460058,
-0.01722409948706627,
0.006265310104936361,
0.0064017996191978455,
-0.02160937525331974,
-0.02021806314587593,
0.027174625545740128,
0.021398035809397697,
-0.0680510401725769,
0.027209850028157234,
0.02212011069059372,
0.03418402373790741,
-0.00022152031306177378,
-0.03980210795998573,
-0.022912630811333656,
-0.032352421432733536,
0.01849213056266308,
-0.0557934008538723,
-0.005301077384501696,
-0.02414543926715851,
0.01080468762665987,
-0.01734737865626812,
0.029992474243044853,
-0.022648457437753677,
0.011526761576533318,
-0.011843768879771233,
-0.05815334618091583,
-0.021697433665394783,
-0.050686050206422806,
-0.017726028338074684,
0.012019884772598743,
-0.05424358323216438,
-0.061746105551719666,
-0.019812997430562973,
-0.023088745772838593,
0.06202789023518562,
-0.019901053979992867,
-0.01909092254936695,
-0.010065002366900444,
0.0035377207677811384,
-0.051954079419374466,
-0.021644597873091698,
-0.01238092128187418,
0.04860788583755493,
0.0467410609126091,
0.009395763278007507,
-0.05364479124546051,
0.053961798548698425,
-0.058259017765522,
-0.01652844250202179,
0.04286652058362961,
-0.00955426786094904,
0.029552185907959938,
0.00024270921130664647,
-0.013464031741023064,
0.032986439764499664,
0.009184424765408039,
-0.04874878004193306,
-0.08361965417861938,
0.00949262734502554,
-0.03418402373790741,
0.00870450958609581,
-0.05565250664949417,
-0.037759169936180115,
0.0007292283698916435,
-0.07263004034757614,
-0.042408619076013565,
0.03201780468225479,
0.02765013836324215,
0.008035271428525448,
-0.008691301569342613,
0.006234489846974611,
0.0011799740605056286,
0.054842375218868256,
-0.029833970591425896,
-0.0227541271597147,
-0.0025712866336107254,
0.03369089961051941,
0.07129156589508057,
-0.011209753341972828,
-0.009800828993320465,
-0.06083030253648758,
-0.011861381120979786,
-0.02840743400156498,
0.02536063641309738,
-0.022278614342212677,
-0.0076962485909461975,
-0.006260906811803579,
-0.022454729303717613,
0.001492579118348658,
-0.04269040375947952,
0.029869193211197853,
-0.011359451338648796,
-0.03980210795998573,
-0.047692086547613144,
0.02891816943883896,
-0.026434941217303276,
-0.008361084386706352,
0.06970652937889099,
-0.010179477743804455,
0.005094141699373722,
0.036878593266010284,
-0.006208072416484356,
0.0396612174808979,
-0.0008789265411905944,
-0.010109031572937965,
-0.056990984827280045,
-0.042267728596925735,
0.09136873483657837,
0.002173925982788205,
0.03256376087665558,
0.03740694001317024,
-0.0025294593069702387,
0.0007650018087588251,
-0.007101858500391245,
-0.04057701677083969,
0.05427880585193634,
0.015903232619166374,
0.020041946321725845,
-0.027667749673128128,
-0.039872556924819946,
0.0631198063492775,
-0.016933508217334747,
-0.0012592260027304292,
0.04459245130419731,
-0.0006378684192895889,
0.012979714199900627,
-0.01646680198609829,
0.015383691526949406,
0.047551192343235016,
-0.00323392148129642,
0.0036808145232498646,
0.03039753995835781,
-0.05755455419421196,
-0.011667653918266296
]
|
37,067 | sphinx_autodoc_typehints | format_internal_tuple | null | def format_internal_tuple(t: tuple[Any, ...], config: Config) -> str:
# An annotation can be a tuple, e.g., for nptyping:
# In this case, format_annotation receives:
# This solution should hopefully be general for *any* type that allows tuples in annotations
fmt = [format_annotation(a, config) for a in t]
if len(fmt) == 0:
return "()"
if len(fmt) == 1:
return f"({fmt[0]}, )"
return f"({', '.join(fmt)})"
| (t: 'tuple[Any, ...]', config: 'Config') -> 'str' | [
0.01432130392640829,
-0.01904881000518799,
0.05499519407749176,
0.03681381791830063,
0.0019647337030619383,
-0.09375206381082535,
-0.025571899488568306,
-0.032823629677295685,
0.008934550918638706,
-0.05870780721306801,
0.012360907159745693,
0.022188913077116013,
-0.011233245953917503,
-0.010079560801386833,
-0.024912649765610695,
0.023281877860426903,
0.006518752314150333,
-0.009507056325674057,
0.022778768092393875,
0.03667502850294113,
0.045488141477108,
0.03114081360399723,
-0.021130645647644997,
-0.009567775763571262,
0.011675636284053326,
0.007247395347803831,
0.023524759337306023,
-0.02944064512848854,
0.008505172096192837,
-0.03837519511580467,
-0.010365813970565796,
-0.04795164614915848,
0.011224571615457535,
-0.029943756759166718,
-0.0117103336378932,
0.04739649221301079,
-0.041567347943782806,
0.04652905836701393,
-0.02560659684240818,
-0.03952020779252052,
0.05444004014134407,
-0.04618208482861519,
-0.018771231174468994,
-0.025988265872001648,
-0.002253154991194606,
0.0074729276821017265,
0.028191544115543365,
0.0030533610843122005,
-0.09194780141115189,
-0.036466844379901886,
0.04028354585170746,
0.014702973887324333,
-0.008101816289126873,
0.003526111599057913,
-0.041150979697704315,
-0.002576273400336504,
0.05006818100810051,
0.024357493966817856,
0.08799231052398682,
0.007416544482111931,
0.03171331807971001,
0.10020575672388077,
0.01939578168094158,
0.029648829251527786,
0.001654626801609993,
-0.04108158499002457,
-0.007772191893309355,
0.0015483662718906999,
-0.039450813084840775,
0.01655060425400734,
0.011233245953917503,
-0.013731450773775578,
-0.05343381687998772,
-0.047916948795318604,
-0.007247395347803831,
-0.026543423533439636,
0.006284545641392469,
0.008600589819252491,
0.031192859634757042,
-0.021668454632163048,
-0.013124248012900352,
-0.023264529183506966,
0.03664033114910126,
0.02310839109122753,
0.02519022859632969,
-0.0252422746270895,
-0.010851575993001461,
-0.007464253343641758,
-0.049235448241233826,
0.0700538158416748,
-0.008288313634693623,
-0.010513276793062687,
0.00345237972214818,
0.008227593265473843,
-0.0691169872879982,
-0.00014109326002653688,
0.015657149255275726,
-0.04201840981841087,
0.009194780141115189,
0.002558924723416567,
0.039138536900281906,
-0.10631247609853745,
-0.09000475704669952,
-0.05360730364918709,
-0.017131784930825233,
-0.07418279349803925,
0.04250417277216911,
-0.0024656758178025484,
0.01844160631299019,
0.007000177167356014,
-0.01844160631299019,
-0.03422887250781059,
0.02536371536552906,
-0.009090688079595566,
0.040179453790187836,
0.035200394690036774,
-0.0028560201171785593,
-0.02803540602326393,
-0.017712963744997978,
-0.026925092563033104,
0.06217753514647484,
0.039381418377161026,
-0.01897941529750824,
0.0356341116130352,
-0.025866825133562088,
0.035304486751556396,
0.014772368595004082,
0.0027020510751754045,
0.02924981154501438,
-0.07203156501054764,
0.005586262792348862,
0.027514945715665817,
-0.003016495145857334,
0.05686884745955467,
0.01837221160531044,
0.04014475643634796,
0.025346366688609123,
-0.029475342482328415,
-0.032147035002708435,
0.009524405002593994,
-0.021026553586125374,
-0.023889079689979553,
0.017678266391158104,
0.0013250025222077966,
0.04083870351314545,
-0.01612556353211403,
-0.054162461310625076,
0.05815264955163002,
0.05298275500535965,
0.007590030785650015,
-0.019569268450140953,
-0.03193885087966919,
-0.021200040355324745,
0.011155176907777786,
-0.008882504887878895,
0.011554195545613766,
0.039693694561719894,
-0.013852890580892563,
0.060303881764411926,
-0.004198371432721615,
0.019742755219340324,
-0.013115573674440384,
-0.0028473460115492344,
0.04410024732351303,
0.029353903606534004,
0.010114258155226707,
-0.015509686432778835,
0.015613777562975883,
0.005169895477592945,
-0.08542471379041672,
0.01746140792965889,
-0.005343381781131029,
0.004024885129183531,
0.04465540498495102,
0.02919776551425457,
0.027636386454105377,
-0.028989581391215324,
0.06932517141103745,
0.014971878379583359,
-0.03809762001037598,
0.008774075657129288,
0.0166720449924469,
0.014165166765451431,
0.034888118505477905,
0.018458954989910126,
0.002123040147125721,
0.04423903673887253,
0.004191865678876638,
-0.030203986912965775,
-0.017010344192385674,
-0.011979237198829651,
-0.009663193486630917,
-0.02853851579129696,
0.024843255057930946,
0.016836857423186302,
0.037750646471977234,
-0.0338125042617321,
0.01262113731354475,
0.038305800408124924,
-0.021217389032244682,
-0.03664033114910126,
0.008171210065484047,
0.021737849339842796,
0.03601578250527382,
0.032945070415735245,
0.017782358452677727,
0.0811222493648529,
-0.03601578250527382,
-0.052462294697761536,
0.0039229616522789,
0.08778412640094757,
0.013445197604596615,
-0.0010566407581791282,
-0.02237974852323532,
0.0021848445758223534,
-0.02177254669368267,
0.06554316729307175,
0.04691072925925255,
-0.039450813084840775,
0.012829320505261421,
0.054717618972063065,
-0.045037075877189636,
0.053503211587667465,
-0.029457993805408478,
0.09451540559530258,
0.0051005007699131966,
0.03509630262851715,
-0.007989049889147282,
-0.016559278592467308,
-0.013054853305220604,
0.03716079145669937,
-0.04094279557466507,
0.004601727239787579,
0.01009690947830677,
-0.027705781161785126,
-0.04104688763618469,
-0.002929751994088292,
-0.13060057163238525,
-0.012603788636624813,
-0.02749759703874588,
-0.007260406855493784,
0.024253401905298233,
-0.022726722061634064,
-0.01490248367190361,
0.00918610580265522,
-0.06273268908262253,
-0.0012957267463207245,
0.05808325484395027,
-0.03795883059501648,
-0.009446335956454277,
-0.031990896910429,
0.059887513518333435,
-0.0009780296823009849,
-0.017955845221877098,
-0.037438370287418365,
-0.030741794034838676,
0.0000231597605306888,
0.0041007851250469685,
0.032736886292696,
-0.004105122294276953,
0.001784741529263556,
-0.01844160631299019,
-0.034523796290159225,
0.024010520428419113,
0.06332254409790039,
-0.046633150428533554,
-0.01648120954632759,
-0.028694653883576393,
0.0005779266357421875,
0.006275871302932501,
0.039936576038599014,
0.025034090504050255,
-0.012916063889861107,
0.023143088445067406,
-0.005777097772806883,
-0.016264352947473526,
0.07106003910303116,
0.03747306764125824,
0.02470446564257145,
-0.038548681885004044,
0.028139498084783554,
-0.0395549051463604,
-0.016472535207867622,
0.0392773263156414,
0.0371260941028595,
0.024253401905298233,
0.00040606665425002575,
0.0023203808814287186,
0.008648297749459743,
0.028208892792463303,
0.04167144000530243,
-0.03266749158501625,
0.016342420130968094,
0.008943225257098675,
0.05548095703125,
0.0011428417637944221,
0.04458601027727127,
0.02968352660536766,
0.028122149407863617,
-0.058742500841617584,
0.030932629480957985,
0.033309392631053925,
-0.0007275586831383407,
0.004475949797779322,
0.05492580309510231,
-0.007893632166087627,
-0.02298695035278797,
-0.050345759838819504,
0.002604465000331402,
-0.0011840448714792728,
0.018476303666830063,
-0.014538162387907505,
0.0021284616086632013,
-0.0051005007699131966,
0.03788943588733673,
0.03660563379526138,
-0.05145607143640518,
-0.0032138358801603317,
0.014538162387907505,
0.022397097200155258,
0.0007687617326155305,
-0.02657811902463436,
0.0054908450692892075,
-0.023993171751499176,
0.01903146132826805,
-0.08146922290325165,
-0.024652421474456787,
-0.004727505147457123,
-0.02104390226304531,
0.016515906900167465,
-0.04215719923377037,
-0.02499939315021038,
-0.0030663725920021534,
0.00019964492821600288,
-0.0016134236939251423,
0.04531465470790863,
-0.006540438160300255,
-0.026786303147673607,
-0.000049538506573298946,
-0.07675039023160934,
0.006601158529520035,
0.03506160527467728,
0.016437837854027748,
0.09590329229831696,
-0.0014811403816565871,
0.07217035442590714,
-0.03983248397707939,
0.03754246234893799,
0.10221820324659348,
0.023038996383547783,
0.017435384914278984,
-0.044794194400310516,
-0.02038465440273285,
0.01021835021674633,
0.041810229420661926,
0.01976010389626026,
-0.001054472173564136,
-0.01753080263733864,
0.005330370273441076,
0.06307966262102127,
0.05031106248497963,
-0.043961457908153534,
0.050831522792577744,
0.021200040355324745,
0.05815264955163002,
0.011866471730172634,
-0.03802822530269623,
-0.008483486250042915,
0.01714913360774517,
0.010227024555206299,
-0.038895655423402786,
-0.02676895447075367,
0.026005614548921585,
-0.005104837939143181,
-0.015379571355879307,
0.03893035277724266,
-0.015891356393694878,
0.030377471819519997,
-0.06797198206186295,
-0.07099064439535141,
0.004935688804835081,
-0.009498381987214088,
0.08792291581630707,
0.049304842948913574,
-0.010166304185986519,
0.008067118935286999,
0.004636424593627453,
-0.010140281170606613,
-0.03965899720788002,
0.04382266849279404,
-0.024808557704091072,
-0.00976728554815054,
-0.020644884556531906,
-0.04368388280272484,
-0.04174083471298218,
-0.0019365422194823623,
-0.04774346202611923,
-0.024305447936058044,
-0.0054908450692892075,
-0.020332608371973038,
-0.008344696834683418,
-0.05662596970796585,
-0.02737615816295147,
-0.04982529953122139,
-0.004250417463481426,
0.019430479034781456,
0.05267047882080078,
0.049061961472034454,
-0.03875686600804329,
0.0009628496482037008,
0.0039598275907337666,
0.02446158602833748,
-0.0033591308165341616,
-0.025224925950169563,
0.09271114319562912,
0.037750646471977234,
-0.04878438264131546,
0.05662596970796585,
-0.036466844379901886,
-0.006783319171518087,
0.016134237870573997,
-0.01988154463469982,
0.025762733072042465,
0.029058976098895073,
0.011901168152689934,
0.005139535292983055,
-0.05360730364918709,
0.014980552718043327,
0.0141738411039114,
0.03605047985911369,
-0.028365030884742737,
-0.039381418377161026,
0.024617724120616913,
-0.012976784259080887,
0.047049518674612045,
-0.010539299808442593,
0.02531166933476925,
-0.00790664367377758,
0.07244793325662613,
0.0026586793828755617,
0.04416964203119278,
0.05992221087217331,
0.031192859634757042,
-0.05145607143640518,
0.014139143750071526,
0.022952252998948097,
-0.06450225412845612,
-0.016194958239793777,
0.019690709188580513,
-0.016715416684746742,
0.04191432148218155,
0.0700538158416748,
0.010305093601346016,
0.031123464927077293,
0.049304842948913574,
-0.07758312672376633,
-0.0027432539500296116,
-0.038548681885004044,
-0.014590208418667316,
0.03858337923884392,
-0.03426356986165047,
0.007624728139489889,
0.008951899595558643,
0.01953457109630108,
0.037993527948856354,
-0.13760943710803986,
0.020540792495012283,
-0.024895301088690758,
-0.07258672267198563,
-0.018094634637236595,
0.057632189244031906,
-0.032632794231176376,
-0.008440114557743073,
0.091253861784935,
0.007507625035941601,
-0.006618507206439972,
0.032650142908096313,
0.01880592852830887,
0.0020666569471359253,
-0.018944717943668365,
0.022709373384714127,
0.004022716544568539,
-0.03972839191555977,
0.008062781766057014,
-0.01812933199107647,
0.05849962309002876,
0.004341497551649809,
0.002996977884322405,
-0.032337870448827744,
0.011328663676977158,
-0.05395427718758583,
0.05700763687491417,
0.038965050131082535,
-0.05107440426945686,
-0.05339911952614784,
-0.012352232821285725,
-0.04399615526199341,
-0.04756997525691986,
-0.05586262792348862,
0.008709018118679523,
0.023576805368065834,
-0.05017227306962013,
-0.00912538543343544,
-0.06380830705165863,
0.04763936996459961,
-0.04718830808997154,
0.04524526000022888,
0.025016741827130318,
-0.02871200256049633,
0.0011883820407092571,
-0.044794194400310516,
-0.05041515454649925,
0.03388189896941185,
0.00004421870835358277,
0.006939456798136234,
-0.05492580309510231,
0.06752091646194458,
-0.04167144000530243,
0.0020981014240533113,
-0.024791209027171135,
-0.00028381295851431787,
0.002008105395361781,
-0.02657811902463436,
0.06859653443098068,
0.02468711882829666,
-0.042365383356809616,
0.08070588111877441,
0.006275871302932501,
-0.0346972830593586,
-0.0027844570577144623,
0.018580395728349686,
0.016325071454048157,
0.02354210801422596,
-0.06595953553915024,
-0.02026321366429329,
0.05548095703125,
-0.04878438264131546,
-0.004391374997794628,
-0.006236836779862642,
0.028694653883576393,
0.006219488102942705,
-0.030741794034838676,
-0.004120302386581898,
-0.056417785584926605,
-0.0313836932182312,
-0.017183830961585045,
0.017600197345018387,
0.020280562341213226,
0.03979778662323952,
-0.014798391610383987,
0.026127055287361145,
-0.003645383520051837,
0.0034784027375280857,
0.014659603126347065,
-0.06488392502069473,
-0.013237014412879944,
-0.029180416837334633,
0.008049770258367062,
-0.011389384046196938,
0.020089726895093918,
-0.073697030544281,
0.0430593304336071,
-0.0024027868639677763,
-0.01107710786163807,
0.04673724249005318,
0.028087452054023743,
0.025589248165488243,
0.002749759703874588,
-0.032997116446495056,
-0.0022900206968188286,
0.007117280270904303,
-0.050762128084897995,
-0.002693376736715436,
-0.03023868426680565,
-0.014746345579624176,
-0.011883819475769997,
-0.015596429817378521,
0.010938319377601147,
-0.02754964306950569,
0.021390875801444054,
0.001713178469799459,
0.03629336133599281,
0.008323010988533497,
0.015518360771238804,
0.04233068600296974,
0.012213444337248802,
0.011372035369277,
-0.0283476822078228,
-0.031661272048950195,
0.004844608251005411,
-0.018268119543790817,
0.0014518644893541932,
0.03539123013615608,
-0.0048966542817652225,
0.04382266849279404,
-0.014546836726367474,
-0.01295943558216095,
0.024548329412937164,
-0.008977922610938549,
-0.01593472808599472,
-0.0339512936770916,
0.05128258466720581,
-0.02767108380794525,
0.022778768092393875,
0.029284508898854256,
-0.043961457908153534,
0.03990187868475914,
-0.030429517850279808,
-0.023385969921946526,
0.018823277205228806,
0.01095566712319851,
0.05742400512099266,
-0.00896924827247858,
-0.04423903673887253,
-0.0033005792647600174,
-0.034957513213157654,
-0.03344818204641342,
0.0788322314620018,
-0.040491729974746704,
-0.015440291725099087,
-0.037022002041339874,
0.07591766119003296,
-0.09507055580615997,
0.018077285960316658,
-0.01000149268656969,
0.010868924669921398,
-0.0024244727101176977,
-0.07966496795415878,
0.02531166933476925,
-0.0764034241437912,
0.009862703271210194,
0.02152966521680355,
-0.013054853305220604,
-0.056417785584926605,
-0.07931799441576004,
-0.050484549254179,
-0.008405417203903198,
-0.007013188675045967,
-0.04604329541325569,
0.03979778662323952,
-0.013271711766719818,
0.001713178469799459,
-0.01849365234375,
0.005178569816052914,
0.06977623701095581,
0.002955775009468198,
-0.0468413345515728,
-0.0491313561797142,
-0.009801982901990414,
0.011753705330193043,
-0.014746345579624176,
0.05353790894150734,
0.006111059337854385,
0.04732709750533104,
-0.04885377734899521,
0.08452258259057999,
-0.04222659394145012,
0.01818137615919113,
-0.04108158499002457,
0.0014280100585892797,
-0.001271872315555811,
-0.07730554789304733,
-0.02895488403737545,
0.03180006146430969,
-0.013445197604596615,
-0.0019397950964048505,
-0.06890881061553955,
0.04087340086698532,
0.06301026791334152,
-0.06026918441057205,
-0.02111329697072506,
0.013800844550132751,
0.04933954030275345,
-0.043094027787446976,
0.022275656461715698,
-0.06727803498506546,
0.0693945661187172,
0.04864559322595596,
-0.009801982901990414,
-0.04732709750533104,
0.026144403964281082,
-0.025589248165488243,
-0.03667502850294113,
-0.04007536172866821,
-0.02499939315021038,
-0.03023868426680565,
-0.00827530212700367,
0.0010062212822958827,
0.037507764995098114,
-0.06356542557477951,
-0.028018057346343994,
-0.022952252998948097,
-0.0053347074426710606,
-0.008943225257098675,
-0.008700343780219555,
-0.019378433004021645,
-0.024496283382177353,
-0.017444059252738953,
0.042191896587610245,
-0.06266329437494278,
0.010305093601346016,
-0.02730676345527172,
-0.018094634637236595,
0.04753527790307999,
0.021789895370602608,
-0.002197856083512306,
0.04763936996459961,
-0.0577709786593914,
-0.018580395728349686,
-0.03077649138867855,
-0.047361794859170914,
0.06103252246975899,
-0.01793849654495716,
-0.008162535727024078,
-0.0169756468385458,
-0.016984321177005768,
0.02000298537313938,
0.005438799504190683,
-0.005464822519570589,
-0.0031726330053061247,
-0.05329502746462822,
0.0315224826335907,
0.0018866648897528648,
0.01660265028476715,
-0.001713178469799459,
0.054474737495183945,
0.021460270509123802,
-0.037681251764297485,
-0.03365636616945267,
-0.05017227306962013,
0.007832911796867847,
0.016385791823267937,
-0.020245864987373352,
0.038479287177324295,
0.04208780452609062,
0.06450225412845612,
-0.022969601675868034,
0.026873046532273293,
-0.042608264833688736,
-0.0005388921708799899,
0.018285468220710754,
0.050033483654260635,
-0.025034090504050255,
0.013401825912296772,
-0.03206029161810875,
-0.014893809333443642,
0.023559456691145897,
0.023316575214266777,
-0.031904153525829315,
0.0001821607438614592,
0.023576805368065834,
0.06120600923895836,
-0.04382266849279404,
-0.02286550961434841,
0.04573101922869682,
-0.037022002041339874,
0.05232350528240204,
-0.016377117484807968,
-0.04843740910291672,
-0.015535709448158741,
-0.035981085151433945,
0.07348884642124176,
0.09472358971834183,
-0.03422887250781059,
0.006184790749102831,
-0.015128016471862793,
-0.04753527790307999,
0.03879156336188316
]
|
37,068 | sphinx_autodoc_typehints | get_all_type_hints | null | def get_all_type_hints(autodoc_mock_imports: list[str], obj: Any, name: str) -> dict[str, Any]:
result = _get_type_hint(autodoc_mock_imports, name, obj)
if not result:
result = backfill_type_hints(obj, name)
try:
obj.__annotations__ = result
except (AttributeError, TypeError):
pass
else:
result = _get_type_hint(autodoc_mock_imports, name, obj)
return result
| (autodoc_mock_imports: list[str], obj: Any, name: str) -> dict[str, typing.Any] | [
-0.0009501094464212656,
-0.023809093981981277,
0.017360417172312737,
-0.0025298299733549356,
-0.01347117405384779,
0.018908828496932983,
0.02619546838104725,
-0.02349941059947014,
0.010510977357625961,
0.01039256900548935,
-0.013334549963474274,
-0.04484926536679268,
0.008907916024327278,
-0.023098645731806755,
-0.021313419565558434,
0.02043902315199375,
-0.015092451125383377,
0.07585391402244568,
0.006079789716750383,
0.0027051647193729877,
0.01777029037475586,
-0.0032083983533084393,
0.02603151835501194,
0.0014368341071531177,
-0.027507063001394272,
0.0018854178488254547,
0.05621642246842384,
-0.03636033087968826,
0.0281264279037714,
-0.00181482860352844,
-0.06383095681667328,
-0.06783860921859741,
0.07064396888017654,
0.00797886960208416,
-0.0030512800440192223,
-0.07796704024076462,
0.050787873566150665,
0.0831405520439148,
0.016367612406611443,
-0.0006853995146229863,
-0.0014744058717042208,
0.04798251762986183,
-0.051990170031785965,
-0.03880135342478752,
-0.003135531907901168,
-0.05111577361822128,
-0.007455142680555582,
-0.010847983881831169,
0.029091907665133476,
-0.03687039390206337,
0.04801895096898079,
-0.06557974964380264,
-0.015447675250470638,
0.022005651146173477,
0.02422807551920414,
-0.04051371291279793,
-0.03674287721514702,
0.046270158141851425,
-0.0049867937341332436,
0.03865562006831169,
0.04218963906168938,
0.01473722793161869,
0.02451954036951065,
-0.04226250573992729,
0.0008772430592216551,
-0.02889152429997921,
-0.015174426138401031,
-0.010720468126237392,
-0.033609624952077866,
0.004317333921790123,
-0.05133437365293503,
-0.015839332714676857,
0.008998999372124672,
-0.0031924587674438953,
-0.007414155174046755,
-0.043974868953228,
0.02093087136745453,
-0.03457510098814964,
0.06696421653032303,
-0.03854632005095482,
-0.025339286774396896,
0.054103296250104904,
-0.047836784273386,
0.001132844714447856,
0.011758813634514809,
-0.0035317428410053253,
-0.047326721251010895,
0.008830496110022068,
0.05690865218639374,
-0.03953001648187637,
-0.039930783212184906,
0.02182348445057869,
0.019619276747107506,
0.04248110577464104,
-0.08343201875686646,
0.006603516638278961,
0.006667274981737137,
-0.02528463862836361,
-0.007819474674761295,
0.05148010700941086,
-0.012979325838387012,
-0.016185447573661804,
0.004581474233418703,
0.05683578550815582,
0.012241553515195847,
-0.06499682366847992,
0.01164951454848051,
-0.04616085812449455,
0.02845432609319687,
0.030330635607242584,
-0.03171509876847267,
-0.07840424031019211,
0.0018273524474352598,
-0.0041078426875174046,
0.04969488084316254,
-0.06022407114505768,
-0.007177339401096106,
-0.03311777487397194,
0.0550505593419075,
0.001124874921515584,
0.03898352012038231,
0.02557610347867012,
0.010365244001150131,
-0.016795704141259193,
0.08292195200920105,
-0.008042627945542336,
0.008894253522157669,
0.033955737948417664,
0.02737954631447792,
-0.03748975694179535,
0.04441206529736519,
-0.023681577295064926,
-0.09385190904140472,
0.06426815688610077,
0.03699791058897972,
0.0610620379447937,
-0.005032334942370653,
-0.01612168923020363,
0.034975867718458176,
-0.05432189628481865,
-0.006202751770615578,
-0.010574734769761562,
0.005679024383425713,
-0.08671100437641144,
-0.07089900225400925,
0.002664177445694804,
0.052281636744737625,
-0.010119319893419743,
-0.0243920236825943,
-0.05767374858260155,
0.0136988814920187,
-0.029911654070019722,
-0.05752801522612572,
-0.0012717462377622724,
-0.07355862110853195,
-0.015156209468841553,
-0.0084160678088665,
-0.02754349634051323,
-0.010000912472605705,
0.014482195489108562,
-0.019382460042834282,
-0.025029605254530907,
-0.007423263508826494,
-0.08532654494047165,
0.03774479031562805,
0.03728937730193138,
-0.029693054035305977,
-0.05541488900780678,
-0.006293834652751684,
-0.00639402586966753,
-0.0697331354022026,
-0.015611624345183372,
0.060734137892723083,
-0.005633482709527016,
0.06273796409368515,
0.023991258814930916,
-0.06944166868925095,
-0.005606158170849085,
0.007377722300589085,
0.03324529156088829,
0.04029511287808418,
-0.03688861057162285,
-0.03810912370681763,
-0.008675654418766499,
-0.0031719650141894817,
0.031824395060539246,
0.009682121686637402,
0.015320158563554287,
-0.04503142833709717,
0.013033975847065449,
0.004941252060234547,
0.03233446180820465,
0.03357319161295891,
0.006098005920648575,
-0.008106386289000511,
0.04455779865384102,
-0.03956644982099533,
0.014090538024902344,
-0.05086074024438858,
-0.0024683489464223385,
-0.04153384268283844,
0.02014755643904209,
-0.014673469588160515,
0.04860188439488411,
0.05913107842206955,
0.040695879608392715,
0.05464979261159897,
-0.018462521955370903,
0.01407232228666544,
-0.00949084758758545,
-0.02708808146417141,
0.0035727303475141525,
-0.05789234861731529,
-0.05792878195643425,
-0.004071409814059734,
-0.009372439235448837,
0.04827398434281349,
0.002138173207640648,
-0.013953913934528828,
0.0562528558075428,
0.020657621324062347,
0.03974861651659012,
-0.010219511575996876,
0.028800440952181816,
0.0354677177965641,
0.0168776772916317,
-0.020202206447720528,
-0.017979782074689865,
0.04004008322954178,
-0.09691230207681656,
-0.011494672857224941,
-0.017378633841872215,
-0.03672466054558754,
0.011348940432071686,
-0.029383372515439987,
0.017187360674142838,
0.03402860462665558,
-0.032461978495121,
0.0037366796750575304,
-0.004529101774096489,
0.0074050468392670155,
0.07599964737892151,
-0.013425632379949093,
0.01909099519252777,
-0.06889517605304718,
-0.034848351031541824,
-0.00265279202722013,
-0.0408780463039875,
0.01733309216797352,
-0.04346480220556259,
0.025521453469991684,
0.014391112141311169,
0.05552418902516365,
0.009982695803046227,
-0.0010127290152013302,
-0.033026691526174545,
-0.020530106499791145,
-0.04248110577464104,
0.028636492788791656,
-0.04936698079109192,
0.032461978495121,
0.05020494386553764,
-0.010547409765422344,
0.06929593533277512,
-0.01910921186208725,
-0.013079517520964146,
-0.00008973097283160314,
0.025630753487348557,
-0.10784225910902023,
-0.0024296387564390898,
0.06066127121448517,
-0.013370983302593231,
0.0164040457457304,
0.010629384778439999,
-0.006635395810008049,
0.05672648549079895,
0.06798434257507324,
0.04164314270019531,
0.008611897006630898,
0.00680389953777194,
0.024647057056427002,
-0.009882504120469093,
0.045650795102119446,
0.0055287373252213,
0.05206303671002388,
-0.0027598144952207804,
-0.03397395461797714,
0.0675107091665268,
-0.03623281419277191,
-0.015402133576571941,
0.046634491533041,
-0.015311050228774548,
0.04262683913111687,
-0.04065944626927376,
0.007655525114387274,
0.05399399623274803,
-0.0164040457457304,
-0.03373713791370392,
-0.03262592852115631,
0.00796520709991455,
0.0114218071103096,
0.0017704255878925323,
0.011777030304074287,
0.04120594263076782,
0.04390200227499008,
-0.01520175114274025,
0.016604429110884666,
-0.08146462589502335,
-0.013817289844155312,
-0.024282725527882576,
0.01848984695971012,
0.031970128417015076,
0.024155208840966225,
-0.0004192663764115423,
0.007682850118726492,
-0.03636033087968826,
-0.025211771950125694,
0.016039714217185974,
-0.035868480801582336,
0.04601512476801872,
-0.04790965095162392,
0.0007907142280600965,
0.06831224262714386,
-0.059786874800920486,
0.055014126002788544,
-0.013780856505036354,
-0.0074779135175049305,
0.04240823909640312,
0.011676839552819729,
-0.03370070457458496,
-0.0456872284412384,
-0.07512524724006653,
-0.016312964260578156,
0.023116862401366234,
-0.025229988619685173,
0.031970128417015076,
0.023280812427401543,
-0.0328080914914608,
-0.02286183089017868,
0.01392658893018961,
0.02601330168545246,
-0.029547322541475296,
0.008971674367785454,
0.009217598475515842,
-0.031113948673009872,
0.04331906884908676,
0.056325722485780716,
-0.01909099519252777,
0.024319158867001534,
0.04554149508476257,
0.009085528552532196,
-0.06277439743280411,
0.018316788598895073,
-0.009636580012738705,
0.043574102222919464,
0.002390928566455841,
-0.016003280878067017,
-0.007004281971603632,
-0.02257036417722702,
-0.015292833559215069,
-0.00821113120764494,
0.00507787661626935,
0.004786411300301552,
-0.021641317754983902,
-0.0052964757196605206,
0.0490390807390213,
0.010538301430642605,
0.030439935624599457,
0.049257680773735046,
-0.03357319161295891,
-0.04576009511947632,
0.004891156684607267,
-0.02510247193276882,
-0.05971400812268257,
0.039639316499233246,
-0.02062118798494339,
0.01757901720702648,
0.0019810551311820745,
-0.05610712245106697,
0.0322069451212883,
0.007632754743099213,
-0.006066127214580774,
0.011321615427732468,
0.009436197578907013,
-0.01775207556784153,
-0.04426633194088936,
-0.03475726768374443,
-0.007537117227911949,
-0.02526642195880413,
0.05628928914666176,
0.07341288775205612,
-0.015338375233113766,
0.025375720113515854,
0.00926314014941454,
0.014245379716157913,
-0.019601060077548027,
0.006690045353025198,
0.002363603562116623,
-0.050022777169942856,
-0.00418070936575532,
0.036797527223825455,
-0.058621011674404144,
-0.013525824062526226,
0.012296203523874283,
0.01187722198665142,
0.06754714250564575,
-0.0029465346597135067,
-0.030622100457549095,
0.007960652932524681,
0.027288462966680527,
-0.052900999784469604,
-0.003294927068054676,
0.06328446418046951,
-0.05581565573811531,
0.006334821693599224,
0.0366700105369091,
-0.010101103223860264,
0.022533930838108063,
-0.0035454053431749344,
-0.015620732679963112,
0.0502413772046566,
-0.04240823909640312,
0.004836506675928831,
0.027470629662275314,
-0.003338191658258438,
-0.001069086603820324,
-0.029729487374424934,
0.025211771950125694,
-0.04244467243552208,
0.02014755643904209,
-0.006006923038512468,
0.014218054711818695,
0.027306679636240005,
-0.05610712245106697,
-0.02541215345263481,
-0.06729210913181305,
0.0028531746938824654,
-0.05508699268102646,
0.0015131161781027913,
-0.021422719582915306,
0.005273704882711172,
0.0629565641283989,
0.038473453372716904,
0.0442298986017704,
0.024027692154049873,
0.006858549080789089,
-0.023207945749163628,
0.05115220695734024,
-0.004435741808265448,
-0.02002004161477089,
-0.01459149457514286,
-0.04962201416492462,
0.10252301394939423,
-0.03282630816102028,
-0.008443392813205719,
-0.0159304141998291,
-0.0018672012956812978,
-0.013489390723407269,
-0.018590038642287254,
0.020238639786839485,
0.007537117227911949,
-0.033336374908685684,
-0.0358138307929039,
-0.005692686885595322,
0.027780311182141304,
0.05330176651477814,
0.011075691320002079,
-0.045505061745643616,
-0.01852628029882908,
0.025084255263209343,
0.061900001019239426,
-0.023590493947267532,
0.012724293395876884,
-0.006371255032718182,
-0.025211771950125694,
0.008033519610762596,
0.00857090950012207,
0.0704253688454628,
0.013707989826798439,
-0.0003418458509258926,
0.05873031169176102,
-0.05698151886463165,
0.022752530872821808,
-0.010702251456677914,
0.0016986978007480502,
-0.0083523103967309,
-0.010911742225289345,
-0.054103296250104904,
-0.07709264010190964,
0.025084255263209343,
-0.01867201365530491,
0.03320885822176933,
0.0007115858606994152,
0.008279443718492985,
0.010592951439321041,
0.010010020807385445,
0.06845797598361969,
0.026414066553115845,
0.00342244328930974,
-0.003759450279176235,
0.016030605882406235,
-0.020366156473755836,
-0.0502413772046566,
0.02905547432601452,
0.03116859868168831,
0.0015609347028657794,
0.0054103294387459755,
-0.044776398688554764,
-0.01450952049344778,
0.014864743687212467,
-0.02196921780705452,
0.020238639786839485,
-0.001793196308426559,
0.08204755932092667,
0.04368340224027634,
-0.06838510930538177,
-0.0018524002516642213,
-0.004708990454673767,
-0.017879590392112732,
-0.02213316597044468,
-0.04696238785982132,
0.04801895096898079,
0.007455142680555582,
-0.024155208840966225,
0.05836597830057144,
0.01188633032143116,
0.04452136531472206,
0.04171600937843323,
0.013152383267879486,
-0.021641317754983902,
0.10558339953422546,
-0.029383372515439987,
-0.0032676022965461016,
-0.032461978495121,
0.019965391606092453,
0.02406412549316883,
0.010556518100202084,
-0.012132254429161549,
-0.006790237035602331,
0.036943260580301285,
0.07687404006719589,
0.029274072498083115,
-0.0028395121917128563,
-0.010693143121898174,
0.10507334023714066,
0.06404955685138702,
-0.030658533796668053,
-0.05082430690526962,
-0.03386465460062027,
0.0032175066880881786,
0.02947445586323738,
-0.0637216567993164,
-0.008675654418766499,
0.04000364989042282,
-0.13400129973888397,
-0.04623372480273247,
-0.009754988364875317,
-0.07206486165523529,
0.027343112975358963,
0.013881047256290913,
0.039202120155096054,
0.021185902878642082,
0.02499317191541195,
0.03146006539463997,
-0.060989171266555786,
0.03326350823044777,
0.011112124659121037,
0.08569087833166122,
-0.06499682366847992,
-0.013826398178935051,
-0.03295382484793663,
-0.009973587468266487,
0.026559799909591675,
-0.03140541538596153,
0.04047727957367897,
0.05475909262895584,
-0.016959652304649353,
-0.031205032020807266,
-0.022643230855464935,
-0.041133079677820206,
0.024792790412902832,
0.021750617772340775,
-0.00025175907649099827,
-0.011758813634514809,
0.03402860462665558,
-0.07046180218458176,
0.010538301430642605,
-0.008857821114361286,
0.011358048766851425,
0.014190729707479477,
-0.09800529479980469,
0.028253942728042603,
0.03297204151749611,
0.015147101134061813,
0.0077875955030322075,
-0.004091903101652861,
-0.06244649738073349,
0.01256034430116415,
0.02543037012219429,
-0.06915020197629929,
-0.005474087782204151,
-0.0037366796750575304,
-0.054394762963056564,
-0.011175883002579212,
-0.04390200227499008,
0.03413790464401245,
0.04335550218820572,
-0.014728119596838951,
0.04812825098633766,
0.037107210606336594,
-0.008179252035915852,
-0.036925043910741806,
0.03217051178216934,
0.005688132718205452,
-0.0685308426618576,
-0.054686225950717926,
-0.014573277905583382,
0.03803625702857971,
0.04710812121629715,
0.006749249529093504,
0.03100465051829815,
0.00024962431052699685,
0.07297568768262863,
0.0048456150107085705,
-0.009982695803046227,
0.02045723982155323,
-0.02089443802833557,
-0.037234727293252945,
0.02196921780705452,
-0.0136988814920187,
0.017041627317667007,
0.0030262323562055826,
0.027306679636240005,
-0.021896351128816605,
-0.0051552969962358475,
0.006220967974513769,
0.008170143701136112,
-0.0454321950674057,
-0.03096821717917919,
0.03759905695915222,
-0.005096093285828829,
-0.007341288961470127,
0.017096277326345444,
0.07891429960727692,
-0.023517627269029617,
0.021131252869963646,
-0.029620187357068062,
-0.0349576510488987,
0.0562528558075428,
0.016950543969869614,
-0.005510520655661821,
0.06066127121448517,
-0.03594134747982025,
0.03579561412334442,
0.022315332666039467,
0.07599964737892151,
-0.07006103545427322,
-0.022023865953087807,
0.002955642994493246,
-0.04029511287808418,
-0.027579929679632187,
0.009827854111790657,
-0.056945085525512695,
-0.031678665429353714,
-0.008315877057611942,
0.02799891121685505,
-0.07202842831611633,
-0.015748249366879463,
0.034848351031541824,
0.00274842930957675,
0.00013150105951353908,
0.07348575443029404,
0.011859005317091942,
-0.030166685581207275,
-0.04710812121629715,
0.05126150697469711,
0.008479826152324677,
0.03133254870772362,
-0.02665088325738907,
-0.061900001019239426,
-0.011840788647532463,
-0.05829311162233353,
-0.04616085812449455,
0.04470353201031685,
-0.02905547432601452,
0.03759905695915222,
-0.021987434476614,
-0.003827762557193637,
0.0005575986579060555,
0.023062212392687798,
0.023517627269029617,
-0.01612168923020363,
0.0620093010365963,
0.03767192363739014,
0.02482922375202179,
-0.02829037606716156,
-0.03260771185159683,
-0.01864468865096569,
0.019819658249616623,
-0.06616268306970596,
0.017569908872246742,
-0.04674379155039787,
-0.006986065302044153,
-0.023718010634183884,
-0.02317151241004467,
0.0006119638564996421,
-0.009636580012738705,
0.0071636768989264965,
-0.0653611496090889,
-0.005833865609019995,
-0.013125059194862843,
0.03459331765770912,
0.009499955922365189,
-0.053520362824201584,
0.0005647145444527268,
-0.05089717358350754,
0.059386108070611954,
0.01837143860757351,
0.004800073336809874,
-0.012942892499268055,
0.04164314270019531,
0.05760088190436363,
0.018253030255436897,
0.031077515333890915,
0.021185902878642082,
0.022825397551059723,
-0.03548593446612358,
-0.01565716601908207,
-0.006234630476683378,
-0.0021632208954542875,
0.04127880930900574,
-0.027197381481528282,
-0.023444760590791702,
0.011184991337358952,
-0.010775117203593254,
0.02648693323135376,
0.042226072400808334,
-0.014873852021992207,
-0.06510612368583679,
-0.016959652304649353,
0.0012831316562369466,
0.026213685050606728,
-0.05811094865202904,
0.10172148048877716,
-0.02242463268339634,
-0.046853091567754745,
0.04951271414756775,
0.003326806239783764,
0.013125059194862843,
-0.0018341836985200644,
0.04601512476801872,
0.016003280878067017,
0.009203935973346233,
-0.03384643793106079,
0.0427725724875927,
-0.004567811731249094,
0.02890974096953869,
-0.01173148863017559,
0.04594225808978081,
-0.0007303717429749668,
-0.0281264279037714,
-0.023827310651540756,
-0.03894708678126335,
0.0040099285542964935,
-0.001310456544160843,
0.0015609347028657794,
-0.05647145211696625,
0.009044541046023369
]
|
37,069 | sphinx_autodoc_typehints | get_annotation_args |
Get annotation arguments.
:param annotation:
:param module:
:param class_name:
:return:
| def get_annotation_args(annotation: Any, module: str, class_name: str) -> tuple[Any, ...]: # noqa: PLR0911
"""
Get annotation arguments.
:param annotation:
:param module:
:param class_name:
:return:
"""
try:
original = getattr(sys.modules[module], class_name)
except (KeyError, AttributeError):
pass
else:
if annotation is original:
return () # This is the original, not parametrized type
# Special cases
if class_name in {"Pattern", "Match"} and hasattr(annotation, "type_var"): # Python < 3.7
return (annotation.type_var,)
if class_name == "ClassVar" and hasattr(annotation, "__type__"): # ClassVar on Python < 3.7
return (annotation.__type__,)
if class_name == "TypeVar" and hasattr(annotation, "__constraints__"):
return annotation.__constraints__ # type: ignore[no-any-return]
if class_name == "NewType" and hasattr(annotation, "__supertype__"):
return (annotation.__supertype__,)
if class_name == "Literal" and hasattr(annotation, "__values__"):
return annotation.__values__ # type: ignore[no-any-return]
if class_name == "Generic":
return annotation.__parameters__ # type: ignore[no-any-return]
result = getattr(annotation, "__args__", ())
# 3.10 and earlier Tuple[()] returns ((), ) instead of () the tuple does
return () if len(result) == 1 and result[0] == () else result # type: ignore[misc]
| (annotation: Any, module: str, class_name: str) -> tuple[typing.Any, ...] | [
0.023725245147943497,
-0.013830175623297691,
0.03549235686659813,
0.03192019835114479,
0.008151971735060215,
-0.02149025909602642,
0.019197965040802956,
-0.0023878065403550863,
0.06510115414857864,
0.002422429621219635,
-0.006184418685734272,
-0.02149025909602642,
-0.03600812330842018,
-0.03321916237473488,
-0.02657151035964489,
0.027106380090117455,
0.030754948034882545,
0.05570274963974953,
-0.01861533895134926,
0.040038738399744034,
0.029627902433276176,
0.03165276348590851,
-0.07457597553730011,
-0.006542589981108904,
0.0028247751761227846,
-0.022598201408982277,
0.03961848467588425,
-0.00822360534220934,
0.003142353380098939,
-0.04485255852341652,
-0.01605561003088951,
-0.07759416103363037,
0.02670522779226303,
0.013706008903682232,
-0.044814351946115494,
-0.014489210210740566,
0.016256187111139297,
0.0539071187376976,
0.0031375777907669544,
-0.0348619744181633,
0.0018839793046936393,
-0.04901689291000366,
-0.010439489968121052,
-0.03176737576723099,
0.0023687039501965046,
-0.038797080516815186,
0.011738456785678864,
-0.11683059483766556,
-0.09933274984359741,
0.0295896977186203,
0.0732387974858284,
-0.03625645488500595,
0.019455846399068832,
0.00697239488363266,
-0.022655507549643517,
0.07067906856536865,
0.0020750039257109165,
0.05791863426566124,
-0.04007694497704506,
0.02670522779226303,
0.04290410876274109,
0.04282769560813904,
0.021662181243300438,
0.011929481290280819,
0.02840534597635269,
-0.019694628193974495,
-2.3784791380876413e-7,
-0.010697373189032078,
-0.026781637221574783,
0.0011354020098224282,
-0.07385008037090302,
-0.011480573564767838,
-0.005224520806223154,
-0.009532123804092407,
-0.016695542261004448,
-0.02802329696714878,
0.013037423603236675,
0.012894155457615852,
0.07969542592763901,
0.016256187111139297,
-0.03598902001976967,
0.012397491373121738,
-0.019417641684412956,
0.034766461700201035,
0.07805261760950089,
-0.04065001755952835,
-0.09635277092456818,
-0.02393537200987339,
-0.01206319872289896,
-0.02494780160486698,
-0.09337278455495834,
0.0006518711452372372,
0.014785298146307468,
0.061166051775217056,
-0.05341045558452606,
-0.007340117357671261,
0.037154268473386765,
-0.034212492406368256,
0.0012500167358666658,
0.028615472838282585,
0.02305665984749794,
0.005186315625905991,
0.004142844118177891,
0.023075761273503304,
0.04359179362654686,
-0.024546651169657707,
0.007798575796186924,
-0.018433865159749985,
0.02149025909602642,
0.03211122006177902,
0.009847314096987247,
-0.03455633670091629,
-0.016762401908636093,
0.04240744188427925,
0.01731637306511402,
-0.05723094567656517,
-0.039351049810647964,
-0.030067259445786476,
-0.04397384449839592,
0.023343196138739586,
0.04794715344905853,
0.06468090415000916,
0.005291379056870937,
0.019866550341248512,
0.040229763835668564,
-0.0033668072428554296,
0.008677288889884949,
0.011786213144659996,
-0.031499944627285004,
-0.03744080662727356,
0.05352507159113884,
-0.031136997044086456,
-0.07106111943721771,
0.02456575259566307,
-0.0034312778152525425,
0.021203720942139626,
0.011031665839254856,
0.0007169388700276613,
-0.019580014050006866,
-0.02670522779226303,
0.011891276575624943,
0.016179777681827545,
0.05360148102045059,
-0.03824310749769211,
-0.05310481786727905,
-0.03961848467588425,
0.035454150289297104,
-0.0015890852082520723,
0.0016117694322019815,
-0.02620856463909149,
-0.02399268001317978,
-0.04779433459043503,
0.009708820842206478,
-0.025272544473409653,
-0.03327647224068642,
-0.044890761375427246,
0.025119723752141,
-0.027182789519429207,
0.0008076755329966545,
-0.031194303184747696,
-0.013104282319545746,
-0.0547858327627182,
-0.007703063543885946,
-0.06769908964633942,
0.06735524535179138,
-0.012722233310341835,
0.05929401144385338,
0.006728838663548231,
-0.017688870429992676,
-0.034021466970443726,
0.011900827288627625,
0.009240810759365559,
0.08420360833406448,
-0.00834299623966217,
-0.02448934316635132,
0.09161535650491714,
-0.03220673277974129,
0.018825465813279152,
0.08527334779500961,
0.04202539473772049,
0.03849143907427788,
-0.008930396288633347,
0.005740286782383919,
-0.0065330383367836475,
0.05402173474431038,
0.01432683877646923,
0.0000826777977636084,
0.020133985206484795,
-0.04366820678114891,
-0.02160487323999405,
-0.008720269426703453,
0.00843850802630186,
-0.004016290418803692,
0.045769475400447845,
-0.036657605320215225,
0.03736439719796181,
-0.08894101530313492,
0.04454691708087921,
-0.031442634761333466,
0.021910512819886208,
0.006638102233409882,
-0.016838811337947845,
0.004811429884284735,
0.06410782784223557,
0.034766461700201035,
0.004658610559999943,
0.06701140105724335,
-0.001437459490261972,
-0.010554105043411255,
-0.08527334779500961,
0.03686773031949997,
-0.013667804189026356,
0.03931284695863724,
-0.03755541890859604,
0.020439622923731804,
-0.020210394635796547,
0.0865723118185997,
0.00421925401315093,
-0.024699470028281212,
0.01885412074625492,
0.03493838384747505,
-0.000315190467517823,
-0.025329850614070892,
0.03560696914792061,
0.046266138553619385,
-0.023419605568051338,
0.008424181491136551,
0.0005832217284478247,
0.022502688691020012,
-0.024221908301115036,
0.009484367445111275,
-0.012521657161414623,
-0.0010607830481603742,
0.010076543316245079,
-0.014995425008237362,
0.01619887910783291,
0.025864720344543457,
-0.08045952767133713,
0.04298051819205284,
-0.040038738399744034,
-0.005544486455619335,
0.023973576724529266,
-0.06632371246814728,
0.0722072646021843,
-0.023266786709427834,
-0.037899263203144073,
-0.023572426289319992,
0.03707785904407501,
0.028118809685111046,
-0.008094663731753826,
-0.06456628441810608,
0.03488107770681381,
-0.0022672221530228853,
0.011929481290280819,
-0.030678538605570793,
-0.010907500050961971,
-0.040802836418151855,
-0.02061154507100582,
0.022942043840885162,
0.003357255831360817,
0.05998170003294945,
-0.003942268434911966,
-0.006299033295363188,
0.03562607243657112,
0.05623761937022209,
-0.01836700737476349,
0.022349867969751358,
-0.015444332733750343,
-0.009923723526299,
-0.009030683897435665,
0.07511083781719208,
0.04427948221564293,
0.0027817946393042803,
0.0029178995173424482,
-0.006991497240960598,
-0.02506241761147976,
0.025616388767957687,
0.03711606562137604,
0.029990850016474724,
0.0029919215012341738,
0.05360148102045059,
-0.03575979173183441,
-0.01926482282578945,
0.022540893405675888,
0.03337198495864868,
0.04416486993432045,
0.016810158267617226,
-0.0065234871581196785,
0.018137777224183083,
0.013543638400733471,
0.05352507159113884,
-0.014737541787326336,
0.05810965970158577,
-0.0021144025959074497,
0.03507210314273834,
0.05646684765815735,
-0.025081519037485123,
0.0073210145346820354,
-0.004324317444115877,
-0.05547352135181427,
0.06586525589227676,
0.02311396598815918,
-0.017478743568062782,
-0.02036321349442005,
0.003820490324869752,
0.010716475546360016,
-0.01486170757561922,
0.0023818369954824448,
-0.038032982498407364,
0.010429938323795795,
0.03239775821566582,
-0.017631562426686287,
-0.0176506657153368,
-0.017497846856713295,
-0.0134767796844244,
-0.01074512954801321,
0.04993380978703499,
-0.004577424842864275,
-0.019962063059210777,
0.03942745923995972,
0.011012563481926918,
-0.0003271294990554452,
0.02865367755293846,
-0.018682198598980904,
0.01162384171038866,
0.016313493251800537,
-0.05341045558452606,
0.029627902433276176,
0.014517863281071186,
0.015692664310336113,
-0.0194845013320446,
0.026915354654192924,
-0.06617089360952377,
0.02494780160486698,
-0.005783267319202423,
0.04133770614862442,
-0.015358371660113335,
-0.03669581189751625,
-0.023285888135433197,
-0.04630434513092041,
0.0202868040651083,
-0.05203507840633392,
-0.055931977927684784,
0.09757532179355621,
0.0059742918238043785,
0.04745049029588699,
0.0055540380999445915,
0.014154916629195213,
0.08443284034729004,
-0.04351538419723511,
0.005959964822977781,
-0.041872575879096985,
-0.026724331080913544,
-0.013772867619991302,
0.04894048348069191,
0.029054829850792885,
-0.0067718192003667355,
-0.021375643089413643,
0.009006805717945099,
-0.02236897125840187,
0.06307629495859146,
-0.02802329696714878,
0.023515118286013603,
-0.019923856481909752,
0.022407175973057747,
0.0521496944129467,
-0.015320166014134884,
-0.0018338353838771582,
0.011757559143006802,
0.020248599350452423,
-0.00011879337398568168,
-0.0108406413346529,
0.000031172068702289835,
-0.01338126789778471,
-0.046571776270866394,
-0.021528463810682297,
-0.04916971176862717,
-0.0025883822236210108,
-0.10483425855636597,
0.00297759473323822,
-0.05310481786727905,
-0.047221262007951736,
0.013514984399080276,
-0.008963825181126595,
-0.02997174672782421,
-0.027813170105218887,
-0.024852290749549866,
-0.05448019132018089,
-0.013591394759714603,
0.057269152253866196,
-0.029551493003964424,
-0.008156746625900269,
-0.01940809190273285,
-0.05195866897702217,
0.0028414896223694086,
-0.039045412093400955,
-0.016313493251800537,
0.022789224982261658,
-0.01177666150033474,
0.0019460623152554035,
0.03258878365159035,
-0.07239829003810883,
0.012368837371468544,
-0.0074356296099722385,
0.012082301080226898,
0.01932213082909584,
0.0221206396818161,
-0.027545735239982605,
-0.0005483000422827899,
0.011490125209093094,
0.040497198700904846,
0.04531101509928703,
0.009961928240954876,
-0.010945704765617847,
0.05012483522295952,
0.029169443994760513,
-0.0088253328576684,
0.03623735159635544,
-0.007225502282381058,
-0.02632317878305912,
-0.01206319872289896,
-0.007335341535508633,
0.02972341515123844,
0.033391084522008896,
-0.006585570517927408,
0.05432737246155739,
-0.02450844645500183,
-0.004675325006246567,
-0.013591394759714603,
0.010095645673573017,
-0.045387424528598785,
0.0031208631116896868,
-0.02217794582247734,
-0.01277954038232565,
-0.019771037623286247,
0.02632317878305912,
-0.005243623163551092,
0.006681082770228386,
0.045769475400447845,
-0.019045144319534302,
-0.05956144630908966,
0.026475997641682625,
0.06670576333999634,
0.015530293807387352,
0.004665773827582598,
-0.05994349345564842,
-0.05589377507567406,
0.001282252138480544,
0.027240095660090446,
-0.07637160271406174,
-0.011671598069369793,
0.018128227442502975,
0.07576032727956772,
0.028042400255799294,
0.04347718134522438,
-0.061968352645635605,
-0.04301872104406357,
-0.04531101509928703,
-0.007278033997863531,
0.01910245232284069,
-0.022846532985568047,
-0.014403249137103558,
-0.0035291779786348343,
-0.013772867619991302,
0.0600581094622612,
-0.03726888447999954,
0.08626667410135269,
-0.07885491847991943,
-0.09681122750043869,
-0.030735844746232033,
0.09413688629865646,
-0.022025126963853836,
0.02788957953453064,
0.022942043840885162,
-0.00643752608448267,
0.026284974068403244,
0.04278949275612831,
0.04133770614862442,
-0.008648634888231754,
0.055244289338588715,
0.06273245066404343,
-0.021700385957956314,
0.018128227442502975,
-0.0012619557091966271,
-0.03184378892183304,
0.007535917218774557,
-0.015769073739647865,
-0.013782419264316559,
-0.09123331308364868,
0.025157928466796875,
-0.03711606562137604,
0.03342929109930992,
0.017555152997374535,
-0.0019759098067879677,
0.01965642347931862,
-0.03423159196972847,
0.02255999483168125,
0.026304075494408607,
-0.0047708372585475445,
0.0040831491351127625,
-0.021662181243300438,
-0.031060587614774704,
-0.02217794582247734,
-0.023897167295217514,
0.02670522779226303,
-0.07331521064043045,
0.027870478108525276,
-0.015635356307029724,
0.010000133886933327,
0.04962816834449768,
-0.04794715344905853,
0.03425069525837898,
0.016752850264310837,
0.036409273743629456,
0.003966146614402533,
-0.01162384171038866,
0.04809997230768204,
-0.017774831503629684,
-0.0009002030710689723,
-0.010544553399085999,
-0.03243596479296684,
0.023878064006567,
0.025119723752141,
0.015071834437549114,
-0.006313360296189785,
0.023878064006567,
0.019618218764662743,
-0.024336524307727814,
-0.0017574256053194404,
-0.021623974665999413,
0.013505433686077595,
-0.01959911547601223,
0.014202672988176346,
-0.0033739705104380846,
-0.007612327113747597,
0.04531101509928703,
-0.03851054236292839,
0.03575979173183441,
0.005300930235534906,
0.07663903385400772,
0.0269535593688488,
0.0440884605050087,
-0.06727883219718933,
0.061280664056539536,
-0.0043864003382623196,
0.024737674742937088,
-0.025425363332033157,
-0.010105197317898273,
-0.02462306059896946,
0.020630648359656334,
-0.01369645819067955,
0.0025191358290612698,
-0.023916270583868027,
0.08045952767133713,
-0.05761299654841423,
0.010859743691980839,
-0.03033469431102276,
0.009565552696585655,
-0.011709802784025669,
0.024986006319522858,
-0.020993594080209732,
-0.039236437529325485,
-0.0001004371079034172,
0.02745022252202034,
-0.059714265167713165,
0.0014243265613913536,
0.019474949687719345,
0.079389788210392,
-0.052799176424741745,
0.020630648359656334,
-0.0028940215706825256,
-0.027488429099321365,
-0.031499944627285004,
-0.018386110663414,
-0.01074512954801321,
-0.007660083007067442,
0.001961583038792014,
0.00009073664841707796,
-0.02273191697895527,
-0.009737474843859673,
0.08160567283630371,
-0.0010512317530810833,
-0.024088192731142044,
-0.022216152399778366,
-0.012722233310341835,
0.04638075456023216,
-0.0010386958019807935,
-0.04416486993432045,
0.011662046425044537,
-0.0047636739909648895,
-0.028558164834976196,
0.05661966651678085,
0.05994349345564842,
-0.0007002242491580546,
-0.008323892951011658,
0.007937069050967693,
0.007645756471902132,
0.02141384780406952,
-0.003927941899746656,
-0.05661966651678085,
-0.002805672585964203,
0.01789899729192257,
-0.018290597945451736,
-0.0070488047786056995,
0.004417441785335541,
-0.022961147129535675,
0.012120505794882774,
-0.013190243393182755,
0.006270379759371281,
0.023324092850089073,
-0.000369513058103621,
-0.07109932601451874,
0.03694414347410202,
-0.032818011939525604,
-0.0093745281919837,
0.03312365338206291,
-0.017889445647597313,
0.030105464160442352,
0.033314675092697144,
0.068272165954113,
0.008328668773174286,
0.029112135991454124,
-0.00535346195101738,
0.007746044080704451,
-0.0035602194257080555,
-0.0032283144537359476,
-0.0468774177134037,
-0.073544442653656,
0.023037556558847427,
-0.019283926114439964,
0.026800740510225296,
-0.007445180788636208,
0.06743165850639343,
-0.07877851277589798,
-0.03585530072450638,
-0.0486348420381546,
-0.02412639744579792,
-0.043821025639772415,
-0.028634576126933098,
0.007335341535508633,
-0.009312445297837257,
-0.00658079469576478,
-0.027297403663396835,
0.035454150289297104,
0.04546383395791054,
-0.052493538707494736,
-0.031881991773843765,
-0.05001021921634674,
0.06143348664045334,
0.009699270129203796,
0.04603691026568413,
0.07652442157268524,
0.010792884975671768,
0.027297403663396835,
-0.04592229425907135,
0.022197049111127853,
-0.06831036508083344,
0.03516761213541031,
-0.010487246327102184,
-0.0018684585811570287,
-0.016924772411584854,
-0.010315324179828167,
-0.004746959079056978,
0.014670683071017265,
-0.04221642017364502,
-0.02536805532872677,
-0.0792369693517685,
-0.0207261610776186,
0.1319597363471985,
-0.0016332595841959119,
-0.03946566581726074,
0.06009631231427193,
0.039694894105196,
-0.04095565527677536,
-0.023839859291911125,
-0.04764151573181152,
0.07312418520450592,
-0.020821671932935715,
0.0194845013320446,
-0.030372899025678635,
-0.04110847786068916,
-0.06066938862204552,
-0.02777496539056301,
-0.044317688792943954,
-0.03253147378563881,
-0.00207619764842093,
-0.018835017457604408,
0.014202672988176346,
0.049780990928411484,
-0.02575010433793068,
-0.012426145374774933,
0.003199660684913397,
0.05929401144385338,
-0.043821025639772415,
0.04473794251680374,
-0.023954475298523903,
-0.030200976878404617,
0.001940092770382762,
0.02223525382578373,
-0.04653357341885567,
-0.02701086737215519,
-0.030945971608161926,
-0.07637160271406174,
0.026724331080913544,
-0.04259846732020378,
0.008844435214996338,
0.014441453851759434,
-0.03673401474952698,
-0.009183503687381744,
0.014365043491125107,
-0.04171975329518318,
0.018624890595674515,
0.009350650012493134,
-0.02978072315454483,
0.023572426289319992,
-0.0011962910648435354,
0.002884470159187913,
0.04622793197631836,
-0.005816696677356958,
-0.0183096993714571,
-0.011881724931299686,
0.036160942167043686,
0.0972696840763092,
0.06391680240631104,
0.020401418209075928,
0.0023304992355406284,
0.014355492778122425,
-0.06743165850639343,
0.023667937144637108,
-0.020898083224892616,
0.021662181243300438,
0.02047782763838768,
-0.023648835718631744,
0.018787261098623276,
-0.014785298146307468,
0.04053540155291557,
-0.00634678965434432,
-0.04405025392770767,
-0.0695711299777031,
0.003378746099770069,
-0.006408872548490763,
0.0459987036883831,
-0.024718573316931725,
0.05310481786727905,
0.06353475153446198,
-0.03788016363978386,
-0.010535002686083317,
0.002286324743181467,
-0.008156746625900269,
-0.04668639227747917,
0.030754948034882545,
0.041184887290000916,
-0.005912208929657936,
-0.04618972912430763,
0.0025454016868025064,
-0.027240095660090446,
0.09085126221179962,
-0.04603691026568413,
0.011079422198235989,
-0.037154268473386765,
-0.09077484905719757,
0.05558813363313675,
-0.027220994234085083,
-0.05001021921634674,
0.03694414347410202,
0.010152952745556831,
-0.02714458480477333,
-0.0016129632713273168
]
|
37,070 | sphinx_autodoc_typehints | get_annotation_class_name |
Get class name for annotation.
:param annotation:
:param module:
:return:
| def get_annotation_class_name(annotation: Any, module: str) -> str: # noqa: C901, PLR0911
"""
Get class name for annotation.
:param annotation:
:param module:
:return:
"""
# Special cases
if annotation is None:
return "None"
if annotation is AnyStr:
return "AnyStr"
val = _get_types_type(annotation)
if val is not None:
return val
if _is_newtype(annotation):
return "NewType"
if getattr(annotation, "__qualname__", None):
return annotation.__qualname__ # type: ignore[no-any-return]
if getattr(annotation, "_name", None): # Required for generic aliases on Python 3.7+
return annotation._name # type: ignore[no-any-return] # noqa: SLF001
if module in {"typing", "typing_extensions"} and isinstance(getattr(annotation, "name", None), str):
# Required for at least Pattern and Match
return annotation.name # type: ignore[no-any-return]
origin = getattr(annotation, "__origin__", None)
if origin:
if getattr(origin, "__qualname__", None): # Required for Protocol subclasses
return origin.__qualname__ # type: ignore[no-any-return]
if getattr(origin, "_name", None): # Required for Union on Python 3.7+
return origin._name # type: ignore[no-any-return] # noqa: SLF001
annotation_cls = annotation if inspect.isclass(annotation) else type(annotation)
return annotation_cls.__qualname__.lstrip("_")
| (annotation: Any, module: str) -> str | [
0.04308108612895012,
0.05119046941399574,
-0.0006997282616794109,
0.04894590750336647,
-0.017513005062937737,
-0.04619450867176056,
0.024581560865044594,
0.008399002254009247,
0.04894590750336647,
-0.023911813274025917,
-0.015241292305290699,
-0.03685424104332924,
-0.0183456651866436,
-0.04101753979921341,
0.02318776212632656,
-0.027224350720643997,
0.015947243198752403,
0.0220473799854517,
-0.008842483162879944,
0.011630083434283733,
-0.0018327563302591443,
0.04543425515294075,
-0.046303119510412216,
-0.01159388106316328,
-0.026319285854697227,
-0.012725211679935455,
0.024129029363393784,
0.009494130499660969,
-0.015567115508019924,
-0.03851956129074097,
-0.011213753372430801,
-0.12765035033226013,
0.03794031962752342,
0.001678895321674645,
-0.039678044617176056,
0.016770850867033005,
0.024889282882213593,
0.03359600901603699,
-0.015286545269191265,
-0.07298442721366882,
-0.02751397155225277,
0.021522441878914833,
-0.07638747245073318,
-0.0376506969332695,
0.04514463618397713,
0.012888123281300068,
0.015177937224507332,
-0.02850954234600067,
-0.04514463618397713,
0.05162489786744118,
0.00922713615000248,
-0.06610593944787979,
-0.02610206976532936,
-0.006643176078796387,
-0.007150012534111738,
0.03589487075805664,
0.0012467268388718367,
0.011105145327746868,
-0.06339073926210403,
0.010679765604436398,
0.01473445538431406,
-0.0059870039112865925,
0.014499139040708542,
0.011059892363846302,
0.007249569520354271,
0.0014752557035535574,
0.008516659960150719,
-0.0012229689164087176,
-0.004176874179393053,
-0.04308108612895012,
-0.028147516772150993,
-0.0036179968155920506,
0.05292819067835808,
0.010571157559752464,
-0.009476029314100742,
-0.05857579782605171,
-0.040800321847200394,
-0.010163878090679646,
0.025613335892558098,
-0.0035139143001288176,
0.02134143002331257,
-0.012942427769303322,
0.006068459711968899,
-0.016300218179821968,
0.0895652174949646,
-0.06306491792201996,
-0.12526097893714905,
-0.03495360538363457,
-0.038990192115306854,
-0.03247372806072235,
-0.08210748434066772,
0.0016732385847717524,
0.02094320021569729,
0.05477452650666237,
-0.059263646602630615,
-0.0034822369925677776,
0.03880918025970459,
-0.024237636476755142,
0.020400160923600197,
0.031061826273798943,
0.05578819662332535,
-0.018698640167713165,
-0.0178659800440073,
0.08094900101423264,
0.0009718133951537311,
0.02510649897158146,
-0.013548821210861206,
0.02646409533917904,
0.01177489385008812,
0.006199694238603115,
0.010317739099264145,
-0.013168693520128727,
-0.018390918150544167,
-0.0026314761489629745,
0.05292819067835808,
-0.06635935604572296,
-0.01588388718664646,
-0.019839022308588028,
-0.011865399777889252,
0.003930244129151106,
0.05162489786744118,
0.058865416795015335,
-0.014490088447928429,
-0.010326789692044258,
0.049307931214571,
-0.038736775517463684,
0.00573358591645956,
0.029559418559074402,
-0.012317932210862637,
-0.04029348865151405,
0.014915469102561474,
0.01408280897885561,
-0.06672137975692749,
0.044311974197626114,
0.021848265081644058,
0.06255808472633362,
-0.06378897279500961,
0.04586868733167648,
-0.023278268054127693,
0.0031767776235938072,
0.009068749845027924,
0.006982575170695782,
0.038085129112005234,
-0.04543425515294075,
-0.021576745435595512,
-0.0003693795879371464,
-0.004305846057832241,
-0.005244850646704435,
0.006896594073623419,
-0.05343502759933472,
-0.04340691119432449,
-0.03975044935941696,
0.03012055903673172,
-0.01323204766958952,
-0.03500790894031525,
0.0002858024963643402,
0.003491287585347891,
0.011077993549406528,
0.0028758435510098934,
-0.017503954470157623,
0.02756827510893345,
-0.07935608923435211,
-0.014662050642073154,
-0.09796421974897385,
0.07414291054010391,
-0.03042828105390072,
0.0480046384036541,
0.019205475226044655,
-0.02383940853178501,
-0.032455626875162125,
-0.018436171114444733,
-0.01265280693769455,
0.0714639201760292,
0.002794387750327587,
-0.032962460070848465,
0.10100523382425308,
-0.01967610977590084,
0.05546237528324127,
0.050176795572042465,
0.06697479635477066,
0.026880426332354546,
0.025178903713822365,
0.0249616876244545,
0.015730027109384537,
0.01862623542547226,
0.006842290051281452,
0.02715194597840309,
0.004147459752857685,
0.02584865130484104,
0.008132007904350758,
-0.011132298037409782,
0.0030817457009106874,
-0.014200467616319656,
0.03037397563457489,
0.003948345314711332,
-0.035116516053676605,
0.0008026793948374689,
-0.0015306909335777164,
-0.02650029957294464,
0.022210290655493736,
-0.00826776772737503,
0.05788794904947281,
0.011114195920526981,
0.08036975562572479,
0.024509156122803688,
0.0010674108052626252,
0.08616217225790024,
0.012417489662766457,
-0.023622192442417145,
-0.07287582010030746,
0.015811482444405556,
-0.02454535849392414,
-0.031242838129401207,
0.0015340849058702588,
-0.013747935183346272,
0.005842193495482206,
0.029505115002393723,
0.006928271614015102,
0.0004991998430341482,
0.005403236951678991,
-0.035623352974653244,
0.05361604318022728,
-0.021721556782722473,
0.005104565527290106,
0.009430775418877602,
-0.030808407813310623,
0.004959755577147007,
0.01312344055622816,
0.050937049090862274,
-0.03812133148312569,
0.007702101953327656,
0.007240518927574158,
-0.013639327138662338,
0.0022072268184274435,
0.031098028644919395,
-0.014164265245199203,
-0.011485273018479347,
-0.03971424698829651,
0.034519173204898834,
-0.062123652547597885,
-0.0029867140110582113,
-0.030138660222291946,
-0.032709043473005295,
0.021395733579993248,
-0.01405565720051527,
-0.015431355684995651,
-0.05929984897375107,
0.025088397786021233,
0.019603705033659935,
-0.013213946484029293,
-0.007077607326209545,
-0.01754920743405819,
-0.0011494323844090104,
-0.026699412614107132,
0.012218375690281391,
-0.028835365548729897,
-0.05980668589472771,
-0.0038759401068091393,
0.0350441113114357,
0.03357790410518646,
-0.0230429507791996,
-0.025921057909727097,
0.00667937844991684,
0.0005300285993143916,
0.034663982689380646,
-0.05325401574373245,
-0.008005298674106598,
0.021214719861745834,
0.004122570157051086,
-0.03906260058283806,
0.04948894679546356,
0.024165231734514236,
0.01255324948579073,
0.015802431851625443,
0.009245237335562706,
-0.07479456067085266,
0.00461356807500124,
0.034808795899152756,
0.026138272136449814,
-0.02575814537703991,
-0.0055480473674833775,
-0.07273101061582565,
0.03654651716351509,
0.00186103954911232,
0.025178903713822365,
0.04047450050711632,
0.00907327514141798,
-0.05166110023856163,
0.033813223242759705,
0.02680802159011364,
0.038085129112005234,
-0.02957751974463463,
0.005860294681042433,
0.01933218538761139,
-0.027224350720643997,
0.019350286573171616,
0.013793188147246838,
-0.026337387040257454,
-0.01292432565242052,
-0.03365031257271767,
0.041995007544755936,
0.0779079794883728,
-0.006032257340848446,
-0.04916312173008919,
-0.029939545318484306,
0.005692857783287764,
-0.031460054218769073,
-0.03584056720137596,
-0.03801272436976433,
0.02405662275850773,
0.018752943724393845,
0.01783882826566696,
-0.08087659627199173,
0.003301223972812295,
0.009629890322685242,
0.057163894176483154,
0.04948894679546356,
0.005738111212849617,
-0.024834979325532913,
0.07580823451280594,
0.020164845511317253,
-0.008213463239371777,
0.00804150104522705,
-0.04275526478886604,
0.010281536728143692,
-0.032202206552028656,
-0.05542617291212082,
0.029758531600236893,
-0.023368773981928825,
-0.02380320616066456,
0.018608132377266884,
-0.0060594091191887856,
-0.03012055903673172,
0.005104565527290106,
-0.029758531600236893,
0.04101753979921341,
-0.0168704092502594,
-0.058358579874038696,
-0.05162489786744118,
-0.020617377012968063,
0.03989525884389877,
-0.01857193000614643,
-0.05300059914588928,
0.08384520560503006,
-0.0597342811524868,
0.041995007544755936,
0.0035365407820791006,
0.008842483162879944,
0.030156761407852173,
-0.05738111212849617,
-0.012037362903356552,
-0.009439826011657715,
-0.019295983016490936,
-0.0009780357358977199,
0.032908156514167786,
0.013548821210861206,
0.05053882300853729,
0.008516659960150719,
-0.043949950486421585,
-0.004977856762707233,
0.027278654277324677,
-0.022355102002620697,
0.05636743828654289,
-0.01074311975389719,
-0.012001159600913525,
0.10006397217512131,
-0.017359143123030663,
0.042393237352371216,
0.043153490871191025,
-0.025776246562600136,
-0.02720624953508377,
-0.0024753522593528032,
0.020997503772377968,
-0.026771817356348038,
-0.07345506548881531,
0.062123652547597885,
0.012698059901595116,
-0.014191417023539543,
-0.06570770591497421,
-0.0026789919938892126,
-0.023875610902905464,
-0.027821693569421768,
-0.009620839729905128,
-0.014481037855148315,
-0.01678895205259323,
-0.004647507797926664,
-0.0077292537316679955,
-0.0726948082447052,
-0.014815911650657654,
0.04449298977851868,
-0.012598502449691296,
-0.007041404489427805,
-0.029649924486875534,
-0.028527643531560898,
-0.004113519564270973,
0.006453112233430147,
-0.08029735088348389,
0.03051878698170185,
0.004701811820268631,
0.04221222549676895,
0.0047923182137310505,
-0.08529330790042877,
0.0320935994386673,
0.010734069161117077,
0.005977953318506479,
0.06664897501468658,
0.028238022699952126,
-0.059372253715991974,
-0.0163907241076231,
-0.01938648894429207,
0.02595726028084755,
0.013892745599150658,
-0.04221222549676895,
-0.039533231407403946,
0.06759024411439896,
0.02671751379966736,
0.003541066311299801,
-0.02756827510893345,
0.036419808864593506,
-0.02850954234600067,
-0.046411726623773575,
0.03841095045208931,
0.03051878698170185,
0.03107992745935917,
-0.04434817656874657,
0.023911813274025917,
0.005516370292752981,
0.02049066871404648,
-0.009145679883658886,
0.03042828105390072,
-0.044058557599782944,
0.0311704333871603,
-0.01613730564713478,
-0.04268286004662514,
-0.01820085383951664,
0.0045864162966609,
0.006892068777233362,
0.025486625730991364,
0.007475835736840963,
-0.05882921442389488,
-0.03151435777544975,
0.0320935994386673,
0.023984218016266823,
0.032763347029685974,
0.005063837859779596,
-0.006457637529820204,
-0.044963620603084564,
0.014164265245199203,
-0.0037695951759815216,
-0.054702118039131165,
-0.05748971924185753,
-0.011684386990964413,
0.02383940853178501,
0.04141576588153839,
0.03614829108119011,
-0.07316543906927109,
-0.0357319600880146,
-0.06060314178466797,
0.00931311771273613,
0.0253056138753891,
-0.098615862429142,
0.03714386001229286,
0.03761449456214905,
0.0033306386321783066,
0.07870443910360336,
-0.00832207128405571,
0.07906646281480789,
-0.04449298977851868,
-0.008303970098495483,
0.006498365662992001,
0.10419106483459473,
-0.021721556782722473,
0.035315629094839096,
0.044710204005241394,
-0.004226652905344963,
0.05462971329689026,
0.00971134565770626,
0.04793223366141319,
0.015069330111145973,
0.07287582010030746,
0.037469685077667236,
0.02298864722251892,
-0.013974200934171677,
0.013159642927348614,
0.004020750522613525,
-0.000691808934789151,
-0.02595726028084755,
-0.007258620113134384,
-0.04764261469244957,
0.01616445742547512,
-0.02584865130484104,
0.08036975562572479,
0.01987522467970848,
0.03393993154168129,
0.037578292191028595,
0.011440020054578781,
0.02887156791985035,
0.03603968396782875,
-0.06465782970190048,
0.01967610977590084,
0.04322589561343193,
-0.013168693520128727,
-0.056005414575338364,
-0.039135005325078964,
0.03614829108119011,
-0.05622262880206108,
0.00005448066076496616,
-0.010598309338092804,
0.009955713525414467,
0.04804084077477455,
-0.003550116904079914,
0.041596781462430954,
0.037469685077667236,
0.018535727635025978,
-0.026192577555775642,
-0.014969772659242153,
-0.005412288010120392,
-0.03247372806072235,
0.014408632181584835,
0.04923552647233009,
-0.06635935604572296,
-0.011376664973795414,
0.02635548822581768,
0.03694474697113037,
-0.004342048428952694,
0.05046641454100609,
0.040583107620477676,
0.03636550530791283,
-0.055498577654361725,
0.02992144413292408,
-0.00971134565770626,
0.02213788591325283,
0.026029665023088455,
0.03357790410518646,
0.01214597001671791,
0.012906224466860294,
-0.0655628964304924,
-0.007172639016062021,
0.04141576588153839,
0.018110347911715508,
0.015431355684995651,
-0.004747065249830484,
0.003774120472371578,
0.03269094228744507,
0.014571543782949448,
0.03949702903628349,
-0.02756827510893345,
0.004783267620950937,
-0.025015993043780327,
0.05021299794316292,
0.01164818461984396,
0.016490280628204346,
-0.023929914459586143,
0.002776286331936717,
-0.06045833230018616,
0.05759832635521889,
-0.00493260333314538,
0.016209712252020836,
0.020201047882437706,
0.03133334591984749,
-0.05593300610780716,
0.007955520413815975,
0.057163894176483154,
0.03269094228744507,
0.0022456920705735683,
-0.014372429810464382,
-0.011141348630189896,
0.06407859176397324,
-0.0007851437549106777,
0.021667253226041794,
0.004900926258414984,
-0.03254613280296326,
0.03676373511552811,
0.003930244129151106,
-0.018137499690055847,
0.04945274442434311,
0.02224649488925934,
0.016200661659240723,
-0.020816491916775703,
0.0015793382190167904,
0.051081858575344086,
0.013241099193692207,
-0.008842483162879944,
-0.028744859620928764,
-0.03281765058636665,
-0.0019051615381613374,
-0.05343502759933472,
-0.0577431358397007,
-0.007932893000543118,
-0.05401426926255226,
-0.035170819610357285,
0.03127904236316681,
0.0733826607465744,
0.01077027153223753,
0.0050231097266077995,
0.025088397786021233,
-0.020273452624678612,
-0.011684386990964413,
0.02188446745276451,
-0.014327176846563816,
0.05426768958568573,
0.025685740634799004,
0.0019119494827464223,
-0.03739728033542633,
0.07236898690462112,
0.006964473985135555,
-0.013530719093978405,
-0.02108801156282425,
0.04177779331803322,
0.019712312147021294,
-0.01398325152695179,
0.010679765604436398,
-0.001345152617432177,
-0.027224350720643997,
-0.019911427050828934,
0.013503567315638065,
0.0031088977120816708,
-0.025884855538606644,
-0.0043239472433924675,
0.008629793301224709,
0.05676566809415817,
0.06892973929643631,
0.05868440493941307,
-0.011050841771066189,
-0.00744415819644928,
0.031061826273798943,
-0.03855576366186142,
-0.09514041990041733,
0.027749288827180862,
-0.06375277042388916,
-0.02912498638033867,
-0.020870795473456383,
0.01102368999272585,
-0.09687814116477966,
-0.024273838847875595,
-0.01726863719522953,
-0.03996766358613968,
-0.03714386001229286,
-0.006552669685333967,
0.011602931655943394,
-0.04326209798455238,
0.00243462435901165,
-0.025124600157141685,
0.03289005532860756,
0.0034822369925677776,
-0.06682998687028885,
0.020001932978630066,
-0.029939545318484306,
-0.0024889283813536167,
-0.034066639840602875,
-0.02680802159011364,
0.07609785348176956,
-0.01744060032069683,
0.01320489589124918,
0.026989033445715904,
0.01418236643075943,
-0.08145583420991898,
0.01868053898215294,
-0.020997503772377968,
-0.018662437796592712,
0.028527643531560898,
-0.046158306300640106,
-0.008869635872542858,
0.009295015595853329,
0.021612947806715965,
-0.018590031191706657,
-0.00983805488795042,
-0.051081858575344086,
0.08884116262197495,
-0.026029665023088455,
-0.05372465029358864,
0.06024111807346344,
0.05126287415623665,
-0.10918702185153961,
-0.01430907566100359,
-0.020201047882437706,
0.07855962961912155,
0.012010210193693638,
0.0577431358397007,
-0.030482584610581398,
-0.017485853284597397,
-0.040691714733839035,
-0.021450037136673927,
-0.04029348865151405,
0.041741590946912766,
0.05097325146198273,
0.006471213884651661,
-0.016200661659240723,
0.021395733579993248,
-0.0340847410261631,
0.00047289638314396143,
0.026065867394208908,
0.023585990071296692,
-0.013132491149008274,
0.0792112722992897,
0.0014650736702606082,
0.014643949456512928,
0.06483884900808334,
-0.021721556782722473,
-0.011811096221208572,
-0.01430907566100359,
-0.020544972270727158,
-0.06143580377101898,
0.003649673890322447,
-0.007702101953327656,
0.05528135970234871,
-0.00031366152688860893,
-0.014381480403244495,
-0.0017784524243324995,
-0.0035908448044210672,
-0.028400935232639313,
-0.00744415819644928,
-0.0037763831205666065,
0.02926979772746563,
-0.019839022308588028,
-0.02114231511950493,
-0.05415907874703407,
0.056041616946458817,
-0.016662243753671646,
-0.018662437796592712,
0.037831712514162064,
0.002364482032135129,
0.062123652547597885,
0.06255808472633362,
0.0016381674213334918,
0.021812062710523605,
-0.011611982248723507,
-0.027170047163963318,
-0.003468661103397608,
0.0230429507791996,
0.032908156514167786,
0.07066746056079865,
-0.07052265107631683,
0.04373273253440857,
0.016236864030361176,
0.01967610977590084,
-0.001615540706552565,
-0.05024920031428337,
-0.03736107796430588,
0.015802431851625443,
-0.0700882226228714,
0.010525904595851898,
-0.0441671647131443,
0.04778742417693138,
-0.0024753522593528032,
0.008525710552930832,
-0.03493550419807434,
-0.01681610569357872,
0.0006720106466673315,
-0.022970546036958694,
0.008543811738491058,
-0.001535216229967773,
-0.0382661409676075,
-0.057055287063121796,
-0.014453886076807976,
-0.009675143286585808,
0.027242451906204224,
0.006552669685333967,
0.015386102721095085,
-0.00652551744133234,
-0.05195072293281555,
0.058105163276195526,
-0.03721626475453377,
-0.076532281935215,
0.0012670907890424132,
0.04242943972349167,
-0.013756985776126385,
-0.034808795899152756
]
|
37,071 | sphinx_autodoc_typehints | get_annotation_module |
Get module for an annotation.
:param annotation:
:return:
| def get_annotation_module(annotation: Any) -> str:
"""
Get module for an annotation.
:param annotation:
:return:
"""
if annotation is None:
return "builtins"
if _get_types_type(annotation) is not None:
return "types"
is_new_type = sys.version_info >= (3, 10) and isinstance(annotation, NewType)
if (
is_new_type
or isinstance(annotation, TypeVar)
or type(annotation).__name__ in {"ParamSpec", "ParamSpecArgs", "ParamSpecKwargs"}
):
return "typing"
if hasattr(annotation, "__module__"):
return annotation.__module__ # type: ignore[no-any-return]
if hasattr(annotation, "__origin__"):
return annotation.__origin__.__module__ # type: ignore[no-any-return]
msg = f"Cannot determine the module of {annotation}"
raise ValueError(msg)
| (annotation: Any) -> str | [
0.055603351444005966,
0.06057511642575264,
-0.0073388381861150265,
0.03365081176161766,
0.019795669242739677,
-0.03721512854099274,
0.053154025226831436,
0.018232854083180428,
-0.012886377982795238,
-0.008197929710149765,
0.0022471193224191666,
-0.05048535764217377,
-0.04350294917821884,
-0.017026469111442566,
-0.014083622954785824,
-0.046939317137002945,
0.03546038642525673,
0.017483433708548546,
0.014321244321763515,
0.010957990773022175,
-0.011250447481870651,
0.03233475610613823,
-0.01682540588080883,
-0.01865326054394245,
-0.018287690356373787,
0.008207068778574467,
0.042552463710308075,
-0.0261931624263525,
0.002047197660431266,
-0.03564317151904106,
0.0074896360747516155,
-0.16143615543842316,
0.07337009906768799,
0.005757743492722511,
-0.02425563707947731,
0.023067530244588852,
-0.007393673527985811,
0.036922670900821686,
-0.032773442566394806,
-0.08203413337469101,
0.006370075047016144,
0.031914349645376205,
-0.019229035824537277,
-0.038055941462516785,
0.035606615245342255,
0.019027970731258392,
0.007836928591132164,
-0.027235040441155434,
-0.05044879764318466,
0.0518014132976532,
0.01952149160206318,
-0.030835915356874466,
-0.025809312239289284,
-0.006808760110288858,
-0.016569506376981735,
0.04240623861551285,
0.029976822435855865,
-0.003968730103224516,
-0.017209256067872047,
0.05947840213775635,
0.003945881966501474,
0.005849136039614677,
0.010683813132345676,
-0.013169695623219013,
0.01604856736958027,
0.002522439928725362,
-0.016012009233236313,
-0.02054509148001671,
-0.011168194003403187,
-0.026211440563201904,
-0.052459441125392914,
-0.010866598226130009,
0.023944901302456856,
0.006402062252163887,
-0.004185787867754698,
-0.06591245532035828,
-0.012886377982795238,
0.006466037128120661,
0.05505499243736267,
0.0026846621185541153,
0.0030228153336793184,
0.02959297224879265,
0.011753108352422714,
0.01386428065598011,
0.0780128538608551,
-0.048474714159965515,
-0.08415444940328598,
0.008188790641725063,
-0.023414822295308113,
-0.06251264363527298,
-0.08393510431051254,
-0.021257953718304634,
0.03383359685540199,
0.06858111917972565,
-0.04584260284900665,
-0.019941898062825203,
0.0449652336537838,
-0.02003329060971737,
0.0068316082470119,
-0.00903417356312275,
0.039481669664382935,
0.01963116228580475,
-0.05944184586405754,
0.06415770947933197,
0.0031758982222527266,
0.04587916284799576,
0.02156868949532509,
0.03525932505726814,
-0.005917680915445089,
0.010994547978043556,
-0.0033541140146553516,
0.0032604364678263664,
-0.03553350269794464,
-0.010427912697196007,
0.03450990468263626,
-0.029410187155008316,
-0.0341808907687664,
-0.0392988845705986,
0.027692003175616264,
0.02032574824988842,
-0.007041811477392912,
0.08722524344921112,
-0.02191598154604435,
-0.013672355562448502,
0.07421091198921204,
-0.022299831733107567,
0.02522439882159233,
0.0003070225357078016,
-0.003964160569012165,
-0.06112347170710564,
0.009107287973165512,
0.013964812271296978,
-0.06302443891763687,
0.032883111387491226,
-0.043978191912174225,
0.025133006274700165,
-0.07183470577001572,
0.011826221831142902,
-0.021312789991497993,
-0.04587916284799576,
-0.05216698348522186,
0.008536082692444324,
0.039079539477825165,
-0.051033712923526764,
-0.02021607756614685,
0.01528086792677641,
-0.004119528457522392,
-0.0016873386921361089,
0.014458333142101765,
-0.07486893981695175,
-0.008010574616491795,
-0.07676991075277328,
0.010290823876857758,
-0.027070533484220505,
-0.02328687347471714,
0.020197797566652298,
0.012274046428501606,
0.034583017230033875,
-0.01161601860076189,
-0.033102456480264664,
0.01093057356774807,
-0.0350034236907959,
-0.0025864148046821356,
-0.09950842708349228,
0.05077781155705452,
0.0029497011564671993,
0.06192772835493088,
-0.012319742701947689,
-0.02697914093732834,
-0.025133006274700165,
-0.0316036120057106,
-0.013955673202872276,
0.03204229846596718,
-0.032206807285547256,
-0.008019713684916496,
0.08269216120243073,
0.005698338150978088,
0.09095406532287598,
0.054506637156009674,
0.08664032816886902,
0.04646407440304756,
0.048986516892910004,
-0.002744067460298538,
0.03090902790427208,
0.0037562421057373285,
0.03427228331565857,
0.016752291470766068,
-0.024182522669434547,
-0.008997616358101368,
0.026229720562696457,
-0.017967814579606056,
0.03728824108839035,
0.02818552404642105,
0.00973332766443491,
-0.038677413016557693,
-0.009568820707499981,
-0.007247445173561573,
0.013178834691643715,
-0.020289190113544464,
0.03842151165008545,
0.029519859701395035,
0.050521913915872574,
-0.03017788752913475,
0.1303626149892807,
-0.024676043540239334,
0.02078271098434925,
0.03889675438404083,
0.023615887388586998,
-0.029081173241138458,
-0.062256742268800735,
0.03443678840994835,
-0.0387139692902565,
0.01497013308107853,
0.015134640038013458,
0.006689949426800013,
0.009180402383208275,
-0.013626659289002419,
0.03582596033811569,
-0.0007117210770957172,
0.011277865618467331,
0.003973300103098154,
0.06496196985244751,
-0.020289190113544464,
0.03240786865353584,
0.040907394140958786,
-0.03262721374630928,
0.0005714903236366808,
-0.014458333142101765,
0.04913274198770523,
-0.01235629990696907,
0.004990044049918652,
-0.025973819196224213,
0.02123967558145523,
0.013389037922024727,
0.07190781831741333,
-0.0011481214314699173,
0.00978816393762827,
-0.033212125301361084,
0.025297513231635094,
-0.03109181486070156,
-0.0037082608323544264,
0.008572639897465706,
-0.014111041091382504,
0.04997355863451958,
-0.034016381949186325,
0.02027091197669506,
-0.03323040530085564,
0.016012009233236313,
0.04054182395339012,
-0.012027285993099213,
-0.025151286274194717,
0.016925938427448273,
-0.010126316919922829,
-0.007124064955860376,
0.024840550497174263,
-0.005296209827065468,
-0.04814570024609566,
-0.007983156479895115,
0.040285926312208176,
0.02123967558145523,
-0.02237294614315033,
-0.007087507750838995,
-0.01975911296904087,
-0.010820901952683926,
0.043173935264348984,
-0.049790769815444946,
0.0027829091995954514,
0.02562652714550495,
0.006954988464713097,
-0.03136599063873291,
0.08239970356225967,
0.020453697070479393,
0.023305151611566544,
0.001253223163075745,
0.00772725697606802,
-0.06393837183713913,
-0.005844566505402327,
0.0626223161816597,
0.048474714159965515,
0.011826221831142902,
0.01771191507577896,
-0.043868519365787506,
-0.002913143951445818,
0.018342524766921997,
-0.04119985178112984,
0.02756405435502529,
0.013407316990196705,
-0.059405289590358734,
0.008600058034062386,
0.034308839589357376,
0.014659397304058075,
-0.04463621973991394,
-0.02772856131196022,
0.024347029626369476,
-0.0013149132719263434,
0.04697587341070175,
0.029757479205727577,
-0.009715049527585506,
0.022244995459914207,
-0.0409805104136467,
0.0575043186545372,
0.04200410842895508,
-0.01762966252863407,
-0.008664032444357872,
-0.019448377192020416,
0.006351796444505453,
0.0273264329880476,
-0.03695922717452049,
-0.04171165078878403,
0.011250447481870651,
0.013032606802880764,
0.007777523249387741,
-0.03688611462712288,
-0.006018212530761957,
0.001186963403597474,
-0.0034980576019734144,
0.03173156455159187,
0.002015210222452879,
-0.01975911296904087,
0.07706236839294434,
-0.00250644632615149,
0.03058001399040222,
0.02829519659280777,
-0.04149230942130089,
0.012027285993099213,
-0.017063027247786522,
-0.025352349504828453,
0.029008058831095695,
-0.021495575085282326,
0.01750171184539795,
-0.030671408399939537,
-0.006932140327990055,
-0.005478995386511087,
0.030378950759768486,
-0.017830725759267807,
0.04975421354174614,
-0.0061233146116137505,
-0.05607859417796135,
-0.05289812386035919,
-0.009230667725205421,
0.020106405019760132,
-0.043466392904520035,
-0.020746154710650444,
0.08174167573451996,
-0.04821881651878357,
0.04814570024609566,
0.02293958142399788,
0.01348957046866417,
0.01908280700445175,
-0.05845480412244797,
0.0027989030349999666,
0.0199236199259758,
-0.04821881651878357,
-0.02259228751063347,
0.01047360897064209,
0.0043091680854558945,
0.007782092783600092,
0.03525932505726814,
-0.03536899387836456,
-0.018808627501130104,
0.008837679401040077,
-0.008887944743037224,
0.06598556786775589,
-0.007960308343172073,
-0.04313737899065018,
0.05505499243736267,
-0.02538890577852726,
0.02972092293202877,
0.09914285689592361,
-0.012465971522033215,
-0.03694095090031624,
-0.025370627641677856,
0.010866598226130009,
0.007352546788752079,
-0.03849462792277336,
0.04452654719352722,
-0.015737831592559814,
-0.018936578184366226,
-0.0620739571750164,
-0.007786662317812443,
-0.01816887967288494,
0.0132336700335145,
0.007613016292452812,
-0.004270326346158981,
-0.0075399018824100494,
-0.034820638597011566,
-0.008458399213850498,
-0.08079119026660919,
-0.04741455987095833,
0.0053236279636621475,
-0.020636484026908875,
-0.006872734986245632,
-0.020398862659931183,
-0.0031439107842743397,
-0.013681494630873203,
-0.008956490084528923,
-0.05165518447756767,
0.004231484606862068,
-0.017510851845145226,
0.029958544299006462,
0.07011651992797852,
-0.053483039140701294,
0.03142082691192627,
-0.014951854012906551,
-0.007439369801431894,
0.0341808907687664,
0.02675979770720005,
-0.016267910599708557,
-0.042662136256694794,
-0.04536736384034157,
0.01730978675186634,
0.0046244733966887,
-0.01426640897989273,
-0.041930995881557465,
0.06386525183916092,
0.02522439882159233,
0.020855825394392014,
-0.01908280700445175,
0.01908280700445175,
-0.051545511931180954,
-0.005817148834466934,
0.01709958352148533,
-0.0036168680526316166,
0.024566370993852615,
-0.04708554595708847,
0.03577112406492233,
-0.02231810986995697,
0.015582464635372162,
-0.03551522269845009,
0.05202075466513634,
-0.015957174822688103,
-0.015902338549494743,
0.003349544247612357,
-0.02630283311009407,
-0.009605377912521362,
-0.03184123337268829,
0.012639617547392845,
0.03962789848446846,
0.009116427041590214,
-0.08057185262441635,
0.024803992360830307,
0.053994838148355484,
0.04394163563847542,
0.023944901302456856,
0.031676728278398514,
0.010254266671836376,
-0.045696377754211426,
0.05421417951583862,
-0.008211638778448105,
-0.05589580535888672,
-0.043466392904520035,
-0.006511733401566744,
0.06858111917972565,
0.05436040833592415,
0.03006821498274803,
-0.06978750228881836,
0.027929624542593956,
-0.04017625376582146,
0.026887748390436172,
0.04364917799830437,
-0.08261904865503311,
0.02783823199570179,
0.01952149160206318,
-0.011881058104336262,
0.11749452352523804,
-0.03286483511328697,
0.0575043186545372,
-0.030835915356874466,
-0.037544142454862595,
0.036922670900821686,
0.09153898060321808,
-0.022007374092936516,
-0.002536148764193058,
0.03142082691192627,
-0.022446060553193092,
0.03416261076927185,
0.04353950545191765,
0.036465708166360855,
0.005433299113065004,
0.0478166863322258,
-0.008389854803681374,
0.01019029226154089,
-0.03193262591958046,
0.0239083431661129,
-0.02635766938328743,
-0.02038058452308178,
-0.02858765237033367,
-0.014988411217927933,
-0.05659039318561554,
-0.001247511012479663,
-0.0236341655254364,
0.08108364790678024,
0.004439402837306261,
0.012118678539991379,
0.06276854127645493,
0.029812315478920937,
0.04810914397239685,
0.008216208778321743,
-0.013763748109340668,
0.014366940595209599,
0.009952670894563198,
-0.0015559615567326546,
-0.03354113921523094,
-0.038348399102687836,
0.03849462792277336,
-0.07867088168859482,
0.009660214185714722,
-0.0040007177740335464,
-0.01855272799730301,
0.05483565106987953,
0.001162972766906023,
0.025151286274194717,
-0.0017855858895927668,
0.03392498940229416,
-0.02151385322213173,
-0.003621437819674611,
-0.018671538680791855,
0.018022650852799416,
0.03006821498274803,
0.01440349780023098,
-0.04138263687491417,
-0.038275282829999924,
0.005401311442255974,
-0.020965497940778732,
0.011798804625868797,
0.01730978675186634,
0.004268041346222162,
0.019283870235085487,
-0.055603351444005966,
0.03193262591958046,
0.02374383620917797,
0.04434376209974289,
0.009376896545290947,
0.041821323335170746,
0.0019615169148892164,
0.009290073066949844,
-0.05362926796078682,
-0.0019546623807400465,
0.027929624542593956,
0.0025475730653852224,
-0.03193262591958046,
-0.03995691239833832,
-0.0015673857415094972,
0.015920616686344147,
0.027929624542593956,
0.051216498017311096,
-0.050814371556043625,
-0.003859058953821659,
0.006502594333142042,
0.03798282891511917,
0.008472108282148838,
0.03995691239833832,
-0.05278845503926277,
-0.00019578040519263595,
-0.028825273737311363,
0.007466787938028574,
0.007855206727981567,
0.015500211156904697,
0.014677676372230053,
0.00029031478334218264,
-0.05150895565748215,
-0.023780394345521927,
0.03388843312859535,
0.04277180880308151,
0.0007082938100211322,
0.006365505047142506,
-0.031000422313809395,
0.034363675862550735,
-0.009833860211074352,
0.0002848883450496942,
0.000639178033452481,
-0.06324378401041031,
0.022117046639323235,
-0.06108691543340683,
0.0013686064630746841,
0.07786662131547928,
0.024401864036917686,
0.02191598154604435,
-0.01847047545015812,
0.04299115017056465,
0.04068805277347565,
-0.0008082546410150826,
0.0273264329880476,
-0.001994646852836013,
-0.012822402641177177,
-0.0010641543194651604,
-0.020453697070479393,
-0.04390507936477661,
0.02151385322213173,
-0.03769037127494812,
-0.04247935116291046,
0.0398472398519516,
0.09307438135147095,
0.004094395320862532,
0.02858765237033367,
0.015564185567200184,
-0.041017066687345505,
0.003961875569075346,
0.04057838022708893,
-0.040505267679691315,
0.035094816237688065,
-0.004788980353623629,
-0.029446745291352272,
-0.05563990771770477,
0.057248421013355255,
0.013882558792829514,
-0.01258478220552206,
-0.052861567586660385,
0.03496686741709709,
0.013681494630873203,
-0.0518014132976532,
-0.013626659289002419,
-0.025151286274194717,
-0.05845480412244797,
0.006726506631821394,
0.012758428230881691,
0.009413453750312328,
-0.03034239448606968,
0.006954988464713097,
-0.02197081781923771,
0.07596565783023834,
0.0870790109038353,
0.027655446901917458,
-0.05585924908518791,
0.0026138327084481716,
0.03626464307308197,
-0.053373366594314575,
-0.07322387397289276,
0.0148056261241436,
-0.03346802666783333,
-0.03474752604961395,
-0.024639485403895378,
0.02692430466413498,
-0.08393510431051254,
-0.010418773628771305,
-0.05216698348522186,
-0.017547408118844032,
-0.08788327127695084,
0.021733196452260017,
0.03505825996398926,
-0.02414596453309059,
-0.01258478220552206,
-0.03268204629421234,
-0.028788717463612556,
0.01352612767368555,
-0.06635113805532455,
0.02180631086230278,
0.018296828493475914,
0.01696249470114708,
-0.03747102990746498,
-0.022244995459914207,
0.05936873331665993,
-0.026832912117242813,
0.0415654219686985,
0.003653425257652998,
0.01604856736958027,
-0.05044879764318466,
0.047341447323560715,
0.006776772439479828,
-0.013160556554794312,
0.020746154710650444,
-0.05936873331665993,
-0.005871984176337719,
0.01747429370880127,
0.005680059548467398,
-0.007128634490072727,
-0.017547408118844032,
-0.06803276389837265,
0.09694942831993103,
-0.025315793231129646,
-0.03317556902766228,
0.03165844827890396,
0.03291966766119003,
-0.06923914700746536,
-0.004683878738433123,
-0.02094721794128418,
0.0632072240114212,
0.020362304523587227,
0.017730193212628365,
0.014111041091382504,
-0.03728824108839035,
-0.012456832453608513,
-0.027600610628724098,
0.002330515068024397,
0.016569506376981735,
0.08203413337469101,
0.026394227519631386,
0.017437737435102463,
0.03688611462712288,
-0.025297513231635094,
-0.01013545598834753,
0.02202565409243107,
0.034528180956840515,
-0.002536148764193058,
0.06909292191267014,
-0.002288246061652899,
0.001029882114380598,
0.03741619363427162,
-0.044892121106386185,
-0.03017788752913475,
0.013873419724404812,
-0.0341808907687664,
-0.06105035915970802,
0.023999737575650215,
-0.016487251967191696,
0.015902338549494743,
-0.050302572548389435,
-0.032188527286052704,
-0.07209060341119766,
-0.035844236612319946,
-0.06481573730707169,
0.000107386484160088,
0.0039938632398843765,
-0.005227665416896343,
0.019960176199674606,
-0.020307470113039017,
-0.06953160464763641,
0.05304435268044472,
-0.007306850515305996,
-0.06978750228881836,
0.01200900785624981,
-0.0078049409203231335,
0.08298461884260178,
0.04533080384135246,
0.01762966252863407,
-0.008170511573553085,
-0.015363121405243874,
-0.04321049153804779,
-0.016651758924126625,
0.03291966766119003,
0.020398862659931183,
0.046719975769519806,
-0.041419196873903275,
0.013580963015556335,
-0.002853738609701395,
0.012977770529687405,
-0.019210755825042725,
-0.01858014613389969,
-0.039701011031866074,
-0.02089238353073597,
-0.03028755821287632,
0.014193294569849968,
-0.06635113805532455,
0.041236408054828644,
0.032371312379837036,
-0.011341840960085392,
-0.02635766938328743,
-0.0449652336537838,
-0.0007277147960849106,
-0.01591147854924202,
0.021148283034563065,
-0.01215523574501276,
-0.030031658709049225,
-0.02955641597509384,
-0.04576949030160904,
-0.01204556506127119,
0.032535821199417114,
0.04010314121842384,
0.008705159649252892,
-0.02282990887761116,
-0.07453992962837219,
0.04032248258590698,
0.006397492717951536,
-0.08978424221277237,
-0.012246629223227501,
0.0030685116071254015,
-0.04617161676287651,
-0.05483565106987953
]
|
37,072 | sphinx_autodoc_typehints | get_insert_index | null | def get_insert_index(app: Sphinx, lines: list[str]) -> InsertIndexInfo | None:
# 1. If there is an existing :rtype: anywhere, don't insert anything.
if any(line.startswith(":rtype:") for line in lines):
return None
# 2. If there is a :returns: anywhere, either modify that line or insert
# just before it.
for at, line in enumerate(lines):
if line.startswith((":return:", ":returns:")):
return InsertIndexInfo(insert_index=at, found_return=True)
# 3. Insert after the parameters.
# To find the parameters, parse as a docutils tree.
settings = OptionParser(components=(RSTParser,)).get_default_values()
settings.env = app.env
doc = parse("\n".join(lines), settings)
# Find a top level child which is a field_list that contains a field whose
# name starts with one of the PARAM_SYNONYMS. This is the parameter list. We
# hope there is at most of these.
for child in doc.children:
if tag_name(child) != "field_list":
continue
if not any(c.children[0].astext().startswith(PARAM_SYNONYMS) for c in child.children):
continue
# Found it! Try to insert before the next sibling. If there is no next
# sibling, insert at end.
# If there is a next sibling but we can't locate a line number, insert
# at end. (I don't know of any input where this happens.)
next_sibling = child.next_node(descend=False, siblings=True)
line_no = node_line_no(next_sibling) if next_sibling else None
at = line_no - 2 if line_no else len(lines)
return InsertIndexInfo(insert_index=at, found_param=True)
# 4. Insert before examples
for child in doc.children:
if tag_name(child) in {"literal_block", "paragraph", "field_list"}:
continue
line_no = node_line_no(child)
at = line_no - 2 if line_no else len(lines)
return InsertIndexInfo(insert_index=at, found_directive=True)
# 5. Otherwise, insert at end
return InsertIndexInfo(insert_index=len(lines))
| (app: 'Sphinx', lines: 'list[str]') -> 'InsertIndexInfo | None' | [
-0.015279548242688179,
-0.004331247881054878,
0.020510978996753693,
-0.022283067926764488,
-0.007276873104274273,
0.024149416014552116,
-0.005471793934702873,
0.02413056418299675,
0.006584061775356531,
0.0023176181130111217,
0.017598344013094902,
-0.0014551390195265412,
-0.01164111215621233,
-0.023791227489709854,
-0.0024648993276059628,
-0.005763999652117491,
-0.027486220002174377,
0.032802484929561615,
-0.04381205514073372,
-0.04332190379500389,
-0.0006362550775520504,
0.040644917637109756,
-0.012329209595918655,
0.008261890150606632,
0.041135068982839584,
-0.01333779189735651,
0.03604502975940704,
-0.03549832105636597,
0.025544464588165283,
-0.05516096204519272,
0.06907373666763306,
-0.08822737634181976,
0.013149271719157696,
-0.05304953455924988,
0.02117079868912697,
-0.048072606325149536,
-0.007578505203127861,
0.04577266424894333,
0.01717417500913143,
0.039212167263031006,
0.0010068147676065564,
-0.049505360424518585,
-0.002388313179835677,
-0.07510638236999512,
-0.021302763372659683,
0.03928757458925247,
-0.0075973570346832275,
0.014732840470969677,
-0.011575129814445972,
-0.0043406737968325615,
0.021340467035770416,
-0.04954306408762932,
0.03547947108745575,
-0.049769286066293716,
-0.019342154264450073,
-0.007484245114028454,
-0.024149416014552116,
0.022924035787582397,
0.06277716904878616,
-0.002007738221436739,
0.09795500338077545,
0.03498931601643562,
0.01153742615133524,
0.02439449168741703,
0.037157297134399414,
0.03572454676032066,
0.03728926181793213,
-0.05893136188387871,
-0.0037044186610728502,
0.003633723594248295,
-0.005919529125094414,
-0.02503545954823494,
-0.02216995507478714,
0.010651381686329842,
0.024941200390458107,
0.04829883202910423,
-0.006763156037777662,
0.02842882089316845,
0.10444009304046631,
0.029710756614804268,
-0.056405194103717804,
0.032802484929561615,
-0.006145752966403961,
0.00824775081127882,
0.04430220648646355,
0.021717507392168045,
-0.0598362572491169,
-0.03176562488079071,
0.018946262076497078,
-0.009944431483745575,
-0.07586046308279037,
0.011339480057358742,
0.02216995507478714,
-0.0041262321174144745,
-0.003793965559452772,
0.012348061427474022,
0.05949692055583,
-0.08362748473882675,
0.011857910081744194,
0.023433038964867592,
0.026241987943649292,
0.09531572461128235,
0.004750704858452082,
-0.0425301194190979,
0.01776801235973835,
-0.05632978305220604,
-0.015713144093751907,
-0.02369696833193302,
-0.0057168700732290745,
0.02810833603143692,
-0.027882112190127373,
-0.10172540694475174,
0.009718207642436028,
-0.05595274269580841,
0.013488608412444592,
-0.03182218223810196,
-0.013356643728911877,
0.037722859531641006,
-0.010378027334809303,
-0.0339336059987545,
0.027090327814221382,
-0.04056951031088829,
-0.06243783235549927,
0.021227356046438217,
0.02068064734339714,
-0.046752966940402985,
0.053539689630270004,
0.01596764661371708,
-0.014525468461215496,
-0.09305348247289658,
0.013545163907110691,
-0.05022173747420311,
-0.00869548600167036,
-0.03297215327620506,
-0.040117062628269196,
-0.0022457449231296778,
-0.024809235706925392,
0.01428981777280569,
-0.07344740629196167,
-0.0539921373128891,
-0.0009066635393537581,
-0.0011193376267328858,
0.006145752966403961,
-0.024092860519886017,
-0.0881519690155983,
-0.027750147506594658,
-0.023433038964867592,
-0.0006886872579343617,
0.016674596816301346,
0.0068998332135379314,
-0.014921360649168491,
-0.03860890120267868,
-0.0062211607582867146,
0.011527999304234982,
-0.0384015291929245,
-0.03236888721585274,
-0.027863260358572006,
-0.05195612087845802,
0.008921710774302483,
-0.030314020812511444,
0.03263281658291817,
-0.04234159737825394,
0.08068656921386719,
-0.0020277686417102814,
0.01654263213276863,
0.10813508927822113,
-0.08030953258275986,
-0.01962493546307087,
-0.02471497654914856,
-0.01775858737528324,
0.02848537638783455,
0.08619135618209839,
0.019870011135935783,
-0.03185988590121269,
-0.03544176369905472,
0.008280741982161999,
0.01611846312880516,
0.03451801836490631,
0.02705262415111065,
0.003826956497505307,
-0.0023623916786164045,
0.021189650520682335,
-0.018154479563236237,
-0.006324846763163805,
0.008030952885746956,
0.006329560186713934,
-0.021302763372659683,
0.03913675621151924,
0.0311812125146389,
0.008129926398396492,
0.0384015291929245,
-0.014402930624783039,
0.06130671501159668,
0.0015352600021287799,
-0.008846302516758442,
0.0793292298913002,
-0.031746771186590195,
0.05749860778450966,
0.03924987092614174,
0.042718637734651566,
-0.009840745478868484,
0.0012171324342489243,
-0.001598885515704751,
0.02890012040734291,
0.030804172158241272,
0.021868323907256126,
0.030370576307177544,
0.008973553776741028,
-0.14116379618644714,
0.00696110213175416,
0.015760274603962898,
-0.018965115770697594,
-0.0032260490115731955,
-0.0366859957575798,
-0.008238324895501137,
-0.050523366779088974,
0.024319084361195564,
0.041926853358745575,
0.023112555965781212,
-0.000025350789655931294,
0.04927913472056389,
0.02512972056865692,
0.028409969061613083,
-0.0197757501155138,
0.07265561819076538,
-0.03161481022834778,
0.030634503811597824,
-0.023263370618224144,
-0.01973804645240307,
-0.027882112190127373,
-0.017419250681996346,
-0.03962691128253937,
-0.018738890066742897,
-0.00013468872930388898,
0.051465969532728195,
-0.02863619290292263,
0.0064285327680408955,
-0.0007204999565146863,
0.07028026878833771,
-0.007602069992572069,
-0.04490547254681587,
0.0536528006196022,
0.0030304593965411186,
0.007620922289788723,
-0.0682065486907959,
0.00914793461561203,
0.010651381686329842,
-0.051579080522060394,
0.009331741370260715,
0.027542775496840477,
0.020906871184706688,
-0.00018498528515920043,
0.016156166791915894,
0.033594269305467606,
0.04483006149530411,
0.08981094509363174,
-0.009821893647313118,
0.0212085023522377,
0.028711600229144096,
-0.05357739329338074,
-0.013535737991333008,
0.07197694480419159,
0.014308670535683632,
0.03517783805727959,
-0.02307485230267048,
-0.019794603809714317,
0.03891053423285484,
0.010717364028096199,
0.012800510041415691,
0.057046160101890564,
-0.011367757804691792,
0.1342262625694275,
-0.03515898436307907,
-0.022471588104963303,
0.022037992253899574,
0.03478194400668144,
0.040230173617601395,
-0.02890012040734291,
-0.07114745676517487,
0.005994936916977167,
0.01792825385928154,
-0.013969333842396736,
-0.019813455641269684,
-0.00031577105983160436,
0.0341598279774189,
0.012395191937685013,
0.005028771702200174,
0.03070991300046444,
-0.04030558094382286,
-0.017805716022849083,
0.0226412545889616,
0.012838213704526424,
-0.007107205223292112,
-0.005160735920071602,
0.03012550063431263,
0.020963426679372787,
-0.06036411225795746,
0.02126505970954895,
-0.038043342530727386,
-0.0682065486907959,
-0.026317395269870758,
-0.018060218542814255,
0.07744402438402176,
0.019756898283958435,
0.02445104718208313,
0.0032496140338480473,
-0.006065631750971079,
-0.014544320292770863,
-0.018437258899211884,
-0.08377829939126968,
-0.05923299118876457,
0.026336247101426125,
0.0014680997701361775,
-0.05007091909646988,
-0.06341813504695892,
-0.02965420112013817,
0.0005467080627568066,
0.021076539531350136,
0.003143571550026536,
0.03676140680909157,
-0.026694435626268387,
0.027863260358572006,
0.00494393752887845,
-0.06409680843353271,
0.034235239028930664,
-0.018917985260486603,
0.003478194586932659,
-0.022188806906342506,
-0.038156453520059586,
0.007262734230607748,
0.008106361143290997,
0.0032472575549036264,
-0.054444584995508194,
0.022471588104963303,
-0.04909061640501022,
-0.031143508851528168,
-0.009737059473991394,
-0.03606387972831726,
-0.0041050235740840435,
0.0029880425427109003,
0.030483689159154892,
-0.005735721904784441,
0.023904340341687202,
-0.01262141577899456,
0.05267249420285225,
-0.04053180664777756,
0.032123811542987823,
0.023093704134225845,
-0.025148572400212288,
0.028617341071367264,
0.02906978875398636,
-0.01545864250510931,
-0.03165251389145851,
-0.04105966165661812,
0.06628364324569702,
-0.03050254099071026,
0.028711600229144096,
-0.043887462466955185,
0.0017273147823289037,
-0.029936980456113815,
0.04694148898124695,
0.022094547748565674,
0.005005206912755966,
0.04381205514073372,
-0.03208610787987709,
-0.0037138445768505335,
-0.028711600229144096,
-0.012395191937685013,
-0.0029338430613279343,
-0.026166580617427826,
-0.0067301648668944836,
-0.024677271023392677,
0.08400452136993408,
-0.023263370618224144,
0.03372623398900032,
-0.02541249990463257,
0.020699499174952507,
-0.012310357764363289,
-0.09493868798017502,
-0.02477153204381466,
-0.005891250912100077,
0.010189507156610489,
0.019964270293712616,
-0.024036303162574768,
-0.029182899743318558,
-0.05829039216041565,
0.0456218458712101,
0.020284755155444145,
-0.010095247998833656,
0.03744007647037506,
0.007470106240361929,
-0.003209553426131606,
-0.032161515206098557,
-0.00949198380112648,
-0.03928757458925247,
-0.036082733422517776,
-0.041398998349905014,
-0.057611722499132156,
-0.03728926181793213,
-0.05516096204519272,
0.025469055399298668,
-0.037722859531641006,
-0.0005726295639760792,
0.029145196080207825,
0.019964270293712616,
-0.0568576417863369,
0.0007511344738304615,
0.0017956532537937164,
-0.007135482970625162,
-0.020284755155444145,
-0.08159147202968597,
0.004564541392028332,
0.01259313803166151,
0.003134145401418209,
0.05293642356991768,
-0.019851159304380417,
0.04524480551481247,
0.0824209600687027,
-0.08762411028146744,
-0.021774062886834145,
0.004390160087496042,
-0.021887175738811493,
0.053803615272045135,
0.11386609822511673,
0.06620823591947556,
0.014817674644291401,
-0.020718351006507874,
-0.03523439168930054,
-0.055764224380254745,
-0.029578791931271553,
0.010415731929242611,
-0.015675440430641174,
0.007474819198250771,
0.01945526711642742,
-0.027014920487999916,
-0.0268264003098011,
0.02725999616086483,
-0.045320216566324234,
0.08702084422111511,
0.033707380294799805,
-0.014855378307402134,
0.029955832287669182,
-0.015053324401378632,
0.03050254099071026,
0.00968050304800272,
-0.006734877824783325,
0.0011464373674243689,
-0.059685442596673965,
0.011867335997521877,
-0.04867587238550186,
-0.019606083631515503,
0.02190602757036686,
0.0425301194190979,
0.049354542046785355,
0.02386663481593132,
-0.03257625922560692,
-0.0710720494389534,
-0.02795751951634884,
-0.021887175738811493,
0.038684308528900146,
0.07122286409139633,
0.0596100315451622,
0.05896906554698944,
0.017419250681996346,
0.034499164670705795,
0.026392804458737373,
0.04222848638892174,
-0.023960895836353302,
-0.031841032207012177,
-0.01872003823518753,
0.021434728056192398,
-0.028994379565119743,
-0.04501858353614807,
-0.015788553282618523,
0.005217291880398989,
-0.01920076459646225,
0.05700845643877983,
-0.06896062940359116,
-0.005061762873083353,
-0.01612788811326027,
-0.00034994029556401074,
-0.012272654101252556,
-0.02196258306503296,
0.027297699823975563,
-0.058742839843034744,
0.004154510330408812,
0.02179291471838951,
-0.06586889922618866,
-0.003188344882801175,
-0.0398908369243145,
0.0654541552066803,
-0.045584142208099365,
0.03272707760334015,
0.029409123584628105,
0.034706536680459976,
-0.007861285470426083,
0.032425444573163986,
0.018625779077410698,
0.030841875821352005,
-0.04554643854498863,
0.0026180718559771776,
-0.019078226760029793,
-0.01395048201084137,
-0.030351724475622177,
0.022792071104049683,
-0.01203700341284275,
0.008836876600980759,
0.02991812862455845,
-0.044943176209926605,
-0.027429664507508278,
-0.0183429978787899,
-0.05829039216041565,
0.01500619389116764,
-0.008643642999231815,
-0.008648356422781944,
0.019323302432894707,
0.018154479563236237,
-0.0014256826834753156,
0.02030360698699951,
-0.005005206912755966,
0.005928955040872097,
-0.06183457002043724,
0.00022430937679018825,
-0.057310089468955994,
0.04656444862484932,
0.04094655066728592,
-0.000593248987570405,
-0.016674596816301346,
0.0007381737232208252,
-0.003796322038397193,
-0.001063370844349265,
-0.020322458818554878,
0.030219759792089462,
-0.048185721039772034,
0.00515602296218276,
0.04483006149530411,
0.0628148764371872,
0.004595175851136446,
0.04268093407154083,
0.041135068982839584,
0.0038410956040024757,
-0.0030516679398715496,
-0.03480079770088196,
-0.04072032496333122,
0.050146326422691345,
-0.002592150354757905,
-0.020812612026929855,
-0.06922455132007599,
-0.049882400780916214,
0.029296012595295906,
-0.005943093914538622,
-0.026637880131602287,
0.00665475707501173,
0.05455769598484039,
-0.026637880131602287,
-0.014440634287893772,
-0.01013295166194439,
-0.006767868995666504,
0.024733828380703926,
0.044943176209926605,
0.049618471413850784,
-0.036836814135313034,
0.016627466306090355,
-0.034555722028017044,
-0.03808104619383812,
0.05881824716925621,
0.01787169836461544,
-0.04999551177024841,
-0.028089484199881554,
0.04942995309829712,
0.02418711967766285,
0.00962394755333662,
0.030841875821352005,
-0.002959764562547207,
-0.07171301543712616,
0.010811623185873032,
-0.03414097800850868,
0.007927266880869865,
-0.03468768671154976,
-0.05451999232172966,
0.020454423502087593,
0.040644917637109756,
0.027505071833729744,
0.009091378189623356,
0.06262635439634323,
0.01723073050379753,
0.003339160932227969,
0.04256782308220863,
0.012875918298959732,
0.0057545737363398075,
-0.05195612087845802,
0.03659173846244812,
-0.015043898485600948,
-0.017108192667365074,
0.05591503903269768,
0.04445302113890648,
-0.024809235706925392,
-0.039061348885297775,
-0.03711959347128868,
-0.012300931848585606,
-0.06285257637500763,
0.009378871880471706,
-0.05037255212664604,
-0.01680655963718891,
0.058893658220767975,
-0.021547839045524597,
0.01601477712392807,
-0.041398998349905014,
-0.001583568286150694,
-0.004958076868206263,
0.07706698775291443,
-0.0035630285274237394,
0.002580367960035801,
-0.024319084361195564,
-0.09192236512899399,
0.01450661662966013,
0.011593981646001339,
-0.013347217813134193,
0.10059428960084915,
-0.030200907960534096,
0.019756898283958435,
-0.017315564677119255,
0.020454423502087593,
-0.031690217554569244,
-0.015081602148711681,
0.01623157411813736,
-0.008063944056630135,
-0.05357739329338074,
0.015779126435518265,
-0.002203327836468816,
0.012300931848585606,
0.0022893401328474283,
0.011339480057358742,
-0.004121519159525633,
-0.014789395965635777,
0.03875971958041191,
0.0366859957575798,
-0.09146992117166519,
0.0001022868455038406,
0.04513169452548027,
-0.004920372739434242,
-0.021774062886834145,
0.018173331394791603,
-0.0044914898462593555,
0.04554643854498863,
0.010726789943873882,
-0.023847782984375954,
-0.03845808655023575,
0.007144908886402845,
0.028032928705215454,
0.033971309661865234,
0.037835970520973206,
-0.0269395112991333,
-0.01395048201084137,
0.03340574726462364,
0.049241431057453156,
-0.052220046520233154,
0.019323302432894707,
-0.0065793488174676895,
0.005721583031117916,
-0.002044263994321227,
-0.03001238778233528,
-0.03849579021334648,
-0.015336104668676853,
-0.05436917766928673,
0.0030092508532106876,
0.01771145686507225,
-0.036195844411849976,
0.022716663777828217,
0.011867335997521877,
-0.01675943098962307,
-0.004203996621072292,
-0.0011434918269515038,
0.057724833488464355,
0.05742320045828819,
-0.040380991995334625,
0.0019853515550494194,
0.03913675621151924,
-0.02392319217324257,
-0.03604502975940704,
0.01500619389116764,
-0.005368107929825783,
0.05007091909646988,
-0.04162522405385971,
-0.021660951897501945,
0.028391117230057716,
0.005344542674720287,
0.007620922289788723,
0.04109736531972885,
-0.002272844547405839,
-0.03644092008471489,
0.02413056418299675,
0.006211734842509031,
0.06496400386095047,
-0.00011105008161393926,
-0.003574811154976487,
0.005858259741216898,
-0.07917841523885727,
-0.00914793461561203,
0.01676885597407818,
0.06884751468896866,
0.021076539531350136,
-0.005570766981691122,
-0.02927716076374054,
-0.00494393752887845,
-0.027391960844397545,
0.003515898482874036,
-0.014723414555191994,
-0.03755319118499756,
0.06451155245304108,
-0.006089197006076574,
0.035290949046611786,
0.03708188980817795,
0.006343699060380459,
0.04098425433039665,
0.011037847958505154,
0.019813455641269684,
0.026656731963157654,
-0.025714131072163582,
0.0029526948928833008,
-0.015288974158465862,
-0.00624472601339221,
0.0511266328394413,
-0.01341320015490055,
-0.002270488068461418,
0.002594506833702326,
-0.0013373139081522822,
-0.05214463919401169,
0.006758443079888821,
-0.028032928705215454,
-0.007814154960215092,
-0.00025730038760229945,
-0.030351724475622177,
-0.04392516613006592,
0.020001975819468498,
-0.012998456135392189,
-0.01908765360713005,
-0.026279691606760025,
-0.03951379656791687,
-0.058893658220767975,
0.00421577924862504,
0.06952618807554245,
-0.017485233023762703,
-0.006668895948678255,
-0.017362695187330246,
0.007239168975502253,
0.06194768100976944,
0.0003894116962328553,
-0.027561627328395844,
0.05271020159125328,
0.04222848638892174,
-0.012065282091498375,
0.020171642303466797,
0.04177603870630264,
0.004958076868206263,
0.03951379656791687,
0.08151605725288391,
0.0566314160823822,
0.01580740511417389,
0.005108892917633057,
0.01697622798383236,
-0.02965420112013817,
0.023150259628891945,
0.05859202519059181,
0.017843421548604965,
-0.02646821178495884,
-0.029409123584628105,
0.0706196054816246
]
|
37,076 | sphinx_autodoc_typehints.patches | install_patches |
Install the patches.
:param app: the Sphinx app
| def install_patches(app: Sphinx) -> None:
"""
Install the patches.
:param app: the Sphinx app
"""
fix_autodoc_typehints_for_overloaded_methods()
patch_attribute_handling(app)
_patch_google_docstring_lookup_annotation()
fix_napoleon_numpy_docstring_return_type(app)
_patch_line_numbers()
| (app: 'Sphinx') -> 'None' | [
0.018772579729557037,
-0.030492283403873444,
0.04386116564273834,
0.04740514978766441,
-0.024948231875896454,
-0.0066756694577634335,
-0.051475465297698975,
0.024316631257534027,
0.043931346386671066,
0.016237404197454453,
0.005302815232425928,
-0.08617842197418213,
0.08575735241174698,
0.028632570058107376,
-0.01350046694278717,
-0.020018236711621284,
-0.028211502358317375,
0.03838729485869408,
0.01648302748799324,
-0.007671318016946316,
0.002752288244664669,
-0.02984313853085041,
0.002478156005963683,
0.04684372618794441,
0.017983078956604004,
0.06375659257173538,
0.017351478338241577,
0.028018513694405556,
0.0479314848780632,
-0.07333587110042572,
-0.01139513123780489,
-0.035176657140254974,
0.07291480153799057,
-0.015307547524571419,
0.03624686971306801,
-0.09144175797700882,
0.049440305680036545,
0.018456779420375824,
-0.010631946846842766,
0.044422589242458344,
0.005215092562139034,
-0.002513244980946183,
0.02496577613055706,
-0.06916029006242752,
0.014026801101863384,
-0.007943257689476013,
-0.05122984200716019,
0.061756521463394165,
-0.03965049609541893,
0.031808119267225266,
-0.03614160045981407,
-0.03663284704089165,
0.06196705624461174,
0.03652758151292801,
-0.017711138352751732,
0.04315938800573349,
0.02766762487590313,
0.03908907249569893,
0.04603667929768562,
-0.011316181160509586,
0.018719946965575218,
0.03207128494977951,
0.005223865155130625,
-0.060668766498565674,
0.023421863093972206,
-0.003587843384593725,
0.018211156129837036,
-0.0007642808486707509,
0.026965845376253128,
-0.023088518530130386,
-0.06982697546482086,
-0.018930479884147644,
0.0013224141439422965,
-0.043650634586811066,
0.03405380994081497,
0.038106583058834076,
0.01217585988342762,
-0.03765042498707771,
0.042562875896692276,
-0.029264170676469803,
0.0038400450721383095,
0.04210672155022621,
-0.004179969429969788,
0.05737040564417839,
0.041054051369428635,
-0.003405819647014141,
-0.026737768203020096,
0.037264447659254074,
0.07284462451934814,
-0.009921396151185036,
0.025807911530137062,
0.03149231895804405,
0.024141186848282814,
-0.050528064370155334,
0.008202038705348969,
0.028246590867638588,
0.008500293828547001,
-0.009009083732962608,
-0.0207551047205925,
0.05442293733358383,
0.002563685178756714,
0.03117651678621769,
-0.00032046064734458923,
-0.00028098560869693756,
0.008500293828547001,
-0.03549245744943619,
-0.018877847120165825,
-0.005250181537121534,
0.015018063597381115,
0.00390802975744009,
-0.013947851024568081,
-0.06182670220732689,
0.01847432367503643,
-0.042282164096832275,
0.021772682666778564,
-0.02624652162194252,
0.012517977505922318,
-0.016325125470757484,
0.10000345855951309,
0.02786061353981495,
-0.015018063597381115,
-0.00011821954831248149,
0.015079469420015812,
0.002060378435999155,
0.0236850306391716,
-0.04505418986082077,
0.020456848666071892,
0.09235407412052155,
0.008710827678442001,
-0.07895009964704514,
-0.03463277593255043,
0.0024562254548072815,
-0.044036611914634705,
-0.01582510955631733,
0.056352827697992325,
-0.0030571233946830034,
0.02122880518436432,
-0.021018270403146744,
0.028790470212697983,
-0.061510901898145676,
-0.03482576832175255,
-0.009693318046629429,
0.02393065206706524,
-0.016746193170547485,
-0.0618617907166481,
0.017684822902083397,
-0.05361589044332504,
0.007552892901003361,
-0.03729953616857529,
-0.0011425834381952882,
0.005842307582497597,
0.0042282165959477425,
0.01220217626541853,
-0.005750198848545551,
0.0005334614543244243,
0.049054328352212906,
-0.020684925839304924,
-0.0378960482776165,
0.0635460615158081,
-0.001952918479219079,
0.0057370406575500965,
-0.04533490166068077,
0.07509031891822815,
-0.007517803926020861,
-0.02989577129483223,
0.055019449442625046,
-0.0468086376786232,
-0.07087964564561844,
-0.0010883052600547671,
0.033562563359737396,
-0.00325011252425611,
-0.006886203307658434,
0.04642266035079956,
-0.026316700503230095,
0.09031891822814941,
0.015342636033892632,
-0.005408081691712141,
0.009149439632892609,
-0.026264067739248276,
0.05747567489743233,
-0.014377690851688385,
0.02719392441213131,
-0.019790157675743103,
0.03324676305055618,
-0.013439062051475048,
0.05449311435222626,
-0.007057261653244495,
-0.0010510232532396913,
-0.022527094930410385,
-0.0071274396032094955,
0.04368572309613228,
0.0049650841392576694,
0.02159723825752735,
0.02724655717611313,
0.0038553965277969837,
-0.0065923333168029785,
0.0022292437497526407,
0.048352550715208054,
0.011921465396881104,
-0.0003980400797445327,
0.004265498369932175,
0.01715848781168461,
0.03912416100502014,
0.0663180872797966,
0.02373766340315342,
0.00038926786510273814,
0.024755243211984634,
-0.00015282875392585993,
-0.05726514011621475,
-0.032860785722732544,
0.07909045368432999,
0.003289587562903762,
0.01743042841553688,
-0.04456294700503349,
0.003153617959469557,
0.003471611300483346,
0.07119544595479965,
0.004561561159789562,
-0.06221267953515053,
-0.0117021594196558,
-0.062282856553792953,
0.017228666692972183,
-0.032001107931137085,
-0.007421309594064951,
-0.01125477533787489,
0.00803097989410162,
0.011412675492465496,
0.013351338915526867,
0.09775777161121368,
-0.030755450949072838,
-0.02933434769511223,
0.0016590486047789454,
-0.0036010018084198236,
-0.03056246042251587,
-0.0032413401640951633,
-0.014430323615670204,
0.0019496289314702153,
0.04333483427762985,
0.002732550725340843,
0.021000726148486137,
0.006627422291785479,
0.016263721510767937,
0.025597376748919487,
0.020158592611551285,
-0.04758059233427048,
-0.0012763600097969174,
0.03156249597668648,
-0.061616167426109314,
0.05912485346198082,
-0.0005096119130030274,
-0.0042501469142735004,
-0.00959682371467352,
0.03165021911263466,
0.06070385500788689,
-0.012360076420009136,
0.0034299432300031185,
0.02407100796699524,
0.04084352031350136,
0.016140909865498543,
-0.04694899171590805,
-0.015070697292685509,
0.059756454080343246,
0.021158626303076744,
0.03065018355846405,
-0.024334175512194633,
-0.004772095009684563,
0.018351512029767036,
-0.014702263288199902,
-0.06873922049999237,
0.07070419937372208,
0.05456329137086868,
0.04866835102438927,
0.0036470559425652027,
0.02738691307604313,
0.008627492003142834,
0.018070800229907036,
0.0038553965277969837,
0.029772959649562836,
0.02549211122095585,
0.007202003616839647,
0.05772129446268082,
-0.05168600007891655,
0.012982905842363834,
0.0629846379160881,
0.019632257521152496,
-0.06533559411764145,
-0.024562252685427666,
0.11621455103158951,
-0.045405078679323196,
-0.03458014503121376,
0.03993120789527893,
0.028036057949066162,
0.033229220658540726,
0.007206389680504799,
0.015553169883787632,
0.06891466677188873,
-0.022211294621229172,
0.04803675040602684,
-0.0005921257543377578,
-0.08603806793689728,
0.0004334031546022743,
0.02766762487590313,
0.011219686828553677,
0.00812747422605753,
0.04800166189670563,
-0.0364924892783165,
0.013632050715386868,
-0.02989577129483223,
-0.019316457211971283,
-0.01667601615190506,
-0.00628969119861722,
-0.02752726897597313,
-0.02250955067574978,
-0.01404434535652399,
-0.041510209441185,
-0.03775569424033165,
0.004574719816446304,
0.009386289864778519,
-0.007776584941893816,
0.0017215508269146085,
-0.0043466417118906975,
0.0036646004300564528,
0.032860785722732544,
-0.05389660224318504,
0.03336957469582558,
-0.00035472717718221247,
0.05996698886156082,
-0.01305308286100626,
-0.021579694002866745,
-0.03277306258678436,
-0.003824693849310279,
0.005289656575769186,
0.03184320777654648,
0.015719842165708542,
-0.007952029816806316,
-0.039053983986377716,
0.01671987771987915,
-0.08280988037586212,
-0.05565105006098747,
-0.008693283423781395,
0.01276359986513853,
0.024456987157464027,
-0.008583630435168743,
0.013421516865491867,
0.04249269887804985,
-0.00021807223674841225,
-0.009675773791968822,
0.0013849163660779595,
-0.01733393408358097,
-0.018684856593608856,
0.08716090768575668,
-0.06252847611904144,
-0.08421344310045242,
0.022702539339661598,
0.01715848781168461,
-0.016333898529410362,
-0.016833916306495667,
-0.039580315351486206,
0.01007052417844534,
-0.058809053152799606,
-0.07473942637443542,
0.021000726148486137,
0.03758024796843529,
0.0010471853893250227,
-0.04108913987874985,
0.016333898529410362,
-0.0005981566500850022,
0.0238253865391016,
-0.053229913115501404,
-0.012772371992468834,
-0.002954049501568079,
0.008570471778512001,
0.0034672252368181944,
-0.03543982282280922,
-0.013316250406205654,
-0.03136950731277466,
-0.0025680712424218655,
-0.0019134434405714273,
-0.09803847968578339,
0.02694830112159252,
0.03168530762195587,
-0.008131860755383968,
0.0009578182362020016,
-0.03894871473312378,
0.034948576241731644,
-0.07902027666568756,
-0.006837956141680479,
-0.0028312383219599724,
-0.009368745610117912,
-0.01644793711602688,
0.03084317222237587,
-0.027158834040164948,
-0.008517839014530182,
-0.0014386462280526757,
-0.06912519782781601,
-0.03670302405953407,
0.019386636093258858,
0.0054387846030294895,
-0.016140909865498543,
-0.004561561159789562,
0.016693560406565666,
-0.0604582317173481,
0.028737837448716164,
0.0014638664433732629,
0.038773272186517715,
0.08042383939027786,
-0.02757990173995495,
-0.022193750366568565,
0.0005203030887059867,
0.06863395124673843,
-0.06568648666143417,
0.04898415133357048,
-0.005627387668937445,
0.016456710174679756,
0.035597722977399826,
-0.015570714138448238,
0.000917794939596206,
-0.014912797138094902,
0.004320324864238501,
-0.017254984006285667,
0.02098318189382553,
0.0025746505707502365,
0.04466821253299713,
0.12217966467142105,
0.031229151412844658,
0.003491348819807172,
0.015886515378952026,
0.0006135080475360155,
-0.07158142328262329,
0.05670371651649475,
-0.0032566916197538376,
0.01582510955631733,
-0.03993120789527893,
0.004272077698260546,
-0.042948853224515915,
-0.06070385500788689,
-0.013342566788196564,
-0.02805360220372677,
-0.029772959649562836,
-0.04070316255092621,
0.009842446073889732,
-0.015842653810977936,
0.08372219651937485,
-0.026071077212691307,
0.030264204367995262,
0.004697530996054411,
0.022299017757177353,
-0.0002946922031696886,
-0.02728164568543434,
-0.02772025763988495,
-0.023246418684720993,
0.03491348773241043,
0.034176621586084366,
0.035597722977399826,
-0.020105959847569466,
-0.01757955551147461,
-0.024614887312054634,
-0.0468086376786232,
-0.012632016092538834,
0.0234043188393116,
0.019965603947639465,
0.004355413839221001,
0.002025289461016655,
-0.02519385516643524,
0.0051185982301831245,
-0.0018377829110249877,
0.006754619535058737,
-0.03880836069583893,
-0.06572157144546509,
-0.015658436343073845,
0.08617842197418213,
-0.07937116920948029,
0.08491522073745728,
-0.020544569939374924,
-0.010228424333035946,
0.007780971005558968,
-0.053089555352926254,
-0.009807356633245945,
0.022562183439731598,
-0.0257728211581707,
-0.04940521717071533,
0.0016129944706335664,
0.01847432367503643,
0.028790470212697983,
0.010526680387556553,
-0.04154529795050621,
0.012675877660512924,
-0.08512575179338455,
-0.05361589044332504,
-0.01255306601524353,
0.009324884042143822,
-0.01667601615190506,
-0.012281126342713833,
0.026544777676463127,
0.044176965951919556,
0.02629915624856949,
0.05245795473456383,
0.023842930793762207,
0.004212865140289068,
-0.012474115937948227,
-0.019211191684007645,
-0.03452751040458679,
-0.025404388085007668,
0.0257728211581707,
0.045264724642038345,
-0.0682830661535263,
-0.005908099003136158,
0.0177637729793787,
-0.0024189434479922056,
0.009561734274029732,
-0.05084386467933655,
-0.03884344920516014,
0.015983009710907936,
0.009745951741933823,
0.051370199769735336,
-0.02193058282136917,
-0.027439545840024948,
-0.02491314336657524,
0.004851045086979866,
0.03421171009540558,
0.011614437215030193,
-0.0029123814310878515,
0.0325976200401783,
-0.04880870506167412,
0.042141810059547424,
-0.020334037020802498,
0.05021226406097412,
0.027123745530843735,
0.03712409362196922,
0.0036360907834023237,
0.03543982282280922,
0.02112353779375553,
0.0015417200047522783,
-0.012842549942433834,
0.003480383660644293,
0.01094774715602398,
0.01729007251560688,
-0.005824762862175703,
0.07158142328262329,
0.01094774715602398,
-0.019404180347919464,
0.035790711641311646,
0.03310640901327133,
-0.03003612719476223,
0.009228389710187912,
0.001889319741167128,
-0.02331659570336342,
-0.06424783915281296,
-0.02226392924785614,
-0.01771991141140461,
-0.04014173895120621,
0.011447764933109283,
0.002272008452564478,
0.09937185794115067,
-0.05144037678837776,
-0.030264204367995262,
0.03207128494977951,
-0.005859851837158203,
0.019877880811691284,
-0.002800535410642624,
-0.019404180347919464,
-0.03386082127690315,
0.025650011375546455,
-0.03708900138735771,
-0.038492560386657715,
0.05477382615208626,
0.00009354764188174158,
0.014658401720225811,
-0.08624859899282455,
-0.03866800665855408,
-0.011781109496951103,
0.01606195978820324,
0.022299017757177353,
-0.008232740685343742,
-0.030106304213404655,
-0.0118425153195858,
-0.01786026731133461,
-0.025404388085007668,
-0.05263340100646019,
-0.09965257346630096,
-0.03556263446807861,
0.0035746851935982704,
-0.04954557493329048,
-0.0373346246778965,
0.03368537500500679,
-0.03954522684216499,
0.029720326885581017,
0.053089555352926254,
-0.013447834178805351,
-0.051861442625522614,
-0.08407308161258698,
-0.029053637757897377,
0.026316700503230095,
-0.09116104990243912,
-0.03189584240317345,
0.0637916848063469,
-0.10323164612054825,
-0.03708900138735771,
0.02984313853085041,
0.01179865375161171,
-0.01629003696143627,
0.016193542629480362,
-0.013175894506275654,
-0.08765215426683426,
-0.021755138412117958,
-0.006250216159969568,
-0.003458453109487891,
0.005969504825770855,
0.0028816787526011467,
0.01629881002008915,
-0.020807737484574318,
0.04898415133357048,
0.048633262515068054,
-0.013763634487986565,
-0.05361589044332504,
-0.01800062321126461,
-0.011219686828553677,
0.006627422291785479,
0.06624791026115417,
-0.03194847330451012,
-0.006162493955343962,
-0.024316631257534027,
0.036457400768995285,
-0.024667520076036453,
-0.009509100578725338,
0.007903782650828362,
-0.022895529866218567,
-0.025071043521165848,
-0.0378960482776165,
-0.008377483114600182,
0.036983735859394073,
-0.02429908700287342,
0.06200214475393295,
-0.001409039949066937,
0.024895599111914635,
-0.005846693646162748,
-0.027018478140234947,
-0.04165056347846985,
-0.02387801930308342,
0.028825558722019196,
0.03401872143149376,
-0.05105439946055412,
0.011974098160862923,
0.013307478278875351,
-0.02482542023062706,
0.026965845376253128,
-0.06607246398925781,
-0.04561561346054077,
0.014272423461079597,
0.0018520377343520522,
0.004715075250715017,
-0.014053117483854294,
-0.06698477268218994,
0.009544190019369125,
-0.005210706498473883,
0.08168704062700272,
-0.047685861587524414,
-0.033422209322452545,
-0.022860439494252205,
0.005837921518832445,
-0.009728406555950642,
-0.007013400550931692,
0.030913351103663445,
-0.028106234967708588,
-0.0015395269729197025,
0.023649942129850388,
0.02847466990351677,
-0.03975576162338257,
0.06919537484645844,
0.041720740497112274,
0.021527061238884926,
0.05221233144402504,
-0.018123434856534004,
0.016237404197454453,
0.06617772579193115,
0.007842376828193665,
-0.019211191684007645,
0.03856273740530014,
0.0008487135637551546,
0.005842307582497597,
-0.06477417051792145,
0.0039299605414271355,
-0.014272423461079597,
-0.007215161807835102,
-0.038632914423942566,
0.008820480667054653,
0.0229832511395216,
0.072984978556633,
0.0030746678821742535,
0.008390640839934349,
-0.009956484660506248,
0.043896254152059555,
0.0206147488206625,
0.022088482975959778,
0.014789985492825508,
-0.03421171009540558,
-0.02008841373026371,
-0.07228320091962814,
0.031439684331417084,
-0.03582580015063286,
0.06144072115421295,
0.034457333385944366,
-0.03628195822238922,
0.003026420483365655,
-0.004491383675485849,
0.0076055265963077545,
-0.05747567489743233,
-0.0206147488206625,
-0.1148109883069992,
0.0025505267549306154,
-0.02250955067574978,
0.046878814697265625,
0.03056246042251587,
-0.05586158111691475,
0.0635460615158081,
-0.05747567489743233,
0.038913626223802567,
-0.04035227373242378,
0.005228251218795776,
0.022158661857247353,
-0.020632293075323105,
0.04614194855093956,
0.028597481548786163,
-0.0016513729933649302,
0.02738691307604313,
-0.02170250564813614,
-0.061089832335710526,
-0.03182566165924072,
-0.023088518530130386,
0.010465274564921856,
0.01210568193346262,
-0.04586123675107956,
-0.00323256803676486,
-0.01781640574336052,
-0.012017959728837013,
-0.0029101883992552757,
0.0011316181626170874,
-0.0023838544730097055,
-0.0241060983389616,
-0.05059824138879776,
-0.019070835784077644,
-0.0349661223590374,
-0.074107825756073,
0.018369056284427643,
-0.015947921201586723,
-0.0014287774683907628,
0.04259796440601349,
-0.0025746505707502365,
-0.019070835784077644,
0.016693560406565666,
0.05723005160689354,
0.04901923984289169,
-0.013561872765421867,
-0.00869766902178526,
0.06284428387880325,
0.009070489555597305,
0.05354571342468262,
0.020544569939374924,
0.03201865032315254,
-0.015430358238518238,
0.018123434856534004,
-0.011140736751258373,
-0.022684995085000992,
0.021474426612257957,
0.009140667505562305,
-0.01582510955631733,
-0.03505384549498558,
0.015263685956597328
]
|
37,077 | sphinx_autodoc_typehints | load_args | null | def load_args(obj_ast: FunctionDef) -> list[Any]:
func_args = obj_ast.args
args = []
pos_only = getattr(func_args, "posonlyargs", None)
if pos_only:
args.extend(pos_only)
args.extend(func_args.args)
if func_args.vararg:
args.append(func_args.vararg)
args.extend(func_args.kwonlyargs)
if func_args.kwarg:
args.append(func_args.kwarg)
return args
| (obj_ast: 'FunctionDef') -> 'list[Any]' | [
-0.044314414262771606,
-0.005678713787347078,
0.002888150978833437,
-0.023551326245069504,
0.004609888885170221,
0.04985371604561806,
0.048143595457077026,
-0.013030370697379112,
0.02172967605292797,
-0.010939191095530987,
0.0029578569810837507,
-0.046879593282938004,
-0.06115537881851196,
-0.036191344261169434,
-0.061304084956645966,
0.0206887349486351,
-0.003617740236222744,
0.048664066940546036,
-0.0021051205694675446,
0.04026217386126518,
-0.02910921722650528,
-0.0054835369810462,
-0.06334879249334335,
-0.029685452580451965,
0.00928018894046545,
0.00523259537294507,
0.042009469121694565,
-0.010093425400555134,
0.04847818240523338,
-0.0024908268824219704,
0.003982535097748041,
-0.016943199560046196,
-0.003506210632622242,
0.018132848665118217,
-0.031321220099925995,
-0.054054662585258484,
0.03178592771291733,
0.02444356307387352,
-0.005641537252813578,
-0.05621090158820152,
0.005446360446512699,
-0.01897861436009407,
0.019052967429161072,
0.009777424857020378,
-0.007337715942412615,
-0.03803158178925514,
0.017314964905381203,
-0.05981702357530594,
-0.02935086376965046,
-0.025967800989747047,
0.05041136220097542,
-0.030875101685523987,
0.037864286452531815,
-0.00005874180715181865,
0.005590419284999371,
0.03799440339207649,
-0.01671084575355053,
0.04450029507279396,
0.01030719093978405,
0.027919568121433258,
0.046359121799468994,
0.018960025161504745,
0.02093038149178028,
-0.024071797728538513,
0.04174923524260521,
-0.014526725746691227,
-0.05561607703566551,
0.006087655201554298,
-0.04174923524260521,
-0.02507556416094303,
-0.08491117507219315,
0.0007568907458335161,
0.014526725746691227,
-0.003754828590899706,
0.0005178573192097247,
-0.03468569368124008,
-0.03593110665678978,
0.025744741782546043,
-0.007105362601578236,
0.014350137673318386,
-0.06662032753229141,
-0.009972602128982544,
-0.06483585387468338,
0.07442739605903625,
0.020465675741434097,
-0.012249663472175598,
-0.059593964368104935,
-0.03002004139125347,
0.022677678614854813,
0.010167778469622135,
-0.06494738161563873,
0.018030613660812378,
-0.02739909663796425,
0.02990851178765297,
-0.028923334553837776,
-0.010279308073222637,
0.009591542184352875,
-0.015010020695626736,
-0.00047458152403123677,
0.007472480647265911,
0.0045425062999129295,
-0.04249276593327522,
-0.01409919559955597,
0.02959251031279564,
0.03137698397040367,
-0.010902014560997486,
0.0005259896861389279,
-0.042567119002342224,
0.029090628027915955,
0.04669371247291565,
0.013690253719687462,
-0.001696178806014359,
0.07208527624607086,
0.02695297822356224,
0.0010513984598219395,
-0.03963017091155052,
-0.00860171765089035,
0.0010357146384194493,
0.006217773072421551,
-0.011338839307427406,
0.058961961418390274,
0.020837441086769104,
0.028458626940846443,
0.020428499206900597,
0.05319960415363312,
0.06855350732803345,
-0.014275784604251385,
0.008894482627511024,
-0.0157721396535635,
-0.008638894185423851,
0.06825609505176544,
-0.03760405257344246,
-0.08848012238740921,
-0.02117202989757061,
-0.012695781886577606,
-0.061229731887578964,
0.05669419467449188,
-0.009085012599825859,
-0.011227309703826904,
-0.10543261468410492,
0.002361870836466551,
0.011812839657068253,
0.03581957891583443,
0.0003729269956238568,
-0.11301662772893906,
-0.007221539504826069,
0.02548450604081154,
-0.031005218625068665,
-0.004967712797224522,
0.014331549406051636,
0.01985226199030876,
0.027176037430763245,
-0.09100812673568726,
-0.024332033470273018,
-0.03217627853155136,
-0.04063393920660019,
-0.02823556773364544,
-0.0876622349023819,
0.01286307629197836,
-0.0232539139688015,
-0.08097046613693237,
0.012491310946643353,
-0.03202757239341736,
-0.07520810514688492,
0.05111771821975708,
-0.02448073960840702,
0.09249518811702728,
-0.028012508526444435,
-0.07245703786611557,
0.04658218100667,
-0.008708599954843521,
-0.04769747704267502,
0.047028299421072006,
0.059668317437171936,
0.0520843081176281,
0.03197180852293968,
-0.0768066942691803,
0.006673185620456934,
0.003513181349262595,
-0.005952890496701002,
-0.011422486044466496,
-0.013262724503874779,
-0.005009536165744066,
-0.04275299981236458,
0.05334831029176712,
0.02416473813354969,
-0.03070780634880066,
0.04487206041812897,
-0.010214249603450298,
-0.04888712614774704,
-0.027008742094039917,
0.002370003145188093,
0.026860035955905914,
0.009391718544065952,
-0.05925937369465828,
0.014378019608557224,
-0.09137988835573196,
0.046879593282938004,
-0.04063393920660019,
-0.033719103783369064,
0.02256614901125431,
-0.04669371247291565,
0.018290849402546883,
-0.04334782436490059,
-0.011599075049161911,
0.03847770020365715,
-0.023755798116326332,
0.015418962575495243,
-0.019647791981697083,
-0.012054487131536007,
0.02775227278470993,
-0.0412287637591362,
0.04297605901956558,
-0.02436921000480652,
0.014963549561798573,
0.017993437126278877,
0.01487060822546482,
-0.0020598117262125015,
0.0077652460895478725,
-0.0027487389743328094,
0.06048620119690895,
-0.010242131538689137,
-0.0358753427863121,
-0.00976813118904829,
0.04554123803973198,
-0.009001364931464195,
0.009600836783647537,
-0.030243100598454475,
-0.009322012774646282,
-0.006501244381070137,
-0.024034621194005013,
-0.03304992616176605,
-0.0011577000841498375,
-0.01290025282651186,
0.031916044652462006,
0.061713024973869324,
0.07740151882171631,
-0.029852746054530144,
0.06312573701143265,
-0.03652593120932579,
-0.023737208917737007,
0.01800272986292839,
-0.04182358831167221,
0.022101441398262978,
-0.00734701007604599,
0.05160101130604744,
0.03067062981426716,
-0.005269771907478571,
-0.02396026812493801,
-0.019387556239962578,
-0.00798830483108759,
0.051898423582315445,
-0.0023525767028331757,
0.023774385452270508,
-0.0495191253721714,
0.006900891661643982,
0.01698967069387436,
0.004419358912855387,
-0.029295099899172783,
-0.03332875296473503,
0.05885043367743492,
-0.036191344261169434,
-0.001943635055795312,
0.06963162124156952,
0.03022451139986515,
0.01754731871187687,
0.027733685448765755,
-0.02659980207681656,
-0.06639726459980011,
0.025670388713479042,
0.10691967606544495,
-0.043608058243989944,
-0.0021829588804394007,
0.045318178832530975,
0.023216737434267998,
0.02277061901986599,
-0.02124638296663761,
0.010762603022158146,
0.022640502080321312,
0.047585949301719666,
0.04606170952320099,
-0.013727430254220963,
-0.04572712257504463,
0.0035457108169794083,
0.019387556239962578,
-0.019331790506839752,
-0.00048416611389257014,
-0.02583768218755722,
-0.016283316537737846,
0.007565421983599663,
0.04717700555920601,
0.04676806554198265,
0.05394313111901283,
-0.04725135862827301,
0.04542971029877663,
0.07245703786611557,
0.0036688579712063074,
-0.003738563973456621,
0.02252897247672081,
0.00919189490377903,
0.05383160337805748,
-0.03496451675891876,
0.0032506221905350685,
-0.034592755138874054,
0.040410879999399185,
-0.020986147224903107,
0.010892720893025398,
0.0247223861515522,
-0.04725135862827301,
-0.022082854062318802,
-0.000580592721235007,
-0.016487786546349525,
-0.0030624158680438995,
-0.03397934138774872,
-0.018151436001062393,
0.013680960051715374,
-0.018151436001062393,
-0.020595792680978775,
0.01347648911178112,
0.0025860918685793877,
-0.04331064596772194,
-0.015651315450668335,
0.05056006833910942,
-0.021264970302581787,
0.06264244019985199,
0.04003911465406418,
-0.00557183101773262,
-0.03011298179626465,
0.04557841643691063,
-0.004661006387323141,
-0.01738002337515354,
-0.0036758286878466606,
-0.028384273871779442,
0.03896099328994751,
0.03533628210425377,
0.056768547743558884,
-0.04230688139796257,
0.060151610523462296,
-0.04003911465406418,
-0.03721369802951813,
-0.013653077185153961,
-0.019554849714040756,
0.003527122549712658,
0.06829327344894409,
-0.024424973875284195,
-0.01354154758155346,
0.02712027169764042,
0.02643250674009323,
0.07275445014238358,
-0.025447329506278038,
-0.008954894728958607,
-0.045838650315999985,
-0.028421450406312943,
0.004121946636587381,
0.014666138216853142,
0.05256760120391846,
-0.00987036619335413,
0.011468957178294659,
0.022826384752988815,
-0.05044854059815407,
0.06613703072071075,
-0.05372007191181183,
-0.028737451881170273,
-0.03955581784248352,
0.03449981287121773,
0.02093038149178028,
0.054686661809682846,
-0.04658218100667,
0.028328510001301765,
0.019387556239962578,
-0.01702684722840786,
-0.0014080607797950506,
0.03381204605102539,
-0.05591348931193352,
-0.014220019802451134,
-0.07156480103731155,
-0.012463429011404514,
-0.017212729901075363,
-0.06520761549472809,
0.031618632376194,
-0.029852746054530144,
-0.003761799307540059,
0.06424102932214737,
-0.023030854761600494,
-0.036544520407915115,
-0.0025860918685793877,
-0.0577351376414299,
-0.0018030613427981734,
0.006561656016856432,
0.0492217130959034,
0.00928018894046545,
-0.013383547775447369,
-0.02663697861135006,
0.00451694754883647,
0.0026906507555395365,
-0.04457464814186096,
0.04383111745119095,
0.03552216663956642,
-0.02607933059334755,
-0.017175553366541862,
0.01399696059525013,
-0.02304944396018982,
-0.0246108565479517,
0.003961623180657625,
0.002383944345638156,
0.019908027723431587,
-0.013699548318982124,
0.03449981287121773,
0.004205593839287758,
0.031804513186216354,
0.058515846729278564,
-0.010836956091225147,
0.030057217925786972,
0.00867142342031002,
0.02145085297524929,
0.029257923364639282,
-0.0233282670378685,
0.07628621906042099,
-0.009647306986153126,
-0.0687393918633461,
0.05126642435789108,
-0.017854023724794388,
-0.01293742936104536,
0.03208333998918533,
0.019945204257965088,
0.03687911108136177,
-0.00800689309835434,
-0.02423909120261669,
0.014164255000650883,
-0.019610615447163582,
-0.03907252475619316,
0.046359121799468994,
-0.013151194900274277,
-0.023216737434267998,
-0.01527025643736124,
-0.002548915334045887,
-0.002597709419205785,
0.004651712253689766,
0.04055958613753319,
0.0577351376414299,
-0.0232539139688015,
0.05119207128882408,
0.032715339213609695,
0.023030854761600494,
-0.04230688139796257,
-0.009438189677894115,
-0.044723354279994965,
0.06412950158119202,
0.021543793380260468,
-0.01942473277449608,
-0.018402379006147385,
0.004939830396324396,
0.0630142018198967,
-0.007672304753214121,
-0.020075321197509766,
-0.01411778386682272,
-0.017528729513287544,
0.00169734051451087,
-0.03269675001502037,
0.004939830396324396,
0.05122924596071243,
-0.01782614178955555,
-0.0015184285584837198,
-0.07126738876104355,
0.02124638296663761,
0.02764074318110943,
0.043682411313056946,
0.0012500605080276728,
-0.03507604822516441,
-0.005372007377445698,
0.05498407408595085,
-0.0028137979097664356,
-0.004884065594524145,
-0.07621186971664429,
0.08736482262611389,
0.054612308740615845,
0.026506859809160233,
-0.018365202471613884,
-0.009703071787953377,
-0.010112013667821884,
0.010214249603450298,
-0.06658314913511276,
0.03778993338346481,
0.03645157814025879,
-0.036228518933057785,
0.008773659355938435,
0.000018533803086029366,
-0.035466402769088745,
-0.05654548853635788,
-0.010827661491930485,
-0.014582490548491478,
0.008137010969221592,
0.006333949975669384,
-0.008341481909155846,
0.06658314913511276,
-0.013030370697379112,
-0.0005477727972902358,
0.023755798116326332,
0.004737683106213808,
0.024462150409817696,
-0.04163770377635956,
0.03297557309269905,
-0.017575200647115707,
0.025261446833610535,
-0.020484263077378273,
-0.01329990103840828,
0.017872612923383713,
0.0001575645583216101,
-0.044834885746240616,
-0.024090386927127838,
-0.0358009897172451,
0.05714031308889389,
0.00106011179741472,
0.03637722507119179,
0.026135094463825226,
-0.018950732424855232,
0.036340050399303436,
0.08022693544626236,
0.009498600848019123,
0.023904504254460335,
0.01668296381831169,
-0.006371126510202885,
0.00305544538423419,
-0.059556785970926285,
0.0495191253721714,
-0.015344609506428242,
-0.05595066398382187,
0.011896487325429916,
0.034276753664016724,
-0.012138133868575096,
0.03645157814025879,
-0.016552846878767014,
0.015437550842761993,
-0.02022402733564377,
-0.012212486937642097,
0.04241841286420822,
0.03054051287472248,
0.00039964760071597993,
0.03721369802951813,
0.039295583963394165,
0.0063618323765695095,
0.05490972101688385,
-0.02392309159040451,
0.09398224949836731,
-0.016831669956445694,
0.009535777382552624,
-0.036265697330236435,
0.01102283876389265,
-0.05267913267016411,
0.024982621893286705,
0.01806779019534588,
-0.014582490548491478,
-0.009963307529687881,
0.06985468417406082,
-0.018997201696038246,
-0.07494787126779556,
0.0033226516097784042,
-0.04684241861104965,
-0.053534191101789474,
0.0022840325254946947,
0.027826625853776932,
-0.02563321217894554,
-0.03280828148126602,
0.0172034353017807,
-0.08416764438152313,
0.01636696420609951,
0.008457658812403679,
0.04353370517492294,
-0.05951961129903793,
0.03963017091155052,
-0.024387797340750694,
-0.011060015298426151,
0.0009206997929140925,
-0.009164012968540192,
0.0043542999774217606,
-0.005251183640211821,
-0.009916837327182293,
-0.028718862682580948,
0.017314964905381203,
-0.0438682958483696,
0.06877656280994415,
-0.021302146837115288,
-0.027900978922843933,
-0.03189745545387268,
0.007086774334311485,
0.06219632178544998,
0.028384273871779442,
0.029202157631516457,
0.052976544946432114,
-0.03561510890722275,
-0.0028277391102164984,
0.06494738161563873,
0.023830151185393333,
0.003348210360854864,
-0.0035480342339724302,
-0.04238123446702957,
0.003385386895388365,
0.038105934858322144,
-0.04513229802250862,
-0.06334879249334335,
-0.03479722514748573,
-0.011441074311733246,
0.05152665823698044,
-0.012732958421111107,
-0.035150401294231415,
0.01730567030608654,
0.014582490548491478,
-0.008810835890471935,
0.00004334840559749864,
0.06509608775377274,
0.00492588896304369,
-0.05881325900554657,
0.02559603564441204,
-0.04490923881530762,
0.0026650920044630766,
0.024387797340750694,
-0.018188612535595894,
0.04282735288143158,
0.08580341190099716,
0.031395573168992996,
-0.010892720893025398,
-0.00846230611205101,
0.011394604109227657,
-0.010706838220357895,
-0.02691580168902874,
-0.020763088017702103,
-0.02269626595079899,
-0.01957343891263008,
-0.011831427924335003,
-0.016980376094579697,
0.015437550842761993,
-0.06721515208482742,
0.07955775409936905,
-0.04249276593327522,
-0.014972844161093235,
-0.042604293674230576,
-0.010130601935088634,
-0.0575120784342289,
-0.0413774698972702,
0.0028347098268568516,
0.0065848915837705135,
-0.016413433477282524,
-0.05212148278951645,
0.009387071244418621,
0.01397837232798338,
0.012807311490178108,
-0.07509656995534897,
-0.019833674654364586,
0.05925937369465828,
0.0004449565021786839,
0.055169958621263504,
0.03743675723671913,
-0.019908027723431587,
0.0631629079580307,
-0.036191344261169434,
0.030949454754590988,
-0.051415130496025085,
-0.029053451493382454,
0.07074692100286484,
-0.01166413351893425,
0.0007836113800294697,
-0.005176830571144819,
0.008676070719957352,
0.016580728814005852,
-0.0233282670378685,
-0.02907204069197178,
-0.0493704192340374,
0.02751062624156475,
0.07026362419128418,
-0.010112013667821884,
-0.03576381504535675,
0.02165532298386097,
0.02632097713649273,
0.06929703801870346,
-0.008090540766716003,
0.009600836783647537,
-0.005000242032110691,
0.03676757961511612,
-0.00671965628862381,
-0.020316969603300095,
-0.04509511962532997,
-0.06267961859703064,
0.011171544902026653,
-0.040336526930332184,
-0.04989089071750641,
0.044165708124637604,
-0.019108731299638748,
0.054723840206861496,
0.06100667268037796,
0.004695859272032976,
0.006761479657143354,
-0.004196299705654383,
0.06840480118989944,
-0.02225014753639698,
0.036024048924446106,
-0.039258405566215515,
-0.013364959508180618,
0.004268329590559006,
0.05427772179245949,
0.018894966691732407,
-0.00848089437931776,
0.020149674266576767,
-0.049667831510305405,
0.01834661327302456,
0.01591155119240284,
-0.042529940605163574,
0.0020423850510269403,
0.012444840744137764,
-0.03747393563389778,
0.04632194712758064,
-0.018681202083826065,
-0.009963307529687881,
-0.007965070195496082,
-0.016840964555740356,
0.022194383665919304,
-0.023978857323527336,
0.05067159980535507,
0.036544520407915115,
-0.03122827783226967,
-0.03199039772152901,
0.002486179815605283,
0.014350137673318386,
0.038737934082746506,
0.04241841286420822,
0.07282880693674088,
-0.01644131727516651,
-0.0015567668015137315,
0.016339080408215523,
0.011757074855268002,
-0.046396300196647644,
0.015790726989507675,
-0.015418962575495243,
0.03238074854016304,
-0.02987133525311947,
-0.015530492179095745,
0.015205197036266327,
0.028607333078980446,
-0.013411429710686207,
-0.08082175999879837,
-0.012667899951338768,
0.02743627317249775,
0.02966686338186264,
0.0005294749862514436,
0.07368386536836624,
0.05063442140817642,
-0.035392049700021744,
-0.013931901194155216,
-0.044128529727458954,
0.030373217537999153,
-0.021525206044316292,
0.0008132364018820226,
0.10134319961071014,
0.007509657181799412,
-0.028402863070368767,
0.0026186213362962008,
0.006566303316503763,
0.020874617621302605,
-0.03637722507119179,
-0.016831669956445694,
-0.0823088213801384,
-0.09390789270401001,
-0.03342169150710106,
-0.08996718376874924,
0.009898249059915543,
0.08684435486793518,
-0.025056974962353706,
-0.007663010619580746,
-0.027584979310631752
]
|
37,080 | sphinx_autodoc_typehints | node_line_no |
Get the 1-indexed line on which the node starts if possible. If not, return None.
Descend through the first children until we locate one with a line number or return None if None of them have one.
I'm not aware of any rst on which this returns None, to find out would require a more detailed analysis of the
docutils rst parser source code. An example where the node doesn't have a line number but the first child does is
all `definition_list` nodes. It seems like bullet_list and option_list get line numbers, but enum_list also doesn't.
| def node_line_no(node: Node) -> int | None:
"""
Get the 1-indexed line on which the node starts if possible. If not, return None.
Descend through the first children until we locate one with a line number or return None if None of them have one.
I'm not aware of any rst on which this returns None, to find out would require a more detailed analysis of the
docutils rst parser source code. An example where the node doesn't have a line number but the first child does is
all `definition_list` nodes. It seems like bullet_list and option_list get line numbers, but enum_list also doesn't.
"""
if node is None:
return None
while node.line is None and node.children:
node = node.children[0]
return node.line
| (node: 'Node') -> 'int | None' | [
-0.027486300095915794,
0.010568251833319664,
0.05065686255693436,
0.0742872953414917,
-0.02472705766558647,
0.019880695268511772,
0.04029201343655586,
0.0749240443110466,
0.016564298421144485,
-0.03344697132706642,
-0.012708433903753757,
-0.025045430287718773,
-0.006500138435512781,
-0.008547460660338402,
0.03933689370751381,
0.010064159519970417,
-0.001737792044878006,
0.003336295485496521,
-0.008361742831766605,
0.02545224316418171,
-0.009436255320906639,
0.07796628773212433,
0.03337622061371803,
-0.03560483828186989,
-0.05504334717988968,
0.013548587448894978,
0.025982866063714027,
-0.0037519505713135004,
-0.017024172469973564,
-0.05224873125553131,
-0.008061056025326252,
-0.01943850889801979,
-0.04061038792133331,
-0.019491571933031082,
0.0038204893935471773,
0.024886244907975197,
-0.019226260483264923,
0.033482346683740616,
-0.08341401815414429,
-0.016838453710079193,
-0.012177810072898865,
0.0028123047668486834,
0.020765068009495735,
-0.012602308765053749,
-0.05981896072626114,
-0.008321945555508137,
0.030263230204582214,
-0.02538149245083332,
-0.03993826359510422,
-0.025010056793689728,
0.006827356293797493,
0.017280640080571175,
-0.001617296366021037,
-0.03418984264135361,
-0.047190118581056595,
0.014733646996319294,
-0.015317332930862904,
-0.05083373561501503,
-0.03643615171313286,
0.060809459537267685,
-0.013035651296377182,
0.06293195486068726,
-0.05355760455131531,
-0.00124696537386626,
0.05536172166466713,
-0.009515848942101002,
0.07810778170824051,
0.013805055990815163,
-0.01171793695539236,
-0.01924394629895687,
-0.02241000160574913,
0.027981547638773918,
-0.00800357200205326,
0.04138863459229469,
0.06187070533633232,
-0.029078170657157898,
-0.009701566770672798,
0.0730137974023819,
0.08157452940940857,
0.05065686255693436,
-0.002549204044044018,
0.08242352306842804,
0.019491571933031082,
0.001427156268619001,
0.03365921974182129,
-0.025735242292284966,
0.07810778170824051,
0.05904071405529976,
-0.07266005128622055,
0.03919539228081703,
-0.06671706587076187,
0.024072621017694473,
-0.04878199100494385,
-0.027167925611138344,
0.019155509769916534,
0.00775152537971735,
0.06537281721830368,
-0.011585280299186707,
0.0022363571915775537,
-0.025293055921792984,
0.0342252179980278,
0.07612679153680801,
-0.0036215055733919144,
0.021561002358794212,
-0.05522022396326065,
-0.017360232770442963,
-0.0348796546459198,
0.02789311110973358,
0.020517444238066673,
0.019031697884202003,
-0.01575067639350891,
-0.08539501577615738,
-0.05928833782672882,
0.014724803157150745,
0.047756120562553406,
-0.035109590739011765,
-0.027150237932801247,
-0.010665533132851124,
0.02996254339814186,
-0.00979000423103571,
0.021790940314531326,
-0.016555454581975937,
-0.0819990262389183,
-0.002938327845185995,
-0.0068892622366547585,
-0.053062353283166885,
0.012646527960896492,
0.01950925961136818,
0.023046748712658882,
-0.0820697769522667,
0.08390927314758301,
-0.020269818603992462,
0.03611777722835541,
0.03848789259791374,
-0.05330997705459595,
0.05769646540284157,
0.001797487260773778,
0.03732052072882652,
-0.020888879895210266,
-0.03279253467917442,
0.016741173341870308,
-0.03273947164416313,
-0.024143371731042862,
-0.016909204423427582,
-0.039372265338897705,
0.019739195704460144,
-0.05851008743047714,
0.030528541654348373,
0.002606688067317009,
0.002600055420771241,
-0.02635430172085762,
-0.06862731277942657,
0.05730734393000603,
0.01621939241886139,
-0.006562044378370047,
0.010904313996434212,
-0.028211485594511032,
-0.06434694677591324,
0.0008793979650363326,
-0.0600665844976902,
0.020305193960666656,
-0.010055315680801868,
0.13923561573028564,
-0.07669278979301453,
-0.006212717387825251,
0.014503709971904755,
-0.08546576648950577,
-0.08532426506280899,
-0.018050044775009155,
0.012593465857207775,
0.01834188774228096,
0.051647357642650604,
0.008980803191661835,
-0.022516125813126564,
-0.042520634829998016,
0.040221262723207474,
-0.0025912115816026926,
0.011063501238822937,
-0.00979000423103571,
0.07570229470729828,
0.010524033568799496,
0.04347575455904007,
-0.00319700688123703,
0.012248559854924679,
0.02274606190621853,
0.05210723355412483,
-0.018058888614177704,
-0.05200110748410225,
0.03831101953983307,
-0.0020627989433705807,
0.014733646996319294,
-0.0007030761917121708,
0.027539361268281937,
-0.004687174689024687,
-0.002500563394278288,
0.01305333897471428,
-0.0033186080399900675,
0.014450647868216038,
-0.0038094348274171352,
-0.05652909353375435,
0.032332662492990494,
-0.008339633233845234,
-0.009577754884958267,
0.05433585122227669,
-0.053133103996515274,
0.037426646798849106,
-0.005553859751671553,
0.022321563214063644,
-0.15423457324504852,
0.05656446889042854,
-0.017979294061660767,
-0.021419502794742584,
0.03369459509849548,
-0.010099534876644611,
-0.003243436338379979,
-0.04301588237285614,
-0.04934798926115036,
0.05592771992087364,
-0.036206211894750595,
0.0031660539098083973,
0.04230838268995285,
0.012443122453987598,
0.03518034145236015,
-0.05023236200213432,
0.058297839015722275,
-0.035109590739011765,
0.010479815304279327,
0.010674376972019672,
0.02983872964978218,
-0.0029538043309003115,
-0.018872510641813278,
-0.02718561328947544,
-0.001887029968202114,
-0.02196781523525715,
0.008565148338675499,
-0.0226045623421669,
0.002154552610591054,
-0.00691137183457613,
-0.021401816979050636,
-0.008927741087973118,
-0.05246097967028618,
-0.0047181276604533195,
0.029661856591701508,
-0.0037209975998848677,
-0.0008136227843351662,
0.043369632214307785,
0.006088905036449432,
0.018377261236310005,
-0.06576194614171982,
0.016431642696261406,
-0.0008606050396338105,
-0.024921618402004242,
0.02435562014579773,
0.027044113725423813,
0.03585246577858925,
-0.040539637207984924,
-0.016705797985196114,
-0.012770339846611023,
-0.012177810072898865,
0.025876741856336594,
0.018235761672258377,
-0.038452520966529846,
0.000842917594127357,
-0.051505859941244125,
-0.0033318735659122467,
-0.01608673669397831,
-0.0491003654897213,
0.002807882847264409,
0.010842408053576946,
0.06045570969581604,
0.003358404850587249,
-0.01210706029087305,
0.05249635502696037,
-0.009542380459606647,
0.06770756095647812,
-0.0484282411634922,
-0.033942218869924545,
0.025487616658210754,
0.03848789259791374,
0.05851008743047714,
-0.024444058537483215,
0.03158978745341301,
-0.028848232701420784,
0.02460324577987194,
-0.02649580128490925,
-0.047119371592998505,
-0.022427689284086227,
-0.013928867876529694,
-0.058686964213848114,
-0.023365123197436333,
0.04075188934803009,
0.027362488210201263,
-0.02693798765540123,
-0.021861689165234566,
0.018501074984669685,
0.005328344646841288,
-0.007119199261069298,
0.04619962349534035,
-0.002856523497030139,
0.008680116385221481,
0.03806339576840401,
0.003371670376509428,
-0.020747380331158638,
-0.06176457926630974,
-0.012451965361833572,
-0.01444180402904749,
0.010585939511656761,
0.024426370859146118,
-0.006632794160395861,
-0.03735589608550072,
-0.03732052072882652,
0.03848789259791374,
-0.015449988655745983,
-0.059323713183403015,
-0.03654227405786514,
-0.007614447735249996,
0.00545657891780138,
0.03848789259791374,
0.00930359959602356,
0.025416867807507515,
-0.041707009077072144,
-0.0008489976753480732,
0.016705797985196114,
0.002197665860876441,
-0.010736282914876938,
-0.006004889961332083,
0.02752167358994484,
-0.025629116222262383,
-0.04340500757098198,
0.06102170795202255,
0.03279253467917442,
-0.045562874525785446,
-0.06013733521103859,
0.012292779050767422,
-0.05309772863984108,
-0.04832211881875992,
0.011673717759549618,
0.012460809201002121,
-0.033110909163951874,
-0.026973363012075424,
0.02545224316418171,
-0.0035109592135995626,
0.001552073867060244,
0.005783796776086092,
0.03724977374076843,
0.007804587949067354,
0.07909828424453735,
-0.016564298421144485,
0.03799264505505562,
0.036330025643110275,
0.016069049015641212,
0.0659034475684166,
-0.04209613427519798,
-0.07159880548715591,
0.006464763544499874,
0.02143719047307968,
0.02009294554591179,
-0.05433585122227669,
0.004187504295259714,
0.053133103996515274,
0.004567784257233143,
0.016909204423427582,
-0.050550736486911774,
0.004634112119674683,
-0.06045570969581604,
0.01645817421376705,
-0.03567558899521828,
0.047897618263959885,
0.06367482244968414,
0.023559685796499252,
-0.036648400127887726,
0.004656221717596054,
0.001631667371839285,
-0.037745021283626556,
-0.017360232770442963,
-0.023488935083150864,
0.04605812206864357,
0.015131615102291107,
-0.028653671965003014,
-0.037886522710323334,
-0.0452091246843338,
-0.017280640080571175,
-0.006681434810161591,
-0.0226045623421669,
-0.11935491859912872,
-0.015255426988005638,
-0.014945896342396736,
-0.023789621889591217,
-0.015105083584785461,
-0.0036104510072618723,
0.015538426116108894,
-0.01924394629895687,
0.011682561598718166,
-0.02235693857073784,
-0.004757924471050501,
-0.013769680634140968,
0.05967745929956436,
-0.004687174689024687,
0.02209162712097168,
-0.11680793017148972,
0.04361725598573685,
0.047119371592998505,
-0.021171879023313522,
0.03266872093081474,
0.007804587949067354,
0.021154191344976425,
-0.007105933502316475,
-0.03629465028643608,
0.023099811747670174,
-0.051328983157873154,
-0.015220051631331444,
-0.012000936083495617,
-0.023029061034321785,
-0.05072760954499245,
0.0684504359960556,
-0.06774293631315231,
0.04400637745857239,
0.08023028075695038,
0.020375944674015045,
-0.053380727767944336,
-0.0503738634288311,
-0.003234592732042074,
0.005695359315723181,
0.07074980437755585,
0.06286120414733887,
-0.011390718631446362,
-0.010550565086305141,
-0.028918983414769173,
0.010798188857734203,
0.04856974259018898,
-0.007866494357585907,
-0.03325240686535835,
0.048357490450143814,
0.007322604767978191,
-0.023524310439825058,
-0.04637649655342102,
0.047190118581056595,
-0.012611152604222298,
-0.01653776690363884,
0.03204966336488724,
0.04482000321149826,
0.05175348371267319,
0.0018406003946438432,
-0.0021313379984349012,
0.040221262723207474,
-0.004132230766117573,
0.01488399039953947,
-0.021260317414999008,
0.0015343864215537906,
-0.02764548733830452,
-0.07011305540800095,
-0.025080805644392967,
0.020499756559729576,
-0.023418186232447624,
-0.0484636165201664,
-0.05147048458456993,
-0.1136949360370636,
0.019279321655631065,
0.037745021283626556,
-0.013619337230920792,
-0.021030379459261894,
0.0968564823269844,
0.04959561303257942,
-0.05695359408855438,
0.034260593354701996,
-0.03250953555107117,
0.03217347338795662,
0.0011894811177626252,
-0.020305193960666656,
-0.06926406174898148,
0.04612887278199196,
-0.01488399039953947,
-0.030758477747440338,
-0.05730734393000603,
0.05348685383796692,
0.03636540099978447,
-0.009038287214934826,
-0.05083373561501503,
0.029697230085730553,
-0.002715023700147867,
0.03434903174638748,
-0.05348685383796692,
0.03565790131688118,
-0.03105916455388069,
0.0030179214663803577,
0.02939654514193535,
-0.06622181832790375,
-0.03990289196372032,
-0.00029930484015494585,
0.01931469701230526,
0.012390059418976307,
-0.035374902188777924,
-0.02569986693561077,
-0.015856800600886345,
0.05437122657895088,
0.0167853906750679,
0.07846153527498245,
-0.026920301839709282,
0.05730734393000603,
-0.02957341820001602,
-0.02255150116980076,
0.021012691780924797,
0.04110563546419144,
0.017855482175946236,
-0.007105933502316475,
0.037179023027420044,
-0.00780016602948308,
0.028388358652591705,
0.002350219991058111,
0.027663173153996468,
0.03724977374076843,
0.07810778170824051,
0.07251854985952377,
0.00044743725447915494,
-0.03947839140892029,
0.07159880548715591,
0.006044686306267977,
0.027592424303293228,
0.08320177346467972,
0.04248525947332382,
0.0059164525009691715,
-0.010895470157265663,
0.07931052893400192,
0.0038227003533393145,
-0.005651140585541725,
0.06091558188199997,
-0.04517374932765961,
-0.007649822626262903,
0.006354216951876879,
0.01600714400410652,
0.025434555485844612,
-0.020358256995677948,
-0.00423393351957202,
-0.0036590914241969585,
-0.020464381203055382,
-0.013079870492219925,
0.028582921251654625,
0.002936116885393858,
0.024921618402004242,
-0.009542380459606647,
-0.019261633977293968,
-0.06402857601642609,
0.02649580128490925,
0.04474925249814987,
-0.026371989399194717,
0.0323149748146534,
-0.005058611277490854,
0.016245923936367035,
-0.060172710567712784,
0.02014600671827793,
0.0306877288967371,
-0.025027744472026825,
0.04888811707496643,
-0.039372265338897705,
-0.01314177643507719,
0.026407364755868912,
-0.026566551998257637,
-0.004943642765283585,
0.03493271768093109,
-0.029732605442404747,
0.02667267620563507,
0.010665533132851124,
0.020057570189237595,
-0.07400429993867874,
0.01853644847869873,
-0.023276686668395996,
-0.01899632252752781,
-0.03933689370751381,
0.050869110971689224,
0.062295202165842056,
0.025735242292284966,
0.013548587448894978,
0.003701099194586277,
0.013035651296377182,
-0.04107026383280754,
0.027857735753059387,
-0.030581602826714516,
-0.0002161185402655974,
-0.023082124069333076,
-0.017802419140934944,
0.02499236911535263,
-0.05479572340846062,
0.040539637207984924,
0.000548863725271076,
-0.008282149210572243,
-0.004348902031779289,
-0.03217347338795662,
0.013530900701880455,
-0.05285010486841202,
0.01647586189210415,
-0.009285911917686462,
-0.04379412904381752,
0.008887944743037224,
0.006500138435512781,
0.013389401137828827,
0.0788152813911438,
0.01501664612442255,
-0.017669763416051865,
-0.021755564957857132,
0.025293055921792984,
-0.020906567573547363,
0.017713982611894608,
0.002715023700147867,
0.03332315757870674,
0.047190118581056595,
-0.04361725598573685,
0.022639937698841095,
-0.04439550265669823,
-0.021012691780924797,
-0.021755564957857132,
0.011222687549889088,
0.006562044378370047,
-0.013389401137828827,
-0.03509190306067467,
-0.06689394265413284,
-0.005354875698685646,
0.043440379202365875,
0.012000936083495617,
-0.000015744250049465336,
-0.001367461052723229,
0.004410807974636555,
0.004032738972455263,
-0.0006218244670890272,
-0.03236803784966469,
0.0029891792219132185,
0.03319934755563736,
0.0016084526432678103,
-0.06250745058059692,
-0.01750173233449459,
0.00784880667924881,
-0.011346500366926193,
0.020853504538536072,
-0.02118956670165062,
-0.024567870423197746,
0.01880175992846489,
-0.011868279427289963,
-0.02693798765540123,
-0.06194145604968071,
-0.01175331138074398,
0.04952486231923103,
-0.044537004083395004,
0.020429005846381187,
-0.03986751660704613,
-0.05083373561501503,
-0.004620846826583147,
0.01919088512659073,
-0.008702225983142853,
0.00505418935790658,
0.03441977873444557,
-0.011585280299186707,
0.012841089628636837,
0.03360615670681,
0.011841748841106892,
0.012443122453987598,
0.03739127144217491,
0.025788303464651108,
-0.02118956670165062,
-0.014317992143332958,
-0.022657625377178192,
-0.01478670910000801,
0.05246097967028618,
-0.03337622061371803,
0.02331206016242504,
0.027857735753059387,
0.012416590936481953,
-0.04662412032485008,
0.04591662436723709,
-0.04315738007426262,
0.026778802275657654,
-0.02014600671827793,
-0.0497371144592762,
0.00891889724880457,
-0.0021633964497596025,
0.00800357200205326,
0.00359939644113183,
-0.04489075019955635,
-0.021879376843571663,
0.010488659143447876,
-0.0034490530379116535,
0.016750017181038857,
-0.021561002358794212,
0.036206211894750595,
-0.011328812688589096,
-0.03387146815657616,
-0.023984184488654137,
0.03763889521360397,
-0.010382534004747868,
0.006305576302111149,
0.05185960605740547,
0.011744467541575432,
0.00048253577551804483,
0.011868279427289963,
0.020004507154226303,
0.06682319194078445,
-0.027928486466407776,
-0.023205935955047607,
-0.03714364767074585,
0.04315738007426262,
-0.0022098259069025517,
0.0394076406955719,
0.05957133695483208,
-0.008184867911040783,
0.008052212186157703,
0.003970833029597998,
-0.04510300233960152,
-0.02957341820001602,
-0.03201428800821304,
0.00652666948735714,
-0.05529097467660904,
0.051328983157873154,
-0.03541027754545212,
-0.010736282914876938,
0.01588333211839199,
-0.021932439878582954,
-0.03560483828186989,
0.021667128428816795,
-0.015131615102291107,
0.026371989399194717,
-0.0368252731859684,
-0.00019345649343449622,
-0.009993409737944603,
-0.013336338102817535,
-0.002502774354070425,
0.07909828424453735,
-0.017545951530337334,
0.02202087640762329,
-0.011160781607031822,
-0.05051536113023758,
-0.03120066411793232,
-0.002971491776406765,
0.0028985310345888138,
-0.04379412904381752,
0.010002253577113152,
-0.03916001692414284,
0.04206075891852379,
0.033747658133506775,
0.016042517498135567,
0.020959630608558655,
-0.013362869620323181,
-0.07145730406045914,
0.003219116246327758,
0.015918705612421036,
-0.01724526472389698,
0.020747380331158638,
0.04807449132204056,
0.034384407103061676,
0.002692914567887783,
0.05734271928668022,
0.019350072368979454,
0.006305576302111149,
0.004757924471050501,
-0.03675452247262001,
0.03236803784966469,
0.03456128016114235,
-0.06558506935834885,
-0.01594523712992668,
0.02927273139357567,
0.06707081943750381,
0.01385811809450388,
0.03266872093081474,
-0.010320628061890602,
-0.016617361456155777,
-0.02847679704427719,
0.07640978693962097,
0.004088012035936117,
-0.010073003359138966,
-0.027804672718048096,
0.030475478619337082
]
|
37,082 | sphinx_autodoc_typehints | normalize_source_lines |
Normalize the source lines.
It finds the indentation level of the function definition (`def`), then it indents all lines in the function body to
a point at or greater than that level. This allows for comments and continued string literals that are at a lower
indentation than the rest of the code.
:param source_lines: source code
:return: source lines that have been correctly aligned
| def normalize_source_lines(source_lines: str) -> str:
"""
Normalize the source lines.
It finds the indentation level of the function definition (`def`), then it indents all lines in the function body to
a point at or greater than that level. This allows for comments and continued string literals that are at a lower
indentation than the rest of the code.
:param source_lines: source code
:return: source lines that have been correctly aligned
"""
lines = source_lines.split("\n")
def remove_prefix(text: str, prefix: str) -> str:
return text[text.startswith(prefix) and len(prefix) :]
# Find the line and line number containing the function definition
for pos, line in enumerate(lines):
if line.lstrip().startswith("def "):
idx = pos
whitespace_separator = "def"
break
if line.lstrip().startswith("async def"):
idx = pos
whitespace_separator = "async def"
break
else:
return "\n".join(lines)
fn_def = lines[idx]
# Get a string representing the amount of leading whitespace
whitespace = fn_def.split(whitespace_separator)[0]
# Add this leading whitespace to all lines before and after the `def`
aligned_prefix = [whitespace + remove_prefix(s, whitespace) for s in lines[:idx]]
aligned_suffix = [whitespace + remove_prefix(s, whitespace) for s in lines[idx + 1 :]]
# Put it together again
aligned_prefix.append(fn_def)
return "\n".join(aligned_prefix + aligned_suffix)
| (source_lines: str) -> str | [
-0.08852127939462662,
0.0005793655291199684,
0.016868814826011658,
-0.008309978991746902,
-0.03476860001683235,
-0.054499246180057526,
-0.023303493857383728,
0.059049736708402634,
0.014389151707291603,
-0.019517341628670692,
-0.024921050295233727,
-0.014735771343111992,
0.013055999763309956,
0.050090957432985306,
-0.022876884788274765,
0.015384571626782417,
0.026716360822319984,
-0.020281681790947914,
-0.03311549127101898,
-0.04301636293530464,
0.010256380774080753,
0.05865867808461189,
0.009616468101739883,
0.020477211102843285,
0.008963223546743393,
0.04027896001935005,
0.0205838643014431,
-0.03635060414671898,
0.002644084393978119,
-0.07465650141239166,
0.033328793942928314,
0.03229782357811928,
-0.014940187335014343,
0.008327755145728588,
0.0207438413053751,
-0.05432149022817612,
0.054641447961330414,
-0.021952565759420395,
-0.023570124059915543,
-0.12065912783145905,
-0.025596514344215393,
0.014060307294130325,
-0.00035439617931842804,
-0.014086970128118992,
-0.0444028414785862,
0.001036525471135974,
-0.03437754139304161,
-0.034075360745191574,
0.03345322236418724,
-0.02845834754407406,
0.025489863008260727,
0.002248582663014531,
0.03217339515686035,
0.015775630250573158,
0.0653066635131836,
-0.013438169844448566,
-0.0001145677306340076,
-0.012176119722425938,
0.008625492453575134,
-0.02902715839445591,
0.040350060909986496,
0.0452205091714859,
0.06633763015270233,
-0.01857524737715721,
0.0049504367634654045,
-0.018877429887652397,
0.004599373787641525,
0.01047857291996479,
-0.01535790879279375,
0.00450160913169384,
-0.058907534927129745,
-0.004186096601188183,
0.0220414437353611,
-0.009385388344526291,
0.008772138506174088,
0.06779520958662033,
-0.08240655809640884,
0.025649840012192726,
0.04369182884693146,
-0.05236620083451271,
0.009518703445792198,
0.006190268322825432,
0.02774733304977417,
-0.018504146486520767,
0.06559106707572937,
-0.06779520958662033,
-0.012238333001732826,
0.07120808213949203,
0.02367677539587021,
-0.014513579197227955,
-0.02257470414042473,
0.03322214260697365,
-0.018068650737404823,
0.0032484466210007668,
-0.007741168141365051,
0.029311563819646835,
0.011367340572178364,
-0.03032475896179676,
-0.005550355184823275,
0.0013231531484052539,
0.023196840658783913,
0.07092367857694626,
-0.015891170129179955,
0.022521376609802246,
-0.010994058102369308,
-0.006567994598299265,
-0.025116579607129097,
-0.026876339688897133,
-0.005145966075360775,
-0.018273066729307175,
-0.03142683207988739,
-0.14334048330783844,
-0.00388169358484447,
-0.0312846302986145,
0.04539826139807701,
-0.05990295484662056,
-0.05496140569448471,
0.005936969071626663,
-0.01654885709285736,
-0.019801747053861618,
0.039212439209222794,
-0.025098804384469986,
-0.04628702998161316,
-0.014531354419887066,
0.011873938143253326,
-0.0423053503036499,
0.040527813136577606,
0.0363861545920372,
0.08773916214704514,
-0.06711974740028381,
-0.018770776689052582,
-0.013313742354512215,
0.0006404683226719499,
0.02956041879951954,
0.013713687658309937,
0.0022441388573497534,
0.016308890655636787,
0.0414876826107502,
0.048953332006931305,
-0.030769143253564835,
0.048242319375276566,
-0.0012587175006046891,
-0.016842151060700417,
-0.05787656456232071,
-0.030769143253564835,
0.000006383679192367708,
0.02957819402217865,
0.011962815187871456,
-0.008385525085031986,
0.03835922107100487,
-0.025205455720424652,
-0.03012922964990139,
0.008283316157758236,
0.024174485355615616,
0.020263906568288803,
-0.03012922964990139,
-0.05204624682664871,
-0.07558082044124603,
0.03782596066594124,
0.03949684277176857,
0.0009598692995496094,
-0.03215562179684639,
0.040527813136577606,
-0.07565192133188248,
0.04525605961680412,
0.022290298715233803,
-0.05261505767703056,
-0.06822182238101959,
-0.0507308691740036,
-0.025614289566874504,
-0.023427920415997505,
0.025294333696365356,
0.003959460649639368,
0.037008292973041534,
0.07529640942811966,
-0.040492262691259384,
-0.005488141439855099,
0.05286391079425812,
-0.043976232409477234,
-0.017730919644236565,
0.013375956565141678,
0.019357364624738693,
-0.018077537417411804,
0.042731959372758865,
0.015295694582164288,
0.03291996195912361,
0.0290093831717968,
-0.013295967131853104,
0.016504419967532158,
-0.06562662124633789,
-0.0452205091714859,
-0.0341997854411602,
0.04539826139807701,
-0.0016953246667981148,
0.008798801340162754,
0.0024396677035838366,
-0.04525605961680412,
0.0192862618714571,
0.016433317214250565,
-0.0858905240893364,
-0.003712827805429697,
0.038643624633550644,
0.045824870467185974,
0.035959549248218536,
0.02406783401966095,
0.03229782357811928,
-0.003959460649639368,
0.008465513586997986,
-0.10643883794546127,
0.03718604892492294,
0.01875300146639347,
-0.04849117249250412,
-0.007003490813076496,
-0.03341767191886902,
0.0014986847527325153,
-0.027871759608387947,
0.06715530157089233,
0.09883098304271698,
0.015873393043875694,
0.0222014207392931,
0.0841129869222641,
0.0013142654206603765,
0.0000862382585182786,
-0.07522530853748322,
0.043051913380622864,
-0.014344713650643826,
0.01140289194881916,
0.035159654915332794,
0.045860420912504196,
-0.04191429167985916,
0.014024756848812103,
-0.1009640321135521,
-0.01689547672867775,
-0.0021685934625566006,
0.056667838245630264,
-0.04091887176036835,
0.0048304530791938305,
-0.04831342026591301,
0.004981543868780136,
-0.04067001864314079,
-0.0695372000336647,
0.01654885709285736,
0.05855202674865723,
0.03395093232393265,
0.012762706726789474,
-0.015011289156973362,
0.009429827332496643,
-0.01875300146639347,
-0.048064567148685455,
0.006745748221874237,
-0.028956057503819466,
0.026396404951810837,
0.016664396971464157,
0.03393315523862839,
0.015189042314887047,
0.0260942243039608,
0.04390513151884079,
0.0307158175855875,
0.012238333001732826,
0.008323310874402523,
0.056845590472221375,
-0.047318000346422195,
-0.023587899282574654,
-0.002855166792869568,
0.05385933071374893,
-0.024672195315361023,
-0.004750464111566544,
0.010745203122496605,
-0.03304439038038254,
0.015588988550007343,
0.003583956276997924,
0.025774268433451653,
-0.0008971000788733363,
0.0013775902334600687,
-0.008527727797627449,
0.02188146486878395,
-0.007661178708076477,
-0.014762434177100658,
0.020530536770820618,
-0.06399128586053848,
0.03914133459329605,
-0.009945312514901161,
-0.03544406220316887,
0.0463581308722496,
0.062035996466875076,
-0.03828812018036842,
-0.030466962605714798,
-0.13473720848560333,
-0.00890989787876606,
0.00029246017220430076,
0.018610799685120583,
-0.02262802980840206,
-0.011091822758316994,
-0.045469362288713455,
0.07458540052175522,
0.018788551911711693,
0.0200150515884161,
-0.03860807418823242,
-0.016779936850070953,
-0.039781250059604645,
-0.057769909501075745,
0.06096947565674782,
0.08126893639564514,
0.008505508303642273,
0.024352239444851875,
-0.030733592808246613,
-0.0455404631793499,
-0.07906478643417358,
-0.025774268433451653,
-0.07117252796888351,
-0.027640679851174355,
0.0036906085442751646,
0.03256445378065109,
-0.06975050270557404,
0.035764019936323166,
0.03917688876390457,
-0.009554254822432995,
0.08197994530200958,
0.03357765078544617,
0.034626394510269165,
-0.030822468921542168,
-0.004181652795523405,
-0.006821293383836746,
0.005808097776025534,
0.029080484062433243,
-0.034075360745191574,
0.07458540052175522,
-0.006910169962793589,
0.027640679851174355,
-0.006030289921909571,
-0.0352485328912735,
0.00385503051802516,
0.015446784906089306,
0.019801747053861618,
-0.02554318867623806,
-0.0010176391806453466,
-0.00918097235262394,
-0.023232391104102135,
0.0068879509344697,
-0.045291610062122345,
0.069039486348629,
0.015900056809186935,
0.047318000346422195,
0.006656871177256107,
0.002790731145069003,
0.012860470451414585,
0.04173653945326805,
0.00735899806022644,
0.03254668042063713,
-0.003641726216301322,
0.01102072186768055,
-0.014602456241846085,
-0.012007254175841808,
-0.0198550745844841,
0.028173940256237984,
0.011856162920594215,
0.01009640283882618,
-0.04788681119680405,
-0.0010642994893714786,
-0.024867724627256393,
0.03311549127101898,
-0.017313197255134583,
0.0012209448032081127,
0.008314423263072968,
-0.0032795534934848547,
0.026929665356874466,
-0.012185007333755493,
-0.051157478243112564,
0.04152323305606842,
0.013455945067107677,
-0.0463581308722496,
0.003619507187977433,
0.008216658607125282,
-0.02042388543486595,
-0.05599237605929375,
0.0137759018689394,
-0.004861560184508562,
-0.021223776042461395,
-0.05588572099804878,
0.013171539641916752,
0.04191429167985916,
0.011074047535657883,
-0.018984081223607063,
0.010869630612432957,
-0.024032283574342728,
-0.002154150977730751,
0.007190132047981024,
-0.02719629555940628,
-0.023659000173211098,
0.015757853165268898,
0.025454310700297356,
-0.018415270373225212,
-0.007821157574653625,
0.03123130276799202,
-0.01542012207210064,
-0.040136758238077164,
-0.03718604892492294,
0.020121704787015915,
-0.01204280462116003,
-0.04074111953377724,
-0.023659000173211098,
-0.005074864253401756,
0.007016822230070829,
0.000679907388985157,
-0.03668833523988724,
-0.007865595631301403,
0.05887198448181152,
0.016611071303486824,
0.02703631855547428,
0.030004803091287613,
-0.013678137212991714,
-0.003863918362185359,
-0.023943405598402023,
-0.03105354867875576,
0.05268615856766701,
0.01800643652677536,
0.0037683756090700626,
-0.028067288920283318,
0.0011259578168392181,
-0.04557601734995842,
0.015695640817284584,
0.003186232876032591,
0.004799346439540386,
0.024885499849915504,
0.014104746282100677,
-0.03123130276799202,
-0.025792043656110764,
-0.009669794701039791,
0.029880374670028687,
0.0185574721544981,
0.03034253418445587,
0.06470230221748352,
-0.017686480656266212,
0.001776424702256918,
-0.03489302471280098,
-0.0185574721544981,
0.0495932474732399,
0.03549738973379135,
0.09733785688877106,
0.014371376484632492,
-0.004537160042673349,
-0.003155126003548503,
-0.04778015986084938,
0.024156710132956505,
-0.029827049002051353,
-0.0023219059221446514,
-0.038323670625686646,
-0.009518703445792198,
-0.049877651035785675,
0.003501745406538248,
-0.02666303515434265,
0.08653043955564499,
-0.04802901670336723,
-0.005141522269695997,
-0.02959596924483776,
-0.02261025458574295,
-0.015393459238111973,
-0.01853969693183899,
-0.05588572099804878,
0.019570667296648026,
0.08155333995819092,
0.046606987714767456,
0.03715049475431442,
0.07522530853748322,
0.013820339925587177,
0.017037680372595787,
0.024583319202065468,
-0.009883098304271698,
-0.010078627616167068,
-0.008221102878451347,
0.1246408075094223,
-0.08062902092933655,
-0.01765981689095497,
0.05083752050995827,
0.028245043009519577,
0.021597059443593025,
-0.005763659719377756,
-0.019783971831202507,
-0.009678682312369347,
0.027231847867369652,
-0.00250632525421679,
-0.025596514344215393,
-0.0220414437353611,
0.006296920124441385,
0.003935019485652447,
-0.003999455366283655,
0.022005891427397728,
-0.08645933866500854,
0.027409600093960762,
-0.02572094090282917,
-0.004106107633560896,
0.007239014375954866,
0.021988116204738617,
0.00039327976992353797,
0.006043621338903904,
-0.0015564546920359135,
0.01727764680981636,
0.00010887406097026542,
-0.018273066729307175,
-0.06310252100229263,
-0.01747317612171173,
-0.006403572391718626,
-0.05968964844942093,
0.0253654345870018,
0.04415398836135864,
0.08553501963615417,
0.029080484062433243,
0.02554318867623806,
-0.07142138481140137,
-0.0023352375719696283,
-0.0014398039784282446,
-0.005043757613748312,
-0.01277159433811903,
-0.0038105922285467386,
-0.0367949903011322,
0.040705569088459015,
-0.03732825070619583,
0.01834416761994362,
0.009225410409271717,
-0.004114995244890451,
-0.033008839935064316,
-0.017757581546902657,
0.005425927694886923,
-0.016655510291457176,
-0.0207438413053751,
0.04742465168237686,
0.04575376957654953,
-0.01422917377203703,
0.028564998880028725,
-0.011865050531923771,
0.005550355184823275,
0.019517341628670692,
0.011722847819328308,
-0.048064567148685455,
0.019232936203479767,
0.0974089577794075,
-0.03139128163456917,
-0.059618547558784485,
-0.013091550208628178,
0.039603494107723236,
0.01535790879279375,
0.025418760254979134,
-0.0722746029496193,
0.03675943985581398,
-0.03180011361837387,
0.001661995891481638,
0.0382525697350502,
-0.011082935146987438,
-0.027480702847242355,
0.022485826164484024,
-0.01853969693183899,
0.04351407289505005,
0.030911346897482872,
-0.001690880861133337,
0.016140025109052658,
-0.04937994107604027,
-0.007807825691998005,
-0.025792043656110764,
-0.017544277012348175,
-0.004003899171948433,
0.018050875514745712,
0.011962815187871456,
0.002901826985180378,
-0.05940524488687515,
-0.0760074257850647,
0.05524580925703049,
0.02184591442346573,
0.04536271095275879,
-0.005723665002733469,
0.053574927151203156,
-0.027853984385728836,
0.024494441226124763,
0.06633763015270233,
0.007221238687634468,
-0.07039041072130203,
-0.015224593691527843,
-0.001096517313271761,
-0.04109662398695946,
-0.004110551439225674,
0.002932933857664466,
0.05609902739524841,
-0.02532988414168358,
0.03172901272773743,
-0.037577103823423386,
-0.025454310700297356,
-0.011091822758316994,
-0.03690164163708687,
0.011322902515530586,
0.04486500099301338,
0.018255291506648064,
-0.06711974740028381,
0.046749189496040344,
-0.008434407413005829,
-0.034057583659887314,
0.02573871798813343,
-0.0038172579370439053,
0.003263999940827489,
0.03123130276799202,
-0.03165791183710098,
0.009740895591676235,
-0.06900393962860107,
0.012611615471541882,
-0.05001985654234886,
0.05780545994639397,
0.04081222042441368,
-0.009776446036994457,
0.0200150515884161,
-0.03946129232645035,
-0.011082935146987438,
0.033168815076351166,
0.02684078924357891,
0.030786918476223946,
0.017864234745502472,
-0.03821701928973198,
-0.0037994824815541506,
0.02938266471028328,
0.01907295733690262,
-0.04870447888970375,
0.026147549971938133,
-0.028956057503819466,
0.011696184985339642,
-0.011918377131223679,
0.006079172249883413,
-0.04881113022565842,
0.03430644050240517,
0.10999391227960587,
-0.02572094090282917,
-0.028369469568133354,
-0.01964177004992962,
-0.028813853859901428,
-0.0064924489706754684,
-0.0022396950516849756,
0.02863609977066517,
-0.04721134901046753,
0.01871745102107525,
0.04980655014514923,
-0.011607307940721512,
0.0012120571918785572,
-0.0176687054336071,
-0.025792043656110764,
0.04411843791604042,
-0.050801970064640045,
-0.004563822876662016,
0.021259326487779617,
-0.013438169844448566,
0.0019675097428262234,
-0.03140905499458313,
-0.03284886106848717,
0.011438442394137383,
-0.0058703115209937096,
-0.018895205110311508,
0.024476666003465652,
0.011527319438755512,
0.017748694866895676,
0.04628702998161316,
0.07152803987264633,
-0.08475290238857269,
-0.05065976828336716,
0.02812061458826065,
-0.046962492167949677,
0.04543381184339523,
-0.040492262691259384,
-0.00900321826338768,
0.06690644472837448,
-0.02717852033674717,
-0.004808234050869942,
0.04244755208492279,
0.008656598627567291,
0.0327422060072422,
-0.017535390332341194,
0.00947426538914442,
0.01315376441925764,
0.024370014667510986,
-0.021401530131697655,
0.007012378424406052,
-0.023232391104102135,
0.07138583064079285,
0.011971702799201012,
-0.006314695812761784,
-0.033133264631032944,
-0.04849117249250412,
0.032226722687482834,
-0.011145149357616901,
-0.10075072199106216,
0.025863144546747208,
0.03048473782837391,
-0.05236620083451271,
0.017055455595254898,
0.018148640170693398,
-0.012033917009830475,
0.02552541345357895,
-0.007159024942666292,
-0.02500992827117443,
0.01859302446246147,
0.01853969693183899,
-0.00919874757528305,
-0.021401530131697655,
-0.0388924814760685,
0.0013664806028828025,
0.007456762250512838,
0.050979726016521454,
0.012531626969575882,
-0.030022578313946724,
-0.039603494107723236,
-0.0034195343032479286,
-0.024529993534088135,
-0.031480155885219574,
0.014024756848812103,
-0.07415878772735596,
0.054854750633239746,
0.03818146884441376,
-0.01212279312312603,
0.0062924763187766075,
0.0327422060072422,
0.0852506160736084,
-0.031089099124073982,
-0.026360854506492615,
-0.01497573871165514,
0.030040353536605835,
0.005541467573493719,
-0.044722799211740494,
0.07170578837394714,
0.02077939175069332,
-0.04664253816008568,
-0.02127710171043873,
-0.003430643817409873,
-0.029187137261033058,
0.007283452432602644,
-0.04433174058794975,
-0.026911890134215355,
0.010603000409901142,
0.031017998233437538,
-0.05773435905575752,
-0.003459528787061572,
0.029649294912815094,
0.020708290860056877,
-0.04578932002186775,
0.022841334342956543,
-0.06360022723674774,
-0.010060852393507957,
-0.0022052552085369825,
0.008629935793578625,
0.016993241384625435,
0.01798866130411625,
-0.010967395268380642,
0.008701037615537643,
0.024921050295233727,
0.015189042314887047,
0.0016942137153819203,
0.033542100340127945,
0.013073774985969067,
0.042340900748968124,
-0.0014031422324478626,
-0.03814591467380524,
-0.006190268322825432,
-0.07113698124885559,
0.023854529485106468,
0.034448642283678055,
0.023605674505233765,
-0.01471799612045288,
-0.005945857148617506,
0.0024974376428872347,
0.04497165232896805,
0.06406238675117493,
0.056667838245630264,
-0.01599782146513462,
-0.009358725510537624,
0.07806936651468277
]
|
37,083 | sphinx_autodoc_typehints.parser | parse | Parse inputstr and return a docutils document. | def parse(inputstr: str, settings: Values | optparse.Values) -> nodes.document:
"""Parse inputstr and return a docutils document."""
doc = new_document("", settings=settings)
with sphinx_domains(settings.env):
parser = _RstSnippetParser()
parser.set_application(settings.env.app)
parser.parse(inputstr, doc)
return doc
| (inputstr: 'str', settings: 'Values | optparse.Values') -> 'nodes.document' | [
-0.03333597257733345,
-0.018239911645650864,
0.05543593689799309,
-0.06778810918331146,
0.0020672210957854986,
0.051529377698898315,
-0.003011306282132864,
0.05227348580956459,
0.014147325418889523,
0.02965264581143856,
-0.011803390458226204,
0.052496716380119324,
-0.0557335801422596,
0.0673416405916214,
0.012091731652617455,
0.0027624955400824547,
-0.0284434724599123,
-0.016900520771741867,
-0.005008767358958721,
0.005087828729301691,
-0.06116556003689766,
-0.0032438396010547876,
0.014630994759500027,
0.06890426576137543,
-0.02569027803838253,
0.02022109553217888,
-0.010138452053070068,
-0.03262907266616821,
-0.07481991499662399,
-0.06756487488746643,
0.04397669807076454,
-0.04408831149339676,
0.024239271879196167,
0.023643985390663147,
0.02721569687128067,
-0.03999572619795799,
-0.02355097234249115,
0.02414625696837902,
0.003067114157602191,
-0.020983804017305374,
-0.027029670774936676,
0.023439357057213783,
0.009831507690250874,
-0.006022612564265728,
-0.0532408244907856,
0.04193040356040001,
-0.007110868114978075,
0.00040896792779676616,
-0.0514177642762661,
0.05629166215658188,
0.056998562067747116,
0.014956541359424591,
-0.0802890956401825,
-0.01775624230504036,
0.006752767134457827,
-0.013198589906096458,
0.006915540434420109,
0.061909664422273636,
0.09145069867372513,
-0.0219697467982769,
-0.006934143137186766,
0.028573691844940186,
0.0014475197531282902,
0.030750203877687454,
0.010129150003194809,
0.04792046174407005,
0.0532408244907856,
-0.027048273012042046,
0.001821898389607668,
-0.022192977368831635,
-0.04591137543320656,
-0.03218260779976845,
-0.036870479583740234,
-0.01837013103067875,
0.05625445395708084,
-0.011738280765712261,
-0.050599247217178345,
-0.002080010250210762,
-0.02781098149716854,
0.03675886243581772,
-0.005399423185735941,
0.0550638847053051,
-0.01585877127945423,
-0.012882344424724579,
0.005706367082893848,
-0.042079225182533264,
0.004136767238378525,
-0.035066019743680954,
0.042116429656744,
-0.008529321290552616,
-0.0021044262684881687,
0.014547282829880714,
0.013858984224498272,
0.024016039445996284,
0.016705192625522614,
0.01717955991625786,
-0.0028741115238517523,
-0.052719950675964355,
-0.011803390458226204,
0.02663901448249817,
-0.051529377698898315,
0.11154156923294067,
-0.060384247452020645,
-0.03022932820022106,
0.005492436699569225,
0.005148287396878004,
0.0532408244907856,
0.01925375685095787,
0.01992345228791237,
-0.03322435915470123,
-0.005976105574518442,
-0.08185172080993652,
-0.02297428995370865,
0.0004859945911448449,
-0.031029243022203445,
-0.009473406709730625,
-0.03121526911854744,
0.020090876147150993,
0.013765971176326275,
0.01678890362381935,
-0.051529377698898315,
-0.01958860456943512,
-0.10462138056755066,
0.03813546150922775,
-0.019774632528424263,
0.029001552611589432,
-0.012556797824800014,
-0.004836692474782467,
0.07247597724199295,
-0.03115946240723133,
0.022527825087308884,
-0.002648554276674986,
0.0034926501102745533,
-0.03171754255890846,
-0.0046762446872889996,
0.02907596342265606,
-0.02598792128264904,
0.0318477600812912,
-0.013505534268915653,
0.013375314883887768,
0.0043902285397052765,
0.003388010198250413,
0.018305020406842232,
-0.00511108199134469,
-0.048180900514125824,
0.029782865196466446,
0.0021916262339800596,
0.03940044343471527,
0.004336745943874121,
0.06257936358451843,
0.028815526515245438,
-0.010529107414186,
0.050041165202856064,
0.046878714114427567,
-0.03910280019044876,
0.02846207655966282,
0.01480772066861391,
-0.03082461468875408,
0.024090450257062912,
-0.022379005327820778,
-0.0019800211302936077,
-0.017272572964429855,
0.056142840534448624,
0.029522428289055824,
0.02386721782386303,
-0.014472872018814087,
0.018751485273241997,
-0.051864225417375565,
-0.03582873195409775,
-0.015663443133234978,
0.022248785942792892,
0.04323258996009827,
-0.04978073015809059,
0.037112314254045486,
0.020686162635684013,
0.03341038525104523,
0.023123111575841904,
0.08244700729846954,
-0.05286877229809761,
0.0021893009543418884,
0.011394131928682327,
0.03884236142039299,
-0.02846207655966282,
-0.011738280765712261,
0.036237988620996475,
0.003934463486075401,
-0.05815192684531212,
0.04520447179675102,
0.02448110468685627,
-0.004176298156380653,
0.025560060515999794,
-0.046953123062849045,
0.02418346330523491,
-0.04676709696650505,
-0.019421180710196495,
0.018565459176898003,
-0.029801467433571815,
-0.02023969776928425,
0.03631240129470825,
0.013347411528229713,
0.031103653833270073,
0.05997498705983162,
-0.020351314917206764,
-0.008427007123827934,
-0.005673812236636877,
0.021560488268733025,
-0.04073983430862427,
-0.013421822339296341,
-0.05160379037261009,
0.04684150591492653,
-0.02967124804854393,
0.001005706493742764,
0.007845673710107803,
-0.0342475026845932,
0.009282729588449001,
0.0034135887399315834,
0.01802598126232624,
0.05536152794957161,
-0.02289987914264202,
-0.04736238345503807,
0.09405507147312164,
-0.006343508139252663,
0.059193674474954605,
-0.010975571349263191,
-0.008329343050718307,
-0.019495591521263123,
0.0439394935965538,
-0.04434875026345253,
-0.016630781814455986,
0.021486077457666397,
0.06637430191040039,
-0.05562196299433708,
0.06637430191040039,
-0.008789758197963238,
0.04126070812344551,
-0.05376169830560684,
0.010445395484566689,
0.0023648636415600777,
0.06001219525933266,
-0.029131771996617317,
-0.03828428313136101,
0.030378149822354317,
-0.01747720316052437,
0.003071764949709177,
-0.0878789871931076,
0.07210392504930496,
-0.0293550044298172,
-0.0020951249171048403,
0.00010318664863007143,
0.008478163741528988,
0.04821810498833656,
-0.05807751789689064,
-0.04494403675198555,
0.022806866094470024,
0.017542311921715736,
0.10171936452388763,
0.021858129650354385,
-0.006436521653085947,
0.0027810982428491116,
-0.05312920734286308,
0.028052816167473793,
0.011124392971396446,
-0.01679820567369461,
-0.013449725694954395,
-0.03910280019044876,
-0.049408674240112305,
0.0017858557403087616,
-0.0017405117396265268,
0.02933640033006668,
0.01082675065845251,
0.10209141671657562,
0.11764324456453323,
0.013765971176326275,
-0.007143422961235046,
-0.019383976235985756,
-0.011775486171245575,
0.033205755054950714,
0.026211153715848923,
0.0012917225249111652,
0.01498444564640522,
-0.004878548439592123,
-0.006724862847477198,
0.04185599461197853,
0.10097526013851166,
0.08341434597969055,
-0.03056417591869831,
0.018704978749155998,
0.05268274247646332,
0.002098612952977419,
0.006552788428962231,
0.0047204261645674706,
0.024332284927368164,
0.011105790734291077,
-0.04929706081748009,
-0.027271505445241928,
0.024332284927368164,
0.004132116679102182,
-0.05056203901767731,
-0.0550638847053051,
0.010305875912308693,
-0.023439357057213783,
-0.04003293067216873,
-0.013552040793001652,
0.039623674005270004,
0.010529107414186,
0.014054312370717525,
-0.011859198100864887,
-0.04181878641247749,
0.017216766253113747,
-0.04952029138803482,
-0.03634960576891899,
0.06097953021526337,
-0.024276476353406906,
0.028071420267224312,
-0.0539105199277401,
0.024536913260817528,
0.03052697144448757,
-0.02418346330523491,
0.02295568771660328,
0.016667986288666725,
-0.0849025547504425,
-0.05231069028377533,
0.04617181047797203,
-0.050338808447122574,
-0.0004095492768101394,
0.013793875463306904,
-0.02596931904554367,
0.0006144692306406796,
-0.03538226708769798,
0.0014486823929473758,
0.009492008946835995,
-0.0482553094625473,
-0.008282836526632309,
-0.005585449747741222,
-0.006013310980051756,
-0.07299685478210449,
0.039921317249536514,
-0.04040498659014702,
-0.04985513910651207,
-0.03571711480617523,
0.09137628227472305,
0.01453798171132803,
0.03248025104403496,
0.020741969347000122,
-0.028889937326312065,
-0.026490192860364914,
-0.00628304947167635,
-0.04925985261797905,
0.015998290851712227,
-0.10246346890926361,
-0.018444541841745377,
0.02598792128264904,
-0.03417309373617172,
0.006315604317933321,
0.04044219106435776,
-0.00120568519923836,
0.019737426191568375,
0.05405934154987335,
-0.04092586040496826,
-0.11794088780879974,
-0.08386080712080002,
0.009915219619870186,
0.006794623099267483,
-0.013589246198534966,
-0.04992954805493355,
0.013105576857924461,
0.013635752722620964,
0.029466619715094566,
0.08036350458860397,
0.057631053030490875,
0.025801895186305046,
-0.004487892612814903,
-0.005483135115355253,
-0.02877832017838955,
-0.04989234358072281,
0.00725968973711133,
-0.05056203901767731,
-0.04442316293716431,
-0.04379067197442055,
-0.02542984113097191,
0.0022090664133429527,
0.05420816317200661,
0.04353023320436478,
0.018305020406842232,
-0.057407818734645844,
-0.05175261199474335,
-0.025281019508838654,
0.02567167580127716,
0.028629500418901443,
-0.02046293020248413,
0.014296147041022778,
-0.021597692742943764,
0.008059604093432426,
0.06347228586673737,
-0.059454113245010376,
-0.036535631865262985,
-0.026750629767775536,
0.006431871093809605,
-0.032294224947690964,
-0.005752873606979847,
0.03383824601769447,
-0.008161919191479683,
-0.030768806114792824,
-0.013514835387468338,
0.016444755718111992,
-0.009454803541302681,
0.053389646112918854,
0.07314567267894745,
-0.020704764872789383,
0.0027345914859324694,
0.010929064825177193,
-0.027997009456157684,
0.0013800851302221417,
0.007148073520511389,
-0.049631908535957336,
-0.035326458513736725,
0.05227348580956459,
0.038079652935266495,
-0.025801895186305046,
-0.02474154345691204,
0.006278398912400007,
-0.01361714955419302,
0.04245127737522125,
0.04639504477381706,
0.014863528311252594,
0.01957000233232975,
0.04364185035228729,
0.00589239364489913,
0.009859411977231503,
0.00002568766285548918,
-0.021895335987210274,
0.0464322492480278,
-0.0013486931566148996,
-0.044237133115530014,
0.00964548159390688,
-0.055212706327438354,
-0.010045438073575497,
0.050041165202856064,
0.04364185035228729,
-0.004153044894337654,
0.054282572120428085,
-0.038953978568315506,
-0.0001458419719710946,
0.0226394422352314,
0.01805388554930687,
0.006334207020699978,
-0.024890365079045296,
-0.011552254669368267,
-0.08653958886861801,
-0.0593797042965889,
0.006357460282742977,
-0.024369489401578903,
0.013747368939220905,
0.00039792261668480933,
-0.013486931100487709,
-0.057035766541957855,
-0.003606591373682022,
0.01863986998796463,
-0.02288127690553665,
0.033447589725255966,
-0.032238416373729706,
0.012798632495105267,
0.035642702132463455,
0.010324478149414062,
0.01377527229487896,
0.020258300006389618,
0.013570643030107021,
-0.003732159500941634,
-0.04319538548588753,
-0.004966911394149065,
-0.02327193319797516,
-0.027606353163719177,
-0.004320468753576279,
0.01617501676082611,
-0.0038554021157324314,
-0.026080934330821037,
-0.03813546150922775,
-0.0379866398870945,
0.00511108199134469,
0.019681617617607117,
-0.07076453417539597,
0.005362217780202627,
-0.012166142463684082,
0.08207495510578156,
-0.024276476353406906,
-0.049669113010168076,
0.04338141158223152,
-0.04379067197442055,
0.028257446363568306,
-0.023699793964624405,
-0.013524136506021023,
0.040516600012779236,
0.02630416676402092,
-0.04159555584192276,
0.019123539328575134,
0.0002650879614520818,
0.0030020049307495356,
0.03275929018855095,
0.02933640033006668,
-0.0017126076854765415,
0.033484794199466705,
-0.04189319908618927,
-0.08743251860141754,
0.01409151777625084,
0.06804854422807693,
0.073480524122715,
-0.0402933694422245,
0.05301759019494057,
-0.02717849239706993,
-0.010863956063985825,
-0.05138055607676506,
0.031066449359059334,
0.02721569687128067,
-0.00796659104526043,
0.005199444480240345,
-0.017951570451259613,
0.03584733232855797,
0.09695708751678467,
-0.04014454782009125,
-0.04353023320436478,
-0.008017747662961483,
0.007092265412211418,
-0.0762709230184555,
-0.005645908415317535,
0.034452132880687714,
-0.00780381727963686,
-0.013542739674448967,
-0.0016800530720502138,
-0.0026601809076964855,
0.0016358717111870646,
0.010436094366014004,
-0.004369300790131092,
0.027271505445241928,
-0.029801467433571815,
0.030378149822354317,
-0.02784818783402443,
0.04371625930070877,
-0.03973529115319252,
0.007613140158355236,
0.005166890099644661,
-0.01207312848418951,
0.03153151646256447,
0.02872251346707344,
0.013003261759877205,
0.017049340531229973,
0.009310632944107056,
-0.01133832335472107,
-0.00047843725769780576,
-0.007757310755550861,
0.003950740676373243,
0.007282942999154329,
-0.034731172025203705,
-0.012314963154494762,
0.06458844989538193,
-0.00657604169100523,
-0.012296360917389393,
-0.03244304656982422,
0.030750203877687454,
0.0391400046646595,
0.047287970781326294,
0.02665761671960354,
-0.0605330690741539,
0.023123111575841904,
0.03724253177642822,
-0.007743358612060547,
0.04353023320436478,
-0.005176191218197346,
-0.07113658636808395,
-0.03759598359465599,
0.015998290851712227,
0.03264767676591873,
-0.029131771996617317,
0.0324244424700737,
0.03207099065184593,
-0.038079652935266495,
0.02146747335791588,
0.021560488268733025,
0.006157481577247381,
-0.0022474343422800303,
0.04501844570040703,
-0.02083498425781727,
0.031996581703424454,
0.0024578769225627184,
0.008785108104348183,
-0.0024578769225627184,
0.005641257856041193,
-0.011877801269292831,
-0.010361683554947376,
-0.02998749352991581,
0.005059924442321062,
0.013738066889345646,
-0.03754017502069473,
-0.015793660655617714,
0.004776233807206154,
-0.00016364530893042684,
-0.005376169923692942,
0.004341396503150463,
-0.08386080712080002,
0.05603122338652611,
-0.03692628815770149,
-0.05718458816409111,
0.024295078590512276,
-0.014575187116861343,
-0.008222377859055996,
0.031345490366220474,
0.05312920734286308,
0.05082247778773308,
-0.029299195855855942,
0.0044785914942622185,
0.0011719678295776248,
0.03582873195409775,
-0.03212679922580719,
-0.01869567669928074,
0.04010734334588051,
-0.04881339147686958,
-0.013840381987392902,
-0.016305234283208847,
0.033187150955200195,
0.01899331994354725,
-0.0875813439488411,
0.08237259835004807,
0.058858826756477356,
-0.00026552396593615413,
-0.014314750209450722,
-0.03514043241739273,
0.010305875912308693,
-0.012184744700789452,
-0.03999572619795799,
-0.012826536782085896,
0.038953978568315506,
0.033466193825006485,
-0.038693539798259735,
-0.022397607564926147,
-0.023662587627768517,
0.047548409551382065,
0.014900733716785908,
0.052199073135852814,
0.012538195587694645,
0.023457959294319153,
0.010901160538196564,
0.05893323943018913,
-0.07065291702747345,
0.01835152693092823,
-0.026825040578842163,
-0.004827391356229782,
-0.0062690977938473225,
-0.0001908226404339075,
-0.007673598825931549,
-0.004915753845125437,
0.020351314917206764,
0.019811837002635002,
0.020090876147150993,
-0.011059283278882504,
-0.0006342345732264221,
-0.006399316247552633,
0.05818913131952286,
0.019495591521263123,
0.0005551732610911131,
0.0452788844704628,
0.006896937731653452,
0.03692628815770149,
0.006594644393771887,
-0.014872829429805279,
0.027420327067375183,
-0.031140858307480812,
0.014007805846631527,
0.007710804231464863,
0.04773443564772606,
-0.023178918287158012,
-0.027085479348897934,
0.05562196299433708,
0.03264767676591873,
0.009408297017216682,
0.008106110617518425,
0.06496050208806992,
-0.07813119143247604,
0.0033787088468670845,
-0.00964548159390688,
-0.044460367411375046,
-0.037186723202466965,
-0.037205327302217484,
0.05543593689799309,
0.013803176581859589,
-0.0427861250936985,
0.002611348871141672,
-0.026378577575087547,
0.028685307130217552,
-0.06961116939783096,
0.01709584891796112,
-0.016733096912503242,
-0.05956573039293289,
0.0580403096973896,
-0.010054740123450756,
-0.029280593618750572,
0.05562196299433708,
-0.0251321978867054,
-0.041149090975522995,
-0.06864383071660995,
0.012287059798836708,
-0.0022974289022386074,
0.09048335999250412,
-0.008352596312761307,
0.0022439463064074516,
-0.030117712914943695,
0.018239911645650864,
-0.027624955400824547,
-0.027271505445241928,
0.011980115436017513,
-0.008603732101619244,
-0.0014568211045116186,
0.013738066889345646,
-0.028313254937529564,
0.0342475026845932,
0.054319776594638824,
0.049073826521635056,
-0.06347228586673737,
-0.033856846392154694,
0.0139333950355649,
0.019039826467633247,
-0.04769723117351532,
-0.005697065964341164,
-0.06179805099964142,
-0.005264553707093,
0.01147784385830164,
0.006310953758656979,
0.0031229222659021616,
-0.06019822135567665,
0.0259507168084383,
0.014500776305794716,
-0.043604642152786255,
-0.057370614260435104,
-0.02200695127248764,
0.002224181080237031,
-0.07582445442676544,
0.011617363430559635,
-0.043902285397052765,
0.001382410409860313,
-0.011747581884264946,
0.0003025839396286756,
-0.07649415731430054,
-0.004134442191570997,
0.013245096430182457,
-0.0675276666879654,
-0.03322435915470123,
0.010194259695708752,
0.019774632528424263,
0.002569492906332016,
-0.04193040356040001,
-0.015579731203615665,
0.034414928406476974,
0.028945744037628174,
-0.01925375685095787,
-0.05677533149719238,
0.05097129940986633,
-0.009236222133040428,
0.01147784385830164,
0.015263485722243786,
0.04442316293716431,
-0.04066542163491249,
0.023495163768529892,
0.03767039254307747,
-0.04587416723370552,
0.031140858307480812,
0.005078527145087719,
-0.01960720680654049,
-0.005236649885773659,
-0.017300477251410484,
-0.000984778511337936
]
|
37,086 | sphinx_autodoc_typehints | process_docstring |
Process the docstring for an entry.
:param app: the Sphinx app
:param what: the target
:param name: the name
:param obj: the object
:param options: the options
:param lines: the lines
:return:
| def process_docstring( # noqa: PLR0913, PLR0917, PLR0917
app: Sphinx,
what: str,
name: str,
obj: Any,
options: Options | None, # noqa: ARG001
lines: list[str],
) -> None:
"""
Process the docstring for an entry.
:param app: the Sphinx app
:param what: the target
:param name: the name
:param obj: the object
:param options: the options
:param lines: the lines
:return:
"""
original_obj = obj
obj = obj.fget if isinstance(obj, property) else obj
if not callable(obj):
return
obj = obj.__init__ if inspect.isclass(obj) else obj
obj = inspect.unwrap(obj)
try:
signature = sphinx_signature(obj)
except (ValueError, TypeError):
signature = None
type_hints = get_all_type_hints(app.config.autodoc_mock_imports, obj, name)
app.config._annotation_globals = getattr(obj, "__globals__", {}) # type: ignore[attr-defined] # noqa: SLF001
try:
_inject_types_to_docstring(type_hints, signature, original_obj, app, what, name, lines)
finally:
delattr(app.config, "_annotation_globals")
| (app: 'Sphinx', what: 'str', name: 'str', obj: 'Any', options: 'Options | None', lines: 'list[str]') -> 'None' | [
0.015423588454723358,
0.0033952565863728523,
0.015980850905179977,
-0.030685391277074814,
-0.018587401136755943,
-0.005837774369865656,
0.053497202694416046,
0.05371291562914848,
0.005698458757251501,
-0.008125247433781624,
-0.013014775700867176,
-0.015306742861866951,
0.08916199952363968,
-0.03789385035634041,
-0.03807361423969269,
0.037102896720170975,
-0.009761082008481026,
0.007082626689225435,
-0.02236240543425083,
0.035341229289770126,
0.019701926037669182,
-0.0015762889524921775,
0.022973597049713135,
0.04015885293483734,
0.003997459542006254,
0.01918061636388302,
0.04576743021607399,
-0.0007314070244319737,
-0.032968368381261826,
-0.07118579000234604,
0.008453313261270523,
-0.052238866686820984,
0.04623481258749962,
0.02284776233136654,
0.03473003953695297,
-0.06244935467839241,
0.04824814945459366,
0.034262657165527344,
-0.015828052535653114,
-0.062233638018369675,
0.008538699708878994,
0.07237222045660019,
0.040302664041519165,
-0.007684829644858837,
-0.008197152055799961,
0.0315122976899147,
-0.010974476113915443,
0.043610285967588425,
-0.04547981172800064,
-0.03411884605884552,
-0.018290793523192406,
-0.05687673017382622,
-0.015468528494238853,
-0.014776444993913174,
0.0007089367718435824,
-0.0058647384867072105,
-0.00866003893315792,
0.08743628859519958,
0.033166106790304184,
0.0005002442048862576,
0.026622766628861427,
0.0496862456202507,
0.04353838041424751,
0.001149353920482099,
0.01963002234697342,
0.004763695877045393,
0.05835077911615372,
0.022506214678287506,
-0.019701926037669182,
-0.020870380103588104,
-0.0526343435049057,
-0.033058252185583115,
0.016654958948493004,
0.018928948789834976,
-0.017652638256549835,
-0.010255428031086922,
-0.04447314515709877,
0.02759348228573799,
0.045264098793268204,
-0.022811811417341232,
-0.0031121314968913794,
0.051951248198747635,
-0.024321813136339188,
-0.07165317237377167,
0.0009431892540305853,
-0.048391956835985184,
-0.03721075505018234,
0.013958526775240898,
0.02126585692167282,
0.011450845748186111,
-0.039116233587265015,
0.0270541962236166,
-0.00784212164580822,
-0.014174241572618484,
-0.04091385379433632,
-0.018200913444161415,
0.018497521057724953,
-0.02101418934762478,
0.013904598541557789,
0.07280365377664566,
0.01760769821703434,
-0.007392716594040394,
0.02694633975625038,
0.03620408847928047,
0.006893876474350691,
-0.044545046985149384,
0.00870497990399599,
-0.01466858759522438,
-0.0024717289488762617,
-0.002660479163751006,
0.030793247744441032,
-0.021769190207123756,
-0.04742124304175377,
-0.034442417323589325,
0.018821092322468758,
-0.017760494723916054,
-0.045264098793268204,
-0.022074786946177483,
-0.03717480227351189,
-0.007244412787258625,
0.018021151423454285,
-0.057955302298069,
-0.07172507792711258,
-0.05302982032299042,
0.028564197942614555,
-0.05216696113348007,
-0.014452872797846794,
0.005927655380219221,
0.024160025641322136,
-0.10728202015161514,
0.014093348756432533,
-0.04684600234031677,
-0.024555502459406853,
-0.0236566923558712,
0.03760623186826706,
0.02083442732691765,
0.026478957384824753,
-0.0051501840353012085,
-0.03206956014037132,
-0.04547981172800064,
0.021229904145002365,
-0.01119019091129303,
-0.02759348228573799,
-0.022488238289952278,
-0.05371291562914848,
-0.020672641694545746,
-0.019935617223381996,
-0.01545954030007124,
-0.015468528494238853,
0.03311217948794365,
-0.033507656306028366,
-0.03073931857943535,
0.05777553841471672,
0.026640743017196655,
-0.01918061636388302,
-0.006004054099321365,
-0.027647411450743675,
-0.0202591884881258,
-0.008610604330897331,
0.03753432631492615,
0.03099098615348339,
-0.021535499021410942,
0.030218008905649185,
0.0015605597291141748,
0.04411362111568451,
0.06101125851273537,
-0.0786638930439949,
-0.07132960110902786,
-0.023153359070420265,
0.010525071062147617,
-0.014686563983559608,
0.009958820417523384,
0.0416688546538353,
0.021157998591661453,
0.04799648001790047,
0.06471435725688934,
-0.0021593922283500433,
0.017176268622279167,
0.012637276202440262,
-0.011909238994121552,
0.002624526619911194,
0.02266800031065941,
0.00944649800658226,
-0.0010482377838343382,
-0.032968368381261826,
0.05310172587633133,
0.0028492293786257505,
0.015495493076741695,
-0.012727157212793827,
-0.03307622671127319,
0.03226729854941368,
-0.045731477439403534,
0.03652765974402428,
-0.032878488302230835,
-0.03073931857943535,
0.012673228047788143,
-0.06687150150537491,
0.022542167454957962,
0.055007204413414,
0.0013987738639116287,
0.01086661871522665,
0.035826586186885834,
0.021481571719050407,
0.013005788438022137,
0.024178002029657364,
0.10548440366983414,
0.07938294112682343,
0.047744814306497574,
-0.11914632469415665,
0.013113644905388355,
0.04677410051226616,
-0.030020270496606827,
-0.029750628396868706,
0.012044060975313187,
0.0351974181830883,
0.016906626522541046,
0.012574358843266964,
0.02502288483083248,
-0.045623622834682465,
0.02633514814078808,
0.021499548107385635,
0.034532301127910614,
-0.011531738564372063,
0.013104657642543316,
0.051304105669260025,
-0.054072439670562744,
0.0656491219997406,
0.001211147173307836,
0.09397962689399719,
-0.06669174134731293,
-0.022973597049713135,
-0.052059102803468704,
0.011981143616139889,
0.005752387456595898,
0.019108710810542107,
0.01788632944226265,
0.0010409349342808127,
0.02466336078941822,
0.008588134311139584,
-0.015531445853412151,
0.010525071062147617,
0.07143745571374893,
-0.020402997732162476,
0.0009426274918951094,
-0.04860767349600792,
0.021607404574751854,
0.002294213743880391,
-0.001569547806866467,
0.012457513250410557,
-0.03395706042647362,
0.02081645093858242,
0.011765429750084877,
0.02081645093858242,
-0.03386718034744263,
-0.017293114215135574,
0.026892410591244698,
-0.0015111251268535852,
-0.025562170892953873,
-0.021877048537135124,
-0.022218596190214157,
0.0031930243130773306,
0.026910386979579926,
0.034064918756484985,
0.05216696113348007,
-0.014192217960953712,
0.014228170737624168,
-0.018191924318671227,
-0.01696055382490158,
-0.046989813446998596,
0.015109004452824593,
0.011810369789600372,
0.0035413133446127176,
0.03979932889342308,
0.03742646798491478,
-0.00967120099812746,
0.028384435921907425,
0.021787166595458984,
0.005707446951419115,
-0.0019088487606495619,
0.05989673361182213,
0.03595241904258728,
-0.049290768802165985,
0.037102896720170975,
0.024537526071071625,
0.06453459709882736,
-0.031062891706824303,
0.013059716671705246,
0.11044583469629288,
-0.005927655380219221,
0.011567691341042519,
0.020295141264796257,
0.02567002736032009,
0.02081645093858242,
0.011486798524856567,
-0.004004200920462608,
0.037642184644937515,
-0.043142903596162796,
-0.031314559280872345,
-0.035538967698812485,
-0.043070998042821884,
-0.04770886152982712,
0.016385314986109734,
-0.01871323399245739,
-0.0019863711204379797,
0.008695991709828377,
0.009100456722080708,
0.030793247744441032,
-0.07014317065477371,
0.004334513563662767,
-0.07287555932998657,
0.019000854343175888,
0.01651114970445633,
-0.0031728011090308428,
0.008026378229260445,
-0.06963983923196793,
0.026982290670275688,
0.015091028064489365,
0.03818146884441376,
-0.015702219679951668,
0.011477810330688953,
-0.06036411225795746,
0.014830373227596283,
0.01934240199625492,
-0.09081581234931946,
0.09182248264551163,
-0.022164667025208473,
-0.00003086150172748603,
0.01358102634549141,
0.01668192259967327,
-0.0038671321235597134,
0.0033031285274773836,
-0.008322984911501408,
0.01454275380820036,
-0.013949539512395859,
-0.01284400187432766,
-0.05356910452246666,
-0.0012246293481439352,
-0.008552181534469128,
-0.06881292909383774,
-0.021607404574751854,
0.04188457131385803,
-0.005541166756302118,
-0.004008695017546415,
0.03330991789698601,
-0.005347922444343567,
0.03850504383444786,
0.036725398153066635,
-0.045803382992744446,
0.07852008938789368,
-0.06848935782909393,
0.0010094766039401293,
-0.03381325304508209,
-0.016349364072084427,
-0.016124660149216652,
0.0428912378847599,
-0.02007942646741867,
-0.003671640995889902,
-0.038828615099191666,
-0.0425676666200161,
-0.12784680724143982,
-0.012349656783044338,
0.001966147916391492,
-0.014920254237949848,
-0.02926526963710785,
-0.049758151173591614,
0.03677932545542717,
-0.03649170696735382,
0.009302688762545586,
0.03514349088072777,
-0.003725569462403655,
-0.037462420761585236,
-0.015828052535653114,
0.023405024781823158,
-0.017176268622279167,
-0.006902864668518305,
-0.010659893043339252,
0.019576093181967735,
-0.004323278553783894,
-0.10023535043001175,
0.058638397604227066,
0.013814717531204224,
0.0632762610912323,
0.03221336752176285,
-0.03455027565360069,
-0.043250761926174164,
-0.06338411569595337,
-0.05191529542207718,
0.042963143438100815,
0.00944649800658226,
0.003624453442171216,
0.0487874336540699,
0.023315144702792168,
-0.011810369789600372,
-0.0021919740829616785,
-0.0008078059181571007,
-0.024249907582998276,
0.005195124540477991,
0.007060156669467688,
-0.10411820560693741,
-0.006727596744894981,
0.0186233539134264,
-0.008125247433781624,
-0.015351683832705021,
0.014012455940246582,
-0.018389662727713585,
0.031692057847976685,
0.03212348744273186,
0.01889299601316452,
0.003604230238124728,
0.050117675215005875,
-0.03311217948794365,
-0.0329863466322422,
-0.00981501117348671,
-0.006898370571434498,
0.003801968414336443,
0.02018728479743004,
0.04267552122473717,
0.021409666165709496,
-0.04486862197518349,
-0.04860767349600792,
0.03775004297494888,
0.03392110764980316,
0.0833377093076706,
0.0502614825963974,
0.014749480411410332,
-0.00839489046484232,
0.0013796741841360927,
-0.019288472831249237,
0.049290768802165985,
-0.027503602206707,
-0.06557721644639969,
0.012996800243854523,
-0.004022176843136549,
-0.009001587517559528,
-0.024645384401082993,
-0.052310772240161896,
0.016987519338726997,
-0.01786835305392742,
0.04619885981082916,
-0.030649438500404358,
-0.02356681227684021,
-0.0074331630021333694,
0.024537526071071625,
0.008507241494953632,
-0.04339457303285599,
-0.0032896464690566063,
0.015369659289717674,
-0.034334562718868256,
-0.05274220183491707,
-0.062233638018369675,
0.07104197889566422,
0.08146818727254868,
0.003397503634914756,
-0.002689690561965108,
-0.030883129686117172,
-0.12784680724143982,
-0.02549026533961296,
-0.022524191066622734,
-0.008992599323391914,
0.03025396168231964,
-0.030505629256367683,
0.010920547880232334,
0.007756734732538462,
-0.06899269670248032,
0.035826586186885834,
0.06043601781129837,
0.050585053861141205,
-0.004938963800668716,
-0.047636955976486206,
-0.056157682090997696,
0.06183816120028496,
-0.03284253552556038,
0.008669027127325535,
0.046450525522232056,
0.0007696065003983676,
0.028096815571188927,
-0.014354003593325615,
-0.019558116793632507,
-0.008453313261270523,
0.012538406997919083,
0.07043079286813736,
-0.022865738719701767,
0.04594719409942627,
0.0071814958937466145,
-0.022398358210921288,
-0.014605671167373657,
0.029121460393071175,
-0.07844818383455276,
0.017131328582763672,
-0.010183523409068584,
0.013086681254208088,
0.053784821182489395,
0.04235194995999336,
-0.04655838385224342,
0.003754780860617757,
0.03230325132608414,
0.0319257490336895,
0.035449087619781494,
-0.02879788912832737,
-0.03943980485200882,
-0.03386718034744263,
-0.049111004918813705,
-0.056912682950496674,
-0.013563050888478756,
0.0239443127065897,
-0.005581613164395094,
-0.013832693919539452,
0.06629626452922821,
-0.049111004918813705,
0.003381774527952075,
-0.03987123444676399,
-0.03091908060014248,
0.033058252185583115,
0.033777300268411636,
0.07736960798501968,
0.018191924318671227,
-0.031494319438934326,
0.028474316000938416,
-0.05914173275232315,
-0.011819357983767986,
-0.016457220539450645,
-0.007617419119924307,
-0.004204186145216227,
-0.01732007786631584,
0.052418630570173264,
-0.001159465522505343,
-0.020510856062173843,
0.024160025641322136,
0.018218889832496643,
-0.011316024698317051,
0.038576945662498474,
-0.044437192380428314,
0.001168453716672957,
-0.02593967132270336,
0.010498106479644775,
0.039763376116752625,
-0.018308769911527634,
-0.0656491219997406,
0.04713362455368042,
0.07406198233366013,
-0.009239772334694862,
0.015019123442471027,
-0.03632992133498192,
-0.02099621295928955,
0.04806838557124138,
0.002298707840964198,
0.013679895550012589,
-0.01750882901251316,
-0.009707153774797916,
0.0020616466645151377,
0.01063292846083641,
-0.04778076708316803,
0.014345015399158001,
0.07600341737270355,
-0.06651198118925095,
0.0187851395457983,
0.011100309900939465,
-0.0164931733161211,
0.0133023951202631,
0.0076488773338496685,
-0.02282978780567646,
0.03217741474509239,
0.05202315375208855,
0.020061450079083443,
0.02209276147186756,
0.0751405581831932,
0.031062891706824303,
-0.0031772952061146498,
-0.026658719405531883,
-0.028905745595693588,
-0.013158585876226425,
-0.017086388543248177,
0.030505629256367683,
0.027809197083115578,
-0.024142051115632057,
0.07222840934991837,
0.006709620356559753,
0.012250787578523159,
-0.01164858415722847,
-0.03336384519934654,
-0.01393156312406063,
0.00981501117348671,
-0.03307622671127319,
0.010534059256315231,
0.014578706584870815,
-0.050585053861141205,
0.04138123616576195,
-0.004069364629685879,
0.0008572405204176903,
-0.0008802725351415575,
-0.053964581340551376,
0.0032312236726284027,
-0.0001120002125389874,
-0.008489265106618404,
0.05903387442231178,
0.04569552466273308,
-0.04037456959486008,
-0.03165610507130623,
0.047097671777009964,
-0.02980455569922924,
-0.08031770586967468,
-0.027180029079318047,
-0.05619363114237785,
-0.04803243279457092,
-0.017625674605369568,
0.06198197230696678,
0.005986078176647425,
-0.05889006331562996,
0.010264416225254536,
0.04238790273666382,
-0.0001095425323001109,
0.008507241494953632,
0.013446205295622349,
0.03320205956697464,
-0.042495761066675186,
-0.027359791100025177,
0.021607404574751854,
0.0015886476030573249,
0.05903387442231178,
-0.0018627847312018275,
0.06316839903593063,
0.0061208996921777725,
0.0493626743555069,
-0.024609431624412537,
-0.03402896597981453,
0.05072886496782303,
-0.030613485723733902,
-0.06435482949018478,
-0.03954766318202019,
0.005689470563083887,
-0.010983464308083057,
0.00801739003509283,
0.01769757829606533,
0.023728597909212112,
0.02403419278562069,
0.006242238916456699,
-0.011765429750084877,
-0.04476076364517212,
-0.007720782421529293,
-0.019108710810542107,
0.04990195855498314,
-0.04824814945459366,
0.008731944486498833,
0.019558116793632507,
-0.02870800718665123,
0.03685123100876808,
-0.019288472831249237,
-0.06367173790931702,
0.01256537064909935,
0.005824292078614235,
0.031224677339196205,
0.049003150314092636,
-0.03836123272776604,
0.0493626743555069,
0.04706171900033951,
0.05155577138066292,
-0.05536672845482826,
-0.061226971447467804,
0.01430906355381012,
0.03492777794599533,
0.017221208661794662,
-0.043430522084236145,
-0.00335705722682178,
-0.09448295831680298,
-0.027108125388622284,
0.010012748651206493,
-0.021032165735960007,
-0.027647411450743675,
0.005954619497060776,
0.0289776511490345,
-0.04044647142291069,
0.06216173619031906,
0.02502288483083248,
0.0270541962236166,
0.006655691657215357,
-0.050585053861141205,
0.036186110228300095,
0.00857465248554945,
-0.026820505037903786,
-0.01786835305392742,
-0.04335862025618553,
-0.007482597604393959,
0.008673521690070629,
0.006269203498959541,
-0.021787166595458984,
0.06460650265216827,
-0.0046558384783566,
-0.008799354545772076,
0.03201562911272049,
-0.030218008905649185,
-0.012412573210895061,
0.04799648001790047,
-0.002790806582197547,
-0.014452872797846794,
0.052778154611587524,
-0.04533600062131882,
-0.05504315719008446,
-0.06701531261205673,
0.020618712529540062,
0.01159465592354536,
0.06338411569595337,
0.035538967698812485,
0.024968955665826797,
-0.07104197889566422,
-0.01545954030007124,
-0.037102896720170975,
-0.04972219839692116,
-0.020744547247886658,
-0.039403852075338364,
0.008565664291381836,
-0.0034649146255105734,
0.05957316234707832,
0.020744547247886658,
-0.03277062997221947,
0.07208460569381714,
-0.03311217948794365,
-0.007864591665565968,
0.032968368381261826,
0.026550862938165665,
-0.03212348744273186,
0.010668880306184292,
0.017365019768476486,
0.05504315719008446,
-0.05198720097541809,
0.01740995980799198,
-0.026802528649568558,
-0.06291673332452774,
-0.019306449219584465,
0.029876461252570152,
-0.03307622671127319,
-0.005365898832678795,
-0.04817624390125275,
-0.04321480914950371,
-0.026820505037903786,
-0.0009499303414486349,
-0.000012016324035357684,
0.025346456095576286,
-0.02768336422741413,
-0.019486211240291595,
-0.031062891706824303,
-0.05820696800947189,
0.04368219152092934,
-0.026622766628861427,
0.05400053411722183,
0.02367466874420643,
-0.013446205295622349,
0.03771409019827843,
0.02045692689716816,
0.024070145562291145,
0.03926004469394684,
0.025292526930570602,
0.032698728144168854,
-0.016529126092791557,
0.03695908933877945,
0.042603619396686554,
-0.009931855835020542,
-0.0010959870414808393,
0.039403852075338364,
0.04637862369418144,
-0.015414600260555744,
-0.0047681899741292,
0.010390249080955982,
-0.007352270185947418,
0.025472288951277733,
0.006206286605447531,
-0.008952152915298939,
0.002194221131503582,
0.04073409363627434
]
|
37,087 | sphinx_autodoc_typehints | process_signature |
Process the signature.
:param app:
:param what:
:param name:
:param obj:
:param options:
:param signature:
:param return_annotation:
:return:
| def process_signature( # noqa: C901, PLR0913, PLR0917
app: Sphinx,
what: str,
name: str,
obj: Any,
options: Options, # noqa: ARG001
signature: str, # noqa: ARG001
return_annotation: str, # noqa: ARG001
) -> tuple[str, None] | None:
"""
Process the signature.
:param app:
:param what:
:param name:
:param obj:
:param options:
:param signature:
:param return_annotation:
:return:
"""
if not callable(obj):
return None
original_obj = obj
obj = getattr(obj, "__init__", getattr(obj, "__new__", None)) if inspect.isclass(obj) else obj
if not getattr(obj, "__annotations__", None): # when has no annotation we cannot autodoc typehints so bail
return None
obj = inspect.unwrap(obj)
sph_signature = sphinx_signature(obj)
if app.config.typehints_use_signature:
parameters = list(sph_signature.parameters.values())
else:
parameters = [param.replace(annotation=inspect.Parameter.empty) for param in sph_signature.parameters.values()]
# if we have parameters we may need to delete first argument that's not documented, e.g. self
start = 0
if parameters:
if inspect.isclass(original_obj) or (what == "method" and name.endswith(".__init__")):
start = 1
elif what == "method":
# bail if it is a local method as we cannot determine if first argument needs to be deleted or not
if "<locals>" in obj.__qualname__ and not _is_dataclass(name, what, obj.__qualname__):
_LOGGER.warning('Cannot handle as a local function: "%s" (use @functools.wraps)', name)
return None
outer = inspect.getmodule(obj)
for class_name in obj.__qualname__.split(".")[:-1]:
outer = getattr(outer, class_name)
method_name = obj.__name__
if method_name.startswith("__") and not method_name.endswith("__"):
# when method starts with double underscore Python applies mangling -> prepend the class name
method_name = f"_{obj.__qualname__.split('.')[-2]}{method_name}"
method_object = outer.__dict__[method_name] if outer else obj
if not isinstance(method_object, (classmethod, staticmethod)):
start = 1
sph_signature = sph_signature.replace(parameters=parameters[start:])
show_return_annotation = app.config.typehints_use_signature_return
unqualified_typehints = not getattr(app.config, "typehints_fully_qualified", False)
return (
stringify_signature(
sph_signature,
show_return_annotation=show_return_annotation,
unqualified_typehints=unqualified_typehints,
).replace("\\", "\\\\"),
None,
)
| (app: 'Sphinx', what: 'str', name: 'str', obj: 'Any', options: 'Options', signature: 'str', return_annotation: 'str') -> 'tuple[str, None] | None' | [
0.004988286178559065,
-0.03986813500523567,
0.00802131649106741,
0.015851875767111778,
-0.03153207153081894,
-0.05955422297120094,
0.00430156197398901,
0.053984127938747406,
0.040211498737335205,
0.020964154973626137,
-0.005775156896561384,
-0.013887083157896996,
0.04570528864860535,
-0.057799261063337326,
-0.05882934480905533,
0.03176097944378853,
0.04093637317419052,
0.01985776610672474,
-0.02157457545399666,
-0.0040368870832026005,
0.026438869535923004,
0.016920113936066628,
-0.02208961732685566,
0.030406607314944267,
-0.0003293532645329833,
-0.013772629201412201,
0.05245807394385338,
0.013600948266685009,
-0.003741214517503977,
-0.047879915684461594,
0.02687761001288891,
-0.03963922709226608,
0.06096582114696503,
0.050817567855119705,
0.02125028893351555,
-0.025733070448040962,
0.028670722618699074,
0.03260030969977379,
-0.008488669991493225,
-0.009766739793121815,
-0.043378058820962906,
0.02758340910077095,
0.005508097819983959,
-0.05470900237560272,
0.01427813433110714,
0.04952042177319527,
0.005965913645923138,
0.09713327884674072,
-0.07378466427326202,
0.03013954870402813,
0.03155114874243736,
-0.05631135776638985,
-0.0001257801486644894,
-0.011941364966332912,
-0.008665120229125023,
0.010205480270087719,
0.046353861689567566,
0.06932096183300018,
0.014115991070866585,
0.02348214201629162,
0.09240251034498215,
0.07531072199344635,
0.03242862597107887,
-0.006228203885257244,
0.02888055518269539,
-0.008240686729550362,
0.05268698185682297,
0.0013507953844964504,
-0.043225452303886414,
-0.0007564692641608417,
-0.03986813500523567,
-0.03567149117588997,
0.00011467752483440563,
0.031188709661364555,
-0.0037483677733689547,
-0.05581539124250412,
-0.011903214268386364,
0.017511459067463875,
0.02748803049325943,
-0.04173755273222923,
0.02250928245484829,
0.0076445722952485085,
-0.016357380896806717,
-0.04208091273903847,
-0.01490763109177351,
0.026705928146839142,
-0.02428331971168518,
0.009266003035008907,
0.005498560145497322,
-0.023844579234719276,
-0.050397902727127075,
0.017358854413032532,
0.0072630587965250015,
0.035461656749248505,
-0.009609365835785866,
-0.03843746334314346,
0.013076366856694221,
-0.05234362185001373,
0.021135834977030754,
-0.014850404113531113,
-0.023653822019696236,
0.05650211498141289,
-0.021326592192053795,
0.027507105842232704,
0.0393340177834034,
-0.025084497407078743,
-0.0024333393666893244,
-0.04726949334144592,
0.027697863057255745,
0.010672833770513535,
0.026438869535923004,
-0.02748803049325943,
-0.03595762699842453,
-0.029014084488153458,
0.022680964320898056,
-0.06352195888757706,
-0.01870368793606758,
-0.0187990665435791,
-0.0785154327750206,
-0.006657406687736511,
0.03231417387723923,
-0.048719245940446854,
-0.04135603830218315,
-0.0520002581179142,
-0.005112277809530497,
-0.005064588505774736,
0.04375957325100899,
0.03069274313747883,
-0.004005889408290386,
-0.06153808906674385,
0.004494703374803066,
0.03195173665881157,
-0.05070311203598976,
-0.013791704550385475,
0.006290200166404247,
-0.03000601939857006,
0.0637890174984932,
-0.0003463425091467798,
-0.07626450061798096,
0.008340833708643913,
-0.0059325313195586205,
0.04601050168275833,
0.02405441179871559,
0.012008130550384521,
-0.03464140370488167,
0.002254504943266511,
0.004458936396986246,
-0.04116528108716011,
-0.0018801450496539474,
0.01921873167157173,
-0.006328351330012083,
-0.022814493626356125,
0.07332684844732285,
0.01364863757044077,
-0.03378299996256828,
-0.045323777943849564,
0.023367688059806824,
-0.05791371315717697,
-0.04673537611961365,
0.012685316614806652,
0.035652413964271545,
-0.06649776548147202,
0.03275291249155998,
-0.08759544789791107,
0.007482429035007954,
-0.0026443637907505035,
0.01523191761225462,
0.028289208188652992,
-0.041050828993320465,
0.019142428413033485,
-0.02586659975349903,
0.05215286463499069,
0.005527173634618521,
0.0012268036371096969,
0.022776342928409576,
0.10453463345766068,
-0.0010074335150420666,
0.013009602203965187,
0.014554731547832489,
-0.0217653326690197,
0.04917706176638603,
-0.01577557437121868,
-0.003700678702443838,
-0.020945077762007713,
0.015088849700987339,
0.03088349848985672,
-0.032295096665620804,
0.03944847360253334,
0.009223083034157753,
-0.026248112320899963,
0.02506542205810547,
-0.004139419179409742,
0.045094870030879974,
-0.0013698710827156901,
0.018818141892552376,
0.044446296989917755,
-0.08217795938253403,
0.03859006613492966,
0.03218064457178116,
-0.029605429619550705,
0.03446972370147705,
-0.024168865755200386,
0.006275893189013004,
-0.02023927867412567,
-0.007925937883555889,
0.05173319950699806,
0.05539572611451149,
0.07634080201387405,
-0.08568788319826126,
-0.017082257196307182,
0.02790769562125206,
-0.054403793066740036,
-0.03841838613152504,
-0.012132122181355953,
0.013524645008146763,
-0.030635515227913857,
0.047841764986515045,
0.011865062639117241,
0.00028762524016201496,
-0.01523191761225462,
0.03618653491139412,
0.024302395060658455,
-0.013524645008146763,
0.02195608802139759,
0.03599577769637108,
-0.0014318670146167278,
0.04475150629878044,
-0.016357380896806717,
0.06848163157701492,
-0.08347510546445847,
0.017568685114383698,
-0.0657728910446167,
0.019275957718491554,
0.02125028893351555,
-0.007439508568495512,
0.0018098035361617804,
0.03218064457178116,
0.0014580959687009454,
0.020639868453145027,
-0.04623940959572792,
0.03231417387723923,
0.03859006613492966,
-0.0028613496106117964,
0.06581103801727295,
-0.07096146792173386,
-0.019085200503468513,
0.023100627586245537,
0.023787351325154305,
0.05345000699162483,
-0.03944847360253334,
-0.031055180355906487,
0.03263846039772034,
-0.014135066419839859,
-0.021059531718492508,
0.01878952793776989,
0.01943810097873211,
0.008660350926220417,
-0.02693483605980873,
0.02205146662890911,
0.02279541827738285,
0.02321508154273033,
0.009690437465906143,
0.04238612577319145,
0.037369225174188614,
0.001000280142761767,
0.01337204035371542,
0.011922289617359638,
-0.006452342960983515,
-0.03275291249155998,
0.042576879262924194,
-0.013076366856694221,
-0.06027909740805626,
-0.016729356721043587,
-0.007425202056765556,
0.004377864766865969,
-0.005484253168106079,
-0.018121879547834396,
0.0014330592239275575,
0.009504449553787708,
0.023329535499215126,
0.0403641052544117,
-0.053831521421670914,
0.06424683332443237,
0.03612930700182915,
0.0339546799659729,
0.057646654546260834,
0.01600448228418827,
0.040440406650304794,
0.00809285044670105,
-0.0004864294023718685,
0.003905742196366191,
0.021193062886595726,
0.012380105443298817,
-0.024016261100769043,
-0.009995647706091404,
0.0531066469848156,
-0.08385661989450455,
-0.052725132554769516,
0.007353668101131916,
-0.06863423436880112,
-0.0014044457348063588,
0.08835846930742264,
0.02851811610162258,
-0.02586659975349903,
0.026667777448892593,
0.022490207105875015,
0.05364076420664787,
-0.07271642982959747,
0.01558481715619564,
-0.04055485874414444,
-0.04246242716908455,
0.030349381268024445,
0.00021802887204103172,
-0.0413941890001297,
-0.019037511199712753,
0.037140317261219025,
0.04990193620324135,
0.0002098323020618409,
0.03990628942847252,
0.049749329686164856,
-0.0006968578090891242,
0.019142428413033485,
-0.013820318505167961,
-0.037521831691265106,
0.09148687869310379,
-0.074395090341568,
-0.08843477815389633,
0.02767878770828247,
-0.01846524141728878,
0.014011074788868427,
-0.02952912636101246,
0.021841634064912796,
0.027697863057255745,
0.01898028515279293,
-0.02706836722791195,
-0.008622200228273869,
0.0021889323834329844,
-0.01846524141728878,
-0.06340750306844711,
-0.03136039152741432,
0.03683510422706604,
-0.04227166995406151,
0.013085905462503433,
0.059744976460933685,
-0.01953347958624363,
0.034584179520606995,
0.02613365836441517,
-0.04940596967935562,
0.08988452702760696,
-0.08652720600366592,
-0.002963881241157651,
-0.0307881198823452,
-0.011702919378876686,
-0.00034127553226426244,
0.0784391313791275,
-0.021173985674977303,
-0.013085905462503433,
-0.010110101662576199,
-0.048299580812454224,
-0.05703623220324516,
0.041508644819259644,
-0.021898861974477768,
-0.05345000699162483,
-0.030063245445489883,
0.02166995406150818,
0.02088785171508789,
-0.04452259838581085,
-0.020220203325152397,
-0.04047855734825134,
0.001697733998298645,
-0.010062412358820438,
-0.056578416377305984,
-0.03275291249155998,
-0.03324888274073601,
0.005670241080224514,
0.03263846039772034,
0.009890731424093246,
0.019466714933514595,
-0.09682806581258774,
0.003319165436550975,
0.003052106127142906,
0.04768915846943855,
0.01930457167327404,
-0.004685459658503532,
0.00853158999234438,
-0.013839393854141235,
-0.02846089005470276,
-0.01232287846505642,
-0.005970682483166456,
0.017654526978731155,
0.0014914784114807844,
-0.011826911009848118,
0.0018634538864716887,
-0.0068720076233148575,
-0.0003132581477984786,
-0.036167457699775696,
-0.047040585428476334,
0.03817040100693703,
-0.07565408200025558,
-0.009242159314453602,
0.04387402534484863,
-0.042119063436985016,
-0.008970330469310284,
-0.03494661673903465,
0.0023141163401305676,
-0.025218026712536812,
0.01972423680126667,
-0.01799788884818554,
-0.0000752594496589154,
0.056540265679359436,
0.002467914018779993,
-0.05875304341316223,
-0.014526117593050003,
0.001547513180412352,
0.07164819538593292,
0.0669555813074112,
0.04097452387213707,
0.04845218360424042,
-0.022986173629760742,
0.0013233741046860814,
0.039982590824365616,
0.04181385412812233,
0.05074126645922661,
0.06863423436880112,
0.011178338900208473,
0.0540604293346405,
-0.04429369047284126,
-0.026400718837976456,
0.02441684901714325,
-0.0056511652655899525,
-0.016767507418990135,
-0.021212138235569,
-0.00040297338273376226,
0.011922289617359638,
-0.05856228619813919,
-0.00920877605676651,
-0.0011588465422391891,
-0.0030449528712779284,
0.021841634064912796,
0.039982590824365616,
-0.006075598765164614,
0.004065500572323799,
-0.0455908365547657,
-0.013963385485112667,
0.013124056160449982,
-0.029700808227062225,
-0.012942837551236153,
-0.0007373936241492629,
0.02683945931494236,
-0.05497606098651886,
0.0912579745054245,
0.0414704903960228,
0.037655360996723175,
-0.053831521421670914,
-0.008526821620762348,
-0.07298348844051361,
0.008221611380577087,
-0.05116092786192894,
-0.020258354023098946,
0.01500300969928503,
-0.010691909119486809,
0.0338783785700798,
0.012713929638266563,
-0.01650998741388321,
0.019991295412182808,
0.0222803745418787,
0.03622468560934067,
-0.033649470657110214,
-0.0934707522392273,
-0.026667777448892593,
0.0912579745054245,
-0.0637890174984932,
0.01730162650346756,
0.04589604586362839,
0.006304506678134203,
0.03219971805810928,
0.007320285774767399,
0.005946837831288576,
-0.014354436658322811,
0.022814493626356125,
0.0387045219540596,
-0.051046475768089294,
0.00008785237150732428,
0.06657406687736511,
-0.008750960230827332,
-0.0014151757350191474,
0.003006801474839449,
-0.07187709957361221,
-0.012980989180505276,
-0.000019932578652515076,
-0.012809308245778084,
0.02460760623216629,
0.013820318505167961,
0.00019239594985265285,
0.031055180355906487,
0.021612726151943207,
0.038818974047899246,
-0.0032309405505657196,
-0.06905390322208405,
-0.04215721786022186,
-0.04173755273222923,
-0.04673537611961365,
-0.009785815142095089,
-0.015203303657472134,
0.06707002967596054,
-0.04284394159913063,
-0.004456551745533943,
-0.001477171666920185,
-0.053373705595731735,
0.005541480146348476,
-0.10339009761810303,
-0.014306747354567051,
0.03088349848985672,
0.03525182604789734,
-0.007897324860095978,
0.02506542205810547,
-0.02703021466732025,
-0.012284726835787296,
-0.006118519231677055,
-0.03967738151550293,
-0.008188228122889996,
-0.02930021844804287,
0.011073422618210316,
-0.012599475681781769,
0.05963052436709404,
-0.034488800913095474,
-0.0029138075187802315,
-0.02302432619035244,
0.04333990812301636,
-0.009003712795674801,
0.01814095675945282,
0.019056588411331177,
-0.0027826623991131783,
-0.0076970299705863,
-0.007119991350919008,
0.05283958837389946,
-0.052534375339746475,
-0.05745589733123779,
0.055510181933641434,
0.024111637845635414,
0.018350787460803986,
0.041279736906290054,
-0.08347510546445847,
0.03906695917248726,
0.012408719398081303,
0.021040456369519234,
0.01949532888829708,
-0.0350610688328743,
-0.017473308369517326,
-0.01471687387675047,
-0.03876174986362457,
-0.017377929762005806,
0.06344565749168396,
0.05432748794555664,
-0.04032595083117485,
-0.006819549482315779,
0.06176699697971344,
0.0028518117032945156,
0.00791163183748722,
-0.022909872233867645,
-0.03084534779191017,
0.018064653500914574,
0.036816030740737915,
-0.0445607490837574,
-0.05863858759403229,
0.0786680355668068,
0.03195173665881157,
-0.00844574999064207,
-0.039047881960868835,
-0.028689797967672348,
-0.01738746650516987,
-0.00620912853628397,
0.03359224274754524,
0.012980989180505276,
-0.022547435015439987,
0.06966432183980942,
0.015832800418138504,
0.004213337320834398,
-0.05245807394385338,
-0.027697863057255745,
0.09575983136892319,
-0.024016261100769043,
-0.03618653491139412,
-0.019991295412182808,
-0.019552554935216904,
-0.016204776242375374,
0.005865766666829586,
-0.010520228184759617,
-0.016805659979581833,
0.019914992153644562,
-0.07122852653265,
0.016443222761154175,
0.041279736906290054,
-0.04711688682436943,
0.025103572756052017,
0.05963052436709404,
-0.0034002370666712523,
-0.001942140981554985,
0.03176097944378853,
-0.04215721786022186,
-0.02027742937207222,
0.0005156390252523124,
0.003664911724627018,
-0.025828449055552483,
0.015804186463356018,
0.05074126645922661,
-0.03336333483457565,
-0.006833856459707022,
0.011903214268386364,
0.0027206665836274624,
0.011922289617359638,
0.005813308525830507,
0.010167328640818596,
-0.02874702401459217,
-0.019647933542728424,
0.02596197836101055,
-0.005040743853896856,
-0.0019993679597973824,
0.06199590489268303,
0.023978108540177345,
-0.018627384677529335,
-0.013200359418988228,
0.0027516644913703203,
-0.03382115066051483,
-0.05329740419983864,
-0.011264178901910782,
-0.04452259838581085,
-0.025885675102472305,
0.015642043203115463,
-0.038952503353357315,
-0.02289079688489437,
-0.05955422297120094,
0.06096582114696503,
-0.030597364529967308,
0.06344565749168396,
-0.019743312150239944,
-0.05119908228516579,
0.007172449491918087,
-0.05112277716398239,
0.044217389076948166,
0.06493356078863144,
-0.06073691323399544,
-0.05928716063499451,
0.05642581358551979,
-0.01490763109177351,
0.007868710905313492,
-0.007945014163851738,
-0.04116528108716011,
0.04963487759232521,
0.005799001548439264,
0.024569453671574593,
0.06581103801727295,
-0.058447834104299545,
-0.004728380125015974,
0.005617782939225435,
0.01841755211353302,
-0.024264244362711906,
-0.03899065777659416,
-0.0055796317756175995,
0.01775944232940674,
0.044865962117910385,
-0.055243119597435,
-0.027964921668171883,
-0.002272388432174921,
-0.029109463095664978,
-0.006008834112435579,
-0.03567149117588997,
0.009499680250883102,
0.06939726322889328,
0.0005928358295932412,
-0.008512514643371105,
0.03889527916908264,
0.014821790158748627,
0.0045018563978374004,
-0.015479900874197483,
-0.0371212400496006,
0.05306849628686905,
0.02451222762465477,
0.0023010019212961197,
0.021135834977030754,
-0.03282921761274338,
0.010215017944574356,
-0.015498976223170757,
0.0096761304885149,
-0.01118787657469511,
0.001930218655616045,
0.020201127976179123,
-0.002744511002674699,
0.026686852797865868,
-0.04581974446773529,
-0.007453815545886755,
-0.05497606098651886,
0.051046475768089294,
-0.015155614353716373,
-0.004618695005774498,
0.035232748836278915,
-0.036587122827768326,
-0.04436999186873436,
0.006013602949678898,
-0.013162207789719105,
0.04581974446773529,
0.03817040100693703,
-0.00890356581658125,
-0.017358854413032532,
-0.03382115066051483,
0.014640571549534798,
-0.01267577800899744,
-0.03372577205300331,
0.007821021601557732,
-0.013286199420690536,
-0.007000768557190895,
0.009032326750457287,
0.027640637010335922,
0.00021713470050599426,
0.07531072199344635,
0.0008077351376414299,
-0.040860071778297424,
0.03036845661699772,
0.08347510546445847,
-0.020105749368667603,
-0.04562898725271225,
0.00010014723375206813,
0.05814262107014656,
-0.028899630531668663,
-0.012876072898507118,
0.0015439365524798632,
0.0196670088917017,
-0.011912751942873001,
-0.004671153146773577,
-0.0038675907999277115,
-0.006366502493619919,
-0.024245169013738632,
-0.07180079817771912,
-0.013248047791421413,
0.00776856392621994,
-0.023882729932665825,
0.042424276471138,
0.002235429361462593,
-0.026076432317495346,
-0.04303469508886337,
-0.04818512499332428,
0.08172014355659485,
-0.04540007933974266,
0.03994444012641907,
0.09614134579896927,
-0.006542952731251717,
0.011569390073418617,
-0.0028923475183546543,
0.01929503306746483,
-0.02596197836101055,
0.06409423053264618,
0.037140317261219025,
-0.028479965403676033,
-0.03496569022536278,
-0.008884490467607975,
0.006919696927070618,
-0.00577992619946599,
0.06153808906674385,
0.019609782844781876,
-0.025637691840529442,
-0.0413941890001297,
0.014421201311051846,
0.036014851182699203,
-0.0014020613161846995,
-0.0008077351376414299,
0.020162975415587425,
-0.034813087433576584,
0.03511829674243927
]
|
37,090 | sphinx_autodoc_typehints | setup | null | def setup(app: Sphinx) -> dict[str, bool]:
app.add_config_value("always_document_param_types", False, "html") # noqa: FBT003
app.add_config_value("typehints_fully_qualified", False, "env") # noqa: FBT003
app.add_config_value("typehints_document_rtype", True, "env") # noqa: FBT003
app.add_config_value("typehints_use_rtype", True, "env") # noqa: FBT003
app.add_config_value("typehints_defaults", None, "env")
app.add_config_value("simplify_optional_unions", True, "env") # noqa: FBT003
app.add_config_value("always_use_bars_union", False, "env") # noqa: FBT003
app.add_config_value("typehints_formatter", None, "env")
app.add_config_value("typehints_use_signature", False, "env") # noqa: FBT003
app.add_config_value("typehints_use_signature_return", False, "env") # noqa: FBT003
app.add_role("sphinx_autodoc_typehints_type", sphinx_autodoc_typehints_type_role)
app.connect("env-before-read-docs", validate_config) # config may be changed after “config-inited” event
app.connect("autodoc-process-signature", process_signature)
app.connect("autodoc-process-docstring", process_docstring)
install_patches(app)
return {"parallel_read_safe": True, "parallel_write_safe": True}
| (app: 'Sphinx') -> 'dict[str, bool]' | [
0.017434602603316307,
-0.027253886684775352,
0.04723290354013443,
-0.005048509221524,
0.032539814710617065,
0.05959659814834595,
0.00947883352637291,
-0.038166191428899765,
-0.009008475579321384,
-0.013483596034348011,
0.018814319744706154,
-0.02413608506321907,
0.07776585221290588,
0.04450930655002594,
0.012238266877830029,
-0.016108641400933266,
-0.0016182555118575692,
0.0713152289390564,
0.04669535160064697,
0.011342346668243408,
-0.001501785940490663,
-0.042394932359457016,
0.004613988101482391,
0.011091489344835281,
-0.005066427402198315,
0.02055240422487259,
0.0011031015310436487,
-0.021806692704558372,
0.05870067700743675,
-0.08149288594722748,
-0.03895460069179535,
-0.0638970136642456,
0.05522450804710388,
0.0061415317468345165,
0.057697247713804245,
-0.052429236471652985,
0.04368505999445915,
0.07970104366540909,
-0.014943945221602917,
0.01888599433004856,
-0.02358061447739601,
-0.029905809089541435,
0.03153638541698456,
-0.04217991232872009,
-0.0009983908385038376,
0.03060462698340416,
-0.020713670179247856,
0.025659149512648582,
-0.06092255935072899,
0.02365228720009327,
-0.004262339323759079,
-0.03603390231728554,
0.040029704570770264,
0.06468542665243149,
-0.017291255295276642,
-0.019029339775443077,
-0.012417451478540897,
0.05934574082493782,
0.03556802496314049,
0.010679366067051888,
0.02940409444272518,
0.05400605872273445,
0.0069254613481462,
-0.01502457819879055,
0.02553371898829937,
0.008273821324110031,
0.0009827122557908297,
-0.010231406427919865,
0.015651721507310867,
-0.030730055645108223,
-0.029887890443205833,
-0.039492152631282806,
-0.01013285480439663,
-0.01074208039790392,
0.04863053560256958,
-0.03171556815505028,
-0.04010137915611267,
0.00953258853405714,
0.040137216448783875,
-0.019602729007601738,
0.010455386713147163,
0.04124815762042999,
-0.02506784163415432,
0.020910773426294327,
0.04271746426820755,
0.05719553306698799,
-0.060134150087833405,
0.060241661965847015,
0.09496752172708511,
-0.0239389818161726,
0.017407724633812904,
0.02761225402355194,
0.04959813132882118,
0.050458215177059174,
-0.007230074144899845,
0.028418581932783127,
-0.0030214902944862843,
-0.035729289054870605,
-0.061280928552150726,
0.012928125448524952,
-0.025139514356851578,
0.039850521832704544,
0.050565723329782486,
-0.015795068815350533,
-0.019584810361266136,
-0.028508173301815987,
-0.04010137915611267,
0.027433069422841072,
0.0394204780459404,
-0.02759433537721634,
-0.0365893729031086,
-0.05336099490523338,
0.015633804723620415,
-0.03531716763973236,
0.005236652214080095,
-0.029224909842014313,
0.0347258597612381,
-0.02827523462474346,
0.008009525015950203,
0.01651180535554886,
0.0197102390229702,
0.014621414244174957,
-0.006181847769767046,
-0.040495581924915314,
0.05106743797659874,
-0.00886960793286562,
0.024261513724923134,
0.06178264319896698,
0.002875903155654669,
-0.05762557312846184,
-0.009389241226017475,
0.015839865431189537,
-0.03780782222747803,
-0.027253886684775352,
0.03390161320567131,
-0.001286765094846487,
0.011010856367647648,
0.032987773418426514,
-0.027450988069176674,
0.022236734628677368,
-0.06131676584482193,
0.03415247052907944,
-0.014818516559898853,
-0.02872319519519806,
-0.026967192068696022,
-0.012381614185869694,
-0.06808991730213165,
-0.013259615749120712,
0.016923928633332253,
0.03547843173146248,
0.003234271192923188,
-0.03533508628606796,
-0.01037475373595953,
0.016547642648220062,
-0.059954967349767685,
0.04121232032775879,
-0.004360890481621027,
0.020409056916832924,
0.05608459189534187,
0.012363695539534092,
0.01066144835203886,
-0.03069421835243702,
0.03372242674231529,
-0.0008018484222702682,
-0.03184099495410919,
0.03560386225581169,
-0.07905597984790802,
-0.043039996176958084,
0.01164695993065834,
0.04705371707677841,
-0.00854259729385376,
-0.03336406126618385,
-0.0037875017151236534,
-0.009129424579441547,
0.07461221516132355,
0.017129991203546524,
0.03304152935743332,
0.026788007467985153,
-0.0003491288225632161,
0.012668308801949024,
-0.008663546293973923,
0.01886807568371296,
-0.054866138845682144,
0.03320279344916344,
-0.00268552009947598,
0.07296372205018997,
-0.0178288072347641,
0.03209185600280762,
0.02046281285583973,
0.02479906566441059,
0.0337761826813221,
-0.010347875766456127,
-0.0016518525080755353,
-0.016735784709453583,
0.005483030341565609,
0.03981468454003334,
-0.006231123581528664,
-0.00235850946046412,
-0.00593547010794282,
-0.005626377649605274,
-0.007413737941533327,
0.024727391079068184,
0.03709108754992485,
0.07669074833393097,
0.024440698325634003,
0.01141402032226324,
0.029834136366844177,
0.0008248063386417925,
-0.03809451684355736,
-0.03653561696410179,
0.05597708001732826,
-0.048881396651268005,
0.004282497800886631,
-0.027666009962558746,
0.01709415391087532,
-0.02338351123034954,
0.0277018453925848,
0.014666209928691387,
-0.04103313758969307,
0.025462046265602112,
0.03777198866009712,
0.014298883266746998,
0.03691190481185913,
-0.020785344764590263,
0.05296678841114044,
-0.044115100055933,
0.003758384380489588,
-0.03687606751918793,
0.027934785932302475,
-0.03576512634754181,
0.005133621394634247,
0.03522757440805435,
0.027683928608894348,
0.008457484655082226,
0.03078381158411503,
-0.014881230890750885,
0.04544106125831604,
0.027253886684775352,
-0.010455386713147163,
0.015615885145962238,
0.034242063760757446,
0.05192752182483673,
0.0004846367228310555,
-0.0038390171248465776,
-0.07855426520109177,
-0.011216918006539345,
0.033561162650585175,
-0.01895766705274582,
0.011225877329707146,
-0.0028378264978528023,
-0.01224722620099783,
-0.015526293776929379,
-0.010867509990930557,
0.032539814710617065,
-0.010150773450732231,
0.023168491199612617,
-0.00029957323567941785,
-0.003207393689081073,
-0.015230639837682247,
-0.07540062814950943,
-0.0027325560804456472,
0.04139150306582451,
0.002367468550801277,
0.08228129148483276,
-0.02517535164952278,
0.0197281576693058,
0.043434202671051025,
-0.025748740881681442,
-0.1013464704155922,
0.011700714938342571,
0.04196489229798317,
0.07970104366540909,
0.009098067879676819,
0.017613787204027176,
-0.013841964304447174,
-0.0037404659669846296,
0.01314314641058445,
0.006495419889688492,
-0.0338299386203289,
0.040997300297021866,
0.028024377301335335,
-0.056299611926078796,
0.057697247713804245,
0.058629006147384644,
0.02028362825512886,
-0.03988635912537575,
-0.05239340290427208,
0.12342193722724915,
-0.00537104019895196,
-0.02845441922545433,
-0.011987409554421902,
0.008287260308861732,
0.02234424464404583,
-0.00916078221052885,
0.0014525102451443672,
0.030371688306331635,
-0.04522604122757912,
0.01754211261868477,
-0.03257565200328827,
-0.10285161435604095,
-0.008103596046566963,
0.027863111346960068,
-0.03304152935743332,
0.05794810503721237,
0.04837967827916145,
0.012972921133041382,
-0.00197214400395751,
-0.060886722058057785,
0.0038614151999354362,
-0.03512006253004074,
-0.03155430406332016,
0.014379516243934631,
0.0010420669568702579,
0.06418371200561523,
-0.06264272332191467,
0.008703862316906452,
0.003951007034629583,
-0.0054785506799817085,
-0.012005328200757504,
0.034869205206632614,
-0.02976246178150177,
0.03184099495410919,
0.03350740671157837,
-0.0985511988401413,
0.05146164447069168,
-0.007283829618245363,
0.024386942386627197,
-0.03467210382223129,
-0.011055652983486652,
0.02524702623486519,
-0.05898737162351608,
0.025945842266082764,
0.03576512634754181,
0.03927713260054588,
-0.05128246173262596,
-0.014773720875382423,
0.02825731597840786,
-0.03734194487333298,
-0.021072037518024445,
-0.037126924842596054,
0.009017434902489185,
0.0014894669875502586,
-0.016941847279667854,
-0.02741515263915062,
0.0067194001749157906,
-0.015651721507310867,
-0.06525881588459015,
0.001921748393215239,
0.06683563441038132,
-0.05210670828819275,
0.05748222768306732,
-0.011154203675687313,
-0.03594430908560753,
0.005603979341685772,
0.03175140544772148,
-0.07432552427053452,
-0.0591665580868721,
-0.014621414244174957,
0.001945266267284751,
-0.014513904228806496,
-0.04282497614622116,
0.009308609180152416,
0.006025061942636967,
0.010580815374851227,
-0.030461279675364494,
0.03146471083164215,
-0.015436701476573944,
0.02958327904343605,
0.01168279629200697,
-0.03040752373635769,
-0.0019486260134726763,
-0.042287424206733704,
0.0010241485433652997,
-0.03698357567191124,
0.0183036457747221,
-0.037306107580661774,
-0.054507773369550705,
-0.019298117607831955,
-0.11797474324703217,
0.034510839730501175,
0.040603093802928925,
0.04311167076230049,
0.000036361754609970376,
-0.026555068790912628,
-0.018258849158883095,
-0.13367126882076263,
-0.03418830782175064,
0.007346543949097395,
-0.0138509226962924,
0.015732355415821075,
0.03830954059958458,
0.027182212099432945,
-0.041749872267246246,
0.031679730862379074,
-0.04214407503604889,
-0.03528133034706116,
-0.053934384137392044,
0.027271805331110954,
0.013877800665795803,
0.012041164562106133,
0.037306107580661774,
-0.07540062814950943,
0.048666372895240784,
0.013304412364959717,
0.05504532530903816,
0.07719247043132782,
0.022218815982341766,
-0.0011400581570342183,
0.01849178783595562,
0.03866790607571602,
-0.03372242674231529,
0.004575911443680525,
-0.02083909884095192,
0.034224145114421844,
-0.040495581924915314,
-0.018455952405929565,
0.037306107580661774,
0.010733121074736118,
0.008327576331794262,
-0.009756568819284439,
0.0516049899160862,
-0.01535606849938631,
0.043613385409116745,
0.06769571453332901,
0.054579444229602814,
0.032450221478939056,
0.0038681344594806433,
0.022953471168875694,
-0.041642360389232635,
0.023240163922309875,
-0.02517535164952278,
0.026429640129208565,
-0.000865682668518275,
-0.04056725651025772,
-0.014164495281875134,
-0.05124662443995476,
-0.0024122647009789944,
-0.07099270075559616,
0.02225465327501297,
-0.022182978689670563,
0.01225618552416563,
-0.006773155182600021,
0.031321361660957336,
-0.0183126050978899,
0.017604827880859375,
0.021914202719926834,
-0.017255419865250587,
0.03924129530787468,
0.010079099796712399,
-0.058629006147384644,
-0.002029258757829666,
0.0394563153386116,
0.01999693363904953,
-0.009747609496116638,
0.007185278460383415,
-0.04153485223650932,
-0.02487073838710785,
-0.010025344789028168,
-0.03780782222747803,
0.02130497805774212,
0.005505428183823824,
-0.04196489229798317,
-0.019925260916352272,
-0.039958029985427856,
0.025049922987818718,
-0.021197466179728508,
0.021950040012598038,
-0.010195569135248661,
-0.07059849798679352,
0.009783446788787842,
0.013967392966151237,
-0.05192752182483673,
0.04056725651025772,
0.014325760304927826,
-0.027952704578638077,
-0.005545744672417641,
-0.017201663926243782,
-0.014424311928451061,
-0.013833004981279373,
-0.01822301186621189,
0.036840230226516724,
0.03397328779101372,
0.018903911113739014,
0.01679849997162819,
-0.023867309093475342,
-0.06959506869316101,
0.01160216424614191,
-0.07278454303741455,
-0.06583219766616821,
-0.011190040968358517,
-0.0007654516375623643,
0.001021348754875362,
0.02965495176613331,
-0.0017750414554029703,
0.050099845975637436,
-0.015150006860494614,
0.07497058808803558,
0.04171403497457504,
0.006844828836619854,
-0.015839865431189537,
0.008892006240785122,
-0.03334614261984825,
-0.012408492155373096,
0.007861698046326637,
0.045763593167066574,
-0.05389854684472084,
-0.05597708001732826,
-0.014755802229046822,
-0.019280198961496353,
-0.01098397932946682,
-0.032342713326215744,
-0.0011893337359651923,
0.0007301747682504356,
-0.00981032382696867,
0.09546923637390137,
-0.016547642648220062,
-0.015391905792057514,
-0.026644660159945488,
0.019029339775443077,
-0.0061415317468345165,
-0.029457848519086838,
-0.017398767173290253,
0.03877541795372963,
0.02076742611825466,
0.052429236471652985,
-0.016682030633091927,
0.05672965571284294,
0.015732355415821075,
-0.025945842266082764,
0.024566126987338066,
0.02902780845761299,
-0.025211188942193985,
-0.0058593167923390865,
-0.005644295830279589,
-0.027576416730880737,
0.01935187168419361,
0.002530973870307207,
0.0061415317468345165,
0.034421246498823166,
0.03456459194421768,
0.03232479467988014,
0.009953671135008335,
0.023150572553277016,
-0.03040752373635769,
0.035550106316804886,
0.002925178734585643,
-0.009962630458176136,
-0.03022834099829197,
-0.0030797249637544155,
0.002506336197257042,
-0.05945324897766113,
-0.018438033759593964,
0.04067476838827133,
0.06601138412952423,
-0.02282804064452648,
-0.04246660694479942,
0.05748222768306732,
-0.0047035799361765385,
0.04056725651025772,
0.03531716763973236,
-0.0032947456929832697,
-0.05221421644091606,
-0.04945478215813637,
0.003930849023163319,
0.031034668907523155,
0.04081811383366585,
0.001623854972422123,
-0.01066144835203886,
-0.05999080464243889,
-0.05024319142103195,
-0.02320432849228382,
-0.012166593223810196,
0.014254086650907993,
0.010643529705703259,
-0.061639294028282166,
0.010267242789268494,
-0.023903144523501396,
0.03160805627703667,
-0.026734253391623497,
-0.0957559272646904,
-0.02544412761926651,
0.031697649508714676,
-0.0005465112044475973,
0.026519231498241425,
0.0544360987842083,
-0.016090722754597664,
0.08672505617141724,
0.039384644478559494,
-0.043039996176958084,
-0.07124355435371399,
-0.06830494105815887,
-0.026071270927786827,
0.06045668199658394,
-0.033005692064762115,
0.029422013089060783,
0.030174585059285164,
-0.060313332825899124,
-0.06404036283493042,
0.09138383716344833,
-0.009075669571757317,
-0.05117494985461235,
0.004663263447582722,
-0.010948142036795616,
-0.12249018251895905,
-0.03820202872157097,
-0.025479964911937714,
0.016386376693844795,
0.009926793165504932,
0.020695751532912254,
0.007333104964345694,
-0.0062400829046964645,
0.00887408759444952,
0.000554630474653095,
-0.024243595078587532,
-0.042860813438892365,
-0.0300312377512455,
-0.012274104170501232,
0.038739580661058426,
0.06235603243112564,
-0.06984592229127884,
0.00160705647431314,
0.008654586970806122,
0.05870067700743675,
-0.038560397922992706,
-0.021932121366262436,
0.045584410429000854,
-0.009693854488432407,
-0.06586803495883942,
-0.05493781343102455,
-0.02327600121498108,
0.05698051303625107,
-0.020821180194616318,
0.0694875568151474,
-0.023813553154468536,
0.052429236471652985,
-0.007946810685098171,
0.012686227448284626,
-0.011718633584678173,
0.03895460069179535,
0.03434957191348076,
0.034797534346580505,
-0.046157799661159515,
0.031393036246299744,
0.036195166409015656,
0.024655718356370926,
0.01877848245203495,
-0.030909240245819092,
-0.012094919569790363,
0.018455952405929565,
0.00045775913167744875,
0.02694927342236042,
0.01868889108300209,
-0.04834384471178055,
0.0018007991602644324,
-0.012336818501353264,
0.06361032277345657,
-0.07310707122087479,
-0.028167724609375,
-0.016950806602835655,
-0.022290488705039024,
0.0061639295890927315,
-0.007306227460503578,
-0.00854259729385376,
-0.03934880718588829,
0.015185844153165817,
-0.006795553024858236,
0.01413761731237173,
-0.029744543135166168,
0.035639695823192596,
0.04949061945080757,
0.03390161320567131,
0.017775053158402443,
-0.00858739297837019,
-0.012363695539534092,
0.06067170202732086,
-0.005397918168455362,
0.0055771018378436565,
0.018258849158883095,
-0.04382840543985367,
-0.030282095074653625,
-0.0488097220659256,
0.035729289054870605,
-0.006490940228104591,
0.0036060779821127653,
-0.003471689997240901,
-0.009071189910173416,
0.0011534970253705978,
0.016207192093133926,
0.038058679550886154,
-0.01318794209510088,
-0.050744909793138504,
0.05099576711654663,
0.007355503272265196,
0.03691190481185913,
0.011906776577234268,
-0.0648287683725357,
0.0027594335842877626,
-0.10643529891967773,
-0.00943403784185648,
-0.05024319142103195,
0.054221078753471375,
-0.024189839139580727,
-0.014899149537086487,
-0.0029050204902887344,
-0.024261513724923134,
0.0008455244824290276,
-0.009084628894925117,
-0.023777715861797333,
-0.05898737162351608,
-0.002258838387206197,
-0.0014704286586493254,
0.01436159759759903,
0.03977884724736214,
-0.055152833461761475,
0.03504839166998863,
-0.05124662443995476,
0.04282497614622116,
0.05436442419886589,
-0.016547642648220062,
-0.005962347611784935,
-0.03540675714612007,
0.03734194487333298,
0.00021124113118276,
-0.01963856630027294,
0.0356576144695282,
-0.027450988069176674,
-0.05307430028915405,
-0.044115100055933,
0.0059668272733688354,
-0.01935187168419361,
0.020910773426294327,
-0.06457791477441788,
-0.040997300297021866,
0.021376650780439377,
-0.01588466204702854,
0.00329698552377522,
0.015105211175978184,
-0.01746148057281971,
-0.055260345339775085,
-0.08220961689949036,
0.010688325390219688,
0.028776951134204865,
-0.07769418507814407,
0.019656484946608543,
0.002705678343772888,
-0.022971387952566147,
0.02852609194815159,
-0.018921829760074615,
0.0026608824264258146,
0.023616451770067215,
0.007601880934089422,
0.05203503370285034,
-0.011494653299450874,
0.000754252658225596,
0.015812987461686134,
0.02148416079580784,
0.05558287724852562,
0.016780581325292587,
-0.014782680198550224,
-0.04393591731786728,
0.00007272350921994075,
-0.018070707097649574,
-0.012946044094860554,
0.0013629182940348983,
0.07547230273485184,
-0.014675169251859188,
0.0012397293467074633,
0.03350740671157837
]
|
37,091 | sphinx_autodoc_typehints | sphinx_autodoc_typehints_type_role |
Add css tag around rendered type.
The body should be escaped rst. This renders its body as rst and wraps the
result in <span class="sphinx_autodoc_typehints-type"> </span>
| def sphinx_autodoc_typehints_type_role(
_role: str,
_rawtext: str,
text: str,
_lineno: int,
inliner: states.Inliner,
_options: dict[str, Any] | None = None,
_content: list[str] | None = None,
) -> tuple[list[Node], list[Node]]:
"""
Add css tag around rendered type.
The body should be escaped rst. This renders its body as rst and wraps the
result in <span class="sphinx_autodoc_typehints-type"> </span>
"""
unescaped = unescape(text)
doc = parse(unescaped, inliner.document.settings)
n = nodes.inline(text)
n["classes"].append("sphinx_autodoc_typehints-type")
n += doc.children[0].children
return [n], []
| (_role: 'str', _rawtext: 'str', text: 'str', _lineno: 'int', inliner: 'states.Inliner', _options: 'dict[str, Any] | None' = None, _content: 'list[str] | None' = None) -> 'tuple[list[Node], list[Node]]' | [
-0.024473128840327263,
-0.013703865930438042,
0.04572181776165962,
-0.019618356600403786,
0.05883695185184479,
0.024581817910075188,
0.005629181861877441,
0.0026764655485749245,
0.010624345391988754,
-0.006625497248023748,
0.037099163979291916,
0.01929228939116001,
0.007522181142121553,
0.007576525676995516,
-0.042424920946359634,
0.010108072310686111,
-0.031682830303907394,
-0.010660574771463871,
-0.03396529704332352,
-0.029835117980837822,
-0.033512428402900696,
0.027389615774154663,
0.06611911207437515,
0.015968218445777893,
0.01479981280863285,
-0.016620352864265442,
-0.012354310601949692,
-0.02711789309978485,
-0.047823138535022736,
-0.038222283124923706,
0.011901440098881721,
-0.09666071087121964,
-0.05289528891444206,
-0.013033617287874222,
0.0124267702922225,
-0.027914946898818016,
-0.015959160402417183,
0.07075650990009308,
0.06021368131041527,
-0.00076365313725546,
-0.052315615117549896,
0.06166286766529083,
-0.057206619530916214,
-0.06173532456159592,
-0.05441693589091301,
-0.04112065210938454,
-0.004904589150100946,
-0.02103131264448166,
-0.07369110733270645,
-0.08376295119524002,
0.01586858741939068,
-0.004641924053430557,
0.003808642039075494,
-0.015044362284243107,
0.007028552237898111,
-0.020886393263936043,
-0.045105915516614914,
0.04032360017299652,
0.021230574697256088,
0.04112065210938454,
0.044055256992578506,
0.03132053464651108,
-0.017598552629351616,
0.03465365990996361,
0.022806566208600998,
-0.0016993971075862646,
-0.01367669366300106,
-0.008328290656208992,
0.014736410230398178,
-0.002219066023826599,
-0.03981638699769974,
0.010932297445833683,
0.0237666517496109,
-0.0012657734332606196,
0.0421350859105587,
-0.04275098815560341,
-0.050069376826286316,
0.030124954879283905,
0.023857224732637405,
0.027407731860876083,
0.04970708116889,
0.06521337479352951,
0.019871963188052177,
-0.025487558916211128,
0.04325820505619049,
-0.02534264139831066,
-0.05271414294838905,
-0.033258818089962006,
0.022987714037299156,
-0.05130118504166603,
-0.021339263767004013,
-0.05054036155343056,
-0.0033376566134393215,
0.012381482869386673,
-0.0600687600672245,
0.032371193170547485,
0.017797816544771194,
-0.07637210190296173,
-0.025034688413143158,
0.032787833362817764,
0.029925690963864326,
0.06825666129589081,
0.09318266063928604,
-0.020505983382463455,
0.024925999343395233,
-0.02400214411318302,
-0.06318451464176178,
-0.02153852768242359,
0.0036116433329880238,
0.03383849561214447,
0.03376603499054909,
-0.0937623381614685,
0.0043656728230416775,
-0.01364952139556408,
0.017335887998342514,
0.03699047490954399,
-0.01947343721985817,
-0.018875647336244583,
0.01815105602145195,
0.022752221673727036,
0.059670235961675644,
0.004630602430552244,
-0.0021749113220721483,
0.038620807230472565,
-0.013866898603737354,
0.033041439950466156,
-0.04115688428282738,
0.028730113059282303,
-0.015451946295797825,
-0.02579551190137863,
-0.0326429158449173,
-0.02414706163108349,
-0.024744851514697075,
0.034400053322315216,
0.06963338702917099,
0.08405279368162155,
-0.014962845481932163,
0.000024854814910213463,
0.020342949777841568,
0.05075773969292641,
0.014990017749369144,
0.04905494675040245,
0.015035305172204971,
-0.05938039720058441,
-0.0641627088189125,
0.012834354303777218,
-0.016901131719350815,
0.0635468065738678,
0.03767883777618408,
-0.018929991871118546,
-0.021375494077801704,
-0.04351181164383888,
0.021194346249103546,
0.07191585749387741,
-0.004641924053430557,
0.028784457594156265,
-0.02282468043267727,
-0.015470060519874096,
0.006806645542383194,
0.025451330468058586,
0.019183600321412086,
-0.05470677465200424,
0.012915870174765587,
-0.002841763198375702,
0.013115134090185165,
0.05459808558225632,
-0.019111141562461853,
-0.0219370536506176,
-0.04235246032476425,
0.009917867369949818,
-0.0030002680141478777,
-0.05938039720058441,
0.02416517771780491,
0.009655201807618141,
0.0466637909412384,
0.01701887883245945,
-0.02104942686855793,
0.05927170813083649,
-0.00785730592906475,
-0.0053665172308683395,
0.0017673276597633958,
0.003960353787988424,
-0.03988884389400482,
-0.05202578008174896,
0.020234260708093643,
-0.006344717461615801,
0.05369234457612038,
-0.028367817401885986,
0.04010622203350067,
0.010144302621483803,
-0.03072274476289749,
-0.0037927916273474693,
-0.0034667246509343386,
-0.03650137409567833,
-0.0165388360619545,
0.009170630015432835,
-0.043330661952495575,
-0.03467177599668503,
-0.015044362284243107,
-0.026972975581884384,
-0.0029527165461331606,
0.0706840455532074,
-0.00019487590179778636,
0.06383664160966873,
0.05764137580990791,
0.007146298885345459,
0.05246053636074066,
0.013622349128127098,
-0.061481717973947525,
-0.0326429158449173,
-0.02306017279624939,
-0.0095102833583951,
0.007264045067131519,
0.002502110321074724,
0.011982956901192665,
-0.014519033022224903,
-0.020904509350657463,
-0.000050523380195954815,
-0.013160420581698418,
-0.02999815158545971,
0.10368926078081131,
0.012861525639891624,
-0.012019186280667782,
0.00826941803097725,
0.06586550921201706,
-0.04119311273097992,
-0.0071915858425199986,
-0.034834809601306915,
-0.010198647156357765,
-0.007345561869442463,
0.004913646262139082,
-0.03566808998584747,
-0.007938822731375694,
0.013830669224262238,
-0.05289528891444206,
0.02735338732600212,
0.01905679702758789,
0.025233952328562737,
-0.0014876800123602152,
0.025487558916211128,
-0.08767575770616531,
0.05974269285798073,
-0.006598324980586767,
-0.02400214411318302,
-0.06941600888967514,
-0.010669631883502007,
0.05861957371234894,
0.00660738255828619,
-0.038439661264419556,
-0.012780009768903255,
-0.035450711846351624,
0.028367817401885986,
-0.0052306558936834335,
-0.011910498142242432,
0.032805949449539185,
0.016040677204728127,
0.020216144621372223,
-0.04575804993510246,
0.005035921465605497,
-0.046518873423337936,
0.013386855833232403,
0.0016518456395715475,
0.018051423132419586,
-0.01770724169909954,
-0.01728154346346855,
-0.06662632524967194,
0.011620660312473774,
0.03202700987458229,
-0.03497972711920738,
-0.011040986515581608,
0.01185615360736847,
0.07876326143741608,
0.047388382256031036,
0.011711234226822853,
0.010769263841211796,
-0.0037429758813232183,
0.020777704194188118,
0.04420017451047897,
-0.011231191456317902,
-0.007879949174821377,
-0.033512428402900696,
0.028150439262390137,
0.0026379714254289865,
0.037280309945344925,
0.025179607793688774,
-0.024346325546503067,
0.012988329865038395,
0.12991952896118164,
-0.05546759441494942,
0.016928303986787796,
0.002199819078668952,
-0.014645836316049099,
0.057423997670412064,
-0.03693613037467003,
0.05793121084570885,
0.0717347115278244,
-0.013042674399912357,
0.04050474986433983,
-0.015080592595040798,
-0.029472820460796356,
-0.022697877138853073,
0.005081208422780037,
0.06427139788866043,
-0.031682830303907394,
0.029835117980837822,
-0.03829474002122879,
-0.01654789224267006,
-0.07724161446094513,
-0.0020990553312003613,
-0.020270489156246185,
0.0037339183036237955,
0.024092717096209526,
-0.040468521416187286,
0.02907429449260235,
-0.019799504429101944,
0.05840219557285309,
0.005411804188042879,
0.024092717096209526,
-0.005407275632023811,
0.018459007143974304,
-0.05213446915149689,
-0.0916610136628151,
0.0719883143901825,
-0.05159102380275726,
0.0074225496500730515,
-0.007150827441364527,
-0.01862204074859619,
-0.003616172121837735,
0.02530641108751297,
-0.004311328288167715,
0.015542520210146904,
-0.031936436891555786,
-0.023802880197763443,
0.03070462867617607,
-0.038620807230472565,
-0.040432289242744446,
0.04525083303451538,
-0.03825851157307625,
-0.008858149871230125,
-0.010687747038900852,
-0.012852468527853489,
0.007608226500451565,
0.02215443179011345,
0.026302726939320564,
0.03720785304903984,
0.0017548736650496721,
0.023205092176795006,
0.01771629974246025,
0.04720723628997803,
0.046700019389390945,
0.03767883777618408,
-0.02911052480340004,
0.01410239189863205,
-0.013296281918883324,
0.010950411669909954,
-0.014962845481932163,
0.017064165323972702,
-0.020705245435237885,
-0.052496764808893204,
-0.01153914351016283,
-0.037081047892570496,
0.003989790100604296,
0.04992445930838585,
-0.003480310784652829,
-0.03757014870643616,
0.05017806589603424,
0.003271990455687046,
-0.008532082661986351,
0.10397909581661224,
0.040396060794591904,
0.010497541166841984,
-0.02039729431271553,
-0.05307643860578537,
-0.015397601760923862,
0.002472673775628209,
-0.005724284797906876,
0.003305955557152629,
-0.017317773774266243,
-0.05492414906620979,
-0.04948970302939415,
-0.008654357865452766,
0.01635768823325634,
0.016892075538635254,
-0.01142139732837677,
-0.0765170231461525,
-0.008785690180957317,
-0.0215022973716259,
0.010705862194299698,
-0.06601042300462723,
0.038004904985427856,
0.04394656792283058,
-0.03423701971769333,
0.08441508561372757,
-0.0773865357041359,
-0.02930978685617447,
-0.052315615117549896,
-0.04930855333805084,
0.021846478804945946,
-0.033512428402900696,
-0.011484798975288868,
0.0012318080989643931,
0.009238560684025288,
-0.0026606149040162563,
0.01364046335220337,
0.012780009768903255,
0.05438070744276047,
-0.010334507562220097,
0.010461311787366867,
0.010379794985055923,
0.000014497167285298929,
0.0001986969873541966,
-0.03536013886332512,
0.07064782083034515,
0.0011208548676222563,
-0.0029278085567057133,
0.002240577479824424,
-0.003969411365687847,
-0.036845553666353226,
-0.02796929143369198,
0.027715682983398438,
0.025016574189066887,
-0.050938889384269714,
0.06582927703857422,
0.06053974851965904,
0.02286090888082981,
0.02892937697470188,
0.01109533105045557,
0.011249306611716747,
-0.03159225732088089,
0.001696000574156642,
-0.00884003471583128,
0.05304021015763283,
0.01905679702758789,
-0.04372918978333473,
0.002286996692419052,
-0.06724223494529724,
-0.03141110762953758,
-0.03738899901509285,
0.003817699383944273,
-0.026828056201338768,
0.06836535036563873,
0.024998459964990616,
-0.012417713180184364,
0.034400053322315216,
0.0353420227766037,
-0.0018816775409504771,
-0.0412655733525753,
0.04706231504678726,
0.004764199256896973,
-0.01810576766729355,
-0.014401285909116268,
0.06470615416765213,
0.03675498068332672,
0.02623026818037033,
0.007037609815597534,
-0.0012284115655347705,
0.007925236597657204,
-0.011330823414027691,
0.0003654100000858307,
-0.04967085272073746,
0.030740858986973763,
-0.008767575956881046,
0.014038989320397377,
-0.0021511355880647898,
0.05285906046628952,
-0.024853540584445,
0.00106141553260386,
-0.06669878959655762,
-0.007264045067131519,
0.012155047617852688,
0.005615595728158951,
-0.03563186153769493,
0.011819923296570778,
-0.04948970302939415,
0.0470985472202301,
0.06376418471336365,
-0.017100395634770393,
0.035287678241729736,
-0.027027320116758347,
-0.008799276314675808,
0.03222627565264702,
-0.002619856735691428,
-0.009555570781230927,
0.006086581386625767,
-0.042932137846946716,
-0.01878507435321808,
-0.0035731494426727295,
-0.0460478849709034,
0.02264353260397911,
-0.010823608376085758,
-0.0011265156790614128,
0.042642299085855484,
0.020107455551624298,
0.013558946549892426,
0.04633772373199463,
-0.024907885119318962,
0.02124869078397751,
0.030795203521847725,
-0.026067234575748444,
0.0007030816632322967,
0.03880195692181587,
-0.04148295149207115,
-0.03262479975819588,
-0.028096094727516174,
0.09666071087121964,
0.007024023681879044,
0.03488915413618088,
-0.01500813290476799,
-0.035976044833660126,
0.008830977603793144,
-0.015171166509389877,
0.0358673557639122,
0.04814920574426651,
-0.030813317745923996,
0.0024590876419097185,
0.016973592340946198,
0.030342333018779755,
0.06423517316579819,
0.0408308170735836,
-0.003421437693759799,
-0.054779231548309326,
0.0003189907583873719,
-0.022969597950577736,
0.026719367131590843,
0.0756475105881691,
0.05039544403553009,
-0.001059151254594326,
-0.021774020045995712,
-0.007707858458161354,
0.012417713180184364,
0.05546759441494942,
0.024291981011629105,
-0.015297969803214073,
-0.08593673259019852,
0.013124191202223301,
0.05825727805495262,
0.006122811231762171,
0.04249738156795502,
0.1071673110127449,
0.012906813062727451,
0.039780158549547195,
0.016656581312417984,
-0.021013198420405388,
-0.01433788426220417,
0.022063856944441795,
0.0572790764272213,
-0.015370429493486881,
-0.06043105944991112,
0.007499537896364927,
0.033693574368953705,
-0.014845099300146103,
-0.0172362569719553,
-0.03836720064282417,
0.07441570609807968,
-0.0654669776558876,
0.03970769792795181,
-0.04912740737199783,
-0.05333004519343376,
0.050105608999729156,
0.019364748150110245,
0.04800428822636604,
-0.045105915516614914,
0.0041981106624007225,
0.012607918120920658,
0.0022111409343779087,
-0.014663951471447945,
0.0003085181233473122,
0.03289652243256569,
-0.021810250356793404,
-0.01587764546275139,
-0.0009159308392554522,
-0.01267132069915533,
0.02976265735924244,
-0.019980652257800102,
-0.015977276489138603,
0.0005414634360931814,
0.010162416845560074,
-0.0034871038515120745,
0.024074602872133255,
0.004288685042411089,
-0.04554067179560661,
0.005583894904702902,
0.03584923967719078,
-0.05952531471848488,
-0.006100167520344257,
-0.02175590582191944,
0.01039791014045477,
0.0032221744768321514,
-0.037099163979291916,
0.046482641249895096,
-0.028983721509575844,
0.07162602245807648,
0.02802363410592079,
-0.043982796370983124,
0.03999753296375275,
-0.007662571035325527,
0.046482641249895096,
0.0037701481487601995,
-0.011448569595813751,
0.0025089033879339695,
-0.03579489514231682,
-0.009573685005307198,
-0.05130118504166603,
-0.009981269016861916,
-0.03757014870643616,
-0.002032256918027997,
0.054779231548309326,
-0.034128330647945404,
0.011457626707851887,
-0.0036954244133085012,
0.002226991346105933,
0.011593488045036793,
0.02152041345834732,
0.0302517581731081,
-0.018875647336244583,
-0.016892075538635254,
-0.02510714903473854,
0.020650900900363922,
0.039309170097112656,
0.025886084884405136,
-0.045359522104263306,
0.013124191202223301,
0.07343750447034836,
-0.024527473375201225,
-0.045359522104263306,
0.01634863018989563,
-0.03353054076433182,
-0.03293275460600853,
0.03689989820122719,
-0.03432759270071983,
0.00034078516182489693,
0.02757076360285282,
-0.01354988943785429,
-0.06662632524967194,
-0.008554725907742977,
0.01343214325606823,
-0.04941724240779877,
0.006670784670859575,
-0.0036297582555562258,
-0.07912556082010269,
-0.004392845090478659,
-0.035505056381225586,
-0.046917397528886795,
0.032389309257268906,
-0.0006023179739713669,
0.07372733950614929,
0.0102077042683959,
-0.04228000342845917,
-0.015406658872961998,
-0.0013529510470107198,
0.022915253415703773,
0.05938039720058441,
0.023694191128015518,
0.01860392652451992,
-0.011602546088397503,
0.06474238634109497,
-0.06923486292362213,
0.028096094727516174,
-0.007386320270597935,
-0.0282047837972641,
0.05017806589603424,
-0.024074602872133255,
0.03151979669928551,
-0.003491632640361786,
-0.012155047617852688,
-0.05376480147242546,
0.006041294429451227,
-0.004109801258891821,
0.054779231548309326,
0.003256139811128378,
0.024744851514697075,
0.01833220385015011,
-0.00514913909137249,
-0.033041439950466156,
-0.01467300858348608,
0.040396060794591904,
-0.00941065140068531,
-0.08224130421876907,
-0.02284279465675354,
-0.02242615446448326,
-0.07318389415740967,
-0.056989241391420364,
-0.07419832795858383,
-0.01455526240170002,
-0.019183600321412086,
0.047569531947374344,
0.006082052830606699,
-0.04449000954627991,
0.018196342512965202,
-0.08412525057792664,
-0.06053974851965904,
0.005285000428557396,
-0.02954528108239174,
-0.023168861865997314,
0.061264339834451675,
-0.06235123053193092,
-0.002416064962744713,
-0.015941046178340912,
0.03782375529408455,
-0.0036025859881192446,
0.08484984189271927,
-0.016620352864265442,
-0.013296281918883324,
-0.015279855579137802,
-0.03365734592080116,
-0.012616976164281368,
-0.012598861008882523,
0.034852925688028336,
0.03992507606744766,
0.028059864416718483,
-0.0017594024538993835,
0.039743926376104355,
0.03159225732088089,
0.0376063771545887,
-0.023603618144989014,
-0.05376480147242546,
0.04843904450535774,
0.04101196676492691,
0.01878507435321808,
-0.04934478551149368,
0.04249738156795502,
0.0730389729142189,
-0.002248502802103758,
0.012417713180184364,
0.03151979669928551,
0.01230902411043644,
-0.05666317418217659,
-0.01634863018989563,
-0.030958237126469612,
-0.058583345264196396,
0.041338030248880386,
-0.011675004847347736,
-0.022897139191627502,
-0.021230574697256088,
-0.028621423989534378,
0.029201097786426544,
-0.024074602872133255,
0.03967146947979927,
-0.03204512596130371,
-0.043765418231487274,
-0.03449062630534172,
0.052532993257045746,
-0.038186050951480865,
-0.009129871614277363,
-0.01678338646888733,
-0.061046961694955826,
0.04485230892896652,
0.012598861008882523,
0.03275160491466522,
0.06492353230714798,
0.021592872217297554,
-0.040903277695178986,
-0.03175529092550278,
0.052532993257045746,
0.01086889486759901,
-0.021140001714229584,
0.040214911103248596,
-0.007363676559180021,
-0.042026396840810776,
-0.00005197398058953695,
0.05122872814536095,
-0.04807674512267113,
0.02938224747776985,
-0.05575743317604065,
0.02307828702032566,
-0.055431365966796875,
-0.06162663549184799,
0.021556641906499863
]
|
37,092 | sphinx.util.inspect | signature | Return a Signature object for the given *subject*.
:param bound_method: Specify *subject* is a bound method or not
| def signature(
subject: Callable[..., Any],
bound_method: bool = False,
type_aliases: Mapping[str, str] | None = None,
) -> Signature:
"""Return a Signature object for the given *subject*.
:param bound_method: Specify *subject* is a bound method or not
"""
if type_aliases is None:
type_aliases = {}
try:
if _should_unwrap(subject):
signature = inspect.signature(subject)
else:
signature = inspect.signature(subject, follow_wrapped=True)
except ValueError:
# follow built-in wrappers up (ex. functools.lru_cache)
signature = inspect.signature(subject)
parameters = list(signature.parameters.values())
return_annotation = signature.return_annotation
try:
# Resolve annotations using ``get_type_hints()`` and type_aliases.
localns = TypeAliasNamespace(type_aliases)
annotations = typing.get_type_hints(subject, None, localns)
for i, param in enumerate(parameters):
if param.name in annotations:
annotation = annotations[param.name]
if isinstance(annotation, TypeAliasForwardRef):
annotation = annotation.name
parameters[i] = param.replace(annotation=annotation)
if 'return' in annotations:
if isinstance(annotations['return'], TypeAliasForwardRef):
return_annotation = annotations['return'].name
else:
return_annotation = annotations['return']
except Exception:
# ``get_type_hints()`` does not support some kind of objects like partial,
# ForwardRef and so on.
pass
if bound_method:
if inspect.ismethod(subject):
# ``inspect.signature()`` considers the subject is a bound method and removes
# first argument from signature. Therefore no skips are needed here.
pass
else:
if len(parameters) > 0:
parameters.pop(0)
# To allow to create signature object correctly for pure python functions,
# pass an internal parameter __validate_parameters__=False to Signature
#
# For example, this helps a function having a default value `inspect._empty`.
# refs: https://github.com/sphinx-doc/sphinx/issues/7935
return Signature(
parameters, return_annotation=return_annotation, __validate_parameters__=False
)
| (subject: 'Callable[..., Any]', bound_method: 'bool' = False, type_aliases: 'Mapping[str, str] | None' = None) -> 'Signature' | [
0.007082309108227491,
0.0033872926142066717,
0.05240628868341446,
-0.026408294215798378,
0.01453761663287878,
-0.0036204166244715452,
-0.016328008845448494,
0.00992176029831171,
0.07210060954093933,
0.013623770326375961,
-0.017260504886507988,
0.016262734308838844,
0.02023516781628132,
-0.007031021639704704,
-0.06755002588033676,
0.032823868095874786,
0.04129093140363693,
0.04897470399737358,
-0.023480255156755447,
-0.005599639844149351,
0.02620314434170723,
0.02137281373143196,
0.030455326661467552,
0.0037882658652961254,
0.0012577043380588293,
0.02487899921834469,
0.025382546707987785,
0.0042172144167125225,
0.054569680243730545,
-0.00920840073376894,
0.005636939778923988,
-0.01824895106256008,
0.0064482116140425205,
0.006574098486453295,
0.007767693605273962,
0.0023685405030846596,
0.011945276521146297,
0.059194859117269516,
0.021018465980887413,
0.017717428505420685,
-0.04882550239562988,
0.02161526307463646,
0.024972248822450638,
-0.050093699246644974,
0.02748998813331127,
0.006051900330930948,
0.0006789737963117659,
0.053114984184503555,
0.011842702515423298,
0.01312022190541029,
-0.011693502776324749,
-0.051473792642354965,
0.04505821689963341,
-0.05042939633131027,
-0.05408478155732155,
-0.03582650423049927,
0.02450600080192089,
0.052928484976291656,
-0.00993108469992876,
0.05214519053697586,
0.06810952723026276,
0.04897470399737358,
0.01075168140232563,
-0.0037532972637563944,
0.0455804169178009,
-0.023648103699088097,
-0.018137052655220032,
-0.053189586848020554,
0.001226232503540814,
-0.00908717606216669,
-0.007017034105956554,
-0.0030702438671141863,
0.02284615859389305,
0.009530111216008663,
-0.0005871812463738024,
-0.06624453514814377,
-0.029727980494499207,
-0.012924397364258766,
0.04170123115181923,
-0.03724389895796776,
0.020440317690372467,
-0.03569595515727997,
-0.022081511095166206,
-0.037654198706150055,
-0.02942958101630211,
0.028702234849333763,
-0.056098975241184235,
-0.0004035960300825536,
0.010005684569478035,
-0.021857712417840958,
-0.010798306204378605,
0.015787161886692047,
0.031462423503398895,
0.0033499926794320345,
-0.016542483121156693,
-0.07027291506528854,
0.0017857302445918322,
-0.03565865755081177,
-0.0008054436184465885,
-0.00654146121814847,
-0.01239287480711937,
0.027116989716887474,
-0.000787959317676723,
0.02135416306555271,
0.014341792091727257,
0.014481666497886181,
0.03586380556225777,
-0.020906565710902214,
-0.000631183385848999,
0.02152201347053051,
0.04748270660638809,
-0.04983259737491608,
-0.021876361221075058,
-0.03679630160331726,
0.034502360969781876,
-0.04293212667107582,
0.028683584183454514,
-0.054383181035518646,
-0.029727980494499207,
-0.008667552843689919,
0.037579599767923355,
0.006881822366267443,
-0.05900835990905762,
-0.010854256339371204,
-0.023517554625868797,
-0.05076509341597557,
-0.002825463656336069,
0.017624178901314735,
0.011768102645874023,
-0.06590883433818817,
-0.001848673797212541,
0.017866628244519234,
-0.03709470108151436,
0.06363354623317719,
0.02937363088130951,
-0.013894193805754185,
0.0313691720366478,
0.04759460687637329,
-0.05990355834364891,
0.04177583009004593,
-0.013679719530045986,
0.02469250001013279,
-0.0030096315313130617,
0.005459765437990427,
0.019582420587539673,
0.0028604322578758,
0.02946688048541546,
-0.045431215316057205,
0.04311862587928772,
-0.02635234408080578,
0.019545121118426323,
-0.05524107813835144,
0.007646468933671713,
0.02454330027103424,
-0.0230699572712183,
-0.04785570502281189,
0.042409930378198624,
-0.047035109251737595,
-0.03646060451865196,
0.016421258449554443,
-0.0019547452684491873,
-0.011656203307211399,
-0.005716201849281788,
-0.062328048050403595,
0.018165025860071182,
0.007791006006300449,
-0.0018241957295686007,
0.025904744863510132,
-0.03556540608406067,
-0.025680946186184883,
-0.04475981742143631,
0.03530430793762207,
-0.018025152385234833,
-0.0074646323919296265,
0.04468521848320961,
0.0034129361156374216,
0.00928299967199564,
0.06415574252605438,
-0.022342609241604805,
-0.034782107919454575,
0.11145194619894028,
-0.03370041400194168,
-0.02638964354991913,
-0.01862194947898388,
0.05110079422593117,
0.04890010133385658,
-0.016402609646320343,
0.028608985245227814,
-0.017465654760599136,
-0.05539027601480484,
-0.00609852559864521,
0.02439410239458084,
0.028105435892939568,
0.01008028443902731,
-0.014173942618072033,
0.010378682985901833,
-0.04032113775610924,
0.022286659106612206,
-0.011870676651597023,
-0.008000818081200123,
0.02469250001013279,
-0.001799717778339982,
0.024897649884223938,
-0.011693502776324749,
-0.004028383642435074,
0.024860350415110588,
0.011189954355359077,
0.062477245926856995,
-0.03577055409550667,
-0.03416666015982628,
0.02318185567855835,
-0.0313132219016552,
-0.04356622323393822,
-0.03080967627465725,
-0.05102619528770447,
-0.09504001587629318,
0.07989627867937088,
-0.017708104103803635,
0.008364491164684296,
-0.03950054198503494,
0.037616897374391556,
0.005753501784056425,
-0.014155292883515358,
0.00019436718139331788,
0.031219974160194397,
-0.028310585767030716,
0.07079511135816574,
-0.018901698291301727,
0.0028884070925414562,
-0.1068267673254013,
0.059232160449028015,
-0.016020284965634346,
-0.0029443567618727684,
-0.007203533314168453,
-0.06956421583890915,
-0.039351340383291245,
0.0464756116271019,
-0.01837017573416233,
0.043976522982120514,
0.01848207600414753,
0.022510459646582603,
0.04263372719287872,
0.0036204166244715452,
0.0925036296248436,
-0.04513281583786011,
-0.02762053906917572,
0.022156110033392906,
0.033420663326978683,
0.039202142506837845,
-0.03976164013147354,
-0.02476710081100464,
-0.0000880043298820965,
-0.04725890979170799,
-0.011861352249979973,
0.005902701057493687,
0.06460333615541458,
-0.028310585767030716,
-0.05061589553952217,
0.0002404091792413965,
0.02631504461169243,
0.0028557698242366314,
0.031108073890209198,
0.011087380349636078,
0.012840473093092442,
0.03808314725756645,
-0.006392261479049921,
-0.023312406614422798,
0.008238604292273521,
0.01865924894809723,
0.06046305596828461,
0.018920348957180977,
-0.04461061954498291,
0.011292529292404652,
-0.037654198706150055,
0.004047033842653036,
-0.00046391686191782355,
-0.04140283167362213,
0.0007267642649821937,
0.01675695739686489,
-0.019134823232889175,
-0.015833785757422447,
-0.03351391479372978,
0.04901200160384178,
0.014295167289674282,
0.014938590116798878,
0.08541665226221085,
0.02780703827738762,
0.04259642958641052,
0.007315433118492365,
-0.016430582851171494,
0.01216907612979412,
-0.011423079296946526,
0.07336880266666412,
0.005655589513480663,
0.0007605672581121325,
-0.00917576253414154,
-0.05371178314089775,
-0.11055675148963928,
0.05065319687128067,
-0.04263372719287872,
-0.014714790508151054,
0.06643103063106537,
-0.02019786834716797,
0.005832763854414225,
0.02163391187787056,
-0.02008596807718277,
-0.021111715584993362,
-0.0612463541328907,
-0.01072370633482933,
-0.043790023773908615,
-0.04878820478916168,
0.025942044332623482,
-0.016020284965634346,
-0.07090701162815094,
0.02161526307463646,
0.05046669766306877,
-0.020831966772675514,
-0.04975799843668938,
0.03677765280008316,
0.06717702746391296,
0.02750863879919052,
0.03562135621905327,
-0.005884051322937012,
-0.016486532986164093,
0.028851432725787163,
-0.020570866763591766,
-0.06762462854385376,
0.030492626130580902,
-0.018062451854348183,
0.05691957101225853,
-0.013521195389330387,
0.04733350872993469,
0.04337972402572632,
-0.011963926255702972,
-0.08586425334215164,
-0.0049329050816595554,
0.047147009521722794,
0.010350707918405533,
-0.045319318771362305,
-0.005981963127851486,
-0.01008960884064436,
-0.08772924542427063,
0.027228889986872673,
0.00993108469992876,
-0.03677765280008316,
0.021223613992333412,
-0.010220158845186234,
-0.0232751052826643,
0.07493539899587631,
-0.05397288128733635,
0.024207601323723793,
-0.009147788397967815,
-0.011852026917040348,
0.008112717419862747,
0.008308541029691696,
-0.02898198366165161,
0.015917710959911346,
0.007963517680764198,
-0.02310725674033165,
-0.049869898706674576,
0.03692685067653656,
-0.003792928531765938,
-0.05263008922338486,
-0.0456923171877861,
0.07001181691884995,
0.056024372577667236,
0.020440317690372467,
0.00024623729404993355,
-0.0229021068662405,
-0.005105416756123304,
0.004725424572825432,
-0.07075781375169754,
-0.06426764279603958,
0.033271465450525284,
-0.01864060014486313,
-0.018883049488067627,
0.02305130660533905,
0.020328417420387268,
-0.037691496312618256,
0.024170301854610443,
-0.001136479782871902,
-0.03731849789619446,
0.005366515833884478,
0.0038791843689978123,
0.006774585228413343,
-0.013866218738257885,
0.01673830673098564,
0.0038675281684845686,
-0.005860738921910524,
0.020403018221259117,
-0.009763235226273537,
-0.031219974160194397,
-0.009697960689663887,
-0.0008852886385284364,
0.03261872008442879,
-0.027135640382766724,
-0.04815410450100899,
-0.005981963127851486,
-0.026725342497229576,
0.026986440643668175,
0.019284022971987724,
0.018090426921844482,
0.004019058775156736,
0.002853438491001725,
0.052891187369823456,
0.005953988526016474,
0.021876361221075058,
-0.07090701162815094,
0.037393100559711456,
-0.00423819525167346,
0.0156566109508276,
-0.03812044486403465,
-0.03388691321015358,
0.010537207126617432,
0.07508459687232971,
0.05494267866015434,
0.006093862932175398,
-0.05221978947520256,
-0.0006655692122876644,
-0.042111530900001526,
0.04282022640109062,
-0.007175558712333441,
-0.007674444001168013,
0.01989946886897087,
0.043603524565696716,
0.07422669976949692,
-0.03666575253009796,
0.016132185235619545,
0.01712063141167164,
0.016579782590270042,
0.025867445394396782,
-0.03176082298159599,
-0.016337333247065544,
0.026930490508675575,
-0.05371178314089775,
-0.022771557793021202,
-0.020664116367697716,
-0.018966972827911377,
0.029616080224514008,
0.04017193615436554,
-0.05837426334619522,
0.040880635380744934,
-0.06628183275461197,
-0.026837240904569626,
-0.010928856208920479,
-0.03176082298159599,
0.037579599767923355,
0.005198666360229254,
0.01229030080139637,
-0.0307350754737854,
0.09794940799474716,
0.01469614077359438,
0.11555493623018265,
-0.016085559502243996,
-0.02137281373143196,
-0.03493130952119827,
0.007916892878711224,
-0.04214882850646973,
-0.026445593684911728,
0.022286659106612206,
0.07937408238649368,
-0.0310521237552166,
-0.07135461270809174,
0.011376454494893551,
-0.020570866763591766,
0.0309775248169899,
0.04867630451917648,
0.010192183777689934,
-0.06531203538179398,
0.016113534569740295,
0.09757640957832336,
-0.03398016095161438,
-0.011861352249979973,
0.0230886060744524,
0.018827099353075027,
0.06277564913034439,
0.008644239977002144,
0.009003250859677792,
-0.025233348831534386,
0.05110079422593117,
-0.0077583687379956245,
0.0063129994086921215,
-0.02918713167309761,
0.06837062537670135,
0.02174581214785576,
0.0028277947567403316,
-0.02284615859389305,
-0.018090426921844482,
-0.008770126849412918,
0.04144013300538063,
-0.009530111216008663,
0.016374634578824043,
0.02480440028011799,
0.045431215316057205,
0.02614719420671463,
0.02131686359643936,
0.0039094905368983746,
-0.00008363325468963012,
-0.03263736888766289,
-0.02931768074631691,
0.010313408449292183,
-0.07788208872079849,
0.006937772035598755,
0.013595795258879662,
0.06061225384473801,
-0.034763459116220474,
0.0024804400745779276,
0.026967791840434074,
-0.023629454895853996,
-0.01145105343312025,
-0.00183352071326226,
0.025363897904753685,
-0.012672623619437218,
0.02443140186369419,
0.0002303557121194899,
0.02448735199868679,
-0.002422159072011709,
-0.008457740768790245,
-0.009725935757160187,
-0.048340603709220886,
-0.02605394460260868,
0.034595608711242676,
0.010248133912682533,
-0.012253000400960445,
0.05867266282439232,
-0.03373771533370018,
0.022323960438370705,
-0.009110487997531891,
0.025233348831534386,
0.018053127452731133,
0.04144013300538063,
0.008877363987267017,
-0.02454330027103424,
-0.014481666497886181,
-0.01302697230130434,
0.06042575463652611,
-0.034539662301540375,
-0.04766920581459999,
0.09899380058050156,
-0.03241356834769249,
0.015637962147593498,
0.040768735110759735,
-0.08549125492572784,
0.06009005755186081,
0.013483895920217037,
0.07161571085453033,
0.016076235100626945,
-0.08653564751148224,
-0.02004866860806942,
-0.042447227984666824,
-0.00910116359591484,
-0.012663299217820168,
0.046624813228845596,
-0.019134823232889175,
-0.04457331821322441,
0.006546123418956995,
0.026874542236328125,
-0.0004892690922133625,
-0.012131775729358196,
0.0047021121717989445,
-0.014854664914309978,
0.01684088259935379,
0.03964973986148834,
-0.02310725674033165,
-0.06434223800897598,
0.04904930293560028,
0.12152291089296341,
-0.006196437403559685,
-0.030063679441809654,
-0.05408478155732155,
-0.03416666015982628,
0.00846240296959877,
-0.010005684569478035,
-0.014304492622613907,
-0.003025950165465474,
0.05359988287091255,
0.02482304908335209,
-0.042298030108213425,
-0.07571869343519211,
0.0028417822904884815,
0.036274105310440063,
-0.004182245582342148,
-0.02631504461169243,
-0.005394490901380777,
-0.03558405488729477,
-0.0053105661645531654,
-0.008933314122259617,
-0.005170691758394241,
-0.11771832406520844,
0.02939228154718876,
-0.09742720425128937,
-0.008336516097187996,
-0.004417700693011284,
-0.025774195790290833,
0.005212653893977404,
0.0015351219335570931,
-0.012486124411225319,
0.014295167289674282,
0.007949530147016048,
-0.02762053906917572,
-0.022696958854794502,
-0.03062317706644535,
-0.03101482428610325,
0.01999271847307682,
0.024039752781391144,
-0.0030725752003490925,
-0.02788163721561432,
-0.003403611248359084,
-0.0229580570012331,
-0.03694549947977066,
-0.005870063789188862,
0.00011940323020098731,
0.010798306204378605,
0.00427782628685236,
-0.007418007589876652,
-0.007627819199115038,
-0.03217111900448799,
0.014919939450919628,
0.028832783922553062,
0.0619550496339798,
-0.0309029258787632,
0.0037136662285774946,
0.004720762372016907,
-0.008653565309941769,
0.016029609367251396,
-0.01824895106256008,
-0.022342609241604805,
-0.00010111756273545325,
0.0005664914497174323,
-0.019507821649312973,
-0.03431586176156998,
-0.02163391187787056,
0.05863536149263382,
-0.019377272576093674,
0.04337972402572632,
0.0034991921856999397,
-0.01843545027077198,
0.029560130089521408,
0.013008322566747665,
0.0915338322520256,
0.015637962147593498,
-0.07340610027313232,
-0.02433815225958824,
0.06441684067249298,
0.015470112673938274,
0.02597934566438198,
-0.024077052250504494,
-0.03642330318689346,
0.008732827380299568,
-0.008336516097187996,
0.03541620820760727,
0.09429401904344559,
-0.026688043028116226,
0.01081695593893528,
0.027284840121865273,
0.001045561395585537,
-0.002077135257422924,
-0.024170301854610443,
0.016495859250426292,
-0.018808448687195778,
0.0769868865609169,
-0.04263372719287872,
0.008252591826021671,
0.003958446439355612,
-0.032823868095874786,
-0.011814727447926998,
-0.04427492246031761,
0.022174760699272156,
0.05967975780367851,
-0.01690615713596344,
0.06512553989887238,
-0.02898198366165161,
-0.007721068803220987,
-0.029616080224514008,
-0.019694320857524872,
-0.028776833787560463,
0.03332741558551788,
0.006979734171181917,
-0.023760003969073296,
0.020794665440917015,
-0.0033453302457928658,
-0.001512975082732737,
-0.06919121742248535,
0.0156845860183239,
-0.034576959908008575,
-0.029709329828619957,
0.0616193525493145,
-0.04121633246541023,
-0.044051121920347214,
-0.05669577047228813,
0.05031749606132507,
-0.051473792642354965,
0.059381358325481415,
0.006881822366267443,
0.0007360891904681921,
-0.014267192222177982,
-0.024114351719617844,
-0.04296942800283432,
0.0016003967029973865,
-0.06587153673171997,
0.033420663326978683,
0.0011172470403835177,
0.021913660690188408,
-0.014201917685568333,
-0.023760003969073296,
0.006392261479049921,
-0.001261201105080545,
0.0005405563861131668,
0.06829602271318436,
-0.026967791840434074,
-0.0011399766663089395,
-0.017148606479167938,
0.03412936255335808,
0.02135416306555271,
0.02620314434170723,
-0.06333514302968979,
-0.016038935631513596,
0.02433815225958824,
-0.0114137539640069,
0.01706468127667904,
0.0070030465722084045,
-0.04748270660638809,
0.044125720858573914,
-0.037691496312618256,
0.03823234513401985,
0.00011182669550180435,
0.011423079296946526,
0.03222706913948059,
-0.019321322441101074,
-0.03532295674085617,
0.037728797644376755,
0.026986440643668175,
-0.05434587970376015,
-0.0057721515186131,
-0.020981164649128914,
-0.03273061662912369,
0.022398559376597404,
-0.019694320857524872,
-0.023946503177285194,
-0.02597934566438198,
-0.0007891249260865152,
0.07075781375169754,
0.010070959106087685,
-0.00039193982956930995,
0.14278382062911987,
-0.023704053834080696,
0.019414572045207024,
-0.02150336280465126,
0.048639003187417984,
-0.06706512719392776,
0.026482893154025078,
0.051660291850566864,
-0.04173853248357773,
-0.045878816395998,
-0.011590927839279175,
-0.027228889986872673,
0.01236489973962307,
0.0456923171877861,
-0.003319686511531472,
-0.019526470452547073,
-0.054644279181957245,
-0.040619537234306335,
0.05386098101735115,
-0.0612463541328907,
-0.04293212667107582,
0.0612463541328907,
-0.050205595791339874,
0.05878456309437752
]
|
37,093 | sphinx_autodoc_typehints | split_type_comment_args | null | def split_type_comment_args(comment: str) -> list[str | None]:
def add(val: str) -> None:
result.append(val.strip().lstrip("*")) # remove spaces, and var/kw arg marker
comment = comment.strip().lstrip("(").rstrip(")")
result: list[str | None] = []
if not comment:
return result
brackets, start_arg_at, at = 0, 0, 0
for at, char in enumerate(comment):
if char in {"[", "("}:
brackets += 1
elif char in {"]", ")"}:
brackets -= 1
elif char == "," and brackets == 0:
add(comment[start_arg_at:at])
start_arg_at = at + 1
add(comment[start_arg_at : at + 1])
return result
| (comment: str) -> list[str | None] | [
-0.07439037412405014,
0.027192069217562675,
0.04097532853484154,
-0.04696650058031082,
0.0013194840867072344,
-0.011866440996527672,
0.040262095630168915,
0.010324071161448956,
0.018811563029885292,
-0.005188781768083572,
0.029099972918629646,
-0.01591404713690281,
-0.05409884452819824,
-0.019720938056707382,
-0.019881414249539375,
0.028458060696721077,
0.02219942770898342,
0.009307711385190487,
-0.027726996690034866,
0.046574220061302185,
-0.03229169920086861,
-0.02549813687801361,
-0.018151821568608284,
0.007716306950896978,
0.02084428258240223,
0.01827663742005825,
0.024838395416736603,
-0.029777545481920242,
0.0005285179940983653,
-0.021093914285302162,
-0.006285380106419325,
-0.008353760465979576,
-0.016119102016091347,
-0.016235003247857094,
-0.006115986965596676,
-0.022645199671387672,
-0.010841166600584984,
0.06262199580669403,
0.002643425716087222,
0.002609992865473032,
0.017304854467511177,
-0.008139790035784245,
-0.054063182324171066,
-0.0007884585647843778,
-0.04871392622590065,
-0.06358486413955688,
0.02294832468032837,
-0.07410507649183273,
-0.06308560073375702,
-0.0027080627623945475,
0.0308830589056015,
-0.011313684284687042,
-0.04603929445147514,
-0.010439971461892128,
-0.01046671811491251,
-0.02740604057908058,
0.031756769865751266,
0.04543304443359375,
0.022003287449479103,
0.11133592575788498,
0.055810607969760895,
0.03666025772690773,
0.028921663761138916,
-0.008037262596189976,
0.04004812240600586,
-0.016217172145843506,
0.02631835825741291,
0.017402924597263336,
0.0004187467275187373,
-0.032398682087659836,
-0.04143892973661423,
-0.038086727261543274,
0.003541655605658889,
0.01536129042506218,
0.03079390525817871,
-0.03601834923028946,
0.032220374792814255,
0.04504076763987541,
0.02375071309506893,
-0.0018388079479336739,
-0.03951319679617882,
0.045290399342775345,
-0.03947753459215164,
0.038158051669597626,
0.06447640806436539,
0.020166708156466484,
-0.03755180165171623,
0.01394373644143343,
-0.04596797004342079,
0.03594702482223511,
-0.06793560087680817,
-0.04011944681406021,
0.012535098008811474,
0.03994113951921463,
-0.0895109474658966,
0.01754557155072689,
-0.003107028314843774,
-0.07278559356927872,
-0.01406855322420597,
0.02485622651875019,
-0.008170993998646736,
0.015655498951673508,
0.005420583300292492,
-0.0389426089823246,
0.04682385176420212,
-0.035786546766757965,
-0.0032184713054448366,
-0.018035920336842537,
-0.020327186211943626,
0.005603349301964045,
0.006280922330915928,
-0.058271266520023346,
-0.017073053866624832,
-0.009325542487204075,
0.016511380672454834,
0.04468414932489395,
-0.010484549216926098,
-0.007025361061096191,
0.026710636913776398,
0.00850086472928524,
-0.0011534341610968113,
0.007974854670464993,
-0.028279753401875496,
0.042187828570604324,
0.021985456347465515,
0.043364666402339935,
-0.014888772740960121,
0.0462532639503479,
-0.048499953001737595,
0.021985456347465515,
0.03562606871128082,
-0.0004343487380538136,
-0.0025787889026105404,
0.0018154049757868052,
0.007274993229657412,
0.04743010178208351,
0.00964649859815836,
-0.03901393339037895,
0.0187224093824625,
-0.08879771083593369,
-0.01893637888133526,
-0.014772872440516949,
-0.01041322574019432,
-0.0028774559032171965,
-0.09935358166694641,
-0.06372751295566559,
0.028475891798734665,
-0.014844195917248726,
0.01475504133850336,
0.026710636913776398,
-0.028172766789793968,
0.04981943964958191,
0.0011746082454919815,
-0.059091489762067795,
0.015182982198894024,
-0.06936206668615341,
-0.014772872440516949,
0.011911017820239067,
0.029046479612588882,
0.021236561238765717,
0.004272721242159605,
-0.026657143607735634,
-0.028921663761138916,
0.005763827357441187,
0.061766117811203,
0.00794810801744461,
0.053064655512571335,
-0.019596120342612267,
-0.055810607969760895,
0.028903832659125328,
0.041082315146923065,
-0.02330494113266468,
0.03929922729730606,
0.07831316441297531,
0.023055309429764748,
0.010359732434153557,
-0.04040474072098732,
0.03537643700838089,
0.0031137149780988693,
-0.01362278126180172,
0.03366467356681824,
-0.007974854670464993,
-0.012089326977729797,
0.004836622159928083,
0.004970353562384844,
-0.06675875931978226,
0.01033298671245575,
-0.026354018598794937,
-0.007734138052910566,
-0.02649666555225849,
-0.03400345891714096,
-0.005237816832959652,
-0.0027036049868911505,
0.02046983316540718,
-0.017349431291222572,
-0.013408810831606388,
-0.05941244214773178,
0.027013761922717094,
-0.04514775052666664,
-0.04618194326758385,
-0.0052779363468289375,
-0.013792174868285656,
-0.01701956056058407,
0.00749787874519825,
0.04543304443359375,
0.017848696559667587,
0.014817449264228344,
-0.0039495364762842655,
-0.008456287905573845,
-0.0486426018178463,
0.0028061324264854193,
0.043649960309267044,
0.05538266897201538,
0.01893637888133526,
-0.037801433354616165,
-0.024553101509809494,
0.028047950938344002,
0.07881242781877518,
0.020986929535865784,
0.006557300686836243,
0.039548859000205994,
0.022074611857533455,
0.012544013559818268,
0.04350731149315834,
0.03434224799275398,
0.01381000503897667,
0.040904004126787186,
-0.026086555793881416,
0.01498684287071228,
0.01818748190999031,
0.0009255333570763469,
-0.06547493487596512,
-0.019542628899216652,
0.0025096943136304617,
-0.014300353825092316,
-0.017509909346699715,
-0.014710463583469391,
-0.06576023250818253,
0.07299956679344177,
-0.0487852469086647,
-0.02587258629500866,
-0.008206656202673912,
-0.028761185705661774,
0.0283510759472847,
0.009708906523883343,
0.005603349301964045,
-0.005910932086408138,
0.025337660685181618,
0.012053664773702621,
-0.019899245351552963,
-0.03826503828167915,
0.05170951038599014,
0.03353985771536827,
0.008260148577392101,
-0.028404569253325462,
0.027013761922717094,
0.03436007723212242,
0.014416255056858063,
0.0061427331529557705,
-0.011313684284687042,
0.017866527661681175,
0.00349707854911685,
0.04568267613649368,
-0.0019235046347603202,
0.05438413843512535,
-0.05263671651482582,
0.034217432141304016,
0.028850341215729713,
-0.026104386895895004,
0.04051172733306885,
0.06294295191764832,
-0.010573702864348888,
-0.0190968569368124,
0.004504522308707237,
-0.010386479087173939,
0.037801433354616165,
-0.03302276134490967,
0.04304371029138565,
0.03316541016101837,
-0.04065437242388725,
0.011893187649548054,
0.024909719824790955,
-0.03951319679617882,
0.015878384932875633,
-0.010127931833267212,
0.04942715913057327,
0.054526787251234055,
0.020166708156466484,
-0.03243434429168701,
0.031400155276060104,
-0.012285466305911541,
-0.007546913810074329,
0.039905477315187454,
-0.04450584203004837,
0.01717112399637699,
0.0696830227971077,
0.016796674579381943,
0.019899245351552963,
0.02824409119784832,
-0.03628581017255783,
-0.003276421455666423,
0.041082315146923065,
0.012142819352447987,
-0.013087855651974678,
-0.031132690608501434,
-0.011777286417782307,
-0.03901393339037895,
-0.03855033218860626,
-0.013970483094453812,
-0.07260728627443314,
0.010484549216926098,
-0.0004393636772874743,
-0.02505236677825451,
-0.014532155357301235,
0.00010580111120361835,
0.012945208698511124,
-0.024196485057473183,
-0.006592962425202131,
-0.012365705333650112,
0.023822035640478134,
0.009842637926340103,
-0.07346316426992416,
0.05830692872405052,
-0.0040632085874676704,
0.004743010271340609,
0.07717198878526688,
-0.03787275776267052,
0.0009188468102365732,
0.002391564892604947,
-0.0022021119948476553,
-0.016671858727931976,
0.024285638704895973,
-0.0923638865351677,
0.036981213837862015,
0.014915519393980503,
-0.016948238015174866,
-0.03396780043840408,
-0.040440402925014496,
-0.037266507744789124,
-0.03284445405006409,
0.022627368569374084,
-0.06294295191764832,
-0.012276550754904747,
0.05203046649694443,
-0.0029643813613802195,
0.017607979476451874,
0.05392053723335266,
-0.007921362295746803,
0.05156686156988144,
0.058556560426950455,
0.027031591162085533,
-0.057807665318250656,
-0.008260148577392101,
-0.02870769426226616,
0.04175988584756851,
-0.019720938056707382,
-0.038906946778297424,
-0.06961169838905334,
0.0016125788679346442,
-0.04175988584756851,
0.10848298668861389,
0.03635713458061218,
0.09065212309360504,
0.028208428993821144,
0.0438639298081398,
0.002556500257924199,
0.02157534658908844,
0.003488162998110056,
0.014246861450374126,
-0.0020104299765080214,
-0.0037689991295337677,
0.024356963112950325,
0.018214229494333267,
-0.06044663488864899,
-0.04258010536432266,
-0.06961169838905334,
0.03801540657877922,
-0.042651429772377014,
-0.06882713735103607,
0.00978023000061512,
-0.07053890079259872,
-0.010618280619382858,
0.03887128829956055,
-0.005598891526460648,
-0.07645875215530396,
0.011108629405498505,
-0.03690989315509796,
0.009459273889660835,
-0.00991396140307188,
0.03600051626563072,
0.002841794164851308,
-0.019578291103243828,
-0.013515795581042767,
0.01662728190422058,
-0.015878384932875633,
-0.026710636913776398,
0.04004812240600586,
-0.020434170961380005,
-0.03594702482223511,
-0.008844109252095222,
-0.008746039122343063,
-0.08009624481201172,
-0.037623126059770584,
0.04393525421619415,
0.019613951444625854,
-0.007332943379878998,
-0.02943875826895237,
0.009370120242238045,
-0.020273694768548012,
-0.034146107733249664,
0.05898450314998627,
-0.05766502022743225,
0.06226538121700287,
-0.014648055657744408,
0.036250147968530655,
0.021504024043679237,
-0.0180894136428833,
0.05902016535401344,
-0.013979398645460606,
-0.022787846624851227,
0.021539686247706413,
-0.02888600155711174,
0.007694018539041281,
0.07110948860645294,
0.007404266856610775,
0.07724330574274063,
0.02478490211069584,
-0.018633253872394562,
-0.03403912112116814,
-0.008202197961509228,
-0.007751968689262867,
0.0641554519534111,
-0.03584003821015358,
-0.04215216636657715,
-0.016386564821004868,
0.008768328465521336,
0.02606872469186783,
0.0260330643504858,
0.08095213025808334,
0.026799790561199188,
-0.020862111821770668,
0.09699990600347519,
-0.032755300402641296,
0.004997100215405226,
0.005634553264826536,
-0.03555474430322647,
-0.005219985730946064,
0.006641997490078211,
0.00914723426103592,
-0.03544776141643524,
-0.05285068601369858,
0.018490606918931007,
0.07171574234962463,
0.009165064431726933,
0.015138404443860054,
0.025551630184054375,
-0.06126685440540314,
0.0012615337036550045,
0.05299333110451698,
0.010609365068376064,
0.10570137202739716,
0.026300527155399323,
-0.029224788770079613,
-0.012214142829179764,
-0.010707434266805649,
0.024838395416736603,
0.03419959917664528,
-0.03362901136279106,
0.002391564892604947,
0.03773011267185211,
0.026354018598794937,
-0.010716349817812443,
0.02624703384935856,
0.03189941868185997,
0.00532697094604373,
0.05274369940161705,
-0.012294381856918335,
0.03173894062638283,
0.0017975741066038609,
-0.006641997490078211,
-0.0031003416515886784,
-0.041189298033714294,
-0.0520661287009716,
0.019631782546639442,
-0.0009322199621237814,
0.007698476314544678,
-0.001603663433343172,
-0.04554003104567528,
-0.03662459924817085,
0.013373149558901787,
-0.06408412754535675,
0.027316885069012642,
0.044577162712812424,
-0.04974811524152756,
0.06198008731007576,
0.03787275776267052,
0.02915346436202526,
0.008714835159480572,
-0.013159179128706455,
0.029278280213475227,
-0.017848696559667587,
-0.005737081170082092,
-0.025943908840417862,
-0.033129747956991196,
0.025159351527690887,
-0.03045511804521084,
0.03263048455119133,
-0.015673330053687096,
-0.07228633016347885,
-0.01801808923482895,
-0.07674404233694077,
0.015459360554814339,
0.020701635628938675,
-0.0015390266198664904,
-0.03591136261820793,
-0.033682506531476974,
0.03015199303627014,
0.03070474974811077,
-0.07396242767572403,
-0.0009244189132004976,
0.003298710100352764,
-0.04450584203004837,
0.0036196657456457615,
-0.006352245807647705,
0.05056833475828171,
0.021824980154633522,
-0.03869297727942467,
-0.023501081392169,
0.025943908840417862,
-0.04853561520576477,
0.032220374792814255,
0.04379260540008545,
0.02762001007795334,
-0.0011239016894251108,
-0.006931749172508717,
0.01036864798516035,
0.0453617200255394,
0.03755180165171623,
0.046930838376283646,
0.0420808419585228,
-0.004867826122790575,
0.07717198878526688,
-0.00983372237533331,
0.02877901680767536,
-0.012793646194040775,
0.06772162765264511,
0.013399895280599594,
-0.0008893143967725337,
-0.06062494218349457,
-0.019613951444625854,
0.04668120667338371,
0.024463947862386703,
-0.033789489418268204,
0.07731463015079498,
-0.0321490503847599,
-0.04896355792880058,
0.02257387526333332,
-0.040262095630168915,
0.005835150834172964,
-0.014817449264228344,
-0.010056608356535435,
-0.022894831374287605,
-0.029634898528456688,
0.02651449665427208,
-0.06169479340314865,
0.017902188003063202,
0.02359023503959179,
-0.011509823612868786,
-0.04069003462791443,
0.06444074958562851,
0.012793646194040775,
-0.07510360330343246,
0.0875852108001709,
0.006552842911332846,
0.0026367392856627703,
-0.04486245661973953,
0.004814333748072386,
-0.02585475519299507,
-0.04735877737402916,
0.004203626420348883,
0.015682246536016464,
0.015584176406264305,
-0.029028648510575294,
-0.009062536992132664,
0.011768370866775513,
0.04015510901808739,
0.03773011267185211,
0.0007667272002436221,
0.030508611351251602,
0.0024339130613952875,
0.020059723407030106,
0.11005210131406784,
0.05591759458184242,
-0.01911468803882599,
-0.0012548471568152308,
-0.04168856516480446,
0.007649441249668598,
0.002879684790968895,
-0.021129576489329338,
-0.004159049596637487,
-0.03164978697896004,
-0.05327862501144409,
0.027655672281980515,
0.020184539258480072,
-0.033486366271972656,
-0.03298710286617279,
-0.010778757743537426,
0.02824409119784832,
0.018847225233912468,
0.0011055136565119028,
0.0015200813068076968,
-0.020808620378375053,
0.029938023537397385,
0.032327357679605484,
-0.03723084554076195,
0.04496944323182106,
-0.021771486848592758,
0.002407166874036193,
0.09664329141378403,
0.008438456803560257,
-0.020915605127811432,
-0.017982427030801773,
0.031863756477832794,
0.0022355448454618454,
-0.029831038787961006,
-0.03273746743798256,
-0.07931169122457504,
-0.09707123041152954,
0.006971868220716715,
-0.05392053723335266,
0.03346853330731392,
-0.0064859772101044655,
0.061552148312330246,
-0.05174517259001732,
-0.02540898323059082,
0.004165736027061939,
-0.04482679441571236,
-0.07189404964447021,
-0.07845580577850342,
-0.015468276105821133,
0.010858996771275997,
-0.0365532748401165,
0.01381000503897667,
0.01655595935881138,
0.010341902263462543,
0.002799445763230324,
-0.01973876729607582,
-0.04482679441571236,
0.03330805525183678,
0.021147405728697777,
0.011072967201471329,
0.10869695246219635,
0.03507331386208534,
0.04101099073886871,
-0.017848696559667587,
0.1005660817027092,
-0.05613156408071518,
0.011135375127196312,
-0.01956046000123024,
-0.037444818764925,
0.06618817150592804,
0.016841253265738487,
-0.010609365068376064,
0.03557257726788521,
-0.12574326992034912,
-0.05474075675010681,
-0.037979744374752045,
0.020915605127811432,
0.05199480429291725,
-0.021272221580147743,
0.04764407128095627,
0.033789489418268204,
0.025569461286067963,
0.013792174868285656,
0.01847277581691742,
-0.040797021239995956,
0.03794408217072487,
0.03443140164017677,
-0.051138922572135925,
-0.026906775310635567,
-0.07278559356927872,
-0.06433375924825668,
0.0059510511346161366,
-0.037159524857997894,
0.020238032564520836,
0.01573573797941208,
-0.03229169920086861,
0.026461005210876465,
0.025658614933490753,
-0.005130831617861986,
0.004212541971355677,
0.028921663761138916,
0.034770186990499496,
-0.009254219010472298,
-0.000006072767973819282,
-0.016199341043829918,
-0.011848609894514084,
0.008821820840239525,
0.022609537467360497,
0.004239288158714771,
-0.02926045097410679,
-0.004974811337888241,
-0.045112088322639465,
-0.012142819352447987,
0.03500198945403099,
-0.05409884452819824,
-0.0020572361536324024,
-0.012561844661831856,
0.010297324508428574,
0.058734871447086334,
-0.005567687563598156,
-0.01036864798516035,
-0.02284133806824684,
-0.038443345576524734,
0.03152497112751007,
-0.007288366090506315,
-0.024339132010936737,
0.004747468046844006,
0.03872863948345184,
0.013194840401411057,
-0.006236345041543245,
0.03316541016101837,
0.06451207399368286,
0.04286539927124977,
0.00489011500030756,
0.01406855322420597,
-0.0127579839900136,
0.025444645434617996,
-0.011278022080659866,
-0.06725802272558212,
-0.04393525421619415,
0.010564788244664669,
0.006606335751712322,
0.0012893944513052702,
0.035875700414180756,
0.00012446779874153435,
-0.009138318710029125,
-0.033415041863918304,
-0.04842863231897354,
-0.004355188924819231,
0.014050722122192383,
0.0029911277815699577,
-0.020273694768548012,
0.06590288132429123,
-0.037801433354616165,
-0.07110948860645294,
0.04204517975449562,
-0.019792260602116585,
0.012089326977729797,
-0.056916121393442154,
-0.029920192435383797,
0.023358434438705444,
-0.05124590918421745,
-0.06419111788272858,
-0.023822035640478134,
-0.024981042370200157,
0.059376783668994904,
0.01726919412612915,
-0.022056780755519867,
0.01142066903412342,
-0.029652729630470276,
-0.018490606918931007,
0.023839866742491722,
-0.013827836140990257,
0.011242360807955265,
-0.050675321370363235,
-0.02687111496925354,
-0.03562606871128082
]
|
37,094 | sphinx.util.inspect | stringify_signature | Stringify a :class:`~inspect.Signature` object.
:param show_annotation: If enabled, show annotations on the signature
:param show_return_annotation: If enabled, show annotation of the return value
:param unqualified_typehints: If enabled, show annotations as unqualified
(ex. io.StringIO -> StringIO)
| def stringify_signature(
sig: Signature,
show_annotation: bool = True,
show_return_annotation: bool = True,
unqualified_typehints: bool = False,
) -> str:
"""Stringify a :class:`~inspect.Signature` object.
:param show_annotation: If enabled, show annotations on the signature
:param show_return_annotation: If enabled, show annotation of the return value
:param unqualified_typehints: If enabled, show annotations as unqualified
(ex. io.StringIO -> StringIO)
"""
if unqualified_typehints:
mode = 'smart'
else:
mode = 'fully-qualified'
EMPTY = Parameter.empty
args = []
last_kind = None
for param in sig.parameters.values():
if param.kind != Parameter.POSITIONAL_ONLY and last_kind == Parameter.POSITIONAL_ONLY:
# PEP-570: Separator for Positional Only Parameter: /
args.append('/')
if param.kind == Parameter.KEYWORD_ONLY and last_kind in (
Parameter.POSITIONAL_OR_KEYWORD,
Parameter.POSITIONAL_ONLY,
None,
):
# PEP-3102: Separator for Keyword Only Parameter: *
args.append('*')
arg = StringIO()
if param.kind is Parameter.VAR_POSITIONAL:
arg.write('*' + param.name)
elif param.kind is Parameter.VAR_KEYWORD:
arg.write('**' + param.name)
else:
arg.write(param.name)
if show_annotation and param.annotation is not EMPTY:
arg.write(': ')
arg.write(stringify_annotation(param.annotation, mode))
if param.default is not EMPTY:
if show_annotation and param.annotation is not EMPTY:
arg.write(' = ')
else:
arg.write('=')
arg.write(object_description(param.default))
args.append(arg.getvalue())
last_kind = param.kind
if last_kind is Parameter.POSITIONAL_ONLY:
# PEP-570: Separator for Positional Only Parameter: /
args.append('/')
concatenated_args = ', '.join(args)
if sig.return_annotation is EMPTY or not show_annotation or not show_return_annotation:
return f'({concatenated_args})'
else:
retann = stringify_annotation(sig.return_annotation, mode)
return f'({concatenated_args}) -> {retann}'
| (sig: inspect.Signature, show_annotation: bool = True, show_return_annotation: bool = True, unqualified_typehints: bool = False) -> str | [
-0.0004137612122576684,
-0.0390261672437191,
0.03965621814131737,
0.029686572030186653,
0.047142721712589264,
-0.06608134508132935,
0.009876992553472519,
-0.03884085640311241,
0.04236173629760742,
0.015223169699311256,
-0.0015044809551909566,
0.015964407473802567,
-0.039322663098573685,
-0.030038658529520035,
-0.04110163450241089,
0.019420428201556206,
0.02825968898832798,
-0.0334668830037117,
0.011693025007843971,
0.04799514263868332,
0.019457491114735603,
0.027629636228084564,
-0.016677848994731903,
-0.04536375030875206,
-0.008728074841201305,
-0.004139349330216646,
0.03771046921610832,
-0.014000128023326397,
-0.020495222881436348,
-0.00993258599191904,
0.02712930180132389,
-0.07475382834672928,
0.08227738738059998,
0.010358797386288643,
0.007616217713803053,
0.004329291637986898,
-0.011822742410004139,
0.04780983552336693,
-0.04780983552336693,
-0.04443720355629921,
-0.05299849808216095,
0.029130643233656883,
-0.0017905524000525475,
-0.07190006226301193,
-0.014092782512307167,
0.04054570570588112,
0.020569346845149994,
0.061411548405885696,
-0.06537716835737228,
0.022274194285273552,
0.06426531076431274,
-0.013833349570631981,
-0.023738138377666473,
-0.03102079965174198,
-0.04855107143521309,
-0.021069683134555817,
0.06582190841436386,
0.006476564798504114,
-0.0004273698723409325,
0.02103262022137642,
0.04888463020324707,
0.057890668511390686,
0.024090226739645004,
-0.012369404546916485,
0.006504361052066088,
-0.004767085425555706,
-0.014435605145990849,
-0.028018787503242493,
-0.01889229752123356,
-0.013453464955091476,
0.02564682625234127,
-0.053665611892938614,
-0.006212498992681503,
0.02340458147227764,
0.015751302242279053,
-0.05355442687869072,
-0.07030639797449112,
0.013990862295031548,
0.01730790175497532,
-0.036505959928035736,
-0.002747212303802371,
-0.03461580350995064,
-0.014361481182277203,
-0.03758075460791588,
0.0057167960330843925,
0.024646155536174774,
-0.04495606943964958,
-0.0213476475328207,
0.020198728889226913,
0.02158854901790619,
-0.054740406572818756,
0.02749991975724697,
0.015695709735155106,
0.03014984540641308,
-0.04132400453090668,
-0.010655292309820652,
0.027092238888144493,
-0.0538879819214344,
0.025350330397486687,
-0.013888942077755928,
0.0039331926964223385,
-0.005012620240449905,
-0.02564682625234127,
0.01648327335715294,
-0.035394102334976196,
-0.013861145824193954,
0.006221764255315065,
0.0362279936671257,
-0.0015728138387203217,
0.008751237764954567,
0.03324451297521591,
-0.052183136343955994,
-0.004732339642941952,
-0.06289402395486832,
0.07493913918733597,
-0.03407840430736542,
0.038952045142650604,
-0.012156299315392971,
0.001715270453132689,
-0.05488865450024605,
0.010293939150869846,
-0.005336911883205175,
-0.061448607593774796,
-0.02453496865928173,
-0.012128502130508423,
0.019290711730718613,
0.020013419911265373,
0.05933608114719391,
-0.016992874443531036,
-0.03602415323257446,
0.005744592286646366,
0.029056519269943237,
-0.06630371510982513,
0.04291766509413719,
0.026684558019042015,
-0.00948784314095974,
0.004799514543265104,
-0.015816159546375275,
-0.0092840027064085,
0.04402952268719673,
-0.00863541942089796,
-0.0021553803235292435,
0.004630419425666332,
0.029112111777067184,
-0.046216174960136414,
-0.030742835253477097,
0.027425795793533325,
-0.04606792703270912,
0.013166235759854317,
-0.020977027714252472,
0.032280903309583664,
0.01105370745062828,
0.006532157771289349,
-0.05051535367965698,
0.0426952950656414,
-0.05926195904612541,
0.06404294073581696,
-0.06663727015256882,
-0.02494264952838421,
0.003242915030568838,
-0.005003354977816343,
-0.06241221725940704,
0.030020128935575485,
-0.053443241864442825,
0.026869868859648705,
0.02642512507736683,
0.05285025015473366,
0.04258411005139351,
-0.0008593724924139678,
0.007245598826557398,
-0.02492411993443966,
-0.0010527892736718059,
-0.035042013972997665,
0.028556184843182564,
0.02957538515329361,
0.0967315286397934,
-0.03192881494760513,
0.047698646783828735,
-0.025572702288627625,
-0.055852264165878296,
0.0446225106716156,
-0.06552542001008987,
-0.004482171963900328,
-0.005091376602649689,
0.046735040843486786,
-0.04314003512263298,
-0.025202082470059395,
-0.007806160021573305,
-0.00044705902109853923,
-0.020958496257662773,
0.0027194160502403975,
0.046030864119529724,
-0.003826639847829938,
0.03370778635144234,
0.010108629241585732,
-0.04940349608659744,
-0.057001180946826935,
0.020180197432637215,
0.005573181435465813,
-0.004322342574596405,
0.030038658529520035,
0.0038335889112204313,
-0.0029278891161084175,
-0.058261286467313766,
0.05633406713604927,
0.017317166551947594,
0.021477364003658295,
-0.001558915595524013,
-0.026851337403059006,
-0.02066200226545334,
0.047142721712589264,
-0.031187577173113823,
-0.026276877149939537,
-0.03813668340444565,
-0.005661203060299158,
-0.01615898311138153,
0.049366433173418045,
0.0390632301568985,
-0.027648167684674263,
-0.011025911197066307,
0.08309274911880493,
-0.004120818339288235,
-0.005883574485778809,
0.04447426274418831,
-0.003509297501295805,
0.030427809804677963,
0.06967634707689285,
-0.019086871296167374,
0.04944055899977684,
-0.06811974942684174,
-0.006240295246243477,
-0.03778459504246712,
-0.030594587326049805,
0.034671396017074585,
-0.008751237764954567,
0.029464200139045715,
0.0074540721252560616,
-0.012147033587098122,
0.05058947578072548,
-0.0335039459168911,
-0.005355442874133587,
-0.011081504635512829,
-0.02992747351527214,
0.04636441916227341,
-0.052183136343955994,
-0.045104317367076874,
0.025368861854076385,
0.023108087480068207,
0.029797757044434547,
-0.010571903549134731,
0.021644141525030136,
0.011581839993596077,
-0.022996900603175163,
-0.013249624520540237,
-0.014945206232368946,
0.055296335369348526,
-0.02082877978682518,
-0.0315396673977375,
0.03704335540533066,
0.010006709955632687,
-0.01619604416191578,
0.0013770806835964322,
0.007282660808414221,
0.02748139016330242,
0.04736509174108505,
-0.0344490222632885,
0.0018739416263997555,
-0.04317709803581238,
0.007662544958293438,
-0.0013226460432633758,
0.023478705435991287,
0.005925269331783056,
-0.05058947578072548,
-0.01897568628191948,
0.0037131377030164003,
-0.01712259091436863,
0.01774337887763977,
-0.009006038308143616,
0.002485462697222829,
-0.028519121930003166,
0.012017317116260529,
-0.04780983552336693,
0.05629700794816017,
0.029705101624131203,
0.02473880909383297,
0.05281318724155426,
0.012128502130508423,
0.015445541590452194,
0.0067359977401793,
-0.01792868785560131,
0.03285536170005798,
0.03576472029089928,
0.028704430907964706,
-0.020309913903474808,
0.05144190043210983,
0.014704303815960884,
-0.00017343804938718677,
-0.052331384271383286,
0.004259800538420677,
-0.04799514263868332,
0.03363366425037384,
0.0723818689584732,
0.058817215263843536,
-0.026906929910182953,
0.06826799362897873,
0.0027379468083381653,
-0.0070463912561535835,
-0.06975047290325165,
-0.008802197873592377,
-0.02066200226545334,
-0.03609827905893326,
0.04921818524599075,
-0.0007319722790271044,
0.01821591705083847,
-0.0063653793185949326,
0.027073709294199944,
-0.013601712882518768,
-0.04213936626911163,
0.04521550238132477,
0.05144190043210983,
0.05092303454875946,
-0.02121793106198311,
-0.005003354977816343,
-0.00894118007272482,
0.033188920468091965,
-0.055518705397844315,
-0.13156969845294952,
0.02937154471874237,
0.007685708813369274,
0.01199878565967083,
-0.02562829479575157,
-0.007092718500643969,
0.007555992342531681,
0.04855107143521309,
-0.05359148979187012,
0.028945334255695343,
-0.02208888530731201,
-0.03274417668581009,
-0.08828141540288925,
0.004519233945757151,
0.014491197653114796,
-0.026814274489879608,
-0.0005518746329471469,
0.050478290766477585,
-0.04536375030875206,
0.023534297943115234,
-0.004604939371347427,
-0.046401482075452805,
0.05433272570371628,
0.001214934978634119,
-0.024775872007012367,
-0.01764145866036415,
0.006411706563085318,
-0.01654813252389431,
0.04666091501712799,
0.0074911341071128845,
-0.004354771692305803,
-0.0031155149918049574,
-0.05451803654432297,
-0.01788236014544964,
0.07312310487031937,
-0.03183615952730179,
0.015010064467787743,
-0.031910285353660583,
0.0520719513297081,
0.015667913481593132,
0.02657337300479412,
-0.003226700471714139,
0.01179494522511959,
0.03330010548233986,
-0.01823444850742817,
-0.050292979925870895,
-0.026276877149939537,
-0.029464200139045715,
-0.03778459504246712,
0.06741557270288467,
0.02396051026880741,
-0.012721492908895016,
-0.06037381291389465,
-0.028685901314020157,
-0.005285951774567366,
0.025368861854076385,
0.03213265538215637,
0.01421323325484991,
0.0017998178955167532,
0.0037664142437279224,
-0.01971692405641079,
0.027203425765037537,
-0.018178856000304222,
0.01862359791994095,
-0.028018787503242493,
-0.004352455493062735,
0.00012812409840989858,
0.0041370331309735775,
-0.014509729109704494,
-0.06459886580705643,
-0.034671396017074585,
0.02399757131934166,
-0.06067030876874924,
0.02284865267574787,
0.010090098716318607,
-0.05522221326828003,
-0.015269497409462929,
-0.0344119630753994,
0.008172146044671535,
-0.009997444227337837,
-0.021162336692214012,
-0.0445854514837265,
0.004595674108713865,
0.010849867016077042,
0.04165755957365036,
-0.06304226815700531,
-0.03268858417868614,
-0.00010677008685888723,
0.1190427839756012,
0.03891498222947121,
-0.0148710822686553,
0.02955685555934906,
-0.022922776639461517,
-0.005406402982771397,
0.01225821953266859,
0.0017187449848279357,
-0.004901434760540724,
0.11852391809225082,
0.0019851273391395807,
0.0363021194934845,
-0.05033004283905029,
0.004859739914536476,
0.0985104963183403,
0.026462187990546227,
0.01883670501410961,
0.0031618422362953424,
-0.01106297317892313,
0.03407840430736542,
-0.03348541632294655,
-0.006189335137605667,
0.03305920213460922,
-0.047883957624435425,
0.020921435207128525,
0.05674174800515175,
-0.04503019154071808,
0.022922776639461517,
-0.0521090142428875,
-0.006893510930240154,
0.002194758737459779,
-0.004116185940802097,
0.010840602219104767,
0.014509729109704494,
0.07534682005643845,
-0.0092840027064085,
0.06196747347712517,
0.006902776658535004,
0.03704335540533066,
-0.033374227583408356,
0.018540209159255028,
-0.05277612805366516,
0.027055177837610245,
-0.021792389452457428,
-0.03046487085521221,
0.02531326934695244,
0.039507970213890076,
-0.006300520617514849,
-0.03659861162304878,
0.01722451113164425,
0.02712930180132389,
0.027388734742999077,
0.04662385210394859,
0.001032521016895771,
-0.09710214287042618,
-0.040842197835445404,
0.0949525535106659,
-0.030205437913537025,
-0.02748139016330242,
0.05711236968636513,
0.03267005458474159,
0.0482916384935379,
0.038396116346120834,
0.034319307655096054,
-0.08776254951953888,
-0.004364037420600653,
-0.04291766509413719,
-0.031502604484558105,
-0.07456851750612259,
0.06048499792814255,
0.004373302683234215,
0.0464385449886322,
0.0013226460432633758,
-0.016186779364943504,
-0.007315089926123619,
0.02994600497186184,
0.032651521265506744,
0.03146554157137871,
-0.02362695336341858,
0.00012421523570083082,
0.03761781379580498,
0.043028850108385086,
0.004984823986887932,
-0.030020128935575485,
-0.08220326900482178,
-0.02271893620491028,
-0.027981724590063095,
-0.07731109857559204,
0.029112111777067184,
0.010664558038115501,
0.04629029706120491,
-0.039693281054496765,
0.04773570969700813,
0.04373302683234215,
-0.01866992563009262,
-0.00943688303232193,
-0.020421098917722702,
-0.011350203305482864,
0.015445541590452194,
0.014620914123952389,
-0.03847023844718933,
0.00855203066021204,
0.02512795850634575,
-0.011211221106350422,
0.011526246555149555,
-0.027296079322695732,
-0.0026916195638477802,
-0.024609092622995377,
-0.010905460454523563,
-0.009821400046348572,
0.0334298238158226,
-0.019846640527248383,
0.00457019405439496,
0.030075721442699432,
-0.0027912233490496874,
0.030075721442699432,
0.011850538663566113,
0.04425189271569252,
0.003960988949984312,
-0.0057075307704508305,
-0.008955078199505806,
0.08724368363618851,
-0.011572574265301228,
0.017252309247851372,
0.06226396933197975,
0.02379373088479042,
0.03013131394982338,
0.03544969484210014,
-0.11303875595331192,
0.008612255565822124,
0.02455350011587143,
0.01986517198383808,
0.061856288462877274,
-0.053072623908519745,
0.035245854407548904,
-0.043436530977487564,
-0.016705645248293877,
0.015816159546375275,
0.04317709803581238,
0.026628965511918068,
-0.016019999980926514,
0.04692034795880318,
0.08420460671186447,
0.00017589918570593,
-0.025739479809999466,
-0.018651394173502922,
-0.02753698267042637,
0.0030784530099481344,
0.01441707368940115,
-0.06111505255103111,
-0.0836116150021553,
0.04569730535149574,
0.03287389501929283,
-0.009089428000152111,
-0.03947091102600098,
-0.03254033625125885,
0.009951116517186165,
-0.004537764936685562,
0.06407999992370605,
-0.016307231038808823,
-0.026628965511918068,
0.02805584855377674,
0.03761781379580498,
0.038581423461437225,
-0.01172082219272852,
0.007199271582067013,
0.04662385210394859,
0.006777692586183548,
-0.0232378039509058,
-0.02748139016330242,
-0.0232378039509058,
0.03958209604024887,
-0.0035116137005388737,
-0.01691875234246254,
-0.035042013972997665,
-0.017697051167488098,
-0.05355442687869072,
0.004984823986887932,
0.043621841818094254,
-0.03507907688617706,
0.035950031131505966,
-0.01644621230661869,
0.033188920468091965,
0.005619508679956198,
0.04058276489377022,
-0.037098947912454605,
-0.0020893639884889126,
-0.010785008780658245,
0.014194702729582787,
-0.024961180984973907,
0.04036039486527443,
0.029519792646169662,
0.01673344150185585,
0.031502604484558105,
0.01883670501410961,
0.00004933140007779002,
0.01663152128458023,
0.06437649577856064,
-0.030057189986109734,
-0.043065913021564484,
-0.032095592468976974,
0.038952045142650604,
-0.002279306063428521,
-0.011266813613474369,
0.010608965530991554,
0.03643183410167694,
0.01506565697491169,
0.011248283088207245,
-0.03380044177174568,
-0.04010096192359924,
-0.041954055428504944,
-0.01848461665213108,
-0.08842965960502625,
-0.031873222440481186,
0.027796415612101555,
-0.09354420006275177,
0.0017395922914147377,
-0.018725518137216568,
0.02753698267042637,
-0.03163231909275055,
0.0036459630355238914,
-0.06471005827188492,
-0.031484074890613556,
-0.005285951774567366,
-0.06811974942684174,
0.04666091501712799,
0.026628965511918068,
-0.02918623574078083,
-0.07038052380084991,
0.02512795850634575,
0.0030529729556292295,
0.02208888530731201,
-0.028778554871678352,
-0.07078820466995239,
0.040026839822530746,
-0.04124987870454788,
0.02155148796737194,
0.08450110256671906,
-0.0002265697403345257,
-0.014630179852247238,
0.014287357218563557,
0.0445854514837265,
0.0018322470132261515,
-0.015111984685063362,
0.01897568628191948,
0.02601744420826435,
0.026332471519708633,
-0.06541422754526138,
-0.02418288215994835,
0.024961180984973907,
-0.04740215465426445,
-0.005420301109552383,
-0.06719320267438889,
0.009075529873371124,
0.07197418808937073,
-0.04473369941115379,
0.028519121930003166,
0.030557526275515556,
0.05184958130121231,
-0.019457491114735603,
0.016520336270332336,
-0.032799769192934036,
0.041954055428504944,
0.05136777460575104,
-0.003388846293091774,
-0.03973034396767616,
0.01883670501410961,
-0.03330010548233986,
-0.009182082489132881,
-0.06849036365747452,
-0.025943320244550705,
-0.00005950170088908635,
0.02192210592329502,
0.006652608513832092,
0.003884549019858241,
-0.020958496257662773,
0.012174829840660095,
-0.1285306215286255,
0.04176874831318855,
0.004150931257754564,
0.021106744185090065,
0.0269439909607172,
0.005888207349926233,
-0.007542094215750694,
0.03363366425037384,
-0.043214160948991776,
0.00753746135160327,
0.022070353850722313,
0.0010817438596859574,
0.020421098917722702,
-0.01172082219272852,
0.025924790650606155,
0.015232435427606106,
-0.035245854407548904,
0.014796958304941654,
-0.0251094289124012,
-0.01866992563009262,
0.03292948752641678,
-0.002913990756496787,
-0.055333398282527924,
0.024812933057546616,
-0.008371354080736637,
-0.03181762993335724,
0.03426371514797211,
0.020569346845149994,
-0.0046628485433757305,
-0.009969647973775864,
-0.0069166747853159904,
0.03544969484210014,
-0.028926802799105644,
-0.004482171963900328,
0.05225726217031479,
-0.025943320244550705,
0.010164222680032253,
0.0297606959939003,
-0.04780983552336693,
0.013805553317070007,
0.040805138647556305,
-0.039878591895103455,
0.004285280592739582,
-0.016103390604257584,
-0.023163679987192154,
-0.006624812260270119,
-0.02175532840192318,
0.012601041235029697,
0.016826096922159195,
0.01476916205137968,
0.09524904936552048,
-0.02173679694533348,
0.020587878301739693,
0.04932937026023865,
0.004282964393496513,
0.017335698008537292,
-0.007648646831512451,
-0.013064315542578697,
-0.010405125096440315,
0.03435637056827545,
0.042102303355932236,
-0.07023227959871292,
-0.06678552180528641,
0.04332534596323967,
-0.009700949303805828,
-0.005063580349087715,
0.07701460272073746,
0.01413911022245884,
-0.035042013972997665,
-0.06389469653367996,
0.0014303572243079543,
0.006143007893115282,
-0.021792389452457428,
-0.05003354698419571,
0.060855619609355927,
-0.07894182205200195,
-0.013444199226796627
]
|
37,096 | sphinx_autodoc_typehints | tag_name | null | def tag_name(node: Node) -> str:
return node.tagname # type:ignore[attr-defined,no-any-return]
| (node: 'Node') -> 'str' | [
0.03397887572646141,
-0.012575210072100163,
0.04403548315167427,
0.004173937253654003,
-0.007653701584786177,
-0.00758250430226326,
-0.0019924098160117865,
0.002643197076395154,
0.07888652384281158,
-0.05756295472383499,
0.010252400301396847,
-0.00725321751087904,
0.018351085484027863,
0.015512095764279366,
0.003179401159286499,
-0.035224828869104385,
0.011720843613147736,
0.043964285403490067,
-0.03374748304486275,
0.03476204350590706,
-0.054643869400024414,
0.06703218817710876,
0.039656855165958405,
-0.09262759238481522,
0.013812261633574963,
0.05898690223693848,
-0.005464387126266956,
0.022978903725743294,
-0.027499929070472717,
-0.053647108376026154,
-0.06859852373600006,
-0.09647224098443985,
0.043786294758319855,
-0.023050101473927498,
0.01789720170199871,
0.012744302861392498,
-0.027464330196380615,
0.07158880680799484,
-0.048058126121759415,
-0.03641737997531891,
-0.017051735892891884,
-0.02025561034679413,
-0.05129760131239891,
-0.06678299605846405,
-0.008690510876476765,
-0.018707070499658585,
0.08500948548316956,
0.019650433212518692,
-0.033587291836738586,
-0.009024248458445072,
0.06518106162548065,
0.03335589915513992,
-0.02755332551896572,
0.0044965497218072414,
-0.03033001720905304,
-0.023281492292881012,
-0.001238164259120822,
-0.0030970792286098003,
-0.042611539363861084,
0.09305477142333984,
-0.007586954161524773,
0.053860701620578766,
-0.021412566304206848,
-0.0025742247235029936,
-0.03346269577741623,
0.01791500113904476,
0.04877009987831116,
-0.01106226909905672,
-0.045281436294317245,
-0.014613230712711811,
0.020042018964886665,
-0.007938490249216557,
0.023690877482295036,
0.05222316458821297,
0.011231361888349056,
-0.039656855165958405,
-0.02685915306210518,
0.0412587933242321,
-0.001111900433897972,
-0.03688016161322594,
-0.012957895174622536,
0.004952657036483288,
0.00881955586373806,
-0.029244260862469673,
0.014987016096711159,
-0.027660122141242027,
-0.050692424178123474,
-0.046420589089393616,
-0.0676373615860939,
-0.016873741522431374,
0.014862420968711376,
0.0069016809575259686,
-0.020522600039839745,
0.023619679734110832,
0.0015173908323049545,
0.003869124222546816,
0.04257594048976898,
-0.02372647449374199,
0.013331680558621883,
0.017443319782614708,
0.035545215010643005,
0.05870211124420166,
-0.023139098659157753,
0.03688016161322594,
-0.05225876346230507,
-0.03449505567550659,
-0.045744217932224274,
0.029262060299515724,
0.06834933906793594,
-0.03114878572523594,
-0.00746235903352499,
-0.023174697533249855,
0.07016486674547195,
0.004614470060914755,
0.031575970351696014,
-0.041828371584415436,
0.02604038454592228,
0.0527215451002121,
-0.007048525381833315,
-0.024349451065063477,
0.06201278418302536,
-0.005593432113528252,
-0.050870418548583984,
-0.010964373126626015,
-0.015325202606618404,
0.017950600013136864,
0.026307374238967896,
0.05179598182439804,
-0.09668583422899246,
0.01435514073818922,
0.008267777971923351,
0.05752735957503319,
0.00001783407060429454,
0.04844971001148224,
0.05670858919620514,
0.0088685043156147,
0.020220011472702026,
0.04688337445259094,
0.009718420915305614,
0.0230857003480196,
0.021893147379159927,
-0.049553267657756805,
0.002585349138826132,
-0.030383415520191193,
-0.03433486074209213,
-0.008294477127492428,
-0.023815471678972244,
0.012201424688100815,
0.02602258510887623,
-0.043928686529397964,
-0.032376937568187714,
-0.0015274030156433582,
-0.001519615761935711,
0.05129760131239891,
0.028728080913424492,
0.05852412059903145,
-0.00469901692122221,
-0.02159055881202221,
-0.04795132949948311,
-0.04271833598613739,
0.0039937193505465984,
-0.034566253423690796,
-0.0012403891887515783,
-0.028941672295331955,
0.02059379778802395,
-0.06724578142166138,
-0.0031771762296557426,
0.011525050736963749,
0.010982171632349491,
-0.005055002868175507,
-0.01584138348698616,
0.03066820465028286,
-0.016188468784093857,
0.032376937568187714,
0.013749964535236359,
0.05585422366857529,
0.00956712756305933,
0.03583000227808952,
-0.004516574088484049,
0.0020702818874269724,
0.013474075123667717,
-0.0021214548032730818,
0.015752386301755905,
0.014461936429142952,
-0.005940518341958523,
-0.010172303766012192,
0.027944911271333694,
-0.002830089768394828,
-0.007885092869400978,
-0.02522161789238453,
0.020896386355161667,
-0.008227729238569736,
-0.033231303095817566,
-0.021804150193929672,
0.07881532609462738,
0.00614966033026576,
0.03196755424141884,
0.0140169532969594,
0.017283126711845398,
0.0033128957729786634,
0.07888652384281158,
0.0411875955760479,
-0.02506142295897007,
0.06130081042647362,
0.02735753357410431,
0.046278197318315506,
0.0675661638379097,
-0.012468414381146431,
-0.061265211552381516,
-0.03098859265446663,
0.010029909200966358,
0.007048525381833315,
0.014052552171051502,
0.01961483620107174,
0.006879431661218405,
-0.02009541727602482,
-0.11092527955770493,
0.031896356493234634,
-0.0379481203854084,
-0.0015685638645663857,
0.03397887572646141,
-0.022676317021250725,
0.08849815279245377,
-0.052507951855659485,
0.05503545328974724,
-0.029226461425423622,
0.04019083455204964,
0.007048525381833315,
0.0005384290125221014,
-0.003085954813286662,
0.016375361010432243,
0.006732587702572346,
0.07133962213993073,
-0.022872108966112137,
-0.02507922239601612,
-0.00022290849301498383,
-0.006296504754573107,
-0.0354028195142746,
0.010928774252533913,
-0.04862770438194275,
-0.05471506714820862,
-0.03134457767009735,
-0.004556622356176376,
0.02112777717411518,
0.018991859629750252,
-0.04335910826921463,
0.012397216632962227,
0.01945464126765728,
-0.024527443572878838,
0.0239400677382946,
0.007164220791310072,
-0.00741786090657115,
-0.020718391984701157,
0.02949345111846924,
0.000229444180149585,
-0.04866330325603485,
-0.022391527891159058,
0.00037934770807623863,
-0.012067929841578007,
0.002239375142380595,
-0.033907677978277206,
-0.005006054881960154,
-0.03198535367846489,
0.019650433212518692,
0.043465904891490936,
0.008054185658693314,
0.02504362352192402,
-0.015467597171664238,
-0.05403869226574898,
-0.03648857772350311,
0.10017449408769608,
-0.0412587933242321,
0.007137521635740995,
-0.010937673971056938,
0.04745294898748398,
-0.07404511421918869,
0.014043652452528477,
0.06952408701181412,
-0.05980566889047623,
-0.022640718147158623,
-0.030276620760560036,
-0.015307403169572353,
-0.026111582294106483,
0.0674949660897255,
-0.04553062468767166,
-0.04901928827166557,
0.013527472503483295,
0.007524656597524881,
0.005143999587744474,
-0.0029836087487637997,
-0.0140169532969594,
0.01829768717288971,
-0.036844562739133835,
0.03180735930800438,
-0.00796073954552412,
0.0014606555923819542,
0.04599340632557869,
0.019419042393565178,
0.028425492346286774,
-0.010296898894011974,
0.04186396673321724,
0.02787371352314949,
-0.009175542742013931,
-0.0676373615860939,
-0.03518922999501228,
0.03275072202086449,
-0.010314698331058025,
0.013963555917143822,
-0.04688337445259094,
0.019401242956519127,
-0.07539786398410797,
0.031753960996866226,
-0.0593428872525692,
-0.01739882118999958,
-0.0063143037259578705,
0.050051648169755936,
0.051511190831661224,
0.03084619715809822,
0.039514459669589996,
0.04044002294540405,
-0.006879431661218405,
-0.013749964535236359,
-0.057278167456388474,
-0.02442064881324768,
-0.0006101824692450464,
-0.011409355327486992,
-0.03762773424386978,
-0.02194654382765293,
0.03805491700768471,
0.05065682530403137,
-0.001740994630381465,
-0.026609962806105614,
-0.0012515137204900384,
-0.017283126711845398,
-0.13434916734695435,
-0.013367279432713985,
0.018511278554797173,
0.009887514635920525,
-0.02554200403392315,
0.00255197542719543,
-0.0031171035952866077,
0.007262116763740778,
-0.006683639716356993,
0.043145518749952316,
-0.0003888036007992923,
0.005366490688174963,
0.008307825773954391,
-0.007066324818879366,
0.08878293633460999,
0.03445945680141449,
0.04980245977640152,
0.05008724704384804,
-0.0023962315171957016,
-0.008187680505216122,
0.06582183390855789,
-0.016811445355415344,
0.024029063060879707,
0.08593504875898361,
-0.031095387414097786,
0.06233317032456398,
-0.041650377213954926,
-0.04250474274158478,
0.07995448261499405,
-0.022854309529066086,
0.06546584516763687,
-0.029956232756376266,
0.03638178110122681,
0.06518106162548065,
0.025257214903831482,
-0.0354740172624588,
-0.033587291836738586,
-0.02491902932524681,
-0.0741163119673729,
-0.05297073721885681,
-0.09255639463663101,
-0.0021459287963807583,
0.07675060629844666,
-0.058274928480386734,
-0.017692510038614273,
-0.023655278608202934,
-0.009148843586444855,
0.04652738571166992,
0.05791894346475601,
0.002270523924380541,
-0.04666978120803833,
0.021465962752699852,
-0.002006871858611703,
0.0007887317333370447,
0.012913396582007408,
0.02949345111846924,
0.03709375485777855,
-0.019864026457071304,
-0.014995915815234184,
0.051511190831661224,
-0.04556622356176376,
-0.048556506633758545,
-0.01895626075565815,
-0.09284117817878723,
-0.015369701199233532,
0.008374573662877083,
-0.01739882118999958,
-0.00019982502271886915,
-0.04093840345740318,
-0.021804150193929672,
0.025364011526107788,
0.06300954520702362,
-0.014586531557142735,
-0.016927139833569527,
-0.00779609614983201,
-0.03609699383378029,
-0.04108079895377159,
-0.0010518277995288372,
-0.07554025948047638,
-0.06069563329219818,
0.0676373615860939,
0.011080068536102772,
0.036221589893102646,
0.0445694625377655,
0.007426760625094175,
-0.03976365178823471,
-0.10373435914516449,
-0.012486213818192482,
0.009433632716536522,
0.04684777557849884,
0.004877009894698858,
-0.04595780745148659,
0.04068921506404877,
0.05428788438439369,
0.0078094457276165485,
0.05724256858229637,
0.020166613161563873,
0.03426366299390793,
0.003261722857132554,
-0.039336465299129486,
0.04666978120803833,
-0.056494999676942825,
-0.03890928253531456,
-0.027571124956011772,
0.008031937293708324,
0.013109189458191395,
-0.011106766760349274,
0.07710659503936768,
0.030223222449421883,
-0.03737854212522507,
0.009682822972536087,
0.015325202606618404,
-0.009033148176968098,
0.0012570760445669293,
0.00553113454952836,
-0.03275072202086449,
0.007017376367002726,
0.03033001720905304,
0.023690877482295036,
-0.021163376048207283,
-0.01738102175295353,
-0.02410026080906391,
-0.04919728264212608,
-0.025755595415830612,
-0.021181173622608185,
-0.06834933906793594,
-0.07660821080207825,
0.10515829920768738,
0.041970763355493546,
-0.009949812665581703,
-0.01392795704305172,
-0.0004928183043375611,
0.012121327221393585,
-0.05183158069849014,
0.021234571933746338,
-0.03645297884941101,
0.04189956560730934,
-0.02999183163046837,
0.034050073474645615,
-0.03203875198960304,
-0.018760468810796738,
-0.003998169209808111,
-0.08864054828882217,
0.006060663610696793,
0.01863587275147438,
-0.027428731322288513,
-0.014951417222619057,
-0.015280704014003277,
0.03182515874505043,
0.02272971346974373,
0.022160137072205544,
0.023779872804880142,
-0.00924673955887556,
0.05143999680876732,
-0.03082839772105217,
-0.020967582240700722,
-0.03102419152855873,
-0.018048496916890144,
-0.003301771357655525,
-0.00035570800537243485,
0.031237782910466194,
0.00610516220331192,
0.046420589089393616,
0.002089193556457758,
-0.07546906173229218,
0.046918969601392746,
-0.051048409193754196,
-0.07141081988811493,
0.04549502581357956,
-0.06820694357156754,
0.06368591636419296,
-0.0346018522977829,
0.023317091166973114,
0.012326019816100597,
0.005464387126266956,
-0.014809022657573223,
0.02853228710591793,
0.004474300425499678,
0.043430306017398834,
0.00009400258568348363,
0.021537160500884056,
0.009264538995921612,
-0.04385749250650406,
0.04681217670440674,
0.028995070606470108,
0.020575998350977898,
-0.005433238111436367,
-0.048556506633758545,
0.018244288861751556,
0.019579237326979637,
0.041151996701955795,
-0.00705742510035634,
-0.007382262498140335,
0.01442633755505085,
-0.04731055721640587,
0.057491760700941086,
0.005117300432175398,
-0.003704480594024062,
-0.031914155930280685,
-0.04503224417567253,
-0.03321350738406181,
0.03351609408855438,
-0.04225555434823036,
0.03609699383378029,
-0.014194946736097336,
0.02125237137079239,
0.020344607532024384,
-0.05197397619485855,
0.029048467054963112,
-0.005166248418390751,
-0.014720026403665543,
0.044106680899858475,
-0.029137464240193367,
0.030098626390099525,
-0.0024474046658724546,
-0.0024140309542417526,
0.012388316914439201,
-0.041935164481401443,
-0.041650377213954926,
-0.08992209285497665,
-0.00135942199267447,
-0.0346018522977829,
-0.057776547968387604,
-0.013527472503483295,
0.011827639304101467,
0.018867265433073044,
-0.020184412598609924,
-0.005081702023744583,
0.023032302036881447,
0.021163376048207283,
0.03397887572646141,
0.022640718147158623,
-0.019828427582979202,
-0.05638820305466652,
0.030597006902098656,
0.009513729251921177,
0.019721630960702896,
-0.0007086349069140851,
0.09967611730098724,
-0.03282191976904869,
-0.04485425353050232,
0.041828371584415436,
0.008005238138139248,
0.02408246137201786,
-0.038660094141960144,
-0.024865631014108658,
-0.016072774305939674,
0.003348494414240122,
0.005749175790697336,
0.015618891455233097,
-0.03130897879600525,
0.011961134150624275,
-0.025292813777923584,
0.012993494048714638,
-0.009780718944966793,
0.00823217909783125,
-0.029778240248560905,
-0.06550144404172897,
0.0355096161365509,
-0.06322313845157623,
-0.03705815598368645,
0.005922719370573759,
0.026609962806105614,
-0.01963263563811779,
-0.00874835904687643,
-0.02571999840438366,
0.05955648049712181,
-0.004018193576484919,
0.04417787864804268,
0.03374748304486275,
-0.018386682495474815,
0.0445694625377655,
0.008672712370753288,
-0.011943334713578224,
-0.010599486529827118,
0.031202184036374092,
-0.0026053735055029392,
0.006002815905958414,
0.017443319782614708,
0.021341368556022644,
-0.012699805200099945,
0.03495783731341362,
0.03065040521323681,
-0.03196755424141884,
0.05126200243830681,
-0.009362434968352318,
-0.003448615549132228,
0.0025008025113493204,
-0.0008632663520984352,
-0.02673455886542797,
-0.010012109763920307,
-0.011792040430009365,
0.02867468260228634,
-0.06329433619976044,
-0.010679583996534348,
-0.04004843905568123,
-0.00885070487856865,
-0.0677085593342781,
0.0007208719034679234,
-0.06464707851409912,
-0.021661756560206413,
0.029635844752192497,
0.016731347888708115,
-0.015129410661756992,
-0.06247556582093239,
0.006033964920789003,
0.023637479171156883,
0.009220040403306484,
-0.03182515874505043,
0.00243183015845716,
0.008005238138139248,
-0.004374179523438215,
0.027820315212011337,
0.008192130364477634,
-0.027660122141242027,
-0.02160835824906826,
0.026752356439828873,
0.001342735136859119,
0.010910974815487862,
-0.016944939270615578,
0.05638820305466652,
0.04602900519967079,
-0.01997082121670246,
-0.0028656884096562862,
-0.00560678169131279,
-0.011676345020532608,
0.019169852137565613,
-0.037663333117961884,
-0.0008054185891523957,
0.05585422366857529,
0.006576843559741974,
-0.044427067041397095,
0.020504800602793694,
-0.05243675783276558,
-0.019152052700519562,
-0.010457092896103859,
-0.055818624794483185,
0.051867179572582245,
0.021519361063838005,
-0.08593504875898361,
-0.027304135262966156,
-0.024687638506293297,
0.049232881516218185,
0.04834291711449623,
-0.006154110189527273,
-0.005615680944174528,
0.0015385275473818183,
0.010813078843057156,
-0.005962767638266087,
-0.04859210550785065,
0.06699658930301666,
0.008641563355922699,
-0.02669895999133587,
-0.002901286818087101,
0.07489947974681854,
0.008632663637399673,
-0.039300866425037384,
-0.04421347752213478,
0.011587348766624928,
0.0494820699095726,
-0.004765764344483614,
-0.02258731983602047,
0.03394327685236931,
0.05834612622857094,
0.009104344993829727,
-0.03663097321987152,
0.026770155876874924,
0.017051735892891884,
0.006496747024357319,
-0.019152052700519562,
0.058595314621925354,
-0.026111582294106483,
0.03170056268572807,
-0.015191707760095596,
0.013456275686621666,
0.0561034120619297,
-0.03577660396695137,
-0.08301596343517303,
-0.008138732984662056,
0.027749119326472282,
-0.00002609058537927922,
-0.020700592547655106,
-0.02933325618505478,
-0.004725715611129999,
0.014631030149757862,
0.05916489288210869,
-0.059449683874845505,
-0.015156108886003494,
0.0006485622143372893,
0.046100202947854996,
-0.009433632716536522,
0.010296898894011974,
-0.025933589786291122,
-0.003072605235502124,
-0.02406466193497181,
0.05507105216383934,
-0.011533950455486774,
0.046776577830314636,
-0.04122319445014,
-0.009033148176968098,
0.017621314153075218,
-0.014417437836527824,
-0.011347057297825813,
0.016135070472955704,
0.019401242956519127,
0.0346018522977829,
0.029226461425423622,
0.03369408845901489,
-0.03280412033200264,
-0.04044002294540405,
0.05784774571657181,
-0.02491902932524681,
-0.016375361010432243,
0.05873771011829376,
-0.027304135262966156,
-0.006287605036050081,
0.04695456847548485,
0.024118060246109962,
-0.02127017080783844,
-0.04307432100176811,
-0.0014995915116742253,
0.0020035344641655684,
0.07902891933917999,
-0.002592023927718401,
0.005010504741221666,
0.013474075123667717,
0.027588924393057823,
0.01122246216982603,
-0.0009594938601367176,
-0.018404481932520866,
-0.046242598444223404,
-0.0077248988673090935,
0.011667445302009583,
-0.007052975241094828
]
|
37,099 | sphinx_autodoc_typehints | unescape | null | def unescape(escaped: str) -> str:
# For some reason the string we get has a bunch of null bytes in it??
# Remove them...
escaped = escaped.replace("\x00", "")
# For some reason the extra slash before spaces gets lost between the .rst
# source and when this directive is called. So don't replace "\<space>" =>
# "<space>"
return re.sub(r"\\([^ ])", r"\1", escaped)
| (escaped: str) -> str | [
-0.022816499695181847,
0.005208506248891354,
0.04303776100277901,
0.014868572354316711,
-0.011903868988156319,
-0.017878331243991852,
0.011002743616700172,
0.011255058459937572,
0.03527005761861801,
0.04985027015209198,
0.05309431999921799,
-0.012102116830646992,
-0.019482335075736046,
0.05669882521033287,
0.028043029829859734,
0.05186878889799118,
0.018869569525122643,
0.08203847706317902,
-0.007465825881808996,
0.009921393357217312,
-0.0468585304915905,
-0.001059949048794806,
0.014318886213004589,
-0.02360949106514454,
-0.018112624064087868,
-0.01155243068933487,
-0.04217267781496048,
-0.04552486538887024,
-0.030746405944228172,
-0.05082348361611366,
0.005677091423422098,
-0.009326649829745293,
0.035071808844804764,
-0.01876143552362919,
0.06999943405389786,
0.015994979068636894,
-0.0011973707005381584,
0.028673816472291946,
-0.0371624194085598,
-0.08175011724233627,
-0.03882049024105072,
-0.033377692103385925,
0.02106831595301628,
-0.01514792162925005,
-0.008916637860238552,
-0.009642044082283974,
0.03928907588124275,
-0.08996838331222534,
-0.016355430707335472,
0.02124854177236557,
0.058320850133895874,
0.06077191233634949,
-0.016995228826999664,
0.04296566918492317,
0.048588693141937256,
-0.002421775134280324,
-0.00835343450307846,
0.04386679455637932,
0.027898848056793213,
-0.032224252820014954,
0.009389729239046574,
-0.011255058459937572,
-0.01924804225564003,
-0.0014192728558555245,
0.045957405120134354,
0.051472295075654984,
0.041091326624155045,
-0.016274329274892807,
-0.0062177665531635284,
-0.05741972476243973,
-0.11217211931943893,
-0.011101867072284222,
-0.017653049901127815,
-0.01238146610558033,
0.09948426485061646,
-0.09645648300647736,
-0.015292101539671421,
-0.002667331835255027,
-0.008700367994606495,
-0.027700601145625114,
0.012336409650743008,
-0.03501773998141289,
0.019770696759223938,
0.00681701535359025,
0.02645704708993435,
-0.04047856107354164,
-0.005537416785955429,
-0.026042530313134193,
-0.050102584064006805,
0.03449508920311928,
0.07003547996282578,
-0.04952586442232132,
-0.07403647899627686,
0.06444850564002991,
-0.019464313983917236,
-0.01180474553257227,
0.024871066212654114,
0.02591637335717678,
-0.021951420232653618,
-0.06589030474424362,
0.018301861360669136,
0.07043197751045227,
-0.08845449239015579,
0.0306022260338068,
0.0034468055237084627,
-0.02743026427924633,
0.009146424941718578,
-0.005163449794054031,
0.00736219622194767,
-0.08895912021398544,
0.013498861342668533,
-0.0040820990689098835,
-0.02910635806620121,
-0.0005784099921584129,
0.024294346570968628,
-0.020203236490488052,
-0.01096669863909483,
-0.036729879677295685,
0.08658014982938766,
-0.007560444064438343,
0.029232515022158623,
-0.020653799176216125,
-0.10417012125253677,
-0.00748835364356637,
-0.01153440773487091,
0.021987464278936386,
-0.023032771423459053,
0.04981422424316406,
-0.02377169393002987,
0.013976458460092545,
-0.03478344902396202,
0.04419120028614998,
-0.01620223931968212,
-0.0551488883793354,
0.015247045084834099,
0.023897850885987282,
-0.01330962497740984,
0.044551651924848557,
-0.012002993375062943,
0.029899347573518753,
-0.00861025508493185,
0.005807754583656788,
0.025375697761774063,
0.03900071606040001,
-0.05586978793144226,
0.027502354234457016,
0.022888589650392532,
0.06538567692041397,
0.03662174567580223,
0.01321050152182579,
0.010164696723222733,
-0.023825760930776596,
-0.022672319784760475,
0.025988463312387466,
-0.010326899588108063,
0.007542421575635672,
0.029520874843001366,
-0.008885098621249199,
-0.00013530964497476816,
-0.0014598234556615353,
0.0027371691539883614,
-0.03314340114593506,
0.00011707592784659937,
-0.019302111119031906,
-0.0010633282363414764,
-0.022059554234147072,
0.039433255791664124,
-0.051111843436956406,
0.002629033988341689,
0.005384225398302078,
-0.007371207699179649,
-0.00610512588173151,
-0.044587694108486176,
0.03316142410039902,
0.03997393324971199,
0.015201988629996777,
0.014363942667841911,
0.05172460898756981,
-0.02775466814637184,
-0.023050792515277863,
0.07079242914915085,
-0.02944878488779068,
0.005704124923795462,
-0.04329007491469383,
0.035558417439460754,
-0.015616507269442081,
0.0053031244315207005,
0.02842150256037712,
0.008912132121622562,
-0.038027502596378326,
0.042388949543237686,
-0.019446291029453278,
-0.012219263240695,
-0.028908109292387962,
-0.021536901593208313,
-0.06610657274723053,
0.029322627931833267,
0.026637272909283638,
0.04195640981197357,
-0.07144124060869217,
-0.04905727878212929,
0.02510535903275013,
0.008412007242441177,
-0.03299922123551369,
-0.002235917840152979,
0.00047506214468739927,
0.0005665827193297446,
-0.02694365568459034,
-0.09350079298019409,
0.001707633025944233,
0.028385456651449203,
-0.02274440973997116,
0.02690761163830757,
-0.036027003079652786,
0.011858813464641571,
0.05576165392994881,
-0.031719621270895004,
0.05785226449370384,
0.022149667143821716,
0.024132143706083298,
-0.05889756977558136,
-0.00887158140540123,
-0.02442050352692604,
-0.04188431799411774,
-0.03168357536196709,
-0.06138467788696289,
-0.049633998423814774,
0.06880994886159897,
0.025970440357923508,
-0.004699369892477989,
0.026799475774168968,
-0.05568956211209297,
0.0014846044359728694,
-0.010200741700828075,
0.04419120028614998,
0.005843799561262131,
-0.011921891942620277,
-0.04985027015209198,
0.027808737009763718,
-0.016535654664039612,
-0.07144124060869217,
-0.06434036791324615,
0.01346281636506319,
-0.004010009113699198,
0.030187707394361496,
0.00820024311542511,
-0.004365953616797924,
0.052625734359025955,
0.022888589650392532,
-0.023321131244301796,
0.024150166660547256,
0.0277726911008358,
0.008267827332019806,
0.03577468544244766,
0.027844781056046486,
0.04570509120821953,
-0.016625767573714256,
0.005938417743891478,
-0.016445541754364967,
0.05255364626646042,
0.03179171308875084,
-0.0729190856218338,
-0.017644040286540985,
-0.034242771565914154,
0.04480396583676338,
-0.004147430416196585,
-0.03076442889869213,
0.034891583025455475,
-0.001992614008486271,
0.00886256992816925,
0.03326955810189247,
-0.030205730348825455,
-0.0006713385810144246,
-0.0775688961148262,
-0.05215714871883392,
0.02209560014307499,
0.024204233661293983,
-0.04300171509385109,
0.009624021127820015,
-0.014841538853943348,
-0.013967446982860565,
-0.01774316281080246,
0.00183942262083292,
0.04195640981197357,
0.06830532103776932,
-0.0042330375872552395,
0.03025979734957218,
-0.009642044082283974,
0.032855041325092316,
0.03363000601530075,
0.03964952751994133,
0.034062549471855164,
0.03011561743915081,
-0.005199494771659374,
-0.005073337350040674,
0.01045305747538805,
-0.022852545604109764,
-0.08492207527160645,
-0.03698219358921051,
-0.019950920715928078,
-0.018959682434797287,
0.01295818667858839,
-0.002996242605149746,
0.0005125151947140694,
-0.02409609965980053,
0.029574941843748093,
-0.03501773998141289,
0.04217267781496048,
0.03530609980225563,
-0.028817996382713318,
-0.026799475774168968,
0.011597486212849617,
-0.025970440357923508,
0.0478677935898304,
-0.05659068748354912,
0.06653911620378494,
-0.0448400117456913,
-0.027268061414361,
0.08275937288999557,
-0.010011505335569382,
0.017301611602306366,
-0.003933413419872522,
0.03611711412668228,
-0.03173764422535896,
-0.004875089507550001,
-0.03694615140557289,
-0.008020018227398396,
-0.004694864619523287,
0.048768918961286545,
0.06376364827156067,
-0.017770197242498398,
-0.037054285407066345,
-0.02344728820025921,
-0.036027003079652786,
0.056158147752285004,
-0.06552985310554504,
-0.006249306257814169,
-0.04765152186155319,
-0.004399745725095272,
-0.007082847412675619,
0.010209753178060055,
0.006195238791406155,
0.036711856722831726,
-0.02159097045660019,
-0.03827981650829315,
0.004667830653488636,
-0.03611711412668228,
0.05183274671435356,
0.024708863347768784,
-0.05568956211209297,
0.03240447863936424,
-0.010047550313174725,
0.03276492655277252,
-0.01876143552362919,
-0.026637272909283638,
-0.013264569453895092,
-0.041415732353925705,
0.09184272587299347,
-0.02310486137866974,
-0.058969661593437195,
-0.03982975333929062,
0.031881824135780334,
-0.03249458968639374,
-0.01687808334827423,
0.0519048348069191,
-0.013282591477036476,
-0.04638994485139847,
0.013940413482487202,
-0.04768756777048111,
0.0551488883793354,
-0.019788717851042747,
0.00033933011582121253,
-0.00006033317549736239,
-0.028079073876142502,
0.009822268970310688,
0.026402980089187622,
-0.0024307863786816597,
-0.04512837156653404,
-0.009416762739419937,
-0.07800143212080002,
0.016139158979058266,
0.07475738227367401,
-0.05788831040263176,
-0.05309431999921799,
0.014994730241596699,
-0.014742415398359299,
-0.0074027469381690025,
0.028529636561870575,
-0.013823267072439194,
-0.01096669863909483,
-0.000791864120401442,
-0.010921642184257507,
0.021464811637997627,
0.005866327788680792,
-0.07720844447612762,
-0.022347915917634964,
0.024835022166371346,
0.0002344334643566981,
0.02490711212158203,
0.004640796687453985,
-0.02022125944495201,
0.08052458614110947,
0.034224752336740494,
-0.012345421127974987,
0.016661813482642174,
0.02577219158411026,
-0.006551183294504881,
-0.007384724449366331,
-0.019536403939127922,
0.0009940541349351406,
-0.013345669955015182,
-0.018995728343725204,
0.00845255795866251,
0.0021322884131222963,
0.06318692862987518,
0.034026503562927246,
0.026853542774915695,
-0.030530136078596115,
0.016833025962114334,
-0.029719121754169464,
-0.03809959068894386,
-0.03179171308875084,
-0.044119108468294144,
0.03763100504875183,
-0.028006983920931816,
-0.03563050553202629,
0.009894358925521374,
0.0006319143576547503,
0.05183274671435356,
0.04397492855787277,
-0.019121885299682617,
-0.06336715072393417,
-0.01740974746644497,
-0.08088503777980804,
-0.01337270438671112,
0.019878830760717392,
0.049093324691057205,
0.04732711613178253,
0.04664226248860359,
0.04967004433274269,
-0.009434784762561321,
0.048444513231515884,
0.03546830266714096,
-0.007434286177158356,
0.048588693141937256,
-0.015283090062439442,
-0.044767919927835464,
0.0755503699183464,
-0.014381964690983295,
-0.00887158140540123,
0.006497115828096867,
0.019500358030200005,
-0.02155492454767227,
-0.018959682434797287,
0.02660122886300087,
-0.0876614972949028,
0.04004602134227753,
-0.03197193518280983,
0.0011883594561368227,
0.04736316204071045,
-0.03727055713534355,
0.034729380160570145,
0.024294346570968628,
0.00862827803939581,
-0.013850300572812557,
-0.00225844606757164,
-0.005794237833470106,
-0.01462526898831129,
-0.05269782617688179,
0.010209753178060055,
-0.017346667125821114,
-0.025970440357923508,
0.03335966914892197,
0.045092325657606125,
0.00501926988363266,
-0.002282100496813655,
-0.039433255791664124,
-0.0007907377439551055,
0.003464828012511134,
0.025213494896888733,
-0.024024009704589844,
-0.03231436386704445,
-0.01806756854057312,
-0.028367433696985245,
-0.009245548397302628,
0.06005100905895233,
0.03694615140557289,
-0.0006600745255127549,
0.01604003645479679,
0.03335966914892197,
0.0364595428109169,
0.050787437707185745,
-0.04249708354473114,
-0.018995728343725204,
-0.022852545604109764,
-0.0306022260338068,
0.03712637349963188,
0.022167690098285675,
0.06498917937278748,
-0.033720120787620544,
0.023627514019608498,
-0.11779513955116272,
-0.0324224978685379,
-0.06596239656209946,
-0.005375214386731386,
-0.006970206741243601,
0.02105029486119747,
0.012048049829900265,
0.03240447863936424,
0.01379623357206583,
0.03559446334838867,
-0.006100620608776808,
0.0007789104711264372,
0.008024523966014385,
0.02962901070713997,
0.014282841235399246,
0.004920145962387323,
-0.00996644888073206,
0.06250207126140594,
0.018509119749069214,
-0.04905727878212929,
0.007479342631995678,
-0.03842399641871452,
0.0023384210653603077,
-0.024222256615757942,
-0.014949673786759377,
-0.08333609998226166,
0.06592635065317154,
-0.006465576123446226,
-0.015418259426951408,
-0.020545663312077522,
0.001120775006711483,
-0.01890561543405056,
-0.07165750861167908,
-0.004287105053663254,
0.05990682914853096,
-0.008682345040142536,
-0.05197692662477493,
0.003624777775257826,
0.04368656873703003,
0.024005986750125885,
0.018346916884183884,
-0.03198995813727379,
0.021987464278936386,
0.005028280895203352,
0.043578434735536575,
-0.04772361367940903,
0.021356677636504173,
0.012922141700983047,
0.032386455684900284,
-0.10049352794885635,
0.004411010071635246,
-0.012012004852294922,
0.028529636561870575,
0.011237036436796188,
-0.014183716848492622,
-0.049633998423814774,
0.03189984709024429,
-0.07771307229995728,
0.04235290363430977,
-0.000003172419837937923,
-0.020293349400162697,
0.03546830266714096,
0.05017467588186264,
-0.030349910259246826,
0.029701100662350655,
-0.0072630723007023335,
-0.02759246714413166,
-0.03162951022386551,
0.01462526898831129,
-0.03460322320461273,
0.006276339758187532,
0.10150279104709625,
-0.006033035926520824,
-0.028331389650702477,
-0.011336159892380238,
0.10063771158456802,
-0.02375367097556591,
0.04015415906906128,
0.01330962497740984,
0.05255364626646042,
-0.028151163831353188,
-0.012435533106327057,
-0.07144124060869217,
-0.04678644239902496,
-0.036711856722831726,
0.021320631727576256,
0.05752785876393318,
0.06653911620378494,
-0.024636773392558098,
-0.019446291029453278,
-0.03997393324971199,
0.032206229865550995,
0.027700601145625114,
0.05215714871883392,
-0.02126656472682953,
-0.04285753518342972,
0.054536122828722,
0.012669825926423073,
0.002872337820008397,
0.060303326696157455,
0.03734264522790909,
0.042749397456645966,
0.06235789135098457,
0.013129400089383125,
-0.013841289095580578,
0.01739172451198101,
-0.0032440521754324436,
-0.02339322119951248,
-0.004708381369709969,
-0.0058573163114488125,
0.01003853976726532,
-0.009912381879985332,
0.021194474771618843,
0.04581322520971298,
0.06113236024975777,
-0.02544778771698475,
-0.04703875631093979,
-0.033864300698041916,
0.09148227423429489,
0.0012874832609668374,
-0.006677340716123581,
-0.06596239656209946,
0.006199744064360857,
0.023140905424952507,
0.0024735897313803434,
0.05399544537067413,
0.016013002023100853,
-0.020347416400909424,
-0.005469832569360733,
-0.00626732874661684,
-0.006853060331195593,
-0.015382214449346066,
0.036405473947525024,
-0.013120388612151146,
0.011047800071537495,
-0.024222256615757942,
0.010687349364161491,
0.034729380160570145,
0.008745424449443817,
0.09789828956127167,
-0.014030525460839272,
-0.05024676397442818,
0.06178117170929909,
-0.04177618399262428,
-0.011903868988156319,
-0.035215988755226135,
-0.038063544780015945,
-0.019374201074242592,
-0.0048705837689340115,
0.0006206502439454198,
0.035558417439460754,
0.04101923853158951,
-0.02142876759171486,
-0.0027979949954897165,
0.024222256615757942,
-0.015265068039298058,
-0.014336908236145973,
0.03727055713534355,
0.019860807806253433,
0.03348582610487938,
-0.00694317277520895,
0.008691356517374516,
-0.004735414870083332,
0.016625767573714256,
0.014021514914929867,
-0.0017436780035495758,
0.06444850564002991,
-0.04098319262266159,
-0.04664226248860359,
0.03267481550574303,
0.01154341921210289,
-0.06416014581918716,
-0.04289357736706734,
-0.011155935004353523,
-0.046750396490097046,
0.05158042907714844,
-0.03314340114593506,
0.03399045765399933,
0.026240777224302292,
-0.028151163831353188,
0.001525155152194202,
-0.024312369525432587,
-0.08045249432325363,
-0.02577219158411026,
0.009885348379611969,
-0.020996225997805595,
0.028187209740281105,
0.054464031010866165,
-0.048588693141937256,
-0.039757661521434784,
-0.03600898012518883,
-0.02510535903275013,
0.0011404871474951506,
-0.04967004433274269,
-0.04145177826285362,
0.045741137117147446,
-0.031178945675492287,
0.04974213242530823,
0.028727885335683823,
0.01378722209483385,
0.0011511879274621606,
0.030728382989764214,
-0.04502023383975029,
0.014787470921874046,
0.043398208916187286,
0.0324224978685379,
-0.025393718853592873,
-0.05882548168301582,
0.018869569525122643,
0.02260022982954979,
0.044227246195077896,
-0.01892363838851452,
0.0025614495389163494,
0.09739365428686142,
-0.027213992550969124,
-0.034531135112047195,
-0.0006865450995974243,
-0.014751425944268703,
-0.017463814467191696,
-0.03741473704576492,
-0.00438622897490859,
0.015183966606855392,
0.010606248863041401,
-0.017310623079538345,
0.02660122886300087,
-0.056158147752285004,
0.02692563273012638,
0.0438307486474514,
0.01872538961470127,
-0.04166804999113083,
0.025826260447502136,
-0.010876585729420185,
0.005510383285582066,
-0.06235789135098457,
-0.03460322320461273,
-0.01137220486998558,
-0.009849302470684052,
0.013688097707927227,
0.0185812097042799,
0.011579464189708233,
0.06516940146684647,
-0.009060817770659924,
0.061312586069107056,
0.007641545031219721,
0.0073441737331449986,
-0.01840999536216259,
-0.01692313887178898,
-0.002046681474894285,
-0.014021514914929867,
0.04213663190603256,
0.07728052884340286,
-0.06073586642742157,
0.015337157994508743,
0.016436530277132988,
-0.0214107446372509,
0.028331389650702477,
0.029701100662350655,
-0.02577219158411026,
0.017842287197709084,
0.002694365568459034,
0.024222256615757942,
-0.023519378155469894,
-0.008137164637446404,
-0.017815252766013145,
0.010786473751068115,
-0.00017698670853860676,
-0.04664226248860359
]
|
37,100 | sphinx_autodoc_typehints | validate_config | null | def validate_config(app: Sphinx, env: BuildEnvironment, docnames: list[str]) -> None: # noqa: ARG001
valid = {None, "comma", "braces", "braces-after"}
if app.config.typehints_defaults not in valid | {False}:
msg = f"typehints_defaults needs to be one of {valid!r}, not {app.config.typehints_defaults!r}"
raise ValueError(msg)
formatter = app.config.typehints_formatter
if formatter is not None and not callable(formatter):
msg = f"typehints_formatter needs to be callable or `None`, not {formatter}"
raise ValueError(msg)
| (app: 'Sphinx', env: 'BuildEnvironment', docnames: 'list[str]') -> 'None' | [
-0.013457216322422028,
-0.012958128936588764,
0.04079814255237579,
-0.07622428983449936,
-0.01844809204339981,
0.03195975720882416,
0.02194170653820038,
-0.01686008647084236,
0.007096118293702602,
-0.03818473964929581,
-0.01166050136089325,
-0.011905508115887642,
0.047694627195596695,
-0.040326278656721115,
-0.0022731171920895576,
0.018892735242843628,
0.0060389600694179535,
0.03016304038465023,
0.04272189736366272,
0.02146984077990055,
-0.02009054459631443,
-0.07905547320842743,
-0.035135768353939056,
0.023847313597798347,
-0.017114168033003807,
0.042576711624860764,
0.0625402107834816,
-0.018556984141469002,
-0.017350099980831146,
-0.016606004908680916,
-0.005916456691920757,
-0.013184987008571625,
0.07970882952213287,
0.04123371094465256,
0.028003351762890816,
-0.050925083458423615,
0.04489973559975624,
0.05796675756573677,
-0.03248606622219086,
-0.001718449406325817,
-0.023756569251418114,
0.002806233474984765,
-0.006488138809800148,
0.005539872217923403,
-0.022032449021935463,
-0.003620653646066785,
-0.024282880127429962,
0.06170537695288658,
-0.10112421959638596,
-0.000733885623048991,
0.004258124623447657,
-0.032794591039419174,
0.01672397181391716,
0.04039887338876724,
-0.03549874201416969,
-0.010435468517243862,
0.046024952083826065,
0.06747664511203766,
0.033538687974214554,
-0.008039847947657108,
0.002003156114369631,
0.03609764575958252,
0.062322430312633514,
-0.08413709700107574,
0.045226410031318665,
-0.01784011349081993,
0.008039847947657108,
-0.02475474588572979,
0.0012363761197775602,
-0.0018591013504192233,
-0.01537189818918705,
-0.03326645866036415,
-0.09045282006263733,
0.03190530836582184,
0.0410885214805603,
-0.07194121181964874,
-0.047404248267412186,
0.07379236817359924,
0.020163139328360558,
-0.02446436695754528,
-0.0017751639243215322,
0.01690545864403248,
0.021143166348338127,
0.010725846514105797,
0.059382349252700806,
0.029201162979006767,
-0.05030803009867668,
0.08116071671247482,
0.0718323215842247,
0.02544439397752285,
0.0051315282471477985,
-0.027840014547109604,
0.01212329138070345,
-0.011805690824985504,
-0.022268380969762802,
0.04116111621260643,
0.025934407487511635,
-0.06464545428752899,
0.002872022334486246,
0.006302115507423878,
0.0038339002057909966,
-0.04232262820005417,
0.01810326799750328,
-0.01892903260886669,
-0.008665976114571095,
-0.05582521855831146,
0.008829313330352306,
0.0012953592231497169,
-0.011724021285772324,
0.01818493753671646,
0.029001526534557343,
-0.1213781088590622,
0.03822103515267372,
-0.002142673823982477,
0.015544310212135315,
0.016279330477118492,
0.006029885727912188,
-0.024192137643694878,
0.00013334996765479445,
0.014282980002462864,
0.036696549504995346,
-0.0071959360502660275,
-0.02889263443648815,
-0.03591616079211235,
0.07905547320842743,
0.0429396815598011,
-0.018121417611837387,
0.04076184704899788,
0.020526112988591194,
0.004176456015557051,
0.03493613377213478,
0.0484931655228138,
-0.02141539566218853,
-0.03039897233247757,
0.014809289947152138,
0.009278492070734501,
-0.004112935625016689,
0.019201261922717094,
-0.013883709907531738,
-0.03771287575364113,
0.01009971834719181,
0.057821568101644516,
-0.005862010642886162,
-0.06170537695288658,
-0.02228653058409691,
0.024391772225499153,
-0.061160918325185776,
-0.022830989211797714,
0.022830989211797714,
0.04780351743102074,
-0.018166787922382355,
-0.00854800920933485,
-0.06217724084854126,
-0.01528115477412939,
-0.010362873785197735,
-0.002116585150361061,
0.020598705857992172,
-0.049545787274837494,
0.04704127460718155,
0.0010900526540353894,
0.015589682385325432,
-0.02353878691792488,
0.028801891952753067,
-0.02894708141684532,
-0.0032803667709231377,
0.05582521855831146,
-0.016397295519709587,
-0.0018885928438976407,
0.020798342302441597,
0.026279231533408165,
-0.03901957720518112,
-0.0349905788898468,
0.024083245545625687,
0.02780371718108654,
0.06696848571300507,
0.0008830447914078832,
0.00014370036660693586,
0.028565960004925728,
0.00932840071618557,
-0.011615130119025707,
-0.003920106217265129,
0.03156048431992531,
-0.017213985323905945,
0.0009165063383989036,
0.02613404206931591,
0.10039827972650528,
-0.01370222307741642,
0.009709522128105164,
-0.022812841460108757,
0.0050317104905843735,
0.01459150668233633,
-0.0027767419815063477,
-0.002926468150690198,
-0.009564333595335484,
-0.006556196138262749,
-0.0007287813350558281,
0.0008648961083963513,
0.020072396844625473,
0.023811016231775284,
-0.05814824253320694,
0.020417220890522003,
-0.010571583174169064,
0.00010903362999670208,
0.002160822506994009,
0.03448241576552391,
0.055934108793735504,
-0.0043851654045283794,
-0.03132455423474312,
-0.020126841962337494,
-0.03288533538579941,
0.019945355132222176,
-0.031215660274028778,
-0.026170339435338974,
0.006873797625303268,
-0.013420919887721539,
0.0034142129588872194,
0.017241207882761955,
-0.01156975794583559,
-0.09335660189390182,
0.0245188120752573,
0.12783902883529663,
0.020526112988591194,
0.12341075390577316,
-0.034809090197086334,
0.10424578934907913,
0.006674162577837706,
0.001272673369385302,
-0.02348433993756771,
0.03785806521773338,
0.029219310730695724,
-0.016070621088147163,
-0.02382916398346424,
-0.06671439856290817,
0.027495190501213074,
0.015190412290394306,
-0.039636630564928055,
0.07226788252592087,
-0.06391951441764832,
0.020163139328360558,
0.03437352553009987,
0.03219568729400635,
0.01677841879427433,
-0.0834837481379509,
-0.046206437051296234,
-0.007853823713958263,
-0.009069782681763172,
-0.007504462730139494,
0.011950879357755184,
-0.015045222826302052,
-0.002983182668685913,
-0.04871094971895218,
0.032431621104478836,
0.018466241657733917,
-0.006206835154443979,
0.01807604543864727,
0.027840014547109604,
-0.038366224616765976,
-0.034282781183719635,
0.031415294855833054,
-0.06689588725566864,
-0.007372885011136532,
0.07165083289146423,
0.02722296118736267,
0.12072475254535675,
-0.02186911180615425,
0.03219568729400635,
0.06511732190847397,
-0.04598865285515785,
-0.028747446835041046,
0.03027193248271942,
0.028311878442764282,
0.07883769273757935,
0.0010486511746421456,
0.0023060115054249763,
0.04232262820005417,
0.006528973113745451,
0.06696848571300507,
0.028166688978672028,
0.020526112988591194,
0.03720471262931824,
0.041705574840307236,
-0.03666025400161743,
0.04232262820005417,
0.0736834779381752,
0.03920106217265129,
0.004886521492153406,
-0.0683840736746788,
0.01637914776802063,
-0.014918182045221329,
0.03021748550236225,
0.02825743332505226,
0.006084331776946783,
0.07622428983449936,
0.01825753226876259,
-0.0016503919614478946,
-0.016233958303928375,
0.051033977419137955,
-0.02626108191907406,
-0.03293978050351143,
-0.07063450664281845,
-0.027041474357247353,
0.0184208694845438,
0.0008518517715856433,
0.004714109469205141,
0.044246383011341095,
-0.03275829553604126,
-0.0015585144283249974,
-0.0744820162653923,
0.04123371094465256,
-0.027313703671097755,
-0.010753069072961807,
0.008743107318878174,
-0.01041731983423233,
0.019763868302106857,
0.05056210979819298,
0.028457067906856537,
0.01658785715699196,
-0.05582521855831146,
-0.02009054459631443,
0.038946982473134995,
-0.028130391612648964,
0.030035998672246933,
0.038547713309526443,
-0.11252156645059586,
-0.0349905788898468,
-0.0033393497578799725,
0.03165122866630554,
-0.018066970631480217,
-0.012758494354784489,
0.014110567979514599,
-0.021778367459774017,
-0.04290338605642319,
0.03489983454346657,
0.008743107318878174,
0.033593133091926575,
-0.033774618059396744,
0.006628790870308876,
0.0021177195012569427,
-0.013030723668634892,
-0.06366542726755142,
0.01733195222914219,
-0.00808521918952465,
0.049654681235551834,
-0.008012624457478523,
-0.007826601155102253,
0.016533412039279938,
-0.037785470485687256,
-0.019437193870544434,
0.05549854040145874,
0.02889263443648815,
-0.017486214637756348,
0.006610642187297344,
-0.00538107194006443,
0.02401065081357956,
0.02660590596497059,
-0.052812542766332626,
-0.0037794543895870447,
0.006170537788420916,
-0.004464565310627222,
-0.012168663553893566,
-0.013457216322422028,
-0.012050696648657322,
-0.01802160032093525,
0.016606004908680916,
0.0017071064794436097,
0.06312096863985062,
0.018965328112244606,
-0.0017241208115592599,
0.03466390445828438,
-0.018348274752497673,
-0.003230457892641425,
-0.004546234384179115,
-0.0003490777453407645,
-0.058003053069114685,
-0.015961728990077972,
0.004310301970690489,
0.0033915271051228046,
0.029836364090442657,
-0.05767637863755226,
0.014410020783543587,
-0.011479014530777931,
0.04156038537621498,
0.04421008750796318,
0.026497013866901398,
-0.031451594084501266,
-0.11535275727510452,
-0.06725885719060898,
0.006143314763903618,
-0.045916058123111725,
0.035444293171167374,
0.029455242678523064,
0.015408195555210114,
-0.011243082582950592,
0.02642442099750042,
-0.0818866640329361,
0.007209547329694033,
-0.017168613150715828,
0.026551460847258568,
-0.012368298135697842,
0.01929200440645218,
-0.010689549148082733,
-0.05847491696476936,
-0.04025368392467499,
0.02228653058409691,
0.007980864495038986,
0.07303012907505035,
0.011705872602760792,
0.03678729385137558,
-0.0065108248963952065,
0.05234067887067795,
0.031161215156316757,
-0.01068047434091568,
0.05832973122596741,
0.026624055579304695,
-0.01582561433315277,
0.025262907147407532,
-0.046424221247434616,
-0.0009267149143852293,
-0.0109980758279562,
-0.057023026049137115,
0.022613205015659332,
-0.04569827765226364,
0.06355653703212738,
0.06366542726755142,
0.05041692405939102,
0.03580726683139801,
-0.026515163481235504,
0.013021649792790413,
-0.034464266151189804,
-0.055353350937366486,
-0.05266735330224037,
0.04950949177145958,
0.004600680433213711,
-0.09204990416765213,
-0.006919168867170811,
-0.06569807976484299,
0.004512205719947815,
-0.04450046643614769,
0.026696650311350822,
-0.04304857552051544,
-0.009137840010225773,
0.014754844829440117,
0.035553187131881714,
0.043956007808446884,
0.00797632709145546,
-0.012713122181594372,
-0.036297280341386795,
0.023647679015994072,
-0.02141539566218853,
-0.05415554344654083,
-0.05219548940658569,
-0.01590728387236595,
-0.0076224287040531635,
-0.029545987024903297,
0.0333934985101223,
-0.03252236172556877,
-0.05560743436217308,
0.02798520401120186,
-0.01313054095953703,
0.015607830137014389,
0.02061685547232628,
-0.012386446818709373,
-0.018357349559664726,
-0.038366224616765976,
-0.006656013894826174,
0.025008825585246086,
0.02308507077395916,
0.00391556927934289,
0.009242194704711437,
0.0569867305457592,
-0.01619766093790531,
0.0019214872736483812,
0.05470000207424164,
0.048384275287389755,
-0.031977903097867966,
-0.004759480711072683,
0.043956007808446884,
0.06206835061311722,
0.018520686775445938,
-0.008407357148826122,
0.031161215156316757,
0.012822014279663563,
-0.04381081834435463,
0.04874724894762039,
-0.01447354070842266,
-0.0463879257440567,
0.0012034816900268197,
-0.04791241139173508,
-0.08936390280723572,
0.04370192438364029,
-0.03689618408679962,
-0.043556734919548035,
0.045625682920217514,
-0.025117717683315277,
0.03793065622448921,
-0.012059771455824375,
0.045444194227457047,
0.016941756010055542,
0.01715046539902687,
0.02372027188539505,
0.05266735330224037,
-0.025462541729211807,
-0.027259256690740585,
-0.02019943669438362,
0.05520816519856453,
-0.0625402107834816,
-0.006837500259280205,
0.021397246047854424,
-0.06224983558058739,
-0.03749509155750275,
-0.09502627700567245,
-0.014655026607215405,
0.04272189736366272,
0.04627903178334236,
0.07549834251403809,
-0.03097972832620144,
0.009319326840341091,
-0.020707597956061363,
0.0007894658483564854,
0.017449917271733284,
-0.044246383011341095,
0.037041373550891876,
0.012794791720807552,
0.018783843144774437,
0.058293431997299194,
0.005049859173595905,
0.043956007808446884,
0.0020496619399636984,
-0.041415195912122726,
-0.03010859340429306,
0.055643729865550995,
0.028057796880602837,
0.04105222597718239,
-0.036986928433179855,
-0.05814824253320694,
-0.005444591864943504,
-0.014954479411244392,
0.028003351762890816,
0.028747446835041046,
0.04776722192764282,
0.000099959310318809,
0.008756718598306179,
0.046896085143089294,
-0.01382018905133009,
0.013629628345370293,
-0.0031964292284101248,
0.004695960786193609,
-0.008965427987277508,
-0.022250233218073845,
-0.010517137125134468,
-0.02019943669438362,
0.003189623588696122,
0.049763571470975876,
0.023339150473475456,
-0.03237717226147652,
-0.044064898043870926,
0.045625682920217514,
0.01624303311109543,
0.07912807166576385,
0.02244986779987812,
-0.016052471473813057,
-0.03439167141914368,
-0.027422595769166946,
0.007100655697286129,
-0.011560684069991112,
-0.0011195442639291286,
-0.006923706270754337,
-0.027712972834706306,
-0.03214124217629433,
0.02417398802936077,
-0.008330225944519043,
-0.06791221350431442,
0.004507668316364288,
-0.013284804299473763,
-0.008489026688039303,
0.02658775821328163,
0.003389258636161685,
0.032794591039419174,
-0.07970882952213287,
-0.05313921719789505,
0.0012704047840088606,
0.03442797064781189,
-0.0625402107834816,
-0.033121269196271896,
0.05096138268709183,
-0.02658775821328163,
0.037041373550891876,
-0.02406509779393673,
-0.04290338605642319,
-0.0003218547790311277,
-0.025371799245476723,
0.040725547820329666,
0.039455145597457886,
-0.01266775093972683,
0.02263135462999344,
0.01191458199173212,
-0.047186464071273804,
-0.03840252384543419,
0.04918281361460686,
-0.011261231265962124,
-0.06911002099514008,
-0.022776544094085693,
-0.0027676676400005817,
-0.053102921694517136,
0.020072396844625473,
-0.019999802112579346,
-0.0017536123050376773,
-0.005594318266957998,
0.020253881812095642,
-0.03876549378037453,
0.009391921572387218,
0.02366582676768303,
-0.001573260291479528,
0.014600581489503384,
-0.016560634598135948,
-0.03326645866036415,
0.007713172119110823,
0.05139694735407829,
0.035208363085985184,
-0.007495388388633728,
0.008969965390861034,
0.018674951046705246,
0.04820278659462929,
-0.025607731193304062,
-0.04468195140361786,
-0.006152389105409384,
-0.03880179300904274,
-0.060180891305208206,
-0.05970902740955353,
-0.02284913882613182,
0.045335303992033005,
-0.009242194704711437,
0.027604082599282265,
-0.05266735330224037,
-0.0429396815598011,
-0.0023933518677949905,
0.023811016231775284,
-0.03615209087729454,
0.03332090377807617,
0.01321221049875021,
0.010635103099048138,
-0.08239482343196869,
-0.007735857740044594,
0.04649681597948074,
-0.000799674482550472,
0.03090713359415531,
-0.05488148704171181,
-0.023847313597798347,
0.06689588725566864,
0.017749371007084846,
0.017794741317629814,
0.05016284063458443,
-0.032104942947626114,
0.02382916398346424,
0.008035310544073582,
0.08246742188930511,
-0.041015926748514175,
-0.006823888514190912,
-0.03386536240577698,
-0.038656603544950485,
0.0036773681640625,
-0.04733165353536606,
-0.03246791660785675,
-0.002000887645408511,
-0.024210285395383835,
-0.01097085326910019,
-0.041015926748514175,
0.0008524189470335841,
0.006832962855696678,
0.006628790870308876,
-0.012504412792623043,
-0.03442797064781189,
0.004203678574413061,
0.008153276517987251,
0.021106868982315063,
-0.013293879106640816,
-0.030526012182235718,
0.0070870439521968365,
-0.04232262820005417,
-0.025371799245476723,
-0.00004019640255137347,
0.008979040198028088,
-0.01200532540678978,
-0.0012216303730383515,
-0.037567686289548874,
0.01675119437277317,
-0.011596981436014175,
0.02123390883207321,
0.03373832255601883,
0.014609655365347862,
-0.019128667190670967,
0.00987286027520895,
0.04852946475148201,
0.019364599138498306,
-0.015126891434192657,
-0.07528056204319,
-0.022195786237716675,
-0.03090713359415531,
-0.023103218525648117,
-0.024137690663337708,
0.0378943607211113,
-0.02509956993162632,
-0.019709423184394836,
0.03150603920221329,
0.005512649659067392,
-0.04065295308828354,
-0.009473590180277824,
-0.010934555903077126,
-0.048565760254859924,
0.007749469485133886,
0.0124590415507555,
0.043956007808446884,
0.03344794362783432,
-0.048856139183044434,
-0.025244759395718575,
-0.04261300712823868,
0.05847491696476936,
0.0061796121299266815,
0.024827340617775917,
-0.057821568101644516,
-0.029509689658880234,
0.03195975720882416,
-0.04852946475148201,
-0.030761945992708206,
0.03264940530061722,
-0.0026065984275192022,
-0.05981791764497757,
-0.06932780891656876,
-0.01076214388012886,
-0.06246761977672577,
0.017050648108124733,
-0.01658785715699196,
-0.03811214491724968,
0.05923715978860855,
-0.015045222826302052,
0.002867485163733363,
0.007354736328125,
0.025353649631142616,
-0.01810326799750328,
-0.02348433993756771,
0.015335600823163986,
0.04018108919262886,
-0.004255855921655893,
0.014664101414382458,
-0.007586131803691387,
-0.026987027376890182,
0.015698574483394623,
-0.004782166797667742,
-0.020308328792452812,
0.016606004908680916,
0.010671400465071201,
0.04058035835623741,
-0.020598705857992172,
0.02509956993162632,
0.035553187131881714,
-0.05219548940658569,
0.010054347105324268,
-0.002400157740339637,
-0.042867086827754974,
-0.016497114673256874,
0.002647432964295149,
0.06479064375162125,
0.009201360866427422,
-0.004432805348187685,
0.0039087631739676,
-0.02083463966846466,
-0.034337226301431656,
0.0047095720656216145
]
|
37,102 | youtube_transcript_api._errors | CookiePathInvalid | null | class CookiePathInvalid(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'The provided cookie file was unable to be loaded'
| (video_id) | [
-0.02038750611245632,
0.004678139928728342,
0.0408470518887043,
0.08082961291074753,
0.0009624181548133492,
-0.04661030322313309,
0.00023371001589111984,
0.043332453817129135,
0.08068553358316422,
-0.016371238976716995,
0.07005953788757324,
0.08788959681987762,
0.007627304643392563,
-0.01760493591427803,
-0.04473724588751793,
-0.008149598725140095,
0.046286121010780334,
0.05781262740492821,
-0.0076092942617833614,
-0.02942860871553421,
-0.045025408267974854,
0.011445458978414536,
-0.060262009501457214,
0.0043494547717273235,
-0.021017860621213913,
0.04711458832025528,
-0.024709945544600487,
0.008779955096542835,
-0.009842555038630962,
-0.034381404519081116,
-0.027249377220869064,
0.0032463320530951023,
-0.04426898434758186,
0.07787594944238663,
-0.0042639062739908695,
-0.010490920394659042,
-0.0009106388897635043,
-0.020135363563895226,
-0.11295974999666214,
-0.04344051703810692,
-0.07686737924814224,
0.0639721006155014,
0.012490049004554749,
-0.009063614532351494,
-0.0028973850421607494,
-0.013804790563881397,
-0.04326041415333748,
0.07427391409873962,
-0.0737336128950119,
-0.011868697591125965,
0.037641242146492004,
0.008406244218349457,
0.028636161237955093,
-0.02271081693470478,
0.0213240347802639,
0.010049671865999699,
-0.0016760708531364799,
0.08788959681987762,
-0.05579548701643944,
0.06094639375805855,
-0.02024342492222786,
0.013219459913671017,
0.004047784488648176,
0.0019631078466773033,
0.029266515746712685,
0.046646323055028915,
0.057884667068719864,
-0.027483509853482246,
0.005551632959395647,
-0.023593313992023468,
0.05864109471440315,
-0.008906026370823383,
-0.07773187011480331,
0.035191860049963,
0.12268523871898651,
-0.05828088894486427,
-0.05691211670637131,
0.035227879881858826,
-0.03749716281890869,
0.058965276926755905,
0.014777339063584805,
-0.0953097864985466,
-0.0012989831157028675,
-0.02526826038956642,
0.05802874639630318,
-0.004453013185411692,
0.07441800087690353,
-0.06408016383647919,
-0.019775159657001495,
0.10251384973526001,
-0.0633237361907959,
-0.0399465449154377,
-0.053238045424222946,
-0.011526504531502724,
0.0006016520201228559,
0.008685401640832424,
0.0517612099647522,
-0.020351484417915344,
-0.007388669531792402,
-0.035263899713754654,
0.02413361892104149,
0.036920834332704544,
-0.0465022437274456,
-0.017316773533821106,
0.03821756690740585,
0.002018264029175043,
-0.03843368962407112,
-0.026258818805217743,
0.05096876248717308,
-0.04250398650765419,
-0.033516913652420044,
-0.02334117330610752,
-0.019631078466773033,
0.030293095856904984,
0.02831197716295719,
-0.06476455181837082,
-0.011112270876765251,
0.01403892319649458,
-0.015659837052226067,
0.013444587588310242,
0.04722265154123306,
0.018838630989193916,
-0.1041707918047905,
0.026006676256656647,
0.029392587020993233,
0.02807784639298916,
-0.024511832743883133,
0.027267388999462128,
0.04513347148895264,
0.04913172870874405,
0.03292258083820343,
-0.014831369742751122,
0.023989537730813026,
-0.05186927318572998,
-0.010400869883596897,
0.06685373187065125,
0.0408470518887043,
0.012345967814326286,
-0.020297454670071602,
0.05680405721068382,
-0.006834857165813446,
0.04898764565587044,
-0.01321045495569706,
-0.03650660067796707,
0.019360926002264023,
0.04066694900393486,
0.004786201287060976,
-0.05377835035324097,
-0.07344544678926468,
-0.013309511356055737,
0.03135569393634796,
0.004173855297267437,
-0.045601736754179,
-0.02942860871553421,
0.011301377788186073,
-0.04952795058488846,
-0.03756920248270035,
0.03958633914589882,
-0.013912851922214031,
-0.009626432321965694,
-0.0016569350846111774,
-0.04156745970249176,
-0.005326505750417709,
-0.002030645962804556,
0.011562525294721127,
-0.003099999390542507,
0.0016276686219498515,
-0.0292845256626606,
-0.012958313338458538,
0.033030640333890915,
-0.015515755861997604,
0.004808713681995869,
-0.01737080328166485,
0.022026430815458298,
0.00346020283177495,
-0.004180609248578548,
0.027825703844428062,
0.004279665183275938,
0.005506607703864574,
0.017947128042578697,
0.012418008409440517,
-0.015686852857470512,
-0.03796542435884476,
0.08724123239517212,
0.056732017546892166,
0.022638775408267975,
0.0021364556159824133,
0.020531587302684784,
0.04891560599207878,
0.019198834896087646,
-0.023575304076075554,
0.03391313925385475,
0.029572689905762672,
-0.005709222052246332,
-0.010625996626913548,
-0.05698416009545326,
0.01957704871892929,
-0.06530485302209854,
0.0033408855088055134,
-0.01688452810049057,
-0.01783006265759468,
0.046286121010780334,
0.004655627533793449,
-0.05377835035324097,
0.009554391726851463,
0.05665997415781021,
-0.006542191840708256,
-0.010211762972176075,
-0.09408509731292725,
0.03882991522550583,
-0.03387711942195892,
-0.01768598146736622,
0.008136091753840446,
-0.005938851740211248,
-0.0020869276486337185,
-0.014155988581478596,
0.006172983907163143,
0.037821345031261444,
-0.0002832379541359842,
0.06955525279045105,
0.10114508122205734,
-0.00920769665390253,
-0.005614668596535921,
-0.0010901776840910316,
0.010671022348105907,
0.013669714331626892,
0.042756129056215286,
0.0015736380591988564,
-0.03850572928786278,
-0.03998256474733353,
-0.01575889252126217,
0.016056060791015625,
0.0027870729099959135,
-0.0017694985726848245,
0.04142337664961815,
0.0247279554605484,
0.03882991522550583,
-0.016056060791015625,
0.03517385199666023,
0.020441535860300064,
-0.020261434838175774,
-0.023845456540584564,
0.03517385199666023,
0.09581407159566879,
0.042251843959093094,
0.017532894387841225,
0.017118660733103752,
0.0326884463429451,
-0.049239788204431534,
-0.009473346173763275,
0.012823237106204033,
0.04913172870874405,
-0.049599990248680115,
-0.015911979600787163,
0.040018584579229355,
-0.01394887175410986,
-0.017857076600193977,
-0.055867526680231094,
0.07276105880737305,
-0.00987857487052679,
-0.015506750904023647,
-0.029086414724588394,
0.004799708724021912,
-0.002249019220471382,
-0.03828961029648781,
0.01379578560590744,
-0.013984892517328262,
0.003489469178020954,
-0.01567784696817398,
0.027159327641129494,
0.051617130637168884,
0.04300827160477638,
-0.020189393311738968,
0.00016659402172081172,
-0.027663610875606537,
-0.019541027024388313,
-0.02051357738673687,
0.03901001438498497,
-0.01796513795852661,
0.04506143182516098,
-0.014002902433276176,
0.003590776352211833,
0.060982413589954376,
0.025646474212408066,
-0.031427737325429916,
-0.012427013367414474,
-0.021017860621213913,
-0.049744073301553726,
-0.02822192758321762,
0.011877703480422497,
-0.027663610875606537,
-0.001286601065658033,
0.024872036650776863,
0.00025594132603146136,
-0.032364264130592346,
-0.027159327641129494,
-0.040018584579229355,
-0.03846970945596695,
0.03202207013964653,
0.005830790381878614,
-0.006731298752129078,
0.04012664407491684,
-0.009698472917079926,
0.00815410166978836,
-0.0644763857126236,
-0.04434102401137352,
-0.00719055812805891,
-0.013498618267476559,
0.0027893241494894028,
0.035534054040908813,
0.040955111384391785,
0.031950030475854874,
-0.020207403227686882,
-0.0010367101058363914,
0.046826425939798355,
0.08680898696184158,
0.01666840724647045,
-0.02256673574447632,
-0.003665068419650197,
0.059901803731918335,
-0.011202322319149971,
-0.006537689361721277,
-0.012886272743344307,
0.0017098399112001061,
0.013390556909143925,
-0.00364480703137815,
0.018460417166352272,
0.014128973707556725,
-0.0025259254034608603,
0.009968625381588936,
-0.08565633744001389,
0.025736523792147636,
-0.03620043024420738,
-0.03470558673143387,
-0.03630848973989487,
-0.016371238976716995,
-0.001283224206417799,
-0.05413855239748955,
0.06508873403072357,
-0.01732577756047249,
0.014525197446346283,
-0.09559795260429382,
-0.06415220350027084,
0.02816789597272873,
-0.010644006542861462,
-0.014597238041460514,
-0.0012033040402457118,
0.005299490876495838,
0.04873550310730934,
0.010580970905721188,
-0.04308031126856804,
0.005308495834469795,
0.0011402685195207596,
0.014921421185135841,
0.003550253575667739,
-0.026799123734235764,
-0.014029917307198048,
-0.014885400421917439,
-0.011427449062466621,
0.011949744075536728,
0.030671309679746628,
-0.02096383087337017,
-0.0055786482989788055,
0.014228029176592827,
-0.02539433166384697,
-0.02692519500851631,
0.049960196018218994,
-0.010959184728562832,
0.02078372985124588,
0.02051357738673687,
0.019595058634877205,
-0.013912851922214031,
-0.020711688324809074,
-0.024439793080091476,
0.020999850705266,
0.0013980389339849353,
0.042756129056215286,
-0.01375075988471508,
-0.012372982688248158,
0.053238045424222946,
0.00542105920612812,
0.020369496196508408,
-0.07420187443494797,
0.002534930594265461,
-0.05276978015899658,
-0.020639648661017418,
-0.04596193879842758,
0.029392587020993233,
0.045169491320848465,
0.04545765370130539,
0.06566505879163742,
-0.030869420617818832,
0.08630470186471939,
-0.042071741074323654,
-0.03371502831578255,
-0.016101086512207985,
-0.051401007920503616,
0.015110527165234089,
0.057128239423036575,
0.017676975578069687,
-0.028059834614396095,
0.033120691776275635,
-0.02238663285970688,
0.026492951437830925,
0.025322290137410164,
0.005186927039176226,
0.011652575805783272,
0.003989251330494881,
0.009266229346394539,
-0.038757871836423874,
0.006109948270022869,
-0.035498034209012985,
0.01836136169731617,
-0.045601736754179,
-0.029266515746712685,
0.0027960778679698706,
-0.08046941459178925,
-0.1041707918047905,
-0.04448510333895683,
-0.01719970628619194,
-0.013363542035222054,
0.013714740052819252,
0.007748872973024845,
-0.005416556727141142,
-0.006069425027817488,
0.03297660872340202,
-0.0497080534696579,
0.015371674671769142,
0.025016117841005325,
-0.025466371327638626,
0.03085141070187092,
0.016902538016438484,
-0.05853303149342537,
-0.059505581855773926,
0.01607407070696354,
0.0032891063019633293,
-0.07672329992055893,
0.018802611157298088,
-0.048807542771101,
0.021306023001670837,
-0.04257602617144585,
0.03121161460876465,
0.03456150367856026,
0.07121218740940094,
0.09185183793306351,
-0.04797907546162605,
-0.030869420617818832,
0.03551604226231575,
0.024781985208392143,
-0.011994768865406513,
-0.029230495914816856,
0.01867653988301754,
-0.03050921857357025,
-0.025988666340708733,
-0.007307623978704214,
0.03749716281890869,
-0.04336847364902496,
0.024241680279374123,
-0.021576175466179848,
-0.005281480494886637,
-0.03825358673930168,
0.07358952611684799,
-0.0025214229244738817,
-0.04891560599207878,
0.026042697951197624,
0.03850572928786278,
0.018028173595666885,
0.02108990214765072,
-0.0009466592455282807,
-0.02458387427031994,
-0.04545765370130539,
0.02638489007949829,
-0.020999850705266,
-0.007658821996301413,
-0.009329264983534813,
0.057704564183950424,
0.010211762972176075,
0.03753318265080452,
-0.01113028172403574,
0.044989388436079025,
0.033660996705293655,
-0.0224766843020916,
-0.03140972554683685,
-0.014723309315741062,
-0.001131826196797192,
-0.0553632453083992,
-0.029590699821710587,
0.009266229346394539,
0.03839766979217529,
0.019865211099386215,
0.010004646144807339,
0.02996891364455223,
-0.08637674897909164,
0.03940623998641968,
0.045169491320848465,
-0.004709657747298479,
-0.01733478344976902,
0.06476455181837082,
-0.004236890934407711,
-0.058785174041986465,
-0.013228465802967548,
-0.06458444893360138,
0.018208276480436325,
0.010436889715492725,
0.012778211385011673,
-0.010689032264053822,
-0.013543643057346344,
0.019559038802981377,
0.0628194510936737,
-0.026456931605935097,
-0.0031562813092023134,
0.07326534390449524,
0.01723572611808777,
-0.02199041098356247,
-0.015623817220330238,
-0.030257076025009155,
-0.07265300303697586,
0.014714304357767105,
0.011373418383300304,
0.05993782728910446,
-0.021648216992616653,
0.028924323618412018,
0.06015394628047943,
-0.03319273144006729,
0.01507450733333826,
-0.025088157504796982,
-0.011571530252695084,
-0.034831658005714417,
-0.0038114008493721485,
0.045565713196992874,
-0.01930689625442028,
-0.04066694900393486,
0.06728596985340118,
0.011031225323677063,
0.01229193713515997,
0.04545765370130539,
-0.07679533958435059,
-0.0013732749503105879,
-0.02069367840886116,
-0.02108990214765072,
0.018514448776841164,
0.03850572928786278,
-0.04257602617144585,
0.009518371894955635,
0.0075552635826170444,
-0.03882991522550583,
-0.031643856316804886,
0.029500648379325867,
-0.0396944023668766,
0.0701315775513649,
0.021792298182845116,
-0.02422367036342621,
0.02069367840886116,
-0.03346288576722145,
0.01867653988301754,
-0.04632214084267616,
0.02265678532421589,
0.03371502831578255,
0.010229772888123989,
0.00010602077236399055,
0.033300794661045074,
-0.03720900043845177,
-0.005146404262632132,
-0.035768184810876846,
-0.013102394528687,
-0.048663463443517685,
0.004234639927744865,
0.00736615713685751,
-0.03481364622712135,
0.010580970905721188,
0.027537541463971138,
0.02876223251223564,
0.05982976406812668,
0.06861872225999832,
-0.04070296883583069,
0.033084671944379807,
0.052517637610435486,
0.003045968944206834,
0.03785736486315727,
0.024169640615582466,
0.019324906170368195,
0.0032035578042268753,
-0.030203044414520264,
-0.027285398915410042,
0.01140043418854475,
-0.020801739767193794,
0.01701960526406765,
0.01258910447359085,
-0.003973492421209812,
0.02265678532421589,
-0.083999402821064,
-0.005434567108750343,
-0.012949307449162006,
-0.035444002598524094,
0.040558889508247375,
0.033931147307157516,
0.07686737924814224,
-0.04729469120502472,
-0.029842842370271683,
0.008122583851218224,
-0.0198472011834383,
0.0060424101538956165,
0.04257602617144585,
0.028582129627466202,
0.005254465155303478,
-0.012697165831923485,
-0.016200141981244087,
0.006118953227996826,
-0.050140295177698135,
-0.007258096244186163,
-0.010689032264053822,
-0.011544515378773212,
0.010905154049396515,
0.02436775155365467,
-0.01108525600284338,
-0.00552011514082551,
-0.05280579999089241,
-0.015749888494610786,
-0.05248161777853966,
0.07564269006252289,
-0.015911979600787163,
-0.045601736754179,
-0.041135214269161224,
0.05665997415781021,
-0.018073199316859245,
0.03301263228058815,
0.018343351781368256,
0.01782105676829815,
-0.07571472972631454,
-0.04257602617144585,
0.022494694218039513,
0.0828467532992363,
0.023899488151073456,
-0.06328771263360977,
-0.0043809725902974606,
0.05219345539808273,
0.019631078466773033,
0.012436018325388432,
0.0494559109210968,
-0.007064486853778362,
-0.002357080113142729,
-0.006438633427023888,
-0.06786229461431503,
0.014056933112442493,
-0.07153636962175369,
-0.01698358543217182,
-0.019775159657001495,
-0.041999701410532,
0.051401007920503616,
-0.03171589970588684,
0.03596629574894905,
0.02584458515048027,
0.016218151897192,
-0.0007946984842419624,
-0.010211762972176075,
-0.0005045660072937608,
0.028780242428183556,
0.021972399204969406,
0.025628462433815002,
-0.010400869883596897,
0.011679591611027718,
-0.022224541753530502,
-0.038361649960279465,
0.004750180523842573,
0.06937514990568161,
-0.026258818805217743,
0.03728104010224342,
-0.05165315046906471,
0.025628462433815002,
-0.020567607134580612,
0.02213449217379093,
-0.03292258083820343,
-0.01603805087506771,
-0.025808565318584442,
-0.037641242146492004,
-0.023305151611566544,
0.0059478566981852055,
-0.042756129056215286,
0.060442108660936356,
0.011220332235097885,
-0.005709222052246332,
0.008482786826789379,
-0.03749716281890869,
-0.024836016818881035,
0.006465648766607046,
0.08659286797046661,
0.026006676256656647,
0.03436339274048805,
-0.05093274265527725,
-0.05802874639630318,
-0.03548002243041992,
-0.008473781868815422,
-0.07542656362056732,
0.015614812262356281,
-0.015515755861997604,
-0.028293967247009277,
-0.0005526869208551943,
0.02987886220216751,
-0.005659693852066994,
-0.00805954821407795,
-0.0009629809646867216,
-0.010472910478711128,
0.007865939289331436,
0.009905589744448662,
-0.008635873906314373,
-0.04048684984445572,
-0.01511953305453062,
-0.03557007387280464,
-0.023629335686564445,
0.008122583851218224,
0.018433403223752975,
-0.019468987360596657,
0.03346288576722145,
-0.023755406960844994,
-0.05738038197159767,
-0.047582853585481644,
-0.02087377943098545,
0.0055786482989788055,
0.011445458978414536,
-0.03045518696308136,
-0.00909513235092163,
0.03548002243041992,
-0.008437762036919594,
0.04214378446340561,
0.023755406960844994,
0.022692807018756866,
0.0034939718898385763,
-0.022674797102808952,
0.02955467812716961,
-0.006789831910282373,
0.018550468608736992,
0.047402750700712204,
-0.07214871793985367,
0.06166680157184601,
-0.02611473761498928,
-0.03166186809539795,
-0.08796164393424988,
-0.004095061216503382,
-0.007654319517314434,
0.06361190229654312,
0.006645750720053911,
-0.018622510135173798,
0.01019375305622816,
-0.0032913575414568186,
0.004482279531657696,
0.02310704067349434,
0.009410310536623001,
0.01670442707836628,
0.0010462779318913817,
0.020639648661017418,
-0.008185619488358498,
-0.013705735094845295,
-0.050860702991485596,
0.06141465902328491,
0.0029919384978711605,
-0.0458538755774498,
0.031463757157325745,
-0.016560345888137817,
-0.005425561685115099,
0.01594799943268299,
-0.03225620463490486,
-0.017568914219737053,
0.023755406960844994,
-0.015290629118680954,
0.03342686593532562,
-0.009824544191360474,
-0.009914595633745193,
0.0017481115646660328
]
|
37,103 | youtube_transcript_api._errors | __init__ | null | def __init__(self, video_id):
self.video_id = video_id
super(CouldNotRetrieveTranscript, self).__init__(self._build_error_message())
| (self, video_id) | [
-0.01862472854554653,
-0.003671220736578107,
-0.008654231205582619,
0.03196648135781288,
-0.029781658202409744,
-0.041941456496715546,
0.004051773808896542,
0.07421237975358963,
0.06633269041776657,
0.008887040428817272,
-0.016645852476358414,
0.07141867280006409,
-0.012115027755498886,
0.0037786709144711494,
-0.03241419047117233,
0.03997153416275978,
-0.01415658462792635,
0.05222087353467941,
0.027525201439857483,
-0.04756469279527664,
-0.022081049159169197,
0.010342096909880638,
-0.08409781754016876,
0.008676616474986076,
0.004577833227813244,
0.09806635975837708,
-0.007105154916644096,
-0.019251523539423943,
-0.0049606249667704105,
0.006133624818176031,
0.0008075566147454083,
-0.00001289789088332327,
0.0018870969070121646,
0.08810929208993912,
-0.05798737704753876,
0.024086788296699524,
-0.05598163604736328,
-0.026379063725471497,
-0.12557365000247955,
0.03089197911322117,
-0.05598163604736328,
0.03975663334131241,
0.04154747352004051,
0.013914821669459343,
0.030336817726492882,
-0.0064559755846858025,
-0.06561635434627533,
0.009375044144690037,
-0.06823097914457321,
0.002135575981810689,
-0.02297646924853325,
0.06353898346424103,
0.015696706250309944,
-0.0332200713455677,
-0.06622523814439774,
0.0679086297750473,
-0.007311101537197828,
0.07951326668262482,
-0.008882563561201096,
-0.0038525431882590055,
-0.04706325754523277,
0.02030811831355095,
-0.007897601462900639,
0.03252164274454117,
0.023495811969041824,
-0.022188499569892883,
0.002015813486650586,
-0.03907611593604088,
0.004400987643748522,
0.06536563485860825,
0.07109632343053818,
0.009518311358988285,
-0.06110343709588051,
-0.006621628534048796,
0.08882562816143036,
-0.012338883243501186,
-0.07800896465778351,
0.012634371407330036,
-0.028420619666576385,
0.07310206443071365,
0.06841006129980087,
-0.0025385147891938686,
0.011389737948775291,
0.020469292998313904,
0.0323246493935585,
-0.029781658202409744,
0.0023840549401938915,
-0.07245735824108124,
-0.07514362037181854,
0.030551718547940254,
-0.024856850504875183,
-0.031053153797984123,
-0.04627528786659241,
-0.014290898106992245,
-0.03427666425704956,
0.0066977390088140965,
0.009679486975073814,
-0.05895443260669708,
-0.015965333208441734,
-0.05458478257060051,
0.013117898255586624,
0.025447826832532883,
-0.014783378690481186,
-0.07288715988397598,
0.040902771055698395,
-0.02790127694606781,
-0.015562393702566624,
-0.029584666714072227,
0.06482838094234467,
0.020361842587590218,
0.03270072489976883,
0.021203538402915,
-0.034384116530418396,
0.06862496584653854,
0.010682356543838978,
-0.06013638526201248,
0.00039314519381150603,
-0.004812880884855986,
0.00048352661542594433,
-0.010306280106306076,
0.06866078078746796,
-0.017299508675932884,
-0.057091958820819855,
-0.008130410686135292,
0.028653429821133614,
0.009048216044902802,
-0.023997247219085693,
-0.0074364603497087955,
0.06780117750167847,
-0.04111767187714577,
0.025716453790664673,
-0.034258756786584854,
-0.007870739325881004,
-0.02849225327372551,
-0.02270784229040146,
0.002663873601704836,
0.0702725350856781,
0.026468604803085327,
-0.03214556723833084,
0.01006451714783907,
-0.00019951070134993643,
0.06733556091785431,
0.01775617152452469,
-0.023316727951169014,
-0.01087934896349907,
0.011586730368435383,
-0.01930524781346321,
-0.022009415552020073,
-0.008009528741240501,
-0.016475722193717957,
0.03914774954319,
-0.061891406774520874,
-0.006527609191834927,
0.021901965141296387,
-0.022421307861804962,
-0.005439674481749535,
0.01612650789320469,
-0.010736081749200821,
0.017962118610739708,
0.02175869792699814,
0.04946298152208328,
-0.04953461512923241,
0.014317760244011879,
-0.002475835382938385,
0.03116060420870781,
-0.03329170495271683,
0.023388361558318138,
0.033524513244628906,
-0.02763265185058117,
0.02383607253432274,
-0.005981403402984142,
0.001042044605128467,
-0.06962783634662628,
-0.02211686596274376,
0.005976926069706678,
0.03445575013756752,
0.04201309010386467,
0.022367583587765694,
-0.015589256770908833,
0.04817357659339905,
0.010852486826479435,
0.03065916895866394,
0.01449684426188469,
0.06561635434627533,
0.0640404149889946,
0.013422341085970402,
0.025304559618234634,
0.06694157421588898,
0.015257950872182846,
-0.012141890823841095,
0.03012191690504551,
-0.024355415254831314,
0.00775433424860239,
0.016672713682055473,
-0.02473149076104164,
-0.009831707924604416,
0.043660663068294525,
-0.016860753297805786,
-0.031214330345392227,
0.049856968224048615,
0.020558835938572884,
0.011130066588521004,
-0.009285502135753632,
-0.029316039755940437,
0.01103156991302967,
0.02206313982605934,
-0.006908162962645292,
-0.018642637878656387,
-0.01917988993227482,
-0.03089197911322117,
-0.01686970703303814,
0.0022307143080979586,
0.045881304889917374,
-0.009258639067411423,
-0.004067443776875734,
-0.04043715074658394,
0.00974216591566801,
0.003877167124301195,
0.03361405432224274,
0.03431248292326927,
0.07750752568244934,
-0.05161198973655701,
-0.02356744557619095,
-0.041619107127189636,
0.024462865665555,
0.02858179621398449,
0.03536907583475113,
-0.05268649384379387,
-0.07303042709827423,
0.011147974990308285,
-0.004696476273238659,
0.007611067034304142,
-0.017129378393292427,
0.02419423870742321,
-0.019233614206314087,
0.0018960511079058051,
0.006097808014601469,
-0.04767214506864548,
-0.0762181207537651,
-0.047457244247198105,
0.0207558274269104,
-0.007924464531242847,
-0.001960969064384699,
0.11525841802358627,
0.008555734530091286,
-0.019842499867081642,
-0.027847550809383392,
0.07614649087190628,
-0.05411916598677635,
-0.014389393851161003,
0.05476386845111847,
-0.02306601032614708,
-0.06977110356092453,
-0.014138676226139069,
0.016108600422739983,
-0.04047296941280365,
-0.020111124962568283,
-0.03302307799458504,
0.0681951642036438,
-0.005717254709452391,
-0.01157777663320303,
-0.02573436126112938,
-0.04455608129501343,
0.009643670171499252,
-0.011971760541200638,
-0.03570933640003204,
-0.04620365425944328,
0.028420619666576385,
-0.0030444269068539143,
0.02437332272529602,
0.07822386175394058,
0.018929172307252884,
-0.0018803812563419342,
0.013834234327077866,
-0.030945703387260437,
-0.04025806859135628,
-0.0542624332010746,
0.008327403105795383,
-0.03792997822165489,
-0.01989622414112091,
0.028151994571089745,
-0.006075422279536724,
0.06364642828702927,
0.029101138934493065,
0.02623579651117325,
-0.06443440169095993,
0.024892667308449745,
-0.010950982570648193,
-0.0851006880402565,
-0.007123063318431377,
-0.031859032809734344,
0.023710712790489197,
-0.0037316614761948586,
0.012491104193031788,
-0.013843188062310219,
0.00016173518088180572,
-0.021096087992191315,
0.02487475797533989,
0.0006861152942292392,
0.012383653782308102,
0.00119314668700099,
0.015634028241038322,
-0.011085295118391514,
0.034169215708971024,
-0.10730709135532379,
0.03630031272768974,
0.0030175643041729927,
0.010950982570648193,
0.046096205711364746,
-0.02206313982605934,
0.04734979197382927,
0.05684123933315277,
-0.039183564484119415,
0.03454529121518135,
0.035297442227602005,
0.04957043379545212,
0.04255034402012825,
-0.044842615723609924,
-0.004054012708365917,
0.08173390477895737,
0.014058088883757591,
-0.027722192928195,
0.04462771490216255,
-0.0180874764919281,
0.1082383319735527,
-0.045236602425575256,
-0.002576570026576519,
-0.014049134217202663,
-0.018168065696954727,
0.007069338113069534,
-0.04992860183119774,
0.03139341250061989,
-0.0000766003577155061,
-0.04752887785434723,
-0.03540489450097084,
-0.04430536553263664,
-0.02514338493347168,
-0.029924925416707993,
0.029047414660453796,
0.002818333450704813,
0.03454529121518135,
-0.03492136672139168,
0.008591551333665848,
0.012204569764435291,
0.030193550512194633,
0.0015311676543205976,
-0.04785122722387314,
-0.07213500887155533,
-0.00045218694140203297,
-0.033255886286497116,
-0.039004482328891754,
0.010727128013968468,
-0.010467455722391605,
0.032575368881225586,
-0.0075842044316232204,
-0.03671220690011978,
0.01123751699924469,
0.01318057719618082,
-0.007763288449496031,
-0.01078085321933031,
-0.017962118610739708,
0.009240730665624142,
-0.020630469545722008,
0.005918723996728659,
-0.030462177470326424,
0.01612650789320469,
-0.015696706250309944,
-0.016914477571845055,
0.004347262438386679,
0.013870051130652428,
-0.02428378164768219,
-0.01503409631550312,
-0.02591344527900219,
0.009446677751839161,
0.043338313698768616,
-0.01053908932954073,
-0.04215635731816292,
-0.026468604803085327,
-0.025447826832532883,
0.018875446170568466,
0.001725921407341957,
0.0078573077917099,
-0.01775617152452469,
0.0011064029531553388,
-0.03175158053636551,
-0.0020885663107037544,
-0.022851109504699707,
0.013189531862735748,
0.04545150324702263,
0.04204890877008438,
-0.004656182136386633,
-0.01788153126835823,
0.02211686596274376,
-0.01939479075372219,
0.02662978135049343,
-0.025859719142317772,
-0.009187005460262299,
0.007942372933030128,
0.04190564155578613,
-0.005856044590473175,
-0.01216875296086073,
0.013440249487757683,
-0.028331078588962555,
0.05548020452260971,
0.04767214506864548,
-0.007463322952389717,
0.03545862063765526,
0.04817357659339905,
-0.008130410686135292,
-0.07543015480041504,
-0.0084482841193676,
-0.05132545530796051,
-0.02138262242078781,
-0.0364614874124527,
-0.03828814625740051,
0.025286652147769928,
-0.04466353356838226,
-0.007409597747027874,
-0.05705614015460014,
-0.005332224071025848,
-0.01953805796802044,
0.04305177927017212,
0.02351372130215168,
-0.030605444684624672,
-0.01935897395014763,
0.022689934819936752,
-0.0006961887702345848,
-0.013968546874821186,
0.02541201002895832,
-0.0640404149889946,
-0.0035279535222798586,
0.053116295486688614,
0.014926645904779434,
-0.017057744786143303,
0.01820388250052929,
0.02645069733262062,
-0.04319504648447037,
0.017102515324950218,
-0.048137761652469635,
0.09863942861557007,
0.0323246493935585,
-0.029190681874752045,
0.025967169553041458,
0.02618207037448883,
0.05351027846336365,
-0.0287608802318573,
-0.03449156507849693,
0.029584666714072227,
-0.010843532159924507,
-0.01555343996733427,
-0.004528584890067577,
0.03732109069824219,
0.03006819263100624,
-0.07399748265743256,
-0.011801631189882755,
-0.022278040647506714,
-0.05924096703529358,
0.031769491732120514,
-0.00569934630766511,
-0.029136955738067627,
-0.05927678197622299,
0.04394719749689102,
-0.06275101006031036,
-0.03116060420870781,
0.004045058507472277,
0.04702744260430336,
-0.004542016424238682,
-0.00018496012489777058,
-0.04355321452021599,
-0.0051083690486848354,
-0.012222478166222572,
0.024247964844107628,
0.004414419177919626,
0.020505109801888466,
0.0038816442247480154,
0.021919872611761093,
0.009075078181922436,
-0.07363931089639664,
0.001279330812394619,
0.05526530370116234,
0.03861049562692642,
-0.021866148337721825,
0.03828814625740051,
0.024158421903848648,
-0.0019038860918954015,
-0.008403513580560684,
-0.017953164875507355,
-0.013064173050224781,
-0.0038458274211734533,
0.021651247516274452,
-0.0004689760389737785,
0.06891150027513504,
-0.061210889369249344,
0.06486420333385468,
-0.012303066439926624,
-0.026934223249554634,
-0.009983928874135017,
0.018732178956270218,
0.024050971493124962,
-0.026468604803085327,
0.02419423870742321,
-0.05411916598677635,
0.0058112735860049725,
-0.054871316999197006,
0.017926301807165146,
-0.014362531714141369,
-0.057450126856565475,
0.05938423424959183,
0.026128346100449562,
-0.011344967409968376,
0.003518999321386218,
0.05300884321331978,
-0.01498932484537363,
0.023048102855682373,
-0.0013867812231183052,
-0.03896866366267204,
-0.06486420333385468,
-0.0045823100954294205,
0.025089658796787262,
0.04391137883067131,
0.02757892571389675,
0.030963612720370293,
0.04495006799697876,
-0.0830233097076416,
0.03703455626964569,
-0.024946391582489014,
-0.06296591460704803,
-0.024767307564616203,
0.0019139595096930861,
0.03964918479323387,
-0.05343864485621452,
-0.061210889369249344,
-0.007996097207069397,
0.002487028017640114,
0.0005585180479101837,
0.04752887785434723,
-0.0812324732542038,
-0.018042705953121185,
-0.052937209606170654,
-0.014792333357036114,
0.0027981863822788,
-0.0036622665356844664,
-0.022851109504699707,
-0.019412698224186897,
-0.008922857232391834,
-0.0201648510992527,
-0.05497876927256584,
0.1020062118768692,
-0.040365517139434814,
0.02138262242078781,
0.046418555080890656,
-0.018929172307252884,
-0.013556653633713722,
0.0005848209839314222,
-0.06221375986933708,
0.042478710412979126,
0.007011136040091515,
-0.02039765939116478,
0.06472093611955643,
0.02849225327372551,
0.05390426516532898,
0.005287453066557646,
0.005094937980175018,
-0.03481391817331314,
0.006429113447666168,
0.013270119205117226,
0.01775617152452469,
0.007928941398859024,
-0.06110343709588051,
-0.000487164274090901,
0.006541040726006031,
-0.029907016083598137,
-0.06830260902643204,
0.054692234843969345,
-0.03671220690011978,
0.01340443268418312,
-0.0009580990299582481,
0.04652600735425949,
0.02247503399848938,
0.017057744786143303,
0.032217200845479965,
-0.025859719142317772,
0.03914774954319,
-0.014711745083332062,
-0.03395431488752365,
-0.01187326479703188,
-0.005242682062089443,
0.009509356692433357,
0.035977963358163834,
-0.023477904498577118,
-0.03904029726982117,
0.013923775404691696,
-0.042478710412979126,
0.0067917583510279655,
0.03699874132871628,
0.04559477046132088,
0.07514362037181854,
-0.05032258480787277,
-0.024086788296699524,
-0.026432787999510765,
-0.0067917583510279655,
0.030354727059602737,
0.03390058875083923,
0.050179317593574524,
0.020182758569717407,
-0.009084032848477364,
-0.025035934522747993,
0.017057744786143303,
-0.031912755221128464,
0.010315234772861004,
-0.01612650789320469,
-0.015204225666821003,
0.0015154978027567267,
-0.013476066291332245,
-0.03807324543595314,
-0.02902950532734394,
-0.06199885904788971,
0.09097463637590408,
-0.019108256325125694,
0.028635520488023758,
0.020702103152871132,
0.03361405432224274,
-0.05114637315273285,
0.06898313015699387,
-0.07052325457334518,
0.057271040976047516,
0.020236484706401825,
-0.03311261907219887,
-0.050895653665065765,
-0.0012894043466076255,
0.03318425267934799,
0.010163012892007828,
0.04129675403237343,
-0.03128596395254135,
0.005618758499622345,
0.023728622123599052,
0.027113307267427444,
-0.0034384115133434534,
0.0524715930223465,
0.07929836958646774,
-0.00204939185641706,
0.004799449350684881,
-0.033667780458927155,
0.027740102261304855,
0.002446734346449375,
0.030605444684624672,
-0.03807324543595314,
-0.03361405432224274,
-0.011676272377371788,
0.00410773791372776,
0.0335066057741642,
0.03476019203662872,
-0.0009580990299582481,
0.007696132175624371,
0.02220640704035759,
-0.0035883942618966103,
0.0020068592857569456,
0.056733790785074234,
0.012437378987669945,
0.01672643981873989,
0.027525201439857483,
-0.04344576224684715,
-0.04201309010386467,
-0.0111927455291152,
0.05684123933315277,
0.01024360116571188,
0.02537619322538376,
-0.06755045801401138,
-0.022851109504699707,
0.0016979395877569914,
0.04666927456855774,
-0.017774080857634544,
-0.015445989556610584,
0.009572036564350128,
0.004434566013514996,
-0.03092779591679573,
-0.020290208980441093,
-0.03372150659561157,
0.05161198973655701,
-0.008005051873624325,
-0.026558147743344307,
0.03305889293551445,
0.016502585262060165,
0.002525083487853408,
-0.04355321452021599,
0.03570933640003204,
-0.0122314328327775,
0.033936403691768646,
-0.004208472557365894,
-0.07779406011104584,
-0.03750017657876015,
-0.010816670022904873,
-0.08818092942237854,
0.0185351874679327,
-0.027346117421984673,
-0.011747905984520912,
-0.04992860183119774,
-0.06984273344278336,
-0.02356744557619095,
0.005282976198941469,
0.011344967409968376,
-0.02704167366027832,
-0.024444956332445145,
0.012723913416266441,
-0.051719438284635544,
-0.04828102886676788,
0.05250740796327591,
-0.04548731818795204,
-0.01601010374724865,
-0.05265067517757416,
0.034616924822330475,
-0.024624040350317955,
0.039720818400382996,
-0.03810906037688255,
-0.019770866259932518,
0.004235335160046816,
0.016233958303928375,
0.015222134068608284,
-0.00552921649068594,
-0.02745356783270836,
0.020809553563594818,
-0.050179317593574524,
0.005157617386430502,
0.08681989461183548,
0.06504328548908234,
0.020702103152871132,
-0.006518654990941286,
0.012177707627415657,
0.06658340990543365,
-0.01867845468223095,
0.051934339106082916,
0.023209277540445328,
-0.06841006129980087,
-0.02881460450589657,
0.0067156474106013775,
-0.006594765931367874,
-0.020702103152871132,
0.0030959134455770254,
0.0323246493935585,
0.04731397703289986,
0.006603720132261515,
-0.0055695101618766785,
-0.008900471962988377,
-0.029781658202409744,
-0.012553784064948559,
0.07288715988397598,
0.021042361855506897,
-0.0037607625126838684,
0.021597523242235184,
0.0025362761225551367,
0.015302722342312336,
-0.016645852476358414,
-0.019967857748270035,
0.0370703749358654,
0.010109287686645985,
-0.0019553727470338345,
0.005318793002516031,
0.045702219009399414,
-0.007445414550602436,
0.024391232058405876,
-0.021042361855506897,
-0.014899782836437225,
0.02908323146402836,
-0.025035934522747993,
0.003675697837024927,
0.08409781754016876,
0.037142008543014526,
0.047779593616724014
]
|
37,104 | youtube_transcript_api._errors | _build_error_message | null | def _build_error_message(self):
cause = self.cause
error_message = self.ERROR_MESSAGE.format(video_url=WATCH_URL.format(video_id=self.video_id))
if cause:
error_message += self.CAUSE_MESSAGE_INTRO.format(cause=cause) + self.GITHUB_REFERRAL
return error_message
| (self) | [
-0.010937071405351162,
-0.04493972659111023,
-0.025280924513936043,
0.051343731582164764,
-0.0000053312769523472525,
-0.07170995324850082,
0.034198127686977386,
0.04702475294470787,
0.0662740021944046,
-0.02848292700946331,
0.033248696476221085,
0.0434131920337677,
0.01001556497067213,
-0.015665609389543533,
0.022060304880142212,
0.057784970849752426,
-0.01564699411392212,
-0.035966675728559494,
0.04367382079362869,
-0.011700339615345001,
-0.019100315868854523,
-0.0030530719086527824,
-0.0705929771065712,
-0.057822201400995255,
-0.006362117826938629,
0.09673025459051132,
0.03432844206690788,
-0.02338206209242344,
-0.0049891662783920765,
-0.036469314247369766,
-0.017415540292859077,
-0.007809534203261137,
-0.018411513417959213,
0.0057058935053646564,
-0.027905821800231934,
0.022879421710968018,
-0.029339276254177094,
-0.04858852177858353,
-0.09963439404964447,
-0.024443190544843674,
0.004975203890353441,
0.022860806435346603,
0.00021917774574831128,
-0.024294260889291763,
0.007558214478194714,
-0.0650453269481659,
-0.010592670179903507,
0.06292306631803513,
-0.05175328999757767,
-0.022432630881667137,
-0.0316476970911026,
0.051790524274110794,
-0.01656850054860115,
-0.028669089078903198,
-0.03708365187048912,
0.017936797812581062,
-0.017964720726013184,
0.011095309630036354,
0.023419294506311417,
-0.019472641870379448,
-0.030623799189925194,
0.04929593950510025,
0.01361781731247902,
0.06024232134222984,
0.015982085838913918,
-0.01127216499298811,
0.026342052966356277,
-0.018206734210252762,
0.015162969939410686,
0.06389111280441284,
0.06404004245996475,
-0.005715201608836651,
-0.05588610842823982,
-0.0239405520260334,
0.020496537908911705,
-0.04069521278142929,
-0.030679648742079735,
0.012268136255443096,
0.03432844206690788,
0.02308420091867447,
0.03810754790902138,
0.012668386101722717,
0.00403042696416378,
-0.05484359711408615,
0.11311259120702744,
-0.06169439107179642,
-0.04810449853539467,
-0.0290786474943161,
-0.024647969752550125,
-0.029450973495841026,
0.002939047059044242,
-0.057189248502254486,
-0.03872188553214073,
-0.01890484429895878,
-0.04453016817569733,
0.04717368260025978,
0.004095584154129028,
-0.03747459501028061,
0.019844967871904373,
-0.03689749166369438,
0.04970549792051315,
0.028054751455783844,
-0.02896695025265217,
-0.047099217772483826,
0.029637135565280914,
-0.028948333114385605,
0.004263130947947502,
-0.04929593950510025,
0.03054933436214924,
0.02502029575407505,
-0.01119769923388958,
-0.061582691967487335,
-0.0566679909825325,
-0.013468886725604534,
0.0073301647789776325,
-0.004291055258363485,
-0.012091281823813915,
-0.007074190769344568,
-0.010834681801497936,
-0.012472915463149548,
0.040322888642549515,
-0.03961546719074249,
-0.0459822416305542,
-0.06962493062019348,
0.006320231128484011,
-0.005882748402655125,
-0.06243904307484627,
-0.03568743169307709,
0.05182775482535362,
-0.08675192296504974,
-0.00871707871556282,
0.019491257146000862,
-0.005789666902273893,
-0.07729484140872955,
-0.03066103160381317,
0.0008150445064529777,
0.03207587078213692,
0.010518204420804977,
0.0540989451110363,
0.032317884266376495,
0.012472915463149548,
0.041998352855443954,
-0.030419019982218742,
-0.032708823680877686,
0.011234931647777557,
-0.024108096957206726,
0.029990846291184425,
-0.001748767914250493,
-0.009885250590741634,
0.001855811569839716,
0.05793390050530434,
-0.0515298955142498,
0.011328013613820076,
0.008921857923269272,
-0.000621318758931011,
-0.0019500565249472857,
0.02809198386967182,
-0.028464309871196747,
-0.007409283891320229,
0.03901974856853485,
0.05097140744328499,
-0.08675192296504974,
-0.020850246772170067,
0.05212561786174774,
0.034086428582668304,
0.016531266272068024,
0.06415174156427383,
0.01603793539106846,
0.015395672991871834,
0.034589070826768875,
0.004346904344856739,
0.035426802933216095,
0.0023968475870788097,
0.015460830181837082,
-0.01863490790128708,
0.059795528650283813,
-0.0013392094988375902,
0.006320231128484011,
-0.027570728212594986,
-0.02699362300336361,
-0.04441847279667854,
0.023493759334087372,
-0.012798700481653214,
0.004975203890353441,
0.014241463504731655,
0.0018872265936806798,
0.006748405750840902,
0.016670890152454376,
0.014455550350248814,
-0.03291360288858414,
-0.030177008360624313,
-0.018234657123684883,
0.0102110356092453,
0.05048738420009613,
-0.02956267073750496,
-0.004961241967976093,
0.023326214402914047,
-0.03000946156680584,
0.06716758012771606,
-0.02878078632056713,
-0.04549821838736534,
0.06932707130908966,
-0.042445145547389984,
-0.015023346990346909,
0.022172003984451294,
0.01149556040763855,
0.006152684334665537,
-0.005473189987242222,
-0.03762352466583252,
0.004421369172632694,
-0.041849423199892044,
0.05391278117895126,
0.0004819874302484095,
0.03311838209629059,
-0.004803003277629614,
-0.03965270146727562,
0.033602405339479446,
0.033006686717271805,
-0.062476273626089096,
0.04296640306711197,
0.010117954574525356,
-0.09553880989551544,
0.04225898161530495,
-0.03579913079738617,
0.021967224776744843,
0.041514329612255096,
0.0242756437510252,
0.03334178030490875,
-0.04583331197500229,
-0.01404599193483591,
-0.010192419402301311,
0.007260353770107031,
-0.010425123386085033,
0.06325815618038177,
-0.06772606819868088,
0.0047936951741576195,
-0.03879635035991669,
-0.019807733595371246,
-0.012668386101722717,
-0.014939574524760246,
-0.02952543832361698,
-0.03713950142264366,
0.0034114355221390724,
0.12338878214359283,
0.07103976607322693,
-0.08779443055391312,
-0.019472641870379448,
0.05771050602197647,
-0.04054628312587738,
0.005389416590332985,
-0.02209753915667534,
0.04899808019399643,
-0.06400281190872192,
-0.04616840183734894,
0.006869411561638117,
-0.07900754362344742,
0.016884976997971535,
-0.036469314247369766,
0.030716881155967712,
-0.004721556790173054,
0.03427259251475334,
0.03095889277756214,
-0.0006666959379799664,
0.0296185202896595,
-0.03538957238197327,
-0.025895262137055397,
-0.07211951166391373,
0.045758843421936035,
0.003437032923102379,
0.038833584636449814,
0.13463301956653595,
0.024945830926299095,
-0.017955413088202477,
-0.007590793073177338,
-0.0316476970911026,
-0.027719657868146896,
-0.034291207790374756,
0.06106143817305565,
0.016978058964014053,
-0.02165074646472931,
-0.028296763077378273,
-0.019993897527456284,
0.054657433182001114,
0.0434131920337677,
0.038275096565485,
-0.0176482442766428,
0.05547655001282692,
-0.014353160746395588,
-0.008931165561079979,
0.048178963363170624,
-0.03352794051170349,
-0.021334270015358925,
-0.02057100273668766,
0.023009736090898514,
-0.00424684165045619,
-0.0032881025690585375,
0.040918610990047455,
0.03507309406995773,
0.007711798883974552,
0.009829401969909668,
-0.033304546028375626,
0.08511368930339813,
0.020999176427721977,
-0.015125736594200134,
-0.07997559010982513,
0.012984863482415676,
0.003374202875420451,
-0.06303476542234421,
0.060093387961387634,
-0.054173409938812256,
-0.008326136507093906,
0.01142109464854002,
0.03864742070436478,
0.03183385729789734,
0.055104222148656845,
0.026025576516985893,
0.021687980741262436,
-0.006404004525393248,
0.009024247527122498,
0.034886930137872696,
0.057673271745443344,
-0.017294535413384438,
0.04069521278142929,
0.003995521459728479,
0.028594624251127243,
-0.056444596499204636,
-0.01077883318066597,
-0.012593921273946762,
0.02675161138176918,
0.011104618199169636,
-0.03185247629880905,
-0.06307199597358704,
-0.018737297505140305,
-0.04143986478447914,
0.029581287875771523,
-0.01905377395451069,
-0.011663107201457024,
-0.035575732588768005,
0.02857600711286068,
-0.01878383755683899,
0.015181586146354675,
0.006129413843154907,
-0.03782830387353897,
0.050450149923563004,
0.026584064587950706,
-0.010713675990700722,
-0.003732566488906741,
-0.06135929748415947,
-0.012817316688597202,
-0.005096209701150656,
0.004042062442749739,
0.04944486916065216,
-0.019696036353707314,
-0.018523210659623146,
0.0373256653547287,
-0.0016987365670502186,
-0.055253155529499054,
-0.056295666843652725,
0.019602954387664795,
0.09248574078083038,
0.017685476690530777,
0.015367749147117138,
0.03095889277756214,
0.018914151936769485,
-0.064114511013031,
0.04218451678752899,
-0.006241112016141415,
0.014427626505494118,
0.01908169873058796,
0.012835932895541191,
-0.02021729201078415,
0.001970999874174595,
0.025187842547893524,
0.006762368138879538,
-0.012296061031520367,
0.0647846981883049,
0.006366771645843983,
0.0045516835525631905,
-0.02848292700946331,
-0.03323008120059967,
-0.012873165309429169,
0.02595110982656479,
-0.04460463672876358,
-0.022674642503261566,
0.0007551233284175396,
0.02872493863105774,
0.00042468414176255465,
-0.030177008360624313,
0.03648793324828148,
0.04564714804291725,
-0.01842082105576992,
-0.04732261225581169,
0.04870022088289261,
0.005166021175682545,
0.009419843554496765,
0.0012321658432483673,
0.004567972384393215,
0.00645054504275322,
0.013534043915569782,
-0.005594195798039436,
0.013217567466199398,
-0.0007906106184236705,
-0.05458296835422516,
0.02047792077064514,
0.006129413843154907,
-0.016642965376377106,
-0.00656224275007844,
0.08868801593780518,
-0.02645375020802021,
0.03269020840525627,
-0.05156712979078293,
-0.06847072392702103,
-0.032262034714221954,
0.001111159916035831,
-0.02254432998597622,
-0.0034742653369903564,
-0.03347209095954895,
-0.039280377328395844,
-0.02006836235523224,
-0.004400426056236029,
-0.031517382711172104,
-0.04132816940546036,
0.06515701860189438,
0.021092258393764496,
-0.009108020924031734,
0.047694940119981766,
0.01033204235136509,
0.010453048162162304,
0.04914700984954834,
-0.02699362300336361,
0.0032927566207945347,
0.04322702810168266,
-0.0020652448292821646,
0.01869075745344162,
-0.011458327993750572,
-0.01701529137790203,
-0.004528413061052561,
0.04266854003071785,
-0.040620747953653336,
0.03810754790902138,
0.04735984653234482,
0.0048262737691402435,
0.03105197474360466,
0.09084750711917877,
0.04218451678752899,
0.04009949415922165,
-0.03030732274055481,
-0.04389721527695656,
-0.026230355724692345,
0.01557252835482359,
0.0010134243639186025,
0.04132816940546036,
-0.04330149292945862,
-0.04464186728000641,
0.037455979734659195,
-0.014902341179549694,
-0.05905087664723396,
0.0057850126177072525,
-0.05905087664723396,
-0.07599170506000519,
-0.00801896769553423,
0.04579607769846916,
-0.03758629411458969,
0.039429306983947754,
-0.0019174780463799834,
-0.0555882453918457,
0.06485915929079056,
-0.027719657868146896,
-0.04389721527695656,
-0.016801202669739723,
0.029953613877296448,
-0.018737297505140305,
0.023717155680060387,
0.055848874151706696,
0.014660329557955265,
-0.021129490807652473,
-0.022432630881667137,
-0.0021013140212744474,
0.011328013613820076,
-0.0000035678194763022475,
-0.01285454910248518,
-0.010899838991463184,
0.03000946156680584,
-0.003604579484090209,
0.00038134309579618275,
0.007376705761998892,
-0.01713629625737667,
-0.015209509991109371,
-0.020440688356757164,
-0.010741600766777992,
-0.026286203414201736,
0.02773827500641346,
-0.017871640622615814,
-0.007409283891320229,
-0.05934873968362808,
-0.0015149007085710764,
-0.04080691188573837,
0.010881222784519196,
-0.0362459197640419,
0.01809503510594368,
0.04177495837211609,
-0.06109866872429848,
-0.006199225317686796,
-0.01943540945649147,
0.020310373976826668,
-0.06046571582555771,
0.030288707464933395,
0.007181234657764435,
0.045609913766384125,
0.005603503901511431,
0.02878078632056713,
0.004393444862216711,
0.018076419830322266,
-0.002095496281981468,
0.0024154637940227985,
-0.06240180879831314,
-0.019844967871904373,
0.013608509674668312,
0.027663810178637505,
0.010946379974484444,
-0.005617465823888779,
0.0028622548561543226,
0.012947631068527699,
-0.064114511013031,
0.03816339746117592,
-0.026639914140105247,
0.022227851673960686,
0.0010884712683036923,
-0.044716332107782364,
0.03423536196351051,
-0.0772203803062439,
-0.037251200526952744,
0.02388470247387886,
0.0021432004868984222,
-0.014148381538689137,
0.0035673468373715878,
-0.020105594769120216,
-0.0016452147392556071,
-0.060986973345279694,
-0.00945242214947939,
-0.005189291201531887,
-0.011839961633086205,
-0.017452772706747055,
-0.07759270071983337,
-0.04713645204901695,
-0.01591692864894867,
0.03244819492101669,
0.04006225988268852,
-0.011616566218435764,
-0.05272133648395538,
0.030419019982218742,
0.03054933436214924,
-0.0063714259304106236,
0.01633579656481743,
-0.04103030636906624,
0.04810449853539467,
0.020645467564463615,
0.028650473803281784,
0.06672079116106033,
0.027477646246552467,
0.016261331737041473,
-0.0035231332294642925,
0.03215033560991287,
-0.024387342855334282,
-0.04203558713197708,
0.022469863295555115,
-0.030381787568330765,
0.01384121272712946,
-0.04173772782087326,
0.022469863295555115,
-0.020310373976826668,
-0.01720145344734192,
0.0026062808465212584,
-0.024889981374144554,
-0.03080996312201023,
-0.03006531111896038,
0.003083323361352086,
0.08034791797399521,
0.045609913766384125,
0.06724204868078232,
-0.010899838991463184,
-0.058864712715148926,
0.05547655001282692,
-0.013310648500919342,
-0.033006686717271805,
0.013143101707100868,
0.030195625498890877,
-0.025653250515460968,
0.032504044473171234,
0.03861019015312195,
-0.04713645204901695,
-0.03481246531009674,
0.008144627325236797,
0.027719657868146896,
0.05294473469257355,
0.052386246621608734,
0.03576189652085304,
-0.027924437075853348,
-0.020682699978351593,
0.02967436984181404,
0.023009736090898514,
0.01292901486158371,
0.0378655381500721,
0.05316812917590141,
0.00653897225856781,
-0.015283975750207901,
0.02610004134476185,
-0.004665708169341087,
-0.04069521278142929,
0.04933317378163338,
0.02496444806456566,
-0.006566897034645081,
-0.04866298660635948,
-0.020291758701205254,
-0.035631582140922546,
-0.011318705044686794,
0.012500840239226818,
0.05670522525906563,
0.007832804694771767,
0.01384121272712946,
0.020012512803077698,
0.014148381538689137,
-0.0669441819190979,
0.0040932572446763515,
-0.008963744156062603,
0.051939453929662704,
-0.000681239936966449,
-0.053428757935762405,
-0.07975219190120697,
-0.04054628312587738,
0.015665609389543533,
0.07580553740262985,
0.00961531512439251,
-0.04870022088289261,
-0.02773827500641346,
0.05905087664723396,
0.06675802171230316,
0.0168384350836277,
0.00786538328975439,
0.03667409345507622,
0.023921934887766838,
-0.02284218929708004,
-0.08995392173528671,
0.021967224776744843,
-0.02487136609852314,
0.08340098708868027,
-0.03924314305186272,
-0.057226479053497314,
-0.04419507831335068,
-0.017871640622615814,
0.048327893018722534,
0.007744377478957176,
0.05514145642518997,
0.033006686717271805,
0.030493486672639847,
0.05048738420009613,
-0.010862606577575207,
0.014390393160283566,
0.00680890865623951,
-0.0024038287810981274,
0.029041415080428123,
-0.06150822713971138,
-0.012593921273946762,
-0.05447126924991608,
-0.01809503510594368,
0.009363994933664799,
0.04214728623628616,
-0.042296215891838074,
-0.0014392720768228173,
-0.021371502429246902,
0.01485580112785101,
-0.0757310763001442,
0.021390119567513466,
-0.020850246772170067,
0.011123234406113625,
0.04054628312587738,
0.0059804837219417095,
0.030493486672639847,
0.008279595524072647,
-0.03514755889773369,
0.02293527126312256,
0.04628010094165802,
-0.03812616690993309,
-0.0012612537248060107,
0.022376783192157745,
0.031424298882484436,
-0.0219113752245903,
0.04899808019399643,
0.009996948763728142,
0.0035743280313909054,
-0.04717368260025978,
-0.013682974502444267,
-0.054359570145606995,
0.008395947515964508,
-0.03609699010848999,
-0.005147404503077269,
-0.031033357605338097,
-0.020049747079610825,
-0.025038912892341614,
-0.009457075968384743,
0.014697561971843243,
-0.004709921777248383,
-0.004984511993825436,
-0.01812295988202095,
-0.04371105134487152,
-0.012230903841555119,
0.06485915929079056,
-0.036618247628211975,
-0.02358684130012989,
-0.04646626487374306,
0.03466353565454483,
-0.012119205668568611,
0.026137273758649826,
-0.03209448605775833,
-0.017713401466608047,
-0.08712424337863922,
0.05804559588432312,
0.01576799899339676,
0.01934232749044895,
-0.031424298882484436,
0.025578785687685013,
-0.0008703116327524185,
0.022972503677010536,
0.014297312125563622,
0.014213538728654385,
0.054322339594364166,
-0.0007231265772134066,
-0.05141819640994072,
0.06809839606285095,
-0.03401196375489235,
0.008219093084335327,
0.04095584154129028,
-0.028855253010988235,
0.026323435828089714,
0.06538041681051254,
0.010294809006154537,
-0.00801896769553423,
0.00763733359053731,
-0.00535218371078372,
0.023996399715542793,
-0.007907269522547722,
0.0070090340450406075,
-0.03457045555114746,
-0.06135929748415947,
0.0068135629408061504,
0.05532762035727501,
0.027998901903629303,
-0.006059602834284306,
-0.008772927336394787,
-0.03337901085615158,
0.013738823123276234,
-0.03490554541349411,
-0.02896695025265217,
-0.017387617379426956,
0.009643238969147205,
-0.04292916879057884,
-0.032317884266376495,
0.023568226024508476,
-0.016773279756307602,
0.01866283267736435,
0.027086704969406128,
-0.019696036353707314,
0.04024842381477356,
0.04646626487374306,
-0.03170354664325714,
0.08794336020946503,
-0.036767177283763885,
0.03401196375489235
]
|
37,105 | youtube_transcript_api._errors | CookiesInvalid | null | class CookiesInvalid(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'The cookies provided are not valid (may have expired)'
| (video_id) | [
-0.027867652475833893,
0.00045941892312839627,
0.034748777747154236,
0.04981139674782753,
-0.005454329773783684,
-0.03487520292401314,
-0.022286897525191307,
0.0007833826239220798,
0.09499925374984741,
-0.02555588260293007,
0.04161183908581734,
0.08466853946447372,
-0.0006202720105648041,
-0.023533085361123085,
-0.039950255304574966,
-0.019523611292243004,
0.04247875511646271,
0.03516417369246483,
0.02161865122616291,
-0.06411546468734741,
-0.02526691183447838,
0.011495632119476795,
-0.06505462527275085,
0.011685269884765148,
-0.0072829751297831535,
0.046235378831624985,
-0.010357808321714401,
0.0072829751297831535,
-0.013238489627838135,
-0.0070481859147548676,
-0.03202161192893982,
0.01669711247086525,
-0.03875825181603432,
0.07014773786067963,
-0.0011615284020081162,
-0.007504218723624945,
-0.029872389510273933,
-0.03236476331949234,
-0.08481302112340927,
0.02082398161292076,
-0.07484351843595505,
0.04479052126407623,
0.0003225527179893106,
-0.007567431312054396,
0.002806180389598012,
-0.014204736799001694,
-0.007359733339399099,
0.09095365554094315,
-0.05920295789837837,
-0.04305669665336609,
0.04233426973223686,
0.022557808086276054,
0.04233426973223686,
-0.019343003630638123,
0.020553071051836014,
0.01881924457848072,
0.0003493615658953786,
0.11421583592891693,
-0.04186468943953514,
0.04504337161779404,
-0.027542559430003166,
0.018909547477960587,
-0.017744632437825203,
-0.014692375436425209,
0.0227022934705019,
0.04233426973223686,
0.05371250584721565,
-0.02853589691221714,
0.012940487824380398,
-0.025880975648760796,
0.08488526195287704,
-0.03030584566295147,
-0.08351265639066696,
0.023370539769530296,
0.09333766996860504,
-0.06158696860074997,
-0.04934181645512581,
0.03366513550281525,
-0.06353752315044403,
0.05530184879899025,
0.043381787836551666,
-0.07329029589891434,
0.001905403332784772,
-0.004691265523433685,
0.055337969213724136,
-0.024147149175405502,
0.043273426592350006,
-0.0638987347483635,
-0.037891339510679245,
0.10475202649831772,
-0.042912211269140244,
-0.04031147062778473,
-0.032166097313165665,
-0.0015396742383018136,
-0.0044609918259084225,
0.02241332270205021,
0.027072980999946594,
-0.022034047171473503,
-0.016561657190322876,
-0.02618800662457943,
0.038577642291784286,
0.055554695427417755,
-0.0385415218770504,
-0.04468216001987457,
0.040925532579422,
-0.011685269884765148,
-0.053784750401973724,
-0.04854714870452881,
0.09492701292037964,
-0.03597690537571907,
-0.017979422584176064,
-0.027723167091608047,
-0.0149813462048769,
0.010123019106686115,
0.03189518675208092,
-0.042587120085954666,
0.0004419226315803826,
0.03335810452699661,
-0.04507949575781822,
-0.014945224858820438,
0.05194255709648132,
-0.0007038026815280318,
-0.061514727771282196,
0.0205891914665699,
0.021871501579880714,
0.03642842173576355,
-0.030179420486092567,
0.01755499467253685,
0.06707742065191269,
0.030161360278725624,
0.008542709052562714,
-0.03371931612491608,
0.04489888623356819,
-0.04876387491822243,
0.009788896888494492,
0.04009474068880081,
0.05638548731803894,
0.027705105021595955,
-0.032003551721572876,
0.04919733107089996,
-0.003889822168275714,
0.08307919651269913,
-0.01538771204650402,
-0.013310732319951057,
0.011911028064787388,
0.005783937405794859,
-0.012895336374640465,
-0.048185933381319046,
-0.06512686610221863,
-0.03209385648369789,
0.037096668034791946,
0.00412009609863162,
-0.053206805139780045,
-0.009057438001036644,
-0.0037137302570044994,
-0.035724055022001266,
-0.03122694045305252,
0.02494181878864765,
-0.011802664026618004,
-0.01129696425050497,
0.01057453639805317,
-0.026513099670410156,
-0.005350480787456036,
0.0037904882337898016,
0.026729827746748924,
0.004628052935004234,
0.027127163484692574,
-0.03355677053332329,
-0.010764174163341522,
0.04410421848297119,
-0.02217853255569935,
0.011387268081307411,
-0.0009227886330336332,
0.021076830103993416,
0.0018162286141887307,
0.005165358539670706,
0.03305106982588768,
-0.00909356027841568,
0.001563378842547536,
0.01504455879330635,
-0.0067230938002467155,
-0.02013767510652542,
-0.06407934427261353,
0.06523522734642029,
0.06527134776115417,
-0.019126275554299355,
0.0023456327617168427,
0.04262324050068855,
0.019920947030186653,
-0.004386491142213345,
0.003108697012066841,
0.02607964351773262,
0.0020950406324118376,
-0.015712805092334747,
-0.011549814604222775,
-0.02716328576207161,
-0.011748481541872025,
-0.061442483216524124,
0.01847609132528305,
-0.003799518570303917,
-0.059455808252096176,
0.05736076831817627,
0.00486284215003252,
-0.07896135747432709,
0.028860989958047867,
0.04041983559727669,
-0.03229252249002457,
-0.03767460957169533,
-0.08647460490465164,
-0.015532197430729866,
-0.02183537930250168,
0.018024573102593422,
-0.0038559583481401205,
0.0036098812706768513,
-0.017744632437825203,
-0.014737526886165142,
0.049377940595149994,
0.006416061893105507,
0.009012286551296711,
0.051039524376392365,
0.07990051060914993,
-0.062417760491371155,
0.0005079570692032576,
-0.020607253536581993,
0.030956031754612923,
0.039841894060373306,
0.05786646530032158,
0.009210954420268536,
-0.038866616785526276,
-0.044068094342947006,
-0.0336470752954483,
0.04674107953906059,
-0.018340636044740677,
0.0011350017739459872,
0.04330954700708389,
0.010673870332539082,
0.014927164651453495,
-0.03538089990615845,
0.014060250483453274,
0.033087193965911865,
-0.019433308392763138,
-0.0009019059361889958,
0.03236476331949234,
0.12866438925266266,
0.054579418152570724,
0.0109538109973073,
0.012091634795069695,
0.06588541716337204,
-0.05714403837919235,
0.008461435325443745,
-0.008470465429127216,
0.011360176838934422,
-0.04641598463058472,
-0.016155291348695755,
0.04215366020798683,
0.00975277554243803,
-0.017988452687859535,
-0.036283936351537704,
0.05645773187279701,
-0.0327259786427021,
0.02351502515375614,
-0.01566765271127224,
-0.020444706082344055,
0.02871650457382202,
-0.015216135419905186,
0.028734564781188965,
0.013717098161578178,
0.00846595037728548,
-0.02246750518679619,
0.03727727383375168,
0.06794433295726776,
0.00447453698143363,
-0.01441243477165699,
0.001785751199349761,
-0.026657585054636,
0.0011852331226691604,
-0.022684233263134956,
0.037096668034791946,
-0.043381787836551666,
0.023876238614320755,
-0.008754922077059746,
0.010791265405714512,
0.038108065724372864,
-0.013924796134233475,
0.004323279019445181,
-0.018999850377440453,
-0.017464691773056984,
-0.020029310137033463,
-0.02412908896803856,
0.014150554314255714,
-0.05262886360287666,
-0.018999850377440453,
0.056349366903305054,
-0.03270791843533516,
-0.02961953915655613,
-0.028048258274793625,
-0.018855364993214607,
-0.026007400825619698,
0.013572611846029758,
0.024634787812829018,
-0.0011175054823979735,
0.037999700754880905,
-0.01607401855289936,
-0.002871650503948331,
-0.05920295789837837,
-0.0477885976433754,
0.002578164217993617,
0.003971095196902752,
0.01098090223968029,
0.019884824752807617,
0.043887488543987274,
0.033773500472307205,
-0.019812582060694695,
-0.01853027194738388,
0.029294446110725403,
0.07794995605945587,
0.01579407788813114,
-0.043598517775535583,
-0.004871872253715992,
0.05970865860581398,
0.009834048338234425,
-0.045549072325229645,
0.009527016431093216,
-0.002817468484863639,
0.007969281636178493,
-0.02075173892080784,
0.007869947701692581,
0.016561657190322876,
0.021708955988287926,
-0.02824692614376545,
-0.08546321094036102,
-0.001389544690027833,
-0.016968023031949997,
-0.04641598463058472,
-0.0477885976433754,
-0.0069398218765854836,
0.013572611846029758,
-0.046235378831624985,
0.07636062055826187,
-0.015974683687090874,
-0.009870169684290886,
-0.0939878523349762,
-0.041322868317365646,
0.03659096732735634,
-0.01830451376736164,
-0.03232864290475845,
-0.0012224832316860557,
0.0015012952499091625,
0.06505462527275085,
-0.0018173573771491647,
-0.041539598256349564,
0.0033118799328804016,
0.02362338826060295,
0.042514875531196594,
0.045838043093681335,
-0.028499776497483253,
0.0030658028554171324,
-0.013988007791340351,
-0.006352849304676056,
0.0035873055458068848,
0.021311620250344276,
-0.03064899891614914,
0.02040858566761017,
0.00267298286780715,
-0.040239229798316956,
-0.019144335761666298,
0.07133974134922028,
-0.04345403239130974,
0.0200654324144125,
-0.0038807918317615986,
0.012172908522188663,
-0.024219391867518425,
-0.011594966053962708,
-0.026946555823087692,
0.018909547477960587,
-0.0012935972772538662,
0.027596741914749146,
-0.008691709488630295,
-0.020860102027654648,
0.046235378831624985,
0.002555588260293007,
-0.010529384948313236,
-0.0823567658662796,
0.003743079025298357,
-0.028752626851201057,
-0.009508956223726273,
-0.036283936351537704,
0.030630938708782196,
0.03429725766181946,
0.07336254417896271,
0.050353217869997025,
-0.03357483074069023,
0.0607200562953949,
-0.02898741513490677,
-0.06671620905399323,
-0.007477127481251955,
-0.06118963286280632,
-0.004431643057614565,
0.05324292927980423,
-0.012534121982753277,
-0.014620132744312286,
0.030287785455584526,
-0.00166609906591475,
-0.007784159388393164,
0.008041524328291416,
0.03088378719985485,
-0.0033096224069595337,
-0.020553071051836014,
0.017410509288311005,
-0.02470703050494194,
-0.004330051597207785,
-0.036807697266340256,
0.025989340618252754,
-0.04786084219813347,
-0.031082455068826675,
-0.0005429496522992849,
-0.09413234144449234,
-0.08026172965765,
-0.04977527633309364,
-0.01819615066051483,
-0.009545077569782734,
-0.013825462199747562,
0.007097852881997824,
0.006524425931274891,
-0.022232715040445328,
0.03644648194313049,
-0.03738563880324364,
0.011838785372674465,
0.024670908227562904,
-0.030630938708782196,
0.038866616785526276,
0.028734564781188965,
-0.07278460264205933,
-0.07292908430099487,
0.028897112235426903,
0.0025849370285868645,
-0.08112864196300507,
0.012398666702210903,
-0.048185933381319046,
0.03518223389983177,
-0.017943300306797028,
0.021889561787247658,
0.045151736587285995,
0.06682457029819489,
0.09832242131233215,
-0.04432094469666481,
-0.0299626924097538,
0.01955973170697689,
-0.000034481112379580736,
0.005585270002484322,
-0.0039462619461119175,
0.027235528454184532,
-0.03122694045305252,
-0.037999700754880905,
0.009996594861149788,
0.0464521087706089,
-0.03220221772789955,
0.005558178760111332,
-0.0443570651113987,
-0.002754255896434188,
-0.029438933357596397,
0.05237601324915886,
-0.03093796968460083,
-0.015216135419905186,
-0.00200925231911242,
0.05020873248577118,
-0.0005014665075577796,
-0.01194714941084385,
-0.00566202774643898,
0.010132050141692162,
-0.04977527633309364,
0.01275085099041462,
-0.003729533404111862,
-0.02122131548821926,
-0.03283434361219406,
0.04135899245738983,
0.007445521652698517,
0.02550170198082924,
0.011486602015793324,
0.05335129424929619,
0.02940281108021736,
0.016399111598730087,
0.005729755386710167,
-0.02499600127339363,
0.00009354875510325655,
-0.055843669921159744,
-0.018602516502141953,
-0.0018331605242565274,
0.030667059123516083,
0.026856252923607826,
-0.01824130117893219,
0.004637083504348993,
-0.03458623215556145,
0.05129237473011017,
-0.002711361739784479,
-0.014538859017193317,
0.00737779401242733,
0.036572907119989395,
-0.016308806836605072,
-0.05168970674276352,
-0.007251368835568428,
-0.04757187142968178,
0.010430051013827324,
0.0036843817215412855,
0.03241894766688347,
-0.05775810033082962,
-0.0070662470534443855,
0.02871650457382202,
0.0731096938252449,
-0.03391798585653305,
-0.012832123786211014,
0.056349366903305054,
0.03716890886425972,
-0.03648260235786438,
-0.024165209382772446,
-0.06263449043035507,
-0.08040621131658554,
0.003993670921772718,
0.019577793776988983,
0.0435623973608017,
-0.003702442394569516,
0.048691634088754654,
0.03350258991122246,
0.00003123583155684173,
0.015586379915475845,
-0.015631530433893204,
-0.003043227130547166,
-0.030793484300374985,
-0.01269666850566864,
0.04392360895872116,
-0.011477571912109852,
-0.050750553607940674,
0.05587979033589363,
-0.01098090223968029,
-0.00854722410440445,
0.03724115341901779,
-0.08271798491477966,
-0.0215102881193161,
-0.01955973170697689,
-0.014547890052199364,
0.008515617810189724,
0.04822205379605293,
-0.02293708175420761,
0.006528940983116627,
-0.002632346237078309,
-0.02550170198082924,
-0.02087816409766674,
0.050642188638448715,
-0.06118963286280632,
0.06725803017616272,
-0.0008381291409023106,
-0.0341888964176178,
0.01932494342327118,
-0.04648822918534279,
-0.0012676350306719542,
-0.033430345356464386,
0.028860989958047867,
0.036861877888441086,
0.0349835641682148,
0.005756846629083157,
0.04822205379605293,
-0.03128112480044365,
0.03036002814769745,
-0.028788747265934944,
-0.026458917185664177,
-0.04128674790263176,
0.03048645332455635,
0.014213766902685165,
-0.0512201301753521,
0.0019889341201633215,
0.021347740665078163,
0.0010898500913754106,
0.05302619934082031,
0.08856964856386185,
-0.014836860820651054,
0.013518430292606354,
0.021257437765598297,
-0.005616876296699047,
0.038866616785526276,
0.024436119943857193,
0.012814062647521496,
0.0011124259326606989,
-0.04605477303266525,
-0.053784750401973724,
0.034622352570295334,
-0.0006575221777893603,
-0.0018737970385700464,
0.01470140554010868,
0.02761480212211609,
0.030396148562431335,
-0.06946143507957458,
0.02470703050494194,
-0.01887342520058155,
-0.01863863691687584,
0.04970303177833557,
0.02761480212211609,
0.05002812296152115,
-0.038108065724372864,
-0.056024275720119476,
0.026224128901958466,
0.001961842877790332,
0.039155587553977966,
0.02555588260293007,
0.029204143211245537,
0.020155735313892365,
-0.029637599363923073,
-0.023352477699518204,
-0.000023122627681004815,
-0.043887488543987274,
-0.02172701619565487,
0.010998963378369808,
-0.021419983357191086,
-0.002819726010784507,
0.022377200424671173,
0.005088600795716047,
-0.014773648232221603,
-0.07939481735229492,
-0.0027203920762985945,
-0.036627087742090225,
0.043598517775535583,
-0.015378681942820549,
-0.036807697266340256,
-0.05284559354186058,
0.06505462527275085,
-0.019740339368581772,
0.02561006508767605,
0.02286483906209469,
0.006813397165387869,
-0.10504099726676941,
-0.04572967812418938,
-0.00017891376046463847,
0.10020073503255844,
0.013446187600493431,
-0.054182086139917374,
-0.03624781593680382,
0.08864188939332962,
0.029872389510273933,
0.02420133166015148,
0.057613614946603775,
-0.023767873644828796,
0.004205884411931038,
0.010240414179861546,
-0.05248437821865082,
0.024725090712308884,
-0.06227327510714531,
-0.019487489014863968,
-0.02476121298968792,
-0.03890273720026016,
0.031245002523064613,
-0.0454045869410038,
0.016949962824583054,
0.0477885976433754,
0.026151886209845543,
-0.00030731401056982577,
-0.026964617893099785,
0.004885417874902487,
0.010141080245375633,
0.05060606822371483,
0.05631324648857117,
-0.011901997961103916,
0.013762249611318111,
-0.032509252429008484,
-0.02207016944885254,
-0.00968956295400858,
0.07672183215618134,
-0.014511768706142902,
0.03043227083981037,
-0.027307771146297455,
0.025032123550772667,
-0.018051665276288986,
0.028499776497483253,
-0.014051220379769802,
0.006637305486947298,
-0.004476794507354498,
0.0020860102958977222,
-0.006840487942099571,
0.0028513323049992323,
-0.009960473515093327,
0.046921685338020325,
0.005327905062586069,
0.038974978029727936,
0.02905965782701969,
-0.040239229798316956,
-0.014647223055362701,
0.0006806624587625265,
0.04742738604545593,
0.004311990924179554,
0.0238942988216877,
-0.0799727588891983,
-0.06852227449417114,
-0.03922782838344574,
-0.01704026572406292,
-0.06371813267469406,
0.023822056129574776,
0.003318652743473649,
-0.01579407788813114,
-0.02922220341861248,
0.03473071753978729,
-0.004433900583535433,
-0.006899185478687286,
-0.012805032543838024,
-0.012317393906414509,
-0.002618800848722458,
0.004479052498936653,
0.017374388873577118,
-0.03632005676627159,
0.016344929113984108,
-0.04518785700201988,
0.018439969047904015,
-0.016218503937125206,
0.01743760146200657,
0.010493263602256775,
0.032689858227968216,
0.004664174281060696,
-0.06509074568748474,
-0.03550732508301735,
0.031154697760939598,
0.004436158109456301,
0.027632862329483032,
-0.0006467986386269331,
0.014286009594798088,
0.052809473127126694,
-0.001984418835490942,
0.0395890437066555,
-0.0023388599511235952,
0.03650066256523132,
0.006854033563286066,
-0.024165209382772446,
0.03426113724708557,
-0.020661434158682823,
0.026675647124648094,
0.037313394248485565,
-0.079178087413311,
0.048980604857206345,
-0.034802958369255066,
-0.02035440318286419,
-0.08250125497579575,
0.004580643493682146,
-0.0286442618817091,
0.06454892456531525,
0.00248786062002182,
-0.015017467550933361,
0.016886750236153603,
-0.01813293807208538,
-0.0037882307078689337,
0.020336342975497246,
-0.007386824116110802,
-0.006131605710834265,
0.01651650480926037,
0.008330495096743107,
0.005630421452224255,
-0.004871872253715992,
-0.06339304149150848,
0.02132968045771122,
0.040455956012010574,
-0.006736638955771923,
0.013491339050233364,
0.0002744378871284425,
-0.03642842173576355,
0.042695481330156326,
-0.02293708175420761,
0.011134418658912182,
0.01955973170697689,
0.01338297501206398,
0.01003271620720625,
-0.01789814792573452,
-0.002128904452547431,
0.024779273197054863
]
|
37,108 | youtube_transcript_api._errors | CouldNotRetrieveTranscript |
Raised if a transcript could not be retrieved.
| class CouldNotRetrieveTranscript(Exception):
"""
Raised if a transcript could not be retrieved.
"""
ERROR_MESSAGE = '\nCould not retrieve a transcript for the video {video_url}!'
CAUSE_MESSAGE_INTRO = ' This is most likely caused by:\n\n{cause}'
CAUSE_MESSAGE = ''
GITHUB_REFERRAL = (
'\n\nIf you are sure that the described cause is not responsible for this error '
'and that a transcript should be retrievable, please create an issue at '
'https://github.com/jdepoix/youtube-transcript-api/issues. '
'Please add which version of youtube_transcript_api you are using '
'and provide the information needed to replicate the error. '
'Also make sure that there are no open issues which already describe your problem!'
)
def __init__(self, video_id):
self.video_id = video_id
super(CouldNotRetrieveTranscript, self).__init__(self._build_error_message())
def _build_error_message(self):
cause = self.cause
error_message = self.ERROR_MESSAGE.format(video_url=WATCH_URL.format(video_id=self.video_id))
if cause:
error_message += self.CAUSE_MESSAGE_INTRO.format(cause=cause) + self.GITHUB_REFERRAL
return error_message
@property
def cause(self):
return self.CAUSE_MESSAGE
| (video_id) | [
-0.0008588648051954806,
-0.020110005512833595,
-0.05362668260931969,
0.0619686096906662,
-0.006796437315642834,
-0.06602784991264343,
-0.015371120534837246,
0.04770540073513985,
0.09183569252490997,
-0.0008198784198611975,
0.04211929067969322,
0.053961846977472305,
0.003940537106245756,
-0.012261517345905304,
-0.03824625164270401,
0.05023777484893799,
-0.017968662083148956,
0.024020284414291382,
0.04226825386285782,
-0.04684886336326599,
-0.01765211671590805,
0.006815057713538408,
-0.05493010953068733,
-0.03163601830601692,
-0.019737597554922104,
0.05705283209681511,
-0.006084207911044359,
-0.0276698786765337,
-0.010939470492303371,
-0.017000403255224228,
-0.010837058536708355,
-0.026925062760710716,
-0.042044807225465775,
0.0630485936999321,
-0.06241549924015999,
0.0031631363090127707,
-0.057462479919195175,
-0.023796839639544487,
-0.10747680813074112,
0.016097314655780792,
-0.08125931769609451,
0.045098550617694855,
0.04770540073513985,
-0.028154008090496063,
0.03554629534482956,
-0.055674921721220016,
-0.04215652868151665,
0.03796694427728653,
-0.07332704216241837,
-0.04353443905711174,
0.03260427713394165,
0.025640256702899933,
0.02515612728893757,
-0.02748367376625538,
-0.018415551632642746,
0.025640256702899933,
0.0029396917670965195,
0.09719835966825485,
0.007178154774010181,
-0.03215738758444786,
-0.0006720791570842266,
0.02679472044110298,
-0.009403289295732975,
0.06591612845659256,
0.028880203142762184,
-0.018583135679364204,
0.021171366795897484,
-0.04651369899511337,
0.001799193792976439,
0.03571388125419617,
0.07254498451948166,
-0.006172654684633017,
-0.06327203661203384,
-0.01819210685789585,
0.055563200265169144,
-0.03644007444381714,
-0.07206085324287415,
-0.005157844163477421,
0.007206085603684187,
0.052174292504787445,
0.033107027411460876,
0.002399700926616788,
0.02649679407477379,
-0.019998284056782722,
0.11842558532953262,
-0.06330927461385727,
0.003891658503562212,
-0.07731179893016815,
-0.028954684734344482,
0.012159105390310287,
-0.03876762092113495,
-0.04468890279531479,
-0.03504354879260063,
-0.041151031851768494,
-0.021897561848163605,
0.03441045433282852,
0.03401942551136017,
-0.08379168808460236,
-0.04565716162323952,
-0.06509683281183243,
0.037557296454906464,
0.08096139132976532,
-0.0077879722230136395,
-0.03079810179769993,
0.03752005845308304,
-0.007797282189130783,
-0.013332189060747623,
-0.017056263983249664,
0.05265842378139496,
0.006237825844436884,
-0.03340495377779007,
-0.04610405117273331,
-0.019057953730225563,
0.02284720167517662,
0.0453219935297966,
-0.07612009346485138,
-0.01624627783894539,
0.018815889954566956,
-0.026385072618722916,
-0.007811247371137142,
0.09801765531301498,
0.010557753033936024,
-0.05936175584793091,
-0.012643234804272652,
0.008090552873909473,
0.009598803706467152,
-0.04565716162323952,
-0.0016269553452730179,
0.06893263012170792,
-0.05157843977212906,
-0.008025381714105606,
-0.0027092646341770887,
-0.026385072618722916,
-0.009082088246941566,
0.0017444964032620192,
0.06602784991264343,
0.04103930667042732,
0.025286469608545303,
-0.007154879160225391,
-0.010129484347999096,
0.019644496962428093,
0.042864102870225906,
0.0193465705960989,
-0.008830713108181953,
-0.03491320461034775,
-0.006177309434860945,
-0.01889968104660511,
-0.029513295739889145,
-0.012894609943032265,
-0.0326787605881691,
0.04986536502838135,
-0.07422081381082535,
-0.03208290785551071,
-0.002516078297048807,
-0.020985163748264313,
-0.005595422815531492,
-0.016981782391667366,
0.006936090067028999,
0.008211585693061352,
0.050908107310533524,
0.021804459393024445,
-0.049939848482608795,
0.008853988721966743,
0.04345995560288429,
0.00904019270092249,
0.007699525449424982,
0.06669818609952927,
0.01513836532831192,
-0.025007164105772972,
0.04848745837807655,
0.007308497559279203,
0.04863642156124115,
-0.039177268743515015,
0.022549275308847427,
0.022884441539645195,
0.03509940952062607,
0.022269969806075096,
0.006167999468743801,
-0.01612524501979351,
0.00248349248431623,
-0.006195929832756519,
-0.019402431324124336,
-0.0254354327917099,
0.0008303523645736277,
0.051019828766584396,
0.0276698786765337,
0.02506302483379841,
0.05239773541688919,
-0.016953852027654648,
-0.013006332330405712,
0.0016897991299629211,
-0.030332591384649277,
0.022772720083594322,
0.04699782654643059,
-0.004359495360404253,
0.000386372790671885,
0.004976295400410891,
-0.00293270917609334,
0.013555633835494518,
0.01960725523531437,
-0.01892761141061783,
0.057983849197626114,
0.028191247954964638,
-0.028880203142762184,
0.014021143317222595,
0.015594564378261566,
-0.012941161170601845,
-0.020854821428656578,
-0.09325084090232849,
-0.019905181601643562,
-0.042677901685237885,
0.016870060935616493,
0.012391859665513039,
-0.020091384649276733,
0.032101526856422424,
-0.04845021665096283,
0.05742523819208145,
0.01553870365023613,
0.027632636949419975,
0.038115907460451126,
0.0608886294066906,
-0.057797644287347794,
-0.014607684686779976,
0.0023135817609727383,
0.05418529361486435,
0.01137704961001873,
0.03508078679442406,
0.004166309256106615,
-0.0440930500626564,
-0.024504413828253746,
0.027260230854153633,
0.010194655507802963,
-0.03340495377779007,
0.024076145142316818,
0.009477770887315273,
0.0140676936134696,
0.018787959590554237,
-0.05135499686002731,
-0.0032562382984906435,
-0.01971897855401039,
-0.0010980202350765467,
-0.0037147649563848972,
-0.016367310658097267,
0.10494443774223328,
0.003612352767959237,
-0.03485734388232231,
0.007294532377272844,
0.0644264966249466,
-0.05023777484893799,
-0.011879799887537956,
0.06599061191082001,
0.034075286239385605,
-0.054520461708307266,
-0.017456602305173874,
0.0015257070772349834,
-0.06532027572393417,
-0.007164189592003822,
-0.051019828766584396,
0.05232325568795204,
-0.003582094796001911,
0.01335080899298191,
-0.01174014713615179,
-0.033274609595537186,
0.032027047127485275,
-0.01621834747493267,
-0.02938295342028141,
-0.0386931411921978,
0.019588634371757507,
-0.002504440490156412,
0.02506302483379841,
0.047072310000658035,
0.043497197329998016,
-0.0020307847298681736,
-0.014440101571381092,
-0.04699782654643059,
0.0029373641591519117,
-0.014840438961982727,
0.03509940952062607,
-0.024076145142316818,
0.00783917773514986,
-0.04290134459733963,
0.002760470611974597,
0.05537699535489082,
0.015287328511476517,
0.08230206370353699,
-0.04245445504784584,
0.024783719331026077,
-0.027837460860610008,
-0.027651257812976837,
0.049492958933115005,
-0.01097671128809452,
-0.014914920553565025,
0.029718119651079178,
-0.0067359209060668945,
-0.004897158592939377,
-0.008486236445605755,
-0.03333047404885292,
0.003812521928921342,
0.01610662415623665,
-0.020668616518378258,
0.010781197808682919,
0.07355048507452011,
0.01007362361997366,
0.022344451397657394,
-0.08907987922430038,
-0.001638593035750091,
0.020221728831529617,
-0.034429073333740234,
0.04610405117273331,
-0.050908107310533524,
0.051466718316078186,
0.00998983159661293,
0.020910682156682014,
0.03537871316075325,
0.015268707647919655,
0.051988087594509125,
0.05422253534197807,
0.00817899964749813,
-0.009519667364656925,
0.0664374977350235,
0.02312650717794895,
0.0009554580319672823,
0.06081414595246315,
-0.019756218418478966,
0.08111035823822021,
-0.06822505593299866,
-0.0057769715785980225,
0.00011899583478225395,
0.004273376427590847,
-0.013099433854222298,
-0.04584336653351784,
-0.029792601242661476,
-0.03914003074169159,
-0.03266013786196709,
-0.013816318474709988,
-0.026049906387925148,
-0.023443052545189857,
-0.028079526498913765,
0.07436978071928024,
-0.031487055122852325,
0.012177725322544575,
-0.015268707647919655,
-0.003237617900595069,
0.031319472938776016,
0.016302138566970825,
-0.018164176493883133,
-0.02470923773944378,
-0.016609374433755875,
0.011432910338044167,
0.02282858081161976,
0.013406670652329922,
0.04386960342526436,
0.007019881624728441,
0.015399050898849964,
-0.039549678564071655,
-0.04595508798956871,
-0.004371133167296648,
-0.05221153423190117,
-0.009352083317935467,
-0.00546508003026247,
-0.028526416048407555,
0.011563253588974476,
-0.03932623192667961,
0.01029706746339798,
-0.07880143076181412,
0.007038502022624016,
0.02221410721540451,
-0.031933944672346115,
-0.006060932297259569,
0.022623756900429726,
-0.026049906387925148,
-0.0029815875459462404,
-0.0010014270665124059,
0.021897561848163605,
0.035248372703790665,
0.004378115758299828,
0.01647903211414814,
0.0007453968864865601,
-0.020798958837985992,
0.02982984110713005,
0.060590703040361404,
0.016860749572515488,
-0.05876590684056282,
-0.009812938049435616,
-0.012969091534614563,
-0.019234847277402878,
0.015147675760090351,
-0.021785840392112732,
0.050386738032102585,
0.025919562205672264,
0.0004259411070961505,
-0.04893434792757034,
0.03232497349381447,
-0.011898419819772243,
-0.003502958221361041,
-0.04368340224027634,
-0.053254272788763046,
0.004694662056863308,
0.04893434792757034,
0.013583564199507236,
-0.008197620511054993,
0.03582560271024704,
0.0021122489124536514,
0.039884842932224274,
0.036235250532627106,
0.027614017948508263,
0.048040568828582764,
0.05310530960559845,
-0.004634146112948656,
-0.00426639337092638,
-0.05068466067314148,
-0.04368340224027634,
-0.022791339084506035,
-0.024132007732987404,
-0.03413114696741104,
0.01030637789517641,
-0.05831901729106903,
-0.01697247289121151,
-0.06081414595246315,
0.011032572947442532,
-0.05552595853805542,
-0.020016903057694435,
0.039996568113565445,
-0.022716857492923737,
-0.002904778579249978,
0.006293687038123608,
-0.025379572063684464,
-0.012987712398171425,
0.017214536666870117,
-0.03644007444381714,
0.023349951952695847,
0.005264911334961653,
-0.003977777902036905,
-0.03081672079861164,
-0.007294532377272844,
0.0021250504069030285,
-0.04256618022918701,
0.041597917675971985,
-0.037110406905412674,
0.06885814666748047,
0.006801092065870762,
0.009952590800821781,
0.03627249225974083,
0.05697834864258766,
0.05079638585448265,
-0.01025982666760683,
-0.022977543994784355,
0.023052025586366653,
-0.02632921189069748,
0.01581800915300846,
-0.03197118639945984,
0.06625129282474518,
-0.00655902735888958,
-0.033553916960954666,
-0.0008303523645736277,
-0.012997021898627281,
-0.03619800880551338,
0.015687666833400726,
-0.022791339084506035,
-0.03001604601740837,
-0.008211585693061352,
0.04673714190721512,
0.000044987118599237874,
-0.03476424142718315,
-0.007783317007124424,
-0.04226825386285782,
0.02649679407477379,
-0.032995305955410004,
-0.05716455355286598,
-0.006475235801190138,
0.030872583389282227,
0.021171366795897484,
0.014477342367172241,
0.013406670652329922,
0.002797711407765746,
-0.0004081935330759734,
0.026925062760710716,
-0.04584336653351784,
0.03197118639945984,
0.015873869881033897,
0.031300850212574005,
-0.03064913861453533,
0.023219607770442963,
-0.01097671128809452,
0.008393133990466595,
-0.007364358752965927,
-0.02703678607940674,
-0.025416811928153038,
0.012177725322544575,
0.016581444069743156,
-0.005269566085189581,
0.057797644287347794,
-0.03388908505439758,
0.06081414595246315,
-0.05992037057876587,
-0.04092758521437645,
-0.048412974923849106,
0.01692592166364193,
-0.004641128703951836,
-0.042231012135744095,
0.05694110691547394,
-0.04323651269078255,
0.02858227677643299,
-0.03880486264824867,
0.051913607865571976,
-0.023889942094683647,
-0.005758351180702448,
0.05615905299782753,
0.05012604966759682,
-0.01845279149711132,
-0.006084207911044359,
0.05094534903764725,
0.021823080256581306,
0.0031491711270064116,
-0.007317807525396347,
-0.05016329139471054,
-0.051913607865571976,
0.020631376653909683,
0.06915607303380966,
0.03627249225974083,
0.015827318653464317,
0.03718489035964012,
0.039288993924856186,
-0.035415954887866974,
0.02990432269871235,
-0.022549275308847427,
-0.017121436074376106,
-0.017484532669186592,
-0.014812508597970009,
0.04818953201174736,
-0.034168388694524765,
-0.046886105090379715,
0.012484962120652199,
-0.031933944672346115,
0.009207775816321373,
0.03027673065662384,
-0.051466718316078186,
-0.02571473829448223,
-0.058989349752664566,
0.021990664303302765,
0.0035495092160999775,
-0.011190845631062984,
-0.03126361221075058,
-0.04111379012465477,
-0.004589922726154327,
-0.05545147880911827,
-0.027707118541002274,
0.07679042965173721,
-0.03861865773797035,
0.029401572421193123,
0.04621577262878418,
-0.0001979869557544589,
0.017242467030882835,
-0.000593233504332602,
-0.04740747809410095,
0.021189987659454346,
-0.002023802138864994,
0.030704999342560768,
0.06438925862312317,
0.05120603367686272,
0.04651369899511337,
-0.031021546572446823,
0.007611078675836325,
-0.049492958933115005,
-0.028545035049319267,
0.03154291585087776,
0.018369000405073166,
0.047519199550151825,
-0.06416581571102142,
0.01779176853597164,
-0.0023554775398224592,
0.017996592447161674,
-0.01903933472931385,
0.016776958480477333,
-0.04543371498584747,
0.03266013786196709,
-0.007741420995444059,
0.038916584104299545,
0.05023777484893799,
0.03169187903404236,
0.028005044907331467,
-0.04029449447989464,
0.03143119439482689,
-0.028377452865242958,
-0.015743527561426163,
0.0171866063028574,
0.03973587974905968,
-0.0008571191574446857,
0.016330068930983543,
-0.002916416386142373,
-0.04781712591648102,
0.010334308259189129,
0.001518724369816482,
0.0061261034570634365,
0.11440359055995941,
0.06360720098018646,
0.05273290351033211,
-0.032548416405916214,
-0.008984331041574478,
-0.015203536488115788,
-0.010734646581113338,
0.00496698496863246,
0.02096654288470745,
0.01763349585235119,
0.03295806422829628,
-0.016609374433755875,
0.02588232234120369,
-0.011079123243689537,
-0.03046293370425701,
-0.015380430035293102,
0.005278876516968012,
-0.024113386869430542,
-0.029718119651079178,
-0.034801483154296875,
-0.042677901685237885,
-0.034969065338373184,
-0.07857798784971237,
0.07042226195335388,
-0.021376190707087517,
0.0048552630469202995,
0.04453993961215019,
0.028600897639989853,
-0.07865246385335922,
0.05776040628552437,
-0.0630485936999321,
0.05865418165922165,
0.017931422218680382,
-0.052881866693496704,
-0.09168673306703568,
-0.04156067967414856,
0.04610405117273331,
0.041709642857313156,
0.03610491007566452,
-0.03791108354926109,
-0.025286469608545303,
0.06163344159722328,
0.04658817872405052,
-0.023945802822709084,
0.051019828766584396,
0.051019828766584396,
-0.006894194055348635,
0.002548663876950741,
-0.048152290284633636,
0.06092586740851402,
-0.03984760493040085,
0.04792884737253189,
-0.01979346014559269,
-0.0608886294066906,
-0.010418100282549858,
-0.028824342414736748,
0.04986536502838135,
0.0496419221162796,
0.04588060453534126,
-0.0110232625156641,
-0.018815889954566956,
0.008500201627612114,
0.03197118639945984,
-0.006870918441563845,
0.01892761141061783,
0.031747739762067795,
0.05586112663149834,
-0.030127767473459244,
-0.04718403145670891,
-0.020184487104415894,
0.04614128917455673,
-0.007462115492671728,
0.004464235156774521,
-0.029047785326838493,
0.0508708655834198,
-0.015110434964299202,
0.05615905299782753,
-0.050461217761039734,
-0.017940731719136238,
-0.027260230854153633,
0.01953277364373207,
0.012727026827633381,
-0.01069740578532219,
-0.031189128756523132,
0.009445185773074627,
-0.04398132860660553,
-0.0000744451317586936,
0.07139051705598831,
-0.041337233036756516,
-0.0009956081630662084,
-0.04610405117273331,
0.03429873287677765,
-0.01513836532831192,
0.03521113097667694,
-0.006316962651908398,
-0.07120431959629059,
-0.04710955172777176,
0.012149794958531857,
-0.08662198483943939,
0.014942851848900318,
-0.018471412360668182,
-0.043944086879491806,
-0.024299589917063713,
-0.0573507584631443,
-0.02830297127366066,
-0.020091384649276733,
-0.012149794958531857,
-0.04718403145670891,
-0.0027255574241280556,
0.00037473507109098136,
-0.009766386821866035,
-0.0171866063028574,
0.030872583389282227,
-0.04591784626245499,
-0.01146084163337946,
-0.0487109012901783,
0.036942824721336365,
-0.012931850738823414,
0.039996568113565445,
-0.04308754950761795,
-0.007247981149703264,
-0.029047785326838493,
0.032902203500270844,
-0.00019755054381676018,
0.0048552630469202995,
-0.017009712755680084,
0.019030023366212845,
-0.024523034691810608,
-0.011823938228189945,
0.06964020431041718,
0.0193465705960989,
0.018071074038743973,
-0.023312710225582123,
-0.05113155022263527,
0.03943795710802078,
-0.03791108354926109,
0.025305090472102165,
0.036849722266197205,
-0.055749405175447464,
-0.009501046501100063,
0.020277589559555054,
-0.012382550165057182,
-0.040890343487262726,
-0.0005772316362708807,
0.014188726432621479,
0.03645869717001915,
0.0013127365382388234,
-0.01419803686439991,
-0.024765100330114365,
-0.06464994698762894,
0.010371549054980278,
0.04487510398030281,
0.009151915088295937,
0.017596254125237465,
0.02679472044110298,
-0.013267017900943756,
0.03683110326528549,
-0.026049906387925148,
-0.044651661068201065,
0.022158246487379074,
0.05012604966759682,
-0.012177725322544575,
0.001970268553122878,
0.005027501378208399,
-0.02040793187916279,
0.008304687216877937,
-0.021003784611821175,
-0.016730407252907753,
0.03603042662143707,
0.011544632725417614,
-0.04334823414683342,
0.06759196519851685,
-0.02517474815249443,
0.055935610085725784
]
|
37,111 | youtube_transcript_api._errors | FailedToCreateConsentCookie | null | class FailedToCreateConsentCookie(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'Failed to automatically give consent to saving cookies'
| (video_id) | [
-0.053657542914152145,
-0.010922729037702084,
0.05856359750032425,
0.05643892660737038,
-0.004181734286248684,
-0.06783487647771835,
-0.015287957154214382,
0.034979771822690964,
0.089776910841465,
-0.03455483913421631,
0.03488319739699364,
0.07073215395212173,
-0.004775675944983959,
-0.03633183613419533,
-0.04315008968114853,
-0.00907330121845007,
0.03696923702955246,
0.013617195188999176,
-0.006866543088108301,
-0.029571525752544403,
0.007045208476483822,
0.029687415808439255,
-0.07266367226839066,
-0.004625983070582151,
0.00537927495315671,
0.04396132752299309,
-0.020319558680057526,
0.01796310767531395,
-0.027678638696670532,
0.015548711642622948,
-0.04334324225783348,
-0.012178215198218822,
-0.030884956941008568,
0.06798940151929855,
-0.00014244938211049885,
-0.005359959788620472,
-0.01944071799516678,
0.013086027465760708,
-0.10267944633960724,
-0.026172054931521416,
-0.09711667150259018,
0.04260926693677902,
-0.013781373389065266,
-0.006494726054370403,
-0.012294106185436249,
-0.03994377329945564,
-0.015596999786794186,
0.07220010459423065,
-0.05133972316980362,
-0.040948159992694855,
0.01505617517977953,
0.005084718577563763,
0.0074121966026723385,
-0.003406713018193841,
-0.005219924729317427,
0.021381894126534462,
0.005258555058389902,
0.08861800283193588,
-0.07559957355260849,
0.053541652858257294,
-0.022096553817391396,
0.02825809456408024,
-0.012323078699409962,
0.010159779340028763,
0.026809455826878548,
0.04334324225783348,
0.02933974377810955,
-0.004316940438002348,
0.020551340654492378,
-0.008411756716668606,
0.05825455114245415,
-0.0337049700319767,
-0.06551706045866013,
0.04879011958837509,
0.09333090484142303,
-0.06354691088199615,
-0.028798919171094894,
-0.002273153979331255,
-0.031618934124708176,
0.08691826462745667,
0.018474960699677467,
-0.07525189965963364,
-0.001542799174785614,
-0.026365207508206367,
0.05825455114245415,
-0.008010966703295708,
0.020763806998729706,
-0.06551706045866013,
-0.04515886679291725,
0.04763120785355568,
-0.063431017100811,
-0.017161529511213303,
-0.021884087473154068,
0.031174683943390846,
-0.004290382377803326,
0.01659173145890236,
0.03011235035955906,
-0.021092165261507034,
-0.016736594960093498,
-0.0002962162543553859,
0.010913071222603321,
0.029436320066452026,
-0.019836679100990295,
-0.027871791273355484,
0.04407721757888794,
0.010488137602806091,
-0.03134852275252342,
-0.005224753636866808,
0.050876159220933914,
-0.03903595730662346,
-0.005089547485113144,
-0.014824393205344677,
-0.009276110678911209,
0.00942580308765173,
0.02667425014078617,
-0.0448884554207325,
0.020976275205612183,
0.023950811475515366,
0.017103582620620728,
0.011434581130743027,
0.03586827218532562,
-0.015326587483286858,
-0.06590335816144943,
0.008411756716668606,
0.004406273365020752,
0.041875287890434265,
-0.003923393785953522,
0.049987658858299255,
0.02611410990357399,
0.008078569546341896,
0.04226159304380417,
-0.04492708668112755,
0.005654516164213419,
-0.038611024618148804,
0.015442478470504284,
0.0494082048535347,
0.060842785984277725,
0.014959598891437054,
-0.016195770353078842,
0.04175939783453941,
-0.017953449860215187,
0.05593673139810562,
-0.010845468379557133,
0.026172054931521416,
0.015500424429774284,
-0.008064083755016327,
-0.01882263273000717,
-0.04260926693677902,
-0.0674099400639534,
-0.020087776705622673,
0.04295693710446358,
-0.02118874154984951,
-0.06030195951461792,
-0.0028610595036298037,
-0.0494082048535347,
-0.0090008694678545,
-0.03103947825729847,
0.010005258023738861,
0.0015898799756541848,
-0.006620274391025305,
-0.010536424815654755,
-0.061538130044937134,
0.0204161349684,
0.03285510465502739,
0.035095665603876114,
0.011637389659881592,
0.01224581804126501,
-0.03144509717822075,
-0.013549591414630413,
0.011473211459815502,
-0.012545202858746052,
0.008044768124818802,
0.008735286071896553,
0.0001963206013897434,
0.011975405737757683,
0.010372246615588665,
0.05473919212818146,
-0.025051776319742203,
-0.015036859549582005,
0.012014036066830158,
0.043845437467098236,
-0.02329409494996071,
-0.059065788984298706,
0.04199117794632912,
0.05118520185351372,
-0.014360829256474972,
0.020242298021912575,
0.0452747568488121,
0.03851445019245148,
0.004809477366507053,
-0.007774355821311474,
-0.006248457357287407,
0.03003508970141411,
-0.00376887246966362,
0.002510972088202834,
-0.05767509713768959,
0.005707632750272751,
-0.06146087124943733,
0.0007496700272895396,
-0.029532894492149353,
-0.03633183613419533,
0.04894464090466499,
0.0312519446015358,
-0.04133446514606476,
0.06853022426366806,
0.05110793933272362,
-0.0033101371955126524,
-0.03963473066687584,
-0.0769902691245079,
-0.034323059022426605,
-0.03264263644814491,
0.003235290991142392,
0.027833160012960434,
0.001424493850208819,
0.015471450984477997,
-0.03756800666451454,
0.07409299165010452,
0.004051357042044401,
0.008909122087061405,
0.043613653630018234,
0.05126246064901352,
-0.06528527289628983,
0.0056448583491146564,
0.021014904603362083,
0.0007774356054142118,
0.031985919922590256,
0.015432820655405521,
-0.00450043473392725,
0.005417905282229185,
-0.018755029886960983,
-0.05767509713768959,
0.0628901943564415,
-0.0075715468265116215,
-0.030093034729361534,
0.000256227795034647,
0.011560129001736641,
0.02789110504090786,
-0.03127126023173332,
0.00038177642272785306,
0.039325688034296036,
-0.011318689212203026,
0.03374360129237175,
0.02970673143863678,
0.1442456841468811,
0.04500434547662735,
0.03300962597131729,
0.0404459647834301,
0.02037750370800495,
-0.01570323295891285,
0.004386958200484514,
-0.007170756813138723,
0.00011943716526729986,
-0.05497097223997116,
-0.03051796928048134,
0.044618044048547745,
-0.030363447964191437,
-0.01744159869849682,
-0.011492526158690453,
0.0360807366669178,
0.023661082610487938,
0.006427122745662928,
0.012902533635497093,
-0.015973646193742752,
-0.002754826098680496,
-0.057211533188819885,
0.007914391346275806,
-0.0189964696764946,
0.02099558897316456,
-0.021401207894086838,
0.04674271121621132,
0.12353982776403427,
0.026654934510588646,
0.00746531318873167,
0.003962024115025997,
-0.048210665583610535,
-0.019353799521923065,
-0.032507430762052536,
0.05945209413766861,
-0.035906899720430374,
0.010575056076049805,
-0.006219484843313694,
0.010063203983008862,
0.06397183984518051,
0.05493234470486641,
-0.02248285710811615,
-0.0012240989599376917,
-0.008836690336465836,
-0.019836679100990295,
-0.00588146923109889,
0.01218787208199501,
-0.040986791253089905,
0.02130463346838951,
0.07722204923629761,
0.012931506149470806,
-0.007899904623627663,
-0.025882327929139137,
0.006707192864269018,
-0.018938524648547173,
0.017248446121811867,
0.02151709981262684,
0.030904272571206093,
0.04944683611392975,
-0.014264252968132496,
-0.00414793286472559,
-0.061615392565727234,
-0.06486034393310547,
0.028528505936264992,
-0.028142202645540237,
-0.006171196699142456,
0.028972754254937172,
0.008609737269580364,
0.022907791659235954,
-0.003327038139104843,
0.02373834326863289,
0.01670762151479721,
0.06374005973339081,
0.023352039977908134,
-0.05968387424945831,
0.009604468010365963,
0.0626584142446518,
-0.016321318224072456,
-0.04237748309969902,
0.04855833575129509,
-0.01630200445652008,
0.02340998686850071,
-0.036022793501615524,
0.02304299734532833,
0.016620703041553497,
0.006914830766618252,
-0.02877960354089737,
-0.11612280458211899,
-0.019662844017148018,
-0.0452747568488121,
-0.023834919556975365,
-0.07289545238018036,
0.02147846855223179,
0.01678488217294216,
-0.051726024597883224,
0.04396132752299309,
-0.03749074414372444,
-0.00028218256193213165,
-0.06961186975240707,
-0.03803157061338425,
0.05018081143498421,
-0.026539044454693794,
0.005118519999086857,
-0.01810797117650509,
-0.009589982219040394,
0.05334850028157234,
0.014032470993697643,
-0.03214044123888016,
-0.013906922191381454,
0.017605777829885483,
0.027755899354815483,
0.028625082224607468,
-0.03312551602721214,
0.003715755883604288,
-0.02449163608253002,
-0.009338884614408016,
-0.024356430396437645,
-0.0004943476524204016,
-0.026848087087273598,
0.0383792445063591,
0.017567146569490433,
-0.05052848532795906,
0.006900344509631395,
0.01634063385426998,
-0.0064995549619197845,
0.01077786460518837,
-0.013530276715755463,
0.013568907044827938,
-0.03511497750878334,
-0.012081638909876347,
0.014525007456541061,
0.022985052317380905,
0.005335815716534853,
0.00972518790513277,
-0.004053771495819092,
-0.04222296178340912,
0.050103552639484406,
-0.015085147693753242,
-0.006035990547388792,
-0.08614566177129745,
0.008141344413161278,
-0.05616851523518562,
-0.010990331880748272,
-0.013066712766885757,
0.020029831677675247,
0.041064050048589706,
0.0677189826965332,
0.05280767381191254,
-0.03434237092733383,
0.03737485408782959,
-0.031097423285245895,
-0.030208926647901535,
-0.027543433010578156,
-0.08699552714824677,
0.009271281771361828,
0.07123434543609619,
0.02733096480369568,
-0.023390671238303185,
0.04121857136487961,
0.029841937124729156,
-0.02215450070798397,
-0.003235290991142392,
0.027176443487405777,
-0.027253704145550728,
-0.014611925929784775,
0.010256355628371239,
-0.05864085629582405,
-0.031174683943390846,
-0.010642658919095993,
0.015085147693753242,
-0.05280767381191254,
-0.016253715381026268,
0.031503044068813324,
-0.10005258023738861,
-0.05234410986304283,
-0.053618911653757095,
-0.031136054545640945,
-0.004997800104320049,
0.008991211652755737,
0.02566986158490181,
0.006890686694532633,
-0.023023683577775955,
0.047206275165081024,
-0.029320428147912025,
0.040214184671640396,
0.0224055964499712,
-0.047167643904685974,
0.04295693710446358,
0.03552059829235077,
-0.03714307025074959,
-0.053580280393362045,
-0.015104463323950768,
0.001850634696893394,
-0.07015269994735718,
0.015944672748446465,
-0.06022470071911812,
0.020126407966017723,
-0.027659323066473007,
0.02107284963130951,
0.00815100222826004,
0.04875148832798004,
0.10244765877723694,
-0.04786299169063568,
-0.04712901636958122,
-0.00003161350105074234,
0.020763806998729706,
-0.01190780196338892,
-0.008406927809119225,
0.03944157809019089,
0.010275670327246189,
-0.004401444457471371,
-0.016920089721679688,
0.019913939759135246,
-0.07436340302228928,
-0.01491131167858839,
-0.05021944269537926,
-0.030402077361941338,
-0.027292335405945778,
0.024201907217502594,
-0.02449163608253002,
0.003776115830987692,
0.05045122280716896,
0.036428410559892654,
0.0027499974239617586,
0.0033197947777807713,
-0.039538152515888214,
0.004456975497305393,
-0.036428410559892654,
0.009189192205667496,
0.03443894907832146,
-0.015394190326333046,
-0.007735725492238998,
0.05048985406756401,
-0.010575056076049805,
-0.003925808239728212,
0.0068230838514864445,
0.061538130044937134,
0.04875148832798004,
0.03849513456225395,
-0.01660138927400112,
-0.007513601332902908,
0.0005851893220096827,
-0.054005216807127,
-0.045583803206682205,
-0.012303763069212437,
0.03262332081794739,
0.03671813756227493,
-0.0030469680204987526,
0.0247813630849123,
-0.02845124527812004,
0.04438626021146774,
0.036911290138959885,
0.015500424429774284,
0.001593501539900899,
0.021652305498719215,
-0.02030024304986,
-0.05528001859784126,
-0.016437210142612457,
-0.0495627261698246,
-0.006895515602082014,
-0.021768197417259216,
0.013675140216946602,
-0.04315008968114853,
-0.06103593856096268,
0.026983292773365974,
0.05133972316980362,
0.009140904061496258,
0.009387172758579254,
0.057984139770269394,
0.01818523183465004,
-0.034690044820308685,
0.006615445949137211,
-0.032314278185367584,
-0.0338594913482666,
-0.022579433396458626,
-0.005611056927591562,
0.0454292818903923,
-0.012622463516891003,
0.0406777486205101,
0.031985919922590256,
-0.004623568616807461,
0.03528881445527077,
-0.030575914308428764,
0.015046517364680767,
-0.0405232273042202,
-0.012158899568021297,
0.041913919150829315,
-0.004061014391481876,
-0.028586450964212418,
0.06277430057525635,
0.032063182443380356,
0.0007080216892063618,
0.008744942955672741,
-0.09402624517679214,
0.010227382183074951,
0.03260400891304016,
-0.011077250353991985,
0.014438089914619923,
0.026944661512970924,
-0.05585947260260582,
0.028142202645540237,
0.007687437813729048,
-0.007344593293964863,
-0.029107961803674698,
0.00992799736559391,
-0.0540824756026268,
0.05106930807232857,
0.04241611436009407,
0.004633226431906223,
0.014273910783231258,
-0.030170295387506485,
-0.02574712224304676,
-0.04172076657414436,
0.04353639483451843,
0.0225214883685112,
0.03723964840173721,
0.010942043736577034,
-0.001769752474501729,
-0.03181208670139313,
0.022753270342946053,
-0.05037396401166916,
0.006485068239271641,
-0.027620693668723106,
0.019469691440463066,
0.036621563136577606,
-0.04569969326257706,
-0.021130796521902084,
0.03318346291780472,
0.002379387617111206,
0.05327123776078224,
0.09139938652515411,
-0.0627356693148613,
0.028509190306067467,
0.036389779299497604,
-0.025438079610466957,
0.0246268417686224,
0.03644772619009018,
-0.02263737842440605,
-0.00018485220789443702,
-0.046395037323236465,
-0.03051796928048134,
0.010140464641153812,
0.008184803649783134,
0.008146173320710659,
-0.0009265245753340423,
-0.009474091231822968,
-0.002331099472939968,
-0.10878303647041321,
0.057945508509874344,
0.0028538163751363754,
-0.029571525752544403,
0.07482697069644928,
0.023873550817370415,
0.04790162295103073,
-0.05215096101164818,
-0.0314064659178257,
0.0013073955196887255,
0.011241428554058075,
0.018204547464847565,
0.006673391442745924,
0.055511798709630966,
0.04071637988090515,
-0.027273019775748253,
-0.047244906425476074,
-0.005905613303184509,
-0.030904272571206093,
-0.006147053092718124,
-0.018832290545105934,
-0.0020148137118667364,
0.0011794326128438115,
0.00979761965572834,
-0.022386282682418823,
-0.02792973630130291,
-0.06261978298425674,
0.016871800646185875,
-0.049871768802404404,
0.0719296932220459,
0.0020558584947139025,
-0.04403858631849289,
-0.030208926647901535,
0.06702364236116409,
-0.05786824971437454,
0.03271989896893501,
-0.0011371806031093001,
-0.007083838805556297,
-0.08946786820888519,
-0.0583704449236393,
0.004321769345551729,
0.11102359741926193,
0.016099194064736366,
-0.07556094229221344,
0.024916568771004677,
0.08575935661792755,
0.014100073836743832,
0.015345902182161808,
0.06856885552406311,
-0.0021307046990841627,
-0.01394555252045393,
0.030788380652666092,
-0.03277784213423729,
0.017393311485648155,
-0.06497623026371002,
0.02659698948264122,
-0.015307271853089333,
-0.050798896700143814,
0.005070232320576906,
-0.05161013454198837,
-0.006026333197951317,
0.055434539914131165,
0.009561008773744106,
0.018426671624183655,
-0.014882338233292103,
0.005514481104910374,
-0.009208506904542446,
0.023390671238303185,
0.01777961477637291,
-0.01634063385426998,
0.021768197417259216,
-0.023467931896448135,
-0.01636960729956627,
-0.027543433010578156,
0.05388932302594185,
-0.0027765557169914246,
0.011618074961006641,
-0.05373480170965195,
0.041875287890434265,
-0.03959609940648079,
0.02866371162235737,
-0.017248446121811867,
-0.010575056076049805,
-0.017808586359024048,
-0.017306393012404442,
-0.016215085983276367,
-0.01372342836111784,
-0.016755910590291023,
0.06443540751934052,
-0.014611925929784775,
0.03007371909916401,
0.00042463192949071527,
-0.021787511184811592,
-0.05153287202119827,
0.0009500649175606668,
0.0625811517238617,
0.014331855811178684,
0.00964792724698782,
-0.0808146744966507,
-0.0762176588177681,
-0.02937837317585945,
-0.015568027272820473,
-0.06458992511034012,
0.02563123032450676,
0.015683917328715324,
-0.01077786460518837,
-0.032951679080724716,
0.022135185077786446,
-0.016910431906580925,
-0.016688307747244835,
0.02147846855223179,
-0.0225214883685112,
-0.02507109008729458,
-0.0030373104382306337,
-0.011028962209820747,
0.006712021771818399,
0.006731336936354637,
-0.05404384434223175,
0.023255465552210808,
0.01700700633227825,
0.022502172738313675,
-0.001766130910255015,
0.030981533229351044,
-0.020763806998729706,
-0.052730415016412735,
-0.05667071044445038,
-0.013858634978532791,
0.014872681349515915,
0.01852324791252613,
-0.00979761965572834,
-0.014640899375081062,
0.036003477871418,
-0.004729802254587412,
0.016031591221690178,
0.030807696282863617,
0.00998594332486391,
0.03026687167584896,
-0.01959523931145668,
0.03455483913421631,
-0.010690947063267231,
0.019392430782318115,
-0.005533796269446611,
-0.09379446506500244,
0.06292882561683655,
-0.0112027982249856,
0.014042128808796406,
-0.054468780755996704,
0.003549162531271577,
-0.02978399209678173,
0.04867422953248024,
0.008358639664947987,
-0.017876189202070236,
0.021613676100969315,
0.012912191450595856,
-0.044502150267362595,
0.040909528732299805,
-0.0023805946111679077,
-0.03588758781552315,
0.04763120785355568,
-0.011086907237768173,
0.025090405717492104,
-0.0009808484464883804,
-0.04523612931370735,
0.017364338040351868,
0.013646167702972889,
-0.02037750370800495,
0.03345387428998947,
0.0056207142770290375,
-0.012361709028482437,
0.042763788253068924,
-0.001614023931324482,
0.0006081260507926345,
0.014660214073956013,
-0.04210707172751427,
-0.00002591703560028691,
-0.00849867518991232,
0.0021258757915347815,
0.00653818529099226
]
|
37,114 | youtube_transcript_api._errors | InvalidVideoId | null | class InvalidVideoId(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = (
'You provided an invalid video id. Make sure you are using the video id and NOT the url!\n\n'
'Do NOT run: `YouTubeTranscriptApi.get_transcript("https://www.youtube.com/watch?v=1234")`\n'
'Instead run: `YouTubeTranscriptApi.get_transcript("1234")`'
)
| (video_id) | [
-0.0028987862169742584,
0.0009662620723247528,
0.011015862226486206,
0.04026487469673157,
-0.01423515286296606,
-0.05785227194428444,
0.018138187006115913,
0.04387352243065834,
0.058346085250377655,
-0.016799191012978554,
-0.0020998988766223192,
0.05515528470277786,
-0.021139059215784073,
-0.01019916869699955,
-0.02072121761739254,
0.018109697848558426,
0.014377599582076073,
0.03179405629634857,
0.02404496818780899,
-0.053369954228401184,
-0.012877163477241993,
0.04554489254951477,
-0.07019763439893723,
0.0056741186417639256,
-0.011604641564190388,
0.09800318628549576,
0.006053976248949766,
-0.03057851456105709,
-0.045392949134111404,
-0.008195421658456326,
-0.009486936964094639,
0.0018921643495559692,
-0.011376726441085339,
0.058346085250377655,
-0.06104307249188423,
0.005626636557281017,
-0.046038705855607986,
-0.005759586580097675,
-0.13188646733760834,
-0.04311380535364151,
-0.034737952053546906,
0.04546892270445824,
0.044177405536174774,
0.012022484093904495,
0.019097326323390007,
-0.05466146767139435,
-0.041632361710071564,
0.0325537733733654,
-0.11053848266601562,
-0.024120939895510674,
0.03846055269241333,
0.007307505235075951,
0.027748577296733856,
-0.0028845416381955147,
-0.023741083219647408,
0.04740619286894798,
0.001390040386468172,
0.10742364823818207,
0.025963248685002327,
0.0025687851011753082,
-0.018347108736634254,
0.020436324179172516,
-0.011148812249302864,
0.036409325897693634,
0.035972487181425095,
-0.0023325614165514708,
0.05276218056678772,
-0.030331607908010483,
-0.02672296203672886,
0.03870746120810509,
0.04619064927101135,
-0.027007855474948883,
-0.07593347877264023,
-0.0004979692166671157,
0.08334069699048996,
-0.03433910384774208,
-0.04432934895157814,
0.02037934586405754,
0.003969509154558182,
0.07259073108434677,
0.07076741755008698,
-0.04075869172811508,
0.05006519705057144,
-0.026248140260577202,
0.04725424945354462,
-0.05587701126933098,
0.03036959283053875,
-0.0912417322397232,
-0.057016585022211075,
0.035763565450906754,
-0.03538370877504349,
-0.06924799084663391,
-0.051812540739774704,
-0.025621376931667328,
-0.0394291914999485,
0.029400957748293877,
0.055041324347257614,
-0.055345211178064346,
-0.01596350409090519,
-0.04554489254951477,
0.032306864857673645,
0.03270571678876877,
-0.0084233358502388,
-0.05052102357149124,
0.042847905308008194,
-0.03479493036866188,
-0.03213592991232872,
-0.021139059215784073,
0.008788948878645897,
0.012706227600574493,
0.008641754277050495,
0.0007057036855258048,
-0.0483558364212513,
0.021120067685842514,
0.03893537446856499,
-0.0605112724006176,
-0.021974746137857437,
0.00942995771765709,
-0.036960117518901825,
0.002642382401973009,
0.0614229291677475,
-0.002962887054309249,
-0.08523998409509659,
-0.04706432297825813,
0.016143936663866043,
0.00953441858291626,
-0.051470667123794556,
-0.012050973251461983,
0.05633284151554108,
-0.04087264835834503,
0.007293260656297207,
-0.015374724753201008,
0.003029362065717578,
-0.003155189799144864,
-0.002666123677045107,
0.047482166439294815,
0.07855449616909027,
0.03103434294462204,
0.015355732291936874,
0.005735845770686865,
-0.008062471635639668,
0.0655633732676506,
0.006210667081177235,
-0.0149568822234869,
0.00471260491758585,
-0.013133566826581955,
-0.01937272399663925,
-0.021006109192967415,
-0.011680612340569496,
-0.025963248685002327,
0.04375956207513809,
-0.04600072279572487,
0.005265772342681885,
0.030008727684617043,
0.00008390988659812137,
0.0018423079745844007,
0.023741083219647408,
-0.015925519168376923,
0.016362354159355164,
-0.008860171772539616,
0.05485139787197113,
-0.051128797233104706,
-0.007582901977002621,
0.038156669586896896,
0.046722449362277985,
-0.025108568370342255,
0.04778604954481125,
0.029230020940303802,
-0.012506802566349506,
0.046494536101818085,
0.012278888374567032,
0.049913253635168076,
-0.023342233151197433,
0.027235770598053932,
0.06248652935028076,
0.013105077669024467,
0.032306864857673645,
0.0037961991038173437,
0.02715979889035225,
0.03333248198032379,
-0.018318619579076767,
0.03272470831871033,
0.0014007239369675517,
0.043151792138814926,
0.0632462427020073,
0.008114702068269253,
0.035725582391023636,
0.03388327360153198,
-0.0023788565304130316,
-0.0463046059012413,
-0.01738796941936016,
-0.037074074149131775,
0.023418204858899117,
0.025887276977300644,
-0.046608492732048035,
-0.004885914735496044,
-0.004192674998193979,
-0.007017863914370537,
0.02140495926141739,
-0.016599765047430992,
0.016989119350910187,
0.028223399072885513,
0.005925774108618498,
-0.03200297802686691,
0.00515181478112936,
0.03578256070613861,
-0.011614137329161167,
-0.02926800586283207,
-0.06070119887590408,
-0.031756073236465454,
-0.0016773075331002474,
0.015935014933347702,
0.027672605589032173,
0.016761204227805138,
-0.0029296495486050844,
-0.04421539232134819,
0.044481292366981506,
0.020341359078884125,
-0.015137314796447754,
0.03202197328209877,
0.08706329762935638,
-0.0678425207734108,
0.008779452182352543,
-0.0023147554602473974,
0.06860223412513733,
0.008380602113902569,
0.05864997208118439,
0.014937888830900192,
-0.05864997208118439,
-0.008304630406200886,
0.013086085207760334,
0.004202171694487333,
0.005161311477422714,
0.01916380226612091,
-0.04178430512547493,
-0.0054129669442772865,
-0.015479185618460178,
-0.057358454912900925,
-0.00506634684279561,
-0.005460449028760195,
-0.020227402448654175,
-0.00240853289142251,
-0.0012594644213095307,
0.121478371322155,
0.030654486268758774,
-0.011348237283527851,
-0.027767570689320564,
0.08121349662542343,
-0.04003696143627167,
-0.007041605189442635,
0.008451825007796288,
-0.0043992227874696255,
-0.05883989855647087,
-0.008489810861647129,
-0.007184051442891359,
-0.03977106139063835,
-0.03741594776511192,
-0.0389733612537384,
0.05162261053919792,
-0.0070368568412959576,
-0.017112571746110916,
0.007207792717963457,
-0.07061547785997391,
0.0476720929145813,
-0.02824239246547222,
-0.0334654301404953,
-0.05694061145186424,
0.03612443059682846,
-0.03582054376602173,
0.045392949134111404,
0.11266568303108215,
0.01218392327427864,
-0.003563536563888192,
0.000788797449786216,
-0.03057851456105709,
-0.0100852120667696,
-0.02960987761616707,
0.04824187979102135,
0.02450079657137394,
-0.02858426421880722,
-0.014206663705408573,
0.0012950761010870337,
0.06404394656419754,
-0.007312253583222628,
0.05853601172566414,
-0.05526924133300781,
0.007269519381225109,
-0.021480930969119072,
-0.04641856625676155,
0.0401129350066185,
-0.0460766926407814,
-0.029400957748293877,
0.020759202539920807,
0.013038602657616138,
-0.01651429757475853,
0.003608644474297762,
-0.006533545907586813,
-0.008147940039634705,
0.020778195932507515,
-0.014928393065929413,
-0.022981368005275726,
0.06320825964212418,
-0.02326626144349575,
0.011813562363386154,
-0.11137416958808899,
0.01638134755194187,
-0.0007330059306696057,
-0.04474719241261482,
0.037301987409591675,
-0.04995123669505119,
0.03224988654255867,
0.021461939439177513,
-0.010968380607664585,
0.018650993704795837,
0.020854167640209198,
0.0790862962603569,
0.036618247628211975,
-0.019439198076725006,
-0.012145938351750374,
0.0540916845202446,
0.023114318028092384,
-0.017017608508467674,
0.07600945234298706,
-0.012288384139537811,
0.06461372971534729,
-0.05017915368080139,
0.026798933744430542,
-0.027083827182650566,
0.012373852543532848,
-0.02026538737118244,
-0.04531697928905487,
-0.014842924661934376,
-0.01685616932809353,
-0.06609517335891724,
-0.004980879370123148,
-0.024215904995799065,
-0.024633746594190598,
-0.0151278181001544,
0.08037780970335007,
-0.015146810561418533,
0.024576768279075623,
-0.024519789963960648,
-0.0134659418836236,
0.0456208661198616,
0.024025974795222282,
0.004999871831387281,
-0.04839382320642471,
-0.03211693838238716,
0.05299009755253792,
-0.030787436291575432,
0.019562652334570885,
0.010275140404701233,
-0.01739746518433094,
-0.0012357233790680766,
0.0029462683014571667,
-0.009173554368317127,
0.03631436079740524,
-0.025792311877012253,
-0.01151917316019535,
0.004938145168125629,
-0.04330373555421829,
-0.016001489013433456,
0.002545044058933854,
0.009733843617141247,
-0.07316052168607712,
0.009800318628549576,
0.02826138399541378,
-0.0407966747879982,
0.033180538564920425,
0.04003696143627167,
-0.03545968234539032,
0.023095324635505676,
0.007782327011227608,
0.0005709730321541429,
0.016599765047430992,
0.0036893642973154783,
0.010104204528033733,
-0.005180304404348135,
-0.03268672153353691,
0.020645245909690857,
0.01384579949080944,
0.016894154250621796,
-0.04725424945354462,
-0.014975874684751034,
-0.01927775889635086,
0.0037914509885013103,
-0.007630384061485529,
0.012164930813014507,
-0.00046057699364610016,
0.04322776198387146,
0.027634620666503906,
-0.04581079259514809,
0.041632361710071564,
-0.041594378650188446,
-0.016219908371567726,
-0.029666857793927193,
-0.039277248084545135,
0.0057405936531722546,
0.035193782299757004,
-0.009050101041793823,
-0.0033498667180538177,
0.03764386102557182,
-0.03057851456105709,
0.019752580672502518,
0.03411118686199188,
0.016542786732316017,
0.044139422476291656,
0.040188904851675034,
-0.034092195332050323,
-0.03169909492135048,
-0.03992300480604172,
-0.04356963559985161,
-0.012573277577757835,
-0.01740696094930172,
-0.02959088608622551,
0.011443201452493668,
-0.08098558336496353,
-0.02603922039270401,
-0.08508803695440292,
-0.005507931113243103,
-0.009681613184511662,
-0.008356860838830471,
0.05044505372643471,
-0.016352858394384384,
-0.004807569086551666,
0.033199530094861984,
-0.011747087351977825,
-0.021309996023774147,
0.04398747906088829,
-0.06252451241016388,
0.0021853665821254253,
-0.00031338230473920703,
-0.002858426421880722,
-0.05762435495853424,
0.008627509698271751,
0.0022102948278188705,
-0.03272470831871033,
0.01794825866818428,
-0.034301117062568665,
0.07376829534769058,
0.010408090427517891,
0.011120323091745377,
0.014937888830900192,
0.08615164458751678,
0.06886813044548035,
-0.04846979305148125,
-0.032629743218421936,
0.018413584679365158,
0.01773933693766594,
0.00046740256948396564,
0.006343617103993893,
0.08774704486131668,
0.004216416273266077,
-0.030939379706978798,
0.019809558987617493,
-0.032420821487903595,
-0.061346959322690964,
0.02848929911851883,
-0.06351214647293091,
-0.0469883494079113,
-0.047596123069524765,
0.05644679814577103,
-0.04391150549054146,
-0.008556285873055458,
0.02472871169447899,
-0.005731097422540188,
0.01092089805752039,
-0.027406705543398857,
-0.034737952053546906,
-0.006870669312775135,
0.0018743585096672177,
0.014178174547851086,
0.03798573091626167,
0.036960117518901825,
-0.0019942510407418013,
0.020474309101700783,
-0.0025402959436178207,
-0.027102820575237274,
0.02681792713701725,
0.06039731577038765,
0.0676146000623703,
0.002846555784344673,
0.0031646862626075745,
0.004119077697396278,
0.01164262741804123,
-0.008860171772539616,
-0.029761821031570435,
-0.022867411375045776,
-0.006001745816320181,
0.030103692784905434,
-0.0149568822234869,
0.03923926129937172,
-0.0020690353121608496,
0.018897902220487595,
-0.0377008393406868,
-0.04068271815776825,
-0.009923772886395454,
0.032211899757385254,
-0.0041997977532446384,
0.004539295099675655,
0.04186027869582176,
-0.051128797233104706,
0.016248397529125214,
-0.06742467731237411,
0.062334585934877396,
-0.0407966747879982,
-0.013323495164513588,
0.04197423532605171,
0.025887276977300644,
0.008798445574939251,
-0.0179387629032135,
0.033845286816358566,
0.0265900120139122,
-0.002903534332290292,
0.03946717455983162,
-0.05652276799082756,
-0.03859350457787514,
-0.012231405824422836,
0.06039731577038765,
0.016248397529125214,
-0.00936348270624876,
0.035858530551195145,
0.03036959283053875,
-0.050255123525857925,
0.05450952425599098,
-0.021860789507627487,
-0.06677892059087753,
-0.01697012595832348,
-0.017701352015137672,
0.03295262157917023,
-0.025469433516263962,
-0.038080696016550064,
0.03713105246424675,
-0.012953135184943676,
-0.01057902630418539,
0.001342558185569942,
-0.0676146000623703,
-0.01763487607240677,
-0.03555464372038841,
0.011623634025454521,
-0.006001745816320181,
0.0035208025947213173,
-0.01562163233757019,
-0.01663774996995926,
-0.018556030467152596,
0.003475694451481104,
-0.03511780872941017,
0.1221621185541153,
-0.04489913582801819,
0.0396571047604084,
0.030008727684617043,
-0.010721473023295403,
-0.012791695073246956,
-0.0343770869076252,
-0.054357584565877914,
-0.01258277427405119,
-0.007502181921154261,
0.04345567896962166,
0.02826138399541378,
0.04186027869582176,
0.021196039393544197,
0.003373607760295272,
0.023228274658322334,
-0.05276218056678772,
-0.00720304436981678,
0.008741466328501701,
0.02172783948481083,
-0.012953135184943676,
-0.05086289718747139,
0.009263770654797554,
-0.006794698070734739,
-0.02205071784555912,
0.016134439036250114,
0.020816180855035782,
-0.08030183613300323,
0.018242647871375084,
-0.0015016234247013927,
0.02347518317401409,
0.02461475506424904,
0.023247268050909042,
-0.011234280653297901,
-0.006462322548031807,
0.01882193051278591,
-0.009278015233576298,
0.0054841903038322926,
-0.025317490100860596,
0.0302556362003088,
-0.006129947490990162,
0.03367435187101364,
0.03749191761016846,
-0.033845286816358566,
0.05830809846520424,
0.008461321704089642,
0.003679867833852768,
0.06571532040834427,
0.049039579927921295,
0.060549259185791016,
-0.011053848080337048,
-0.014045224525034428,
-0.007711103651672602,
-0.00041932688327506185,
0.04733022302389145,
0.04934346675872803,
0.034642986953258514,
0.03422514349222183,
-0.004306632559746504,
-0.009710103273391724,
-0.0598275288939476,
-0.06032134220004082,
-0.015925519168376923,
-0.009320748969912529,
-0.0031456935685127974,
-0.013200041837990284,
-0.021366974338889122,
-0.0004623575950972736,
-0.02892613597214222,
-0.06332221627235413,
0.05804219841957092,
-0.014586521312594414,
0.02007545903325081,
0.007416714448481798,
0.0341491736471653,
-0.06339818984270096,
0.024025974795222282,
-0.03270571678876877,
0.058687955141067505,
-0.01206996664404869,
-0.029116064310073853,
-0.07456599175930023,
-0.028090449050068855,
-0.0010143377585336566,
0.040378835052251816,
0.03337046504020691,
-0.02482367679476738,
-0.00025210060994140804,
0.011481187306344509,
0.018366102129220963,
0.007331246510148048,
0.03388327360153198,
0.0403408482670784,
-0.018783943727612495,
0.01683717593550682,
-0.06977979093790054,
0.04501309245824814,
-0.039960991591215134,
0.027102820575237274,
-0.04763410985469818,
-0.055687084794044495,
-0.0022494676522910595,
-0.03071146458387375,
0.04664647951722145,
0.044709205627441406,
0.04774806648492813,
0.008195421658456326,
-0.0014114073710516095,
0.01151917316019535,
-0.007749089505523443,
0.01971459574997425,
0.02294338308274746,
0.006794698070734739,
0.05006519705057144,
-0.04850777983665466,
-0.043835535645484924,
-0.02638109028339386,
0.011880037374794483,
0.005189800634980202,
0.03445306047797203,
-0.057130541652441025,
0.016039475798606873,
-0.046494536101818085,
0.040378835052251816,
-0.022753452882170677,
-0.00653829425573349,
-0.03137621656060219,
-0.020664239302277565,
-0.01815718039870262,
-0.04299984872341156,
-0.014263642951846123,
0.03635234758257866,
-0.017777321860194206,
-0.010522047989070415,
0.0001345080672763288,
-0.01225039828568697,
-0.036960117518901825,
-0.06024537235498428,
0.06153688579797745,
-0.019980495795607567,
0.024747705087065697,
-0.021101074293255806,
-0.07901032269001007,
-0.03568759560585022,
0.019144808873534203,
-0.08706329762935638,
-0.010455572977662086,
0.028014477342367172,
-0.012335866689682007,
-0.02782454900443554,
-0.01606796495616436,
-0.005802320782095194,
-0.017473436892032623,
-0.03428212180733681,
-0.018983369693160057,
0.001000093063339591,
0.012753709219396114,
-0.041632361710071564,
-0.019638624042272568,
0.019790567457675934,
-0.042619992047548294,
-0.02351316809654236,
-0.056788668036460876,
0.023114318028092384,
-0.027729583904147148,
0.015355732291936874,
-0.011652123183012009,
-0.040720704942941666,
-0.051356710493564606,
0.034187160432338715,
0.016485808417201042,
0.048583753407001495,
-0.007687362376600504,
0.020816180855035782,
-0.007359735667705536,
-0.01939171552658081,
0.05466146767139435,
0.022525539621710777,
0.04254401847720146,
-0.004012242890894413,
-0.028508292511105537,
0.07327447831630707,
-0.04341769218444824,
0.05283815413713455,
0.04045480489730835,
-0.06541143357753754,
0.021347980946302414,
0.01960063725709915,
0.016466815024614334,
-0.06248652935028076,
-0.01474796049296856,
-0.00034424569457769394,
0.0015764079289510846,
-0.010113701224327087,
0.016153432428836823,
0.026798933744430542,
-0.04280991852283478,
-0.022145681083202362,
0.05963759869337082,
0.025469433516263962,
0.020360352471470833,
0.015773575752973557,
-0.025336483493447304,
0.022221652790904045,
-0.012544788420200348,
-0.07107130438089371,
0.027425698935985565,
0.054813411086797714,
-0.030407579615712166,
0.006115702912211418,
0.013883785344660282,
-0.03367435187101364,
0.005550665315240622,
-0.018328115344047546,
0.00963887944817543,
0.06636107712984085,
-0.016675736755132675,
-0.04113854840397835,
0.02748267725110054,
-0.008442329242825508,
0.06275243312120438
]
|
37,117 | youtube_transcript_api._errors | NoTranscriptAvailable | null | class NoTranscriptAvailable(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'No transcripts are available for this video'
| (video_id) | [
0.004135653376579285,
-0.010365482419729233,
-0.01575443334877491,
0.022857218980789185,
0.008876189589500427,
-0.021885739639401436,
-0.008445439860224724,
0.0190079677850008,
0.09150218963623047,
0.017981501296162605,
0.01163023617118597,
0.05788540095090866,
-0.03053738921880722,
-0.043551523238420486,
-0.05689559504389763,
0.00892659556120634,
0.004002762492746115,
0.03588968142867088,
0.017862357199192047,
-0.05421944707632065,
-0.019484540447592735,
0.030427411198616028,
-0.05044351518154144,
-0.005123169627040625,
-0.01880634017288685,
0.06562056392431259,
-0.013765654526650906,
-0.06884659826755524,
-0.06822338700294495,
0.010099700652062893,
-0.016918374225497246,
-0.02157413400709629,
0.006786596029996872,
0.03246201574802399,
-0.041755206882953644,
0.06913987547159195,
-0.0447612889111042,
-0.026614820584654808,
-0.08842279016971588,
-0.013059957884252071,
-0.043991439044475555,
0.009091563522815704,
0.024800173938274384,
-0.007506038993597031,
0.007405225653201342,
-0.04058210179209709,
-0.041571907699108124,
0.04215846210718155,
-0.038492508232593536,
0.005906767211854458,
0.06404419988393784,
0.04223177954554558,
0.022948866710066795,
-0.021702442318201065,
-0.07969782501459122,
0.03735606372356415,
-0.01734912395477295,
0.11973003298044205,
-0.03411169350147247,
-0.007918458431959152,
0.012583384290337563,
0.033616792410612106,
-0.011923512443900108,
0.018971307203173637,
0.056419018656015396,
0.0034849466755986214,
0.06635375320911407,
-0.056932251900434494,
0.008010108023881912,
0.05048017576336861,
0.04028882458806038,
-0.006575803738087416,
-0.06430082023143768,
0.013609850779175758,
0.08673645555973053,
-0.03570638224482536,
-0.05168994143605232,
0.03242535516619682,
-0.025441715493798256,
0.06723358482122421,
0.07038629800081253,
-0.03797927498817444,
0.012271778658032417,
0.009833919815719128,
0.0697997510433197,
-0.02725636214017868,
0.021794091910123825,
-0.09333516657352448,
-0.04725413769483566,
0.018842998892068863,
-0.03169216588139534,
-0.03926235809922218,
-0.013069123029708862,
-0.01783486269414425,
-0.0195212010294199,
0.033250194042921066,
0.030244113877415657,
-0.08021105825901031,
-0.05172659829258919,
-0.06378758698701859,
0.010411307215690613,
0.08966921269893646,
0.008844112046062946,
-0.03860248625278473,
0.07713165879249573,
0.013160771690309048,
-0.0659138411283493,
-0.006864497438073158,
0.05531923472881317,
0.02023606188595295,
0.020749295130372047,
-0.008848694153130054,
-0.007657259702682495,
-0.001404518261551857,
0.03746604174375534,
-0.07881799340248108,
-0.02379203587770462,
0.01953953132033348,
-0.04179186746478081,
0.0011948716128244996,
0.07610518485307693,
0.022508952766656876,
-0.05509927496314049,
-0.0669403076171875,
0.014801286160945892,
0.014617987908422947,
0.009371092543005943,
0.02469019405543804,
0.057298846542835236,
-0.028191180899739265,
0.03046407178044319,
-0.035009853541851044,
-0.018008995801210403,
-0.00574638182297349,
-0.01091537531465292,
0.05594244599342346,
0.08365704864263535,
0.014792121015489101,
-0.007579358294606209,
0.0012796467635780573,
-0.016570108011364937,
0.027476320043206215,
0.016881713643670082,
0.0018123555928468704,
-0.0014331585261970758,
0.017312463372945786,
-0.009169465862214565,
-0.02388368546962738,
-0.018494734540581703,
-0.044797949492931366,
0.048427242785692215,
-0.0660238191485405,
-0.05759212374687195,
0.0045366170816123486,
-0.02379203587770462,
0.015387838706374168,
0.0023061137180775404,
-0.009623127058148384,
-0.014581329189240932,
-0.00972394086420536,
0.02194073051214218,
-0.03180214390158653,
-0.04641096666455269,
0.033323515206575394,
0.01570860855281353,
-0.061661332845687866,
0.004701585043221712,
0.03238869458436966,
-0.014572164043784142,
0.025625012814998627,
0.012931649573147297,
0.04556779935956001,
-0.0433315671980381,
-0.0008454604540020227,
0.0804310142993927,
0.03797927498817444,
0.01970449835062027,
0.019392892718315125,
-0.012299273163080215,
0.004369358066469431,
-0.00609922967851162,
0.011602741666138172,
-0.04806064814329147,
0.04582441598176956,
0.05044351518154144,
0.023480430245399475,
0.020529337227344513,
0.03744771331548691,
-0.014773791655898094,
-0.013490707613527775,
0.007102784235030413,
-0.012106810696423054,
0.02760462835431099,
0.013875632546842098,
-0.033341843634843826,
-0.009852249175310135,
0.010814561508595943,
-0.0026142827700823545,
-0.04589773342013359,
-0.014425525441765785,
-0.003979850560426712,
-0.005384368821978569,
0.010182185098528862,
-0.007964283227920532,
0.001537409145385027,
0.017752379179000854,
-0.0045159962028265,
-0.02644985169172287,
-0.08065097033977509,
-0.04259837791323662,
-0.025093449279665947,
-0.0004642585990950465,
0.051873236894607544,
-0.009668951854109764,
-0.005860942881554365,
-0.01669841632246971,
0.03733773157000542,
0.00923820212483406,
0.0001906009274534881,
0.04054544121026993,
0.04388146102428436,
-0.07295247167348862,
-0.011263641528785229,
-0.011602741666138172,
0.034936532378196716,
0.028154520317912102,
0.0413886122405529,
-0.012840000912547112,
-0.04765739291906357,
-0.02555169351398945,
0.008867024444043636,
0.029602572321891785,
-0.04644762724637985,
-0.004651178140193224,
-0.016615932807326317,
0.04153525084257126,
0.010567110031843185,
-0.0539628304541111,
-0.002217901637777686,
-0.012794177047908306,
-0.002233940176665783,
0.00449308380484581,
-0.0014136831741780043,
0.11643067002296448,
-0.008399615064263344,
-0.01539700385183096,
-0.010310493409633636,
0.0404721237719059,
-0.036787841469049454,
0.00707987230271101,
0.046300988644361496,
-0.009577302262187004,
-0.08219067007303238,
-0.01970449835062027,
-0.008752463385462761,
-0.06301773339509964,
-0.04835392162203789,
-0.03319520503282547,
0.04677756130695343,
0.0042800004594028,
-0.03565139323472977,
-0.02848445624113083,
-0.07320908457040787,
0.029950836673378944,
-0.009270278736948967,
-0.007987195625901222,
-0.03383674845099449,
0.03227871656417847,
-0.0467042438685894,
0.048683859407901764,
0.08996248990297318,
0.0037346899043768644,
-0.02282055839896202,
-0.03336017578840256,
-0.0039271521382033825,
0.0019876339938491583,
-0.012024326249957085,
0.03205876052379608,
-0.020199401304125786,
0.020639317110180855,
0.00425708806142211,
0.0351564921438694,
0.06118476018309593,
-0.014810451306402683,
0.0438448004424572,
-0.057995378971099854,
0.016139358282089233,
-0.020437689498066902,
-0.04732745513319969,
0.015956060960888863,
-0.019392892718315125,
0.02016274258494377,
0.05993833392858505,
-0.01658843830227852,
0.01002638228237629,
0.012400086969137192,
-0.03845584765076637,
-0.009430664591491222,
0.05231315270066261,
0.0014331585261970758,
0.024103641510009766,
0.03970227390527725,
-0.03282861039042473,
0.02450689673423767,
-0.1131313145160675,
0.00040125002851709723,
-0.00878912303596735,
0.005425610579550266,
0.013334904797375202,
-0.019906125962734222,
0.002138854470103979,
0.010218844749033451,
0.013325739651918411,
0.004894047509878874,
0.03204043209552765,
0.0747121274471283,
0.07199931889772415,
-0.01716582663357258,
-0.004396852571517229,
0.05946176126599312,
-0.005796788260340691,
0.011291136033833027,
0.06595049798488617,
-0.020437689498066902,
0.04747409373521805,
-0.07427220791578293,
-0.0026509424205869436,
-0.012757517397403717,
0.0043418630957603455,
-0.016808396205306053,
-0.07493208348751068,
-0.0066720349714159966,
-0.015965227037668228,
-0.05106672644615173,
-0.10330656170845032,
0.00438310531899333,
-0.01415974460542202,
-0.030042486265301704,
0.059681717306375504,
0.0013804604532197118,
0.022600600495934486,
-0.01988779567182064,
-0.017413277179002762,
0.0587652288377285,
0.02903435006737709,
0.02351708896458149,
-0.031288910657167435,
-0.0031595933251082897,
0.04974698647856712,
-0.06052488833665848,
-0.011914348229765892,
0.038382530212402344,
-0.022325655445456505,
0.06001165509223938,
0.00013861885236110538,
-0.03926235809922218,
0.07291580736637115,
-0.0033978803548961878,
-0.025056790560483932,
-0.005114004481583834,
-0.02877773344516754,
0.01908128708600998,
-0.026596490293741226,
0.02342544123530388,
-0.0592784620821476,
0.0036544969771057367,
0.04996694251894951,
-0.02441524900496006,
0.02007109299302101,
0.0035811779089272022,
-0.01942955143749714,
-0.0296392310410738,
-0.03433165326714516,
0.0148196155205369,
0.00537062156945467,
-0.009141970425844193,
0.009613961912691593,
-0.03477156534790993,
-0.018723856657743454,
0.0025501286145299673,
0.011373619548976421,
0.04509122297167778,
-0.0853433907032013,
-0.021794091910123825,
-0.017770707607269287,
0.016295161098241806,
-0.040068868547677994,
0.03541310876607895,
0.005893019959330559,
0.0342400036752224,
0.02228899486362934,
-0.045054566115140915,
-0.004678672645241022,
-0.05319298058748245,
-0.015974391251802444,
-0.004431220702826977,
-0.057995378971099854,
0.013289080001413822,
0.0481339655816555,
0.015827752649784088,
0.01220762450248003,
0.02875940315425396,
-0.03757601976394653,
0.02831948921084404,
0.011905183084309101,
0.016551779583096504,
0.049673665314912796,
-0.00488488283008337,
0.0019372270908206701,
-0.036971136927604675,
-0.03940899670124054,
-0.03816257417201996,
-0.03959229588508606,
-0.0336717814207077,
-0.05707889050245285,
0.020272720605134964,
-0.06946980953216553,
-0.03579803183674812,
-0.0659138411283493,
-0.008353791199624538,
-0.00561349093914032,
-0.016249338164925575,
0.04498124495148659,
-0.01119032222777605,
0.03436831012368202,
0.028117861598730087,
-0.021977389231324196,
-0.02732968144118786,
0.02459854632616043,
-0.06595049798488617,
0.021519144997000694,
0.006314604543149471,
0.007098201662302017,
-0.07881799340248108,
0.01459965854883194,
0.023663727566599846,
-0.04996694251894951,
-0.007070707157254219,
-0.07207264006137848,
0.08189739286899567,
0.018604712560772896,
0.026578160002827644,
0.009467324241995811,
0.04747409373521805,
0.0939217209815979,
-0.026156576350331306,
-0.04754741117358208,
0.010603769682347775,
0.00559057854115963,
-0.004135653376579285,
-0.0322970487177372,
0.06826005131006241,
0.02903435006737709,
-0.021097561344504356,
0.029602572321891785,
0.0052377306856215,
-0.05440274626016617,
0.03845584765076637,
-0.08050433546304703,
-0.059681717306375504,
-0.05913182348012924,
0.0582519955933094,
-0.040692079812288284,
-0.0031504284124821424,
0.0804310142993927,
0.037869296967983246,
0.004788651131093502,
-0.024836832657456398,
-0.06935983151197433,
-0.00499486131593585,
0.01986946538090706,
0.021812422201037407,
0.03885910287499428,
-0.03695280849933624,
0.031453877687454224,
0.012308437377214432,
-0.01464548334479332,
-0.006653705146163702,
0.03596300259232521,
0.06675700843334198,
0.027109723538160324,
0.00041442454676143825,
-0.012042656540870667,
0.022655591368675232,
-0.015424498356878757,
-0.007487709168344736,
-0.03779597580432892,
-0.02502012997865677,
0.006882827263325453,
0.008903684094548225,
-0.002502012997865677,
0.027934562414884567,
-0.0017287260852754116,
0.04267169535160065,
-0.03150886669754982,
-0.032443687319755554,
0.0035880517680197954,
0.03282861039042473,
0.01339905895292759,
-0.011776874773204327,
0.03169216588139534,
-0.028374478220939636,
-0.010952034965157509,
-0.048170626163482666,
0.0390424020588398,
-0.05634570121765137,
-0.005553918890655041,
0.034478288143873215,
0.033048566430807114,
-0.0007005407242104411,
-0.007446467410773039,
0.06477738916873932,
0.02307717502117157,
-0.01996111497282982,
0.025240087881684303,
-0.03429499268531799,
-0.04472462832927704,
-0.0018352677579969168,
0.06620711833238602,
0.02183075062930584,
-0.0037484371569007635,
0.006699529476463795,
0.03149053826928139,
-0.03391006588935852,
0.04600771144032478,
-0.011171991936862469,
-0.05337627977132797,
-0.026138246059417725,
-0.03495486453175545,
0.03583469241857529,
-0.002527216449379921,
-0.04769404977560043,
0.015287024900317192,
-0.013921457342803478,
-0.005471434909850359,
0.06378758698701859,
-0.057922061532735825,
0.0008580621797591448,
-0.00617254851385951,
-0.001334636122919619,
0.01789901591837406,
-0.00994389783591032,
0.00827130675315857,
0.005013191141188145,
0.03167383372783661,
-0.0095039838925004,
-0.06272445619106293,
0.03973893076181412,
-0.01238175667822361,
0.07449217140674591,
0.004027965944260359,
-0.022234005853533745,
-0.015781927853822708,
0.007400643080472946,
-0.010118030942976475,
0.026339873671531677,
0.018146468326449394,
-0.005425610579550266,
0.03929901868104935,
0.04622767120599747,
0.03286527097225189,
-0.02901601977646351,
-0.00853708852082491,
-0.03576137498021126,
0.005764711182564497,
0.0037873878609389067,
0.0413886122405529,
0.03251700475811958,
-0.020199401304125786,
0.0030564884655177593,
0.030079146847128868,
-0.023370452225208282,
-0.009366510435938835,
0.01988779567182064,
-0.037246085703372955,
0.030134135857224464,
0.012290108017623425,
0.006933234166353941,
0.004784069024026394,
0.00037146414979361,
0.02280222810804844,
-0.056492339819669724,
0.02644985169172287,
-0.025716662406921387,
0.0023851608857512474,
-0.01841224916279316,
-0.016551779583096504,
-0.012785011902451515,
0.00993473269045353,
0.011483598500490189,
-0.05172659829258919,
0.07152274996042252,
0.025716662406921387,
-0.004163147881627083,
0.08321713656187057,
0.04685088247060776,
0.06771015375852585,
-0.020840944722294807,
0.0025455462746322155,
-0.011428609490394592,
0.014773791655898094,
0.008770792745053768,
0.028191180899739265,
0.036347925662994385,
0.056235723197460175,
-0.009797260165214539,
-0.04875717684626579,
-0.031838804483413696,
-0.029071008786559105,
-0.009806424379348755,
-0.014031436294317245,
-0.03194878250360489,
-0.021024242043495178,
-0.029620902612805367,
0.00548060005530715,
-0.027842914685606956,
-0.07955118268728256,
0.05905850604176521,
0.0069057391956448555,
0.07005636394023895,
0.008298801258206367,
0.02291220799088478,
-0.08358373492956161,
0.0332685261964798,
-0.054109469056129456,
0.033506810665130615,
0.004976531490683556,
-0.023572079837322235,
-0.052606429904699326,
0.0015717773931100965,
0.042048484086990356,
0.019649509340524673,
0.04245173931121826,
-0.02194073051214218,
-0.014975418336689472,
0.010686253197491169,
0.0001934649480972439,
-0.006630792748183012,
0.0515066422522068,
0.047364115715026855,
-0.007318159099668264,
0.01972282864153385,
-0.018082313239574432,
0.001468672533519566,
-0.042561717331409454,
0.020547667518258095,
-0.038382530212402344,
-0.016945868730545044,
-0.011419444344937801,
-0.009623127058148384,
0.02307717502117157,
0.03656788170337677,
0.033781759440898895,
0.014636318199336529,
-0.013188266195356846,
0.0002493134525138885,
0.005920514464378357,
0.020712636411190033,
0.02370038814842701,
-0.00012114829587517306,
0.03227871656417847,
-0.06089148297905922,
-0.050370197743177414,
0.02395700477063656,
0.09282193332910538,
-0.021537475287914276,
0.0030564884655177593,
-0.05821533501148224,
0.022967197000980377,
-0.021702442318201065,
0.03730107471346855,
0.0006971039110794663,
-0.014498844742774963,
-0.02690809592604637,
0.0057692937552928925,
0.015901071950793266,
-0.014141414314508438,
-0.011153662577271461,
0.0457877553999424,
-0.03249867632985115,
-0.003264989471063018,
0.02023606188595295,
-0.016524283215403557,
-0.018054818734526634,
-0.05440274626016617,
0.03374509885907173,
-0.014049765653908253,
-0.014938759617507458,
-0.004373940173536539,
-0.08358373492956161,
-0.01822895184159279,
-0.0017756960587576032,
-0.06957979500293732,
0.04388146102428436,
0.027622956782579422,
-0.018879659473896027,
-0.013380729593336582,
-0.011153662577271461,
-0.04758407175540924,
-0.02635820396244526,
0.04740077629685402,
-0.02307717502117157,
-0.030244113877415657,
0.004474753979593515,
-0.04058210179209709,
-0.0005584850441664457,
0.014205568470060825,
-0.05271640792489052,
-0.00920612458139658,
-0.036787841469049454,
-0.00027093684184364974,
-0.0014491970650851727,
0.028337817639112473,
0.008436274714767933,
-0.049123771488666534,
-0.044944584369659424,
0.01794484071433544,
0.05715221166610718,
0.05234981328248978,
-0.025240087881684303,
-0.00034540152410045266,
-0.0034047539811581373,
-0.01097036525607109,
0.07845139503479004,
0.04329490661621094,
0.03260865435004234,
-0.019026296213269234,
-0.027989553287625313,
0.06760017573833466,
0.014416361227631569,
0.03647623583674431,
0.00829421915113926,
-0.08255726844072342,
0.015690280124545097,
0.016670921817421913,
0.014196403324604034,
-0.03255366533994675,
0.02309550531208515,
-0.006424583029001951,
0.016322657465934753,
0.005301884841173887,
0.001087757060304284,
0.03790595754981041,
-0.04278167337179184,
0.0025363813620060682,
0.045127883553504944,
0.0010831746039912105,
-0.0119326775893569,
0.03907906264066696,
0.02351708896458149,
0.04571443796157837,
-0.030775677412748337,
-0.040985357016325,
0.0376126803457737,
0.04457798972725868,
-0.002900685416534543,
0.005851777736097574,
0.006869080010801554,
-0.07247589528560638,
0.010851221159100533,
-0.03233370557427406,
-0.007583940867334604,
0.04377147927880287,
-0.012335932813584805,
-0.03742938116192818,
0.008097173646092415,
-0.009962228126823902,
0.016716746613383293
]
|
37,120 | youtube_transcript_api._errors | NoTranscriptFound | null | class NoTranscriptFound(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = (
'No transcripts were found for any of the requested language codes: {requested_language_codes}\n\n'
'{transcript_data}'
)
def __init__(self, video_id, requested_language_codes, transcript_data):
self._requested_language_codes = requested_language_codes
self._transcript_data = transcript_data
super(NoTranscriptFound, self).__init__(video_id)
@property
def cause(self):
return self.CAUSE_MESSAGE.format(
requested_language_codes=self._requested_language_codes,
transcript_data=str(self._transcript_data),
)
| (video_id, requested_language_codes, transcript_data) | [
-0.006818339694291353,
-0.031545091420412064,
0.009867505170404911,
0.028897002339363098,
-0.0027737256605178118,
-0.03200898692011833,
-0.02454795502126217,
0.012186996638774872,
0.10252153873443604,
-0.023310894146561623,
0.01692262664437294,
0.06537101417779922,
-0.03125515207648277,
-0.03127448260784149,
-0.04797482490539551,
0.025321120396256447,
-0.027930548414587975,
0.032550204545259476,
0.04333584010601044,
-0.055281221866607666,
-0.027176713570952415,
0.019541719928383827,
-0.06339944154024124,
0.005605438724160194,
-0.0004037969629280269,
0.048052139580249786,
-0.015434285625815392,
-0.055667806416749954,
-0.003928639460355043,
-0.01205169316381216,
-0.030192052945494652,
-0.021706577390432358,
-0.0323762409389019,
0.059958864003419876,
-0.03164173662662506,
0.030056748539209366,
-0.04762690141797066,
-0.03631937876343727,
-0.12656694650650024,
0.015076696872711182,
-0.03268550708889961,
0.022228464484214783,
0.019657693803310394,
-0.0024596278090029955,
-0.0043079727329313755,
-0.03846490755677223,
-0.0446888767182827,
0.03846490755677223,
-0.05555183067917824,
0.005919536575675011,
0.024934537708759308,
0.05628633499145508,
0.009973814710974693,
-0.019174465909600258,
-0.06254896521568298,
0.04476619511842728,
-0.0001892137515824288,
0.07948125898838043,
-0.022228464484214783,
0.015666235238313675,
-0.019947629421949387,
0.02553373947739601,
0.001988481031730771,
0.006905320566147566,
0.021803224459290504,
-0.04151890426874161,
0.040900371968746185,
-0.029070964083075523,
0.029650837182998657,
0.05214991047978401,
0.06672404706478119,
-0.0011434369953349233,
-0.04465021938085556,
0.043761081993579865,
0.12262380123138428,
-0.024393323808908463,
-0.06699465960264206,
0.011046580038964748,
0.0019969374407082796,
0.05010102316737175,
0.05319368094205856,
-0.03459908813238144,
0.0012334381463006139,
0.00026758722378872335,
0.06096397712826729,
-0.05300039052963257,
0.0015342471888288856,
-0.0827285423874855,
-0.01690329797565937,
0.00864977203309536,
-0.030539976432919502,
-0.01529898215085268,
-0.018294991925358772,
-0.008514468558132648,
-0.00030035607051104307,
0.02234443835914135,
0.05002370849251747,
-0.06061605364084244,
-0.02524380385875702,
-0.04673776030540466,
0.05153137817978859,
0.07963588833808899,
0.03989525884389877,
-0.04867067188024521,
0.07600201666355133,
-0.007354722358286381,
-0.022827666252851486,
-0.025707701221108437,
0.08458413928747177,
0.03805899620056152,
0.002277209423482418,
-0.013221103698015213,
-0.03776906058192253,
0.02561105601489544,
0.009630723856389523,
-0.06946878135204315,
-0.031950999051332474,
0.03923807293176651,
-0.022924311459064484,
0.0011615580879151821,
0.08442950248718262,
0.018130695447325706,
-0.06162116676568985,
-0.025456422939896584,
0.006634713150560856,
0.01278619933873415,
-0.01983165554702282,
-0.024586614221334457,
0.0865943655371666,
-0.040900371968746185,
0.01981232687830925,
-0.004310389049351215,
0.012795863673090935,
-0.03858088329434395,
0.002238551387563348,
0.056363653391599655,
0.06780648231506348,
0.02520514465868473,
0.013269426301121712,
0.024026069790124893,
0.015714557841420174,
0.05041028931736946,
0.02014092169702053,
-0.012283642776310444,
0.0018676741747185588,
0.04182817041873932,
0.010824295692145824,
0.033014100044965744,
-0.020005617290735245,
-0.06908220052719116,
0.04349047318100929,
-0.06490711122751236,
-0.06231701374053955,
0.0050932178273797035,
-0.012138674035668373,
0.0010769931832328439,
-0.015975499525666237,
-0.008393661119043827,
0.0009573944262228906,
-0.004962746053934097,
0.03351665660738945,
-0.05300039052963257,
0.0019776085391640663,
0.02916761115193367,
0.01531831081956625,
-0.013607685454189777,
0.03529493510723114,
-0.005358992610126734,
-0.010283080860972404,
0.025031182914972305,
-0.028162498027086258,
-0.0070406245067715645,
-0.03591346740722656,
0.028665054589509964,
0.04565533250570297,
0.0596882589161396,
0.018468953669071198,
0.00756734237074852,
-0.02996010333299637,
0.030192052945494652,
-0.017115917056798935,
-0.003800584003329277,
-0.04546204209327698,
0.03448311239480972,
0.06568028032779694,
0.007760633248835802,
0.017183568328619003,
0.02520514465868473,
0.004373208619654179,
0.013308084569871426,
0.011007921770215034,
-0.0165360439568758,
0.003165140049532056,
0.04136427119374275,
-0.027176713570952415,
-0.01619778573513031,
0.03931538760662079,
-0.03502432629466057,
-0.0504489503800869,
0.022073831409215927,
-0.039817944169044495,
0.043374497443437576,
0.006059672683477402,
-0.017212562263011932,
-0.021184692159295082,
0.022093160077929497,
-0.005078720860183239,
0.01696128398180008,
-0.0820326954126358,
-0.04368376359343529,
-0.03026936948299408,
0.003145810915157199,
0.04940517619252205,
-0.001292633474804461,
0.034077201038599014,
-0.04093903303146362,
0.01729954406619072,
0.011974376626312733,
-0.00916682556271553,
0.049482494592666626,
0.06568028032779694,
-0.058605827391147614,
-0.011829408816993237,
-0.019628699868917465,
0.04681507870554924,
0.018246669322252274,
0.03469573333859444,
-0.03970196843147278,
-0.061427876353263855,
0.012177332304418087,
-0.008528964594006538,
0.020991401746869087,
-0.026094283908605576,
0.011587794870138168,
0.0036193737760186195,
0.026558181270956993,
0.0158885195851326,
-0.030887899920344353,
-0.04495948553085327,
0.003111985046416521,
-0.02597831003367901,
-0.02265370450913906,
0.00540248304605484,
0.0886819064617157,
0.027659941464662552,
-0.021861210465431213,
0.015724221244454384,
0.0834243893623352,
-0.03131313994526863,
0.012892508879303932,
0.07008731365203857,
0.016410404816269875,
-0.08164611458778381,
0.00135182891972363,
0.017705455422401428,
-0.07565409690141678,
-0.035082314163446426,
-0.02089475654065609,
0.06019081547856331,
-0.001853177323937416,
-0.04604191333055496,
-0.026190929114818573,
-0.042253412306308746,
0.038677528500556946,
-0.03457975760102272,
-0.02771792747080326,
-0.04832274839282036,
0.03030802682042122,
-0.03220227733254433,
0.04681507870554924,
0.04074574261903763,
-0.001795190037228167,
-0.01424554642289877,
-0.012699218466877937,
0.001216525211930275,
-0.007591503672301769,
-0.03778838738799095,
0.021184692159295082,
-0.02273102104663849,
0.03958599641919136,
0.019222788512706757,
0.0298441294580698,
0.06251030415296555,
-0.020701464265584946,
0.06251030415296555,
-0.06780648231506348,
0.006658874452114105,
-0.024006741121411324,
-0.04507545754313469,
0.008562791161239147,
-0.022402426227927208,
0.0016562622040510178,
0.026867447420954704,
-0.0003249704896006733,
0.0041412594728171825,
-0.013018148019909859,
-0.015240994282066822,
0.022982299327850342,
0.0213006678968668,
-0.022808337584137917,
0.0037933357525616884,
0.0481681153178215,
0.0031554754823446274,
0.0013264594599604607,
-0.11721165478229523,
-0.008326009847223759,
-0.01869123801589012,
-0.010853288695216179,
0.03374860808253288,
-0.03220227733254433,
0.018198346719145775,
0.0481681153178215,
0.02050817385315895,
0.02481856383383274,
0.026558181270956993,
0.07387581467628479,
0.04360644891858101,
-0.024219360202550888,
0.010544023476541042,
0.06556430459022522,
0.011239871382713318,
-0.016777658835053444,
0.048052139580249786,
0.007011630572378635,
0.05752339959144592,
-0.055629145354032516,
0.0008347754483111203,
-0.0031192332971841097,
0.016081809997558594,
-0.028027193620800972,
-0.07174961268901825,
-0.02559172734618187,
-0.022499071434140205,
-0.07333460450172424,
-0.040088552981615067,
-0.027621282264590263,
0.002819632412865758,
-0.029244927689433098,
0.06525503844022751,
0.0036338705103844404,
0.023214247077703476,
-0.0431038923561573,
-0.014516153372824192,
0.0426013357937336,
0.040088552981615067,
0.007354722358286381,
-0.03602943941950798,
-0.008495138958096504,
0.026925435289740562,
-0.029244927689433098,
-0.020682135596871376,
0.003017755690962076,
0.02160993218421936,
0.037691742181777954,
0.0070212953723967075,
-0.06019081547856331,
0.014458166435360909,
-0.013627015054225922,
-0.012042028829455376,
0.020063605159521103,
-0.019648028537631035,
-0.004694554954767227,
-0.01099825743585825,
0.016304094344377518,
-0.06243298947811127,
0.006683036219328642,
0.040861714631319046,
-0.02767927013337612,
-0.018169352784752846,
0.008727088570594788,
-0.046312522143125534,
-0.02742799185216427,
-0.015202336013317108,
-0.020740123465657234,
0.04693105071783066,
-0.02663549780845642,
0.000791889033280313,
-0.017096588388085365,
-0.02160993218421936,
0.006422093138098717,
0.021745236590504646,
-0.0011084029683843255,
-0.06885024905204773,
0.02563038468360901,
-0.03284014016389847,
0.011984040960669518,
-0.009688710793852806,
0.023523513227701187,
0.022170476615428925,
0.05698218569159508,
0.01402326114475727,
-0.026770802214741707,
0.01950306072831154,
-0.042639993131160736,
-0.012554249726235867,
-0.026364890858530998,
-0.06510040909051895,
-0.0033101083245128393,
0.04894127696752548,
0.006422093138098717,
-0.011114232242107391,
0.0014351855497807264,
-0.016719670966267586,
0.04148024693131447,
0.016671348363161087,
0.01830465719103813,
0.04333584010601044,
0.0004442672652658075,
-0.005228521302342415,
-0.0288003571331501,
-0.038020338863134384,
-0.04457290098071098,
-0.0024209695402532816,
-0.06502308696508408,
-0.03448311239480972,
0.008823733776807785,
-0.05365758016705513,
-0.027485979720950127,
-0.06374736875295639,
-0.008248693309724331,
-0.05369623750448227,
0.00451092841103673,
0.07217485457658768,
-0.008388829417526722,
0.03666730225086212,
0.02922559715807438,
-0.028703711926937103,
-0.031835027039051056,
0.0009344411082565784,
-0.020314883440732956,
0.02514715865254402,
0.023658817633986473,
-0.007862110622227192,
-0.05400550365447998,
0.043374497443437576,
-0.012853850610554218,
-0.042369384318590164,
0.004465021658688784,
-0.0736825242638588,
0.0698167085647583,
0.012563914060592651,
0.02120402082800865,
0.04078439995646477,
0.09270235896110535,
0.03755643963813782,
-0.015936842188239098,
-0.03498566895723343,
-0.004153340123593807,
-0.007968421094119549,
-0.016333088278770447,
-0.003923807293176651,
0.046969711780548096,
-0.004660728853195906,
-0.035526882857084274,
0.03175770863890648,
-0.013143787160515785,
-0.06691733747720718,
0.01843995973467827,
-0.03610675781965256,
-0.04024318605661392,
-0.047742873430252075,
0.06726526468992233,
-0.03575883433222771,
-0.030539976432919502,
0.022576387971639633,
0.001988481031730771,
-0.0004808113444596529,
-0.01548260822892189,
-0.07971320301294327,
0.008901050314307213,
-0.005658593960106373,
0.03454110026359558,
0.0016453895950689912,
-0.023349551483988762,
-0.019677022472023964,
0.002004185924306512,
-0.029824798926711082,
-0.03355531767010689,
0.006716861855238676,
0.047742873430252075,
0.019628699868917465,
0.014835083857178688,
0.027505308389663696,
0.005716580897569656,
-0.004419115372002125,
-0.021687248721718788,
-0.01223531924188137,
-0.016110803931951523,
0.021068718284368515,
0.001524582738056779,
0.00015478380373679101,
0.06645344197750092,
-0.01615912653505802,
0.04534606635570526,
-0.04855469614267349,
-0.02876169979572296,
0.007871775887906551,
0.011114232242107391,
0.01155880093574524,
-0.008123054169118404,
0.018884530290961266,
-0.03935404494404793,
0.014796425588428974,
-0.022518400102853775,
0.04059110954403877,
-0.07352789491415024,
-0.003227959619835019,
0.06738124042749405,
0.044456928968429565,
0.0001504045503679663,
0.020450185984373093,
0.049173228442668915,
0.03193167224526405,
-0.03169972077012062,
-0.010988593101501465,
-0.038387589156627655,
-0.05833522230386734,
-0.00035396413295529783,
0.02563038468360901,
0.06409529596567154,
-0.003725683782249689,
0.015579253435134888,
0.01329842023551464,
-0.04298791661858559,
0.032936785370111465,
-0.0019437825540080667,
-0.0238327793776989,
-0.019619036465883255,
-0.031216494739055634,
0.043799739331007004,
-0.04565533250570297,
-0.096336230635643,
-0.0016574702458456159,
0.03318806365132332,
-0.004844355396926403,
0.05976557359099388,
-0.06803842633962631,
-0.0219965148717165,
-0.04812945798039436,
0.02093341387808323,
0.016004493460059166,
0.015018709935247898,
0.0025345280300825834,
-0.015327975153923035,
0.033014100044965744,
-0.04074574261903763,
-0.06993267685174942,
0.0806410014629364,
-0.03720851615071297,
0.04434095323085785,
0.029341572895646095,
-0.03457975760102272,
-0.014110242016613483,
-0.002570770215243101,
-0.016130132600665092,
0.038406919687986374,
0.00756734237074852,
0.011462155729532242,
0.044534243643283844,
0.06262627989053726,
0.06227835640311241,
-0.023214247077703476,
0.01191638968884945,
-0.031506430357694626,
-0.01546327956020832,
0.010746979154646397,
0.019290441647171974,
0.026751473546028137,
-0.07963588833808899,
0.006620216649025679,
0.027640610933303833,
-0.016507050022482872,
-0.02881968580186367,
0.050603579729795456,
-0.05041028931736946,
0.025127828121185303,
0.020430857315659523,
0.023523513227701187,
0.03819429874420166,
0.01155880093574524,
0.002278417581692338,
-0.02160993218421936,
-0.0011071949265897274,
-0.032956112176179886,
-0.0078959371894598,
0.013685001991689205,
-0.01622677780687809,
0.01727055013179779,
0.024393323808908463,
-0.028027193620800972,
-0.0555131733417511,
0.01459346991032362,
0.007509354967623949,
0.005692419596016407,
0.07917199283838272,
0.06834769248962402,
0.05435342714190483,
-0.012129009701311588,
0.0050448947586119175,
-0.029051635414361954,
-0.033284708857536316,
0.016439398750662804,
0.023852108046412468,
0.053502947092056274,
0.04561667516827583,
-0.041596222668886185,
-0.022189805284142494,
-0.002993594156578183,
-0.03740180656313896,
0.03282080963253975,
-0.008533797226846218,
-0.006939146667718887,
-0.012679888866841793,
-0.02232510969042778,
0.0035662187729030848,
-0.048477381467819214,
-0.06328347325325012,
0.041634880006313324,
-0.010563353076577187,
0.0037740066181868315,
-0.006668539252132177,
0.008065066300332546,
-0.062162384390830994,
0.056363653391599655,
-0.052381858229637146,
0.04383839666843414,
0.027447320520877838,
-0.04870932921767235,
-0.06885024905204773,
-0.03593279421329498,
0.031158506870269775,
0.035256277769804,
0.031158506870269775,
-0.04287194088101387,
-0.032666176557540894,
0.04588728025555611,
0.02267303317785263,
-0.010669662617146969,
0.049173228442668915,
0.015521266497671604,
-0.018633252009749413,
0.014148900285363197,
-0.05265246704220772,
0.015443949960172176,
-0.06061605364084244,
0.007799291517585516,
-0.033729277551174164,
-0.035410910844802856,
-0.016362082213163376,
-0.02669348567724228,
0.034425124526023865,
0.045578014105558395,
0.026422878727316856,
0.02851042151451111,
0.005885710474103689,
-0.006828004028648138,
0.010534359142184258,
0.04151890426874161,
0.05647962912917137,
0.004525425378233194,
0.005561948288232088,
-0.02916761115193367,
-0.048786647617816925,
-0.033014100044965744,
0.10429982095956802,
-0.015240994282066822,
0.017918074503540993,
-0.05110613629221916,
0.052072592079639435,
0.001159745967015624,
0.035488225519657135,
-0.0005246038199402392,
-0.014690115116536617,
-0.004617238417267799,
0.009674213826656342,
0.010128447785973549,
-0.007001966238021851,
-0.03287879750132561,
0.030462659895420074,
-0.030771926045417786,
-0.008828566409647465,
0.04178951308131218,
-0.03384525328874588,
0.00003765776637010276,
-0.05624767765402794,
0.059958864003419876,
0.0004170857137069106,
0.004117098171263933,
0.040165867656469345,
-0.07662054896354675,
-0.02014092169702053,
-0.01348204631358385,
-0.07940393686294556,
0.04967578500509262,
0.018575264140963554,
-0.04291059821844101,
-0.02234443835914135,
-0.05547451600432396,
-0.05102882161736488,
-0.0011494773207232356,
0.025398436933755875,
-0.0038875651080161333,
-0.016081809997558594,
-0.002104455605149269,
-0.05091284587979317,
-0.022421754896640778,
0.03716985881328583,
-0.042330726981163025,
-0.00629645399749279,
-0.04867067188024521,
0.015666235238313675,
0.012699218466877937,
0.03428982198238373,
-0.06579625606536865,
-0.038735512644052505,
-0.016052816063165665,
0.03948935121297836,
0.03819429874420166,
0.004885429982095957,
-0.03948935121297836,
0.01531831081956625,
0.010524694807827473,
-0.01223531924188137,
0.07886272668838501,
0.03390324115753174,
0.026538852602243423,
-0.017918074503540993,
-0.0534256286919117,
0.05361891910433769,
0.010186435654759407,
0.047085683792829514,
0.0426013357937336,
-0.06084800511598587,
-0.04062976688146591,
0.04693105071783066,
-0.0036773611791431904,
-0.03485036641359329,
0.006982637103646994,
0.004904759116470814,
0.03993391990661621,
0.00694397883489728,
0.011172219179570675,
0.017879417166113853,
-0.03282080963253975,
0.007490025833249092,
0.0596882589161396,
0.02203517220914364,
0.011761756613850594,
0.03554621338844299,
0.01388795766979456,
0.030520647764205933,
-0.017773106694221497,
-0.028549078851938248,
0.025089170783758163,
0.04638983681797981,
-0.015550260432064533,
0.008577288128435612,
-0.000520979636348784,
-0.03846490755677223,
0.005199527833610773,
-0.05485598370432854,
-0.009824014268815517,
0.02089475654065609,
0.004716299939900637,
-0.009572735987603664,
0.041634880006313324,
0.008277686312794685,
0.03268550708889961
]
|
37,121 | youtube_transcript_api._errors | __init__ | null | def __init__(self, video_id, requested_language_codes, transcript_data):
self._requested_language_codes = requested_language_codes
self._transcript_data = transcript_data
super(NoTranscriptFound, self).__init__(video_id)
| (self, video_id, requested_language_codes, transcript_data) | [
-0.010694210417568684,
-0.017065614461898804,
-0.04017774388194084,
0.021135730668902397,
-0.06638532876968384,
0.002427630824968219,
-0.03340925648808479,
0.04371540620923042,
0.07028397917747498,
0.02777787297964096,
-0.015387028455734253,
0.07234159857034683,
-0.04407639056444168,
-0.001080137793906033,
-0.042271461337804794,
0.0024592173285782337,
0.006872271187603474,
0.0667102187871933,
0.00599236786365509,
-0.07205280661582947,
-0.03131553530693054,
0.017986128106713295,
-0.05613332614302635,
0.07147523015737534,
-0.00720167113468051,
0.0641472116112709,
-0.02263382263481617,
-0.043787602335214615,
-0.028174959123134613,
0.013112816959619522,
0.002840508706867695,
-0.026279781013727188,
0.006515797693282366,
0.06804586201906204,
-0.025738302618265152,
0.03158627450466156,
-0.047144774347543716,
-0.02245333045721054,
-0.11298862099647522,
0.035502973943948746,
-0.02137037180364132,
-0.0020846943370997906,
0.03328290954232216,
0.021514765918254852,
-0.011163492687046528,
0.014024307020008564,
-0.05956269055604935,
-0.0013864119537174702,
-0.022904561832547188,
0.01875322312116623,
0.022272836416959763,
0.03386048972606659,
0.024456802755594254,
-0.024709492921829224,
-0.09024650603532791,
0.0675765797495842,
-0.013943084515631199,
0.09450613707304001,
-0.016352666541934013,
0.008212432265281677,
-0.018518581986427307,
0.015441176481544971,
-0.008988551795482635,
0.0227962676435709,
0.03106284700334072,
-0.0033188152592629194,
0.02059425227344036,
-0.04609791561961174,
0.006299206055700779,
0.06064565107226372,
0.043101731687784195,
0.0034993081353604794,
-0.0380118265748024,
-0.0009989159880205989,
0.10677966475486755,
-0.0044649457558989525,
-0.08331557363271713,
0.038878194987773895,
-0.03142383322119713,
0.06537456810474396,
0.07573486864566803,
-0.033571697771549225,
-0.03344535455107689,
0.027001753449440002,
0.034925397485494614,
-0.021749407052993774,
0.023770928382873535,
-0.06328085064888,
-0.04891360551118851,
-0.015829237177968025,
-0.017922956496477127,
-0.014728229492902756,
-0.016569258645176888,
0.01629851758480072,
0.017570994794368744,
-0.011759119108319283,
0.03106284700334072,
-0.041080206632614136,
-0.024294359609484673,
-0.018049301579594612,
0.016912193968892097,
0.036188848316669464,
0.011704971082508564,
-0.06526627391576767,
0.044798363000154495,
-0.008451584726572037,
-0.04245195537805557,
-0.030413072556257248,
0.05201808363199234,
0.019727885723114014,
-0.003005208447575569,
-0.0031044797506183386,
-0.01046859472990036,
0.052379071712493896,
-0.007625829428434372,
-0.05876852199435234,
-0.02516072429716587,
0.03725375607609749,
-0.02196599915623665,
0.00005732063073082827,
0.06429161131381989,
0.014331144280731678,
-0.05674700066447258,
0.000126909144455567,
0.01367234531790018,
-0.016397789120674133,
0.02862619049847126,
0.01532385591417551,
0.04079141840338707,
-0.07017567753791809,
0.048083335161209106,
-0.031279437243938446,
-0.014385292306542397,
-0.024258259683847427,
-0.023283597081899643,
0.014836525544524193,
0.07826177030801773,
-0.0012420174898579717,
-0.040069445967674255,
0.008681713603436947,
0.016262419521808624,
0.01799515262246132,
0.034925397485494614,
-0.0031067358795553446,
-0.026243682950735092,
0.04887750744819641,
0.007779248524457216,
-0.013654296286404133,
-0.012246450409293175,
-0.05357032269239426,
0.04544813930988312,
-0.06692680716514587,
-0.04382370039820671,
0.011551552452147007,
-0.020070822909474373,
-0.008835132233798504,
0.005076366011053324,
-0.010676161386072636,
0.0028202033136039972,
0.035683467984199524,
0.06631313264369965,
-0.03317461535334587,
-0.020215217024087906,
0.0034812588710337877,
0.014385292306542397,
-0.038553304970264435,
0.011325935833156109,
0.024871936067938805,
-0.0198542308062315,
0.019042011350393295,
0.015197510831058025,
0.01029712613672018,
-0.07746759802103043,
-0.003309790510684252,
0.031225290149450302,
0.03293997421860695,
0.022832365706562996,
0.0013841557083651423,
-0.0017112992936745286,
0.029438409954309464,
0.0007817603182047606,
0.0329219251871109,
-0.02821105718612671,
0.057793859392404556,
0.07299137115478516,
0.00958417821675539,
0.024619245901703835,
0.05216247960925102,
0.02947450801730156,
0.009764671325683594,
0.024294359609484673,
-0.024691443890333176,
-0.0012848846381530166,
0.0072828927077353,
-0.023446042090654373,
-0.0031067358795553446,
0.05880462005734444,
-0.024041667580604553,
-0.08887475728988647,
0.024348506703972816,
0.03891429305076599,
-0.03793963044881821,
0.01557654608041048,
-0.037109363824129105,
-0.024709492921829224,
0.02981744520366192,
0.0016594076296314597,
0.025521710515022278,
-0.026749063283205032,
-0.04855261743068695,
0.0064390879124403,
-0.02017911896109581,
0.07956131547689438,
-0.031712621450424194,
0.020197167992591858,
-0.045736927539110184,
-0.018446385860443115,
-0.005748702213168144,
0.029077423736453056,
0.03321071341633797,
0.07977791130542755,
-0.04198267310857773,
-0.04292123764753342,
-0.015007993206381798,
0.038372814655303955,
0.009475883096456528,
0.05468938127160072,
-0.04443737864494324,
-0.07248599082231522,
-0.0027637991588562727,
-0.005013193469494581,
-0.004873311147093773,
-0.01960154063999653,
0.0005584002356044948,
-0.01638876460492611,
0.02001667395234108,
0.03218190371990204,
-0.02644222602248192,
-0.07920033484697342,
-0.02440265379846096,
0.023518238216638565,
-0.005717115942388773,
0.014899698086082935,
0.06479699164628983,
-0.01029712613672018,
0.01765221543610096,
0.011217640712857246,
0.059237804263830185,
-0.025738302618265152,
-0.015802163630723953,
0.057360678911209106,
-0.013239162042737007,
-0.07674562931060791,
0.011136418208479881,
0.005396740976721048,
-0.024871936067938805,
-0.0036549833603203297,
-0.013816739432513714,
0.05707188695669174,
-0.015612645074725151,
-0.04577302560210228,
-0.010378347709774971,
-0.061187129467725754,
0.044798363000154495,
0.00043713150080293417,
-0.01735440269112587,
-0.02422216162085533,
0.03007013536989689,
-0.04071922227740288,
0.010026386938989162,
0.05616942420601845,
0.0016424863133579493,
-0.005829924251884222,
0.007124961353838444,
-0.0008500092662870884,
-0.02010692097246647,
-0.02288651280105114,
-0.0249080341309309,
-0.04873311147093773,
0.027326641604304314,
0.06627703458070755,
0.018256867304444313,
0.053498126566410065,
-0.015215560793876648,
0.05967098847031593,
-0.07082545757293701,
0.015919482335448265,
-0.019637638702988625,
-0.06313645094633102,
-0.021568914875388145,
-0.030954550951719284,
0.0413689985871315,
0.029528655111789703,
0.04281293973326683,
0.017552945762872696,
0.019042011350393295,
-0.01778758503496647,
0.03833671286702156,
0.023337746039032936,
-0.00942173507064581,
0.01313086599111557,
-0.0017699595773592591,
0.04617011174559593,
0.009737597778439522,
-0.12944959104061127,
0.013573073782026768,
-0.01574801467359066,
0.031965311616659164,
0.036694228649139404,
-0.03916698321700096,
0.024763640016317368,
0.05624162033200264,
-0.0021377140656113625,
0.038372814655303955,
-0.011073245666921139,
0.029348162934184074,
0.057541169226169586,
-0.03941967338323593,
0.0003155807498842478,
0.07400213181972504,
0.02162306196987629,
-0.05497816950082779,
0.05176539346575737,
-0.026063190773129463,
0.08771960437297821,
-0.07003128528594971,
-0.0021771967876702547,
-0.03274143114686012,
0.010143706575036049,
-0.013762591406702995,
-0.051981985569000244,
0.012679633684456348,
0.01262548565864563,
-0.05624162033200264,
-0.047000378370285034,
-0.04422078654170036,
-0.05338983237743378,
-0.01194863673299551,
0.035412728786468506,
0.02221868932247162,
0.004248354118317366,
-0.0649774819612503,
0.006069077178835869,
0.032633136957883835,
0.05494207143783569,
-0.004733429290354252,
-0.05089902877807617,
-0.04129679873585701,
0.004737941548228264,
-0.051223915070295334,
-0.02120792865753174,
-0.008934403769671917,
0.028499845415353775,
0.04357101023197174,
0.024926085025072098,
-0.07125864177942276,
0.04447347670793533,
0.012264499440789223,
-0.01785978302359581,
-0.015874359756708145,
-0.0010056844912469387,
0.029257915914058685,
-0.040249940007925034,
0.012526215054094791,
-0.015558497048914433,
-0.002452448708936572,
0.018094424158334732,
-0.0063759153708815575,
-0.005938219837844372,
0.0059066335670650005,
-0.0075491201132535934,
-0.040069445967674255,
-0.04266854748129845,
0.011858390644192696,
0.03571956604719162,
-0.07115034013986588,
-0.01992642879486084,
-0.01582021266222,
-0.027398837730288506,
-0.01223742589354515,
-0.01254426408559084,
0.008280117064714432,
-0.04046653211116791,
0.005324543919414282,
-0.03689277172088623,
0.016018753871321678,
-0.023427993059158325,
0.03732595220208168,
0.030846254900097847,
0.0642194151878357,
0.007594243157655001,
-0.0053155189380049706,
0.01080250646919012,
-0.04292123764753342,
0.0156306941062212,
0.001011888962239027,
-0.01739952526986599,
0.02068449929356575,
0.02929401583969593,
-0.008316215127706528,
-0.00711593683809042,
0.001481170766055584,
-0.050213154405355453,
0.0455925352871418,
0.052054181694984436,
0.0029465483967214823,
0.0582631416618824,
0.03270533308386803,
0.010982999578118324,
-0.03081015683710575,
-0.031784817576408386,
-0.0371454618871212,
-0.004801114089787006,
-0.045231547206640244,
-0.06046515703201294,
0.02059425227344036,
-0.03358974680304527,
0.010703234933316708,
-0.051981985569000244,
-0.008316215127706528,
-0.03243459388613701,
0.023572387173771858,
0.029077423736453056,
0.000759198737796396,
0.022651871666312218,
0.033066317439079285,
0.004383723717182875,
-0.03447416424751282,
-0.0026780650950968266,
-0.053317632526159286,
-0.007066301070153713,
0.02422216162085533,
0.0008866718853823841,
-0.03595420718193054,
0.0371454618871212,
0.04494275897741318,
-0.059237804263830185,
-0.013816739432513714,
-0.04097191244363785,
0.08670884370803833,
0.018590779975056648,
-0.014962870627641678,
0.019114209339022636,
0.031802866607904434,
0.022236738353967667,
-0.01622632145881653,
-0.049599479883909225,
0.02433045767247677,
-0.0038377325981855392,
-0.01824784278869629,
-0.0017440136289224029,
0.0666741132736206,
0.012345721945166588,
-0.056783098727464676,
0.032127756625413895,
-0.024889985099434853,
-0.05699969083070755,
0.043282222002744675,
-0.00424609798938036,
-0.05440059304237366,
-0.061439819633960724,
0.03620689734816551,
-0.035665418952703476,
-0.024853887036442757,
0.04180217906832695,
0.08714202046394348,
-0.02626173198223114,
-0.016424864530563354,
-0.0650496780872345,
-0.009764671325683594,
-0.01215620432049036,
0.03902258723974228,
-0.001354825682938099,
-0.030015986412763596,
0.028174959123134613,
-0.003129297401756048,
-0.03532247990369797,
-0.08136624842882156,
-0.015991680324077606,
0.06140372157096863,
0.03974455967545509,
-0.018238818272948265,
0.025016330182552338,
0.02144256979227066,
-0.014944820664823055,
-0.016993416473269463,
0.013961134478449821,
-0.029167670756578445,
-0.03324681147933006,
0.010504692792892456,
0.006082614418119192,
0.05642211437225342,
-0.022146491333842278,
0.0316765233874321,
-0.021550865843892097,
-0.023175302892923355,
0.03214580565690994,
0.021659160032868385,
0.043354421854019165,
-0.026478324085474014,
0.014087479561567307,
-0.029618902131915092,
-0.013230137526988983,
-0.06559115648269653,
0.027976416051387787,
-0.03418537601828575,
-0.036441538482904434,
0.06609653681516647,
-0.030521366745233536,
0.03671227768063545,
-0.0053110066801309586,
0.025882696732878685,
-0.003309790510684252,
-0.028662288561463356,
0.011786193586885929,
0.001221712096594274,
-0.05840753763914108,
0.006642142776399851,
-0.006854222156107426,
0.053750816732645035,
0.008577929809689522,
0.03573761507868767,
0.0430656298995018,
-0.06678241491317749,
0.04465397074818611,
-0.0023373845033347607,
-0.08569808304309845,
-0.02414996363222599,
-0.004661231767386198,
0.03090040199458599,
-0.04667549207806587,
-0.09508371353149414,
-0.03537663072347641,
0.045628633350133896,
-0.004146826919168234,
0.06515797227621078,
-0.018861519172787666,
-0.004482995253056288,
0.007183621637523174,
0.009692474268376827,
-0.0012769880704581738,
0.005247834138572216,
-0.010910802520811558,
-0.03636934235692024,
0.017255131155252457,
-0.013139890506863594,
-0.07818957418203354,
0.07143913209438324,
-0.013834789395332336,
0.06999518722295761,
0.0011201847810298204,
-0.06147591769695282,
-0.016858046874403954,
0.03532247990369797,
-0.032560937106609344,
0.020161068066954613,
0.009304414503276348,
-0.011596675962209702,
0.05024925246834755,
0.05411180481314659,
0.06692680716514587,
-0.017480747774243355,
-0.03283167630434036,
-0.03664008155465126,
-0.019384948536753654,
0.015007993206381798,
0.039816755801439285,
-0.006592507008463144,
-0.04988826811313629,
0.012715732678771019,
0.032976072281599045,
-0.01338355615735054,
-0.055447451770305634,
0.04086361825466156,
-0.050790730863809586,
0.009259290993213654,
-0.0038648066110908985,
0.007973278872668743,
0.01611802540719509,
-0.01820272020995617,
0.013257211074233055,
-0.005622357130050659,
0.021641111001372337,
-0.017137810587882996,
-0.006660191807895899,
-0.0030999674927443266,
-0.012932323850691319,
0.011046172119677067,
0.020973287522792816,
-0.047758448868989944,
-0.03418537601828575,
0.044112492352724075,
-0.018383212387561798,
0.015684843063354492,
0.03674837574362755,
0.06342524290084839,
0.06461649388074875,
-0.018121497705578804,
-0.0008855438209138811,
-0.052306871861219406,
-0.045484237372875214,
0.006822635885328054,
-0.004200974944978952,
0.046242307871580124,
0.03750644624233246,
-0.023373844102025032,
-0.055447451770305634,
0.012589387595653534,
-0.03032282553613186,
0.017002440989017487,
-0.00006521720206364989,
-0.0023148227483034134,
-0.004613852594047785,
-0.015179461799561977,
-0.0007749918731860816,
-0.031784817576408386,
-0.04804723709821701,
0.07364114373922348,
0.007842421531677246,
0.04855261743068695,
-0.01495384518057108,
-0.0043273200280964375,
-0.05436449497938156,
0.06797366589307785,
-0.07797297835350037,
0.013762591406702995,
0.03606250137090683,
-0.020883040502667427,
-0.03557517006993294,
0.019619589671492577,
0.0472891665995121,
-0.02516072429716587,
0.02979939617216587,
-0.026821261271834373,
0.010405422188341618,
0.011343985795974731,
0.007143010850995779,
-0.02373483031988144,
0.05642211437225342,
0.05396740883588791,
-0.019872279837727547,
0.029745247215032578,
0.014710180461406708,
-0.006222496274858713,
-0.020323513075709343,
0.014917747117578983,
-0.04241585731506348,
-0.008758422918617725,
-0.009746622294187546,
0.004792089108377695,
0.018446385860443115,
0.031622376292943954,
-0.0017688315128907561,
0.03312046825885773,
0.012679633684456348,
0.022272836416959763,
-0.012336697429418564,
0.05815484747290611,
0.06530237197875977,
-0.004566472955048084,
0.009809794835746288,
-0.02380702830851078,
-0.012435968033969402,
-0.015892408788204193,
0.08252140134572983,
-0.0029397797770798206,
0.024601196870207787,
-0.05515866354107857,
0.025287069380283356,
0.01765221543610096,
0.006768487859517336,
0.0010045564267784357,
-0.018031250685453415,
0.011560576967895031,
0.01262548565864563,
-0.02355433814227581,
-0.0018308759899809957,
-0.05920170620083809,
0.042776841670274734,
-0.02061230130493641,
-0.04035823792219162,
0.024944134056568146,
0.014331144280731678,
-0.012390844523906708,
-0.06097053736448288,
0.04515935108065605,
-0.022308936342597008,
0.00004914203964290209,
0.03456440940499306,
-0.06364183127880096,
-0.021568914875388145,
-0.014556760899722576,
-0.06032076105475426,
0.0018004177836701274,
0.0035421752836555243,
-0.028842782601714134,
-0.03326486051082611,
-0.08771960437297821,
-0.042090971022844315,
-0.009566129185259342,
0.03308436647057533,
-0.008194382302463055,
-0.03377024084329605,
0.002273083897307515,
-0.058227043598890305,
-0.036441538482904434,
0.029673051089048386,
-0.041657786816358566,
-0.011199590750038624,
-0.048083335161209106,
0.005135025829076767,
-0.011452280916273594,
0.03081015683710575,
-0.006195422261953354,
-0.025738302618265152,
0.0022606749553233385,
0.0016131562879309058,
0.06021246686577797,
0.016172172501683235,
-0.02963695116341114,
0.022994808852672577,
-0.025142675265669823,
0.006398477125912905,
0.08930794149637222,
0.06956200301647186,
-0.0002452166809234768,
-0.01330233458429575,
-0.031351637095212936,
0.092917799949646,
0.0015319343656301498,
0.02263382263481617,
0.0031789331696927547,
-0.06216179206967354,
-0.049094099551439285,
-0.01198473572731018,
-0.027795923873782158,
0.0013424167409539223,
-0.008799034170806408,
0.0065067727118730545,
0.0380118265748024,
-0.03293997421860695,
0.010531767271459103,
0.03007013536989689,
-0.008668176829814911,
0.006172860972583294,
0.053209338337183,
0.03005208633840084,
-0.030864303931593895,
0.031947262585163116,
0.02582854963839054,
0.03535858169198036,
0.0035737615544348955,
-0.02979939617216587,
0.01951129361987114,
0.0037023627664893866,
0.03535858169198036,
0.013645271770656109,
0.03949186950922012,
-0.01983618177473545,
-0.00776571175083518,
-0.04996046423912048,
-0.024366555735468864,
0.029077423736453056,
-0.039636265486478806,
0.031116994097828865,
0.04180217906832695,
0.048588719218969345,
0.03793963044881821
]
|
37,123 | youtube_transcript_api._errors | NotTranslatable | null | class NotTranslatable(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'The requested language is not translatable'
| (video_id) | [
0.0031887609511613846,
-0.017605291679501534,
0.022381491959095,
0.023677360266447067,
0.005960993003100157,
-0.050020504742860794,
-0.0007561158272437751,
-0.008765621110796928,
0.08834116905927658,
-0.04594777524471283,
0.016040993854403496,
0.008821158669888973,
-0.015531903132796288,
-0.04994645342230797,
-0.08093621581792831,
0.02217785455286503,
-0.03102678246796131,
0.02271471545100212,
0.03789488226175308,
-0.04576265439391136,
0.00341553776524961,
-0.002294380683451891,
-0.029730914160609245,
0.007455869112163782,
0.007529918570071459,
0.03376661613583565,
0.024084633216261864,
-0.04953918233513832,
0.0006438844138756394,
-0.055500175803899765,
-0.0383576937019825,
0.0021335540805011988,
-0.00808991864323616,
0.044244635850191116,
-0.055833399295806885,
0.04572562873363495,
-0.02538049966096878,
-0.03717289865016937,
-0.0856013372540474,
-0.02665785513818264,
-0.06349752843379974,
0.03091570734977722,
-0.006715373136103153,
-0.014680333435535431,
0.009325621649622917,
-0.03813554346561432,
-0.05701819062232971,
0.07082844525575638,
-0.06427505612373352,
0.07164298743009567,
0.05231604352593422,
0.0048409923911094666,
0.012486613355576992,
-0.02404760755598545,
-0.07915902137756348,
0.02815736085176468,
-0.008524959906935692,
0.09063670784235,
-0.019882317632436752,
0.011959010735154152,
0.021937193349003792,
0.048576537519693375,
-0.025676699355244637,
0.02471405453979969,
0.00914512574672699,
0.005026116501539946,
0.0530935637652874,
-0.028342483565211296,
0.0074928938411176205,
0.026676367968320847,
0.016448266804218292,
-0.01003372110426426,
-0.05742546543478966,
0.053056538105010986,
0.06649654358625412,
-0.024621492251753807,
-0.0037001660093665123,
0.0015758679946884513,
-0.020215541124343872,
0.05139042064547539,
0.03485884889960289,
-0.061757367104291916,
0.02299240045249462,
-0.00790016632527113,
0.04150480031967163,
-0.06842183321714401,
0.0514274463057518,
-0.07379042357206345,
-0.00815008394420147,
-0.009399671107530594,
-0.06731108576059341,
-0.025195376947522163,
-0.013902812264859676,
0.022418515756726265,
0.0060350424610078335,
0.05205686762928963,
0.05653686821460724,
-0.038987115025520325,
-0.04213422164320946,
-0.03321124613285065,
0.06620034575462341,
0.06990282237529755,
0.008913720957934856,
-0.07471604645252228,
0.09611637890338898,
-0.024621492251753807,
-0.034007277339696884,
-0.01702215149998665,
0.050798024982213974,
-0.0033600006718188524,
-0.011449919082224369,
-0.02017851546406746,
-0.06264596432447433,
0.019326945766806602,
0.0076780179515480995,
-0.05357488617300987,
-0.03176727890968323,
0.04487405717372894,
-0.0636456310749054,
0.026028433814644814,
0.028453558683395386,
0.0237699206918478,
-0.07819637656211853,
-0.054056208580732346,
0.014560002833604813,
0.039098188281059265,
0.0211226474493742,
-0.0035127277951687574,
0.09189555048942566,
-0.02404760755598545,
0.02101157419383526,
-0.03174876421689987,
0.006081323605030775,
-0.028120335191488266,
0.02554711140692234,
0.029638351872563362,
0.03633984178304672,
0.029231078922748566,
0.0068033067509531975,
0.0947834849357605,
0.0019495871383696795,
0.04080132767558098,
0.01861421763896942,
-0.018206944689154625,
0.02810182236135006,
-0.020585788413882256,
-0.0016047937097027898,
0.018243970349431038,
-0.04665124788880348,
-0.02726876549422741,
0.0542043074965477,
-0.026139508932828903,
-0.055944472551345825,
-0.002071074675768614,
-0.043874386698007584,
-0.010024464689195156,
-0.024862153455615044,
-0.01784595288336277,
-0.00842314213514328,
-0.016651904210448265,
0.02593587152659893,
-0.033877693116664886,
-0.022233393043279648,
0.029841989278793335,
0.0024598350282758474,
-0.027398351579904556,
0.02371438406407833,
-0.03517356142401695,
-0.030897196382284164,
0.05535207688808441,
-0.05257521569728851,
-0.022733226418495178,
-0.0098671093583107,
0.016837026923894882,
0.018308764323592186,
0.05664794519543648,
0.05742546543478966,
0.03326678276062012,
-0.011894216760993004,
0.019049258902668953,
0.007798348553478718,
0.02621355839073658,
-0.0664224922657013,
0.04046810790896416,
0.050909098237752914,
0.029786450788378716,
0.007497522048652172,
0.023233061656355858,
-0.02799074910581112,
0.003667769255116582,
0.024677028879523277,
-0.011607274413108826,
0.03961653634905815,
-0.001962314359843731,
-0.05731438845396042,
0.021048597991466522,
0.0024737194180488586,
-0.05187174305319786,
-0.018466118723154068,
0.027583476155996323,
-0.02510281465947628,
0.020271077752113342,
0.040431082248687744,
0.008599009364843369,
-0.015522647649049759,
0.03950546309351921,
-0.027231739833950996,
-0.0049659512005746365,
-0.08686017990112305,
-0.0628310889005661,
-0.011209257878363132,
0.00850644800812006,
0.004125951323658228,
0.02067835070192814,
0.011338844895362854,
-0.027287278324365616,
-0.009034051559865475,
0.006113720126450062,
-0.0034016533754765987,
0.03485884889960289,
0.05446347966790199,
-0.055722322314977646,
0.022677689790725708,
-0.03917223960161209,
0.05831405892968178,
-0.01822545751929283,
0.05646282061934471,
-0.03424793854355812,
-0.03132298216223717,
-0.01967868022620678,
-0.02199273183941841,
-0.011422150768339634,
-0.014143473468720913,
0.00844628270715475,
0.0475398413836956,
-0.003181818639859557,
-0.0065672737546265125,
-0.022066781297326088,
0.01934545859694481,
0.03554380685091019,
-0.008404629305005074,
-0.03437752649188042,
-0.021770581603050232,
0.10515043139457703,
0.016031738370656967,
-0.0022804962936788797,
-0.013754713349044323,
0.01319008506834507,
-0.018355045467615128,
-0.0002985124592669308,
0.0036770254373550415,
-0.014097192324697971,
-0.05612959712743759,
-0.014671077020466328,
0.01978975534439087,
-0.0628310889005661,
-0.029008930549025536,
-0.03393322974443436,
0.023529259487986565,
-0.04461488500237465,
-0.05798083543777466,
-0.020659837871789932,
-0.08219505846500397,
0.06094282120466232,
-0.027342814952135086,
-0.0038251245860010386,
0.013939836993813515,
0.016392730176448822,
0.004304132889956236,
0.04572562873363495,
0.11462877690792084,
0.04883570969104767,
-0.037320997565984726,
0.024862153455615044,
0.02438083104789257,
-0.003450248623266816,
-0.004151405766606331,
0.05276034027338028,
-0.039431411772966385,
0.049465131014585495,
0.026917029172182083,
0.024751078337430954,
0.04994645342230797,
0.0020201655570417643,
-0.007252232637256384,
-0.058943480253219604,
-0.006326612550765276,
-0.021752070635557175,
-0.06568199396133423,
0.013162316754460335,
0.017697853967547417,
0.048243314027786255,
0.04135670140385628,
-0.001030330779030919,
-0.011292563751339912,
-0.018706779927015305,
-0.042097195982933044,
0.005831405986100435,
0.04861356317996979,
-0.031785789877176285,
-0.0020120665431022644,
0.02776860073208809,
0.02771306224167347,
-0.008085290901362896,
-0.09211770445108414,
-0.0211226474493742,
-0.0037788436748087406,
-0.010681654326617718,
0.020474715158343315,
0.009436695836484432,
0.015994712710380554,
0.033877693116664886,
0.030563972890377045,
-0.0038644634187221527,
-0.0045355381444096565,
0.0700509250164032,
0.05553720146417618,
-0.025750748813152313,
0.0036076039541512728,
0.0608687698841095,
-0.02826843410730362,
0.007280001416802406,
0.020696863532066345,
-0.022233393043279648,
-0.0010465291561558843,
-0.031045295298099518,
0.02749091386795044,
-0.0061785136349499226,
0.04661422222852707,
-0.05301951244473457,
-0.026139508932828903,
-0.011959010735154152,
0.004588761366903782,
-0.08523108810186386,
-0.08641587942838669,
0.009297853335738182,
0.042319346219301224,
-0.03163769096136093,
0.04024595767259598,
-0.017262812703847885,
0.04694744572043419,
-0.022955376654863358,
-0.04102347791194916,
0.05027967691421509,
-0.006576530169695616,
0.041875049471855164,
-0.04028298333287239,
-0.011468431912362576,
0.06257191300392151,
-0.01357884518802166,
-0.057610590010881424,
0.008062150329351425,
0.004727604333311319,
0.046688273549079895,
-0.01912330836057663,
-0.0389130637049675,
0.023196037858724594,
-8.135331768244214e-7,
-0.0022018186282366514,
0.008497191593050957,
-0.015059837140142918,
-0.029897525906562805,
-0.002089587040245533,
0.011949754320085049,
-0.04883570969104767,
0.0010708266636356711,
0.06234976276755333,
-0.015281986445188522,
0.019715705886483192,
0.01064462959766388,
0.0029758682940155268,
-0.009941158816218376,
0.0032142153941094875,
0.03906116262078285,
-0.0075761997140944,
-0.00861289445310831,
0.03008265048265457,
-0.01606876403093338,
-0.057055216282606125,
0.040542155504226685,
0.035118021070957184,
0.004431405570358038,
-0.05220496654510498,
0.028472071513533592,
-0.01042248122394085,
-0.0065672737546265125,
0.024454880505800247,
0.03961653634905815,
0.0015203309012576938,
0.022233393043279648,
0.035321660339832306,
-0.06960662454366684,
0.010801984928548336,
-0.043541163206100464,
-0.03521058335900307,
-0.026805955916643143,
-0.05076099932193756,
0.010061489418148994,
0.0389130637049675,
-0.01058909296989441,
0.00027942153974436224,
0.021085623651742935,
-0.017660830169916153,
-0.014513721689581871,
-0.020474715158343315,
0.04394843801856041,
0.012495869770646095,
0.027416864410042763,
-0.009561654180288315,
0.013838019222021103,
-0.01405091118067503,
-0.0035728930961340666,
-0.011449919082224369,
-0.07230943441390991,
-0.06571902334690094,
0.020863475278019905,
-0.021159673109650612,
0.014152729883790016,
-0.08167670667171478,
-0.04550347849726677,
-0.014032399281859398,
0.003313719527795911,
0.06653356552124023,
-0.024843640625476837,
0.03069355897605419,
0.02023405395448208,
-0.03585851937532425,
-0.03646942973136902,
0.016661159694194794,
-0.02023405395448208,
0.03461818769574165,
-0.04565157741308212,
0.006483967881649733,
-0.08397224545478821,
0.023066449910402298,
-0.023788433521986008,
-0.033063147217035294,
-0.014152729883790016,
-0.07075439393520355,
0.0469844713807106,
0.010200331918895245,
-0.0011194216785952449,
0.04498513042926788,
0.05353786051273346,
0.059165630489587784,
-0.05102017521858215,
-0.02843504585325718,
0.012264464981853962,
0.002781488001346588,
-0.02737983874976635,
0.009112728759646416,
0.036987774074077606,
0.026694880798459053,
-0.015994712710380554,
0.020993061363697052,
-0.04909488558769226,
-0.06938447803258896,
-0.029175542294979095,
-0.06523770093917847,
0.02515835128724575,
-0.021159673109650612,
0.041319675743579865,
-0.016226118430495262,
0.02443636767566204,
0.06442315131425858,
0.00983934011310339,
-0.041875049471855164,
-0.019215870648622513,
-0.03817256912589073,
-0.008765621110796928,
-0.0318228155374527,
0.009820828214287758,
0.006659836042672396,
-0.010200331918895245,
-0.05257521569728851,
0.008608265779912472,
-0.024899177253246307,
-0.00038702486199326813,
-0.02832397259771824,
0.04672529920935631,
0.05313058942556381,
0.019660169258713722,
-0.0022376864217221737,
0.013726944103837013,
-0.03746909648180008,
-0.05464860424399376,
-0.005567604210227728,
0.006011901888996363,
0.012514382600784302,
0.025806285440921783,
-0.010977853089571,
0.047687944024801254,
0.04217124730348587,
0.027287278324365616,
-0.005248265340924263,
-0.023899508640170097,
-0.04261554405093193,
0.0022041327320039272,
0.011311076581478119,
-0.010764960199594498,
0.019215870648622513,
-0.06494149565696716,
0.003010579152032733,
0.007178183179348707,
0.04961323365569115,
-0.05946182832121849,
0.015929920598864555,
0.05213091894984245,
0.07619703561067581,
-0.025232400745153427,
-0.03241521120071411,
0.05109422281384468,
0.043800339102745056,
-0.00222958717495203,
0.01132958848029375,
-0.037709757685661316,
-0.06971769779920578,
0.002256198786199093,
0.041319675743579865,
0.04305984079837799,
-0.003123967442661524,
0.029120005667209625,
0.058054886758327484,
-0.009996696375310421,
0.045688603073358536,
0.007608596235513687,
-0.027694549411535263,
-0.030119674280285835,
-0.0008180166478268802,
0.051575545221567154,
0.006715373136103153,
-0.07738183438777924,
0.038764964789152145,
0.021307772025465965,
-0.004653554409742355,
0.07019902020692825,
-0.09907836467027664,
-0.018049590289592743,
-0.03824661672115326,
0.006243306677788496,
-0.008349092677235603,
-0.004718347918242216,
-0.0061785136349499226,
-0.0074095879681408405,
0.02582479827105999,
-0.016272399574518204,
-0.04720662161707878,
0.031674716621637344,
-0.07730778306722641,
0.038098517805337906,
-0.04305984079837799,
-0.04013488441705704,
-0.03265587240457535,
0.0006635538302361965,
0.023584797978401184,
0.002570909447968006,
-0.023621821776032448,
0.06512662023305893,
0.06460827589035034,
0.028342483565211296,
0.01510611828416586,
-0.02310347557067871,
0.014347109943628311,
0.017521986737847328,
-0.004077356308698654,
0.026343144476413727,
0.015874382108449936,
0.027583476155996323,
-0.03191537782549858,
0.025232400745153427,
0.04483703151345253,
-0.05798083543777466,
-0.0011952067725360394,
0.05612959712743759,
0.009765290655195713,
0.037987444549798965,
0.05868430808186531,
0.009159009903669357,
0.00349884363822639,
0.016374217346310616,
-0.00035520666278898716,
-0.0022226450964808464,
-0.015115374699234962,
0.0036700833588838577,
0.021307772025465965,
-0.001685785362496972,
0.009302481077611446,
0.029767939820885658,
0.02832397259771824,
0.007372563239187002,
-0.06090579554438591,
0.04361521452665329,
0.05094612389802933,
-0.0028532235883176327,
0.059721000492572784,
0.011607274413108826,
0.035765957087278366,
-0.06349752843379974,
0.008094547316432,
-0.011005621403455734,
-0.040208932012319565,
0.010042976588010788,
0.009422811679542065,
0.0376727357506752,
0.055500175803899765,
-0.015059837140142918,
-0.01923438347876072,
-0.04494810849428177,
-0.01917884685099125,
0.01984529197216034,
-0.004047273658216,
-0.043911412358284,
-0.014152729883790016,
-0.041875049471855164,
0.0009192563593387604,
-0.06412695348262787,
-0.034729260951280594,
0.019086284562945366,
0.011931241489946842,
-0.009325621649622917,
-0.025732235983014107,
-0.009746778756380081,
-0.053722985088825226,
0.050909098237752914,
-0.057499513030052185,
0.05824001133441925,
0.008437026292085648,
-0.04683637246489525,
-0.07205025851726532,
-0.01324562169611454,
0.01502281241118908,
0.05376001074910164,
0.013708432205021381,
-0.029064467176795006,
-0.0023649591021239758,
0.029027443379163742,
0.018188433721661568,
0.009089588187634945,
0.04616992548108101,
0.006965290289372206,
-0.031063806265592575,
0.020085953176021576,
-0.008640662766993046,
0.0002885331050492823,
-0.05931372940540314,
0.04046810790896416,
-0.020474715158343315,
-0.05298248678445816,
0.004470744635909796,
-0.02499173954129219,
-0.0077196708880364895,
0.07290183007717133,
0.023362649604678154,
0.006733885500580072,
-0.004135207273066044,
0.03521058335900307,
-0.001137355575338006,
0.06856992840766907,
0.04220827296376228,
-0.01773487962782383,
0.03817256912589073,
-0.023584797978401184,
-0.013763969764113426,
-0.028194384649395943,
0.08686017990112305,
0.008992398157715797,
0.002250413643196225,
-0.05379703268408775,
0.055055879056453705,
-0.04417058452963829,
-0.009746778756380081,
0.025917360559105873,
0.026287607848644257,
-0.026787443086504936,
0.0149395065382123,
0.037432074546813965,
0.003996364306658506,
-0.03215603902935982,
0.039986785501241684,
0.004586447030305862,
-0.019604630768299103,
0.034729260951280594,
-0.03380364179611206,
0.013014216907322407,
-0.05205686762928963,
0.06701488792896271,
-0.033840667456388474,
0.010820497758686543,
0.010265125893056393,
-0.07242050766944885,
-0.003771901596337557,
-0.00480859586969018,
-0.0675332322716713,
0.011903473176062107,
0.07182811200618744,
-0.03534017130732536,
-0.046243976801633835,
-0.02893488109111786,
-0.03360000625252724,
0.011857192032039165,
0.05524099990725517,
-0.04402248561382294,
-0.003598347771912813,
0.0023279343731701374,
-0.011542481370270252,
-0.007252232637256384,
-0.004482314921915531,
-0.03939438611268997,
-0.0036839675158262253,
-0.006437687203288078,
0.03037884831428528,
0.00043243810068815947,
0.03337785601615906,
-0.039986785501241684,
-0.0226591769605875,
-0.037987444549798965,
0.024066120386123657,
0.057166289538145065,
-0.004817852284759283,
-0.02282578870654106,
-0.013736200518906116,
-0.0151523994281888,
-0.0032489262521266937,
0.013116035610437393,
0.013282647356390953,
0.04909488558769226,
-0.0015122316544875503,
-0.06956960260868073,
0.02243702858686447,
-0.000780413334723562,
0.02217785455286503,
0.021030087023973465,
-0.08856332302093506,
0.018206944689154625,
0.048909761011600494,
-0.004075041972100735,
-0.04639207571744919,
0.024140169844031334,
0.002234215382486582,
0.018549425527453423,
0.05220496654510498,
-0.001579339150339365,
0.03550678491592407,
-0.04287471994757652,
-0.022677689790725708,
0.04739174246788025,
-0.006280331872403622,
0.009163637645542622,
-0.010515043511986732,
0.04498513042926788,
0.04616992548108101,
-0.01940099522471428,
-0.04246744513511658,
0.016550086438655853,
0.04028298333287239,
-0.03578446805477142,
0.014745126478374004,
-0.016337193548679352,
-0.05775868892669678,
0.03415537625551224,
-0.011311076581478119,
-0.04472595825791359,
0.021955706179142,
0.011366613209247589,
0.007247604429721832,
-0.027953723445534706,
-0.011366613209247589,
0.008909092284739017
]
|
37,126 | youtube_transcript_api._errors | TooManyRequests | null | class TooManyRequests(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = (
'YouTube is receiving too many requests from this IP and now requires solving a captcha to continue. '
'One of the following things can be done to work around this:\n\
- Manually solve the captcha in a browser and export the cookie. '
'Read here how to use that cookie with '
'youtube-transcript-api: https://github.com/jdepoix/youtube-transcript-api#cookies\n\
- Use a different IP address\n\
- Wait until the ban on your IP has been lifted'
)
| (video_id) | [
-0.04608050733804703,
-0.016452180221676826,
-0.028890317305922508,
0.06548471748828888,
-0.05727662891149521,
-0.01530916802585125,
-0.026334289461374283,
-0.02820630930364132,
0.07408881187438965,
-0.049680545926094055,
0.03621639683842659,
0.06850875169038773,
-0.0384124219417572,
0.0006789449835196137,
0.0016661433037370443,
-0.022626249119639397,
0.05212857201695442,
0.023130254819989204,
0.003816041862592101,
-0.039816439151763916,
-0.006817575078457594,
0.07300880551338196,
-0.05194856971502304,
-0.014166155830025673,
-0.03247235715389252,
0.08856097608804703,
-0.023310255259275436,
0.00022429933596868068,
-0.019728217273950577,
0.01603817567229271,
-0.033660370856523514,
0.011376124806702137,
-0.03787241503596306,
0.05328058451414108,
-0.028332311660051346,
0.0019327711779624224,
-0.04165245592594147,
-0.03502838313579559,
-0.1339934766292572,
-0.005841064266860485,
-0.04626050963997841,
-0.02163623832166195,
0.006714073941111565,
-0.013689150102436543,
0.012123133055865765,
-0.044172484427690506,
-0.006655572913587093,
0.08632894605398178,
-0.05331658571958542,
-0.06962476670742035,
-0.0020823979284614325,
0.011763129383325577,
0.0326523594558239,
0.011241123080253601,
0.010575116612017155,
0.05569261312484741,
-0.03718840703368187,
0.12391336262226105,
-0.0020250221714377403,
-0.008775096386671066,
-0.052776578813791275,
-0.013680150732398033,
0.01120512280613184,
0.03398437425494194,
0.03313836455345154,
-0.0009765107533894479,
0.028260311111807823,
-0.01872020587325096,
-0.014472158625721931,
-0.012879141606390476,
0.06746473908424377,
-0.005472060292959213,
-0.09252101927995682,
0.0013151394668966532,
0.02491227351129055,
-0.036540400236845016,
-0.024876274168491364,
0.028530312702059746,
-0.03214835375547409,
0.0771128460764885,
0.07905686646699905,
-0.030546335503458977,
0.07387281209230423,
-0.01652418076992035,
0.07617683708667755,
-0.09237701445817947,
0.04150845482945442,
-0.06811274588108063,
-0.025848284363746643,
0.055296607315540314,
-0.0608406700193882,
-0.03844842314720154,
0.012861141003668308,
-0.038376420736312866,
-0.03526238724589348,
0.025830283761024475,
0.025614282116293907,
-0.02714429795742035,
-0.024390267208218575,
-0.08467292785644531,
-0.002871031640097499,
0.033084362745285034,
-0.022428246214985847,
-0.051516566425561905,
0.03956443443894386,
-0.02115023322403431,
-0.01619117707014084,
-0.03477638214826584,
0.02345425821840763,
0.004792552441358566,
0.007204579189419746,
-0.018270200118422508,
-0.02152823656797409,
0.045432500541210175,
0.024192266166210175,
-0.01949421502649784,
-0.024318266659975052,
0.011385125108063221,
0.007528582587838173,
0.042156461626291275,
0.019080210477113724,
0.039168428629636765,
-0.05043655261397362,
-0.024876274168491364,
-0.0026415290776640177,
0.0444604866206646,
-0.021654237061738968,
-0.019044209271669388,
0.04348847642540932,
-0.027072297409176826,
-0.010764118283987045,
-0.029106318950653076,
0.026424290612339973,
0.015678172931075096,
0.02480427175760269,
0.0343443788588047,
0.060480665415525436,
0.020394224673509598,
-0.014175156131386757,
-0.025614282116293907,
-0.028242310509085655,
0.07182078808546066,
0.02365225926041603,
-0.011736128479242325,
0.061452675610780716,
-0.01201513223350048,
0.018171200528740883,
-0.039636436849832535,
-0.03776441514492035,
-0.07423281669616699,
0.013086143881082535,
-0.04780852422118187,
-0.026982296258211136,
0.019458213821053505,
0.016290178522467613,
0.029520323500037193,
-0.023724259808659554,
0.019044209271669388,
-0.019584214314818382,
-0.02597428485751152,
0.007497082464396954,
-0.026982296258211136,
-0.04651251062750816,
-0.007470082025974989,
0.001703268731944263,
-0.04222846403717995,
0.04226446524262428,
0.022284245118498802,
-0.010071110911667347,
0.06940875947475433,
-0.0018843957222998142,
0.039456434547901154,
0.01467016153037548,
0.001117137260735035,
0.0275403019040823,
0.021672237664461136,
0.006993076764047146,
-0.035010386258363724,
0.006727573927491903,
0.0220322422683239,
-0.03996044024825096,
0.012807141058146954,
-0.018504202365875244,
-0.004387548193335533,
0.0322563536465168,
0.02183423936367035,
0.06613272428512573,
0.028260311111807823,
-0.007713084574788809,
0.011322123929858208,
0.01998022012412548,
0.008752596564590931,
0.030744338408112526,
-0.007105578202754259,
-0.01676718331873417,
-0.03164434805512428,
-0.003930793143808842,
-0.013338146731257439,
0.043884482234716415,
0.015273167751729488,
-0.06476470828056335,
0.051624566316604614,
0.019080210477113724,
-0.06771674752235413,
0.014355157501995564,
0.053928591310977936,
-0.023148253560066223,
-0.016290178522467613,
-0.08949698507785797,
-0.004675551317632198,
-0.049104537814855576,
0.039924439042806625,
0.0542885959148407,
-0.006583572365343571,
-0.010485115461051464,
-0.027828305959701538,
0.05990465730428696,
0.02685629576444626,
-0.017730195075273514,
0.024588270112872124,
0.06343269348144531,
-0.056448619812726974,
-0.05371259152889252,
-0.01597517542541027,
0.029718326404690742,
0.03319236636161804,
0.04035644233226776,
0.07254079729318619,
0.005193057004362345,
-0.03697240725159645,
-0.001870895503088832,
0.08827296644449234,
0.03196835145354271,
0.03250835835933685,
0.017046187072992325,
0.013176145032048225,
-0.006367569789290428,
-0.04888853803277016,
0.0012420136481523514,
0.005904064979404211,
-0.02770230360329151,
-0.011034120805561543,
-0.00836109183728695,
0.0771128460764885,
-0.010395114310085773,
0.007249579764902592,
-0.014661161229014397,
0.05504460632801056,
0.009018098935484886,
0.0013792651006951928,
0.0070110769011080265,
-0.00009766513539943844,
-0.06519671529531479,
-0.03816042095422745,
-0.004945554304867983,
-0.029286321252584457,
-0.04028444364666939,
-0.05594461411237717,
0.015759173780679703,
-0.0006586947129108012,
0.03157234564423561,
0.022428246214985847,
-0.09511304646730423,
0.009576105512678623,
-0.043776482343673706,
0.02048422582447529,
-0.035982396453619,
0.02095223031938076,
-0.04932054132223129,
0.034056372940540314,
0.09403303265571594,
0.0076815844513475895,
0.0261542871594429,
-0.029376322403550148,
-0.04676451534032822,
-0.020988229662179947,
-0.001843895297497511,
0.0915130078792572,
-0.015714172273874283,
-0.017226189374923706,
-0.006529571954160929,
0.0015030165668576956,
0.04521649703383446,
-0.04068044573068619,
0.0063495696522295475,
-0.03195035085082054,
-0.002089147921651602,
0.057600632309913635,
-0.0424804650247097,
0.020016219466924667,
-0.05245257541537285,
-0.03385837376117706,
0.0812888965010643,
-0.00705157732591033,
-0.062316685914993286,
-0.03949243202805519,
-0.02017822116613388,
0.006651073228567839,
0.01794619672000408,
0.017892196774482727,
-0.015696171671152115,
0.02820630930364132,
-0.06148867681622505,
-0.011493125930428505,
-0.019080210477113724,
-0.0013162645045667887,
0.027198297902941704,
-0.024066263809800148,
0.06436870992183685,
-0.010377113707363605,
0.021600237116217613,
0.01187113020569086,
0.006457570940256119,
-0.002646028995513916,
0.03535238653421402,
0.07502482086420059,
0.043776482343673706,
0.002161148702725768,
-0.016452180221676826,
0.042912472039461136,
0.012510137632489204,
-0.017514191567897797,
0.03493838384747505,
-0.014499159529805183,
0.022950252518057823,
-0.035496391355991364,
0.07531283050775528,
0.0001873145520221442,
-0.0032062851823866367,
-0.05385659262537956,
-0.047772523015737534,
-0.04014044255018234,
-0.05986865609884262,
-0.06552071869373322,
-0.04608050733804703,
0.019044209271669388,
-0.013734150677919388,
-0.023310255259275436,
0.06836475431919098,
-0.058392640203237534,
-0.014634160324931145,
-0.05317258462309837,
-0.04741252213716507,
0.05940065160393715,
0.032202355563640594,
-0.03425437584519386,
0.026244288310408592,
-0.014949164353311062,
0.07210879027843475,
-0.019458213821053505,
0.03697240725159645,
0.021654237061738968,
0.03438037633895874,
0.03855642303824425,
0.02984432689845562,
-0.00025819032453000546,
0.017271189019083977,
-0.039168428629636765,
-0.0044190483167767525,
0.01621817797422409,
-0.06444070488214493,
0.011565127409994602,
0.006052566692233086,
0.027954306453466415,
-0.04921254143118858,
0.02415626496076584,
0.03834041953086853,
-0.04237246513366699,
0.039456434547901154,
0.03783641383051872,
-0.03708040714263916,
-0.008752596564590931,
-0.0002144554746337235,
0.05090456083416939,
0.015894174575805664,
0.014517159201204777,
-0.023814260959625244,
0.013545149005949497,
-0.03718840703368187,
0.035010386258363724,
0.01787419617176056,
-0.007983087562024593,
-0.05299258232116699,
-0.03650440275669098,
-0.0026572791393846273,
0.002832781057804823,
-0.005314558278769255,
0.00632256967946887,
0.03060033544898033,
0.03119434230029583,
0.04150845482945442,
-0.046872515231370926,
0.03493838384747505,
-0.03216635435819626,
-0.03729641065001488,
-0.006678073201328516,
-0.04802452772855759,
0.027180299162864685,
0.03794441744685173,
-0.019944218918681145,
0.018522202968597412,
0.062244683504104614,
-0.005391059443354607,
0.022842250764369965,
-0.014625160954892635,
0.021222233772277832,
0.04323647543787956,
0.009963109157979488,
0.004277296829968691,
-0.002934032119810581,
-0.044856492429971695,
-0.006849075201898813,
0.01971021667122841,
-0.03290436044335365,
-0.05583661422133446,
-0.016830185428261757,
-0.08647295087575912,
-0.050076551735401154,
-0.011700128205120564,
-0.007191079203039408,
0.02066422626376152,
-0.002134148497134447,
0.033570367842912674,
-0.023922262713313103,
-0.011034120805561543,
0.004041044507175684,
-0.0078030857257544994,
-0.025956284254789352,
-0.0022961501963436604,
-0.032292354851961136,
-0.03243635594844818,
-0.01515616662800312,
-0.01467016153037548,
-0.057780634611845016,
0.03169834986329079,
0.0035415389575064182,
-0.060696665197610855,
0.005499060265719891,
-0.04672851413488388,
0.015615171752870083,
0.008644594810903072,
0.016074176877737045,
0.043308474123477936,
0.04093245044350624,
0.12211333960294724,
-0.03373236954212189,
-0.0245162695646286,
0.023202255368232727,
0.004146795719861984,
-0.014868163503706455,
-0.018135199323296547,
0.008235090412199497,
0.02761230245232582,
-0.013383147306740284,
0.02993432804942131,
0.029520323500037193,
-0.025560280308127403,
0.019062209874391556,
-0.03445237874984741,
-0.03324636444449425,
-0.02462427131831646,
0.06980476528406143,
0.022932251915335655,
-0.022050242871046066,
-0.005616061855107546,
0.024210266768932343,
-0.001526641775853932,
0.004765552468597889,
0.010674117133021355,
0.0063450695015490055,
-0.015291168354451656,
0.025632280856370926,
0.010062110610306263,
-0.03794441744685173,
0.019008208066225052,
-0.010314113460481167,
-0.001611017738468945,
0.013572148978710175,
0.05475660040974617,
0.04788052663207054,
0.06962476670742035,
-0.03011433035135269,
0.06966076791286469,
-0.0444604866206646,
-0.003989293705672026,
-0.06642072647809982,
-0.06645672768354416,
-0.03099634125828743,
-0.004090544767677784,
0.039168428629636765,
-0.023886261507868767,
0.028926318511366844,
-0.01361714955419302,
0.03733241185545921,
-0.03234635666012764,
0.006777074653655291,
-0.020934229716658592,
0.01723518967628479,
-0.012807141058146954,
-0.01782919652760029,
0.00471155159175396,
-0.04363247752189636,
-0.011637127958238125,
-0.04165245592594147,
0.034506380558013916,
-0.007209079340100288,
-0.01603817567229271,
0.019080210477113724,
0.0428764708340168,
0.02840431220829487,
-0.00030881588463671505,
0.036270398646593094,
0.01872020587325096,
0.012429136782884598,
0.03594639524817467,
-0.04395648464560509,
-0.039636436849832535,
-0.018900208175182343,
0.060480665415525436,
-0.002589778508991003,
0.0283863116055727,
0.07437681406736374,
0.024498268961906433,
0.012150133028626442,
0.03477638214826584,
-0.027576303109526634,
-0.003987043630331755,
-0.02134823426604271,
-0.02799030765891075,
0.06861675530672073,
0.01626317948102951,
-0.0228782519698143,
0.05079655721783638,
-0.0019271462224423885,
0.008914598263800144,
-0.01467016153037548,
-0.07639283686876297,
-0.030870338901877403,
0.002999282907694578,
0.009297101758420467,
-0.02376026101410389,
-0.01376115158200264,
0.005346058867871761,
-0.04017644003033638,
-0.033948373049497604,
0.025542279705405235,
-0.025452280417084694,
0.10627316683530807,
-0.042912472039461136,
0.005350558552891016,
0.022554248571395874,
0.0028507814276963472,
0.029520323500037193,
-0.06811274588108063,
0.0011733878636732697,
-0.032184354960918427,
0.003710290649905801,
0.010044110007584095,
0.030726337805390358,
0.021078230813145638,
0.030924338847398758,
-0.06390070170164108,
0.0033030363265424967,
-0.056160617619752884,
-0.034146375954151154,
-0.008248590864241123,
-0.007884087041020393,
0.03385837376117706,
-0.06602472811937332,
0.022572247311472893,
0.010890119709074497,
-0.01882820762693882,
-0.008028088137507439,
0.042732469737529755,
-0.04136445373296738,
0.0033840371761471033,
-0.03533438965678215,
-0.008253091014921665,
0.02557828091084957,
0.04082444682717323,
0.009531104937195778,
0.0222302433103323,
0.013500148430466652,
-0.00750608230009675,
0.0322563536465168,
0.012996142730116844,
0.04964454472064972,
-0.03013233095407486,
0.008311591111123562,
0.07052477449178696,
-0.023904262110590935,
0.06339669972658157,
-0.013212145306169987,
-0.006511571351438761,
0.02761230245232582,
0.10382513701915741,
0.02259024791419506,
0.015417169779539108,
-0.006871575489640236,
0.04413648322224617,
0.016911186277866364,
0.050760556012392044,
0.004171545617282391,
0.053640589118003845,
0.029394323006272316,
-0.009351102635264397,
-0.0388084277510643,
-0.03823241963982582,
0.0016188927693292499,
-0.011502126231789589,
-0.014958164654672146,
-0.007654584012925625,
-0.004261546768248081,
-0.022050242871046066,
-0.06444070488214493,
-0.025434279814362526,
-0.07401680946350098,
0.03783641383051872,
-0.018576204776763916,
-0.0038947928696870804,
-0.011934131383895874,
0.043704479932785034,
-0.029970329254865646,
0.030474334955215454,
-0.052668578922748566,
0.04827652871608734,
-0.009144100360572338,
-0.024120265617966652,
-0.09259301424026489,
0.010170111432671547,
0.0051435562781989574,
0.03726040944457054,
0.02811630815267563,
-0.002310775453224778,
-0.04928454011678696,
0.048708535730838776,
0.004774552304297686,
0.017775194719433784,
0.010701117105782032,
0.020826227962970734,
-0.0038947928696870804,
0.02637028880417347,
-0.06080466881394386,
0.0331023633480072,
-0.06883275508880615,
-0.011547126807272434,
-0.05097655951976776,
-0.023868262767791748,
0.011610127985477448,
-0.03189634904265404,
0.034812383353710175,
0.03011433035135269,
0.06804075092077255,
0.009175600484013557,
-0.03747641295194626,
-0.014418158680200577,
0.03238235414028168,
0.04960854351520538,
0.05832064151763916,
-0.07012876868247986,
0.03852042183279991,
-0.05284858122467995,
0.0171451885253191,
-0.04827652871608734,
0.029322322458028793,
0.006547572091221809,
0.0038902927190065384,
-0.08215290307998657,
0.016155177727341652,
-0.022770250216126442,
0.047268521040678024,
-0.021078230813145638,
-0.0037957916501909494,
0.0049725547432899475,
0.013581149280071259,
0.03369636833667755,
-0.025254277512431145,
0.0028755315579473972,
-0.014202156104147434,
0.010683117434382439,
0.01632617972791195,
0.0179911982268095,
-0.04845653101801872,
-0.04006844013929367,
-0.018333202227950096,
0.03952843323349953,
0.00942310318350792,
0.030654337257146835,
-0.06264068931341171,
-0.03457837924361229,
-0.005058055743575096,
0.01619117707014084,
-0.05457659810781479,
0.021312234923243523,
0.008176589384675026,
0.0228782519698143,
-0.00799658801406622,
0.016830185428261757,
-0.0055620609782636166,
-0.03582039475440979,
-0.023148253560066223,
-0.03022233210504055,
-0.014049154706299305,
-0.007587083149701357,
-0.041976459324359894,
-0.008176589384675026,
-0.02134823426604271,
-0.04809653013944626,
-0.014094154350459576,
-0.001434390782378614,
0.02473227120935917,
0.005598061718046665,
0.03988843783736229,
0.014742162078619003,
-0.08884897828102112,
-0.0026415290776640177,
0.031806349754333496,
0.008743596263229847,
0.016848184168338776,
0.03776441514492035,
0.009702106937766075,
0.02896231785416603,
-0.028314311057329178,
0.0673927366733551,
-0.03891642764210701,
0.03535238653421402,
-0.007470082025974989,
-0.03369636833667755,
0.04172445833683014,
-0.053532589226961136,
0.01664118282496929,
-0.008703095838427544,
-0.07156878709793091,
-0.018558204174041748,
-0.011691128835082054,
0.0015131416730582714,
-0.041472457349300385,
-0.003156784689053893,
0.010026110336184502,
-0.005517060402780771,
-0.015921175479888916,
-0.05752863362431526,
0.0070785777643322945,
0.00593556510284543,
-0.02161823771893978,
-0.0077310847118496895,
0.022266244515776634,
0.019764216616749763,
0.028440311551094055,
-0.01949421502649784,
-0.0011711379047483206,
-0.0011542626889422536,
-0.023436257615685463,
-0.00206889770925045,
0.032310355454683304,
0.0016278928378596902,
-0.008757095783948898,
0.004828553181141615,
-0.03787241503596306,
0.028440311551094055,
-0.019746216014027596,
-0.013023142702877522,
0.05868064612150192,
0.010548115707933903,
-0.01782919652760029,
0.01705518737435341,
0.029772326350212097,
0.030726337805390358
]
|
37,129 | youtube_transcript_api._transcripts | Transcript | null | class Transcript(object):
def __init__(self, http_client, video_id, url, language, language_code, is_generated, translation_languages):
"""
You probably don't want to initialize this directly. Usually you'll access Transcript objects using a
TranscriptList.
:param http_client: http client which is used to make the transcript retrieving http calls
:type http_client: requests.Session
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param url: the url which needs to be called to fetch the transcript
:param language: the name of the language this transcript uses
:param language_code:
:param is_generated:
:param translation_languages:
"""
self._http_client = http_client
self.video_id = video_id
self._url = url
self.language = language
self.language_code = language_code
self.is_generated = is_generated
self.translation_languages = translation_languages
self._translation_languages_dict = {
translation_language['language_code']: translation_language['language']
for translation_language in translation_languages
}
def fetch(self, preserve_formatting=False):
"""
Loads the actual transcript data.
:param preserve_formatting: whether to keep select HTML text formatting
:type preserve_formatting: bool
:return: a list of dictionaries containing the 'text', 'start' and 'duration' keys
:rtype [{'text': str, 'start': float, 'end': float}]:
"""
response = self._http_client.get(self._url, headers={'Accept-Language': 'en-US'})
return _TranscriptParser(preserve_formatting=preserve_formatting).parse(
_raise_http_errors(response, self.video_id).text,
)
def __str__(self):
return '{language_code} ("{language}"){translation_description}'.format(
language=self.language,
language_code=self.language_code,
translation_description='[TRANSLATABLE]' if self.is_translatable else ''
)
@property
def is_translatable(self):
return len(self.translation_languages) > 0
def translate(self, language_code):
if not self.is_translatable:
raise NotTranslatable(self.video_id)
if language_code not in self._translation_languages_dict:
raise TranslationLanguageNotAvailable(self.video_id)
return Transcript(
self._http_client,
self.video_id,
'{url}&tlang={language_code}'.format(url=self._url, language_code=language_code),
self._translation_languages_dict[language_code],
language_code,
True,
[],
)
| (http_client, video_id, url, language, language_code, is_generated, translation_languages) | [
0.015829866752028465,
-0.015905024483799934,
-0.06399588286876678,
-0.000647638866212219,
-0.011329864151775837,
-0.0075109670870006084,
-0.058020927011966705,
0.022565782070159912,
0.034215062856674194,
0.013875794596970081,
-0.016938427463173866,
0.05997500196099281,
-0.045695237815380096,
0.00025130502763204277,
-0.05467645823955536,
0.017473919317126274,
-0.0009171458659693599,
0.019352834671735764,
-0.013894584029912949,
-0.05922343209385872,
0.008177981711924076,
0.016957217827439308,
-0.014552204869687557,
0.03823594003915787,
0.004810024984180927,
0.010644059628248215,
-0.01186535507440567,
-0.04133615270256996,
-0.009676417335867882,
-0.02113780565559864,
0.022810040041804314,
-0.0010081558721140027,
-0.0017321257619187236,
0.011658674106001854,
-0.058885227888822556,
0.0011760840425267816,
-0.04133615270256996,
-0.05576622858643532,
-0.027920693159103394,
0.0344405323266983,
-0.0316033661365509,
0.01837579905986786,
0.06775370985269547,
0.022584570571780205,
-0.009676417335867882,
0.014279762282967567,
-0.08462637662887573,
0.028071004897356033,
-0.035079363733530045,
-0.03188520669937134,
0.05993742123246193,
0.007262010592967272,
0.0161774680018425,
-0.05396246910095215,
-0.06786644458770752,
0.03528604283928871,
-0.01186535507440567,
0.09544893354177475,
0.00817328505218029,
-0.027432173490524292,
0.014693123288452625,
0.015397717244923115,
-0.00021240558999124914,
0.04407937079668045,
0.017398763447999954,
0.015895629301667213,
0.005552196875214577,
-0.04205014184117317,
0.009629445150494576,
0.03896871954202652,
0.07380381971597672,
0.0358121395111084,
0.00473251985386014,
-0.021250540390610695,
0.059110697358846664,
-0.0032928003929555416,
-0.06854286044836044,
-0.028240108862519264,
-0.032242197543382645,
0.04486851394176483,
0.003631005296483636,
0.002611693227663636,
0.04186224937438965,
-0.002233561361208558,
0.07575789839029312,
-0.05493950471282005,
0.006994265131652355,
-0.06786644458770752,
-0.0543382503092289,
0.0037977590691298246,
-0.049603383988142014,
-0.01658143475651741,
-0.010672243312001228,
-0.0002796355402097106,
-0.016402937471866608,
-0.02756369858980179,
-0.007656583096832037,
-0.07718586921691895,
-0.07913994044065475,
-0.027920693159103394,
0.007797501515597105,
0.11040510982275009,
-0.0005087752360850573,
-0.05167018994688988,
0.0671524628996849,
-0.027939481660723686,
-0.05772029981017113,
-0.009911281988024712,
0.03817957267165184,
0.01504072267562151,
-0.011489572003483772,
-0.0017062906408682466,
-0.017567865550518036,
0.014918593689799309,
0.04825056344270706,
-0.08034244924783707,
-0.054000046104192734,
0.036093976348638535,
-0.06553658843040466,
-0.0100615955889225,
0.06238001212477684,
-0.013763059861958027,
-0.03855535760521889,
0.039870597422122955,
-0.034290216863155365,
-0.025797517970204353,
0.03776621073484421,
-0.005237478297203779,
0.07369108498096466,
-0.08906061947345734,
-0.016083521768450737,
-0.020649287849664688,
0.026135722175240517,
0.02788311429321766,
0.04580797255039215,
0.015519846230745316,
0.0007850346155464649,
0.04220045357942581,
-0.04900212958455086,
0.04655953869223595,
0.020367449149489403,
0.02277246303856373,
0.04640922695398331,
-0.005199900362640619,
-0.05862218141555786,
-0.022603360936045647,
-0.01855429634451866,
-0.038931138813495636,
-0.05576622858643532,
-0.059674374759197235,
0.016525067389011383,
-0.07838837802410126,
-0.012447819113731384,
-0.004709033295512199,
-0.011057420633733273,
-0.017464524134993553,
-0.03998333215713501,
0.002085596788674593,
-0.02795827016234398,
0.038780827075242996,
0.009084559045732021,
0.012288111262023449,
-0.006843951530754566,
0.034534476697444916,
0.01634657010436058,
-0.02025471441447735,
0.07410445064306259,
-0.037052225321531296,
-0.03479752689599991,
0.02066807635128498,
0.009389882907271385,
0.017971832305192947,
-0.029480192810297012,
0.03306892141699791,
0.00007328506762860343,
0.04546976834535599,
0.0444551520049572,
0.034684788435697556,
-0.008154495619237423,
0.03671402111649513,
-0.03119000606238842,
-0.0018695214530453086,
-0.049227599054574966,
0.007017751224339008,
0.03782258182764053,
0.004941549152135849,
0.03772863373160362,
0.054864346981048584,
0.030043868348002434,
-0.017699388787150383,
-0.0030015683732926846,
-0.047010477632284164,
0.016130493953824043,
0.004168844781816006,
-0.04971611872315407,
0.009446250274777412,
-0.010963475331664085,
-0.023298559710383415,
-0.023392504081130028,
-0.004258093424141407,
-0.01737057790160179,
0.00954489316791296,
0.05591654032468796,
-0.026210878044366837,
-0.007769317831844091,
0.010954080149531364,
-0.04738626256585121,
0.0032317356672137976,
-0.06561174988746643,
-0.05215870961546898,
0.004908668342977762,
-0.0334634929895401,
0.024313174188137054,
-0.009817336685955524,
0.04862634837627411,
-0.060613833367824554,
0.011639884673058987,
-0.0047607035376131535,
0.03778500109910965,
-0.016985401511192322,
0.06407103687524796,
-0.026192089542746544,
-0.026567872613668442,
-0.0207432322204113,
0.04531945660710335,
0.0022687911987304688,
0.03214825317263603,
0.0064352876506745815,
-0.037127379328012466,
-0.02311066724359989,
0.04855119064450264,
-0.027620065957307816,
-0.01564197614789009,
0.001397443818859756,
0.026906078681349754,
-0.02057413011789322,
0.011790198273956776,
-0.0036638863384723663,
0.003753134747967124,
0.004422498866915703,
0.022678516805171967,
-0.004511747043579817,
0.018046988174319267,
0.03934450075030327,
-0.07816290855407715,
0.03938208147883415,
0.013716086745262146,
0.014044897630810738,
-0.03229856863617897,
-0.019540727138519287,
0.033200446516275406,
0.005073073320090771,
-0.037672266364097595,
0.025327788665890694,
0.009098650887608528,
0.015031328424811363,
0.011254707351326942,
-0.023843444883823395,
0.01001462247222662,
-0.007825685665011406,
-0.004443636629730463,
-0.07324014604091644,
-0.07741133868694305,
0.06095203757286072,
-0.003187111346051097,
-0.01580168306827545,
-0.023843444883823395,
0.02976202964782715,
-0.02654908411204815,
0.0072244321927428246,
0.023073088377714157,
0.02696244604885578,
-0.04122341796755791,
-0.03874325007200241,
-0.020123191177845,
0.0029921738896518946,
0.00018334110791329294,
-0.010390405543148518,
-0.08207105100154877,
-0.01037161611020565,
-0.007717647589743137,
0.028559524565935135,
0.05625474452972412,
-0.04652196168899536,
0.06835496425628662,
-0.08462637662887573,
-0.007266707718372345,
0.025027161464095116,
-0.014956171624362469,
0.017389368265867233,
-0.02748854085803032,
0.012043851427733898,
0.056367482990026474,
-0.029555348679423332,
0.02091233618557453,
0.014505231752991676,
-0.052196286618709564,
-0.016121098771691322,
0.0397578626871109,
-0.061778757721185684,
-0.0011214780388399959,
0.007379442919045687,
0.05764514580368996,
0.01674114167690277,
-0.13716086745262146,
-0.007078816182911396,
-0.002265268238261342,
-0.014881014823913574,
0.06640089303255081,
-0.04047185182571411,
0.01619625650346279,
0.004856998100876808,
0.04028395935893059,
0.03575577214360237,
-0.017314210534095764,
0.005838731769472361,
0.017727572470903397,
-0.018093962222337723,
0.004570463206619024,
0.0540752038359642,
-0.005509921349585056,
-0.0020480183884501457,
0.07350319623947144,
0.028634680435061455,
0.13099803030490875,
-0.050392527133226395,
-0.009732784703373909,
-0.006496352143585682,
0.05328606069087982,
-0.024256806820631027,
-0.053849734365940094,
0.02190816029906273,
-0.009638839401304722,
-0.01768999546766281,
-0.037916526198387146,
-0.008628921583294868,
-0.019296467304229736,
-0.016205651685595512,
0.04385390132665634,
-0.018657635897397995,
0.033670175820589066,
-0.016863271594047546,
0.0019869536627084017,
0.039081454277038574,
0.04039669409394264,
0.0025717662647366524,
-0.01908978633582592,
0.002208900637924671,
0.04156162217259407,
-0.04682258889079094,
-0.02145722135901451,
0.015200430527329445,
0.04562008008360863,
0.058020927011966705,
-0.02183300442993641,
-0.08267230540513992,
0.04114826023578644,
-0.05065557733178139,
-0.010597086511552334,
-0.036263078451156616,
-0.02976202964782715,
0.005181110929697752,
-0.025966620072722435,
0.024726534262299538,
-0.04385390132665634,
-0.03662007302045822,
0.03274950757622719,
-0.0513695664703846,
0.020160770043730736,
0.04746142029762268,
0.018563689664006233,
-0.005345516372472048,
0.00023192870139610022,
0.00687683280557394,
0.029837187379598618,
-0.07068482041358948,
0.04302717745304108,
0.0013622140977531672,
-0.011245312169194221,
-0.009854914620518684,
0.03817957267165184,
0.019672250375151634,
-0.010230697691440582,
0.05678084120154381,
0.015848657116293907,
-0.01924009993672371,
0.04501882940530777,
-0.012476002797484398,
0.014101264998316765,
0.02521505393087864,
0.008859089575707912,
-0.015153458341956139,
-0.008807418867945671,
-0.03543635830283165,
-0.03203551843762398,
-0.03808562830090523,
-0.030137812718749046,
0.008290717378258705,
0.01729542203247547,
-0.012701472267508507,
0.0006705381674692035,
0.0017473918851464987,
-0.004178239498287439,
0.05027979239821434,
0.004758354742079973,
0.002147835912182927,
0.08763264119625092,
0.0392693467438221,
0.0008073467179201543,
-0.005852823611348867,
-0.043966636061668396,
-0.03855535760521889,
-0.034139905124902725,
-0.021306907758116722,
-0.04802509397268295,
0.01940920203924179,
-0.09868066757917404,
0.010625270195305347,
-0.051181674003601074,
0.0014338478213176131,
-0.0259290412068367,
0.06144055351614952,
0.025196263566613197,
-0.017727572470903397,
-0.003003916935995221,
0.018018804490566254,
-0.0023028464056551456,
-0.016788115724921227,
-0.024726534262299538,
-0.038292307406663895,
0.05373699963092804,
-0.028258897364139557,
-0.02639877051115036,
-0.0496409609913826,
0.06955747306346893,
0.031227584928274155,
-0.03079543448984623,
0.005509921349585056,
-0.01116076111793518,
0.01789667457342148,
0.011104393750429153,
0.022659728303551674,
0.0045375823974609375,
0.02316703461110592,
0.03056996315717697,
-0.061252664774656296,
-0.04336538165807724,
-0.03226098790764809,
-0.013716086745262146,
-0.012851785868406296,
0.005895099136978388,
0.11634248495101929,
0.03620671108365059,
-0.031227584928274155,
0.029874764382839203,
-0.013030283153057098,
0.04017122462391853,
0.020611708983778954,
-0.03859293460845947,
0.004290974698960781,
-0.006247395649552345,
0.030212970450520515,
0.05167018994688988,
0.008370570838451385,
0.02529020980000496,
0.0018166769295930862,
-0.015998970717191696,
-0.008116917684674263,
-0.07380381971597672,
-0.01933404617011547,
0.003452508244663477,
0.028935307636857033,
-0.023148246109485626,
0.003212946467101574,
0.014129448682069778,
-0.003922237083315849,
0.0003537646553013474,
-0.07500632852315903,
-0.03596245124936104,
0.002606996102258563,
0.029724452644586563,
-0.04077247902750969,
0.010362221859395504,
0.03199794143438339,
-0.024538643658161163,
-0.017492707818746567,
0.04847603291273117,
-0.03528604283928871,
0.012288111262023449,
-0.013725481927394867,
0.0011995704844594002,
0.0363006591796875,
0.027751589193940163,
0.035849716514348984,
-0.06673909723758698,
-0.028315264731645584,
-0.014881014823913574,
0.01260752696543932,
0.015106485225260258,
-0.05418793857097626,
0.04994158819317818,
-0.02081838995218277,
0.01729542203247547,
-0.02183300442993641,
0.07350319623947144,
0.03941965848207474,
-0.03956997022032738,
0.0730898305773735,
-0.026417559012770653,
-0.010080385021865368,
-0.03934450075030327,
0.02224636636674404,
0.004683198407292366,
-0.026455137878656387,
-0.018638847395777702,
-0.02575993910431862,
-0.06621300429105759,
0.04539461061358452,
0.01908039301633835,
-0.0037883645854890347,
0.023129455745220184,
0.05835913121700287,
0.006247395649552345,
-0.03660128638148308,
0.00687683280557394,
0.03306892141699791,
-0.0785386934876442,
-0.0038987507577985525,
0.005885704420506954,
0.021569956094026566,
-0.011010448448359966,
-0.05257207155227661,
-0.007421718444675207,
0.0049180625937879086,
0.007952512241899967,
0.03725890442728996,
-0.061252664774656296,
-0.052759964019060135,
0.01579228974878788,
0.012776629067957401,
0.006449379492551088,
0.04171193763613701,
-0.049603383988142014,
-0.03064512088894844,
0.022039685398340225,
-0.017088741064071655,
-0.0014408937422558665,
0.07004599273204803,
-0.04674743115901947,
0.08410028368234634,
0.006458773743361235,
-0.028221318498253822,
-0.0008390534203499556,
0.022528203204274178,
-0.011592911556363106,
0.007788106799125671,
-0.01862945221364498,
0.012062640860676765,
0.034684788435697556,
0.0334634929895401,
0.05403762683272362,
-0.023862233385443687,
-0.0810188576579094,
-0.0017790986457839608,
-0.0037766213063150644,
0.05020463839173317,
0.07290194183588028,
0.035943664610385895,
-0.03757832199335098,
-0.012447819113731384,
0.044981248676776886,
0.028033427894115448,
0.00420172605663538,
0.030438439920544624,
-0.033425915986299515,
0.03716496005654335,
-0.018432166427373886,
-0.0073935347609221935,
0.04738626256585121,
0.009342909790575504,
0.0392693467438221,
0.01728602685034275,
-0.022096052765846252,
-0.027714012190699577,
0.030062656849622726,
0.006496352143585682,
0.01375366561114788,
0.018018804490566254,
0.050881046801805496,
-0.030194180086255074,
-0.04366600885987282,
0.029405036941170692,
-0.01861066371202469,
0.04979127645492554,
0.04588313028216362,
0.043102335184812546,
0.05396246910095215,
0.00033468191395513713,
-0.03289981931447983,
-0.03336954861879349,
-0.044906094670295715,
-0.00445537967607379,
-0.0029146685265004635,
0.035229675471782684,
0.04114826023578644,
0.013932162895798683,
-0.040734898298978806,
-0.05106893926858902,
-0.01398853026330471,
-0.0053267269395291805,
-0.005401883739978075,
-0.01571713201701641,
-0.010164936073124409,
-0.07485601305961609,
0.012663894332945347,
-0.031546998769044876,
-0.05741967260837555,
0.04990401118993759,
0.011217128485441208,
-0.033670175820589066,
0.04028395935893059,
0.01916494406759739,
-0.06722761690616608,
0.05460130050778389,
-0.0688810646533966,
0.014862226322293282,
0.028897728770971298,
-0.056217167526483536,
-0.02175784856081009,
-0.03250524774193764,
0.04276413097977638,
-0.03049480728805065,
0.03530483320355415,
0.009967649355530739,
0.013725481927394867,
0.05467645823955536,
0.018018804490566254,
-0.022885197773575783,
0.060463517904281616,
0.016224440187215805,
-0.005862217862159014,
0.019221311435103416,
-0.0021701480727642775,
-0.009760968387126923,
-0.0122223487123847,
-0.012522974982857704,
-0.01980377547442913,
-0.018836133182048798,
-0.011658674106001854,
-0.0002621675084810704,
-0.0111137880012393,
0.09176626056432724,
0.029987500980496407,
0.017971832305192947,
-0.051970817148685455,
-0.004875787068158388,
0.029818397015333176,
-0.001719208201393485,
0.07128607481718063,
0.040020912885665894,
0.020141979679465294,
0.009357001632452011,
-0.013584562577307224,
-0.04407937079668045,
0.06542385369539261,
-0.026699397712945938,
-0.007233826909214258,
0.024087702855467796,
0.0530981682240963,
0.016759932041168213,
0.046672273427248,
0.027413384988904,
0.0034337190445512533,
0.016994794830679893,
0.02686849981546402,
0.03911903128027916,
0.03211067616939545,
-0.0664384737610817,
0.021870583295822144,
-0.002524793380871415,
-0.02970566228032112,
0.06350736320018768,
-0.001489040907472372,
0.002075027907267213,
-0.06275579333305359,
0.029048042371869087,
0.013133622705936432,
-0.019747408106923103,
-0.003377351677045226,
-0.06027562543749809,
-0.0022617452777922153,
0.04377874359488487,
-0.08860968053340912,
-0.01940920203924179,
0.07575789839029312,
-0.02027350477874279,
-0.025496890768408775,
-0.06997083127498627,
-0.017643021419644356,
-0.014956171624362469,
0.056442636996507645,
-0.05516497418284416,
0.009920677170157433,
0.012739051133394241,
-0.03660128638148308,
-0.0207432322204113,
-0.0015829867916181684,
-0.03489147126674652,
0.01559500303119421,
-0.03447810932993889,
0.041749514639377594,
0.03832988813519478,
0.08943640440702438,
0.031302742660045624,
0.019935298711061478,
-0.011705647222697735,
0.027225494384765625,
0.06929442286491394,
0.01744573563337326,
-0.009854914620518684,
0.008506792597472668,
-0.028935307636857033,
0.03244888037443161,
0.05734451860189438,
0.01995408907532692,
0.01379124354571104,
0.00950261764228344,
-0.011245312169194221,
0.025027161464095116,
-0.016853876411914825,
-0.024219227954745293,
0.04524429887533188,
-0.05035495012998581,
-0.07613367587327957,
-0.021081438288092613,
-0.04640922695398331,
0.013396671041846275,
-0.00742641557008028,
-0.009845520369708538,
0.010183724574744701,
-0.03412111476063728,
-0.02435075119137764,
0.007478085812181234,
-0.02365555241703987,
-0.037672266364097595,
0.014843436889350414,
0.014336129650473595,
-0.010831951163709164,
0.02412528172135353,
0.036093976348638535,
0.0432150699198246,
-0.014749490655958652,
-0.05516497418284416,
0.006754703354090452,
0.07293952256441116,
-0.00344781088642776,
0.016224440187215805,
0.005509921349585056,
-0.017643021419644356,
-0.029405036941170692,
-0.035943664610385895,
-0.01650627702474594,
0.04524429887533188,
0.002590555464848876,
-0.0033984894398599863,
0.011376836337149143,
-0.011451993137598038,
0.04761173203587532
]
|
37,130 | youtube_transcript_api._transcripts | __init__ |
You probably don't want to initialize this directly. Usually you'll access Transcript objects using a
TranscriptList.
:param http_client: http client which is used to make the transcript retrieving http calls
:type http_client: requests.Session
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param url: the url which needs to be called to fetch the transcript
:param language: the name of the language this transcript uses
:param language_code:
:param is_generated:
:param translation_languages:
| def __init__(self, http_client, video_id, url, language, language_code, is_generated, translation_languages):
"""
You probably don't want to initialize this directly. Usually you'll access Transcript objects using a
TranscriptList.
:param http_client: http client which is used to make the transcript retrieving http calls
:type http_client: requests.Session
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param url: the url which needs to be called to fetch the transcript
:param language: the name of the language this transcript uses
:param language_code:
:param is_generated:
:param translation_languages:
"""
self._http_client = http_client
self.video_id = video_id
self._url = url
self.language = language
self.language_code = language_code
self.is_generated = is_generated
self.translation_languages = translation_languages
self._translation_languages_dict = {
translation_language['language_code']: translation_language['language']
for translation_language in translation_languages
}
| (self, http_client, video_id, url, language, language_code, is_generated, translation_languages) | [
-0.016431111842393875,
-0.029041917994618416,
-0.07845879346132278,
-0.005825489293783903,
-0.050671305507421494,
-0.015604328364133835,
-0.03694861754775047,
0.052381888031959534,
0.03694861754775047,
0.030600449070334435,
-0.01859785057604313,
0.07655814290046692,
-0.035884253680706024,
0.015262211672961712,
-0.04747821390628815,
0.017333919182419777,
-0.009902381338179111,
0.03934343531727791,
-0.01646912470459938,
-0.07439140230417252,
-0.015737373381853104,
0.032101962715387344,
-0.04265056550502777,
0.06439398974180222,
0.00966004841029644,
0.0257157813757658,
-0.0035803476348519325,
-0.023815132677555084,
0.0037347753532230854,
-0.0003857723786495626,
0.011033267714083195,
0.003506697481498122,
0.00085944973398,
0.056031133979558945,
-0.04907475784420967,
0.00605356739833951,
-0.03658749535679817,
-0.0292890015989542,
-0.10179876536130905,
0.03561816364526749,
-0.027844509109854698,
0.011327868327498436,
0.04614776000380516,
0.0033285117242485285,
-0.0013304543681442738,
0.02856675535440445,
-0.05542292818427086,
0.003589850850403309,
-0.03449678048491478,
-0.030182307586073875,
0.02651405520737171,
0.025487704202532768,
0.03027733974158764,
-0.04945489019155502,
-0.09206744283437729,
0.06564842164516449,
-0.012259186245501041,
0.10560005903244019,
-0.01610800065100193,
0.018056165426969528,
-0.019358111545443535,
0.013390072621405125,
0.0146445007994771,
0.041814278811216354,
0.028737813234329224,
0.02162938565015793,
-0.026228956878185272,
-0.03964753821492195,
0.024803470820188522,
0.038602180778980255,
0.06766310334205627,
0.03864019364118576,
-0.017362428829073906,
-0.009032834321260452,
0.06621861457824707,
0.006908859126269817,
-0.09488040208816528,
-0.014948604628443718,
-0.04470326751470566,
0.04192831739783287,
0.012791368179023266,
0.0018958974396809936,
0.01735292561352253,
-0.003095682244747877,
0.06671278178691864,
-0.040103696286678314,
0.011936075985431671,
-0.07553179562091827,
-0.051963746547698975,
0.03613133728504181,
-0.07534173130989075,
0.0014409295981749892,
-0.03827907145023346,
-0.01318100094795227,
-0.009835858829319477,
-0.020108867436647415,
0.010415556840598583,
-0.07480954378843307,
-0.054890744388103485,
-0.01991880126297474,
0.009028082713484764,
0.052381888031959534,
-0.025696774944663048,
-0.044817306101322174,
0.044399160891771317,
-0.054966770112514496,
-0.0471360981464386,
-0.02600087970495224,
0.040331773459911346,
0.011204326525330544,
-0.021268263459205627,
-0.006571494042873383,
0.012278192676603794,
0.06435597687959671,
0.04036978632211685,
-0.06922163814306259,
-0.008044497109949589,
0.020298931747674942,
-0.023111892864108086,
-0.008728730492293835,
0.045539550483226776,
0.002001621061936021,
-0.03759483993053436,
0.05527087301015854,
0.006015554070472717,
-0.024955522269010544,
0.03250109776854515,
-0.002549245487898588,
0.02913695015013218,
-0.08187995851039886,
0.02470843866467476,
-0.03941946104168892,
0.0024993536062538624,
0.01171750109642744,
0.016621176153421402,
-0.0031384467147290707,
0.009246657602488995,
0.020679062232375145,
-0.05154560133814812,
0.029517080634832382,
-0.0029103688430041075,
0.023054873570799828,
0.030828528106212616,
-0.00521253002807498,
-0.05827390030026436,
-0.002167927799746394,
-0.03580822795629501,
-0.054966770112514496,
-0.03784192353487015,
-0.03719570115208626,
0.03130368888378143,
-0.07020998001098633,
-0.03244407847523689,
-0.00210378086194396,
-0.037309739738702774,
-0.030581442639231682,
-0.02128726989030838,
-0.014920094981789589,
0.002412636298686266,
0.0428406298160553,
0.03343241661787033,
0.006923114415258169,
-0.01357063464820385,
0.015347741544246674,
0.014444933272898197,
-0.028300665318965912,
0.04379095509648323,
-0.04272659122943878,
-0.04591968283057213,
0.02584882639348507,
0.006129593122750521,
0.008914044126868248,
-0.04371492937207222,
-0.006006050854921341,
0.013580137863755226,
0.02877582609653473,
0.055460941046476364,
0.023396989330649376,
-0.01913953572511673,
0.047402188181877136,
-0.023682087659835815,
0.00318833882920444,
-0.04398101940751076,
0.02649504877626896,
0.057095497846603394,
0.015613832511007786,
0.05078534409403801,
0.07511365413665771,
0.029174963012337685,
0.003656373592093587,
-0.0032263516914099455,
-0.026095911860466003,
0.009864368475973606,
0.002808209042996168,
-0.034686844795942307,
-0.0018258109921589494,
0.016773227602243423,
-0.02491750940680504,
-0.05291406810283661,
0.03348943591117859,
-0.011660481803119183,
0.004639959428459406,
0.030676476657390594,
-0.029954228550195694,
0.009797845967113972,
0.02193349041044712,
-0.015395257622003555,
0.006466958671808243,
-0.04899873211979866,
-0.05390240624547005,
-0.0009140933980233967,
-0.02400519698858261,
0.0421563945710659,
-0.019462646916508675,
0.02372010052204132,
-0.06416591256856918,
-0.01993780955672264,
0.001338769681751728,
0.032044943422079086,
0.0017592882504686713,
0.07454345375299454,
-0.01810368150472641,
-0.020108867436647415,
-0.058387938886880875,
0.04170024022459984,
0.003656373592093587,
0.03527604788541794,
-0.017257893458008766,
-0.08552920818328857,
-0.011727004311978817,
0.008438881486654282,
-0.007260479498654604,
0.0034164167009294033,
0.020831113681197166,
0.01587042026221752,
-0.01877841353416443,
-0.0043881237506866455,
-0.004205185920000076,
-0.04166222736239433,
-0.01597495563328266,
0.03548511862754822,
0.003523328108713031,
0.020831113681197166,
0.05230586230754852,
-0.05268599092960358,
0.06161904335021973,
0.0019885541405528784,
0.029193969443440437,
-0.026552068069577217,
-0.024328308179974556,
0.03523803502321243,
-0.029231982305645943,
-0.046603914350271225,
0.006695036310702562,
0.01114730630069971,
0.0044974107295274734,
0.0217814389616251,
-0.027369346469640732,
0.009740826673805714,
-0.009712317027151585,
-0.017752062529325485,
-0.03892529383301735,
-0.0607067309319973,
0.08765793591737747,
-0.014929598197340965,
-0.019614698365330696,
0.0027084248140454292,
0.04177626594901085,
-0.039609525352716446,
-0.008386613801121712,
0.11153008788824081,
0.052381888031959534,
-0.01735292561352253,
-0.025810813531279564,
-0.011974088847637177,
-0.03915337100625038,
-0.010919229127466679,
-0.033907581120729446,
-0.07838276773691177,
-0.006913611199706793,
0.04515942186117172,
0.012696336023509502,
0.054966770112514496,
0.012487264350056648,
0.0643179640173912,
-0.07830674201250076,
-0.008790502324700356,
0.04629981145262718,
-0.05454862862825394,
0.0025278632529079914,
-0.026590080931782722,
0.029745157808065414,
0.054472602903842926,
-0.0003697356441989541,
0.017153358086943626,
0.01753348670899868,
-0.03892529383301735,
0.02056502364575863,
0.03130368888378143,
-0.028167618438601494,
0.004898922983556986,
0.006139096338301897,
0.06887952238321304,
0.010044930502772331,
-0.1078048124909401,
-0.004174300469458103,
-0.021819451823830605,
0.0210591908544302,
0.04166222736239433,
-0.013798711821436882,
0.033812545239925385,
0.027825502678751945,
0.017552495002746582,
0.046185772866010666,
-0.030942566692829132,
0.014596984721720219,
0.02577280066907406,
-0.0342877097427845,
0.015233702026307583,
0.06838535517454147,
-0.01567085087299347,
-0.023111892864108086,
0.07967520505189896,
-0.0010708969784900546,
0.08659356832504272,
-0.060402628034353256,
0.0010417932644486427,
-0.033318378031253815,
0.021895477548241615,
-0.00975032988935709,
-0.05823588743805885,
0.020317938178777695,
-0.019196555018424988,
-0.018198715522885323,
-0.03964753821492195,
-0.016250548884272575,
-0.035599157214164734,
-0.029327014461159706,
0.03968555107712746,
-0.01396977063268423,
0.021762432530522346,
-0.05394041910767555,
-0.00605356739833951,
0.038241058588027954,
0.02698921598494053,
-0.011042770929634571,
-0.03544710576534271,
-0.023035867139697075,
0.022750768810510635,
-0.04899873211979866,
-0.02064104937016964,
-0.004594819154590368,
0.06264539062976837,
0.06393783539533615,
0.0036848834715783596,
-0.05405445769429207,
0.017362428829073906,
-0.040331773459911346,
-0.002805833239108324,
-0.013922254554927349,
-0.0021512971725314856,
0.01932009682059288,
-0.019481653347611427,
0.026552068069577217,
-0.04348685219883919,
-0.02335897646844387,
0.034895915538072586,
-0.04744020104408264,
0.01740044169127941,
0.011099790222942829,
-0.0026609087362885475,
-0.026590080931782722,
-0.006818578578531742,
0.03213997557759285,
0.019557679072022438,
-0.06568643450737,
-0.009731323458254337,
-0.0018281867960467935,
-0.024195263162255287,
0.0098263556137681,
-0.0007442228961735964,
0.005668685771524906,
0.014663507230579853,
0.03128468245267868,
-0.018683379516005516,
-0.041814278811216354,
0.026247963309288025,
0.012639316730201244,
0.03187388554215431,
0.05337022617459297,
0.003948598634451628,
-0.014273874461650848,
-0.0054643661715090275,
-0.035104990005493164,
0.0023971935734152794,
-0.038963306695222855,
-0.02079310081899166,
0.007607347797602415,
0.021306276321411133,
-0.03772788494825363,
0.02206653542816639,
-0.015803897753357887,
-0.011014261282980442,
0.060820769518613815,
0.0073792701587080956,
0.025164593011140823,
0.07534173130989075,
0.06519225984811783,
0.02199050970375538,
-0.03293824940919876,
-0.03014429472386837,
-0.04474128037691116,
-0.04306870698928833,
-0.045539550483226776,
-0.05694344639778137,
0.027027228847146034,
-0.06621861457824707,
0.04276460409164429,
-0.027179282158613205,
-0.004820520989596844,
-0.0003792388888541609,
0.04823847487568855,
0.021192237734794617,
0.005564149934798479,
0.005735208746045828,
-0.0012758106458932161,
0.011375384405255318,
-0.030733495950698853,
0.009389206767082214,
-0.06637066602706909,
0.009042337536811829,
0.014254868030548096,
-0.0021120961755514145,
-0.04770629107952118,
0.058539990335702896,
0.05462465435266495,
-0.04413307085633278,
0.0012271065497770905,
-0.02263673022389412,
0.05508080869913101,
0.003121816087514162,
-0.011907566338777542,
0.002858100924640894,
-0.000796490756329149,
0.01706782914698124,
-0.04420909658074379,
-0.060326602309942245,
-0.022674743086099625,
0.009603029116988182,
-0.018018152564764023,
-0.015195689164102077,
0.11031366884708405,
0.024841483682394028,
-0.04093997925519943,
0.030676476657390594,
-0.029117943719029427,
0.013741692528128624,
0.028319671750068665,
-0.012154650874435902,
-0.024252282455563545,
0.005426353309303522,
0.027977554127573967,
0.04534948617219925,
-0.018455302342772484,
0.013085968792438507,
0.03635941818356514,
-0.007108427584171295,
-0.002410260494798422,
-0.03307129442691803,
-0.028452716767787933,
0.0041552940383553505,
0.05093739554286003,
-0.015309727750718594,
-0.004932184237986803,
0.021591372787952423,
-0.01421685516834259,
0.005892012268304825,
-0.07990328967571259,
-0.03240606561303139,
0.009408213198184967,
0.011280352249741554,
-0.03499094769358635,
0.025544723495841026,
0.02750239148736,
-0.033603474497795105,
-0.011403894051909447,
-0.0009063720353879035,
-0.043106719851493835,
0.007901948876678944,
0.001625054981559515,
0.006809075362980366,
0.06758707761764526,
0.0068565914407372475,
0.030581442639231682,
-0.026837164536118507,
-0.0022403900511562824,
-0.004148166626691818,
0.03183587267994881,
0.020412970334291458,
-0.03884926810860634,
0.04105402156710625,
-0.012050115503370762,
0.002706049010157585,
-0.046451862901449203,
0.05907217413187027,
-0.0014908215962350368,
-0.04272659122943878,
0.0264190211892128,
-0.04238447546958923,
0.0010037802858278155,
-0.015936942771077156,
0.010368040762841702,
-0.00996890477836132,
-0.0314367339015007,
-0.002287906361743808,
-0.004563933704048395,
-0.07750847190618515,
0.02949807420372963,
0.005873005837202072,
0.03120865672826767,
0.042612552642822266,
0.0671689361333847,
0.03048641048371792,
-0.04135812446475029,
0.003858317621052265,
-0.00012621497444342822,
-0.07469550520181656,
-0.00930842850357294,
0.024803470820188522,
0.03615034371614456,
-0.030258333310484886,
-0.07302293926477432,
-0.03864019364118576,
0.010539098642766476,
0.006044064182788134,
0.04565358906984329,
-0.05241990089416504,
-0.03615034371614456,
0.01688726618885994,
0.021458327770233154,
0.00006537193257827312,
0.019728736951947212,
-0.05048123747110367,
-0.054966770112514496,
0.012164154089987278,
-0.018008649349212646,
-0.010767176747322083,
0.07112228870391846,
-0.03748080134391785,
0.05941428989171982,
0.04200434312224388,
-0.04177626594901085,
-0.01496761105954647,
0.00888078287243843,
-0.027388352900743484,
0.020603036507964134,
-0.012135644443333149,
-0.030733495950698853,
0.034895915538072586,
0.036891598254442215,
0.05549895390868187,
-0.016298064962029457,
-0.07678622007369995,
0.001592981512658298,
-0.01838877983391285,
0.029973234981298447,
0.05762767791748047,
0.0173244159668684,
-0.02615293115377426,
0.016374092549085617,
0.05671536922454834,
0.006419442128390074,
0.00528380461037159,
0.07480954378843307,
-0.05249592661857605,
0.013532621785998344,
-0.018379276618361473,
0.007550328504294157,
0.049606941640377045,
0.000988337560556829,
0.04329678416252136,
0.01813219115138054,
-0.007236721459776163,
-0.01709633879363537,
0.013817718252539635,
0.01025400124490261,
0.04694603011012077,
0.018170205876231194,
0.048884693533182144,
-0.04979700595140457,
-0.04113004729151726,
0.03316632658243179,
-0.02229461260139942,
0.04884668067097664,
0.03250109776854515,
0.028965892270207405,
0.060022495687007904,
-0.029840189963579178,
-0.03694861754775047,
-0.019101522862911224,
-0.03394559398293495,
0.03398360684514046,
-0.003974732477217913,
0.04379095509648323,
0.043182745575904846,
-0.0037989222910255194,
-0.06659874320030212,
-0.017495473846793175,
-0.01628856174647808,
0.011822037398815155,
0.008424626663327217,
-0.010662641376256943,
-0.009370200335979462,
-0.06454604119062424,
0.0015882299048826098,
-0.025316646322607994,
-0.06781516224145889,
0.07454345375299454,
0.015832407400012016,
-0.03335639089345932,
0.017657030373811722,
-0.00020966534793842584,
-0.03542809933423996,
0.05827390030026436,
-0.09412014484405518,
-0.006509723141789436,
0.029117943719029427,
-0.08560523390769958,
-0.029022911563515663,
-0.01025400124490261,
0.06367174535989761,
-0.036245375871658325,
0.021534353494644165,
-0.007996981032192707,
0.03449678048491478,
0.04128209874033928,
0.03597928583621979,
-0.033185333013534546,
0.07883892208337784,
0.030904553830623627,
-0.02421426959335804,
0.047744303941726685,
0.005516633857041597,
-0.010548601858317852,
-0.02022290602326393,
0.01128985546529293,
-0.037670865654945374,
-0.020298931747674942,
0.01699180342257023,
0.001180184306576848,
-0.012031108140945435,
0.09237154573202133,
0.027730470523238182,
0.03050541691482067,
-0.04052183777093887,
0.0016452493146061897,
-0.009061343967914581,
0.03651146963238716,
0.07408729940652847,
0.011365881189703941,
0.011128299869596958,
-0.007640609052032232,
0.010938235558569431,
-0.045045383274555206,
0.042954668402671814,
-0.021173231303691864,
-0.003338014939799905,
-0.029897209256887436,
0.030904553830623627,
0.024765457957983017,
0.02237064018845558,
0.035675182938575745,
0.011327868327498436,
0.022769775241613388,
0.023682087659835815,
0.018379276618361473,
0.004993955604732037,
-0.06291148066520691,
0.03820304572582245,
-0.0013506487011909485,
-0.03691060468554497,
0.0642419382929802,
-0.00037359632551670074,
-0.01721988059580326,
-0.07245273888111115,
0.03250109776854515,
-0.013846228830516338,
0.03784192353487015,
-0.024385327473282814,
-0.07313697785139084,
-0.024461353197693825,
0.032311033457517624,
-0.07678622007369995,
0.0012853139778599143,
0.052876055240631104,
-0.011166313663125038,
-0.0253546591848135,
-0.08552920818328857,
-0.024461353197693825,
0.010168472304940224,
0.029041917994618416,
-0.03656848892569542,
-0.020374957472085953,
0.02020389959216118,
-0.033888570964336395,
-0.022655736654996872,
0.015813400968909264,
-0.03635941818356514,
-0.004516417160630226,
-0.034895915538072586,
0.02936502732336521,
0.007901948876678944,
0.08195598423480988,
-0.003338014939799905,
0.010577112436294556,
0.010691151022911072,
0.02586783468723297,
0.051469575613737106,
0.005136504303663969,
-0.034249696880578995,
0.018141696229577065,
-0.048162445425987244,
0.02957409992814064,
0.05390240624547005,
0.06397584825754166,
-0.012173657305538654,
-0.01587042026221752,
0.004335855599492788,
0.033185333013534546,
-0.036397431045770645,
0.0038250561337918043,
0.019519666209816933,
-0.061390966176986694,
-0.07032401859760284,
-0.023187918588519096,
-0.054472602903842926,
0.024461353197693825,
-0.004932184237986803,
0.0146445007994771,
0.03343241661787033,
-0.04101600497961044,
-0.0031123128719627857,
0.007555080112069845,
-0.009679055772721767,
-0.052533939480781555,
0.01706782914698124,
0.011384887620806694,
-0.03719570115208626,
0.04747821390628815,
0.014235861599445343,
0.0321209691464901,
0.00040210605948232114,
-0.035257041454315186,
0.022161567583680153,
0.06298750638961792,
-0.012373225763440132,
0.016022471711039543,
0.03561816364526749,
-0.010909725911915302,
-0.03556114435195923,
-0.06222724914550781,
-0.015091153793036938,
0.05774172022938728,
-0.017105842009186745,
0.012420741841197014,
0.039381448179483414,
0.026761138811707497,
0.023701094090938568
]
|
37,131 | youtube_transcript_api._transcripts | __str__ | null | def __str__(self):
return '{language_code} ("{language}"){translation_description}'.format(
language=self.language,
language_code=self.language_code,
translation_description='[TRANSLATABLE]' if self.is_translatable else ''
)
| (self) | [
0.013965212740004063,
-0.04725835472345352,
0.0561562180519104,
-0.016743486747145653,
0.027099711820483208,
-0.06265424191951752,
0.0067472378723323345,
-0.04807060584425926,
0.04962127283215523,
-0.0657924935221672,
-0.023887621238827705,
-0.0014560557901859283,
-0.03173324465751648,
-0.022890765219926834,
-0.010337765328586102,
0.005445786751806736,
-0.03426230698823929,
-0.08572960644960403,
0.018137238919734955,
-0.0017191149527207017,
0.036237556487321854,
0.0010862729977816343,
0.013697538524866104,
-0.03614525869488716,
0.022687701508402824,
0.024109145626425743,
-0.005653465166687965,
-0.05442094802856445,
-0.012894515879452229,
-0.05486399680376053,
-0.010688510723412037,
0.0010620438260957599,
-0.014426720328629017,
0.0053350250236690044,
-0.03343159332871437,
0.04094493389129639,
-0.04810752719640732,
-0.02959185279905796,
-0.02191236987709999,
-0.02191236987709999,
0.010125471279025078,
-0.000826098199468106,
-0.024293746799230576,
-0.012912975624203682,
-0.03322853147983551,
-0.023887621238827705,
-0.01727883517742157,
0.034188464283943176,
-0.0109100341796875,
0.022281575947999954,
0.0826282799243927,
0.025789031758904457,
-0.02049092762172222,
-0.033985402435064316,
-0.11253395676612854,
-0.022890765219926834,
0.013522165827453136,
0.007771783974021673,
0.018543366342782974,
0.002630592091009021,
-0.018866421654820442,
0.027210474014282227,
-0.013725228607654572,
0.023684557527303696,
-0.008450199849903584,
-0.014020593836903572,
0.013762149959802628,
0.007961002178490162,
0.05589777231216431,
0.04393550008535385,
0.044600073248147964,
-0.03771438077092171,
0.007231820374727249,
0.014620553702116013,
0.0050165848806500435,
-0.015783552080392838,
-0.03557298704981804,
-0.023167669773101807,
-0.002064091619104147,
-0.04493235796689987,
-0.019457150250673294,
-0.0669001042842865,
0.004065880086272955,
-0.011888429522514343,
0.016420431435108185,
-0.08218523114919662,
0.007033372297883034,
-0.040871091187000275,
-0.025789031758904457,
-0.03747439756989479,
-0.012488389387726784,
-0.019678674638271332,
-0.009488590992987156,
0.06774928420782089,
-0.02231849543750286,
-0.013808300718665123,
0.016134297475218773,
-0.042975567281246185,
0.014094434678554535,
0.008117914199829102,
0.0785670131444931,
-0.029868757352232933,
-0.008325592614710331,
-0.05405174195766449,
0.04836597293615341,
-0.04434162750840187,
-0.04149874299764633,
0.008814790286123753,
0.01561740878969431,
-0.006345726083964109,
-0.03751131892204285,
0.012543770484626293,
-0.009202457033097744,
-0.029536470770835876,
-0.002695203060284257,
-0.01081773266196251,
-0.06981683522462845,
0.04526464268565178,
-0.01958637312054634,
0.012829904444515705,
0.035720668733119965,
-0.015220512636005878,
-0.048255208879709244,
-0.04131413996219635,
-0.008062534034252167,
0.04766448214650154,
-0.0011791513534262776,
-0.031050216406583786,
0.06774928420782089,
-0.10566672682762146,
0.02324151061475277,
0.008320977911353111,
0.00964550394564867,
-0.022687701508402824,
0.059774432331323624,
-0.021801607683300972,
0.020361704751849174,
0.05301796644926071,
0.03141942247748375,
0.18283075094223022,
0.00783639494329691,
-0.014657474122941494,
-0.005593469366431236,
0.009682424366474152,
0.020454006269574165,
-0.03132712095975876,
0.007910235784947872,
0.10551904141902924,
-0.019752515479922295,
-0.06568172574043274,
0.04098185524344444,
0.026988951489329338,
0.0035351463593542576,
0.006867229472845793,
-0.013568316586315632,
0.01857105642557144,
-0.01748189888894558,
0.0058888341300189495,
-0.007513340096920729,
-0.000008022296242415905,
0.04327093064785004,
-0.018534135073423386,
-0.037622079253196716,
0.03946810960769653,
0.017971096560359,
0.014611323364078999,
0.02375839836895466,
-0.017961867153644562,
0.01786956563591957,
0.03164094313979149,
-0.04208947345614433,
-0.057633038610219955,
0.016309671103954315,
0.06686318665742874,
-0.020657069981098175,
0.10116241127252579,
0.02514292113482952,
0.04142490029335022,
0.007970232516527176,
-0.039763472974300385,
0.0053304098546504974,
0.029961058869957924,
-0.04563384875655174,
0.02261386066675186,
0.0622481144964695,
-0.028650376945734024,
0.016494274139404297,
0.0025913638528436422,
0.02687818929553032,
-0.012562230229377747,
0.013752919621765614,
0.005690385587513447,
-0.008851711638271809,
0.004845827352255583,
-0.07745939493179321,
-0.000148547682329081,
0.05264876037836075,
-0.092522993683815,
0.010900803841650486,
0.016623495146632195,
0.005441172048449516,
0.03195476904511452,
0.0274873785674572,
0.0494735911488533,
-0.018820270895957947,
0.00849173590540886,
0.008016383275389671,
0.013051427900791168,
-0.01991865783929825,
-0.033690039068460464,
0.036329858005046844,
0.002976722549647093,
-0.03123481757938862,
0.011371541768312454,
0.031456343829631805,
-0.010808502323925495,
-0.044710833579301834,
0.006678011734038591,
-0.04729527607560158,
0.03140095993876457,
0.01667887531220913,
-0.05796532332897186,
0.0058842189610004425,
-0.0741734653711319,
0.022558480501174927,
-0.00515503715723753,
0.06623553484678268,
-0.04382473975419998,
-0.03629294037818909,
0.03265625983476639,
-0.021838529035449028,
-0.05822376906871796,
-0.021746227517724037,
0.006701087113469839,
0.04434162750840187,
0.021598543971776962,
-0.03352389484643936,
-0.012211484834551811,
-0.03756669908761978,
0.017020391300320625,
-0.0007632178021594882,
-0.029776455834507942,
0.006705701816827059,
0.00739796319976449,
0.01705731265246868,
-0.02525368332862854,
-0.012599150650203228,
0.018229540437459946,
0.01749112829566002,
-0.025013700127601624,
0.019752515479922295,
-0.0005595776601694524,
-0.020121721550822258,
0.009830106981098652,
0.005473477300256491,
-0.05840837210416794,
0.029259566217660904,
-0.014408259652554989,
0.0020837057381868362,
-0.033376213163137436,
-0.06786004453897476,
-0.033911559730768204,
-0.09569817036390305,
0.03516685962677002,
0.015432806685566902,
-0.005782687105238438,
-0.00979318656027317,
0.022392338141798973,
0.020878592506051064,
-0.024792175740003586,
0.14672242105007172,
0.013346793130040169,
-0.07613025605678558,
0.008330208249390125,
0.016106607392430305,
0.005395021289587021,
0.02464449405670166,
0.009183996357023716,
-0.09518127888441086,
-0.029961058869957924,
0.04784908518195152,
-0.003597449976950884,
0.028410393744707108,
0.001247223699465394,
0.02536444552242756,
-0.054790154099464417,
0.0042435601353645325,
-0.025585968047380447,
0.008777869865298271,
0.0663093775510788,
0.050655048340559006,
0.06678934395313263,
0.005515012890100479,
0.040871091187000275,
0.04596613347530365,
-0.015728171914815903,
0.02687818929553032,
0.03341313451528549,
0.01055005844682455,
-0.04231099411845207,
-0.054014820605516434,
0.05213187262415886,
0.11748131364583969,
-0.015931233763694763,
-0.09097233414649963,
-0.009239377453923225,
-0.004651994444429874,
-0.0186910480260849,
0.030367184430360794,
0.01161152496933937,
-0.014509791508316994,
0.017048081383109093,
0.07657330483198166,
0.03512994199991226,
-0.021543163806200027,
0.05323949083685875,
-0.011980731040239334,
-0.007259510923177004,
0.042790964245796204,
0.021746227517724037,
-0.0031359426211565733,
-0.016291210427880287,
-0.02900112234055996,
-0.0035512992180883884,
0.034409988671541214,
-0.07121981680393219,
-0.012839134782552719,
-0.013171420432627201,
0.07373041659593582,
-0.029628772288560867,
0.02082321234047413,
-0.052685681730508804,
0.0055750091560184956,
-0.056820787489414215,
-0.009913178160786629,
0.004393550101667643,
0.01646658219397068,
0.012636072002351284,
-0.025198301300406456,
-0.0029559547547250986,
0.06438950449228287,
0.004326631780713797,
-0.03346851468086243,
0.02564135007560253,
-0.0014883612748235464,
0.036735985428094864,
-0.0648694783449173,
-0.008122529834508896,
0.002089474583044648,
-0.041978709399700165,
-0.061989668756723404,
-0.04533848538994789,
0.06302344799041748,
0.02829963155090809,
-0.0017294988501816988,
-0.03461305424571037,
-0.002953647170215845,
0.05010123923420906,
-0.018921801820397377,
0.04164642468094826,
-0.011648446321487427,
-0.024607572704553604,
0.013411403633654118,
0.04880901798605919,
0.020343244075775146,
-0.005505783017724752,
0.014712855219841003,
0.032785482704639435,
-0.007637946866452694,
-0.01474054530262947,
-0.01115924771875143,
0.008487120270729065,
0.017555739730596542,
0.006239579524844885,
-0.011500763706862926,
0.018626436591148376,
0.027155093848705292,
0.009673194028437138,
-0.04755371809005737,
-0.0494735911488533,
0.03706827014684677,
-0.01434364914894104,
0.0014399029314517975,
0.0767948254942894,
-0.0033136229030787945,
0.03769592195749283,
0.02890882082283497,
0.0015056678093969822,
-0.003941272851079702,
-0.011823819018900394,
-0.030994834378361702,
-0.025124460458755493,
-0.0009853182127699256,
-0.008653263561427593,
-0.037345174700021744,
-0.032582420855760574,
-0.019438689574599266,
0.00034959183540195227,
-0.0306994691491127,
-0.031050216406583786,
0.0017583430744707584,
-0.04677838832139969,
-0.01726960577070713,
-0.028705758973956108,
-0.04655686393380165,
0.01888488046824932,
0.037732843309640884,
0.051578063517808914,
-0.02636130154132843,
0.033893100917339325,
-0.05069196969270706,
-0.03160402551293373,
-0.04699990898370743,
-0.02656436339020729,
-0.0029374943114817142,
0.02543828636407852,
-0.006068821996450424,
0.053387172520160675,
-0.05202110856771469,
-0.008417894132435322,
-0.03799128532409668,
0.024422969669103622,
0.05010123923420906,
0.013799070380628109,
-0.0013060658238828182,
0.0205093864351511,
0.0024990623351186514,
-0.005164267495274544,
0.05586085096001625,
-0.02656436339020729,
0.008274827152490616,
-0.05021199956536293,
0.01798955723643303,
0.004061264917254448,
0.04644609987735748,
-0.06830309331417084,
0.03861893713474274,
-0.010863883420825005,
-0.030459485948085785,
0.01085465308278799,
0.029850296676158905,
-0.04563384875655174,
0.018008017912507057,
0.04659378528594971,
-0.05667310580611229,
-0.0018667973345145583,
-0.043787818402051926,
-0.026748966425657272,
0.008879401721060276,
0.017537279054522514,
0.03282240405678749,
0.07321352511644363,
-0.008828636258840561,
-0.02303844690322876,
0.04334477335214615,
-0.07373041659593582,
-0.02322304993867874,
-0.0549747571349144,
-0.018607977777719498,
0.02132163941860199,
-0.03101329505443573,
0.06010672077536583,
-0.0026167468167841434,
0.06250655651092529,
0.039061982184648514,
-0.05371945723891258,
-0.03140095993876457,
-0.00235945638269186,
-0.05678386613726616,
-0.011897659860551357,
-0.004677377175539732,
0.007864085957407951,
-0.039025064557790756,
0.019678674638271332,
-0.027210474014282227,
0.004933513700962067,
-0.027819663286209106,
-0.03112405724823475,
-0.06881997734308243,
-0.004905823152512312,
-0.02658282406628132,
-0.03365311771631241,
-0.03998499736189842,
0.022983066737651825,
-0.009225532412528992,
0.018820270895957947,
0.04556000605225563,
0.020564768463373184,
-0.029074963182210922,
0.026693586260080338,
0.03943118825554848,
0.04452623054385185,
0.012737602926790714,
-0.024829097092151642,
-0.02445989102125168,
0.0032582420390099287,
-0.03426230698823929,
-0.04699990898370743,
-0.04866133630275726,
0.04131413996219635,
0.015340505167841911,
-0.024607572704553604,
0.014159046113491058,
0.023979922756552696,
0.05958982929587364,
-0.02039862610399723,
-0.0034451524261385202,
0.04452623054385185,
0.0020179408602416515,
-0.02486601658165455,
0.0014387492556124926,
-0.04112953692674637,
0.05896218121051788,
-0.01878334954380989,
-0.012405318208038807,
-0.023315351456403732,
-0.018506444990634918,
0.03524070233106613,
0.02486601658165455,
0.06501715630292892,
-0.03082869201898575,
0.0068995351903140545,
-0.035720668733119965,
-0.00036891744821332395,
-0.0007055294117890298,
0.031880930066108704,
0.00037497474113479257,
-0.008579421788454056,
-0.0312901996076107,
0.0183956827968359,
-0.01500821951776743,
-0.04891978204250336,
-0.006378031801432371,
0.054494790732860565,
-0.030957914888858795,
0.08580344915390015,
-0.1088418960571289,
0.003355158492922783,
-0.027524299919605255,
0.012008422054350376,
0.00500273983925581,
-0.0058703734539449215,
-0.0277827437967062,
-0.09399981796741486,
0.005676540546119213,
-0.01515590213239193,
-0.011934580281376839,
0.023887621238827705,
0.008574807085096836,
0.021856989711523056,
-0.025844411924481392,
-0.03132712095975876,
-0.02949955128133297,
-0.015451266430318356,
0.041461821645498276,
0.031567104160785675,
-0.01495283842086792,
0.04729527607560158,
0.06464795023202896,
0.05383021757006645,
-0.003980501089245081,
0.011657675728201866,
0.00012136201257817447,
0.033376213163137436,
0.051578063517808914,
0.05467939376831055,
0.013485245406627655,
0.013162190094590187,
-0.014085204340517521,
0.015220512636005878,
0.010688510723412037,
-0.07376733422279358,
0.006230349652469158,
0.037215955555438995,
-0.04282788187265396,
0.0183956827968359,
0.0739150196313858,
0.03932042792439461,
-0.010577748529613018,
0.07568720728158951,
-0.06328188627958298,
0.028761139139533043,
-0.01561740878969431,
0.02141394093632698,
0.008090224117040634,
0.03810204938054085,
-0.013937522657215595,
0.03998499736189842,
0.0660509318113327,
-0.03706827014684677,
-0.04330785199999809,
0.006562634836882353,
0.03704981133341789,
0.01587585359811783,
0.05205802991986275,
0.0016037380555644631,
0.011740746907889843,
-0.015340505167841911,
0.01757420040667057,
0.0158573929220438,
-0.0389881432056427,
-0.0050165848806500435,
-0.004714297596365213,
0.06756468117237091,
0.03806512802839279,
0.0178880263119936,
0.02543828636407852,
-0.030847152695059776,
-0.0515042208135128,
0.04223715513944626,
-0.05442094802856445,
0.011297699995338917,
-0.040760330855846405,
-0.06128817796707153,
-0.017721882089972496,
-0.02656436339020729,
0.0041004931554198265,
0.02039862610399723,
-0.0003663214738480747,
-0.04740603640675545,
-0.041683346033096313,
0.03810204938054085,
-0.08499119430780411,
0.06003287807106972,
-0.03858201578259468,
0.03939426690340042,
0.012211484834551811,
-0.029056504368782043,
-0.010448526591062546,
-0.003251319285482168,
0.0033666961826384068,
0.01890334114432335,
-0.0064149522222578526,
-0.009830106981098652,
-0.023315351456403732,
-0.004310478921979666,
0.017140382900834084,
0.040649570524692535,
0.014823616482317448,
-0.012193024158477783,
-0.0012576075969263911,
-0.016235828399658203,
-0.024182986468076706,
0.003327468177303672,
-0.03998499736189842,
0.023463035002350807,
-0.04312324896454811,
-0.05002740025520325,
-0.03464997187256813,
-0.02828117087483406,
-0.04493235796689987,
0.03193631023168564,
-0.011297699995338917,
0.015035909600555897,
0.028133489191532135,
0.012636072002351284,
-0.027708902955055237,
0.04917822405695915,
0.025789031758904457,
-0.010762351565063,
0.04655686393380165,
-0.04891978204250336,
-0.03817588835954666,
-0.04589229077100754,
0.06878305971622467,
-0.003908967599272728,
0.005233493633568287,
-0.013817530125379562,
0.033394671976566315,
-0.013254491612315178,
-0.005639620125293732,
0.012340706773102283,
0.012654531747102737,
-0.037419017404317856,
-0.01329141203314066,
0.04818136990070343,
0.032767023891210556,
-0.0075871809385716915,
0.05154114216566086,
-0.025789031758904457,
-0.007642562035471201,
-0.0019902505446225405,
-0.0012276095803827047,
0.020546307787299156,
-0.01510052103549242,
0.08196371048688889,
-0.03404078260064125,
0.01307911891490221,
0.032083991914987564,
-0.04836597293615341,
-0.04637226089835167,
-0.04083416983485222,
-0.05534396320581436,
-0.04212639108300209,
0.10736507177352905,
-0.02586287260055542,
-0.008953242562711239,
-0.04548616707324982,
-0.0477013997733593,
0.004681992344558239,
0.037954363971948624,
0.030957914888858795,
0.008879401721060276,
0.0015275893965736032,
-0.005445786751806736,
-0.028244251385331154,
0.039025064557790756,
-0.04504311829805374,
-0.009811646305024624,
-0.019734054803848267,
0.06243271753191948,
0.037843603640794754,
-0.017444977536797523,
-0.02041708491742611,
0.000005309137577569345,
-0.06453718990087509,
0.0041581811383366585,
0.040169600397348404,
0.02161700464785099,
0.005736536346375942,
-0.005921139381825924,
-0.009119385853409767,
-0.00522887846454978,
-0.021377021446824074,
0.02990567684173584,
0.08432662487030029,
0.007919466122984886,
-0.04851365461945534,
-0.010088550858199596,
-0.006382646970450878,
-0.008247137069702148,
0.05323949083685875,
-0.018552595749497414,
-0.009747035801410675,
0.05940522626042366,
-0.020952435210347176,
0.029019583016633987,
0.031474802643060684,
0.021672386676073074,
0.006350341252982616,
0.051061175763607025,
0.04537540301680565,
0.07059216499328613,
-0.016891170293092728,
0.025936713442206383,
0.06575556844472885,
-0.03092099353671074,
-0.002231388119980693,
-0.033579275012016296,
0.06313420832157135,
0.026638204231858253,
0.020029420033097267,
-0.004668146837502718,
0.002635207027196884,
0.033597737550735474,
-0.016023535281419754,
-0.01960483379662037,
0.02200467139482498,
-0.038545094430446625,
0.02322304993867874,
-0.011445382609963417,
-0.03407770395278931,
0.02970261313021183,
0.0274873785674572,
-0.014362108893692493,
-0.0013626004802063107,
-0.029665693640708923,
-0.018451064825057983
]
|
37,132 | youtube_transcript_api._transcripts | fetch |
Loads the actual transcript data.
:param preserve_formatting: whether to keep select HTML text formatting
:type preserve_formatting: bool
:return: a list of dictionaries containing the 'text', 'start' and 'duration' keys
:rtype [{'text': str, 'start': float, 'end': float}]:
| def fetch(self, preserve_formatting=False):
"""
Loads the actual transcript data.
:param preserve_formatting: whether to keep select HTML text formatting
:type preserve_formatting: bool
:return: a list of dictionaries containing the 'text', 'start' and 'duration' keys
:rtype [{'text': str, 'start': float, 'end': float}]:
"""
response = self._http_client.get(self._url, headers={'Accept-Language': 'en-US'})
return _TranscriptParser(preserve_formatting=preserve_formatting).parse(
_raise_http_errors(response, self.video_id).text,
)
| (self, preserve_formatting=False) | [
-0.0155382314696908,
0.01181306317448616,
-0.06390166282653809,
-0.027396835386753082,
0.005947517696768045,
0.0472886860370636,
-0.026759276166558266,
0.0048090191558003426,
0.03978370130062103,
0.03712416812777519,
-0.03730632737278938,
0.0005960041307844222,
-0.051551226526498795,
-0.0015415273373946548,
0.007167988456785679,
0.030366040766239166,
-0.04568567872047424,
-0.03501111641526222,
-0.019964715465903282,
-0.0392007902264595,
-0.00818352960050106,
-0.033663131296634674,
-0.029783129692077637,
0.0014288160018622875,
-0.006339161191135645,
-0.040694501250982285,
-0.017460018396377563,
-0.0757056176662445,
-0.04743441566824913,
0.036905575543642044,
0.05504869297146797,
-0.005651507992297411,
-0.032424446195364,
0.044519856572151184,
-0.0860522910952568,
0.044519856572151184,
-0.03357205167412758,
-0.05807254835963249,
-0.0026527021545916796,
0.0079102898016572,
-0.07002223283052444,
-0.03586726635694504,
0.0761428028345108,
0.035375434905290604,
-0.017970064654946327,
-0.02324359118938446,
-0.03634088113903999,
-0.019746122881770134,
-0.01868959702551365,
-0.051369067281484604,
0.06696194410324097,
0.0556316040456295,
0.006553199142217636,
-0.03501111641526222,
-0.04856380447745323,
-0.007760007865726948,
-0.012824050150811672,
0.12357721477746964,
0.005446578375995159,
0.01735072210431099,
-0.0023931243922561407,
-0.019308939576148987,
-0.011676443740725517,
0.06896570324897766,
-0.0011931468034163117,
-0.005428362172096968,
0.038763608783483505,
-0.06080494448542595,
-0.04229750856757164,
-0.0007969491416588426,
0.04652361571788788,
0.03238801285624504,
-0.027925098314881325,
-0.00849320087581873,
0.012578134424984455,
-0.0018500605365261436,
-0.06390166282653809,
-0.01945466734468937,
-0.052134137600660324,
0.07796439528465271,
-0.020110443234443665,
0.02954632043838501,
0.0445927195250988,
0.025957772508263588,
0.0385085828602314,
-0.06951218098402023,
0.019964715465903282,
-0.052462026476860046,
-0.04251610115170479,
0.0560687892138958,
-0.010902264155447483,
-0.011120856739580631,
-0.011539824306964874,
0.0067080347798764706,
-0.01599363051354885,
-0.012068087235093117,
-0.03227871656417847,
-0.01735072210431099,
-0.07738148421049118,
-0.04113168641924858,
-0.015474475920200348,
0.10055221617221832,
0.029473457485437393,
-0.034045666456222534,
0.03721524775028229,
-0.0027483361773192883,
-0.03379064425826073,
-0.015201236121356487,
0.038034968078136444,
0.0358126200735569,
0.041423141956329346,
-0.031203975901007652,
-0.016294194385409355,
0.01810668595135212,
0.05187911540269852,
-0.08583369851112366,
0.004931977018713951,
0.03481074050068855,
-0.05235273018479347,
-0.03621337190270424,
0.03770707920193672,
-0.018234197050333023,
-0.04116811603307724,
0.022259928286075592,
-0.0491102859377861,
-0.017669500783085823,
0.0285990908741951,
-0.020930161699652672,
0.08306487649679184,
-0.03785280883312225,
0.013998981565237045,
-0.018571192398667336,
-0.009326581843197346,
-0.007646157871931791,
0.02723289094865322,
-0.00017447494610678405,
0.03832642361521721,
0.0200375784188509,
0.008720900863409042,
0.024300118908286095,
-0.013197477906942368,
-0.002616270212456584,
0.05701601877808571,
0.0035566703882068396,
-0.0590197779238224,
-0.039164360612630844,
0.024864813312888145,
-0.04167816415429115,
-0.029054488986730576,
-0.014445273205637932,
0.03905506432056427,
-0.03777994588017464,
-0.001973018515855074,
-0.016239546239376068,
0.005332728382200003,
-0.024500494822859764,
-0.03011101670563221,
0.03160472586750984,
-0.018416356295347214,
0.05767179653048515,
0.0055376579985022545,
0.03931008651852608,
-0.0014868794241920114,
-0.002352138515561819,
0.026577116921544075,
-0.006371039431542158,
0.037816375494003296,
0.006662494968622923,
-0.02459157444536686,
0.024045094847679138,
0.0156475268304348,
0.049256011843681335,
-0.05242559313774109,
-0.006389255169779062,
0.05140549689531326,
0.0031650266610085964,
0.0560687892138958,
0.08503220230340958,
-0.007336486130952835,
0.022642463445663452,
0.002298629144206643,
-0.03770707920193672,
-0.032898060977458954,
0.010610808618366718,
0.038034968078136444,
-0.009103436022996902,
0.026158148422837257,
0.02154950611293316,
0.008953155018389225,
-0.014390625059604645,
0.023097863420844078,
-0.04433769732713699,
-0.02991064079105854,
-0.014618325047194958,
-0.04397337883710861,
-0.01868959702551365,
0.006079583428800106,
0.00007428704702761024,
-0.058801185339689255,
-0.027506131678819656,
-0.018926404416561127,
-0.04207891598343849,
-0.011057100258767605,
-0.03923722356557846,
-0.010255597531795502,
0.001549496897496283,
-0.07151594012975693,
-0.004927422851324081,
-0.032460879534482956,
-0.02972848154604435,
-0.029200216755270958,
0.0033972803503274918,
0.024646222591400146,
-0.015866119414567947,
0.031203975901007652,
-0.061278559267520905,
-0.023116080090403557,
0.009781981818377972,
0.04779873415827751,
-0.025028757750988007,
0.036686986684799194,
-0.053372822701931,
-0.02954632043838501,
0.01599363051354885,
0.011102640070021152,
0.005328174214810133,
0.009745549410581589,
-0.0010804353514686227,
-0.06583255529403687,
-0.029491672292351723,
0.04156886786222458,
-0.04382764920592308,
-0.014909780584275723,
-0.006075029727071524,
0.05442935228347778,
0.020092226564884186,
0.020857298746705055,
0.028489794582128525,
-0.001092958846129477,
0.001689532189629972,
0.04426483437418938,
0.021822744980454445,
-0.03872717544436455,
0.03282519802451134,
-0.08299200981855392,
0.015920767560601234,
0.008456769399344921,
0.016676731407642365,
-0.0014754944713786244,
0.015264991670846939,
0.03568510711193085,
0.005364606156945229,
-0.0016212223563343287,
0.03519327566027641,
0.0033130315132439137,
-0.025265565142035484,
-0.008106111548841,
-0.03011101670563221,
0.018607623875141144,
0.00877554900944233,
0.022223496809601784,
-0.048673100769519806,
-0.09166281670331955,
0.04462915286421776,
0.0107565363869071,
0.0032333366107195616,
-0.04670577496290207,
0.010610808618366718,
-0.02173166535794735,
0.007800993975251913,
-0.054975830018520355,
-0.024063311517238617,
-0.0264678206294775,
-0.0644117072224617,
-0.036869145929813385,
0.010118977166712284,
0.013771281577646732,
-0.01389879360795021,
-0.04787159711122513,
0.006275405641645193,
-0.04211534932255745,
0.016694946214556694,
0.0392007902264595,
-0.04710652679204941,
0.06721697002649307,
-0.0662333071231842,
0.010191841050982475,
0.008215407840907574,
-0.039346519857645035,
0.007054138462990522,
-0.00018756768258754164,
-0.0009398307884112,
0.060112737119197845,
-0.05329995974898338,
0.025812044739723206,
0.01827973686158657,
0.0010696196695789695,
-0.03890933468937874,
0.005988503806293011,
-0.00046479213051497936,
0.006830992642790079,
-0.0016064217779785395,
0.044847745448350906,
0.03621337190270424,
-0.0846678763628006,
0.023498615249991417,
-0.03734276071190834,
0.005801789928227663,
0.03202369436621666,
-0.048490941524505615,
0.022405656054615974,
0.0010047252289950848,
0.0441555380821228,
0.04247966781258583,
-0.0380714014172554,
0.026394955813884735,
0.010665456764400005,
0.007404796313494444,
0.0030807778239250183,
-0.002443218370899558,
-0.017860768362879753,
-0.015410719439387321,
0.10237381607294083,
0.03295271098613739,
0.12729327380657196,
-0.03901863098144531,
-0.026941435411572456,
0.014900672249495983,
0.0540650300681591,
0.018370816484093666,
-0.002541129244491458,
-0.0077190217562019825,
-0.027524346485733986,
0.02399044670164585,
-0.06255368143320084,
-0.0020071733742952347,
-0.033827077597379684,
-0.027506131678819656,
0.02898162603378296,
-0.0021141923498362303,
0.02628565952181816,
-0.030985383316874504,
0.025119837373495102,
0.018234197050333023,
0.033080220222473145,
0.02269711159169674,
0.0025843922048807144,
-0.005747141782194376,
0.03785280883312225,
-0.05122333765029907,
-0.03519327566027641,
0.011503391899168491,
0.025575237348675728,
0.09574319422245026,
-0.02195025607943535,
-0.040840230882167816,
0.05978484824299812,
-0.029200216755270958,
-0.036504827439785004,
-0.014581892639398575,
-0.020820865407586098,
0.0014675249112769961,
-0.0045927041210234165,
0.018234197050333023,
-0.027706507593393326,
-0.011366772465407848,
0.03905506432056427,
-0.00485455896705389,
0.005250756628811359,
0.06561396270990372,
-0.0350293330848217,
0.015765931457281113,
0.0019696028903126717,
0.031531862914562225,
-0.007459443993866444,
-0.0560687892138958,
0.021403778344392776,
-0.011640012264251709,
-0.007791885640472174,
0.015556448139250278,
0.02231457643210888,
0.042771123349666595,
-0.04255253076553345,
0.03643196076154709,
0.0423339381814003,
-0.005346390418708324,
0.015574663877487183,
-0.03317129984498024,
0.005064042750746012,
-0.017878985032439232,
0.041277412325143814,
-0.02475551888346672,
0.004125919658690691,
-0.025192702189087868,
-0.02898162603378296,
-0.02878125011920929,
0.012122735381126404,
0.011740199290215969,
0.04269826039671898,
-0.007509537972509861,
0.03065749630331993,
0.013488933444023132,
-0.02612171694636345,
0.01599363051354885,
-0.03453750163316727,
-0.011949683539569378,
0.06539537012577057,
-0.005779020022600889,
-0.01038310956209898,
-0.00571981817483902,
-0.04692436754703522,
-0.036122288554906845,
-0.04280755668878555,
0.0012090856907889247,
-0.03828999027609825,
0.040876660495996475,
-0.07381115108728409,
0.015310532413423061,
-0.06951218098402023,
0.005136906635016203,
-0.017068374902009964,
0.016913538798689842,
-0.024646222591400146,
-0.028325850144028664,
0.0392007902264595,
-0.006653387099504471,
-0.021877393126487732,
0.0020094504579901695,
0.010874941013753414,
-0.04725225269794464,
0.04441056028008461,
-0.03566689044237137,
-0.03905506432056427,
-0.04495704174041748,
0.05748963728547096,
0.035940129309892654,
-0.038617879152297974,
0.014536352828145027,
-0.0033016465604305267,
-0.0008390736184082925,
0.014080952852964401,
0.04349976405501366,
0.010264704935252666,
0.003702398156747222,
0.06809133291244507,
-0.0696214810013771,
-0.060331329703330994,
-0.023498615249991417,
-0.028926977887749672,
-0.009226393885910511,
-0.024081526324152946,
0.059930577874183655,
0.07151594012975693,
-0.04357262700796127,
0.025484157726168633,
0.024336550384759903,
0.08488646894693375,
0.04251610115170479,
-0.05854616314172745,
-0.01616668328642845,
-0.031732238829135895,
0.02896340936422348,
0.01619400642812252,
-0.017050158232450485,
0.07832872122526169,
-0.020930161699652672,
-0.02018330618739128,
-0.008807426318526268,
-0.10776574164628983,
-0.01961861178278923,
-0.008821088820695877,
-0.009481417946517467,
-0.03335346281528473,
-0.004886436741799116,
0.038617879152297974,
0.012350435368716717,
-0.0031718576792627573,
-0.06856495141983032,
-0.007659819908440113,
0.0072044203989207745,
0.008306487463414669,
-0.08459501713514328,
-0.027287539094686508,
0.029200216755270958,
-0.0018193210707977414,
-0.007322824094444513,
0.029036274179816246,
-0.02537486143410206,
-0.009563390165567398,
-0.04874596372246742,
0.0006466673221439123,
0.062007199972867966,
0.0012204707600176334,
0.010993344709277153,
-0.003957421984523535,
-0.02251495234668255,
0.033444542437791824,
-0.0004909776034764946,
0.04153243824839592,
-0.03890933468937874,
0.054793670773506165,
-0.019545746967196465,
0.038945768028497696,
-0.017041049897670746,
0.004772587213665247,
0.07257246971130371,
0.019764339551329613,
0.06703481078147888,
0.014554568566381931,
0.033080220222473145,
-0.013643769547343254,
0.08758243918418884,
-0.03674163296818733,
0.009809305891394615,
-0.03178688511252403,
-0.015665743499994278,
-0.034391772001981735,
0.03484717011451721,
-0.0062799593433737755,
0.016831565648317337,
0.03131327033042908,
0.046232160180807114,
-0.0032447215635329485,
-0.03982013463973999,
0.01381682138890028,
0.05625094845890999,
-0.11366771906614304,
0.033608485013246536,
-0.022423872724175453,
-0.030256744474172592,
0.01907213218510151,
-0.025065189227461815,
0.037634216248989105,
-0.01756931282579899,
-0.04444699361920357,
-0.01998293027281761,
-0.02899984084069729,
-0.02954632043838501,
-0.03661412000656128,
0.009599821642041206,
0.038945768028497696,
-0.00848864670842886,
-0.03009280003607273,
0.02841692976653576,
0.006138785742223263,
0.02918200194835663,
0.003861787961795926,
0.035940129309892654,
0.023207159712910652,
0.08619802445173264,
-0.007514092139899731,
-0.020729785785079002,
0.0051642307080328465,
-0.014891564846038818,
-0.024901246652007103,
0.011612688191235065,
-0.05617808550596237,
0.003527069231495261,
0.024682654067873955,
0.015948090702295303,
0.0873638466000557,
-0.0396379753947258,
-0.04637788608670235,
0.04903741925954819,
-0.03814426437020302,
0.04972962662577629,
0.05435648560523987,
0.06084137782454491,
-0.04419197142124176,
-0.018261520192027092,
0.06116926297545433,
0.03712416812777519,
-0.010346677154302597,
0.02759721130132675,
0.010346677154302597,
0.03202369436621666,
-0.02136734500527382,
-0.012323111295700073,
0.04116811603307724,
0.029455240815877914,
0.062189359217882156,
-0.03089430369436741,
0.05129620060324669,
0.013789497315883636,
-0.0007041615317575634,
0.0010986513225361705,
0.01420846488326788,
-0.024427630007267,
0.07410261034965515,
-0.009390338324010372,
-0.016521895304322243,
0.00399385392665863,
0.04827234894037247,
0.045831408351659775,
0.04058520495891571,
0.006949396803975105,
0.04852737486362457,
0.02726932428777218,
-0.057271044701337814,
-0.0522434338927269,
0.02191382460296154,
0.031386133283376694,
0.024609791114926338,
0.021877393126487732,
0.004487962462007999,
-0.005446578375995159,
0.024846598505973816,
0.0063346074894070625,
-0.020893730223178864,
0.0010366031201556325,
-0.004731601104140282,
-0.05847330018877983,
-0.005569536238908768,
-0.05978484824299812,
0.010865832678973675,
0.008415782824158669,
-0.0024728192947804928,
0.04870953410863876,
-0.02570274844765663,
-0.01945466734468937,
0.07934881001710892,
0.03887290507555008,
-0.051733385771512985,
0.08386637270450592,
-0.031094679608941078,
0.004068994894623756,
0.013470717705786228,
-0.02402687817811966,
-0.009672685526311398,
-0.009672685526311398,
0.05195197835564613,
-0.03748849034309387,
0.007222636602818966,
0.008916722610592842,
0.0023908475413918495,
0.03541186824440956,
0.03522970527410507,
-0.022004904225468636,
0.04561281576752663,
0.025994203984737396,
-0.0014959874097257853,
0.011403203941881657,
-0.021421993151307106,
-0.00982752162963152,
-0.025812044739723206,
0.0049456385895609856,
-0.031331486999988556,
0.030548200011253357,
0.009581605903804302,
0.03621337190270424,
0.02440941520035267,
0.036468394100666046,
0.03967440500855446,
0.03348097205162048,
-0.08022318035364151,
0.031331486999988556,
0.054793670773506165,
0.006598738953471184,
0.025411292910575867,
0.023571480065584183,
0.005824559833854437,
0.006589631084352732,
-0.038399286568164825,
-0.0107565363869071,
0.05956625938415527,
-0.062444381415843964,
-0.0736289918422699,
0.03909149393439293,
0.046778637915849686,
-0.02193204127252102,
0.04229750856757164,
0.06816419959068298,
0.0031399796716868877,
0.028453363105654716,
0.009945925325155258,
0.014080952852964401,
-0.0013172430917620659,
-0.08051463216543198,
0.041641730815172195,
0.03202369436621666,
0.001008709892630577,
0.0641566812992096,
0.010200949385762215,
-0.008784656412899494,
-0.06492175906896591,
0.0019297554390504956,
-0.0011863157851621509,
0.011740199290215969,
0.0018466450273990631,
-0.054210759699344635,
0.006352823227643967,
0.03825356066226959,
-0.0765799805521965,
0.007618833798915148,
0.08612515777349472,
-0.02289748750627041,
0.01334320567548275,
-0.04291684925556183,
0.03677806630730629,
-0.01104799285531044,
0.030001720413565636,
-0.03847215324640274,
0.02062048949301243,
-0.03655947372317314,
-0.02036546729505062,
-0.008470430970191956,
-0.011958791874349117,
-0.02477373369038105,
-0.056688133627176285,
-0.03291627764701843,
0.0022132417652755976,
0.020092226564884186,
0.014126493595540524,
0.05147836357355118,
0.019964715465903282,
-0.029455240815877914,
0.02173166535794735,
0.029619185253977776,
0.028872329741716385,
0.04703366383910179,
-0.01104799285531044,
-0.041641730815172195,
0.00658052321523428,
0.0932658240199089,
-0.020930161699652672,
0.056287381798028946,
-0.00671714311465621,
0.02195025607943535,
0.029236650094389915,
-0.0358126200735569,
0.0062890672124922276,
0.01730518229305744,
-0.005596860311925411,
-0.0751955658197403,
-0.04477488249540329,
-0.00671714311465621,
0.0035680553410202265,
-0.0016064217779785395,
0.03369956463575363,
-0.03300735726952553,
-0.04175102710723877,
-0.016458138823509216,
-0.016321519389748573,
0.01870781183242798,
-0.07781866937875748,
-0.011831279844045639,
0.009772873483598232,
-0.02572096511721611,
-0.0017828891286626458,
0.03471966087818146,
-0.0034678673837333918,
-0.01601184718310833,
-0.02114875428378582,
0.018252413719892502,
0.03422782942652702,
0.036905575543642044,
0.0017885816050693393,
0.00019126779807265848,
-0.0594569630920887,
-0.013270341791212559,
-0.02570274844765663,
-0.011685552075505257,
0.004405990242958069,
0.02517448551952839,
-0.06073208153247833,
0.003946037031710148,
0.0013730295468121767,
0.056724563241004944
]
|
37,133 | youtube_transcript_api._transcripts | translate | null | def translate(self, language_code):
if not self.is_translatable:
raise NotTranslatable(self.video_id)
if language_code not in self._translation_languages_dict:
raise TranslationLanguageNotAvailable(self.video_id)
return Transcript(
self._http_client,
self.video_id,
'{url}&tlang={language_code}'.format(url=self._url, language_code=language_code),
self._translation_languages_dict[language_code],
language_code,
True,
[],
)
| (self, language_code) | [
0.02669663541018963,
0.002723545767366886,
-0.016409194096922874,
-0.021136345341801643,
0.01707027107477188,
0.022386053577065468,
-0.01756834238767624,
0.02522958815097809,
0.02204192988574505,
0.024577567353844643,
-0.02247661165893078,
0.03461144492030144,
-0.017722291871905327,
-0.018890496343374252,
-0.011401310563087463,
-0.01159148383885622,
-0.04814087972044945,
-0.007090727798640728,
0.001804377418011427,
-0.04824955016374588,
0.007149591110646725,
0.00939996913075447,
-0.019886638969182968,
-0.02542881667613983,
0.05723294988274574,
0.042598702013492584,
-0.014072786085307598,
-0.046909283846616745,
-0.018138861283659935,
-0.02896059677004814,
-0.003950613085180521,
0.047778647392988205,
0.0004977885982953012,
0.022386053577065468,
-0.035987935960292816,
0.0372014194726944,
-0.05730539560317993,
-0.09077581018209457,
-0.021571027114987373,
-0.023653872311115265,
-0.006624351721256971,
0.029431501403450966,
0.013710551895201206,
0.0278195608407259,
0.018981054425239563,
0.0017036311328411102,
-0.07313501834869385,
-0.013719608075916767,
-0.015050817281007767,
0.00386684644035995,
0.0703095942735672,
-0.004070603288710117,
0.009852761402726173,
-0.03265538439154625,
-0.06302869319915771,
-0.0072809006087481976,
0.006307397037744522,
0.03991817310452461,
0.0033325515687465668,
-0.010432335548102856,
0.021154457703232765,
0.012678185477852821,
-0.04114976525306702,
0.038903918117284775,
0.011772600933909416,
-0.0287613682448864,
0.06748417019844055,
-0.03868657723069191,
0.024541344493627548,
-0.007828779518604279,
0.0006893763202242553,
0.011066244915127754,
0.015965458005666733,
-0.02955828420817852,
0.08200974762439728,
0.009798426181077957,
-0.0320395864546299,
-0.006628879811614752,
-0.011826936155557632,
0.0606379471719265,
0.009078485891222954,
-0.04285226762294769,
0.008498911745846272,
-0.024668125435709953,
-0.004405669402331114,
-0.026316290721297264,
0.008960760198533535,
-0.06266646087169647,
-0.045713912695646286,
-0.04535168036818504,
0.03318062052130699,
-0.03430354595184326,
-0.041656892746686935,
0.01793057657778263,
0.04607614874839783,
-0.03332551568746567,
0.021045787259936333,
-0.009671644307672977,
-0.03573437035083771,
-0.0017081591067835689,
0.05929768458008766,
0.08635655045509338,
0.02575482800602913,
-0.103091761469841,
0.11069867014884949,
-0.015548888593912125,
-0.04926380515098572,
0.007742749061435461,
0.022114377468824387,
0.03912125900387764,
0.03705652430653572,
-0.008299683220684528,
-0.024867353960871696,
0.05082141235470772,
0.008969816379249096,
-0.057341620326042175,
-0.05676204711198807,
0.03767232224345207,
-0.08222708851099014,
0.038650352507829666,
-0.004817710258066654,
-0.0009440720314159989,
-0.03414054214954376,
-0.00732618011534214,
-0.07270033657550812,
0.03404998406767845,
0.08787793666124344,
-0.057595185935497284,
0.033216845244169235,
-0.13207046687602997,
0.02868892252445221,
0.0005858000949956477,
0.023418419063091278,
0.04230891540646553,
-0.04042530059814453,
0.007824251428246498,
0.027982566505670547,
0.06773773580789566,
-0.00779708381742239,
0.05766763165593147,
-0.0013674328802153468,
0.04933625087141991,
0.046836838126182556,
0.019922861829400063,
0.030445756390690804,
-0.035897377878427505,
-0.003219353500753641,
0.020556772127747536,
-0.015983568504452705,
-0.05857321619987488,
0.03127889335155487,
-0.060348160564899445,
0.03988194838166237,
0.009345633909106255,
0.003615546738728881,
-0.0037332726642489433,
-0.044844552874565125,
-0.013574713841080666,
-0.0368754081428051,
0.024523232132196426,
0.03922992944717407,
0.002918246667832136,
-0.004353598225861788,
0.04401141405105591,
0.021263128146529198,
-0.07059937715530396,
0.03232937306165695,
-0.012469900771975517,
-0.04756130650639534,
-0.004659233149141073,
0.012768743559718132,
-0.02024887315928936,
-0.013384541496634483,
0.05013316869735718,
-0.0168800987303257,
0.005560289602726698,
0.042598702013492584,
0.0004952416056767106,
0.01851014979183674,
0.014688583090901375,
-0.02680530585348606,
0.05955124646425247,
-0.0154673857614398,
0.02644307166337967,
0.023853100836277008,
-0.0048720454797148705,
0.04680061712861061,
0.0565447062253952,
0.040280405431985855,
-0.03836056590080261,
0.009807482361793518,
-0.023762540891766548,
0.012089555151760578,
-0.03970083221793175,
-0.08085060119628906,
0.0026488350704312325,
0.006221366580575705,
-0.037092749029397964,
-0.01592923514544964,
0.09860005974769592,
0.0019254994112998247,
0.008154789917171001,
0.06107262894511223,
0.047851093113422394,
-0.062340449541807175,
0.018908606842160225,
-0.03118833526968956,
0.011491869576275349,
0.004016268067061901,
-0.04886534810066223,
0.012352175079286098,
-0.015648502856492996,
0.01327587105333805,
-0.006171559449285269,
0.030481979250907898,
-0.04661949723958969,
-0.0675203949213028,
-0.019506294280290604,
0.05926145985722542,
-0.019198395311832428,
0.024360228329896927,
-0.002061336999759078,
-0.02740299142897129,
-0.05132853984832764,
0.07262788712978363,
-0.04201912879943848,
0.01611035130918026,
-0.029449613764882088,
-0.061398640275001526,
-0.01257857121527195,
0.005030522588640451,
-0.007742749061435461,
0.0031944499351084232,
-0.04067886248230934,
0.013484155759215355,
0.01003387849777937,
-0.007765388581901789,
-0.016345802694559097,
-0.045713912695646286,
0.02247661165893078,
0.006407011300325394,
-0.04107731953263283,
0.013357373885810375,
0.02887003868818283,
-0.028489693999290466,
0.06067417189478874,
-0.04422875493764877,
0.005347477272152901,
0.04448231682181358,
-0.019796080887317657,
-0.008820394985377789,
-0.008385714143514633,
-0.056580930948257446,
0.035372138023376465,
0.009562973864376545,
0.02068355306982994,
0.06360826641321182,
-0.0727727860212326,
0.00486751738935709,
0.017169885337352753,
-0.05505954846739769,
-0.08237197995185852,
-0.040533971041440964,
0.028580252081155777,
0.03385075554251671,
-0.06281135231256485,
-0.013167200610041618,
0.0862841084599495,
0.030536314472556114,
-0.00016413722187280655,
0.0703095942735672,
-0.00012175869051134214,
-0.005107497330754995,
-0.00034044322092086077,
0.01021499466150999,
-0.0353178009390831,
-0.0006876783445477486,
0.0049897716380655766,
-0.016427306458353996,
-0.034267324954271317,
0.0038826942909508944,
0.034430328756570816,
0.020629217848181725,
-0.04694550856947899,
0.028489693999290466,
-0.05227034538984299,
-0.0046230098232626915,
-0.008073287084698677,
-0.020266985520720482,
0.015295324847102165,
0.006483986042439938,
0.004681872669607401,
0.0265517421066761,
-0.040352851152420044,
0.024794908240437508,
-0.013619992882013321,
-0.0381070040166378,
0.005827437154948711,
0.030989106744527817,
-0.0030155968852341175,
0.0004963735700584948,
0.03051820397377014,
0.0762140080332756,
0.04288848862051964,
-0.09323899447917938,
0.051473431289196014,
-0.02722187526524067,
0.033035729080438614,
-0.00017135360394604504,
-0.049155134707689285,
-0.026515519246459007,
0.011546204797923565,
0.025446929037570953,
-0.0031174751929938793,
-0.01538588386029005,
0.0065473769791424274,
0.07737315446138382,
0.011292641051113605,
0.02352708950638771,
0.016861986368894577,
0.02033943124115467,
-0.034774452447891235,
0.05429885536432266,
0.01990475133061409,
0.05241524055600166,
-0.03582492843270302,
0.028036901727318764,
-0.04680061712861061,
0.056472260504961014,
-0.07519975304603577,
0.015313436277210712,
0.031912803649902344,
0.014308237470686436,
-0.03040953353047371,
-0.05839210003614426,
-0.029793735593557358,
0.0009785974398255348,
0.01146470196545124,
0.00222887028940022,
0.03151434659957886,
-0.0030540842562913895,
0.038469236344099045,
0.043721627444028854,
0.022349828854203224,
0.02146235667169094,
0.03680296242237091,
-0.0693315640091896,
-0.014751974493265152,
0.029703177511692047,
-0.07570687681436539,
-0.05600135400891304,
-0.011356031522154808,
0.029069267213344574,
0.02100956439971924,
-0.04788731783628464,
-0.06947645545005798,
0.04513433948159218,
-0.010024822317063808,
-0.01646352931857109,
-0.024541344493627548,
-0.04814087972044945,
0.0020794488955289125,
-0.01981419324874878,
0.03506423905491829,
-0.00646134652197361,
-0.01775851473212242,
-0.019886638969182968,
-0.015304381027817726,
-0.01111152395606041,
0.09519506245851517,
0.009662588126957417,
-0.0030540842562913895,
0.013330206274986267,
0.06781017780303955,
0.0019492709543555975,
-0.08490762114524841,
-0.0015768492594361305,
0.005678015761077404,
0.0018077733693644404,
0.03439410403370857,
0.04274359717965126,
-0.006533793173730373,
-0.011672986671328545,
-0.0058546047657728195,
0.01887238398194313,
0.035987935960292816,
0.04049774631857872,
-0.056580930948257446,
-0.010776457376778126,
-0.027801448479294777,
-0.02524770051240921,
0.005075802095234394,
-0.02997485175728798,
-0.029359055683016777,
0.011301696300506592,
-0.019687410444021225,
-0.07190342247486115,
0.00573235098272562,
0.02153480239212513,
-0.04169311746954918,
0.0030654040165245533,
0.005465203430503607,
-0.03922992944717407,
0.02671474777162075,
0.030445756390690804,
0.0033189677633345127,
0.04861178621649742,
0.03745498135685921,
-0.01887238398194313,
-0.03410431742668152,
-0.08099549263715744,
0.016065072268247604,
-0.029159825295209885,
0.012904581613838673,
-0.03160490468144417,
0.04995204880833626,
-0.011745433323085308,
0.02722187526524067,
-0.0431058295071125,
-0.036150939762592316,
-0.040207959711551666,
0.0003432731900829822,
-0.006923194974660873,
-0.09932452440261841,
-0.006153447553515434,
-0.007765388581901789,
0.031930916011333466,
-0.015268157236278057,
-0.008299683220684528,
-0.01628241315484047,
0.07585176825523376,
-0.0640791729092598,
0.01819319650530815,
0.0178219061344862,
0.0653107687830925,
0.04299715906381607,
-0.02568238042294979,
0.028127459809184074,
-0.0007210717885755002,
0.008983399718999863,
0.028109347447752953,
-0.03410431742668152,
0.022693952545523643,
-0.009141877293586731,
-0.013411709107458591,
-0.028888151049613953,
-0.031749799847602844,
-0.04745263606309891,
-0.02068355306982994,
-0.01669898070394993,
0.058210983872413635,
0.07001980394124985,
0.012823078781366348,
-0.0335971899330616,
0.02852591685950756,
0.005949691403657198,
-0.04861178621649742,
0.014081841334700584,
-0.03185847029089928,
-0.0001143300614785403,
0.000607307709287852,
0.012814022600650787,
0.05353816598653793,
-0.004668288864195347,
0.06672348082065582,
-0.024686237797141075,
-0.07020092010498047,
-0.0024880939163267612,
-0.013828277587890625,
-0.04299715906381607,
0.007013753056526184,
-0.006963945925235748,
-0.025609934702515602,
0.016246188431978226,
0.029576394706964493,
-0.011781656183302402,
-0.016771428287029266,
-0.06266646087169647,
-0.05868188664317131,
0.0137467747554183,
0.021389909088611603,
-0.002497149631381035,
0.03446655347943306,
0.046039924025535583,
-0.025356370955705643,
0.003952877130359411,
0.055784016847610474,
0.03126078099012375,
0.03182224556803703,
0.024233445525169373,
0.007117895409464836,
0.046402156352996826,
0.05324837937951088,
0.026823418214917183,
-0.05263258144259453,
-0.007203925866633654,
-0.034756340086460114,
-0.042960938066244125,
-0.006253062281757593,
0.008711724542081356,
0.04817710444331169,
-0.01352037861943245,
-0.017169885337352753,
-0.01525910198688507,
0.06980246305465698,
0.05918901413679123,
0.027366768568754196,
0.0680999681353569,
-0.010776457376778126,
0.03980950266122818,
-0.015096096321940422,
0.021480469033122063,
0.003706105286255479,
-0.06911422312259674,
-0.021299351006746292,
0.013764887116849422,
-0.03336174041032791,
0.0384330116212368,
-0.036839183419942856,
0.01618279702961445,
-0.027801448479294777,
0.002022849628701806,
0.00700016925111413,
0.000523541122674942,
0.021263128146529198,
0.015059872530400753,
-0.07969144731760025,
-0.017622677609324455,
0.014978370629251003,
0.03146000951528549,
-0.025972168892621994,
-0.05973236262798309,
-0.010776457376778126,
0.016689924523234367,
0.019343288615345955,
-0.009925208054482937,
-0.11917494237422943,
-0.017532119527459145,
-0.03274594247341156,
0.018492039293050766,
-0.01965118758380413,
-0.01784001849591732,
-0.05013316869735718,
0.0017104230355471373,
0.01551266573369503,
-0.032093919813632965,
-0.014099952764809132,
0.012651017867028713,
-0.06313735991716385,
0.07396815717220306,
0.02206004224717617,
-0.029956741258502007,
-0.04263492673635483,
0.030554426833987236,
0.01620090939104557,
0.03379641845822334,
-0.004491699859499931,
0.0012191433925181627,
0.03490123152732849,
0.03185847029089928,
0.027873896062374115,
-0.001683255541138351,
-0.059225235134363174,
-0.006565488874912262,
0.012469900771975517,
0.02162536233663559,
0.04538790509104729,
-0.017966799437999725,
-0.008286099880933762,
-0.016418250277638435,
0.06132619455456734,
-0.03176790848374367,
0.020629217848181725,
0.036223385483026505,
-0.01218916941434145,
0.02153480239212513,
-0.005166360642760992,
-0.0016198646044358611,
0.011627706699073315,
0.05400906875729561,
-0.038469236344099045,
0.02680530585348606,
-0.0011682042386382818,
0.04339561611413956,
-0.007244677282869816,
0.026859641075134277,
0.007031864952296019,
0.05024183541536331,
0.04361295700073242,
-0.05056784674525261,
-0.02600839175283909,
0.021516691893339157,
0.036676179617643356,
0.05339327082037926,
0.04125843569636345,
0.00719487015157938,
0.04393896833062172,
-0.00020389804558362812,
0.003570267464965582,
-0.01318531297147274,
-0.005515010561794043,
-0.011826936155557632,
0.009744090959429741,
0.056725822389125824,
0.05107497423887253,
0.019180282950401306,
-0.043286945670843124,
-0.09121048450469971,
-0.008168373256921768,
0.029340943321585655,
-0.004100034479051828,
-0.008584942668676376,
-0.035028014332056046,
-0.07614155858755112,
0.04227269068360329,
0.004498491995036602,
-0.03745498135685921,
0.00353178009390831,
-0.0013346053892746568,
-0.03828812018036842,
0.03712897002696991,
0.020285096019506454,
-0.05382795259356499,
0.04513433948159218,
-0.011600539088249207,
0.014145232737064362,
0.07730070501565933,
-0.0637531578540802,
-0.03111588954925537,
0.047851093113422394,
0.01647258549928665,
0.004016268067061901,
-0.007344291545450687,
0.027421103790402412,
-0.011129635386168957,
-0.017423449084162712,
-0.0038442069198936224,
-0.001952666905708611,
0.05730539560317993,
-0.03781721368432045,
-0.059225235134363174,
0.02593594416975975,
-0.018301866948604584,
-0.023309748619794846,
0.013592826202511787,
-0.011220194399356842,
-0.014887811616063118,
-0.04680061712861061,
-0.03414054214954376,
-0.014878756366670132,
-0.018338089808821678,
0.046221040189266205,
0.002202834701165557,
0.060094598680734634,
0.002241322072222829,
0.01835620030760765,
0.03160490468144417,
0.037962108850479126,
0.0627751275897026,
0.01278685498982668,
0.04006306454539299,
-0.011709209531545639,
-0.05201678350567818,
-0.018401481211185455,
0.055530451238155365,
0.016572199761867523,
0.03207580745220184,
0.004668288864195347,
0.056146249175071716,
-0.004772431217133999,
0.011826936155557632,
0.01817508414387703,
-0.029522059485316277,
-0.009436191990971565,
0.054226409643888474,
0.040352851152420044,
0.010169715620577335,
-0.07831496000289917,
-0.008996983990073204,
-0.021299351006746292,
-0.08019857853651047,
0.07722826302051544,
0.019959086552262306,
0.01894483156502247,
-0.07164985686540604,
0.04506189376115799,
0.015422106720507145,
-0.00499882735311985,
0.008992455899715424,
-0.05111119896173477,
-0.01404561847448349,
0.03348851948976517,
-0.0744028389453888,
-0.06534698605537415,
0.0481046587228775,
0.02533825859427452,
0.002236794214695692,
-0.06824485957622528,
-0.04901024326682091,
0.0012610265985131264,
0.014815364964306355,
-0.05860944092273712,
0.007869530469179153,
-0.026895863935351372,
-0.005759518593549728,
-0.03807077929377556,
0.055784016847610474,
-0.044409871101379395,
-0.016780484467744827,
-0.02481302060186863,
0.003941557370126247,
-0.038650352507829666,
0.04712662473320961,
0.03857790678739548,
0.011890326626598835,
-0.017785683274269104,
-0.036495063453912735,
0.042345140129327774,
-0.012560458853840828,
0.012497068382799625,
-0.005741406697779894,
-0.053284600377082825,
0.027855783700942993,
0.001088399556465447,
0.010368944145739079,
0.04017173498868942,
0.03198524937033653,
-0.03560758754611015,
-0.015539832413196564,
0.014199567958712578,
-0.008598526008427143,
0.028634587302803993,
-0.029576394706964493,
-0.05755896121263504,
0.009725979529321194,
0.0029001347720623016,
-0.007665774319320917,
0.014788197353482246,
-0.030970996245741844,
-0.0023726318031549454,
0.026424961164593697,
0.02680530585348606,
0.04194668307900429,
-0.07672113180160522,
0.015440218150615692,
0.027457326650619507,
-0.02102767676115036,
-0.04676439240574837,
0.006162503734230995,
-0.0027009062469005585,
0.010658731684088707,
0.009123765863478184,
-0.019361400976777077,
-0.001760230166837573,
0.027511661872267723,
0.00939996913075447,
-0.00007853117131162435,
0.024160997942090034,
-0.04448231682181358,
-0.010396111756563187,
-0.03254671394824982,
0.02705886960029602,
0.016336746513843536,
-0.006678686942905188,
-0.025283923372626305,
-0.02057488262653351,
0.015539832413196564,
-0.0012564987409859896
]
|
37,134 | youtube_transcript_api._transcripts | TranscriptList |
This object represents a list of transcripts. It can be iterated over to list all transcripts which are available
for a given YouTube video. Also it provides functionality to search for a transcript in a given language.
| class TranscriptList(object):
"""
This object represents a list of transcripts. It can be iterated over to list all transcripts which are available
for a given YouTube video. Also it provides functionality to search for a transcript in a given language.
"""
def __init__(self, video_id, manually_created_transcripts, generated_transcripts, translation_languages):
"""
The constructor is only for internal use. Use the static build method instead.
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param manually_created_transcripts: dict mapping language codes to the manually created transcripts
:type manually_created_transcripts: dict[str, Transcript]
:param generated_transcripts: dict mapping language codes to the generated transcripts
:type generated_transcripts: dict[str, Transcript]
:param translation_languages: list of languages which can be used for translatable languages
:type translation_languages: list[dict[str, str]]
"""
self.video_id = video_id
self._manually_created_transcripts = manually_created_transcripts
self._generated_transcripts = generated_transcripts
self._translation_languages = translation_languages
@staticmethod
def build(http_client, video_id, captions_json):
"""
Factory method for TranscriptList.
:param http_client: http client which is used to make the transcript retrieving http calls
:type http_client: requests.Session
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param captions_json: the JSON parsed from the YouTube pages static HTML
:type captions_json: dict
:return: the created TranscriptList
:rtype TranscriptList:
"""
translation_languages = [
{
'language': translation_language['languageName']['simpleText'],
'language_code': translation_language['languageCode'],
} for translation_language in captions_json.get('translationLanguages', [])
]
manually_created_transcripts = {}
generated_transcripts = {}
for caption in captions_json['captionTracks']:
if caption.get('kind', '') == 'asr':
transcript_dict = generated_transcripts
else:
transcript_dict = manually_created_transcripts
transcript_dict[caption['languageCode']] = Transcript(
http_client,
video_id,
caption['baseUrl'],
caption['name']['simpleText'],
caption['languageCode'],
caption.get('kind', '') == 'asr',
translation_languages if caption.get('isTranslatable', False) else [],
)
return TranscriptList(
video_id,
manually_created_transcripts,
generated_transcripts,
translation_languages,
)
def __iter__(self):
return iter(list(self._manually_created_transcripts.values()) + list(self._generated_transcripts.values()))
def find_transcript(self, language_codes):
"""
Finds a transcript for a given language code. Manually created transcripts are returned first and only if none
are found, generated transcripts are used. If you only want generated transcripts use
`find_manually_created_transcript` instead.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
"""
return self._find_transcript(language_codes, [self._manually_created_transcripts, self._generated_transcripts])
def find_generated_transcript(self, language_codes):
"""
Finds an automatically generated transcript for a given language code.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
"""
return self._find_transcript(language_codes, [self._generated_transcripts])
def find_manually_created_transcript(self, language_codes):
"""
Finds a manually created transcript for a given language code.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
"""
return self._find_transcript(language_codes, [self._manually_created_transcripts])
def _find_transcript(self, language_codes, transcript_dicts):
for language_code in language_codes:
for transcript_dict in transcript_dicts:
if language_code in transcript_dict:
return transcript_dict[language_code]
raise NoTranscriptFound(
self.video_id,
language_codes,
self
)
def __str__(self):
return (
'For this video ({video_id}) transcripts are available in the following languages:\n\n'
'(MANUALLY CREATED)\n'
'{available_manually_created_transcript_languages}\n\n'
'(GENERATED)\n'
'{available_generated_transcripts}\n\n'
'(TRANSLATION LANGUAGES)\n'
'{available_translation_languages}'
).format(
video_id=self.video_id,
available_manually_created_transcript_languages=self._get_language_description(
str(transcript) for transcript in self._manually_created_transcripts.values()
),
available_generated_transcripts=self._get_language_description(
str(transcript) for transcript in self._generated_transcripts.values()
),
available_translation_languages=self._get_language_description(
'{language_code} ("{language}")'.format(
language=translation_language['language'],
language_code=translation_language['language_code'],
) for translation_language in self._translation_languages
)
)
def _get_language_description(self, transcript_strings):
description = '\n'.join(' - {transcript}'.format(transcript=transcript) for transcript in transcript_strings)
return description if description else 'None'
| (video_id, manually_created_transcripts, generated_transcripts, translation_languages) | [
0.03647879883646965,
-0.030190763995051384,
-0.10019892454147339,
-0.00021346293215174228,
-0.018679767847061157,
-0.014829113148152828,
-0.05169707536697388,
0.0017806713003665209,
0.0519428625702858,
0.0022696838714182377,
-0.020840639248490334,
0.05661280080676079,
-0.04727292060852051,
-0.0071738907136023045,
-0.048706673085689545,
0.00033091555815190077,
-0.012944750487804413,
0.062183961272239685,
-0.014081512577831745,
-0.047559671103954315,
-0.010461283847689629,
0.016774922609329224,
-0.006723282393068075,
0.039960771799087524,
0.015914669260382652,
-0.011705577373504639,
0.0007687226170673966,
-0.029043760150671005,
-0.014040548354387283,
0.006656715180724859,
0.00567356962710619,
-0.022960547357797623,
0.02367742359638214,
0.0013454245636239648,
-0.05382722243666649,
-0.009385968558490276,
-0.062061067670583725,
-0.01247366052120924,
-0.038260750472545624,
0.012043533846735954,
-0.004511204548180103,
0.022981029003858566,
0.060791172087192535,
-0.01863880269229412,
-0.00253339228220284,
0.009851938113570213,
-0.05632605031132698,
0.04000173881649971,
-0.03514745458960533,
-0.011521237902343273,
0.07254795730113983,
-0.026073841378092766,
0.006805211305618286,
-0.031091980636119843,
-0.0587429516017437,
0.012309802696108818,
-0.0457572378218174,
0.06075020879507065,
0.029207618907094002,
-0.03668362274765968,
0.03920293226838112,
-0.012739928439259529,
-0.024312371388077736,
0.05067296326160431,
0.003090251935645938,
0.003272031433880329,
0.013528493233025074,
-0.054482653737068176,
-0.007501605898141861,
0.03125583752989769,
0.03807641193270683,
0.029637744650244713,
0.018229158595204353,
-0.04723195359110832,
0.03746194392442703,
0.003528058994561434,
-0.05030428618192673,
-0.04022704064846039,
-0.027896756306290627,
0.01086580753326416,
-0.0010925973765552044,
0.009396209381520748,
0.02427140809595585,
-0.016703234985470772,
0.0902855396270752,
-0.007445279974490404,
0.03533179685473442,
-0.052598290145397186,
-0.029904013499617577,
-0.042029473930597305,
-0.04317647963762283,
-0.00389161822386086,
0.017430352047085762,
-0.0021890352945774794,
0.0002981120196636766,
-0.020666539669036865,
0.002519310684874654,
-0.09536512941122055,
-0.03879328817129135,
-0.02816302515566349,
0.0187002494931221,
0.05882488191127777,
0.016979744657874107,
-0.03793303668498993,
0.08024926483631134,
0.006216347683221102,
-0.08913853764533997,
0.013620663434267044,
0.04059572145342827,
0.017880961298942566,
-0.06718161702156067,
-0.009124820120632648,
0.03576192259788513,
-0.0050770253874361515,
0.061528529971838,
-0.06734547764062881,
-0.043668050318956375,
0.0418860986828804,
-0.0571863055229187,
-0.008710055612027645,
0.07361303269863129,
0.0009274596231989563,
-0.04551145061850548,
0.032689593732357025,
-0.014460433274507523,
-0.024558158591389656,
0.016611063852906227,
0.013979101553559303,
0.06619847565889359,
-0.08897467702627182,
-0.00253339228220284,
-0.000565500755328685,
0.01280137524008751,
0.014716461300849915,
0.03514745458960533,
-0.002520590787753463,
-0.013528493233025074,
0.01143930945545435,
-0.04899342358112335,
0.026503967121243477,
0.016314072534441948,
-0.003236187621951103,
0.038096893578767776,
0.005663328338414431,
-0.06849247962236404,
-0.04903438687324524,
-0.009478138759732246,
-0.012586312368512154,
-0.051246464252471924,
-0.06812380254268646,
0.02543889358639717,
-0.08553367108106613,
-0.049976568669080734,
0.01493152417242527,
-0.03953064605593681,
-0.0192430280148983,
-0.03047751449048519,
0.007726910058408976,
-0.013333912938833237,
0.020891845226287842,
0.004250056575983763,
-0.015371891669929028,
-0.017614692449569702,
0.053376615047454834,
-0.0033257973846048117,
-0.015597195364534855,
0.04110777750611305,
-0.0057964627631008625,
-0.03713423013687134,
0.029105206951498985,
0.0163857601583004,
0.0372571237385273,
-0.03004738874733448,
0.0071687703020870686,
-0.01990869827568531,
0.07148288190364838,
0.036273978650569916,
0.006231709383428097,
0.0012231713626533747,
0.026012394577264786,
-0.0683286190032959,
-0.019437609240412712,
-0.037912555038928986,
-0.0024245805107057095,
0.04727292060852051,
0.017194807529449463,
0.04155838489532471,
0.06111888587474823,
0.04006318375468254,
-0.0010029877303168178,
-0.04538855701684952,
-0.03379563242197037,
0.035290829837322235,
0.036376386880874634,
-0.05001753568649292,
0.01627310924232006,
-0.009908264502882957,
-0.004045234527438879,
-0.04067765176296234,
0.0069178631529212,
-0.029391957446932793,
-0.003968426492065191,
0.05055006965994835,
-0.01983701065182686,
-0.007322386838495731,
0.004721147008240223,
-0.034205276519060135,
0.00623683026060462,
-0.03871135786175728,
-0.033242613077163696,
-0.017614692449569702,
-0.033775147050619125,
0.02117859572172165,
-0.038014963269233704,
0.04878860339522362,
-0.06591172516345978,
0.01711287908256054,
-0.006339241284877062,
0.022981029003858566,
-0.014194165356457233,
0.01955026015639305,
-0.0525573268532753,
-0.022428009659051895,
-0.0161502156406641,
0.03891618177294731,
-0.00931940134614706,
0.04006318375468254,
0.02822447195649147,
-0.019509296864271164,
-0.021629203110933304,
0.06365867704153061,
-0.008126312866806984,
0.008889274671673775,
-0.010338391177356243,
0.02646300382912159,
-0.028613634407520294,
0.013630904257297516,
0.006759126204997301,
0.02943292260169983,
0.028142543509602547,
0.0008128873305395246,
-0.002683168277144432,
0.045306626707315445,
0.042398154735565186,
-0.06574786454439163,
0.047313883900642395,
0.044159624725580215,
-0.0004803716146852821,
-0.008530836552381516,
-0.030989568680524826,
0.050959713757038116,
0.008069987408816814,
-0.03682699799537659,
0.00493108993396163,
0.002386176260188222,
-0.023288263007998466,
0.02355452999472618,
-0.02500876784324646,
0.02779434621334076,
-0.021403899416327477,
-0.000532217207364738,
-0.04067765176296234,
-0.06795994192361832,
0.06755029410123825,
-0.050591036677360535,
-0.005289528518915176,
-0.00044356766738928854,
0.05177900195121765,
-0.07398170977830887,
0.006851295940577984,
0.009841697290539742,
0.05157418176531792,
-0.026565413922071457,
-0.03193175047636032,
-0.01674419827759266,
0.028941350057721138,
0.01923278719186783,
-0.0003641991352196783,
-0.10749059170484543,
-0.012309802696108818,
-0.004754430614411831,
0.0423571914434433,
0.05177900195121765,
-0.029904013499617577,
0.07672632485628128,
-0.07312145829200745,
-0.01856711506843567,
-0.002752295695245266,
-0.02008279785513878,
0.02433285489678383,
-0.01766589842736721,
-0.010148930363357067,
0.053868189454078674,
-0.03072330169379711,
0.028388330712914467,
0.0022248791065067053,
-0.029289547353982925,
-0.02615576982498169,
0.035229384899139404,
-0.06021767109632492,
-0.0029596779495477676,
0.03467636555433273,
0.10495079308748245,
0.00486964313313365,
-0.1360018104314804,
0.0064518931321799755,
0.00000579062225369853,
-0.03799448162317276,
0.052721183747053146,
-0.03594626113772392,
-0.02476298063993454,
-0.006154901348054409,
0.06996719539165497,
0.04121018946170807,
-0.010000434704124928,
-0.043012622743844986,
0.018782177940011024,
0.00045796920312568545,
0.005581399891525507,
0.056530874222517014,
-0.003727760398760438,
0.01791168376803398,
0.061815280467271805,
0.023021994158625603,
0.10814601927995682,
-0.09667598456144333,
0.00804438441991806,
0.002084063831716776,
0.05341757833957672,
-0.04620784521102905,
-0.037113748490810394,
-0.029576297849416733,
-0.01338511798530817,
0.009641995653510094,
-0.0132929477840662,
0.016221903264522552,
-0.020799674093723297,
-0.013764038681983948,
0.05091875046491623,
-0.030026905238628387,
0.024537676945328712,
-0.045306626707315445,
-0.008331134915351868,
0.05227057635784149,
0.048215098679065704,
-0.0015643280930817127,
0.012668240815401077,
0.013251983560621738,
-0.002414339454844594,
-0.030907640233635902,
0.01289354544132948,
0.018229158595204353,
0.043545156717300415,
0.06611654162406921,
-0.010087483562529087,
-0.0760708898305893,
0.01760445162653923,
-0.04022704064846039,
-0.020174967125058174,
0.004954132251441479,
-0.02386176399886608,
0.012064016424119473,
-0.03799448162317276,
0.023636460304260254,
-0.02943292260169983,
-0.028859419748187065,
0.023882245644927025,
-0.046699415892362595,
0.008064866065979004,
-0.017338182777166367,
0.01814723014831543,
-0.0023349709808826447,
0.02003159187734127,
-0.011818230152130127,
0.03873183950781822,
-0.07938900589942932,
0.040513791143894196,
0.015924910083413124,
-0.008500113151967525,
0.026012394577264786,
0.04362708702683449,
0.022428009659051895,
-0.010097725316882133,
0.03197271376848221,
0.0014798389747738838,
-0.03434865176677704,
0.04395480081439018,
-0.012688723392784595,
0.012647759169340134,
0.01828036457300186,
0.016529135406017303,
-0.00898656528443098,
0.017747826874256134,
-0.03746194392442703,
-0.012965233065187931,
-0.026688307523727417,
-0.05497422814369202,
0.019038205966353416,
-0.0028265437576919794,
-0.020174967125058174,
0.003033926011994481,
-0.010671226307749748,
0.0225713849067688,
0.04829702898859978,
-0.007670584134757519,
-0.02306295745074749,
0.09323497861623764,
0.03940775245428085,
-0.0072353375144302845,
0.023349707946181297,
-0.05759594962000847,
-0.024660568684339523,
-0.02210029400885105,
-0.018833383917808533,
-0.06386350095272064,
0.0245786402374506,
-0.07594799995422363,
0.05354047194123268,
-0.036745067685842514,
0.019642431288957596,
-0.028081096708774567,
0.009585670195519924,
0.043913837522268295,
0.017758067697286606,
-0.001021549804136157,
0.01493152417242527,
-0.03254621848464012,
0.008095589466392994,
-0.056653767824172974,
-0.06271649897098541,
0.06255263835191727,
-0.036745067685842514,
0.007435038685798645,
-0.05382722243666649,
0.04710905998945236,
0.029965460300445557,
-0.02883893810212612,
-0.002752295695245266,
0.004949011839926243,
0.02974015474319458,
0.03252573311328888,
0.013579699210822582,
0.00001029110535455402,
0.01706167310476303,
0.005663328338414431,
-0.017737586051225662,
-0.050345249474048615,
-0.009570308029651642,
0.0051538338884711266,
0.006221468560397625,
-0.0009850658243522048,
0.09749527275562286,
0.019980385899543762,
-0.01032302901148796,
0.015556231141090393,
-0.00001314141172770178,
0.021403899416327477,
0.021219559013843536,
-0.046699415892362595,
-0.017430352047085762,
0.025766609236598015,
0.04219333454966545,
0.07258892059326172,
0.024005139246582985,
0.02020569145679474,
-0.014521880075335503,
-0.025213588029146194,
-0.01573033072054386,
-0.04102584719657898,
-0.009237472899258137,
0.007655222434550524,
0.030620889738202095,
-0.03484022244811058,
-0.01380500290542841,
0.020164726302027702,
-0.038998108357191086,
0.012309802696108818,
-0.07299856096506119,
-0.029658226296305656,
0.017696620896458626,
0.03842460736632347,
-0.035413723438978195,
0.01608876883983612,
0.01493152417242527,
-0.02494732104241848,
-0.06070924177765846,
0.03524986654520035,
-0.041599348187446594,
-0.018946034833788872,
0.0003113934653811157,
-0.010276944376528263,
0.0057145338505506516,
0.04608495160937309,
0.046822309494018555,
-0.07148288190364838,
-0.033898040652275085,
0.0027471750508993864,
0.013241742737591267,
0.03934630751609802,
-0.055260978639125824,
0.05292600765824318,
0.006963948253542185,
-0.003374442458152771,
0.0044036731123924255,
0.06681293994188309,
0.005478988867253065,
-0.02834736555814743,
0.04891149327158928,
-0.044282518327236176,
-0.011367620900273323,
-0.021321970969438553,
0.010036278516054153,
0.012340526096522808,
-0.049075353890657425,
-0.01589418761432171,
-0.02554130367934704,
-0.04710905998945236,
0.02250993810594082,
0.015494784340262413,
0.02275572530925274,
-0.00308769172988832,
0.04686327651143074,
0.0023042475804686546,
-0.02804013341665268,
0.026237698271870613,
0.019007481634616852,
-0.052762147039175034,
-0.033283576369285583,
0.0022056768648326397,
0.02943292260169983,
-0.030313657596707344,
-0.0646008625626564,
-0.006897381041198969,
0.0010605939896777272,
0.01579177752137184,
0.01556647289544344,
-0.021403899416327477,
-0.02404610440135002,
0.03860894963145256,
0.02615576982498169,
0.02197740040719509,
0.04268490523099899,
-0.032996825873851776,
-0.05558869242668152,
0.02912568859755993,
-0.019048446789383888,
-0.0022056768648326397,
0.038690876215696335,
-0.047436777502298355,
0.08774574846029282,
0.03576192259788513,
-0.029105206951498985,
0.009001927450299263,
0.03828123211860657,
-0.015924910083413124,
-0.018136989325284958,
-0.005509711802005768,
-0.003238748060539365,
0.021588239818811417,
0.05177900195121765,
0.054523617029190063,
-0.004984855651855469,
-0.09995313733816147,
-0.029760638251900673,
0.01832132786512375,
0.033283576369285583,
0.026053359732031822,
0.04551145061850548,
-0.01698998548090458,
0.015248998068273067,
0.036867961287498474,
0.04030897095799446,
0.013856208883225918,
0.004081078339368105,
-0.05104164406657219,
0.027528077363967896,
-0.03363177180290222,
-0.03180885687470436,
0.03969450294971466,
-0.009216990321874619,
0.022919582203030586,
0.02099425531923771,
0.03162451833486557,
-0.018864106386899948,
0.071400947868824,
0.007839562371373177,
0.033590808510780334,
0.03991980850696564,
0.02075871080160141,
-0.03354984521865845,
-0.0525573268532753,
0.083485446870327,
-0.01119352225214243,
0.02931002900004387,
0.05014042556285858,
0.06419121474027634,
0.0593574158847332,
0.003878816729411483,
-0.03613060340285301,
-0.05108260735869408,
-0.04866570979356766,
0.004247496370226145,
-0.013999584130942822,
0.04747774079442024,
0.06038152799010277,
-0.004600814543664455,
-0.010538091883063316,
-0.06996719539165497,
0.008909757249057293,
0.021014736965298653,
-0.00801366101950407,
-0.010143809951841831,
0.012934509664773941,
-0.09192411601543427,
0.010906771756708622,
-0.035659510642290115,
-0.054482653737068176,
0.07775043696165085,
0.031173909083008766,
-0.02931002900004387,
0.026237698271870613,
0.020226173102855682,
-0.04936210438609123,
0.048829566687345505,
-0.08848311007022858,
0.002167272847145796,
0.019990628585219383,
-0.05214768275618553,
-0.009795612655580044,
-0.001843398087657988,
0.040698133409023285,
-0.011582684703171253,
0.04168127849698067,
0.006272674072533846,
0.021834025159478188,
0.05354047194123268,
0.039428237825632095,
-0.04559337720274925,
0.03199319913983345,
0.031399212777614594,
-0.03920293226838112,
0.011797747574746609,
0.0025705161970108747,
0.01863880269229412,
-0.024844909086823463,
0.02250993810594082,
0.0028803094755858183,
-0.023329226300120354,
-0.010763396508991718,
0.004344786982983351,
-0.025664197281003,
0.09094096720218658,
-0.012135704047977924,
-0.004068277310580015,
-0.03387755900621414,
0.003740561893209815,
0.0006173463189043105,
0.000855131889693439,
0.04317647963762283,
0.03467636555433273,
0.07381784915924072,
-0.0015041616279631853,
-0.03236187621951103,
-0.04887052997946739,
0.04198851063847542,
-0.014173682779073715,
0.0064672548323869705,
0.007732030935585499,
0.06853344291448593,
0.034082382917404175,
0.03864991292357445,
-0.008832949213683605,
0.02238704450428486,
-0.009898023679852486,
0.023882245644927025,
0.04964885488152504,
-0.0010081082582473755,
-0.005944958887994289,
0.007819079793989658,
-0.030313657596707344,
-0.02075871080160141,
0.061692386865615845,
-0.00922723114490509,
0.02853170596063137,
-0.05706341192126274,
0.030497996136546135,
0.0028982313815504313,
-0.03701133653521538,
0.015423096716403961,
-0.05706341192126274,
-0.02318585105240345,
0.03531131520867348,
-0.06394542753696442,
-0.02390272729098797,
0.057145338505506516,
-0.0029238341376185417,
-0.02234608121216297,
-0.03557758405804634,
-0.04219333454966545,
-0.02386176399886608,
0.03694989159703255,
-0.039059557020664215,
0.002548753749579191,
0.013303189538419247,
-0.04321744292974472,
0.002836784813553095,
-0.016058044508099556,
-0.021219559013843536,
0.0011335618328303099,
-0.008628127165138721,
0.027630489319562912,
0.033959489315748215,
0.08323965966701508,
-0.0022351201623678207,
-0.00623683026060462,
-0.03172693029046059,
0.030559442937374115,
0.06447796523571014,
0.04395480081439018,
-0.032566700130701065,
0.03125583752989769,
0.008541077375411987,
0.008535956963896751,
0.06083213537931442,
0.026176251471042633,
0.018106264993548393,
0.027343736961483955,
-0.03846557438373566,
-0.000432366447057575,
-0.008597403764724731,
-0.019703876227140427,
0.03047751449048519,
-0.06435507535934448,
-0.060914065688848495,
0.014716461300849915,
-0.05632605031132698,
0.03619204834103584,
0.0004675702366512269,
-0.06865633279085159,
0.008428425528109074,
-0.021383417770266533,
-0.007040756288915873,
-0.018956277519464493,
-0.018003854900598526,
-0.02244849130511284,
0.01353873498737812,
0.030764264985919,
-0.01681588590145111,
0.021588239818811417,
0.009094096720218658,
0.05984899029135704,
-0.031481143087148666,
-0.05358143523335457,
0.007399194873869419,
0.033529363572597504,
0.017942408099770546,
0.012821857817471027,
0.030190763995051384,
-0.030907640233635902,
-0.017696620896458626,
-0.04841992259025574,
-0.029842566698789597,
0.04456926882266998,
0.0064826165325939655,
-0.0016308951890096068,
-0.006088334135711193,
-0.014695978723466396,
0.02445574663579464
]
|
37,135 | youtube_transcript_api._transcripts | __init__ |
The constructor is only for internal use. Use the static build method instead.
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param manually_created_transcripts: dict mapping language codes to the manually created transcripts
:type manually_created_transcripts: dict[str, Transcript]
:param generated_transcripts: dict mapping language codes to the generated transcripts
:type generated_transcripts: dict[str, Transcript]
:param translation_languages: list of languages which can be used for translatable languages
:type translation_languages: list[dict[str, str]]
| def __init__(self, video_id, manually_created_transcripts, generated_transcripts, translation_languages):
"""
The constructor is only for internal use. Use the static build method instead.
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param manually_created_transcripts: dict mapping language codes to the manually created transcripts
:type manually_created_transcripts: dict[str, Transcript]
:param generated_transcripts: dict mapping language codes to the generated transcripts
:type generated_transcripts: dict[str, Transcript]
:param translation_languages: list of languages which can be used for translatable languages
:type translation_languages: list[dict[str, str]]
"""
self.video_id = video_id
self._manually_created_transcripts = manually_created_transcripts
self._generated_transcripts = generated_transcripts
self._translation_languages = translation_languages
| (self, video_id, manually_created_transcripts, generated_transcripts, translation_languages) | [
0.003144779009744525,
-0.007836170494556427,
-0.054103318601846695,
0.0036603163462132215,
-0.04128049686551094,
-0.024183396250009537,
-0.024539586156606674,
0.03948080167174339,
0.026320533826947212,
0.04457993432879448,
-0.04754193499684334,
0.08706022799015045,
-0.049679070711135864,
0.00777055649086833,
-0.03751238435506821,
0.0021863477304577827,
-0.021108917891979218,
0.04244279861450195,
-0.018109427765011787,
-0.056015495210886,
-0.013366482220590115,
0.03359429910778999,
-0.046567097306251526,
0.06122710928320885,
0.028570152819156647,
0.008286094292998314,
-0.021240146830677986,
-0.031588390469551086,
-0.03661253675818443,
0.005127254873514175,
-0.007142538204789162,
0.01771574467420578,
0.0012923588510602713,
0.026882939040660858,
-0.040755584836006165,
0.0071097309701144695,
-0.04281773418188095,
-0.017481409013271332,
-0.08661030232906342,
0.0035548654850572348,
0.03843097761273384,
0.007086297497153282,
0.04615467041730881,
0.005220989231020212,
0.022983599454164505,
0.029113810509443283,
-0.03646256402134895,
0.012785330414772034,
-0.03415670618414879,
-0.009087520651519299,
0.049304135143756866,
0.03231951594352722,
0.01905614137649536,
-0.0379810556769371,
-0.09215936064720154,
0.0744248703122139,
-0.027726545929908752,
0.07888661324977875,
0.04334264621138573,
0.009303108789026737,
0.011435559950768948,
0.013703924603760242,
0.006116149947047234,
0.03726867586374283,
0.028813861310482025,
0.002453489927574992,
-0.013872645795345306,
-0.04881671816110611,
0.013254000805318356,
0.05312848463654518,
0.018737446516752243,
0.010957515798509121,
0.0006596536841243505,
-0.00023755735310260206,
0.07240021228790283,
-0.006650433875620365,
-0.08683526515960693,
-0.011388693004846573,
-0.028476418927311897,
0.024464599788188934,
0.024520838633179665,
-0.009823333472013474,
0.00887193251401186,
0.011229344643652439,
0.06775100529193878,
-0.021333880722522736,
-0.01179174892604351,
-0.08983475714921951,
-0.05361590161919594,
-0.027407849207520485,
-0.0674135610461235,
-0.015869181603193283,
-0.03685624524950981,
0.004225064534693956,
-0.036218855530023575,
-0.013179013505578041,
0.021108917891979218,
-0.08053633570671082,
-0.05350342020392418,
-0.007301886100322008,
0.05035395547747612,
0.023995928466320038,
-0.014585025608539581,
-0.05027896910905838,
0.055490583181381226,
-0.01334773562848568,
-0.07896160334348679,
-0.013553950004279613,
0.0028049927204847336,
0.03400672972202301,
-0.010095162317156792,
0.017425168305635452,
0.029188796877861023,
0.03696872666478157,
0.006097402889281511,
-0.058377593755722046,
-0.016675295308232307,
0.003423637943342328,
-0.0267704576253891,
-0.010601325891911983,
0.06823842227458954,
-0.007367500104010105,
-0.045292314141988754,
0.040493130683898926,
-0.02099643647670746,
-0.021071424707770348,
0.024239636957645416,
-0.01755639538168907,
0.027220381423830986,
-0.040718089789152145,
0.01408823486417532,
-0.03526276722550392,
-0.013994500041007996,
0.00019332657393533736,
0.03434417396783829,
-0.05938992276787758,
0.05222863703966141,
0.005647479090839624,
-0.03694998100399971,
0.05189119651913643,
0.004921040032058954,
0.025664394721388817,
0.055528078228235245,
0.01179174892604351,
-0.07281264662742615,
-0.026957925409078598,
-0.029957417398691177,
-0.013113399967551231,
-0.03443790599703789,
-0.02982618845999241,
0.003301783464848995,
-0.08586043119430542,
-0.04705451428890228,
0.034644123166799545,
-0.025664394721388817,
-0.00966398511081934,
-0.0010609527816995978,
-0.019496692344546318,
0.018559351563453674,
0.04094305261969566,
0.03843097761273384,
0.0009232808370143175,
-0.04484239220619202,
0.0472794771194458,
0.007461233995854855,
-0.0410180389881134,
0.06062721461057663,
-0.013403975404798985,
-0.05627794936299324,
0.014725626446306705,
0.010610699653625488,
-0.003208049340173602,
-0.024745801463723183,
0.02791401371359825,
-0.0000360290432581678,
0.040530622005462646,
0.013141520321369171,
0.04476740211248398,
0.017087725922465324,
0.021352626383304596,
-0.025870610028505325,
0.022796131670475006,
-0.0020223131868988276,
-0.007550281472504139,
0.05736526474356651,
0.02804524078965187,
0.024802042171359062,
0.08338585495948792,
0.03417545184493065,
-0.018484363332390785,
-0.00029863097006455064,
-0.056840356439352036,
0.01338522881269455,
-0.002010596450418234,
-0.06516394019126892,
0.017490781843662262,
-0.0018442183500155807,
-0.021090172231197357,
-0.06827591359615326,
0.0013579727383330464,
0.01758451573550701,
-0.013994500041007996,
0.037999801337718964,
-0.0236397385597229,
0.020096590742468834,
0.019815387204289436,
-0.018231282010674477,
0.011379319243133068,
-0.016984617337584496,
-0.05890250578522682,
0.04173041880130768,
-0.024052169173955917,
0.04596719890832901,
-0.026076825335621834,
0.011557414196431637,
-0.09395905584096909,
-0.03558146208524704,
0.0017598576378077269,
0.014238209463655949,
-0.014650639146566391,
0.08608539402484894,
-0.026039332151412964,
-0.027182888239622116,
-0.03258197009563446,
0.050991348922252655,
0.005220989231020212,
0.04105553403496742,
-0.021765056997537613,
-0.08458564430475235,
0.003969639074057341,
0.00740030687302351,
-0.03451289236545563,
-0.021015184000134468,
-0.0005618187133222818,
0.004412532318383455,
-0.018681205809116364,
0.017331434413790703,
-0.016628429293632507,
-0.036331336945295334,
-0.012485381215810776,
0.02380846068263054,
-0.0035806423984467983,
0.03091350384056568,
0.04840428754687309,
-0.0162347462028265,
0.05189119651913643,
-0.0019930212292820215,
0.03278818726539612,
-0.013891393318772316,
-0.01757514290511608,
0.02341477759182453,
0.0031916459556668997,
-0.05361590161919594,
0.02375221997499466,
0.005155375227332115,
-0.021990017965435982,
0.02828894928097725,
-0.030351100489497185,
0.03096974454820156,
-0.030632302165031433,
-0.011248091235756874,
-0.064938984811306,
-0.05522812902927399,
0.08046134561300278,
-0.004609374329447746,
-0.030388593673706055,
-0.020452778786420822,
0.05796516314148903,
-0.056015495210886,
-0.004827306140214205,
0.09395905584096909,
-0.00014104052388574928,
-0.025983091443777084,
-0.0162347462028265,
0.0004572466423269361,
-0.0251582320779562,
-0.01551299262791872,
-0.025683142244815826,
-0.06955070048570633,
0.021333880722522736,
0.029245037585496902,
0.010151402093470097,
0.039143357425928116,
0.025701889768242836,
0.07446236908435822,
-0.05065390467643738,
-0.021765056997537613,
0.00587712787091732,
-0.07221274822950363,
0.008712584152817726,
-0.02508324384689331,
0.03449414670467377,
0.04041814059019089,
-0.012119818478822708,
0.037849828600883484,
0.002687825122848153,
-0.018568724393844604,
0.01764075644314289,
0.042105354368686676,
-0.02217748761177063,
0.0023210905492305756,
0.02945125289261341,
0.08173613250255585,
0.01397575344890356,
-0.1403011977672577,
0.008276720531284809,
-0.0311384666711092,
-0.0009431993239559233,
0.06100215017795563,
-0.0117261353880167,
0.027670305222272873,
0.03948080167174339,
0.03160713613033295,
0.06441406905651093,
0.004065716173499823,
0.012879064306616783,
-0.005844320636242628,
-0.041955381631851196,
0.021540096029639244,
0.0632142722606659,
0.0002703642821870744,
-0.023377282544970512,
0.055490583181381226,
0.0017211923841387033,
0.09980806708335876,
-0.08751015365123749,
0.01904676854610443,
-0.05635293945670128,
0.04113052040338516,
-0.02088395692408085,
-0.046492110937833786,
0.005089761223644018,
0.0035689256619662046,
-0.006270810961723328,
-0.04169292747974396,
-0.0038056042976677418,
-0.03123220056295395,
0.004550790414214134,
0.025401940569281578,
-0.01766887679696083,
0.040530622005462646,
-0.030407341197133064,
-0.027801532298326492,
0.04589221253991127,
0.031569644808769226,
0.00044260069262236357,
-0.009331229142844677,
0.0006350484909489751,
0.021952524781227112,
-0.02650800161063671,
0.0006889455835334957,
-0.03085726499557495,
0.04630464315414429,
0.05953989923000336,
0.018924914300441742,
-0.06452655047178268,
0.012438514269888401,
-0.00450157979503274,
-0.02090270258486271,
-0.007381559815257788,
0.007072237320244312,
0.011801122687757015,
-0.015531739220023155,
0.014763119630515575,
-0.009007846936583519,
0.002160570817068219,
0.012119818478822708,
-0.040755584836006165,
0.008304840885102749,
0.0007399134919978678,
0.013703924603760242,
-0.003449414623901248,
0.024614572525024414,
0.015531739220023155,
0.04581722617149353,
-0.06973816454410553,
0.0019262356217950583,
0.022571170702576637,
-0.03271320089697838,
0.006144269835203886,
-0.018756192177534103,
0.020152829587459564,
0.030069896951317787,
0.023246055468916893,
-0.02062150090932846,
0.00741436704993248,
0.01904676854610443,
0.00957025121897459,
0.023152321577072144,
0.04604218900203705,
-0.010095162317156792,
-0.010976262390613556,
-0.018437497317790985,
-0.04926664009690285,
0.005277229472994804,
-0.03351931273937225,
-0.024783294647932053,
0.026320533826947212,
0.0476544126868248,
-0.036218855530023575,
0.008304840885102749,
-0.030107391998171806,
-0.02365848608314991,
0.044954873621463776,
-0.008136119693517685,
-0.006828528828918934,
0.08616038411855698,
0.061639539897441864,
-0.009963934309780598,
-0.009842080064117908,
0.004911666736006737,
-0.01611289009451866,
-0.03280693292617798,
-0.04308019205927849,
-0.05624045804142952,
0.024333370849490166,
-0.05931493639945984,
0.02806398831307888,
-0.043455127626657486,
-0.011623027734458447,
-0.01612226478755474,
0.03261946514248848,
0.02388344705104828,
-0.00043088392703793943,
0.01027325727045536,
0.014566278085112572,
0.0031471222173422575,
-0.00038079475052654743,
-0.026058077812194824,
-0.09965808689594269,
0.024370864033699036,
0.02810148149728775,
0.019740400835871696,
-0.048066843301057816,
0.0533534474670887,
0.025720635429024696,
-0.02052776701748371,
-0.01326337456703186,
-0.027745291590690613,
0.05774020403623581,
0.009031279943883419,
-0.014472544193267822,
0.009429650381207466,
0.00952807068824768,
-0.015325524844229221,
-0.02095894329249859,
-0.07303760945796967,
-0.003236169693991542,
0.00185359176248312,
0.001804381376132369,
-0.00704411743208766,
0.1184799000620842,
0.031888339668512344,
-0.04555477201938629,
0.045104846358299255,
-0.03963077440857887,
-0.003343963762745261,
-0.001911003841087222,
-0.017218952998518944,
-0.03376302123069763,
0.020377792418003082,
0.00975771900266409,
0.05882751941680908,
-0.003208049340173602,
0.01630035974085331,
0.02502700313925743,
-0.016834642738103867,
-0.020190324634313583,
-0.026882939040660858,
-0.016600308939814568,
0.016881510615348816,
0.03963077440857887,
-0.008445441722869873,
-0.016544068232178688,
0.02669547125697136,
-0.01754702255129814,
0.009340602904558182,
-0.08301091194152832,
-0.03546898066997528,
0.024464599788188934,
0.029207544401288033,
-0.027051659300923347,
0.020434033125638962,
0.04832930117845535,
-0.04270525276660919,
-0.033425576984882355,
0.02542068623006344,
-0.05151625722646713,
-0.024914521723985672,
0.002217983128502965,
-0.015119309537112713,
0.026114318519830704,
0.03087601065635681,
0.04165543243288994,
-0.03267570585012436,
-0.02084646373987198,
0.0014716252917423844,
0.014397556893527508,
0.018831180408596992,
-0.03231951594352722,
0.05485319346189499,
-0.023133574053645134,
-0.009842080064117908,
-0.037474893033504486,
0.0592399500310421,
-0.01025450974702835,
-0.028757620602846146,
0.005150688346475363,
-0.06047723814845085,
-0.01936546340584755,
0.0015653594164177775,
-0.01319776102900505,
0.0007680337294004858,
-0.04544229060411453,
0.004667957779020071,
-0.010507592000067234,
-0.06718859821557999,
0.009710852056741714,
0.012072951532900333,
0.05035395547747612,
0.0010914163431152701,
0.04487988352775574,
0.040718089789152145,
-0.04904167726635933,
0.03563770279288292,
0.0001508533168816939,
-0.09043465554714203,
-0.03584391623735428,
0.04626714810729027,
0.04742945358157158,
-0.048254311084747314,
-0.08758513629436493,
-0.043792568147182465,
0.010854408144950867,
-0.00885318499058485,
0.05185370147228241,
-0.036125119775533676,
-0.001468110247515142,
0.004949160385876894,
-0.0029057569336146116,
-0.003988385666161776,
0.011360572651028633,
-0.021446360275149345,
-0.04469241574406624,
0.01638472080230713,
0.004733571782708168,
-0.043605100363492966,
0.05729027837514877,
-0.030351100489497185,
0.055415596812963486,
0.018278148025274277,
-0.02667672373354435,
-0.03940581530332565,
0.034850336611270905,
-0.03876842185854912,
-0.01477249339222908,
-0.005834947340190411,
-0.036275096237659454,
0.027126647531986237,
0.06100215017795563,
0.0506913997232914,
0.021202651783823967,
-0.04622965678572655,
0.002132450696080923,
-0.010526338592171669,
0.03850596770644188,
0.039255838841199875,
-0.00811268575489521,
-0.01768762432038784,
0.03580642491579056,
0.05136628448963165,
-0.02795150689780712,
-0.012457260861992836,
0.042405303567647934,
-0.0698881447315216,
-0.0012513501569628716,
0.006242690607905388,
0.024145903065800667,
0.014463171362876892,
-0.04045563563704491,
0.0030627616215497255,
0.03125094622373581,
0.00810331292450428,
-0.005666226148605347,
0.019552933052182198,
-0.0021992363035678864,
0.025945598259568214,
0.04589221253991127,
0.04454244300723076,
-0.031719617545604706,
-0.044954873621463776,
0.07926154881715775,
-0.021052677184343338,
0.04596719890832901,
0.022458689287304878,
0.014275702647864819,
0.028907595202326775,
0.006003668997436762,
-0.027276622131466866,
-0.025570660829544067,
-0.03252572938799858,
-0.006781661882996559,
0.007114417850971222,
0.05530311539769173,
0.05935242772102356,
-0.037831079214811325,
-0.033144377171993256,
-0.042405303567647934,
-0.014585025608539581,
0.06058971956372261,
-0.0022484466899186373,
0.005511564668267965,
0.00826266035437584,
-0.05759022757411003,
0.03147590905427933,
-0.045292314141988754,
-0.07041305303573608,
0.0759621113538742,
0.054290786385536194,
-0.027539078146219254,
-0.01338522881269455,
0.03582517057657242,
-0.04255528002977371,
0.03691248595714569,
-0.0977834090590477,
-0.02388344705104828,
0.01794070564210415,
-0.0506913997232914,
-0.003379114205017686,
-0.008693837560713291,
0.05519063398241997,
-0.04682955518364906,
0.03126969560980797,
-0.011988590471446514,
0.015138056129217148,
0.0382622592151165,
0.012841571122407913,
-0.033088136464357376,
0.09958310425281525,
0.04011819139122963,
-0.02215874008834362,
0.017275193706154823,
0.005127254873514175,
0.003257259726524353,
-0.008347021415829659,
0.021333880722522736,
-0.025551915168762207,
-0.033388085663318634,
-0.002889353549107909,
0.007231585681438446,
-0.009185940958559513,
0.06647621840238571,
-0.021240146830677986,
0.027895266190171242,
-0.0006854305975139141,
0.006552013102918863,
-0.021671323105692863,
0.03567519783973694,
0.05147876590490341,
0.01193235069513321,
0.042217835783958435,
-0.032038312405347824,
-0.002544880611822009,
-0.03966826945543289,
0.05174122005701065,
-0.021652575582265854,
0.01396638061851263,
0.0010433776769787073,
0.012822824530303478,
0.04004320502281189,
0.046717073768377304,
-0.027032913640141487,
0.01625349186360836,
0.013741418719291687,
0.026020584627985954,
0.013141520321369171,
-0.017340807244181633,
-0.04570474475622177,
0.039105866104364395,
-0.021465107798576355,
-0.019965361803770065,
0.02641426771879196,
0.01925298385322094,
-0.012363526970148087,
-0.06028977036476135,
0.04630464315414429,
-0.033144377171993256,
0.013910139910876751,
0.008342334069311619,
-0.07731188088655472,
-0.03125094622373581,
0.02513948455452919,
-0.07048804312944412,
-0.01618787832558155,
0.03696872666478157,
-0.0027557823341339827,
-0.02947000041604042,
-0.05061641335487366,
-0.01934671774506569,
0.003941518720239401,
0.019871627911925316,
-0.024389611557126045,
-0.0350378043949604,
0.02500825747847557,
-0.03681875392794609,
-0.006650433875620365,
0.054140813648700714,
-0.029113810509443283,
0.007817423902451992,
-0.05609048157930374,
0.04034315422177315,
0.04446745663881302,
0.07371249049901962,
-0.01947794482111931,
0.00121151318307966,
-0.02193377912044525,
0.04450494796037674,
0.049604084342718124,
0.04900418594479561,
-0.05744025483727455,
0.042292822152376175,
-0.03903087601065636,
0.006458279211074114,
0.04319266974925995,
0.05282853543758392,
-0.006523893214762211,
0.0023480390664190054,
0.009401530027389526,
0.028870102018117905,
-0.05035395547747612,
0.019796641543507576,
0.03520652651786804,
-0.04484239220619202,
-0.07018809020519257,
-0.0026925120037049055,
-0.020209070295095444,
0.012700970284640789,
0.0020117680542171,
-0.049604084342718124,
0.05624045804142952,
-0.016909630969166756,
0.021090172231197357,
0.02804524078965187,
-0.003400204237550497,
-0.02984493598341942,
0.03708120808005333,
0.010873154737055302,
-0.03981824219226837,
0.043567609041929245,
0.006926949601620436,
0.0381685234606266,
0.00045255993609316647,
-0.06167703494429588,
-0.006753541529178619,
0.03959328308701515,
-0.018193788826465607,
0.027295367792248726,
0.017406420782208443,
-0.06733857095241547,
-0.06272685527801514,
-0.056952837854623795,
-0.034850336611270905,
0.04574223980307579,
-0.027839025482535362,
0.01474437303841114,
0.04191788658499718,
0.02204625867307186,
0.03233826160430908
]
|
37,136 | youtube_transcript_api._transcripts | __iter__ | null | def __iter__(self):
return iter(list(self._manually_created_transcripts.values()) + list(self._generated_transcripts.values()))
| (self) | [
0.024628693237900734,
-0.03776746988296509,
-0.04037092626094818,
-0.02061937190592289,
-0.040301498025655746,
-0.003775011282414198,
-0.03689964860677719,
-0.002091442933306098,
0.09226647764444351,
0.026121342554688454,
0.005588752217590809,
0.01628027856349945,
-0.024559268727898598,
0.04044035077095032,
-0.06800226867198944,
-0.0400237962603569,
-0.029419053345918655,
0.0864347368478775,
-0.09351614117622375,
-0.0071421475149691105,
-0.016870394349098206,
0.01636706106364727,
-0.010353077203035355,
0.007710569072514772,
-0.012592049315571785,
0.04477944225072861,
-0.024889038875699043,
-0.06765514612197876,
0.07084871828556061,
0.012270956300199032,
-0.0325084887444973,
-0.05297165364027023,
0.01872752606868744,
-0.030373653396964073,
0.03058193065226078,
-0.011923828162252903,
-0.04193300008773804,
0.01619349606335163,
0.038184020668268204,
0.048944972455501556,
0.0778954029083252,
-0.024802258238196373,
0.032005153596401215,
0.013164808973670006,
-0.015334355644881725,
0.0037771807983517647,
-0.010873767547309399,
-0.012218886986374855,
0.019577989354729652,
-0.03773275762796402,
0.06442686170339584,
-0.012001932598650455,
0.03811459615826607,
-0.033150672912597656,
-0.03693436458706856,
0.04589025303721428,
-0.008161834441125393,
0.05134015157818794,
0.0008548013865947723,
0.03452182561159134,
0.009762960486114025,
-0.05102773755788803,
0.009997271001338959,
-0.038079883903265,
0.03978080675005913,
-0.01017951313406229,
-0.04703577235341072,
-0.04432817921042442,
0.024576624855399132,
0.06911307573318481,
0.0051721991039812565,
-0.004833749961107969,
-0.009788994677364826,
0.005471596959978342,
-0.00825729500502348,
0.004859784618020058,
-0.05786614865064621,
-0.0017009245930239558,
0.011290321126580238,
-0.07845080643892288,
-0.03370607644319534,
0.010587387718260288,
-0.05498499050736427,
0.03290768340229988,
0.04356449842453003,
-0.013772282749414444,
-0.006790681276470423,
-0.06449628621339798,
-0.033324237912893295,
0.01241848524659872,
-0.042488403618335724,
0.028412383049726486,
0.01743447780609131,
-0.012800325639545918,
0.02263271063566208,
0.010491928085684776,
-0.03707321360707283,
-0.040648628026247025,
-0.02903721295297146,
0.019144080579280853,
0.019977185875177383,
0.06286478787660599,
0.05401303246617317,
0.03058193065226078,
0.06255237013101578,
0.05154842883348465,
-0.0585256926715374,
-0.05720660835504532,
0.029991813004016876,
-0.009198877960443497,
-0.06664847582578659,
0.06897422671318054,
0.062274668365716934,
-0.011949863284826279,
-0.0008575133397243917,
-0.10427708923816681,
-0.013034636154770851,
0.03285561501979828,
-0.006139817181974649,
0.019820978865027428,
0.016297634690999985,
0.03457389771938324,
-0.00778867257758975,
0.06303834915161133,
0.00006718814984196797,
0.014084696769714355,
0.0474870391190052,
0.015343033708631992,
0.03596240654587746,
-0.08171380311250687,
0.0241253599524498,
0.00565817765891552,
0.00007356119022006169,
0.006638812832534313,
-0.004625473637133837,
-0.029991813004016876,
0.033324237912893295,
-0.0034409009385854006,
-0.04040563851594925,
0.06342019140720367,
0.013581362552940845,
0.017321661114692688,
0.03276883438229561,
0.07511838525533676,
-0.08053357154130936,
0.003796706674620509,
-0.03311596065759659,
0.08143610507249832,
-0.011984575539827347,
-0.05654706433415413,
0.0027097638230770826,
-0.02716272510588169,
-0.02513202838599682,
0.04623737931251526,
-0.09358556568622589,
0.023136045783758163,
-0.05109716206789017,
0.04523070901632309,
-0.004059222061187029,
-0.03195308521389961,
-0.025774214416742325,
-0.012366415932774544,
-0.019803622737526894,
0.02061937190592289,
0.007892810739576817,
0.013251591473817825,
-0.0003365509328432381,
-0.03988494724035263,
-0.012288312427699566,
-0.03724677860736847,
0.003302050055935979,
-0.04057919979095459,
-0.0139545239508152,
0.026312261819839478,
-0.018363043665885925,
0.05022934451699257,
0.02865537256002426,
0.07865908741950989,
-0.0031935726292431355,
0.07463240623474121,
-0.02004661224782467,
-0.047139909118413925,
-0.0771317258477211,
0.007784333545714617,
0.03919069096446037,
-0.008595744147896767,
0.02934962697327137,
0.010665491223335266,
0.06689146161079407,
-0.02185167372226715,
0.019282931461930275,
-0.005744959693402052,
0.01197589747607708,
0.04592496529221535,
-0.03203986585140228,
-0.007111773826181889,
-0.0501946322619915,
-0.010248938575387001,
-0.06911307573318481,
0.04842428117990494,
-0.07050158828496933,
-0.05335349217057228,
-0.013633430935442448,
0.01553395390510559,
-0.00003481444582575932,
0.04807715490460396,
-0.010596065782010555,
-0.037489768117666245,
-0.008404823951423168,
0.0021489360369741917,
0.022233514115214348,
-0.08032529801130295,
0.009875776246190071,
-0.014414467848837376,
0.024472486227750778,
-0.044154614210128784,
-0.00245158770121634,
-0.05432545021176338,
-0.0027119333390146494,
-0.0063524325378239155,
0.05307579040527344,
-0.021695466712117195,
0.009467901661992073,
-0.05099302530288696,
0.027128010988235474,
-0.010674169287085533,
0.0008851750753819942,
-0.019196148961782455,
-0.0827551856637001,
0.003406188217923045,
0.02860330417752266,
0.01855396293103695,
-0.021730178967118263,
-0.03610125556588173,
0.038079883903265,
0.0007490359712392092,
-0.009554683230817318,
-0.01326894760131836,
0.004443231504410505,
0.057137180119752884,
-0.03233492374420166,
0.05349234119057655,
0.0493268147110939,
0.016731543466448784,
-0.0511665903031826,
0.04627209156751633,
0.05349234119057655,
0.04953508824110031,
-0.027318932116031647,
0.02176489308476448,
0.052138544619083405,
-0.03446975722908974,
-0.02426421083509922,
0.02553122490644455,
0.01154198870062828,
0.003408357733860612,
0.01610671542584896,
-0.012921820394694805,
0.049604516476392746,
-0.005831741262227297,
0.06050431728363037,
-0.011793655343353748,
-0.0474870391190052,
0.050784748047590256,
-0.02966204285621643,
0.006417518947273493,
-0.004362958483397961,
0.027388356626033783,
-0.04616795480251312,
0.040822189301252365,
0.02653789520263672,
0.02707594260573387,
-0.06876595318317413,
0.012114748358726501,
-0.003942066337913275,
0.04509185999631882,
0.034018490463495255,
-0.004864123649895191,
-0.1069846823811531,
-0.01734769530594349,
0.029332270845770836,
0.03276883438229561,
0.015490563586354256,
-0.035649992525577545,
-0.002707594307139516,
-0.06383673846721649,
-0.03686493635177612,
0.009650143794715405,
0.030460435897111893,
-0.026138698682188988,
0.03212664648890495,
0.04550841078162193,
0.03302918002009392,
-0.05317992717027664,
0.09816765040159225,
-0.023639380931854248,
-0.017469190061092377,
-0.03264733776450157,
0.04151644557714462,
-0.0017909607850015163,
0.03790631890296936,
-0.03672608733177185,
0.01691378653049469,
0.03466067835688591,
-0.07057101279497147,
-0.004310889169573784,
0.045994389802217484,
0.02707594260573387,
-0.017642753198742867,
0.013329694978892803,
-0.009797672741115093,
-0.012331703677773476,
0.001564243109896779,
0.01820683665573597,
0.0021359187085181475,
-0.10087524354457855,
-0.009927845560014248,
-0.001981880981475115,
0.00033872047788463533,
0.09823707491159439,
-0.06397559493780136,
0.016636084765195847,
0.04589025303721428,
-0.012982567772269249,
0.019751552492380142,
-0.01759936287999153,
0.0023582973517477512,
0.015039297752082348,
0.008183530531823635,
0.009502614848315716,
-0.06154569983482361,
-0.06151098757982254,
0.024767544120550156,
0.07268849015235901,
-0.01594182848930359,
0.056269362568855286,
0.05856040492653847,
-0.00505504384636879,
0.015811655670404434,
-0.06671790033578873,
0.005957575049251318,
-0.04103046655654907,
-0.010734916664659977,
0.010344398207962513,
-0.03738562762737274,
0.0007989355945028365,
-0.05088888853788376,
0.020306957885622978,
0.05456843972206116,
-0.0006378467078320682,
-0.015447172336280346,
0.050298769026994705,
0.04488358274102211,
0.05904638394713402,
0.02983560599386692,
-0.021087992936372757,
-0.020515233278274536,
0.02079293504357338,
-0.03641367331147194,
0.04224541410803795,
0.053943607956171036,
-0.0038769799284636974,
-0.013511937111616135,
0.011620092205703259,
0.007233268581330776,
-0.040822189301252365,
-0.010040662251412868,
-0.010526640340685844,
0.017069993540644646,
-0.01599389873445034,
0.014857055619359016,
0.009815028868615627,
-0.019630057737231255,
-0.013355729170143604,
-0.013017280027270317,
-0.06571123003959656,
-0.012661474756896496,
0.03327216953039169,
-0.035250794142484665,
-0.004180716350674629,
0.05484614148736,
-0.0086000831797719,
0.04488358274102211,
0.05800500139594078,
-0.01734769530594349,
-0.04203713685274124,
0.053943607956171036,
-0.013347051106393337,
0.011498597450554371,
0.04422403872013092,
0.028377670794725418,
-0.05814385041594505,
-0.024854326620697975,
0.0031480123288929462,
-0.0006318804807960987,
-0.03967666998505592,
-0.01213210541754961,
-0.01668815314769745,
-0.02513202838599682,
-0.02860330417752266,
0.020376382395625114,
-0.00777565548196435,
-0.0035580566618591547,
0.05682476609945297,
-0.01256601419299841,
-0.09691798686981201,
0.05147900432348251,
0.006981601007282734,
0.02874215506017208,
0.006421857979148626,
-0.05689419060945511,
-0.003573243273422122,
0.0007121536764316261,
-0.0566859170794487,
-0.005462918430566788,
0.004673203453421593,
-0.03887827694416046,
0.0024472486693412066,
0.01780763827264309,
0.042627252638339996,
0.03353251516819,
0.009754281491041183,
0.005254642106592655,
0.042141273617744446,
-0.008287668228149414,
-0.019630057737231255,
-0.044154614210128784,
0.009606752544641495,
-0.03755919262766838,
-0.01834568753838539,
0.00784074142575264,
-0.05425602197647095,
0.017538614571094513,
-0.0353722907602787,
0.06546824425458908,
-0.006760307587683201,
-0.04956980422139168,
0.005228607449680567,
0.030043883249163628,
0.04234955087304115,
0.0311026219278574,
0.027128010988235474,
0.016705509275197983,
-0.05297165364027023,
0.023222828283905983,
-0.015612058341503143,
-0.047278761863708496,
0.018918447196483612,
0.029228132218122482,
0.021244201809167862,
0.039815519005060196,
0.03216135874390602,
0.03294239565730095,
-0.04477944225072861,
0.0120887141674757,
0.04838956892490387,
0.026607319712638855,
-0.06460042297840118,
-0.05519326776266098,
0.033411018550395966,
0.03408791869878769,
0.016644762828946114,
0.0483548566699028,
0.006677864585071802,
0.03101583942770958,
-0.04734818637371063,
-0.03755919262766838,
0.017009245231747627,
-0.00996255874633789,
0.010031984187662601,
0.01546452846378088,
0.012991245836019516,
-0.0389477014541626,
-0.0881703794002533,
-0.02658996358513832,
-0.00141454441472888,
0.0062960246577858925,
-0.0042761764489114285,
-0.01648855395615101,
-0.035424359142780304,
-0.007710569072514772,
-0.02671145834028721,
0.005957575049251318,
0.0010598235530778766,
-0.016922464594244957,
-0.030165378004312515,
0.013780960813164711,
-0.04120403155684471,
-0.011550666764378548,
0.0041872248984873295,
0.02636433206498623,
-0.009867098182439804,
-0.014718204736709595,
0.004864123649895191,
-0.005436883773654699,
-0.0006378467078320682,
0.045126572251319885,
0.015664126724004745,
0.010248938575387001,
-0.008439536206424236,
0.04037092626094818,
0.01777292601764202,
0.01204532291740179,
0.018918447196483612,
0.03943368047475815,
0.03212664648890495,
0.013173487037420273,
-0.05092360079288483,
-0.053943607956171036,
-0.034990448504686356,
0.014570675790309906,
-0.038669999688863754,
-0.05418659746646881,
-0.017512580379843712,
0.009832385927438736,
-0.06477398425340652,
-0.04019736126065254,
-0.0031762162689119577,
-0.04557783529162407,
0.04026678577065468,
0.00412864750251174,
0.015638092532753944,
-0.04193300008773804,
0.0010934515157714486,
0.0024711135774850845,
0.016722865402698517,
-0.04342564567923546,
-0.028377670794725418,
0.001853877678513527,
-0.01562073640525341,
0.010101409628987312,
-0.04859784618020058,
0.010049340315163136,
0.02214673161506653,
-0.06397559493780136,
0.013399120420217514,
0.023448459804058075,
-0.03769804164767265,
0.027058586478233337,
0.04418932646512985,
0.02004661224782467,
0.03738562762737274,
-0.0017844521207734942,
-0.03540700301527977,
0.06244823336601257,
-0.01061342190951109,
-0.08379656821489334,
-0.03773275762796402,
-0.006777663715183735,
0.048111867159605026,
-0.020254887640476227,
-0.0418635718524456,
-0.017365051433444023,
0.04700106009840965,
-0.024715475738048553,
-0.01076962985098362,
-0.002796545624732971,
0.001097790664061904,
-0.027891691774129868,
0.05140957981348038,
0.05015992000699043,
-0.0040917652659118176,
-0.07296619564294815,
-0.011220895685255527,
0.027735484763979912,
0.045612551271915436,
0.03755919262766838,
0.05453372374176979,
-0.03247377648949623,
0.02216408960521221,
0.008526318706572056,
0.0361359678208828,
0.01011008769273758,
0.01952592097222805,
0.01279164757579565,
0.02105328068137169,
-0.04516128450632095,
-0.05564453452825546,
0.003722942201420665,
-0.0844908282160759,
0.011342390440404415,
0.021209487691521645,
0.053631193935871124,
-0.027926404029130936,
0.02707594260573387,
-0.013564005494117737,
-0.0651211142539978,
0.07275791466236115,
0.03828816115856171,
-0.03825344890356064,
-0.04037092626094818,
0.018536606803536415,
-0.06980733573436737,
-0.028099969029426575,
0.027041230350732803,
-0.019716840237379074,
0.01404130645096302,
-0.017555972561240196,
-0.0744241327047348,
-0.04384220018982887,
-0.001421053078956902,
0.030338941141963005,
-0.009658821858465672,
0.07491010427474976,
0.0155773451551795,
-0.03693436458706856,
0.022355008870363235,
-0.015915794298052788,
0.030894344672560692,
0.05481142923235893,
-0.022441791370511055,
-0.029887674376368523,
0.036483097821474075,
-0.10497134923934937,
0.019890403375029564,
-0.04238426312804222,
-0.019768908619880676,
0.044119901955127716,
0.004916192963719368,
0.013494580052793026,
-0.004894497338682413,
-0.006729933898895979,
-0.04755646362900734,
0.054290737956762314,
-0.053145214915275574,
-0.019334999844431877,
0.04852842167019844,
-0.00446492712944746,
0.08844807744026184,
-0.0059141842648386955,
0.00025193861802108586,
-0.017469190061092377,
0.0650169774889946,
-0.0557139590382576,
0.03443504497408867,
0.055297404527664185,
0.0029766180086880922,
-0.007463240530341864,
-0.012123426422476768,
-0.012982567772269249,
-0.012470554560422897,
0.01711338385939598,
0.008777986280620098,
-0.009103418327867985,
-0.06005305051803589,
-0.006235277280211449,
-0.011524631641805172,
-0.012522623874247074,
0.012487910687923431,
-0.03804517164826393,
-0.0007718162378296256,
0.06654433906078339,
-0.006126799620687962,
0.0050767394714057446,
-0.03801045939326286,
-0.03495573624968529,
-0.028585946187376976,
-0.011863081716001034,
0.04568197578191757,
0.01425826083868742,
0.04252311587333679,
0.0040418654680252075,
0.0036947380285710096,
-0.05557510629296303,
0.06671790033578873,
0.0018853361252695322,
-0.011220895685255527,
0.004456249065697193,
0.022528572008013725,
0.022233514115214348,
-0.002677220618352294,
0.00855669192969799,
-0.04387691244482994,
-0.047625888139009476,
-0.008417841047048569,
0.015108723193407059,
0.010804342105984688,
-0.0028507844544947147,
0.04460588097572327,
-0.031658023595809937,
-0.05071532353758812,
0.022233514115214348,
0.0012789478059858084,
0.00782772433012724,
-0.06116386130452156,
0.004169868770986795,
-0.014414467848837376,
-0.009754281491041183,
0.009710891172289848,
-0.06525996327400208,
0.005888149607926607,
-0.042175985872745514,
0.017451833933591843,
0.0038010457064956427,
0.05640821531414986,
0.06928664445877075,
0.011073365807533264,
-0.06911307573318481,
-0.03387964144349098,
-0.00587947154417634,
0.031744807958602905,
-0.005154842976480722,
0.024802258238196373,
0.008396145887672901,
0.0005041484255343676,
-0.007723586168140173,
0.025774214416742325,
-0.005402171052992344,
0.01938707008957863,
0.011160148307681084,
0.024160072207450867,
0.05974063649773598,
-0.009927845560014248,
-0.004330415278673172,
0.04228012636303902,
-0.06734272837638855,
0.023726163432002068,
0.07574321329593658,
0.040822189301252365,
-0.012505266815423965,
0.03212664648890495,
0.002714102854952216,
0.005814385134726763,
0.061927542090415955,
0.016957176849246025,
0.04436289146542549,
-0.01300860196352005,
0.026989160105586052,
-0.03066871128976345,
0.041342880576848984,
-0.0023192453663796186,
-0.020063968375325203,
-0.03669137507677078,
-0.009771638549864292,
-0.01524757407605648,
-0.033185385167598724,
-0.021313626319169998,
0.05738016963005066,
-0.03787160664796829,
0.030043883249163628,
-0.0279090479016304,
-0.0038249108474701643,
-0.010188191197812557,
0.05088888853788376,
-0.0006134393042884767,
-0.016497233882546425,
0.025236167013645172,
-0.023153401911258698,
0.01546452846378088,
0.008903819136321545,
0.03540700301527977,
0.02808261290192604,
0.0006237446796149015,
-0.011134113185107708,
0.035649992525577545,
0.004425875376909971,
0.04484887048602104,
-0.02987031824886799,
-0.04755646362900734,
-0.03346308693289757,
-0.04491829499602318,
-0.016644762828946114,
0.014692170545458794,
-0.011220895685255527,
0.03400113433599472,
0.004907514434307814,
0.046480368822813034,
-0.0008596828556619585
]
|
37,137 | youtube_transcript_api._transcripts | __str__ | null | def __str__(self):
return (
'For this video ({video_id}) transcripts are available in the following languages:\n\n'
'(MANUALLY CREATED)\n'
'{available_manually_created_transcript_languages}\n\n'
'(GENERATED)\n'
'{available_generated_transcripts}\n\n'
'(TRANSLATION LANGUAGES)\n'
'{available_translation_languages}'
).format(
video_id=self.video_id,
available_manually_created_transcript_languages=self._get_language_description(
str(transcript) for transcript in self._manually_created_transcripts.values()
),
available_generated_transcripts=self._get_language_description(
str(transcript) for transcript in self._generated_transcripts.values()
),
available_translation_languages=self._get_language_description(
'{language_code} ("{language}")'.format(
language=translation_language['language'],
language_code=translation_language['language_code'],
) for translation_language in self._translation_languages
)
)
| (self) | [
0.021891331300139427,
-0.05456860363483429,
0.004136334173381329,
-0.009465886279940605,
0.050547365099191666,
-0.018339861184358597,
0.008615600876510143,
-0.06610617786645889,
0.05535782128572464,
-0.009433002211153507,
-0.015596398152410984,
0.02104574255645275,
-0.05543298274278641,
-0.010325567796826363,
-0.034913383424282074,
-0.022210774943232536,
-0.03600325435400009,
-0.03466910123825073,
0.015192395076155663,
-0.01560579426586628,
0.008225690573453903,
0.024991819635033607,
-0.007088845130056143,
-0.037581682205200195,
0.0036900516133755445,
0.010428916662931442,
0.0038826577365398407,
-0.08140192925930023,
-0.03389867767691612,
0.013773687183856964,
-0.03100488893687725,
-0.006614376325160265,
0.002096353331580758,
-0.014515925198793411,
-0.06708330661058426,
0.03566501662135124,
-0.03585292398929596,
-0.026044106110930443,
-0.028712406754493713,
-0.03863396868109703,
-0.01615072786808014,
0.012354978360235691,
0.01128390058875084,
-0.01068259309977293,
-0.04009965434670448,
-0.0367736779153347,
-0.02591256983578205,
0.0396110936999321,
-0.012862331233918667,
-0.024390513077378273,
0.0801241472363472,
0.014215271919965744,
-0.020745089277625084,
-0.05877775326371193,
-0.0968855768442154,
-0.00846057664602995,
-0.006858657114207745,
0.00630902498960495,
0.010513476096093655,
0.017738554626703262,
-0.008667275309562683,
0.006915029603987932,
-0.007154612801969051,
0.03055390901863575,
0.028637243434786797,
-0.003027674276381731,
0.019993456080555916,
-0.02446567639708519,
0.015258163213729858,
0.051862724125385284,
0.06911271810531616,
-0.044233642518520355,
-0.011640926823019981,
-0.002635415643453598,
0.0035162363201379776,
-0.015502444468438625,
-0.05753755569458008,
-0.035157665610313416,
-0.016855385154485703,
-0.033278580754995346,
0.0015948726795613766,
-0.041339851915836334,
0.037694428116083145,
-0.050096385180950165,
0.07580225169658661,
-0.05592154338955879,
-0.02337580733001232,
-0.0830555185675621,
-0.033466488122940063,
-0.0255743358284235,
-0.006614376325160265,
-0.04314377158880234,
-0.01749427430331707,
0.06407676637172699,
-0.05637252330780029,
-0.018283488228917122,
-0.008432390168309212,
-0.062460757791996,
-0.006966704502701759,
-0.015568212606012821,
0.051524486392736435,
-0.00886457972228527,
-0.008573321625590324,
-0.050547365099191666,
0.034932173788547516,
0.007925037294626236,
-0.08546074479818344,
0.01747548207640648,
0.012758981436491013,
0.023488551378250122,
-0.006628469564020634,
0.01367033738642931,
0.022079238668084145,
-0.029294922947883606,
0.04040031135082245,
-0.027303092181682587,
-0.07414866238832474,
0.019232425838708878,
-0.03696158528327942,
-0.008455879054963589,
0.06076958030462265,
-0.003838029457256198,
-0.03156861290335655,
-0.02679573930799961,
-0.059717293828725815,
0.011481204070150852,
-0.015793701633810997,
-0.014365598559379578,
0.03994932770729065,
-0.11635289341211319,
0.007469359319657087,
-0.00282332394272089,
0.010447707958519459,
0.0025813919492065907,
0.03574018180370331,
-0.04239213839173317,
0.02390195056796074,
0.033391326665878296,
0.06907513737678528,
0.11003916710615158,
-0.026382341980934143,
0.008427692577242851,
0.025405218824744225,
0.010607429780066013,
-0.01428104005753994,
-0.06490356475114822,
0.012270419858396053,
0.048555534332990646,
-0.01750366948544979,
-0.09012087434530258,
0.03671730309724808,
-0.019176054745912552,
-0.04908167943358421,
-0.01544607151299715,
-0.02743462845683098,
0.007008983753621578,
-0.001870863139629364,
0.008803509175777435,
-0.014656856656074524,
-0.006811680272221565,
0.015850074589252472,
-0.03185047581791878,
-0.05205063149333,
0.0830555185675621,
0.03068544529378414,
-0.001792176510207355,
0.03487580269575119,
0.0029548597522079945,
0.016883570700883865,
0.03517645597457886,
-0.008648484945297241,
-0.009761841967701912,
-0.007093542721122503,
0.041339851915836334,
0.015680957585573196,
0.08561107516288757,
0.02677694894373417,
0.03698037564754486,
0.02501060999929905,
-0.003758168313652277,
-0.03874671459197998,
0.009235698729753494,
-0.06140847131609917,
0.01367973256856203,
0.06261108070611954,
-0.03463152050971985,
0.020651135593652725,
0.022962408140301704,
0.005876835901290178,
-0.008159923367202282,
0.008282063528895378,
-0.004833944141864777,
0.014243458397686481,
0.03354165330529213,
-0.07862088084220886,
-0.0012073115212842822,
0.039799001067876816,
-0.05979245901107788,
-0.03611599653959274,
-0.05077285319566727,
0.01706208474934101,
0.0005813416792079806,
0.013219357468187809,
0.030948515981435776,
0.00863439217209816,
0.012589863501489162,
-0.01526755839586258,
0.0055573913268744946,
0.002108097542077303,
-0.035270411521196365,
0.03273364529013634,
0.0015819539548829198,
-0.011002037674188614,
-0.016892965883016586,
0.021233651787042618,
-0.02777286432683468,
-0.0019765617325901985,
0.01682719960808754,
-0.058514680713415146,
0.01389582734555006,
0.018095580860972404,
-0.07024016976356506,
0.0019472009735181928,
-0.019767966121435165,
0.024315349757671356,
-0.007694849744439125,
0.04149017855525017,
-0.004335986915975809,
-0.07042807340621948,
0.03376714140176773,
0.005928510334342718,
-0.01750366948544979,
-0.04618788883090019,
0.022999990731477737,
-0.04483494907617569,
0.0690375491976738,
-0.01660170778632164,
0.006684842053800821,
-0.015089046210050583,
0.031812895089387894,
-0.0044675227254629135,
0.027979563921689987,
0.03222629427909851,
0.03273364529013634,
0.030704235658049583,
-0.034142959862947464,
0.014252853579819202,
0.03782596439123154,
-0.007436475716531277,
-0.020200155675411224,
0.04517318308353424,
-0.004833944141864777,
-0.035928089171648026,
-0.006078837439417839,
-0.007178101688623428,
-0.043106190860271454,
0.025874989107251167,
-0.024860283359885216,
0.014600483700633049,
-0.028205053880810738,
-0.005143993068486452,
-0.006393583957105875,
-0.11507511138916016,
0.07452447712421417,
-0.03508250042796135,
-0.006196280010044575,
-0.008286761119961739,
0.029520412907004356,
-0.044684622436761856,
0.004857432562857866,
0.09658492356538773,
0.026175642386078835,
-0.06324997544288635,
-0.048856187611818314,
-0.003739377483725548,
0.015568212606012821,
0.004481615498661995,
0.011387250386178493,
-0.09184963256120682,
-0.012636841274797916,
0.01858414150774479,
0.009977936744689941,
0.04716501384973526,
0.0038262850139290094,
0.06122056022286415,
-0.08019930869340897,
0.0067975870333611965,
-0.06629408895969391,
-0.024973029270768166,
0.03874671459197998,
0.002442809520289302,
0.016122542321681976,
0.02591256983578205,
0.016113147139549255,
0.07929734885692596,
0.012082511559128761,
0.060731999576091766,
0.023826787248253822,
0.01802981272339821,
-0.013585778884589672,
-0.024540839716792107,
0.04130227118730545,
0.07272055745124817,
-0.007281451020389795,
-0.13213719427585602,
-0.033147044479846954,
0.0023277155123651028,
-0.023770414292812347,
0.05967971310019493,
-0.012646236456930637,
-0.03683004900813103,
-0.005909719504415989,
0.099591463804245,
0.04524834826588631,
-0.011612740345299244,
0.018875399604439735,
-0.008103550411760807,
0.022229565307497978,
-0.00027760531520470977,
0.025424009189009666,
0.025179727002978325,
0.013426056131720543,
0.033278580754995346,
0.030178092420101166,
0.08982022106647491,
-0.08966989815235138,
0.0007310811779461801,
-0.03793871030211449,
0.0613333061337471,
-0.041452597826719284,
-0.028975477442145348,
-0.06065683811903,
-0.015455467626452446,
-0.036566976457834244,
-0.006097628269344568,
0.034819427877664566,
-0.01660170778632164,
0.013247543014585972,
0.015812493860721588,
0.021628258749842644,
0.03557106480002403,
-0.02711518481373787,
-0.0296519473195076,
0.040776126086711884,
0.04100161790847778,
0.03068544529378414,
-0.039348021149635315,
0.017306365072727203,
-0.018687492236495018,
-0.006078837439417839,
-0.04693952202796936,
0.002079911297187209,
0.036604560911655426,
0.024728747084736824,
-0.0203692726790905,
-0.048104554414749146,
-0.0032390712294727564,
0.021515512838959694,
-0.019316984340548515,
0.060957491397857666,
-0.036604560911655426,
0.021196069195866585,
0.026607831940054893,
0.046977102756500244,
-0.007455266546458006,
-0.013520010747015476,
0.033710770308971405,
0.003917890600860119,
0.03994932770729065,
-0.006868052762001753,
-0.017663391306996346,
0.0256870798766613,
0.009033696725964546,
-0.01793585903942585,
0.0019941781647503376,
-0.017992230132222176,
0.01716543361544609,
-0.014675647020339966,
-0.010250404477119446,
-0.03545831888914108,
0.019561266526579857,
0.011640926823019981,
0.024202603846788406,
0.04269279167056084,
-0.011866416782140732,
0.04581207036972046,
0.021233651787042618,
-0.023883160203695297,
-0.010419521480798721,
0.03810782730579376,
0.002997139235958457,
-0.005740602035075426,
-0.025630708783864975,
-0.01736273802816868,
-0.01750366948544979,
-0.03852122649550438,
-0.0409640334546566,
0.005782881285995245,
0.01569974794983864,
-0.0299901831895113,
0.026870902627706528,
-0.006868052762001753,
-0.04573690891265869,
-0.01063561625778675,
-0.037356194108724594,
-0.000587213784456253,
0.06775977462530136,
0.057612720876932144,
-0.04502285644412041,
0.027979563921689987,
-0.03449998423457146,
-0.03964867442846298,
-0.028392961248755455,
-0.022210774943232536,
-0.034030213952064514,
0.042542465031147,
-0.059191152453422546,
0.021290022879838943,
-0.07279571890830994,
0.0013517661718651652,
-0.038239363580942154,
0.007694849744439125,
0.05013396590948105,
0.030065346509218216,
0.009047790430486202,
0.012796563096344471,
-0.04453429579734802,
-0.01102082896977663,
0.03728102892637253,
-0.06775977462530136,
0.05280226469039917,
-0.007629081606864929,
0.033466488122940063,
-0.007718338165432215,
0.05956696718931198,
-0.04817971959710121,
0.02489786595106125,
-0.012937494553625584,
-0.03671730309724808,
0.01714664325118065,
0.04242971912026405,
-0.026081688702106476,
0.008714253082871437,
0.06899996846914291,
-0.02412744052708149,
0.011312087066471577,
-0.05212579295039177,
-0.05964213237166405,
-0.008174016140401363,
0.02125244215130806,
0.003048814134672284,
0.09470584243535995,
-0.0014868252910673618,
-0.03942318633198738,
0.0620097778737545,
0.0022161449305713177,
0.002539112465456128,
-0.0152205815538764,
-0.04761599376797676,
-0.024822702631354332,
-0.027190348133444786,
0.04615030810236931,
-0.008329040370881557,
0.06396402418613434,
0.07294604927301407,
-0.056936249136924744,
-0.036491815000772476,
-0.011142969131469727,
-0.047089848667383194,
0.0017874788027256727,
0.017663391306996346,
0.03021567314863205,
-0.01882842369377613,
0.0060835350304841995,
-0.00015370320761576295,
0.003525631735101342,
-0.004420545417815447,
-0.04569932818412781,
-0.02767891064286232,
0.016460778191685677,
-0.020970579236745834,
-0.04152775928378105,
-0.0304411631077528,
0.01871567778289318,
0.002938417950645089,
0.002110446337610483,
0.006233861669898033,
0.026626622304320335,
-0.06009311228990555,
0.0007798199076205492,
0.026513878256082535,
0.010344358161091805,
-0.0020857835188508034,
-0.007210985291749239,
-0.07580225169658661,
-0.01971159316599369,
-0.006449956446886063,
-0.01129329577088356,
-0.010710779577493668,
0.03739377483725548,
0.02747221104800701,
0.0058016725815832615,
0.02134639583528042,
-0.008709555491805077,
0.060731999576091766,
-0.003173303324729204,
0.0164044052362442,
0.03756289184093475,
-0.012138883583247662,
-0.011772462166845798,
0.01617891527712345,
-0.034161750227212906,
0.04660128802061081,
-0.026081688702106476,
-0.030854562297463417,
-0.004909107461571693,
-0.012890517711639404,
0.060506511479616165,
0.0299901831895113,
0.05400487780570984,
-0.05238886550068855,
0.008996115066111088,
-0.007708942983299494,
-0.015915842726826668,
0.015793701633810997,
0.04716501384973526,
-0.0414150133728981,
-0.019561266526579857,
-0.057048995047807693,
0.056071870028972626,
-0.009930959902703762,
-0.06174670532345772,
-0.0068069822154939175,
0.013426056131720543,
-0.029200967401266098,
0.05599670857191086,
-0.07666663080453873,
0.03312825411558151,
0.013961595483124256,
0.02856208011507988,
0.03444361314177513,
-0.0340677946805954,
-0.042241811752319336,
-0.08478427678346634,
0.01344484742730856,
-0.01761641353368759,
0.011499995365738869,
0.042354557663202286,
0.028937896713614464,
0.04017481952905655,
0.01626347377896309,
-0.026532668620347977,
-0.0409640334546566,
-0.009977936744689941,
-0.012721399776637554,
0.024165023118257523,
-0.009639701806008816,
0.02799835428595543,
0.03688642382621765,
0.03671730309724808,
0.03773200884461403,
0.010250404477119446,
-0.03530799224972725,
-0.0010616825893521309,
0.026307178661227226,
0.053629063069820404,
0.02345097064971924,
0.024879073724150658,
-0.02424018643796444,
-0.001285998267121613,
0.025292472913861275,
-0.0367736779153347,
-0.010053100064396858,
-0.01927940361201763,
-0.06614376604557037,
0.005143993068486452,
0.031192796304821968,
0.03842727094888687,
0.027754073962569237,
0.0626862496137619,
-0.0626862496137619,
0.00456382567062974,
0.05445585772395134,
0.025424009189009666,
0.0169211532920599,
0.035364363342523575,
0.02179737575352192,
0.031380705535411835,
0.06118297949433327,
0.004296055994927883,
-0.06734637916088104,
0.03994932770729065,
0.029050640761852264,
0.028486916795372963,
0.06595585495233536,
0.015229976736009121,
0.0409640334546566,
0.01926061324775219,
-0.02247384749352932,
-0.00863908976316452,
-0.013463637791574001,
-0.010785942897200584,
0.0053084129467606544,
0.0730963721871376,
0.03465031087398529,
0.005129899829626083,
0.014431366696953773,
-0.034049004316329956,
-0.04558658227324486,
0.039122533053159714,
-0.04562416300177574,
0.006976100150495768,
-0.028468124568462372,
-0.09613394737243652,
-0.008065968751907349,
-0.0195800568908453,
0.003478654660284519,
0.050246711820364,
0.0021468535996973515,
-0.003692400408908725,
-0.004079961683601141,
0.03711191192269325,
-0.08621238172054291,
0.048555534332990646,
-0.029388876631855965,
0.03651060536503792,
-0.018762655556201935,
-0.01534272264689207,
0.01670505851507187,
-0.012956284917891026,
0.026927275583148003,
0.0013212310150265694,
-0.008206900209188461,
-0.0014151852810755372,
-0.022304728627204895,
0.014346807263791561,
0.019213635474443436,
-0.014600483700633049,
0.01869688741862774,
0.021985284984111786,
-0.012439536862075329,
-0.0033400719985365868,
-0.028054727241396904,
-0.0025273682549595833,
-0.0058721378445625305,
0.031042469665408134,
-0.04983331263065338,
-0.007690152153372765,
-0.033372536301612854,
-0.011208737269043922,
-0.020200155675411224,
0.02777286432683468,
0.018959959968924522,
-0.010212822817265987,
-0.0212712325155735,
0.025198519229888916,
-0.015812493860721588,
0.0338423065841198,
0.0204820167273283,
0.01278716791421175,
0.039911746978759766,
-0.04494769498705864,
-0.04258004575967789,
-0.06599343568086624,
0.09124832600355148,
0.010879897512495518,
-0.006078837439417839,
-0.010560452938079834,
0.05066010728478432,
-0.0018814330687746406,
0.03760047256946564,
0.0025626011192798615,
0.01660170778632164,
-0.027603745460510254,
-0.0019565962720662355,
0.07008983939886093,
-0.0015972215915098786,
-0.014957509934902191,
0.05156207084655762,
-0.051862724125385284,
-0.0031286750454455614,
0.006595585495233536,
0.019749173894524574,
-0.015051464550197124,
-0.050434619188308716,
0.039460767060518265,
-0.032714854925870895,
0.03523282706737518,
0.012430141679942608,
-0.041790831834077835,
-0.060619253665208817,
-0.00952225923538208,
-0.06569278240203857,
-0.024954237043857574,
0.124019555747509,
-0.013689127750694752,
0.016874175518751144,
-0.0396110936999321,
-0.03198201209306717,
-0.037807174026966095,
0.026701785624027252,
0.006144605111330748,
-0.006290234159678221,
0.02337580733001232,
-0.04573690891265869,
-0.007131124380975962,
0.05603428930044174,
-0.04825488105416298,
-0.05268951877951622,
-0.04194115847349167,
0.04637579619884491,
0.05449344217777252,
0.026983648538589478,
-0.015417885966598988,
-0.0261380597949028,
-0.055846381932497025,
0.03904736787080765,
0.039573512971401215,
0.09470584243535995,
-0.01883781887590885,
0.012261023744940758,
0.021421559154987335,
-0.02159067615866661,
0.03534557297825813,
0.04393298923969269,
0.07907186448574066,
0.004079961683601141,
0.00020669926016125828,
0.023883160203695297,
-0.00830085389316082,
0.006426468025892973,
0.03309067338705063,
-0.0356462262570858,
-0.025179727002978325,
0.025837406516075134,
0.013238147832453251,
0.019316984340548515,
0.01937335729598999,
-0.021891331300139427,
0.00016309863713104278,
0.04746566712856293,
0.04404573142528534,
0.06546729058027267,
-0.03487580269575119,
0.02337580733001232,
0.0203692726790905,
-0.0018050952348858118,
0.005613763816654682,
0.0036407255101948977,
0.029501620680093765,
0.04370749741792679,
0.008141132071614265,
-0.044008150696754456,
-0.014102526940405369,
0.05156207084655762,
-0.010926874354481697,
0.022229565307497978,
0.023883160203695297,
-0.0488937683403492,
-0.010043704882264137,
-0.024315349757671356,
-0.055620890110731125,
0.056936249136924744,
0.015098441392183304,
-0.05445585772395134,
-0.006426468025892973,
-0.022342311218380928,
-0.015756120905280113
]
|
37,138 | youtube_transcript_api._transcripts | _find_transcript | null | def _find_transcript(self, language_codes, transcript_dicts):
for language_code in language_codes:
for transcript_dict in transcript_dicts:
if language_code in transcript_dict:
return transcript_dict[language_code]
raise NoTranscriptFound(
self.video_id,
language_codes,
self
)
| (self, language_codes, transcript_dicts) | [
0.03768496215343475,
-0.048420362174510956,
-0.034538377076387405,
0.058785580098629,
-0.053899120539426804,
0.006089563947170973,
-0.01801881566643715,
-0.009462886489927769,
0.07129787653684616,
-0.003042468335479498,
0.006681862287223339,
0.03303912281990051,
-0.02983701229095459,
-0.07411129027605057,
-0.03583402931690216,
-0.027912044897675514,
-0.024210181087255478,
0.08758606761693954,
-0.03198409453034401,
-0.07577712833881378,
0.003162778913974762,
0.010929749347269535,
0.006191365420818329,
0.05123377963900566,
-0.002438602037727833,
-0.032280243933200836,
0.015797698870301247,
-0.05686061084270477,
-0.03366843983530998,
0.018786953762173653,
0.01694527640938759,
-0.0377960167825222,
-0.011762668378651142,
0.04064645245671272,
-0.039535894989967346,
0.04183105006814003,
-0.06692967563867569,
-0.005122452508658171,
-0.028078628703951836,
-0.017315462231636047,
-0.035537879914045334,
0.015205400995910168,
0.08084867894649506,
0.00029224471654742956,
-0.021896516904234886,
0.027615895494818687,
-0.08780818432569504,
-0.011697886511683464,
-0.004703679122030735,
0.05171502009034157,
0.023247698321938515,
-0.05175204202532768,
-0.010920494794845581,
-0.08381017297506332,
-0.04775402694940567,
0.028263721615076065,
-0.04705067351460457,
0.0578601136803627,
-0.009920991957187653,
-0.003995697945356369,
0.025764964520931244,
-0.04808719456195831,
-0.03487154468894005,
0.08462458103895187,
-0.025857510045170784,
-0.0010700697312131524,
0.07222334295511246,
-0.030133161693811417,
-0.005228881258517504,
-0.0014148056507110596,
0.022266704589128494,
-0.014122606255114079,
-0.06174707040190697,
-0.02598707564175129,
0.08462458103895187,
-0.0038846421521157026,
-0.039832040667533875,
0.0022488816175609827,
-0.023173660039901733,
0.054972659796476364,
0.019379250705242157,
-0.04120173305273056,
-0.019305214285850525,
0.007996023632586002,
0.03707415610551834,
-0.002438602037727833,
0.03707415610551834,
-0.031021609902381897,
-0.01559409685432911,
-0.07422234863042831,
-0.026764467358589172,
0.0017884623957797885,
0.04645837843418121,
-0.0002118448755936697,
0.033094651997089386,
0.006903973873704672,
0.021452294662594795,
-0.01978645659983158,
-0.02150782197713852,
-0.016075339168310165,
0.06385713070631027,
0.04231229051947594,
0.06778110563755035,
-0.08506880700588226,
0.06633737683296204,
0.061228808015584946,
-0.05060446262359619,
-0.0036440209951251745,
0.06637439876794815,
0.05475055053830147,
-0.06892868131399155,
-0.05897067114710808,
0.0036440209951251745,
-0.0074361166916787624,
0.019194157794117928,
-0.08247750252485275,
-0.03259490057826042,
0.0720752626657486,
-0.06363502144813538,
-0.00044595877989195287,
0.052529431879520416,
0.028596889227628708,
-0.030077634379267693,
0.005969253368675709,
-0.01811136305332184,
-0.022100120782852173,
0.03261341154575348,
0.013826456852257252,
0.06659650802612305,
-0.04953092336654663,
0.06259849667549133,
-0.00045723788207396865,
0.019416268914937973,
-0.013372979126870632,
0.009652607142925262,
0.051826078444719315,
-0.015001798048615456,
0.015362730249762535,
-0.022636890411376953,
0.011781178414821625,
0.020841486752033234,
0.0011036178329959512,
0.005941489711403847,
0.011781178414821625,
-0.046976637095212936,
0.04727278649806976,
-0.020008567720651627,
-0.012873227708041668,
0.009745153598487377,
-0.032206203788518906,
0.008259780704975128,
-0.07448147982358932,
-0.04631030187010765,
0.020193660631775856,
-0.050382349640131,
-0.015011053532361984,
-0.006381085608154535,
0.026042604818940163,
-0.026042604818940163,
0.008070060983300209,
0.024173162877559662,
-0.016269685700535774,
-0.015196146443486214,
-0.007487017195671797,
0.0042872196063399315,
-0.03350185602903366,
-0.04308968037366867,
0.08084867894649506,
-0.005700868554413319,
0.015464531257748604,
0.0003797301324084401,
0.034538377076387405,
-0.045273780822753906,
-0.013548817485570908,
0.02193353697657585,
-0.002403897000476718,
0.003891583066433668,
0.0022939981427043676,
-0.01132769975811243,
0.015279438346624374,
-0.03311316296458244,
0.00662633404135704,
-0.026634901762008667,
0.05874856188893318,
0.052455395460128784,
0.051640983670949936,
0.005992390215396881,
0.03831427916884422,
0.04890160635113716,
-0.036056142300367355,
-0.006667979992926121,
-0.015566332265734673,
0.0061450921930372715,
0.03261341154575348,
-0.03141030669212341,
0.022784965112805367,
0.07588818669319153,
-0.007611955050379038,
-0.07211228460073471,
-0.00468054274097085,
-0.00887058861553669,
-0.02426571026444435,
0.022803474217653275,
0.043941110372543335,
-0.05752694606781006,
0.0121883824467659,
0.028893038630485535,
0.08403228223323822,
-0.05530582740902901,
-0.03474198281764984,
-0.005048415157943964,
-0.05641638860106468,
0.007463880814611912,
-0.06259849667549133,
0.06874358654022217,
0.001641544746235013,
-0.018500057980418205,
-0.029226206243038177,
-0.0024015833623707294,
0.004891085904091597,
0.0005185499903745949,
-0.0471247136592865,
0.00838009174913168,
-0.012280929833650589,
0.07018731534481049,
-0.034075647592544556,
0.016787948086857796,
0.0053491913713514805,
-0.02372894063591957,
-0.0033015988301485777,
0.013104594312608242,
0.014668630436062813,
0.013632109388709068,
-0.03831427916884422,
0.01845378614962101,
-0.015621860511600971,
0.019675400108098984,
-0.01954583451151848,
0.05197415128350258,
0.020489810034632683,
0.04442235082387924,
0.009735899046063423,
0.007065930403769016,
0.05741589143872261,
0.0028758845292031765,
-0.0025056982412934303,
0.07003924250602722,
-0.015001798048615456,
-0.01650105230510235,
0.0069872657768428326,
0.06385713070631027,
0.011855214834213257,
-0.011836705729365349,
0.006186738144606352,
0.02258136309683323,
-0.03672247752547264,
0.012068072333931923,
-0.019194157794117928,
0.05867452174425125,
-0.015742171555757523,
-0.04345986619591713,
0.0011759197805076838,
-0.005853570532053709,
0.021563349291682243,
-0.07029837369918823,
-0.002605185844004154,
-0.01545527670532465,
0.028078628703951836,
-0.054861605167388916,
0.02598707564175129,
0.017139624804258347,
0.022377759218215942,
-0.0010440410114824772,
0.0031928566750139,
0.036426328122615814,
0.05367700755596161,
0.017630120739340782,
0.012956519611179829,
-0.03340931236743927,
0.011299936100840569,
0.008810433559119701,
0.03853639215230942,
0.01649179868400097,
-0.02972595766186714,
0.0846986174583435,
-0.035075150430202484,
0.00654304213821888,
-0.0723343938589096,
0.0047383843921124935,
-0.00355147453956306,
0.011290681548416615,
-0.002158648567274213,
0.03028123639523983,
-0.03746284916996956,
-0.004830930847674608,
0.011179625056684017,
0.03707415610551834,
-0.004451490007340908,
0.04275651276111603,
-0.03879551962018013,
-0.013752419501543045,
0.029318751767277718,
0.10283774882555008,
-0.009393476881086826,
-0.09928395599126816,
0.0007681365241296589,
-0.007741520181298256,
0.01357658114284277,
-0.006482887081801891,
-0.053899120539426804,
-0.0818852037191391,
-0.005941489711403847,
0.019749436527490616,
0.01676018349826336,
-0.06163601204752922,
-0.0006628647679463029,
0.009902482852339745,
0.012882482260465622,
-0.012743662111461163,
0.0374443419277668,
0.05663849785923958,
-0.03253937140107155,
0.0440891832113266,
0.004444548860192299,
0.07633240520954132,
-0.09958010911941528,
-0.04508868604898453,
-0.017778195440769196,
0.06048843637108803,
-0.008634594269096851,
-0.010698382742702961,
-0.027800988405942917,
0.036778006702661514,
-0.030929062515497208,
0.042682476341724396,
0.026116641238331795,
-0.019120121374726295,
0.04146086052060127,
0.035149186849594116,
0.019101612269878387,
-0.021193163469433784,
-0.08447650820016861,
0.00940735824406147,
0.03788856416940689,
0.05278856307268143,
0.022340741008520126,
-0.038647446781396866,
0.009458258748054504,
-0.019841983914375305,
-0.050049182027578354,
-0.04634732007980347,
0.017676394432783127,
0.020915525034070015,
0.05919278413057327,
-0.047791048884391785,
-0.005821179132908583,
0.026671919971704483,
0.00026607137988321483,
0.00340340007096529,
0.023358752951025963,
0.006593943107873201,
0.01075391098856926,
-0.035426825284957886,
0.004854067228734493,
-0.021970555186271667,
0.016593599691987038,
-0.008717886172235012,
0.0018301083473488688,
-0.02454334869980812,
-0.002176001202315092,
0.003956365864723921,
0.006658725440502167,
-0.03361291438341141,
-0.0007993709878064692,
0.005099315661936998,
-0.06678160279989243,
0.011697886511683464,
0.024932045489549637,
0.0020383382216095924,
0.03827726095914841,
0.018777698278427124,
-0.02193353697657585,
-0.014437264762818813,
0.025320740416646004,
0.004696738440543413,
0.0018150695832446218,
-0.006829936522990465,
-0.041794028133153915,
0.008310682140290737,
0.05956296995282173,
0.021544840186834335,
-0.014131860807538033,
0.015714406967163086,
-0.03805514797568321,
-0.005710123106837273,
-0.01214210968464613,
-0.05823029950261116,
0.01961987279355526,
-0.028245212510228157,
-0.0018220104975625873,
-0.03594508767127991,
-0.014353972859680653,
-0.035519372671842575,
0.05130781605839729,
0.016056830063462257,
0.02346980944275856,
0.032835520803928375,
0.01567738875746727,
-0.005400092341005802,
0.017435772344470024,
-0.060599491000175476,
-0.02524670399725437,
0.0173802450299263,
-0.02848583273589611,
-0.06822533160448074,
0.032650429755449295,
-0.04656943306326866,
0.05078955739736557,
-0.08232942968606949,
-0.0021436098031699657,
-0.0060155270621180534,
-0.04623626545071602,
0.04379303380846977,
-0.012641861103475094,
0.030743969604372978,
-0.0075749363750219345,
-0.02024918794631958,
-0.031854528933763504,
-0.015871737152338028,
-0.0433858297765255,
-0.002889766590669751,
-0.031484343111515045,
0.01464086677879095,
-0.037944093346595764,
0.07400023192167282,
0.04334881156682968,
-0.037944093346595764,
0.012845463119447231,
0.02563539892435074,
0.0220445916056633,
0.06348694860935211,
0.026579374447464943,
-0.04220123589038849,
0.01943477988243103,
-0.027708442881703377,
-0.04882756993174553,
-0.03209514915943146,
-0.014816705137491226,
-0.02106359787285328,
0.003995697945356369,
0.005404719617217779,
0.0027231827843934298,
-0.016251176595687866,
0.012401239946484566,
0.07218632102012634,
0.019027573987841606,
-0.04838334396481514,
0.059711046516895294,
-0.02759738638997078,
0.00864384975284338,
-0.032668936997652054,
0.010374470613896847,
0.060340363532304764,
-0.007533290423452854,
0.03303912281990051,
-0.0026954186614602804,
-0.03637080267071724,
-0.012354966253042221,
-0.008167234249413013,
-0.017602356150746346,
0.025653908029198647,
0.0013477093307301402,
-0.0625244602560997,
-0.028726454824209213,
0.013521053828299046,
-0.032928068190813065,
0.019730927422642708,
-0.0330021046102047,
-0.02374744974076748,
0.053973156958818436,
0.019471798092126846,
-0.0313732847571373,
-0.022359250113368034,
-0.019379250705242157,
0.01945328898727894,
-0.05382508412003517,
0.03276148438453674,
-0.011781178414821625,
-0.01320639532059431,
-0.0027416921220719814,
0.0277639701962471,
0.02661639265716076,
0.042793530970811844,
0.018583349883556366,
-0.012993537820875645,
-0.05297365412116051,
-0.017315462231636047,
-0.01863887906074524,
-0.01263260655105114,
-0.046273283660411835,
0.02446931228041649,
0.006237638648599386,
0.01638074219226837,
-0.035704463720321655,
0.04327477514743805,
-0.037055645138025284,
-0.01464086677879095,
0.0618211068212986,
-0.010291178710758686,
0.012475277297198772,
-0.02193353697657585,
0.02759738638997078,
-0.026264715939760208,
-0.061598993837833405,
0.005173353012651205,
-0.005983135662972927,
0.008444874547421932,
0.011614594608545303,
0.003632452804595232,
0.04253440350294113,
-0.0036787260323762894,
0.0005364808603189886,
-0.017037823796272278,
-0.00989322829991579,
0.048161234706640244,
-0.014270680956542492,
-0.04227527230978012,
-0.028374778106808662,
-0.05260346829891205,
-0.006075682118535042,
-0.022377759218215942,
-0.03755539655685425,
-0.038203224539756775,
0.0061774831265211105,
0.0018717542989179492,
0.005932235158979893,
-0.00895388051867485,
-0.032483845949172974,
0.013928258791565895,
0.04612521082162857,
0.014927761629223824,
-0.005483384244143963,
0.007019657175987959,
0.008361582644283772,
0.03827726095914841,
-0.02491353638470173,
-0.11349911242723465,
-0.006635589059442282,
-0.02195204608142376,
0.15577438473701477,
0.04031328484416008,
-0.043756015598773956,
0.01978645659983158,
0.05401017516851425,
0.00165658351033926,
0.03790707513689995,
-0.04901266098022461,
-0.0005992390215396881,
-0.016528816893696785,
0.05104868486523628,
0.08610532432794571,
-0.014224407263100147,
-0.001471490366384387,
-0.012623351998627186,
-0.024765461683273315,
-0.042608439922332764,
0.019194157794117928,
-0.010864966548979282,
-0.01132769975811243,
0.0008988585323095322,
-0.0014691767282783985,
0.05823029950261116,
-0.03416819125413895,
0.01474266778677702,
-0.010096830315887928,
0.06374607235193253,
-0.012308693490922451,
-0.07470358908176422,
0.029948068782687187,
0.03701862692832947,
-0.01415036991238594,
0.020286208018660545,
0.07662855833768845,
0.01276217121630907,
0.07736892998218536,
0.02893005684018135,
0.0054695019498467445,
-0.026024093851447105,
-0.03957291319966316,
-0.04209017753601074,
-0.04101663827896118,
0.0440891832113266,
-0.020897014066576958,
0.025228194892406464,
0.06048843637108803,
0.07307477295398712,
0.03916570544242859,
0.03805514797568321,
-0.04023924842476845,
-0.061228808015584946,
-0.060784585773944855,
-0.02850434184074402,
-0.015288692899048328,
0.010439252480864525,
0.06196917966008186,
-0.011420246213674545,
0.021433785557746887,
-0.03774049133062363,
0.0004060480569023639,
0.029688939452171326,
-0.00958782434463501,
-0.02402508817613125,
0.027652913704514503,
-0.05286259949207306,
0.033835023641586304,
-0.006362576503306627,
-0.006681862287223339,
0.05934085696935654,
0.0061728558503091335,
0.01917564868927002,
0.0007762343157082796,
-0.027912044897675514,
-0.07144594937562943,
0.034001607447862625,
-0.016278941184282303,
0.03672247752547264,
0.048864588141441345,
0.0014356286264955997,
-0.008856706321239471,
0.011087078601121902,
0.013363724574446678,
0.054787568747997284,
0.07951600849628448,
-0.01987900212407112,
-0.0255428534001112,
0.016973040997982025,
0.02867092564702034,
-0.046088188886642456,
-0.03509365767240524,
0.039906080812215805,
-0.07381514459848404,
-0.0019099297933280468,
-0.027652913704514503,
0.018028071150183678,
0.020656393840909004,
0.05375104770064354,
-0.021341238170862198,
0.007857203483581543,
-0.00043728252057917416,
0.03842533379793167,
0.011994034983217716,
0.034982603043317795,
-0.05852644890546799,
0.041868068277835846,
-0.0009347203304059803,
-0.00039158767322078347,
-0.010272668674588203,
-0.0018185400404036045,
0.02974446676671505,
0.02402508817613125,
0.0340571366250515,
-0.019860493019223213,
-0.0709276869893074,
-0.02311813272535801,
0.02580198273062706,
-0.03666694834828377,
-0.01908310130238533,
-0.052640486508607864,
0.09387923777103424,
-0.025839000940322876,
0.01320639532059431,
-0.015344221144914627,
-0.014724158681929111,
-0.002769456012174487,
0.008070060983300209,
0.052714522927999496,
0.007107576355338097,
-0.006890092045068741,
0.017796704545617104,
-0.03622272610664368,
-0.012234656140208244,
0.02955937385559082,
0.02785651758313179,
0.07437042146921158,
-0.04434831440448761,
0.047161731868982315,
0.009911737404763699,
-0.0061589740216732025,
0.05597216263413429,
-0.029041113331913948,
-0.03711117431521416,
-0.01853707805275917,
-0.04871651157736778,
0.014381736516952515,
0.016612108796834946,
0.007038166280835867,
0.005885961465537548,
-0.04005415365099907,
-0.03718521073460579,
0.010698382742702961,
0.01042999792844057,
-0.011133352294564247,
-0.019416268914937973,
-0.021896516904234886,
-0.03298359736800194,
-0.025931548327207565,
0.013946767896413803,
0.02661639265716076,
-0.019138630479574203,
0.002868943614885211,
-0.03063291311264038,
-0.06082160398364067,
0.06359799951314926,
0.024839498102664948,
-0.012234656140208244,
-0.01545527670532465,
0.0027717696502804756,
0.06163601204752922,
0.05286259949207306,
-0.05123377963900566,
-0.008620712906122208,
0.011503538116812706,
-0.008310682140290737,
0.07618433237075806,
0.030133161693811417,
0.0010191691108047962,
0.05993315577507019,
-0.06885464489459991,
-0.02876347303390503,
0.07588818669319153,
-0.016732418909668922,
-0.016723165288567543,
-0.03690757229924202,
-0.06363502144813538,
-0.026283225044608116,
-0.018426021561026573,
-0.000528672244399786,
-0.013835711404681206,
-0.03520471230149269,
-0.009268539026379585,
-0.008569812402129173,
0.030669933184981346,
0.013863475993275642,
-0.029596392065286636,
0.01961987279355526,
-0.0015640369383618236,
-0.009495277889072895,
-0.015371984802186489,
0.015066580846905708,
0.010744656436145306,
0.06326483190059662,
0.011522047221660614,
0.0033339899964630604,
0.05700868368148804,
0.0011383227538317442,
0.028004590421915054,
-0.013622854836285114,
-0.021248692646622658,
-0.03244682773947716,
0.031743474304676056,
-0.053343839943408966,
-0.005876706913113594,
-0.021785462275147438,
0.0007559897494502366,
0.011003786697983742,
-0.02498757280409336,
-0.035519372671842575,
0.016621364280581474
]
|
37,139 | youtube_transcript_api._transcripts | _get_language_description | null | def _get_language_description(self, transcript_strings):
description = '\n'.join(' - {transcript}'.format(transcript=transcript) for transcript in transcript_strings)
return description if description else 'None'
| (self, transcript_strings) | [
-0.009170197881758213,
-0.024117115885019302,
0.03442153334617615,
0.010910561308264732,
0.04125440865755081,
-0.022133376449346542,
0.032143909484148026,
0.007659434340894222,
0.07203909009695053,
-0.03282352164387703,
-0.02487020194530487,
0.054589539766311646,
-0.09279487282037735,
-0.042870789766311646,
-0.012784091755747795,
0.012967770919203758,
-0.020535364747047424,
-0.026394741609692574,
0.02824990265071392,
-0.008701815269887447,
-0.02064557373523712,
-0.01915776915848255,
-0.001687555224634707,
-0.009790115989744663,
-0.033980704843997955,
0.0285070538520813,
0.025457974523305893,
-0.08588851988315582,
-0.051760874688625336,
0.007934953086078167,
-0.014997429214417934,
-0.0484546460211277,
-0.03258473798632622,
0.017054639756679535,
-0.02384159527719021,
0.07942300289869308,
-0.018496522679924965,
-0.016659729182720184,
-0.050475120544433594,
-0.03260310739278793,
0.00804516114294529,
0.04085031524300575,
0.04345856234431267,
-0.022004801779985428,
-0.04107072949409485,
-0.011259552091360092,
-0.06032034009695053,
-0.030307114124298096,
-0.006033870857208967,
0.017293423414230347,
0.09499902278184891,
-0.0033429665490984917,
-0.05447933077812195,
-0.0819210484623909,
-0.05874069780111313,
0.037911444902420044,
0.024117115885019302,
0.06516947597265244,
0.006516029592603445,
0.031243879348039627,
-0.0010263090953230858,
-0.0012031005462631583,
-0.025990646332502365,
0.009252853691577911,
0.009891139343380928,
0.04445043206214905,
0.06766752153635025,
-0.03410927951335907,
0.06994514167308807,
-0.005689471960067749,
0.013371866196393967,
-0.03429295867681503,
-0.049079157412052155,
-0.0012191724963486195,
0.039050254970788956,
-0.043862659484148026,
-0.07079006731510162,
-0.023161981254816055,
0.025402871891856194,
-0.013417785987257957,
-0.0584835447371006,
-0.018882250413298607,
0.036625687032938004,
-0.04812402278184891,
0.10352174937725067,
-0.03728693351149559,
0.016898510977625847,
-0.011434047482907772,
-0.02114150859415531,
0.004043244291096926,
-0.04290752485394478,
-0.06994514167308807,
0.005726207513362169,
0.059659093618392944,
-0.016420945525169373,
-0.023804860189557076,
-0.048491381108760834,
-0.037507347762584686,
0.03635016828775406,
0.009216117672622204,
0.03251126781105995,
0.008945190347731113,
0.033043935894966125,
-0.0485648550093174,
0.058116186410188675,
-0.01782609336078167,
-0.05624265596270561,
-0.0011468487791717052,
0.057528410106897354,
-0.028819309547543526,
-0.02988465130329132,
-0.08801920711994171,
0.04055642709136009,
-0.07045944780111313,
0.026651892811059952,
-0.011103424243628979,
-0.04235648736357689,
0.02020474150776863,
-0.01186569407582283,
0.005184353329241276,
0.015227028168737888,
-0.019892487674951553,
-0.07137784361839294,
-0.04661785066127777,
-0.020443525165319443,
0.03058263286948204,
-0.004406011197715998,
-0.01342696975916624,
0.023951804265379906,
-0.0821414589881897,
0.027974383905529976,
0.00728748319670558,
0.039601296186447144,
0.025311032310128212,
-0.01822100393474102,
-0.02521919272840023,
-0.0032603107392787933,
0.06068769842386246,
0.044854529201984406,
0.025898806750774384,
-0.0225925762206316,
-0.026688627898693085,
0.021472129970788956,
0.00874314270913601,
-0.01871693879365921,
-0.006483885459601879,
0.012875931337475777,
0.00831608846783638,
0.002936575561761856,
-0.031354088336229324,
0.007902809418737888,
-0.026247797533869743,
-0.07736579328775406,
-0.05411197245121002,
0.004697602707892656,
-0.004096052143722773,
-0.017348526045680046,
0.034733787178993225,
-0.02384159527719021,
0.018046507611870766,
0.0284519512206316,
-0.0013443041825667024,
-0.046948473900556564,
0.03712162375450134,
0.03515625,
-0.015208660624921322,
0.04235648736357689,
-0.022978302091360092,
0.008550279773771763,
0.04727909713983536,
-0.025990646332502365,
-0.01767914928495884,
-0.01405148021876812,
0.017752621322870255,
-0.004208555910736322,
0.08177410066127777,
0.001618675421923399,
0.0703125,
-0.032952096313238144,
-0.0014487719163298607,
-0.06561031192541122,
0.026523316279053688,
-0.07552900165319443,
0.051907818764448166,
0.06601440161466599,
0.021784385666251183,
0.024613048881292343,
0.015621939674019814,
-0.0068696122616529465,
-0.029627500101923943,
-0.006763996556401253,
0.006768588908016682,
-0.002686312422156334,
0.028984621167182922,
-0.03442153334617615,
-0.002713864203542471,
0.05414871126413345,
-0.04151156172156334,
-0.026890674605965614,
-0.06667564809322357,
-0.009422756731510162,
0.01603521779179573,
0.035376667976379395,
0.012949403375387192,
0.009799299761652946,
0.03396233543753624,
-0.04026254266500473,
0.07145131379365921,
-0.09301528334617615,
-0.026725362986326218,
0.031298983842134476,
0.004631018731743097,
-0.02512735314667225,
-0.011929982341825962,
0.01154425460845232,
0.012288156896829605,
-0.04514841362833977,
0.02670699544250965,
-0.053597670048475266,
0.019745543599128723,
0.008812022395431995,
-0.04320141300559044,
0.060944851487874985,
0.006001726724207401,
0.05073226988315582,
0.021766018122434616,
0.06707974523305893,
0.00967990793287754,
0.000942505314014852,
0.05815292149782181,
-0.030656104907393456,
-0.019580231979489326,
-0.014464758336544037,
0.029186667874455452,
0.04198912903666496,
0.003565677907317877,
-0.04323814809322357,
0.009927875362336636,
0.0735820010304451,
0.01390453614294529,
-0.028029488399624825,
-0.027919279411435127,
0.005464464426040649,
0.037654291838407516,
0.01492395717650652,
-0.017807725816965103,
0.009532964788377285,
-0.013711673207581043,
-0.029903018847107887,
-0.012288156896829605,
0.050364911556243896,
-0.0035519017837941647,
-0.002633504569530487,
-0.02194969728589058,
0.011048320680856705,
-0.00071060995105654,
0.05422218143939972,
-0.055177316069602966,
0.022261952981352806,
-0.08008424937725067,
0.0038113491609692574,
-0.025145720690488815,
-0.10601979494094849,
0.07780662924051285,
-0.025990646332502365,
0.014069847762584686,
0.006699708756059408,
-0.003965180832892656,
-0.03879310563206673,
-0.028084591031074524,
0.0952194407582283,
0.047793399542570114,
-0.06032034009695053,
-0.051356781274080276,
0.021784385666251183,
0.06112853065133095,
0.03287862613797188,
-0.018551627174019814,
-0.03816859424114227,
0.026155957952141762,
0.03732366859912872,
0.041180938482284546,
-0.00441978732123971,
-0.007108395919203758,
0.06799814105033875,
-0.011966717429459095,
-0.008302312344312668,
-0.12328566610813141,
-0.012802459299564362,
0.04378918558359146,
0.020590469241142273,
0.03827880322933197,
0.008651303127408028,
0.006644605193287134,
0.05223844200372696,
0.01653115265071392,
0.027570288628339767,
-0.005372624844312668,
0.022978302091360092,
-0.030068330466747284,
-0.057565148919820786,
0.027166195213794708,
0.09360305964946747,
-0.035174619406461716,
-0.12820827960968018,
-0.05969582870602608,
-0.018790410831570625,
-0.0175230223685503,
0.03276841714978218,
-0.018046507611870766,
-0.019323080778121948,
0.006405821535736322,
0.05282621830701828,
0.06799814105033875,
0.0021547898650169373,
0.04951998591423035,
0.012701435945928097,
0.018487339839339256,
0.013454522006213665,
0.015401524491608143,
0.011333023197948933,
-0.05554467439651489,
0.05793250724673271,
0.0013316761469468474,
0.051760874688625336,
-0.04408307373523712,
-0.03276841714978218,
-0.058961112052202225,
0.06792467087507248,
-0.02294156700372696,
-0.017201583832502365,
-0.056720223277807236,
-0.0035955256316810846,
-0.04492799937725067,
0.003678181441500783,
-0.021912962198257446,
0.002996271476149559,
-0.0028906557708978653,
-0.022206848487257957,
0.011535070836544037,
0.030601000413298607,
-0.05800597742199898,
-0.018046507611870766,
0.08346395194530487,
0.04364224523305893,
0.03813185915350914,
0.015925010666251183,
-0.028433583676815033,
0.02125171571969986,
-0.04981387406587601,
-0.046507641673088074,
-0.02194969728589058,
0.0104789137840271,
0.024006906896829605,
-0.01604440249502659,
0.0038917087949812412,
-0.018606731668114662,
0.03704814985394478,
0.0060430546291172504,
0.02725803479552269,
-0.02393343485891819,
-0.0022328535560518503,
0.006860428489744663,
0.07773315161466599,
-0.04055642709136009,
0.021288450807332993,
0.03282352164387703,
0.04974040389060974,
0.00905998982489109,
-0.006437965668737888,
0.005845599342137575,
0.00020104293071199208,
0.027331506833434105,
0.016742384061217308,
-0.024943672120571136,
-0.0670430064201355,
0.003549605840817094,
-0.03440316766500473,
-0.011525887064635754,
-0.02204153686761856,
-0.04720562696456909,
0.021912962198257446,
-0.043127939105033875,
0.04974040389060974,
-0.06854917854070663,
0.041033994406461716,
-0.041805449873209,
0.009744196198880672,
-0.020516997203230858,
0.031703077256679535,
0.019672071561217308,
-0.021086404100060463,
-0.009156421758234501,
-0.04503820836544037,
-0.05763861909508705,
-0.016815856099128723,
-0.010065635666251183,
0.01683422364294529,
0.006819100584834814,
-0.06983494013547897,
-0.0026541685219854116,
-0.05506710708141327,
-0.057565148919820786,
0.010855456814169884,
-0.038609426468610764,
0.054993636906147,
0.04294425994157791,
0.08412519842386246,
-0.005000673700124025,
0.0037149174604564905,
0.015429075807332993,
-0.04742604121565819,
0.021068036556243896,
-0.05392829328775406,
-0.07365547120571136,
0.020278213545680046,
-0.04092378541827202,
0.0318867564201355,
-0.03366844728589058,
-0.00042389778536744416,
-0.006010910961776972,
-0.0216925460845232,
0.03769102692604065,
0.026743732392787933,
0.009707460179924965,
0.006070606876164675,
-0.024502841755747795,
-0.007673209998756647,
0.02536613494157791,
-0.06818182021379471,
0.0058685592375695705,
0.0037493573036044836,
0.008150776848196983,
-0.05293642356991768,
0.07104722410440445,
-0.03429295867681503,
0.019139401614665985,
0.03647874295711517,
-0.0020549141336232424,
0.00515220919623971,
0.03208880499005318,
0.014143319800496101,
-0.011810590513050556,
0.034623581916093826,
-0.006029278971254826,
0.016558704897761345,
-0.02894788607954979,
-0.06406740099191666,
-0.008655895479023457,
-0.018992457538843155,
-0.02711109071969986,
0.04852811619639397,
0.01861591450870037,
0.013307577930390835,
0.0671532154083252,
0.007879849523305893,
0.009615620598196983,
0.018156716600060463,
-0.055287521332502365,
0.013289210386574268,
-0.051760874688625336,
0.05058532580733299,
0.04467085003852844,
0.056720223277807236,
0.0324561633169651,
-0.02064557373523712,
0.02700088359415531,
-0.03629506379365921,
-0.06267143785953522,
0.05646307021379471,
0.018184268847107887,
0.003046783385798335,
0.001249020453542471,
0.010267682373523712,
-0.017201583832502365,
-0.05209149792790413,
-0.0032419427298009396,
-0.0036621096078306437,
-0.0034646540880203247,
0.027717232704162598,
-0.030123434960842133,
-0.04944651573896408,
-0.023768125101923943,
0.001637043314985931,
-0.03772776573896408,
0.018009772524237633,
0.0012111365795135498,
-0.0075078983791172504,
0.019782278686761856,
-0.019488392397761345,
0.0045575471594929695,
0.022776255384087563,
0.05411197245121002,
-0.043972864747047424,
-0.025035511702299118,
-0.012499388307332993,
0.006708892993628979,
-0.025108983740210533,
0.006350717972964048,
0.007135947700589895,
0.0023246933706104755,
-0.016099506989121437,
0.025990646332502365,
-0.009073765948414803,
0.05774882808327675,
-0.05561814457178116,
-0.013316761702299118,
0.049336306750774384,
-0.008058937266469002,
-0.024888569489121437,
-0.01737607829272747,
-0.00670430064201355,
0.041585031896829605,
-0.03758082166314125,
-0.03405417501926422,
0.011507519520819187,
0.01672401651740074,
0.07736579328775406,
0.04702194407582283,
0.03280515596270561,
-0.009119685739278793,
0.009817668236792088,
-0.03407254442572594,
-0.00796709768474102,
0.03690120577812195,
0.012627963908016682,
-0.036662422120571136,
-0.002481968840584159,
-0.04026254266500473,
0.010561569593846798,
-0.022666046395897865,
-0.059365205466747284,
-0.006460925564169884,
0.025843702256679535,
-0.038646161556243896,
0.02055373415350914,
-0.05899784713983536,
-0.0018896026303991675,
0.006662973202764988,
0.02661515586078167,
0.028966253623366356,
-0.0032763825729489326,
0.013041242957115173,
-0.025457974523305893,
0.024686520919203758,
-0.006327758077532053,
-0.013188186101615429,
0.011075871996581554,
0.03181328624486923,
0.06858591735363007,
0.008306904695928097,
-0.006033870857208967,
-0.05029144138097763,
-0.005097105633467436,
-0.0032993427012115717,
0.026523316279053688,
-0.024190586060285568,
0.0333561934530735,
0.024539578706026077,
0.030913256108760834,
0.03871963173151016,
-0.008182920515537262,
-0.026394741609692574,
-0.002470488892868161,
0.06061422824859619,
0.023015039041638374,
0.0076686181128025055,
0.0014533638022840023,
-0.01204018946737051,
0.011663646437227726,
0.015052532777190208,
-0.009725828655064106,
0.040887050330638885,
-0.015373972244560719,
-0.03530319407582283,
-0.01653115265071392,
0.026541683822870255,
0.0090140700340271,
0.06814508885145187,
0.0716717317700386,
-0.02696414664387703,
0.02149049937725067,
0.01841386780142784,
0.010837089270353317,
0.05256906524300575,
0.003074335167184472,
0.01673319935798645,
0.017008719965815544,
0.024190586060285568,
-0.027276402339339256,
-0.04206259921193123,
0.006378269754350185,
0.04176871106028557,
0.027864176779985428,
0.0716717317700386,
0.03230921924114227,
0.02746008150279522,
0.010414626449346542,
-0.03480726107954979,
0.02104966714978218,
-0.034770525991916656,
-0.00577212730422616,
-0.0031501029152423143,
0.049079157412052155,
0.03669916093349457,
0.02626616507768631,
-0.0005464464193210006,
-0.047095417976379395,
-0.03087651915848255,
0.011075871996581554,
-0.0025692167691886425,
-0.00002174018845835235,
-0.002895247656852007,
-0.05874069780111313,
-0.002209893660619855,
-0.039491087198257446,
0.0027023842558264732,
0.01965370401740074,
0.016466865316033363,
0.00471597071737051,
0.01935981586575508,
0.015447444282472134,
-0.08008424937725067,
0.018900617957115173,
-0.046507641673088074,
0.008844166994094849,
-0.007209419272840023,
-0.04305446892976761,
-0.005882335361093283,
-0.013527993112802505,
0.030656104907393456,
0.007044108118861914,
0.011626910418272018,
-0.020829252898693085,
0.002401609206572175,
0.02547634392976761,
0.03620322421193123,
-0.032694946974515915,
0.03227248415350914,
0.014069847762584686,
-0.020829252898693085,
-0.020829252898693085,
-0.020810885354876518,
-0.05661001428961754,
0.018110796809196472,
0.05719779059290886,
-0.05536099523305893,
-0.007168091367930174,
-0.025935541838407516,
-0.02049862965941429,
-0.04323814809322357,
0.07721885293722153,
0.012150397524237633,
0.023547708988189697,
-0.016760751605033875,
0.034384798258543015,
-0.015401524491608143,
0.003161582862958312,
-0.004203964024782181,
0.022004801779985428,
0.05150372534990311,
-0.0519445575773716,
0.02288646250963211,
-0.012940218672156334,
0.04085031524300575,
-0.020333318039774895,
0.023051774129271507,
0.000328040070598945,
0.0519445575773716,
-0.042576901614665985,
0.022463999688625336,
-0.011479967273771763,
0.07229623943567276,
-0.006199182476848364,
0.02780907228589058,
0.040336012840270996,
0.01826692372560501,
0.027533553540706635,
0.0068879802711308,
-0.043568771332502365,
0.02700088359415531,
0.010754433460533619,
-0.009294181130826473,
-0.04577292501926422,
-0.027919279411435127,
0.06212040036916733,
0.0012673883466050029,
-0.0055654882453382015,
0.019727176055312157,
-0.031298983842134476,
-0.03967476636171341,
-0.026376372203230858,
-0.014042295515537262,
-0.0022523696534335613,
0.10521160066127777,
-0.034623581916093826,
-0.028470318764448166,
-0.02224358543753624,
-0.0010842828778550029,
-0.04805055260658264,
0.03460521250963211,
0.01976391114294529,
-0.024704890325665474,
0.011773854494094849,
-0.0036827735602855682,
-0.008031385019421577,
-0.011737118475139141,
-0.02700088359415531,
-0.05370787903666496,
-0.05649980530142784,
0.0010418070014566183,
0.0434953011572361,
0.03609301522374153,
-0.029370348900556564,
-0.003402662230655551,
-0.09264792501926422,
0.012563676573336124,
0.07523511350154877,
0.040336012840270996,
-0.0700920894742012,
-0.02011290192604065,
0.020737413316965103,
0.04055642709136009,
0.018643466755747795,
0.0401155985891819,
0.030270377174019814,
0.00963398814201355,
-0.011801406741142273,
0.016742384061217308,
0.009982979856431484,
-0.02964586764574051,
-0.0046057626605033875,
0.005914479028433561,
-0.06814508885145187,
-0.015346419997513294,
0.0033797023352235556,
0.058410074561834335,
0.003384294454008341,
-0.010157475247979164,
-0.04951998591423035,
0.002817183965817094,
0.019323080778121948,
0.05664674937725067,
0.03078467957675457,
0.04121767356991768,
0.017853645607829094,
-0.053193576633930206,
-0.003228166839107871,
-0.0007645658333785832,
-0.0006371382041834295,
0.045956604182720184,
0.01201263815164566,
-0.044413696974515915,
0.0030972950626164675,
0.02914993278682232,
-0.047940343618392944,
0.012646331451833248,
0.006199182476848364,
-0.042576901614665985,
0.018340395763516426,
-0.007544634398072958,
-0.04944651573896408,
0.06689606606960297,
0.012444284744560719,
-0.007902809418737888,
-0.026725362986326218,
-0.05984277278184891,
-0.00034038102603517473
]
|
37,140 | youtube_transcript_api._transcripts | build |
Factory method for TranscriptList.
:param http_client: http client which is used to make the transcript retrieving http calls
:type http_client: requests.Session
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param captions_json: the JSON parsed from the YouTube pages static HTML
:type captions_json: dict
:return: the created TranscriptList
:rtype TranscriptList:
| @staticmethod
def build(http_client, video_id, captions_json):
"""
Factory method for TranscriptList.
:param http_client: http client which is used to make the transcript retrieving http calls
:type http_client: requests.Session
:param video_id: the id of the video this TranscriptList is for
:type video_id: str
:param captions_json: the JSON parsed from the YouTube pages static HTML
:type captions_json: dict
:return: the created TranscriptList
:rtype TranscriptList:
"""
translation_languages = [
{
'language': translation_language['languageName']['simpleText'],
'language_code': translation_language['languageCode'],
} for translation_language in captions_json.get('translationLanguages', [])
]
manually_created_transcripts = {}
generated_transcripts = {}
for caption in captions_json['captionTracks']:
if caption.get('kind', '') == 'asr':
transcript_dict = generated_transcripts
else:
transcript_dict = manually_created_transcripts
transcript_dict[caption['languageCode']] = Transcript(
http_client,
video_id,
caption['baseUrl'],
caption['name']['simpleText'],
caption['languageCode'],
caption.get('kind', '') == 'asr',
translation_languages if caption.get('isTranslatable', False) else [],
)
return TranscriptList(
video_id,
manually_created_transcripts,
generated_transcripts,
translation_languages,
)
| (http_client, video_id, captions_json) | [
-0.019818590953946114,
-0.029859507456421852,
-0.10409460961818695,
-0.0381329245865345,
-0.058666035532951355,
0.03461671993136406,
-0.055243849754333496,
0.03790728375315666,
0.058666035532951355,
0.04294654726982117,
-0.002172946697100997,
0.0895785242319107,
-0.05231054872274399,
-0.02920139580965042,
-0.027415089309215546,
-0.0026935606729239225,
0.020025424659252167,
0.02688859961926937,
-0.015192998573184013,
-0.0705120638012886,
-0.0056738704442977905,
0.023654446005821228,
-0.04038931056857109,
0.0417807474732399,
0.04471404850482941,
0.010181942023336887,
-0.022357024252414703,
0.00431063724681735,
-0.018436552956700325,
0.004964048974215984,
0.005880706012248993,
0.0065388185903429985,
0.027903974056243896,
0.06144891306757927,
-0.011441756971180439,
0.01479813177138567,
-0.06528476625680923,
-0.026080060750246048,
-0.08814948052167892,
0.023184366524219513,
0.026644157245755196,
-0.0181921124458313,
0.04956527799367905,
-0.015033171512186527,
0.008343927562236786,
-0.005316609516739845,
-0.03738079592585564,
0.022620270028710365,
-0.03704233467578888,
-0.0515960268676281,
0.05693614110350609,
0.0031636410858482122,
0.009030244313180447,
-0.018916035071015358,
-0.08326064050197601,
0.03627140447497368,
-0.03311246261000633,
0.0856674537062645,
0.023391202092170715,
-0.004171963781118393,
-0.0031753932125866413,
0.005194388329982758,
-0.007323852740228176,
0.035124409943819046,
0.007544790394604206,
0.021623698994517326,
-0.02987831085920334,
-0.04099101200699806,
0.022244205698370934,
-0.002344526117667556,
0.04441319778561592,
0.04509011283516884,
0.021228831261396408,
-0.016791272908449173,
0.027979185804724693,
-0.017957070842385292,
-0.07171546667814255,
-0.05791390687227249,
-0.01261695846915245,
0.019057059660553932,
-0.014628902077674866,
0.014863942749798298,
0.020984388887882233,
-0.0014396212063729763,
0.06637535244226456,
-0.01697930507361889,
0.02651253528892994,
-0.04749692603945732,
-0.040314096957445145,
-0.010050319135189056,
-0.053476348519325256,
-0.007070009596645832,
-0.038114119321107864,
-0.027302270755171776,
-0.02171771414577961,
0.002945053856819868,
0.006994796451181173,
-0.08431362360715866,
-0.04843708500266075,
-0.01281439233571291,
0.021510880440473557,
0.04038931056857109,
-0.04283372685313225,
-0.02121002785861492,
0.06487109512090683,
-0.02209377847611904,
-0.04719607159495354,
-0.005443531088531017,
0.007845642045140266,
0.032266318798065186,
-0.028900543227791786,
-0.017769038677215576,
0.03555688261985779,
0.02342880703508854,
0.055356670171022415,
-0.07769489288330078,
0.003990982659161091,
0.010012712329626083,
-0.028505675494670868,
-0.024011706933379173,
0.04663197696208954,
-0.018887830898165703,
-0.03335690498352051,
0.027433892711997032,
0.007182828616350889,
0.0028157816268503666,
0.018728002905845642,
0.0028909945394843817,
0.06671380996704102,
-0.0887511819601059,
0.003915769979357719,
-0.018333135172724724,
-0.00201899535022676,
0.014976762235164642,
0.04407474026083946,
-0.00887041725218296,
0.005861902609467506,
0.0004894712474197149,
-0.041254255920648575,
0.03922351077198982,
-0.0035961151588708162,
0.010247753001749516,
0.015569062903523445,
0.03230392560362816,
-0.05539427697658539,
-0.03707994148135185,
-0.025440752506256104,
-0.032435547560453415,
-0.060283113270998,
-0.028750117868185043,
0.02357923425734043,
-0.05614640563726425,
-0.021116012707352638,
0.02303393930196762,
-0.01729895919561386,
-0.03542526066303253,
-0.015860512852668762,
-0.009378104470670223,
0.011657994240522385,
0.02816721796989441,
0.018276726827025414,
0.028731314465403557,
-0.022733088582754135,
0.011958845891058445,
-0.015023769810795784,
-0.022357024252414703,
0.06727790832519531,
-0.00961314421147108,
-0.041968777775764465,
0.032040681689977646,
0.024124527350068092,
0.025835620239377022,
-0.01966816373169422,
0.015691284090280533,
-0.027753546833992004,
0.00812769029289484,
0.02585442177951336,
0.005683272145688534,
0.008160595782101154,
0.021247634664177895,
-0.08183159679174423,
0.003617268754169345,
-0.016509223729372025,
-0.027095435187220573,
0.04802341386675835,
0.020815160125494003,
0.04986612871289253,
0.06408136337995529,
0.0221501886844635,
-0.008442644029855728,
-0.03786967694759369,
-0.010680226609110832,
0.029069771990180016,
-0.0002322491054655984,
-0.02717064693570137,
-0.01052980124950409,
-0.019151076674461365,
0.01218448393046856,
-0.08303500711917877,
0.007074709981679916,
-0.008781102485954762,
0.010407580062747002,
0.046368733048439026,
-0.03642183169722557,
0.051934484392404556,
0.020871570333838463,
-0.03986281901597977,
-0.003676028922200203,
-0.04309697076678276,
-0.041367076337337494,
0.006416597403585911,
-0.0017099174438044429,
0.015136589296162128,
-0.030724456533789635,
0.01397078949958086,
-0.06848131120204926,
0.015738291665911674,
0.0010371148819103837,
0.015428039245307446,
-0.04877554252743721,
0.03157060220837593,
-0.03316887468099594,
-0.0031871451064944267,
-0.01873740553855896,
0.0038241040892899036,
-0.0012457130942493677,
0.024218542501330376,
0.02023226022720337,
-0.046105485409498215,
-0.027621924877166748,
0.014516083523631096,
0.005217892583459616,
0.01912287063896656,
0.015569062903523445,
-0.008372131735086441,
-0.029671475291252136,
0.00602173013612628,
-0.021529681980609894,
0.005448231939226389,
0.021924549713730812,
0.02303393930196762,
0.0015289365546777844,
0.038772232830524445,
0.062088221311569214,
-0.06803003698587418,
0.06212582811713219,
0.010407580062747002,
0.0072251358069479465,
-0.00713582057505846,
-0.011808419600129128,
0.012861399911344051,
0.006158053409308195,
-0.026192881166934967,
0.02408692054450512,
0.013613528572022915,
-0.013312676921486855,
0.0381329245865345,
-0.056184012442827225,
0.013848569244146347,
-0.037606433033943176,
0.004679650533944368,
-0.03555688261985779,
-0.049678098410367966,
0.0674283355474472,
-0.04802341386675835,
-0.03963718190789223,
-0.023992903530597687,
0.08273415267467499,
-0.07540089637041092,
0.009429813362658024,
0.03521842509508133,
0.04809862747788429,
0.01582290604710579,
-0.05020458623766899,
0.0006504737539216876,
-0.007027701940387487,
0.013293874450027943,
0.0006187433609738946,
-0.09175969660282135,
-0.010576808825135231,
-0.0013303275918588042,
0.012081066146492958,
0.05682332068681717,
0.0009519128361716866,
0.058064334094524384,
-0.06648817658424377,
0.0017921815160661936,
0.05693614110350609,
-0.01940491981804371,
0.012222090736031532,
-0.04170553386211395,
0.001429044408723712,
0.04557899758219719,
-0.034146640449762344,
-0.01911346986889839,
-0.026362109929323196,
-0.046707190573215485,
-0.015108384191989899,
0.0427585132420063,
-0.03390219807624817,
-0.0012269099242985249,
0.027697138488292694,
0.07442312687635422,
0.015587866306304932,
-0.10680226981639862,
-0.004244826268404722,
-0.016217773780226707,
-0.030216768383979797,
0.03751241788268089,
-0.039486754685640335,
-0.01575709506869316,
0.012974219396710396,
0.06472066789865494,
0.04524054005742073,
0.006190958898514509,
-0.013660537078976631,
-0.013265669345855713,
-0.013622930273413658,
0.030743258073925972,
0.050731077790260315,
-0.01692289486527443,
-0.009246481582522392,
0.05242336913943291,
-0.00889862235635519,
0.10439545661211014,
-0.08371192216873169,
-0.00023019249783828855,
-0.01681007631123066,
0.03993803262710571,
-0.008889220654964447,
-0.038114119321107864,
0.010134933516383171,
-0.005838398821651936,
0.028204824775457382,
-0.030668046325445175,
0.005387121345847845,
-0.00887041725218296,
-0.015804102644324303,
0.0187844131141901,
-0.05231054872274399,
0.019574148580431938,
-0.04997894912958145,
-0.024594606831669807,
0.05904209986329079,
0.016377601772546768,
0.002113011432811618,
0.025478357449173927,
0.00019067636458203197,
0.038264546543359756,
-0.04888836294412613,
0.018530569970607758,
-0.026531338691711426,
0.08619394153356552,
0.0843888372182846,
0.029803097248077393,
-0.03224751725792885,
0.017449384555220604,
-0.037606433033943176,
-0.02782876044511795,
-0.008339226245880127,
-0.011563978157937527,
0.015559661202132702,
-0.007300348952412605,
0.03978760540485382,
-0.01786305569112301,
-0.01753399893641472,
0.04106622561812401,
-0.050016555935144424,
0.028674904257059097,
0.0061063445173203945,
-0.0008672983385622501,
-0.01879381388425827,
0.02038268744945526,
0.02679458260536194,
0.048361871391534805,
-0.04569181427359581,
0.014102412387728691,
0.0009689532453194261,
-0.02756551466882229,
0.013942585326731205,
-0.003041420364752412,
0.023654446005821228,
-0.003478595055639744,
0.003088428406044841,
0.018041685223579407,
-0.040426913648843765,
0.02286471053957939,
0.017778441309928894,
0.02562878467142582,
-0.0007967862766236067,
0.010473391972482204,
-0.04012606292963028,
0.012400721199810505,
-0.01446907501667738,
0.008240509778261185,
-0.05750023573637009,
-0.03621499612927437,
0.026926206424832344,
0.03538765385746956,
-0.009528529830276966,
0.020589521154761314,
-0.032491959631443024,
0.03839616850018501,
0.04309697076678276,
-0.021454470232129097,
-0.017270755022764206,
0.08190681040287018,
0.06344205141067505,
0.013011826202273369,
-0.02899456024169922,
-0.018887830898165703,
-0.02491426095366478,
-0.058327578008174896,
-0.025666389614343643,
-0.05644725635647774,
0.055018212646245956,
-0.07972563803195953,
0.03031078539788723,
-0.044826868921518326,
0.02237582765519619,
0.01797587424516678,
0.026606550440192223,
0.02987831085920334,
0.027509106323122978,
0.007168726064264774,
0.03322528302669525,
-0.004573882557451725,
0.02843046374619007,
-0.033093661069869995,
-0.07532568275928497,
0.04757213592529297,
-0.017834851518273354,
-0.007732822559773922,
-0.045165326446294785,
0.03256716951727867,
0.0417807474732399,
-0.04155510663986206,
-0.014187026768922806,
-0.022507449612021446,
0.05896688625216484,
0.014675910584628582,
-0.007812736555933952,
-0.013942585326731205,
0.01823912002146244,
-0.00039486755849793553,
-0.023710856214165688,
-0.051671240478754044,
-0.020213456824421883,
0.017402376979589462,
-0.01961175538599491,
-0.007041804492473602,
0.1268841028213501,
0.047083254903554916,
-0.02429375611245632,
0.033488526940345764,
-0.010153736919164658,
0.038001298904418945,
-0.016772469505667686,
-0.026982614770531654,
-0.034090232104063034,
0.03091248869895935,
0.009664853103458881,
0.08589309453964233,
0.007869145832955837,
0.02683218941092491,
-0.010482792742550373,
-0.034297067672014236,
-0.000783271505497396,
-0.045879848301410675,
-0.02391769178211689,
0.026493731886148453,
0.017731433734297752,
0.0017016910715028644,
-0.0023245476186275482,
0.042232025414705276,
-0.006181557197123766,
0.016622044146060944,
-0.04945245757699013,
-0.005584555212408304,
-0.01080244779586792,
0.02325957827270031,
-0.023447610437870026,
0.003415134269744158,
0.036290206015110016,
-0.051558420062065125,
-0.02089037373661995,
0.004096750635653734,
-0.034297067672014236,
-0.007944358512759209,
0.0072251358069479465,
-0.0005267838714644313,
0.03691071271896362,
0.024049313738942146,
0.04087819159030914,
-0.023334791883826256,
-0.00931699387729168,
0.009664853103458881,
0.0203262772411108,
0.01140415109694004,
-0.046970434486866,
0.06201300770044327,
-0.027697138488292694,
-0.012767383828759193,
-0.0070512061938643456,
0.05990704894065857,
-0.001537162926979363,
-0.026192881166934967,
0.033977411687374115,
-0.06423179060220718,
-0.017957070842385292,
-0.02671937085688114,
0.028637299314141273,
-0.030442407354712486,
-0.019198084250092506,
0.020645931363105774,
-0.012983621098101139,
-0.07382142543792725,
0.012767383828759193,
-0.0008573091472499073,
0.011940042488276958,
0.04035170376300812,
0.06381811946630478,
0.01978098414838314,
-0.03190905973315239,
0.01718614064157009,
0.019273295998573303,
-0.04802341386675835,
-0.000018252341760671698,
0.026437321677803993,
0.06329162418842316,
-0.029295410960912704,
-0.07829659432172775,
-0.01429984625428915,
0.02303393930196762,
0.004888836294412613,
0.0027429191395640373,
-0.038057710975408554,
-0.0221501886844635,
0.05434129387140274,
-0.005429428536444902,
0.008386234752833843,
0.02513989992439747,
-0.03707994148135185,
-0.05659767985343933,
-0.007253340911120176,
0.02203737013041973,
0.026606550440192223,
0.07464876770973206,
-0.03053642436861992,
0.03770044818520546,
0.012569949962198734,
-0.011328937485814095,
0.016462216153740883,
0.014534885995090008,
-0.03764403983950615,
-0.03613978251814842,
-0.016048545017838478,
-0.05998225882649422,
0.013246865943074226,
0.03384578973054886,
0.053213100880384445,
-0.010445186868309975,
-0.07547610998153687,
-0.0003557921154424548,
-0.04298415407538414,
0.05471735820174217,
0.03459791839122772,
0.06524716317653656,
-0.025553571060299873,
-0.0028204824775457382,
0.06118566542863846,
0.0007186354487203062,
0.014036601409316063,
0.020645931363105774,
-0.04877554252743721,
0.00723453750833869,
-0.01429984625428915,
-0.03283041715621948,
0.06321641057729721,
-0.029032167047262192,
0.023936495184898376,
-0.0003469781077001244,
-0.0006763281999155879,
-0.03341331705451012,
0.024707427248358727,
-0.015155392698943615,
0.040201276540756226,
0.006646937225013971,
0.0650591254234314,
-0.0267757810652256,
-0.05539427697658539,
0.10620056837797165,
-0.015296416357159615,
0.036290206015110016,
0.05550709366798401,
0.04561660438776016,
0.02337239868938923,
0.0008631851524114609,
-0.06445742398500443,
-0.01736477017402649,
-0.024049313738942146,
0.02594843879342079,
-0.011451158672571182,
0.05550709366798401,
0.036346618086099625,
-0.0314013697206974,
-0.03785087540745735,
-0.053701985627412796,
-0.0041860658675432205,
0.004973450675606728,
0.007831539958715439,
-0.012024656869471073,
0.005368318408727646,
-0.07382142543792725,
0.019856195896863937,
-0.03322528302669525,
-0.08303500711917877,
0.055243849754333496,
0.038997869938611984,
-0.04971570521593094,
0.040314096957445145,
0.024538196623325348,
-0.036008160561323166,
0.04347303509712219,
-0.11469961702823639,
-0.025215113535523415,
0.04715846851468086,
-0.056071192026138306,
-0.031721025705337524,
-0.019762180745601654,
0.06844370812177658,
-0.04211920499801636,
0.047647349536418915,
0.0008866891730576754,
0.02777235023677349,
0.07039923965930939,
0.047760169953107834,
0.001768677495419979,
0.08980416506528854,
0.02451939508318901,
-0.005283704027533531,
-0.002961506601423025,
-0.011902435682713985,
0.015465645119547844,
-0.016791272908449173,
-0.013444299809634686,
0.0030672745779156685,
-0.06156172975897789,
-0.007422569673508406,
0.0021635449957102537,
-0.028411660343408585,
0.077394038438797,
-0.008395636454224586,
0.0252339169383049,
0.008950331248342991,
0.006938386708498001,
0.047910597175359726,
0.002265787683427334,
0.0423448421061039,
0.0034691933542490005,
0.05911731347441673,
-0.000357261102180928,
-0.008889220654964447,
-0.03858419880270958,
0.01989380270242691,
-0.03845257684588432,
0.0038241040892899036,
0.007121718022972345,
0.028862936422228813,
-0.00019846207578666508,
0.05264900624752045,
-0.011761412024497986,
-0.013904978521168232,
-0.0013056483585387468,
0.016020340844988823,
0.040915798395872116,
-0.028073202818632126,
-0.01625538058578968,
0.04046452045440674,
-0.007746925111860037,
-0.02899456024169922,
0.031664617359638214,
-0.01586991548538208,
0.024162132292985916,
-0.039975639432668686,
0.01504257321357727,
0.023880084976553917,
-0.016509223729372025,
-0.034635525196790695,
-0.047910597175359726,
-0.041517503559589386,
0.0391106903553009,
-0.060546357184648514,
-0.00919947400689125,
0.06408136337995529,
-0.02121002785861492,
-0.02391769178211689,
-0.05140799283981323,
-0.023221971467137337,
0.010821251198649406,
0.038546591997146606,
-0.06648817658424377,
-0.014610099606215954,
-0.015456244349479675,
-0.039825212210416794,
-0.005429428536444902,
0.03245435282588005,
-0.03796369209885597,
-0.012654564343392849,
-0.027245860546827316,
0.033808182924985886,
0.0562216155230999,
0.09634768217802048,
0.015898119658231735,
-0.015136589296162128,
-0.01524000708013773,
0.013209259137511253,
0.05859082192182541,
0.029803097248077393,
-0.03245435282588005,
0.04937724769115448,
0.0020519010722637177,
0.00463029183447361,
0.0433226116001606,
0.04873793572187424,
-0.0015606669476255774,
0.017167337238788605,
-0.012645162642002106,
0.008978535421192646,
-0.05539427697658539,
-0.007864445447921753,
-0.007643507327884436,
-0.06306599080562592,
-0.0876229852437973,
-0.0061533525586128235,
-0.021247634664177895,
0.027433892711997032,
0.0025689895264804363,
-0.04366106912493706,
0.015804102644324303,
-0.05325070768594742,
0.017778441309928894,
-0.0009577888413332403,
-0.004519823007285595,
-0.028750117868185043,
-0.003629020880907774,
0.05750023573637009,
-0.051445599645376205,
0.02639971673488617,
0.006054635625332594,
0.05648486316204071,
0.02679458260536194,
-0.07032402604818344,
0.0011411202140152454,
0.06129848584532738,
-0.029351821169257164,
0.018916035071015358,
0.027979185804724693,
-0.031175732612609863,
-0.04520293325185776,
-0.03685430437326431,
-0.021473273634910583,
0.06220104172825813,
0.013980191200971603,
-0.018229717388749123,
0.020965585485100746,
0.02457580342888832,
0.008672983385622501
]
|
37,141 | youtube_transcript_api._transcripts | find_generated_transcript |
Finds an automatically generated transcript for a given language code.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
| def find_generated_transcript(self, language_codes):
"""
Finds an automatically generated transcript for a given language code.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
"""
return self._find_transcript(language_codes, [self._generated_transcripts])
| (self, language_codes) | [
0.021837830543518066,
-0.02399642951786518,
-0.016962993890047073,
0.020686578005552292,
0.0014266993384808302,
0.015236114151775837,
-0.04198475927114487,
0.0032423962838947773,
0.06062066927552223,
-0.02583123929798603,
0.015056231059134007,
0.04360370710492134,
-0.043567731976509094,
-0.049144115298986435,
-0.037595607340335846,
-0.01314946822822094,
0.0014784157974645495,
0.0609084814786911,
-0.0336921401321888,
-0.08080357313156128,
-0.0049737729132175446,
0.03097590245306492,
0.007303261663764715,
0.062059734016656876,
0.014993271790444851,
0.01859993115067482,
-0.0028713869396597147,
-0.05846206843852997,
-0.03791939839720726,
0.02167593687772751,
0.0004963654209859669,
-0.057382769882678986,
0.018375078216195107,
0.01573079265654087,
-0.04579828307032585,
0.03210916742682457,
-0.04176889732480049,
0.025507450103759766,
-0.03340432792901993,
-0.005454960744827986,
-0.0023339856415987015,
0.03223508596420288,
0.07519121468067169,
-0.016333403065800667,
-0.022071680054068565,
-0.0013536217156797647,
-0.08253045380115509,
-0.022845176979899406,
-0.040725577622652054,
0.06000906601548195,
0.08303412795066833,
-0.020398763939738274,
0.009124579839408398,
-0.06310305744409561,
-0.08396951854228973,
0.015982629731297493,
-0.0016414349665865302,
0.029015174135565758,
0.01637837290763855,
-0.0001607706944923848,
0.0632469654083252,
-0.018869757652282715,
-0.0010045357048511505,
0.054828424006700516,
0.030616136267781258,
0.031713422387838364,
0.0654415413737297,
-0.04230855032801628,
0.01650429144501686,
0.03588671609759331,
0.014903330244123936,
-0.006205973215401173,
-0.02198173850774765,
-0.02493182383477688,
0.09260391443967819,
0.01919354684650898,
-0.04885629937052727,
-0.03378207981586456,
-0.014444627799093723,
0.026910539716482162,
0.024967800825834274,
-0.044035427272319794,
0.031713422387838364,
0.040365807712078094,
0.050799041986465454,
-0.01012742891907692,
0.03601263463497162,
-0.04792090877890587,
0.0033728117123246193,
-0.035167183727025986,
-0.008198181167244911,
-0.011359629221260548,
0.02007497474551201,
0.02216162160038948,
0.026029111817479134,
-0.037703536450862885,
0.033260419964790344,
-0.03032832220196724,
-0.004180037882179022,
-0.0058686924166977406,
0.04828067496418953,
0.07188136130571365,
0.08029989898204803,
-0.04788492992520332,
0.09030140936374664,
0.014390663243830204,
-0.059397462755441666,
0.006048575509339571,
0.08576834946870804,
0.009344936348497868,
-0.044107381254434586,
-0.050079505890607834,
0.03446563705801964,
-0.040006041526794434,
0.04058166965842247,
-0.08986969292163849,
-0.010181394405663013,
0.0925319641828537,
-0.0490361824631691,
-0.018249159678816795,
0.06799588352441788,
-0.03063412383198738,
-0.0627792701125145,
0.028601443395018578,
-0.006080055143684149,
0.0009477600688114762,
0.0664488896727562,
-0.025615379214286804,
0.07533512264490128,
-0.058210231363773346,
0.06439821422100067,
-0.004544301424175501,
0.02234150469303131,
-0.015622863546013832,
0.01362615916877985,
0.033566221594810486,
-0.0035571919288486242,
0.032972607761621475,
-0.01226804032921791,
0.021100308746099472,
0.003667370416224003,
0.0049827671609818935,
0.07119780778884888,
0.002848901553079486,
-0.04079752787947655,
0.03585073724389076,
0.0002552094229031354,
0.026586750522255898,
0.010559149086475372,
-0.01575777679681778,
0.03601263463497162,
-0.055008310824632645,
-0.04608609899878502,
0.010891932994127274,
-0.036282457411289215,
-0.003997906111180782,
-0.019679231569170952,
0.033746104687452316,
-0.02996855601668358,
0.0021788363810628653,
0.03489735722541809,
0.02167593687772751,
-0.024949811398983,
-0.0027499657589942217,
0.023852523416280746,
-0.004132818430662155,
-0.021550018340349197,
0.06259938329458237,
-0.04889227822422981,
-0.002213688800111413,
-0.031839340925216675,
0.04259636253118515,
-0.0352931022644043,
-0.013464263640344143,
-0.00956979114562273,
0.013518229126930237,
0.01949934847652912,
0.0535692423582077,
-0.009515825659036636,
0.06990264356136322,
-0.03701997920870781,
0.009290971793234348,
-0.04792090877890587,
0.01931946538388729,
0.06688060611486435,
0.028043804690241814,
0.01806028187274933,
0.059577345848083496,
0.057490698993206024,
-0.016657192260026932,
-0.014003913849592209,
-0.00812622718513012,
0.016180502250790596,
0.0270184688270092,
-0.05166247859597206,
-0.010712049901485443,
0.020164916291832924,
0.0019180055242031813,
-0.10433230549097061,
0.04500679671764374,
0.012654788792133331,
0.002417181618511677,
0.0352931022644043,
0.0025138689670711756,
-0.017088912427425385,
0.02226955071091652,
0.026047099381685257,
0.04198475927114487,
-0.0485684871673584,
-0.02275523543357849,
0.010712049901485443,
-0.0591096468269825,
0.019643254578113556,
-0.02807978168129921,
0.03167744725942612,
-0.04378359019756317,
-0.02973470650613308,
-0.009461861103773117,
0.006111534778028727,
0.006098043639212847,
0.01478640642017126,
-0.017133882269263268,
-0.013392310589551926,
-0.014876347966492176,
0.07306858897209167,
-0.020776519551873207,
0.03637240082025528,
-0.02203570306301117,
-0.05579979717731476,
-0.02351074479520321,
0.038710884749889374,
-0.026568761095404625,
0.02387051284313202,
-0.05076306313276291,
0.038243185728788376,
-0.015982629731297493,
0.02126220427453518,
-0.014444627799093723,
0.04615805298089981,
0.06126824766397476,
-0.0021788363810628653,
0.06403844803571701,
0.06202375888824463,
0.03536505252122879,
0.021585993468761444,
0.04468300938606262,
0.03491534665226936,
-0.013239409774541855,
0.005027737934142351,
-0.025075729936361313,
0.03192928433418274,
-0.015047237277030945,
-0.02030882239341736,
0.002891623880714178,
0.015011260285973549,
0.018617920577526093,
0.027468178421258926,
-0.037703536450862885,
0.037775490432977676,
0.006098043639212847,
-0.06713244318962097,
0.019175559282302856,
-0.04569035395979881,
0.05691507086157799,
-0.054288774728775024,
-0.03174940124154091,
-0.025255613029003143,
0.04331589490175247,
-0.06245547533035278,
0.027773980051279068,
0.015739787369966507,
0.07806934416294098,
-0.04507875069975853,
-0.04266831651329994,
0.023654652759432793,
0.01567682810127735,
0.004407140426337719,
0.024194302037358284,
-0.08850257843732834,
0.019589290022850037,
0.014093855395913124,
0.04864044114947319,
0.039070650935173035,
-0.024661999195814133,
0.04684160649776459,
-0.024608032777905464,
-0.016315413638949394,
-0.05076306313276291,
-0.018689872696995735,
0.007604565937072039,
0.017106899991631508,
0.01966124400496483,
0.04918009042739868,
-0.05277775600552559,
0.010172399692237377,
-0.013383316807448864,
0.014354686252772808,
-0.016828080639243126,
0.038710884749889374,
-0.003761809319257736,
0.015182149596512318,
0.037595607340335846,
0.07432777434587479,
-0.0008083505090326071,
-0.12160110473632812,
-0.00202481122687459,
-0.06583728641271591,
-0.031011879444122314,
0.023061037063598633,
-0.02624497190117836,
-0.08389756828546524,
-0.007010951172560453,
0.08490490913391113,
0.016360385343432426,
-0.015694817528128624,
-0.021585993468761444,
0.04846055805683136,
-0.020578648895025253,
0.01622547209262848,
0.04953985661268234,
0.005059217568486929,
0.01519114337861538,
0.048244696110486984,
-0.004045125562697649,
-0.00026434409664943814,
-0.07526316493749619,
-0.0389627180993557,
0.02322293259203434,
0.022881153970956802,
-0.04270429164171219,
-0.01410285010933876,
-0.04572633281350136,
0.03433971852064133,
-0.053821079432964325,
0.003278372809290886,
0.015568898059427738,
0.019517336040735245,
-0.04838860407471657,
0.036408375948667526,
-0.004033882636576891,
0.031371645629405975,
-0.06313903629779816,
-0.010891932994127274,
0.057562652975320816,
0.04637391120195389,
0.039250534027814865,
0.0007408942910842597,
0.004454359877854586,
-0.0201469287276268,
-0.06259938329458237,
0.0017920872196555138,
-0.018869757652282715,
-0.004663474392145872,
0.04425128921866417,
0.0031232235487550497,
-0.06439821422100067,
0.04241647943854332,
0.02926701121032238,
0.018635908141732216,
-0.01715187169611454,
-0.046949539333581924,
-0.02234150469303131,
-0.020110951736569405,
0.012906625866889954,
-0.052274081856012344,
-0.0005621352465823293,
0.006178990937769413,
0.016135530546307564,
-0.04910813644528389,
-0.0016549262218177319,
0.013347339816391468,
-0.0037640577647835016,
-0.009704703465104103,
0.03158750385046005,
-0.001750489231199026,
-0.10462012141942978,
-0.03572482243180275,
-0.00992056354880333,
0.0024778922088444233,
0.04579828307032585,
-0.003995657432824373,
-0.0004623562563210726,
-0.04061764478683472,
0.03236100450158119,
0.013913972303271294,
-0.0168460700660944,
-0.009731685742735863,
0.007645039819180965,
-0.035167183727025986,
-0.0128256781026721,
0.0329546183347702,
-0.0263529010117054,
-0.004168794956058264,
-0.0618438757956028,
-0.03975420817732811,
-0.011755372397601604,
-0.04133718088269234,
0.04320796579122543,
-0.006376862525939941,
-0.02097439207136631,
-0.01567682810127735,
-0.009362924844026566,
-0.04551047086715698,
0.039538346230983734,
0.008917713537812233,
0.007815929129719734,
0.04140913113951683,
-0.016315413638949394,
-0.0038202712312340736,
0.014804394915699959,
-0.09361126273870468,
-0.007604565937072039,
0.02417631447315216,
-0.04666172340512276,
-0.06695255637168884,
0.020003020763397217,
-0.07619856297969818,
0.04615805298089981,
-0.06098043546080589,
0.011593477800488472,
-0.05256189778447151,
-0.030903948470950127,
0.045294612646102905,
0.011422588489949703,
0.059325508773326874,
0.013752077706158161,
-0.019175559282302856,
-0.0024958807043731213,
-0.07468754053115845,
-0.012951596640050411,
0.017880398780107498,
-0.07008253037929535,
-0.003442516317591071,
-0.023672640323638916,
0.0673842802643776,
0.030957913026213646,
-0.016936011612415314,
-0.008593924343585968,
-0.007937350310385227,
0.01529007963836193,
0.021532028913497925,
0.01789838634431362,
-0.024086372926831245,
0.0007656282396055758,
-0.016396362334489822,
-0.064973846077919,
-0.030993890017271042,
-0.04320796579122543,
0.012699760496616364,
-0.0008718718308955431,
0.03748767822980881,
0.04644586518406868,
0.05432475358247757,
0.0030805012211203575,
0.0627073124051094,
-0.012187092565000057,
-0.035976655781269073,
0.05072708800435066,
-0.037991348654031754,
0.0011602472513914108,
-0.023474769666790962,
0.04953985661268234,
0.0380273275077343,
-0.01978716067969799,
0.03045424073934555,
-0.004937796387821436,
-0.05105087533593178,
0.0013480003690347075,
-0.016522279009222984,
-0.006448816042393446,
0.04770504683256149,
-0.01792536862194538,
-0.05982918292284012,
-0.03383604437112808,
-0.017601579427719116,
-0.050259388983249664,
-0.020830484107136726,
-0.03448362648487091,
-0.035167183727025986,
0.028403570875525475,
0.011503536254167557,
-0.0286194309592247,
-0.04820872098207474,
0.030526192858815193,
-0.006107037421315908,
-0.05378510430455208,
0.010271335951983929,
-0.04734528064727783,
-0.03606659919023514,
-0.017241813242435455,
0.02286316640675068,
-0.0034042911138385534,
0.053641196340322495,
-0.0001451714342692867,
-0.038063302636146545,
-0.055476006120443344,
0.016315413638949394,
0.0018089512595906854,
0.00006071060852264054,
-0.030490217730402946,
0.02257535234093666,
0.002148481085896492,
-0.002254162449389696,
0.005095194093883038,
0.05579979717731476,
-0.04507875069975853,
0.00805877149105072,
0.042740270495414734,
-0.04662574827671051,
0.0213161688297987,
-0.017727497965097427,
0.013788053765892982,
-0.008607415482401848,
-0.05284970998764038,
-0.012906625866889954,
-0.01622547209262848,
0.0013142722891643643,
0.012286028824746609,
-0.0010703055886551738,
0.08958187699317932,
-0.010712049901485443,
-0.004269979428499937,
-0.05479244887828827,
-0.02417631447315216,
0.043747615069150925,
-0.017241813242435455,
-0.07206124812364578,
-0.01163844857364893,
-0.017367731779813766,
0.034087881445884705,
0.009111088700592518,
-0.016810093075037003,
0.010136423632502556,
0.018869757652282715,
0.004119327291846275,
0.01583872362971306,
-0.04184085130691528,
0.00011615119728958234,
0.020416753366589546,
0.017880398780107498,
0.01163844857364893,
0.024967800825834274,
-0.0054954346269369125,
0.004681462422013283,
0.04853251203894615,
-0.015532921999692917,
-0.04882032424211502,
-0.007352729327976704,
-0.013068520464003086,
0.10663481056690216,
0.04068959876894951,
-0.04378359019756317,
0.012016203254461288,
0.0332244448363781,
0.06353477388620377,
0.03115578554570675,
-0.021406110376119614,
0.018114246428012848,
0.004802883602678776,
0.04468300938606262,
0.06619705259799957,
-0.010019498877227306,
-0.04461105540394783,
-0.006066564004868269,
-0.014390663243830204,
0.016630209982395172,
0.028835291042923927,
0.001352497492916882,
-0.010667079128324986,
-0.03009447455406189,
-0.0073752147145569324,
0.06173594295978546,
0.00838256161659956,
0.035976655781269073,
-0.03590470552444458,
0.06526165455579758,
0.008306111209094524,
-0.04522265866398811,
0.013536217622458935,
0.028151733800768852,
0.004276724997907877,
0.0076090628281235695,
0.015613868832588196,
0.027450188994407654,
0.0613761767745018,
0.020452730357646942,
0.0005205372581258416,
-0.005000755190849304,
-0.042200617492198944,
-0.028457535430788994,
-0.0035706833004951477,
0.05385705456137657,
-0.028403570875525475,
0.035634879022836685,
0.045942191034555435,
0.07403995841741562,
0.05054720491170883,
0.02387051284313202,
-0.038171231746673584,
-0.058030348271131516,
-0.05792241916060448,
0.007276278920471668,
0.0047309305518865585,
0.03716388717293739,
0.10584332793951035,
-0.0121421217918396,
-0.012205081060528755,
-0.07576683908700943,
-0.0025138689670711756,
0.027738003060221672,
-0.008400549180805683,
-0.02453608065843582,
0.009524820372462273,
-0.018977686762809753,
0.01996704563498497,
0.006152008194476366,
-0.017844421789050102,
-0.0006279050721786916,
0.0265507735311985,
-0.0051131825894117355,
0.007645039819180965,
-0.0017302524065598845,
-0.02066859044134617,
0.030957913026213646,
-0.02476992830634117,
0.03536505252122879,
0.00861640926450491,
-0.04900020733475685,
-0.01296958513557911,
0.027468178421258926,
0.00436441833153367,
0.001209715148434043,
0.05148259550333023,
-0.03392598778009415,
0.020056987181305885,
0.016486303880810738,
0.002264280803501606,
-0.027576107531785965,
-0.02002101019024849,
-0.003647133708000183,
-0.09497837722301483,
0.03946639224886894,
-0.07641442120075226,
-0.034033916890621185,
-0.023672640323638916,
0.0084230350330472,
-0.03245094418525696,
-0.0028286646120250225,
-0.009308960288763046,
0.01250188797712326,
-0.008175695315003395,
0.08267436176538467,
-0.049683764576911926,
0.04500679671764374,
-0.033494267612695694,
0.001269301399588585,
-0.02268328331410885,
0.0019798404537141323,
0.05011548474431038,
-0.0008634397527202964,
0.0434957779943943,
-0.015002266503870487,
-0.03635441139340401,
-0.0313536562025547,
-0.009219018742442131,
-0.020578648895025253,
0.0013671129709109664,
-0.0293209757655859,
0.05605163052678108,
0.00251836609095335,
-0.006947991903871298,
-0.0042070201598107815,
0.025759287178516388,
-0.05108685418963432,
0.01996704563498497,
0.04720137268304825,
0.0014165808679535985,
-0.016630209982395172,
0.009124579839408398,
-0.02601112239062786,
-0.019211534410715103,
0.04313601180911064,
0.013671129941940308,
0.03257686272263527,
-0.04385554417967796,
0.03360219672322273,
0.024787917733192444,
0.0006616332102566957,
0.0348254032433033,
-0.05011548474431038,
-0.04680563136935234,
0.010433230549097061,
-0.029231034219264984,
0.017556609585881233,
0.04461105540394783,
0.045582424849271774,
-0.0067546172067523,
-0.03603062406182289,
-0.07368019223213196,
-0.028295641764998436,
0.03784744441509247,
-0.0036898558028042316,
-0.012348988093435764,
-0.008539958856999874,
-0.04792090877890587,
-0.018743839114904404,
-0.021352145820856094,
-0.004341932944953442,
-0.046589769423007965,
0.019679231569170952,
-0.0215140413492918,
-0.01948135904967785,
0.07806934416294098,
0.005886680446565151,
-0.035634879022836685,
-0.0787888765335083,
-0.009506831876933575,
0.09102094173431396,
0.032073188573122025,
-0.00295458291657269,
-0.016360385343432426,
0.015299073420464993,
0.012420941144227982,
0.008922210894525051,
-0.005400995723903179,
0.007168348878622055,
0.044287264347076416,
-0.059505391865968704,
-0.054828424006700516,
0.0286194309592247,
-0.011476553976535797,
0.002475643763318658,
-0.028997186571359634,
-0.0426323376595974,
0.008863748982548714,
-0.02554342709481716,
0.026155030354857445,
-0.021424099802970886,
-0.012447923421859741,
-0.02192777208983898,
-0.004245245363563299,
0.03185733035206795,
-0.0025633368641138077,
-0.01635139063000679,
0.008715345524251461,
0.00642633019015193,
0.008229660801589489,
-0.011377617716789246,
0.01689103990793228,
0.0015065225306898355,
0.03649831935763359,
-0.00965073797851801,
0.0072358050383627415,
0.014885341748595238,
-0.017043940722942352,
0.04504277557134628,
0.010415242053568363,
0.01803329959511757,
-0.06929104030132294,
0.021190250292420387,
-0.0421646423637867,
-0.03104785457253456,
0.0037213354371488094,
-0.0121421217918396,
0.01712488941848278,
-0.04198475927114487,
-0.01829412952065468,
0.013662135228514671
]
|
37,142 | youtube_transcript_api._transcripts | find_manually_created_transcript |
Finds a manually created transcript for a given language code.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
| def find_manually_created_transcript(self, language_codes):
"""
Finds a manually created transcript for a given language code.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
"""
return self._find_transcript(language_codes, [self._manually_created_transcripts])
| (self, language_codes) | [
0.007491703610867262,
0.015445131808519363,
-0.015291223302483559,
0.01109043788164854,
0.0018140787724405527,
0.030383272096514702,
-0.05392216145992279,
0.005246455781161785,
0.06250479817390442,
-0.003612313885241747,
0.014186706393957138,
0.052437398582696915,
-0.03711901605129242,
-0.05185798183083534,
-0.04008853808045387,
-0.016106031835079193,
-0.021764418110251427,
0.05895585939288139,
-0.05008351057767868,
-0.08647825568914413,
0.0024647931568324566,
0.026128165423870087,
0.025766028091311455,
0.05392216145992279,
0.017961982637643814,
-0.005843981634825468,
-0.012448450550436974,
-0.059933628886938095,
-0.043492622673511505,
0.037227656692266464,
0.009922546334564686,
-0.027449965476989746,
0.018450867384672165,
0.03262852132320404,
-0.026345446705818176,
0.04352883622050285,
-0.049540307372808456,
0.028952831402420998,
-0.03766221925616264,
-0.007555077783763409,
0.013715929351747036,
0.032682839781045914,
0.06681422889232635,
-0.012566144578158855,
-0.02058747410774231,
-0.017002319917082787,
-0.06087518483400345,
-0.011986725963652134,
-0.01595212332904339,
0.057253818958997726,
0.052799537777900696,
-0.014947193674743176,
0.01736445724964142,
-0.05493614450097084,
-0.08626097440719604,
0.011343933641910553,
0.0015786897856742144,
0.04928680881857872,
0.008057542145252228,
-0.015816321596503258,
0.06656073033809662,
0.002278066473081708,
0.005250982474535704,
0.04660699889063835,
0.008261244744062424,
-0.0010524599347263575,
0.07619357109069824,
-0.03601449728012085,
0.03972639888525009,
0.03094458393752575,
0.0002764121745713055,
0.007183887530118227,
-0.015725787729024887,
-0.01966402493417263,
0.11660803109407425,
0.034185707569122314,
-0.050807785242795944,
-0.027323216199874878,
-0.02067800797522068,
0.06681422889232635,
0.01683935895562172,
-0.030220311135053635,
0.020044269040226936,
0.05960770696401596,
0.0349280871450901,
-0.004474651999771595,
0.03275526687502861,
-0.03188613802194595,
0.02516850270330906,
-0.0618891678750515,
0.01568957418203354,
-0.02071422152221203,
0.024082092568278313,
0.00978674553334713,
0.029079580679535866,
-0.043927185237407684,
0.027395643293857574,
-0.027359429746866226,
-0.01327231153845787,
-0.012819640338420868,
0.03809678554534912,
0.07213763892650604,
0.08749223500490189,
-0.050807785242795944,
0.08358115702867508,
0.029351182281970978,
-0.05537070706486702,
0.002326728543266654,
0.06996481865644455,
0.027703460305929184,
-0.04034203290939331,
-0.050988852977752686,
0.04316670075058937,
-0.020243443548679352,
0.029152007773518562,
-0.08669553697109222,
-0.002867670264095068,
0.07597628980875015,
-0.04885224625468254,
-0.026816224679350853,
0.06380849331617355,
-0.029966814443469048,
-0.049974869936704636,
0.00967810396105051,
-0.011525001376867294,
0.008360831998288631,
0.07467259466648102,
-0.03351575508713722,
0.07409317791461945,
-0.057253818958997726,
0.046570785343647,
0.0012097629951313138,
0.020569367334246635,
-0.0010801859898492694,
-0.0066633159294724464,
0.018849216401576996,
0.010565339587628841,
0.026508409529924393,
-0.012729106470942497,
0.0028563535306602716,
-0.005794188007712364,
0.004137412179261446,
0.06268586963415146,
0.024589084088802338,
-0.049540307372808456,
0.038205426186323166,
-0.0011016878997907043,
0.03411328047513962,
0.0036100505385547876,
-0.009497036226093769,
0.03257419914007187,
-0.06290315091609955,
-0.047186415642499924,
0.028717443346977234,
-0.011995779350399971,
0.0004784165939781815,
-0.028119917958974838,
0.0228327214717865,
-0.03190424665808678,
0.03271905332803726,
0.02716025523841381,
0.02574792131781578,
-0.028807977214455605,
0.014485469087958336,
0.011715123429894447,
-0.007414749823510647,
-0.016957052052021027,
0.04809175804257393,
-0.04523087665438652,
0.019555384293198586,
-0.015236902981996536,
0.061780527234077454,
-0.02906147390604019,
-0.012222114950418472,
-0.004298110492527485,
0.003793382318690419,
0.031632643193006516,
0.030220311135053635,
-0.01846897415816784,
0.05290817841887474,
-0.06221508979797363,
0.007636558264493942,
-0.048743605613708496,
0.0036281575448811054,
0.058919645845890045,
0.043709903955459595,
0.007201994303613901,
0.06681422889232635,
0.041283588856458664,
-0.01665828935801983,
-0.016613023355603218,
0.005097074434161186,
0.02227140963077545,
0.02857258915901184,
-0.036485277116298676,
-0.01368876826018095,
0.011117598041892052,
-0.003037421964108944,
-0.09611108899116516,
0.0506267175078392,
0.0049657998606562614,
0.0334976464509964,
0.047983117401599884,
0.006201591808348894,
0.008695808239281178,
0.011850925162434578,
0.012665732763707638,
0.055660415440797806,
-0.0739121064543724,
-0.03125239908695221,
0.013697821646928787,
-0.04157329723238945,
0.019102713093161583,
-0.0156986266374588,
0.018043462187051773,
-0.07115986943244934,
0.001704305992461741,
-0.016069818288087845,
0.02116689272224903,
-0.003428982337936759,
-0.01441304199397564,
-0.003766222158446908,
-0.039219409227371216,
-0.020171016454696655,
0.057253818958997726,
-0.014947193674743176,
0.02040640451014042,
-0.02018912322819233,
-0.045918937772512436,
-0.011289612390100956,
0.03438488394021988,
-0.029043367132544518,
-0.007115986663848162,
-0.07843881845474243,
0.033877890557050705,
-0.025856563821434975,
0.02138417400419712,
-0.032447449862957,
0.018215477466583252,
0.06453276425600052,
-0.0056719668209552765,
0.03532643988728523,
0.07554171979427338,
0.03972639888525009,
0.031668856739997864,
0.051785554736852646,
0.03663013130426407,
-0.016504382714629173,
0.00671310955658555,
-0.024317482486367226,
0.029550358653068542,
0.009478929452598095,
-0.022579224780201912,
0.020786648616194725,
0.01640479452908039,
-0.00028574850875884295,
0.019953733310103416,
-0.027051614597439766,
0.027975063771009445,
-0.0029944181442260742,
-0.0709787979722023,
0.013960370793938637,
-0.03463837876915932,
0.060150910168886185,
-0.06435170024633408,
-0.03400463983416557,
-0.024082092568278313,
0.062323734164237976,
-0.0731516182422638,
0.030003027990460396,
0.009157532826066017,
0.03990746662020683,
-0.023357819765806198,
-0.04830903932452202,
0.029658999294042587,
0.024661511182785034,
0.02199980616569519,
0.012964495457708836,
-0.08061163872480392,
0.027142148464918137,
0.01883110962808132,
0.06949403882026672,
0.05616740882396698,
-0.034366775304079056,
0.044506605714559555,
-0.02455287054181099,
-0.006025049835443497,
-0.03300876542925835,
-0.023484567180275917,
0.004234736319631338,
0.008329144679009914,
0.02279650792479515,
0.053632449358701706,
-0.05736245959997177,
0.005246455781161785,
-0.003793382318690419,
-0.02750428579747677,
-0.00656825490295887,
0.03170507028698921,
-0.027124041691422462,
-0.002202244009822607,
0.04262349382042885,
0.06388092041015625,
0.002371995709836483,
-0.10639577358961105,
-0.020931502804160118,
-0.085174560546875,
-0.021764418110251427,
0.022470584139227867,
-0.04110252112150192,
-0.07014588266611099,
-0.007813099771738052,
0.07423803210258484,
0.014983407221734524,
-0.015508505515754223,
-0.007627504877746105,
0.05091642588376999,
-0.007813099771738052,
0.01060155313462019,
0.049793802201747894,
0.007654665503650904,
-0.0042211562395095825,
0.022995682433247566,
-0.0119052454829216,
0.021529028192162514,
-0.07525201141834259,
-0.03331657871603966,
0.007011872716248035,
0.026417875662446022,
-0.024082092568278313,
-0.023212965577840805,
-0.03130672127008438,
0.029966814443469048,
-0.05294439196586609,
-0.019863199442625046,
0.00476209819316864,
0.010058348067104816,
-0.04233378544449806,
0.04019717872142792,
-0.016450060531497,
0.013715929351747036,
-0.0485987514257431,
-0.011135704815387726,
0.03282769396901131,
0.05417565628886223,
0.04276834800839424,
-0.008034909144043922,
0.020931502804160118,
-0.005463737994432449,
-0.07554171979427338,
0.006482247728854418,
-0.020080482587218285,
-0.011950512416660786,
0.05721760541200638,
0.011180971749126911,
-0.06938540190458298,
0.034457311034202576,
0.02781210094690323,
0.02040640451014042,
-0.04849011078476906,
-0.060295768082141876,
-0.023955345153808594,
-0.027359429746866226,
0.0022373259998857975,
-0.04678806662559509,
-0.010827888734638691,
0.010529126040637493,
0.02565738745033741,
-0.06308422237634659,
-0.025512533262372017,
0.016151297837495804,
-0.01679409109055996,
-0.02037019096314907,
0.028156131505966187,
0.003775275545194745,
-0.10074643790721893,
-0.007586764637380838,
-0.006495827808976173,
-0.005527112167328596,
0.044506605714559555,
0.01053817942738533,
-0.012557091191411018,
-0.05638469010591507,
0.012575197964906693,
0.01979077234864235,
-0.0014417568454518914,
-0.011697016656398773,
0.028138024732470512,
-0.019754558801651,
-0.01626899279654026,
0.03429434821009636,
-0.03892970085144043,
0.00560859264805913,
-0.06471383571624756,
-0.014014692045748234,
0.013371898792684078,
-0.04638971760869026,
0.05033700540661812,
0.003888443112373352,
-0.007532444316893816,
-0.010103615000844002,
-0.015671467408537865,
-0.02860880270600319,
0.020533153787255287,
-0.0012901121517643332,
0.025204716250300407,
0.028753656893968582,
-0.026381662115454674,
-0.00007447851385222748,
0.02565738745033741,
-0.0639895647764206,
-0.015580933541059494,
0.036086924374103546,
-0.06040440872311592,
-0.055044785141944885,
0.03331657871603966,
-0.08372601121664047,
0.028952831402420998,
-0.06047683581709862,
-0.00044276873813942075,
-0.06739364564418793,
-0.02107635885477066,
0.022361943498253822,
0.023031895980238914,
0.07268084585666656,
0.025367679074406624,
-0.029514143243432045,
0.012828693725168705,
-0.07380346953868866,
-0.00691228499636054,
0.0597887746989727,
-0.06670558452606201,
0.01680314540863037,
-0.015771055594086647,
0.05595012754201889,
0.03666634485125542,
-0.009189220145344734,
-0.009153005667030811,
-0.025675494223833084,
0.022253302857279778,
0.028717443346977234,
0.014331561513245106,
-0.011687963269650936,
0.0005664044874720275,
-0.017301082611083984,
-0.0690232589840889,
-0.01892164535820484,
-0.054067015647888184,
-0.0018729259027168155,
0.02212655544281006,
0.03148778900504112,
0.052220117300748825,
0.04142844304442406,
0.006278545595705509,
0.05037321895360947,
0.0015085258055478334,
-0.04334776848554611,
0.03784329071640968,
-0.04323912784457207,
0.0014078065287321806,
-0.001719017862342298,
0.04077659547328949,
0.020732328295707703,
0.0025711709167808294,
0.029640892520546913,
-0.031723178923130035,
-0.06608995795249939,
-0.006491301115602255,
-0.019157033413648605,
-0.013679714873433113,
0.025820348411798477,
-0.015209742821753025,
-0.049540307372808456,
-0.03420381620526314,
-0.04280456155538559,
-0.05493614450097084,
-0.018450867384672165,
-0.06257722526788712,
-0.030890263617038727,
0.029550358653068542,
0.012937335297465324,
-0.015001513995230198,
-0.02716025523841381,
0.033877890557050705,
-0.022072233259677887,
-0.061961594969034195,
0.017735647037625313,
-0.0486711785197258,
-0.016676396131515503,
-0.013924157246947289,
0.025295251980423927,
-0.018242638558149338,
0.04642593115568161,
0.028807977214455605,
-0.05250982567667961,
-0.0678282082080841,
-0.007115986663848162,
-0.004189469385892153,
-0.007007346022874117,
-0.04830903932452202,
0.018595721572637558,
0.005939042661339045,
0.010411431081593037,
0.012013886123895645,
0.06478626281023026,
-0.030274631455540657,
0.005590485874563456,
0.02860880270600319,
-0.04885224625468254,
0.02402777224779129,
-0.012448450550436974,
0.002044940833002329,
-0.024933114647865295,
-0.05786944925785065,
-0.01272005308419466,
0.0011927878949791193,
-0.015671467408537865,
-0.0027839262038469315,
-0.00015221060311887413,
0.0853194147348404,
-0.010465751402080059,
-0.006545621436089277,
-0.046353504061698914,
-0.03253798559308052,
0.042080290615558624,
-0.0319947823882103,
-0.07115986943244934,
-0.0026617050170898438,
-0.00662257568910718,
0.03827785328030586,
0.0134262191131711,
-0.04131980240345001,
0.0040740384720265865,
0.014956247061491013,
0.020207230001688004,
0.012294542044401169,
-0.05631226301193237,
-0.006966605316847563,
0.036612022668123245,
0.004384117666631937,
0.018668148666620255,
0.033262260258197784,
-0.015562825836241245,
0.0001255454553756863,
0.045158449560403824,
-0.021927379071712494,
-0.038422707468271255,
-0.02305000275373459,
-0.023520780727267265,
0.1075546145439148,
0.03690173476934433,
-0.055479347705841064,
0.005902828648686409,
0.04342019557952881,
0.05489993095397949,
0.03002113476395607,
-0.015771055594086647,
0.0003064016345888376,
0.019736452028155327,
0.04602757841348648,
0.06775578111410141,
-0.016196565702557564,
-0.04059552773833275,
0.00870938878506422,
-0.025005541741847992,
0.006812697276473045,
0.026309233158826828,
0.0134262191131711,
-0.011823764070868492,
-0.02147470787167549,
0.0048164185136556625,
0.04034203290939331,
0.006418873555958271,
0.03574289754033089,
-0.03411328047513962,
0.04008853808045387,
0.014231973327696323,
-0.05511721223592758,
0.010067401453852654,
0.02553064003586769,
0.004008401185274124,
-0.005812294781208038,
-0.01434966828674078,
-0.002186400583013892,
0.05388594791293144,
0.02676190435886383,
0.023086216300725937,
-0.00045946097816340625,
-0.05913693085312843,
-0.044506605714559555,
-0.01692989282310009,
0.06225130334496498,
-0.010882209055125713,
0.0416095107793808,
0.03208531439304352,
0.061164893209934235,
0.06290315091609955,
0.0098772794008255,
-0.04121116176247597,
-0.04117494821548462,
-0.05435672402381897,
0.009976866655051708,
-0.022669760510325432,
0.04541194811463356,
0.10530935972929001,
-0.0162237249314785,
-0.019863199442625046,
-0.08082892000675201,
0.004798311740159988,
0.020134802907705307,
0.002505533630028367,
-0.01895785890519619,
0.02522282302379608,
-0.004721357487142086,
0.0344754159450531,
0.011977672576904297,
-0.014829499647021294,
-0.027178362011909485,
0.023738063871860504,
0.002056257566437125,
-0.0033882418647408485,
-0.0013116139452904463,
-0.01865004189312458,
0.030781622976064682,
-0.0288804043084383,
0.011262452229857445,
0.015807269141077995,
-0.03979882597923279,
-0.0162237249314785,
0.004757571499794722,
0.02362942136824131,
0.01741877757012844,
0.03635852783918381,
-0.025802241638302803,
0.02058747410774231,
0.013562020845711231,
-0.012303595431149006,
-0.027848314493894577,
0.010873155668377876,
-0.015472291968762875,
-0.11211753636598587,
0.01613319106400013,
-0.058702364563941956,
-0.040885236114263535,
-0.028536375612020493,
0.000692586530931294,
-0.000914395262952894,
-0.021710097789764404,
-0.019012179225683212,
0.024589084088802338,
-0.009189220145344734,
0.06514839828014374,
-0.037626005709171295,
0.06500354409217834,
-0.021963592618703842,
0.0012244748650118709,
-0.01702042669057846,
-0.006283072289079428,
0.03733629733324051,
-0.013869836926460266,
0.038024358451366425,
-0.015345544554293156,
-0.040849022567272186,
-0.001181471161544323,
0.019591597840189934,
-0.009958759881556034,
0.010574392974376678,
-0.0013172724284231663,
0.057941876351833344,
0.025494426488876343,
0.004811891820281744,
-0.015291223302483559,
0.03871241584420204,
-0.02980385348200798,
0.05127856135368347,
0.060549262911081314,
-0.0008397045312449336,
-0.02031587064266205,
0.012602358125150204,
-0.007948901504278183,
-0.04385475814342499,
0.03892970085144043,
-0.0025711709167808294,
0.013543914072215557,
-0.056239835917949677,
0.042478639632463455,
0.03534454479813576,
-0.004447491839528084,
0.0374811515212059,
-0.06239616125822067,
-0.04218893125653267,
0.012439397163689137,
-0.025856563821434975,
0.03954533115029335,
0.022959468886256218,
0.04298562929034233,
-0.015200689435005188,
-0.02962278574705124,
-0.0669228658080101,
-0.0344754159450531,
0.054429151117801666,
0.0034221920650452375,
-0.01670355722308159,
-0.02009858936071396,
-0.04678806662559509,
-0.01803440973162651,
-0.01833317242562771,
-0.004583293106406927,
-0.01926567405462265,
0.01291922852396965,
-0.03766221925616264,
-0.01086410228163004,
0.10016702115535736,
0.004771151579916477,
-0.02755860611796379,
-0.0791630893945694,
0.012557091191411018,
0.0812634825706482,
0.04008853808045387,
-0.00639171339571476,
0.00531435664743185,
0.01789860799908638,
0.010873155668377876,
0.005382257048040628,
0.00841967947781086,
-0.016377633437514305,
0.034240029752254486,
-0.07981493324041367,
-0.051785554736852646,
0.020207230001688004,
0.0002137455448973924,
0.02270597405731678,
-0.03275526687502861,
-0.03675688058137894,
0.022325729951262474,
-0.021094465628266335,
0.04139222949743271,
0.002625491237267852,
-0.022579224780201912,
-0.01027563028037548,
-0.0024828999303281307,
0.017400670796632767,
0.009076052345335484,
-0.02424505539238453,
0.01368876826018095,
-0.007903634570538998,
0.02227140963077545,
-0.013199884444475174,
0.02279650792479515,
0.0028699336107820272,
0.031849924474954605,
-0.020949609577655792,
-0.010411431081593037,
0.028554482385516167,
-0.018631935119628906,
0.035072941333055496,
0.014512630179524422,
0.0273775365203619,
-0.048997100442647934,
0.01705664023756981,
-0.04809175804257393,
-0.04095766320824623,
0.0031392727978527546,
0.004879792686551809,
0.007541497703641653,
-0.050011083483695984,
-0.0052328757010400295,
0.018405599519610405
]
|
37,143 | youtube_transcript_api._transcripts | find_transcript |
Finds a transcript for a given language code. Manually created transcripts are returned first and only if none
are found, generated transcripts are used. If you only want generated transcripts use
`find_manually_created_transcript` instead.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
| def find_transcript(self, language_codes):
"""
Finds a transcript for a given language code. Manually created transcripts are returned first and only if none
are found, generated transcripts are used. If you only want generated transcripts use
`find_manually_created_transcript` instead.
:param language_codes: A list of language codes in a descending priority. For example, if this is set to
['de', 'en'] it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if
it fails to do so.
:type languages: list[str]
:return: the found Transcript
:rtype Transcript:
:raises: NoTranscriptFound
"""
return self._find_transcript(language_codes, [self._manually_created_transcripts, self._generated_transcripts])
| (self, language_codes) | [
0.02887554094195366,
-0.019431626424193382,
-0.006566330790519714,
0.01292420644313097,
-0.004502173513174057,
0.007119189482182264,
-0.0404946394264698,
-0.02260376699268818,
0.06478416919708252,
-0.027914835140109062,
0.012307904660701752,
0.03063381277024746,
-0.04506251960992813,
-0.03569111227989197,
-0.04092967510223389,
-0.022585639730095863,
-0.011945374310016632,
0.061557650566101074,
-0.03438600152730942,
-0.07348489761352539,
0.003536936594173312,
0.03328028321266174,
0.01470966823399067,
0.043503642082214355,
0.011655350215733051,
0.004576945677399635,
0.0017707340884953737,
-0.056627240031957626,
-0.024615809321403503,
0.03384220600128174,
0.015534425154328346,
-0.04415619373321533,
0.009371409192681313,
0.01655857264995575,
-0.05506835877895355,
0.04288733750581741,
-0.04408368840813637,
0.008723386563360691,
-0.0277879498898983,
0.013631140813231468,
-0.014836554415524006,
0.01822621189057827,
0.08309195190668106,
-0.009851762093603611,
-0.039805829524993896,
-0.0033488739281892776,
-0.07692893594503403,
-0.006262711714953184,
-0.02878490835428238,
0.06449414789676666,
0.06956957280635834,
-0.012190083041787148,
0.024778949096798897,
-0.08635472506284714,
-0.07997418940067291,
0.0049666655249893665,
-0.024706441909074783,
0.038138192147016525,
0.008116147480905056,
-0.0028481290210038424,
0.07953915745019913,
-0.01954038441181183,
0.0016291206702589989,
0.055684659630060196,
0.007667516823858023,
0.009235460311174393,
0.07431872189044952,
-0.0423072911798954,
0.009140295907855034,
0.03342529758810997,
0.01287889014929533,
0.00922186579555273,
-0.01804494671523571,
-0.024325786158442497,
0.09157516062259674,
0.023854495957493782,
-0.041981011629104614,
-0.0073820240795612335,
-0.026537220925092697,
0.042561061680316925,
0.0224587544798851,
-0.0291474387049675,
0.01808120124042034,
0.042343541979789734,
0.05390826240181923,
-0.006797443609684706,
0.048832837492227554,
-0.05274816229939461,
0.008360856212675571,
-0.043503642082214355,
-0.016395434737205505,
-0.024162646383047104,
0.03694184124469757,
0.008560247719287872,
0.04462748393416405,
-0.029383083805441856,
0.032736487686634064,
-0.03514731675386429,
-0.01768241636455059,
-0.019612891599535942,
0.0246701892465353,
0.09752066433429718,
0.09019754827022552,
-0.06188393011689186,
0.08889243751764297,
0.018742818385362625,
-0.07323113083839417,
0.009317029267549515,
0.07932163774967194,
0.032228946685791016,
-0.05390826240181923,
-0.04045838490128517,
0.03558235242962837,
-0.00983363576233387,
0.03933454304933548,
-0.10375618189573288,
-0.023709483444690704,
0.09048756957054138,
-0.06347905844449997,
-0.016214169561862946,
0.07174475491046906,
-0.0037000752054154873,
-0.04499001428484917,
0.01263418234884739,
-0.007567820604890585,
0.004157769959419966,
0.0609050951898098,
-0.01957663893699646,
0.06608927994966507,
-0.051986850798130035,
0.051986850798130035,
-0.0037431258242577314,
0.01686672307550907,
-0.01475498452782631,
0.018706565722823143,
0.04100218042731285,
0.0009199207415804267,
0.03309901803731918,
-0.032373957335948944,
0.04078466445207596,
0.0032808994874358177,
0.008999815210700035,
0.059998769313097,
0.003672885475680232,
-0.05137054994702339,
0.03454913944005966,
-0.00006468192441388965,
0.003380595473572612,
0.004798995330929756,
-0.020646102726459503,
0.04158223047852516,
-0.06859073787927628,
-0.03627115860581398,
0.017310824245214462,
-0.023981381207704544,
-0.008999815210700035,
-0.023111309856176376,
0.016114473342895508,
-0.028984300792217255,
0.007857845164835453,
0.012688561342656612,
0.022386249154806137,
-0.03144950792193413,
0.0065391408279538155,
0.008016452193260193,
-0.01722925342619419,
-0.02448892407119274,
0.0502467043697834,
-0.039805829524993896,
0.009434851817786694,
-0.0313044935464859,
0.05572091415524483,
-0.039987094700336456,
-0.0022896055597811937,
-0.020192939788103104,
0.024742696434259415,
0.03134074807167053,
0.03802943229675293,
-0.01224446203559637,
0.0502467043697834,
-0.04285108670592308,
-0.003199330298230052,
-0.051080524921417236,
0.028023594990372658,
0.06242772564291954,
0.04455497860908508,
0.017437709495425224,
0.0502467043697834,
0.058041106909513474,
-0.013277673162519932,
-0.01799056865274906,
-0.012162893079221249,
0.01723831705749035,
0.01817183382809162,
-0.06753940135240555,
-0.010812466964125633,
0.027443546801805496,
-0.0037023411132395267,
-0.10121846944093704,
0.033896587789058685,
0.005125272553414106,
0.0019463347271084785,
0.045715074986219406,
0.010966543108224869,
-0.02178807370364666,
0.006824633572250605,
0.018244339153170586,
0.04992042854428291,
-0.08033671975135803,
-0.03134074807167053,
0.002857192186638713,
-0.05133429542183876,
0.032102059572935104,
-0.031376998871564865,
0.040712155401706696,
-0.062137700617313385,
-0.025993425399065018,
-0.01292420644313097,
0.0229119174182415,
0.009806445799767971,
0.006380533799529076,
-0.034313496202230453,
0.0002195007837144658,
-0.0049258810468018055,
0.05060923472046852,
-0.017836492508649826,
0.044047437608242035,
-0.006575393956154585,
-0.038138192147016525,
-0.02224123664200306,
0.030706319957971573,
-0.019322866573929787,
0.0225131344050169,
-0.05590217933058739,
0.028222987428307533,
-0.010730898007750511,
0.017492089420557022,
-0.005524056032299995,
0.026772866025567055,
0.058258626610040665,
0.01125656720250845,
0.03190267086029053,
0.0627177506685257,
0.0547783337533474,
0.005188715644180775,
0.03193892166018486,
0.06050631403923035,
-0.01704798825085163,
0.009525484405457973,
-0.03576361760497093,
0.020374204963445663,
-0.008147869259119034,
-0.02178807370364666,
0.007178100757300854,
0.015761006623506546,
-0.009094979614019394,
0.012724814936518669,
-0.01691203936934471,
0.027860457077622414,
0.006253648083657026,
-0.06416787207126617,
-0.0032990260515362024,
-0.026772866025567055,
0.045533809810876846,
-0.07083842903375626,
-0.023256320506334305,
-0.02994500659406185,
0.047382716089487076,
-0.05057298019528389,
0.042742326855659485,
0.011755046434700489,
0.05365448817610741,
-0.03576361760497093,
-0.033135272562503815,
0.025014592334628105,
0.008564779534935951,
0.004667578265070915,
0.01565224677324295,
-0.08374451100826263,
0.01531690638512373,
0.003342076437547803,
0.05611969530582428,
0.033987220376729965,
-0.04078466445207596,
0.056192200630903244,
-0.04861531779170036,
-0.009353282861411572,
-0.03224707394838333,
-0.02711726911365986,
0.019413499161601067,
0.005936434492468834,
0.0034236458595842123,
0.0387907475233078,
-0.055684659630060196,
0.013921164907515049,
-0.004293718840926886,
0.00035290062078274786,
-0.021987464278936386,
0.055503394454717636,
-0.042198531329631805,
-0.0005964756710454822,
0.03094196505844593,
0.08265691995620728,
0.0008666740613989532,
-0.12007004767656326,
-0.0017809303244575858,
-0.06739439070224762,
-0.010087406262755394,
0.02102676033973694,
-0.027497926726937294,
-0.06768441200256348,
-0.01583351194858551,
0.07982917875051498,
0.013912101276218891,
-0.037956926971673965,
-0.020011674612760544,
0.040530890226364136,
-0.0207004826515913,
-0.006403191946446896,
0.04861531779170036,
0.0007375226705335081,
0.016812345013022423,
0.04509877413511276,
0.008537589572370052,
0.03161264583468437,
-0.07772650569677353,
-0.032464589923620224,
0.021661188453435898,
0.031050723046064377,
-0.02079111523926258,
-0.034349750727415085,
-0.018552489578723907,
0.03550984710454941,
-0.042742326855659485,
-0.027661064639687538,
0.016794217750430107,
0.01240760087966919,
-0.033225905150175095,
0.04136471077799797,
-0.0027914836537092924,
0.024507051333785057,
-0.06579925864934921,
-0.01247104350477457,
0.02981811948120594,
0.04375741258263588,
0.03081507794559002,
-0.007558757439255714,
0.014474024064838886,
-0.0063850656151771545,
-0.06308028101921082,
0.023075055330991745,
-0.023111309856176376,
-0.004153238143771887,
0.05227687582373619,
-0.026772866025567055,
-0.07022212445735931,
0.03224707394838333,
0.0054560815915465355,
0.02439829148352146,
-0.025830285623669624,
-0.04549755901098251,
-0.016386371105909348,
-0.03734062612056732,
0.01677609048783779,
-0.042597316205501556,
-0.002743901452049613,
0.007726427633315325,
0.019739776849746704,
-0.04567882418632507,
-0.0011368724517524242,
0.0207004826515913,
-0.005025576800107956,
-0.020229192450642586,
0.01089403685182333,
0.008388045243918896,
-0.10092844814062119,
-0.006235521752387285,
-0.008066300302743912,
0.0016857660375535488,
0.042959846556186676,
0.01448308676481247,
-0.009951457381248474,
-0.039588313549757004,
0.03154014050960541,
0.0020313027780503035,
-0.0216068085283041,
-0.0075134411454200745,
0.007341239135712385,
-0.013830532319843769,
0.006163015961647034,
0.03248271718621254,
-0.023927003145217896,
-0.0024969277437776327,
-0.06268149614334106,
-0.03293588012456894,
0.004588274750858545,
-0.04948539286851883,
0.03536483272910118,
-0.004128314089030027,
-0.014310885220766068,
-0.012072260491549969,
-0.011610033921897411,
-0.02439829148352146,
0.031286366283893585,
0.015307843685150146,
0.02454330399632454,
0.04894159734249115,
-0.01224446203559637,
-0.007395619060844183,
0.009525484405457973,
-0.07888659834861755,
-0.019413499161601067,
0.02021106705069542,
-0.04749147593975067,
-0.05872991308569908,
0.021226150915026665,
-0.06576300412416458,
0.05822237208485603,
-0.05970874801278114,
0.005451549775898457,
-0.04741896688938141,
-0.035654857754707336,
0.030253157019615173,
0.01163722388446331,
0.07029463350772858,
0.017836492508649826,
-0.011265629902482033,
0.0034802912268787622,
-0.06688684970140457,
-0.01565224677324295,
0.03502042964100838,
-0.06561799347400665,
-0.016395434737205505,
-0.014872807078063488,
0.07261482626199722,
0.04245230183005333,
-0.019776029512286186,
-0.004259731620550156,
-0.01402992382645607,
0.024507051333785057,
0.018779071047902107,
0.023945128545165062,
-0.030470674857497215,
0.006217395421117544,
-0.018615933135151863,
-0.06851823627948761,
-0.024235153570771217,
-0.05202310159802437,
-0.006666026543825865,
0.004420604091137648,
0.03639804571866989,
0.050355464220047,
0.03456726670265198,
0.01025960873812437,
0.05118928477168083,
-0.00974300317466259,
-0.043648652732372284,
0.04992042854428291,
-0.03712310642004013,
-0.008573842234909534,
-0.007885035127401352,
0.0493403784930706,
0.051225535571575165,
-0.022132476791739464,
0.02575778029859066,
-0.016268549486994743,
-0.038283202797174454,
-0.006321622524410486,
-0.021298658102750778,
-0.029673108831048012,
0.0334615483880043,
-0.0069197979755699635,
-0.07138222455978394,
-0.04528003931045532,
-0.007563289254903793,
-0.032011426985263824,
-0.022712524980306625,
-0.0636240765452385,
-0.033588435500860214,
0.030108144506812096,
0.0030837736558169127,
-0.030506927520036697,
-0.03318965062499046,
0.027262281626462936,
-0.005147930700331926,
-0.07685643434524536,
0.031467631459236145,
-0.033624690026044846,
-0.02503271959722042,
-0.019703524187207222,
0.02873052842915058,
0.005469676572829485,
0.05405327305197716,
0.031775783747434616,
-0.037558142095804214,
-0.05775108188390732,
-0.0021717832423746586,
0.0011838881764560938,
-0.009616116993129253,
-0.027987342327833176,
0.029346831142902374,
-0.010368367657065392,
0.01619604229927063,
0.000969202199485153,
0.05365448817610741,
-0.0379931777715683,
-0.007717364467680454,
0.041255950927734375,
-0.02657347358763218,
0.017356140539050102,
-0.01509032491594553,
0.03415035828948021,
-0.018525300547480583,
-0.06337030231952667,
-0.014963439665734768,
-0.009915204718708992,
-0.01691203936934471,
0.014564656652510166,
0.01084872055798769,
0.07671141624450684,
-0.013975544832646847,
-0.00004754670226247981,
-0.03400534391403198,
-0.023981381207704544,
0.05071799457073212,
-0.017437709495425224,
-0.06790193170309067,
-0.015235337428748608,
-0.02390887588262558,
0.027824202552437782,
-0.009815508499741554,
-0.03853697329759598,
-0.015996651723980904,
0.01531690638512373,
0.006013472098857164,
0.007740022614598274,
-0.06572674959897995,
-0.0021038088016211987,
0.028313620015978813,
0.015199084766209126,
0.004311845172196627,
0.027534179389476776,
-0.0189422108232975,
0.003020330797880888,
0.04691142588853836,
-0.02233186922967434,
-0.05075424537062645,
-0.008814019151031971,
-0.02729853428900242,
0.12775568664073944,
0.044591233134269714,
-0.05535838380455971,
0.023111309856176376,
0.042343541979789734,
0.05340071767568588,
0.037884421646595,
-0.0251233521848917,
0.01210851315408945,
-0.0011470686877146363,
0.04462748393416405,
0.07022212445735931,
-0.013721773400902748,
-0.037739407271146774,
-0.008968094363808632,
-0.008039110340178013,
-0.004212149418890476,
0.05166057124733925,
0.007440935354679823,
-0.008220375515520573,
-0.017310824245214462,
0.011247503571212292,
0.06239147111773491,
-0.017872745171189308,
0.04306860268115997,
-0.044119942933321,
0.05967249348759651,
0.01071277167648077,
-0.053618237376213074,
0.013866784982383251,
0.03623490780591965,
0.011066238395869732,
-0.006833696737885475,
0.014002733863890171,
0.004930412396788597,
0.05854864791035652,
0.04114719480276108,
0.017872745171189308,
0.008845739997923374,
-0.046838920563459396,
-0.040530890226364136,
-0.013051091693341732,
0.05166057124733925,
-0.012869826517999172,
0.028658023104071617,
0.05238563194870949,
0.06779317557811737,
0.04821653664112091,
0.006421318743377924,
-0.03057943470776081,
-0.0406033992767334,
-0.0592012032866478,
-0.013404559344053268,
0.001544152619317174,
0.030561307445168495,
0.09114012867212296,
-0.008247565478086472,
-0.019649144262075424,
-0.07265108078718185,
-0.0019859864842146635,
0.02950996905565262,
-0.0019010184332728386,
-0.03893575817346573,
0.01353144459426403,
-0.034802913665771484,
0.024615809321403503,
0.002050562296062708,
-0.021679313853383064,
0.00027742068050429225,
0.027661064639687538,
0.0024017635732889175,
-0.005338259041309357,
0.008161463774740696,
-0.028386125341057777,
0.03262773156166077,
-0.027099141851067543,
0.026537220925092697,
0.017066115513443947,
-0.06300777196884155,
-0.013884912244975567,
0.00906325876712799,
0.019340993836522102,
0.011755046434700489,
0.05535838380455971,
-0.02454330399632454,
0.010187102481722832,
0.02102676033973694,
-0.0008966961177065969,
-0.03509293496608734,
-0.012054134160280228,
-0.003178937826305628,
-0.09404037147760391,
0.03202955424785614,
-0.047020185738801956,
-0.0317576564848423,
-0.01695735566318035,
0.012126639485359192,
-0.021661188453435898,
-0.007286859676241875,
-0.008959030732512474,
0.007866907864809036,
-0.008016452193260193,
0.08446957170963287,
-0.04814402759075165,
0.06108636036515236,
-0.02418077364563942,
-0.005437955260276794,
-0.0009029271313920617,
0.00996958464384079,
0.04727395623922348,
0.0008944303262978792,
0.047165196388959885,
-0.012770131230354309,
-0.05220436677336693,
-0.024470798671245575,
0.015570677816867828,
-0.036742448806762695,
0.0013481597416102886,
-0.021552428603172302,
0.07460874319076538,
0.0032083934638649225,
0.010023963637650013,
0.017029862850904465,
0.016839534044265747,
-0.02042858488857746,
0.01751021482050419,
0.05691726133227348,
-0.0004237073299009353,
-0.016748901456594467,
0.01321423053741455,
-0.02106301300227642,
-0.021371163427829742,
0.0467301607131958,
0.00928984023630619,
0.04818028211593628,
-0.031141355633735657,
0.0538720078766346,
0.018615933135151863,
-0.0005347322439774871,
0.02891179360449314,
-0.06108636036515236,
-0.04285108670592308,
-0.00023167954350356013,
-0.04020461440086365,
0.01759178377687931,
0.06242772564291954,
0.04611385986208916,
-0.011972564272582531,
-0.03817444294691086,
-0.06395035237073898,
-0.0273891668766737,
0.04092967510223389,
-0.01583351194858551,
-0.009634243324398994,
-0.016232294961810112,
-0.04245230183005333,
-0.016268549486994743,
-0.018652185797691345,
-0.004359427373856306,
-0.03384220600128174,
0.0277879498898983,
-0.02354634553194046,
-0.015797259286046028,
0.09781068563461304,
0.008274754509329796,
-0.03257334977388382,
-0.05260315164923668,
0.016440751031041145,
0.07152723520994186,
0.0344766341149807,
-0.004237073473632336,
-0.012869826517999172,
0.0015634120209142566,
0.01926848664879799,
0.021715566515922546,
0.012842637486755848,
0.004529363475739956,
0.048470307141542435,
-0.0467301607131958,
-0.04560631513595581,
0.028077974915504456,
-0.01759178377687931,
0.0049666655249893665,
-0.03639804571866989,
-0.05292942747473717,
0.01231696829199791,
-0.033225905150175095,
0.029201818630099297,
-0.021298658102750778,
-0.028658023104071617,
-0.017836492508649826,
0.009588927030563354,
0.0304525475949049,
-0.007644858676940203,
-0.028005467727780342,
0.017845556139945984,
0.002274877857416868,
0.01596946083009243,
-0.022531259804964066,
0.030253157019615173,
-0.008020984008908272,
0.04335862770676613,
-0.01265230868011713,
0.004912286065518856,
0.0273891668766737,
-0.003274101996794343,
0.02409014105796814,
0.021189898252487183,
0.018289655447006226,
-0.05941872298717499,
0.020718608051538467,
-0.047020185738801956,
-0.032736487686634064,
0.00924452394247055,
0.015851639211177826,
0.015570677816867828,
-0.03661556541919708,
-0.016350118443369865,
0.016268549486994743
]
|
37,144 | youtube_transcript_api._errors | TranscriptsDisabled | null | class TranscriptsDisabled(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'Subtitles are disabled for this video'
| (video_id) | [
0.004934802185744047,
0.012445067055523396,
0.0012314493069425225,
0.02452993020415306,
0.011049274355173111,
-0.0125801432877779,
-0.016623439267277718,
0.0038001579232513905,
0.07845254987478256,
0.02042359858751297,
0.0002612890093587339,
0.05954181030392647,
-0.024061663076281548,
-0.03983862325549126,
-0.06566528975963593,
-0.020027372986078262,
0.004691664129495621,
0.045601896941661835,
0.013372593559324741,
-0.05338231474161148,
-0.026943299919366837,
0.036038465797901154,
-0.03202218562364578,
-0.016263235360383987,
-0.022170590236783028,
0.04635832458734512,
-0.03283264487981796,
-0.05644405260682106,
-0.055795684456825256,
-0.010472946800291538,
-0.007645341567695141,
-0.003809163114055991,
0.0004404063511174172,
0.045962098985910416,
-0.041279442608356476,
0.04589005932211876,
-0.06080252677202225,
0.02402564324438572,
-0.08363949507474899,
0.020981915295124054,
-0.04423311725258827,
0.011211366392672062,
0.03720913082361221,
-0.008509832434356213,
0.014723360538482666,
-0.03373315557837486,
-0.017109716311097145,
0.06033426150679588,
-0.022656865417957306,
-0.005182442720979452,
0.055795684456825256,
0.034057341516017914,
0.026529064401984215,
-0.010815141722559929,
-0.06325192004442215,
0.031085651367902756,
-0.01013975776731968,
0.1281607747077942,
-0.02492615394294262,
0.0023908577859401703,
0.017866145819425583,
0.024601969867944717,
-0.016479358077049255,
0.01582198403775692,
0.05316619202494621,
0.002264786045998335,
0.05233772099018097,
-0.027645699679851532,
0.0035390097182244062,
0.025412430986762047,
0.023827530443668365,
-0.044161077588796616,
-0.0683308020234108,
0.0069474452175199986,
0.05964987352490425,
-0.012409046292304993,
-0.045061588287353516,
0.02321518212556839,
-0.014660324901342392,
0.06584539264440536,
0.07189682871103287,
-0.023107120767235756,
0.04073913395404816,
0.032706573605537415,
0.021378139033913612,
-0.053850580006837845,
0.018145304173231125,
-0.08147826790809631,
0.006366615183651447,
0.0017199766589328647,
-0.029140546917915344,
-0.02231467142701149,
-0.005475108977407217,
-0.0184334684163332,
-0.052229657769203186,
0.039514437317848206,
0.02006339281797409,
-0.06685396283864975,
-0.06674589961767197,
-0.08003745228052139,
0.01726280339062214,
0.06606151163578033,
0.03560622036457062,
-0.05496721342206001,
0.07859662920236588,
0.0018156560836359859,
-0.07225703448057175,
0.0021826145239174366,
0.042936380952596664,
0.02434982731938362,
0.018370430916547775,
0.015722928568720818,
-0.010157768614590168,
-0.0030639898031949997,
0.023737479001283646,
-0.08940276503562927,
-0.03479575738310814,
-0.01013975776731968,
-0.05694833770394325,
0.01874864660203457,
0.059938035905361176,
0.03418341279029846,
-0.05539945885539055,
-0.028924424201250076,
0.017028670758008957,
0.04589005932211876,
-0.0036830913741141558,
0.036272596567869186,
0.06480079889297485,
-0.04502556845545769,
0.015200631693005562,
-0.03846984729170799,
-0.009383328258991241,
0.0007243488216772676,
0.021450180560350418,
-0.0005096331587992609,
0.060658443719148636,
0.037173107266426086,
0.029644833877682686,
-0.014696345664560795,
-0.010815141722559929,
0.0296628437936306,
0.03425545245409012,
0.0034399533178657293,
-0.0026587597094476223,
-0.01713673211634159,
-0.0049753254279494286,
-0.024511918425559998,
-0.01564188301563263,
-0.028456158936023712,
0.03846984729170799,
-0.04531373083591461,
-0.056155890226364136,
-0.012571138329803944,
-0.02182839624583721,
0.019270943477749825,
0.010626033879816532,
-0.006951947696506977,
0.00731665501371026,
-0.003923978190869093,
0.05413874238729477,
-0.048663634806871414,
-0.05039261654019356,
0.030239172279834747,
0.0119677959010005,
-0.0415676049888134,
0.045781996101140976,
0.003987014293670654,
0.0031180204823613167,
0.033751167356967926,
0.03029320202767849,
0.03810964152216911,
-0.02474605292081833,
0.04682658985257149,
0.08162234723567963,
0.03290468454360962,
0.020765792578458786,
0.04408903792500496,
-0.009860599413514137,
0.025484472513198853,
-0.002431380795314908,
0.04048699140548706,
-0.054895173758268356,
0.05381456017494202,
0.06768243759870529,
0.03222029656171799,
0.022981049492955208,
0.041099339723587036,
-0.03304876759648323,
-0.0251602865755558,
0.007429218851029873,
-0.019054820761084557,
0.028474168851971626,
-0.00020303716883063316,
-0.0379655584692955,
0.008181145414710045,
-0.021972477436065674,
-0.05006843060255051,
-0.027897842228412628,
0.0038879578933119774,
-0.009473379701375961,
0.01438116654753685,
0.0031270256731659174,
-0.0007626205333508551,
0.01808226853609085,
0.035858362913131714,
0.0019473558058962226,
-0.012481087818741798,
-0.061018649488687515,
-0.04945608228445053,
-0.0011290161637589335,
-0.005506626795977354,
0.05684027820825577,
0.00706451153382659,
0.006456666626036167,
-0.028240036219358444,
0.040955256670713425,
0.028186006471514702,
-0.03832576423883438,
0.030005037784576416,
0.01961313746869564,
-0.0503205731511116,
-0.014255095273256302,
-0.002431380795314908,
0.037389229983091354,
0.04009076580405235,
0.05370649695396423,
-0.022062528878450394,
-0.03922627493739128,
-0.009914630092680454,
0.019775230437517166,
0.04192781075835228,
-0.04855557158589363,
0.003478225087746978,
-0.011013253591954708,
0.053670477122068405,
-0.007672356907278299,
-0.038974132388830185,
0.015137596055865288,
0.01429111510515213,
0.007010480854660273,
0.001676076790317893,
0.01577695831656456,
0.09545420110225677,
0.0026722673792392015,
-0.0037213631439954042,
-0.016155174002051353,
0.05280598625540733,
-0.02537641115486622,
0.014642314985394478,
0.048663634806871414,
-0.011553560383617878,
-0.0878899097442627,
-0.0034084354992955923,
0.00021288651623763144,
-0.034831780940294266,
-0.036722853779792786,
-0.03241840749979019,
0.010562998242676258,
-0.016155174002051353,
-0.03407534956932068,
-0.009527410380542278,
-0.0860888883471489,
0.02036956697702408,
0.011814708821475506,
0.009815573692321777,
-0.02654707431793213,
0.036272596567869186,
-0.0503205731511116,
0.04099127650260925,
0.06001007556915283,
-0.011868739500641823,
-0.019811250269412994,
-0.02552049234509468,
-0.012706215493381023,
0.04949210584163666,
-0.01799221709370613,
0.04084719717502594,
0.00922123622149229,
0.022098548710346222,
0.02690728008747101,
0.048447512090206146,
0.05158128961920738,
-0.016245225444436073,
0.07366182655096054,
-0.06598947197198868,
0.01151754055172205,
-0.010824146680533886,
-0.04765506088733673,
0.006276564206928015,
-0.03814566135406494,
0.014020961709320545,
0.09970461577177048,
-0.02036956697702408,
0.0015758948866277933,
-0.003005456645041704,
0.008946580812335014,
-0.026853248476982117,
0.0270873811095953,
-0.009383328258991241,
0.004245911259204149,
0.03328289836645126,
-0.02971687540411949,
0.021342119202017784,
-0.11353646963834763,
-0.0024651498533785343,
0.02042359858751297,
0.004104080609977245,
0.03832576423883438,
-0.023233193904161453,
0.02033354714512825,
0.029608814045786858,
0.01946905627846718,
0.029050497338175774,
-0.000009436022082809359,
0.06062242388725281,
0.051869455724954605,
-0.02582666650414467,
-0.02321518212556839,
0.055111296474933624,
-0.017749078571796417,
-0.01271522045135498,
0.06948345899581909,
-0.036542750895023346,
0.07398601621389389,
-0.06908722966909409,
0.006902419496327639,
-0.039154235273599625,
0.009239246137440205,
-0.021342119202017784,
-0.06631365418434143,
0.003545763436704874,
0.0024043654557317495,
-0.047222815454006195,
-0.08832215517759323,
0.013156470842659473,
-0.002343580825254321,
-0.016128158196806908,
0.05345435440540314,
-0.018325407058000565,
-0.013984941877424717,
-0.024601969867944717,
-0.030509324744343758,
0.059974055737257004,
0.010337870568037033,
0.000355139171006158,
-0.06707008928060532,
0.02696130983531475,
0.07672356814146042,
-0.06905121356248856,
0.037713415920734406,
0.026402993127703667,
-0.04160362482070923,
0.04927598312497139,
0.004043295979499817,
-0.06707008928060532,
0.06523304432630539,
-0.011625601910054684,
-0.014984508976340294,
-0.021738344803452492,
-0.019667169079184532,
0.00748324953019619,
-0.012652184814214706,
0.02096390537917614,
-0.0687270238995552,
0.023377275094389915,
0.03908219188451767,
-0.029770905151963234,
0.031914122402668,
-0.010112742893397808,
-0.00872595515102148,
-0.005880339071154594,
-0.01744290441274643,
-0.012517107650637627,
0.017929181456565857,
-0.008698939345777035,
-0.014174048788845539,
-0.03149988874793053,
-0.015308693051338196,
0.000467984500573948,
0.03184208273887634,
0.018271375447511673,
-0.06688998639583588,
-0.011211366392672062,
-0.0359664224088192,
0.010220804251730442,
-0.01018478348851204,
0.04531373083591461,
0.028636261820793152,
0.03962250053882599,
0.03330091014504433,
-0.02984294667840004,
0.003199066733941436,
-0.036272596567869186,
-0.03828974440693855,
-0.015479790046811104,
-0.06494487822055817,
0.021576251834630966,
0.05593976750969887,
0.002224263036623597,
-0.006096461787819862,
0.0274115651845932,
-0.039334338158369064,
0.003948742523789406,
-0.0017582484288141131,
0.037173107266426086,
0.04484546557068825,
0.008559360168874264,
-0.0008346614777110517,
-0.03926229476928711,
-0.042576178908348083,
-0.013561701402068138,
-0.03764137625694275,
-0.03475973755121231,
-0.05856925994157791,
-0.0017886407440528274,
-0.06299977749586105,
-0.023287223652005196,
-0.05464303120970726,
-0.020495638251304626,
-0.004538577049970627,
-0.025304369628429413,
0.05874936282634735,
-0.029230598360300064,
0.03836178407073021,
0.035282034426927567,
-0.015047544613480568,
-0.021720334887504578,
0.031716011464595795,
-0.04315250366926193,
-0.0057182470336556435,
-0.013966931030154228,
-0.023413294926285744,
-0.0770837739109993,
0.03412938117980957,
-0.01034687552601099,
-0.02867228165268898,
-0.013858869671821594,
-0.08205459266901016,
0.06541314721107483,
0.027969883754849434,
0.022062528878450394,
0.019144872203469276,
0.04833944886922836,
0.1065485030412674,
-0.02813197486102581,
-0.04765506088733673,
0.011121314950287342,
0.011391468346118927,
-0.0032148256432265043,
-0.05554354190826416,
0.0896909311413765,
0.03542611747980118,
-0.018460482358932495,
0.013246522285044193,
0.012183918617665768,
-0.033246878534555435,
-0.006100964266806841,
-0.08176643401384354,
-0.04300842434167862,
-0.02389957197010517,
0.045601896941661835,
-0.08082990348339081,
0.025124266743659973,
0.06069446727633476,
-0.0032823639921844006,
0.006578235421329737,
-0.032076213508844376,
-0.04715077579021454,
0.005956882610917091,
0.024313807487487793,
-0.0011115687666460872,
0.03702902793884277,
-0.036308616399765015,
0.006213528569787741,
0.03175203129649162,
-0.017424894496798515,
-0.0026520059909671545,
-0.0016242973506450653,
0.051545269787311554,
0.026925290003418922,
-0.01172465831041336,
-0.021180028095841408,
0.002085809363052249,
0.001176293008029461,
-0.04625026509165764,
-0.0321122370660305,
-0.0013563951943069696,
0.0007671231287531555,
0.011274402029812336,
0.02840212918817997,
-0.001787515007890761,
0.002474155044183135,
0.034561626613140106,
-0.020747782662510872,
-0.029951008036732674,
-0.006497189402580261,
0.03340897336602211,
-0.0019248430617153645,
-0.02362941764295101,
0.023089110851287842,
-0.0364166796207428,
-0.03828974440693855,
-0.05194149538874626,
0.042179953306913376,
-0.03614652529358864,
0.010662054643034935,
0.034831780940294266,
0.026583096012473106,
0.0022265142761170864,
-0.010157768614590168,
0.05464303120970726,
-0.0036560760345309973,
-0.007375188171863556,
0.04873567447066307,
-0.04225199297070503,
-0.04243209585547447,
0.036452699452638626,
0.05428282544016838,
0.005920862313359976,
-0.01934298500418663,
-0.007204090710729361,
0.0006736950599588454,
-0.0382177010178566,
0.03929831460118294,
-0.0073031471110880375,
-0.0696275383234024,
-0.006956450175493956,
-0.024313807487487793,
0.055831704288721085,
0.010373891331255436,
-0.0698796808719635,
0.0230350811034441,
-0.005231970921158791,
0.013867874629795551,
0.06739427149295807,
-0.07002376019954681,
0.002906400477513671,
0.007244613952934742,
0.030401263386011124,
0.020909873768687248,
0.007983033545315266,
0.03728117048740387,
-0.001400295179337263,
0.03061738610267639,
0.02182839624583721,
-0.06289171427488327,
0.043800871819257736,
-0.013669762760400772,
0.05676823481917381,
0.011985805816948414,
-0.015659892931580544,
-0.029608814045786858,
-0.02416972443461418,
0.002982943784445524,
-0.010914198122918606,
0.002429129322990775,
0.009374323301017284,
0.024187734350562096,
0.05269792675971985,
0.04063107445836067,
-0.05774078890681267,
0.015119586139917374,
-0.02501620538532734,
-0.017190761864185333,
-0.0003711795143317431,
0.011760678142309189,
0.029068507254123688,
-0.058893442153930664,
-0.00750576239079237,
0.02489013411104679,
-0.032292336225509644,
-0.02236870303750038,
0.029374681413173676,
-0.04372883215546608,
0.03164396807551384,
0.027339525520801544,
-0.009239246137440205,
-0.011004248633980751,
0.028438149020075798,
-0.018550533801317215,
-0.03002304956316948,
0.020711760967969894,
-0.004754700232297182,
0.02420574612915516,
-0.01961313746869564,
0.02326921373605728,
0.004489049315452576,
0.04563791677355766,
0.012075857259333134,
-0.05140119045972824,
0.08191051334142685,
0.02726748399436474,
-0.02033354714512825,
0.05792089179158211,
0.0170827005058527,
0.07225703448057175,
-0.020387576892971992,
0.01043692696839571,
0.009959655813872814,
0.007069014012813568,
0.010490957647562027,
0.024313807487487793,
0.033246878534555435,
0.04369281232357025,
-0.022116558626294136,
-0.008356745354831219,
-0.048663634806871414,
-0.04048699140548706,
-0.012183918617665768,
-0.035462137311697006,
-0.01412902306765318,
0.0025619547814130783,
-0.037569332867860794,
0.03283264487981796,
-0.017839130014181137,
-0.06764641404151917,
0.034057341516017914,
0.013273537158966064,
-0.0023818525951355696,
-0.015524815768003464,
0.04390893504023552,
-0.06660182029008865,
0.016443338245153427,
-0.055291399359703064,
0.024151714518666267,
-0.007843454368412495,
-0.03688494488596916,
-0.041855767369270325,
-0.030275192111730576,
0.005295007023960352,
0.02777177095413208,
0.04729485511779785,
-0.00856386311352253,
-0.024728041142225266,
0.013471649959683418,
-0.0022974296007305384,
-0.017190761864185333,
0.06883508712053299,
0.028348097577691078,
0.006641271524131298,
-0.022008497267961502,
-0.02591671794652939,
0.016263235360383987,
-0.06310783326625824,
0.03389524668455124,
-0.04833944886922836,
-0.02290900982916355,
-0.009077154099941254,
-0.03713708743453026,
0.02227865159511566,
0.04520567134022713,
0.017019664868712425,
0.031535908579826355,
-0.032526470720767975,
0.03800157830119133,
0.011310422793030739,
0.013057414442300797,
0.039694540202617645,
-0.0006528707453981042,
0.028690291568636894,
-0.06595345586538315,
-0.03940637782216072,
-0.0023143142461776733,
0.09091562777757645,
-0.0056101856753230095,
0.009725523181259632,
-0.04978026822209358,
0.03382320702075958,
-0.03922627493739128,
0.06530508399009705,
0.003329640720039606,
-0.030761467292904854,
-0.0242597758769989,
0.026583096012473106,
0.03947841748595238,
-0.02777177095413208,
-0.02465600147843361,
0.03353504464030266,
-0.04055903106927872,
-0.038974132388830185,
0.014867442660033703,
-0.020621709525585175,
-0.03589438274502754,
-0.03792953863739967,
0.06631365418434143,
-0.028546210378408432,
0.003327389480546117,
-0.043116483837366104,
-0.0824868381023407,
-0.04725883528590202,
0.010986238718032837,
-0.07830847054719925,
0.029734885320067406,
0.04999639093875885,
-0.006609753239899874,
0.025142276659607887,
-0.0054075708612799644,
-0.016965633258223534,
-0.015839995816349983,
0.0022918013855814934,
-0.020315537229180336,
-0.014975504018366337,
0.011886750347912312,
-0.054390884935855865,
-0.019126862287521362,
0.0073571777902543545,
-0.0541747622191906,
-0.009419349022209644,
-0.036812905222177505,
-0.004180624149739742,
0.024457888677716255,
0.030041059479117393,
-0.021630283445119858,
-0.06501691788434982,
-0.0620272234082222,
0.021720334887504578,
0.031535908579826355,
0.03742525354027748,
-0.012255959212779999,
0.010013686493039131,
0.012571138329803944,
-0.012192923575639725,
0.08623296767473221,
0.03016713075339794,
0.03193213418126106,
-0.0011661621974781156,
-0.02597074769437313,
0.06235140562057495,
-0.0248361025005579,
0.04996037110686302,
0.012111878022551537,
-0.10698074847459793,
0.0059118568897247314,
-0.004664648789912462,
0.027969883754849434,
-0.026745187118649483,
0.0037056042347103357,
-0.01871262677013874,
0.017055684700608253,
0.029068507254123688,
-0.013327567838132381,
0.029338659718632698,
-0.05158128961920738,
-0.04387291520833969,
0.022026507183909416,
-0.009401338174939156,
0.019234923645853996,
0.031716011464595795,
0.012904328294098377,
0.026583096012473106,
-0.007096029352396727,
-0.06469273567199707,
0.015975071117281914,
0.042360056191682816,
0.015434764325618744,
0.011202361434698105,
-0.007523772306740284,
-0.0667819231748581,
0.011580576188862324,
-0.02624090202152729,
0.004727684892714024,
0.01250810269266367,
0.02525033801794052,
-0.020765792578458786,
0.005704739596694708,
-0.018064258620142937,
0.01384085975587368
]
|
37,147 | youtube_transcript_api._errors | TranslationLanguageNotAvailable | null | class TranslationLanguageNotAvailable(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'The requested translation language is not available'
| (video_id) | [
0.02188311144709587,
-0.0346837155520916,
0.02839440107345581,
0.020403273403644562,
0.012680365703999996,
-0.039548683911561966,
0.0036464144941419363,
-0.00009603053331375122,
0.0900481715798378,
-0.06433597952127457,
0.02924530766904354,
0.015038859099149704,
-0.00276082381606102,
-0.05671481043100357,
-0.06692569702863693,
0.020218294113874435,
-0.03566410765051842,
0.032667435705661774,
0.026248635724186897,
-0.04509807750582695,
-0.004328527487814426,
0.00934610515832901,
-0.02902333252131939,
0.01306882407516241,
0.001000625197775662,
0.03583059087395668,
0.035090669989585876,
-0.05593789368867874,
0.0005841315723955631,
-0.03984465077519417,
-0.054680030792951584,
0.004351649899035692,
-0.04221239313483238,
0.03773588314652443,
-0.042804326862096786,
0.06522388011217117,
-0.01111728698015213,
-0.042656343430280685,
-0.06681470572948456,
-0.03383280709385872,
-0.05634485185146332,
0.033462848514318466,
0.00013541099906433374,
-0.010997049510478973,
-0.009396974928677082,
-0.03165004774928093,
-0.06067337840795517,
0.04624495282769203,
-0.05878658592700958,
0.06422498822212219,
0.06267116218805313,
0.011330013163387775,
0.015593797899782658,
-0.031409572809934616,
-0.08701450377702713,
0.03462821990251541,
-0.009924166835844517,
0.06374404579401016,
-0.02739551104605198,
0.030133211985230446,
0.023843897506594658,
0.03496118634939194,
-0.03999263420701027,
0.0412135012447834,
0.010923057794570923,
0.01670367643237114,
0.06322609633207321,
-0.04402519389986992,
0.018997427076101303,
0.034369248896837234,
0.04446914792060852,
0.0031677791848778725,
-0.06300412118434906,
0.028079936280846596,
0.08501671999692917,
-0.0013202934060245752,
-0.027062546461820602,
0.010664085857570171,
-0.003572422545403242,
0.04694787785410881,
0.012042186222970486,
-0.040954530239105225,
0.027561992406845093,
-0.0025966542307287455,
0.059859465807676315,
-0.045911990106105804,
0.04728084057569504,
-0.06899747252464294,
0.0026128399185836315,
-0.004323903005570173,
-0.06829454749822617,
-0.020144302397966385,
0.0012046810006722808,
0.027081044390797615,
0.02421385794878006,
0.007029233034700155,
0.06267116218805313,
-0.03325936943292618,
-0.04857569932937622,
-0.03399929031729698,
0.07021833956241608,
0.02711804024875164,
0.02343694306910038,
-0.07550875842571259,
0.09574554860591888,
-0.032963402569293976,
-0.04176844283938408,
-0.007838519290089607,
0.06389202922582626,
-0.008411956951022148,
-0.009336856193840504,
-0.03375881537795067,
-0.05937851965427399,
0.008499822579324245,
0.009517211467027664,
-0.03412877395749092,
-0.04772479087114334,
0.023399947211146355,
-0.0662967637181282,
0.026359623298048973,
0.026378121227025986,
0.027229027822613716,
-0.0734739825129509,
-0.045209065079689026,
0.02314097434282303,
0.010423612780869007,
0.01514984667301178,
-0.003963192459195852,
0.10166490823030472,
-0.017462093383073807,
0.030429178848862648,
-0.03264893591403961,
-0.02145765908062458,
-0.059304527938365936,
0.0044418275356292725,
0.04247136414051056,
0.025878675282001495,
0.028986336663365364,
0.009359978139400482,
0.06300412118434906,
-0.01182021014392376,
0.024528322741389275,
0.016740672290325165,
-0.022179080173373222,
0.03170553967356682,
0.002135360613465309,
-0.002216289285570383,
0.020440269261598587,
-0.06207922473549843,
-0.032315973192453384,
0.0491306371986866,
-0.035867586731910706,
-0.057158760726451874,
-0.031169097870588303,
-0.03157605230808258,
-0.002499539637938142,
-0.02939329296350479,
-0.006515914108604193,
-0.020902719348669052,
-0.026581598445773125,
0.03903074190020561,
-0.027876457199454308,
-0.037624895572662354,
0.03272292762994766,
0.0225860346108675,
-0.012476888485252857,
0.007149469573050737,
-0.024528322741389275,
-0.02223457396030426,
0.025453222915530205,
-0.05693678557872772,
-0.012439892627298832,
-0.01075657643377781,
-0.002269471064209938,
0.01728636398911476,
0.06341107934713364,
0.05974847823381424,
0.021420663222670555,
0.008028123527765274,
0.026951558887958527,
0.008906777948141098,
0.013346293941140175,
-0.06711067259311676,
0.03943769633769989,
0.04887166619300842,
0.040325600653886795,
0.013004080392420292,
0.040325600653886795,
-0.023344451561570168,
0.01627822406589985,
0.015288581140339375,
-0.013235305435955524,
0.042434368282556534,
0.00552164763212204,
-0.04539404436945915,
0.010340371169149876,
0.015390320681035519,
-0.016185734421014786,
-0.03895675018429756,
0.0285238865762949,
-0.018664462491869926,
0.02378840371966362,
0.041879430413246155,
0.021716630086302757,
-0.031132102012634277,
0.018285254016518593,
-0.011154282838106155,
-0.00835646316409111,
-0.08560865372419357,
-0.0530892051756382,
-0.0027631360571831465,
0.014659649692475796,
0.00796800572425127,
0.036367032676935196,
-0.0023723661433905363,
-0.014049217104911804,
-0.008296344429254532,
0.00323945889249444,
-0.011699973605573177,
0.036293040961027145,
0.031039612367749214,
-0.06300412118434906,
0.018590470775961876,
-0.052497271448373795,
0.06422498822212219,
-0.01600075326859951,
0.055826906114816666,
-0.03616355359554291,
-0.036293040961027145,
-0.02684057131409645,
-0.012920839712023735,
-0.011690723709762096,
0.003648726735264063,
0.007801523432135582,
0.05889757350087166,
-0.019737346097826958,
0.0051008183509111404,
-0.01317056268453598,
0.021753625944256783,
0.033092889934778214,
-0.0015619233017787337,
-0.008906777948141098,
-0.022955995053052902,
0.10773224383592606,
0.026396619156003,
0.013031828217208385,
-0.017027391120791435,
0.03601557016372681,
-0.010784323327243328,
-0.011154282838106155,
0.013318546116352081,
-0.01756383292376995,
-0.048538703471422195,
-0.03701446205377579,
0.0020659933798015118,
-0.0689234808087349,
-0.03999263420701027,
-0.04369223117828369,
0.047687795013189316,
-0.03768038749694824,
-0.05627086013555527,
0.00005372363011701964,
-0.08538667857646942,
0.0494266077876091,
-0.03275992348790169,
0.008111365139484406,
0.016259726136922836,
0.012532382272183895,
-0.018710708245635033,
0.05205331742763519,
0.10773224383592606,
0.048316728323698044,
-0.02917131595313549,
0.01912691257894039,
0.02894934080541134,
0.004192105028778315,
-0.02160564251244068,
0.04058457165956497,
-0.031539056450128555,
0.04798376187682152,
0.05175735056400299,
0.031243089586496353,
0.03669999539852142,
0.01933038979768753,
-0.011542740277945995,
-0.04206440970301628,
-0.016176484525203705,
-0.03943769633769989,
-0.05486501380801201,
0.010858315043151379,
0.0022995301987975836,
0.04328527674078941,
0.03568260744214058,
0.006497415713965893,
0.0038313944824039936,
0.0005904902354814112,
-0.04232338070869446,
0.024972274899482727,
0.057306744158267975,
-0.012375149875879288,
-0.003632541047409177,
0.03917872533202171,
-0.000015128964150790125,
0.0003560861514415592,
-0.09308183938264847,
-0.022771015763282776,
0.009692941792309284,
-0.015103601850569248,
0.004744732286781073,
0.012069933116436005,
-0.0030313567258417606,
0.02230856567621231,
0.05231229215860367,
-0.018599720671772957,
-0.013013329356908798,
0.06596380472183228,
0.05627086013555527,
-0.013623762875795364,
0.004647617693990469,
0.049241624772548676,
-0.03481319919228554,
0.005674255546182394,
0.013309297151863575,
-0.019422879442572594,
0.018507231026887894,
-0.03364782780408859,
0.022068090736865997,
0.01856272481381893,
0.03523865342140198,
-0.04794676601886749,
-0.028024442493915558,
-0.028412899002432823,
-0.0014486231375485659,
-0.08486873656511307,
-0.06559383869171143,
0.02732151746749878,
0.035275649279356,
-0.030318191275000572,
0.05227529630064964,
0.0011341575300320983,
0.017739564180374146,
-0.02867187187075615,
-0.0702553316950798,
0.0448761023581028,
0.0122086675837636,
0.04387721046805382,
-0.020514260977506638,
-0.009443219751119614,
0.053977109491825104,
-0.04887166619300842,
-0.07291904091835022,
0.010876812972128391,
-0.0028001319151371717,
0.03988164663314819,
-0.020440269261598587,
-0.050240516662597656,
0.02351093478500843,
-0.005623386241495609,
0.013762498274445534,
0.0038822637870907784,
-0.04620795696973801,
-0.019163908436894417,
-0.0031330955680459738,
0.04006662592291832,
-0.05782468989491463,
-0.02032928168773651,
0.04199041798710823,
-0.0032140242401510477,
0.0008081305422820151,
-0.0050222016870975494,
0.003625604324042797,
-0.039955638349056244,
-0.0009867516346275806,
0.040621567517519,
-0.018849443644285202,
-0.03057716228067875,
0.02130967378616333,
-0.01628747209906578,
-0.05020352080464363,
0.041509468108415604,
0.021013706922531128,
0.009110256098210812,
-0.08597861975431442,
0.04291531816124916,
-0.0022787200286984444,
-0.012301157228648663,
0.012236414477229118,
0.021753625944256783,
0.008610810153186321,
0.017230870202183723,
0.027340015396475792,
-0.03242696076631546,
0.01423419639468193,
-0.0331483818590641,
-0.02408437244594097,
-0.027210529893636703,
-0.07225311547517776,
-0.010627089999616146,
0.037698887288570404,
-0.007436188403517008,
-0.0016151049640029669,
0.024158364161849022,
-0.030318191275000572,
-0.006136705167591572,
-0.02003331296145916,
0.043581243604421616,
0.02909732423722744,
0.00552164763212204,
-0.01861821860074997,
-0.005877733696252108,
-0.0368109829723835,
-0.03984465077519417,
-0.0265446025878191,
-0.07983728498220444,
-0.06592680513858795,
0.03390679880976677,
-0.02010730654001236,
0.03364782780408859,
-0.07173517346382141,
-0.024472828954458237,
-0.02138366550207138,
-0.021901609376072884,
0.06714767217636108,
-0.010220134630799294,
0.03342585265636444,
0.019570864737033844,
-0.03999263420701027,
-0.044432152062654495,
0.01910841464996338,
-0.04310029745101929,
0.025305237621068954,
-0.025860177353024483,
0.0021654199808835983,
-0.05926753208041191,
0.03283391520380974,
-0.042101405560970306,
-0.04376622289419174,
-0.013309297151863575,
-0.0976693406701088,
0.028301911428570747,
-0.00442564208060503,
0.0017792745493352413,
0.03325936943292618,
0.06370704621076584,
0.03250095248222351,
-0.048612695187330246,
-0.03257494419813156,
-0.00856919027864933,
-0.018507231026887894,
-0.025878675282001495,
-0.004185168072581291,
0.04387721046805382,
0.028579380363225937,
0.0007665100856684148,
0.018655214458703995,
-0.048316728323698044,
-0.052793238312006,
-0.010627089999616146,
-0.041805438697338104,
0.01363301184028387,
-0.03525715321302414,
0.05860160291194916,
-0.023621922358870506,
0.030003726482391357,
0.057380739599466324,
0.004929712042212486,
-0.03214948996901512,
-0.01242139469832182,
-0.05068446695804596,
0.0004708314372692257,
-0.033240873366594315,
0.01903442293405533,
0.0003985736984759569,
-0.021568646654486656,
-0.03555312007665634,
-0.0070662288926541805,
-0.033943794667720795,
0.005882358178496361,
-0.014881625771522522,
0.05246027559041977,
0.03464671969413757,
0.036422524601221085,
-0.0012532381806522608,
0.01051610242575407,
-0.04317428916692734,
-0.05856460705399513,
-0.007718282751739025,
-0.0021053014788776636,
-0.006737889721989632,
0.013401787728071213,
-0.007773776538670063,
0.054273076355457306,
0.027728473767638206,
0.03694047033786774,
-0.017008893191814423,
-0.02173512801527977,
-0.03327786922454834,
-0.001372318947687745,
0.008097491227090359,
-0.007681286893785,
0.02180911973118782,
-0.03057716228067875,
0.02188311144709587,
0.01423419639468193,
0.05775069817900658,
-0.07687760889530182,
0.006525163073092699,
0.060858357697725296,
0.08649656176567078,
-0.009480215609073639,
-0.023270459845662117,
0.06807257235050201,
0.053570155054330826,
-0.0227340180426836,
0.0017052826005965471,
-0.027025550603866577,
-0.0662967637181282,
0.0023203406017273664,
0.05464303493499756,
0.061561282724142075,
0.0002685097570065409,
0.041731446981430054,
0.04920462891459465,
-0.01955236680805683,
0.05615987256169319,
0.0022752517834305763,
-0.022549038752913475,
-0.039622675627470016,
-0.004268409218639135,
0.040029630064964294,
-0.006525163073092699,
-0.07968930155038834,
0.03311138600111008,
0.005849986802786589,
-0.0014301252085715532,
0.06326309591531754,
-0.10107296705245972,
0.010164640843868256,
-0.026951558887958527,
0.0016081682406365871,
0.01940438151359558,
-0.0059332274831831455,
-0.012560129165649414,
-0.004656866658478975,
0.02201259694993496,
-0.008573814295232296,
-0.05168335884809494,
0.012356651946902275,
-0.03803185001015663,
0.06725866347551346,
-0.008828161284327507,
-0.03325936943292618,
-0.025934169068932533,
-0.002723827725276351,
0.04162045940756798,
0.02576768770813942,
-0.010664085857570171,
0.06133930757641792,
0.06766561418771744,
0.0265446025878191,
0.0074269394390285015,
-0.015242336317896843,
-0.016740672290325165,
0.013374040834605694,
0.01636146381497383,
0.003738904371857643,
0.02053275890648365,
0.03984465077519417,
-0.011394756846129894,
0.014252694323658943,
0.04254535585641861,
-0.03353684023022652,
-0.00471004843711853,
0.051498379558324814,
0.004122737795114517,
0.027654482051730156,
0.050721462815999985,
0.013864236883819103,
0.010960053652524948,
0.016518697142601013,
-0.004312342032790184,
-0.007241959683597088,
-0.007704409305006266,
0.004841846413910389,
0.008393459022045135,
-0.0013688505860045552,
-0.008842035196721554,
0.01366075873374939,
0.022845007479190826,
-0.008300969377160072,
-0.05453204736113548,
0.05146138370037079,
0.05771370232105255,
-0.005036075599491596,
0.045061081647872925,
0.036145053803920746,
0.03216798976063728,
-0.04176844283938408,
0.026637092232704163,
-0.02513875626027584,
-0.040621567517519,
0.03205700218677521,
0.009498713538050652,
0.03973366320133209,
0.07828345894813538,
0.006025717593729496,
-0.04876067861914635,
-0.05012952908873558,
-0.03810584172606468,
0.014668899588286877,
0.0023596487008035183,
-0.05331118032336235,
-0.015566051006317139,
-0.036274541169404984,
0.004351649899035692,
-0.0536811426281929,
-0.041657455265522,
0.021439161151647568,
-0.0018232072470709682,
-0.007514805067330599,
-0.031261589378118515,
0.02073623612523079,
-0.05601188540458679,
0.0574917271733284,
-0.04324828088283539,
0.059859465807676315,
0.004002500791102648,
-0.03448023647069931,
-0.06300412118434906,
0.01119127869606018,
0.010146142914891243,
0.04143547639250755,
0.02073623612523079,
-0.04014061763882637,
-0.004039496649056673,
0.01820201426744461,
0.027728473767638206,
-0.004786352626979351,
0.04920462891459465,
0.00639105262234807,
-0.03135407716035843,
0.023769905790686607,
-0.011662976816296577,
-0.01869221031665802,
-0.05083245411515236,
0.014576409012079239,
-0.025286739692091942,
-0.038549792021512985,
0.008111365139484406,
-0.02987423911690712,
-0.006631526164710522,
0.05005553737282753,
0.02563820220530033,
0.010701081715524197,
-0.02959677018225193,
-0.006853502243757248,
-0.027783967554569244,
0.07321500778198242,
0.04387721046805382,
-0.01514984667301178,
0.020014815032482147,
-0.023103978484869003,
-0.029467284679412842,
-0.0015908264322206378,
0.1057344600558281,
0.015390320681035519,
0.01543656550347805,
-0.05797267332673073,
0.058934569358825684,
-0.027358515188097954,
0.004874218255281448,
0.008060495369136333,
0.040325600653886795,
-0.02216058224439621,
-0.005063822492957115,
0.01553830411285162,
0.0033134508412331343,
-0.03821682929992676,
0.06045140326023102,
0.019977819174528122,
-0.013031828217208385,
0.03496118634939194,
-0.04731783643364906,
0.0349796824157238,
-0.06311511248350143,
0.07628567516803741,
-0.01847023516893387,
0.005345916375517845,
0.0162042323499918,
-0.07717357575893402,
-0.012578627094626427,
0.01462265383452177,
-0.0651128962635994,
0.038327816873788834,
0.04820574074983597,
-0.04594898596405983,
-0.0447281189262867,
-0.037199441343545914,
-0.046059973537921906,
0.0011919636745005846,
0.06548285484313965,
-0.035571616142988205,
-0.014502417296171188,
0.007422314956784248,
-0.014520915225148201,
-0.00323945889249444,
-0.026655590161681175,
-0.045505035668611526,
-0.007163343019783497,
-0.0040533700957894325,
0.010627089999616146,
-0.012430643662810326,
0.012199418619275093,
-0.034443240612745285,
-0.01564004272222519,
-0.045061081647872925,
0.010118396021425724,
0.05619686841964722,
-0.0206067506223917,
-0.014696646481752396,
-0.01423419639468193,
-0.0020775545854121447,
0.017388101667165756,
0.009683692827820778,
0.035793595016002655,
0.06093234941363335,
0.009350729174911976,
-0.07550875842571259,
0.012254912406206131,
0.03220498561859131,
0.024269351735711098,
0.03179803118109703,
-0.0704033151268959,
0.021272677928209305,
0.046836890280246735,
-0.019644856452941895,
-0.03671849146485329,
0.03383280709385872,
0.002090271795168519,
0.012930088676512241,
0.028283413499593735,
0.005757496692240238,
0.04128749296069145,
-0.04369223117828369,
-0.012846847996115685,
0.05712176486849785,
-0.024879785254597664,
-0.00621069734916091,
-0.0006786446901969612,
0.0369589664041996,
0.03242696076631546,
-0.019792839884757996,
-0.022031094878911972,
0.04391420632600784,
0.019792839884757996,
-0.03708845376968384,
0.03152056038379669,
-0.020495763048529625,
-0.05127640441060066,
0.026600096374750137,
-0.03259344398975372,
-0.020514260977506638,
0.022068090736865997,
0.0102293835952878,
0.00463605672121048,
-0.026600096374750137,
-0.004860344808548689,
0.0067332652397453785
]
|
37,150 | youtube_transcript_api._errors | VideoUnavailable | null | class VideoUnavailable(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'The video is no longer available'
| (video_id) | [
0.033244404941797256,
-0.030073855072259903,
-0.04116150364279747,
0.040049031376838684,
0.020005973055958748,
-0.05069169029593468,
0.009395762346684933,
0.030945291742682457,
0.07816977053880692,
0.007532369811087847,
0.01904183067381382,
0.042459387332201004,
-0.0010684377048164606,
-0.02573521062731743,
-0.04880048334598541,
0.027663497254252434,
-0.0016490095295011997,
0.01518525741994381,
0.035728927701711655,
-0.053213294595479965,
-0.026977472007274628,
0.05495616793632507,
-0.053213294595479965,
-0.015194527804851532,
-0.010587035678327084,
0.1004934012889862,
-0.015027657151222229,
-0.0467238686978817,
-0.04687219858169556,
-0.021155528724193573,
-0.034208547323942184,
-0.0013094735331833363,
-0.015463375486433506,
0.03454228863120079,
-0.0449439100921154,
0.07765062153339386,
-0.02395525388419628,
-0.03153860941529274,
-0.09389272332191467,
-0.007731687743216753,
-0.08410296589136124,
0.005284246988594532,
0.011912732385098934,
-0.012459698133170605,
0.02998114936053753,
-0.02473398484289646,
-0.03415292128920555,
0.013692689128220081,
-0.034634996205568314,
-0.005840483587235212,
0.040716513991355896,
0.04027152433991432,
0.024400241672992706,
-0.001953780883923173,
-0.040827762335538864,
0.07053079456090927,
-0.01834653504192829,
0.12333618104457855,
-0.029369289055466652,
-0.0011536113452166319,
-0.018559759482741356,
0.0075740874744951725,
-0.01568586938083172,
0.02632852829992771,
0.04186606779694557,
0.010512870736420155,
0.045537229627370834,
-0.043757274746894836,
-0.00283217104151845,
0.06066686287522316,
0.06545049697160721,
-0.006062977947294712,
-0.06433802843093872,
0.023306310176849365,
0.08721788972616196,
-0.0329292006790638,
-0.04824424907565117,
0.026996012777090073,
-0.011300872080028057,
0.05106251314282417,
0.1004934012889862,
-0.03639641031622887,
0.030593009665608406,
-0.012645110487937927,
0.0711241140961647,
-0.031130705028772354,
0.014851515181362629,
-0.10627825558185577,
-0.035413727164268494,
0.043089788407087326,
-0.040864843875169754,
-0.02491939626634121,
-0.014999845065176487,
-0.00032157424720935524,
-0.016307000070810318,
0.03142736479640007,
0.020858868956565857,
-0.06967789679765701,
-0.0481330007314682,
-0.07720562815666199,
0.02792307361960411,
0.057811517268419266,
-0.00394464423879981,
-0.05276830494403839,
0.07409070432186127,
-0.03812074288725853,
-0.04182898625731468,
-0.026143116876482964,
0.057032786309719086,
0.003828761400654912,
0.03513560816645622,
-0.023862546309828758,
-0.05514157935976982,
0.014629020355641842,
0.012125955894589424,
-0.03600704297423363,
-0.035209771245718,
-0.008519689552485943,
-0.04108733683824539,
0.011884920299053192,
0.04019736126065254,
0.007592628709971905,
-0.0591094009578228,
-0.058775659650564194,
0.03263254463672638,
-0.0007144162664189935,
-0.006596038118004799,
0.013294053263962269,
0.052471645176410675,
0.016446059569716454,
-0.0003760390682145953,
-0.028145568445324898,
-0.03207630664110184,
-0.013210617937147617,
-0.00012681902444455773,
0.04846674203872681,
0.07127244025468826,
0.029647406190633774,
0.005794130265712738,
0.013961536809802055,
-0.03157569468021393,
0.05458534508943558,
0.01306228805333376,
-0.012663651257753372,
0.04138399660587311,
0.01974639669060707,
0.009669245220720768,
-0.0369897298514843,
-0.023510264232754707,
-0.03787970915436745,
0.04130983352661133,
-0.05517866462469101,
-0.035728927701711655,
0.0013094735331833363,
-0.0013303323648869991,
-0.009845386259257793,
-0.016650013625621796,
0.0022110401187092066,
-0.021285317838191986,
-0.013396029360592365,
0.03904780372977257,
-0.03982653468847275,
-0.04839257895946503,
0.019968891516327858,
0.0179571695625782,
-0.041421081870794296,
0.012098144739866257,
0.0569957010447979,
0.0002466851146891713,
0.031019456684589386,
0.0006332984776236117,
0.01798498071730137,
-0.043089788407087326,
-0.006016625091433525,
0.046946361660957336,
0.042978543788194656,
0.027978697791695595,
0.0023385111708194017,
0.01970931515097618,
-0.004269115161150694,
0.01392445433884859,
0.024437325075268745,
-0.06352221220731735,
0.03443104028701782,
0.03341127559542656,
0.021526353433728218,
0.018949124962091446,
0.04327520355582237,
-0.02491939626634121,
-0.01865246519446373,
0.009038843214511871,
-0.0008146547479555011,
0.037601590156555176,
0.019653690978884697,
-0.014425067231059074,
-0.01935703121125698,
0.008867337368428707,
0.0022376931738108397,
-0.012960311025381088,
0.03200213983654976,
0.0017695274436846375,
0.03107508085668087,
0.003284113248810172,
-0.02640269324183464,
-0.0015226975083351135,
0.026588106527924538,
-0.004755822475999594,
-0.045351818203926086,
-0.05669904500246048,
-0.033819179981946945,
-0.03784262388944626,
0.03294774517416954,
0.035766009241342545,
0.00143346784170717,
-0.011134001426398754,
-0.008756089955568314,
0.03422708809375763,
0.028368063271045685,
-0.007731687743216753,
0.05102543160319328,
0.03480186685919762,
-0.07957890629768372,
-0.038639895617961884,
-0.017688320949673653,
0.026736436411738396,
0.023065274581313133,
0.03213192895054817,
-0.015880553051829338,
-0.05050627514719963,
-0.020858868956565857,
0.002229581354185939,
0.031056540086865425,
-0.006841709371656179,
0.010772447101771832,
-0.014146949164569378,
0.056402385234832764,
0.0029156063683331013,
-0.032725248485803604,
-0.017002295702695847,
-0.02059929259121418,
-0.0037406906485557556,
-0.015880553051829338,
-0.025012101978063583,
0.13104932010173798,
0.0228242389857769,
-0.0389365553855896,
-0.0389365553855896,
0.06663713604211807,
-0.02788599207997322,
0.0032145834993571043,
0.03635932877659798,
-0.0171691682189703,
-0.06522800028324127,
-0.03532101958990097,
0.009154725819826126,
-0.08217467367649078,
-0.06233557313680649,
-0.057181116193532944,
0.06997455656528473,
0.01281198114156723,
-0.025216056033968925,
-0.009377220645546913,
-0.06845417618751526,
0.03513560816645622,
-0.01585274189710617,
0.0032980190590023994,
-0.01472172699868679,
0.01974639669060707,
-0.023028193041682243,
0.04868923872709274,
0.11109897494316101,
0.001784592168405652,
-0.0269033070653677,
-0.009901010431349277,
-0.01029964629560709,
0.010855882428586483,
-0.04294145852327347,
0.029276583343744278,
-0.0026977472007274628,
0.001512268092483282,
0.01845778152346611,
0.023918170481920242,
0.04887465015053749,
-0.014647562056779861,
0.020191386342048645,
-0.04509223997592926,
0.01620502397418022,
-0.010169858112931252,
-0.05195249244570732,
0.013785394839942455,
-0.022564662620425224,
0.0006095425342209637,
0.05213790386915207,
-0.0013222205452620983,
0.010892964899539948,
0.014471420086920261,
-0.03793533146381378,
0.023806924000382423,
0.039121970534324646,
0.019672231748700142,
0.009242797270417213,
0.02881305292248726,
-0.045388899743556976,
0.0295547004789114,
-0.10494329035282135,
0.012200120836496353,
0.010383081622421741,
-0.012302097864449024,
0.017141355201601982,
-0.01647387258708477,
0.019653690978884697,
0.00565507123246789,
0.0005362467491067946,
0.006327190436422825,
0.02169322408735752,
0.08617957681417465,
0.043794356286525726,
-0.008445524610579014,
-0.012913958169519901,
0.0573294460773468,
0.01697448454797268,
0.016659284010529518,
0.027070177718997,
-0.00013029550609644502,
0.04053110256791115,
-0.039196133613586426,
0.004051255993545055,
0.020413881167769432,
0.005497470963746309,
-0.03430125117301941,
-0.05143333598971367,
-0.018596841022372246,
-0.01180148497223854,
-0.0538066141307354,
-0.06504259258508682,
0.0031844540499150753,
-0.007068839389830828,
-0.04950505122542381,
0.08054304867982864,
0.019282866269350052,
0.021136987954378128,
-0.02453003078699112,
-0.057144030928611755,
0.06007354333996773,
0.015370669774711132,
0.010077151469886303,
-0.0035251490771770477,
-0.029777195304632187,
0.0658584013581276,
-0.03726784884929657,
-0.030055314302444458,
0.028405144810676575,
-0.03621099889278412,
0.06756419688463211,
0.00835281889885664,
-0.0343383364379406,
0.04761384800076485,
-0.022638827562332153,
-0.004825351759791374,
-0.016909589990973473,
-0.05265705659985542,
0.020729081705212593,
-0.025475632399320602,
0.013646336272358894,
-0.05425160378217697,
-0.005298153031617403,
0.03795387223362923,
-0.03161277621984482,
0.010939318686723709,
0.003902926342561841,
-0.023102357983589172,
-0.019208701327443123,
-0.03708243370056152,
0.020691998302936554,
0.013090099208056927,
-0.00008263878407888114,
0.0003722728870343417,
-0.029369289055466652,
-0.02473398484289646,
0.03142736479640007,
0.00392146734520793,
0.03904780372977257,
-0.10004840791225433,
-0.017261873930692673,
0.02382546477019787,
0.019690772518515587,
-0.03461645171046257,
0.022954028099775314,
0.010549953207373619,
0.033503979444503784,
0.009928821586072445,
-0.03908488526940346,
0.011773672886192799,
-0.02336193434894085,
-0.005854389630258083,
-0.0313161164522171,
-0.05584614723920822,
-0.0011362290242686868,
0.061037689447402954,
0.010114233940839767,
-0.014007889665663242,
0.04646429046988487,
-0.06763835996389389,
0.028609098866581917,
0.014286007732152939,
0.0240665003657341,
0.04909714311361313,
0.015222339890897274,
-0.019208701327443123,
-0.05673612654209137,
-0.04420226439833641,
-0.05503033474087715,
-0.05669904500246048,
-0.04524056985974312,
-0.04661262035369873,
0.011180354282259941,
-0.058775659650564194,
-0.031761106103658676,
-0.028089944273233414,
0.013117911294102669,
-0.010438705794513226,
0.002382546430453658,
0.06838001310825348,
-0.03022218495607376,
-0.01029964629560709,
0.013637065887451172,
-0.007666793651878834,
-0.03372647613286972,
0.025846457108855247,
-0.06467176973819733,
0.010661199688911438,
0.034245628863573074,
-0.013776124455034733,
-0.08840452879667282,
0.010197669267654419,
0.0007254251395352185,
-0.05065460503101349,
-0.02204550802707672,
-0.0866987332701683,
0.06841709464788437,
0.01815185137093067,
0.0072774277068674564,
0.025086266919970512,
0.07420195639133453,
0.07794728130102158,
-0.035691842436790466,
-0.04839257895946503,
0.009687785990536213,
0.018077686429023743,
-0.01360925380140543,
-0.03819490969181061,
0.036081209778785706,
0.03037051483988762,
-0.02087741158902645,
0.021081363782286644,
-0.00046555837616324425,
-0.06682255119085312,
0.026773517951369286,
-0.05135917291045189,
-0.05154458433389664,
-0.04868923872709274,
0.06875083595514297,
-0.07809560745954514,
-0.02395525388419628,
0.04438767582178116,
0.05276830494403839,
0.025716667994856834,
-0.03203922510147095,
-0.0605185329914093,
0.013192076236009598,
0.009873198345303535,
0.010522141121327877,
0.05810817703604698,
-0.023232145234942436,
0.01084661204367876,
0.011013483628630638,
-0.021081363782286644,
0.024696901440620422,
0.025790832936763763,
0.04108733683824539,
0.04724302142858505,
-0.008579947985708714,
0.0055623650550842285,
0.012172309681773186,
-0.00660067331045866,
-0.008575312793254852,
-0.03430125117301941,
0.004621398635208607,
0.004289973992854357,
0.00784293469041586,
-0.030092395842075348,
0.04190315306186676,
-0.016807613894343376,
0.04798467084765434,
-0.017502909526228905,
-0.02994406595826149,
-0.029851360246539116,
0.029665948823094368,
0.005840483587235212,
-0.01461974997073412,
0.03563622012734413,
-0.06589549034833908,
-0.019802020862698555,
-0.04791050776839256,
0.033707935363054276,
-0.058590248227119446,
0.017113544046878815,
0.03630370274186134,
0.06671129912137985,
0.007263522129505873,
0.005103470291942358,
0.08217467367649078,
0.02768203802406788,
-0.0135350888594985,
0.01759561523795128,
-0.039344463497400284,
-0.07223658263683319,
-0.0022933168802410364,
0.07779894769191742,
0.01752145029604435,
0.006823168136179447,
0.014703185297548771,
0.06578423827886581,
-0.031482987105846405,
0.030518844723701477,
-0.023454640060663223,
-0.038380321115255356,
-0.03246567025780678,
-0.029369289055466652,
0.039344463497400284,
-0.030871126800775528,
-0.029647406190633774,
0.023454640060663223,
-0.034282710403203964,
0.024288995191454887,
0.05043211206793785,
-0.06767544150352478,
-0.0047233751974999905,
-0.0474284328520298,
-0.006452343892306089,
0.023139439523220062,
0.004760457668453455,
0.004148597363382578,
0.006327190436422825,
0.006387449335306883,
-0.009817575104534626,
-0.059368979185819626,
0.052471645176410675,
-0.010559223592281342,
0.02328776940703392,
-0.007713146507740021,
-0.0005991131183691323,
-0.010040068998932838,
-0.021674683317542076,
-0.005316694267094135,
0.03730493038892746,
0.010049340315163136,
0.0005006128922104836,
0.06381887197494507,
0.032224636524915695,
0.021674683317542076,
-0.00622057868167758,
0.02184155397117138,
-0.03776846081018448,
0.006897333078086376,
-0.006475520320236683,
0.0371566005051136,
0.021897178143262863,
-0.010957859456539154,
-0.02881305292248726,
0.028015779331326485,
-0.035302478820085526,
-0.012302097864449024,
0.0028692535124719143,
-0.02962886542081833,
0.021118447184562683,
0.021099906414747238,
0.03606266900897026,
0.004913422744721174,
-0.004141644574701786,
0.001420720829628408,
-0.05465950816869736,
0.020265551283955574,
-0.03489457070827484,
-0.024937937036156654,
-0.029684489592909813,
-0.014582667499780655,
-0.009446750394999981,
0.018606111407279968,
0.05180416256189346,
-0.02721850760281086,
0.05491908639669418,
0.01744728535413742,
-0.01837434619665146,
0.05076585337519646,
0.03867698088288307,
0.07698313891887665,
-0.012023979797959328,
-0.007880017161369324,
0.006874156184494495,
0.03064863197505474,
0.014258196577429771,
0.045351818203926086,
0.015018385834991932,
0.041421081870794296,
0.014072784222662449,
-0.06322555243968964,
-0.02382546477019787,
-0.039233215153217316,
-0.010225481353700161,
-0.021433647722005844,
-0.01281198114156723,
-0.02375129982829094,
0.001767209847457707,
0.008167406544089317,
-0.007954182103276253,
-0.08922033756971359,
0.04431350901722908,
-0.003916832152754068,
0.057032786309719086,
-0.014128407463431358,
0.026495400816202164,
-0.05221206694841385,
0.02873888798058033,
-0.037861164659261703,
0.0502467006444931,
-0.007374769076704979,
-0.023157980293035507,
-0.06085227429866791,
-0.012765628285706043,
0.024548571556806564,
0.03472770005464554,
0.0485038235783577,
-0.015379940159618855,
-0.045500148087739944,
-0.004619081038981676,
0.006113966461271048,
-0.006846344564110041,
0.03482040762901306,
0.03871406242251396,
0.017076460644602776,
0.01493495050817728,
-0.046353042125701904,
0.025790832936763763,
-0.04060526564717293,
0.008385265246033669,
-0.036859940737485886,
-0.020803246647119522,
-0.0031682306434959173,
-0.020043056458234787,
0.030481761321425438,
0.035339560359716415,
0.04294145852327347,
-0.002412675879895687,
-0.02063637599349022,
-0.007013215683400631,
0.017345309257507324,
0.04872632026672363,
0.03480186685919762,
0.004317786078900099,
0.009122279472649097,
-0.0520266555249691,
-0.022527579218149185,
0.007240345235913992,
0.08395463228225708,
0.021581977605819702,
0.038602814078330994,
-0.06552466005086899,
0.003668843535706401,
-0.032762330025434494,
0.0534357875585556,
-0.015481916256248951,
0.016566578298807144,
-0.02551271580159664,
-0.015222339890897274,
0.004950505215674639,
-0.018253829330205917,
-0.02024700865149498,
0.04208856448531151,
0.005687518510967493,
-0.0010777083225548267,
0.02519751526415348,
-0.0343383364379406,
-0.01740093342959881,
-0.029332205653190613,
0.051618751138448715,
-0.021952802315354347,
-0.004725692793726921,
-0.022601744160056114,
-0.09374439716339111,
-0.029777195304632187,
-0.001234149793162942,
-0.07383112609386444,
0.04449892044067383,
-0.01534285768866539,
-0.029888441786170006,
-0.009706327691674232,
-0.03072279691696167,
-0.027552248910069466,
-0.0269033070653677,
0.043052706867456436,
-0.02729267254471779,
-0.02784890867769718,
0.014879327267408371,
-0.03064863197505474,
0.006878791842609644,
0.012098144739866257,
-0.052397482097148895,
-0.003191407071426511,
-0.04946796968579292,
0.016761260107159615,
0.0019340807339176536,
0.01399861928075552,
-0.02834952250123024,
-0.030463220551609993,
-0.02360296994447708,
0.02250903844833374,
0.012608028016984463,
0.02495647966861725,
0.032224636524915695,
-0.00565507123246789,
-0.002992088906466961,
0.0038612084463238716,
0.053213294595479965,
-0.0020638692658394575,
0.03439395874738693,
-0.02258320339024067,
-0.013757583685219288,
0.07282990217208862,
0.02554979734122753,
0.03708243370056152,
0.027515167370438576,
-0.09159361571073532,
0.04286729544401169,
0.0003966082294937223,
-0.005761683452874422,
-0.05599447712302208,
0.03164985775947571,
0.032762330025434494,
0.04512932524085045,
-0.004132373724132776,
0.01740093342959881,
0.027700578793883324,
-0.04798467084765434,
-0.024659819900989532,
0.03244712948799133,
-0.008162771351635456,
0.01479589194059372,
0.024752525612711906,
0.0047233751974999905,
0.02562396228313446,
-0.04512932524085045,
-0.043238118290901184,
0.046241797506809235,
0.04275604709982872,
-0.015760034322738647,
0.0069158743135631084,
-0.0025864997878670692,
-0.047799259424209595,
0.01728968508541584,
-0.02651394158601761,
0.00009009872883325443,
0.031056540086865425,
-0.008130324073135853,
-0.04575972631573677,
0.03708243370056152,
-0.0194682776927948,
0.02877596952021122
]
|
37,153 | youtube_transcript_api._errors | YouTubeRequestFailed | null | class YouTubeRequestFailed(CouldNotRetrieveTranscript):
CAUSE_MESSAGE = 'Request to YouTube failed: {reason}'
def __init__(self, video_id, http_error):
self.reason = str(http_error)
super(YouTubeRequestFailed, self).__init__(video_id)
@property
def cause(self):
return self.CAUSE_MESSAGE.format(
reason=self.reason,
)
| (video_id, http_error) | [
-0.010140307247638702,
-0.007876336574554443,
-0.0007063019438646734,
0.027319854125380516,
-0.005574315320700407,
-0.050225913524627686,
-0.026140306144952774,
0.032684892416000366,
0.10524611920118332,
-0.02381925843656063,
0.03723186254501343,
0.04056122899055481,
0.010387632064521313,
-0.014401900582015514,
-0.020052315667271614,
0.03492984175682068,
-0.01087276916950941,
0.02416170947253704,
0.0436432771384716,
-0.06944113224744797,
0.00039268721593543887,
0.03386444225907326,
-0.07001187652349472,
-0.0005508322501555085,
-0.02090843953192234,
0.10600712150335312,
-0.013907250948250294,
-0.0179120060056448,
-0.021593337878584862,
-0.02389535866677761,
-0.04196907952427864,
0.012546965852379799,
-0.03725088760256767,
0.06380973756313324,
-0.03890606015920639,
0.008095123805105686,
-0.063200943171978,
-0.003916765097528696,
-0.1367514729499817,
-0.0010475622257217765,
-0.07876336574554443,
0.02439000830054283,
-0.02408560924232006,
-0.027833526954054832,
0.05787394940853119,
-0.04208322614431381,
-0.02665397897362709,
0.0359952375292778,
-0.05734125152230263,
-0.043072525411844254,
-0.006287751719355583,
0.03384541720151901,
0.0024946487974375486,
-0.018882280215620995,
-0.028423301875591278,
0.06053744629025459,
-0.00665398221462965,
0.0789155662059784,
-0.015077286399900913,
0.0059881084598600864,
-0.06327704340219498,
0.015514860861003399,
-0.013403089717030525,
0.03281806781888008,
-0.010501782409846783,
-0.03915338218212128,
0.011072531342506409,
-0.020128415897488594,
0.005008322652429342,
0.0478668175637722,
0.0716480240225792,
0.010149819776415825,
-0.07111532986164093,
0.005717002786695957,
0.06004279851913452,
-0.04836146906018257,
-0.050302013754844666,
-0.03289416804909706,
0.004456598777323961,
0.04078952968120575,
0.04592627286911011,
0.008760997094213963,
0.019900115206837654,
-0.03323661908507347,
0.06734838336706161,
-0.07442567497491837,
-0.0076765744015574455,
-0.08447085320949554,
-0.04615456983447075,
0.015210461802780628,
-0.049579065293073654,
-0.04219737648963928,
-0.004568370524793863,
-0.036280613392591476,
-0.02079428918659687,
0.04356717690825462,
0.009892983362078667,
-0.050378113985061646,
-0.0089560030028224,
-0.062097493559122086,
0.05848275125026703,
0.010768131352961063,
0.013945301063358784,
-0.02558858133852482,
0.05958619713783264,
-0.016684897243976593,
0.004121283534914255,
-0.06027109548449516,
0.04714386910200119,
0.016456596553325653,
0.02555053122341633,
-0.005607609171420336,
-0.05212841182947159,
0.043148625642061234,
0.038240183144807816,
-0.04546967148780823,
-0.0006979784811846912,
0.013241377659142017,
-0.012109391391277313,
0.009683708660304546,
0.050530314445495605,
0.02547443099319935,
-0.043110575526952744,
-0.018882280215620995,
0.02872770093381405,
0.016038047149777412,
-0.05844470113515854,
-0.019024968147277832,
0.08546015620231628,
-0.032038044184446335,
-0.002444708254188299,
-0.0053793094120919704,
-0.022087987512350082,
0.002977407304570079,
0.014126038178801537,
0.0708489790558815,
0.04630677029490471,
0.045203324407339096,
0.034644465893507004,
0.0039881085976958275,
0.006848988123238087,
0.06791913509368896,
0.006287751719355583,
-0.01614268496632576,
0.04794291779398918,
0.006910819560289383,
0.005436384584754705,
0.004004755523055792,
-0.025112956762313843,
-0.03941973298788071,
0.02887990139424801,
-0.05951009690761566,
0.005217597354203463,
0.02381925843656063,
-0.015115336515009403,
0.008627822622656822,
-0.027491077780723572,
0.0006611176067963243,
-0.006187870632857084,
-0.0051129600033164024,
0.019671816378831863,
-0.07374077290296555,
0.005326990969479084,
0.033179543912410736,
0.028042802587151527,
-0.001658739405684173,
0.055933404713869095,
-0.006592151243239641,
-0.005631390493363142,
0.016722945496439934,
-0.013755051419138908,
-0.006615932565182447,
-0.00007832935807527974,
0.001175980782136321,
0.029507724568247795,
0.056047555059194565,
0.04775266721844673,
-0.02366705983877182,
-0.018587393686175346,
0.01275624055415392,
-0.0034102255012840033,
0.014363850466907024,
-0.029203325510025024,
0.0292984489351511,
0.05205231159925461,
0.0003813911462202668,
0.0204898901283741,
0.0398382805287838,
-0.03293221816420555,
0.010045182891190052,
0.0023804991506040096,
0.0009577882010489702,
0.006563613656908274,
0.050035662949085236,
0.009978595189750195,
-0.006397145334631205,
0.03009749762713909,
0.007481568492949009,
0.03683233633637428,
0.07180022448301315,
-0.049921516329050064,
0.07655646651983261,
0.006011889781802893,
-0.024332933127880096,
0.0237431600689888,
0.032608795911073685,
-0.007633768022060394,
-0.01953864097595215,
-0.07575742155313492,
-0.04725801944732666,
-0.050606414675712585,
0.0367562361061573,
0.00324137881398201,
-0.006948869209736586,
0.014011888764798641,
-0.025284182280302048,
0.049617115408182144,
0.004537454806268215,
0.011196193285286427,
0.04128418117761612,
0.04349107667803764,
-0.06898453086614609,
0.01087276916950941,
-0.034225914627313614,
0.04782876744866371,
0.018064206466078758,
0.04702971875667572,
-0.043262775987386703,
-0.06297264248132706,
0.01834006793797016,
-0.0256646815687418,
0.03721283748745918,
-0.007034481503069401,
0.03032579831779003,
-0.00610701460391283,
0.049388814717531204,
0.004879903979599476,
-0.03614743798971176,
-0.036280613392591476,
-0.012813315726816654,
-0.01712246984243393,
-0.01183352991938591,
-0.02094648964703083,
0.09824493527412415,
0.01464922446757555,
-0.025417355820536613,
-0.007024969439953566,
0.0934506431221962,
-0.05543875694274902,
0.00585968978703022,
0.029697973281145096,
0.007881092838943005,
-0.05418310686945915,
-0.027795476838946342,
0.009912008419632912,
-0.07339832186698914,
-0.014601662755012512,
-0.05387870594859123,
0.04341497644782066,
-0.004444708116352558,
-0.005055885296314955,
0.0010332935489714146,
-0.043262775987386703,
0.03399761766195297,
-0.03580498695373535,
-0.034416165202856064,
-0.028271101415157318,
0.034263964742422104,
-0.011785967275500298,
0.044023774564266205,
0.13424016535282135,
0.010558856651186943,
-0.004147442989051342,
0.013108202256262302,
-0.027091553434729576,
-0.003319856710731983,
-0.02699642814695835,
0.05970034748315811,
-0.015866823494434357,
-0.021498212590813637,
-0.007462543435394764,
-0.014535075053572655,
0.05372650921344757,
0.0008192626410163939,
0.025227107107639313,
-0.05250890925526619,
0.021859686821699142,
0.008214029483497143,
-0.042882274836301804,
0.0258549302816391,
-0.009483946487307549,
-0.025493456050753593,
0.021479187533259392,
0.012632578611373901,
0.005507728084921837,
-0.02593103051185608,
-0.017902493476867676,
0.02442805841565132,
0.019234241917729378,
0.028271101415157318,
-0.007419737521559,
0.0532318577170372,
-0.02385730855166912,
0.0190535057336092,
-0.0785350650548935,
-0.02657787874341011,
0.024561233818531036,
-0.0266159288585186,
0.021650413051247597,
-0.022525561973452568,
0.054982155561447144,
0.02899404987692833,
-0.015752673149108887,
0.027947677299380302,
0.012309153564274311,
0.061564795672893524,
0.035291314125061035,
-0.02887990139424801,
-0.017560044303536415,
0.07294172793626785,
0.006335314363241196,
-0.018577881157398224,
0.022620685398578644,
-0.012118903920054436,
0.04813316836953163,
-0.015438760630786419,
0.025074906647205353,
0.03359809145331383,
-0.009008321911096573,
-0.03352199122309685,
-0.0344732403755188,
-0.0340927429497242,
-0.018920330330729485,
-0.06270629167556763,
-0.025227107107639313,
-0.03418786823749542,
0.010539831593632698,
-0.015676572918891907,
0.06917478144168854,
-0.018273482099175453,
0.008252079598605633,
-0.03451129049062729,
-0.020585015416145325,
0.037441134452819824,
0.003966705873608589,
-0.04048513248562813,
-0.03690843656659126,
-0.033293694257736206,
0.042996425181627274,
-0.007567180786281824,
-0.013850176706910133,
0.009669439867138863,
-0.006544588599354029,
0.024561233818531036,
-0.00020377524197101593,
-0.01476337481290102,
-0.013869200833141804,
-0.022925086319446564,
-0.007809749338775873,
0.008889416232705116,
-0.02026158943772316,
0.00260404241271317,
0.0016634955536574125,
0.025341257452964783,
-0.06270629167556763,
0.035139113664627075,
0.02998334914445877,
-0.04238762706518173,
0.0031105822417885065,
-0.0118715800344944,
-0.022810935974121094,
-0.015505348332226276,
0.001506539643742144,
0.027357902377843857,
0.022297261282801628,
0.013916763477027416,
-0.01476337481290102,
-0.0025469674728810787,
-0.021593337878584862,
0.03489179164171219,
0.050073713064193726,
-0.014030913822352886,
-0.056275852024555206,
-0.000864446978084743,
-0.0229821614921093,
0.0012675384059548378,
-0.002325802342966199,
-0.008784778416156769,
0.043719373643398285,
0.038544584065675735,
-0.00234363810159266,
-0.06080379709601402,
0.010901306755840778,
0.00009646252874517813,
-0.007329368498176336,
-0.035481564700603485,
-0.07229487597942352,
-0.014753862284123898,
0.02370510995388031,
0.008642091415822506,
-0.00489417277276516,
0.006026158574968576,
0.007871580310165882,
0.02653983049094677,
0.03407371789216995,
0.03707966208457947,
0.043262775987386703,
0.05338405817747116,
-0.0266159288585186,
-0.028423301875591278,
-0.05102496221661568,
-0.031105821952223778,
-0.032684892416000366,
-0.04573602229356766,
-0.03013554774224758,
0.0035814500879496336,
-0.06540783494710922,
-0.04082757979631424,
-0.01166230533272028,
0.020090365782380104,
-0.027586203068494797,
0.008703922852873802,
0.05753150209784508,
-0.025912005454301834,
-0.0077764554880559444,
0.031961943954229355,
-0.009365039877593517,
-0.01701783388853073,
0.026406655088067055,
-0.032114144414663315,
0.004722948186099529,
0.05106301233172417,
-0.0071058254688978195,
-0.04828536882996559,
0.018682517111301422,
-0.02653983049094677,
-0.038316283375024796,
0.027338877320289612,
-0.07119143009185791,
0.0674244835972786,
0.010311532765626907,
-0.013155764900147915,
0.035291314125061035,
0.10029962658882141,
0.0666254386305809,
-0.017636144533753395,
-0.020052315667271614,
0.013935788534581661,
-0.02378121018409729,
0.002058263635262847,
0.00009155765292234719,
0.02378121018409729,
0.016266347840428352,
-0.0371367372572422,
0.011186680756509304,
-0.005740784108638763,
-0.08135075867176056,
0.0027538640424609184,
-0.03677526116371155,
-0.0388680100440979,
-0.028347201645374298,
0.044670622795820236,
-0.024218782782554626,
-0.02638763003051281,
-0.011709867045283318,
-0.00030499399872496724,
0.0197288915514946,
-0.017664682120084763,
-0.04037098214030266,
0.028290126472711563,
-0.019405467435717583,
0.02282996103167534,
0.01363138947635889,
0.014715812169015408,
-0.03251367062330246,
0.011576692573726177,
-0.0070677753537893295,
-0.005750296637415886,
0.024256832897663116,
0.017189057543873787,
0.030706297606229782,
-0.003985730465501547,
0.061412595212459564,
-0.01342211477458477,
0.03175267204642296,
-0.024447083473205566,
-0.04181687906384468,
0.007015456911176443,
0.03182877227663994,
0.028975024819374084,
-0.0027942920569330454,
0.0628204420208931,
-0.03443519026041031,
0.044328175485134125,
-0.05970034748315811,
-0.021384064108133316,
-0.033407844603061676,
0.023001186549663544,
-0.016456596553325653,
0.03576694056391716,
0.03746015951037407,
-0.06285849213600159,
0.02336266078054905,
-0.02711057849228382,
0.0474863201379776,
-0.06761473417282104,
-0.011462543159723282,
0.04805706813931465,
0.05376455932855606,
0.007624255493283272,
0.01750296913087368,
0.05893934890627861,
0.028670625761151314,
-0.013973838649690151,
0.01028299517929554,
-0.04699166864156723,
-0.04193102940917015,
0.00524613494053483,
0.07686086744070053,
0.05266110971570015,
0.019595716148614883,
0.04554577171802521,
0.04056122899055481,
-0.012233054265379906,
0.029850173741579056,
-0.018587393686175346,
0.012632578611373901,
-0.014449463225901127,
-0.02359095960855484,
0.06263019144535065,
-0.012975027784705162,
-0.06457073986530304,
0.01179547980427742,
0.008565991185605526,
0.012565990909934044,
0.04010463133454323,
-0.0930701419711113,
-0.035101063549518585,
-0.07396907359361649,
0.008604041300714016,
0.026254454627633095,
0.01179547980427742,
0.02907015010714531,
-0.017151007428765297,
-0.04090368002653122,
-0.049731265753507614,
-0.06030914559960365,
0.09436383843421936,
-0.05197621136903763,
0.00028611766174435616,
0.024447083473205566,
-0.02539833076298237,
-0.023990483954548836,
-0.022316286340355873,
-0.06274434179067612,
0.006991675589233637,
0.022468486800789833,
0.03761235997080803,
0.05951009690761566,
0.049502965062856674,
0.02880380116403103,
-0.017369795590639114,
0.015438760630786419,
-0.045051123946905136,
-0.009288940578699112,
-0.0020392388105392456,
0.0024898925330489874,
0.04760046675801277,
-0.08431865274906158,
0.01020689494907856,
0.0035766938235610723,
-0.011395955458283424,
-0.03749820962548256,
0.03504398837685585,
-0.019024968147277832,
0.026064205914735794,
0.009189059026539326,
0.0539928562939167,
0.031200947239995003,
0.01969084143638611,
-0.009921520948410034,
-0.021441137418150902,
-0.01678002066910267,
-0.021802613511681557,
-0.0340927429497242,
-0.021498212590813637,
0.001450653770007193,
-0.013431627303361893,
0.02094648964703083,
-0.011082043871283531,
-0.0490083172917366,
0.0015303208492696285,
-0.030801422894001007,
-0.02271581068634987,
0.08370985835790634,
0.043262775987386703,
0.008290129713714123,
-0.044822823256254196,
-0.02922235056757927,
0.017445895820856094,
0.018815692514181137,
0.04360522702336311,
0.022411411628127098,
0.05140546336770058,
0.018720567226409912,
-0.031999994069337845,
-0.0037740778643637896,
-0.00008754457667237148,
-0.05353625863790512,
-0.01133888028562069,
-0.010720568709075451,
-0.013640902005136013,
0.0008222353062592447,
0.002066587097942829,
-0.03150534629821777,
-0.05136741325259209,
-0.05250890925526619,
0.035595715045928955,
-0.03375029191374779,
-0.025017831474542618,
-0.0013103446690365672,
0.020737214013934135,
-0.031238997355103493,
0.0781545639038086,
-0.07065872848033905,
0.04033293202519417,
0.01841616816818714,
-0.03957193344831467,
-0.10433292388916016,
-0.06571223586797714,
0.018473243340849876,
0.0666254386305809,
0.022221161052584648,
-0.05452555790543556,
-0.04581212252378464,
0.03622353821992874,
0.03369321674108505,
-0.001316289883106947,
0.044404275715351105,
0.015476810745894909,
-0.003305588150396943,
0.01032104529440403,
-0.05384065955877304,
0.04535552114248276,
-0.05346015840768814,
0.020356714725494385,
-0.022468486800789833,
-0.06457073986530304,
-0.022887036204338074,
-0.0471058189868927,
0.02680617943406105,
0.031999994069337845,
0.05970034748315811,
0.0035077284555882215,
0.0028014264535158873,
0.006544588599354029,
0.02446610853075981,
0.04721996933221817,
0.0486278161406517,
0.004083233419805765,
0.016494646668434143,
-0.03882995992898941,
-0.012813315726816654,
-0.02570273168385029,
0.05890129879117012,
0.03361711651086807,
0.017826395109295845,
-0.07914386689662933,
0.020166466012597084,
-0.03297026827931404,
0.03144827112555504,
-0.028023777529597282,
0.0019928652327507734,
-0.014145063236355782,
-0.006035671103745699,
0.0072057065553963184,
-0.0394577831029892,
-0.028385251760482788,
0.031353145837783813,
-0.03746015951037407,
-0.011319855228066444,
0.024732457473874092,
-0.05787394940853119,
0.007595718372613192,
-0.02071818895637989,
0.06266824156045914,
-0.001895362394861877,
0.013745538890361786,
-0.01610463485121727,
-0.07473006844520569,
-0.03424493968486786,
0.01087276916950941,
-0.08127465844154358,
0.05110106244683266,
-0.005555290263146162,
-0.03262782096862793,
-0.03017359785735607,
-0.055781204253435135,
0.009579070843756199,
0.009769320487976074,
0.009184302762150764,
-0.02052794024348259,
-0.011472055688500404,
-0.013717001304030418,
0.0035933407489210367,
-0.011738404631614685,
0.043262775987386703,
-0.04238762706518173,
-0.015353148803114891,
-0.05391675606369972,
0.031010696664452553,
0.005303209647536278,
0.007500593550503254,
-0.07400712370872498,
-0.038126036524772644,
-0.027890602126717567,
0.05958619713783264,
-0.01853031851351261,
-0.016542209312319756,
0.021155763417482376,
0.017978593707084656,
0.010406657122075558,
-0.02071818895637989,
0.07244707643985748,
0.01731272041797638,
0.021669438108801842,
-0.032190244644880295,
-0.0413602776825428,
0.04200712963938713,
-0.023724135011434555,
0.04619261994957924,
0.029013074934482574,
-0.055667053908109665,
0.005745540373027325,
0.027319854125380516,
0.012499403208494186,
-0.049617115408182144,
0.017864445224404335,
0.043871574103832245,
0.06483709067106247,
0.0009726514690555632,
0.00848989188671112,
0.005579071585088968,
-0.04775266721844673,
-0.002815695246681571,
0.03297026827931404,
0.0089560030028224,
0.01697978377342224,
0.02404755912721157,
-0.016618309542536736,
0.018311530351638794,
-0.031105821952223778,
-0.044556472450494766,
0.023952433839440346,
0.05844470113515854,
-0.035291314125061035,
-0.0035552908666431904,
-0.0007443518261425197,
-0.009521996602416039,
0.027966702356934547,
-0.03761235997080803,
-0.022373361513018608,
0.0388680100440979,
-0.0031058259773999453,
-0.030420923605561256,
0.05075861141085625,
0.015372173860669136,
0.03152437135577202
]
|
37,154 | youtube_transcript_api._errors | __init__ | null | def __init__(self, video_id, http_error):
self.reason = str(http_error)
super(YouTubeRequestFailed, self).__init__(video_id)
| (self, video_id, http_error) | [
-0.02715175785124302,
0.0193476602435112,
-0.047366540879011154,
0.0238458551466465,
-0.03130671754479408,
-0.038225628435611725,
-0.012112610973417759,
0.07189887017011642,
0.0646367222070694,
-0.0019442501943558455,
0.02240065298974514,
0.05574871972203255,
0.01736050471663475,
0.004751106258481741,
0.009028004482388496,
0.0328422449529171,
0.006918910890817642,
0.04881174489855766,
0.00699568772688508,
-0.0665154829621315,
-0.01816440001130104,
0.05473707616329193,
-0.05853073671460152,
0.037430766969919205,
-0.010748700238764286,
0.11041353642940521,
0.004823366180062294,
-0.0024500712752342224,
-0.0282356608659029,
-0.007009236142039299,
-0.004994984250515699,
0.011155163869261742,
-0.013042960315942764,
0.08584508299827576,
-0.05473707616329193,
0.012717789970338345,
-0.09841834753751755,
-0.003960760310292244,
-0.141413152217865,
0.021912895143032074,
-0.06329990923404694,
0.007871842011809349,
-0.0487394817173481,
-0.02135287970304489,
0.06550384312868118,
-0.023213578388094902,
-0.01790245622396469,
0.017441798001527786,
-0.0389120988547802,
-0.05867525562644005,
-0.05220797285437584,
0.03547974303364754,
0.00814281776547432,
-0.030006034299731255,
-0.03396227955818176,
0.10340429842472076,
0.00024952340754680336,
0.06832198798656464,
-0.002065060194581747,
0.011164195835590363,
-0.08273789286613464,
0.002741370117291808,
-0.02066640742123127,
0.06160179525613785,
-0.018128270283341408,
-0.023213578388094902,
-0.03622040897607803,
-0.009222203865647316,
-0.009303496219217777,
0.059686899185180664,
0.07833002507686615,
0.013765562325716019,
-0.07222403585910797,
-0.030385401099920273,
0.04913691431283951,
-0.013621041551232338,
-0.07955844700336456,
-0.02664593793451786,
-0.00450496980920434,
0.049751125276088715,
0.06304699927568436,
0.03855080157518387,
0.01286230981349945,
-0.011931960470974445,
0.021659985184669495,
-0.07688482105731964,
-0.029337627813220024,
-0.07991974800825119,
-0.07222403585910797,
0.01932959444820881,
-0.038370151072740555,
-0.05112406983971596,
-0.011841635219752789,
-0.00347977876663208,
-0.03520876541733742,
0.009836415760219097,
0.0002258130261907354,
-0.051882799714803696,
0.015075277537107468,
-0.06723808497190475,
0.03739463537931442,
-0.0485227033495903,
-0.02648335136473179,
-0.03880371153354645,
0.03378162905573845,
-0.03710559755563736,
0.01510237529873848,
-0.07092335820198059,
0.024821367114782333,
0.02106383815407753,
0.022454846650362015,
-0.003671719692647457,
-0.04595746845006943,
0.07413893193006516,
0.017261147499084473,
-0.02263549715280533,
0.02066640742123127,
-0.006562126334756613,
0.004832398612052202,
0.0002632132964208722,
0.029843449592590332,
0.010839025489985943,
-0.023520683869719505,
-0.005419512744992971,
0.04837818443775177,
0.02095544897019863,
-0.04480130597949028,
-0.016872748732566833,
0.05748296529054642,
-0.06600966304540634,
0.021009644493460655,
-0.004491420928388834,
-0.024333611130714417,
0.006449220236390829,
-0.004714976064860821,
0.0049543376080691814,
0.016086919233202934,
0.018751513212919235,
0.011462269350886345,
-0.016502415761351585,
-0.006842134520411491,
0.05181054025888443,
0.005410480313003063,
-0.0193476602435112,
0.03658170998096466,
0.003777851816266775,
0.008160882629454136,
-0.032643530517816544,
-0.010992578230798244,
-0.007334406953305006,
0.035841044038534164,
-0.055206768214702606,
0.047691710293293,
0.025399448350071907,
-0.03520876541733742,
0.008287337608635426,
0.011046772822737694,
-0.00010831968393176794,
0.005022081546485424,
0.010333203710615635,
0.04039343446493149,
-0.0771738588809967,
-0.0008434116607531905,
-0.0014971403870731592,
0.03808110952377319,
-0.012510041706264019,
0.05621841177344322,
0.03945405036211014,
-0.01723404973745346,
0.025236863642930984,
0.009064135141670704,
-0.00044089992297813296,
-0.02585107460618019,
-0.007203435525298119,
0.02464071661233902,
0.033311937004327774,
0.04848657175898552,
-0.040610212832689285,
-0.00324493320658803,
0.016375960782170296,
0.0016947267577052116,
0.04039343446493149,
-0.009782220236957073,
0.05170214921236038,
0.05498998984694481,
-0.006498898845165968,
0.013621041551232338,
0.06640709191560745,
-0.01530109066516161,
0.017712773755192757,
0.025814944878220558,
-0.0015129472594708204,
-0.011787439696490765,
0.024225221946835518,
0.02465878240764141,
-0.0003742850967682898,
0.04386192187666893,
0.007302793208509684,
0.047908492386341095,
0.07558413594961166,
-0.019275400787591934,
0.05556806921958923,
-0.017270179465413094,
-0.03195706009864807,
0.04136894643306732,
0.02915697731077671,
-0.004805301316082478,
-0.012699724175035954,
-0.034359708428382874,
-0.03775593638420105,
-0.04169411584734917,
0.035172637552022934,
0.009619634598493576,
0.008829289115965366,
-0.0051801507361233234,
-0.04729428142309189,
0.028994392603635788,
-0.008133784867823124,
0.03855080157518387,
0.025074278935790062,
0.03378162905573845,
-0.07186273485422134,
0.005211764480918646,
-0.04169411584734917,
0.0218587014824152,
0.03204738348722458,
0.04823366180062294,
-0.0466439388692379,
-0.0811481699347496,
0.0564713217318058,
-0.028596961870789528,
0.010297073982656002,
0.018914099782705307,
0.03141510859131813,
-0.03009635955095291,
0.058241695165634155,
0.010965480469167233,
-0.03006022982299328,
-0.08122042566537857,
-0.0506182461977005,
0.01577078178524971,
-0.02003413252532482,
-0.038514669984579086,
0.09928546845912933,
0.0078040980733931065,
-0.010306106880307198,
-0.029843449592590332,
0.10398238152265549,
-0.06832198798656464,
-0.00034097765455953777,
0.0010161586105823517,
0.002637496218085289,
-0.03374549746513367,
-0.033727433532476425,
0.012528106570243835,
-0.07991974800825119,
0.0037123661022633314,
-0.05011242628097534,
0.03880371153354645,
-0.0051801507361233234,
0.004484646487981081,
0.006318248342722654,
-0.035299092531204224,
0.052786052227020264,
-0.027205953374505043,
-0.03575071692466736,
-0.011299683712422848,
0.04104377701878548,
0.004891110118478537,
0.03587717190384865,
0.12638303637504578,
0.011733245104551315,
0.01565335877239704,
0.022725822404026985,
-0.026953043416142464,
-0.023827791213989258,
-0.024189092218875885,
0.02901245839893818,
-0.017676644027233124,
-0.0662987008690834,
0.019293464720249176,
-0.019510244950652122,
0.03190286457538605,
0.015075277537107468,
0.01802891120314598,
-0.02915697731077671,
0.039562441408634186,
0.025345254689455032,
-0.06225213408470154,
0.013106187805533409,
-0.01895022951066494,
-0.014605586417019367,
-0.011462269350886345,
0.041802506893873215,
0.012654561549425125,
0.02106383815407753,
-0.010829992592334747,
0.05126858875155449,
0.0021903864108026028,
0.03587717190384865,
-0.02688078209757805,
-0.006078886799514294,
-0.01001706626266241,
0.015743684023618698,
-0.050798896700143814,
-0.006322764791548252,
0.013539749197661877,
0.011940992437303066,
0.01680952124297619,
-0.014605586417019367,
0.07637900114059448,
0.04111603647470474,
-0.052424751222133636,
0.058241695165634155,
0.02637496218085289,
0.06304699927568436,
0.033438391983509064,
-0.039273399859666824,
-0.025941399857401848,
0.07435571402311325,
0.0012340681860223413,
-0.07558413594961166,
0.018110204488039017,
-0.02068447321653366,
0.08584508299827576,
-0.03658170998096466,
0.029482148587703705,
-0.004904658999294043,
-0.007487960159778595,
-0.013332000933587551,
-0.008084106259047985,
-0.013368130661547184,
0.004733040928840637,
-0.044187091290950775,
0.002553945407271385,
-0.056146152317523956,
-0.018877968192100525,
-0.02082899399101734,
0.04306706041097641,
-0.018209561705589294,
0.012636496685445309,
-0.03674429655075073,
-0.007104077842086554,
0.038225628435611725,
-0.0014531068736687303,
-0.05759135261178017,
-0.0416218563914299,
-0.06145727261900902,
0.00834153313189745,
-0.008445407263934612,
-0.04624650627374649,
-0.00014833093155175447,
-0.014768172055482864,
0.0315776951611042,
0.02783823013305664,
-0.003355581546202302,
-0.01775793544948101,
-0.01226616371423006,
-0.000009861678336164914,
-0.015716586261987686,
-0.02187676541507244,
0.018787642940878868,
-0.011832602322101593,
0.024983953684568405,
-0.029319563880562782,
0.016502415761351585,
-0.00499950023368001,
-0.026736261323094368,
0.028055010363459587,
-0.028271790593862534,
-0.009556407108902931,
-0.006245988421142101,
-0.02160578966140747,
0.01721598580479622,
0.004026246257126331,
0.006548577919602394,
-0.01669209823012352,
-0.002506524557247758,
-0.046318769454956055,
-0.005685972049832344,
0.022888408973813057,
-0.01736953854560852,
-0.0157888475805521,
-0.014054602943360806,
-0.011019675992429256,
-0.005460158921778202,
0.002955892588943243,
-0.01922120526432991,
0.04599359631538391,
0.04230832681059837,
-0.014298480935394764,
-0.027368538081645966,
0.021768376231193542,
0.018182463943958282,
0.005500805098563433,
-0.014424935914576054,
-0.02436974085867405,
-0.007058915216475725,
-0.005121439229696989,
-0.013079090043902397,
0.017730839550495148,
-0.012428749352693558,
-0.019799286499619484,
0.042886409908533096,
0.05867525562644005,
0.022743888199329376,
0.0495704747736454,
0.09075877070426941,
-0.04086312651634216,
-0.029735058546066284,
-0.016403058543801308,
-0.04678845778107643,
-0.06178244203329086,
-0.05708553269505501,
-0.025146538391709328,
0.014741074293851852,
-0.049209173768758774,
-0.005360801238566637,
0.0025923335924744606,
0.03647331893444061,
-0.005527902860194445,
0.012961667962372303,
0.033311937004327774,
-0.012130675837397575,
-0.04606585577130318,
0.025020083412528038,
0.039417922496795654,
-0.010035131126642227,
0.03672622889280319,
-0.056651972234249115,
-0.019817350432276726,
0.06214374303817749,
-0.005252411123365164,
-0.025110408663749695,
0.0071176267229020596,
-0.00908220000565052,
-0.044981956481933594,
0.022292261943221092,
-0.052930574864149094,
0.07457249611616135,
0.037177857011556625,
-0.03672622889280319,
0.021930960938334465,
0.06507027894258499,
0.069442018866539,
-0.004308512434363365,
-0.03580491244792938,
0.02106383815407753,
-0.017071465030312538,
-0.008002813905477524,
-0.018498603254556656,
0.021768376231193542,
0.019040554761886597,
-0.06134888157248497,
0.020991578698158264,
-0.003025894518941641,
-0.060734670609235764,
0.012726821936666965,
-0.010622244328260422,
-0.03790045902132988,
-0.0338900201022625,
0.03963470086455345,
-0.029735058546066284,
-0.018128270283341408,
-0.017532123252749443,
0.03311322256922722,
0.02066640742123127,
-0.010712569579482079,
-0.014957854524254799,
0.022346457466483116,
-0.0326254665851593,
0.009682862088084221,
0.018914099782705307,
0.02332196943461895,
0.0022434524726122618,
0.007528606336563826,
-0.0151114072650671,
-0.039273399859666824,
0.021659985184669495,
0.004425935447216034,
0.026555612683296204,
-0.011660984717309475,
0.07645125687122345,
-0.00045755362953059375,
0.021099969744682312,
-0.011959058232605457,
-0.013702334836125374,
0.011462269350886345,
0.0218587014824152,
0.05137697979807854,
0.0011279360624030232,
0.05025694519281387,
-0.05990368127822876,
0.00676084216684103,
-0.039815351366996765,
-0.0212264247238636,
-0.04494582489132881,
0.01867925375699997,
-0.02041349746286869,
0.018896033987402916,
0.036093953996896744,
-0.05947011709213257,
0.003373646643012762,
-0.05462868884205818,
0.039815351366996765,
-0.04588520526885986,
-0.03632880002260208,
0.03858692944049835,
0.004778203554451466,
0.02187676541507244,
0.003055250272154808,
0.03589523956179619,
0.005225313361734152,
-0.0018663447117432952,
0.0347210094332695,
-0.011371944099664688,
-0.03840627893805504,
0.00900993961840868,
0.04006826505064964,
0.03833401948213577,
0.03183060511946678,
0.04295866936445236,
0.059289466589689255,
-0.027729839086532593,
0.007216984406113625,
-0.04310319200158119,
-0.03311322256922722,
-0.01698113977909088,
-0.02440587244927883,
0.05484546720981598,
-0.011507431976497173,
-0.027729839086532593,
0.00391333969309926,
0.013422326184809208,
0.018751513212919235,
0.022183870896697044,
-0.07272985577583313,
-0.019275400787591934,
-0.06481736898422241,
-0.01960057020187378,
0.02214774116873741,
0.0064808339811861515,
0.021027708426117897,
-0.046318769454956055,
-0.07294663786888123,
-0.03309515863656998,
-0.04227219894528389,
0.11113613843917847,
-0.023105189204216003,
-0.01199518796056509,
0.01172421220690012,
-0.028036944568157196,
-0.03463068604469299,
-0.010504822246730328,
-0.08389405161142349,
-0.0022197419311851263,
0.007722805254161358,
0.006033724173903465,
0.06619031727313995,
0.043247710913419724,
0.030782831832766533,
0.004170766565948725,
-0.0022965185344219208,
-0.03880371153354645,
-0.029120847582817078,
0.0003319451352581382,
-0.007646028883755207,
0.022870343178510666,
-0.0485227033495903,
0.00375752872787416,
0.005329187493771315,
-0.038623061031103134,
-0.05708553269505501,
0.009294464252889156,
-0.02211161144077778,
0.01867925375699997,
-0.009971903637051582,
0.0604456290602684,
0.017468895763158798,
0.03938179090619087,
-0.0168366190046072,
-0.0067789070308208466,
0.03401647508144379,
-0.019365724176168442,
-0.04064634442329407,
-0.03217383846640587,
0.021930960938334465,
-0.016782423481345177,
0.0312705859541893,
0.003342032665386796,
-0.032679662108421326,
-0.00712214270606637,
-0.0554235503077507,
-0.020720602944493294,
0.055712588131427765,
0.027765968814492226,
0.010423528961837292,
-0.05303896218538284,
-0.04964273422956467,
0.01724308356642723,
0.03750302642583847,
0.05502611771225929,
0.0011426139390096068,
0.05498998984694481,
0.010306106880307198,
0.0060156588442623615,
-0.01855279877781868,
0.02003413252532482,
-0.04527099430561066,
-0.02200322039425373,
-0.018769579008221626,
-0.001467784633859992,
0.01816440001130104,
0.0020436078775674105,
-0.01530109066516161,
-0.013873952440917492,
-0.033582914620637894,
0.06456445902585983,
-0.038767579942941666,
-0.012329391203820705,
0.004389805253595114,
0.020196717232465744,
-0.028578896075487137,
0.07095948606729507,
-0.08454439789056778,
0.018345050513744354,
0.018363114446401596,
-0.024821367114782333,
-0.07413893193006516,
-0.054267387837171555,
0.020377367734909058,
0.04191089794039726,
-0.0004313028766773641,
-0.05231636017560959,
-0.029066652059555054,
0.01761341653764248,
0.0405740849673748,
0.0042678662575781345,
0.054411906749010086,
0.06348055601119995,
0.00427012424916029,
0.0036175246350467205,
-0.04003213346004486,
0.020503822714090347,
-0.007957651279866695,
0.0405740849673748,
-0.03804497793316841,
-0.043536752462387085,
0.00367849413305521,
-0.03728624805808067,
0.015852075070142746,
0.0036062339786440134,
0.0455961674451828,
0.014921724796295166,
0.007262147031724453,
0.021533530205488205,
0.026067854836583138,
0.05206345021724701,
0.02890406735241413,
-0.00009124257485382259,
0.018751513212919235,
-0.046318769454956055,
0.005509837996214628,
-0.01813730224967003,
0.017532123252749443,
0.040610212832689285,
0.019040554761886597,
-0.08866322785615921,
-0.02106383815407753,
-0.0376475490629673,
0.009091231971979141,
-0.03811723738908768,
0.015445610508322716,
0.01165195181965828,
-0.02014252170920372,
-0.0005859847879037261,
-0.06055402010679245,
-0.02597752958536148,
0.03573265299201012,
-0.0030823478009551764,
-0.01710759475827217,
0.011688082478940487,
-0.03575071692466736,
-0.0101435212418437,
-0.021822569891810417,
0.06199922412633896,
-0.021768376231193542,
0.034377776086330414,
-0.030114425346255302,
-0.0815817266702652,
-0.04505421593785286,
0.0019600570667535067,
-0.07045366615056992,
0.03141510859131813,
-0.03237255662679672,
-0.0017184371827170253,
-0.0344139039516449,
-0.059723030775785446,
0.02516460418701172,
0.03553393855690956,
-0.002517815213650465,
-0.018110204488039017,
-0.025525905191898346,
-0.004389805253595114,
0.00440787011757493,
-0.03349258750677109,
0.044042572379112244,
-0.03473907709121704,
-0.034793272614479065,
-0.06040950119495392,
0.021641921252012253,
-0.003034926950931549,
0.008228627033531666,
-0.03656364604830742,
-0.02968086488544941,
-0.016114016994833946,
0.0376475490629673,
-0.03522683307528496,
-0.0026916912756860256,
0.048558831214904785,
0.01192292757332325,
-0.02612205035984516,
0.014144928194582462,
0.09054198861122131,
0.034377776086330414,
0.00417302455753088,
-0.021804505959153175,
-0.020612213760614395,
0.061276622116565704,
-0.029120847582817078,
0.027856294065713882,
0.02043156325817108,
-0.059578508138656616,
-0.005338219925761223,
-0.004904658999294043,
0.00028607688727788627,
-0.0237374659627676,
0.03378162905573845,
0.06843037903308868,
0.06886394321918488,
-0.010622244328260422,
0.006078886799514294,
0.0193476602435112,
-0.03699720650911331,
-0.00947511475533247,
0.016204342246055603,
0.014605586417019367,
-0.0015287541318684816,
0.005356284789741039,
0.007135691586881876,
0.008865419775247574,
-0.030313139781355858,
-0.02942795306444168,
0.05498998984694481,
0.04451226443052292,
-0.015237863175570965,
-0.02225613221526146,
0.04888400435447693,
0.0298073198646307,
0.027802100405097008,
-0.029120847582817078,
-0.01132678147405386,
0.051232460886240005,
-0.006074370350688696,
-0.01828182302415371,
0.08201529085636139,
0.03190286457538605,
0.03652751445770264
]
|
37,156 | youtube_transcript_api._api | YouTubeTranscriptApi | null | class YouTubeTranscriptApi(object):
@classmethod
def list_transcripts(cls, video_id, proxies=None, cookies=None):
"""
Retrieves the list of transcripts which are available for a given video. It returns a `TranscriptList` object
which is iterable and provides methods to filter the list of transcripts for specific languages. While iterating
over the `TranscriptList` the individual transcripts are represented by `Transcript` objects, which provide
metadata and can either be fetched by calling `transcript.fetch()` or translated by calling
`transcript.translate('en')`. Example::
# retrieve the available transcripts
transcript_list = YouTubeTranscriptApi.get('video_id')
# iterate over all available transcripts
for transcript in transcript_list:
# the Transcript object provides metadata properties
print(
transcript.video_id,
transcript.language,
transcript.language_code,
# whether it has been manually created or generated by YouTube
transcript.is_generated,
# a list of languages the transcript can be translated to
transcript.translation_languages,
)
# fetch the actual transcript data
print(transcript.fetch())
# translating the transcript will return another transcript object
print(transcript.translate('en').fetch())
# you can also directly filter for the language you are looking for, using the transcript list
transcript = transcript_list.find_transcript(['de', 'en'])
# or just filter for manually created transcripts
transcript = transcript_list.find_manually_created_transcript(['de', 'en'])
# or automatically generated ones
transcript = transcript_list.find_generated_transcript(['de', 'en'])
:param video_id: the youtube video id
:type video_id: str
:param proxies: a dictionary mapping of http and https proxies to be used for the network requests
:type proxies: {'http': str, 'https': str} - http://docs.python-requests.org/en/master/user/advanced/#proxies
:param cookies: a string of the path to a text file containing youtube authorization cookies
:type cookies: str
:return: the list of available transcripts
:rtype TranscriptList:
"""
with requests.Session() as http_client:
if cookies:
http_client.cookies = cls._load_cookies(cookies, video_id)
http_client.proxies = proxies if proxies else {}
return TranscriptListFetcher(http_client).fetch(video_id)
@classmethod
def get_transcripts(cls, video_ids, languages=('en',), continue_after_error=False, proxies=None,
cookies=None, preserve_formatting=False):
"""
Retrieves the transcripts for a list of videos.
:param video_ids: a list of youtube video ids
:type video_ids: list[str]
:param languages: A list of language codes in a descending priority. For example, if this is set to ['de', 'en']
it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if it fails to
do so.
:type languages: list[str]
:param continue_after_error: if this is set the execution won't be stopped, if an error occurs while retrieving
one of the video transcripts
:type continue_after_error: bool
:param proxies: a dictionary mapping of http and https proxies to be used for the network requests
:type proxies: {'http': str, 'https': str} - http://docs.python-requests.org/en/master/user/advanced/#proxies
:param cookies: a string of the path to a text file containing youtube authorization cookies
:type cookies: str
:param preserve_formatting: whether to keep select HTML text formatting
:type preserve_formatting: bool
:return: a tuple containing a dictionary mapping video ids onto their corresponding transcripts, and a list of
video ids, which could not be retrieved
:rtype ({str: [{'text': str, 'start': float, 'end': float}]}, [str]}):
"""
assert isinstance(video_ids, list), "`video_ids` must be a list of strings"
data = {}
unretrievable_videos = []
for video_id in video_ids:
try:
data[video_id] = cls.get_transcript(video_id, languages, proxies, cookies, preserve_formatting)
except Exception as exception:
if not continue_after_error:
raise exception
unretrievable_videos.append(video_id)
return data, unretrievable_videos
@classmethod
def get_transcript(cls, video_id, languages=('en',), proxies=None, cookies=None, preserve_formatting=False):
"""
Retrieves the transcript for a single video. This is just a shortcut for calling::
YouTubeTranscriptApi.list_transcripts(video_id, proxies).find_transcript(languages).fetch()
:param video_id: the youtube video id
:type video_id: str
:param languages: A list of language codes in a descending priority. For example, if this is set to ['de', 'en']
it will first try to fetch the german transcript (de) and then fetch the english transcript (en) if it fails to
do so.
:type languages: list[str]
:param proxies: a dictionary mapping of http and https proxies to be used for the network requests
:type proxies: {'http': str, 'https': str} - http://docs.python-requests.org/en/master/user/advanced/#proxies
:param cookies: a string of the path to a text file containing youtube authorization cookies
:type cookies: str
:param preserve_formatting: whether to keep select HTML text formatting
:type preserve_formatting: bool
:return: a list of dictionaries containing the 'text', 'start' and 'duration' keys
:rtype [{'text': str, 'start': float, 'end': float}]:
"""
assert isinstance(video_id, str), "`video_id` must be a string"
return cls.list_transcripts(video_id, proxies, cookies).find_transcript(languages).fetch(preserve_formatting=preserve_formatting)
@classmethod
def _load_cookies(cls, cookies, video_id):
try:
cookie_jar = cookiejar.MozillaCookieJar()
cookie_jar.load(cookies)
if not cookie_jar:
raise CookiesInvalid(video_id)
return cookie_jar
except CookieLoadError:
raise CookiePathInvalid(video_id)
| () | [
0.02846621535718441,
-0.013050355948507786,
-0.08118885010480881,
-0.0017114810179919004,
-0.03265596181154251,
0.023634977638721466,
-0.04502473026514053,
-0.0026687076315283775,
0.05737345665693283,
0.022752925753593445,
-0.019635673612356186,
0.018092084676027298,
-0.02610071189701557,
-0.0067757610231637955,
-0.01329091563820839,
-0.008214106783270836,
-0.0017340335762128234,
0.057213082909584045,
-0.00043852004455402493,
-0.06691565364599228,
-0.0035307127982378006,
0.013651755638420582,
-0.030510971322655678,
0.003656004322692752,
-0.01176737155765295,
0.009787767194211483,
0.003713638288900256,
-0.013270868919789791,
-0.03927134722471237,
0.028165515512228012,
0.01342121884226799,
0.005049244966357946,
-0.008845576085150242,
0.018142201006412506,
-0.08199071884155273,
-0.003595864400267601,
-0.039291396737098694,
-0.020307237282395363,
-0.058776721358299255,
0.031312838196754456,
-0.04434314742684364,
0.013270868919789791,
0.06402893364429474,
-0.012278561480343342,
0.012749657034873962,
-0.0074874162673950195,
-0.06422940641641617,
0.02728346362709999,
-0.01960560493171215,
-0.038930557668209076,
0.05869653448462486,
0.008249188773334026,
0.03245549276471138,
-0.03039069101214409,
-0.015616324730217457,
0.023374371230602264,
-0.04626762121915817,
0.087403304874897,
0.022392086684703827,
-0.0013105485122650862,
-0.0006815854576416314,
-0.02896738052368164,
0.0035683002788573503,
0.0790238156914711,
0.012118187732994556,
0.020267143845558167,
0.0210289154201746,
-0.058135226368904114,
-0.028426121920347214,
0.008113873191177845,
0.04314034804701805,
-0.0072568804025650024,
-0.0060991873033344746,
-0.05516832694411278,
0.043661560863256454,
-0.015656419098377228,
-0.054647114127874374,
-0.04470398649573326,
-0.047590699046850204,
0.027764583006501198,
0.005653149913996458,
0.007697905879467726,
0.04374174773693085,
-0.003360316390171647,
0.09670494496822357,
-0.023875536397099495,
0.024196282029151917,
-0.05913756042718887,
-0.038309112191200256,
-0.010158630087971687,
-0.042538948357105255,
-0.02515852078795433,
0.010258862748742104,
-0.006003965623676777,
-0.057774387300014496,
-0.025699779391288757,
-0.01404266431927681,
-0.05625084415078163,
-0.06928115338087082,
-0.03788813203573227,
0.014032641425728798,
0.0414564311504364,
-0.01909441500902176,
-0.03177390992641449,
0.05304338410496712,
-0.034039177000522614,
-0.07854269444942474,
-0.015435905195772648,
0.010158630087971687,
0.032375309616327286,
-0.04502473026514053,
0.008459677919745445,
0.035803280770778656,
0.013401172123849392,
0.0766984075307846,
-0.05532870069146156,
-0.03289651870727539,
0.0280251894146204,
-0.07296973466873169,
-0.013932407833635807,
0.058215413242578506,
0.011206066235899925,
-0.014804436825215816,
0.02702285721898079,
-0.008404550142586231,
-0.028887193650007248,
0.0008482230477966368,
0.033738479018211365,
0.07385178655385971,
-0.0504373237490654,
0.01598718762397766,
-0.02752402424812317,
-0.002628614427521825,
0.043541282415390015,
0.0711655393242836,
0.009948140010237694,
0.011717255227267742,
0.030370645225048065,
-0.03901074081659317,
-0.009562242776155472,
-0.0037437081336975098,
-0.005572963040322065,
0.02217157371342182,
-0.005793476011604071,
-0.05937811732292175,
-0.062385112047195435,
-0.018683459609746933,
-0.06455014646053314,
-0.03233521431684494,
-0.07485412061214447,
0.037868086248636246,
-0.08122894912958145,
-0.03496132418513298,
-0.017771337181329727,
-0.03295665979385376,
-0.01904429867863655,
-0.019375069066882133,
0.012549190782010555,
-0.007026344072073698,
0.04955527186393738,
0.006219467148184776,
-0.00469842879101634,
-0.04598696902394295,
0.04015339910984039,
0.011777395382523537,
-0.01836271397769451,
0.07890353351831436,
-0.005021681077778339,
-0.014994879253208637,
0.050958532840013504,
0.044984638690948486,
0.0800662413239479,
-0.03662519529461861,
-0.011697208508849144,
0.026682065799832344,
0.03442006558179855,
0.024416795000433922,
-0.015245462767779827,
0.024857820942997932,
0.04249885678291321,
-0.06254548579454422,
-0.008875645697116852,
-0.03738696500658989,
0.016839168965816498,
0.05292310565710068,
0.02509838156402111,
0.042538948357105255,
0.046227529644966125,
0.013270868919789791,
-0.02241213247179985,
-0.03478090465068817,
-0.05236179754137993,
0.017691152170300484,
0.030510971322655678,
-0.03790817782282829,
-0.01979604735970497,
-0.014824483543634415,
0.03764757141470909,
-0.032355260103940964,
-0.010534504428505898,
-0.003538230201229453,
-0.0012917547719553113,
0.05937811732292175,
-0.03750724717974663,
0.006590329576283693,
0.01691935583949089,
-0.03163358196616173,
-0.00617937371134758,
-0.04314034804701805,
-0.03488113731145859,
0.0033778571523725986,
-0.0026185910683125257,
0.008840563707053661,
-0.06815854460000992,
0.009918070398271084,
-0.03383871167898178,
0.05119909346103668,
-0.0004357009893283248,
0.048232194036245346,
-0.004585666581988335,
0.034179504960775375,
-0.07593663781881332,
-0.034359924495220184,
-0.0020961258560419083,
0.0504373237490654,
-0.01742052100598812,
0.05897718667984009,
0.03153334930539131,
-0.031994421035051346,
-0.05685224384069443,
0.08980890363454819,
0.006465038284659386,
0.007146623916924,
0.002851633122190833,
0.0022752925287932158,
-0.005247205495834351,
0.01507506612688303,
0.008600004017353058,
0.03163358196616173,
0.008620050735771656,
0.035302117466926575,
0.0031322860158979893,
0.011947792023420334,
0.05937811732292175,
-0.06976227462291718,
0.06282614171504974,
0.02209138683974743,
0.038048505783081055,
0.004405247047543526,
-0.030370645225048065,
0.017500707879662514,
0.004695923067629337,
-0.017500707879662514,
-0.006545224692672491,
-0.004315037280321121,
-0.023314232006669044,
0.005247205495834351,
-0.023634977638721466,
0.034059226512908936,
-0.027143137529492378,
0.014082757756114006,
-0.02259255200624466,
-0.09173338115215302,
0.049274615943431854,
-0.020648028701543808,
-0.014182991348206997,
-0.007246857043355703,
0.02471749484539032,
-0.0711655393242836,
0.003490619594231248,
0.03456038981676102,
0.018934043124318123,
-0.007266903296113014,
-0.043661560863256454,
-0.020748263224959373,
0.009286601096391678,
0.007753034122288227,
-0.016869239509105682,
-0.046909116208553314,
-0.0341995507478714,
-0.04390212148427963,
0.020377399399876595,
0.03684570640325546,
-0.03852962329983711,
0.0829128623008728,
-0.0829128623008728,
-0.00563310319557786,
-0.005407578311860561,
-0.027383696287870407,
0.03862985596060753,
-0.03664524108171463,
-0.036925893276929855,
0.0476708859205246,
-0.012629376724362373,
0.009817836806178093,
0.008379491046071053,
-0.02796505019068718,
-0.055088140070438385,
0.03516178950667381,
-0.023434510454535484,
-0.022632645443081856,
0.03780794516205788,
0.04081493988633156,
0.020427515730261803,
-0.10769049823284149,
0.01942518539726734,
0.014032641425728798,
-0.014473667368292809,
0.06282614171504974,
-0.04095526412129402,
0.008494759909808636,
-0.039672281593084335,
0.039672281593084335,
0.03989279270172119,
-0.03672542795538902,
-0.0215902216732502,
0.009106181561946869,
0.02778462879359722,
-0.0025296341627836227,
0.035602815449237823,
0.011807464994490147,
0.0175307784229517,
0.07485412061214447,
0.01295012328773737,
0.133510559797287,
-0.08154968917369843,
0.005146972369402647,
0.00171649269759655,
0.03768766671419144,
-0.03331749886274338,
-0.03764757141470909,
0.0031773908995091915,
-0.028245702385902405,
0.018242433667182922,
-0.001732780598104,
0.001348135876469314,
-0.043100256472826004,
-0.012007931247353554,
0.07357113063335419,
-0.006059093866497278,
0.002686248393729329,
-0.07144618779420853,
-0.018142201006412506,
0.035101648420095444,
0.02146994136273861,
-0.004189745523035526,
0.016448259353637695,
-0.007367136422544718,
0.024517029523849487,
-0.034179504960775375,
0.0280251894146204,
0.013371102511882782,
0.04787135496735573,
0.04815200716257095,
-0.030731484293937683,
-0.06130259484052658,
0.0493147112429142,
-0.052722636610269547,
-0.03864990174770355,
-0.014182991348206997,
-0.0493147112429142,
0.041536618024110794,
-0.03844943642616272,
0.02596038579940796,
-0.04414267838001251,
-0.009136252105236053,
0.032676007598638535,
-0.04217810928821564,
0.033618200570344925,
-0.009782755747437477,
-0.003668533405289054,
0.022833112627267838,
0.01691935583949089,
-0.003490619594231248,
0.024637307971715927,
-0.03877018392086029,
0.03596365451812744,
0.008404550142586231,
-0.016408167779445648,
0.05236179754137993,
0.03139302134513855,
0.008509794250130653,
-0.029047567397356033,
0.008329374715685844,
0.011987884528934956,
-0.011175996623933315,
0.020317260175943375,
-0.03714640438556671,
0.022933345288038254,
0.034299783408641815,
0.007056413684040308,
-0.002469494240358472,
-0.0016676291124895215,
-0.024637307971715927,
-0.012940099462866783,
-0.03700608015060425,
-0.04554594308137894,
0.010845227167010307,
0.02577996626496315,
-0.011837535537779331,
0.017149891704320908,
0.01772122085094452,
0.029729152098298073,
0.04815200716257095,
0.016809100285172462,
0.004144640639424324,
0.09774737060070038,
0.007166670169681311,
0.002711306791752577,
0.01082518044859171,
-0.04843265935778618,
-0.03191423416137695,
-0.027243370190262794,
0.006705597974359989,
-0.04775107279419899,
0.0375673845410347,
-0.09373804181814194,
0.03219489008188248,
-0.02027716673910618,
0.046107251197099686,
-0.020948728546500206,
-0.017179962247610092,
0.007036367431282997,
-0.011526812799274921,
-0.009662475436925888,
0.013862244784832,
0.011436603032052517,
-0.008640097454190254,
-0.043220534920692444,
-0.06791798025369644,
0.05913756042718887,
-0.019635673612356186,
-0.019314927980303764,
-0.06386856734752655,
0.05701261758804321,
0.0515599325299263,
-0.02964896708726883,
0.015295579098165035,
-0.013581591658294201,
0.03470071777701378,
0.009116205386817455,
0.0215902216732502,
-0.005628091283142567,
0.012499074451625347,
0.033437781035900116,
-0.019114462658762932,
-0.05123918876051903,
0.013351055793464184,
-0.013812128454446793,
0.007577626500278711,
-0.021209334954619408,
0.0986294224858284,
0.02241213247179985,
-0.015636371448636055,
0.028165515512228012,
0.011877628043293953,
0.03488113731145859,
0.050597693771123886,
-0.038609810173511505,
-0.03883032128214836,
0.026080666109919548,
0.014062711037695408,
0.052401892840862274,
0.009882988408207893,
0.008294293656945229,
0.014563877135515213,
-0.04995620250701904,
-0.009617370553314686,
-0.05516832694411278,
-0.003678556764498353,
0.012258514761924744,
0.045666225254535675,
-0.03862985596060753,
-0.01108578685671091,
0.030751530081033707,
-0.00015081957099027932,
-0.0035808293614536524,
-0.060460638254880905,
0.022111432626843452,
-0.010915390215814114,
0.02752402424812317,
-0.020367376506328583,
0.025379033759236336,
-0.010293944738805294,
0.005708278156816959,
-0.028386028483510017,
0.046668555587530136,
-0.03856971859931946,
-0.020688122138381004,
0.007948488928377628,
0.011586952023208141,
0.05488767474889755,
0.016879262402653694,
0.04530538618564606,
-0.052161332219839096,
-0.04751051217317581,
0.01342121884226799,
0.03381866589188576,
0.045225199311971664,
-0.022432180121541023,
0.06571285426616669,
-0.019866211339831352,
0.026200946420431137,
-0.022211667150259018,
0.0520811453461647,
0.01235874742269516,
-0.06098185107111931,
0.055208418518304825,
-0.026000479236245155,
0.00022583782265428454,
-0.03145316243171692,
0.03171376883983612,
-0.00323001341894269,
-0.03676551952958107,
0.014223083853721619,
-0.04374174773693085,
-0.05067788064479828,
0.03720654547214508,
0.041536618024110794,
0.020627982914447784,
-0.00796352420002222,
0.08916740864515305,
0.027985095977783203,
-0.019826117902994156,
0.007201752159744501,
0.028546402230858803,
-0.08355435729026794,
-0.012208397500216961,
-0.03626435250043869,
0.021369708701968193,
-0.023454558104276657,
-0.04755060747265816,
-0.025379033759236336,
-0.000701005628798157,
-0.000674067938234657,
-0.0040293727070093155,
-0.05897718667984009,
-0.04051423817873001,
0.043340813368558884,
0.03915106877684593,
0.04015339910984039,
0.03528206795454025,
-0.014583923853933811,
-0.03201446682214737,
-0.019866211339831352,
-0.014443596825003624,
0.0011263700434938073,
0.09886997938156128,
-0.01690933294594288,
0.0812690407037735,
0.040614474564790726,
-0.02896738052368164,
0.026561785489320755,
-0.015776697546243668,
-0.05701261758804321,
-0.038228925317525864,
-0.007843243889510632,
-0.010935436934232712,
0.015395811758935452,
0.039792560040950775,
0.06643453240394592,
0.0007442311616614461,
-0.0807478278875351,
-0.032375309616327286,
-0.003959209658205509,
0.008324363268911839,
0.05504804849624634,
0.04462379962205887,
-0.035302117466926575,
0.0031172509770840406,
0.030510971322655678,
0.022752925753593445,
-0.03774780407547951,
0.014744296669960022,
-0.05885690823197365,
0.03413940966129303,
-0.023494651541113853,
-0.016809100285172462,
0.050036389380693436,
0.002086102496832609,
0.027062950655817986,
-0.0037487198133021593,
0.02852635458111763,
-0.03594360873103142,
0.052281610667705536,
-0.005838580895215273,
0.057894669473171234,
0.00827424693852663,
0.05869653448462486,
-0.010248839855194092,
-0.036545008420944214,
0.08563920110464096,
-0.020427515730261803,
0.028726821765303612,
0.06643453240394592,
0.06222474202513695,
0.012759679928421974,
0.035302117466926575,
-0.038108643144369125,
-0.04177717864513397,
-0.029388360679149628,
0.02146994136273861,
0.009642429649829865,
-0.00013507982657756656,
0.023755256086587906,
0.005217135418206453,
-0.03514174371957779,
-0.05192077159881592,
-0.008219118230044842,
-0.023695116862654686,
-0.042418669909238815,
-0.01761096529662609,
0.012779726646840572,
-0.05400562286376953,
0.013160612434148788,
-0.006204431876540184,
-0.0677977055311203,
0.06559257209300995,
-0.013962478376924992,
-0.030290458351373672,
0.026621924713253975,
0.025138475000858307,
-0.048833590000867844,
0.05316366255283356,
-0.08660144358873367,
0.012228444218635559,
-0.00786329060792923,
-0.014303270727396011,
-0.034039177000522614,
0.012188351713120937,
0.030350597575306892,
-0.00970758032053709,
0.057172991335392,
0.02766435034573078,
0.013170636259019375,
0.020086724311113358,
0.019826117902994156,
-0.05288301035761833,
0.046107251197099686,
0.028365982696413994,
-0.035683002322912216,
0.030731484293937683,
0.0067757610231637955,
0.04570631682872772,
-0.009872965514659882,
0.013972501270473003,
-0.0048663197085261345,
-0.015305601991713047,
0.02427646890282631,
-0.016588587313890457,
-0.008589981123805046,
0.0498359240591526,
0.02940840646624565,
0.020627982914447784,
-0.04935480281710625,
-0.0020259625744074583,
0.01860327273607254,
-0.002368008252233267,
0.058576252311468124,
0.009782755747437477,
0.07016320526599884,
-0.0215902216732502,
-0.043781839311122894,
-0.054647114127874374,
0.0367053784430027,
-0.03257577493786812,
-0.03734687343239784,
0.009717604145407677,
0.05332403630018234,
0.00854988768696785,
0.07838232815265656,
-0.0010530746076256037,
0.035983700305223465,
0.000502418668475002,
-0.006399886682629585,
0.01728019490838051,
-0.014263177290558815,
-0.04099535942077637,
0.02253241278231144,
-0.013631708920001984,
-0.027684396132826805,
0.03271609917283058,
-0.007497439626604319,
0.032054562121629715,
-0.06703592836856842,
0.014694180339574814,
0.0018142201006412506,
-0.030671345070004463,
-0.020627982914447784,
-0.05147974565625191,
-0.012027977965772152,
0.06290632486343384,
-0.07292964309453964,
-0.019675767049193382,
0.057213082909584045,
-0.0013205717550590634,
-0.01878369227051735,
-0.0341995507478714,
0.001325583434663713,
-0.017149891704320908,
-0.0068008191883563995,
-0.0392112098634243,
0.01598718762397766,
0.012058048509061337,
-0.021630313247442245,
-0.016769006848335266,
-0.006720632780343294,
-0.02335432358086109,
-0.0470694862306118,
-0.03365829214453697,
0.03147320821881294,
0.01990630477666855,
0.06246529892086983,
-0.004382694605737925,
-0.013531475327908993,
-0.0047284988686442375,
0.03259582072496414,
0.018432876095175743,
0.052161332219839096,
0.016578562557697296,
0.043100256472826004,
-0.01847296953201294,
-0.007216786965727806,
0.08708256483078003,
0.008474713191390038,
0.031312838196754456,
-0.002053526695817709,
-0.007432288024574518,
0.031192556023597717,
-0.02684243768453598,
-0.011957814916968346,
0.04670864716172218,
-0.045786503702402115,
-0.027203276753425598,
-0.03421959653496742,
-0.05568953976035118,
-0.0026561785489320755,
-0.016057351604104042,
-0.0454256646335125,
0.002851633122190833,
-0.04999629780650139,
-0.023675071075558662,
0.0067607262171804905,
-0.013591615483164787,
0.0016601115930825472,
-0.017831478267908096,
0.02545922063291073,
-0.009637417271733284,
0.01672891341149807,
-0.008414573036134243,
0.030972043052315712,
-0.0016601115930825472,
-0.07693896442651749,
-0.010654783807694912,
0.035101648420095444,
0.026561785489320755,
-0.02047763206064701,
0.02321399748325348,
-0.023514697328209877,
0.002304109511896968,
-0.06956180930137634,
0.004959035199135542,
0.029428454115986824,
0.008234153501689434,
-0.02108905464410782,
0.020768309012055397,
0.013361078687012196,
0.050357136875391006
]
|
37,162 | ipinfo.handler_async | AsyncHandler |
Allows client to request data for specified IP address asynchronously.
Instantiates and maintains access to cache.
| class AsyncHandler:
"""
Allows client to request data for specified IP address asynchronously.
Instantiates and maintains access to cache.
"""
def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup aiohttp
self.httpsess = None
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
async def init(self):
"""
Initializes internal aiohttp connection pool.
This isn't _required_, as the pool is initialized lazily when needed.
But in case you require non-lazy initialization, you may await this.
This is idempotent.
"""
await self._ensure_aiohttp_ready()
async def deinit(self):
"""
Deinitialize the async handler.
This is required in case you need to let go of the memory/state
associated with the async handler in a long-running process.
This is idempotent.
"""
if self.httpsess:
await self.httpsess.close()
self.httpsess = None
async def getDetails(self, ip_address=None, timeout=None):
"""Get details for specified IP address as a Details object."""
self._ensure_aiohttp_ready()
# If the supplied IP address uses the objects defined in the built-in
# module ipaddress, extract the appropriate string notation before
# formatting the URL.
if isinstance(ip_address, IPv4Address) or isinstance(
ip_address, IPv6Address
):
ip_address = ip_address.exploded
# check if bogon.
if ip_address and is_bogon(ip_address):
details = {"ip": ip_address, "bogon": True}
return Details(details)
# check cache first.
try:
cached_ipaddr = self.cache[cache_key(ip_address)]
return Details(cached_ipaddr)
except KeyError:
pass
# not in cache; do http req
url = API_URL
if ip_address:
url += "/" + ip_address
headers = handler_utils.get_headers(self.access_token, self.headers)
req_opts = {}
if timeout is not None:
req_opts["timeout"] = timeout
async with self.httpsess.get(url, headers=headers, **req_opts) as resp:
if resp.status == 429:
raise RequestQuotaExceededError()
if resp.status >= 400:
error_response = await resp.json()
error_code = resp.status
raise APIError(error_code, error_response)
details = await resp.json()
# format & cache
handler_utils.format_details(
details,
self.countries,
self.eu_countries,
self.countries_flags,
self.countries_currencies,
self.continents,
)
self.cache[cache_key(ip_address)] = details
return Details(details)
async def getBatchDetails(
self,
ip_addresses,
batch_size=None,
timeout_per_batch=BATCH_REQ_TIMEOUT_DEFAULT,
timeout_total=None,
raise_on_fail=True,
):
"""
Get details for a batch of IP addresses at once.
There is no specified limit to the number of IPs this function can
accept; it can handle as much as the user can fit in RAM (along with
all of the response data, which is at least a magnitude larger than the
input list).
The input list is broken up into batches to abide by API requirements.
The batch size can be adjusted with `batch_size` but is clipped to
`BATCH_MAX_SIZE`.
Defaults to `BATCH_MAX_SIZE`.
For each batch, `timeout_per_batch` indicates the maximum seconds to
spend waiting for the HTTP request to complete. If any batch fails with
this timeout, the whole operation fails.
Defaults to `BATCH_REQ_TIMEOUT_DEFAULT` seconds.
`timeout_total` is a seconds-denominated hard-timeout for the time
spent in HTTP operations; regardless of whether all batches have
succeeded so far, if `timeout_total` is reached, the whole operation
will fail by raising `TimeoutExceededError`.
Defaults to being turned off.
`raise_on_fail`, if turned off, will return any result retrieved so far
rather than raise an exception when errors occur, including timeout and
quota errors.
Defaults to on.
The concurrency level is currently unadjustable; coroutines will be
created and consumed for all batches at once.
"""
self._ensure_aiohttp_ready()
if batch_size is None:
batch_size = BATCH_MAX_SIZE
result = {}
# Pre-populate with anything we've got in the cache, and keep around
# the IPs not in the cache.
lookup_addresses = []
for ip_address in ip_addresses:
# If the supplied IP address uses the objects defined in the
# built-in module ipaddress extract the appropriate string notation
# before formatting the URL.
if isinstance(ip_address, IPv4Address) or isinstance(
ip_address, IPv6Address
):
ip_address = ip_address.exploded
try:
cached_ipaddr = self.cache[cache_key(ip_address)]
result[ip_address] = cached_ipaddr
except KeyError:
lookup_addresses.append(ip_address)
# all in cache - return early.
if not lookup_addresses:
return result
# do start timer if necessary
if timeout_total is not None:
start_time = time.time()
# loop over batch chunks and prepare coroutines for each.
url = API_URL + "/batch"
headers = handler_utils.get_headers(self.access_token, self.headers)
headers["content-type"] = "application/json"
# prepare coroutines that will make reqs and update results.
reqs = [
self._do_batch_req(
lookup_addresses[i : i + batch_size],
url,
headers,
timeout_per_batch,
raise_on_fail,
result,
)
for i in range(0, len(lookup_addresses), batch_size)
]
try:
_, pending = await asyncio.wait(
{*reqs},
timeout=timeout_total,
return_when=asyncio.FIRST_EXCEPTION,
)
# if all done, return result.
if not pending:
return result
# if some had a timeout, first cancel timed out stuff and wait for
# cleanup. then exit with return_or_fail.
for co in pending:
try:
| (access_token=None, **kwargs) | [
-0.01218882855027914,
-0.047339703887701035,
-0.12066003680229187,
0.0003913097898475826,
-0.021879520267248154,
0.004905196838080883,
-0.06599245965480804,
-0.01068994589149952,
-0.0007520434446632862,
-0.1051715835928917,
0.002053156727924943,
0.033141955733299255,
0.01700815185904503,
-0.0020141233690083027,
0.025085462257266045,
0.0541263110935688,
0.046090636402368546,
-0.0120118772611022,
0.008504075929522514,
-0.08039838820695877,
0.0056624445132911205,
0.034057941287755966,
0.013708529062569141,
-0.010460950434207916,
0.007660954724997282,
0.0415523499250412,
0.022524872794747353,
-0.02285795658826828,
0.05466757342219353,
0.010455746203660965,
0.0584564134478569,
0.014770236797630787,
0.009826007299125195,
0.03886685520410538,
-0.007999244146049023,
-0.03536946326494217,
0.021483981981873512,
-0.0031486940570175648,
-0.09759390354156494,
0.010304816998541355,
-0.004665791988372803,
-0.053751587867736816,
-0.028645308688282967,
-0.016258710995316505,
0.009211882017552853,
0.00628697918727994,
-0.05441775918006897,
0.0047880965285003185,
0.03666016459465027,
-0.012501095421612263,
-0.02221260406076908,
-0.018413353711366653,
0.009659464471042156,
0.04342595487833023,
0.04779769480228424,
0.04813078045845032,
-0.04896349087357521,
0.029498839750885963,
-0.007390323095023632,
0.0030107758939266205,
-0.05999693274497986,
-0.018423764035105705,
0.01978733018040657,
0.009638646617531776,
-0.030331552028656006,
0.0008197013521566987,
-0.0376594215631485,
0.0021910746581852436,
-0.020942717790603638,
-0.041531533002853394,
0.05862295627593994,
0.01856948807835579,
0.004134937655180693,
-0.03255905583500862,
0.009227494709193707,
0.008649800904095173,
-0.036556076258420944,
-0.007452776655554771,
-0.01220964640378952,
0.008415600284934044,
0.009914482943713665,
0.007202962879091501,
0.04375904053449631,
-0.08626901358366013,
0.06978130340576172,
-0.0671166256070137,
0.027437875047326088,
-0.0017760195769369602,
-0.04342595487833023,
-0.01571744680404663,
-0.038159050047397614,
0.011075075715780258,
-0.0130944037809968,
0.0037992505822330713,
0.0015977669972926378,
-0.014208156615495682,
-0.00535538187250495,
-0.042801421135663986,
-0.01327135507017374,
-0.014728602021932602,
0.010492176748812199,
-0.03847131505608559,
0.03412039205431938,
0.0065680197440087795,
0.008910023607313633,
-0.07244598120450974,
0.014843099750578403,
0.024398475885391235,
0.0007500917417928576,
-0.025814086198806763,
-0.04692334681749344,
-0.009180654771625996,
0.004728245548903942,
0.00029795491718687117,
-0.004767278674989939,
0.03888767212629318,
0.00016475346637889743,
0.02354494482278824,
-0.028603672981262207,
0.0031591029837727547,
-0.024481745436787605,
-0.03666016459465027,
0.004767278674989939,
0.01701856032013893,
0.03264232724905014,
0.017518188804388046,
-0.027812596410512924,
0.015072095207870007,
-0.0015522281173616648,
-0.03770105540752411,
-0.019110750406980515,
0.024315204471349716,
0.011116711422801018,
0.06849060207605362,
0.03372485563158989,
0.03705570474267006,
-0.04554937034845352,
0.01970405876636505,
-0.028291406109929085,
0.022504054009914398,
-0.004304082598537207,
-0.021879520267248154,
-0.01253232266753912,
-0.06545119732618332,
0.07436122000217438,
-0.051544900983572006,
0.009544966742396355,
-0.03514046594500542,
-0.016602205112576485,
-0.09051584452390671,
0.02891593985259533,
0.008852774277329445,
-0.03187206760048866,
0.04704825207591057,
-0.024794014170765877,
-0.0022001825273036957,
-0.02835385873913765,
0.01866316795349121,
-0.0005825734697282314,
-0.018600715324282646,
-0.0255434550344944,
0.015072095207870007,
0.001721372827887535,
-0.08272998034954071,
-0.022712232545018196,
-0.007463185582309961,
-0.006260956637561321,
-0.03307950124144554,
-0.014947189018130302,
0.03389139845967293,
-0.04213524982333183,
0.01648770645260811,
-0.0363687165081501,
-0.0020011120941489935,
0.014468379318714142,
0.030935266986489296,
0.026875793933868408,
-0.016310755163431168,
-0.009529353119432926,
-0.0014650535304099321,
-0.013063176535069942,
-0.02775014191865921,
-0.039470572024583817,
0.019162794575095177,
-0.03051891177892685,
0.04904676228761673,
0.038950126618146896,
-0.0035988790914416313,
0.06774115562438965,
0.05662444606423378,
-0.05258579179644585,
0.026417803019285202,
0.06990621238946915,
-0.051753077656030655,
0.037076521664857864,
-0.03528619185090065,
-0.017341237515211105,
-0.002626947592943907,
0.04346758872270584,
-0.017861682921648026,
-0.05745716020464897,
0.01192860584706068,
0.05004601925611496,
0.015498860739171505,
-0.02000591717660427,
-0.007494411896914244,
-0.028291406109929085,
-0.014926371164619923,
-0.040719639509916306,
0.06965639442205429,
-0.08693517744541168,
0.030227461829781532,
0.0007546456763520837,
0.05187798663973808,
0.03272559866309166,
0.04169807583093643,
0.0036066859029233456,
0.07773371040821075,
0.048297323286533356,
0.007562070153653622,
0.06216198578476906,
-0.08868387341499329,
-0.028374677523970604,
-0.005269508343189955,
0.026938248425722122,
0.023711487650871277,
0.00012767173757310957,
0.06990621238946915,
0.024086207151412964,
0.013156856410205364,
0.018517443910241127,
0.04226015880703926,
0.05841477960348129,
0.011158347129821777,
0.02008918859064579,
-0.03930402919650078,
-0.02562672644853592,
0.02735460363328457,
0.03822150081396103,
0.005839396268129349,
0.016831200569868088,
0.01766391284763813,
0.017091423273086548,
-0.08023184537887573,
-0.05966384708881378,
-0.011637156829237938,
-0.01177247241139412,
0.019121160730719566,
0.008701845072209835,
-0.030227461829781532,
-0.03459920361638069,
0.014249792322516441,
-0.011481023393571377,
-0.03130998834967613,
-0.03193452209234238,
-0.08372923731803894,
0.0111479377374053,
-0.029540473595261574,
0.028020774945616722,
-0.0030992517713457346,
0.0008548313635401428,
0.04688171297311783,
-0.03824232146143913,
0.033620767295360565,
-0.045049745589494705,
0.02939474955201149,
0.0497962050139904,
-0.028582856059074402,
-0.04917167127132416,
0.026917429640889168,
0.05916421860456467,
0.05316869169473648,
0.017133058980107307,
-0.03191370517015457,
-0.023919666185975075,
0.02935311384499073,
0.009321175515651703,
0.008321920409798622,
-0.09975895285606384,
-0.0372430644929409,
0.02779177762567997,
0.010991804301738739,
-0.009857233613729477,
-0.055000659078359604,
0.015217820182442665,
-0.05908094719052315,
-0.022004427388310432,
0.054750844836235046,
0.02100517228245735,
0.024918919429183006,
-0.0013869866961613297,
-0.04384231194853783,
0.0024786207359284163,
-0.009263926185667515,
-0.04194789007306099,
-0.018590305000543594,
-0.041364990174770355,
0.008347942493855953,
-0.02056799829006195,
-0.03545273467898369,
-0.05674935504794121,
0.012907043099403381,
0.08785116672515869,
-0.015332317911088467,
0.035910725593566895,
0.003624901408329606,
-0.0004199342802166939,
-0.004559100605547428,
-0.022545689716935158,
0.025834903120994568,
0.021359074860811234,
-0.041240084916353226,
0.03780514746904373,
-0.05883113667368889,
0.017174694687128067,
0.013854253105819225,
0.00560519564896822,
0.057082440704107285,
0.028770215809345245,
0.01861112378537655,
-0.07398650050163269,
0.06682517379522324,
0.035910725593566895,
-0.003650923725217581,
0.033662401139736176,
-0.02433602139353752,
0.044966474175453186,
0.043009597808122635,
-0.024960555136203766,
0.015176184475421906,
-0.016872836276888847,
-0.031143445521593094,
-0.06391067802906036,
0.008597755804657936,
0.012043103575706482,
0.016935288906097412,
-0.012886225245893002,
-0.0035338234156370163,
0.03407875820994377,
-0.03953302279114723,
0.02754196524620056,
0.006849059835076332,
-0.01403120532631874,
0.06112109497189522,
-0.03630626201629639,
-0.07207126170396805,
0.06499321013689041,
0.014843099750578403,
0.0029457202181220055,
-0.015509269200265408,
0.004566907417029142,
-0.042364247143268585,
0.05537537857890129,
0.0822719931602478,
0.09043256938457489,
-0.040761273354291916,
-0.001053901738487184,
-0.09850988537073135,
0.00532415509223938,
-0.006463930476456881,
-0.05329359695315361,
-0.016008896753191948,
-0.025397729128599167,
0.04313450679183006,
-0.009128610603511333,
-0.022275058552622795,
0.06174562871456146,
-0.01166838314384222,
0.012376189231872559,
-0.041802164167165756,
-0.0645352154970169,
-0.008738276548683643,
0.010190318338572979,
0.02814568020403385,
0.017559824511408806,
-0.03701406717300415,
-0.036556076258420944,
-0.005849805194884539,
-0.07598501443862915,
0.10617084056138992,
0.017601460218429565,
0.007405936252325773,
0.008092924021184444,
-0.013614848256111145,
0.04005346819758415,
-0.05408467352390289,
0.034266117960214615,
0.005652035586535931,
0.014020795933902264,
0.023107770830392838,
0.037596967071294785,
0.015561314299702644,
0.028520401567220688,
-0.022066880017518997,
-0.012636411935091019,
-0.017944954335689545,
0.026605162769556046,
0.02631371282041073,
0.0038044550456106663,
-0.07802515476942062,
0.002776575507596135,
-0.0008138463017530739,
0.05008765310049057,
0.05450103059411049,
-0.00507434131577611,
0.004689211957156658,
0.0770675390958786,
-0.04355086013674736,
0.025564271956682205,
0.036035630851984024,
-0.05100363865494728,
-0.04074045643210411,
0.007327869534492493,
-0.028416313230991364,
-0.049379847943782806,
0.019672831520438194,
-0.03449511528015137,
0.01640443503856659,
0.013750164769589901,
0.0328921414911747,
0.03874194622039795,
0.02822895161807537,
-0.020411863923072815,
-0.006411885842680931,
-0.014530831947922707,
-0.036556076258420944,
0.014884735457599163,
-0.008566529490053654,
-0.05225270614027977,
-0.00012092221004422754,
0.0010064110392704606,
0.007905564270913601,
-0.02566836215555668,
-0.016935288906097412,
0.03208024799823761,
0.026480255648493767,
-0.008753890171647072,
0.019318928942084312,
0.05683262646198273,
-0.021150896325707436,
-0.013916706666350365,
0.032017793506383896,
-0.013489942066371441,
0.015457225032150745,
0.031372442841529846,
-0.007239393889904022,
-0.026938248425722122,
0.008129355497658253,
0.05466757342219353,
-0.031622257083654404,
-0.05762370303273201,
0.011199982836842537,
0.010877306573092937,
0.037388790398836136,
-0.014291428029537201,
0.01231373567134142,
0.024002935737371445,
0.03994937986135483,
-0.058164965361356735,
-0.023586580529808998,
0.014770236797630787,
-0.0002626622444950044,
0.0714467316865921,
-0.01597766950726509,
-0.03272559866309166,
-0.0014845702098682523,
0.04009510576725006,
0.050379104912281036,
-0.012917451560497284,
-0.0011677490547299385,
-0.075318843126297,
-0.009810393676161766,
-0.019381381571292877,
-0.012126374989748001,
0.007452776655554771,
-0.023794759064912796,
0.01134570688009262,
0.020932309329509735,
-0.005959098692983389,
-0.05329359695315361,
0.07552701979875565,
-0.021671341732144356,
0.08264671266078949,
-0.01231373567134142,
0.040115922689437866,
-0.028811851516366005,
0.03874194622039795,
0.00013141243834979832,
-0.015165776014328003,
-0.04380067437887192,
-0.035348642617464066,
-0.016633430495858192,
0.007088464684784412,
0.03056054748594761,
0.005165419541299343,
0.003770626150071621,
-0.0018696996849030256,
0.028541220352053642,
0.06732480227947235,
-0.029852742329239845,
0.026292895898222923,
-0.019985098391771317,
0.0433010496199131,
0.0025840108282864094,
0.03849213197827339,
0.056083183735609055,
-0.040282465517520905,
0.0011670985259115696,
-0.0255434550344944,
-0.010091434232890606,
-0.032538238912820816,
-0.008243853226304054,
0.03280887007713318,
-0.0238155759871006,
-0.008800730109214783,
0.03886685520410538,
-0.036472804844379425,
0.00397359998896718,
-0.014447561465203762,
-0.001747395028360188,
0.08543629944324493,
0.060330018401145935,
0.017341237515211105,
0.004392558243125677,
-0.03564009442925453,
0.05841477960348129,
0.04975457116961479,
-0.012480277568101883,
-0.03676425665616989,
0.004275457933545113,
-0.04261406138539314,
0.007614114321768284,
0.025772450491786003,
-0.004254640080034733,
0.02454419992864132,
-0.025397729128599167,
-0.010512994602322578,
-0.04363413155078888,
-0.02951965667307377,
-0.004356127232313156,
0.02342003770172596,
0.11199982464313507,
-0.016040123999118805,
-0.09143182635307312,
-0.030747907236218452,
-0.015790309756994247,
0.019058706238865852,
0.050504010170698166,
0.014072840102016926,
-0.03616053983569145,
0.009789575822651386,
-0.024398475885391235,
0.08818425238132477,
-0.051836349070072174,
-0.04908839985728264,
-0.0801069363951683,
-0.007426754105836153,
-0.0333293154835701,
-0.01679997332394123,
-0.014718192629516125,
0.03297541290521622,
-0.0025215575005859137,
-0.07569356262683868,
-0.02766687050461769,
-0.04380067437887192,
0.04375904053449631,
-0.016310755163431168,
0.05662444606423378,
0.025043826550245285,
0.0037576148752123117,
-0.004795903339982033,
-0.020661678165197372,
0.0111479377374053,
-0.0129903145134449,
-0.06703335046768188,
0.014145703054964542,
-0.02791668474674225,
-0.04559100791811943,
0.08360432833433151,
-0.01108548417687416,
0.046132270246744156,
-0.004819323308765888,
-0.007093669380992651,
-0.05291887745261192,
0.05300214886665344,
0.03476574644446373,
-0.006880286615341902,
0.05545864999294281,
0.07348687201738358,
0.013063176535069942,
-0.026646798476576805,
0.018777666613459587,
0.007629727944731712,
-0.007733816746622324,
0.020932309329509735,
0.09576193243265152,
-0.05071219056844711,
0.021796248853206635,
-0.021098852157592773,
0.008910023607313633,
-0.007655750028789043,
0.05146162956953049,
-0.04771442338824272,
-0.03536946326494217,
0.009539762511849403,
0.02181706577539444,
-0.0346408374607563,
-0.03786759823560715,
0.024356840178370476,
-0.04049064218997955,
-0.0007312256493605673,
-0.012917451560497284,
0.0541263110935688,
0.011585111729800701,
-0.035827454179525375,
0.01246986910700798,
-0.04638208448886871,
0.058081693947315216,
-0.005907054059207439,
-0.10900206118822098,
0.007666158955544233,
-0.05612482130527496,
0.004173971246927977,
0.011293662711977959,
-0.04554937034845352,
0.014239382930099964,
0.026605162769556046,
0.000529878365341574,
-0.08297979831695557,
0.03597317636013031,
0.023753123357892036,
0.019860191270709038,
0.030019283294677734,
0.043092869222164154,
0.07344523817300797,
0.019849782809615135,
0.05508393049240112,
0.032829686999320984,
-0.034828197211027145,
-0.019298112019896507,
-0.02233751118183136,
-0.032059431076049805,
-0.015613358467817307,
-0.0036379124503582716,
-0.01700815185904503,
0.0038486928679049015,
-0.01225128211081028,
-0.0032840098720043898,
0.09692773222923279,
0.00045311267604120076,
-0.02329513058066368,
0.06682517379522324,
0.0069479444064199924,
0.008707049302756786,
-0.015176184475421906,
0.023607397451996803,
-0.06482666730880737,
-0.005147203803062439,
0.015498860739171505,
-0.06416049599647522,
-0.010752399452030659,
0.024398475885391235,
-0.017039379104971886,
-0.03720143064856529,
-0.011158347129821777,
-0.028291406109929085,
-0.032704781740903854,
-0.053793225437402725,
0.02277468517422676,
0.05191962048411369,
-0.0052252705208957195,
-0.030747907236218452,
-0.004319695755839348,
0.04758951812982559,
0.00260222633369267,
0.02051595412194729,
-0.00677619781345129,
-0.03372485563158989,
-0.03514046594500542,
0.021754613146185875,
0.04042819142341614,
0.006578428205102682,
-0.02843713015317917,
0.03393303230404854,
-0.009139019064605236,
-0.01830926537513733,
0.009102588519454002,
-0.012001467868685722,
0.0054959021508693695,
-0.007822292856872082,
0.0342036634683609,
-0.0022756471298635006,
0.028936758637428284,
0.0406780019402504,
-0.038762763142585754,
-0.006339023821055889,
-0.023919666185975075,
-0.02325349487364292,
0.01961037889122963,
0.01231373567134142,
0.004494044929742813,
-0.05233597755432129,
-0.0008353146840818226,
-0.053876496851444244,
0.0009758349042385817,
0.05125345289707184,
-0.053918130695819855,
0.037992507219314575,
-0.01784086413681507,
0.0644935816526413,
0.045133017003536224,
-0.014187338761985302,
0.05346013978123665,
-0.010086230002343655,
-0.007161327172070742,
0.052669063210487366,
-0.021796248853206635,
-0.005558355711400509,
-0.005207055248320103,
0.04488320276141167,
-0.018860938027501106,
0.036993250250816345,
0.019849782809615135,
-0.020630450919270515,
-0.021504798904061317,
-0.01242823339998722,
0.008613369427621365,
-0.008561325259506702,
0.026605162769556046,
0.049463119357824326,
0.019495880231261253,
0.03039400465786457,
-0.05737388879060745,
-0.029665380716323853,
-0.023211859166622162,
-0.06515975296497345,
0.04121926799416542,
-0.03051891177892685,
-0.02502300962805748,
0.029727835208177567,
-0.030373187735676765,
-0.09109874069690704,
-0.010570243932306767,
0.03899176046252251,
-0.046090636402368546,
0.022566508501768112,
0.03276723623275757,
0.002223602496087551,
-0.0010714667150750756,
-0.0009667270933277905,
0.0229412280023098,
0.045257922261953354,
-0.02650107443332672,
0.041448261588811874,
0.032496605068445206,
-0.022150151431560516,
0.0005025549908168614,
-0.005641627125442028,
0.02775014191865921,
0.022524872794747353,
-0.03720143064856529,
-0.012022285722196102,
0.0020700711756944656,
0.014457969926297665,
-0.034349389374256134,
-0.02506464533507824,
0.005761329550296068,
0.042447518557310104
]
|
37,163 | ipinfo.handler_async | __init__ |
Initialize the Handler object with country name list and the
cache initialized.
| def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup aiohttp
self.httpsess = None
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
| (self, access_token=None, **kwargs) | [
-0.06336312741041183,
-0.04959924891591072,
-0.08786354213953018,
-0.011748580262064934,
-0.004145004786550999,
0.0035421750508248806,
-0.06420797109603882,
0.0280733872205019,
-0.013191851787269115,
-0.04136204347014427,
0.04315733164548874,
0.05445709079504013,
-0.026066888123750687,
-0.003491572570055723,
0.004057000391185284,
0.013499867171049118,
0.014467914588749409,
0.01953696459531784,
-0.002329915063455701,
-0.07177634537220001,
-0.018392909318208694,
-0.004910642746835947,
-0.01014690101146698,
0.025697268545627594,
0.0025279249530285597,
0.004270411096513271,
-0.0019866982474923134,
-0.013640673831105232,
0.055759552866220474,
-0.004910642746835947,
0.037102632224559784,
0.010155702009797096,
-0.029569460079073906,
0.0740644559264183,
-0.015119146555662155,
-0.052732203155756,
0.012804633006453514,
0.006089900620281696,
-0.1705172210931778,
-0.009055647067725658,
-0.023250749334692955,
-0.0379122719168663,
-0.0026445307303220034,
0.0036411797627806664,
-0.005139453802257776,
0.011854185722768307,
-0.05561874806880951,
0.03426889330148697,
0.07093150168657303,
-0.04259410500526428,
-0.02772136963903904,
0.009662877768278122,
0.0032539607491344213,
0.02105063945055008,
0.009117250330746174,
0.0760357528924942,
-0.02578527294099331,
0.05206337198615074,
-0.014934337697923183,
0.05660439655184746,
-0.058399684727191925,
-0.029569460079073906,
0.03298402950167656,
0.0024311200249940157,
-0.010842135176062584,
0.01757446862757206,
-0.03608178347349167,
0.012206203304231167,
0.005324263125658035,
-0.019149746745824814,
0.05607637017965317,
-0.006063499487936497,
-0.013411862775683403,
0.011722179129719734,
0.012892636470496655,
0.0014971739146858454,
-0.08779313415288925,
-0.010217304341495037,
-0.03419848904013634,
0.03865151107311249,
-0.008488018997013569,
-0.06765773892402649,
-0.02562686614692211,
-0.03456810861825943,
0.04738153889775276,
-0.042840518057346344,
0.04234769195318222,
-0.06639047712087631,
-0.022546714171767235,
0.030519908294081688,
-0.07906310260295868,
0.022071490064263344,
-0.03706743195652962,
0.009020445868372917,
-0.011678176932036877,
0.0006000796565786004,
-0.0010225005680695176,
-0.01604319177567959,
-0.019800977781414986,
0.005033848807215691,
0.01673842780292034,
-0.028865426778793335,
-0.013438263908028603,
0.03152315691113472,
0.03300163149833679,
-0.025310050696134567,
0.03023829311132431,
-0.031787171959877014,
0.0327904187142849,
-0.013772680424153805,
-0.03168156370520592,
-0.05142974108457565,
0.031558357179164886,
0.03287842497229576,
-0.00410320283845067,
-0.0009647476836107671,
0.010164502076804638,
0.035412948578596115,
-0.008171203546226025,
0.01646561361849308,
-0.032315194606781006,
0.011651775799691677,
0.005781885702162981,
0.03023829311132431,
0.05882210657000542,
0.01895613595843315,
0.012672626413404942,
-0.019501762464642525,
0.010085297748446465,
-0.004347414709627628,
0.03601137921214104,
0.0108245350420475,
0.037278641015291214,
0.001982297981157899,
-0.002688532928004861,
0.03331844508647919,
0.016712024807929993,
0.0006385815213434398,
-0.0060943011194467545,
0.055653948336839676,
-0.010226105339825153,
-0.03583537042140961,
0.0002975646930281073,
-0.055301930755376816,
0.05333063378930092,
-0.00900284480303526,
0.00097849837038666,
-0.05368265137076378,
-0.01401029247790575,
-0.061638243496418,
0.06632007658481598,
0.016280803829431534,
-0.04819118231534958,
0.04569185897707939,
-0.06938263028860092,
-0.035694561898708344,
-0.04650149866938591,
0.04590306803584099,
-0.019290553405880928,
0.036926623433828354,
-0.021543463692069054,
0.031611163169145584,
-0.030572710558772087,
-0.055301930755376816,
-0.006771934684365988,
-0.035060930997133255,
0.012100597843527794,
-0.030449504032731056,
-0.002805138472467661,
0.029023833572864532,
-0.03277282044291496,
-0.01936095580458641,
-0.0490008220076561,
0.010956541635096073,
0.013851883821189404,
0.008549622260034084,
0.006142703350633383,
-0.02157866582274437,
-0.012804633006453514,
-0.02001218870282173,
0.015022342093288898,
-0.04055240377783775,
-0.07695100456476212,
0.03300163149833679,
0.0036763816606253386,
0.0470295250415802,
0.045938268303871155,
0.013367860578000546,
0.03189277648925781,
0.07019226998090744,
-0.013121448457241058,
0.004230808932334185,
0.009363662451505661,
-0.06315191835165024,
0.020082592964172363,
-0.016659222543239594,
0.0327904187142849,
-0.04241809621453285,
-0.025943681597709656,
-0.018568918108940125,
-0.06322232633829117,
0.009838885627686977,
0.024518011137843132,
-0.016175199300050735,
0.008646426722407341,
0.05487951263785362,
0.03585297241806984,
0.021842679008841515,
-0.050972118973731995,
0.02597888372838497,
-0.06786895543336868,
0.0011198553256690502,
-0.013543869368731976,
0.02117384597659111,
-0.00467743119224906,
0.02029380202293396,
-0.031558357179164886,
0.05519632622599602,
0.05157054588198662,
0.015286355279386044,
0.07191715389490128,
-0.021015437319874763,
-0.029622264206409454,
-0.03224479407072067,
0.03794747591018677,
0.000933396106120199,
0.01649201475083828,
0.04101002588868141,
-0.06829137355089188,
-0.0013321657897904515,
-0.03356485813856125,
0.036750614643096924,
0.03960195556282997,
-0.011528569273650646,
0.010745330713689327,
-0.023197945207357407,
0.0670241117477417,
0.015779178589582443,
-0.008589223958551884,
0.01202139351516962,
0.05502031743526459,
-0.0000737723967176862,
0.005051449406892061,
-0.04012998193502426,
-0.04579746350646019,
0.023057138547301292,
-0.009425265714526176,
0.0012903637252748013,
0.0021022038999944925,
-0.005209857597947121,
-0.02127945050597191,
0.016580019146203995,
-0.03995397314429283,
-0.006054698955267668,
0.005847888998687267,
-0.07533171772956848,
0.027826974168419838,
-0.002409118926152587,
0.011546170338988304,
-0.008932441473007202,
-0.005487070884555578,
-0.013966290280222893,
-0.017108045518398285,
0.034409698098897934,
-0.03245600312948227,
0.017213650047779083,
0.06695371121168137,
-0.025362852960824966,
-0.024729222059249878,
-0.00953087117522955,
0.03229759633541107,
0.07652857899665833,
0.007801585365086794,
-0.002893142867833376,
0.0036279791966080666,
-0.01335905957967043,
0.028935829177498817,
-0.002521324437111616,
-0.1068020761013031,
0.021332254633307457,
0.03484972193837166,
-0.018375307321548462,
0.03543055057525635,
0.020152995362877846,
-0.025239646434783936,
-0.03245600312948227,
-0.009134851396083832,
0.05952614173293114,
0.029023833572864532,
-0.021490661427378654,
0.008404415100812912,
0.04414298012852669,
-0.009759682230651379,
0.04108043015003204,
-0.005337463691830635,
-0.0544922910630703,
-0.02157866582274437,
0.041150834411382675,
0.04090442135930061,
0.009363662451505661,
-0.04357975348830223,
-0.0008442917023785412,
0.10081777721643448,
-0.03437449783086777,
0.03282562270760536,
-0.014353509061038494,
0.007493569981306791,
0.033723264932632446,
0.017160847783088684,
0.040094781666994095,
0.04308692738413811,
-0.023233147338032722,
0.03310723602771759,
-0.018040891736745834,
-0.004923843313008547,
0.039989177137613297,
0.007599175442010164,
0.036645010113716125,
0.021138643845915794,
0.043720558285713196,
-0.0666016936302185,
0.04829678684473038,
0.002472922205924988,
-0.008140401914715767,
0.04421338438987732,
-0.02346195839345455,
0.06089900806546211,
0.017794478684663773,
0.0002619504521135241,
-0.030203092843294144,
-0.04171406105160713,
-0.022775525227189064,
-0.05216897651553154,
-0.005830287933349609,
-0.02198348566889763,
0.033195238560438156,
-0.018868131563067436,
-0.006446318235248327,
0.028284598141908646,
-0.01583198271691799,
-0.006595925893634558,
-0.04086921736598015,
-0.0472407341003418,
0.0672353208065033,
-0.08047117292881012,
-0.0652640238404274,
0.05502031743526459,
-0.011704578064382076,
0.018463311716914177,
-0.010991742834448814,
-0.043368540704250336,
-0.036926623433828354,
0.123276486992836,
0.07927431911230087,
0.0940590500831604,
-0.048507995903491974,
-0.016201600432395935,
-0.059033315628767014,
-0.017609670758247375,
0.002056001452729106,
0.00935486238449812,
-0.004589426796883345,
-0.031100736930966377,
0.03404008224606514,
0.0028733420185744762,
-0.04329814016819,
0.06463038921356201,
0.00467743119224906,
0.010718929581344128,
-0.07469809055328369,
-0.015435962937772274,
-0.028865426778793335,
-0.0023453158792108297,
0.04245329648256302,
0.02092743292450905,
-0.024993235245347023,
-0.0049414439126849174,
0.009126050397753716,
-0.08737071603536606,
0.059737350791692734,
0.024658817797899246,
0.051042523235082626,
0.0012958639999851584,
0.02671811915934086,
0.01102694496512413,
-0.04896561801433563,
0.02379637584090233,
0.03358246013522148,
0.02865421585738659,
0.022898731753230095,
0.031734365969896317,
-0.011792582459747791,
-0.015576769597828388,
-0.019202549010515213,
-0.01599038951098919,
-0.0018678922206163406,
-0.021596265956759453,
0.047346338629722595,
0.02064581960439682,
-0.01565597392618656,
0.0451638326048851,
-0.04101002588868141,
0.037701062858104706,
0.04731113836169243,
-0.007986394688487053,
0.005306662060320377,
0.07857028394937515,
0.004367215558886528,
0.05942053720355034,
0.023532362654805183,
-0.03409288451075554,
-0.017160847783088684,
-0.011035745032131672,
-0.012100597843527794,
-0.08582183718681335,
-0.0025807274505496025,
-0.028038185089826584,
0.006314312107861042,
-0.03018549084663391,
0.032843220978975296,
0.038334693759679794,
0.03340645134449005,
-0.003964595962315798,
-0.02520444430410862,
0.029604662209749222,
-0.04445979744195938,
0.005429868120700121,
-0.017970487475395203,
-0.03854590281844139,
-0.027914978563785553,
-0.020505012944340706,
0.0380178764462471,
-0.04812077805399895,
-0.04924723133444786,
0.04917683079838753,
0.026366101577878,
-0.03198077902197838,
-0.02321554720401764,
0.006023897789418697,
0.01184538472443819,
-0.03316003829240799,
-0.017028842121362686,
-0.01797928847372532,
0.011686976999044418,
0.0035619759000837803,
-0.013702277094125748,
-0.07659898698329926,
0.011370161548256874,
0.05153534561395645,
-0.06082860380411148,
-0.06448958814144135,
0.03514893725514412,
-0.02532765083014965,
-0.002144005848094821,
-0.016606420278549194,
0.0066179269924759865,
0.011968591250479221,
0.037701062858104706,
-0.0435093492269516,
-0.03374086692929268,
-0.011871786788105965,
-0.018586518242955208,
0.11123749613761902,
-0.04280531406402588,
0.038334693759679794,
0.06367994844913483,
0.03316003829240799,
0.030308697372674942,
-0.010375712998211384,
-0.024253997951745987,
-0.08631466329097748,
0.019642570987343788,
-0.035641759634017944,
-0.030819121748209,
0.012206203304231167,
-0.020276201888918877,
-0.019642570987343788,
-0.022828327491879463,
-0.01438871119171381,
-0.038757115602493286,
0.07371243834495544,
0.04020038619637489,
0.05107772350311279,
0.014019092544913292,
0.03484972193837166,
-0.06480640172958374,
0.04871920496225357,
-0.0036697813775390387,
0.018040891736745834,
-0.04660710319876671,
-0.01631600596010685,
0.013403061777353287,
-0.03036149963736534,
-0.009874087758362293,
0.026524510234594345,
0.044776611030101776,
0.004329814109951258,
0.020205797627568245,
0.04315733164548874,
-0.045938268303871155,
0.012267805635929108,
-0.012047795578837395,
-0.0006930342642590404,
-0.0008167903288267553,
-0.011651775799691677,
0.020276201888918877,
-0.06948823481798172,
-0.04086921736598015,
-0.03314243629574776,
0.008263608440756798,
-0.03094232827425003,
0.010111699812114239,
0.0013849684037268162,
-0.022124292328953743,
0.02724614553153515,
0.047874365001916885,
-0.04861360043287277,
0.00172598531935364,
-0.04995126649737358,
0.03632819280028343,
0.05713242292404175,
0.03208638355135918,
0.07807745784521103,
0.02654211036860943,
-0.012760630808770657,
0.037806667387485504,
0.019695373252034187,
0.007427567150443792,
0.01958976686000824,
0.009319660253822803,
-0.04277011379599571,
-0.041502851992845535,
-0.012065395712852478,
0.053893864154815674,
0.033424049615859985,
-0.008567223325371742,
-0.017310455441474915,
-0.059631746262311935,
0.00786758866161108,
-0.00414280453696847,
0.01049891859292984,
0.03836989402770996,
-0.028619013726711273,
-0.07371243834495544,
-0.04072841256856918,
-0.07336042076349258,
0.007189955096691847,
0.01853371597826481,
0.04709992557764053,
-0.009979693219065666,
0.01643921248614788,
-0.03935554251074791,
0.08828596025705338,
-0.042136482894420624,
-0.0035971777979284525,
-0.04688871651887894,
-0.04829678684473038,
-0.026295699179172516,
-0.008061198517680168,
0.006195506080985069,
0.01441511232405901,
0.00767837930470705,
-0.10567562282085419,
0.013174250721931458,
-0.05414027348160744,
0.01953696459531784,
0.009478067979216576,
0.039285141974687576,
0.017680073156952858,
0.03703222796320915,
0.03414568677544594,
-0.007506771013140678,
0.004098802339285612,
0.024834826588630676,
-0.06927702575922012,
0.016421610489487648,
0.012250205501914024,
-0.030871925875544548,
0.08194965124130249,
-0.004747834522277117,
0.024694019928574562,
-0.0034849720541387796,
-0.00005005247294320725,
-0.019220149144530296,
-0.01641281135380268,
0.003924993798136711,
0.056181974709033966,
0.03208638355135918,
0.10102899372577667,
0.01441511232405901,
-0.06431357562541962,
-0.014327107928693295,
0.01765367202460766,
0.006604726426303387,
-0.003154955804347992,
0.05815327167510986,
-0.04294612258672714,
-0.03321284055709839,
-0.025239646434783936,
0.00729556055739522,
-0.031153539195656776,
0.048402391374111176,
-0.05533713474869728,
0.0003553175483830273,
0.018621720373630524,
0.016201600432395935,
-0.05470350384712219,
0.006380315404385328,
-0.009310860186815262,
-0.013983890414237976,
-0.009900488890707493,
-0.024306800216436386,
0.05519632622599602,
0.01198619231581688,
-0.010402114130556583,
-0.0108773373067379,
-0.0131566496565938,
0.03293122723698616,
0.0008321910863742232,
-0.0434037446975708,
-0.028671815991401672,
-0.04329814016819,
-0.02409559115767479,
0.05702681839466095,
-0.0562523789703846,
-0.02344435825943947,
0.07128351926803589,
-0.013992691412568092,
-0.09236936271190643,
0.03345925360918045,
0.02877742238342762,
-0.005707081872969866,
-0.02316274493932724,
-0.030836723744869232,
0.05586516112089157,
0.0596669465303421,
0.03650420159101486,
0.035113733261823654,
0.00691714184358716,
0.0053022620268166065,
-0.0007909390842542052,
-0.0003003148303832859,
0.03847550228238106,
0.008633226156234741,
-0.03900352492928505,
0.04935283958911896,
-0.03643380105495453,
0.012646224349737167,
0.06755213439464569,
-0.024694019928574562,
-0.029939079657197,
0.04203087463974953,
0.026049286127090454,
0.033952075988054276,
-0.017636071890592575,
-0.001382768270559609,
-0.01216220110654831,
-0.0013288656482473016,
0.04076361283659935,
-0.05269700288772583,
-0.018586518242955208,
0.01795288734138012,
0.054069869220256805,
-0.035641759634017944,
-0.012593422085046768,
-0.06367994844913483,
-0.01657121814787388,
-0.05326022952795029,
0.02450041100382805,
0.030502306297421455,
-0.01649201475083828,
0.013218252919614315,
0.005491471383720636,
0.04326293617486954,
0.006230707745999098,
0.030836723744869232,
0.011889386922121048,
-0.05480910837650299,
0.0154095608741045,
0.040798816829919815,
0.01070132851600647,
0.029499057680368423,
0.0307135172188282,
0.007709180936217308,
-0.025257248431444168,
0.01958976686000824,
-0.0035751766990870237,
0.0050294483080506325,
-0.006230707745999098,
-0.004607027396559715,
0.00345197063870728,
-0.019220149144530296,
-0.007616776041686535,
0.022071490064263344,
0.0006814836524426937,
-0.022669920697808266,
-0.035940974950790405,
-0.031188741326332092,
-0.008870838209986687,
0.045304637402296066,
0.017917685210704803,
-0.05818847566843033,
0.03509613499045372,
-0.06325752288103104,
-0.008615626022219658,
0.01072772964835167,
-0.02233550325036049,
0.0018040891736745834,
-0.029094237834215164,
0.03671541437506676,
0.027334149926900864,
-0.014142299070954323,
0.05181695893406868,
0.047627951949834824,
-0.01694083772599697,
0.04801517352461815,
-0.026190094649791718,
0.05040888860821724,
0.016157597303390503,
0.01444151345640421,
-0.0235675647854805,
-0.013781480491161346,
-0.011625374667346478,
0.019378557801246643,
0.03141755238175392,
-0.04210127890110016,
-0.010085297748446465,
-0.025943681597709656,
0.006340713240206242,
0.0028161390218883753,
-0.009821285493671894,
-0.04108043015003204,
-0.06839697808027267,
-0.022722722962498665,
-0.0325264073908329,
-0.07441647350788116,
0.02467641979455948,
0.014406311325728893,
0.0014300706097856164,
0.08096399903297424,
-0.00921405479311943,
-0.04037639498710632,
0.02819659374654293,
0.03738424554467201,
-0.02983347326517105,
0.02303953841328621,
0.013464665040373802,
-0.046818312257528305,
-0.006657528690993786,
0.07490929961204529,
0.012505417689681053,
0.03171676769852638,
0.02935825102031231,
0.05392906442284584,
-0.011440564878284931,
-0.033424049615859985,
-0.038757115602493286,
-0.0009124950738623738,
0.0014267704682424664,
0.012787031941115856,
-0.04935283958911896,
-0.023180345073342323,
-0.005011847708374262,
-0.01403669361025095,
0.04871920496225357,
0.01830490492284298,
0.060687799006700516,
-0.00939006358385086
]
|
37,164 | ipinfo.handler_async | _do_batch_req |
Coroutine which will do the actual POST request for getBatchDetails.
| def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup aiohttp
self.httpsess = None
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
| (self, chunk, url, headers, timeout_per_batch, raise_on_fail, result) | [
-0.06332503259181976,
-0.04956178367137909,
-0.08792992681264877,
-0.011712843552231789,
-0.004182215314358473,
0.003478212747722864,
-0.06427543610334396,
0.028142504394054413,
-0.01321764849126339,
-0.04132495075464249,
0.043155357241630554,
0.054384201765060425,
-0.026048095896840096,
-0.0035024129319936037,
0.004056815057992935,
0.013569650240242481,
0.01445845328271389,
0.01953607238829136,
-0.0023738087620586157,
-0.07177306711673737,
-0.018409667536616325,
-0.004954418167471886,
-0.010120037011802197,
0.02569609507918358,
0.0025014092680066824,
0.004250415600836277,
-0.0020130074117332697,
-0.013648849911987782,
0.05582740530371666,
-0.004914817865937948,
0.037100937217473984,
0.01013763714581728,
-0.02965610846877098,
0.0740610733628273,
-0.015127255581319332,
-0.052694592624902725,
0.012777647003531456,
0.006120422389358282,
-0.1705094277858734,
-0.00905523356050253,
-0.02323208563029766,
-0.03787533938884735,
-0.002642209641635418,
0.0036872136406600475,
-0.005139219108968973,
0.01190644409507513,
-0.05561620369553566,
0.034267324954271317,
0.07092826068401337,
-0.04259215667843819,
-0.027720101177692413,
0.009697635658085346,
0.003245011903345585,
0.02101447805762291,
0.009081633761525154,
0.0759618803858757,
-0.025784095749258995,
0.05209619179368019,
-0.01498645544052124,
0.05656660720705986,
-0.05839701369404793,
-0.029568109661340714,
0.033000122755765915,
0.0025058093015104532,
-0.010841639712452888,
0.01760006509721279,
-0.03608013316988945,
0.012232044711709023,
0.00539881968870759,
-0.019148871302604675,
0.05614420771598816,
-0.006054422352463007,
-0.013446449302136898,
0.011739242821931839,
0.01292724721133709,
0.0015444057062268257,
-0.0877891257405281,
-0.010208037681877613,
-0.034214526414871216,
0.03864974156022072,
-0.008500831201672554,
-0.06758424639701843,
-0.02564329467713833,
-0.03461932763457298,
0.04744977504014969,
-0.04287375882267952,
0.04234575480222702,
-0.06642264127731323,
-0.022510481998324394,
0.03055371157824993,
-0.07905948907136917,
0.022088080644607544,
-0.03713613748550415,
0.008989233523607254,
-0.011598442681133747,
0.000544227019418031,
-0.0010197038063779473,
-0.016024859622120857,
-0.019817672669887543,
0.005007218569517136,
0.016711261123418808,
-0.02886410616338253,
-0.013446449302136898,
0.031468916684389114,
0.03303532302379608,
-0.025308893993496895,
0.03023691102862358,
-0.031785715371370316,
0.03282412141561508,
-0.013728050515055656,
-0.03171531856060028,
-0.051427390426397324,
0.031521715223789215,
0.032841719686985016,
-0.00412941537797451,
-0.000961953541263938,
0.010216837748885155,
0.03546413034200668,
-0.008210429921746254,
0.016526460647583008,
-0.032260917127132416,
0.011730442754924297,
0.005764021072536707,
0.03023691102862358,
0.05878421664237976,
0.018920069560408592,
0.012672046199440956,
-0.01943047158420086,
0.010093636810779572,
-0.004386816173791885,
0.03600973263382912,
0.010788839310407639,
0.03727693855762482,
0.0020064073614776134,
-0.00277201016433537,
0.033369723707437515,
0.016684861853718758,
0.0006501023890450597,
-0.006102822255343199,
0.05572180449962616,
-0.01019043754786253,
-0.035833731293678284,
0.0003027761122211814,
-0.05529940500855446,
0.053328197449445724,
-0.009020033292472363,
0.0009498535073362291,
-0.05371539667248726,
-0.014044851996004581,
-0.06163542717695236,
0.06628184765577316,
0.01628006063401699,
-0.04818897694349289,
0.04561936855316162,
-0.06937945634126663,
-0.035728130489587784,
-0.04649937152862549,
0.04593616724014282,
-0.019289670512080193,
0.03692493587732315,
-0.021577678620815277,
0.03166251629590988,
-0.03055371157824993,
-0.055229004472494125,
-0.006749624852091074,
-0.035059329122304916,
0.012100044637918472,
-0.030412912368774414,
-0.002794010331854224,
0.02896970696747303,
-0.03277131915092468,
-0.01932487078011036,
-0.04896337911486626,
0.010929640382528305,
0.01385125145316124,
0.00857563130557537,
0.006182022858411074,
-0.02154248021543026,
-0.012839247472584248,
-0.01995847374200821,
0.01506565511226654,
-0.04055054858326912,
-0.07694748044013977,
0.033000122755765915,
0.0036806135904043913,
0.04702737182378769,
0.04593616724014282,
0.013358449563384056,
0.03187371790409088,
0.07018905878067017,
-0.013129648752510548,
0.004250415600836277,
0.009416034445166588,
-0.06314903497695923,
0.02006407454609871,
-0.01662326045334339,
0.03277131915092468,
-0.042416155338287354,
-0.02601289562880993,
-0.01858566887676716,
-0.06321943551301956,
0.009873636066913605,
0.02449928969144821,
-0.01617445982992649,
0.008593231439590454,
0.054806601256132126,
0.035851333290338516,
0.021824080497026443,
-0.051004987210035324,
0.025995295494794846,
-0.06786584854125977,
0.00110055401455611,
-0.013472849503159523,
0.02117287740111351,
-0.004659617319703102,
0.020257674157619476,
-0.031574517488479614,
0.05519380420446396,
0.05160339176654816,
0.015329656191170216,
0.07187866419553757,
-0.021032078191637993,
-0.029620908200740814,
-0.03229611739516258,
0.03791053965687752,
0.0009597535245120525,
0.016473660245537758,
0.04097295179963112,
-0.06832344830036163,
-0.0013684050645679235,
-0.03351052477955818,
0.03674893453717232,
0.03960014507174492,
-0.011545642279088497,
0.01079763937741518,
-0.023249685764312744,
0.06695064902305603,
0.01580485887825489,
-0.008553631603717804,
0.01198564376682043,
0.05508820340037346,
-0.00006950650276849046,
0.005082018673419952,
-0.04012814909219742,
-0.045795369893312454,
0.023038484156131744,
-0.009398434311151505,
0.0012738046934828162,
0.0021175078582018614,
-0.005209619179368019,
-0.021243277937173843,
0.016579261049628258,
-0.03998734802007675,
-0.006085222586989403,
0.005865221377462149,
-0.07525787502527237,
0.02786090224981308,
-0.002376008778810501,
0.011545642279088497,
-0.008892432786524296,
-0.0054648201912641525,
-0.013956851325929165,
-0.01708086207509041,
0.03440812602639198,
-0.03245452046394348,
0.017239263281226158,
0.06695064902305603,
-0.025414492934942245,
-0.02471049129962921,
-0.009548035450279713,
0.032208118587732315,
0.07652508467435837,
0.007783628534525633,
-0.0028666106518357992,
0.0035816130694001913,
-0.013358449563384056,
0.028934506699442863,
-0.002499209251254797,
-0.10679719597101212,
0.02133127860724926,
0.034900929778814316,
-0.018339267000555992,
0.03546413034200668,
0.02016967348754406,
-0.025256093591451645,
-0.032419320195913315,
-0.009152033366262913,
0.05955861881375313,
0.029040107503533363,
-0.021507279947400093,
0.008456830866634846,
0.04417616128921509,
-0.009741635993123055,
0.041008152067661285,
-0.005394419655203819,
-0.054489798843860626,
-0.02159527875483036,
0.04114895313978195,
0.040902551263570786,
0.009363234043121338,
-0.043577760457992554,
-0.0008305030642077327,
0.10081317275762558,
-0.034372925758361816,
0.032788921147584915,
-0.014335252344608307,
0.0074844276532530785,
0.03372172266244888,
0.01715126261115074,
0.04012814909219742,
0.04308496043086052,
-0.023302486166357994,
0.033158522099256516,
-0.018145667389035225,
-0.004892818164080381,
0.04002254828810692,
0.007708828430622816,
0.03664333373308182,
0.021137677133083344,
0.04371856153011322,
-0.06659864634275436,
0.04829457774758339,
0.0025520094204694033,
-0.008144429884850979,
0.044211361557245255,
-0.023408086970448494,
0.06089622527360916,
0.01779366470873356,
0.00024447590112686157,
-0.03018411062657833,
-0.04171215370297432,
-0.022774484008550644,
-0.05220179259777069,
-0.005794821307063103,
-0.02196488156914711,
0.033158522099256516,
-0.018867269158363342,
-0.006419623736292124,
0.028300903737545013,
-0.01583125814795494,
-0.0065912241116166115,
-0.04086735099554062,
-0.04723857343196869,
0.06726744771003723,
-0.08046749979257584,
-0.06526104360818863,
0.05498260259628296,
-0.011660043150186539,
0.01848006807267666,
-0.010982440784573555,
-0.04340175911784172,
-0.03685453534126282,
0.12327085435390472,
0.07927069067955017,
0.09405474364757538,
-0.048540979623794556,
-0.016156859695911407,
-0.05910101905465126,
-0.01755606383085251,
0.0020746076479554176,
0.009328034706413746,
-0.004545216914266348,
-0.03113451413810253,
0.03398572653532028,
0.002906210720539093,
-0.04329615831375122,
0.06462743878364563,
0.004659617319703102,
0.010727239772677422,
-0.07462427765130997,
-0.015470457263290882,
-0.02886410616338253,
-0.002391408896073699,
0.04245135560631752,
0.02090887725353241,
-0.02506249211728573,
-0.004901618231087923,
0.009090433828532696,
-0.08729632198810577,
0.05976982042193413,
0.024675291031599045,
0.05104018747806549,
0.0012914047110825777,
0.026681698858737946,
0.010991240851581097,
-0.04899857938289642,
0.02381288819015026,
0.033580925315618515,
0.028670504689216614,
0.02291528508067131,
0.03182091563940048,
-0.011765643022954464,
-0.015576057136058807,
-0.01921926997601986,
-0.015919258818030357,
-0.0018403067952021956,
-0.021630479022860527,
0.047379374504089355,
0.02064487524330616,
-0.01569925807416439,
0.04512656480073929,
-0.04097295179963112,
0.03759373724460602,
0.04734417423605919,
-0.008012429811060429,
0.005262419581413269,
0.07856669276952744,
0.00431421585381031,
0.05945301800966263,
0.023460885509848595,
-0.03409132733941078,
-0.01717766374349594,
-0.011061640456318855,
-0.012082444503903389,
-0.08581791818141937,
-0.002541009336709976,
-0.028089703992009163,
0.006327223498374224,
-0.030148910358548164,
0.03282412141561508,
0.03833294287323952,
0.03345772251486778,
-0.00393801461905241,
-0.025203293189406395,
0.02960330806672573,
-0.04445776343345642,
0.005425219889730215,
-0.01795206591486931,
-0.03850894048810005,
-0.027931302785873413,
-0.020556876435875893,
0.03808654099702835,
-0.04808337613940239,
-0.04924498125910759,
0.04920978099107742,
0.026417696848511696,
-0.03197931870818138,
-0.023196885362267494,
0.0060676224529743195,
0.011836043559014797,
-0.03314092382788658,
-0.017028063535690308,
-0.017978467047214508,
0.011651243083178997,
0.00355521310120821,
-0.013701650314033031,
-0.0765954852104187,
0.011334441602230072,
0.05149779096245766,
-0.06089622527360916,
-0.06448663771152496,
0.035147327929735184,
-0.025308893993496895,
-0.002187908161431551,
-0.01667606085538864,
0.006604424212127924,
0.01190644409507513,
0.03769933804869652,
-0.04350735992193222,
-0.03377452492713928,
-0.011862443760037422,
-0.01858566887676716,
0.11123240739107132,
-0.04283855855464935,
0.038262542337179184,
0.06367703527212143,
0.03319372236728668,
0.03028971143066883,
-0.01032243762165308,
-0.024217689409852028,
-0.08631071448326111,
0.01964167319238186,
-0.03567533195018768,
-0.03081771358847618,
0.012249644845724106,
-0.02022247388958931,
-0.019659271463751793,
-0.022827284410595894,
-0.01435285247862339,
-0.03872014209628105,
0.0736386701464653,
0.04012814909219742,
0.05107538774609566,
0.01403605192899704,
0.03483052924275398,
-0.06480343639850616,
0.048646580427885056,
-0.0036696135066449642,
0.018040066584944725,
-0.046640172600746155,
-0.01630645990371704,
0.01345524936914444,
-0.03034251183271408,
-0.009873636066913605,
0.026505697518587112,
0.04477456584572792,
0.0043098158203065395,
0.020187273621559143,
0.04319055750966072,
-0.04597136750817299,
0.012258444912731647,
-0.011994443833827972,
-0.0006616524187847972,
-0.0008206030470319092,
-0.011660043150186539,
0.020292874425649643,
-0.06948505342006683,
-0.04086735099554062,
-0.03314092382788658,
0.008302830159664154,
-0.030940914526581764,
0.010120037011802197,
0.0013728050980716944,
-0.02212328091263771,
0.02722730115056038,
0.047801777720451355,
-0.04861138015985489,
0.0017809065757319331,
-0.04998418316245079,
0.036326535046100616,
0.05720021203160286,
0.032155320048332214,
0.0780738890171051,
0.026558497920632362,
-0.012760046869516373,
0.037734538316726685,
0.019712071865797043,
0.007400827016681433,
0.019624073058366776,
0.009319234639406204,
-0.04276815801858902,
-0.04150095209479332,
-0.012056044302880764,
0.05389139801263809,
0.033475324511528015,
-0.00857563130557537,
-0.017336063086986542,
-0.05966421961784363,
0.007735228631645441,
-0.0041184150613844395,
0.010454438626766205,
0.03840333968400955,
-0.02865290455520153,
-0.07377947121858597,
-0.040691349655389786,
-0.07335706800222397,
0.0072424267418682575,
0.018515268340706825,
0.04702737182378769,
-0.009979236871004105,
0.016526460647583008,
-0.03935374319553375,
0.08828192204236984,
-0.04209935665130615,
-0.003616813337430358,
-0.04688657075166702,
-0.04829457774758339,
-0.026294495910406113,
-0.008034429512917995,
0.006190822925418615,
0.014379252679646015,
0.007682428229600191,
-0.10574118793010712,
0.013156048022210598,
-0.054173000156879425,
0.01953607238829136,
0.009451234713196754,
0.03924814611673355,
0.017679264768958092,
0.03706573694944382,
0.03416172415018082,
-0.007480027619749308,
0.004142615478485823,
0.024833692237734795,
-0.06934425234794617,
0.016420859843492508,
0.012232044711709023,
-0.030835313722491264,
0.08194590359926224,
-0.004699217155575752,
0.024728091433644295,
-0.0034958128817379475,
-0.00007239401747938246,
-0.019254470244050026,
-0.016447260975837708,
0.003927014302462339,
0.056179407984018326,
0.03208491951227188,
0.10102437436580658,
0.014388052746653557,
-0.06431064009666443,
-0.01435285247862339,
0.01766166463494301,
0.006622024346143007,
-0.003179011633619666,
0.05815061554312706,
-0.04287375882267952,
-0.033211320638656616,
-0.02522089332342148,
0.0073128268122673035,
-0.03118731454014778,
0.04840017855167389,
-0.055334605276584625,
0.00034237626823596656,
0.01858566887676716,
0.01617445982992649,
-0.05477140098810196,
0.006419623736292124,
-0.00929283443838358,
-0.01393045112490654,
-0.009873636066913605,
-0.02434089034795761,
0.055123403668403625,
0.01198564376682043,
-0.010419238358736038,
-0.010885640047490597,
-0.013200048357248306,
0.033000122755765915,
0.0008090529590845108,
-0.04340175911784172,
-0.02865290455520153,
-0.04329615831375122,
-0.024094488471746445,
0.057024210691452026,
-0.05624980852007866,
-0.023425687104463577,
0.07128026336431503,
-0.014009651727974415,
-0.09229473769664764,
0.033475324511528015,
0.028776105493307114,
-0.0056804209016263485,
-0.023144084960222244,
-0.03087051399052143,
0.05593300610780716,
0.05966421961784363,
0.03650253266096115,
0.035059329122304916,
0.0069520254619419575,
0.0052932193502783775,
-0.0007342526805587113,
-0.0003027761122211814,
0.03850894048810005,
0.00857563130557537,
-0.03903694450855255,
0.049385782331228256,
-0.03636173531413078,
0.012680846266448498,
0.06754904985427856,
-0.024692891165614128,
-0.02997291088104248,
0.04202895611524582,
0.026048095896840096,
0.03393292427062988,
-0.017679264768958092,
-0.0013761051231995225,
-0.012232044711709023,
-0.001305704819969833,
0.04072654992341995,
-0.05265939235687256,
-0.01858566887676716,
0.017978467047214508,
0.05399699881672859,
-0.03567533195018768,
-0.012601646594703197,
-0.06367703527212143,
-0.016552861779928207,
-0.05325779691338539,
0.02449928969144821,
0.03055371157824993,
-0.016500061377882957,
0.013208848424255848,
0.005522020161151886,
0.04329615831375122,
0.006239222828298807,
0.030835313722491264,
0.011862443760037422,
-0.05487700179219246,
0.015364856459200382,
0.04076175019145012,
0.010692039504647255,
0.029515309259295464,
0.03071211278438568,
0.007722028531134129,
-0.025256093591451645,
0.01958887279033661,
-0.0035684132017195225,
0.0050116186030209064,
-0.006208423059433699,
-0.0045980168506503105,
0.003443012712523341,
-0.01916647143661976,
-0.007638427894562483,
0.02207048051059246,
0.0006924525368958712,
-0.022721683606505394,
-0.035956934094429016,
-0.03118731454014778,
-0.008945233188569546,
0.04533776640892029,
0.017925666645169258,
-0.05818581581115723,
0.03504173085093498,
-0.06321943551301956,
-0.008615232072770596,
0.010762440040707588,
-0.02233448252081871,
0.0018469068454578519,
-0.029092907905578613,
0.036784134805202484,
0.02738570049405098,
-0.014203252270817757,
0.051849789917469025,
0.04766097664833069,
-0.016948862001299858,
0.04808337613940239,
-0.02622409723699093,
0.05040658637881279,
0.01617445982992649,
0.01440565288066864,
-0.02360168658196926,
-0.013824851252138615,
-0.011651243083178997,
0.019342470914125443,
0.03145131468772888,
-0.042064156383275986,
-0.010093636810779572,
-0.025995295494794846,
0.006362423300743103,
0.0028248103335499763,
-0.00984723586589098,
-0.04107855260372162,
-0.06839384883642197,
-0.022721683606505394,
-0.03250731900334358,
-0.0744834765791893,
0.024675291031599045,
0.014388052746653557,
0.001370605081319809,
0.08088989555835724,
-0.009284034371376038,
-0.04044494777917862,
0.028195302933454514,
0.03734733909368515,
-0.029832109808921814,
0.023091284558176994,
0.013446449302136898,
-0.046851374208927155,
-0.006630824413150549,
0.07483547180891037,
0.01250484585762024,
0.03171531856060028,
0.02944490872323513,
0.05392659828066826,
-0.01143124233931303,
-0.033422522246837616,
-0.03875534236431122,
-0.0009009033092297614,
0.001436605234630406,
0.012768846936523914,
-0.04935058206319809,
-0.02323208563029766,
-0.005007218569517136,
-0.014044851996004581,
0.04871698096394539,
0.01832166686654091,
0.06068502366542816,
-0.009398434311151505
]
|
37,165 | ipinfo.handler_async | _ensure_aiohttp_ready | Ensures aiohttp internal state is initialized. | def _ensure_aiohttp_ready(self):
"""Ensures aiohttp internal state is initialized."""
if self.httpsess:
return
timeout = aiohttp.ClientTimeout(total=self.request_options["timeout"])
self.httpsess = aiohttp.ClientSession(timeout=timeout)
| (self) | [
-0.06292207539081573,
0.013936522416770458,
-0.03678637742996216,
-0.027646435424685478,
0.027382057160139084,
0.04622846469283104,
-0.06061820685863495,
0.02258547581732273,
-0.010886727832257748,
-0.030970050022006035,
0.01684468612074852,
0.0268721841275692,
0.053555525839328766,
0.005046796053647995,
0.02250993810594082,
0.004763533361256123,
0.03995891660451889,
-0.006708603817969561,
-0.03399151936173439,
-0.10401404649019241,
-0.03924131765961647,
0.06700105965137482,
-0.011160548776388168,
-0.01744897849857807,
-0.00407426105812192,
-0.040638748556375504,
-0.04343360662460327,
-0.024776039645075798,
0.054273124784231186,
0.004891001619398594,
0.030611250549554825,
0.021301351487636566,
0.05189371854066849,
0.05230917036533356,
0.025002650916576385,
0.005589716136455536,
0.03059236705303192,
-0.054386429488658905,
-0.041734032332897186,
0.01960177533328533,
-0.015758845955133438,
-0.042262788861989975,
-0.04316922649741173,
-0.0007772019016556442,
-0.01695799082517624,
-0.02250993810594082,
-0.02711767703294754,
0.010499602183699608,
-0.008785863406956196,
0.019214650616049767,
-0.028590643778443336,
0.009446809068322182,
0.043282534927129745,
0.05215809494256973,
-0.02115027792751789,
0.0466061495244503,
-0.03446362167596817,
0.0044826315715909,
-0.03674860671162605,
0.008526206016540527,
-0.042791545391082764,
0.016589749604463577,
-0.03231082484126091,
-0.030497945845127106,
0.011755400337278843,
0.0035691093653440475,
-0.06084481626749039,
0.03117777593433857,
0.03839153051376343,
-0.010272991843521595,
0.02233998104929924,
0.06643453240394592,
0.0072420816868543625,
-0.033368341624736786,
0.037428438663482666,
0.02874171733856201,
-0.10205008834600449,
-0.020678173750638962,
-0.03871256113052368,
0.029761463403701782,
-0.017817221581935883,
0.02294427528977394,
-0.01726013794541359,
0.010499602183699608,
0.053782135248184204,
-0.028571760281920433,
-0.014503047801554203,
-0.01738288439810276,
-0.01929962821304798,
-0.02317088469862938,
-0.0062270574271678925,
0.06133580580353737,
0.015541677363216877,
-0.007378992158919573,
0.04804134741425514,
-0.005400874651968479,
-0.0038216852117329836,
-0.023812947794795036,
-0.026966605335474014,
-0.05578385666012764,
-0.04233832284808159,
0.011906473897397518,
0.026853298768401146,
-0.005594437476247549,
0.01535283587872982,
-0.056350383907556534,
0.036937449127435684,
-0.051100581884384155,
0.02471938729286194,
-0.026475615799427032,
-0.010272991843521595,
-0.0253803338855505,
0.021414656192064285,
0.05721905454993248,
-0.01081119105219841,
-0.020640404894948006,
0.024398356676101685,
0.009347667917609215,
0.014163132756948471,
-0.041431885212659836,
-0.06443281471729279,
-0.003177262842655182,
0.016221508383750916,
0.0033401388209313154,
0.050194140523672104,
0.019639544188976288,
-0.024530544877052307,
0.02615458518266678,
0.0017113785725086927,
-0.05835210531949997,
0.02109362557530403,
0.00943736732006073,
0.009286293759942055,
0.031140007078647614,
-0.03249966725707054,
0.02808077074587345,
-0.019752848893404007,
0.01796829327940941,
-0.006897445768117905,
-0.008096590638160706,
-0.04044990614056587,
0.007685860153287649,
-0.060655977576971054,
-0.08822687715291977,
0.0698714554309845,
0.0370318703353405,
-0.04671945422887802,
-0.035502251237630844,
-0.0017397047486156225,
-0.08626291900873184,
0.06760535389184952,
-0.03310396149754524,
-0.011689305305480957,
-0.027967466041445732,
-0.04830572381615639,
-0.03674860671162605,
-0.024039557203650475,
-0.026532268151640892,
0.05997614562511444,
0.00637813052162528,
-0.027495361864566803,
0.03920355066657066,
0.011160548776388168,
-0.06722766906023026,
-0.021225813776254654,
0.01032964512705803,
-0.050987277179956436,
-0.04086535796523094,
0.033594951033592224,
0.012765703722834587,
-0.039807844907045364,
0.006538646295666695,
-0.04377352073788643,
-0.06533925235271454,
0.022604359313845634,
-0.03597435727715492,
0.04498210921883583,
-0.0006160962511785328,
-0.013539955019950867,
-0.005537784658372402,
-0.023548567667603493,
-0.04116750508546829,
-0.07840710133314133,
0.03846706822514534,
0.004362244624644518,
0.06730320304632187,
0.01880864053964615,
0.02371852658689022,
0.01122664287686348,
0.028779486194252968,
-0.030082494020462036,
0.050382982939481735,
-0.008922773413360119,
0.02228332869708538,
0.0711178109049797,
-0.019073018804192543,
0.007605602033436298,
0.003115889150649309,
0.03489795699715614,
0.055708322674036026,
0.00453928392380476,
-0.0018093402031809092,
0.031687647104263306,
-0.0014458197401836514,
0.030497945845127106,
-0.005594437476247549,
-0.030365755781531334,
-0.03924131765961647,
-0.028892790898680687,
0.012161409482359886,
-0.11262523382902145,
0.010924496687948704,
-0.0029223263263702393,
0.03374602273106575,
0.010716770775616169,
0.020092764869332314,
0.030195798724889755,
0.020867016166448593,
0.0579366534948349,
0.02885502204298973,
0.056237079203128815,
-0.034199245274066925,
-0.016712496057152748,
-0.06462164968252182,
0.013096177019178867,
-0.002454943023622036,
-0.0013030081754550338,
0.029704809188842773,
-0.008875562809407711,
0.02324642241001129,
0.01474854163825512,
0.1009170413017273,
0.01083951722830534,
-0.0011572459479793906,
0.019790617749094963,
0.005131775047630072,
0.007747233379632235,
0.032575204968452454,
-0.048116881400346756,
-0.033236149698495865,
-0.036710839718580246,
-0.010848959907889366,
-0.04335806891322136,
-0.039694540202617645,
-0.053479988127946854,
0.04743705317378044,
-0.023794062435626984,
0.013086734339594841,
-0.00797856505960226,
-0.019677313044667244,
-0.02681553177535534,
-0.028175191953778267,
0.04075205326080322,
-0.06677445024251938,
-0.035747747868299484,
-0.031744301319122314,
0.027608666568994522,
0.015994897112250328,
-0.028118539601564407,
0.021660150960087776,
0.0217923391610384,
0.06696329265832901,
-0.08407235145568848,
0.1027299240231514,
-0.012312483042478561,
-0.01893138699233532,
0.06462164968252182,
0.04086535796523094,
-0.03669195622205734,
-0.028005234897136688,
0.1301497519016266,
0.025550290942192078,
-0.002912884345278144,
-0.03859925642609596,
0.0146352369338274,
-0.0400344543159008,
0.009885866194963455,
-0.054575271904468536,
-0.06934269517660141,
0.01540948823094368,
0.06620792299509048,
0.011037801392376423,
0.031272195279598236,
0.04475549980998039,
-0.0513649620115757,
-0.039807844907045364,
-0.04532202333211899,
0.0358610525727272,
-0.03170653432607651,
-0.02120693027973175,
-0.05718128755688667,
-0.030441293492913246,
0.04441558197140694,
0.03595547378063202,
-0.010848959907889366,
-0.043282534927129745,
-0.0465683788061142,
0.06832294911146164,
0.012916777282953262,
0.012501325458288193,
0.00782277062535286,
-0.005802163388580084,
-0.03421812877058983,
0.014871289022266865,
0.05359329283237457,
-0.06008945032954216,
-0.039505697786808014,
0.04622846469283104,
-0.02460608258843422,
0.010490160435438156,
-0.012746819294989109,
-0.047097135335206985,
0.04585077986121178,
0.036710839718580246,
0.016995759680867195,
0.020357143133878708,
-0.03654088079929352,
-0.04543532803654671,
0.0292704738676548,
0.017222369089722633,
-0.0495898500084877,
0.004739928524941206,
0.045964084565639496,
-0.003647006582468748,
-0.03799496218562126,
-0.0019179241498932242,
0.07685860246419907,
0.008559253066778183,
-0.024266166612505913,
0.02502153441309929,
-0.05559501796960831,
0.00016007290105335414,
-0.04105420038104057,
-0.013285018503665924,
-0.033066194504499435,
-0.025531407445669174,
-0.029704809188842773,
-0.014172574505209923,
-0.0016216787043958902,
-0.05106281489133835,
-0.06375297904014587,
0.008233500644564629,
0.019809501245617867,
0.06197786703705788,
0.004286708310246468,
-0.02794858254492283,
-0.01394596416503191,
-0.03589881956577301,
-0.0055189006961882114,
-0.0866406038403511,
-0.037900540977716446,
0.025455869734287262,
0.03774946928024292,
0.06220448017120361,
0.028005234897136688,
-0.010612906888127327,
0.05699244514107704,
0.014172574505209923,
-0.00536310626193881,
-0.01756228506565094,
-0.05238470807671547,
0.03710740804672241,
-0.021905645728111267,
0.011358832009136677,
-0.004924049135297537,
-0.018553704023361206,
0.06873840093612671,
-0.027854161337018013,
0.010971706360578537,
-0.01774168387055397,
-0.03399151936173439,
-0.09804664552211761,
0.025493638589978218,
0.06613238900899887,
0.006529204081743956,
0.01773224212229252,
-0.06462164968252182,
-0.045246489346027374,
0.006392293609678745,
0.0292704738676548,
-0.001553223584778607,
-0.0051789856515824795,
-0.0026437847409397364,
-0.05710574984550476,
-0.05650145560503006,
-0.07931353896856308,
-0.003432199126109481,
0.012794029898941517,
0.013813775032758713,
0.009560114704072475,
0.009187151677906513,
0.03098893351852894,
0.006231778301298618,
0.002228332916274667,
0.037900540977716446,
0.013181155547499657,
0.015333951450884342,
0.004669112619012594,
0.06435727328062057,
-0.012189735658466816,
0.03202756494283676,
0.010915054008364677,
0.050496287643909454,
0.044226743280887604,
0.013851543888449669,
0.050685130059719086,
0.03852372244000435,
-0.047210443764925,
0.056123774498701096,
-0.008290153928101063,
-0.04532202333211899,
-0.015201762318611145,
-0.04354691132903099,
-0.0027429265901446342,
0.01923353411257267,
0.008384574204683304,
0.03731513395905495,
0.029100516811013222,
0.05533063784241676,
0.00797856505960226,
0.013539955019950867,
0.024058440700173378,
-0.002865673741325736,
0.05865425243973732,
0.025531407445669174,
0.009659256786108017,
-0.021074742078781128,
0.007497018203139305,
0.010348528623580933,
-0.04551086574792862,
0.030365755781531334,
0.07251524180173874,
-0.020527100190520287,
0.009753677062690258,
-0.0007600880926474929,
0.07141995429992676,
-0.027967466041445732,
0.033179499208927155,
-0.008186290971934795,
0.00899358931928873,
0.02275543287396431,
0.010716770775616169,
-0.00770474411547184,
0.025588059797883034,
0.08203286677598953,
0.030271334573626518,
0.008337363600730896,
0.050269678235054016,
0.0340292863547802,
-0.023737410083413124,
-0.0441889725625515,
0.00003417224434087984,
0.000613735755905509,
0.04449111968278885,
-0.026437846943736076,
0.03731513395905495,
0.01893138699233532,
0.06786973029375076,
-0.024417240172624588,
-0.05578385666012764,
-0.034142591059207916,
0.03850483521819115,
0.04400013014674187,
0.012444672174751759,
0.005797442048788071,
0.017061853781342506,
0.04569970816373825,
0.016684170812368393,
-0.019620658829808235,
0.00019415294809732586,
-0.0150790149345994,
0.0068832822144031525,
0.015258414670825005,
-0.03278293088078499,
0.03435031697154045,
-0.07923800498247147,
-0.016750264912843704,
0.02181122452020645,
0.02443612553179264,
-0.007624486461281776,
0.022264445200562477,
0.04917439818382263,
0.014625795185565948,
0.017883315682411194,
-0.008875562809407711,
-0.024681618437170982,
-0.012642956338822842,
-0.017656704410910606,
0.019847270101308823,
-0.0674542784690857,
-0.009489298798143864,
0.010905612260103226,
-0.004272545222193003,
0.03871256113052368,
0.02921382151544094,
0.0017007561400532722,
-0.035332296043634415,
0.024379471316933632,
0.018147693946957588,
0.006807745900005102,
0.019790617749094963,
0.00288927904330194,
0.001655906205996871,
0.10439173132181168,
0.021773455664515495,
0.01768503151834011,
-0.09245692938566208,
-0.03606877848505974,
0.004652589093893766,
-0.0006880922010168433,
0.01144381146878004,
0.021301351487636566,
-0.013332229107618332,
-0.05083620548248291,
0.06443281471729279,
0.0346524640917778,
-0.04203617572784424,
-0.02879836969077587,
-0.0015048328787088394,
0.03782500699162483,
0.024681618437170982,
0.02430393546819687,
0.036163199692964554,
-0.04517095163464546,
-0.06012721732258797,
0.02250993810594082,
0.011179432272911072,
0.029553737491369247,
-0.01631592959165573,
0.024058440700173378,
-0.005164822563529015,
-0.048834480345249176,
-0.009763119742274284,
0.0029813393484801054,
-0.012038663029670715,
-0.001174359698779881,
0.015787171199917793,
-0.02587132155895233,
-0.02096143551170826,
-0.03771170228719711,
0.05544394254684448,
0.02250993810594082,
0.03435031697154045,
-0.015305625274777412,
-0.013879870064556599,
-0.0076103233732283115,
0.012350251898169518,
0.05230917036533356,
-0.010348528623580933,
0.02670222520828247,
-0.024322818964719772,
0.004709241446107626,
0.026985488831996918,
-0.03321726620197296,
-0.04928770288825035,
-0.09646037220954895,
0.022245559841394424,
-0.06194010004401207,
-0.014569142833352089,
-0.013691028580069542,
0.03023356758058071,
-0.013492744415998459,
-0.06492380052804947,
0.022830970585346222,
0.01540948823094368,
-0.011727074161171913,
0.042980387806892395,
0.03493572771549225,
0.04460442438721657,
0.03767393156886101,
0.05381990224123001,
-0.05831433832645416,
-0.02281208522617817,
-0.011132222600281239,
-0.028043001890182495,
-0.0015366999432444572,
-0.07009806483983994,
0.012378578074276447,
0.03548336774110794,
0.02250993810594082,
0.05249801278114319,
-0.006661393214017153,
-0.01875198818743229,
-0.027382057160139084,
0.02670222520828247,
-0.03565332666039467,
0.05351775884628296,
0.05895639955997467,
-0.005174264311790466,
-0.05948515608906746,
-0.05574608966708183,
0.056010469794273376,
0.017127947881817818,
-0.05102504417300224,
0.01606099307537079,
0.009446809068322182,
0.03650311380624771,
0.01797773689031601,
-0.011075569316744804,
0.008356248028576374,
0.009569556452333927,
0.10983037203550339,
-0.005141217261552811,
0.026494499295949936,
0.025531407445669174,
0.003965677227824926,
-0.016504770144820213,
0.04211171343922615,
-0.013927080668509007,
-0.07342167943716049,
-0.019620658829808235,
-0.008998310193419456,
0.018676450476050377,
-0.010442949831485748,
-0.043093692511320114,
0.0024856298696249723,
-0.0806732028722763,
0.01857258751988411,
0.02013053186237812,
-0.015588887967169285,
0.04747482016682625,
-0.08580970019102097,
-0.010348528623580933,
0.033783793449401855,
-0.03946793079376221,
0.005679416004568338,
0.05619930848479271,
-0.0585409477353096,
-0.06752981245517731,
-0.01496571023017168,
0.03871256113052368,
-0.020678173750638962,
-0.007846374996006489,
-0.012425788678228855,
0.03535117954015732,
0.02383183129131794,
0.002178761875256896,
0.02885502204298973,
0.04845679923892021,
-0.009578999131917953,
-0.020149417221546173,
-0.0334438756108284,
0.0244927778840065,
-0.011009475216269493,
0.06790749728679657,
-0.002155156573280692,
-0.03321726620197296,
0.008030496537685394,
0.06635899841785431,
-0.021395772695541382,
-0.023038696497678757,
0.04150741919875145,
0.04547309875488281,
-0.013936522416770458,
-0.038863636553287506,
-0.057672277092933655,
-0.041734032332897186,
-0.02543698623776436,
0.015862708911299706,
-0.039090245962142944,
-0.008280711248517036,
0.0060570999048650265,
-0.008351527154445648,
0.02736317180097103,
0.04139411449432373,
0.008327921852469444,
-0.06186456233263016,
-0.005065680481493473,
0.008261827751994133,
0.02944043092429638,
0.026475615799427032,
0.026494499295949936,
0.025229260325431824,
0.03278293088078499,
-0.009116336703300476,
0.024039557203650475,
0.0036658907774835825,
-0.0388258658349514,
0.012671282514929771,
0.03633315488696098,
-0.01595713011920452,
0.027646435424685478,
-0.05083620548248291,
-0.09185263514518738,
0.0182137880474329,
-0.0621289424598217,
-0.012010336853563786,
-0.024039557203650475,
0.007964401505887508,
-0.031140007078647614,
0.0004015838203486055,
0.006916329730302095,
-0.0029388500843197107,
0.047399282455444336,
-0.029289357364177704,
-0.04426451027393341,
-0.010046382434666157,
0.006760535296052694,
0.014399184845387936,
0.012350251898169518,
0.05166710913181305,
-0.013152829371392727,
-0.042791545391082764,
-0.013823217712342739,
0.02220779098570347,
0.033424992114305496,
-0.049967531114816666,
0.049665383994579315,
-0.058918632566928864,
0.000728221086319536,
0.0030922838486731052,
-0.04501987621188164,
0.025285912677645683,
-0.006793582811951637,
-0.014861847274005413,
0.03197091072797775,
0.0005346582620404661,
0.0030733998864889145,
-0.022377749904990196,
-0.003632843494415283,
-0.03319838270545006,
0.024473892524838448,
0.008072985336184502,
-0.019450701773166656,
0.05261131748557091,
-0.010348528623580933,
-0.07198648154735565,
0.0048083835281431675,
0.011236085556447506,
0.019809501245617867,
0.0029789789114147425,
-0.03977007791399956,
-0.07655645161867142,
0.03261297196149826,
-0.05650145560503006,
-0.007128776516765356,
0.006538646295666695,
0.005594437476247549,
-0.0430181547999382,
-0.008431784808635712,
-0.011018916964530945,
-0.07565001398324966,
0.02132023498415947,
-0.02137688733637333,
-0.018128810450434685,
-0.0004552857135422528,
0.016089318320155144,
-0.06718990206718445,
0.0004334508557803929,
0.039090245962142944,
-0.008072985336184502,
0.0033000099938362837,
0.043811291456222534,
0.048343490809202194,
0.011708189733326435,
0.005353664048016071,
-0.03399151936173439,
0.03540783002972603,
0.005736068822443485,
0.015116783790290356,
-0.04675722122192383,
0.009715909138321877,
0.047512587159872055,
0.0286661796271801,
-0.014351974241435528,
-0.0011005934793502092,
0.03387821465730667,
0.012199178338050842
]
|
37,166 | ipinfo.handler_async | deinit |
Deinitialize the async handler.
This is required in case you need to let go of the memory/state
associated with the async handler in a long-running process.
This is idempotent.
| def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup aiohttp
self.httpsess = None
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
| (self) | [
-0.06332503259181976,
-0.04956178367137909,
-0.08792992681264877,
-0.011712843552231789,
-0.004182215314358473,
0.003478212747722864,
-0.06427543610334396,
0.028142504394054413,
-0.01321764849126339,
-0.04132495075464249,
0.043155357241630554,
0.054384201765060425,
-0.026048095896840096,
-0.0035024129319936037,
0.004056815057992935,
0.013569650240242481,
0.01445845328271389,
0.01953607238829136,
-0.0023738087620586157,
-0.07177306711673737,
-0.018409667536616325,
-0.004954418167471886,
-0.010120037011802197,
0.02569609507918358,
0.0025014092680066824,
0.004250415600836277,
-0.0020130074117332697,
-0.013648849911987782,
0.05582740530371666,
-0.004914817865937948,
0.037100937217473984,
0.01013763714581728,
-0.02965610846877098,
0.0740610733628273,
-0.015127255581319332,
-0.052694592624902725,
0.012777647003531456,
0.006120422389358282,
-0.1705094277858734,
-0.00905523356050253,
-0.02323208563029766,
-0.03787533938884735,
-0.002642209641635418,
0.0036872136406600475,
-0.005139219108968973,
0.01190644409507513,
-0.05561620369553566,
0.034267324954271317,
0.07092826068401337,
-0.04259215667843819,
-0.027720101177692413,
0.009697635658085346,
0.003245011903345585,
0.02101447805762291,
0.009081633761525154,
0.0759618803858757,
-0.025784095749258995,
0.05209619179368019,
-0.01498645544052124,
0.05656660720705986,
-0.05839701369404793,
-0.029568109661340714,
0.033000122755765915,
0.0025058093015104532,
-0.010841639712452888,
0.01760006509721279,
-0.03608013316988945,
0.012232044711709023,
0.00539881968870759,
-0.019148871302604675,
0.05614420771598816,
-0.006054422352463007,
-0.013446449302136898,
0.011739242821931839,
0.01292724721133709,
0.0015444057062268257,
-0.0877891257405281,
-0.010208037681877613,
-0.034214526414871216,
0.03864974156022072,
-0.008500831201672554,
-0.06758424639701843,
-0.02564329467713833,
-0.03461932763457298,
0.04744977504014969,
-0.04287375882267952,
0.04234575480222702,
-0.06642264127731323,
-0.022510481998324394,
0.03055371157824993,
-0.07905948907136917,
0.022088080644607544,
-0.03713613748550415,
0.008989233523607254,
-0.011598442681133747,
0.000544227019418031,
-0.0010197038063779473,
-0.016024859622120857,
-0.019817672669887543,
0.005007218569517136,
0.016711261123418808,
-0.02886410616338253,
-0.013446449302136898,
0.031468916684389114,
0.03303532302379608,
-0.025308893993496895,
0.03023691102862358,
-0.031785715371370316,
0.03282412141561508,
-0.013728050515055656,
-0.03171531856060028,
-0.051427390426397324,
0.031521715223789215,
0.032841719686985016,
-0.00412941537797451,
-0.000961953541263938,
0.010216837748885155,
0.03546413034200668,
-0.008210429921746254,
0.016526460647583008,
-0.032260917127132416,
0.011730442754924297,
0.005764021072536707,
0.03023691102862358,
0.05878421664237976,
0.018920069560408592,
0.012672046199440956,
-0.01943047158420086,
0.010093636810779572,
-0.004386816173791885,
0.03600973263382912,
0.010788839310407639,
0.03727693855762482,
0.0020064073614776134,
-0.00277201016433537,
0.033369723707437515,
0.016684861853718758,
0.0006501023890450597,
-0.006102822255343199,
0.05572180449962616,
-0.01019043754786253,
-0.035833731293678284,
0.0003027761122211814,
-0.05529940500855446,
0.053328197449445724,
-0.009020033292472363,
0.0009498535073362291,
-0.05371539667248726,
-0.014044851996004581,
-0.06163542717695236,
0.06628184765577316,
0.01628006063401699,
-0.04818897694349289,
0.04561936855316162,
-0.06937945634126663,
-0.035728130489587784,
-0.04649937152862549,
0.04593616724014282,
-0.019289670512080193,
0.03692493587732315,
-0.021577678620815277,
0.03166251629590988,
-0.03055371157824993,
-0.055229004472494125,
-0.006749624852091074,
-0.035059329122304916,
0.012100044637918472,
-0.030412912368774414,
-0.002794010331854224,
0.02896970696747303,
-0.03277131915092468,
-0.01932487078011036,
-0.04896337911486626,
0.010929640382528305,
0.01385125145316124,
0.00857563130557537,
0.006182022858411074,
-0.02154248021543026,
-0.012839247472584248,
-0.01995847374200821,
0.01506565511226654,
-0.04055054858326912,
-0.07694748044013977,
0.033000122755765915,
0.0036806135904043913,
0.04702737182378769,
0.04593616724014282,
0.013358449563384056,
0.03187371790409088,
0.07018905878067017,
-0.013129648752510548,
0.004250415600836277,
0.009416034445166588,
-0.06314903497695923,
0.02006407454609871,
-0.01662326045334339,
0.03277131915092468,
-0.042416155338287354,
-0.02601289562880993,
-0.01858566887676716,
-0.06321943551301956,
0.009873636066913605,
0.02449928969144821,
-0.01617445982992649,
0.008593231439590454,
0.054806601256132126,
0.035851333290338516,
0.021824080497026443,
-0.051004987210035324,
0.025995295494794846,
-0.06786584854125977,
0.00110055401455611,
-0.013472849503159523,
0.02117287740111351,
-0.004659617319703102,
0.020257674157619476,
-0.031574517488479614,
0.05519380420446396,
0.05160339176654816,
0.015329656191170216,
0.07187866419553757,
-0.021032078191637993,
-0.029620908200740814,
-0.03229611739516258,
0.03791053965687752,
0.0009597535245120525,
0.016473660245537758,
0.04097295179963112,
-0.06832344830036163,
-0.0013684050645679235,
-0.03351052477955818,
0.03674893453717232,
0.03960014507174492,
-0.011545642279088497,
0.01079763937741518,
-0.023249685764312744,
0.06695064902305603,
0.01580485887825489,
-0.008553631603717804,
0.01198564376682043,
0.05508820340037346,
-0.00006950650276849046,
0.005082018673419952,
-0.04012814909219742,
-0.045795369893312454,
0.023038484156131744,
-0.009398434311151505,
0.0012738046934828162,
0.0021175078582018614,
-0.005209619179368019,
-0.021243277937173843,
0.016579261049628258,
-0.03998734802007675,
-0.006085222586989403,
0.005865221377462149,
-0.07525787502527237,
0.02786090224981308,
-0.002376008778810501,
0.011545642279088497,
-0.008892432786524296,
-0.0054648201912641525,
-0.013956851325929165,
-0.01708086207509041,
0.03440812602639198,
-0.03245452046394348,
0.017239263281226158,
0.06695064902305603,
-0.025414492934942245,
-0.02471049129962921,
-0.009548035450279713,
0.032208118587732315,
0.07652508467435837,
0.007783628534525633,
-0.0028666106518357992,
0.0035816130694001913,
-0.013358449563384056,
0.028934506699442863,
-0.002499209251254797,
-0.10679719597101212,
0.02133127860724926,
0.034900929778814316,
-0.018339267000555992,
0.03546413034200668,
0.02016967348754406,
-0.025256093591451645,
-0.032419320195913315,
-0.009152033366262913,
0.05955861881375313,
0.029040107503533363,
-0.021507279947400093,
0.008456830866634846,
0.04417616128921509,
-0.009741635993123055,
0.041008152067661285,
-0.005394419655203819,
-0.054489798843860626,
-0.02159527875483036,
0.04114895313978195,
0.040902551263570786,
0.009363234043121338,
-0.043577760457992554,
-0.0008305030642077327,
0.10081317275762558,
-0.034372925758361816,
0.032788921147584915,
-0.014335252344608307,
0.0074844276532530785,
0.03372172266244888,
0.01715126261115074,
0.04012814909219742,
0.04308496043086052,
-0.023302486166357994,
0.033158522099256516,
-0.018145667389035225,
-0.004892818164080381,
0.04002254828810692,
0.007708828430622816,
0.03664333373308182,
0.021137677133083344,
0.04371856153011322,
-0.06659864634275436,
0.04829457774758339,
0.0025520094204694033,
-0.008144429884850979,
0.044211361557245255,
-0.023408086970448494,
0.06089622527360916,
0.01779366470873356,
0.00024447590112686157,
-0.03018411062657833,
-0.04171215370297432,
-0.022774484008550644,
-0.05220179259777069,
-0.005794821307063103,
-0.02196488156914711,
0.033158522099256516,
-0.018867269158363342,
-0.006419623736292124,
0.028300903737545013,
-0.01583125814795494,
-0.0065912241116166115,
-0.04086735099554062,
-0.04723857343196869,
0.06726744771003723,
-0.08046749979257584,
-0.06526104360818863,
0.05498260259628296,
-0.011660043150186539,
0.01848006807267666,
-0.010982440784573555,
-0.04340175911784172,
-0.03685453534126282,
0.12327085435390472,
0.07927069067955017,
0.09405474364757538,
-0.048540979623794556,
-0.016156859695911407,
-0.05910101905465126,
-0.01755606383085251,
0.0020746076479554176,
0.009328034706413746,
-0.004545216914266348,
-0.03113451413810253,
0.03398572653532028,
0.002906210720539093,
-0.04329615831375122,
0.06462743878364563,
0.004659617319703102,
0.010727239772677422,
-0.07462427765130997,
-0.015470457263290882,
-0.02886410616338253,
-0.002391408896073699,
0.04245135560631752,
0.02090887725353241,
-0.02506249211728573,
-0.004901618231087923,
0.009090433828532696,
-0.08729632198810577,
0.05976982042193413,
0.024675291031599045,
0.05104018747806549,
0.0012914047110825777,
0.026681698858737946,
0.010991240851581097,
-0.04899857938289642,
0.02381288819015026,
0.033580925315618515,
0.028670504689216614,
0.02291528508067131,
0.03182091563940048,
-0.011765643022954464,
-0.015576057136058807,
-0.01921926997601986,
-0.015919258818030357,
-0.0018403067952021956,
-0.021630479022860527,
0.047379374504089355,
0.02064487524330616,
-0.01569925807416439,
0.04512656480073929,
-0.04097295179963112,
0.03759373724460602,
0.04734417423605919,
-0.008012429811060429,
0.005262419581413269,
0.07856669276952744,
0.00431421585381031,
0.05945301800966263,
0.023460885509848595,
-0.03409132733941078,
-0.01717766374349594,
-0.011061640456318855,
-0.012082444503903389,
-0.08581791818141937,
-0.002541009336709976,
-0.028089703992009163,
0.006327223498374224,
-0.030148910358548164,
0.03282412141561508,
0.03833294287323952,
0.03345772251486778,
-0.00393801461905241,
-0.025203293189406395,
0.02960330806672573,
-0.04445776343345642,
0.005425219889730215,
-0.01795206591486931,
-0.03850894048810005,
-0.027931302785873413,
-0.020556876435875893,
0.03808654099702835,
-0.04808337613940239,
-0.04924498125910759,
0.04920978099107742,
0.026417696848511696,
-0.03197931870818138,
-0.023196885362267494,
0.0060676224529743195,
0.011836043559014797,
-0.03314092382788658,
-0.017028063535690308,
-0.017978467047214508,
0.011651243083178997,
0.00355521310120821,
-0.013701650314033031,
-0.0765954852104187,
0.011334441602230072,
0.05149779096245766,
-0.06089622527360916,
-0.06448663771152496,
0.035147327929735184,
-0.025308893993496895,
-0.002187908161431551,
-0.01667606085538864,
0.006604424212127924,
0.01190644409507513,
0.03769933804869652,
-0.04350735992193222,
-0.03377452492713928,
-0.011862443760037422,
-0.01858566887676716,
0.11123240739107132,
-0.04283855855464935,
0.038262542337179184,
0.06367703527212143,
0.03319372236728668,
0.03028971143066883,
-0.01032243762165308,
-0.024217689409852028,
-0.08631071448326111,
0.01964167319238186,
-0.03567533195018768,
-0.03081771358847618,
0.012249644845724106,
-0.02022247388958931,
-0.019659271463751793,
-0.022827284410595894,
-0.01435285247862339,
-0.03872014209628105,
0.0736386701464653,
0.04012814909219742,
0.05107538774609566,
0.01403605192899704,
0.03483052924275398,
-0.06480343639850616,
0.048646580427885056,
-0.0036696135066449642,
0.018040066584944725,
-0.046640172600746155,
-0.01630645990371704,
0.01345524936914444,
-0.03034251183271408,
-0.009873636066913605,
0.026505697518587112,
0.04477456584572792,
0.0043098158203065395,
0.020187273621559143,
0.04319055750966072,
-0.04597136750817299,
0.012258444912731647,
-0.011994443833827972,
-0.0006616524187847972,
-0.0008206030470319092,
-0.011660043150186539,
0.020292874425649643,
-0.06948505342006683,
-0.04086735099554062,
-0.03314092382788658,
0.008302830159664154,
-0.030940914526581764,
0.010120037011802197,
0.0013728050980716944,
-0.02212328091263771,
0.02722730115056038,
0.047801777720451355,
-0.04861138015985489,
0.0017809065757319331,
-0.04998418316245079,
0.036326535046100616,
0.05720021203160286,
0.032155320048332214,
0.0780738890171051,
0.026558497920632362,
-0.012760046869516373,
0.037734538316726685,
0.019712071865797043,
0.007400827016681433,
0.019624073058366776,
0.009319234639406204,
-0.04276815801858902,
-0.04150095209479332,
-0.012056044302880764,
0.05389139801263809,
0.033475324511528015,
-0.00857563130557537,
-0.017336063086986542,
-0.05966421961784363,
0.007735228631645441,
-0.0041184150613844395,
0.010454438626766205,
0.03840333968400955,
-0.02865290455520153,
-0.07377947121858597,
-0.040691349655389786,
-0.07335706800222397,
0.0072424267418682575,
0.018515268340706825,
0.04702737182378769,
-0.009979236871004105,
0.016526460647583008,
-0.03935374319553375,
0.08828192204236984,
-0.04209935665130615,
-0.003616813337430358,
-0.04688657075166702,
-0.04829457774758339,
-0.026294495910406113,
-0.008034429512917995,
0.006190822925418615,
0.014379252679646015,
0.007682428229600191,
-0.10574118793010712,
0.013156048022210598,
-0.054173000156879425,
0.01953607238829136,
0.009451234713196754,
0.03924814611673355,
0.017679264768958092,
0.03706573694944382,
0.03416172415018082,
-0.007480027619749308,
0.004142615478485823,
0.024833692237734795,
-0.06934425234794617,
0.016420859843492508,
0.012232044711709023,
-0.030835313722491264,
0.08194590359926224,
-0.004699217155575752,
0.024728091433644295,
-0.0034958128817379475,
-0.00007239401747938246,
-0.019254470244050026,
-0.016447260975837708,
0.003927014302462339,
0.056179407984018326,
0.03208491951227188,
0.10102437436580658,
0.014388052746653557,
-0.06431064009666443,
-0.01435285247862339,
0.01766166463494301,
0.006622024346143007,
-0.003179011633619666,
0.05815061554312706,
-0.04287375882267952,
-0.033211320638656616,
-0.02522089332342148,
0.0073128268122673035,
-0.03118731454014778,
0.04840017855167389,
-0.055334605276584625,
0.00034237626823596656,
0.01858566887676716,
0.01617445982992649,
-0.05477140098810196,
0.006419623736292124,
-0.00929283443838358,
-0.01393045112490654,
-0.009873636066913605,
-0.02434089034795761,
0.055123403668403625,
0.01198564376682043,
-0.010419238358736038,
-0.010885640047490597,
-0.013200048357248306,
0.033000122755765915,
0.0008090529590845108,
-0.04340175911784172,
-0.02865290455520153,
-0.04329615831375122,
-0.024094488471746445,
0.057024210691452026,
-0.05624980852007866,
-0.023425687104463577,
0.07128026336431503,
-0.014009651727974415,
-0.09229473769664764,
0.033475324511528015,
0.028776105493307114,
-0.0056804209016263485,
-0.023144084960222244,
-0.03087051399052143,
0.05593300610780716,
0.05966421961784363,
0.03650253266096115,
0.035059329122304916,
0.0069520254619419575,
0.0052932193502783775,
-0.0007342526805587113,
-0.0003027761122211814,
0.03850894048810005,
0.00857563130557537,
-0.03903694450855255,
0.049385782331228256,
-0.03636173531413078,
0.012680846266448498,
0.06754904985427856,
-0.024692891165614128,
-0.02997291088104248,
0.04202895611524582,
0.026048095896840096,
0.03393292427062988,
-0.017679264768958092,
-0.0013761051231995225,
-0.012232044711709023,
-0.001305704819969833,
0.04072654992341995,
-0.05265939235687256,
-0.01858566887676716,
0.017978467047214508,
0.05399699881672859,
-0.03567533195018768,
-0.012601646594703197,
-0.06367703527212143,
-0.016552861779928207,
-0.05325779691338539,
0.02449928969144821,
0.03055371157824993,
-0.016500061377882957,
0.013208848424255848,
0.005522020161151886,
0.04329615831375122,
0.006239222828298807,
0.030835313722491264,
0.011862443760037422,
-0.05487700179219246,
0.015364856459200382,
0.04076175019145012,
0.010692039504647255,
0.029515309259295464,
0.03071211278438568,
0.007722028531134129,
-0.025256093591451645,
0.01958887279033661,
-0.0035684132017195225,
0.0050116186030209064,
-0.006208423059433699,
-0.0045980168506503105,
0.003443012712523341,
-0.01916647143661976,
-0.007638427894562483,
0.02207048051059246,
0.0006924525368958712,
-0.022721683606505394,
-0.035956934094429016,
-0.03118731454014778,
-0.008945233188569546,
0.04533776640892029,
0.017925666645169258,
-0.05818581581115723,
0.03504173085093498,
-0.06321943551301956,
-0.008615232072770596,
0.010762440040707588,
-0.02233448252081871,
0.0018469068454578519,
-0.029092907905578613,
0.036784134805202484,
0.02738570049405098,
-0.014203252270817757,
0.051849789917469025,
0.04766097664833069,
-0.016948862001299858,
0.04808337613940239,
-0.02622409723699093,
0.05040658637881279,
0.01617445982992649,
0.01440565288066864,
-0.02360168658196926,
-0.013824851252138615,
-0.011651243083178997,
0.019342470914125443,
0.03145131468772888,
-0.042064156383275986,
-0.010093636810779572,
-0.025995295494794846,
0.006362423300743103,
0.0028248103335499763,
-0.00984723586589098,
-0.04107855260372162,
-0.06839384883642197,
-0.022721683606505394,
-0.03250731900334358,
-0.0744834765791893,
0.024675291031599045,
0.014388052746653557,
0.001370605081319809,
0.08088989555835724,
-0.009284034371376038,
-0.04044494777917862,
0.028195302933454514,
0.03734733909368515,
-0.029832109808921814,
0.023091284558176994,
0.013446449302136898,
-0.046851374208927155,
-0.006630824413150549,
0.07483547180891037,
0.01250484585762024,
0.03171531856060028,
0.02944490872323513,
0.05392659828066826,
-0.01143124233931303,
-0.033422522246837616,
-0.03875534236431122,
-0.0009009033092297614,
0.001436605234630406,
0.012768846936523914,
-0.04935058206319809,
-0.02323208563029766,
-0.005007218569517136,
-0.014044851996004581,
0.04871698096394539,
0.01832166686654091,
0.06068502366542816,
-0.009398434311151505
]
|
37,167 | ipinfo.handler_async | getBatchDetails |
Get details for a batch of IP addresses at once.
There is no specified limit to the number of IPs this function can
accept; it can handle as much as the user can fit in RAM (along with
all of the response data, which is at least a magnitude larger than the
input list).
The input list is broken up into batches to abide by API requirements.
The batch size can be adjusted with `batch_size` but is clipped to
`BATCH_MAX_SIZE`.
Defaults to `BATCH_MAX_SIZE`.
For each batch, `timeout_per_batch` indicates the maximum seconds to
spend waiting for the HTTP request to complete. If any batch fails with
this timeout, the whole operation fails.
Defaults to `BATCH_REQ_TIMEOUT_DEFAULT` seconds.
`timeout_total` is a seconds-denominated hard-timeout for the time
spent in HTTP operations; regardless of whether all batches have
succeeded so far, if `timeout_total` is reached, the whole operation
will fail by raising `TimeoutExceededError`.
Defaults to being turned off.
`raise_on_fail`, if turned off, will return any result retrieved so far
rather than raise an exception when errors occur, including timeout and
quota errors.
Defaults to on.
The concurrency level is currently unadjustable; coroutines will be
created and consumed for all batches at once.
| def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup aiohttp
self.httpsess = None
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
| (self, ip_addresses, batch_size=None, timeout_per_batch=5, timeout_total=None, raise_on_fail=True) | [
-0.06332503259181976,
-0.04956178367137909,
-0.08792992681264877,
-0.011712843552231789,
-0.004182215314358473,
0.003478212747722864,
-0.06427543610334396,
0.028142504394054413,
-0.01321764849126339,
-0.04132495075464249,
0.043155357241630554,
0.054384201765060425,
-0.026048095896840096,
-0.0035024129319936037,
0.004056815057992935,
0.013569650240242481,
0.01445845328271389,
0.01953607238829136,
-0.0023738087620586157,
-0.07177306711673737,
-0.018409667536616325,
-0.004954418167471886,
-0.010120037011802197,
0.02569609507918358,
0.0025014092680066824,
0.004250415600836277,
-0.0020130074117332697,
-0.013648849911987782,
0.05582740530371666,
-0.004914817865937948,
0.037100937217473984,
0.01013763714581728,
-0.02965610846877098,
0.0740610733628273,
-0.015127255581319332,
-0.052694592624902725,
0.012777647003531456,
0.006120422389358282,
-0.1705094277858734,
-0.00905523356050253,
-0.02323208563029766,
-0.03787533938884735,
-0.002642209641635418,
0.0036872136406600475,
-0.005139219108968973,
0.01190644409507513,
-0.05561620369553566,
0.034267324954271317,
0.07092826068401337,
-0.04259215667843819,
-0.027720101177692413,
0.009697635658085346,
0.003245011903345585,
0.02101447805762291,
0.009081633761525154,
0.0759618803858757,
-0.025784095749258995,
0.05209619179368019,
-0.01498645544052124,
0.05656660720705986,
-0.05839701369404793,
-0.029568109661340714,
0.033000122755765915,
0.0025058093015104532,
-0.010841639712452888,
0.01760006509721279,
-0.03608013316988945,
0.012232044711709023,
0.00539881968870759,
-0.019148871302604675,
0.05614420771598816,
-0.006054422352463007,
-0.013446449302136898,
0.011739242821931839,
0.01292724721133709,
0.0015444057062268257,
-0.0877891257405281,
-0.010208037681877613,
-0.034214526414871216,
0.03864974156022072,
-0.008500831201672554,
-0.06758424639701843,
-0.02564329467713833,
-0.03461932763457298,
0.04744977504014969,
-0.04287375882267952,
0.04234575480222702,
-0.06642264127731323,
-0.022510481998324394,
0.03055371157824993,
-0.07905948907136917,
0.022088080644607544,
-0.03713613748550415,
0.008989233523607254,
-0.011598442681133747,
0.000544227019418031,
-0.0010197038063779473,
-0.016024859622120857,
-0.019817672669887543,
0.005007218569517136,
0.016711261123418808,
-0.02886410616338253,
-0.013446449302136898,
0.031468916684389114,
0.03303532302379608,
-0.025308893993496895,
0.03023691102862358,
-0.031785715371370316,
0.03282412141561508,
-0.013728050515055656,
-0.03171531856060028,
-0.051427390426397324,
0.031521715223789215,
0.032841719686985016,
-0.00412941537797451,
-0.000961953541263938,
0.010216837748885155,
0.03546413034200668,
-0.008210429921746254,
0.016526460647583008,
-0.032260917127132416,
0.011730442754924297,
0.005764021072536707,
0.03023691102862358,
0.05878421664237976,
0.018920069560408592,
0.012672046199440956,
-0.01943047158420086,
0.010093636810779572,
-0.004386816173791885,
0.03600973263382912,
0.010788839310407639,
0.03727693855762482,
0.0020064073614776134,
-0.00277201016433537,
0.033369723707437515,
0.016684861853718758,
0.0006501023890450597,
-0.006102822255343199,
0.05572180449962616,
-0.01019043754786253,
-0.035833731293678284,
0.0003027761122211814,
-0.05529940500855446,
0.053328197449445724,
-0.009020033292472363,
0.0009498535073362291,
-0.05371539667248726,
-0.014044851996004581,
-0.06163542717695236,
0.06628184765577316,
0.01628006063401699,
-0.04818897694349289,
0.04561936855316162,
-0.06937945634126663,
-0.035728130489587784,
-0.04649937152862549,
0.04593616724014282,
-0.019289670512080193,
0.03692493587732315,
-0.021577678620815277,
0.03166251629590988,
-0.03055371157824993,
-0.055229004472494125,
-0.006749624852091074,
-0.035059329122304916,
0.012100044637918472,
-0.030412912368774414,
-0.002794010331854224,
0.02896970696747303,
-0.03277131915092468,
-0.01932487078011036,
-0.04896337911486626,
0.010929640382528305,
0.01385125145316124,
0.00857563130557537,
0.006182022858411074,
-0.02154248021543026,
-0.012839247472584248,
-0.01995847374200821,
0.01506565511226654,
-0.04055054858326912,
-0.07694748044013977,
0.033000122755765915,
0.0036806135904043913,
0.04702737182378769,
0.04593616724014282,
0.013358449563384056,
0.03187371790409088,
0.07018905878067017,
-0.013129648752510548,
0.004250415600836277,
0.009416034445166588,
-0.06314903497695923,
0.02006407454609871,
-0.01662326045334339,
0.03277131915092468,
-0.042416155338287354,
-0.02601289562880993,
-0.01858566887676716,
-0.06321943551301956,
0.009873636066913605,
0.02449928969144821,
-0.01617445982992649,
0.008593231439590454,
0.054806601256132126,
0.035851333290338516,
0.021824080497026443,
-0.051004987210035324,
0.025995295494794846,
-0.06786584854125977,
0.00110055401455611,
-0.013472849503159523,
0.02117287740111351,
-0.004659617319703102,
0.020257674157619476,
-0.031574517488479614,
0.05519380420446396,
0.05160339176654816,
0.015329656191170216,
0.07187866419553757,
-0.021032078191637993,
-0.029620908200740814,
-0.03229611739516258,
0.03791053965687752,
0.0009597535245120525,
0.016473660245537758,
0.04097295179963112,
-0.06832344830036163,
-0.0013684050645679235,
-0.03351052477955818,
0.03674893453717232,
0.03960014507174492,
-0.011545642279088497,
0.01079763937741518,
-0.023249685764312744,
0.06695064902305603,
0.01580485887825489,
-0.008553631603717804,
0.01198564376682043,
0.05508820340037346,
-0.00006950650276849046,
0.005082018673419952,
-0.04012814909219742,
-0.045795369893312454,
0.023038484156131744,
-0.009398434311151505,
0.0012738046934828162,
0.0021175078582018614,
-0.005209619179368019,
-0.021243277937173843,
0.016579261049628258,
-0.03998734802007675,
-0.006085222586989403,
0.005865221377462149,
-0.07525787502527237,
0.02786090224981308,
-0.002376008778810501,
0.011545642279088497,
-0.008892432786524296,
-0.0054648201912641525,
-0.013956851325929165,
-0.01708086207509041,
0.03440812602639198,
-0.03245452046394348,
0.017239263281226158,
0.06695064902305603,
-0.025414492934942245,
-0.02471049129962921,
-0.009548035450279713,
0.032208118587732315,
0.07652508467435837,
0.007783628534525633,
-0.0028666106518357992,
0.0035816130694001913,
-0.013358449563384056,
0.028934506699442863,
-0.002499209251254797,
-0.10679719597101212,
0.02133127860724926,
0.034900929778814316,
-0.018339267000555992,
0.03546413034200668,
0.02016967348754406,
-0.025256093591451645,
-0.032419320195913315,
-0.009152033366262913,
0.05955861881375313,
0.029040107503533363,
-0.021507279947400093,
0.008456830866634846,
0.04417616128921509,
-0.009741635993123055,
0.041008152067661285,
-0.005394419655203819,
-0.054489798843860626,
-0.02159527875483036,
0.04114895313978195,
0.040902551263570786,
0.009363234043121338,
-0.043577760457992554,
-0.0008305030642077327,
0.10081317275762558,
-0.034372925758361816,
0.032788921147584915,
-0.014335252344608307,
0.0074844276532530785,
0.03372172266244888,
0.01715126261115074,
0.04012814909219742,
0.04308496043086052,
-0.023302486166357994,
0.033158522099256516,
-0.018145667389035225,
-0.004892818164080381,
0.04002254828810692,
0.007708828430622816,
0.03664333373308182,
0.021137677133083344,
0.04371856153011322,
-0.06659864634275436,
0.04829457774758339,
0.0025520094204694033,
-0.008144429884850979,
0.044211361557245255,
-0.023408086970448494,
0.06089622527360916,
0.01779366470873356,
0.00024447590112686157,
-0.03018411062657833,
-0.04171215370297432,
-0.022774484008550644,
-0.05220179259777069,
-0.005794821307063103,
-0.02196488156914711,
0.033158522099256516,
-0.018867269158363342,
-0.006419623736292124,
0.028300903737545013,
-0.01583125814795494,
-0.0065912241116166115,
-0.04086735099554062,
-0.04723857343196869,
0.06726744771003723,
-0.08046749979257584,
-0.06526104360818863,
0.05498260259628296,
-0.011660043150186539,
0.01848006807267666,
-0.010982440784573555,
-0.04340175911784172,
-0.03685453534126282,
0.12327085435390472,
0.07927069067955017,
0.09405474364757538,
-0.048540979623794556,
-0.016156859695911407,
-0.05910101905465126,
-0.01755606383085251,
0.0020746076479554176,
0.009328034706413746,
-0.004545216914266348,
-0.03113451413810253,
0.03398572653532028,
0.002906210720539093,
-0.04329615831375122,
0.06462743878364563,
0.004659617319703102,
0.010727239772677422,
-0.07462427765130997,
-0.015470457263290882,
-0.02886410616338253,
-0.002391408896073699,
0.04245135560631752,
0.02090887725353241,
-0.02506249211728573,
-0.004901618231087923,
0.009090433828532696,
-0.08729632198810577,
0.05976982042193413,
0.024675291031599045,
0.05104018747806549,
0.0012914047110825777,
0.026681698858737946,
0.010991240851581097,
-0.04899857938289642,
0.02381288819015026,
0.033580925315618515,
0.028670504689216614,
0.02291528508067131,
0.03182091563940048,
-0.011765643022954464,
-0.015576057136058807,
-0.01921926997601986,
-0.015919258818030357,
-0.0018403067952021956,
-0.021630479022860527,
0.047379374504089355,
0.02064487524330616,
-0.01569925807416439,
0.04512656480073929,
-0.04097295179963112,
0.03759373724460602,
0.04734417423605919,
-0.008012429811060429,
0.005262419581413269,
0.07856669276952744,
0.00431421585381031,
0.05945301800966263,
0.023460885509848595,
-0.03409132733941078,
-0.01717766374349594,
-0.011061640456318855,
-0.012082444503903389,
-0.08581791818141937,
-0.002541009336709976,
-0.028089703992009163,
0.006327223498374224,
-0.030148910358548164,
0.03282412141561508,
0.03833294287323952,
0.03345772251486778,
-0.00393801461905241,
-0.025203293189406395,
0.02960330806672573,
-0.04445776343345642,
0.005425219889730215,
-0.01795206591486931,
-0.03850894048810005,
-0.027931302785873413,
-0.020556876435875893,
0.03808654099702835,
-0.04808337613940239,
-0.04924498125910759,
0.04920978099107742,
0.026417696848511696,
-0.03197931870818138,
-0.023196885362267494,
0.0060676224529743195,
0.011836043559014797,
-0.03314092382788658,
-0.017028063535690308,
-0.017978467047214508,
0.011651243083178997,
0.00355521310120821,
-0.013701650314033031,
-0.0765954852104187,
0.011334441602230072,
0.05149779096245766,
-0.06089622527360916,
-0.06448663771152496,
0.035147327929735184,
-0.025308893993496895,
-0.002187908161431551,
-0.01667606085538864,
0.006604424212127924,
0.01190644409507513,
0.03769933804869652,
-0.04350735992193222,
-0.03377452492713928,
-0.011862443760037422,
-0.01858566887676716,
0.11123240739107132,
-0.04283855855464935,
0.038262542337179184,
0.06367703527212143,
0.03319372236728668,
0.03028971143066883,
-0.01032243762165308,
-0.024217689409852028,
-0.08631071448326111,
0.01964167319238186,
-0.03567533195018768,
-0.03081771358847618,
0.012249644845724106,
-0.02022247388958931,
-0.019659271463751793,
-0.022827284410595894,
-0.01435285247862339,
-0.03872014209628105,
0.0736386701464653,
0.04012814909219742,
0.05107538774609566,
0.01403605192899704,
0.03483052924275398,
-0.06480343639850616,
0.048646580427885056,
-0.0036696135066449642,
0.018040066584944725,
-0.046640172600746155,
-0.01630645990371704,
0.01345524936914444,
-0.03034251183271408,
-0.009873636066913605,
0.026505697518587112,
0.04477456584572792,
0.0043098158203065395,
0.020187273621559143,
0.04319055750966072,
-0.04597136750817299,
0.012258444912731647,
-0.011994443833827972,
-0.0006616524187847972,
-0.0008206030470319092,
-0.011660043150186539,
0.020292874425649643,
-0.06948505342006683,
-0.04086735099554062,
-0.03314092382788658,
0.008302830159664154,
-0.030940914526581764,
0.010120037011802197,
0.0013728050980716944,
-0.02212328091263771,
0.02722730115056038,
0.047801777720451355,
-0.04861138015985489,
0.0017809065757319331,
-0.04998418316245079,
0.036326535046100616,
0.05720021203160286,
0.032155320048332214,
0.0780738890171051,
0.026558497920632362,
-0.012760046869516373,
0.037734538316726685,
0.019712071865797043,
0.007400827016681433,
0.019624073058366776,
0.009319234639406204,
-0.04276815801858902,
-0.04150095209479332,
-0.012056044302880764,
0.05389139801263809,
0.033475324511528015,
-0.00857563130557537,
-0.017336063086986542,
-0.05966421961784363,
0.007735228631645441,
-0.0041184150613844395,
0.010454438626766205,
0.03840333968400955,
-0.02865290455520153,
-0.07377947121858597,
-0.040691349655389786,
-0.07335706800222397,
0.0072424267418682575,
0.018515268340706825,
0.04702737182378769,
-0.009979236871004105,
0.016526460647583008,
-0.03935374319553375,
0.08828192204236984,
-0.04209935665130615,
-0.003616813337430358,
-0.04688657075166702,
-0.04829457774758339,
-0.026294495910406113,
-0.008034429512917995,
0.006190822925418615,
0.014379252679646015,
0.007682428229600191,
-0.10574118793010712,
0.013156048022210598,
-0.054173000156879425,
0.01953607238829136,
0.009451234713196754,
0.03924814611673355,
0.017679264768958092,
0.03706573694944382,
0.03416172415018082,
-0.007480027619749308,
0.004142615478485823,
0.024833692237734795,
-0.06934425234794617,
0.016420859843492508,
0.012232044711709023,
-0.030835313722491264,
0.08194590359926224,
-0.004699217155575752,
0.024728091433644295,
-0.0034958128817379475,
-0.00007239401747938246,
-0.019254470244050026,
-0.016447260975837708,
0.003927014302462339,
0.056179407984018326,
0.03208491951227188,
0.10102437436580658,
0.014388052746653557,
-0.06431064009666443,
-0.01435285247862339,
0.01766166463494301,
0.006622024346143007,
-0.003179011633619666,
0.05815061554312706,
-0.04287375882267952,
-0.033211320638656616,
-0.02522089332342148,
0.0073128268122673035,
-0.03118731454014778,
0.04840017855167389,
-0.055334605276584625,
0.00034237626823596656,
0.01858566887676716,
0.01617445982992649,
-0.05477140098810196,
0.006419623736292124,
-0.00929283443838358,
-0.01393045112490654,
-0.009873636066913605,
-0.02434089034795761,
0.055123403668403625,
0.01198564376682043,
-0.010419238358736038,
-0.010885640047490597,
-0.013200048357248306,
0.033000122755765915,
0.0008090529590845108,
-0.04340175911784172,
-0.02865290455520153,
-0.04329615831375122,
-0.024094488471746445,
0.057024210691452026,
-0.05624980852007866,
-0.023425687104463577,
0.07128026336431503,
-0.014009651727974415,
-0.09229473769664764,
0.033475324511528015,
0.028776105493307114,
-0.0056804209016263485,
-0.023144084960222244,
-0.03087051399052143,
0.05593300610780716,
0.05966421961784363,
0.03650253266096115,
0.035059329122304916,
0.0069520254619419575,
0.0052932193502783775,
-0.0007342526805587113,
-0.0003027761122211814,
0.03850894048810005,
0.00857563130557537,
-0.03903694450855255,
0.049385782331228256,
-0.03636173531413078,
0.012680846266448498,
0.06754904985427856,
-0.024692891165614128,
-0.02997291088104248,
0.04202895611524582,
0.026048095896840096,
0.03393292427062988,
-0.017679264768958092,
-0.0013761051231995225,
-0.012232044711709023,
-0.001305704819969833,
0.04072654992341995,
-0.05265939235687256,
-0.01858566887676716,
0.017978467047214508,
0.05399699881672859,
-0.03567533195018768,
-0.012601646594703197,
-0.06367703527212143,
-0.016552861779928207,
-0.05325779691338539,
0.02449928969144821,
0.03055371157824993,
-0.016500061377882957,
0.013208848424255848,
0.005522020161151886,
0.04329615831375122,
0.006239222828298807,
0.030835313722491264,
0.011862443760037422,
-0.05487700179219246,
0.015364856459200382,
0.04076175019145012,
0.010692039504647255,
0.029515309259295464,
0.03071211278438568,
0.007722028531134129,
-0.025256093591451645,
0.01958887279033661,
-0.0035684132017195225,
0.0050116186030209064,
-0.006208423059433699,
-0.0045980168506503105,
0.003443012712523341,
-0.01916647143661976,
-0.007638427894562483,
0.02207048051059246,
0.0006924525368958712,
-0.022721683606505394,
-0.035956934094429016,
-0.03118731454014778,
-0.008945233188569546,
0.04533776640892029,
0.017925666645169258,
-0.05818581581115723,
0.03504173085093498,
-0.06321943551301956,
-0.008615232072770596,
0.010762440040707588,
-0.02233448252081871,
0.0018469068454578519,
-0.029092907905578613,
0.036784134805202484,
0.02738570049405098,
-0.014203252270817757,
0.051849789917469025,
0.04766097664833069,
-0.016948862001299858,
0.04808337613940239,
-0.02622409723699093,
0.05040658637881279,
0.01617445982992649,
0.01440565288066864,
-0.02360168658196926,
-0.013824851252138615,
-0.011651243083178997,
0.019342470914125443,
0.03145131468772888,
-0.042064156383275986,
-0.010093636810779572,
-0.025995295494794846,
0.006362423300743103,
0.0028248103335499763,
-0.00984723586589098,
-0.04107855260372162,
-0.06839384883642197,
-0.022721683606505394,
-0.03250731900334358,
-0.0744834765791893,
0.024675291031599045,
0.014388052746653557,
0.001370605081319809,
0.08088989555835724,
-0.009284034371376038,
-0.04044494777917862,
0.028195302933454514,
0.03734733909368515,
-0.029832109808921814,
0.023091284558176994,
0.013446449302136898,
-0.046851374208927155,
-0.006630824413150549,
0.07483547180891037,
0.01250484585762024,
0.03171531856060028,
0.02944490872323513,
0.05392659828066826,
-0.01143124233931303,
-0.033422522246837616,
-0.03875534236431122,
-0.0009009033092297614,
0.001436605234630406,
0.012768846936523914,
-0.04935058206319809,
-0.02323208563029766,
-0.005007218569517136,
-0.014044851996004581,
0.04871698096394539,
0.01832166686654091,
0.06068502366542816,
-0.009398434311151505
]
|
37,168 | ipinfo.handler_async | getBatchDetailsIter | null | def _ensure_aiohttp_ready(self):
"""Ensures aiohttp internal state is initialized."""
if self.httpsess:
return
timeout = aiohttp.ClientTimeout(total=self.request_options["timeout"])
self.httpsess = aiohttp.ClientSession(timeout=timeout)
| (self, ip_addresses, batch_size=None, raise_on_fail=True) | [
-0.06296470016241074,
0.013880941085517406,
-0.0368647575378418,
-0.027629682794213295,
0.027421940118074417,
0.046232033520936966,
-0.06058511510491371,
0.02264387533068657,
-0.010830910876393318,
-0.03099132515490055,
0.016845986247062683,
0.026874257251620293,
0.05355965718626976,
0.005084956996142864,
0.022473905235528946,
0.004664751701056957,
0.04003754258155823,
-0.006756335496902466,
-0.03403191268444061,
-0.1040220707654953,
-0.039282117038965225,
0.06700623035430908,
-0.011076424270868301,
-0.01747865416109562,
-0.004133593291044235,
-0.04071742668747902,
-0.04336141422390938,
-0.024759065359830856,
0.05427731201052666,
0.004858329426497221,
0.030632497742772102,
0.021359652280807495,
0.051897723227739334,
0.0523509755730629,
0.025061236694455147,
0.005557097960263491,
0.030594727024435997,
-0.05439062416553497,
-0.04173725098371506,
0.019527746364474297,
-0.015845047309994698,
-0.042303819209337234,
-0.04317256063222885,
-0.0007040800410322845,
-0.016930971294641495,
-0.022473905235528946,
-0.02706311270594597,
0.010538184083998203,
-0.008810148574411869,
0.019235018640756607,
-0.028592849150300026,
0.00943809561431408,
0.04336141422390938,
0.052124351263046265,
-0.02109525352716446,
0.04657197371125221,
-0.034485168755054474,
0.004438124131411314,
-0.03682698681950569,
0.008574077859520912,
-0.04271930456161499,
0.016562700271606445,
-0.03233220428228378,
-0.03053807094693184,
0.011737421154975891,
0.003519810037687421,
-0.06092505529522896,
0.03112352453172207,
0.03843226656317711,
-0.010339885018765926,
0.022341705858707428,
0.0664018914103508,
0.007299297489225864,
-0.03327648714184761,
0.037431325763463974,
0.02870616316795349,
-0.10205796360969543,
-0.020623112097382545,
-0.03867777809500694,
0.02980153076350689,
-0.017837481573224068,
0.022908274084329605,
-0.017280355095863342,
0.010500412434339523,
0.0538618266582489,
-0.028536193072795868,
-0.014560824260115623,
-0.01740311086177826,
-0.019301118329167366,
-0.02309712953865528,
-0.006199209485203028,
0.06137831136584282,
0.015542876906692982,
-0.007337068673223257,
0.04804505407810211,
-0.005363520234823227,
-0.0038148979656398296,
-0.02375812828540802,
-0.026874257251620293,
-0.05578816309571266,
-0.042379364371299744,
0.011926277540624142,
0.02670428715646267,
-0.005613754503428936,
0.015335135161876678,
-0.05635473132133484,
0.0369025282561779,
-0.051104526966810226,
0.024740180000662804,
-0.02640211582183838,
-0.010273785330355167,
-0.02538229152560234,
0.021435193717479706,
0.05726124346256256,
-0.01080258283764124,
-0.02073642611503601,
0.024381352588534355,
0.009305896237492561,
0.014135897159576416,
-0.04139731079339981,
-0.06447555124759674,
-0.003191672032698989,
0.016213316470384598,
0.003378167748451233,
0.050198014825582504,
0.019641058519482613,
-0.024532439187169075,
0.02617548778653145,
0.0017150515923276544,
-0.058318838477134705,
0.021057482808828354,
0.00937671773135662,
0.009268124587833881,
0.03114240989089012,
-0.03252106159925461,
0.028007395565509796,
-0.019716601818799973,
0.017950795590877533,
-0.006897978018969297,
-0.008177479729056358,
-0.04037748649716377,
0.007672288920730352,
-0.06062288582324982,
-0.08815813809633255,
0.06983907520771027,
0.03701584413647652,
-0.04676083102822304,
-0.03550499305129051,
-0.001709149917587638,
-0.0862695723772049,
0.06757279485464096,
-0.03304985910654068,
-0.011558008380234241,
-0.0280451662838459,
-0.04830945283174515,
-0.03671367093920708,
-0.024022527039051056,
-0.02657208777964115,
0.060018543154001236,
0.006336130201816559,
-0.027535254135727882,
0.039131034165620804,
0.01118029560893774,
-0.06723285466432571,
-0.02124633826315403,
0.010349327698349953,
-0.05102898180484772,
-0.040830738842487335,
0.03350311517715454,
0.012672260403633118,
-0.0398486889898777,
0.006534429267048836,
-0.04373912885785103,
-0.06534429639577866,
0.022587217390537262,
-0.036033790558576584,
0.044985581189394,
-0.000695227412506938,
-0.01357877068221569,
-0.0055146049708127975,
-0.023474842309951782,
-0.041208453476428986,
-0.07848869264125824,
0.038470037281513214,
0.004400352947413921,
0.06734617054462433,
0.0188100915402174,
0.02375812828540802,
0.011255837976932526,
0.028800591826438904,
-0.03010370023548603,
0.050424642860889435,
-0.008876248262822628,
0.022379476577043533,
0.07108552753925323,
-0.01903671957552433,
0.00760146789252758,
0.0031350152567029,
0.03484399616718292,
0.05567484721541405,
0.0045821270905435085,
-0.0018307261634618044,
0.03163343667984009,
-0.0014506527222692966,
0.03055695630609989,
-0.00560431182384491,
-0.03040587157011032,
-0.03924434632062912,
-0.028932791203260422,
0.01213402021676302,
-0.11263392120599747,
0.01092533953487873,
-0.0028446486685425043,
0.03371085599064827,
0.010745925828814507,
0.01999988593161106,
0.03023589961230755,
0.02088751085102558,
0.05801666900515556,
0.028819477185606956,
0.05624141916632652,
-0.03416411206126213,
-0.016657128930091858,
-0.06466440856456757,
0.013012201525270939,
-0.002523592906072736,
-0.0013668477768078446,
0.02966933138668537,
-0.00896595511585474,
0.02317267283797264,
0.014711908996105194,
0.10092482715845108,
0.01088756788522005,
-0.0011384496465325356,
0.019792145118117332,
0.005155778024345636,
0.007799766957759857,
0.03261549025774002,
-0.04808282479643822,
-0.0331820584833622,
-0.036789216101169586,
-0.010859239846467972,
-0.04328587278723717,
-0.039659831672906876,
-0.05348411574959755,
0.04744071140885353,
-0.023701470345258713,
0.013097187504172325,
-0.008002787828445435,
-0.019641058519482613,
-0.026893142610788345,
-0.028196251019835472,
0.040755197405815125,
-0.06677959859371185,
-0.035656075924634933,
-0.0317467525601387,
0.027554139494895935,
0.016062231734395027,
-0.02812070958316326,
0.021661821752786636,
0.021737365052103996,
0.06700623035430908,
-0.0840788409113884,
0.10273785144090652,
-0.012294547632336617,
-0.018932847306132317,
0.06458886712789536,
0.040906284004449844,
-0.03661924600601196,
-0.028064051643013954,
0.13023532927036285,
0.02560891956090927,
-0.0029013054445385933,
-0.03856446593999863,
0.014664694666862488,
-0.04011308774352074,
0.009877186268568039,
-0.05450394004583359,
-0.0693858191370964,
0.015391791239380836,
0.06621303409337997,
0.011038652621209621,
0.03127460926771164,
0.04483449459075928,
-0.05136892572045326,
-0.0398486889898777,
-0.045401062816381454,
0.03578827530145645,
-0.031690094619989395,
-0.02124633826315403,
-0.057223472744226456,
-0.03046252764761448,
0.04441901296377182,
0.03593936190009117,
-0.010849797166883945,
-0.04321033135056496,
-0.04660974442958832,
0.06832822412252426,
0.012917773798108101,
0.012530618347227573,
0.007908359169960022,
-0.005802610889077187,
-0.03427742421627045,
0.014891322702169418,
0.053597427904605865,
-0.060094088315963745,
-0.039508745074272156,
0.04626980423927307,
-0.02462686598300934,
0.010462640784680843,
-0.012776131741702557,
-0.04713854193687439,
0.04589208960533142,
0.036789216101169586,
0.016940413042902946,
0.02030205726623535,
-0.03658147156238556,
-0.04551437869668007,
0.029272733256220818,
0.017289798706769943,
-0.04959367588162422,
0.004763901233673096,
0.046005405485630035,
-0.0035316136199980974,
-0.038035668432712555,
-0.0019098097691312432,
0.07686453312635422,
0.00855519250035286,
-0.024324696511030197,
0.025061236694455147,
-0.05571262165904045,
0.00016436402802355587,
-0.041057366877794266,
-0.01323882956057787,
-0.033163174986839294,
-0.02553337626159191,
-0.029707102105021477,
-0.014183111488819122,
-0.0015981968026608229,
-0.051104526966810226,
-0.06368235498666763,
0.008186922408640385,
0.019811030477285385,
0.061944879591464996,
0.004282317589968443,
-0.02795073762536049,
-0.013965926133096218,
-0.035901591181755066,
-0.005420176777988672,
-0.08664728701114655,
-0.037960123270750046,
0.025420064106583595,
0.037639070302248,
0.06217150762677193,
0.02802628092467785,
-0.010575954802334309,
0.05695907026529312,
0.014098125509917736,
-0.005391848273575306,
-0.01762973889708519,
-0.0523509755730629,
0.03711026906967163,
-0.02190733514726162,
0.011303052306175232,
-0.00492442911490798,
-0.018536249175667763,
0.06874370574951172,
-0.02789408154785633,
0.011010324582457542,
-0.01770528219640255,
-0.03401302546262741,
-0.09805421531200409,
0.025438949465751648,
0.06617525964975357,
0.006454165559262037,
0.017752496525645256,
-0.06462664157152176,
-0.045174434781074524,
0.006430558394640684,
0.02929161861538887,
-0.001532097114250064,
-0.005193549208343029,
-0.0026581529527902603,
-0.05711015686392784,
-0.05650581791996956,
-0.07931966334581375,
-0.0035717454738914967,
0.012804459780454636,
0.013748741708695889,
0.009579737670719624,
0.009173696860671043,
0.030972439795732498,
0.0062605878338217735,
0.00223322631791234,
0.03786569461226463,
0.013219944201409817,
0.015401234850287437,
0.004652948118746281,
0.06436224281787872,
-0.012152905575931072,
0.03210557624697685,
0.010944224894046783,
0.050500184297561646,
0.04419238492846489,
0.013748741708695889,
0.050651270896196365,
0.03856446593999863,
-0.04713854193687439,
0.056165874004364014,
-0.008323843590915203,
-0.04521220922470093,
-0.015184049494564533,
-0.0435502715408802,
-0.0027384168934077024,
0.019197246059775352,
0.00833328627049923,
0.03731801360845566,
0.029102761298418045,
0.0553349070250988,
0.008026394061744213,
0.013597656041383743,
0.024022527039051056,
-0.0027903523296117783,
0.05873432010412216,
0.025438949465751648,
0.00962695199996233,
-0.021114138886332512,
0.007507039699703455,
0.010387098416686058,
-0.045552149415016174,
0.030368098989129066,
0.07244528830051422,
-0.020453142002224922,
0.009744986891746521,
-0.000801459071226418,
0.07138769328594208,
-0.02795073762536049,
0.0331820584833622,
-0.008196365088224411,
0.009083990007638931,
0.022813845425844193,
0.010783696547150612,
-0.007653403095901012,
0.02566557750105858,
0.08211473375558853,
0.030273672193288803,
0.00830023642629385,
0.050198014825582504,
0.03399414196610451,
-0.023663699626922607,
-0.04419238492846489,
0.0000324412394547835,
0.0006249964353628457,
0.044456783682107925,
-0.026439888402819633,
0.03735578432679176,
0.01889507658779621,
0.0679127424955368,
-0.024381352588534355,
-0.05571262165904045,
-0.034050799906253815,
0.03860223665833473,
0.044003527611494064,
0.012455075979232788,
0.005788446869701147,
0.017063170671463013,
0.045627690851688385,
0.016694899648427963,
-0.019584402441978455,
0.00018280703807249665,
-0.015099064446985722,
0.00693574920296669,
0.015184049494564533,
-0.03276657313108444,
0.03431519865989685,
-0.07924412190914154,
-0.016704343259334564,
0.021794021129608154,
0.024438010528683662,
-0.007568418048322201,
0.02220950648188591,
0.04921596124768257,
0.01457026693969965,
0.017903581261634827,
-0.008857361972332,
-0.024683523923158646,
-0.012587275356054306,
-0.017667511478066444,
0.019867686554789543,
-0.06745948642492294,
-0.009546687826514244,
0.01088756788522005,
-0.004327171016484499,
0.03875331953167915,
0.029234960675239563,
0.001696166000328958,
-0.035297248512506485,
0.024362467229366302,
0.018111322075128555,
0.006775221321731806,
0.019754372537136078,
0.0029249126091599464,
0.0016454108990728855,
0.10432424396276474,
0.021737365052103996,
0.017658067867159843,
-0.09238851815462112,
-0.03601490333676338,
0.00466947304084897,
-0.0006680793012492359,
0.01143525168299675,
0.021359652280807495,
-0.013352143578231335,
-0.050877898931503296,
0.06436224281787872,
0.0346551388502121,
-0.04200164973735809,
-0.02883836254477501,
-0.00156750762835145,
0.03775238245725632,
0.02462686598300934,
0.024324696511030197,
0.03620376065373421,
-0.04513666406273842,
-0.06013185903429985,
0.02256833203136921,
0.0112463952973485,
0.029461588710546494,
-0.01629830151796341,
0.024098068475723267,
-0.005193549208343029,
-0.048800479620695114,
-0.009773315861821175,
0.0030476690735667944,
-0.01203014887869358,
-0.0012405500747263432,
0.01571284793317318,
-0.025854432955384254,
-0.021000824868679047,
-0.037676841020584106,
0.055523764342069626,
0.02256833203136921,
0.03431519865989685,
-0.015287920832633972,
-0.013880941085517406,
-0.007625074591487646,
0.01235120464116335,
0.05231320485472679,
-0.010519297793507576,
0.026685399934649467,
-0.024362467229366302,
0.004723769146949053,
0.026949800550937653,
-0.03327648714184761,
-0.04921596124768257,
-0.09631673246622086,
0.022322818636894226,
-0.0619826503098011,
-0.014589152298867702,
-0.013654313050210476,
0.030198128893971443,
-0.01357877068221569,
-0.0648910403251648,
0.022832730785012245,
0.01542012020945549,
-0.011718535795807838,
0.04302147403359413,
0.03490065038204193,
0.04457009583711624,
0.037676841020584106,
0.0538618266582489,
-0.0582810677587986,
-0.022813845425844193,
-0.011076424270868301,
-0.028082937002182007,
-0.00156750762835145,
-0.0700656995177269,
0.012370090000331402,
0.03550499305129051,
0.022530561313033104,
0.05246429145336151,
-0.006633578799664974,
-0.01873454824090004,
-0.02744082547724247,
0.026666514575481415,
-0.035523876547813416,
0.053446345031261444,
0.05896094813942909,
-0.005193549208343029,
-0.05952752009034157,
-0.05571262165904045,
0.05597702041268349,
0.017138712108135223,
-0.05102898180484772,
0.016033902764320374,
0.009409767575562,
0.03658147156238556,
0.01799800992012024,
-0.011066981591284275,
0.008323843590915203,
0.009508917108178139,
0.10983885079622269,
-0.005061349831521511,
0.02640211582183838,
0.025552263483405113,
0.003909326158463955,
-0.016515487805008888,
0.04215273633599281,
-0.013909269124269485,
-0.07342734187841415,
-0.019678831100463867,
-0.009003725834190845,
0.018630677834153175,
-0.010368213057518005,
-0.04305924475193024,
0.0024999857414513826,
-0.08067943155765533,
0.018574021756649017,
0.020188743248581886,
-0.015486219897866249,
0.047478482127189636,
-0.08574077486991882,
-0.010339885018765926,
0.033824171870946884,
-0.039433203637599945,
0.005703461356461048,
0.056165874004364014,
-0.05858323723077774,
-0.06749725341796875,
-0.015042407438158989,
0.03864000737667084,
-0.020679770037531853,
-0.00781865231692791,
-0.012455075979232788,
0.035372793674468994,
0.023739241063594818,
0.002173028187826276,
0.028819477185606956,
0.04846053570508957,
-0.009598623029887676,
-0.020169857889413834,
-0.033389799296855927,
0.02457020990550518,
-0.011000881902873516,
0.0678749680519104,
-0.0020833215676248074,
-0.03314428776502609,
0.00807833019644022,
0.0664018914103508,
-0.021340766921639442,
-0.022983817383646965,
0.04151062294840813,
0.04543883353471756,
-0.013909269124269485,
-0.03882886469364166,
-0.05763895437121391,
-0.04173725098371506,
-0.025420064106583595,
0.015845047309994698,
-0.039131034165620804,
-0.008309679105877876,
0.006057566963136196,
-0.008399385958909988,
0.027403054758906364,
0.04139731079339981,
0.008366336114704609,
-0.06183156743645668,
-0.005023578647524118,
0.008238857612013817,
0.0294993594288826,
0.02647765912115574,
0.026458773761987686,
0.025193436071276665,
0.032785460352897644,
-0.009135925211012363,
0.024003641679883003,
0.0036284024827182293,
-0.03882886469364166,
0.012615603394806385,
0.03631707280874252,
-0.01593947596848011,
0.027629682794213295,
-0.05084012821316719,
-0.09185972064733505,
0.01821519434452057,
-0.062095966190099716,
-0.012011263519525528,
-0.02411695383489132,
0.007941409014165401,
-0.03121795319020748,
0.0003974835854023695,
0.006921584717929363,
-0.00289658410474658,
0.04736516997218132,
-0.029348274692893028,
-0.0442679263651371,
-0.010056599974632263,
0.006869649514555931,
0.01434363890439272,
0.012303990311920643,
0.051671095192432404,
-0.013097187504172325,
-0.0427948459982872,
-0.013729856349527836,
0.022266162559390068,
0.03348422795534134,
-0.04993361607193947,
0.04963144659996033,
-0.05892317742109299,
0.0007300478173419833,
0.0030759975779801607,
-0.0450233519077301,
0.02530675008893013,
-0.006893256213515997,
-0.014862993732094765,
0.03208669275045395,
0.0004792229738086462,
0.002979208715260029,
-0.02241724729537964,
-0.0035811883863061666,
-0.03327648714184761,
0.02449466660618782,
0.007998066022992134,
-0.019489973783493042,
0.05257760360836983,
-0.010387098416686058,
-0.07195426523685455,
0.004858329426497221,
0.011227509006857872,
0.019792145118117332,
0.0029744873754680157,
-0.039810918271541595,
-0.07663790136575699,
0.03267214819788933,
-0.056543588638305664,
-0.007152934093028307,
0.00647305091843009,
0.00557126197963953,
-0.04302147403359413,
-0.008389943279325962,
-0.011019767262041569,
-0.07558030635118484,
0.021340766921639442,
-0.021435193717479706,
-0.01813965104520321,
-0.0004343695763964206,
0.016109446063637733,
-0.06727062910795212,
0.00044764854828827083,
0.039131034165620804,
-0.008021673187613487,
0.0033380358945578337,
0.04381467029452324,
0.04838499426841736,
0.011642993427813053,
0.005325748585164547,
-0.03399414196610451,
0.0354105643928051,
0.005750675685703754,
0.0151273924857378,
-0.04676083102822304,
0.009726101532578468,
0.04744071140885353,
0.02868727780878544,
-0.014419181272387505,
-0.0011307772947475314,
0.0339374840259552,
0.012237890623509884
]
|
37,169 | ipinfo.handler_async | getDetails | Get details for specified IP address as a Details object. | def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup aiohttp
self.httpsess = None
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
| (self, ip_address=None, timeout=None) | [
-0.06335929781198502,
-0.04959625378251076,
-0.08785822987556458,
-0.011703871190547943,
-0.004228353500366211,
0.0034957614261657,
-0.06427448987960815,
0.02812448889017105,
-0.013182254508137703,
-0.04132434353232384,
0.04308432340621948,
0.05445379763841629,
-0.026065312325954437,
-0.003464961890131235,
0.004063355270773172,
0.013534250669181347,
0.014484640210866928,
0.019482985138893127,
-0.0024023735895752907,
-0.0717720091342926,
-0.01842699758708477,
-0.004980745259672403,
-0.010146288201212883,
0.02576611563563347,
0.0024705727118998766,
0.004289952572435141,
-0.0020415775943547487,
-0.013622249476611614,
0.055756185203790665,
-0.004910345654934645,
0.03706518933176994,
0.010155088268220425,
-0.029620472341775894,
0.07405998557806015,
-0.015100633725523949,
-0.05272901803255081,
0.012759859673678875,
0.006089532747864723,
-0.17050692439079285,
-0.009028700180351734,
-0.023196544498205185,
-0.03790998086333275,
-0.002611371222883463,
0.0037069590762257576,
-0.005174343008548021,
0.011923868209123611,
-0.0556153878569603,
0.034266822040081024,
0.0709272176027298,
-0.04255633056163788,
-0.02771969512104988,
0.00969749316573143,
0.00326036405749619,
0.02103176712989807,
0.009090299718081951,
0.07589036226272583,
-0.025730915367603302,
0.05209542438387871,
-0.014915835112333298,
0.05660097673535347,
-0.05839615687727928,
-0.029567673802375793,
0.033052437007427216,
0.0024925724137574434,
-0.010850280523300171,
0.017608605325222015,
-0.03607960045337677,
0.01219666562974453,
0.005407540127635002,
-0.019113389775156975,
0.0561433807015419,
-0.006067533046007156,
-0.013437451794743538,
0.011721470393240452,
0.012927057221531868,
0.0014959834516048431,
-0.08785822987556458,
-0.0102078877389431,
-0.034266822040081024,
0.03864917531609535,
-0.00844790693372488,
-0.06765365600585938,
-0.025642916560173035,
-0.034530818462371826,
0.04741387814283371,
-0.04287312552332878,
0.04234513267874718,
-0.06638646870851517,
-0.02251015231013298,
0.03057086281478405,
-0.07912872731685638,
0.022087756544351578,
-0.03706518933176994,
0.009046300314366817,
-0.01165987178683281,
0.0005271692061796784,
-0.0010834879940375686,
-0.016015823930501938,
-0.01974698156118393,
0.005007144995033741,
0.01673741452395916,
-0.02888128161430359,
-0.01347265113145113,
0.03145085275173187,
0.03298203647136688,
-0.02530852146446705,
0.030236465856432915,
-0.031873248517513275,
0.03282363712787628,
-0.013771847821772099,
-0.03167964890599251,
-0.0513562336564064,
0.031574051827192307,
0.032841239124536514,
-0.00415135407820344,
-0.0009503895416855812,
0.010146288201212883,
0.0354108102619648,
-0.008232309482991695,
0.016543816775083542,
-0.03229564428329468,
0.011677470989525318,
0.005834335461258888,
0.030289266258478165,
0.058818552643060684,
0.018902191892266273,
0.012654260732233524,
-0.019430184736847878,
0.010163888335227966,
-0.0044087511487305164,
0.0360444039106369,
0.010797481052577496,
0.037276387214660645,
0.0019557783380150795,
-0.002723569981753826,
0.03331643342971802,
0.016781415790319443,
0.0006396429380401969,
-0.006155532319098711,
0.0557209849357605,
-0.010181487537920475,
-0.035798005759716034,
0.0003192714648321271,
-0.055298589169979095,
0.05332741141319275,
-0.009028700180351734,
0.0009503895416855812,
-0.053714606910943985,
-0.014035845175385475,
-0.061669718474149704,
0.06631606817245483,
0.016262220218777657,
-0.04818826913833618,
0.045653894543647766,
-0.06937843561172485,
-0.035692404955625534,
-0.04649868607521057,
0.04597069323062897,
-0.019324587658047676,
0.036924391984939575,
-0.02154216170310974,
0.031662050634622574,
-0.03057086281478405,
-0.055298589169979095,
-0.006736325565725565,
-0.03505881503224373,
0.01209986675530672,
-0.030447663739323616,
-0.0027983691543340683,
0.02898688055574894,
-0.03277083858847618,
-0.019359786063432693,
-0.04899786040186882,
0.01094707939773798,
0.01387744676321745,
0.00855350587517023,
0.00615113228559494,
-0.02154216170310974,
-0.012830258347094059,
-0.019975779578089714,
0.015074233524501324,
-0.0405147522687912,
-0.07701674848794937,
0.03303483501076698,
0.0036827593576163054,
0.04699148237705231,
0.04597069323062897,
0.013340652920305729,
0.03189084678888321,
0.07011763006448746,
-0.013076655566692352,
0.004276752937585115,
0.00936309713870287,
-0.06314810365438461,
0.02006377838551998,
-0.01668461598455906,
0.03277083858847618,
-0.04234513267874718,
-0.026012513786554337,
-0.018514996394515038,
-0.06321850419044495,
0.009847091510891914,
0.024463729932904243,
-0.01625342108309269,
0.008606305345892906,
0.05480579659342766,
0.035850804299116135,
0.021858958527445793,
-0.05096903815865517,
0.026012513786554337,
-0.06779444962739944,
0.0011065878206864,
-0.013490251265466213,
0.021137366071343422,
-0.004681548569351435,
0.020345374941825867,
-0.03155645355582237,
0.055192992091178894,
0.051567431539297104,
0.015311830677092075,
0.0718776062130928,
-0.020996568724513054,
-0.02965567260980606,
-0.03229564428329468,
0.037945181131362915,
0.0009135399013757706,
0.01657901704311371,
0.041007548570632935,
-0.06828724592924118,
-0.0013298853300511837,
-0.03352763131260872,
0.036713194102048874,
0.03956436365842819,
-0.011554272845387459,
0.01077108085155487,
-0.023302143439650536,
0.06694965809583664,
0.015804626047611237,
-0.008601904846727848,
0.012003067880868912,
0.055087391287088394,
-0.00008930526382755488,
0.005068744067102671,
-0.04005715996026993,
-0.04579469561576843,
0.023038145154714584,
-0.009398296475410461,
0.001303485594689846,
0.002074577147141099,
-0.005147943273186684,
-0.021260565146803856,
0.016596617177128792,
-0.04002195969223976,
-0.006054333411157131,
0.005838735494762659,
-0.07525677233934402,
0.027825292199850082,
-0.0024045733734965324,
0.011527872644364834,
-0.008931901305913925,
-0.00547353969886899,
-0.013939046300947666,
-0.01710701175034046,
0.03440761938691139,
-0.03236604481935501,
0.017256610095500946,
0.06694965809583664,
-0.0254141204059124,
-0.024692527949810028,
-0.009530294686555862,
0.03220764547586441,
0.0764535591006279,
0.0078011141158640385,
-0.0028687682934105396,
0.0035639607813209295,
-0.013340652920305729,
0.028969280421733856,
-0.0025343720335513353,
-0.10672522336244583,
0.021348563954234123,
0.034882813692092896,
-0.01832139864563942,
0.0354636088013649,
0.02011657878756523,
-0.025273321196436882,
-0.03245404362678528,
-0.009169498458504677,
0.05962814390659332,
0.029074879363179207,
-0.021506963297724724,
0.008395107463002205,
0.04414031282067299,
-0.009759092703461647,
0.0410427488386631,
-0.005301941651850939,
-0.05445379763841629,
-0.021559761837124825,
0.0411483459174633,
0.0409371480345726,
0.00941589567810297,
-0.043612319976091385,
-0.0008678904268890619,
0.10088209062814713,
-0.03440761938691139,
0.03277083858847618,
-0.014335041865706444,
0.007506316993385553,
0.03373882919549942,
0.017159810289740562,
0.04012755677103996,
0.04318992421030998,
-0.023249343037605286,
0.033105235546827316,
-0.018110200762748718,
-0.004910345654934645,
0.039986759424209595,
0.00766911543905735,
0.03664279729127884,
0.02117256633937359,
0.04368271678686142,
-0.06652726978063583,
0.048258665949106216,
0.0025123723316937685,
-0.008183909580111504,
0.04421071335673332,
-0.02342534251511097,
0.0608249306678772,
0.01778460294008255,
0.00026179710403084755,
-0.030201267451047897,
-0.04171153903007507,
-0.022738948464393616,
-0.05216582491993904,
-0.005825535859912634,
-0.022017357870936394,
0.03315803408622742,
-0.018866991624236107,
-0.0064151291735470295,
0.02828288823366165,
-0.015831025317311287,
-0.006577927619218826,
-0.04086674749851227,
-0.047237880527973175,
0.06726645678281784,
-0.08053670823574066,
-0.06526008248329163,
0.05491139367222786,
-0.011677470989525318,
0.01847979612648487,
-0.010982278734445572,
-0.043401122093200684,
-0.03688919171690941,
0.12326904386281967,
0.07933992147445679,
0.09405336529016495,
-0.048505064100027084,
-0.016130222007632256,
-0.05913534760475159,
-0.017608605325222015,
0.002087777014821768,
0.009371896274387836,
-0.004523150157183409,
-0.03108125738799572,
0.03398522362112999,
0.0029149679467082024,
-0.043295521289110184,
0.06469688564538956,
0.004650748800486326,
0.01074468158185482,
-0.07469357550144196,
-0.015443829819560051,
-0.028775682672858238,
-0.0023737738374620676,
0.04245073348283768,
0.02087336964905262,
-0.025097323581576347,
-0.004875146318227053,
0.009134299121797085,
-0.08736543357372284,
0.059733740985393524,
0.02465732768177986,
0.05100423842668533,
0.0013056856114417315,
0.026681305840611458,
0.01097347866743803,
-0.04892745986580849,
0.023794937878847122,
0.033615630120038986,
0.028705283999443054,
0.022932546213269234,
0.031767647713422775,
-0.011783069930970669,
-0.015575828030705452,
-0.019254187121987343,
-0.016015823930501938,
-0.0018446797039359808,
-0.02159496210515499,
0.04741387814283371,
0.020591773092746735,
-0.015725426375865936,
0.045090701431035995,
-0.041007548570632935,
0.03762838616967201,
0.047237880527973175,
-0.00799471139907837,
0.005279941949993372,
0.07856553047895432,
0.0043933517299592495,
0.05945214256644249,
0.02353093959391117,
-0.03409082442522049,
-0.017177410423755646,
-0.011035078205168247,
-0.01209986675530672,
-0.08588705211877823,
-0.0026333709247410297,
-0.02807169035077095,
0.006283130496740341,
-0.030201267451047897,
0.032841239124536514,
0.03833237662911415,
0.033457230776548386,
-0.003926956560462713,
-0.025202922523021698,
0.02965567260980606,
-0.04442191123962402,
0.005429540295153856,
-0.017978202551603317,
-0.03854357451200485,
-0.027930891141295433,
-0.020556572824716568,
0.038050781935453415,
-0.04811786860227585,
-0.049279455095529556,
0.04920905828475952,
0.026399709284305573,
-0.03199644759297371,
-0.023196544498205185,
0.00604993337765336,
0.011871068738400936,
-0.03314043581485748,
-0.01702781207859516,
-0.017978202551603317,
0.01165987178683281,
0.0035683605819940567,
-0.013719048351049423,
-0.0766647532582283,
0.01136067509651184,
0.051567431539297104,
-0.0608249306678772,
-0.06452088803052902,
0.03516441211104393,
-0.02536132000386715,
-0.0022241754923015833,
-0.016596617177128792,
0.006635126657783985,
0.011906269006431103,
0.03776918351650238,
-0.04347151890397072,
-0.03379162773489952,
-0.011871068738400936,
-0.01858539506793022,
0.1112307757139206,
-0.04283792898058891,
0.038297176361083984,
0.06374649703502655,
0.03314043581485748,
0.030306866392493248,
-0.010322285816073418,
-0.024217333644628525,
-0.08630944788455963,
0.01964138261973858,
-0.035692404955625534,
-0.030834859237074852,
0.012214264832437038,
-0.020274976268410683,
-0.01969418302178383,
-0.022826947271823883,
-0.014387841336429119,
-0.038754772394895554,
0.07363758981227875,
0.04023315757513046,
0.0510394386947155,
0.014009445905685425,
0.03484761714935303,
-0.06480248272418976,
0.048716261982917786,
-0.003722358960658312,
0.018004601821303368,
-0.04660428687930107,
-0.016341419890522957,
0.013455051928758621,
-0.030342064797878265,
-0.009891090914607048,
0.026558106765151024,
0.044844307005405426,
0.004347152076661587,
0.0202045775949955,
0.043154723942279816,
-0.0459354929625988,
0.012249465100467205,
-0.01202066708356142,
-0.0007430418045260012,
-0.0008403907413594425,
-0.011677470989525318,
0.020222177729010582,
-0.06948403269052505,
-0.040901947766542435,
-0.033105235546827316,
0.00831590872257948,
-0.030940458178520203,
0.010137488134205341,
0.0013606849825009704,
-0.022087756544351578,
0.027226898819208145,
0.04783627390861511,
-0.048610664904117584,
0.0017258810112252831,
-0.04998344928026199,
0.03632599860429764,
0.05719937011599541,
0.03213724493980408,
0.07807274162769318,
0.026505308225750923,
-0.012751059606671333,
0.03769878298044205,
0.019729383289813995,
0.0073875184170901775,
0.019623784348368645,
0.009266297332942486,
-0.04276752844452858,
-0.04150034114718437,
-0.01209986675530672,
0.053925804793834686,
0.03342203050851822,
-0.00855350587517023,
-0.017283009365200996,
-0.05962814390659332,
0.007823113352060318,
-0.004109554458409548,
0.010471884161233902,
0.03843797743320465,
-0.028599685057997704,
-0.07377838343381882,
-0.0407259501516819,
-0.07328559458255768,
0.007220320403575897,
0.01853259466588497,
0.047026682645082474,
-0.009987889789044857,
0.016447018831968307,
-0.03938836604356766,
0.08828062564134598,
-0.042133934795856476,
-0.0035683605819940567,
-0.04685068503022194,
-0.04822346940636635,
-0.026294110342860222,
-0.008038711734116077,
0.006230331491678953,
0.014405441470444202,
0.007708714809268713,
-0.10573963075876236,
0.013173454441130161,
-0.054172202944755554,
0.019482985138893127,
0.009530294686555862,
0.03928276523947716,
0.017661405727267265,
0.03710038959980011,
0.03414362296462059,
-0.007523917127400637,
0.0041381544433534145,
0.024868525564670563,
-0.06934323161840439,
0.01643821783363819,
0.01222306489944458,
-0.030887659639120102,
0.08194469660520554,
-0.00476074730977416,
0.024727726355195045,
-0.0034693616908043623,
-0.00008456156501779333,
-0.019218988716602325,
-0.016420619562268257,
0.003918156959116459,
0.0561433807015419,
0.032084446400403976,
0.1010228842496872,
0.014440640807151794,
-0.06427448987960815,
-0.014352641999721527,
0.017635004594922066,
0.006617526989430189,
-0.0031965647358447313,
0.05807935819029808,
-0.04287312552332878,
-0.03321083262562752,
-0.0252557210624218,
0.007286319509148598,
-0.031204456463456154,
0.04839946702122688,
-0.05533378943800926,
0.0003640959912445396,
0.01853259466588497,
0.016183022409677505,
-0.05477059632539749,
0.0063799298368394375,
-0.009319096803665161,
-0.013912646099925041,
-0.009935090318322182,
-0.024270132184028625,
0.055192992091178894,
0.011959068477153778,
-0.010401485487818718,
-0.010894279927015305,
-0.013155855238437653,
0.03303483501076698,
0.0008046411094255745,
-0.04336592182517052,
-0.028617285192012787,
-0.043295521289110184,
-0.024129332974553108,
0.05702337250113487,
-0.05628417804837227,
-0.023460540920495987,
0.07127921283245087,
-0.013991845771670341,
-0.09222298115491867,
0.03347482904791832,
0.028775682672858238,
-0.005697937216609716,
-0.023196544498205185,
-0.03087005950510502,
0.0559321828186512,
0.05966334044933319,
0.03650199621915817,
0.035146813839673996,
0.006903524044901133,
0.005341541022062302,
-0.0007199420360848308,
-0.0003242214152123779,
0.03854357451200485,
0.008588705211877823,
-0.03903637081384659,
0.04934985563158989,
-0.036361198872327805,
0.012698260135948658,
0.06754805147647858,
-0.024692527949810028,
-0.029919669032096863,
0.04199313744902611,
0.026065312325954437,
0.03395002707839012,
-0.0177054051309824,
-0.0013628849992528558,
-0.01219666562974453,
-0.0012550861574709415,
0.04076115041971207,
-0.052693817764520645,
-0.018620595335960388,
0.017978202551603317,
0.054031405597925186,
-0.0356220081448555,
-0.012654260732233524,
-0.06374649703502655,
-0.016552617773413658,
-0.053257010877132416,
0.024463729932904243,
0.030553262680768967,
-0.01651741750538349,
0.01324385404586792,
0.005508739035576582,
0.043295521289110184,
0.0062215314246714115,
0.030834859237074852,
0.011879868805408478,
-0.05480579659342766,
0.015417429618537426,
0.04076115041971207,
0.010656682774424553,
0.02955007366836071,
0.0307292602956295,
0.007743914611637592,
-0.0252557210624218,
0.019570983946323395,
-0.0036035601515322924,
0.0049763452261686325,
-0.006208331324160099,
-0.004633148666471243,
0.003491361392661929,
-0.01918378844857216,
-0.007616315968334675,
0.022017357870936394,
0.0006847424665465951,
-0.022633349522948265,
-0.0359916016459465,
-0.031151656061410904,
-0.008923101238906384,
0.04533709958195686,
0.0179166030138731,
-0.058149758726358414,
0.0350940115749836,
-0.06314810365438461,
-0.008601904846727848,
0.010727081447839737,
-0.022334152832627296,
0.0017819803906604648,
-0.029074879363179207,
0.03674839437007904,
0.02735009789466858,
-0.014141444116830826,
0.05181382969021797,
0.04766027256846428,
-0.01694861240684986,
0.04797707125544548,
-0.026206111535429955,
0.05044104531407356,
0.016156621277332306,
0.014467040076851845,
-0.023618940263986588,
-0.013824647292494774,
-0.011677470989525318,
0.01939498633146286,
0.03139805421233177,
-0.04209873452782631,
-0.010093488730490208,
-0.025959713384509087,
0.0063799298368394375,
0.002791769104078412,
-0.009847091510891914,
-0.04107794538140297,
-0.06839284300804138,
-0.02272135019302368,
-0.03252444043755531,
-0.07448238134384155,
0.024639727547764778,
0.014361441135406494,
0.0014596838736906648,
0.08095910400152206,
-0.009204698726534843,
-0.040409155189991,
0.0281772892922163,
0.03741718828678131,
-0.029866870492696762,
0.023038145154714584,
0.013393452391028404,
-0.04681548476219177,
-0.006643926724791527,
0.07483437657356262,
0.012487062253057957,
0.03167964890599251,
0.02939167618751526,
0.05389060452580452,
-0.011475073173642159,
-0.033404432237148285,
-0.03878997266292572,
-0.0008645904599688947,
0.001449784031137824,
0.012803859077394009,
-0.04934985563158989,
-0.0231789443641901,
-0.0049763452261686325,
-0.014044645242393017,
0.04868106171488762,
0.018303798511624336,
0.06068412959575653,
-0.00941589567810297
]
|
37,170 | ipinfo.handler_async | init |
Initializes internal aiohttp connection pool.
This isn't _required_, as the pool is initialized lazily when needed.
But in case you require non-lazy initialization, you may await this.
This is idempotent.
| def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup aiohttp
self.httpsess = None
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
| (self) | [
-0.06335929781198502,
-0.04959625378251076,
-0.08785822987556458,
-0.011703871190547943,
-0.004228353500366211,
0.0034957614261657,
-0.06427448987960815,
0.02812448889017105,
-0.013182254508137703,
-0.04132434353232384,
0.04308432340621948,
0.05445379763841629,
-0.026065312325954437,
-0.003464961890131235,
0.004063355270773172,
0.013534250669181347,
0.014484640210866928,
0.019482985138893127,
-0.0024023735895752907,
-0.0717720091342926,
-0.01842699758708477,
-0.004980745259672403,
-0.010146288201212883,
0.02576611563563347,
0.0024705727118998766,
0.004289952572435141,
-0.0020415775943547487,
-0.013622249476611614,
0.055756185203790665,
-0.004910345654934645,
0.03706518933176994,
0.010155088268220425,
-0.029620472341775894,
0.07405998557806015,
-0.015100633725523949,
-0.05272901803255081,
0.012759859673678875,
0.006089532747864723,
-0.17050692439079285,
-0.009028700180351734,
-0.023196544498205185,
-0.03790998086333275,
-0.002611371222883463,
0.0037069590762257576,
-0.005174343008548021,
0.011923868209123611,
-0.0556153878569603,
0.034266822040081024,
0.0709272176027298,
-0.04255633056163788,
-0.02771969512104988,
0.00969749316573143,
0.00326036405749619,
0.02103176712989807,
0.009090299718081951,
0.07589036226272583,
-0.025730915367603302,
0.05209542438387871,
-0.014915835112333298,
0.05660097673535347,
-0.05839615687727928,
-0.029567673802375793,
0.033052437007427216,
0.0024925724137574434,
-0.010850280523300171,
0.017608605325222015,
-0.03607960045337677,
0.01219666562974453,
0.005407540127635002,
-0.019113389775156975,
0.0561433807015419,
-0.006067533046007156,
-0.013437451794743538,
0.011721470393240452,
0.012927057221531868,
0.0014959834516048431,
-0.08785822987556458,
-0.0102078877389431,
-0.034266822040081024,
0.03864917531609535,
-0.00844790693372488,
-0.06765365600585938,
-0.025642916560173035,
-0.034530818462371826,
0.04741387814283371,
-0.04287312552332878,
0.04234513267874718,
-0.06638646870851517,
-0.02251015231013298,
0.03057086281478405,
-0.07912872731685638,
0.022087756544351578,
-0.03706518933176994,
0.009046300314366817,
-0.01165987178683281,
0.0005271692061796784,
-0.0010834879940375686,
-0.016015823930501938,
-0.01974698156118393,
0.005007144995033741,
0.01673741452395916,
-0.02888128161430359,
-0.01347265113145113,
0.03145085275173187,
0.03298203647136688,
-0.02530852146446705,
0.030236465856432915,
-0.031873248517513275,
0.03282363712787628,
-0.013771847821772099,
-0.03167964890599251,
-0.0513562336564064,
0.031574051827192307,
0.032841239124536514,
-0.00415135407820344,
-0.0009503895416855812,
0.010146288201212883,
0.0354108102619648,
-0.008232309482991695,
0.016543816775083542,
-0.03229564428329468,
0.011677470989525318,
0.005834335461258888,
0.030289266258478165,
0.058818552643060684,
0.018902191892266273,
0.012654260732233524,
-0.019430184736847878,
0.010163888335227966,
-0.0044087511487305164,
0.0360444039106369,
0.010797481052577496,
0.037276387214660645,
0.0019557783380150795,
-0.002723569981753826,
0.03331643342971802,
0.016781415790319443,
0.0006396429380401969,
-0.006155532319098711,
0.0557209849357605,
-0.010181487537920475,
-0.035798005759716034,
0.0003192714648321271,
-0.055298589169979095,
0.05332741141319275,
-0.009028700180351734,
0.0009503895416855812,
-0.053714606910943985,
-0.014035845175385475,
-0.061669718474149704,
0.06631606817245483,
0.016262220218777657,
-0.04818826913833618,
0.045653894543647766,
-0.06937843561172485,
-0.035692404955625534,
-0.04649868607521057,
0.04597069323062897,
-0.019324587658047676,
0.036924391984939575,
-0.02154216170310974,
0.031662050634622574,
-0.03057086281478405,
-0.055298589169979095,
-0.006736325565725565,
-0.03505881503224373,
0.01209986675530672,
-0.030447663739323616,
-0.0027983691543340683,
0.02898688055574894,
-0.03277083858847618,
-0.019359786063432693,
-0.04899786040186882,
0.01094707939773798,
0.01387744676321745,
0.00855350587517023,
0.00615113228559494,
-0.02154216170310974,
-0.012830258347094059,
-0.019975779578089714,
0.015074233524501324,
-0.0405147522687912,
-0.07701674848794937,
0.03303483501076698,
0.0036827593576163054,
0.04699148237705231,
0.04597069323062897,
0.013340652920305729,
0.03189084678888321,
0.07011763006448746,
-0.013076655566692352,
0.004276752937585115,
0.00936309713870287,
-0.06314810365438461,
0.02006377838551998,
-0.01668461598455906,
0.03277083858847618,
-0.04234513267874718,
-0.026012513786554337,
-0.018514996394515038,
-0.06321850419044495,
0.009847091510891914,
0.024463729932904243,
-0.01625342108309269,
0.008606305345892906,
0.05480579659342766,
0.035850804299116135,
0.021858958527445793,
-0.05096903815865517,
0.026012513786554337,
-0.06779444962739944,
0.0011065878206864,
-0.013490251265466213,
0.021137366071343422,
-0.004681548569351435,
0.020345374941825867,
-0.03155645355582237,
0.055192992091178894,
0.051567431539297104,
0.015311830677092075,
0.0718776062130928,
-0.020996568724513054,
-0.02965567260980606,
-0.03229564428329468,
0.037945181131362915,
0.0009135399013757706,
0.01657901704311371,
0.041007548570632935,
-0.06828724592924118,
-0.0013298853300511837,
-0.03352763131260872,
0.036713194102048874,
0.03956436365842819,
-0.011554272845387459,
0.01077108085155487,
-0.023302143439650536,
0.06694965809583664,
0.015804626047611237,
-0.008601904846727848,
0.012003067880868912,
0.055087391287088394,
-0.00008930526382755488,
0.005068744067102671,
-0.04005715996026993,
-0.04579469561576843,
0.023038145154714584,
-0.009398296475410461,
0.001303485594689846,
0.002074577147141099,
-0.005147943273186684,
-0.021260565146803856,
0.016596617177128792,
-0.04002195969223976,
-0.006054333411157131,
0.005838735494762659,
-0.07525677233934402,
0.027825292199850082,
-0.0024045733734965324,
0.011527872644364834,
-0.008931901305913925,
-0.00547353969886899,
-0.013939046300947666,
-0.01710701175034046,
0.03440761938691139,
-0.03236604481935501,
0.017256610095500946,
0.06694965809583664,
-0.0254141204059124,
-0.024692527949810028,
-0.009530294686555862,
0.03220764547586441,
0.0764535591006279,
0.0078011141158640385,
-0.0028687682934105396,
0.0035639607813209295,
-0.013340652920305729,
0.028969280421733856,
-0.0025343720335513353,
-0.10672522336244583,
0.021348563954234123,
0.034882813692092896,
-0.01832139864563942,
0.0354636088013649,
0.02011657878756523,
-0.025273321196436882,
-0.03245404362678528,
-0.009169498458504677,
0.05962814390659332,
0.029074879363179207,
-0.021506963297724724,
0.008395107463002205,
0.04414031282067299,
-0.009759092703461647,
0.0410427488386631,
-0.005301941651850939,
-0.05445379763841629,
-0.021559761837124825,
0.0411483459174633,
0.0409371480345726,
0.00941589567810297,
-0.043612319976091385,
-0.0008678904268890619,
0.10088209062814713,
-0.03440761938691139,
0.03277083858847618,
-0.014335041865706444,
0.007506316993385553,
0.03373882919549942,
0.017159810289740562,
0.04012755677103996,
0.04318992421030998,
-0.023249343037605286,
0.033105235546827316,
-0.018110200762748718,
-0.004910345654934645,
0.039986759424209595,
0.00766911543905735,
0.03664279729127884,
0.02117256633937359,
0.04368271678686142,
-0.06652726978063583,
0.048258665949106216,
0.0025123723316937685,
-0.008183909580111504,
0.04421071335673332,
-0.02342534251511097,
0.0608249306678772,
0.01778460294008255,
0.00026179710403084755,
-0.030201267451047897,
-0.04171153903007507,
-0.022738948464393616,
-0.05216582491993904,
-0.005825535859912634,
-0.022017357870936394,
0.03315803408622742,
-0.018866991624236107,
-0.0064151291735470295,
0.02828288823366165,
-0.015831025317311287,
-0.006577927619218826,
-0.04086674749851227,
-0.047237880527973175,
0.06726645678281784,
-0.08053670823574066,
-0.06526008248329163,
0.05491139367222786,
-0.011677470989525318,
0.01847979612648487,
-0.010982278734445572,
-0.043401122093200684,
-0.03688919171690941,
0.12326904386281967,
0.07933992147445679,
0.09405336529016495,
-0.048505064100027084,
-0.016130222007632256,
-0.05913534760475159,
-0.017608605325222015,
0.002087777014821768,
0.009371896274387836,
-0.004523150157183409,
-0.03108125738799572,
0.03398522362112999,
0.0029149679467082024,
-0.043295521289110184,
0.06469688564538956,
0.004650748800486326,
0.01074468158185482,
-0.07469357550144196,
-0.015443829819560051,
-0.028775682672858238,
-0.0023737738374620676,
0.04245073348283768,
0.02087336964905262,
-0.025097323581576347,
-0.004875146318227053,
0.009134299121797085,
-0.08736543357372284,
0.059733740985393524,
0.02465732768177986,
0.05100423842668533,
0.0013056856114417315,
0.026681305840611458,
0.01097347866743803,
-0.04892745986580849,
0.023794937878847122,
0.033615630120038986,
0.028705283999443054,
0.022932546213269234,
0.031767647713422775,
-0.011783069930970669,
-0.015575828030705452,
-0.019254187121987343,
-0.016015823930501938,
-0.0018446797039359808,
-0.02159496210515499,
0.04741387814283371,
0.020591773092746735,
-0.015725426375865936,
0.045090701431035995,
-0.041007548570632935,
0.03762838616967201,
0.047237880527973175,
-0.00799471139907837,
0.005279941949993372,
0.07856553047895432,
0.0043933517299592495,
0.05945214256644249,
0.02353093959391117,
-0.03409082442522049,
-0.017177410423755646,
-0.011035078205168247,
-0.01209986675530672,
-0.08588705211877823,
-0.0026333709247410297,
-0.02807169035077095,
0.006283130496740341,
-0.030201267451047897,
0.032841239124536514,
0.03833237662911415,
0.033457230776548386,
-0.003926956560462713,
-0.025202922523021698,
0.02965567260980606,
-0.04442191123962402,
0.005429540295153856,
-0.017978202551603317,
-0.03854357451200485,
-0.027930891141295433,
-0.020556572824716568,
0.038050781935453415,
-0.04811786860227585,
-0.049279455095529556,
0.04920905828475952,
0.026399709284305573,
-0.03199644759297371,
-0.023196544498205185,
0.00604993337765336,
0.011871068738400936,
-0.03314043581485748,
-0.01702781207859516,
-0.017978202551603317,
0.01165987178683281,
0.0035683605819940567,
-0.013719048351049423,
-0.0766647532582283,
0.01136067509651184,
0.051567431539297104,
-0.0608249306678772,
-0.06452088803052902,
0.03516441211104393,
-0.02536132000386715,
-0.0022241754923015833,
-0.016596617177128792,
0.006635126657783985,
0.011906269006431103,
0.03776918351650238,
-0.04347151890397072,
-0.03379162773489952,
-0.011871068738400936,
-0.01858539506793022,
0.1112307757139206,
-0.04283792898058891,
0.038297176361083984,
0.06374649703502655,
0.03314043581485748,
0.030306866392493248,
-0.010322285816073418,
-0.024217333644628525,
-0.08630944788455963,
0.01964138261973858,
-0.035692404955625534,
-0.030834859237074852,
0.012214264832437038,
-0.020274976268410683,
-0.01969418302178383,
-0.022826947271823883,
-0.014387841336429119,
-0.038754772394895554,
0.07363758981227875,
0.04023315757513046,
0.0510394386947155,
0.014009445905685425,
0.03484761714935303,
-0.06480248272418976,
0.048716261982917786,
-0.003722358960658312,
0.018004601821303368,
-0.04660428687930107,
-0.016341419890522957,
0.013455051928758621,
-0.030342064797878265,
-0.009891090914607048,
0.026558106765151024,
0.044844307005405426,
0.004347152076661587,
0.0202045775949955,
0.043154723942279816,
-0.0459354929625988,
0.012249465100467205,
-0.01202066708356142,
-0.0007430418045260012,
-0.0008403907413594425,
-0.011677470989525318,
0.020222177729010582,
-0.06948403269052505,
-0.040901947766542435,
-0.033105235546827316,
0.00831590872257948,
-0.030940458178520203,
0.010137488134205341,
0.0013606849825009704,
-0.022087756544351578,
0.027226898819208145,
0.04783627390861511,
-0.048610664904117584,
0.0017258810112252831,
-0.04998344928026199,
0.03632599860429764,
0.05719937011599541,
0.03213724493980408,
0.07807274162769318,
0.026505308225750923,
-0.012751059606671333,
0.03769878298044205,
0.019729383289813995,
0.0073875184170901775,
0.019623784348368645,
0.009266297332942486,
-0.04276752844452858,
-0.04150034114718437,
-0.01209986675530672,
0.053925804793834686,
0.03342203050851822,
-0.00855350587517023,
-0.017283009365200996,
-0.05962814390659332,
0.007823113352060318,
-0.004109554458409548,
0.010471884161233902,
0.03843797743320465,
-0.028599685057997704,
-0.07377838343381882,
-0.0407259501516819,
-0.07328559458255768,
0.007220320403575897,
0.01853259466588497,
0.047026682645082474,
-0.009987889789044857,
0.016447018831968307,
-0.03938836604356766,
0.08828062564134598,
-0.042133934795856476,
-0.0035683605819940567,
-0.04685068503022194,
-0.04822346940636635,
-0.026294110342860222,
-0.008038711734116077,
0.006230331491678953,
0.014405441470444202,
0.007708714809268713,
-0.10573963075876236,
0.013173454441130161,
-0.054172202944755554,
0.019482985138893127,
0.009530294686555862,
0.03928276523947716,
0.017661405727267265,
0.03710038959980011,
0.03414362296462059,
-0.007523917127400637,
0.0041381544433534145,
0.024868525564670563,
-0.06934323161840439,
0.01643821783363819,
0.01222306489944458,
-0.030887659639120102,
0.08194469660520554,
-0.00476074730977416,
0.024727726355195045,
-0.0034693616908043623,
-0.00008456156501779333,
-0.019218988716602325,
-0.016420619562268257,
0.003918156959116459,
0.0561433807015419,
0.032084446400403976,
0.1010228842496872,
0.014440640807151794,
-0.06427448987960815,
-0.014352641999721527,
0.017635004594922066,
0.006617526989430189,
-0.0031965647358447313,
0.05807935819029808,
-0.04287312552332878,
-0.03321083262562752,
-0.0252557210624218,
0.007286319509148598,
-0.031204456463456154,
0.04839946702122688,
-0.05533378943800926,
0.0003640959912445396,
0.01853259466588497,
0.016183022409677505,
-0.05477059632539749,
0.0063799298368394375,
-0.009319096803665161,
-0.013912646099925041,
-0.009935090318322182,
-0.024270132184028625,
0.055192992091178894,
0.011959068477153778,
-0.010401485487818718,
-0.010894279927015305,
-0.013155855238437653,
0.03303483501076698,
0.0008046411094255745,
-0.04336592182517052,
-0.028617285192012787,
-0.043295521289110184,
-0.024129332974553108,
0.05702337250113487,
-0.05628417804837227,
-0.023460540920495987,
0.07127921283245087,
-0.013991845771670341,
-0.09222298115491867,
0.03347482904791832,
0.028775682672858238,
-0.005697937216609716,
-0.023196544498205185,
-0.03087005950510502,
0.0559321828186512,
0.05966334044933319,
0.03650199621915817,
0.035146813839673996,
0.006903524044901133,
0.005341541022062302,
-0.0007199420360848308,
-0.0003242214152123779,
0.03854357451200485,
0.008588705211877823,
-0.03903637081384659,
0.04934985563158989,
-0.036361198872327805,
0.012698260135948658,
0.06754805147647858,
-0.024692527949810028,
-0.029919669032096863,
0.04199313744902611,
0.026065312325954437,
0.03395002707839012,
-0.0177054051309824,
-0.0013628849992528558,
-0.01219666562974453,
-0.0012550861574709415,
0.04076115041971207,
-0.052693817764520645,
-0.018620595335960388,
0.017978202551603317,
0.054031405597925186,
-0.0356220081448555,
-0.012654260732233524,
-0.06374649703502655,
-0.016552617773413658,
-0.053257010877132416,
0.024463729932904243,
0.030553262680768967,
-0.01651741750538349,
0.01324385404586792,
0.005508739035576582,
0.043295521289110184,
0.0062215314246714115,
0.030834859237074852,
0.011879868805408478,
-0.05480579659342766,
0.015417429618537426,
0.04076115041971207,
0.010656682774424553,
0.02955007366836071,
0.0307292602956295,
0.007743914611637592,
-0.0252557210624218,
0.019570983946323395,
-0.0036035601515322924,
0.0049763452261686325,
-0.006208331324160099,
-0.004633148666471243,
0.003491361392661929,
-0.01918378844857216,
-0.007616315968334675,
0.022017357870936394,
0.0006847424665465951,
-0.022633349522948265,
-0.0359916016459465,
-0.031151656061410904,
-0.008923101238906384,
0.04533709958195686,
0.0179166030138731,
-0.058149758726358414,
0.0350940115749836,
-0.06314810365438461,
-0.008601904846727848,
0.010727081447839737,
-0.022334152832627296,
0.0017819803906604648,
-0.029074879363179207,
0.03674839437007904,
0.02735009789466858,
-0.014141444116830826,
0.05181382969021797,
0.04766027256846428,
-0.01694861240684986,
0.04797707125544548,
-0.026206111535429955,
0.05044104531407356,
0.016156621277332306,
0.014467040076851845,
-0.023618940263986588,
-0.013824647292494774,
-0.011677470989525318,
0.01939498633146286,
0.03139805421233177,
-0.04209873452782631,
-0.010093488730490208,
-0.025959713384509087,
0.0063799298368394375,
0.002791769104078412,
-0.009847091510891914,
-0.04107794538140297,
-0.06839284300804138,
-0.02272135019302368,
-0.03252444043755531,
-0.07448238134384155,
0.024639727547764778,
0.014361441135406494,
0.0014596838736906648,
0.08095910400152206,
-0.009204698726534843,
-0.040409155189991,
0.0281772892922163,
0.03741718828678131,
-0.029866870492696762,
0.023038145154714584,
0.013393452391028404,
-0.04681548476219177,
-0.006643926724791527,
0.07483437657356262,
0.012487062253057957,
0.03167964890599251,
0.02939167618751526,
0.05389060452580452,
-0.011475073173642159,
-0.033404432237148285,
-0.03878997266292572,
-0.0008645904599688947,
0.001449784031137824,
0.012803859077394009,
-0.04934985563158989,
-0.0231789443641901,
-0.0049763452261686325,
-0.014044645242393017,
0.04868106171488762,
0.018303798511624336,
0.06068412959575653,
-0.00941589567810297
]
|
37,171 | ipinfo.handler | Handler |
Allows client to request data for specified IP address.
Instantiates and maintains access to cache.
| class Handler:
"""
Allows client to request data for specified IP address.
Instantiates and maintains access to cache.
"""
def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
def getDetails(self, ip_address=None, timeout=None):
"""
Get details for specified IP address as a Details object.
If `timeout` is not `None`, it will override the client-level timeout
just for this operation.
"""
# If the supplied IP address uses the objects defined in the built-in
# module ipaddress extract the appropriate string notation before
# formatting the URL.
if isinstance(ip_address, IPv4Address) or isinstance(
ip_address, IPv6Address
):
ip_address = ip_address.exploded
# check if bogon.
if ip_address and is_bogon(ip_address):
details = {}
details["ip"] = ip_address
details["bogon"] = True
return Details(details)
# check cache first.
try:
cached_ipaddr = self.cache[cache_key(ip_address)]
return Details(cached_ipaddr)
except KeyError:
pass
# prepare req http opts
req_opts = {**self.request_options}
if timeout is not None:
req_opts["timeout"] = timeout
# not in cache; do http req
url = API_URL
if ip_address:
url += "/" + ip_address
headers = handler_utils.get_headers(self.access_token, self.headers)
response = requests.get(url, headers=headers, **req_opts)
if response.status_code == 429:
raise RequestQuotaExceededError()
if response.status_code >= 400:
error_response = response.json()
error_code = response.status_code
raise APIError(error_code, error_response)
details = response.json()
# format & cache
handler_utils.format_details(
details,
self.countries,
self.eu_countries,
self.countries_flags,
self.countries_currencies,
self.continents,
)
self.cache[cache_key(ip_address)] = details
return Details(details)
def getBatchDetails(
self,
ip_addresses,
batch_size=None,
timeout_per_batch=BATCH_REQ_TIMEOUT_DEFAULT,
timeout_total=None,
raise_on_fail=True,
):
"""
Get details for a batch of IP addresses at once.
There is no specified limit to the number of IPs this function can
accept; it can handle as much as the user can fit in RAM (along with
all of the response data, which is at least a magnitude larger than the
input list).
The input list is broken up into batches to abide by API requirements.
The batch size can be adjusted with `batch_size` but is clipped to
`BATCH_MAX_SIZE`.
Defaults to `BATCH_MAX_SIZE`.
For each batch, `timeout_per_batch` indicates the maximum seconds to
spend waiting for the HTTP request to complete. If any batch fails with
this timeout, the whole operation fails.
Defaults to `BATCH_REQ_TIMEOUT_DEFAULT` seconds.
`timeout_total` is a seconds-denominated hard-timeout for the time
spent in HTTP operations; regardless of whether all batches have
succeeded so far, if `timeout_total` is reached, the whole operation
will fail by raising `TimeoutExceededError`.
Defaults to being turned off.
`raise_on_fail`, if turned off, will return any result retrieved so far
rather than raise an exception when errors occur, including timeout and
quota errors.
Defaults to on.
"""
if batch_size == None:
batch_size = BATCH_MAX_SIZE
result = {}
lookup_addresses = []
# pre-populate with anything we've got in the cache, and keep around
# the IPs not in the cache.
for ip_address in ip_addresses:
# if the supplied IP address uses the objects defined in the
# built-in module ipaddress extract the appropriate string notation
# before formatting the URL.
if isinstance(ip_address, IPv4Address) or isinstance(
ip_address, IPv6Address
):
ip_address = ip_address.exploded
if ip_address and is_bogon(ip_address):
details = {}
details["ip"] = ip_address
details["bogon"] = True
result[ip_address] = Details(details)
else:
try:
cached_ipaddr = self.cache[cache_key(ip_address)]
result[ip_address] = cached_ipaddr
except KeyError:
lookup_addresses.append(ip_address)
# all in cache - return early.
if len(lookup_addresses) == 0:
return result
# do start timer if necessary
if timeout_total is not None:
start_time = time.time()
# prepare req http options
req_opts = {**self.request_options, "timeout": timeout_per_batch}
# loop over batch chunks and do lookup for each.
url = API_URL + "/batch"
headers = handler_utils.get_headers(self.access_token, self.headers)
headers["content-type"] = "application/json"
for i in range(0, len(lookup_addresses), batch_size):
# quit if total timeout is reached.
if (
timeout_total is not None
and time.time() - start_time > timeout_total
):
return handler_utils.return_or_fail(
raise_on_fail, TimeoutExceededError(), result
)
chunk = lookup_addresses[i : i + batch_size]
# lookup
try:
response = requests.post(
url, json=chunk, headers=headers, **req_opts
)
except Exception as e:
return handler_utils.return_or_fail(raise_on_fail, e, result)
# fail on bad status codes
try:
if response.status_code == 429:
raise RequestQuotaExceededError()
response.raise_for_status()
except Exception as e:
return handler_utils.return_or_fail(raise_on_fail, e, result)
# fill cache
json_response = response.json()
for ip_address, details in json_response.items():
self.cache[cache_key(ip_address)] = details
# merge cached results with new lookup
resul | (access_token=None, **kwargs) | [
0.020175408571958542,
-0.040350817143917084,
-0.1175844818353653,
0.0020246808417141438,
-0.033231284469366074,
-0.012188884429633617,
-0.06050582602620125,
-0.027376540005207062,
0.005232550203800201,
-0.09302311390638351,
-0.008088522590696812,
0.03296608477830887,
0.0058394442312419415,
-0.021807393059134483,
0.02582615427672863,
0.04561396688222885,
0.018431223928928375,
0.000572150805965066,
0.01369846984744072,
-0.0737248957157135,
0.015004057437181473,
0.0014407363487407565,
0.03631165623664856,
0.032904885709285736,
0.013851468451321125,
0.038310837000608444,
0.03914722800254822,
-0.034088075160980225,
0.0656057745218277,
0.029232921078801155,
0.028376130387187004,
-0.011556490324437618,
-0.02129739709198475,
0.03443487361073494,
-0.017900830134749413,
-0.04124840721487999,
0.024438967928290367,
-0.0028100733179599047,
-0.09555269032716751,
0.025499757379293442,
-0.01619744673371315,
-0.047001153230667114,
-0.017268436029553413,
-0.015432452782988548,
0.028274130076169968,
0.030232511460781097,
-0.04451237618923187,
0.018431223928928375,
0.03129330277442932,
-0.04275799170136452,
-0.03906562924385071,
-0.01933901570737362,
0.0033379183150827885,
0.0232353787869215,
0.03245609253644943,
0.008226221427321434,
-0.036658450961112976,
0.05226430296897888,
0.0002038386883214116,
0.0027259241323918104,
-0.054753080010414124,
-0.008659717626869678,
0.032680489122867584,
0.01901261880993843,
-0.04163600504398346,
0.018441423773765564,
-0.05014272406697273,
-0.005222350358963013,
-0.008802516385912895,
-0.015503852628171444,
0.07637687027454376,
0.007369429804384708,
-0.012607079930603504,
-0.005344748962670565,
0.013688270002603531,
0.027111342176795006,
-0.028437329456210136,
-0.0251325611025095,
0.0029248222708702087,
-0.014137065038084984,
0.017350034788250923,
-0.010454900562763214,
0.033761680126190186,
-0.07633607089519501,
0.052468299865722656,
-0.04908193275332451,
0.04642995819449425,
0.003840263467282057,
0.0031415701378136873,
0.009848006069660187,
-0.0596490316092968,
0.0009862030856311321,
-0.020083608105778694,
0.01002140436321497,
0.009164612740278244,
-0.008792316541075706,
-0.013392472639679909,
-0.03773964196443558,
-0.018727021291851997,
-0.00981740653514862,
0.02026720717549324,
-0.034169673919677734,
-0.010862896218895912,
0.002238878747448325,
0.030946506187319756,
-0.058343444019556046,
-0.0033073185477405787,
0.005117801483720541,
0.017350034788250923,
-0.0046282061375677586,
-0.054345082491636276,
-0.022113390266895294,
-0.029171722009778023,
-0.026744145900011063,
-0.0008701792103238404,
0.046756356954574585,
0.0004787579528056085,
0.020991399884223938,
-0.04218680039048195,
0.018257826566696167,
-0.0011232643155381083,
-0.044022779911756516,
-0.0042661093175411224,
0.013331273570656776,
0.031170902773737907,
-0.014851058833301067,
-0.016330044716596603,
0.008068122901022434,
0.038474034518003464,
-0.02935532107949257,
-0.024602165445685387,
0.006578937638550997,
-0.02018560841679573,
0.05830264464020729,
0.04165640473365784,
0.010220303200185299,
-0.029049323871731758,
0.03396567702293396,
-0.02880452573299408,
0.03655645251274109,
0.01174008846282959,
-0.0071297320537269115,
0.009179912507534027,
-0.06507538259029388,
0.05418188497424126,
-0.06083222106099129,
0.03804563730955124,
-0.009205412119626999,
-0.01956341415643692,
-0.07474488765001297,
0.024071771651506424,
0.012209284119307995,
-0.010618099011480808,
0.03639325499534607,
-0.01720723696053028,
-0.0031874696724116802,
-0.031028104946017265,
0.006099542137235403,
-0.012219483964145184,
-0.01986941136419773,
-0.01729903556406498,
0.010118303820490837,
-0.01690123975276947,
-0.0720113143324852,
-0.025785354897379875,
-0.005451848264783621,
-0.04288039356470108,
-0.01628924533724785,
-0.008654617704451084,
0.023602575063705444,
-0.060138627886772156,
0.0008740042103454471,
-0.039494022727012634,
0.009960205294191837,
0.006833935156464577,
0.04838833957910538,
0.0180028285831213,
-0.03953482210636139,
0.00009235693141818047,
0.020542604848742485,
-0.02215418964624405,
-0.026723746210336685,
-0.03761724382638931,
0.017339834943413734,
-0.03084450587630272,
0.027254140004515648,
0.04540996626019478,
-0.012382682412862778,
0.05516107380390167,
0.09441030025482178,
-0.024071771651506424,
0.010465100407600403,
0.053488291800022125,
-0.04859233647584915,
-0.006048542447388172,
-0.02566295675933361,
-0.009169712662696838,
-0.005214700475335121,
0.029681717976927757,
-0.0005820319638587534,
-0.09849026054143906,
0.04243159666657448,
0.020399805158376694,
0.009164612740278244,
-0.020950600504875183,
0.0251325611025095,
-0.019196217879652977,
-0.008083422668278217,
-0.03945322334766388,
0.07552008330821991,
-0.046062760055065155,
0.016809439286589622,
-0.014371663331985474,
0.034292072057724,
0.011566690169274807,
0.036821648478507996,
-0.009470609948039055,
0.06258660554885864,
0.01965521275997162,
-0.011903286911547184,
0.058506641536951065,
-0.10975095629692078,
-0.054671481251716614,
-0.019216617569327354,
-0.0028993224259465933,
0.04149320349097252,
0.002393152331933379,
0.06034262478351593,
0.006385139189660549,
-0.024132970720529556,
0.026234149932861328,
0.023582175374031067,
0.05201950669288635,
0.007323530502617359,
0.04655235633254051,
-0.06642176955938339,
0.010516099631786346,
0.011087294667959213,
0.06376979500055313,
0.003406767500564456,
0.03565886244177818,
0.003246119013056159,
0.03233369067311287,
-0.06638097018003464,
-0.05879224091768265,
-0.029844915494322777,
-0.01636064425110817,
0.02590775303542614,
-0.003082920564338565,
-0.04561396688222885,
-0.021399395540356636,
0.031334102153778076,
-0.0037204145919531584,
-0.023663774132728577,
-0.00581394461914897,
-0.08992234617471695,
0.005112701561301947,
-0.03539366275072098,
0.045899562537670135,
-0.020542604848742485,
-0.00966950785368681,
0.003082920564338565,
-0.006803335156291723,
0.0022567284759134054,
-0.06144421547651291,
0.040024418383836746,
0.02458176575601101,
-0.010658898390829563,
-0.03939202427864075,
0.03227249160408974,
0.05520187318325043,
0.04098321124911308,
-0.0034501170739531517,
-0.026030153036117554,
-0.024316567927598953,
0.029069723561406136,
0.03639325499534607,
0.022439787164330482,
-0.09212552011013031,
-0.04147280380129814,
0.030579309910535812,
0.004972452763468027,
0.004324758891016245,
-0.05797624960541725,
-0.0026468748692423105,
-0.059363435953855515,
-0.014810259453952312,
0.09367591142654419,
0.021807393059134483,
0.013096675276756287,
-0.006446338724344969,
-0.01665644161403179,
-0.007206231355667114,
-0.010454900562763214,
-0.04243159666657448,
-0.011219893582165241,
-0.03359847888350487,
0.0018347075674682856,
0.011893087066709995,
-0.02043040469288826,
-0.0834760069847107,
-0.00016399531159549952,
0.07919204980134964,
-0.01667684130370617,
0.016840040683746338,
0.012341883033514023,
0.027886534109711647,
-0.021929791197180748,
0.014096265658736229,
0.03304768726229668,
0.022827383130788803,
-0.03741324320435524,
0.02097100019454956,
-0.057405054569244385,
0.033843278884887695,
-0.015116255730390549,
-0.001408861600793898,
0.08343520760536194,
0.01931861601769924,
0.04687875509262085,
-0.037372443825006485,
0.07380649447441101,
0.007910024374723434,
0.00880761630833149,
0.045981161296367645,
-0.02466336451470852,
0.055283475667238235,
0.05259069800376892,
-0.005543647333979607,
-0.0076142274774611,
0.001703383750282228,
-0.049571529030799866,
-0.023847373202443123,
0.018757620826363564,
0.033761680126190186,
0.019747011363506317,
-0.0022631033789366484,
-0.019849011674523354,
0.03210929408669472,
-0.010924096219241619,
0.038861628621816635,
-0.010454900562763214,
-0.04357398673892021,
0.036352455615997314,
-0.028457729145884514,
-0.06499378383159637,
0.06568737328052521,
0.02011420950293541,
-0.0017505583819001913,
-0.0011972136562690139,
-0.025458957999944687,
-0.049571529030799866,
0.0674009621143341,
0.09114633500576019,
0.09824546426534653,
-0.06548337638378143,
-0.016319844871759415,
-0.10265182703733444,
0.003299668664112687,
0.014116665348410606,
-0.042227599769830704,
-0.020002009347081184,
-0.03437367454171181,
0.046062760055065155,
0.009598108939826488,
-0.022827383130788803,
0.056548260152339935,
-0.021644193679094315,
0.04135040566325188,
-0.06356579810380936,
-0.057649850845336914,
-0.026662547141313553,
-0.002927372232079506,
0.00473275501281023,
0.028702527284622192,
-0.051366712898015976,
0.0003834525996353477,
0.03098730556666851,
-0.08837196230888367,
0.0988982617855072,
0.015259054489433765,
0.02488776296377182,
-0.012382682412862778,
0.0008867540745995939,
0.06678896397352219,
-0.0351896658539772,
0.032986484467983246,
0.020542604848742485,
0.021317796781659126,
0.00463585602119565,
0.025948552414774895,
-0.005885343998670578,
0.018135426566004753,
-0.022092990577220917,
-0.032680489122867584,
0.007772326003760099,
0.013168075121939182,
0.01690123975276947,
-0.01909421756863594,
-0.06674816459417343,
0.006686036475002766,
-0.00087591668125242,
0.007481629028916359,
0.06221940740942955,
-0.014055466279387474,
-0.03029371239244938,
0.06691136211156845,
-0.01925741694867611,
0.017472432926297188,
0.01884942129254341,
-0.040024418383836746,
-0.043247587978839874,
0.028661727905273438,
-0.0434923879802227,
-0.07294970750808716,
0.01161768939346075,
-0.06062822416424751,
0.033149685710668564,
0.00044975196942687035,
0.033231284469366074,
0.057486653327941895,
0.0010493149748072028,
-0.004434407688677311,
-0.027845734730362892,
-0.04263559356331825,
-0.03143610060214996,
-0.005237650126218796,
-0.01378006860613823,
-0.05140751227736473,
0.0022401537280529737,
-0.00192778161726892,
0.00806302297860384,
-0.019696012139320374,
-0.049979522824287415,
0.038453634828329086,
0.01534065417945385,
-0.009934705682098866,
-0.009628708474338055,
0.05875144153833389,
-0.010862896218895912,
0.008216021582484245,
0.028192531317472458,
0.0003166751121170819,
0.013015076518058777,
0.004541506990790367,
-0.001842357451096177,
-0.051529910415410995,
-0.002379127312451601,
0.035720061510801315,
-0.05181550607085228,
-0.014800059609115124,
-0.029926516115665436,
0.02441856823861599,
0.007537728175520897,
-0.011362692341208458,
-0.001223988365381956,
0.004067211411893368,
0.06270900368690491,
-0.027254140004515648,
0.01651364378631115,
0.0008567918557673693,
-0.0021929792128503323,
0.06189301237463951,
-0.013474071398377419,
-0.030966905876994133,
0.02858012728393078,
0.0074561289511621,
0.055773068219423294,
0.0097460076212883,
0.007695826701819897,
-0.07017533481121063,
-0.00946551002562046,
-0.05479387938976288,
-0.013708669692277908,
0.005061701871454716,
0.015565051697194576,
0.023765774443745613,
0.020950600504875183,
-0.006349439732730389,
-0.05034672096371651,
0.06625857204198837,
-0.033680081367492676,
0.059526633471250534,
-0.04130960628390312,
0.03875963017344475,
-0.06768655776977539,
0.04553236812353134,
0.002003005938604474,
-0.01972661167383194,
-0.0247245654463768,
-0.050999514758586884,
-0.02309258095920086,
0.003970312420278788,
0.022970180958509445,
-0.0065228380262851715,
0.0238677728921175,
0.01016930304467678,
0.024051371961832047,
0.05895543843507767,
-0.033761680126190186,
0.00790492445230484,
-0.024540966376662254,
0.035087667405605316,
0.0006304815178737044,
0.028110932558774948,
0.042921192944049835,
-0.024561366066336632,
0.03288448601961136,
-0.023928971961140633,
-0.0026749244425445795,
-0.04638915881514549,
-0.011362692341208458,
0.06915534287691116,
0.012831478379666805,
-0.0358220599591732,
0.04336998611688614,
-0.04492037370800972,
0.019767411053180695,
-0.03115050308406353,
0.013453671708703041,
0.08168081939220428,
0.08363920450210571,
0.02957971766591072,
-0.018064027652144432,
-0.005543647333979607,
0.04749074950814247,
0.041982799768447876,
-0.0191758181899786,
-0.032048095017671585,
-0.005706845782697201,
-0.034802068024873734,
0.005370249040424824,
0.031048504635691643,
-0.005385548807680607,
0.05438588187098503,
0.0067115360870957375,
-0.008542418479919434,
-0.07343930006027222,
-0.023806573823094368,
-0.005778245162218809,
0.03445527330040932,
0.07592807710170746,
-0.01752343401312828,
-0.0971030741930008,
-0.033149685710668564,
-0.022521385923027992,
0.00025515694869682193,
0.05189710482954979,
0.006487138103693724,
-0.05410028621554375,
0.016421843320131302,
-0.02800893411040306,
0.09400230646133423,
-0.0596490316092968,
0.003488366724923253,
-0.040575213730335236,
-0.013984067365527153,
-0.0013119624927639961,
0.007874324917793274,
-0.00003376725726411678,
0.029783716425299644,
-0.004115660674870014,
-0.06287220120429993,
0.002769273705780506,
-0.06772735714912415,
0.033210884779691696,
-0.024071771651506424,
0.05516107380390167,
-0.004467557650059462,
-0.023459777235984802,
-0.0020795052405446768,
-0.0002644006162881851,
0.002057830337435007,
0.008567918092012405,
-0.0323948934674263,
0.010194802656769753,
-0.03614845499396324,
-0.04263559356331825,
0.09065673500299454,
-0.012433681637048721,
0.03829043731093407,
0.0034475671127438545,
-0.002782023511826992,
-0.05312109366059303,
0.053814686834812164,
0.041982799768447876,
-0.033680081367492676,
0.030314112082123756,
0.056548260152339935,
0.035006068646907806,
-0.01793142966926098,
-0.0003987524542026222,
-0.009950005449354649,
0.01502445712685585,
0.015983248129487038,
0.1125253289937973,
-0.04916353151202202,
0.009853105992078781,
-0.03245609253644943,
0.01154629047960043,
-0.016727840527892113,
0.01971641182899475,
-0.034781668335199356,
-0.04618516191840172,
0.013351673260331154,
0.012576480396091938,
-0.05752745270729065,
-0.01862502284348011,
0.0021126549690961838,
-0.02800893411040306,
-0.0006336689693853259,
-0.023418977856636047,
0.047857943922281265,
0.009542008861899376,
-0.02425536885857582,
-0.0008414919720962644,
-0.026193350553512573,
0.059363435953855515,
-0.00884331576526165,
-0.09897986054420471,
-0.005533447489142418,
-0.021664593368768692,
0.033659677952528,
0.024316567927598953,
-0.043696384876966476,
0.00810382328927517,
0.023990171030163765,
0.001945631462149322,
-0.06070982292294502,
0.044961173087358475,
0.015167255885899067,
0.03461847081780434,
0.028845325112342834,
0.036658450961112976,
0.04135040566325188,
0.03890243172645569,
0.06793135404586792,
0.026805344969034195,
-0.05597706884145737,
0.01924721710383892,
-0.008792316541075706,
-0.015442652627825737,
-0.0179110299795866,
0.002779473550617695,
-0.04320678859949112,
0.011291292496025562,
-0.005569146946072578,
-0.0009517784346826375,
0.08155842125415802,
0.012382682412862778,
-0.030946506187319756,
0.05377388745546341,
0.003977962303906679,
0.019063618034124374,
-0.02607095241546631,
0.01986941136419773,
-0.04757234826683998,
0.0029656218830496073,
0.007502028718590736,
-0.07139932364225388,
-0.00844551995396614,
0.022052189335227013,
-0.0036413653288036585,
-0.0681353509426117,
-0.032048095017671585,
-0.028702527284622192,
-0.011056695133447647,
-0.0519787073135376,
0.02135859616100788,
0.07605047523975372,
-0.00404681172221899,
-0.06070982292294502,
0.0016562092350795865,
0.049816325306892395,
0.0009396660607308149,
0.0033889177720993757,
-0.008792316541075706,
-0.01068949792534113,
-0.0588330402970314,
0.0434923879802227,
0.052549898624420166,
-0.01587104983627796,
-0.007578528020530939,
0.07531608641147614,
0.007211331278085709,
0.011964485980570316,
0.016809439286589622,
-0.010363101027905941,
-0.023194579407572746,
0.018043627962470055,
0.024540966376662254,
-0.030008114874362946,
0.045573167502880096,
0.043329186737537384,
-0.021072998642921448,
-0.0033634179271757603,
-0.041044410318136215,
-0.019859211519360542,
0.02307218126952648,
0.025234559550881386,
0.008083422668278217,
-0.032986484467983246,
0.020308006554841995,
-0.040575213730335236,
-0.013219074346125126,
0.0245001669973135,
-0.05915943533182144,
0.008460819721221924,
-0.016534043475985527,
0.038310837000608444,
0.0472867488861084,
0.013474071398377419,
0.08649517595767975,
-0.013433272019028664,
-0.009026913903653622,
0.04053441435098648,
-0.028070133179426193,
0.007287830580025911,
-0.0027922233566641808,
0.05760905146598816,
0.006573837250471115,
0.02739693969488144,
0.012923276983201504,
-0.014055466279387474,
-0.035638462752103806,
-0.005548747256398201,
0.017747830599546432,
-0.025622155517339706,
-0.0030497710686177015,
0.03992241993546486,
-0.0021751292515546083,
0.037290845066308975,
-0.05316189303994179,
-0.03598525747656822,
-0.01314767450094223,
-0.10436540842056274,
0.029151322320103645,
0.0032716188579797745,
0.0058649443089962006,
0.03902482986450195,
-0.02753973752260208,
-0.06164821237325668,
-0.014137065038084984,
0.043329186737537384,
-0.048714738339185715,
0.03170129656791687,
0.051529910415410995,
0.0037433644756674767,
-0.022786583751440048,
0.008210921660065651,
0.02307218126952648,
0.031109703704714775,
0.0029171721544116735,
0.030028514564037323,
0.03235409036278725,
-0.016574842855334282,
-0.02176659367978573,
0.006140341516584158,
0.03210929408669472,
0.01782943122088909,
-0.016952238976955414,
-0.026499347761273384,
-0.0149122579023242,
0.008516918867826462,
-0.0067268358543515205,
-0.012107284739613533,
0.020053008571267128,
0.05120351165533066
]
|
37,172 | ipinfo.handler | __init__ |
Initialize the Handler object with country name list and the
cache initialized.
| def __init__(self, access_token=None, **kwargs):
"""
Initialize the Handler object with country name list and the
cache initialized.
"""
self.access_token = access_token
# load countries file
self.countries = kwargs.get("countries") or countries
# load eu countries file
self.eu_countries = kwargs.get("eu_countries") or eu_countries
# load countries flags file
self.countries_flags = kwargs.get("countries_flags") or countries_flags
# load countries currency file
self.countries_currencies = (
kwargs.get("countries_currencies") or countries_currencies
)
# load continent file
self.continents = kwargs.get("continent") or continents
# setup req opts
self.request_options = kwargs.get("request_options", {})
if "timeout" not in self.request_options:
self.request_options["timeout"] = REQUEST_TIMEOUT_DEFAULT
# setup cache
if "cache" in kwargs:
self.cache = kwargs["cache"]
else:
cache_options = kwargs.get("cache_options", {})
if "maxsize" not in cache_options:
cache_options["maxsize"] = CACHE_MAXSIZE
if "ttl" not in cache_options:
cache_options["ttl"] = CACHE_TTL
self.cache = DefaultCache(**cache_options)
# setup custom headers
self.headers = kwargs.get("headers", None)
| (self, access_token=None, **kwargs) | [
-0.04916614294052124,
-0.06347595155239105,
-0.06610923260450363,
-0.00934641808271408,
-0.025431958958506584,
-0.008224674500524998,
-0.04518157243728638,
0.018762132152915,
-0.01191906537860632,
-0.025605199858546257,
0.03241362050175667,
0.05218055844306946,
-0.03523746877908707,
-0.01285457331687212,
-0.0017031875904649496,
0.01473425142467022,
-0.005656358785927296,
0.018173109740018845,
0.011633215472102165,
-0.07019774615764618,
-0.016354065388441086,
-0.02752818912267685,
0.006817081477493048,
0.05654626339673996,
0.005686676129698753,
0.012793938629329205,
0.005660689901560545,
-0.018432972952723503,
0.06590133905410767,
-0.00548744760453701,
0.018866078928112984,
0.008939298801124096,
-0.04247899353504181,
0.08031509816646576,
-0.022348247468471527,
-0.05824403464794159,
0.02045990712940693,
0.008345943875610828,
-0.16035300493240356,
0.006825743708759546,
-0.01650998368859291,
-0.02532801404595375,
0.007778575643897057,
-0.004246599972248077,
0.0037485286593437195,
0.03194586560130119,
-0.05834798142313957,
0.04060797765851021,
0.0662824735045433,
-0.04767626151442528,
-0.027476217597723007,
0.027666782960295677,
-0.004846451338380575,
-0.010671720840036869,
-0.006041822489351034,
0.05512567609548569,
-0.011304055340588093,
0.06933154165744781,
-0.010680383071303368,
0.055645402520895004,
-0.05197266861796379,
-0.01670055091381073,
0.03579184412956238,
-0.006288692820817232,
-0.029572447761893272,
0.020996958017349243,
-0.030300065875053406,
0.01229153573513031,
0.017575424164533615,
0.006847398821264505,
0.05703134089708328,
-0.004686202388256788,
-0.03478704020380974,
0.024184614419937134,
0.007995128631591797,
0.008055763319134712,
-0.07588009536266327,
-0.013738108798861504,
-0.03102768212556839,
0.034804362803697586,
-0.0034648445434868336,
-0.06874251365661621,
-0.021845843642950058,
-0.034994930028915405,
0.04490438476204872,
-0.04033078998327255,
0.035999733954668045,
-0.06638642400503159,
0.014838196337223053,
0.04559735208749771,
-0.0862746313214302,
0.010403195396065712,
-0.03383420780301094,
0.0012505922932177782,
-0.009658253751695156,
-0.0029429523274302483,
-0.008241998963057995,
-0.012092307209968567,
-0.029381880536675453,
0.012456116266548634,
0.030577251687645912,
-0.04559735208749771,
-0.029122017323970795,
0.018554242327809334,
0.03515084832906723,
-0.015877649188041687,
0.023006567731499672,
-0.04684469848871231,
0.018727485090494156,
0.0015981595497578382,
-0.01926453597843647,
-0.065658800303936,
0.020477231591939926,
0.013712122105062008,
-0.0014346621464937925,
-0.0031573395244777203,
-0.0004030588606838137,
0.038563720881938934,
-0.016215471550822258,
0.026783248409628868,
-0.01988820731639862,
0.0026462748646736145,
-0.002834675833582878,
0.033747583627700806,
0.05779360607266426,
0.008748732507228851,
0.016839144751429558,
-0.029364556074142456,
0.036380868405103683,
-0.0030988703947514296,
0.04767626151442528,
0.004460987169295549,
0.008506192825734615,
-0.018432972952723503,
0.005179942585527897,
0.007562023121863604,
0.027060436084866524,
0.008116398006677628,
-0.006691480986773968,
0.061951421201229095,
0.0023495976347476244,
-0.030386686325073242,
0.010247277095913887,
-0.0437956340610981,
0.031200924888253212,
-0.0008559248526580632,
0.03028274141252041,
-0.028117213398218155,
-0.016527308151125908,
-0.04985911026597023,
0.04999770596623421,
0.019628344103693962,
-0.030230768024921417,
0.032621510326862335,
-0.06028829514980316,
-0.03977641463279724,
-0.041370242834091187,
0.037870749831199646,
-0.02544928342103958,
0.03340110182762146,
-0.0044783116318285465,
0.03539338707923889,
-0.05103715881705284,
-0.04840387776494026,
-0.008588483557105064,
-0.030005553737282753,
0.009528322145342827,
-0.03641551733016968,
-0.007826217450201511,
0.01614617556333542,
-0.029849635437130928,
-0.027510864660143852,
-0.05024024471640587,
0.03203248605132103,
0.014032620005309582,
0.02633281797170639,
-0.003882791381329298,
-0.025761118158698082,
-0.020910335704684258,
-0.008350275456905365,
0.018779456615447998,
-0.030438659712672234,
-0.07123719900846481,
0.029433853924274445,
0.008363268338143826,
0.02946850284934044,
0.045701298862695694,
0.010472492314875126,
0.023301079869270325,
0.07795900106430054,
0.010767004452645779,
-0.012516750954091549,
0.000001882148239928938,
-0.05668485537171364,
-0.002600798849016428,
-0.009017257951200008,
0.03154740855097771,
-0.047191180288791656,
-0.026696626096963882,
0.005716993473470211,
-0.08551236242055893,
0.01727224886417389,
0.015998918563127518,
-0.025414634495973587,
0.006059146951884031,
0.060461536049842834,
0.04161278158426285,
0.019056644290685654,
-0.04840387776494026,
0.039187390357255936,
-0.03613832965493202,
-0.003653245512396097,
-0.02463504485785961,
0.015262640081346035,
-0.025293365120887756,
0.015894973650574684,
-0.044627197086811066,
0.04684469848871231,
0.023976724594831467,
0.008081750012934208,
0.06534696370363235,
-0.019472425803542137,
-0.03421533852815628,
-0.03603438287973404,
0.025189420208334923,
0.010602423921227455,
0.021932465955615044,
0.031928543001413345,
-0.07588009536266327,
-0.012949855998158455,
-0.03998430445790291,
0.028550319373607635,
0.032430943101644516,
-0.013253030367195606,
0.019281860440969467,
-0.0425136424601078,
0.08412642776966095,
0.0017778982874006033,
0.008904649876058102,
0.010030725039541721,
0.06666360795497894,
-0.008679435588419437,
0.009329093620181084,
-0.03028274141252041,
-0.044315360486507416,
0.0034886652138084173,
-0.01617216132581234,
0.008761725388467312,
-0.0016945254756137729,
-0.013166408985853195,
-0.018744809553027153,
0.024565747007727623,
-0.04497368261218071,
-0.0027458893600851297,
0.01029058825224638,
-0.07996860891580582,
0.03672735020518303,
-0.0015797525411471725,
0.026055630296468735,
-0.026367466896772385,
-0.010446506552398205,
-0.03504690155386925,
0.0022120866924524307,
0.02026933990418911,
-0.03617297485470772,
0.020615825429558754,
0.06281763315200806,
-0.029918931424617767,
-0.01532327476888895,
-0.0024037358816713095,
0.03421533852815628,
0.06638642400503159,
0.0037008870858699083,
0.011754484847187996,
-0.0040517025627195835,
-0.0035276447888463736,
0.045320164412260056,
-0.006535562686622143,
-0.09424377232789993,
0.021239496767520905,
0.055576104670763016,
-0.028758209198713303,
0.0406426265835762,
0.021187523379921913,
-0.030681198462843895,
-0.01794789358973503,
-0.009433039464056492,
0.06264438480138779,
0.02546660602092743,
-0.02163795381784439,
0.0051886048167943954,
0.06385708600282669,
-0.013989309780299664,
0.03539338707923889,
-0.009701564908027649,
-0.0519380196928978,
-0.011737160384654999,
0.02726832590997219,
0.053393252193927765,
0.02822115831077099,
-0.06666360795497894,
-0.0173502080142498,
0.10477689653635025,
-0.025414634495973587,
0.03295066952705383,
-0.013720784336328506,
0.01485552079975605,
0.01981891132891178,
0.030733169987797737,
0.04466184601187706,
0.04978981614112854,
-0.012282873503863811,
0.02383813075721264,
-0.03154740855097771,
0.020130746066570282,
0.02383813075721264,
0.013079787604510784,
0.04528551921248436,
0.006856061052531004,
0.047814853489398956,
-0.05096786096692085,
0.04178602620959282,
-0.009753537364304066,
-0.009744875133037567,
0.06028829514980316,
-0.021378090605139732,
0.054259464144706726,
0.02602098137140274,
0.0012668337440118194,
-0.03780145198106766,
-0.036865945905447006,
-0.03329715505242348,
-0.02652338519692421,
-0.0014909658348187804,
-0.005509102717041969,
0.029607096686959267,
-0.003531975904479623,
-0.010749679990112782,
0.012343508191406727,
-0.008973946794867516,
0.00807308778166771,
-0.038944851607084274,
-0.06638642400503159,
0.04514692351222038,
-0.07643447071313858,
-0.05467524752020836,
0.060011107474565506,
-0.019299183040857315,
0.017029710114002228,
-0.008042770437896252,
-0.05973391979932785,
-0.05872911214828491,
0.12314057350158691,
0.07016310095787048,
0.09562970697879791,
-0.0594220831990242,
-0.022434867918491364,
-0.05516032502055168,
-0.01297584269195795,
0.018554242327809334,
0.03759356215596199,
0.002888814080506563,
-0.024184614419937134,
0.023491645231842995,
0.013166408985853195,
-0.046706102788448334,
0.05737782642245293,
0.0035622932482510805,
0.010853624902665615,
-0.0787905603647232,
-0.006760777905583382,
-0.027424244210124016,
-0.004972051829099655,
0.025570552796125412,
0.03151275962591171,
-0.03651946038007736,
0.010247277095913887,
0.03189389407634735,
-0.09355080127716064,
0.041820671409368515,
0.014812210574746132,
0.05606118217110634,
-0.007860866375267506,
0.02451377548277378,
0.01900467276573181,
-0.03426731377840042,
0.016787171363830566,
0.042375046759843826,
0.028740884736180305,
0.021291470155119896,
0.028879478573799133,
-0.0178266242146492,
-0.014439739286899567,
-0.001537524745799601,
-0.02577844262123108,
0.017454154789447784,
-0.03373026102781296,
0.04708723723888397,
0.004270420875400305,
-0.009181837551295757,
0.04234039783477783,
-0.04497368261218071,
-0.00310536683537066,
0.04840387776494026,
-0.008857009001076221,
-0.014318469911813736,
0.06960872560739517,
0.02719902992248535,
0.05935278534889221,
0.02470434084534645,
-0.022867973893880844,
-0.014058606699109077,
0.009814172051846981,
-0.02707776054739952,
-0.09847088158130646,
-0.01029058825224638,
-0.03676199913024902,
0.015609124675393105,
-0.039568524807691574,
0.025535903871059418,
0.04074656963348389,
0.01614617556333542,
0.0060678087174892426,
-0.030248092487454414,
0.02002680115401745,
-0.04327590763568878,
-0.0025401641614735126,
-0.024184614419937134,
-0.0337822325527668,
-0.012750627472996712,
-0.028931451961398125,
0.04646356403827667,
-0.03960317373275757,
-0.05668485537171364,
0.054883137345314026,
0.015990257263183594,
-0.02676592394709587,
-0.030733169987797737,
-0.006947013083845377,
0.018918050453066826,
-0.0331585630774498,
-0.023283755406737328,
-0.016042230650782585,
0.007211207412183285,
-0.015513841062784195,
-0.014318469911813736,
-0.0794142335653305,
-0.0026679302100092173,
0.03603438287973404,
-0.06468864530324936,
-0.05290817469358444,
0.028065240010619164,
-0.023231782019138336,
-0.032240379601716995,
-0.01347824465483427,
0.0009176423773169518,
0.0013913515722379088,
0.04448860138654709,
-0.03579184412956238,
-0.013504231348633766,
-0.021031606942415237,
-0.01813846081495285,
0.10214361548423767,
-0.04518157243728638,
0.03198051452636719,
0.08551236242055893,
0.0206504724919796,
0.03364364057779312,
0.012005685828626156,
-0.018935374915599823,
-0.08419571816921234,
0.03454449772834778,
-0.05384368449449539,
-0.019628344103693962,
0.005855587311089039,
-0.011208771727979183,
-0.02420193888247013,
-0.017454154789447784,
-0.026852544397115707,
-0.04791880026459694,
0.06798025220632553,
0.042998719960451126,
0.05585329234600067,
-0.006466266233474016,
0.02170724980533123,
-0.08918509632349014,
0.04923544079065323,
0.0025055157020688057,
0.01298450492322445,
-0.037004537880420685,
-0.007730934303253889,
0.013131760992109776,
-0.03095838613808155,
-0.020875688642263412,
0.015080736018717289,
0.049755167216062546,
0.0009317183285020292,
0.020633148029446602,
0.04760696366429329,
-0.036069031804800034,
0.01463896781206131,
-0.021672602742910385,
-0.010801652446389198,
-0.009155851788818836,
-0.018554242327809334,
0.011511946097016335,
-0.05159153416752815,
-0.016873791813850403,
-0.025172095745801926,
0.00304906303063035,
-0.03946457803249359,
0.005409488454461098,
0.00015808352327439934,
0.0003232050221413374,
0.018242405727505684,
0.05460594967007637,
-0.048888955265283585,
0.019974827766418457,
-0.05100250989198685,
0.04978981614112854,
0.05522962287068367,
0.04545876011252403,
0.07899845391511917,
0.010697707533836365,
0.004508628975600004,
0.024877583608031273,
0.007891183719038963,
-0.002436218783259392,
0.01682182028889656,
0.002175272675231099,
-0.03752426430583,
-0.04784950241446495,
-0.017861273139715195,
0.04892360419034958,
0.03696988895535469,
0.013781419023871422,
-0.030109498649835587,
-0.07206876575946808,
0.00781322456896305,
-0.0019836234860122204,
0.0018396158702671528,
0.009918116964399815,
-0.009666915982961655,
-0.07726603001356125,
-0.04698329046368599,
-0.07477134466171265,
0.006548556033521891,
0.013400286436080933,
0.043934229761362076,
-0.023682212457060814,
0.030230768024921417,
-0.046879347413778305,
0.08225540816783905,
-0.031495437026023865,
0.02352629415690899,
-0.025917036458849907,
-0.05242309719324112,
-0.012456116266548634,
0.004112337250262499,
0.0126726683229208,
0.013001829385757446,
0.0037615217734128237,
-0.09985681623220444,
0.03270813077688217,
-0.0631294697523117,
0.01122609619051218,
-0.007912838831543922,
0.04573594778776169,
-0.0057646348141133785,
0.030490631237626076,
0.027684107422828674,
0.0040517025627195835,
-0.0034042096231132746,
0.03454449772834778,
-0.04528551921248436,
0.008298303000628948,
0.0168911162763834,
-0.027008462697267532,
0.08433431386947632,
-0.011737160384654999,
0.026748599484562874,
-0.00514529412612319,
-0.002834675833582878,
-0.011286730878055096,
-0.027874674648046494,
0.0018840092234313488,
0.040192194283008575,
0.018970023840665817,
0.08980876952409744,
0.0362769216299057,
-0.04909684509038925,
-0.021360766142606735,
0.006860392168164253,
0.008818029426038265,
0.00304906303063035,
0.059144895523786545,
-0.04015754908323288,
-0.05072532221674919,
-0.0203213132917881,
0.003653245512396097,
-0.03267348185181618,
0.026038305833935738,
-0.06205536425113678,
0.010255939327180386,
0.012534074485301971,
0.017722679302096367,
-0.06243649870157242,
0.01242146734148264,
-0.009554308839142323,
-0.007986466400325298,
-0.007739596534520388,
-0.026471411809325218,
0.049824465066194534,
0.020425258204340935,
-0.009805509820580482,
-0.023716861382126808,
-0.0012094472767785192,
0.031010357663035393,
-0.007319483906030655,
-0.03232700005173683,
-0.0506906732916832,
-0.010524464771151543,
-0.012473439797759056,
0.06323341280221939,
-0.05671950429677963,
-0.024184614419937134,
0.05737782642245293,
-0.0017908915178850293,
-0.0832255631685257,
0.03246559202671051,
0.02214035578072071,
0.0062800305895507336,
-0.02156865783035755,
-0.03232700005173683,
0.04078121855854988,
0.07290032505989075,
0.038875553756952286,
0.03014414757490158,
0.0029559454414993525,
0.02952047437429428,
0.022971918806433678,
-0.0030057525727897882,
0.03353969380259514,
0.014907493256032467,
-0.0619167722761631,
0.058521222323179245,
-0.04015754908323288,
0.004060364793986082,
0.04823063686490059,
-0.02369953691959381,
-0.03845977410674095,
0.02803059108555317,
0.026575356721878052,
0.036623407155275345,
-0.03248291835188866,
0.011667863465845585,
-0.010082697495818138,
0.012265549041330814,
0.04514692351222038,
-0.06396102905273438,
-0.02227894961833954,
0.010585099458694458,
0.06496583670377731,
-0.04795344918966293,
-0.011425324715673923,
-0.05678880214691162,
-0.0030533941462635994,
-0.05924884229898453,
0.009554308839142323,
0.03554930537939072,
-0.020546527579426765,
-0.0019110782304778695,
0.008484537713229656,
0.04667145386338234,
-0.006033160258084536,
0.027926646173000336,
0.010307912714779377,
-0.03198051452636719,
0.008965285494923592,
0.05623442679643631,
0.023179810494184494,
0.021066254004836082,
0.03485633432865143,
0.04074656963348389,
-0.01633674092590809,
0.03870231285691261,
-0.010559113696217537,
-0.0017822294030338526,
-0.005665020551532507,
0.01957637071609497,
-0.0007373621920123696,
-0.03213643282651901,
0.0013772756792604923,
0.023405024781823158,
0.0022738042753189802,
-0.015479193069040775,
-0.030386686325073242,
-0.03773215785622597,
-0.009918116964399815,
0.04958192631602287,
0.022937269881367683,
-0.049131494015455246,
0.03295066952705383,
-0.048819657415151596,
-0.014950803481042385,
-0.00410800613462925,
-0.022469516843557358,
-0.007644312921911478,
-0.015730394050478935,
0.03769750893115997,
0.024877583608031273,
0.0017843949608504772,
0.05450200289487839,
0.03426731377840042,
-0.024860259145498276,
0.046324972063302994,
-0.027736080810427666,
0.05484848842024803,
0.01890072599053383,
0.017670707777142525,
0.008857009001076221,
-0.023058539256453514,
-0.023439673706889153,
0.019160589203238487,
0.02214035578072071,
-0.027060436084866524,
0.0027220684569329023,
-0.03485633432865143,
-0.015288625843822956,
-0.00017256550199817866,
-0.016284769400954247,
-0.027251001447439194,
-0.0475376658141613,
-0.030352037400007248,
-0.01655329391360283,
-0.0850272849202156,
0.01633674092590809,
0.03078514337539673,
0.018034515902400017,
0.08495798707008362,
-0.002449211897328496,
-0.020355962216854095,
0.02745889313519001,
0.035445358604192734,
-0.018484944477677345,
0.03140881657600403,
0.01964566856622696,
-0.033054616302251816,
-0.01473425142467022,
0.09230345487594604,
0.011685187928378582,
0.012863235548138618,
0.03504690155386925,
0.03797469660639763,
-0.019316507503390312,
-0.038875553756952286,
-0.05904094874858856,
-0.00027854100335389376,
-0.0018331193132326007,
0.012031672522425652,
-0.03431928530335426,
-0.049755167216062546,
-0.008376261219382286,
-0.012949855998158455,
0.07227665930986404,
0.02640211582183838,
0.07414767146110535,
-0.00830263365060091
]
|
37,173 | ipinfo.handler | getBatchDetails |
Get details for a batch of IP addresses at once.
There is no specified limit to the number of IPs this function can
accept; it can handle as much as the user can fit in RAM (along with
all of the response data, which is at least a magnitude larger than the
input list).
The input list is broken up into batches to abide by API requirements.
The batch size can be adjusted with `batch_size` but is clipped to
`BATCH_MAX_SIZE`.
Defaults to `BATCH_MAX_SIZE`.
For each batch, `timeout_per_batch` indicates the maximum seconds to
spend waiting for the HTTP request to complete. If any batch fails with
this timeout, the whole operation fails.
Defaults to `BATCH_REQ_TIMEOUT_DEFAULT` seconds.
`timeout_total` is a seconds-denominated hard-timeout for the time
spent in HTTP operations; regardless of whether all batches have
succeeded so far, if `timeout_total` is reached, the whole operation
will fail by raising `TimeoutExceededError`.
Defaults to being turned off.
`raise_on_fail`, if turned off, will return any result retrieved so far
rather than raise an exception when errors occur, including timeout and
quota errors.
Defaults to on.
| def getBatchDetails(
self,
ip_addresses,
batch_size=None,
timeout_per_batch=BATCH_REQ_TIMEOUT_DEFAULT,
timeout_total=None,
raise_on_fail=True,
):
"""
Get details for a batch of IP addresses at once.
There is no specified limit to the number of IPs this function can
accept; it can handle as much as the user can fit in RAM (along with
all of the response data, which is at least a magnitude larger than the
input list).
The input list is broken up into batches to abide by API requirements.
The batch size can be adjusted with `batch_size` but is clipped to
`BATCH_MAX_SIZE`.
Defaults to `BATCH_MAX_SIZE`.
For each batch, `timeout_per_batch` indicates the maximum seconds to
spend waiting for the HTTP request to complete. If any batch fails with
this timeout, the whole operation fails.
Defaults to `BATCH_REQ_TIMEOUT_DEFAULT` seconds.
`timeout_total` is a seconds-denominated hard-timeout for the time
spent in HTTP operations; regardless of whether all batches have
succeeded so far, if `timeout_total` is reached, the whole operation
will fail by raising `TimeoutExceededError`.
Defaults to being turned off.
`raise_on_fail`, if turned off, will return any result retrieved so far
rather than raise an exception when errors occur, including timeout and
quota errors.
Defaults to on.
"""
if batch_size == None:
batch_size = BATCH_MAX_SIZE
result = {}
lookup_addresses = []
# pre-populate with anything we've got in the cache, and keep around
# the IPs not in the cache.
for ip_address in ip_addresses:
# if the supplied IP address uses the objects defined in the
# built-in module ipaddress extract the appropriate string notation
# before formatting the URL.
if isinstance(ip_address, IPv4Address) or isinstance(
ip_address, IPv6Address
):
ip_address = ip_address.exploded
if ip_address and is_bogon(ip_address):
details = {}
details["ip"] = ip_address
details["bogon"] = True
result[ip_address] = Details(details)
else:
try:
cached_ipaddr = self.cache[cache_key(ip_address)]
result[ip_address] = cached_ipaddr
except KeyError:
lookup_addresses.append(ip_address)
# all in cache - return early.
if len(lookup_addresses) == 0:
return result
# do start timer if necessary
if timeout_total is not None:
start_time = time.time()
# prepare req http options
req_opts = {**self.request_options, "timeout": timeout_per_batch}
# loop over batch chunks and do lookup for each.
url = API_URL + "/batch"
headers = handler_utils.get_headers(self.access_token, self.headers)
headers["content-type"] = "application/json"
for i in range(0, len(lookup_addresses), batch_size):
# quit if total timeout is reached.
if (
timeout_total is not None
and time.time() - start_time > timeout_total
):
return handler_utils.return_or_fail(
raise_on_fail, TimeoutExceededError(), result
)
chunk = lookup_addresses[i : i + batch_size]
# lookup
try:
response = requests.post(
url, json=chunk, headers=headers, **req_opts
)
except Exception as e:
return handler_utils.return_or_fail(raise_on_fail, e, result)
# fail on bad status codes
try:
if response.status_code == 429:
raise RequestQuotaExceededError()
response.raise_for_status()
except Exception as e:
return handler_utils.return_or_fail(raise_on_fail, e, result)
# fill cache
json_response = response.json()
for ip_address, details in json_response.items():
self.cache[cache_key(ip_address)] = details
# merge cached results with new lookup
result.update(json_response)
# format all
for detail in result.values():
if isinstance(detail, dict):
handler_utils.format_details(
detail,
self.countries,
self.eu_countries,
self.countries_flags,
self.countries_currencies,
self.continents,
)
return result
| (self, ip_addresses, batch_size=None, timeout_per_batch=5, timeout_total=None, raise_on_fail=True) | [
0.017631355673074722,
-0.034518856555223465,
-0.10542625933885574,
-0.010524531826376915,
-0.0590660460293293,
-0.00977565161883831,
-0.061880629509687424,
-0.05978979542851448,
-0.01254500076174736,
-0.07695875316858292,
-0.03359406441450119,
0.025572501122951508,
-0.00245270854793489,
-0.030136147513985634,
0.042258959263563156,
0.05102437734603882,
0.03476010635495186,
-0.01273598987609148,
0.011750886216759682,
-0.044148754328489304,
0.037514377385377884,
0.026356564834713936,
0.019038647413253784,
0.017118699848651886,
0.019310053437948227,
0.033393021672964096,
0.06413229554891586,
-0.03884125128388405,
0.052994586527347565,
0.04133417084813118,
0.037856146693229675,
-0.0221547931432724,
-0.028527814894914627,
0.030397502705454826,
-0.04141458496451378,
-0.01885771006345749,
0.0008927506860345602,
0.0101475790143013,
-0.050019171088933945,
0.029794376343488693,
-0.01738005317747593,
-0.039745938032865524,
-0.015228907577693462,
-0.006242344155907631,
0.02663802169263363,
0.016827188432216644,
-0.01768161542713642,
-0.020154427736997604,
-0.02072739787399769,
-0.02108927257359028,
-0.03570500388741493,
-0.03514208644628525,
0.00007130696758395061,
0.016153698787093163,
0.030880002304911613,
-0.016837241128087044,
-0.03570500388741493,
0.0010875097941607237,
-0.000967513071373105,
-0.006187057588249445,
-0.059669170528650284,
-0.028628334403038025,
0.04949646070599556,
0.0120122404769063,
-0.05130583792924881,
0.011017084121704102,
-0.03646896034479141,
-0.02370281331241131,
-0.03142281621694565,
-0.0015731510939076543,
0.06674584001302719,
0.015972761437296867,
-0.01882755383849144,
-0.023803334683179855,
0.00037758139660581946,
0.047888126224279404,
0.0005949577316641808,
-0.000522394257131964,
0.013560261577367783,
-0.02219500206410885,
0.002952799666672945,
0.04519416764378548,
0.02882937714457512,
-0.07981354743242264,
0.04246000200510025,
-0.04282187670469284,
0.03586583584547043,
0.036026667803525925,
0.012293698266148567,
-0.022275418043136597,
-0.035564273595809937,
-0.01129854191094637,
-0.008569401688873768,
-0.003472995012998581,
-0.008579453453421593,
-0.020486146211624146,
-0.023803334683179855,
-0.019350262358784676,
-0.01127843838185072,
-0.010243073105812073,
-0.0038600002881139517,
-0.07173167169094086,
0.04398791864514351,
-0.012364063411951065,
0.013208438642323017,
-0.07289770990610123,
-0.015691302716732025,
0.014253854751586914,
0.016726667061448097,
0.0035911069717258215,
-0.04981812834739685,
0.020747501403093338,
-0.0276834387332201,
-0.031181564554572105,
0.019470887258648872,
0.057457711547613144,
0.03952479362487793,
0.022295521572232246,
-0.04254041984677315,
-0.0046013412065804005,
0.010564739815890789,
-0.05689479410648346,
0.008825729601085186,
0.0048928516916930676,
-0.0184757299721241,
0.002688932465389371,
-0.02104906365275383,
0.01730968803167343,
0.05013979598879814,
-0.03260895982384682,
-0.02919125184416771,
-0.00027313397731631994,
-0.030357293784618378,
0.055608127266168594,
0.07607416808605194,
0.00730283884331584,
-0.03407656401395798,
0.02579364739358425,
-0.030880002304911613,
0.013128021731972694,
0.015027865767478943,
-0.010082240216434002,
0.014464948326349258,
-0.058101046830415726,
0.021853230893611908,
-0.07422459125518799,
0.05013979598879814,
-0.00526729179546237,
-0.009343411773443222,
-0.043425001204013824,
-0.020385626703500748,
0.009268021211028099,
0.009569583460688591,
0.0016410027164965868,
-0.020888229832053185,
0.01705838553607464,
-0.005790000315755606,
0.00396806001663208,
0.009489167481660843,
-0.027844272553920746,
-0.00360367214307189,
0.01438453234732151,
-0.003467968897894025,
-0.04010781645774841,
-0.03723292052745819,
0.011017084121704102,
-0.05673396214842796,
-0.007468698546290398,
-0.0049481382593512535,
-0.006342865061014891,
-0.03866031393408775,
0.016535678878426552,
0.015359584242105484,
-0.021290313452482224,
-0.027763856574892998,
0.055889587849378586,
0.023541981354355812,
-0.03031708486378193,
0.002791966311633587,
0.042982712388038635,
-0.031905315816402435,
-0.0038072268944233656,
-0.009192630648612976,
0.016837241128087044,
-0.04310333728790283,
0.011620208621025085,
0.026055000722408295,
0.0015982813201844692,
0.04953666776418686,
0.057819586247205734,
-0.027623126283288002,
0.030397502705454826,
0.058101046830415726,
-0.012424375861883163,
-0.021350625902414322,
-0.030518127605319023,
-0.0332925021648407,
0.00866992212831974,
0.05323583632707596,
0.012293698266148567,
-0.08218583464622498,
0.05713604390621185,
0.010283282026648521,
0.01624416746199131,
-0.028547918424010277,
0.0031714325305074453,
-0.02959333546459675,
-0.03164396062493324,
-0.056251462548971176,
0.05568854510784149,
-0.031945522874593735,
0.010011876001954079,
-0.025552397593855858,
0.04692312702536583,
0.027944793924689293,
0.04587770998477936,
-0.014987656846642494,
0.03978614881634712,
0.016525626182556152,
-0.012163021601736546,
0.03773552179336548,
-0.1368691772222519,
-0.03542354330420494,
-0.031201668083667755,
0.005217031575739384,
0.06091563031077385,
-0.009177552536129951,
0.03592614829540253,
0.01956135593354702,
-0.020526355132460594,
0.02104906365275383,
-0.0018935613334178925,
0.06557979434728622,
0.01141916774213314,
0.036810729652643204,
-0.05202958732843399,
-0.03614729270339012,
0.0029427476692944765,
0.08789542317390442,
0.022375939413905144,
0.039987191557884216,
0.00600109389051795,
0.025713231414556503,
-0.07189250737428665,
-0.044430211186409,
-0.04716437682509422,
-0.023521875962615013,
0.03106093965470791,
0.024647708982229233,
-0.05934750288724899,
-0.010253125801682472,
0.033433232456445694,
0.032347604632377625,
-0.02657770924270153,
0.006574063096195459,
-0.0589856281876564,
-0.004920495208352804,
-0.04841083660721779,
0.04921500384807587,
-0.024245627224445343,
0.001019029994495213,
0.01887781359255314,
0.005362786818295717,
-0.008976510725915432,
-0.0737018808722496,
0.05130583792924881,
0.016455261036753654,
-0.009443933144211769,
-0.04579729586839676,
0.04724479466676712,
0.006071458570659161,
0.07293792068958282,
-0.002927669556811452,
-0.05978979542851448,
-0.015530469827353954,
0.05874437838792801,
0.034559063613414764,
0.005553776398301125,
-0.06578084081411362,
-0.05568854510784149,
0.04471166804432869,
0.0051667713560163975,
-0.0075340368784964085,
-0.06771083921194077,
0.04217854514718056,
-0.05492458492517471,
-0.010182760655879974,
0.08564375340938568,
-0.007518958766013384,
0.0028321745339781046,
-0.0029125912114977837,
-0.017500678077340126,
-0.013761302456259727,
-0.03763500228524208,
-0.07643604278564453,
0.007021380588412285,
-0.012263542041182518,
-0.02659781463444233,
-0.031161461025476456,
-0.0369112528860569,
-0.08061771094799042,
0.0076848180033266544,
0.05773916840553284,
0.0067348964512348175,
-0.023180104792118073,
0.0240043755620718,
0.04837062954902649,
-0.02177281305193901,
-0.007051536813378334,
0.033091459423303604,
0.01330895908176899,
-0.017902761697769165,
0.028507709503173828,
-0.0664241686463356,
0.013982448726892471,
-0.03274969011545181,
0.005033581051975489,
0.06678604334592819,
0.01455541793256998,
0.03435802459716797,
-0.02738187648355961,
0.06529833376407623,
0.03502146154642105,
-0.014897188171744347,
0.03731333464384079,
-0.01460567768663168,
0.047847919166088104,
0.06469520926475525,
-0.01771177165210247,
0.009268021211028099,
0.015681250020861626,
-0.08041667193174362,
0.0003103580966126174,
0.02368270978331566,
0.052954379469156265,
0.0222151055932045,
0.004649088717997074,
0.0002159627474611625,
0.05013979598879814,
-0.011489531956613064,
0.022416146472096443,
-0.0033875522203743458,
-0.027562813833355904,
0.02219500206410885,
-0.00480238301679492,
-0.0332925021648407,
0.06031250208616257,
0.021230001002550125,
-0.013489896431565285,
0.03355385735630989,
-0.010886406525969505,
-0.03391573205590248,
0.03872062638401985,
0.08170333504676819,
0.05062229558825493,
-0.04507354274392128,
-0.011961979791522026,
-0.09569583833217621,
0.0258338563144207,
0.030457815155386925,
-0.0849200040102005,
-0.021571772173047066,
-0.021672293543815613,
0.04475187882781029,
0.025311147794127464,
-0.0064634899608790874,
0.027100417762994766,
-0.02470802143216133,
0.025371460244059563,
-0.039283543825149536,
-0.051868751645088196,
0.007503880653530359,
-0.017048334702849388,
0.034538961946964264,
0.01996343955397606,
-0.044872503727674484,
-0.03421729430556297,
0.026738543063402176,
-0.066665418446064,
0.10976875573396683,
-0.0004495166358537972,
-0.015399792231619358,
0.0082778912037611,
-0.0034428387880325317,
0.06445395946502686,
-0.01810380257666111,
0.013570313341915607,
0.011328698135912418,
0.002531868638470769,
0.003787122666835785,
0.030920209363102913,
0.008212552405893803,
-0.00019899984181392938,
-0.028909793123602867,
-0.02551218867301941,
0.0019664389546960592,
0.021250104531645775,
0.010936667211353779,
-0.029673751443624496,
-0.07474729418754578,
-0.018184220418334007,
0.005156719125807285,
0.013660782016813755,
0.053356461226940155,
-0.02545187622308731,
-0.044108543545007706,
0.028547918424010277,
-0.06139812991023064,
-0.01693776063621044,
-0.0010667773894965649,
0.0034076564479619265,
-0.04583750292658806,
0.046279795467853546,
-0.045998334884643555,
-0.04652104526758194,
0.044430211186409,
-0.06927896291017532,
0.048169586807489395,
0.01311796996742487,
0.012766147032380104,
0.07989396154880524,
0.010162657126784325,
0.00453600287437439,
-0.01843552105128765,
-0.042620837688446045,
-0.01586218923330307,
-0.02139083482325077,
-0.028950002044439316,
-0.03926343843340874,
-0.036348335444927216,
-0.0257735438644886,
-0.007991407066583633,
-0.025874063372612,
-0.011399063281714916,
0.027944793924689293,
0.016766875982284546,
0.009494192898273468,
0.002977929776534438,
0.04957687854766846,
-0.01623411476612091,
0.031101148575544357,
0.043344587087631226,
0.015570677816867828,
0.027522604912519455,
0.013751250691711903,
-0.003264414146542549,
-0.028246356174349785,
-0.023160001263022423,
0.020506251603364944,
-0.027824169024825096,
0.03669010475277901,
-0.0367906279861927,
0.0628858357667923,
0.005614088848233223,
0.03510187566280365,
-0.008252761326730251,
-0.014223698526620865,
0.05673396214842796,
-0.005136614665389061,
0.03773552179336548,
0.024145105853676796,
-0.030819689854979515,
0.03717260807752609,
-0.00864981859922409,
-0.0590258352458477,
-0.02699989825487137,
-0.013922136276960373,
0.06381063163280487,
0.02515031397342682,
0.009453984908759594,
-0.044470418244600296,
0.008433698676526546,
-0.04241979494690895,
0.022818230092525482,
-0.004101250320672989,
0.02695968933403492,
0.05307500436902046,
0.03393583372235298,
0.01308781374245882,
-0.02993510663509369,
0.0589454211294651,
-0.06859542429447174,
0.027522604912519455,
-0.04688291996717453,
0.03650916740298271,
-0.03248833492398262,
0.024929167702794075,
0.0016548243584111333,
-0.02915104292333126,
0.00046962080523371696,
-0.03582562878727913,
-0.030819689854979515,
0.012967187911272049,
0.036388542503118515,
0.0034101693890988827,
-0.010675312951207161,
0.04985833540558815,
0.009051901288330555,
0.05391937866806984,
-0.014444844797253609,
0.017480574548244476,
-0.01991317793726921,
0.09264000505208969,
-0.025974584743380547,
0.02886958420276642,
0.04603854566812515,
0.01443479210138321,
0.031523335725069046,
-0.03624781593680382,
-0.011881562881171703,
-0.06356938183307648,
0.0017691667890176177,
0.05637208744883537,
0.016756823286414146,
-0.05420083552598953,
0.022014064714312553,
-0.002038059988990426,
0.018194271251559258,
0.004674219060689211,
0.01885771006345749,
0.0847591683268547,
0.09183584153652191,
-0.023039376363158226,
-0.020033802837133408,
-0.0071771880611777306,
0.024808542802929878,
0.0627250000834465,
-0.008926250971853733,
-0.05645250156521797,
-0.012414324097335339,
-0.030799584463238716,
0.022014064714312553,
0.03944437578320503,
-0.017882658168673515,
0.026778751984238625,
0.006956042256206274,
-0.024627605453133583,
-0.03990677371621132,
-0.012454532086849213,
0.020204689353704453,
0.037494271993637085,
0.06610250473022461,
-0.016063230112195015,
-0.0846787542104721,
-0.029653647914528847,
-0.0011138966074213386,
-0.0101475790143013,
0.05062229558825493,
0.009660053066909313,
-0.04322396218776703,
0.044832292944192886,
-0.04825000464916229,
0.06803250312805176,
-0.04949646070599556,
-0.01805354282259941,
-0.01988302171230316,
0.003427760675549507,
-0.006222240161150694,
0.00644338596612215,
-0.013359219767153263,
0.029673751443624496,
0.030920209363102913,
-0.02726125158369541,
-0.0027291406877338886,
-0.030417606234550476,
0.042982712388038635,
-0.02547197975218296,
0.06557979434728622,
-0.024567293003201485,
-0.035624586045742035,
-0.022375939413905144,
0.019772449508309364,
-0.03216666728258133,
0.0035634636878967285,
-0.004787304904311895,
0.008810651488602161,
-0.023139897733926773,
-0.03735354542732239,
0.057095836848020554,
0.019832761958241463,
0.04093208536505699,
0.009157448075711727,
-0.0075139328837394714,
-0.07643604278564453,
0.07265646010637283,
0.06115688011050224,
-0.08789542317390442,
-0.001073688268661499,
0.03132229298353195,
0.03214656561613083,
0.01234395895153284,
0.014957500621676445,
-0.014967553317546844,
0.020074011757969856,
0.012364063411951065,
0.11202042549848557,
-0.04829021170735359,
-0.001880996162071824,
-0.060352712869644165,
-0.01812390796840191,
-0.0101475790143013,
0.029673751443624496,
-0.018616460263729095,
-0.006729870103299618,
0.020787710323929787,
-0.023079585283994675,
-0.036730315536260605,
-0.009006666950881481,
0.00245145196095109,
-0.0051114847883582115,
-0.0046013412065804005,
-0.02110937610268593,
0.04310333728790283,
-0.0009109700913541019,
-0.03401625156402588,
0.008805625140666962,
-0.002714062575250864,
0.06718812882900238,
-0.004073606804013252,
-0.11483500897884369,
0.0054884376004338264,
-0.020968647673726082,
0.0406908355653286,
0.027140626683831215,
-0.027944793924689293,
0.0075139328837394714,
-0.019289949908852577,
0.0016020508483052254,
-0.022757917642593384,
0.04217854514718056,
0.010062135756015778,
0.06208166852593422,
0.06127750501036644,
0.02032531425356865,
0.04917479306459427,
0.008222605101764202,
0.05641229450702667,
0.03482041880488396,
-0.06236312910914421,
-0.010162657126784325,
-0.024165209382772446,
-0.011177917011082172,
-0.03463948145508766,
-0.008755365386605263,
-0.023481668904423714,
0.0015052995877340436,
-0.013530105352401733,
0.019370365887880325,
0.08668917417526245,
0.04101250320672989,
-0.031101148575544357,
0.048933543264865875,
-0.03904229402542114,
0.008177369832992554,
-0.04495291784405708,
0.036830835044384,
-0.07217396050691605,
0.007343047298491001,
-0.02139083482325077,
-0.060392919927835464,
-0.014354376122355461,
0.012273594737052917,
-0.04479208588600159,
-0.05142646282911301,
-0.029653647914528847,
-0.010816042311489582,
-0.02621583454310894,
-0.04499312862753868,
0.015500313602387905,
0.07120896130800247,
0.0033322658855468035,
-0.04728500172495842,
0.005754818208515644,
0.037132397294044495,
0.004317370243370533,
-0.00480238301679492,
-0.03725302219390869,
0.002012929879128933,
-0.0667056292295456,
0.025874063372612,
0.058503128588199615,
-0.025250835344195366,
-0.016837241128087044,
0.07189250737428665,
0.012112760916352272,
-0.0036941408179700375,
0.02959333546459675,
0.004990859888494015,
-0.02217489667236805,
0.036026667803525925,
0.04756646230816841,
-0.0009254199685528874,
0.03986656665802002,
0.041173335164785385,
-0.019109010696411133,
0.03242802247405052,
-0.0203454177826643,
-0.04720458760857582,
0.045234378427267075,
0.014806719496846199,
-0.026457084342837334,
-0.004262083675712347,
-0.004427942913025618,
-0.0010944206733256578,
-0.005885495338588953,
0.03626791760325432,
-0.045917920768260956,
0.024667814373970032,
-0.025230729952454567,
0.03831854462623596,
0.0517079196870327,
-0.0034528907854110003,
0.07591333985328674,
-0.03815770894289017,
-0.011992136016488075,
0.021591875702142715,
0.014324219897389412,
0.002849765820428729,
-0.01775198057293892,
0.043706461787223816,
-0.008217578753829002,
0.058824796229600906,
0.006091563031077385,
-0.028346877545118332,
-0.055527713149785995,
0.0053175524808466434,
0.033393021672964096,
-0.006217213813215494,
0.0016234115464612842,
0.043425001204013824,
0.011750886216759682,
0.032669272273778915,
-0.04362604394555092,
-0.0553668774664402,
-0.008891068398952484,
-0.08073833584785461,
0.016354739665985107,
-0.011097501032054424,
0.013881928287446499,
-0.0073480731807649136,
-0.03433791920542717,
-0.055527713149785995,
-0.03890156373381615,
0.049295417964458466,
-0.061036255210638046,
0.03461937606334686,
0.041133128106594086,
-0.008946354500949383,
-0.02911083586513996,
-0.044430211186409,
0.005980989895761013,
0.023180104792118073,
0.0009731673635542393,
0.0332925021648407,
0.06807271391153336,
-0.0012370345648378134,
0.018656667321920395,
-0.028648439794778824,
0.014565469697117805,
0.02370281331241131,
-0.003578541800379753,
-0.01011742278933525,
0.0018483268795534968,
0.001257138792425394,
-0.04314354434609413,
-0.025652918964624405,
0.003525768406689167,
0.03445854410529137
]
|
37,174 | ipinfo.handler | getBatchDetailsIter | null | def getBatchDetailsIter(
self,
ip_addresses,
batch_size=None,
raise_on_fail=True,
):
if batch_size is None:
batch_size = BATCH_MAX_SIZE
result = {}
lookup_addresses = []
for ip_address in ip_addresses:
if isinstance(ip_address, IPv4Address) or isinstance(
ip_address, IPv6Address
):
ip_address = ip_address.exploded
if ip_address and is_bogon(ip_address):
details = {}
details["ip"] = ip_address
details["bogon"] = True
yield Details(details)
else:
try:
cached_ipaddr = self.cache[cache_key(ip_address)]
result[ip_address] = cached_ipaddr
except KeyError:
lookup_addresses.append(ip_address)
# all in cache - exit early.
if len(lookup_addresses) == 0:
raise StopIteration(result.items())
url = API_URL + "/batch"
headers = handler_utils.get_headers(self.access_token, self.headers)
headers["content-type"] = "application/json"
for i in range(0, len(lookup_addresses), batch_size):
batch = lookup_addresses[i : i + batch_size]
try:
response = requests.post(url, json=batch, headers=headers)
except Exception as e:
raise e
try:
if response.status_code == 429:
raise RequestQuotaExceededError()
response.raise_for_status()
except Exception as e:
return handler_utils.return_or_fail(raise_on_fail, e)
details = response.json()
# format & cache
handler_utils.format_details(
details,
self.countries,
self.eu_countries,
self.countries_flags,
self.countries_currencies,
self.continents,
)
for ip in batch:
detail = details.get(ip)
self.cache[cache_key(ip)] = detail
yield detail
| (self, ip_addresses, batch_size=None, raise_on_fail=True) | [
0.012481293641030788,
-0.044735122472047806,
-0.10860370844602585,
-0.015144098550081253,
-0.08373795449733734,
-0.024672098457813263,
-0.06545659154653549,
-0.05302371084690094,
0.021283073350787163,
-0.03472297638654709,
-0.029862146824598312,
0.022580586373806,
-0.016335098072886467,
-0.0018409665208309889,
0.014301683753728867,
0.04589707404375076,
0.028893854469060898,
-0.016373829916119576,
0.0125297075137496,
-0.010844878852367401,
0.02027604915201664,
0.046632979065179825,
-0.023297123610973358,
-0.008337000384926796,
0.02352951280772686,
0.02858400158584118,
0.052907515317201614,
-0.013255927711725235,
0.07103395462036133,
0.04628439247608185,
0.03084980696439743,
-0.04237249121069908,
-0.04547102749347687,
0.045044977217912674,
-0.014166122302412987,
-0.014960122294723988,
-0.02095385454595089,
0.03230224549770355,
-0.010418829508125782,
0.03596239164471626,
-0.004287116229534149,
-0.006913610268384218,
0.020334146916866302,
0.007426805328577757,
0.0002596234844531864,
0.012829878367483616,
-0.025853415951132774,
-0.013623878359794617,
-0.02203834243118763,
-0.017826268449425697,
-0.013352756388485432,
-0.02254185453057289,
0.008065878413617611,
0.03553634136915207,
0.0388285368680954,
-0.03359975665807724,
-0.00741712236776948,
-0.003251042915508151,
0.030656147748231888,
0.0027717379853129387,
-0.0465167835354805,
-0.07726976275444031,
0.05406946688890457,
0.001424600719474256,
-0.022057708352804184,
-0.00817723199725151,
-0.07626273483037949,
-0.061079904437065125,
-0.021922146901488304,
0.004095878452062607,
0.07308673858642578,
0.014563122764229774,
-0.04272107407450676,
-0.0028419392183423042,
-0.01707100123167038,
0.05000263452529907,
-0.017681024968624115,
0.017632611095905304,
0.047678735107183456,
-0.059685561805963516,
-0.011803488247096539,
0.046594247221946716,
0.007116951514035463,
-0.056974343955516815,
0.01914314739406109,
-0.035342685878276825,
0.046942830085754395,
0.00458244513720274,
0.024827025830745697,
0.03447122126817703,
-0.03129522129893303,
0.0015032744267955422,
-0.00201525934971869,
-0.015434586443006992,
-0.005020597949624062,
0.0028734086081385612,
-0.024497805163264275,
-0.011648561805486679,
-0.01215207390487194,
0.0073009273037314415,
0.017129098996520042,
-0.07963239401578903,
0.05383707582950592,
-0.020159853622317314,
0.007436488289386034,
-0.062396783381700516,
0.006279378198087215,
-0.012868610210716724,
0.014679317362606525,
-0.004187866114079952,
-0.06138975918292999,
0.030598049983382225,
-0.031411416828632355,
-0.03212795406579971,
0.015637926757335663,
0.024187952280044556,
0.09342088550329208,
0.012384464032948017,
-0.05031248927116394,
-0.03495536744594574,
0.019704757258296013,
-0.044773854315280914,
-0.02159292809665203,
0.04206263646483421,
-0.016635268926620483,
0.033580392599105835,
0.010564073920249939,
0.021573562175035477,
0.029048781841993332,
-0.06394605338573456,
-0.04128800332546234,
0.01135807391256094,
0.011532366275787354,
0.011600147001445293,
0.04481258615851402,
-0.022929171100258827,
-0.029416732490062714,
-0.0017707652878016233,
-0.04279853776097298,
0.0012164177605882287,
-0.011910000815987587,
0.002366265282034874,
0.01122251246124506,
-0.011270927265286446,
-0.0012587805977091193,
-0.08149151504039764,
0.0056838784366846085,
-0.012820195406675339,
0.014427561312913895,
-0.037279270589351654,
-0.020605269819498062,
0.028777658939361572,
0.01045756135135889,
0.031953658908605576,
-0.04206263646483421,
0.019627293571829796,
-0.01585095189511776,
0.03842185437679291,
0.013023537583649158,
-0.0284484401345253,
-0.007809280883520842,
0.0446963906288147,
0.012210171669721603,
-0.01747768372297287,
-0.03148888051509857,
0.0031808416824787855,
-0.07207971066236496,
0.0017259818268939853,
0.013575463555753231,
-0.013953098095953465,
-0.0008218384464271367,
-0.012636220082640648,
0.039273951202631,
-0.01447597611695528,
-0.026899171993136406,
0.08482244610786438,
0.044192880392074585,
-0.02186404913663864,
0.02668614685535431,
0.03720180690288544,
-0.0329606831073761,
0.002290012314915657,
0.010322000831365585,
0.0347617082297802,
-0.013420537114143372,
0.0280030257999897,
0.03555570915341377,
-0.0033357683569192886,
0.044231612235307693,
0.030268831178545952,
-0.0005818834179081023,
0.02858400158584118,
0.041171807795763016,
0.009963732212781906,
-0.017400220036506653,
-0.02014048956334591,
-0.02163165993988514,
-0.00048142304876819253,
0.036698292940855026,
0.04756253957748413,
-0.09295610338449478,
0.03481980785727501,
-0.015037585981190205,
-0.020624635741114616,
-0.01978222094476223,
0.04760127142071724,
-0.004166079219430685,
-0.05852361395955086,
-0.03892536833882332,
0.0469815619289875,
-0.0201017577201128,
0.005698402877897024,
-0.021573562175035477,
0.05627717450261116,
0.029378000646829605,
0.0250594150274992,
-0.009944366291165352,
0.028390342369675636,
0.021980244666337967,
-0.012432878836989403,
0.040126051753759384,
-0.11449093371629715,
-0.04578087851405144,
-0.03720180690288544,
0.050467416644096375,
0.051513172686100006,
-0.005330451298505068,
0.01878487877547741,
-0.0041733416728675365,
-0.02610517106950283,
-0.0020757776219397783,
0.017080683261156082,
0.058097563683986664,
0.01829104870557785,
0.05267512425780296,
-0.07142127305269241,
-0.040397170931100845,
-0.019249659031629562,
0.07459726929664612,
0.014756781049072742,
0.015299024991691113,
0.0035657379776239395,
0.009784597903490067,
-0.08071687817573547,
-0.06692839413881302,
-0.060537662357091904,
-0.07103395462036133,
0.037143707275390625,
0.021883415058255196,
-0.03400643914937973,
0.003599628107622266,
0.0069620246067643166,
0.011948732659220695,
-0.021883415058255196,
0.02868083119392395,
-0.03102409839630127,
-0.010786781087517738,
-0.05619971081614494,
0.06100244075059891,
-0.03880917280912399,
0.009048695676028728,
0.029920244589447975,
-0.01630605012178421,
0.029203709214925766,
-0.025853415951132774,
0.05577366054058075,
0.009092268534004688,
-0.021573562175035477,
0.017400220036506653,
0.045044977217912674,
0.02966848947107792,
0.09613209962844849,
-0.011600147001445293,
-0.038228195160627365,
-0.027848098427057266,
0.04489004984498024,
-0.0012327576987445354,
-0.008995439857244492,
-0.08459005504846573,
-0.060537662357091904,
0.03811200335621834,
0.008041671477258205,
-0.01562824472784996,
-0.04860829561948776,
0.030365660786628723,
-0.045006245374679565,
0.007339658681303263,
0.09101951867341995,
0.0019680550321936607,
-0.007736658677458763,
0.002510298974812031,
0.024226684123277664,
-0.009029329754412174,
-0.04860829561948776,
-0.05619971081614494,
-0.03332863375544548,
0.004253225866705179,
-0.03230224549770355,
-0.04628439247608185,
-0.03135331720113754,
-0.04733014851808548,
-0.0201017577201128,
0.031217757612466812,
0.004347634501755238,
-0.00600825622677803,
0.05763278156518936,
0.06382985413074493,
-0.018232952803373337,
-0.02478829398751259,
0.05341102555394173,
0.017051635310053825,
-0.004829360172152519,
0.0010941707296296954,
-0.06309395283460617,
0.017371172085404396,
-0.054534245282411575,
0.005403073504567146,
0.03685322031378746,
-0.012200488708913326,
0.038053903728723526,
-0.04314712435007095,
0.055308882147073746,
0.03817009925842285,
-0.036833856254816055,
-0.01183253712952137,
0.013420537114143372,
0.028913220390677452,
0.053992003202438354,
-0.03305751457810402,
0.002176237991079688,
0.010380097664892673,
-0.07351278513669968,
-0.00126725307200104,
0.038460586220026016,
0.05763278156518936,
0.035652536898851395,
0.021786585450172424,
0.030733611434698105,
0.04791112244129181,
-0.03007517196238041,
0.007848012261092663,
-0.0053449757397174835,
-0.010079926811158657,
0.00618739053606987,
-0.02759634330868721,
-0.011145049706101418,
0.014872976578772068,
-0.00835636630654335,
-0.011503317393362522,
0.04086195304989815,
-0.006792573258280754,
-0.006124451290816069,
0.06386858969926834,
0.059453174471855164,
0.0429147332906723,
-0.047213952988386154,
-0.026298830285668373,
-0.06483688205480576,
0.031372684985399246,
0.03830565884709358,
-0.0609637089073658,
-0.04752380773425102,
0.005863012280315161,
0.02655058726668358,
0.022909805178642273,
-0.02081829309463501,
-0.008995439857244492,
-0.024555902928113937,
0.007741500157862902,
-0.02186404913663864,
-0.0537596121430397,
0.019269024953246117,
-0.008119134232401848,
0.015589512884616852,
0.014843927696347237,
-0.05488283187150955,
-0.021438000723719597,
0.03325117379426956,
-0.062164392322301865,
0.12727239727973938,
0.014940756373107433,
-0.01074804924428463,
0.04407668486237526,
0.016741780564188957,
0.06495307385921478,
-0.06065385788679123,
0.052868783473968506,
0.0056838784366846085,
-0.022096440196037292,
0.0164900254458189,
0.022425659000873566,
0.0059211100451648235,
-0.03328990563750267,
-0.0005507164751179516,
-0.03034629486501217,
-0.03784088045358658,
0.006477878428995609,
0.0029387683607637882,
-0.009528000839054585,
-0.03937078267335892,
-0.029416732490062714,
0.020624635741114616,
0.0077995979227125645,
0.05569619685411453,
-0.004599390551447868,
-0.0826534703373909,
-0.020702097564935684,
-0.041481658816337585,
0.010331683792173862,
0.01707100123167038,
0.02953292801976204,
-0.04035843908786774,
0.046129465103149414,
-0.027344586327672005,
-0.02542736753821373,
0.04547102749347687,
-0.039002832025289536,
0.0442703440785408,
-0.025853415951132774,
0.016683682799339294,
0.09380819648504257,
0.0021471891086548567,
0.0012829878833144903,
-0.01810707338154316,
-0.047213952988386154,
-0.036427173763513565,
-0.00788190308958292,
-0.04233375936746597,
-0.00730576878413558,
-0.03174063563346863,
-0.0532948300242424,
-0.030055806040763855,
-0.011038537137210369,
0.0037206648848950863,
0.053953271359205246,
0.00669574411585927,
-0.02376190386712551,
0.008065878413617611,
0.034897271543741226,
-0.009934683330357075,
0.03201175853610039,
0.057555317878723145,
0.010786781087517738,
-0.026434391736984253,
0.02864209935069084,
-0.014659951440989971,
-0.02027604915201664,
-0.005349817220121622,
0.07742468267679214,
-0.010854561813175678,
0.026724878698587418,
-0.050428684800863266,
0.06874878704547882,
-0.01530870795249939,
0.03664019703865051,
0.001822811085730791,
0.017061317339539528,
0.03214731812477112,
0.0023807897232472897,
0.035749368369579315,
0.045277368277311325,
-0.05066107586026192,
-0.00035282166209071875,
-0.030946634709835052,
-0.018097391352057457,
-0.03481980785727501,
-0.01697417162358761,
0.08397034555673599,
0.025543561205267906,
-0.0012291265884414315,
-0.022658050060272217,
-0.0012261007213965058,
-0.024555902928113937,
0.03634971007704735,
0.009252036921679974,
0.013149415142834187,
0.056393370032310486,
0.06270663440227509,
0.02356824465095997,
-0.026705512776970863,
0.061622150242328644,
-0.05166810005903244,
0.018271684646606445,
-0.03689195215702057,
0.03261210024356842,
-0.03844122216105461,
0.03865424543619156,
-0.0057468172162771225,
-0.022832343354821205,
0.020663367584347725,
-0.010099292732775211,
-0.05902712419629097,
0.002211338607594371,
0.03359975665807724,
0.044735122472047806,
-0.019036635756492615,
0.05333356186747551,
0.002373527502641082,
0.060537662357091904,
-0.04438653960824013,
0.023103464394807816,
-0.007683402858674526,
0.10806147009134293,
-0.054534245282411575,
0.026744244620203972,
0.07606907933950424,
0.004587286617606878,
0.013798171654343605,
-0.02027604915201664,
-0.019085049629211426,
-0.04167531803250313,
0.0005573735106736422,
0.016383513808250427,
0.018707415089011192,
-0.02695726975798607,
-0.025988977402448654,
0.011755073443055153,
0.005059329327195883,
-0.015841269865632057,
0.0187364649027586,
0.07084029912948608,
0.058639805763959885,
-0.04233375936746597,
-0.0028540429193526506,
-0.0010209436295554042,
0.008119134232401848,
0.04760127142071724,
0.0065940734930336475,
-0.014388829469680786,
-0.017622927203774452,
-0.013623878359794617,
0.04055209830403328,
0.08141405135393143,
-0.03284448757767677,
0.02624073252081871,
-0.029862146824598312,
0.01269431784749031,
-0.03319307416677475,
-0.02389746531844139,
0.0334254652261734,
0.0410943441092968,
0.03784088045358658,
-0.05496029555797577,
-0.07161492854356766,
-0.04314712435007095,
0.00939728133380413,
-0.014466293156147003,
0.01766165904700756,
-0.0029508720617741346,
-0.060770049691200256,
0.03526522219181061,
-0.008961549028754234,
0.03571063652634621,
-0.024594634771347046,
-0.015289342030882835,
-0.01846534200012684,
-0.007891586050391197,
-0.002619231818243861,
-0.015347439795732498,
0.008772731758654118,
0.015909049659967422,
0.02935863472521305,
-0.05569619685411453,
-0.005548317451030016,
0.00017943674174603075,
0.06441083550453186,
-0.0259696114808321,
0.0555412694811821,
-0.0016097866464406252,
0.000410314038163051,
-0.0169354397803545,
0.0015674238093197346,
-0.008027146570384502,
0.03156634420156479,
-0.004463829565793276,
0.006913610268384218,
-0.0329800508916378,
-0.042604878544807434,
0.06247424706816673,
-0.011929366737604141,
0.03224414959549904,
0.02407175675034523,
0.028603367507457733,
-0.0632101520895958,
0.07010439038276672,
0.021573562175035477,
-0.11325151473283768,
0.017177512869238853,
0.03367722034454346,
0.02498195320367813,
0.027383318170905113,
-0.007465536706149578,
-0.04353444278240204,
-0.02868083119392395,
-0.018910756334662437,
0.06534039229154587,
-0.030791709199547768,
-0.028525903820991516,
-0.10302634537220001,
0.0032123110722750425,
-0.028874488547444344,
0.052868783473968506,
0.0077318171970546246,
0.027848098427057266,
0.01864931732416153,
-0.0514744408428669,
-0.053217366337776184,
-0.0055531589314341545,
0.0016896708402782679,
0.015163464471697807,
-0.0014379146741703153,
0.0250594150274992,
0.06561151146888733,
-0.030094537883996964,
-0.03962253779172897,
-0.009131000377237797,
-0.008487085811793804,
0.08846322447061539,
-0.013759439811110497,
-0.11356136947870255,
0.005049646366387606,
-0.04895687848329544,
0.014272634871304035,
0.049073074012994766,
-0.033483561128377914,
0.004057146608829498,
0.009542524814605713,
-0.013517366722226143,
-0.015066634863615036,
0.02809985540807247,
-0.01081582996994257,
0.014892342500388622,
0.03179873153567314,
-0.0022307042963802814,
0.05120331794023514,
-0.014824561774730682,
0.06262917071580887,
0.040707025676965714,
-0.07165366411209106,
-0.01838787831366062,
-0.01951109804213047,
0.005698402877897024,
-0.0298040509223938,
-0.010418829508125782,
-0.03150824457406998,
0.01724529266357422,
0.0013035640586167574,
0.015541098080575466,
0.05953063815832138,
0.036194782704114914,
0.0065940734930336475,
0.04655551537871361,
-0.030191367492079735,
-0.0031711587216705084,
-0.03327053785324097,
0.03784088045358658,
-0.0754493698477745,
0.02918434329330921,
-0.01643192768096924,
-0.05468917265534401,
-0.0009592149872332811,
-0.0006814359803684056,
-0.03084980696439743,
-0.02993961051106453,
-0.028564635664224625,
-0.00003771046249312349,
-0.03203112259507179,
-0.018688049167394638,
-0.00851129274815321,
0.022832343354821205,
0.007054012734442949,
-0.008448353968560696,
-0.013943415135145187,
0.02285170741379261,
0.019908098503947258,
-0.021670391783118248,
-0.07169239223003387,
0.00015220351633615792,
-0.060808781534433365,
0.020973220467567444,
0.008307951502501965,
-0.00273300614207983,
-0.005906585603952408,
0.04523863643407822,
-0.006574707571417093,
-0.05085473507642746,
0.024865757673978806,
0.018726781010627747,
0.009973415173590183,
0.03834439069032669,
0.036872588098049164,
-0.023916831240057945,
0.04272107407450676,
0.018320098519325256,
-0.02687980607151985,
0.02443970926105976,
-0.005751658696681261,
-0.05135824531316757,
0.03766658529639244,
0.01932712271809578,
-0.02813858725130558,
0.000949532026425004,
0.010660902597010136,
0.021747855469584465,
0.008128817193210125,
0.023916831240057945,
-0.058329954743385315,
0.02325839176774025,
0.009247195906937122,
0.034161366522312164,
0.04775619879364967,
-0.004502560943365097,
0.01620922051370144,
-0.053178638219833374,
-0.024362245574593544,
0.022522488608956337,
0.005001232028007507,
0.017632611095905304,
-0.02081829309463501,
0.04024224728345871,
0.012277951464056969,
0.062435515224933624,
-0.006168024614453316,
-0.008545183576643467,
-0.06708332151174545,
0.0009319817763753235,
0.01892044022679329,
0.029707221314311028,
0.0042725917883217335,
0.04078448936343193,
0.010912658646702766,
0.00846771989017725,
-0.06375239044427872,
-0.03906092792749405,
-0.03817009925842285,
-0.06805161386728287,
-0.012365098111331463,
0.0020527804736047983,
0.0005667538498528302,
-0.024904489517211914,
-0.0275576114654541,
-0.021302439272403717,
-0.041481658816337585,
0.051009662449359894,
-0.08931531757116318,
0.04016478359699249,
0.053449757397174835,
-0.005838805343955755,
-0.0446963906288147,
-0.05244273319840431,
0.009227829985320568,
0.017671342939138412,
0.01951109804213047,
0.007818963378667831,
0.08730126917362213,
-0.003028335515409708,
0.033812783658504486,
-0.047446344047784805,
-0.016945121809840202,
0.007596256211400032,
0.01784563437104225,
0.0011298765894025564,
0.0021859207190573215,
-0.02312283031642437,
-0.01801992766559124,
-0.015366805717349052,
0.012326366268098354,
0.042295027524232864
]
|
37,175 | ipinfo.handler | getDetails |
Get details for specified IP address as a Details object.
If `timeout` is not `None`, it will override the client-level timeout
just for this operation.
| def getDetails(self, ip_address=None, timeout=None):
"""
Get details for specified IP address as a Details object.
If `timeout` is not `None`, it will override the client-level timeout
just for this operation.
"""
# If the supplied IP address uses the objects defined in the built-in
# module ipaddress extract the appropriate string notation before
# formatting the URL.
if isinstance(ip_address, IPv4Address) or isinstance(
ip_address, IPv6Address
):
ip_address = ip_address.exploded
# check if bogon.
if ip_address and is_bogon(ip_address):
details = {}
details["ip"] = ip_address
details["bogon"] = True
return Details(details)
# check cache first.
try:
cached_ipaddr = self.cache[cache_key(ip_address)]
return Details(cached_ipaddr)
except KeyError:
pass
# prepare req http opts
req_opts = {**self.request_options}
if timeout is not None:
req_opts["timeout"] = timeout
# not in cache; do http req
url = API_URL
if ip_address:
url += "/" + ip_address
headers = handler_utils.get_headers(self.access_token, self.headers)
response = requests.get(url, headers=headers, **req_opts)
if response.status_code == 429:
raise RequestQuotaExceededError()
if response.status_code >= 400:
error_response = response.json()
error_code = response.status_code
raise APIError(error_code, error_response)
details = response.json()
# format & cache
handler_utils.format_details(
details,
self.countries,
self.eu_countries,
self.countries_flags,
self.countries_currencies,
self.continents,
)
self.cache[cache_key(ip_address)] = details
return Details(details)
| (self, ip_address=None, timeout=None) | [
0.0076390886679291725,
-0.008430004119873047,
-0.03250470757484436,
-0.00843482743948698,
-0.0027995523996651173,
-0.030035506933927536,
-0.021740537136793137,
-0.038581255823373795,
0.024229029193520546,
-0.08657633513212204,
-0.01642596907913685,
0.0067083160392940044,
-0.0027465031016618013,
-0.06037966534495354,
0.031000038608908653,
0.05532551929354668,
0.01051339227706194,
-0.04228505492210388,
0.0026982766576111317,
-0.06416063010692596,
0.03130868822336197,
-0.015856895595788956,
0.02363101951777935,
-0.005372439976781607,
0.015972640365362167,
0.05956945940852165,
0.020640971139073372,
-0.033353496342897415,
0.05814195051789284,
0.018914461135864258,
0.016310226172208786,
-0.02503923512995243,
-0.055904239416122437,
0.0770081877708435,
-0.020930331200361252,
0.034067247062921524,
0.00899907760322094,
-0.024441225454211235,
-0.11435484141111374,
0.03275548666715622,
-0.05509403347969055,
-0.028627291321754456,
-0.04375114291906357,
-0.004690033849328756,
0.023418821394443512,
-0.013850671239197254,
-0.015557891689240932,
-0.010320485569536686,
0.012760750018060207,
-0.04760926961898804,
0.00007678574183955789,
0.017901701852679253,
0.0005992151563987136,
-0.002674163319170475,
0.011005302891135216,
-0.030903585255146027,
-0.04066464304924011,
0.044252701103687286,
0.02056380920112133,
0.02853083796799183,
-0.050309956073760986,
0.01403393130749464,
0.015654344111680984,
-0.016233064234256744,
-0.0175737626850605,
0.02052522823214531,
-0.06408346444368362,
0.011911963112652302,
0.02147046849131584,
-0.020872458815574646,
0.09622164815664291,
0.002840545028448105,
-0.006394843105226755,
0.0021918974816799164,
0.03507035970687866,
-0.030324866995215416,
-0.06720855087041855,
-0.0456802062690258,
-0.0040052165277302265,
-0.018355032429099083,
-0.026235254481434822,
-0.004229470156133175,
0.032022442668676376,
-0.036710064858198166,
0.01973431184887886,
-0.027064749971032143,
0.01953176036477089,
-0.027084041386842728,
0.021836990490555763,
0.02276294119656086,
-0.046991970390081406,
-0.020081544294953346,
-0.06940767914056778,
0.0376553051173687,
-0.020679553970694542,
-0.028511548414826393,
0.015654344111680984,
-0.02604234777390957,
0.0044633690267801285,
0.0045188297517597675,
-0.005324213299900293,
-0.022608615458011627,
-0.03393221274018288,
0.007325615733861923,
0.06153710186481476,
-0.028839489445090294,
0.03453022241592407,
0.018711909651756287,
0.044214118272066116,
-0.011140337213873863,
-0.015461438335478306,
-0.04232363775372505,
-0.04556446149945259,
-0.029861891642212868,
0.014265418983995914,
0.06473934650421143,
0.013734927400946617,
0.009216097183525562,
-0.04159059375524521,
-0.010908850468695164,
-0.0022979960776865482,
-0.04649041220545769,
-0.003703800495713949,
-0.04093471169471741,
0.01874084584414959,
0.01343592256307602,
-0.06103554740548134,
-0.01275110524147749,
0.009765880182385445,
-0.013705991208553314,
-0.019001267850399017,
-0.02309088222682476,
-0.0180367361754179,
0.0980735495686531,
0.04386688768863678,
0.006553990766406059,
-0.020911039784550667,
0.04321100562810898,
-0.022859394550323486,
0.05150597542524338,
-0.02781708538532257,
0.004774430301040411,
-0.013349114917218685,
-0.049191102385520935,
0.048033662140369415,
-0.060148175805807114,
0.004294576123356819,
-0.06643692404031754,
-0.01778595894575119,
-0.08580471575260162,
0.04903677478432655,
0.02255074307322502,
-0.013869961723685265,
-0.0010151693131774664,
0.013358759693801403,
-0.036420706659555435,
-0.004427199251949787,
-0.017322983592748642,
0.0028984169475734234,
-0.0015721861273050308,
-0.029456788673996925,
0.01642596907913685,
0.020833877846598625,
-0.12515759468078613,
-0.02964969538152218,
-0.020370902493596077,
-0.017978865653276443,
-0.03375859931111336,
0.029013104736804962,
0.03846551105380058,
-0.10231748968362808,
-0.03186811879277229,
-0.06377481669187546,
0.01065807230770588,
-0.008589152246713638,
0.01204699743539095,
0.015480728819966316,
-0.014111094176769257,
-0.0018494889372959733,
-0.00953439250588417,
0.022512162104249,
-0.025598663836717606,
-0.05710025876760483,
0.0466061569750309,
-0.018316451460123062,
0.017091495916247368,
0.06720855087041855,
-0.015307113528251648,
0.005372439976781607,
0.07889866828918457,
0.009775525890290737,
0.025965185835957527,
0.04888245090842247,
-0.03748169168829918,
0.01998509094119072,
-0.05532551929354668,
0.03462667763233185,
0.0012755927164107561,
0.03184882551431656,
0.043558236211538315,
-0.03171379119157791,
0.03827260434627533,
-0.0014998463448137045,
0.030112670734524727,
-0.0061778235249221325,
0.022512162104249,
-0.006539522670209408,
-0.0007993553881533444,
-0.03823402523994446,
0.07315006107091904,
-0.017236176878213882,
0.01969573087990284,
-0.012018061242997646,
0.0186636820435524,
-0.0024764344561845064,
0.05995527282357216,
-0.0266596470028162,
0.034973908215761185,
0.03188740834593773,
0.008753122761845589,
0.032485418021678925,
-0.0922863632440567,
-0.08271821588277817,
-0.019551051780581474,
-0.00934630911797285,
0.0609583854675293,
-0.016242709010839462,
0.034221574664115906,
0.0022642374970018864,
-0.04205356910824776,
0.018268223851919174,
0.012500327080488205,
0.003884650068357587,
-0.0023884207475930452,
0.03888990730047226,
-0.01998509094119072,
-0.010301195085048676,
-0.018335741013288498,
0.05289490148425102,
-0.03748169168829918,
0.04116620123386383,
0.010889559052884579,
0.004451312590390444,
-0.006023498717695475,
-0.05949229747056961,
-0.08171509951353073,
-0.06759435683488846,
0.044754255563020706,
0.015577182173728943,
-0.06983207166194916,
-0.013513084501028061,
0.005849882960319519,
0.011670829728245735,
-0.01687929965555668,
-0.004212590865790844,
-0.06867463886737823,
-0.0057920110411942005,
-0.03146301582455635,
0.031192945316433907,
-0.00749440910294652,
-0.01554824598133564,
-0.019579987972974777,
-0.0023040242958813906,
0.00028257755911909044,
-0.04737778380513191,
0.006529877427965403,
0.004451312590390444,
-0.0064864736050367355,
-0.003684510011225939,
-0.0013334646355360746,
0.038214731961488724,
0.0015962994657456875,
-0.0004255994863342494,
-0.026968298479914665,
-0.025733698159456253,
-0.014911655336618423,
0.014603005722165108,
-0.0015589238610118628,
-0.07666095346212387,
-0.05436098948121071,
-0.029919764026999474,
0.024942781776189804,
0.02575298771262169,
-0.0376553051173687,
-0.053087808191776276,
-0.06589678674936295,
0.010416938923299313,
0.09776490181684494,
0.026389578357338905,
0.03483887389302254,
-0.007166468072682619,
0.007074837572872639,
-0.02550221048295498,
-0.01196018885821104,
-0.03802182897925377,
-0.013117627240717411,
-0.05629005283117294,
0.03894777595996857,
0.003219123464077711,
-0.021123237907886505,
-0.06624401360750198,
0.004159541800618172,
-0.007870576344430447,
-0.012509971857070923,
0.02745056338608265,
0.029495369642972946,
0.017351919785141945,
-0.043018098920583725,
-0.003402384463697672,
0.01575079746544361,
0.02910955809056759,
-0.03740452602505684,
0.044792838394641876,
0.011950544081628323,
0.014795911498367786,
0.03321846202015877,
-0.02102678455412388,
0.03958436846733093,
0.034221574664115906,
0.06628260016441345,
-0.03763601556420326,
0.0577947199344635,
0.015827959403395653,
-0.029958344995975494,
0.06620543450117111,
-0.022377127781510353,
0.016059447079896927,
0.04811082407832146,
0.03362356498837471,
0.011584022082388401,
-0.03167521208524704,
-0.02943749725818634,
-0.009216097183525562,
-0.01363847404718399,
-0.002170195570215583,
0.007831994444131851,
-0.013416632078588009,
-0.010783460922539234,
-0.012114514596760273,
0.019927218556404114,
0.03236967325210571,
-0.03589985892176628,
-0.038793452084064484,
0.04834231361746788,
-0.015451792627573013,
-0.046876225620508194,
0.07561925798654556,
-0.008700072765350342,
0.015471083112061024,
-0.035301849246025085,
-0.06597394496202469,
-0.067015640437603,
0.06362049281597137,
0.10409222543239594,
0.04514006897807121,
-0.027431271970272064,
0.002000197069719434,
-0.06335042417049408,
-0.015770088881254196,
0.013156208209693432,
-0.02853083796799183,
-0.02716120332479477,
-0.018933750689029694,
0.03163662925362587,
-0.008463762700557709,
-0.004622516687959433,
0.07195404171943665,
-0.0061054835096001625,
0.030903585255146027,
-0.03954578563570976,
-0.08889121562242508,
-0.0383111871778965,
0.019512470811605453,
0.01175763737410307,
0.025135688483715057,
-0.051081582903862,
-0.031655918806791306,
-0.012075932696461678,
-0.06940767914056778,
0.08055765926837921,
0.02766275964677334,
0.014265418983995914,
-0.02781708538532257,
0.0036097588017582893,
0.06439211219549179,
-0.04220789298415184,
0.005112016573548317,
0.034645967185497284,
-0.002640404738485813,
-0.008184049278497696,
-0.032022442668676376,
-0.0003357774985488504,
-0.0456802062690258,
0.018567228689789772,
-0.021451178938150406,
0.00899907760322094,
0.005001095123589039,
0.03931429982185364,
-0.03240825608372688,
-0.0017445961711928248,
0.005324213299900293,
0.011178919114172459,
0.011719056405127048,
0.020505936816334724,
-0.026968298479914665,
-0.014496906660497189,
0.02810644544661045,
-0.046374671161174774,
0.02384321577847004,
-0.04614318162202835,
-0.007783768232911825,
-0.050772931426763535,
0.03474242240190506,
-0.016319870948791504,
-0.02893594093620777,
0.05625146999955177,
-0.032446835190057755,
0.053589362651109695,
-0.00536761712282896,
-0.0010935374302789569,
0.0810977965593338,
-0.023418821394443512,
-0.041976407170295715,
-0.004581524059176445,
-0.033353496342897415,
-0.0021906918846070766,
-0.01383137982338667,
0.0075860396027565,
-0.005632863380014896,
-0.0052132923156023026,
0.017400145530700684,
0.040780387818813324,
-0.020756715908646584,
-0.018856588751077652,
0.05887499451637268,
0.039333589375019073,
0.0030575646087527275,
-0.004123371560126543,
0.05204611271619797,
0.007846462540328503,
0.0031082024797797203,
0.029591822996735573,
-0.01453548762947321,
0.02388179674744606,
-0.0005232582916505635,
-0.00035928795114159584,
-0.0405488982796669,
-0.01084133330732584,
0.04556446149945259,
-0.05725458264350891,
0.00016291538486257195,
-0.025097107514739037,
0.07450040429830551,
0.00536761712282896,
-0.022068478167057037,
-0.030324866995215416,
-0.025965185835957527,
0.031192945316433907,
0.000220937974518165,
0.02500065416097641,
0.004419965203851461,
-0.01791134849190712,
0.0434424951672554,
-0.037751760333776474,
0.001006729668006301,
0.04872812703251839,
0.018769780173897743,
0.04286377504467964,
-0.030672097578644753,
0.025019943714141846,
-0.01898197829723358,
-0.014390808530151844,
-0.054669640958309174,
-0.00017647910863161087,
0.03441448137164116,
0.008700072765350342,
0.0063707297667860985,
0.055248357355594635,
0.021817700937390327,
-0.043056681752204895,
0.06049541011452675,
0.005266341380774975,
0.018856588751077652,
-0.028472967445850372,
0.03362356498837471,
-0.026775391772389412,
0.0038195443339645863,
0.025984475389122963,
-0.014371518045663834,
-0.04336533322930336,
-0.04764785245060921,
0.018383968621492386,
-0.033237751573324203,
0.03458809480071068,
0.009322196245193481,
0.033314913511276245,
0.003973869141191244,
-0.013107981532812119,
0.025965185835957527,
0.005787188187241554,
0.015123852528631687,
-0.04440702497959137,
0.046451833099126816,
0.006047612056136131,
0.02185628190636635,
0.0186636820435524,
-0.07453898340463638,
0.07156822830438614,
0.026601776480674744,
0.0466061569750309,
-0.009158225730061531,
0.017072206363081932,
0.055865656584501266,
0.025714406743645668,
-0.03319916874170303,
0.04556446149945259,
-0.056984513998031616,
0.021219691261649132,
0.004620105493813753,
-0.014294355176389217,
0.053087808191776276,
0.0820237472653389,
0.03150159493088722,
-0.00988644640892744,
0.010706298053264618,
0.0443684458732605,
0.010822041891515255,
-0.004448900930583477,
-0.03759743273258209,
0.012278484180569649,
-0.008309437893331051,
0.009654959663748741,
0.048573799431324005,
0.01107282005250454,
0.02951466105878353,
-0.01563505455851555,
-0.03601560369133949,
-0.05324213206768036,
-0.06416063010692596,
-0.03914068266749382,
0.061344195157289505,
0.026640357449650764,
0.0023594850208610296,
-0.0526634156703949,
-0.042516544461250305,
-0.017969219014048576,
0.007928447797894478,
0.04780217632651329,
-0.009254679083824158,
-0.04926826432347298,
0.04047173634171486,
-0.025309303775429726,
0.09645313769578934,
-0.05652153864502907,
-0.004825068172067404,
-0.002367924666032195,
-0.007296680007129908,
-0.02135472558438778,
0.020583100616931915,
-0.03292910009622574,
0.025309303775429726,
-0.005401375703513622,
-0.01140076108276844,
0.010117934085428715,
-0.09791922569274902,
0.0269875880330801,
0.007388310506939888,
0.058026209473609924,
-0.012278484180569649,
-0.05378226935863495,
0.008579506538808346,
-0.00912446714937687,
-0.0069494484923779964,
0.024190448224544525,
-0.04294093698263168,
0.00456946762278676,
0.01646455004811287,
0.006144064944237471,
0.09313514828681946,
0.02048664726316929,
0.022068478167057037,
0.020467355847358704,
0.007074837572872639,
-0.052547670900821686,
0.03312200680375099,
0.005391730461269617,
-0.016561003401875496,
-0.022319257259368896,
0.08634485304355621,
-0.0029080621898174286,
-0.007605330087244511,
-0.048612382262945175,
0.005965626798570156,
0.0008777235634624958,
0.01403393130749464,
0.10702440142631531,
-0.049731239676475525,
-0.002707921899855137,
-0.0024197681341320276,
0.03601560369133949,
0.007021788507699966,
0.04656757414340973,
-0.011825154535472393,
-0.057023096829652786,
-0.014776621013879776,
0.04907535761594772,
-0.07141390442848206,
-0.02814502641558647,
-0.014786265790462494,
-0.04012450575828552,
0.005652153864502907,
-0.02604234777390957,
0.017274757847189903,
-0.007166468072682619,
-0.031655918806791306,
0.013918188400566578,
-0.0456802062690258,
0.04166775569319725,
-0.011188563890755177,
-0.05547984689474106,
0.01608838327229023,
-0.007783768232911825,
0.021952735260128975,
0.04174491763114929,
-0.04656757414340973,
-0.0043138666078448296,
0.04166775569319725,
-0.0252128504216671,
-0.09274934232234955,
0.04162917658686638,
0.03279406577348709,
0.03128939867019653,
0.011159628629684448,
0.04151343181729317,
-0.019213465973734856,
0.008159935474395752,
0.08264105021953583,
0.025116397067904472,
-0.07264850288629532,
0.07457756996154785,
-0.019078431650996208,
0.015268531627953053,
-0.06400630623102188,
0.018181417137384415,
-0.0021050898358225822,
0.0459502749145031,
-0.029746148735284805,
-0.006245340686291456,
0.04448418691754341,
-0.026794681325554848,
-0.02781708538532257,
0.0472620390355587,
0.023225916549563408,
0.03105791099369526,
-0.026428159326314926,
-0.029591822996735573,
-0.02309088222682476,
0.03063351660966873,
-0.027064749971032143,
-0.025386465713381767,
-0.00997325498610735,
-0.0016324693569913507,
-0.013243015855550766,
-0.09977112710475922,
-0.011805864050984383,
-0.02309088222682476,
-0.04984698072075844,
-0.015538600273430347,
0.03759743273258209,
0.036671482026576996,
0.05324213206768036,
-0.011024593375623226,
0.005647331476211548,
0.0768924430012703,
-0.001000098534859717,
0.0007668024627491832,
-0.01650313287973404,
-0.022859394550323486,
-0.05054144561290741,
0.03601560369133949,
0.1066385880112648,
-0.012220612727105618,
0.005444779526442289,
0.02910955809056759,
-0.006510586943477392,
0.017062559723854065,
0.0266596470028162,
0.02658248506486416,
-0.05277915671467781,
0.019676441326737404,
-0.02197202481329441,
-0.08541890233755112,
0.015557891689240932,
0.04733920097351074,
0.0331798791885376,
-0.03817615285515785,
-0.04313384369015694,
-0.018383968621492386,
0.06145993992686272,
0.02023586817085743,
0.01658029481768608,
-0.03300626575946808,
0.012857203371822834,
-0.009751412086188793,
0.0325818695127964,
0.00525669613853097,
-0.030151251703500748,
-0.003351746592670679,
0.008159935474395752,
-0.0003966635267715901,
0.020120125263929367,
0.027585597708821297,
0.07862859964370728,
-0.018769780173897743,
-0.004354859236627817,
0.06882896274328232,
-0.017728086560964584,
0.00913893524557352,
-0.005878818687051535,
0.0584506019949913,
0.0015468671917915344,
0.040780387818813324,
0.019965799525380135,
-0.007778945844620466,
-0.00424152659252286,
0.0792459025979042,
0.0030816777143627405,
-0.01658029481768608,
0.006134419701993465,
0.02185628190636635,
-0.0035591209307312965,
0.024556968361139297,
-0.038581255823373795,
-0.04672190174460411,
-0.04672190174460411,
-0.04255512356758118,
0.004248760640621185,
0.031231526285409927,
0.03424086421728134,
0.027354110032320023,
-0.019088076427578926,
0.011555085889995098,
0.05054144561290741,
0.08248672634363174,
-0.039700113236904144,
-0.0033927392214536667,
0.04205356910824776,
-0.021451178938150406,
0.010928140953183174,
-0.005001095123589039,
0.028665872290730476,
0.02727694809436798,
0.03354640305042267,
0.006785478442907333,
0.025135688483715057,
-0.036671482026576996,
-0.029263881966471672,
0.013947123661637306,
0.06165284663438797,
0.025232141837477684,
-0.012567844241857529,
-0.0020315442234277725,
-0.0035928795114159584,
0.015152787789702415,
-0.05671444535255432,
0.021836990490555763,
-0.022859394550323486,
0.04814940690994263
]
|
37,176 | ipinfo.handler | getMap |
Gets a URL to a map on https://ipinfo.io/map given a list of IPs (max
500,000).
| def getMap(self, ips):
"""
Gets a URL to a map on https://ipinfo.io/map given a list of IPs (max
500,000).
"""
ip_strs = []
for ip in ips:
# if the supplied IP address uses the objects defined in the
# built-in module ipaddress extract the appropriate string notation
# before formatting the URL.
if isinstance(ip, IPv4Address) or isinstance(ip, IPv6Address):
ip = ip.exploded
ip_strs.append(ip)
req_opts = {**self.request_options}
url = f"{API_URL}/map?cli=1"
headers = handler_utils.get_headers(None, self.headers)
headers["content-type"] = "application/json"
response = requests.post(
url, json=ip_strs, headers=headers, **req_opts
)
response.raise_for_status()
return response.json()["reportUrl"]
| (self, ips) | [
0.01436939649283886,
-0.04366631433367729,
-0.043098729103803635,
0.010396291501820087,
-0.08059727400541306,
0.021057456731796265,
-0.036382291465997696,
-0.054374780505895615,
0.011323349550366402,
-0.031690243631601334,
0.008031347766518593,
0.00777593394741416,
0.012430142611265182,
0.0023176446557044983,
0.04903946816921234,
-0.0025210296735167503,
0.0017039417289197445,
-0.006929284427314997,
0.009459774009883404,
-0.03834992274641991,
0.017093811184167862,
-0.0041717602871358395,
0.08990568667650223,
0.00806918740272522,
0.0010772317182272673,
0.06076958775520325,
0.04079054296016693,
-0.0398445688188076,
0.03333624452352524,
0.022514261305332184,
-0.03541739284992218,
-0.027054952457547188,
-0.021189892664551735,
0.029060425236821175,
0.029192861169576645,
0.003112265607342124,
0.027319826185703278,
0.018049247562885284,
-0.1536267250776291,
-0.033071368932724,
0.006626571528613567,
-0.06307777017354965,
-0.015646465122699738,
-0.02573058381676674,
0.03399842604994774,
0.004183584824204445,
-0.07355920225381851,
-0.013253143057227135,
0.014880224131047726,
-0.08778669685125351,
-0.0411689355969429,
0.012562579475343227,
0.019156042486429214,
0.025673825293779373,
0.018115466460585594,
0.03712015226483345,
-0.030763184651732445,
0.039541855454444885,
0.06576434522867203,
-0.008371899835765362,
-0.04722319170832634,
-0.046390730887651443,
0.03394166752696037,
-0.03254162147641182,
0.01554240845143795,
0.03263621777296066,
-0.046125855296850204,
-0.013622074387967587,
-0.01402884442359209,
0.022249387577176094,
0.07170508801937103,
-0.035871461033821106,
-0.08150541037321091,
0.008154325187206268,
0.06455349922180176,
0.0585370808839798,
0.0021958500146865845,
-0.013877487741410732,
-0.0070475316606462,
-0.040185119956731796,
-0.004703872371464968,
-0.04082838445901871,
0.03407410532236099,
-0.04026079550385475,
0.047563742846250534,
-0.052823375910520554,
0.07253754884004593,
-0.026619803160429,
-0.03121725283563137,
0.037593141198158264,
-0.04090406000614166,
-0.002688940614461899,
-0.041660845279693604,
0.01716003008186817,
-0.048471879214048386,
0.015164017677307129,
0.018560076132416725,
0.0016306284815073013,
-0.02230614610016346,
-0.0025352193042635918,
0.05047735199332237,
-0.03939049690961838,
-0.028757711872458458,
0.0071941581554710865,
0.02241966314613819,
-0.08173244446516037,
0.021549364551901817,
0.016488386318087578,
-0.015334293246269226,
0.010131417773663998,
-0.041660845279693604,
-0.03473629057407379,
-0.02478460781276226,
-0.034055184572935104,
0.0059549277648329735,
0.10034927725791931,
0.019373616203665733,
-0.020016880705952644,
0.021700721234083176,
-0.013896407559514046,
-0.035095762461423874,
0.01555186789482832,
-0.021170973777770996,
-0.05426126345992088,
0.01666812226176262,
-0.004561976063996553,
-0.015362672507762909,
0.008405009284615517,
-0.001792627153918147,
-0.012307165190577507,
-0.002745699370279908,
0.015996476635336876,
-0.027338746935129166,
0.0921003594994545,
0.06546163558959961,
-0.024746768176555634,
-0.04158516600728035,
0.007151588797569275,
-0.002026756526902318,
0.022665617987513542,
-0.0003603582445066422,
-0.02084934152662754,
0.015249155461788177,
0.006271829828619957,
0.020622307434678078,
-0.04631505161523819,
0.01607215590775013,
-0.010944957844913006,
0.00960640050470829,
-0.03186051920056343,
0.03176591917872429,
0.023025089874863625,
-0.0464664101600647,
0.014653189107775688,
-0.0021651056595146656,
-0.02741442434489727,
0.05823436751961708,
0.012449062429368496,
0.04786645621061325,
-0.03834992274641991,
-0.032598379999399185,
0.02871987223625183,
-0.009753026999533176,
-0.09565722942352295,
-0.034679532051086426,
-0.02900366671383381,
-0.022665617987513542,
0.01312070619314909,
0.03475520759820938,
0.023762952536344528,
-0.05668296292424202,
-0.017878971993923187,
-0.02991180494427681,
0.0020846975967288017,
0.06534811854362488,
-0.03513360023498535,
-0.0050704386085271835,
-0.005467749200761318,
-0.0063096689991652966,
0.02556030824780464,
-0.03577686473727226,
0.0008052632329054177,
-0.03513360023498535,
0.049909766763448715,
-0.023441320285201073,
0.0034528174437582493,
0.00978140626102686,
0.03019559755921364,
-0.04919082298874855,
0.053050410002470016,
-0.02569274604320526,
-0.00069647585041821,
0.01956281252205372,
-0.01311124674975872,
0.01936415769159794,
-0.06644544750452042,
0.01956281252205372,
-0.0012877116678282619,
-0.019884444773197174,
0.00852325651794672,
-0.07079694420099258,
0.04317440837621689,
-0.02900366671383381,
0.008707721717655659,
0.00747322104871273,
0.01815330609679222,
-0.026449527591466904,
-0.005978576838970184,
0.009497612714767456,
0.044423095881938934,
0.028436079621315002,
0.020565548911690712,
-0.04219059273600578,
-0.024954883381724358,
-0.01494644209742546,
0.008982054889202118,
0.029079344123601913,
0.05573698878288269,
-0.049531374126672745,
0.0070333415642380714,
0.05138549208641052,
-0.025276515632867813,
-0.034149784594774246,
-0.03435789793729782,
-0.02465217001736164,
0.02270345762372017,
-0.011503084562718868,
0.042417626827955246,
0.012004452757537365,
-0.035511989146471024,
0.03369571268558502,
-0.010036819614470005,
0.021946674212813377,
0.013622074387967587,
0.009246928617358208,
-0.07166724652051926,
0.025106240063905716,
-0.06769414246082306,
0.03269297629594803,
0.000981451477855444,
0.014776166528463364,
0.04317440837621689,
-0.003010573098435998,
0.002601437736302614,
-0.024992723017930984,
-0.03816072642803192,
-0.08370007574558258,
0.005600186064839363,
0.0286063551902771,
-0.01186255645006895,
0.0674671083688736,
-0.04669344425201416,
-0.006664410699158907,
0.0034551823046058416,
-0.0029845586977899075,
-0.023687273263931274,
-0.009611129760742188,
-0.035209279507398605,
0.01746274158358574,
0.010008440352976322,
0.010547648184001446,
-0.018115466460585594,
-0.015627546235919,
-0.07344568520784378,
-0.021303409710526466,
-0.023687273263931274,
-0.0008028983138501644,
0.01805870793759823,
-0.022343985736370087,
0.0491151437163353,
0.11820933222770691,
0.046352893114089966,
-0.007492140866816044,
-0.03973104804754257,
-0.024973802268505096,
0.003694041632115841,
0.03274973854422569,
0.022079112008213997,
-0.0004830397083424032,
-0.04521771892905235,
0.009090842679142952,
-0.02493596449494362,
-0.023649433627724648,
-0.03840668126940727,
0.01941145583987236,
-0.07488356530666351,
0.05467749387025833,
0.12872859835624695,
0.0315767265856266,
-0.05645592883229256,
0.0171127300709486,
0.0406770259141922,
-0.05308825150132179,
-0.05153684690594673,
-0.05255850404500961,
-0.036685001105070114,
0.0398445688188076,
0.013092326931655407,
-0.00873137079179287,
-0.038501277565956116,
-0.08370007574558258,
-0.02703603357076645,
0.02586302161216736,
-0.012685556896030903,
0.00944085419178009,
0.033260565251111984,
-0.025938699021935463,
-0.04396902769804001,
0.026525205001235008,
-0.006423186510801315,
-0.027584699913859367,
-0.00606371508911252,
-0.0019179690862074494,
-0.045444753021001816,
0.005316392984241247,
0.032352425158023834,
0.015561328269541264,
0.08120270073413849,
0.02467109076678753,
0.046617764979600906,
-0.007742824964225292,
0.05195307731628418,
-0.0014367031399160624,
-0.026317089796066284,
0.0420013964176178,
-0.00918543990701437,
0.07802421599626541,
0.0058981687761843204,
0.053239606320858,
-0.02964693121612072,
0.03119833394885063,
0.00499003054574132,
0.003682216862216592,
-0.04949353635311127,
0.034584932029247284,
-0.0037105963565409184,
-0.02624141238629818,
-0.03702555596828461,
-0.02887122891843319,
0.001146997557953,
-0.011058475822210312,
-0.044120386242866516,
-0.03170916065573692,
0.015570787712931633,
-0.012212567962706089,
-0.005727893207222223,
0.017519500106573105,
-0.005713703576475382,
-0.062245313078165054,
-0.013669373467564583,
-0.002017296850681305,
0.013262602500617504,
0.035606589168310165,
0.04578530415892601,
0.031822677701711655,
0.014974822290241718,
0.010462509468197823,
-0.041509486734867096,
0.008315141312777996,
0.029306378215551376,
-0.009067193605005741,
-0.06190475821495056,
-0.0016341758891940117,
-0.026563044637441635,
-0.0004783098120242357,
-0.0194303747266531,
0.10405751317739487,
-0.01664920151233673,
0.029173942282795906,
-0.0012019824935123324,
-0.0388607494533062,
-0.016488386318087578,
-0.017916811630129814,
-0.007217807229608297,
-0.021965594962239265,
0.04162300378084183,
0.022116951644420624,
-0.006602921988815069,
-0.09928978234529495,
0.05558563023805618,
-0.02991180494427681,
0.0025021100882440805,
0.041925717145204544,
0.0343957357108593,
0.09300849586725235,
-0.05558563023805618,
0.035228196531534195,
0.040714867413043976,
-0.012647717259824276,
0.012742315419018269,
0.015561328269541264,
-0.014870764687657356,
-0.00014551792992278934,
0.01954389177262783,
-0.02347915805876255,
-0.025503549724817276,
-0.008580015040934086,
0.015428891405463219,
0.0203385129570961,
-0.015561328269541264,
0.006900905165821314,
-0.005808301270008087,
0.011020636186003685,
0.044650133699178696,
-0.01575998216867447,
-0.02743334323167801,
0.008073916658759117,
-0.03761206194758415,
0.021208813413977623,
-0.044536616653203964,
0.008660422638058662,
-0.0041339211165905,
0.03462277352809906,
-0.06099662184715271,
-0.04850972071290016,
0.029079344123601913,
-0.06686168164014816,
0.03761206194758415,
-0.014397775754332542,
-0.027452263981103897,
0.07072126865386963,
-0.021360168233513832,
0.03386598825454712,
0.015239695087075233,
0.01939253695309162,
-0.08513796329498291,
0.008527985773980618,
-0.032976772636175156,
-0.003977834712713957,
0.06406158953905106,
0.01528699416667223,
-0.019089823588728905,
-0.021341249346733093,
-0.07567819207906723,
0.04862323775887489,
0.041509486734867096,
0.015797821804881096,
0.00018210064445156604,
0.06372103840112686,
0.01213688962161541,
0.02111421525478363,
-0.012695016339421272,
0.01982768625020981,
0.017964109778404236,
0.047828614711761475,
-0.002688940614461899,
-0.07847828418016434,
-0.04657992720603943,
0.011985532939434052,
-0.01293151080608368,
-0.01848439872264862,
-0.04813132807612419,
0.03187943622469902,
-0.013972085900604725,
0.04987192898988724,
-0.006498864386230707,
0.00583668053150177,
0.011890935711562634,
-0.016611361876130104,
0.04737454652786255,
0.02820904552936554,
-0.024765687063336372,
0.06758062541484833,
-0.01391532737761736,
-0.02938205748796463,
0.03276865556836128,
0.001709854113869369,
0.049796249717473984,
0.013063947670161724,
-0.013035568408668041,
-0.009790865704417229,
0.008352980017662048,
-0.03539847210049629,
0.00019052575225941837,
0.005893439054489136,
0.04922866076231003,
-0.015797821804881096,
0.04044999182224274,
0.020565548911690712,
-0.024803526699543,
-0.05717487260699272,
-0.041244614869356155,
0.06686168164014816,
-0.014804545789957047,
-0.009582750499248505,
-0.046617764979600906,
-0.0014804545789957047,
-0.01954389177262783,
-0.018134387210011482,
-0.02349807880818844,
-0.03161456435918808,
0.03123617358505726,
0.009034084156155586,
-0.015173477120697498,
-0.04737454652786255,
0.007757014594972134,
0.06254802644252777,
-0.0010263854637742043,
-0.001003327197395265,
-0.04446093738079071,
0.014312637969851494,
0.011616602540016174,
0.012184188701212406,
-0.009123952127993107,
0.012382843531668186,
0.014539672061800957,
0.010538187809288502,
0.029173942282795906,
-0.010301693342626095,
0.0443095788359642,
-0.04903946816921234,
-0.06504540145397186,
0.01016925647854805,
0.04370415583252907,
-0.021833157166838646,
0.02624141238629818,
-0.011427407152950764,
0.0014307907549664378,
-0.03999592363834381,
-0.006229260936379433,
0.028814470395445824,
0.0424933023750782,
-0.01598701812326908,
-0.03344976156949997,
0.0002772896259557456,
0.02520083636045456,
0.02624141238629818,
0.016791097819805145,
-0.06939689815044403,
0.019752006977796555,
-0.025257596746087074,
0.015324833802878857,
0.04657992720603943,
-0.016828937456011772,
0.035511989146471024,
0.031538885086774826,
0.03464169055223465,
-0.08801373839378357,
-0.03097129985690117,
0.024198101833462715,
0.025106240063905716,
-0.004438998643308878,
-0.021700721234083176,
-0.08407846838235855,
-0.013659913092851639,
-0.0051744962111115456,
-0.03384707123041153,
0.05494236573576927,
0.04896378889679909,
-0.038482360541820526,
0.050553031265735626,
0.028152287006378174,
0.07707823812961578,
-0.009029353968799114,
0.017737075686454773,
0.0738997533917427,
0.006177232135087252,
-0.007984048686921597,
-0.03577686473727226,
-0.001473359763622284,
-0.019733088091015816,
-0.023762952536344528,
-0.010557107627391815,
0.01876819133758545,
-0.13379904627799988,
0.061450690031051636,
-0.025011641904711723,
0.03242810443043709,
-0.02966585010290146,
-0.04014727845788002,
0.05112061649560928,
-0.014814005233347416,
0.007941479794681072,
-0.04862323775887489,
-0.01613837480545044,
-0.023592675104737282,
0.0028828659560531378,
-0.046504247933626175,
0.09845732152462006,
0.009105032309889793,
-0.013413959182798862,
0.0671265572309494,
0.011540924198925495,
-0.013054488226771355,
0.05221795290708542,
0.025276515632867813,
-0.007104290183633566,
-0.055169399827718735,
0.05732622742652893,
0.02073582448065281,
-0.024746768176555634,
-0.04605017974972725,
-0.015145097859203815,
0.05759110301733017,
-0.057931654155254364,
0.06269937753677368,
-0.00960640050470829,
0.00790364108979702,
-0.008073916658759117,
0.020092559978365898,
-0.00881177932024002,
0.04048783332109451,
-0.032995689660310745,
-0.05361799895763397,
0.05036383494734764,
0.01304502785205841,
-0.03254162147641182,
-0.014066683128476143,
-0.03566334769129753,
0.016724880784749985,
0.02938205748796463,
-0.05002328380942345,
0.053315285593271255,
-0.02022499591112137,
-0.0304226316511631,
-0.03161456435918808,
-0.029457734897732735,
0.048320524394512177,
0.04147164896130562,
-0.05040167272090912,
0.01803978905081749,
-0.018049247562885284,
0.013508557341992855,
-0.002556503750383854,
0.01810600608587265,
0.007364433724433184,
0.010263854637742043,
0.009166521020233631,
-0.014520753175020218,
0.056985676288604736,
0.00027034259983338416,
0.0186830535531044,
0.04105541855096817,
-0.0017855323385447264,
0.021170973777770996,
0.030119920149445534,
0.06141285225749016,
0.017481662333011627,
-0.08506228774785995,
0.06020199880003929,
-0.045331235975027084,
0.013224763795733452,
-0.024217020720243454,
-0.021549364551901817,
0.05498020350933075,
0.022741295397281647,
-0.03184159845113754,
-0.0003458729770500213,
0.03119833394885063,
-0.021152054890990257,
-0.011550383642315865,
0.0099611422047019,
0.007463761605322361,
0.03999592363834381,
0.023971065878868103,
0.016299189999699593,
-0.060126323252916336,
-0.01696137525141239,
-0.022665617987513542,
-0.045331235975027084,
-0.04850972071290016,
-0.005396801047027111,
-0.0030791563913226128,
-0.09164629131555557,
-0.03893642872571945,
-0.006186692044138908,
0.012042292393743992,
-0.03861479461193085,
0.004408254753798246,
0.03541739284992218,
0.06005064398050308,
-0.03853911906480789,
0.0016117088962346315,
0.03358219563961029,
0.06932122260332108,
0.0237251129001379,
-0.0004005623050034046,
-0.018181685358285904,
-0.045596107840538025,
-0.00204449356533587,
0.045709628611803055,
-0.026279252022504807,
0.005387341137975454,
0.05929386243224144,
-0.012988269329071045,
0.006044795271009207,
0.040601350367069244,
0.029079344123601913,
-0.003909251652657986,
0.09898707270622253,
0.006711709313094616,
-0.05479101091623306,
0.028682034462690353,
0.06281289458274841,
0.009019894525408745,
0.027187390252947807,
-0.029703689739108086,
-0.05785597488284111,
0.05100709944963455,
0.03961753100156784,
0.01232608500868082,
-0.020414192229509354,
0.006787387654185295,
-0.001514746225439012,
-0.008830699138343334,
0.012430142611265182,
-0.019487133249640465,
0.037706658244132996,
-0.0006598192267119884,
-0.00020870626030955464,
0.01883441023528576,
-0.013063947670161724,
0.08324600756168365,
-0.02230614610016346,
-0.022608859464526176,
0.020962858572602272,
-0.030630746856331825,
0.018872248008847237,
-0.01916550099849701,
0.015059960074722767,
0.01934523694217205,
0.01768977753818035,
0.01912766322493553,
-0.012524740770459175,
-0.025938699021935463,
0.013205843977630138,
-0.03825532644987106,
-0.039163462817668915,
-0.00047949227155186236,
0.015391051769256592,
-0.028568517416715622,
0.0034338978584855795,
-0.04101758077740669,
-0.0702672004699707,
-0.044006869196891785,
-0.04275817796587944,
-0.011399026960134506,
-0.00691982451826334,
0.021341249346733093,
-0.017983030527830124,
0.01383964903652668,
-0.0429852120578289,
0.03252270072698593,
0.014501833356916904,
-0.040752705186605453,
-0.005051519256085157,
0.05119629576802254,
0.026298170909285545,
-0.019487133249640465,
0.010282774455845356,
0.04903946816921234,
0.05865059792995453,
-0.0005900533869862556,
-0.011370647698640823,
0.025125158950686455,
-0.03481196612119675,
0.0037815445102751255,
-0.00695766368880868,
-0.003386599011719227,
0.03630661219358444,
-0.003358219750225544,
0.06258586049079895,
-0.02188991568982601,
-0.006711709313094616,
0.010661165229976177,
0.046390730887651443,
-0.0393526591360569,
0.02675224095582962
]
|
37,183 | ipinfo | getHandler | Create and return Handler object. | def getHandler(access_token=None, **kwargs):
"""Create and return Handler object."""
return Handler(access_token, **kwargs)
| (access_token=None, **kwargs) | [
-0.02431965060532093,
-0.04001310095191002,
-0.022275689989328384,
-0.019279038533568382,
0.039735954254865646,
0.06256593763828278,
0.035024452954530716,
0.06305094808340073,
-0.02452751062810421,
0.007270778529345989,
0.03187190741300583,
0.07621543109416962,
-0.003169868839904666,
-0.016308369114995003,
0.020682096481323242,
0.01332037802785635,
0.022379621863365173,
0.03866200894117355,
0.019538864493370056,
-0.03284192085266113,
-0.014671470038592815,
0.0050709242932498455,
-0.0082884281873703,
-0.006881040520966053,
-0.01377940271049738,
0.004884716123342514,
-0.01235902402549982,
0.028078457340598106,
0.11751033365726471,
-0.031594760715961456,
0.01634301245212555,
-0.012982605025172234,
0.02632896602153778,
0.017824016511440277,
0.010462299920618534,
-0.049817174673080444,
-0.0027822961565107107,
0.055429402738809586,
-0.09589286893606186,
-0.01960815116763115,
-0.020872633904218674,
-0.01352823805063963,
0.02785327471792698,
0.0012579875765368342,
0.036548763513565063,
0.013840029016137123,
0.013355021364986897,
-0.015745414420962334,
0.026813972741365433,
-0.020370304584503174,
0.018014555796980858,
0.03686055168509483,
-0.011276419274508953,
-0.024856623262166977,
0.025168413296341896,
0.07496826350688934,
0.0008081650012172759,
0.004863063804805279,
-0.015113173052668571,
0.04181455448269844,
-0.04635283723473549,
0.048396795988082886,
0.08127336204051971,
0.004815429449081421,
-0.005668522324413061,
0.03485123813152313,
-0.02944687008857727,
0.03478195145726204,
-0.006149199325591326,
0.012125181965529919,
-0.0041550397872924805,
-0.0100465789437294,
0.02645021863281727,
-0.012904657982289791,
0.01115516759455204,
-0.012939301319420338,
-0.04666462913155556,
0.003709006356075406,
0.02813042141497135,
0.07877903431653976,
-0.010185152292251587,
-0.05858194828033447,
-0.018967248499393463,
0.02845953404903412,
-0.004401873797178268,
-0.018464919179677963,
-0.0321490541100502,
-0.058166228234767914,
-0.03149082884192467,
0.02101120725274086,
-0.05005967989563942,
-0.014325035735964775,
-0.04787714406847954,
0.008535262197256088,
-0.06997962296009064,
-0.03952809050679207,
-0.03706841170787811,
0.039354875683784485,
0.019850654527544975,
0.05581047758460045,
-0.014697452075779438,
0.028528820723295212,
-0.039562735706567764,
0.07392896711826324,
0.029325617477297783,
-0.0027693049050867558,
0.05646870285272598,
-0.007773107383400202,
0.05165327340364456,
-0.010921324603259563,
0.04486317187547684,
-0.01810116320848465,
0.03459141030907631,
0.05837408825755119,
-0.05847802013158798,
0.011233114637434483,
-0.0003166621027048677,
0.028009168803691864,
-0.020630130544304848,
-0.022674089297652245,
-0.06291237473487854,
-0.02563609927892685,
0.0017051036702468991,
-0.009838718920946121,
0.09617001563310623,
0.014402983710169792,
-0.012462954968214035,
-0.08536127954721451,
0.054424744099378586,
-0.02270873263478279,
0.028095778077840805,
0.07029140740633011,
0.030035806819796562,
-0.017945269122719765,
-0.08480698615312576,
0.039043083786964417,
0.008886026218533516,
0.01622176170349121,
0.01931368187069893,
0.004245978780090809,
-0.03862736374139786,
0.0027368266601115465,
0.0010696141980588436,
-0.06152663752436638,
-0.030209023505449295,
-0.029810626059770584,
0.030087772756814957,
0.029481513425707817,
0.09901076555252075,
0.03751877695322037,
0.057057641446590424,
-0.026987189427018166,
0.06769315898418427,
0.06495632976293564,
-0.06225414574146271,
-0.017659461125731468,
0.022085152566432953,
0.041883841156959534,
-0.001517812954261899,
-0.0026826963294297457,
0.05459796264767647,
-0.01071346364915371,
-0.03637554496526718,
-0.09367568790912628,
0.006443668156862259,
-0.0023384278174489737,
0.09256710112094879,
-0.009301746264100075,
0.008041593246161938,
-0.008227801881730556,
-0.04292314127087593,
0.027212372049689293,
-0.06800495088100433,
0.03727627173066139,
0.004919359460473061,
0.015398981049656868,
-0.029221687465906143,
0.009232459589838982,
0.04406637325882912,
0.022587481886148453,
0.017364991828799248,
-0.02903115004301071,
-0.035318922251462936,
-0.016793375834822655,
0.051826491951942444,
0.03147350624203682,
0.0077860988676548,
0.03852343559265137,
-0.035318922251462936,
0.029377583414316177,
-0.049609314650297165,
-0.052138280123472214,
0.05646870285272598,
-0.050406113266944885,
-0.0036310588475316763,
0.04011702910065651,
-0.020023871213197708,
0.017772052437067032,
0.0034123726654797792,
0.046803202480077744,
-0.027506841346621513,
0.023973217234015465,
-0.011129184626042843,
0.02695254608988762,
0.015243085101246834,
0.0462142638862133,
0.07164250314235687,
0.012402328662574291,
-0.0895184874534607,
-0.011285079643130302,
-0.0542861707508564,
-0.03938951715826988,
-0.033621396869421005,
0.059274815022945404,
-0.0037349890917539597,
0.07476040720939636,
-0.045590683817863464,
0.022154439240694046,
0.007097561843693256,
-0.020231731235980988,
0.0012309224111959338,
0.06561455130577087,
-0.018742065876722336,
-0.005724817980080843,
0.03450480103492737,
-0.009059242904186249,
0.008647852577269077,
-0.03384657949209213,
-0.058166228234767914,
-0.028303638100624084,
0.015286389738321304,
0.026606112718582153,
0.03225298225879669,
0.025376273319125175,
0.003308442421257496,
-0.059066955000162125,
0.059170886874198914,
-0.04600640386343002,
0.0004939387436024845,
0.004341247957199812,
0.06419417262077332,
0.003698180429637432,
0.02724701538681984,
0.03407176211476326,
-0.007504621520638466,
0.07884832471609116,
-0.03026098944246769,
0.021738719195127487,
0.012047233991324902,
0.006512954831123352,
-0.020283697172999382,
0.022483551874756813,
-0.019538864493370056,
-0.009301746264100075,
-0.023540174588561058,
-0.02021441049873829,
0.03005312941968441,
0.026259679347276688,
-0.015459606423974037,
-0.000025407398425159045,
0.005729148164391518,
0.004655203782021999,
0.03034759685397148,
0.024388937279582024,
0.01091266330331564,
0.002481331815943122,
0.05321222543716431,
-0.029169723391532898,
0.004072762094438076,
-0.018135806545615196,
0.015208441764116287,
0.05054468661546707,
0.02130567654967308,
0.009518267586827278,
-0.028598107397556305,
-0.03637554496526718,
-0.005716157145798206,
0.016836680471897125,
-0.03706841170787811,
-0.012211790308356285,
-0.026987189427018166,
-0.03751877695322037,
0.06561455130577087,
0.03187190741300583,
-0.03741484507918358,
0.06260058283805847,
0.047807857394218445,
0.01161419227719307,
0.06845530867576599,
-0.04271528124809265,
0.01649024710059166,
0.008180167526006699,
-0.0773933008313179,
0.010540246963500977,
-0.009241120889782906,
-0.017607495188713074,
-0.10122794657945633,
-0.010765429586172104,
0.017278384417295456,
0.03334425017237663,
-0.037969138473272324,
-0.05636477470397949,
-0.027524162083864212,
0.011925982311367989,
0.01971208117902279,
0.0012471615336835384,
0.04815429449081421,
0.020058514550328255,
-0.012229111976921558,
0.006833406165242195,
0.004607568960636854,
0.0361676849424839,
-0.026190392673015594,
-0.019677437841892242,
-0.033708006143569946,
0.016620159149169922,
0.013233769685029984,
0.05515225604176521,
0.04212634637951851,
0.05570654943585396,
-0.040359534323215485,
0.039735954254865646,
0.0006403611623682082,
-0.016464265063405037,
0.02172139659523964,
0.022674089297652245,
-0.020127801224589348,
-0.023055166006088257,
-0.05085647478699684,
-0.027264337986707687,
-0.05044075474143028,
-0.017425619065761566,
-0.002092676470056176,
-0.056745849549770355,
-0.02473537065088749,
-0.009613537229597569,
0.03880058228969574,
0.00038919667713344097,
-0.029394904151558876,
-0.020266374573111534,
0.013311717659235,
-0.01768544316291809,
-0.003628893755376339,
0.06173449754714966,
-0.015312372706830502,
-0.01849956251680851,
0.08252052217721939,
-0.03769199177622795,
0.04098311439156532,
-0.09208209067583084,
-0.00537838414311409,
-0.07427539676427841,
0.03550945967435837,
-0.012436971999704838,
0.07753187417984009,
-0.06852459907531738,
-0.001338100410066545,
0.037449490278959274,
-0.05761193484067917,
0.006426346488296986,
-0.0037544758524745703,
-0.0014701782492920756,
-0.045694611966609955,
0.029983842745423317,
-0.03426229953765869,
0.028615428134799004,
-0.008067576214671135,
-0.017945269122719765,
0.016559533774852753,
-0.020612807944417,
0.004910698626190424,
-0.02743755467236042,
-0.007504621520638466,
0.04836215451359749,
0.025099126622080803,
0.01810116320848465,
-0.03429694101214409,
-0.020560843870043755,
-0.007794759701937437,
0.03007045015692711,
-0.003490320174023509,
0.035440173000097275,
-0.0019053856376558542,
-0.020162444561719894,
0.028684714809060097,
-0.03233959153294563,
-0.03970130905508995,
0.03575196489691734,
-0.02371339127421379,
0.036825910210609436,
-0.009752110578119755,
-0.06052197888493538,
-0.06402096152305603,
-0.017001237720251083,
0.03334425017237663,
-0.0040099709294736385,
-0.06800495088100433,
0.04344279319047928,
0.022795341908931732,
0.06443668156862259,
0.052415426820516586,
-0.01517379842698574,
0.033915866166353226,
0.017858659848570824,
-0.029412226751446724,
0.0023795668967068195,
0.029204366728663445,
0.05847802013158798,
0.04683784395456314,
-0.03417569026350975,
-0.03900844231247902,
-0.009119869209825993,
-0.05750800296664238,
0.004152874927967787,
-0.0005323712830431759,
-0.03157743811607361,
0.05781979486346245,
0.028580784797668457,
-0.049713246524333954,
-0.016161134466528893,
0.026086462661623955,
0.01040167361497879,
-0.004055440425872803,
-0.07586899399757385,
-0.029187044128775597,
0.013649490661919117,
-0.05335079878568649,
0.05397437885403633,
-0.02925633080303669,
0.004564264789223671,
-0.007054257672280073,
0.016836680471897125,
-0.0346606969833374,
-0.02322838455438614,
-0.03254745155572891,
-0.000052168052206980065,
-0.025601455941796303,
0.012168485671281815,
0.023245705291628838,
-0.0067208148539066315,
-0.05321222543716431,
0.012272415682673454,
-0.008803747594356537,
-0.015485589392483234,
0.032218340784311295,
-0.02825167402625084,
0.0019486899254843593,
0.006144868675619364,
0.07676972448825836,
-0.08155050873756409,
-0.0482235811650753,
0.051930420100688934,
0.04371993988752365,
0.004902037791907787,
-0.008552583865821362,
-0.06814352422952652,
-0.04240349307656288,
-0.03959737718105316,
0.022344978526234627,
0.010999271646142006,
0.001165966154076159,
-0.024475544691085815,
-0.005296105984598398,
-0.06180378422141075,
-0.029706694185733795,
0.06689635664224625,
0.019538864493370056,
0.024388937279582024,
-0.02210247330367565,
-0.02101120725274086,
-0.0024315319024026394,
-0.004494978114962578,
-0.023055166006088257,
-0.021669432520866394,
0.02594788931310177,
-0.021877292543649673,
0.021859969943761826,
-0.06121484562754631,
0.03557874634861946,
-0.011285079643130302,
0.0035942501854151487,
0.07316680997610092,
0.011449635960161686,
0.017754729837179184,
-0.0316467247903347,
0.008041593246161938,
0.032114408910274506,
-0.033621396869421005,
0.060279473662376404,
-0.06093769893050194,
0.013181804679334164,
0.060764480382204056,
0.02672736532986164,
-0.05189577862620354,
0.01009854394942522,
0.024042503908276558,
0.007976637221872807,
0.0011037163203582168,
0.003490320174023509,
0.021859969943761826,
-0.017148470506072044,
-0.01594461314380169,
-0.03987452760338783,
-0.049228236079216,
-0.0053134276531636715,
-0.06225414574146271,
-0.05941338837146759,
-0.007379039190709591,
-0.039735954254865646,
-0.011822052299976349,
-0.008388027548789978,
0.0261211059987545,
-0.06717350333929062,
0.032530128955841064,
0.0020147289615124464,
0.010055240243673325,
-0.013095196336507797,
0.019573507830500603,
-0.03748413175344467,
0.01870742253959179,
0.03407176211476326,
0.0336560383439064,
0.03932023048400879,
-0.0346953421831131,
-0.0683513805270195,
0.005941338837146759,
0.027298981323838234,
0.03528427705168724,
0.019279038533568382,
0.002082932973280549,
0.012826710008084774,
-0.03897379711270332,
-0.057369429618120193,
0.02101120725274086,
-0.02421572059392929,
-0.0028927219100296497,
-0.0663420632481575,
0.0018025381723418832,
0.054528675973415375,
-0.00510123698040843,
-0.0015567867085337639,
-0.003462172346189618,
-0.06741601228713989,
-0.011120523326098919,
-0.10108937323093414,
-0.05355865880846977,
-0.02835560403764248,
0.015615501441061497,
0.017962589859962463,
-0.05591440945863724,
0.03769199177622795,
-0.05199970677495003,
0.06717350333929062,
-0.02923901006579399,
0.011787408962845802,
-0.011380349285900593,
-0.017382314428687096,
-0.041364192962646484,
0.0018794031348079443,
0.031421542167663574,
-0.003211007919162512,
-0.0025051492266356945,
-0.08335196226835251,
0.03841950371861458,
-0.01311251800507307,
0.020630130544304848,
0.0005829830770380795,
0.06561455130577087,
-0.06557991355657578,
-0.02594788931310177,
-0.023799998685717583,
0.036133039742708206,
0.035336244851350784,
-0.014766738750040531,
-0.007158187683671713,
0.0326513834297657,
0.033119067549705505,
-0.045174963772296906,
0.06343202292919159,
-0.02873668074607849,
0.030936535447835922,
-0.011813391000032425,
-0.04604104533791542,
-0.0029403564985841513,
-0.05546404421329498,
-0.05238078534603119,
0.003683023853227496,
0.025965210050344467,
0.013658151030540466,
0.03381193429231644,
-0.021374963223934174,
-0.014247088693082333,
-0.05518689751625061,
-0.017460262402892113,
0.026277000084519386,
0.04074060916900635,
-0.0673120766878128,
-0.011181149631738663,
0.02220640331506729,
-0.02563609927892685,
-0.03852343559265137,
0.058443374931812286,
-0.0794026181101799,
-0.008336062543094158,
0.04441280663013458,
0.05009432137012482,
-0.018638135865330696,
-0.057369429618120193,
-0.02302052266895771,
-0.061873070895671844,
-0.030191702768206596,
-0.011337044648826122,
0.027818631380796432,
0.07004890590906143,
-0.01105989795178175,
0.07864046096801758,
-0.0030832604970782995,
0.027021832764148712,
-0.019123144447803497,
-0.01770276576280594,
0.04666462913155556,
-0.01900189183652401,
-0.004194013774394989,
0.028909897431731224,
0.028598107397556305,
-0.01837831176817417,
0.07115749269723892,
0.003351746592670679,
-0.04683784395456314,
0.07787831127643585,
-0.019434934481978416,
-0.0013933132868260145,
-0.021877292543649673,
-0.049609314650297165,
0.06970247626304626,
0.04915894940495491,
0.037345558404922485,
-0.004880385473370552,
0.029169723391532898,
0.03417569026350975,
-0.0281477440148592,
-0.031040465459227562,
-0.039735954254865646,
-0.0027108441572636366,
0.009492284618318081,
0.021946579217910767,
0.008912008255720139,
0.010427656583487988,
-0.02191193588078022,
-0.019434934481978416,
0.0004371019604150206,
-0.023089809343218803,
-0.01070480328053236,
0.024267684668302536,
-0.009128529578447342,
-0.02875400148332119,
0.023592138662934303,
-0.018776709213852882,
0.03400247544050217,
-0.02431965060532093,
-0.00550829665735364,
-0.007353056687861681,
0.04160669445991516,
-0.007504621520638466,
-0.0326513834297657,
-0.005893704481422901,
-0.01891528256237507,
0.0010062818182632327,
-0.001098303240723908,
0.004590247292071581,
0.019850654527544975,
0.011640174314379692,
0.009665502235293388,
-0.012133842334151268,
-0.021478893235325813,
-0.029533477500081062,
0.015087190084159374,
-0.010176491923630238,
0.0662727802991867,
0.037553418427705765,
-0.016291048377752304,
0.0402209609746933,
0.01979868859052658,
0.02011048048734665,
-0.0023081148974597454,
0.0048500727862119675,
0.02946419082581997,
-0.01764213852584362,
0.011371687985956669,
-0.03575196489691734,
-0.007227474357932806,
-0.02632896602153778,
-0.00686371885240078,
-0.012419650331139565,
-0.05508296936750412,
0.013545559719204903,
-0.007353056687861681,
-0.01820509508252144,
-0.0004246520111337304,
0.05387045070528984,
0.00834039319306612,
-0.015156476758420467,
0.011588209308683872,
-0.08196622878313065,
0.013285734690725803,
-0.02965473011136055,
0.039943814277648926,
0.018049199134111404,
-0.02975866012275219,
-0.0068463971838355064,
-0.02594788931310177,
-0.025584133341908455,
0.04985181987285614,
0.06194235756993294,
0.019521541893482208,
-0.034210335463285446,
-0.08965706080198288,
0.052935078740119934,
-0.0026264009065926075,
0.005096906796097755,
-0.036340903490781784,
-0.03810771554708481,
-0.0048500727862119675,
0.007647525519132614,
0.006266120821237564,
-0.02554949000477791,
-0.024908587336540222,
-0.008271106518805027,
0.014056550338864326,
-0.007344395853579044,
-0.017512226477265358,
-0.02411179058253765,
-0.05823551490902901,
0.009959970600903034,
0.009345050901174545,
-0.04531353712081909,
0.02534162998199463,
-0.025965210050344467,
0.05581047758460045,
0.05411295220255852,
-0.001725673209875822,
0.010531586594879627,
0.04593711718916893,
0.013233769685029984,
0.08653915673494339,
-0.0024380276445299387,
-0.02856346406042576,
0.006577910855412483,
-0.026207713410258293,
0.07808616757392883,
0.0041333879344165325,
0.02341892197728157,
0.024579474702477455,
0.02774934470653534,
-0.02201586589217186,
-0.019781367853283882,
-0.036133039742708206,
-0.053731877356767654,
0.007028275169432163,
-0.007608551532030106,
-0.052623286843299866,
-0.007768777199089527,
-0.025358950719237328,
-0.03220101818442345,
0.01991994120180607,
0.03154279291629791,
0.06402096152305603,
-0.015035225078463554
]
|
37,184 | ipinfo | getHandlerAsync | Create an return an asynchronous Handler object. | def getHandlerAsync(access_token=None, **kwargs):
"""Create an return an asynchronous Handler object."""
return AsyncHandler(access_token, **kwargs)
| (access_token=None, **kwargs) | [
0.0005839187069796026,
-0.04621533676981926,
-0.058345988392829895,
-0.012008296325802803,
0.07551068812608719,
0.05887036770582199,
0.024436097592115402,
0.05453549697995186,
-0.01725209504365921,
-0.030414026230573654,
0.07516109943389893,
0.05687772482633591,
0.005750698037445545,
-0.030851010233163834,
0.014874906279146671,
0.019891472533345222,
0.007861326448619366,
0.02218126505613327,
0.009840860031545162,
-0.03445174917578697,
-0.02793196216225624,
0.023317420855164528,
-0.03144530579447746,
-0.0367065854370594,
-0.007607876323163509,
0.017426887527108192,
-0.016517963260412216,
0.035465553402900696,
0.09487777948379517,
-0.028159193694591522,
0.04873235896229744,
0.007345686666667461,
0.020223580300807953,
0.01152761559933424,
0.018265895545482635,
-0.028019359335303307,
-0.0030523273162543774,
0.0697774663567543,
-0.10012158006429672,
-0.03768542408943176,
-0.0017184362513944507,
-0.056423261761665344,
-0.0072364406660199165,
0.01081096287816763,
0.05995408818125725,
-0.007035428658127785,
0.002259202767163515,
-0.04691451042890549,
0.018720358610153198,
-0.001904154079966247,
0.04100649803876877,
0.03537815436720848,
-0.018650440499186516,
-0.012270486913621426,
-0.000672954018227756,
0.10193942487239838,
-0.0247507244348526,
-0.0022318914998322725,
-0.007581657264381647,
0.0208003968000412,
-0.05058516934514046,
0.02983720786869526,
0.06418408453464508,
0.02786204405128956,
-0.02125485986471176,
0.013380424119532108,
-0.017872611060738564,
0.03558790683746338,
0.0018659180495887995,
-0.005519097205251455,
-0.007262659724801779,
0.034032247960567474,
0.03684641793370247,
-0.05638830363750458,
0.02233857847750187,
-0.005615233443677425,
-0.04659988358616829,
0.021342257037758827,
-0.008757142350077629,
0.06834416091442108,
-0.030431505292654037,
-0.0329660065472126,
0.02852625958621502,
-0.0012781757395714521,
-0.012620072811841965,
-0.028281548991799355,
-0.03501109033823013,
-0.055654171854257584,
-0.05656309798359871,
-0.007830738089978695,
-0.02775716967880726,
-0.03191724792122841,
-0.02518770843744278,
-0.005746328271925449,
-0.08480969071388245,
-0.03303592652082443,
-0.010365240275859833,
0.025834443047642708,
0.009316480718553066,
0.020555686205625534,
-0.008726553060114384,
-0.0037755342200398445,
0.006668362766504288,
0.03279121592640877,
0.030973365530371666,
-0.03202212601900101,
0.06236623227596283,
0.003364770207554102,
0.04310401529073715,
-0.018598003312945366,
0.057367146015167236,
-0.02403407357633114,
0.022985313087701797,
0.06082805246114731,
-0.04813806340098381,
0.006646513473242521,
-0.016526702791452408,
0.04348856210708618,
-0.022373536601662636,
-0.025047874078154564,
-0.07142052799463272,
-0.02754741720855236,
-0.01251519750803709,
0.01587122678756714,
0.04289426654577255,
0.029207952320575714,
0.0034718310926109552,
-0.04806814715266228,
0.028543738648295403,
-0.022268660366535187,
0.02174428105354309,
0.07180506736040115,
0.04782343655824661,
-0.006165832281112671,
-0.05471028760075569,
0.05638830363750458,
0.014927344396710396,
-0.010199186392128468,
0.03128799423575401,
0.021097546443343163,
-0.025379979982972145,
-0.01636938750743866,
-0.0002826734562404454,
-0.066351518034935,
0.02655109576880932,
-0.023684486746788025,
-0.011143069714307785,
0.01418447308242321,
0.05799640342593193,
0.009054291062057018,
0.061457309871912,
-0.025886882096529007,
0.0580313615500927,
0.06918317079544067,
-0.053242024034261703,
0.0018320517847314477,
0.025502335280179977,
0.02787952497601509,
0.021726801991462708,
-0.01643056608736515,
0.03590253368020058,
0.011221727356314659,
-0.02945266291499138,
-0.08515927195549011,
0.010417678393423557,
-0.0032795583829283714,
0.11711148172616959,
-0.024401137605309486,
-0.009648587554693222,
0.006327515933662653,
-0.043558478355407715,
0.04701938480138779,
-0.06848400086164474,
0.03111319988965988,
0.019978869706392288,
0.0051127029582858086,
0.004483446944504976,
0.02167436294257641,
0.038524433970451355,
0.04331376776099205,
-0.006388693582266569,
-0.020188620314002037,
-0.015364327467978,
-0.020223580300807953,
0.03922360762953758,
0.04474707320332527,
0.023299941793084145,
0.03445174917578697,
-0.002129200380295515,
-0.01305705588310957,
-0.07481151074171066,
-0.03730088099837303,
0.07215465605258942,
-0.05540946125984192,
0.045306410640478134,
0.03957319259643555,
-0.02885836735367775,
0.052263181656599045,
-0.0026546726003289223,
0.010618690401315689,
-0.009150426834821701,
-0.03347290679812431,
-0.005077743902802467,
0.025502335280179977,
0.016561660915613174,
0.019314654171466827,
0.061457309871912,
-0.00131422677077353,
-0.06907829642295837,
0.008420664817094803,
-0.0823625847697258,
-0.023020271211862564,
-0.05956954136490822,
0.06040854752063751,
0.02415642887353897,
0.06816937029361725,
-0.02408651076257229,
0.040971539914608,
0.02567712962627411,
0.016517963260412216,
-0.01948944851756096,
0.034906212240457535,
0.00853865034878254,
-0.010618690401315689,
0.03434687480330467,
-0.022985313087701797,
-0.006882484536617994,
-0.031200597062706947,
-0.05778665095567703,
-0.01604602113366127,
0.0072364406660199165,
0.0367065854370594,
0.040377240628004074,
0.017601680010557175,
-0.015495422296226025,
0.000013817884791933466,
0.05432574450969696,
-0.015067178755998611,
0.0020767622627317905,
0.02310766838490963,
0.04782343655824661,
0.01999634876847267,
0.023579610511660576,
0.0018954143160954118,
-0.03667162358760834,
0.03810492902994156,
0.0000740822943043895,
0.02169184386730194,
0.010190446861088276,
0.006659623235464096,
-0.06292556971311569,
0.008250242099165916,
-0.008066709153354168,
-0.0308859683573246,
-0.03625212237238884,
-0.024768203496932983,
0.05201847106218338,
0.019244737923145294,
0.0019194484921172261,
0.025764526799321175,
0.015207013115286827,
-0.0014606161275878549,
-0.016115937381982803,
0.06341499090194702,
0.0004547355929389596,
-0.016002323478460312,
0.06117764115333557,
-0.041635751724243164,
-0.026149071753025055,
-0.0017916308715939522,
0.05733218789100647,
0.04687955230474472,
0.02628890611231327,
-0.02218126505613327,
-0.022093867883086205,
-0.030973365530371666,
-0.02167436294257641,
-0.013109494000673294,
-0.055828966200351715,
-0.029225433245301247,
-0.04782343655824661,
-0.030256712809205055,
0.05869557708501816,
-0.0004976145573891699,
-0.011344082653522491,
0.0013207815354689956,
0.03953823447227478,
-0.010155487805604935,
0.04135608300566673,
-0.029155515134334564,
0.027075475081801414,
-0.0370212122797966,
-0.06736531853675842,
-0.015617777593433857,
-0.0032926679123193026,
-0.03646187484264374,
-0.09012340009212494,
0.015207013115286827,
0.005593384150415659,
0.01297839917242527,
-0.031620100140571594,
-0.026026716455817223,
-0.02146461233496666,
0.010802223347127438,
0.03922360762953758,
-0.013730010017752647,
0.013266808353364468,
0.014630195684731007,
-0.044327568262815475,
0.02364952675998211,
-0.03558790683746338,
-0.007800149265676737,
0.022758081555366516,
-0.027197830379009247,
-0.04184550419449806,
0.059429705142974854,
0.02485560066998005,
0.059884168207645416,
0.07100102305412292,
0.0247507244348526,
-0.06795962154865265,
0.004153524525463581,
0.007747711148113012,
-0.02700555883347988,
0.017505545169115067,
0.010601211339235306,
-0.04890715330839157,
0.028246590867638588,
-0.06324020028114319,
-0.008110406808555126,
-0.06264590471982956,
-0.018038664013147354,
-0.02595679834485054,
-0.042789388447999954,
-0.03597245365381241,
0.008800840005278587,
0.0450267419219017,
-0.01179854478687048,
-0.0031615730840712786,
-0.037265922874212265,
0.0073107280768454075,
-0.010601211339235306,
-0.00506463460624218,
0.06670110672712326,
-0.018370771780610085,
-0.030816050246357918,
0.10214918106794357,
-0.03656674921512604,
0.04764864221215248,
-0.08334142714738846,
0.008057968690991402,
-0.06816937029361725,
-0.009403876960277557,
0.003782089101150632,
0.062191441655159,
-0.043558478355407715,
0.010793483816087246,
0.0027202200144529343,
-0.04782343655824661,
0.002191470470279455,
-0.03226683661341667,
0.006296927109360695,
-0.01130912359803915,
0.02485560066998005,
-0.06289061158895493,
0.008494952693581581,
-0.010094310157001019,
0.007389384787529707,
0.0026808916591107845,
0.0036225903313606977,
-0.019804075360298157,
0.009412616491317749,
0.019087422639131546,
0.07107093930244446,
0.016028542071580887,
0.013231849297881126,
-0.06642143428325653,
-0.03782526031136513,
-0.022111346945166588,
0.011684929020702839,
-0.00859545823186636,
0.012558895163238049,
0.012628812342882156,
-0.042299967259168625,
0.027897004038095474,
-0.04680963233113289,
-0.025712087750434875,
0.02529258467257023,
-0.060758136212825775,
0.03855939209461212,
0.004531515296548605,
-0.024995435029268265,
-0.06421904265880585,
-0.018702877685427666,
0.04855756461620331,
-0.02880592830479145,
-0.045970626175403595,
0.03779030218720436,
0.02420886605978012,
0.025310063734650612,
0.014402964152395725,
-0.009666066616773605,
0.04111137241125107,
0.01987399347126484,
-0.01943700946867466,
0.015512901358306408,
0.05058516934514046,
0.00599540863186121,
0.04932665824890137,
-0.010531293228268623,
-0.04352352023124695,
-0.029592497274279594,
-0.053801365196704865,
-0.008023010566830635,
-0.007839477621018887,
-0.03127051517367363,
0.033210717141628265,
0.010793483816087246,
-0.03565782308578491,
0.0014693557750433683,
0.007004839833825827,
0.03445174917578697,
-0.03820980712771416,
-0.06754011660814285,
-0.002632823307067156,
0.007581657264381647,
-0.006917443126440048,
0.061352431774139404,
-0.051179464906454086,
-0.0016780152218416333,
0.019017506390810013,
0.024506013840436935,
0.0028578697238117456,
0.016517963260412216,
-0.015705173835158348,
0.01377370860427618,
-0.0007942168740555644,
0.019244737923145294,
0.018475648015737534,
-0.017269574105739594,
-0.0495014488697052,
0.025397460907697678,
-0.04111137241125107,
-0.022793039679527283,
0.0492916963994503,
-0.039503276348114014,
0.01615089736878872,
0.004614541772753,
0.11312619596719742,
-0.07935614138841629,
-0.08159349113702774,
0.09054290503263474,
0.027477499097585678,
0.01775025576353073,
-0.021604446694254875,
-0.03368265926837921,
0.010470115579664707,
-0.05575904995203018,
-0.02485560066998005,
-0.005471028853207827,
-0.0008313604048453271,
-0.0370212122797966,
0.01817849837243557,
-0.036916334182024,
0.0060696955770254135,
0.02940022572875023,
0.0667710229754448,
0.014271869324147701,
-0.04415277764201164,
-0.024663329124450684,
-0.00963984802365303,
-0.02120242267847061,
0.0036072959192097187,
-0.02590436115860939,
0.0010045149829238653,
-0.03667162358760834,
0.020118704065680504,
-0.006515418644994497,
0.04261459410190582,
-0.04013253003358841,
0.009867079555988312,
0.0617719367146492,
0.02349221333861351,
0.04652996361255646,
-0.011929639615118504,
0.03621716424822807,
0.05537450313568115,
-0.034801337867975235,
0.05799640342593193,
-0.0913119986653328,
0.02377188205718994,
0.03541311249136925,
0.051494091749191284,
-0.020066265016794205,
0.027949441224336624,
-0.009648587554693222,
-0.0002615070843603462,
0.026079153642058372,
0.013537737540900707,
0.03385745361447334,
-0.0038388969842344522,
-0.009395137429237366,
0.024506013840436935,
-0.03390989080071449,
-0.00903681106865406,
-0.06082805246114731,
-0.05666797235608101,
-0.016308210790157318,
-0.03459158539772034,
-0.008993113413453102,
-0.015731392428278923,
0.028106754645705223,
-0.08187316358089447,
-0.011361561715602875,
0.027827085927128792,
0.012987138703465462,
-0.013380424119532108,
-0.00506463460624218,
-0.003331996500492096,
0.01626451313495636,
0.034469228237867355,
0.02711043320596218,
0.030151836574077606,
0.002525762654840946,
-0.0736229196190834,
0.013887324370443821,
0.04310401529073715,
0.01796874590218067,
-0.02945266291499138,
-0.020188620314002037,
0.02179671823978424,
-0.05383632332086563,
-0.03943336009979248,
-0.026795806363224983,
-0.02842138335108757,
-0.0228279996663332,
-0.0666661486029625,
0.028491301462054253,
0.015643997117877007,
-0.006489199586212635,
-0.0025213926564902067,
0.05229814350605011,
-0.05180872231721878,
-0.028054317459464073,
-0.0900534838438034,
-0.03230179473757744,
-0.004050833638757467,
0.025869401171803474,
0.029609978199005127,
-0.034853775054216385,
0.027477499097585678,
-0.031794894486665726,
0.08033498376607895,
-0.05603871867060661,
-0.04348856210708618,
-0.028299028053879738,
-0.02454097382724285,
-0.07565052062273026,
0.0028382055461406708,
0.002836020663380623,
0.0039481427520513535,
0.02151704952120781,
-0.10823198407888412,
0.030291670933365822,
-0.004815554246306419,
0.045306410640478134,
0.022356057539582253,
0.08103415369987488,
-0.044607240706682205,
-0.021919073536992073,
-0.031410347670316696,
0.026149071753025055,
0.02497795596718788,
-0.024942997843027115,
-0.011178028769791126,
0.039293523877859116,
0.06033863127231598,
-0.04020245000720024,
0.06705069541931152,
-0.024051552638411522,
0.03399728983640671,
-0.03434687480330467,
-0.033000968396663666,
0.0052787563763558865,
-0.03231927379965782,
-0.043838147073984146,
0.02595679834485054,
0.05229814350605011,
0.024383658543229103,
0.004732527304440737,
-0.011588793247938156,
0.015748871490359306,
-0.038699228316545486,
-0.018825232982635498,
0.02786204405128956,
0.05502491816878319,
-0.052647728472948074,
0.029487622901797295,
0.006047846749424934,
-0.023282460868358612,
-0.012908481992781162,
0.049361616373062134,
-0.07201482355594635,
-0.0066071851179003716,
0.03887401893734932,
0.050620127469301224,
-0.024628369137644768,
-0.10830190032720566,
-0.01933213323354721,
-0.05219326540827751,
-0.011763585731387138,
-0.007896285504102707,
0.029417704790830612,
0.047998227179050446,
-0.01191216055303812,
0.0668758973479271,
-0.047718558460474014,
0.01051381416618824,
-0.021115025505423546,
-0.003286113264039159,
0.039678070694208145,
-0.019559364765882492,
0.02454097382724285,
0.025991756469011307,
0.016054760664701462,
-0.019961390644311905,
0.03361274302005768,
-0.014481620863080025,
-0.05970937758684158,
0.04289426654577255,
-0.045970626175403595,
0.015967363491654396,
-0.0016146526904776692,
-0.0029081227257847786,
0.09201116859912872,
-0.010242884978652,
0.020485769957304,
0.025310063734650612,
0.02770473062992096,
-0.016570400446653366,
-0.025397460907697678,
-0.049256738275289536,
-0.04205525666475296,
-0.007240810431540012,
0.022932875901460648,
0.005501617677509785,
0.01594114489853382,
0.019524406641721725,
-0.010776003822684288,
-0.025886882096529007,
-0.010793483816087246,
-0.005728848744183779,
-0.013494038954377174,
0.01576635241508484,
-0.02415642887353897,
-0.00613087322562933,
-0.004236551467329264,
-0.02036341466009617,
0.04932665824890137,
-0.010697347111999989,
-0.008027380332350731,
-0.00297804013825953,
-0.02787952497601509,
0.010863400995731354,
-0.005396741908043623,
0.024383658543229103,
-0.041041456162929535,
0.00903681106865406,
0.003685952862724662,
-0.016718974336981773,
0.03632203862071037,
0.02945266291499138,
0.03221439570188522,
-0.013896063901484013,
-0.023072710260748863,
0.005431700497865677,
-0.005536576267331839,
-0.018318332731723785,
0.06925308704376221,
0.051773764193058014,
0.003220565849915147,
0.04446740448474884,
-0.002226429060101509,
0.0308859683573246,
-0.0009264042600989342,
0.007070387247949839,
0.034259479492902756,
-0.029312828555703163,
0.031847331672906876,
-0.03883906081318855,
0.003399728797376156,
-0.008661005645990372,
-0.0331757590174675,
-0.0012268301798030734,
-0.03607732802629471,
0.0347314216196537,
0.009945736266672611,
-0.026376301422715187,
0.01626451313495636,
0.045586079359054565,
0.03279121592640877,
-0.05694764107465744,
-0.005720109213143587,
-0.07607002556324005,
0.008639156818389893,
-0.0016594434855505824,
0.02305523119866848,
0.057087477296590805,
-0.0368114598095417,
0.031148158013820648,
-0.030536381527781487,
-0.03230179473757744,
0.028823407366871834,
0.04698442667722702,
0.0031637579668313265,
-0.0287534911185503,
-0.07565052062273026,
0.015425505116581917,
0.005999778397381306,
0.023020271211862564,
-0.07142052799463272,
-0.034084685146808624,
0.01297839917242527,
0.00048668996896594763,
0.004588323179632425,
0.009010592475533485,
-0.02108006738126278,
0.018195977434515953,
0.007887545973062515,
0.02945266291499138,
0.009928257204592228,
-0.01719091646373272,
-0.06981242448091507,
0.033053405582904816,
0.017444366589188576,
-0.02251337096095085,
0.001954407198354602,
-0.007048537954688072,
-0.007092236541211605,
0.05016566440463066,
-0.024383658543229103,
-0.015268190763890743,
0.051983512938022614,
0.02179671823978424,
0.09732488542795181,
-0.018685398623347282,
-0.03016931563615799,
0.018877672031521797,
-0.021761760115623474,
0.050620127469301224,
0.004118565935641527,
0.0452364943921566,
-0.001730453222990036,
0.053801365196704865,
-0.015469202771782875,
-0.0033538455609232187,
-0.004166634287685156,
-0.060093920677900314,
-0.026358822360634804,
-0.0036269600968807936,
-0.049186822026968,
0.002337859710678458,
-0.021936554461717606,
-0.030676215887069702,
-0.03632203862071037,
0.022163784131407738,
0.05093475431203842,
-0.02108006738126278
]
|
37,189 | apeye_core | Domain |
:class:`typing.NamedTuple` of a URL's subdomain, domain, and suffix.
| class Domain(NamedTuple):
"""
:class:`typing.NamedTuple` of a URL's subdomain, domain, and suffix.
"""
subdomain: str
domain: str
suffix: str
@property
def registered_domain(self):
"""
Joins the domain and suffix fields with a dot, if they're both set.
.. code-block:: python
>>> URL('https://forums.bbc.co.uk').domain.registered_domain
'bbc.co.uk'
>>> URL('https://localhost:8080').domain.registered_domain
''
"""
if self.domain and self.suffix:
return self.domain + '.' + self.suffix
return ''
@property
def fqdn(self):
"""
Returns a Fully Qualified Domain Name, if there is a proper domain/suffix.
.. code-block:: python
>>> URL('https://forums.bbc.co.uk/path/to/file').domain.fqdn
'forums.bbc.co.uk'
>>> URL('https://localhost:8080').domain.fqdn
''
"""
if self.domain and self.suffix:
# self is the namedtuple (subdomain domain suffix)
return '.'.join(i for i in self if i)
return ''
@property
def ipv4(self) -> Optional[ipaddress.IPv4Address]:
"""
Returns the ipv4 if that is what the presented domain/url is.
.. code-block:: python
>>> URL('https://127.0.0.1/path/to/file').domain.ipv4
IPv4Address('127.0.0.1')
>>> URL('https://127.0.0.1.1/path/to/file').domain.ipv4
>>> URL('https://256.1.1.1').domain.ipv4
"""
if not (self.suffix or self.subdomain) and _tld.IP_RE.match(self.domain):
return cast(ipaddress.IPv4Address, ipaddress.ip_address(self.domain))
return None
def __repr__(self) -> str:
"""
Return a string representation of the :class:`~.Domain`.
"""
# This is necessary to get the custom docstring
repr_fmt = f"({', '.join(f'{name}=%r' for name in self._fields)})"
return f"{self.__class__.__name__}{repr_fmt % self}"
| (subdomain: str, domain: str, suffix: str) | [
0.035603366792201996,
0.0312567837536335,
-0.04868176206946373,
0.0003573859576135874,
0.00960595440119505,
-0.0027600820176303387,
-0.01912497729063034,
-0.04566812887787819,
0.056370388716459274,
-0.04203631356358528,
0.04300222173333168,
0.03915790840983391,
0.03861699998378754,
0.02752837724983692,
-0.0017531230114400387,
0.02043861337006092,
0.019443728029727936,
0.0644453838467598,
-0.00629772013053298,
0.0025427527725696564,
-0.006109368056058884,
0.05173403024673462,
0.04319540411233902,
-0.015203391201794147,
0.0014319585170596838,
0.034579504281282425,
0.02223520167171955,
-0.017096571624279022,
-0.013493734411895275,
-0.02150111086666584,
0.03376814350485802,
-0.007287775631994009,
0.01873861439526081,
0.009876408614218235,
0.02484315261244774,
-0.027296559885144234,
-0.011909645050764084,
0.07313854992389679,
-0.06521810591220856,
0.00418721092864871,
-0.025171561166644096,
-0.05354993790388107,
-0.015087482519447803,
-0.047059036791324615,
0.03398064151406288,
0.014778392389416695,
0.011262486688792706,
0.04377495124936104,
-0.10385442525148392,
-0.04698176309466362,
0.026234060525894165,
0.00014443343388848007,
-0.008755955845117569,
-0.04945448786020279,
-0.03585450351238251,
0.04257722198963165,
0.039679501205682755,
0.1499089151620865,
0.003008803352713585,
0.05892038717865944,
0.035352230072021484,
-0.014015324413776398,
-0.02092156745493412,
-0.014063620008528233,
-0.02756701409816742,
0.03481132164597511,
0.010576692409813404,
-0.03869427368044853,
-0.0767703652381897,
0.0034289732575416565,
0.021037476137280464,
-0.010953396558761597,
-0.04126358777284622,
0.003936075139790773,
0.048952214419841766,
-0.018332934007048607,
0.003571444656699896,
0.02965337410569191,
0.0454363115131855,
-0.035352230072021484,
-0.015251686796545982,
-0.037979502230882645,
-0.03112155571579933,
-0.07340900599956512,
0.022022701799869537,
-0.038713593035936356,
0.02291133627295494,
-0.01853577420115471,
0.027779513970017433,
0.05192721262574196,
-0.0673431009054184,
0.013174984604120255,
0.02436019852757454,
0.009774988517165184,
-0.02980791963636875,
-0.04539767652750015,
0.014218165539205074,
-0.004339341539889574,
0.005988629534840584,
-0.012450553476810455,
0.02577042393386364,
-0.031913600862026215,
-0.0928044393658638,
0.02862951159477234,
-0.03349768742918968,
-0.009050557389855385,
-0.05053630471229553,
-0.007360218558460474,
-0.03660791367292404,
-0.050111304968595505,
-0.05660220608115196,
0.010972714982926846,
0.03815336525440216,
0.07321582734584808,
0.03241587057709694,
-0.02519088052213192,
-0.05127039551734924,
0.004547011572867632,
-0.010557373985648155,
0.004189625848084688,
-0.014044301584362984,
0.10339079052209854,
-0.10192260891199112,
0.03542950376868248,
-0.017994865775108337,
0.031198827549815178,
0.019482363015413284,
-0.009876408614218235,
-0.03430905193090439,
-0.049145396798849106,
0.028088603168725967,
0.0635567456483841,
-0.009808795526623726,
0.038076091557741165,
0.04864312708377838,
0.019105659797787666,
0.03405791521072388,
0.029634056612849236,
-0.07279082387685776,
0.07974535971879959,
-0.051618121564388275,
0.034289732575416565,
0.048952214419841766,
-0.031469281762838364,
0.026040878146886826,
0.004039910156279802,
0.013484075665473938,
-0.03824995458126068,
-0.030213601887226105,
-0.013599984347820282,
-0.013638620264828205,
-0.03606700524687767,
0.038848817348480225,
0.02063179388642311,
-0.05231357738375664,
-0.013165325857698917,
-0.03038746491074562,
-0.04690449312329292,
0.020882930606603622,
-0.048411305993795395,
-0.04238404333591461,
-0.05420675501227379,
-0.022099973633885384,
-0.030252238735556602,
0.0019004239002242684,
0.002265054266899824,
0.07429764419794083,
-0.0927271693944931,
0.0006791540654376149,
0.034482914954423904,
0.01169714517891407,
0.06371129304170609,
0.00629772013053298,
0.0558294802904129,
-0.04663403704762459,
0.005988629534840584,
0.023432927206158638,
0.028842011466622353,
-0.01971418224275112,
-0.013725552707910538,
0.07595900446176529,
-0.003832239890471101,
-0.026755651459097862,
0.031817007809877396,
0.035989731550216675,
0.0587272047996521,
-0.0530863031744957,
0.081522636115551,
0.022544292733073235,
0.04902948811650276,
-0.03693632036447525,
-0.0345601886510849,
0.01529032364487648,
-0.015319300815463066,
-0.0013498563785105944,
0.011146578006446362,
-0.016043731942772865,
-0.010026125237345695,
0.02358747273683548,
-0.00476917065680027,
0.000619992206338793,
0.019839750602841377,
-0.018671000376343727,
-0.01688407175242901,
-0.03144996240735054,
-0.00589686818420887,
-0.005863061640411615,
0.007920444943010807,
-0.07657718658447266,
0.004554256331175566,
-0.010972714982926846,
-0.022119292989373207,
-0.026292014867067337,
-0.004503545816987753,
0.012431235983967781,
-0.09867715835571289,
0.0072394805029034615,
0.012663053348660469,
-0.002186574274674058,
0.01713520660996437,
0.12162712961435318,
-0.07151582837104797,
0.0948135256767273,
-0.001093287137337029,
0.040838588029146194,
-0.02596360631287098,
0.03662722930312157,
-0.007075275760143995,
0.005549141205847263,
-0.0426158607006073,
0.047831762582063675,
-0.015145436860620975,
0.031623825430870056,
-0.018574411049485207,
0.046711310744285583,
0.010064761154353619,
0.008490331470966339,
0.008041183464229107,
0.061624929308891296,
0.01441134698688984,
-0.025017017498612404,
0.02804996818304062,
-0.018671000376343727,
0.004508375655859709,
-0.0005155534017831087,
-0.01670054905116558,
-0.011049986816942692,
0.005621584597975016,
0.007543741259723902,
-0.05099993944168091,
-0.05888174846768379,
0.026659060269594193,
-0.01497157383710146,
0.03382609784603119,
0.029595419764518738,
-0.019347136840224266,
-0.04910676181316376,
-0.05571357160806656,
0.023432927206158638,
-0.011774417944252491,
-0.010180669836699963,
-0.051424939185380936,
0.020902248099446297,
0.03434768691658974,
-0.014720437116920948,
0.011252827942371368,
0.023239746689796448,
-0.027142014354467392,
0.014846005477011204,
0.030117010697722435,
0.036240868270397186,
0.060156747698783875,
-0.013938051648437977,
-0.0009653042652644217,
0.0049116420559585094,
-0.02072838507592678,
0.03320791572332382,
-0.006737207993865013,
0.028127240017056465,
-0.018371568992733955,
-0.00314886006526649,
-0.025557925924658775,
-0.025712469592690468,
-0.04644085466861725,
0.09643625468015671,
-0.005491186864674091,
-0.055790845304727554,
0.02586701512336731,
-0.019424408674240112,
0.022969292476773262,
0.008422717452049255,
-0.0567953884601593,
0.016130663454532623,
0.006655105855315924,
-0.016517026349902153,
0.011339759454131126,
-0.017212480306625366,
0.027876103296875954,
0.06494764983654022,
-0.054438572376966476,
-0.043659038841724396,
0.06135447323322296,
0.05946129560470581,
0.041031770408153534,
0.019482363015413284,
-0.033169280737638474,
0.002064628293737769,
0.003074002219364047,
0.039389725774526596,
0.019096000120043755,
0.0031271271873265505,
-0.01887384243309498,
-0.03633745759725571,
0.04389085993170738,
0.03148860111832619,
0.055404480546712875,
-0.014353392645716667,
-0.02781814895570278,
-0.030909055843949318,
0.03975677117705345,
-0.037979502230882645,
0.000886220543179661,
-0.03413518890738487,
0.0039481488056480885,
0.003907097969204187,
-0.027006786316633224,
-0.012643735855817795,
0.02436019852757454,
-0.015551118180155754,
0.019482363015413284,
0.004740193486213684,
0.015068164095282555,
-0.01533861830830574,
0.015000551007688046,
-0.027644285932183266,
-0.04439312964677811,
0.025751106441020966,
0.02063179388642311,
0.06158629432320595,
-0.04597721993923187,
-0.011359077878296375,
-0.05146357789635658,
-0.07004764676094055,
0.001591333420947194,
0.02772155962884426,
-0.06803856045007706,
-0.029537465423345566,
0.00561675475910306,
0.04570676386356354,
-0.023761335760354996,
0.017994865775108337,
0.01781134307384491,
-0.04732948914170265,
0.014739755541086197,
0.036665868014097214,
-0.04192040488123894,
-0.03336246311664581,
-0.01882554590702057,
0.05227493867278099,
0.03546814247965813,
0.03112155571579933,
-0.07240445911884308,
-0.02266020141541958,
-0.01699032075703144,
0.024920426309108734,
-0.02669769711792469,
0.02121133916079998,
0.008137774653732777,
0.0074133435264229774,
-0.01830395683646202,
-0.021674975752830505,
-0.019240885972976685,
0.008490331470966339,
-0.07510900497436523,
0.0026345138903707266,
-0.027644285932183266,
0.02791474014520645,
0.046711310744285583,
-0.076693095266819,
-0.046518128365278244,
0.015464186668395996,
-0.0030788315925747156,
0.0851544439792633,
0.05099993944168091,
-0.014111915603280067,
0.012460213154554367,
0.06753628700971603,
0.030599964782595634,
-0.026040878146886826,
0.08345445245504379,
0.026234060525894165,
-0.001955963671207428,
-0.007051128428429365,
-0.012952825985848904,
-0.03805677592754364,
-0.038076091557741165,
-0.07360218465328217,
-0.04114767909049988,
-0.014179528690874577,
0.004153404384851456,
0.04748403653502464,
-0.026137469336390495,
0.001498364727012813,
0.05324084684252739,
0.020110204815864563,
0.017801683396100998,
0.08654535561800003,
0.03430905193090439,
-0.023471564054489136,
0.05818629637360573,
-0.00660198088735342,
-0.030464736744761467,
-0.0520431213080883,
-0.0568726621568203,
0.057490844279527664,
-0.0058002774603664875,
0.008427547290921211,
0.03235791623592377,
0.019685205072164536,
0.011880667880177498,
-0.011706804856657982,
-0.04566812887787819,
0.01975281722843647,
0.029247693717479706,
-0.018960773944854736,
0.014382369816303253,
-0.013174984604120255,
-0.01999429427087307,
0.02708406001329422,
0.011677827686071396,
-0.0003145237860735506,
-0.012682371772825718,
-0.03224200755357742,
-0.007094594184309244,
0.07197946310043335,
-0.05269993841648102,
-0.004235506523400545,
0.0036197402514517307,
0.006283231545239687,
-0.06467720121145248,
-0.016623275354504585,
0.007447150535881519,
0.022447701543569565,
-0.001030503073707223,
0.05451584607362747,
-0.005650561768561602,
-0.03703291341662407,
-0.023761335760354996,
0.04052949696779251,
-0.014981232583522797,
0.0017676115967333317,
0.036472685635089874,
0.08863171935081482,
0.022795427590608597,
-0.04377495124936104,
-0.02781814895570278,
-0.022582927718758583,
-0.03148860111832619,
-0.006635787896811962,
-0.007761070504784584,
-0.018555091693997383,
0.02076702192425728,
0.055559027940034866,
-0.012392599135637283,
-0.035352230072021484,
0.004870590753853321,
0.06780674308538437,
-0.06004083901643753,
-0.0464022196829319,
-0.042152222245931625,
-0.017782365903258324,
0.008330956101417542,
0.018854523077607155,
0.002033236203715205,
-0.014198847115039825,
0.016623275354504585,
0.013532370328903198,
-0.006046583876013756,
-0.012653394602239132,
-0.08932717144489288,
0.003994029480963945,
-0.013348848558962345,
0.021906793117523193,
0.04493403807282448,
0.03662722930312157,
-0.009016751311719418,
0.011272146366536617,
0.061045385897159576,
0.014768732711672783,
0.025036334991455078,
-0.026929514482617378,
0.028223831206560135,
-0.009094023145735264,
-0.04659540206193924,
-0.04381358623504639,
0.008915330283343792,
-0.00653919717296958,
-0.0038926091510802507,
-0.02374201826751232,
-0.0316624641418457,
-0.006065902300179005,
-0.06521810591220856,
0.04655676335096359,
-0.03023291938006878,
0.07039537280797958,
-0.0006399140111170709,
-0.020322704687714577,
0.025132926180958748,
-0.02310451865196228,
-0.057143114507198334,
-0.07715672999620438,
-0.002277128165587783,
0.03707154840230942,
-0.016246572136878967,
0.048759035766124725,
0.02528747171163559,
-0.021327247843146324,
0.02795337699353695,
0.02014883980154991,
-0.05756811425089836,
-0.013715893030166626,
0.048952214419841766,
0.013657938688993454,
0.05664084479212761,
-0.009808795526623726,
-0.010673283599317074,
0.006872435100376606,
0.003950563725084066,
-0.013184644281864166,
0.048797670751810074,
0.07294537127017975,
-0.019549977034330368,
0.008408228866755962,
-0.0009900556178763509,
0.020226113498210907,
0.08051808923482895,
-0.1022317036986351,
-0.027064740657806396,
-0.016275549307465553,
0.08074990659952164,
0.026581786572933197,
0.035120412707328796,
-0.04149540513753891,
-0.055790845304727554,
-0.026852242648601532,
-0.05324084684252739,
-0.019974976778030396,
0.04474085569381714,
0.04412267729640007,
0.04014313593506813,
0.018506797030568123,
-0.010489760898053646,
0.034927234053611755,
-0.04168858751654625,
-0.014652824029326439,
0.02631133235991001,
-0.05130903050303459,
0.033961325883865356,
0.004571159370243549,
-0.0009314974886365235,
-0.02592496946454048,
-0.0373806394636631,
0.000477218913147226,
0.002888064831495285,
-0.010914759710431099,
0.03747722879052162,
0.005969311110675335,
-0.03956359252333641,
-0.005611925385892391,
0.015570436604321003,
-0.033710189163684845,
0.0008161922451108694,
0.027006786316633224,
0.04091586172580719,
0.02859087660908699,
0.037979502230882645,
-0.023799972608685493,
-0.044045403599739075,
-0.0022179661318659782,
0.014295438304543495,
-0.00045427860459312797,
0.06568174064159393,
-0.0054428912699222565,
-0.034579504281282425,
-0.014903959818184376,
0.008644876070320606,
-0.0014283363707363605,
0.025268152356147766,
-0.00498891482129693,
-0.04435449466109276,
-0.035989731550216675,
0.030851101502776146,
-0.0013039758196100593,
0.022389747202396393,
0.015879526734352112,
-0.017096571624279022,
-0.06038856506347656,
-0.044431768357753754,
0.03716813772916794,
-0.022312473505735397,
-0.025442015379667282,
0.05092266947031021,
-0.014961914159357548,
0.0015309641603380442,
0.013435780070722103,
-0.03241587057709694,
0.0473681278526783,
-0.03571927547454834,
-0.009292034432291985,
-0.06680219620466232,
0.016710208728909492,
-0.00975567102432251,
-0.02843633107841015,
-0.027103377506136894,
0.0017024128464981914,
-0.07885672897100449,
-0.028957922011613846,
0.02432156354188919,
-0.03755450248718262,
-0.06517946720123291,
-0.0006368955946527421,
0.02509428933262825,
0.006915901321917772,
0.02922837622463703,
-0.02849428541958332,
-0.029711328446865082,
0.024592017754912376,
0.008606240153312683,
-0.017492594197392464,
-0.022834064438939095,
0.02936360239982605,
0.02528747171163559,
-0.035217005759477615,
-0.06054311245679855,
-0.014305097050964832,
-0.02237042784690857,
0.015782935544848442,
-0.01887384243309498,
0.010161352343857288,
0.026195423677563667,
-0.05285448580980301,
-0.02105679363012314,
-0.0019644154235720634,
0.03508177772164345,
-0.03139200806617737,
0.03481132164597511,
-0.035699959844350815,
-0.07935900241136551,
0.0009960925672203302,
-0.021829519420862198,
-0.002415977418422699,
0.0577612966299057,
0.03616359457373619,
-0.033961325883865356,
-0.01892213709652424,
0.028957922011613846,
-0.013899415731430054,
-0.01805282011628151,
0.011851690709590912,
-0.01050907839089632,
0.03430905193090439,
-0.0701635554432869,
0.024476107209920883,
-0.04029767960309982,
0.008123286068439484,
0.02522951550781727,
0.019144296646118164,
0.025422697886824608,
0.040027227252721786,
-0.03195223584771156,
-0.006191470194607973,
0.03206814453005791,
-0.029769284650683403,
0.0030909054912626743,
0.03925450146198273,
-0.02105679363012314,
0.007046298589557409,
-0.009050557389855385,
-0.0407613180577755,
-0.006196299567818642,
0.08940444141626358,
-0.041031770408153534,
-0.017647137865424156,
-0.036665868014097214,
-0.021926110610365868,
0.013561348430812359,
0.08167717605829239,
-0.01108862366527319,
0.02169429324567318,
-0.03792154788970947,
0.011272146366536617,
0.0003930038074031472,
0.009016751311719418,
0.002938775112852454,
0.00492854556068778,
-0.005805106833577156,
0.003791188821196556,
-0.05810902267694473,
0.02907383069396019,
-0.04844994470477104,
-0.0019656226504594088,
0.005481527652591467,
0.0027721559163182974,
0.026485197246074677,
0.013532370328903198,
0.05490221083164215,
0.01291419006884098,
0.0035859334748238325,
0.020206794142723083,
0.02490110695362091,
0.01147498656064272,
0.025905651971697807,
0.005220732651650906,
-0.0501885786652565,
0.017260774970054626,
-0.06150902062654495,
0.05250675603747368,
0.030252238735556602,
0.012865894474089146,
0.02596360631287098,
0.039872679859399796,
-0.0015792595222592354,
0.06286129355430603,
-0.015715323388576508,
0.005732663907110691,
-0.011021009646356106,
-0.040606770664453506,
-0.010634646750986576,
-0.04049086198210716,
0.019685205072164536,
-0.03626018390059471,
0.10161352157592773,
-0.012479530647397041,
0.05362721160054207,
-0.0085386261343956,
-0.03106360137462616,
0.0018231512513011694,
-0.00406647240743041,
-0.02814655750989914,
0.01533861830830574,
0.012798280455172062,
0.006466753780841827,
0.052584029734134674,
-0.006983514875173569,
-0.006558515131473541,
-0.01737668365240097,
0.008813910186290741,
0.02673633210361004,
0.02563519775867462,
0.006655105855315924,
0.029093148186802864,
0.05401357263326645,
-0.050304487347602844,
-0.02868746779859066,
0.004010932985693216,
-0.07085900753736496,
0.050265852361917496,
-0.0397954098880291,
-0.052584029734134674,
-0.014092597179114819,
-0.02830110304057598,
0.03633745759725571,
0.048797670751810074,
0.006413628812879324,
-0.0009139904286712408,
0.006635787896811962,
-0.04582267254590988,
0.03365223482251167
]
|
37,196 | urllib.parse | ParseResult | null | class ParseResult(_ParseResultBase, _NetlocResultMixinStr):
__slots__ = ()
def geturl(self):
return urlunparse(self)
| (scheme, netloc, path, params, query, fragment) | [
-0.015351524576544762,
0.0017552237259224057,
-0.04843348264694214,
0.031237635761499405,
-0.013186451978981495,
0.012634046375751495,
0.022292232140898705,
-0.004971649032086134,
0.04536852240562439,
-0.0094978092238307,
0.03455206751823425,
0.02186456322669983,
0.008642472326755524,
0.051997389644384384,
0.01430017314851284,
0.02911711111664772,
0.0021851197816431522,
0.02453749254345894,
-0.019940054044127464,
0.03360763192176819,
-0.07209781557321548,
0.016073215752840042,
0.03408876061439514,
0.037955597043037415,
0.014086338691413403,
0.03316214680671692,
0.04707919806241989,
-0.05998053774237633,
-0.003358981339260936,
-0.007564390543848276,
0.009676004759967327,
0.02049245871603489,
0.006272474303841591,
0.015182239934802055,
0.004532842896878719,
-0.01090555265545845,
-0.045332882553339005,
0.03416004031896591,
-0.042267926037311554,
-0.014861487783491611,
-0.04451318457722664,
-0.03166530653834343,
-0.03866837918758392,
-0.011146116070449352,
0.0754835307598114,
-0.01008585374802351,
-0.0399513877928257,
0.019548024982213974,
-0.05370806157588959,
-0.10349582880735397,
-0.001095344196073711,
0.07113556563854218,
-0.0336967296898365,
-0.006628864910453558,
-0.013569572009146214,
0.021116143092513084,
0.0218111053109169,
0.12188558280467987,
-0.015895020216703415,
0.056559186428785324,
-0.036191463470458984,
-0.03285921365022659,
0.0012495944974943995,
0.03734973445534706,
0.0005576955736614764,
-0.0004569038865156472,
-0.02970515564084053,
0.02220313437283039,
-0.020064789801836014,
0.04330145940184593,
0.052068665623664856,
0.004637532867491245,
-0.04786325618624687,
-0.002336585894227028,
0.08204111456871033,
-0.019476747140288353,
-0.007395104970782995,
-0.006664504297077656,
0.03132673352956772,
0.010032394900918007,
0.006544222589582205,
0.03963063284754753,
-0.0068783387541770935,
-0.08018788695335388,
-0.04134130850434303,
-0.05260325223207474,
0.010201680473983288,
-0.12095896899700165,
-0.07918999344110489,
0.09672440588474274,
-0.04287378862500191,
-0.012651866301894188,
-0.05680866166949272,
-0.0039626178331673145,
-0.013703218661248684,
0.0419115349650383,
-0.009676004759967327,
-0.04372912645339966,
0.025695761665701866,
-0.07847721129655838,
0.02473350800573826,
0.0382407121360302,
-0.12487926334142685,
-0.03898913040757179,
-0.01312408410012722,
-0.016821635887026787,
0.003174103796482086,
-0.0357816144824028,
0.015948479995131493,
0.037955597043037415,
0.004287824500352144,
0.011823258362710476,
-0.027442075312137604,
0.06386519223451614,
0.04301634430885315,
-0.026141250506043434,
-0.038882214576005936,
-0.01275878306478262,
0.002226327545940876,
0.014567465521395206,
-0.011520326137542725,
0.038490183651447296,
-0.0615130178630352,
0.0033879380207508802,
0.012179648503661156,
0.05488415062427521,
-0.011306491680443287,
-0.04408551752567291,
0.05869753286242485,
-0.03595981001853943,
0.019441107288002968,
0.04590310901403427,
-0.0018844152800738811,
-0.024323659017682076,
0.0005919425166212022,
0.0338214673101902,
-0.05217558518052101,
0.015895020216703415,
-0.042339202016592026,
0.04761378467082977,
-0.013676488772034645,
0.0691041350364685,
0.03610236942768097,
-0.033073049038648605,
-0.0399513877928257,
-0.021365616470575333,
0.048005811870098114,
0.0029803162906318903,
-0.011520326137542725,
-0.010959010571241379,
0.037314094603061676,
-0.04087800160050392,
0.08417946100234985,
0.03337597846984863,
-0.0037621483206748962,
0.008468731306493282,
-0.004967194050550461,
-0.008401907980442047,
-0.01393487211316824,
-0.07238292694091797,
-0.003570588305592537,
-0.06475616991519928,
0.015609907917678356,
-0.03831198811531067,
0.02728169970214367,
-0.027958841994404793,
0.10941191017627716,
-0.031629666686058044,
-0.03100598230957985,
0.021133963018655777,
-0.012429121881723404,
0.0419115349650383,
-0.05998053774237633,
0.05406445264816284,
0.029883351176977158,
0.051534079015254974,
0.022969374433159828,
0.03416004031896591,
0.013676488772034645,
-0.000037414050893858075,
0.01122630387544632,
-0.021365616470575333,
-0.027691548690199852,
0.012491490691900253,
0.05139152333140373,
-0.010825364850461483,
-0.011760889552533627,
0.01737404242157936,
-0.013569572009146214,
0.04451318457722664,
-0.015422803349792957,
-0.03831198811531067,
0.0053725880570709705,
-0.02512553706765175,
0.021508172154426575,
-0.0218111053109169,
-0.025410650297999382,
0.07195526361465454,
-0.00015912283561192453,
0.03595981001853943,
-0.05135588347911835,
0.010255139321088791,
-0.052389416843652725,
0.008562284521758556,
-0.025499748066067696,
-0.0010290778009220958,
-0.0397019125521183,
-0.003477035788819194,
0.012972617521882057,
0.03294831141829491,
-0.004047260619699955,
0.026034332811832428,
-0.008771663531661034,
0.035407405346632004,
-0.00009292606409871951,
-0.04198281094431877,
-0.02877853997051716,
0.05502671003341675,
0.04675844684243202,
0.017124569043517113,
0.06290294229984283,
-0.0938732847571373,
0.06668068468570709,
-0.022666441276669502,
-0.04016521945595741,
0.00887412577867508,
0.005047381855547428,
-0.014906036667525768,
-0.03205733373761177,
-0.03448079153895378,
0.011190664954483509,
-0.04308762401342392,
0.04903934523463249,
0.028386510908603668,
0.0482909269630909,
-0.03360763192176819,
0.018247198313474655,
0.0656827837228775,
0.011618333868682384,
-0.02362869679927826,
-0.01599302887916565,
0.013471564278006554,
-0.05491979047656059,
0.022292232140898705,
-0.011671791784465313,
0.014148706570267677,
0.0197262205183506,
0.041947174817323685,
-0.00628583924844861,
-0.007350556086748838,
0.04497649520635605,
0.0098631102591753,
-0.014415999874472618,
0.01618904247879982,
0.008958769030869007,
-0.026087792590260506,
-0.06700143218040466,
-0.03695770353078842,
0.02337922342121601,
-0.007698036730289459,
0.016028666868805885,
-0.0598023422062397,
0.02774500846862793,
0.0002721654891502112,
-0.03310868516564369,
-0.010433334857225418,
0.01828283816576004,
-0.005002832971513271,
-0.007141176611185074,
0.06261783093214035,
0.08988171070814133,
-0.03870401903986931,
-0.028047939762473106,
0.00732828164473176,
-0.054812874644994736,
0.048148371279239655,
-0.043515291064977646,
-0.026479821652173996,
-0.0025949690025299788,
-0.0781920999288559,
-0.02533937245607376,
0.0016984239919111133,
0.004321236163377762,
-0.09137854725122452,
0.046829722821712494,
-0.020902307704091072,
0.02703222632408142,
0.06072895973920822,
-0.04490521550178528,
-0.012838970869779587,
0.01665235124528408,
-0.03906041011214256,
-0.03948807716369629,
-0.015324795618653297,
0.06536203622817993,
-0.0014589739730581641,
-0.039594996720552444,
0.031308915466070175,
-0.0023454956244677305,
-0.017917538061738014,
-0.07976021617650986,
-0.07270368188619614,
-0.027103504166007042,
0.04490521550178528,
-0.013943782076239586,
0.05338731035590172,
0.01475457102060318,
0.011475777253508568,
0.023201027885079384,
0.02257734350860119,
0.02820831537246704,
0.029812073335051537,
-0.09394456446170807,
0.020670654252171516,
-0.014736751094460487,
0.06589662283658981,
0.008223713375627995,
-0.0018821879057213664,
-0.00106471695471555,
0.01840757392346859,
-0.050108518451452255,
-0.044228073209524155,
0.020813211798667908,
0.0339462049305439,
0.03473026305437088,
-0.00028845365159213543,
-0.038418907672166824,
0.02865380421280861,
-0.0191203560680151,
0.03271665796637535,
0.021918021142482758,
0.022167494520545006,
-0.02031426504254341,
-0.021632909774780273,
-0.036191463470458984,
-0.07434307783842087,
-0.002050359733402729,
-0.03902477025985718,
0.023343583568930626,
-0.019245091825723648,
0.01364975981414318,
-0.047827620059251785,
-0.01840757392346859,
-0.0019189405720680952,
0.024109823629260063,
-0.015574268996715546,
-0.02323666773736477,
0.00719463499262929,
0.06824880093336105,
-0.06129918247461319,
-0.05399317666888237,
-0.016295960173010826,
-0.004205408971756697,
0.05502671003341675,
0.04519032686948776,
0.004463792312890291,
-0.019565843045711517,
-0.03145147114992142,
0.025571025907993317,
-0.020670654252171516,
0.027121324092149734,
-0.06507692486047745,
-0.02578485943377018,
-0.033465076237916946,
0.029616057872772217,
-0.05217558518052101,
0.03636965900659561,
-0.003764375811442733,
0.037242818623781204,
-0.021187420934438705,
-0.04401423782110214,
-0.020866669714450836,
-0.02369997464120388,
-0.08981043100357056,
0.016367238014936447,
0.0012696415651589632,
0.04936009645462036,
0.012197468429803848,
-0.0725611224770546,
-0.015502991154789925,
0.016687989234924316,
0.0379912368953228,
-0.015333705581724644,
-0.003332252148538828,
0.08695930242538452,
0.012687505222856998,
0.012295475229620934,
0.05762835964560509,
-0.018585769459605217,
0.053316034376621246,
0.0060096364468336105,
-0.0061922864988446236,
-0.014736751094460487,
-0.000542660360224545,
-0.010611530393362045,
-0.005586422514170408,
-0.015253517776727676,
-0.033981844782829285,
-0.029918991029262543,
-0.005537419114261866,
0.032021693885326385,
0.0078717777505517,
0.009934388101100922,
0.06318805366754532,
-0.006588771007955074,
-0.02877853997051716,
0.04094928130507469,
0.02318320795893669,
-0.06967436522245407,
-0.0647205337882042,
0.013854684308171272,
-0.05067874491214752,
-0.06493436545133591,
-0.06867647171020508,
-0.0012841199059039354,
0.024573132395744324,
0.0075242966413497925,
0.03068523108959198,
0.004584074020385742,
0.05092821642756462,
-0.01697310246527195,
-0.011832168325781822,
0.0006715735071338713,
0.004815727937966585,
-0.038490183651447296,
-0.004363557323813438,
0.030792146921157837,
-0.042196646332740784,
0.03180786222219467,
-0.007083263248205185,
0.04290942847728729,
-0.0001422081986675039,
-0.017480958253145218,
-0.03713589906692505,
0.02264862321317196,
-0.004494976252317429,
-0.03262756019830704,
0.003670823061838746,
0.01953020505607128,
0.006138828117400408,
-0.018300658091902733,
0.03622710332274437,
-0.008508825674653053,
0.06589662283658981,
0.11240559816360474,
-0.045724913477897644,
-0.02318320795893669,
-0.002955814590677619,
-0.0629742220044136,
-0.03022192232310772,
-0.04921754077076912,
0.00936416257172823,
0.04248175770044327,
-0.012144009582698345,
-0.018300658091902733,
0.011475777253508568,
-0.010264049284160137,
0.016295960173010826,
-0.012794422917068005,
0.057877834886312485,
-0.024181101471185684,
0.0336967296898365,
-0.0026462001260370016,
-0.009488899260759354,
-0.08225495368242264,
0.045083411037921906,
-0.014433818869292736,
-0.0062902942299842834,
-0.0556325726211071,
-0.05235378071665764,
-0.10399477928876877,
-0.039202965795993805,
-0.026087792590260506,
0.009889839217066765,
-0.027691548690199852,
0.02990117110311985,
-0.007359466049820185,
-0.03207515552639961,
0.03250282257795334,
-0.05762835964560509,
-0.06411466747522354,
-0.024270199239253998,
0.05684430152177811,
0.025642303749918938,
0.006931797135621309,
0.02860034629702568,
0.05313783884048462,
0.003450306598097086,
0.030934704467654228,
0.015895020216703415,
-0.02166854776442051,
0.07270368188619614,
-0.015850471332669258,
-0.01592174917459488,
-0.05099949613213539,
0.032538462430238724,
-0.004606348462402821,
0.014139796607196331,
-0.020064789801836014,
-0.025998694822192192,
0.033643271774053574,
-0.051605358719825745,
0.02605215273797512,
-0.01814028061926365,
0.050963856279850006,
0.036530036479234695,
0.011208483949303627,
0.045938748866319656,
-0.02532155252993107,
-0.029028013348579407,
-0.05438520386815071,
0.03742101415991783,
0.042196646332740784,
0.009110234677791595,
-0.013034986332058907,
-0.019369829446077347,
-0.004058397840708494,
0.0017374041490256786,
-0.015030773356556892,
-0.026586739346385002,
0.03742101415991783,
0.029420044273138046,
-0.008807302452623844,
-0.020813211798667908,
-0.031700942665338516,
0.02963387779891491,
-0.026586739346385002,
0.055775128304958344,
-0.026818392798304558,
-0.0002837203210219741,
0.042802512645721436,
-0.015137691050767899,
0.0008018788648769259,
0.018621409311890602,
0.06097843125462532,
0.0725611224770546,
-0.04597438871860504,
0.00003991992343799211,
-0.02820831537246704,
0.033785827457904816,
0.02213185653090477,
0.005524054169654846,
-0.042659953236579895,
-0.02820831537246704,
0.00190112111158669,
0.0014745660591870546,
-0.015574268996715546,
0.10078725963830948,
-0.0009500036831013858,
0.011627242900431156,
-0.012660776264965534,
-0.0024479578714817762,
-0.00891422014683485,
-0.030970342457294464,
0.06650248914957047,
0.025838319212198257,
-0.024002905935049057,
-0.008303901180624962,
0.02257734350860119,
-0.007074353285133839,
0.011083747260272503,
-0.006499673705548048,
-0.06283166259527206,
0.031629666686058044,
-0.03710026293992996,
0.03180786222219467,
-0.0015881656436249614,
0.012224197387695312,
-0.048219647258520126,
-0.02963387779891491,
0.0218111053109169,
-0.027762828394770622,
0.003488173009827733,
0.017195846885442734,
0.06607481837272644,
0.008660291321575642,
0.0006309227319434285,
-0.004539525136351585,
0.0732739046216011,
-0.002050359733402729,
0.028119217604398727,
0.031219815835356712,
0.03531830757856369,
-0.01872832514345646,
-0.03636965900659561,
-0.04287378862500191,
-0.04903934523463249,
-0.01469220221042633,
0.06439977884292603,
-0.028154857456684113,
0.013863594271242619,
-0.0259808748960495,
-0.03330470249056816,
0.033126506954431534,
0.019369829446077347,
-0.04134130850434303,
-0.04315889999270439,
-0.015788104385137558,
-0.0197262205183506,
0.006312568672001362,
0.03474808484315872,
0.019423287361860275,
0.006205651443451643,
0.018621409311890602,
0.012936978600919247,
0.015511901117861271,
-0.03636965900659561,
0.0458318293094635,
-0.010068034753203392,
-0.004452655091881752,
0.03670823201537132,
-0.06511256098747253,
0.006673413794487715,
-0.0074129244312644005,
-0.040842361748218536,
-0.004788998514413834,
-0.008139070123434067,
0.03036447986960411,
-0.0477919802069664,
0.007207999937236309,
0.03207515552639961,
0.0026216984260827303,
-0.002236350905150175,
0.05527618154883385,
-0.025553205981850624,
-0.013070625253021717,
0.024501854553818703,
0.0394524410367012,
0.012099460698664188,
0.009987846948206425,
0.004434835631400347,
-0.0017897490179166198,
0.01018386147916317,
-0.03373236954212189,
-0.036191463470458984,
-0.03674387186765671,
0.06019437313079834,
0.018095731735229492,
0.03579943627119064,
0.006882793270051479,
-0.014549646526575089,
0.0018955525010824203,
-0.037634845823049545,
-0.004673171788454056,
-0.07762186974287033,
-0.02247042767703533,
-0.0022419195156544447,
-0.00321419769898057,
0.04009394347667694,
0.020029151812195778,
0.026479821652173996,
0.01598411798477173,
0.11155025660991669,
0.008210347965359688,
-0.025891777127981186,
0.010059124790132046,
0.02533937245607376,
0.0064239404164254665,
0.0042989617213606834,
0.020403360947966576,
-0.06112098693847656,
0.006713507696986198,
0.005274580791592598,
-0.028386510908603668,
-0.0031473743729293346,
0.038098156452178955,
-0.0020202891901135445,
-0.00871820468455553,
-0.021169601008296013,
-0.04993032291531563,
-0.016750358045101166,
0.05452776327729225,
-0.031095080077648163,
0.00969382468611002,
-0.012678595259785652,
-0.02323666773736477,
-0.00832617562264204,
-0.02956259995698929,
-0.007043169345706701,
0.0015514128608629107,
0.038882214576005936,
-0.003220879938453436,
-0.016554342582821846,
0.008499915711581707,
-0.036013271659612656,
0.03435605391860008,
0.007047623861581087,
0.0002550420176703483,
0.05139152333140373,
-0.05288836359977722,
-0.02095576748251915,
-0.0007634554640389979,
-0.0307565089315176,
0.002951359609141946,
-0.02729951962828636,
0.04661589115858078,
0.0012384572764858603,
-0.07477074861526489,
0.04176897928118706,
0.016402877867221832,
0.04761378467082977,
-0.02232787013053894,
-0.020136069506406784,
-0.04672280699014664,
0.03448079153895378,
0.02173982560634613,
0.036138005554676056,
-0.01507532224059105,
-0.056559186428785324,
0.030453575775027275,
0.02232787013053894,
-0.01188562624156475,
-0.033197782933712006,
-0.027727188542485237,
0.03644093871116638,
0.01285679079592228,
0.02188238315284252,
0.02252388559281826,
0.004441517870873213,
0.0706009790301323,
0.01737404242157936,
-0.05064310505986214,
0.030667411163449287,
0.08339539915323257,
-0.020332083106040955,
0.013186451978981495,
-0.0502510741353035,
-0.010290778242051601,
0.053636785596609116,
0.020011331886053085,
-0.07726547867059708,
0.062190160155296326,
-0.002392271999269724,
-0.0153782544657588,
-0.006980801001191139,
-0.03791996091604233,
0.01149359717965126,
0.005573058035224676,
0.06358008086681366,
0.043444015085697174,
-0.0221853144466877,
-0.003189695766195655,
0.025606663897633553,
-0.026622377336025238,
-0.03298395127058029,
-0.0297764353454113,
0.0250008013099432,
0.044691380113363266,
-0.0402008593082428,
0.0015614363364875317,
0.0007790475501678884,
0.012651866301894188,
0.03649439662694931,
0.015609907917678356,
0.025838319212198257,
-0.03898913040757179,
0.009381982497870922,
0.029722975566983223,
-0.009524539113044739,
0.022024938836693764,
-0.032681018114089966,
0.036601316183805466,
-0.009310704655945301,
0.01853231154382229,
-0.058911364525556564,
0.023414861410856247,
0.013587391935288906,
0.01828283816576004
]
|
37,198 | namedtuple_ParseResult | __new__ | Create new instance of ParseResult(scheme, netloc, path, params, query, fragment) | from builtins import function
| (_cls, scheme, netloc, path, params, query, fragment) | [
0.009987438097596169,
-0.03448875993490219,
0.019406022503972054,
0.011531468480825424,
0.012425380758941174,
0.06140364706516266,
-0.0008573431405238807,
0.005846999119967222,
-0.012457886710762978,
-0.02476949617266655,
-0.015155876986682415,
0.03673166781663895,
0.0068709347397089005,
0.005513813346624374,
-0.06845743209123611,
-0.00024112776736728847,
0.03549644351005554,
0.0906914621591568,
-0.028101351112127304,
-0.002236812375485897,
-0.06644206494092941,
0.018658388406038284,
0.036829184740781784,
-0.01482269074767828,
0.03001919947564602,
0.1003132089972496,
0.037869375199079514,
-0.04498816654086113,
0.010848844423890114,
-0.052789583802223206,
-0.010718820616602898,
-0.04229017719626427,
0.004028700292110443,
-0.0029092782642692327,
-0.0009629873093217611,
-0.04924644157290459,
0.023127948865294456,
0.04050235450267792,
-0.061208613216876984,
-0.07209809124469757,
0.03507386893033981,
0.01135268621146679,
-0.011247041635215282,
0.003183546708896756,
-0.008768467232584953,
-0.00689125107601285,
-0.02332298457622528,
-0.0341637022793293,
0.01773197017610073,
0.010336876846849918,
0.006306144874542952,
-0.037056729197502136,
0.06715719401836395,
-0.014066928997635841,
-0.015350911766290665,
0.07482858747243881,
0.01045877393335104,
0.019666070118546486,
-0.03968970477581024,
0.04989656060934067,
-0.03315601870417595,
0.023810572922229767,
-0.026394791901111603,
-0.041997626423835754,
0.028020087629556656,
0.03588651493191719,
-0.04352540150284767,
-0.017244379967451096,
-0.057340409606695175,
0.029889175668358803,
-0.06107858940958977,
0.014042549766600132,
0.0058510624803602695,
-0.030230488628149033,
0.055910151451826096,
-0.01782948710024357,
-0.09316191077232361,
-0.01740691065788269,
0.009174791164696217,
-0.022039001807570457,
0.01517212949693203,
-0.036829184740781784,
-0.012864210642874241,
0.033643607050180435,
-0.027678774669766426,
-0.040534857660532,
-0.03799939900636673,
0.001794935204088688,
-0.012669174931943417,
0.009207296185195446,
-0.05431736260652542,
-0.016456112265586853,
-0.0481412410736084,
0.027044910937547684,
0.003520795376971364,
-0.006586508359760046,
0.01877215877175331,
-0.02301417849957943,
0.03377363085746765,
-0.04784868657588959,
0.061858732253313065,
0.01950354129076004,
0.007000958546996117,
-0.05464242026209831,
0.040567364543676376,
0.04784868657588959,
0.00470929266884923,
0.015342785976827145,
-0.023599283769726753,
0.007021274883300066,
-0.046515945345163345,
0.010028070770204067,
0.016919322311878204,
-0.014497632160782814,
-0.004473624750971794,
-0.03289597108960152,
0.02541961520910263,
0.004266399424523115,
0.02199024148285389,
0.012766692787408829,
0.01708185113966465,
0.04313533008098602,
0.0028523928485810757,
-0.010182473808526993,
0.10252360999584198,
0.05483745411038399,
0.02296542003750801,
0.013953158631920815,
0.05096925422549248,
-0.0007715072715654969,
0.004384233616292477,
0.028020087629556656,
-0.04573580250144005,
0.03250590339303017,
-0.04560577869415283,
-0.010588797740638256,
-0.01585475355386734,
0.0447281189262867,
0.005964832846075296,
0.03832445666193962,
-0.041997626423835754,
0.0013682952849194407,
0.04118497669696808,
-0.009126031771302223,
-0.036406610161066055,
-0.014050675556063652,
-0.003236368764191866,
0.02959662303328514,
0.0005774876335635781,
0.011173903942108154,
-0.0058510624803602695,
0.031904540956020355,
0.031937047839164734,
0.020478717982769012,
0.005278145894408226,
0.05018911138176918,
0.05301712453365326,
-0.05262705311179161,
0.016634894534945488,
-0.053439702838659286,
0.012547277845442295,
0.07105790078639984,
-0.06007090583443642,
-0.014522011391818523,
0.017016839236021042,
-0.01410756167024374,
0.023989355191588402,
-0.036959208548069,
0.021795207634568214,
0.004071364179253578,
-0.014660161919891834,
-0.04261523857712746,
0.018317075446248055,
0.04560577869415283,
0.0633540004491806,
0.037869375199079514,
-0.04524821415543556,
0.09023638069629669,
0.005241576582193375,
0.029060276225209236,
-0.0034639101941138506,
0.0009589241235516965,
-0.11110517382621765,
0.00977614987641573,
0.015789741650223732,
0.05022161826491356,
0.040534857660532,
-0.02060874179005623,
0.026573574170470238,
-0.03565897420048714,
-0.029434094205498695,
0.011986550875008106,
0.052497029304504395,
0.013205522671341896,
-0.006318334490060806,
-0.06793733686208725,
-0.05919324606657028,
0.0022510336712002754,
-0.009597367607057095,
0.0010102224769070745,
-0.005107489880174398,
0.01781323365867138,
0.022819142788648605,
0.05613769218325615,
0.00741134537383914,
0.004229830577969551,
-0.02790631726384163,
0.006436168681830168,
-0.06276889890432358,
-0.02229904755949974,
0.04632091149687767,
-0.059778351336717606,
0.010133714415133,
0.07339832931756973,
-0.001040188828483224,
0.007716088555753231,
0.02121010050177574,
-0.011060132645070553,
0.009288561530411243,
0.009759897366166115,
0.07073283940553665,
0.028458917513489723,
0.009719264693558216,
-0.024184390902519226,
0.09621746838092804,
0.005960769485682249,
-0.01062130369246006,
0.018057027831673622,
0.004146534018218517,
-0.011677744798362255,
0.0557476207613945,
-0.012782946228981018,
-0.00940233189612627,
-0.023404249921441078,
0.006716531701385975,
-0.033221032470464706,
0.03910459950566292,
0.04918142780661583,
0.007691708859056234,
0.007752657402306795,
-0.0006435152608901262,
0.040534857660532,
0.04989656060934067,
0.04599585011601448,
0.0240706205368042,
0.006147678475826979,
0.013774375431239605,
0.03998225927352905,
-0.061891235411167145,
-0.0030718077905476093,
0.015692224726080894,
-0.027126174420118332,
0.015383417718112469,
-0.029466599225997925,
0.007716088555753231,
0.007472293917089701,
0.019942371174693108,
0.002507017692551017,
0.018382087349891663,
-0.004485814366489649,
-0.00873596128076315,
-0.047946203500032425,
-0.033269789069890976,
0.0019818441942334175,
-0.04541074484586716,
-0.03209957852959633,
-0.03102688305079937,
0.048596322536468506,
0.014326975680887699,
-0.0019249588949605823,
0.04576830938458443,
-0.024119378998875618,
-0.004380170255899429,
0.005623520817607641,
-0.06228130683302879,
0.01916222833096981,
-0.011433950625360012,
0.014140067622065544,
0.046580955386161804,
-0.03591902181506157,
0.01183214783668518,
0.01706559769809246,
-0.08210990577936172,
0.013684984296560287,
-0.0823049396276474,
0.007569811772555113,
0.01062130369246006,
-0.051359325647354126,
0.01885342225432396,
-0.004233893472701311,
0.03734927996993065,
0.0041018384508788586,
0.04173757880926132,
0.008687201887369156,
0.0656944289803505,
0.07456853985786438,
-0.022120265290141106,
-0.06517433375120163,
0.06276889890432358,
0.005591014865785837,
0.006761227734386921,
-0.03910459950566292,
-0.01851211115717888,
0.02723994478583336,
-0.024119378998875618,
-0.045085687190294266,
0.06062350794672966,
-0.008874110877513885,
-0.08041960000991821,
0.017992015928030014,
-0.030945617705583572,
-0.007049717474728823,
-0.053829774260520935,
-0.04079490527510643,
0.04300530627369881,
0.03131943568587303,
-0.023778067901730537,
0.018008269369602203,
-0.02342050150036812,
0.05054667592048645,
-0.017959510907530785,
-0.00454676290974021,
0.07053780555725098,
0.05470743402838707,
-0.020478717982769012,
-0.04014478996396065,
0.01984485238790512,
-0.04498816654086113,
0.056690290570259094,
0.03520389273762703,
-0.09251179546117783,
0.015919765457510948,
0.07924938946962357,
0.040664881467819214,
-0.014887702651321888,
0.06657208502292633,
0.02925531193614006,
0.014684541150927544,
-0.025614650920033455,
-0.012327862903475761,
-0.013530581258237362,
0.055617596954107285,
-0.002413563197478652,
0.008410901762545109,
-0.0330747552216053,
-0.0012636668980121613,
-0.038129422813653946,
0.01043439470231533,
0.10525410622358322,
-0.0731382817029953,
0.031872037798166275,
-0.030604306608438492,
-0.034358736127614975,
0.00031490091350860894,
0.03216458857059479,
0.036049045622348785,
-0.009711137972772121,
0.013319293037056923,
-0.02680111490190029,
-0.011409571394324303,
0.0663120374083519,
-0.062248799949884415,
-0.011596480384469032,
0.005656026769429445,
0.02231530100107193,
-0.005436611827462912,
0.021405136212706566,
0.014213205315172672,
0.019097216427326202,
-0.017927004024386406,
0.001064568292349577,
-0.025175821036100388,
-0.059388283640146255,
-0.04173757880926132,
-0.04768615588545799,
-0.024119378998875618,
0.02995418757200241,
0.004936833865940571,
-0.06231381371617317,
0.051781900227069855,
0.057372916489839554,
0.03448875993490219,
-0.0023505829740315676,
-0.033286042511463165,
0.005903884302824736,
0.003770684590563178,
-0.026573574170470238,
0.03213208541274071,
-0.032197095453739166,
0.014408241026103497,
-0.014668287709355354,
-0.011060132645070553,
0.017179368063807487,
0.012457886710762978,
0.008256498724222183,
-0.008849731646478176,
-0.02472073771059513,
-0.05643024668097496,
-0.0019980971701443195,
0.04033982381224632,
0.022802889347076416,
0.07086286693811417,
0.0013347736094146967,
0.04768615588545799,
0.016407353803515434,
-0.0034070247784256935,
0.0349438451230526,
0.016919322311878204,
0.017341898754239082,
-0.028150111436843872,
0.02470448426902294,
-0.050416652113199234,
-0.0970626249909401,
-0.061468660831451416,
0.001500350539572537,
0.024119378998875618,
-0.026281021535396576,
-0.04775116965174675,
-0.01771571673452854,
-0.03031175397336483,
0.027743786573410034,
-0.060851048678159714,
-0.011889033950865269,
0.04248521476984024,
-0.020722512155771255,
-0.03302599489688873,
0.000788268109317869,
0.015269647352397442,
-0.02615099772810936,
0.0324571430683136,
-0.047166064381599426,
0.011417698115110397,
-0.0051562488079071045,
-0.06163118779659271,
0.03578899800777435,
-0.024558208882808685,
-0.05483745411038399,
-0.004372043535113335,
0.0787292942404747,
0.01655363105237484,
0.041315000504255295,
0.05860814079642296,
0.020755019038915634,
-0.043720439076423645,
0.017179368063807487,
0.0005673295818269253,
-0.005530066322535276,
0.08445033431053162,
-0.014993347227573395,
-0.023209214210510254,
-0.00817523431032896,
-0.004081522114574909,
0.000427401828346774,
0.004863695707172155,
0.054577410221099854,
0.0006074540433473885,
-0.047166064381599426,
0.027044910937547684,
-0.011563974432647228,
-0.0042542098090052605,
-0.03578899800777435,
0.023209214210510254,
-0.03861701115965843,
-0.020494971424341202,
-0.02680111490190029,
0.09381203353404999,
-0.010377509519457817,
0.01878841035068035,
0.007569811772555113,
0.015123371034860611,
0.018967192620038986,
0.006517433095723391,
-0.03978722169995308,
-0.029450347647070885,
0.05275707691907883,
0.07183804363012314,
-0.059453293681144714,
-0.017536934465169907,
0.04459809511899948,
-0.02306293696165085,
-0.03211583197116852,
-0.05812055245041847,
0.017861992120742798,
0.02342050150036812,
-0.03458628058433533,
0.02122635394334793,
0.02579343318939209,
-0.016919322311878204,
0.01981234736740589,
-0.048628829419612885,
0.011035753414034843,
0.11806143075227737,
0.03419620916247368,
-0.02372930757701397,
0.026264768093824387,
0.013335546478629112,
-0.009857414290308952,
0.02823137491941452,
-0.013644352555274963,
-0.014879576861858368,
0.0019503540825098753,
0.034683797508478165,
-0.06787232309579849,
0.05828308314085007,
0.03845448046922684,
0.049311451613903046,
0.053862277418375015,
-0.026914887130260468,
-0.05122930184006691,
-0.04560577869415283,
-0.00017040202510543168,
0.01392065268009901,
-0.01813829317688942,
0.011840274557471275,
0.042745258659124374,
-0.02719118632376194,
-0.025159567594528198,
0.012149080634117126,
-0.07885931432247162,
0.005050604231655598,
0.010686314664781094,
-0.05470743402838707,
-0.04560577869415283,
-0.07840423285961151,
-0.009703011251986027,
-0.01953604631125927,
-0.027451233938336372,
0.038129422813653946,
-0.0009040703880600631,
0.040534857660532,
0.034293726086616516,
0.024135632440447807,
-0.0013886115048080683,
-0.01309175230562687,
-0.019633565098047256,
0.0967375636100769,
-0.060168422758579254,
-0.022754130885004997,
0.013010486960411072,
0.03027924709022045,
-0.0299704410135746,
-0.013693111017346382,
0.018642134964466095,
0.04391547292470932,
0.01916222833096981,
-0.021470148116350174,
-0.07528366893529892,
-0.014895829372107983,
-0.00885785836726427,
0.00972739141434431,
-0.029206551611423492,
-0.01912972331047058,
-0.016935573890805244,
0.0015643464867025614,
0.02964538149535656,
-0.055910151451826096,
0.004128249362111092,
-0.02645980380475521,
-0.047588638961315155,
-0.021470148116350174,
-0.01609042100608349,
0.0288814939558506,
0.011271421797573566,
0.026654839515686035,
-0.06806735694408417,
-0.005115616135299206,
0.008402775973081589,
0.0355614572763443,
0.007984261959791183,
-0.061533670872449875,
0.016147306188941002,
-0.004835252650082111,
0.06163118779659271,
-0.038194432854652405,
-0.04014478996396065,
0.07014773786067963,
0.024493196979165077,
-0.06462173163890839,
0.04105495288968086,
-0.042355190962553024,
-0.07248815894126892,
-0.025370856747031212,
0.005115616135299206,
-0.037121739238500595,
-0.027483738958835602,
-0.012409128248691559,
-0.010158094577491283,
0.052106961607933044,
0.009321067482233047,
-0.06663709878921509,
-0.004940897226333618,
-0.0034314042422920465,
0.007183804176747799,
-0.051749397069215775,
-0.012214092537760735,
-0.04105495288968086,
-0.04976653680205345,
0.0535697266459465,
-0.016252951696515083,
-0.047881193459033966,
0.009589240886271,
0.014749553054571152,
-0.0036487875040620565,
-0.028328893706202507,
0.04206263646483421,
0.030799342319369316,
0.0033460762351751328,
-0.022250289097428322,
-0.00722037348896265,
-0.01479831151664257,
-0.032619673758745193,
-0.029905429109930992,
-0.02335548959672451,
-0.017325645312666893,
0.06566192209720612,
0.05252953618764877,
0.022429071366786957,
-0.011401444673538208,
-0.004684912972152233,
0.028361398726701736,
-0.04359041526913643,
0.013449316844344139,
-0.01588725857436657,
-0.02195773646235466,
0.07274820655584335,
0.02654106914997101,
0.025500880554318428,
0.005387853365391493,
0.05617019906640053,
0.0017360183410346508,
-0.0447281189262867,
-0.010588797740638256,
0.0883510410785675,
-0.06276889890432358,
-0.014977093786001205,
-0.02444443851709366,
0.006846555508673191,
0.01097886823117733,
-0.010019944049417973,
0.014855196699500084,
-0.010149967856705189,
-0.022900408133864403,
-0.024233149364590645,
-0.03926713019609451,
0.02749999240040779,
0.013717490248382092,
-0.04417552053928375,
0.003642692696303129,
0.047166064381599426,
-0.05470743402838707,
0.007553558796644211,
0.02715868130326271,
-0.0042379568330943584,
0.08067964762449265,
-0.02472073771059513,
-0.025533385574817657,
-0.00340499309822917,
-0.052106961607933044,
0.07339832931756973,
-0.03825944662094116,
-0.007691708859056234,
-0.024834508076310158,
-0.024639474228024483,
0.06702716648578644,
0.005014035385102034,
-0.040209800004959106,
0.013806881383061409,
-0.03237587958574295,
-0.004351727664470673,
-0.007667329628020525,
0.02962912991642952,
-0.0341637022793293,
0.0040794904343783855,
-0.0543498657643795,
-0.02608598582446575,
0.018300822004675865,
0.02751624584197998,
0.05786050483584404,
0.0009604478254914284,
-0.003126661293208599,
-0.043037813156843185,
-0.023209214210510254,
-0.020624995231628418,
-0.056560270488262177,
-0.03721925616264343,
0.013449316844344139,
-0.04121748358011246,
0.03232711926102638,
-0.003963688388466835,
-0.032245855778455734,
-0.0017634452087804675,
0.0018802632112056017,
-0.026719851419329643,
-0.02504579722881317,
-0.0226728655397892,
0.03809691593050957,
-0.011921538971364498,
-0.027288705110549927,
0.002153516048565507,
-0.017569439485669136,
0.033269789069890976,
0.014977093786001205,
0.005050604231655598,
-0.004008383955806494,
0.02476949617266655,
-0.03903958946466446,
-0.03133568912744522,
-0.02199024148285389,
-0.04072989523410797,
0.026020973920822144,
0.01239287480711937,
-0.030604306608438492,
-0.01648861914873123,
0.030896859243512154,
0.04209514334797859,
-0.05262705311179161,
-0.02964538149535656,
0.07885931432247162,
0.030506787821650505,
-0.00977614987641573,
0.028653951361775398,
-0.037154246121644974,
0.03754431754350662,
0.015399671159684658,
0.06982267647981644,
0.02366429567337036,
-0.06007090583443642,
0.018008269369602203,
-0.044858142733573914,
0.01585475355386734,
-0.004136376082897186,
0.03377363085746765,
-0.04043734073638916,
0.06283390522003174,
0.012685428373515606,
-0.020364947617053986,
-0.010369382798671722,
0.02959662303328514,
-0.020397452637553215,
-0.03380613774061203,
-0.03877954185009003,
-0.06302894651889801,
0.002104757120832801,
-0.015180256217718124,
0.024623220786452293,
-0.019422275945544243,
0.021746447309851646,
-0.024655725806951523,
0.024883268401026726,
0.07248815894126892,
0.006115172524005175,
0.048628829419612885,
0.02299792505800724,
-0.019292252138257027,
0.045865826308727264,
-0.016066042706370354,
-0.01776447519659996,
0.004126217681914568,
-0.03179077059030533,
-0.02758125774562359,
-0.09940304607152939,
0.031481966376304626,
-0.015724729746580124,
-0.02548462711274624,
0.05617019906640053,
-0.02964538149535656,
0.003228242276236415,
0.01674054004251957
]
|
37,201 | collections | _replace | Return a new ParseResult object replacing specified fields with new values | def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None):
"""Returns a new subclass of tuple with named fields.
>>> Point = namedtuple('Point', ['x', 'y'])
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
>>> p[0] + p[1] # indexable like a plain tuple
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessible by name
33
>>> d = p._asdict() # convert to a dictionary
>>> d['x']
11
>>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p._replace(x=100) # _replace() is like str.replace() but targets named fields
Point(x=100, y=22)
"""
# Validate the field names. At the user's option, either generate an error
# message or automatically replace the field name with a valid name.
if isinstance(field_names, str):
field_names = field_names.replace(',', ' ').split()
field_names = list(map(str, field_names))
typename = _sys.intern(str(typename))
if rename:
seen = set()
for index, name in enumerate(field_names):
if (not name.isidentifier()
or _iskeyword(name)
or name.startswith('_')
or name in seen):
field_names[index] = f'_{index}'
seen.add(name)
for name in [typename] + field_names:
if type(name) is not str:
raise TypeError('Type names and field names must be strings')
if not name.isidentifier():
raise ValueError('Type names and field names must be valid '
f'identifiers: {name!r}')
if _iskeyword(name):
raise ValueError('Type names and field names cannot be a '
f'keyword: {name!r}')
seen = set()
for name in field_names:
if name.startswith('_') and not rename:
raise ValueError('Field names cannot start with an underscore: '
f'{name!r}')
if name in seen:
raise ValueError(f'Encountered duplicate field name: {name!r}')
seen.add(name)
field_defaults = {}
if defaults is not None:
defaults = tuple(defaults)
if len(defaults) > len(field_names):
raise TypeError('Got more default values than field names')
field_defaults = dict(reversed(list(zip(reversed(field_names),
reversed(defaults)))))
# Variables used in the methods and docstrings
field_names = tuple(map(_sys.intern, field_names))
num_fields = len(field_names)
arg_list = ', '.join(field_names)
if num_fields == 1:
arg_list += ','
repr_fmt = '(' + ', '.join(f'{name}=%r' for name in field_names) + ')'
tuple_new = tuple.__new__
_dict, _tuple, _len, _map, _zip = dict, tuple, len, map, zip
# Create all the named tuple methods to be added to the class namespace
namespace = {
'_tuple_new': tuple_new,
'__builtins__': {},
'__name__': f'namedtuple_{typename}',
}
code = f'lambda _cls, {arg_list}: _tuple_new(_cls, ({arg_list}))'
__new__ = eval(code, namespace)
__new__.__name__ = '__new__'
__new__.__doc__ = f'Create new instance of {typename}({arg_list})'
if defaults is not None:
__new__.__defaults__ = defaults
@classmethod
def _make(cls, iterable):
result = tuple_new(cls, iterable)
if _len(result) != num_fields:
raise TypeError(f'Expected {num_fields} arguments, got {len(result)}')
return result
_make.__func__.__doc__ = (f'Make a new {typename} object from a sequence '
'or iterable')
def _replace(self, /, **kwds):
result = self._make(_map(kwds.pop, field_names, self))
if kwds:
raise ValueError(f'Got unexpected field names: {list(kwds)!r}')
return result
_replace.__doc__ = (f'Return a new {typename} object replacing specified '
'fields with new values')
def __repr__(self):
'Return a nicely formatted representation string'
return self.__class__.__name__ + repr_fmt % self
def _asdict(self):
'Return a new dict which maps field names to their values.'
return _dict(_zip(self._fields, self))
def __getnewargs__(self):
'Return self as a plain tuple. Used by copy and pickle.'
return _tuple(self)
# Modify function metadata to help with introspection and debugging
for method in (
__new__,
_make.__func__,
_replace,
__repr__,
_asdict,
__getnewargs__,
):
method.__qualname__ = f'{typename}.{method.__name__}'
# Build-up the class namespace dictionary
# and use type() to build the result class
class_namespace = {
'__doc__': f'{typename}({arg_list})',
'__slots__': (),
'_fields': field_names,
'_field_defaults': field_defaults,
'__new__': __new__,
'_make': _make,
'_replace': _replace,
'__repr__': __repr__,
'_asdict': _asdict,
'__getnewargs__': __getnewargs__,
'__match_args__': field_names,
}
for index, name in enumerate(field_names):
doc = _sys.intern(f'Alias for field number {index}')
class_namespace[name] = _tuplegetter(index, doc)
result = type(typename, (tuple,), class_namespace)
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in environments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython), or where the user has
# specified a particular module.
if module is None:
try:
module = _sys._getframe(1).f_globals.get('__name__', '__main__')
except (AttributeError, ValueError):
pass
if module is not None:
result.__module__ = module
return result
| (self, /, **kwds) | [
0.054145656526088715,
0.001420344808138907,
-0.015421622432768345,
-0.035664431750774384,
-0.032841771841049194,
-0.033274441957473755,
0.0027969074435532093,
0.021509917452931404,
0.021005135029554367,
-0.046151548624038696,
-0.04223690927028656,
0.05711254104971886,
0.004476082045584917,
0.06329355388879776,
0.010847673751413822,
0.0334392674267292,
-0.02979247272014618,
0.05632961168885231,
-0.06539509445428848,
-0.03232668712735176,
0.019027212634682655,
0.0159470085054636,
0.03348047658801079,
0.05979098007082939,
0.03199703246355057,
0.010971294716000557,
0.018852083012461662,
0.010435606352984905,
0.0018311245366930962,
-0.005980127956718206,
-0.004136126488447189,
-0.015802783891558647,
-0.030204540118575096,
-0.010724053718149662,
0.0028355387039482594,
-0.06090356037020683,
-0.05006618797779083,
0.05855477601289749,
0.049283258616924286,
-0.005016920622438192,
0.06387044489383698,
-0.09955548495054245,
-0.04948929324746132,
-0.060985974967479706,
-0.0017873423639684916,
0.023364221677184105,
0.02266370691359043,
-0.011465774849057198,
-0.0243119765073061,
-0.05344514176249504,
0.02359085902571678,
0.006320083513855934,
0.01582338847219944,
-0.0042365677654743195,
-0.023158187046647072,
-0.0010031266137957573,
-0.0018427139148116112,
0.06181010976433754,
-0.006943335756659508,
0.023137584328651428,
-0.0021453257650136948,
0.05768943578004837,
-0.01508166640996933,
0.010466511361300945,
-0.05422806739807129,
-0.024208959192037582,
-0.009317873977124691,
-0.07347161322832108,
-0.022766724228858948,
0.0012606687378138304,
-0.008993370458483696,
-0.0008537521352991462,
0.018749065697193146,
0.02425016649067402,
0.07635609060525894,
0.042319320142269135,
-0.02923618070781231,
-0.010837372392416,
0.04425603896379471,
-0.05154963210225105,
-0.01659601368010044,
-0.013402491807937622,
-0.08076521009206772,
-0.043555524200201035,
-0.03424280136823654,
0.03947605565190315,
-0.050519462674856186,
-0.0004912615986540914,
0.03016333281993866,
-0.00170106568839401,
-0.05311548709869385,
0.016019120812416077,
-0.0037884446792304516,
0.03329504653811455,
-0.05167325213551521,
-0.08661656826734543,
0.003832226851955056,
-0.037889596074819565,
-0.012918313033878803,
0.03580865636467934,
0.02499188669025898,
-0.045780688524246216,
-0.09180861711502075,
-0.021046342328190804,
-0.008704924024641514,
-0.019830742850899696,
-0.01948048546910286,
-0.015184683725237846,
0.0359322763979435,
-0.032656341791152954,
-0.043184664100408554,
-0.05768943578004837,
-0.029957300052046776,
0.06090356037020683,
-0.003976450301706791,
-0.03403676673769951,
0.02111845463514328,
-0.026001453399658203,
-0.03065781481564045,
-0.03109048493206501,
0.027114033699035645,
0.018821178004145622,
-0.06127442046999931,
0.04911843314766884,
0.008473135530948639,
-0.008957315236330032,
0.06143924966454506,
-0.026022056117653847,
0.038940370082855225,
-0.0032707848586142063,
0.02297275699675083,
0.002974611474201083,
-0.04240173473954201,
0.05682409182190895,
0.01790432818233967,
0.038404680788517,
0.0498601533472538,
0.05031342804431915,
-0.06980421394109726,
0.03762175142765045,
0.042010270059108734,
-0.012135384604334831,
0.06560112535953522,
0.03541719168424606,
-0.0018607418751344085,
-0.046192754060029984,
0.01333038043230772,
0.006958788260817528,
-0.03749813139438629,
0.030080920085310936,
-0.03304780647158623,
-0.035973481833934784,
0.018903592601418495,
0.022395862266421318,
-0.046439994126558304,
-0.005158568732440472,
-0.011197931133210659,
-0.0640764832496643,
-0.023178791627287865,
-0.041536394506692886,
0.018563635647296906,
-0.05319790169596672,
-0.01613243855535984,
-0.015751276165246964,
0.05534065142273903,
0.0213656947016716,
0.043349489569664,
-0.08521553874015808,
-0.01363943051546812,
-0.03362469747662544,
-0.00042430064058862627,
0.04124794527888298,
0.026392916217446327,
0.04421482980251312,
-0.034139782190322876,
0.01944958046078682,
-0.007118464447557926,
0.024847663938999176,
0.0240029264241457,
-0.020490050315856934,
0.038816750049591064,
-0.014350246638059616,
-0.06197493523359299,
0.008869750425219536,
0.05847236141562462,
0.03183220699429512,
-0.0020152670331299305,
0.06230458989739418,
0.05225014686584473,
0.026825588196516037,
0.016122136265039444,
-0.04001174494624138,
0.005753491073846817,
-0.006608530879020691,
0.008725526742637157,
0.06304631382226944,
-0.06354079395532608,
0.046192754060029984,
0.01761588081717491,
0.11043406277894974,
-0.02752610109746456,
0.03319202736020088,
0.029215577989816666,
-0.017451053485274315,
0.032841771841049194,
-0.02948342263698578,
0.054887376725673676,
-0.0510963574051857,
-0.031605567783117294,
-0.033768922090530396,
0.08340243995189667,
-0.02142750471830368,
0.007721112575381994,
0.019583502784371376,
-0.010816768743097782,
-0.07252386212348938,
0.053527552634477615,
-0.02985428273677826,
0.006356139667332172,
-0.0041927858255803585,
0.08818241953849792,
0.023405427113175392,
-0.026125073432922363,
-0.005830753594636917,
0.041350964456796646,
-0.048788778483867645,
-0.016173645853996277,
-0.02911256067454815,
-0.038404680788517,
-0.06387044489383698,
0.06271665543317795,
-0.012846200726926327,
-0.029091957956552505,
-0.019243547692894936,
0.023961719125509262,
-0.016266360878944397,
0.009230309166014194,
-0.035746846348047256,
-0.023178791627287865,
-0.026310503482818604,
0.027793945744633675,
0.035746846348047256,
-0.03381013125181198,
-0.009853561408817768,
-0.00975569523870945,
-0.06741422414779663,
-0.027814548462629318,
0.028185410425066948,
-0.019810140132904053,
0.007752018049359322,
-0.016647523269057274,
0.014999252744019032,
-0.010950691066682339,
0.032718151807785034,
0.004347310867160559,
-0.02474464662373066,
-0.035664431750774384,
-0.013567319139838219,
-0.014278135262429714,
-0.02777334302663803,
0.004097495228052139,
-0.058266330510377884,
0.030760830268263817,
0.045038964599370956,
0.05117877200245857,
-0.027752738445997238,
0.004676965065300465,
-0.02567179873585701,
0.013196458108723164,
0.015287700109183788,
0.12048850953578949,
0.03628253564238548,
-0.015452527441084385,
0.016245756298303604,
-0.045409828424453735,
-0.0334392674267292,
0.01647239364683628,
-0.025197921320796013,
0.02278732694685459,
-0.05113756284117699,
-0.008890354074537754,
-0.022869739681482315,
-0.02291094698011875,
-0.011321552097797394,
0.022704914212226868,
0.061356835067272186,
-0.05529944598674774,
0.03071962483227253,
-0.008524644188582897,
-0.00010816768917720765,
0.04516258463263512,
-0.032841771841049194,
0.013412794098258018,
-0.03193522244691849,
0.00044586980948224664,
0.02412654645740986,
-0.08571001887321472,
0.02050035260617733,
0.02338482439517975,
-0.0687328428030014,
-0.024950681254267693,
0.018223680555820465,
0.04120673984289169,
0.038878560066223145,
0.05167325213551521,
-0.041824840009212494,
-0.027423085644841194,
-0.004437450785189867,
-0.01105370745062828,
0.04664602875709534,
-0.027608515694737434,
0.013443699106574059,
-0.021509917452931404,
0.005768943578004837,
0.06016184017062187,
0.02247827686369419,
0.0014885934069752693,
-0.01467990130186081,
0.01477261632680893,
0.043184664100408554,
-0.014813822694122791,
-0.0628814846277237,
-0.0480058528482914,
-0.014381151646375656,
-0.008761582896113396,
-0.033892542123794556,
-0.05072549730539322,
-0.007824129424989223,
0.011846937239170074,
-0.017883725464344025,
-0.035726241767406464,
0.007046352606266737,
0.014175117947161198,
0.05777185037732124,
0.0011911323526874185,
-0.009683583863079548,
0.010038991458714008,
-0.02591903880238533,
0.004416847601532936,
-0.020541559904813766,
0.04911843314766884,
-0.010507718659937382,
-0.04623396322131157,
-0.011187629774212837,
-0.007118464447557926,
-0.017955835908651352,
0.014123610220849514,
0.01696687564253807,
0.12658710777759552,
-0.02284913696348667,
0.011723317205905914,
-0.08364968001842499,
-0.05311548709869385,
0.014061800204217434,
0.04874757304787636,
-0.028288425877690315,
0.0022599322255700827,
-0.01326857041567564,
0.00674245273694396,
-0.00916334893554449,
0.008921259082853794,
-0.05422806739807129,
0.0013005876680836082,
0.011373059824109077,
0.020088285207748413,
-0.03541719168424606,
-0.03224427253007889,
-0.01501985639333725,
-0.014721107669174671,
-0.011321552097797394,
0.016173645853996277,
-0.015802783891558647,
-0.02954523265361786,
-0.035664431750774384,
-0.04714050889015198,
-0.03212065249681473,
0.027237655594944954,
0.07380127161741257,
-0.08727587759494781,
-0.06786750257015228,
0.013536414131522179,
-0.06642526388168335,
0.02783515304327011,
0.021046342328190804,
0.012197194620966911,
-0.002447937848046422,
0.05583513155579567,
0.029030147939920425,
0.014164816588163376,
0.06271665543317795,
-0.06691974401473999,
0.018965402618050575,
-0.03601469099521637,
-0.03150255233049393,
0.03539659082889557,
-0.013464301824569702,
-0.03939364105463028,
-0.0359322763979435,
-0.05006618797779083,
-0.012454736977815628,
0.007731414400041103,
-0.04376155883073807,
-0.0352935716509819,
0.04433844983577728,
-0.029215577989816666,
0.018130965530872345,
0.09650618582963943,
-0.04413241893053055,
0.009410589002072811,
-0.008576152846217155,
0.04639878869056702,
0.02363206446170807,
-0.06304631382226944,
-0.08332002907991409,
0.06432372331619263,
0.022437069565057755,
0.010507718659937382,
0.033521682024002075,
0.0356026217341423,
0.03461366146802902,
-0.002500734059140086,
-0.006459156516939402,
0.0060110329650342464,
0.02319939434528351,
-0.02886532060801983,
0.04425603896379471,
-0.04384396970272064,
0.024847663938999176,
0.013618827797472477,
0.005037523806095123,
-0.04069165512919426,
0.0012368460884317756,
0.004736199509352446,
-0.012650469318032265,
0.05422806739807129,
-0.037580545991659164,
-0.0078962417319417,
-0.03743632137775421,
-0.01086827740073204,
0.02886532060801983,
0.008869750425219536,
-0.0002871594624593854,
0.01089918240904808,
-0.050395842641592026,
0.01080646738409996,
0.015194985084235668,
-0.047552578151226044,
0.012166289612650871,
0.0421132892370224,
0.016760841012001038,
0.07516109198331833,
0.05670047178864479,
0.08463864028453827,
0.015648258849978447,
-0.0019998145289719105,
-0.0380956307053566,
-0.039249420166015625,
-0.04833550378680229,
0.016122136265039444,
0.0022728091571480036,
0.017780708149075508,
-0.025774816051125526,
0.05006618797779083,
0.03325383737683296,
-0.04126854985952377,
-0.008411325514316559,
0.03885795548558235,
-0.06910370290279388,
-0.015339208766818047,
-0.04114492982625961,
0.06543630361557007,
-0.015298002399504185,
0.024888871237635612,
-0.01969682052731514,
-0.03465486690402031,
0.016142740845680237,
0.00025512767024338245,
-0.008601906709372997,
-0.01864605024456978,
-0.07862246036529541,
0.052662212401628494,
-0.021880779415369034,
0.05410444736480713,
0.002281823195517063,
-0.00277115311473608,
0.030122127383947372,
0.052785832434892654,
0.030328160151839256,
-0.010018388740718365,
0.03041057288646698,
-0.06181010976433754,
0.0278763584792614,
0.05183807760477066,
-0.00831345934420824,
0.0055371555499732494,
-0.006459156516939402,
-0.024270769208669662,
0.0414951853454113,
-0.04359672963619232,
-0.03360409662127495,
0.04289621487259865,
-0.050395842641592026,
0.02585722878575325,
-0.031131692230701447,
0.06654888391494751,
-0.039496660232543945,
0.06045028567314148,
0.011002199724316597,
-0.01249594334512949,
-0.03261513262987137,
-0.06382923573255539,
-0.019006608054041862,
0.01746135577559471,
-0.030204540118575096,
0.0019006608054041862,
0.006031636614352465,
0.0047027189284563065,
0.02375568449497223,
-0.06568354368209839,
-0.05286824703216553,
0.037456925958395004,
0.02985428273677826,
-0.03288297727704048,
0.015339208766818047,
-0.02991609275341034,
0.028782907873392105,
0.025445161387324333,
-0.00831345934420824,
0.039929330348968506,
0.02443559654057026,
0.0030003658030182123,
-0.050395842641592026,
-0.023549651727080345,
-0.05484617128968239,
0.03852830082178116,
0.03704486042261124,
-0.004671813920140266,
0.01796613819897175,
0.04050622507929802,
0.020170699805021286,
0.04821188375353813,
0.05447531118988991,
-0.05546427145600319,
-0.026372313499450684,
-0.011074311099946499,
0.0003354486252646893,
-0.024518009275197983,
0.010054443962872028,
-0.015277398750185966,
-0.030307557433843613,
-0.006459156516939402,
-0.017657088115811348,
0.001543964957818389,
-0.010373796336352825,
-0.046563614159822464,
-0.016080930829048157,
-0.035911671817302704,
0.004867546260356903,
0.017193511128425598,
0.030142730101943016,
0.005016920622438192,
0.006593078374862671,
0.02443559654057026,
-0.00975569523870945,
-0.0010868277167901397,
0.03199703246355057,
0.03982631489634514,
0.01773950085043907,
-0.007345101330429316,
-0.01833699829876423,
0.030637210234999657,
0.0082825543358922,
0.04693447798490524,
0.017687993124127388,
0.013886671513319016,
0.029462818056344986,
-0.0368594266474247,
0.003839953104034066,
-0.014844727702438831,
-0.05735978111624718,
0.027670325711369514,
0.04289621487259865,
-0.011579093523323536,
-0.061768900603055954,
-0.011517283506691456,
-0.02628989890217781,
-0.020459145307540894,
0.008179537951946259,
0.027237655594944954,
0.008555549196898937,
-0.02357025444507599,
0.04240173473954201,
-0.004725898150354624,
-0.00035379850305616856,
-0.01932596042752266,
0.022086812183260918,
-0.03659158572554588,
0.0064334021881222725,
0.010311986319720745,
0.0010076335165649652,
-0.048047058284282684,
0.038136836141347885,
-0.033521682024002075,
-0.0025664072018116713,
0.0042365677654743195,
-0.0365297757089138,
-0.015524638816714287,
0.006314932834357023,
0.05056066811084747,
0.014175117947161198,
0.061480455100536346,
-0.048541538417339325,
0.03966148570179939,
0.00823619682341814,
-0.021592332050204277,
-0.018285490572452545,
-0.014525375328958035,
-0.01514347642660141,
0.01240322832018137,
-0.0480058528482914,
-0.06803232431411743,
0.02425016649067402,
0.012938915751874447,
0.009364231489598751,
-0.009122141636908054,
-0.05670047178864479,
-0.011197931133210659,
-0.03718908131122589,
0.05126118287444115,
-0.045038964599370956,
-0.030678417533636093,
-0.028123600408434868,
0.023302411660552025,
-0.06704336404800415,
-0.03632374107837677,
0.012423831969499588,
0.020830007269978523,
-0.01477261632680893,
0.014175117947161198,
0.06226338446140289,
0.011661507189273834,
-0.0322030670940876,
-0.006490061525255442,
0.014381151646375656,
-0.010765261016786098,
-0.02326120436191559,
0.05175566300749779,
-0.0960117056965828,
0.04446207359433174,
0.015483432449400425,
-0.02006768248975277,
0.05393962189555168,
0.015287700109183788,
-0.031729187816381454,
-0.02560998871922493,
0.007113313302397728,
-0.07825160026550293,
-0.010569528676569462,
0.02783515304327011,
0.012444435618817806,
0.01215598825365305,
-0.0498601533472538,
0.035314176231622696,
-0.027443688362836838,
0.005732887424528599,
0.050272222608327866,
-0.0243119765073061,
0.05616478621959686,
0.053280312567949295,
0.018821178004145622,
-0.023549651727080345,
-0.003860556287690997,
0.054516516625881195,
-0.0037060310132801533,
-0.026640156283974648,
-0.02861808054149151,
0.025403954088687897,
0.048788778483867645,
-0.032347291707992554,
-0.0016572835156694055,
0.06127442046999931,
0.013371586799621582,
-0.044915344566106796,
-0.026248693466186523,
-0.007453268859535456,
-0.009168499149382114,
0.0210566446185112,
0.005382630508393049,
0.030575400218367577,
-0.08752311766147614,
0.039373040199279785,
0.019810140132904053,
0.01739954575896263,
0.019830742850899696,
-0.06168648973107338,
-0.024167751893401146,
0.027320068329572678,
-0.03181160241365433,
0.0480058528482914,
-0.02037673257291317,
0.020603369921445847,
0.005222954321652651,
-0.002424759091809392,
0.039805710315704346,
0.003726634429767728,
0.052291352301836014,
-0.0013224787544459105,
0.022560689598321915,
0.03879614546895027,
-0.006763055920600891,
-0.008694621734321117,
0.04413241893053055,
0.011991160921752453,
-0.009214856661856174,
0.050931528210639954,
-0.05431048199534416,
0.026578346267342567,
0.0702986940741539,
-0.015586448833346367,
0.034139782190322876,
0.028968337923288345,
-0.017791010439395905,
0.08636932820081711,
-0.0024685412645339966,
0.005060702562332153,
0.0000048741858336143196,
-0.029998505488038063,
-0.025403954088687897,
-0.037580545991659164,
0.017842518165707588,
0.04409120976924896,
0.044791724532842636,
-0.04606913402676582,
0.023178791627287865,
0.03249151259660721,
-0.03183220699429512,
0.026022056117653847,
0.01870786026120186,
-0.006155256647616625,
0.07388368248939514,
-0.05806029587984085,
0.06251062452793121,
-0.0012329829623922706,
0.045904308557510376,
-0.04973653331398964,
-0.018903592601418495,
0.05892563611268997,
0.024353183805942535,
-0.007685056887567043,
0.026516536250710487,
0.012980123050510883,
0.03797201067209244,
-0.019583502784371376,
-0.01957320049405098,
0.032718151807785034,
-0.06555992364883423,
0.03947605565190315,
-0.011867540888488293,
-0.028350235894322395,
-0.05270341783761978,
-0.030987467616796494,
-0.0023037141654640436,
0.018048550933599472,
0.01932596042752266,
-0.001778328325599432,
0.03673580661416054,
0.005635021720081568,
0.03275935724377632
]
|
37,203 | urllib.parse | geturl | null | def geturl(self):
return urlunparse(self)
| (self) | [
-0.0003755513171199709,
0.030780835077166557,
-0.028276804834604263,
0.04980805888772011,
0.002423117868602276,
-0.003900836454704404,
0.02868562564253807,
0.003971102647483349,
0.06547953933477402,
0.040166690945625305,
-0.010654904879629612,
-0.015935512259602547,
0.0043160454370081425,
0.061561670154333115,
0.028481215238571167,
0.01914646290242672,
0.004709961824119091,
0.03846326842904091,
0.024393003433942795,
0.01389992330223322,
-0.06207269802689552,
-0.027271786704659462,
0.004090342205017805,
-0.03025277517735958,
-0.01853323169052601,
0.0046758935786783695,
0.03008243255317211,
-0.028004257008433342,
0.021343877539038658,
-0.032194674015045166,
0.01524562668055296,
0.008670417591929436,
0.03199026361107826,
-0.0067285168915987015,
0.016318783164024353,
0.011574752628803253,
-0.03137703239917755,
0.042687755078077316,
-0.055667828768491745,
-0.03411954268813133,
-0.03560151904821396,
-0.027748744934797287,
0.011157413944602013,
-0.0019078325713053346,
0.11113125085830688,
0.03003132902085781,
-0.043709807097911835,
-0.0014234220143407583,
-0.05137520655989647,
-0.06132319197058678,
0.037407148629426956,
0.05076197534799576,
-0.013175969012081623,
-0.03384699672460556,
-0.03829292580485344,
0.029826918616890907,
0.024852925911545753,
0.06197049096226692,
0.015594827942550182,
0.08408091217279434,
0.005574448499828577,
-0.04217672720551491,
-0.00822752807289362,
-0.006515589077025652,
0.007282129023224115,
0.021412014961242676,
-0.01723862998187542,
0.052295055240392685,
0.00014745246153324842,
0.0294180978089571,
0.01538190059363842,
-0.016420988366007805,
-0.04956958070397377,
-0.007818707264959812,
0.06019893288612366,
-0.051341138780117035,
0.03136000037193298,
-0.01204319391399622,
0.0013829657109454274,
-0.008001824840903282,
-0.015611862763762474,
0.03181992098689079,
-0.0006292014732025564,
-0.04871786758303642,
-0.039110567420721054,
-0.04878600686788559,
0.01829475164413452,
-0.09334752708673477,
-0.05778007209300995,
0.08701079338788986,
-0.024222660809755325,
0.009675436653196812,
-0.06002859026193619,
-0.025960151106119156,
0.00946250930428505,
-0.021548287943005562,
-0.05045535787940025,
-0.004961216356605291,
0.0453791618347168,
-0.10486266016960144,
0.03560151904821396,
0.03323376178741455,
-0.1102454736828804,
-0.005370037630200386,
-0.015058250166475773,
-0.01953824982047081,
0.00276380218565464,
-0.02745916321873665,
-0.01484532281756401,
-0.005642585456371307,
-0.02469961903989315,
-0.007448212709277868,
-0.010706007480621338,
0.06411680579185486,
0.057916346937417984,
-0.050046537071466446,
-0.03333596885204315,
0.005885323043912649,
0.03149627149105072,
0.012187984772026539,
-0.07277018576860428,
0.06694448739290237,
-0.07004471123218536,
-0.03757748752832413,
0.04411862790584564,
0.0682731568813324,
-0.03767969459295273,
-0.04524288699030876,
0.03648729994893074,
-0.06885232031345367,
0.022928059101104736,
0.05989231541752815,
-0.07045353204011917,
-0.01499011367559433,
-0.012699010781943798,
-0.02592608332633972,
-0.026147527620196342,
0.03164958208799362,
-0.01763041689991951,
0.0722932294011116,
-0.02795315533876419,
0.05389627069234848,
0.032535359263420105,
-0.008466007187962532,
-0.06152760237455368,
-0.01010980922728777,
0.04462965577840805,
0.008942965418100357,
0.020338859409093857,
-0.03120669163763523,
0.05495239421725273,
-0.010884866118431091,
0.0907583236694336,
0.017647452652454376,
-0.01672760397195816,
-0.019725626334547997,
-0.014521672390401363,
0.032535359263420105,
0.004914372228085995,
-0.05655360966920853,
0.0012690493604168296,
-0.00021519009897019714,
0.017374904826283455,
-0.0397578701376915,
0.0133292768150568,
-0.016736121848225594,
0.12925566732883453,
-0.005267832428216934,
0.003394068218767643,
0.004365019034594297,
0.007354524452239275,
0.027373991906642914,
-0.05815482512116432,
0.03658950328826904,
0.005842737387865782,
0.018056273460388184,
0.021684562787413597,
0.05001246929168701,
0.037134598940610886,
0.05345338210463524,
0.0019930037669837475,
-0.02907741256058216,
-0.015978097915649414,
0.011804714798927307,
0.058018554002046585,
-0.00506768049672246,
-0.030354980379343033,
-0.005497794598340988,
-0.021360911428928375,
0.024512242525815964,
-0.006025855429470539,
-0.04933110252022743,
-0.01841399259865284,
0.014053231105208397,
0.016395436599850655,
-0.033881064504384995,
-0.026488211005926132,
0.04261961951851845,
-0.029060378670692444,
0.049433305859565735,
-0.01763041689991951,
0.0031002280302345753,
-0.07277018576860428,
0.004416121635586023,
-0.036453232169151306,
0.0009406083263456821,
0.0006696577765978873,
-0.02066250890493393,
0.01201764214783907,
0.02785095013678074,
0.033097490668296814,
0.016182508319616318,
-0.018959086388349533,
-0.017391938716173172,
0.0010497338371351361,
-0.0724976435303688,
-0.09178037941455841,
0.015220075845718384,
0.012630874291062355,
0.042142659425735474,
0.017596349120140076,
-0.053589656949043274,
0.075904481112957,
-0.027305854484438896,
-0.03846326842904091,
-0.023762736469507217,
0.01746007613837719,
-0.005242281127721071,
-0.05485018715262413,
-0.042858097702264786,
0.022706614807248116,
-0.06411680579185486,
0.07052166759967804,
0.03239908441901207,
0.09436957538127899,
-0.011804714798927307,
-0.031223725527524948,
0.02335391566157341,
0.03132592886686325,
0.011131863109767437,
-0.006030113901942968,
-0.001972775673493743,
0.0001311501837335527,
0.037475284188985825,
0.013261140324175358,
0.07174813747406006,
0.034562431275844574,
0.05648547410964966,
0.00008337452163686976,
-0.055054597556591034,
0.046673763543367386,
0.00892593152821064,
-0.03132592886686325,
0.021854903548955917,
-0.03066159598529339,
-0.006830722093582153,
-0.05369186028838158,
0.011464029550552368,
-0.019350873306393623,
0.019401976838707924,
0.011625855229794979,
-0.05781414359807968,
0.041904181241989136,
0.002625399036332965,
-0.0396556630730629,
-0.020168516784906387,
0.002866007387638092,
0.001551178633235395,
-0.005663878284394741,
0.04442524537444115,
0.09321124851703644,
-0.04040516912937164,
-0.02834494225680828,
-0.016122888773679733,
-0.021037261933088303,
0.023881975561380386,
-0.03188806027173996,
-0.03958752751350403,
-0.009777641855180264,
-0.06939741224050522,
-0.03546524420380592,
-0.002312395256012678,
0.030065398663282394,
-0.04912668839097023,
0.0015841824933886528,
-0.03037201426923275,
0.030269809067249298,
0.03187102451920509,
-0.00886631105095148,
-0.019044257700443268,
0.0415634959936142,
-0.029349960386753082,
-0.041801974177360535,
0.0023443344980478287,
0.021343877539038658,
-0.008167908526957035,
0.006468744948506355,
-0.011532166972756386,
0.010612319223582745,
0.0003164638765156269,
-0.057746004313230515,
-0.059040606021881104,
-0.0701809823513031,
0.04602646082639694,
-0.028770796954631805,
0.035908136516809464,
0.01757931523025036,
0.0137551324442029,
0.03199026361107826,
0.018959086388349533,
0.027816880494356155,
0.00585125433281064,
-0.0589383989572525,
0.058018554002046585,
-0.06926114112138748,
0.03396623581647873,
0.012239087373018265,
0.01785186305642128,
-0.0034217489883303642,
0.0492970310151577,
-0.039110567420721054,
0.019299771636724472,
0.039383117109537125,
0.027476197108626366,
-0.006873307749629021,
0.012068744748830795,
-0.029741747304797173,
0.03367665410041809,
-0.051204863935709,
0.03672577813267708,
0.03587406873703003,
0.036180682480335236,
-0.0005951330531388521,
-0.0034153610467910767,
-0.052908286452293396,
-0.034834980964660645,
0.01212836429476738,
-0.04868379980325699,
0.012869353406131268,
-0.060437411069869995,
-0.004761064425110817,
-0.05985824763774872,
-0.001395741361193359,
-0.015407451428472996,
-0.02296212874352932,
0.016616880893707275,
-0.021582355722784996,
0.007661140523850918,
0.04793429374694824,
-0.08598874509334564,
-0.031070416793227196,
-0.02761247009038925,
-0.00411376403644681,
0.049603648483753204,
0.0030427374877035618,
0.01694904826581478,
-0.01846509426832199,
-0.02802129089832306,
0.03176882117986679,
0.007282129023224115,
0.05859771743416786,
-0.08019711077213287,
-0.034783877432346344,
-0.04037110134959221,
0.052192848175764084,
-0.024444105103611946,
0.02902631089091301,
0.03088304027915001,
0.033932164311409,
-0.028532318770885468,
-0.024546310305595398,
-0.005416881758719683,
0.03340410441160202,
-0.04565170779824257,
0.015339314937591553,
-0.015415969304740429,
0.05328303948044777,
-0.0035516349598765373,
-0.026573382318019867,
0.0180222038179636,
0.04681003466248512,
0.04827497899532318,
-0.009368821047246456,
-0.0014319390757009387,
0.051204863935709,
-0.036691710352897644,
-0.0006286691641435027,
0.02396714687347412,
-0.025295816361904144,
0.017766691744327545,
0.04687817394733429,
-0.010774143971502781,
-0.004658859223127365,
0.04517475143074989,
-0.01599513180553913,
-0.02628380060195923,
0.00034334600786678493,
-0.019078325480222702,
0.0038476043846458197,
0.0075930035673081875,
0.0399622805416584,
0.020304789766669273,
0.003585703205317259,
0.02975878305733204,
0.015066767111420631,
-0.03200729936361313,
0.026624485850334167,
0.0473891980946064,
-0.044050492346286774,
-0.06800060719251633,
-0.01853323169052601,
-0.019964106380939484,
-0.07256577908992767,
-0.06115284934639931,
0.05348744988441467,
-0.0013893535360693932,
0.009419923648238182,
0.016548745334148407,
0.024716652929782867,
0.026471177116036415,
-0.005310418084263802,
-0.008627831935882568,
-0.023728668689727783,
-0.015373383648693562,
-0.0293669942766428,
-0.018550265580415726,
0.025398021563887596,
-0.017255663871765137,
0.018959086388349533,
0.04827497899532318,
0.0035622811410576105,
-0.05842737480998039,
-0.0094369575381279,
-0.024938097223639488,
0.01431726198643446,
0.0551227368414402,
0.01650615967810154,
0.03132592886686325,
0.02391604520380497,
0.006915893405675888,
-0.02834494225680828,
-0.01785186305642128,
-0.005174144171178341,
0.03856547549366951,
0.08762402832508087,
-0.06922706961631775,
-0.03284197673201561,
0.0002227756631327793,
-0.04497034102678299,
-0.013414448127150536,
-0.06023300066590309,
0.008197718299925327,
0.03870174661278725,
-0.02851528488099575,
-0.05018281191587448,
-0.01119999960064888,
-0.0006787072052247822,
0.01738342083990574,
-0.002212319290265441,
0.07910691946744919,
0.020406994968652725,
0.042244866490364075,
0.02929885871708393,
-0.05795041471719742,
-0.053862202912569046,
-0.010740075260400772,
-0.0005461596883833408,
-0.0003907224163413048,
-0.037645626813173294,
-0.04646935313940048,
-0.060437411069869995,
-0.021122433245182037,
-0.04462965577840805,
0.004454448353499174,
-0.06932927668094635,
0.05730311572551727,
0.008840760216116905,
-0.007358782924711704,
0.05413475260138512,
-0.0648663118481636,
-0.08169611543416977,
-0.04282402992248535,
0.027697641402482986,
0.046912241727113724,
-0.00334722432307899,
-0.0007335360860452056,
-0.009700988419353962,
-0.00020095056970603764,
0.007243801839649677,
0.016463574022054672,
-0.00915589276701212,
0.08115102350711823,
-0.02156532183289528,
-0.009241064079105854,
-0.03682798519730568,
0.0076824333518743515,
0.0015341443940997124,
0.012136881239712238,
-0.0033238022588193417,
-0.009939467534422874,
0.04997840151190758,
-0.028259770944714546,
0.02807239443063736,
-0.0064985547214746475,
-0.0056085167452692986,
0.013201520778238773,
-0.004897338338196278,
0.03430691733956337,
-0.029963193461298943,
-0.012213535606861115,
-0.014376881532371044,
0.03566965460777283,
0.030218705534934998,
0.035567451268434525,
0.0285663865506649,
-0.03273976966738701,
-0.006281368434429169,
0.019861901178956032,
0.022076349705457687,
0.0033557412680238485,
0.01596958190202713,
0.03239908441901207,
0.024410037323832512,
-0.008593764156103134,
-0.05604258179664612,
-0.001658707158640027,
-0.05631513148546219,
0.08571619540452957,
-0.044493380934000015,
0.034715741872787476,
0.06203863024711609,
-0.02526174858212471,
0.017477110028266907,
0.04135908558964729,
0.03294418007135391,
0.06544547528028488,
-0.054202888160943985,
-0.0685797706246376,
-0.052192848175764084,
0.059142813086509705,
-0.0018769580638036132,
-0.031189655885100365,
-0.009896881878376007,
-0.015237109735608101,
-0.04425490275025368,
0.0025955892633646727,
-0.030746767297387123,
0.08803284913301468,
0.0043394677340984344,
0.004556654021143913,
-0.015424486249685287,
-0.005957718472927809,
0.027186615392565727,
-0.003700684290379286,
0.05355558916926384,
0.0020856272894889116,
-0.04135908558964729,
0.05716684088110924,
-0.013491102494299412,
-0.01308228075504303,
-0.014836805872619152,
-0.014470569789409637,
-0.05406661331653595,
0.0761088952422142,
-0.05485018715262413,
0.04057551175355911,
0.0128267677500844,
0.00039311786531470716,
-0.04534509405493736,
-0.024955132976174355,
0.011046691797673702,
-0.018890948966145515,
-0.0024848668836057186,
-0.001370190060697496,
0.044323038309812546,
0.023115435615181923,
0.007260836195200682,
-0.030406082049012184,
0.05989231541752815,
0.005966235417872667,
0.038940224796533585,
0.02430783212184906,
0.04994433373212814,
-0.0035047908313572407,
-0.03362555056810379,
-0.048411253839731216,
0.02156532183289528,
0.008593764156103134,
0.027101444080471992,
-0.029503269121050835,
0.0019568060524761677,
-0.04238113760948181,
-0.037304941564798355,
0.025074372068047523,
0.011080759577453136,
-0.07706280797719955,
-0.01746007613837719,
-0.034664638340473175,
-0.04108653962612152,
0.0321265384554863,
0.07433733344078064,
0.012647908180952072,
0.02722068317234516,
0.017937034368515015,
-0.00694996165111661,
0.012503117322921753,
-0.0073630413971841335,
0.017545245587825775,
-0.03115558810532093,
-0.043198782950639725,
0.0245974138379097,
-0.06357170641422272,
-0.008014600723981857,
0.007294904440641403,
-0.04411862790584564,
0.02739102579653263,
0.007128821220248938,
-0.02699923887848854,
-0.056621745228767395,
0.022536272183060646,
0.02834494225680828,
0.004162737634032965,
-0.024938097223639488,
0.058529578149318695,
-0.001006615930236876,
-0.02672669105231762,
0.04418676719069481,
0.018788743764162064,
-0.02061140537261963,
0.03396623581647873,
0.03951939195394516,
-0.011464029550552368,
0.019078325480222702,
-0.030167603865265846,
0.002914980985224247,
-0.019214600324630737,
0.029912089928984642,
-0.006690189708024263,
0.011651406064629555,
0.018993156030774117,
-0.01660836488008499,
0.024069352075457573,
-0.03342114016413689,
-0.007852775044739246,
-0.04984212666749954,
-0.02442707121372223,
-0.02761247009038925,
-0.0005935361259616911,
0.00038566539296880364,
-0.03054235689342022,
-0.007814448326826096,
-0.0021047908812761307,
0.106020987033844,
0.018788743764162064,
-0.03430691733956337,
0.004194676876068115,
0.041631631553173065,
-0.0019014447461813688,
-0.020066311582922935,
0.007103269919753075,
-0.043539464473724365,
-0.012562736868858337,
0.013448516838252544,
-0.040337033569812775,
-0.04428897053003311,
0.027936121448874474,
-0.009947984479367733,
0.004824942909181118,
-0.008666159585118294,
-0.030065398663282394,
-0.02521064504981041,
0.03437505662441254,
-0.05137520655989647,
-0.01321855466812849,
0.024886995553970337,
-0.0294180978089571,
-0.0031853991094976664,
-0.05979011207818985,
0.011642889119684696,
0.03396623581647873,
0.01851619780063629,
0.01459832675755024,
-0.028992243111133575,
0.023541292175650597,
0.0008517109672538936,
0.04234706982970238,
-0.0002629657683428377,
0.02824273705482483,
0.039996348321437836,
-0.016327299177646637,
-0.03267163410782814,
-0.004267072305083275,
-0.056008514016866684,
-0.0041095055639743805,
0.009479543194174767,
0.0415634959936142,
0.019725626334547997,
-0.04827497899532318,
0.08646570146083832,
0.025517260655760765,
0.036691710352897644,
-0.00825307983905077,
0.01457277499139309,
-0.0549183264374733,
0.06585429608821869,
0.004812167026102543,
0.06145946681499481,
-0.008640607818961143,
-0.10445383936166763,
0.035737793892621994,
-0.02998022735118866,
-0.00009741444227984175,
-0.04715071991086006,
-0.013073763810098171,
0.062174901366233826,
0.004552395083010197,
-0.05280608311295509,
0.0041095055639743805,
-0.02807239443063736,
0.07788044959306717,
0.005680912174284458,
-0.06926114112138748,
0.045787982642650604,
0.04793429374694824,
0.03115558810532093,
0.03476684167981148,
-0.02228076010942459,
-0.024120455607771873,
0.012222052551805973,
0.008908896706998348,
-0.049365170300006866,
0.03071269765496254,
0.02178676798939705,
-0.022536272183060646,
-0.0004993155598640442,
-0.015015664510428905,
-0.01035680528730154,
-0.01265642512589693,
0.038326993584632874,
0.0227406844496727,
0.022417033091187477,
0.004514068365097046,
-0.0207817479968071,
0.0024316348135471344,
0.01510083582252264,
-0.04817277565598488,
0.006170646287500858,
-0.004590722266584635,
-0.03761155903339386,
-0.003036349778994918,
-0.014019163325428963,
0.041733838617801666,
0.05171589180827141,
0.013661444187164307,
0.004799391608685255,
-0.059824179857969284,
-0.021599391475319862,
0.00843619741499424,
-0.02538098767399788,
0.023251710459589958,
-0.022945094853639603,
0.059483494609594345,
0.015475588850677013,
0.005885323043912649,
-0.03262053057551384,
0.054816119372844696,
-0.010459011420607567,
-0.008018858730793
]
|
37,212 | apeye_core | URL |
:mod:`pathlib`-like class for URLs.
:param url: The URL to construct the :class:`~apeye.url.URL` object from.
.. versionchanged:: 0.3.0 The ``url`` parameter can now be a string or a :class:`~.apeye.url.URL`.
.. versionchanged:: 1.1.0
Added support for sorting and rich comparisons (``<``, ``<=``, ``>`` and ``>=``).
.. autoclasssumm:: URL
:autosummary-sections: Methods
:autosummary-exclude-members: __lt__,__le__,__gt__,__ge__,__init__,__hash__
.. autosummary-widths:: 1/5
.. autoclasssumm:: URL
:autosummary-sections: Attributes
| class URL(os.PathLike):
r"""
:mod:`pathlib`-like class for URLs.
:param url: The URL to construct the :class:`~apeye.url.URL` object from.
.. versionchanged:: 0.3.0 The ``url`` parameter can now be a string or a :class:`~.apeye.url.URL`.
.. versionchanged:: 1.1.0
Added support for sorting and rich comparisons (``<``, ``<=``, ``>`` and ``>=``).
.. autoclasssumm:: URL
:autosummary-sections: Methods
:autosummary-exclude-members: __lt__,__le__,__gt__,__ge__,__init__,__hash__
.. autosummary-widths:: 1/5
.. autoclasssumm:: URL
:autosummary-sections: Attributes
"""
#: URL scheme specifier
scheme: str
#: Network location part of the URL
netloc: str
#: The hierarchical path of the URL
path: URLPath
query: Dict[str, List[str]]
"""
The query parameters of the URL, if present.
.. versionadded:: 0.7.0
"""
fragment: Optional[str]
"""
The URL fragment, used to identify a part of the document. :py:obj:`None` if absent from the URL.
.. versionadded:: 0.7.0
"""
def __init__(self, url: Union[str, "URL"] = ''):
if isinstance(url, URL):
url = str(url)
if not re.match("([A-Za-z-.]+:)?//", url):
url = "//" + str(url)
scheme, netloc, parts, params, query, fragment = urlparse(url)
self.scheme: str = scheme
self.netloc: str = netloc
self.path = URLPath(parts)
self.query = parse_qs(query or '')
self.fragment = fragment or None
@property
def port(self) -> Optional[int]:
"""
The port of number of the URL as an integer, if present. Default :py:obj:`None`.
.. versionadded:: 0.7.0
"""
if ':' not in self.netloc:
return None
else:
return int(self.netloc.split(':')[-1])
@classmethod
def from_parts(
cls: Type[URLType],
scheme: str,
netloc: str,
path: PathLike,
query: Optional[Mapping[Any, List]] = None,
fragment: Optional[str] = None,
) -> URLType:
"""
Construct a :class:`~apeye.url.URL` from a scheme, netloc and path.
:param scheme: The scheme of the URL, e.g ``'http'``.
:param netloc: The netloc of the URl, e.g. ``'bbc.co.uk:80'``.
:param path: The path of the URL, e.g. ``'/news'``.
:param query: The query parameters of the URL, if present.
:param fragment: The URL fragment, used to identify a part of the document.
:py:obj:`None` if absent from the URL.
Put together, the resulting path would be ``'http://bbc.co.uk:80/news'``
:rtype:
.. versionchanged:: 0.7.0 Added the ``query`` and ``fragment`` arguments.
"""
obj = cls('')
obj.scheme = scheme
obj.netloc = netloc
obj.query = dict(query or {})
obj.fragment = fragment or None
path = URLPath(path)
if path.root == '/':
obj.path = path
else:
obj.path = URLPath('/' + str(path))
return obj
def __str__(self) -> str:
"""
Returns the :class:`~apeye.url.URL` as a string.
"""
query = urlencode(self.query, doseq=True)
url = urlunparse([self.scheme, self.netloc, str(self.path), None, query, self.fragment])
if url.startswith("//"):
return url[2:]
else:
return url
def __repr__(self) -> str:
"""
Returns the string representation of the :class:`~apeye.url.URL`.
"""
return f"{self.__class__.__name__}({str(self)!r})"
def __truediv__(self: URLType, key: Union[PathLike, int]) -> URLType:
"""
Construct a new :class:`~apeye.url.URL` object for the given child of this :class:`~apeye.url.URL`.
:rtype:
.. versionchanged:: 0.7.0
* Added support for division by integers.
* Now officially supports the new path having a URL fragment and/or query parameters.
Any URL fragment or query parameters from the parent URL are not inherited by its children.
"""
try:
return self._make_child((key, ))
except TypeError:
return NotImplemented
def _make_child(self: URLType, args: Iterable[Union[PathLike, int]]) -> URLType:
"""
Construct a new :class:`~apeye.url.URL` object by combining the given arguments with this instance's path part.
.. versionadded:: 1.1.0 (private)
Except for the final path element any queries and fragments are ignored.
:returns: A new :class:`~.apeye.url.URL` representing either a subpath
(if all arguments are relative paths) or a totally different path
(if one of the arguments is absolute).
"""
parsed_args: List[ParseResult] = []
for arg in args:
raw_arg = arg
if isinstance(arg, pathlib.PurePath):
arg = arg.as_posix()
elif isinstance(arg, os.PathLike):
arg = os.fspath(arg)
elif isinstance(arg, int):
arg = str(arg)
try:
parse_result = urlparse(arg)
except AttributeError as e:
if str(e).endswith("'decode'"):
msg = f"Cannot join {type(raw_arg).__name__!r} to a {type(self.path).__name__!r}"
raise TypeError(msg) from None
else:
raise
parsed_args.append(parse_result)
try:
new_path = self.from_parts(
self.scheme,
self.netloc,
self.path.joinpath(*map(attrgetter("path"), parsed_args)),
)
except TypeError:
return NotImplemented
if parsed_args:
new_path.query = parse_qs(parsed_args[-1].query)
new_path.fragment = parsed_args[-1].fragment or None
return new_path
def joinurl(self: URLType, *args) -> URLType:
"""
Construct a new :class:`~apeye.url.URL` object by combining the given arguments with this instance's path part.
.. versionadded:: 1.1.0
Except for the final path element any queries and fragments are ignored.
:returns: A new :class:`~.apeye.url.URL` representing either a subpath
(if all arguments are relative paths) or a totally different path
(if one of the arguments is absolute).
"""
return self._make_child(args)
def __fspath__(self) -> str:
"""
Returns the file system path representation of the :class:`~.apeye.url.URL`.
This is comprised of the ``netloc`` and ``path`` attributes.
"""
return f"{self.netloc}{self.path}"
def __eq__(self, other) -> bool:
"""
Return ``self == other``.
.. latex:vspace:: -10px
.. attention::
URL fragments and query parameters are not compared.
.. seealso:: :meth:`.URL.strict_compare`, which *does* consider those attributes.
.. latex:vspace:: -20px
"""
if isinstance(other, URL):
return self.netloc == other.netloc and self.scheme == other.scheme and self.path == other.path
else:
return NotImplemented
def __lt__(self, other):
if isinstance(other, URL):
return self._parts_port < other._parts_port
else:
return NotImplemented
def __le__(self, other):
if isinstance(other, URL):
return self._parts_port <= other._parts_port
else:
return NotImplemented
def __gt__(self, other):
if isinstance(other, URL):
return self._parts_port > other._parts_port
else:
return NotImplemented
def __ge__(self, other):
if isinstance(other, URL):
return self._parts_port >= other._parts_port
else:
return NotImplemented
def strict_compare(self, other) -> bool:
"""
Return ``self ≡ other``, comparing the scheme, netloc, path, fragment and query parameters.
.. versionadded:: 0.7.0
"""
if isinstance(other, URL):
return (
self.netloc == other.netloc and self.scheme == other.scheme and self.path == other.path
and self.query == other.query and self.fragment == other.fragment
)
else:
return NotImplemented
def __hash__(self) -> int:
"""
Returns the has of the :class:`~apeye.url.URL` .
"""
return hash((self.scheme, self.netloc, self.path))
@property
def name(self) -> str:
"""
The final path component, if any.
"""
return self.path.name
@property
def suffix(self) -> str:
"""
The final component's last suffix, if any.
This includes the leading period. For example: ``'.txt'``.
"""
return self.path.suffix
@property
def suffixes(self) -> List[str]:
"""
A list of the final component's suffixes, if any.
These include the leading periods. For example: ``['.tar', '.gz']``.
"""
return self.path.suffixes
@property
def stem(self) -> str:
"""
The final path component, minus its last suffix.
"""
return self.path.stem
def with_name(self: URLType, name: str, inherit: bool = True) -> URLType:
"""
Return a new :class:`~apeye.url.URL` with the file name changed.
:param na | (url: Union[str, ForwardRef('URL')] = '') | [
0.005985325668007135,
0.01577451080083847,
-0.08511001616716385,
0.024971742182970047,
-0.013538235798478127,
-0.021277504041790962,
0.012266628444194794,
0.021990042179822922,
-0.016256844624876976,
-0.03510075435042381,
0.07717342674732208,
0.04031873121857643,
0.05213591083884239,
0.08103209733963013,
-0.0020211434457451105,
0.014546752907335758,
0.025782940909266472,
0.03448687493801117,
0.024467485025525093,
-0.008018800988793373,
-0.030189719051122665,
-0.020104555413126945,
0.024423636496067047,
-0.0073720356449484825,
-0.00333522935397923,
0.05410909652709961,
0.03211905434727669,
0.005091911647468805,
0.016826877370476723,
-0.04055989906191826,
0.005864742211997509,
0.024971742182970047,
0.02744918502867222,
-0.0013312142109498382,
0.04836493730545044,
-0.008331222459673882,
-0.005135760176926851,
0.06016019359230995,
-0.010512687265872955,
-0.023831680417060852,
-0.04389238730072975,
-0.019139887765049934,
-0.07449866831302643,
-0.02571716718375683,
0.0737532377243042,
0.05608228221535683,
-0.022713541984558105,
0.04389238730072975,
-0.0802866742014885,
-0.04479128122329712,
-0.034728042781353,
-0.02321780100464821,
0.01312167476862669,
0.009476765058934689,
-0.016498012468218803,
0.03762204572558403,
0.025870637968182564,
0.10900746285915375,
-0.030935144051909447,
0.05143433436751366,
0.03310564532876015,
-0.012387212365865707,
0.014864654280245304,
-0.0001930363359861076,
-0.030650127679109573,
0.006818447727710009,
-0.025454076007008553,
-0.009750818833708763,
-0.03808245435357094,
0.042774248868227005,
0.005661942530423403,
0.0192604698240757,
-0.027514956891536713,
0.005766082555055618,
0.032579462975263596,
-0.012738000601530075,
0.013757478445768356,
0.05516146123409271,
0.019337205216288567,
-0.003625726094469428,
0.0385209396481514,
-0.02755880542099476,
-0.031198235228657722,
-0.09576521068811417,
0.0034119642805308104,
0.01615818589925766,
0.011055313050746918,
-0.05472297593951225,
-0.023985151201486588,
0.07379709184169769,
-0.055775340646505356,
0.021661177277565002,
-0.008468248881399632,
-0.053714457899332047,
0.047224875539541245,
-0.012332401238381863,
-0.03928828984498978,
-0.044725507497787476,
0.037775516510009766,
-0.06844756752252579,
0.013308031484484673,
-0.02646259218454361,
-0.11444468796253204,
-0.005256343632936478,
-0.015752587467432022,
-0.02256007306277752,
-0.0006419700221158564,
-0.010107087902724743,
-0.054372187703847885,
-0.050776608288288116,
-0.01556623075157404,
0.005826374515891075,
0.01284762192517519,
0.033763375133275986,
-0.0024637398310005665,
0.006911625619977713,
-0.037665896117687225,
-0.02883041463792324,
0.03209713101387024,
0.004995992872864008,
-0.06406271457672119,
0.10129012167453766,
-0.06892990320920944,
0.024335939437150955,
0.03479381650686264,
0.036481983959674835,
-0.0336318276822567,
0.007032209541648626,
0.0014058937085792422,
-0.07217469066381454,
0.019413940608501434,
0.05494221672415733,
-0.041349172592163086,
0.02429209090769291,
-0.030869370326399803,
-0.002565139438956976,
-0.055029913783073425,
0.06112486124038696,
-0.04740026965737343,
0.09611599892377853,
-0.03874018415808678,
0.02297663316130638,
0.03575848415493965,
-0.024357862770557404,
-0.015029086731374264,
-0.017868278548121452,
0.014645411632955074,
-0.03556116297841072,
-0.0154456477612257,
0.0563453733921051,
0.03711778670549393,
-0.020817093551158905,
0.08546080440282822,
0.024379787966609,
0.02764650247991085,
-0.059809405356645584,
-0.03100091591477394,
-0.0298170056194067,
0.00013137432688381523,
-0.041480716317892075,
-0.007728304713964462,
-0.08278603851795197,
0.04435279592871666,
-0.03503498062491417,
-0.014700222760438919,
0.006823928561061621,
0.030540507286787033,
-0.03163671866059303,
0.002256829524412751,
0.034311480820178986,
0.05682770535349846,
0.03273293375968933,
-0.03314949572086334,
0.019435863941907883,
-0.02126654051244259,
0.024138620123267174,
0.033653754740953445,
-0.003113246290013194,
-0.016476089134812355,
-0.022516224533319473,
0.05928322300314903,
-0.039639078080654144,
-0.00007836213626433164,
0.015533344820141792,
0.04187535494565964,
0.04577787220478058,
-0.057836223393678665,
0.010331811383366585,
0.01551142055541277,
0.04290579631924629,
-0.06985072046518326,
-0.04691793769598007,
0.01838349923491478,
0.007147311698645353,
0.007607721257954836,
-0.01852600648999214,
-0.029773157089948654,
-0.0012106307549402118,
0.04617251083254814,
0.061519499868154526,
-0.037665896117687225,
0.02861117199063301,
-0.00653343228623271,
-0.06138795241713524,
0.0032804186921566725,
-0.021825609728693962,
0.006725269369781017,
0.006791042163968086,
0.018898719921708107,
0.03185596317052841,
-0.017440756782889366,
-0.009624754078686237,
-0.014820805750787258,
-0.014579638838768005,
-0.019249508157372475,
-0.06752675026655197,
-0.01630069501698017,
0.013253220357000828,
-0.0030392517801374197,
0.03900327533483505,
0.06603589653968811,
-0.009580905549228191,
0.046128660440444946,
-0.01500716246664524,
0.002323972526937723,
-0.05139048770070076,
0.022801239043474197,
0.005513953510671854,
0.007629645522683859,
-0.027164168655872345,
-0.0034695155918598175,
-0.031505174934864044,
0.034333404153585434,
0.03536384552717209,
0.04564632847905159,
0.019764728844165802,
-0.009750818833708763,
0.08594313263893127,
-0.008528540842235088,
-0.034201860427856445,
-0.012277591042220592,
-0.004557507578283548,
-0.0352323018014431,
0.0010270150378346443,
-0.004579431843012571,
-0.0011284147622063756,
0.019589334726333618,
0.007525505498051643,
-0.0011578754056245089,
-0.053495217114686966,
-0.026813380420207977,
0.043760839849710464,
-0.03707394003868103,
-0.03165864571928978,
-0.014502904377877712,
0.03503498062491417,
-0.08414534479379654,
-0.03948560729622841,
-0.02217639796435833,
0.00043437458225525916,
-0.01568681374192238,
-0.036591604351997375,
0.04163418710231781,
0.03023356758058071,
-0.018482157960534096,
-0.02179272286593914,
0.033566057682037354,
-0.02635297179222107,
-0.04001178964972496,
0.027076471596956253,
0.09637908637523651,
-0.024971742182970047,
-0.04911036416888237,
0.047751057893037796,
-0.004195757210254669,
-0.0027843820862472057,
-0.00698836101219058,
-0.05463527888059616,
0.02558562159538269,
-0.017495566979050636,
-0.01695842295885086,
-0.01113204751163721,
0.009115015156567097,
-0.05301288142800331,
0.03904712200164795,
-0.0033872995991259813,
-0.024796348065137863,
0.07664724439382553,
-0.06301034986972809,
0.013165523298084736,
0.017550377175211906,
-0.044067781418561935,
-0.03189980983734131,
0.01847119629383087,
0.039836395531892776,
0.0330398753285408,
-0.013571122661232948,
-0.014678298495709896,
0.03100091591477394,
-0.07243778556585312,
-0.03328103944659233,
0.007043171674013138,
0.030102021992206573,
0.026616062968969345,
0.0045218802988529205,
0.014459055848419666,
-0.01635550521314144,
-0.003729866351932287,
0.03255753964185715,
0.032140977680683136,
0.03271101042628288,
-0.035517316311597824,
-0.03784129023551941,
0.053495217114686966,
0.007925623096525669,
0.04073529317975044,
0.012694152072072029,
-0.022910861298441887,
-0.03580233082175255,
0.03457457199692726,
-0.04479128122329712,
0.06274725496768951,
-0.01810944639146328,
0.01838349923491478,
-0.0074432892724871635,
-0.037907060235738754,
0.01426173746585846,
0.040187183767557144,
-0.06730750948190689,
0.022494299337267876,
-0.009147901087999344,
0.08594313263893127,
0.030123945325613022,
0.011532165110111237,
-0.0877409279346466,
-0.014349434524774551,
-0.009827553294599056,
-0.022823164239525795,
0.02069650962948799,
-0.006774599198251963,
0.035078831017017365,
-0.030847446992993355,
-0.020137440413236618,
-0.008144865743815899,
0.017955975607037544,
-0.06358037889003754,
-0.015149669721722603,
0.0046095773577690125,
0.051127396523952484,
-0.05336366966366768,
-0.01904122717678547,
-0.0319875068962574,
-0.04400200769305229,
-0.014513866044580936,
0.03179018944501877,
-0.033434510231018066,
-0.03514460474252701,
-0.0965544804930687,
0.014941389672458172,
-0.02687915414571762,
0.06160719692707062,
-0.007848888635635376,
-0.048408787697553635,
-0.016245882958173752,
0.014809844084084034,
-0.010666157118976116,
0.05656461417675018,
0.021748874336481094,
-0.02429209090769291,
-0.032360222190618515,
0.0008680640021339059,
-0.055775340646505356,
0.041699960827827454,
-0.09813302755355835,
0.048408787697553635,
-0.021058261394500732,
0.058713193982839584,
0.047531817108392715,
-0.05217976123094559,
0.011850067414343357,
0.05590688809752464,
0.04031873121857643,
0.019139887765049934,
-0.007108944468200207,
0.0031845001503825188,
0.0020211434457451105,
0.04735642299056053,
0.030211642384529114,
0.027076471596956253,
0.04520784318447113,
-0.008512097410857677,
0.029312748461961746,
0.028194610029459,
0.004620539490133524,
0.008128422312438488,
0.01372459251433611,
0.017429793253540993,
0.008528540842235088,
-0.005091911647468805,
0.013176485896110535,
0.04218229278922081,
-0.016673406586050987,
0.021584443747997284,
0.0813828855752945,
0.02286701276898384,
-0.03154902160167694,
0.11049831658601761,
0.043081190437078476,
-0.021551556885242462,
-0.004639723338186741,
-0.010792221873998642,
-0.06169489398598671,
-0.11023522168397903,
0.013209371827542782,
0.0330398753285408,
-0.0053659649565815926,
0.027580730617046356,
-0.02027994953095913,
0.020455343648791313,
0.016092414036393166,
-0.006791042163968086,
-0.005418035201728344,
0.00022198322403710335,
0.025103287771344185,
0.0014565936289727688,
-0.009328776970505714,
0.0002098221011692658,
-0.015390836633741856,
0.007755710277706385,
0.037358954548835754,
0.022910861298441887,
-0.03538576886057854,
-0.02839192934334278,
-0.01507293526083231,
0.019008342176675797,
0.012924356386065483,
0.01197065133601427,
-0.010710005648434162,
0.04854033142328262,
-0.019315281882882118,
-0.02206677757203579,
-0.035276148468256,
-0.005135760176926851,
0.025388304144144058,
0.10146551579236984,
-0.04595326632261276,
0.017605187371373177,
-0.004099838435649872,
-0.004099838435649872,
-0.017046120017766953,
-0.008090055547654629,
0.008555945940315723,
0.013308031484484673,
0.006681420840322971,
-0.10435952246189117,
-0.04316888749599457,
-0.018646590411663055,
0.057397738099098206,
-0.030825521796941757,
0.04084491357207298,
0.0022349052596837282,
0.04187535494565964,
0.030408961698412895,
-0.041480716317892075,
-0.04229191690683365,
0.04327850788831711,
0.03608734533190727,
-0.03567078709602356,
-0.023261649534106255,
-0.03575848415493965,
-0.07651569694280624,
-0.012200855650007725,
-0.026155652478337288,
0.04630405455827713,
-0.02690107747912407,
0.03874018415808678,
0.011247149668633938,
-0.024993667379021645,
-0.0013825992355123162,
-0.06489583849906921,
-0.009690526872873306,
-0.04422125220298767,
0.021661177277565002,
0.04577787220478058,
0.023239724338054657,
-0.022954709827899933,
-0.010107087902724743,
0.05494221672415733,
0.02547600120306015,
-0.02742725983262062,
0.010035834275186062,
0.028348080813884735,
-0.04963654652237892,
0.028435777872800827,
-0.046128660440444946,
0.031592871993780136,
-0.04042835161089897,
-0.016399353742599487,
-0.03924444317817688,
-0.006845852825790644,
0.03165864571928978,
-0.025388304144144058,
0.02217639796435833,
-0.0012887358898296952,
0.014338471926748753,
0.050031181424856186,
-0.023831680417060852,
0.023349346593022346,
-0.016640519723296165,
-0.030387036502361298,
-0.04356352239847183,
-0.0018841169076040387,
0.04792645201086998,
0.002647355431690812,
0.0082599688321352,
0.029970476403832436,
-0.006226492580026388,
0.01197065133601427,
0.02148578315973282,
-0.055775340646505356,
0.006418329663574696,
0.027821896597743034,
0.06664977967739105,
-0.004420480690896511,
-0.03499113395810127,
0.0187123641371727,
0.012650303542613983,
0.03251368924975395,
0.017429793253540993,
0.03047473356127739,
0.05735388770699501,
-0.008758745156228542,
0.027909595519304276,
0.041151851415634155,
0.05323212593793869,
0.10032545775175095,
-0.033872995525598526,
-0.02665991149842739,
-0.0000731808104319498,
0.060247890651226044,
0.024204393848776817,
0.059458617120981216,
-0.035626936703920364,
-0.05941477045416832,
-0.040603745728731155,
-0.04273040220141411,
0.041897278279066086,
0.03512267768383026,
0.02720801718533039,
-0.019139887765049934,
-0.01441520731896162,
0.030978992581367493,
0.06094946712255478,
0.017846355214715004,
0.040077563375234604,
0.008577870205044746,
0.03282063081860542,
-0.021058261394500732,
0.016202034428715706,
-0.005733196157962084,
-0.048847272992134094,
-0.021748874336481094,
-0.07511254400014877,
0.00942743569612503,
-0.026155652478337288,
0.03435533121228218,
0.02852347493171692,
-0.04569017514586449,
-0.00981111079454422,
-0.0009002652950584888,
-0.02157348021864891,
0.017243437469005585,
-0.02058688923716545,
-0.0189864169806242,
0.0336318276822567,
-0.03222867473959923,
-0.035605013370513916,
-0.015555269084870815,
0.037775516510009766,
-0.016673406586050987,
0.0173420961946249,
0.03924444317817688,
-0.01701323315501213,
-0.029027732089161873,
-0.003011846449226141,
-0.04128339886665344,
0.024094771593809128,
0.047663360834121704,
0.011055313050746918,
-0.0661235973238945,
-0.03753434866666794,
-0.007772153243422508,
0.009098571725189686,
-0.019249508157372475,
-0.006955474149435759,
-0.0509520024061203,
-0.060993317514657974,
-0.0596340112388134,
0.007755710277706385,
0.037358954548835754,
0.0008529910701327026,
0.006736231502145529,
0.0007598129450343549,
-0.015051010996103287,
-0.012442022562026978,
-0.012211818248033524,
0.007766672410070896,
0.04867187887430191,
-0.017901165410876274,
-0.050688911229372025,
0.08532925695180893,
0.010392103344202042,
-0.01819714345037937,
0.006939031183719635,
-0.06423810869455338,
-0.02536637894809246,
-0.01730921119451523,
0.01847119629383087,
-0.025454076007008553,
0.004077914170920849,
-0.01648705080151558,
-0.019578373059630394,
0.02698877453804016,
0.032140977680683136,
-0.0780942440032959,
-0.04163418710231781,
0.00794206652790308,
0.018262915313243866,
-0.04801414906978607,
-0.05169742554426193,
0.05007503181695938,
-0.01761615090072155,
-0.029663536697626114,
-0.026046032086014748,
-0.018865833058953285,
-0.06928069144487381,
0.027887670323252678,
-0.00935618206858635,
0.027032623067498207,
0.0444624163210392,
-0.041568413376808167,
-0.0029515547212213278,
-0.018240991979837418,
0.008665567263960838,
-0.04525168985128403,
0.008539502508938313,
0.02297663316130638,
-0.0759456679224968,
0.019797615706920624,
-0.019709918648004532,
0.03262331336736679,
0.03328103944659233,
0.043980084359645844,
-0.034311480820178986,
-0.021694064140319824,
0.05994095280766487,
-0.010293444618582726,
-0.038104381412267685,
-0.010381141677498817,
0.022242171689867973,
0.025015590712428093,
-0.04946115240454674,
0.05345136672258377,
-0.028918111696839333,
-0.03621889278292656,
0.06116871163249016,
0.048101846128702164,
-0.011948727071285248,
-0.006023692898452282,
0.005152203142642975,
-0.053495217114686966,
0.03141747787594795,
-0.028150761500000954,
0.0006419700221158564,
0.017627112567424774,
-0.03176826611161232,
-0.024007074534893036,
-0.009180787950754166,
-0.03102284111082554,
-0.004595874808728695,
-0.0012955872807651758,
-0.01092376746237278,
-0.0308912955224514,
0.01659667119383812,
0.05463527888059616,
0.07379709184169769,
0.017583264037966728,
-0.015379874967038631,
0.026857228949666023,
-0.04529554024338722,
0.02536637894809246,
0.015204480849206448,
0.013845175504684448,
-0.010430471040308475,
-0.006363519001752138,
0.02547600120306015,
0.0173640213906765,
-0.015412760898470879,
0.03795091062784195,
-0.032140977680683136,
0.033346813172101974,
0.008238044567406178,
0.015149669721722603,
-0.002558288164436817,
0.02852347493171692,
0.04643560200929642,
-0.019381053745746613,
-0.0017566820606589317,
-0.01240913663059473,
0.02992662787437439,
-0.05060121417045593,
0.02118980698287487,
0.009597348980605602,
-0.06594820320606232,
0.009734375402331352,
-0.0031543541699647903,
0.0406695194542408,
-0.012650303542613983,
-0.02288893610239029,
0.013264182955026627,
0.044835131615400314,
-0.04382661357522011,
0.0716046616435051,
-0.005113835912197828,
0.0036832771729677916,
-0.02959776297211647,
-0.024664802476763725,
-0.02828230708837509,
0.022143511101603508,
-0.0206088125705719,
-0.06958763301372528,
0.10023775696754456,
-0.0019183735130354762,
0.025388304144144058,
0.0335879810154438,
-0.07796270400285721,
0.041568413376808167,
-0.03354413062334061,
-0.0030639166943728924,
0.001431928831152618,
0.015730662271380424,
-0.016914574429392815,
-0.027887670323252678,
-0.05954631417989731,
0.024094771593809128,
-0.03078167326748371,
0.039419837296009064,
0.010578460060060024,
-0.019468750804662704,
0.014119229279458523,
-0.014272699132561684,
0.0034859587904065847,
0.0019814057741314173,
0.0074158841744065285,
0.017079005017876625,
-0.03827977553009987,
-0.012858583591878414,
0.0031543541699647903,
-0.003817563410848379,
-0.028370004147291183,
-0.05292518436908722,
0.049504999071359634,
0.04163418710231781,
-0.017079005017876625,
0.045909419655799866,
0.04165611043572426,
-0.027054548263549805,
-0.010814146138727665
]
|
37,230 | apeye_core | URLPath |
Represents the path part of a URL.
Subclass of :class:`pathlib.PurePosixPath` that provides a subset of its methods.
.. versionchanged:: 1.1.0
Implemented :meth:`~.apeye.url.URLPath.is_absolute`, :meth:`~.apeye.url.URLPath.joinpath`,
:meth:`~.apeye.url.URLPath.relative_to`, :meth:`~.pathlib.PurePath.match`,
``anchor``, ``drive``, and support for rich comparisons (``<``, ``<=``, ``>`` and ``>=``),
which previously raised :exc:`NotImplementedError`.
.. latex:clearpage::
| class URLPath(pathlib.PurePosixPath):
"""
Represents the path part of a URL.
Subclass of :class:`pathlib.PurePosixPath` that provides a subset of its methods.
.. versionchanged:: 1.1.0
Implemented :meth:`~.apeye.url.URLPath.is_absolute`, :meth:`~.apeye.url.URLPath.joinpath`,
:meth:`~.apeye.url.URLPath.relative_to`, :meth:`~.pathlib.PurePath.match`,
``anchor``, ``drive``, and support for rich comparisons (``<``, ``<=``, ``>`` and ``>=``),
which previously raised :exc:`NotImplementedError`.
.. latex:clearpage::
"""
def __str__(self) -> str:
"""
Return the string representation of the path, suitable for passing to system calls.
"""
if not hasattr(self, "_root") and hasattr(self, "_load_parts"):
self._load_parts() # type: ignore[attr-defined]
try:
return self._str # type: ignore
except AttributeError:
if hasattr(self, "_parts"):
parts = self._parts # type: ignore[attr-defined]
else:
parts = self._tail # type: ignore[attr-defined]
self._str = self._format_parsed_parts(self._drv, self._root, parts) or '' # type: ignore
return self._str
def __repr__(self) -> str:
return super().__repr__()
@classmethod
def _format_parsed_parts(cls, drv, root, parts):
if drv or root:
if sys.version_info > (3, 12):
return drv + root + '/'.join(parts)
else:
return drv + root + '/'.join(parts[1:])
else:
return '/'.join(parts)
def is_absolute(self) -> bool:
"""
Returns whether the path is absolute (i.e. starts with ``/``).
.. versionadded:: 1.1.0 previously raised :exc:`NotImplementedError`.
"""
return self.root == '/'
def joinpath(self: URLPathType, *args) -> URLPathType:
"""
Combine this :class:`~.apeye.url.URLPath` with one or several arguments.
.. versionadded:: 1.1.0 previously raised :exc:`NotImplementedError`.
:returns: A new :class:`~.apeye.url.URLPath` representing either a subpath
(if all arguments are relative paths) or a totally different path
(if one of the arguments is absolute).
"""
return super().joinpath(*args)
def relative_to(self: URLPathType, *other: PathLike) -> URLPathType:
r"""
Returns the relative path to another path identified by the passed arguments.
The arguments are joined together to form a single path, and therefore the following behave identically:
.. code-block:: pycon
>>> URLPath("/news/sport").relative_to("/", "news")
URLPath('sport')
>>> URLPath("/news/sport").relative_to("/news")
URLPath('sport')
.. versionadded:: 1.1.0 previously raised :exc:`NotImplementedError`.
:param \*other:
:raises ValueError: if the operation is not possible (because this is not a subpath of the other path)
.. latex:clearpage::
.. seealso::
:meth:`~.apeye.url.URL.relative_to`, which is recommended when constructing a relative path from a :class:`~URL`.
This method cannot correctly handle some cases, such as:
.. code-block:: pycon
>>> URL("https://github.com/domdfcoding").path.relative_to(URL("https://github.com").path)
Traceback (most recent call last):
ValueError: '/domdfcoding' does not start with ''
Since ``URL("https://github.com").path`` is ``URLPath('')``.
Instead, use:
>>> URL("https://github.com/domdfcoding").relative_to(URL("https://github.com"))
URLPath('domdfcoding')
"""
return super().relative_to(*other)
def as_uri(self, *args, **kwargs) -> "NoReturn": # noqa: D102
raise NotImplementedError
| (*args) | [
0.019023440778255463,
0.016034893691539764,
-0.07466402649879456,
0.03993333876132965,
0.010286160744726658,
-0.05631573498249054,
0.005619659088551998,
0.052661966532468796,
0.02216091752052307,
-0.027601860463619232,
0.0798666775226593,
0.020671607926487923,
0.04471898451447487,
0.07422716170549393,
-0.030937911942601204,
0.025854403153061867,
0.031573351472616196,
-0.00041700652218423784,
0.0031846389174461365,
0.00707918219268322,
-0.0028743662405759096,
-0.011169817298650742,
0.021465906873345375,
-0.011914472095668316,
-0.012073331512510777,
0.06799191981554031,
0.00023348021204583347,
0.00663238950073719,
0.00338569562882185,
-0.07442573457956314,
0.012530053034424782,
0.022399207577109337,
0.0007167299627326429,
-0.0024101983290165663,
0.040131911635398865,
0.013493139296770096,
-0.004378568381071091,
0.043011244386434555,
0.026867134496569633,
-0.04039005935192108,
-0.08808766305446625,
-0.0007868515676818788,
-0.04201836884021759,
-0.0466650128364563,
0.02170419692993164,
0.020989328622817993,
-0.04845218360424042,
0.027323855087161064,
-0.0541711300611496,
-0.014863303862512112,
-0.019946811720728874,
0.0005339793278835714,
0.004733520559966564,
0.0007899543270468712,
-0.02994503825902939,
0.04861104488372803,
0.004850182682275772,
0.07601433247327805,
-0.03673628717660904,
0.022220490500330925,
0.019619163125753403,
-0.010772667825222015,
0.01271869894117117,
0.001385057345032692,
-0.0027328820433467627,
-0.006284883711487055,
-0.017246197909116745,
-0.024285664781928062,
-0.008955711498856544,
0.05004078149795532,
-0.046148721128702164,
0.023153789341449738,
-0.02575511671602726,
-0.026013262569904327,
0.02968689240515232,
-0.025377824902534485,
0.01930144429206848,
0.07339314371347427,
0.049008194357156754,
-0.007942981086671352,
-0.018109997734427452,
-0.04789617657661438,
-0.008067090064287186,
-0.0602872259914875,
0.029766321182250977,
0.015697317197918892,
0.005902627948671579,
-0.030044326558709145,
-0.008637991733849049,
0.05996950715780258,
-0.023312650620937347,
0.018487289547920227,
-0.02575511671602726,
-0.01688876375555992,
0.022955216467380524,
-0.04106521233916283,
-0.005316833034157753,
-0.03296337276697159,
0.039695046842098236,
-0.06449700891971588,
-0.004323960281908512,
-0.03506826236844063,
-0.06302755326032639,
-0.0075011528097093105,
-0.033539239317178726,
0.0018405376467853785,
-0.0026708273217082024,
-0.004537427797913551,
-0.020453177392482758,
-0.07271799445152283,
-0.035783130675554276,
0.027184853330254555,
-0.016183823347091675,
0.021783625707030296,
-0.024523954838514328,
0.013503068126738071,
-0.040747493505477905,
-0.04853161424398422,
0.04777703061699867,
-0.004991667345166206,
-0.04201836884021759,
0.09896954894065857,
-0.07915180921554565,
0.0157966036349535,
0.032466936856508255,
0.014912947081029415,
-0.027899721637368202,
0.03252650797367096,
-0.03655757009983063,
-0.0617566779255867,
0.0005659374292008579,
0.06981880217790604,
-0.03498883172869682,
0.024801958352327347,
-0.024742387235164642,
0.021585050970315933,
-0.009908868931233883,
0.04583100229501724,
-0.030640050768852234,
0.1008758619427681,
0.019013511016964912,
0.011854899115860462,
0.035306550562381744,
-0.010107443667948246,
0.012986774556338787,
0.032903797924518585,
0.007709655910730362,
-0.04908762499690056,
-0.024325380101799965,
0.047379881143569946,
0.03522711992263794,
-0.043328963220119476,
0.07295627892017365,
0.0406283475458622,
0.03810645267367363,
-0.06191553920507431,
-0.02593383379280567,
-0.028078438714146614,
0.007476331200450659,
-0.036517854779958725,
-0.01423779409378767,
-0.09738095104694366,
0.059731218963861465,
-0.012599553912878036,
0.006309705786406994,
0.028733734041452408,
0.000042003168346127495,
-0.03828516975045204,
0.012788199819624424,
0.009700365364551544,
0.04642672464251518,
0.034849829971790314,
-0.031215915456414223,
0.0009661891963332891,
-0.022021915763616562,
-0.007928088307380676,
0.026728130877017975,
0.04940534383058548,
-0.009824475273489952,
-0.04174036532640457,
0.07486259937286377,
-0.03836460039019585,
-0.005396262742578983,
0.0331818051636219,
0.03514769300818443,
0.05989007651805878,
-0.02184319868683815,
0.008513882756233215,
0.01641218550503254,
0.04281266778707504,
-0.11247261613607407,
0.00406581349670887,
0.03270522505044937,
0.05758661404252052,
0.013890288770198822,
-0.03240736201405525,
0.007655048277229071,
-0.018278785049915314,
-0.01062373723834753,
0.08562533557415009,
-0.04005248099565506,
0.024484239518642426,
0.0045498390682041645,
-0.04205808416008949,
-0.0018244035309180617,
-0.02545725554227829,
0.0009122017654590309,
0.002380412071943283,
-0.005644481163471937,
0.033201660960912704,
-0.01795113831758499,
-0.016015036031603813,
-0.024285664781928062,
-0.0497230626642704,
0.0012870111968368292,
-0.02772100456058979,
-0.00850395392626524,
0.036080993711948395,
-0.010425162501633167,
0.051152799278497696,
0.05532286316156387,
0.007322435732930899,
0.028972024098038673,
-0.031851354986429214,
0.010494664311408997,
-0.061677247285842896,
0.007247970439493656,
0.03228821977972984,
0.04579128697514534,
-0.022021915763616562,
0.007312506902962923,
-0.046029575169086456,
0.04098578169941902,
0.023074360564351082,
0.05524343252182007,
0.020254602655768394,
-0.004976774100214243,
0.038046881556510925,
-0.009794688783586025,
-0.009730151854455471,
-0.02257792465388775,
-0.024067232385277748,
-0.03449239581823349,
-0.012381121516227722,
-0.02468281425535679,
0.01167618203908205,
0.010663452558219433,
0.010891812853515148,
0.028694018721580505,
-0.06759476661682129,
0.013026488944888115,
0.0527016818523407,
-0.04078720882534981,
-0.03332080692052841,
-0.006051559001207352,
0.030322330072522163,
-0.06354384869337082,
-0.02303464524447918,
-0.011169817298650742,
0.024603383615612984,
-0.018765293061733246,
-0.036378853023052216,
0.0023940640967339277,
-0.007044431287795305,
-0.00896564032882452,
-0.025655828416347504,
0.007074217777699232,
-0.031215915456414223,
-0.0255962572991848,
0.05524343252182007,
0.04606929048895836,
-0.01251019537448883,
-0.055362578481435776,
0.04166093468666077,
0.003192085539922118,
0.011308819055557251,
-0.029329458251595497,
-0.010435091331601143,
0.020850325003266335,
-0.008662814274430275,
-0.03780858963727951,
0.013165491633117199,
0.008310344070196152,
-0.029925182461738586,
0.02515939250588417,
-0.020711323246359825,
-0.011020886711776257,
0.05544200912117958,
-0.044798415154218674,
0.04142264649271965,
0.04726073890924454,
-0.01068330928683281,
-0.030163470655679703,
0.011427964083850384,
0.06648275256156921,
0.06219354271888733,
-0.0006416439427994192,
-0.03828516975045204,
0.021307047456502914,
-0.07128825783729553,
-0.024782100692391396,
0.03792773559689522,
0.0007521010120399296,
0.03226836025714874,
0.00007752938836347312,
-0.002205418422818184,
0.0036140563897788525,
0.003420446300879121,
0.027959294617176056,
0.006111131049692631,
0.013165491633117199,
-0.052503105252981186,
-0.037669587880373,
0.05989007651805878,
0.009933690540492535,
0.07601433247327805,
0.015518599189817905,
0.0010505833197385073,
-0.03687528893351555,
0.0331619456410408,
-0.052939970046281815,
0.09229744225740433,
-0.025794832035899162,
-0.005599801894277334,
-0.009879082441329956,
-0.030540762469172478,
0.025377824902534485,
0.04340839385986328,
-0.04281266778707504,
0.04583100229501724,
0.019380874931812286,
0.06302755326032639,
0.01973830908536911,
0.005758661311119795,
-0.05544200912117958,
-0.0007831283146515489,
0.0013056275201961398,
-0.023253077641129494,
0.028872735798358917,
0.008657849393785,
0.0542505607008934,
-0.022836070507764816,
-0.012311620637774467,
-0.002988546621054411,
0.0002514760126359761,
-0.06147867441177368,
-0.024126805365085602,
0.04130350053310394,
0.05000106617808342,
-0.03218892961740494,
0.0005901386612094939,
-0.008320272900164127,
-0.035922132432460785,
-0.01122938934713602,
-0.0072380416095256805,
-0.016034893691539764,
-0.047062162309885025,
-0.02081061154603958,
0.037133436650037766,
-0.008573455736041069,
0.06803163141012192,
-0.03189107030630112,
-0.03236764669418335,
-0.004616857971996069,
-0.01747455820441246,
-0.005063650663942099,
0.040747493505477905,
0.035485267639160156,
-0.02454381249845028,
0.004537427797913551,
-0.008032339625060558,
-0.041502077132463455,
0.028257155790925026,
-0.10786568373441696,
0.0436863973736763,
0.003996312618255615,
0.047499027103185654,
0.01944044604897499,
-0.06207439675927162,
0.017266055569052696,
0.07132796943187714,
0.03641856834292412,
0.0020428355783224106,
0.003969008568674326,
-0.0066423178650438786,
0.03955604508519173,
0.09110599756240845,
0.008558562025427818,
0.013781072571873665,
0.022041773423552513,
-0.0069749304093420506,
0.010206731036305428,
0.032764796167612076,
-0.02817772515118122,
-0.019182300195097923,
-0.031235773116350174,
0.01749441586434841,
0.012559838593006134,
0.021346762776374817,
0.0037431297823786736,
0.04928619787096977,
-0.005674267187714577,
0.02049289084970951,
0.046943020075559616,
0.008359987288713455,
-0.004179993644356728,
0.09348888695240021,
0.04162122309207916,
-0.03137477487325668,
-0.013552711345255375,
-0.0256359726190567,
-0.04638700932264328,
-0.08085954934358597,
0.0029935110360383987,
0.048412472009658813,
0.009879082441329956,
-0.02049289084970951,
-0.029329458251595497,
0.053098827600479126,
0.004641679581254721,
-0.028991881757974625,
-0.01746463030576706,
-0.043884970247745514,
0.038622744381427765,
0.03361866623163223,
-0.013632141053676605,
-0.019758164882659912,
-0.020433319732546806,
0.05063650384545326,
0.04626786708831787,
0.018189426511526108,
-0.0233523640781641,
-0.05651431158185005,
-0.020234744995832443,
0.009352860040962696,
0.008116734214127064,
0.012311620637774467,
-0.020751038566231728,
0.02289564348757267,
-0.036656856536865234,
-0.02529839426279068,
-0.0025367895141243935,
0.0008122939616441727,
0.03880146145820618,
0.09253573417663574,
-0.05317825824022293,
-0.021465906873345375,
-0.005058686248958111,
0.005167901981621981,
0.001164143206551671,
-0.00955143477767706,
0.003874685615301132,
0.04158150777220726,
0.031851354986429214,
-0.12534023821353912,
-0.045989859849214554,
-0.023094218224287033,
0.03451225161552429,
-0.03479025885462761,
0.02833658456802368,
0.008345094509422779,
0.045116133987903595,
0.057626329362392426,
-0.024345237761735916,
-0.013165491633117199,
0.023153789341449738,
0.01699797995388508,
-0.01175561174750328,
-0.05019964277744293,
-0.026112550869584084,
-0.012450623326003551,
-0.048889048397541046,
-0.036239851266145706,
0.03959576040506363,
0.008588348515331745,
0.029309600591659546,
0.024504097178578377,
0.0017375270836055279,
-0.013354137539863586,
-0.06648275256156921,
-0.03296337276697159,
-0.08034325391054153,
0.00380270229652524,
0.020234744995832443,
0.022955216467380524,
-0.017226340249180794,
-0.010147158056497574,
0.06707847863435745,
-0.00025597497005946934,
-0.04233609139919281,
0.030103899538517,
0.05830148234963417,
-0.06195525452494621,
0.03737172484397888,
-0.03197050094604492,
0.0346512570977211,
-0.04638700932264328,
-0.02573525905609131,
-0.06584731489419937,
-0.02392823062837124,
0.03119605779647827,
-0.04849189892411232,
0.023253077641129494,
0.007674905471503735,
0.023074360564351082,
0.07001738250255585,
-0.016660403460264206,
0.005043793004006147,
-0.015866104513406754,
-0.041184358298778534,
-0.015746960416436195,
0.0010952625889331102,
0.04563242569565773,
-0.003621503012254834,
0.012182547710835934,
0.05027906969189644,
0.013671856373548508,
0.006354385055601597,
0.05742775276303291,
-0.036358997225761414,
-0.010445020161569118,
0.014952662400901318,
0.025477111339569092,
-0.01672990433871746,
-0.04324953258037567,
-0.011110245250165462,
-0.0026509698946028948,
0.018109997734427452,
0.0037828448694199324,
0.04035034403204918,
0.0421772301197052,
0.01498244795948267,
0.04106521233916283,
0.045433852821588516,
0.06306727230548859,
0.11525265872478485,
-0.06668132543563843,
-0.029726607725024223,
-0.011427964083850384,
0.07803978770971298,
0.0240870900452137,
0.033797383308410645,
-0.03435339406132698,
-0.039853908121585846,
-0.0029637247789651155,
-0.03355909511446953,
0.05524343252182007,
0.005148044787347317,
0.03596184775233269,
-0.005743768066167831,
-0.004875004757195711,
0.020393604412674904,
0.07394915819168091,
0.06084323674440384,
0.036200135946273804,
-0.010574094019830227,
0.0158363189548254,
-0.005892699118703604,
-0.017077408730983734,
-0.007803978864103556,
-0.08181270956993103,
-0.03069962188601494,
-0.07510088384151459,
0.0062153828330338,
-0.009208893403410912,
0.0586986318230629,
0.0218630563467741,
-0.017107196152210236,
0.03868231922388077,
-0.02573525905609131,
-0.045394137501716614,
0.029250027611851692,
-0.025834545493125916,
-0.04320981726050377,
0.023610511794686317,
0.00036643206840381026,
-0.019202157855033875,
-0.031116629019379616,
0.02184319868683815,
-0.008682671003043652,
0.009576256386935711,
0.02698627859354019,
-0.01429736614227295,
-0.03252650797367096,
-0.006413957104086876,
-0.023888515308499336,
0.04054892063140869,
0.06862735748291016,
-0.01836814358830452,
-0.0738300085067749,
-0.03558455407619476,
-0.046943020075559616,
0.04021134227514267,
0.007828800939023495,
-0.0157966036349535,
-0.054607994854450226,
-0.038027022033929825,
-0.03629942238330841,
0.01761355996131897,
0.012341407127678394,
-0.0006919081206433475,
0.04021134227514267,
0.01971845142543316,
0.015995178371667862,
0.025576399639248848,
-0.007655048277229071,
0.005828162655234337,
0.03383709862828255,
-0.046784158796072006,
0.0010636148508638144,
0.053535692393779755,
0.04861104488372803,
0.0018455020617693663,
-0.024444524198770523,
-0.024067232385277748,
-0.01761355996131897,
-0.025874260812997818,
-0.006443743593990803,
-0.03069962188601494,
0.0069947876036167145,
-0.0285947322845459,
-0.03886103630065918,
-0.013761214911937714,
0.01356264017522335,
-0.0859430581331253,
-0.021207759156823158,
0.020711323246359825,
-0.018288714811205864,
-0.023550938814878464,
-0.04940534383058548,
0.05242367461323738,
-0.014337081462144852,
-0.03604127839207649,
-0.00978475995361805,
-0.002248856471851468,
-0.0737108662724495,
0.002128470689058304,
-0.02228006161749363,
0.03490940108895302,
0.04277295246720314,
-0.0406283475458622,
-0.040747493505477905,
-0.04309067130088806,
-0.000802365189883858,
-0.026549413800239563,
-0.0017424914985895157,
-0.013602355495095253,
-0.06576788425445557,
0.0065132444724440575,
-0.008553598076105118,
0.028257155790925026,
0.013840644620358944,
0.01303641777485609,
-0.053853411227464676,
-0.028078438714146614,
0.060009222477674484,
-0.010266303084790707,
-0.04396440088748932,
-0.00009719292575027794,
0.029567748308181763,
0.01793128065764904,
-0.04896847903728485,
0.014863303862512112,
0.018556790426373482,
-0.030520904809236526,
0.060168083757162094,
0.04094606637954712,
0.012093189172446728,
0.022716926410794258,
-0.0031771925278007984,
-0.021009184420108795,
0.01718662492930889,
-0.04583100229501724,
-0.021426191553473473,
0.030997484922409058,
-0.015409383922815323,
-0.004244530573487282,
-0.03137477487325668,
-0.011169817298650742,
-0.0026087728329002857,
-0.018010709434747696,
0.005867877509444952,
-0.06719762086868286,
-0.003671146696433425,
0.048730190843343735,
0.047657888382673264,
0.04876990616321564,
0.01834828592836857,
0.026132408529520035,
-0.09126485139131546,
0.023431794717907906,
-0.01974823698401451,
0.0007694762898609042,
0.015389526262879372,
-0.003666182281449437,
0.0008445623097941279,
0.016154037788510323,
-0.036835573613643646,
0.024643098935484886,
-0.04471898451447487,
0.056395165622234344,
0.02938903123140335,
0.0039466689340770245,
0.0038523459807038307,
0.041502077132463455,
0.05981064960360527,
-0.039536189287900925,
-0.008325236849486828,
-0.02216091752052307,
0.025199107825756073,
-0.045989859849214554,
0.033678241074085236,
0.014893089421093464,
-0.1220836192369461,
0.04559271037578583,
-0.035028547048568726,
0.049921635538339615,
-0.02891245111823082,
-0.019370945170521736,
0.002725435420870781,
-0.006523173302412033,
-0.06457643955945969,
0.0706925317645073,
-0.02875359170138836,
0.0006109269452281296,
0.00474593136459589,
-0.05254282057285309,
-0.0038722034078091383,
0.022677211090922356,
0.005421084817498922,
-0.07112939655780792,
0.07863551378250122,
-0.009382646530866623,
0.03401581570506096,
0.021803483366966248,
-0.05834119766950607,
0.007853622548282146,
-0.03103719837963581,
0.012827914208173752,
-0.023550938814878464,
0.00994361937046051,
-0.03657742962241173,
-0.03407539054751396,
-0.07255913317203522,
0.02363036945462227,
-0.018904294818639755,
0.018596503883600235,
0.010425162501633167,
-0.006552959326654673,
0.002889259485527873,
-0.00380270229652524,
0.011547109112143517,
-0.0007192121120169759,
-0.007903266698122025,
0.011318747885525227,
-0.06012836843729019,
-0.003323641140013933,
-0.005659373942762613,
-0.013254850171506405,
-0.011159888468682766,
-0.07478316873311996,
0.03701429069042206,
0.02033403143286705,
0.018199356272816658,
0.05711003392934799,
0.042375802993774414,
-0.06394100189208984,
0.010246445424854755
]
|
37,264 | domdf_python_tools.doctools | prettify_docstrings |
Decorator to prettify the default :class:`object` docstrings for use in Sphinx documentation.
.. versionadded:: 0.8.0
:param obj: The object to prettify the method docstrings for.
| def prettify_docstrings(obj: _T) -> _T:
"""
Decorator to prettify the default :class:`object` docstrings for use in Sphinx documentation.
.. versionadded:: 0.8.0
:param obj: The object to prettify the method docstrings for.
"""
repr_docstring = f"Return a string representation of the :class:`~{obj.__module__}.{obj.__name__}`."
new_docstrings = {**base_new_docstrings, "__repr__": repr_docstring}
_do_prettify(obj, object, new_docstrings)
_do_prettify(obj, dict, container_docstrings)
_do_prettify(obj, int, operator_docstrings)
_do_prettify(obj, int, base_int_docstrings)
for attribute in new_return_types:
if hasattr(obj, attribute):
annotations: Dict = getattr(getattr(obj, attribute), "__annotations__", {})
if "return" not in annotations or annotations["return"] is Any:
annotations["return"] = new_return_types[attribute]
with suppress(AttributeError, TypeError):
getattr(obj, attribute).__annotations__ = annotations
if issubclass(obj, tuple) and obj.__repr__.__doc__ == "Return a nicely formatted representation string":
obj.__repr__.__doc__ = repr_docstring
return obj
| (obj: ~_T) -> ~_T | [
-0.023435648530721664,
-0.0482017882168293,
0.02394883707165718,
-0.028244422748684883,
0.004347854293882847,
-0.05112886801362038,
0.015519226901233196,
0.01103357132524252,
0.020318498834967613,
-0.01095754373818636,
-0.01582334004342556,
-0.01713482290506363,
0.03375645726919174,
-0.009223153814673424,
-0.06986978650093079,
0.0435640774667263,
-0.024424012750387192,
-0.041701387614011765,
-0.008073229342699051,
0.034953899681568146,
0.02550741285085678,
0.02636272832751274,
0.04789767414331436,
0.034098584204912186,
-0.025754503905773163,
0.029289808124303818,
0.027788255363702774,
-0.009864640422165394,
-0.008268050849437714,
-0.04151131957769394,
-0.0026657336857169867,
-0.051889147609472275,
0.015224617905914783,
0.03054427169263363,
0.03504893556237221,
-0.020812680944800377,
-0.0017569608753547072,
0.06614440679550171,
-0.03799502179026604,
-0.04865795746445656,
-0.029023710638284683,
0.013190867379307747,
-0.05496828630566597,
-0.07823286950588226,
0.04360209032893181,
0.018284747377038002,
0.040789052844047546,
0.07279686629772186,
-0.016431564465165138,
-0.01771453768014908,
0.034326668828725815,
-0.027027973905205727,
-0.011746334843337536,
-0.04911412298679352,
-0.008500887081027031,
-0.00812549889087677,
0.0011920961551368237,
0.06424371153116226,
0.03368042781949043,
0.013038811273872852,
0.022105157375335693,
0.04268975555896759,
0.039838701486587524,
-0.013713560998439789,
-0.0075362809002399445,
-0.025279328227043152,
-0.040636997669935226,
-0.005911181215196848,
-0.012896259315311909,
0.018598362803459167,
-0.03039221651852131,
0.004419130738824606,
-0.005008348263800144,
-0.0015253128949552774,
-0.028187401592731476,
-0.04557881876826286,
-0.010795984417200089,
-0.030601292848587036,
0.03274908661842346,
-0.040218841284513474,
-0.024347985163331032,
-0.012658671475946903,
-0.024043872952461243,
-0.04592094570398331,
0.03468780219554901,
-0.07272083312273026,
-0.061392657458782196,
-0.017400922253727913,
0.01886446215212345,
0.025602448731660843,
-0.048467885702848434,
0.034953899681568146,
0.015139087103307247,
-0.041929472237825394,
-0.07051602005958557,
-0.03234993666410446,
-0.0004297367122489959,
-0.021173814311623573,
0.050406601279973984,
0.006543164607137442,
0.01227853074669838,
-0.0008101739804260433,
-0.030183138325810432,
0.02269437536597252,
0.008524646051228046,
-0.07135233283042908,
-0.0006539601017720997,
0.015984898433089256,
0.024899188429117203,
0.011318677105009556,
0.005483523476868868,
-0.0770164206624031,
0.0032359440810978413,
-0.046833284199237823,
0.028567541390657425,
-0.014188735745847225,
-0.01967225968837738,
-0.016431564465165138,
0.016507592052221298,
-0.067626953125,
0.02993604727089405,
-0.048543915152549744,
-0.05272545665502548,
-0.030810369178652763,
-0.024081887677311897,
-0.017895104363560677,
0.017999641597270966,
0.04478052631020546,
-0.013190867379307747,
-0.006106003187596798,
-0.05569055303931236,
-0.0026395991444587708,
-0.08226235955953598,
0.03791899234056473,
0.07891712337732315,
-0.00715138902887702,
0.023739760741591454,
0.030126117169857025,
-0.01550972368568182,
0.0008475940558128059,
0.03584722802042961,
-0.025241315364837646,
0.03242596611380577,
0.03117150254547596,
-0.043183937668800354,
0.005027355160564184,
0.03295816108584404,
0.039306506514549255,
-0.016298513859510422,
0.035486094653606415,
-0.004008104093372822,
0.0019482189090922475,
0.03850821033120155,
-0.017001774162054062,
-0.024785146117210388,
-0.009883647784590721,
-0.008030463941395283,
-0.05014050379395485,
0.017391417175531387,
-0.005222177132964134,
0.018854958936572075,
-0.01647908054292202,
0.008605425246059895,
-0.040636997669935226,
0.08720418065786362,
0.05713508278131485,
-0.00791167002171278,
-0.067626953125,
-0.014749443158507347,
0.0010073716985061765,
-0.020470554009079933,
0.007175147999078035,
-0.018550846725702286,
0.048467885702848434,
0.05276346951723099,
0.098000168800354,
-0.03472581505775452,
0.05778132379055023,
-0.03333830460906029,
-0.00042290607234463096,
0.024519048631191254,
-0.01736290752887726,
-0.021515939384698868,
0.009479748085141182,
0.002299848711118102,
0.04075103998184204,
0.028586549684405327,
0.027104001492261887,
-0.04299386590719223,
0.005464516580104828,
0.018959496170282364,
0.02510826662182808,
0.04014281556010246,
0.001379196415655315,
-0.02075565978884697,
-0.004559307359158993,
-0.03713970631361008,
-0.01957722380757332,
0.06317931413650513,
0.019282616674900055,
0.02261834777891636,
0.04329797998070717,
0.026533791795372963,
0.0036255880258977413,
0.07690238207578659,
0.032140862196683884,
0.018911978229880333,
0.0260396096855402,
-0.0785369798541069,
-0.002855803817510605,
0.07177048921585083,
0.03212185576558113,
-0.03900239244103432,
-0.026932939887046814,
-0.0034212626051157713,
0.0038988138549029827,
0.0878884345293045,
0.003746757749468088,
-0.07720649242401123,
-0.015034548006951809,
0.023283591493964195,
0.015357667580246925,
-0.05622274801135063,
0.0012247645063325763,
0.03679757937788963,
-0.041777417063713074,
0.03856523334980011,
-0.0505206435918808,
0.0543980747461319,
-0.10408241301774979,
-0.02472812496125698,
-0.06466186046600342,
-0.051204897463321686,
0.04725143685936928,
0.031532637774944305,
-0.017571983858942986,
0.006571675185114145,
-0.009470244869589806,
-0.0017902231775224209,
-0.03645545244216919,
-0.00444764131680131,
0.005882671102881432,
0.032692063599824905,
0.045350734144449234,
-0.01574731059372425,
-0.021725017577409744,
0.0016833087429404259,
0.00037390360375866294,
0.02890966832637787,
-0.020812680944800377,
0.036721549928188324,
0.0030910156201571226,
-0.008961807005107403,
-0.04877199977636337,
-0.022675367072224617,
0.026248686015605927,
-0.06603036820888519,
0.00549777876585722,
-0.026856910437345505,
-0.014521358534693718,
0.0015514475526288152,
0.00016349002544302493,
-0.0186458807438612,
0.04998844861984253,
0.044970594346523285,
-0.0006931620300747454,
0.021591968834400177,
-0.0027750241570174694,
-0.0357712022960186,
0.04322195053100586,
0.06561221182346344,
-0.02012842893600464,
-0.00462345639243722,
0.04394421726465225,
-0.0035139217507094145,
0.014093700796365738,
0.03442170098423958,
-0.015519226901233196,
0.012544629164040089,
-0.05105283856391907,
-0.009513010270893574,
-0.04881001263856888,
0.03430766239762306,
0.019843323156237602,
0.06162073835730553,
0.00820152647793293,
-0.00376101303845644,
0.055462468415498734,
-0.009612797759473324,
-0.0009675758192315698,
0.048467885702848434,
0.019330132752656937,
-0.004210053477436304,
0.021629981696605682,
0.04542676359415054,
0.059834081679582596,
-0.024233942851424217,
-0.019919350743293762,
-0.022352248430252075,
-0.04945624992251396,
-0.0372917614877224,
0.011214138008654118,
0.031608663499355316,
0.007883159443736076,
0.04789767414331436,
0.006419619079679251,
0.03847019746899605,
-0.06093648821115494,
0.00125802680850029,
-0.035562124103307724,
-0.02634372189640999,
0.005550048314034939,
0.01856985315680504,
0.03468780219554901,
-0.01663113757967949,
-0.03847019746899605,
-0.02737010084092617,
0.0275981854647398,
0.017952125519514084,
0.06747490167617798,
-0.07177048921585083,
-0.03062029927968979,
0.009589038789272308,
-0.027959316968917847,
0.058883730322122574,
-0.04782164841890335,
-0.038128070533275604,
0.0017070674803107977,
0.01348547637462616,
0.005801890976727009,
-0.01340944878757,
-0.05637480318546295,
0.016536101698875427,
0.03567616641521454,
-0.01558575127273798,
-0.031038453802466393,
0.017705034464597702,
-0.03567616641521454,
-0.08492334187030792,
0.024157915264368057,
0.06698071956634521,
0.010016696527600288,
0.014578379690647125,
0.029251795262098312,
-0.03687360882759094,
0.022181184962391853,
0.054854243993759155,
0.00045676229638047516,
0.06466186046600342,
0.0076740821823477745,
-0.0014219622826203704,
-0.012449594214558601,
-0.022580333054065704,
0.031114481389522552,
0.014597387053072453,
-0.018788432702422142,
0.012858245521783829,
0.01849382556974888,
-0.019482189789414406,
-0.07891712337732315,
-0.07484962046146393,
0.01854134164750576,
0.017429431900382042,
0.013647036626935005,
0.04025685787200928,
0.07177048921585083,
0.010168752633035183,
0.018474817276000977,
0.006310328841209412,
-0.023530684411525726,
-0.03995274379849434,
0.011318677105009556,
-0.01485398132354021,
-0.08188221603631973,
-0.020850693807005882,
-0.0037253748159855604,
-0.006253307685256004,
-0.010967046953737736,
-0.051661062985658646,
0.011917398311197758,
0.053675808012485504,
-0.032692063599824905,
0.08697609603404999,
0.03233093023300171,
-0.003010235959663987,
-0.00023684521147515625,
0.01392263825982809,
0.03926848992705345,
-0.037671901285648346,
0.0016132203163579106,
-0.02822541631758213,
-0.04158734530210495,
-0.03750083968043327,
0.03584722802042961,
-0.03472581505775452,
-0.05192716419696808,
0.02947987988591194,
-0.005987209267914295,
-0.06435775011777878,
-0.017315389588475227,
0.0637495219707489,
-0.02533634938299656,
-0.021972108632326126,
-0.01829425059258938,
-0.028111374005675316,
0.0272180438041687,
0.07336707413196564,
0.016032416373491287,
0.0035400562919676304,
0.014682918787002563,
-0.027180030941963196,
-0.011926901526749134,
0.00125802680850029,
0.0014944265130907297,
0.062076907604932785,
0.009589038789272308,
-0.00957478303462267,
0.07743457704782486,
-0.02938484400510788,
-0.034155603498220444,
0.02830144390463829,
-0.012392573058605194,
0.0528394989669323,
0.06986978650093079,
-0.01589936763048172,
-0.022200193256139755,
0.016298513859510422,
-0.015642773360013962,
0.025298336520791054,
-0.0029056973289698362,
0.036569494754076004,
-0.01904502883553505,
-0.011717824265360832,
-0.03468780219554901,
0.028187401592731476,
-0.07568593323230743,
0.023359620943665504,
-0.055310409516096115,
0.025469398126006126,
0.03558113053441048,
0.015034548006951809,
-0.025241315364837646,
0.006234300788491964,
-0.00043240957893431187,
-0.017343901097774506,
0.027769247069954872,
-0.017676522955298424,
-0.040066786110401154,
0.018208719789981842,
-0.020166441798210144,
0.08606375753879547,
0.013742071576416492,
0.06591632217168808,
0.02860555611550808,
-0.0037420059088617563,
-0.08195824176073074,
0.00251605361700058,
-0.0130198048427701,
0.002836796920746565,
0.015908870846033096,
0.025830531492829323,
-0.006034727208316326,
0.022808417677879333,
0.012354559265077114,
-0.046225059777498245,
-0.0011154741514474154,
0.011983922682702541,
-0.019919350743293762,
-0.04531272128224373,
-0.032444972544908524,
0.08142604678869247,
-0.0714663714170456,
-0.05736316740512848,
0.006419619079679251,
0.022295227274298668,
0.043640103191137314,
-0.0388883501291275,
-0.017391417175531387,
-0.040789052844047546,
-0.025051245465874672,
-0.02130686305463314,
-0.035410068929195404,
0.03877430781722069,
-0.009693576954305172,
-0.05534842610359192,
0.021725017577409744,
0.02805435284972191,
-0.0017510211328044534,
0.004537924658507109,
-0.022751396521925926,
-0.009627052582800388,
0.09663166105747223,
-0.038831330835819244,
-0.022504305467009544,
-0.017923614010214806,
0.022029129788279533,
-0.006989829242229462,
-0.015129582956433296,
-0.07914520800113678,
-0.036417439579963684,
0.030962426215410233,
-0.06876737624406815,
-0.015053555369377136,
0.023055508732795715,
0.05333368107676506,
-0.03337631747126579,
0.0024542806204408407,
0.032863128930330276,
-0.039914730936288834,
-0.04398223012685776,
-0.016422059386968613,
-0.01698276773095131,
-0.007531529292464256,
0.07511571794748306,
-0.01052988599985838,
-0.038603246212005615,
0.015376674011349678,
0.028738604858517647,
0.021553954109549522,
-0.056184735149145126,
-0.0012164489598944783,
0.01344746258109808,
-0.028548534959554672,
-0.0063150804489851,
0.031285546720027924,
-0.0017973508220165968,
-0.002309352159500122,
0.019634244963526726,
-0.01718234084546566,
0.03124753199517727,
0.020793672651052475,
-0.0010412279516458511,
-0.01446433737874031,
-0.026932939887046814,
-0.015804331749677658,
0.07260679453611374,
-0.024195928126573563,
0.004716115538030863,
0.09754399955272675,
0.033699437975883484,
0.05257340148091316,
0.02588755264878273,
-0.03233093023300171,
-0.008657694794237614,
0.009218402206897736,
0.02619166485965252,
0.01637454330921173,
-0.024119900539517403,
-0.024233942851424217,
-0.011356690898537636,
0.011793851852416992,
-0.027484143152832985,
0.000623667670879513,
0.09670768678188324,
-0.0661063939332962,
0.06572625786066055,
-0.017847586423158646,
-0.013228882104158401,
0.05200318992137909,
0.023967845365405083,
-0.014587883837521076,
-0.000015192617865977809,
0.047707606106996536,
-0.0012176368618384004,
-0.007978194393217564,
0.11837568134069443,
0.06321732699871063,
0.03493489325046539,
-0.01695425622165203,
-0.03818508982658386,
-0.032216887921094894,
0.004956078715622425,
0.004618704319000244,
-0.043412018567323685,
-0.011955412104725838,
0.06511802971363068,
-0.027408113703131676,
-0.02193409390747547,
-0.05249737203121185,
-0.027427121996879578,
-0.032540008425712585,
0.01577582210302353,
0.03995274379849434,
-0.08173016458749771,
0.013780085369944572,
-0.03862225264310837,
0.021097784861922264,
-0.0014172104420140386,
0.014720932580530643,
-0.002836796920746565,
-0.053447723388671875,
0.004545052070170641,
-0.028643570840358734,
-0.02775024063885212,
0.030430229380726814,
0.05067269876599312,
-0.06196286529302597,
-0.0006456444971263409,
0.020337505266070366,
-0.02845350094139576,
-0.022428276017308235,
0.058579616248607635,
-0.007678833790123463,
0.001141608809120953,
-0.0018531838431954384,
0.04067501053214073,
0.04561683535575867,
-0.021648989990353584,
0.025051245465874672,
0.0033903762232512236,
-0.008819254115223885,
0.033072203397750854,
0.027161022648215294,
0.0034735319204628468,
-0.07830889523029327,
-0.015433695167303085,
-0.04166337475180626,
0.023606711998581886,
-0.007084864657372236,
-0.023815788328647614,
-0.005155652761459351,
0.05082475766539574,
0.03761488199234009,
-0.017923614010214806,
-0.03364241495728493,
-0.008999820798635483,
-0.019767295569181442,
-0.059035785496234894,
0.04014281556010246,
-0.04694732651114464,
-0.0018092301907017827,
0.0024827911984175444,
0.017847586423158646,
-0.030107110738754272,
-0.02488018199801445,
-0.001052513369359076,
0.019881336018443108,
-0.009551024995744228,
-0.04633910208940506,
0.0000019953652099502506,
0.053675808012485504,
-0.026096630841493607,
-0.021192820742726326,
0.04018082842230797,
-0.0028106621466577053,
0.039990756660699844,
-0.024595076218247414,
-0.04322195053100586,
0.0380900576710701,
-0.015414688736200333,
-0.03919246420264244,
0.049950432032346725,
-0.02339763380587101,
0.011489739641547203,
-0.010149745270609856,
0.053599778562784195,
-0.008462873287498951,
-0.05086277052760124,
0.01721085049211979,
0.003922572359442711,
0.011955412104725838,
-0.0769403949379921,
-0.032064832746982574,
-0.01944417506456375,
-0.03274908661842346,
0.04538875073194504,
-0.06979375332593918,
0.0030149875674396753,
0.06310328841209412,
-0.047859661281108856,
0.056184735149145126,
0.06584029644727707,
0.019434671849012375,
0.017505459487438202,
-0.017372410744428635,
-0.0022689623292535543,
0.008306065574288368,
0.034003548324108124,
-0.04633910208940506,
-0.0435640774667263,
0.008904785849153996,
-0.025317342951893806,
-0.06405363976955414,
-0.017372410744428635,
-0.051737092435359955,
0.00044577388325706124,
0.00503210723400116,
-0.018056662753224373,
0.0030886398162692785,
-0.0420055016875267,
-0.013038811273872852,
-0.05333368107676506,
0.03024015948176384,
-0.006148769054561853,
0.031456608325242996,
-0.016488585621118546,
-0.020261477679014206,
-0.01663113757967949,
0.05185113474726677,
-0.05371382087469101,
0.030924411490559578,
0.03187476098537445,
0.004335975274443626,
0.02168700285255909,
0.03024015948176384,
0.009741094894707203,
0.06728482991456985,
-0.06340739876031876,
-0.014996534213423729,
-0.022808417677879333,
0.009921661578118801,
0.08157810568809509,
0.030658314004540443,
-0.07576195895671844,
0.028567541390657425,
-0.04367811977863312,
0.049874406307935715,
0.004079380538314581,
0.012810727581381798,
-0.0275981854647398,
-0.012734699063003063,
-0.002501798328012228,
0.03647445887327194,
-0.013238385319709778,
0.035410068929195404,
0.019634244963526726,
-0.028092367574572563,
0.008515141904354095,
-0.033699437975883484,
-0.032692063599824905,
0.07766266167163849,
0.000417560338973999,
-0.0021489805076271296,
-0.08157810568809509,
0.044970594346523285,
-0.0025588192511349916,
0.024671103805303574,
-0.026647834107279778,
-0.011708321049809456,
0.012392573058605194,
-0.04113117977976799,
0.040941108018159866,
0.0050843763165175915,
0.032844118773937225,
-0.013295406475663185,
-0.049798376858234406,
0.06831120699644089,
0.050102490931749344,
0.02256132662296295,
0.03187476098537445,
0.06800709664821625,
0.022979479283094406,
-0.011784348636865616,
-0.032444972544908524,
0.07416536659002304,
-0.012829734943807125,
-0.020622611045837402,
0.026058616116642952,
0.031589657068252563,
0.0005844656843692064,
-0.04462847113609314,
-0.03662651777267456,
0.025165285915136337,
0.020641617476940155,
0.016070431098341942,
0.08872473984956741,
-0.06291321665048599,
0.04010479897260666
]
|
37,269 | urllib.parse | urlunparse | Put a parsed URL back together again. This may result in a
slightly different, but equivalent URL, if the URL that was parsed
originally had redundant delimiters, e.g. a ? with an empty query
(the draft states that these are equivalent). | def urlunparse(components):
"""Put a parsed URL back together again. This may result in a
slightly different, but equivalent URL, if the URL that was parsed
originally had redundant delimiters, e.g. a ? with an empty query
(the draft states that these are equivalent)."""
scheme, netloc, url, params, query, fragment, _coerce_result = (
_coerce_args(*components))
if params:
url = "%s;%s" % (url, params)
return _coerce_result(urlunsplit((scheme, netloc, url, query, fragment)))
| (components) | [
-0.05791954696178436,
0.07861021161079407,
-0.07538848370313644,
0.0052442606538534164,
-0.06242997199296951,
0.0015873733209446073,
0.006089964881539345,
0.0090611157938838,
0.026436084881424904,
-0.00542324548587203,
0.03132237493991852,
-0.0012775055365636945,
-0.032270997762680054,
0.07560326904058456,
0.017970094457268715,
0.023876599967479706,
-0.01596546173095703,
0.04599914699792862,
0.010631709359586239,
-0.021263418719172478,
-0.045426394790410995,
-0.03490207716822624,
-0.0014285240322351456,
0.03858916833996773,
0.007790322415530682,
-0.036727722734212875,
0.021281316876411438,
-0.029818901792168617,
-0.009208778850734234,
-0.011732467450201511,
0.09772581607103348,
0.03354179114103317,
0.003604310564696789,
-0.02419877238571644,
0.026453984901309013,
-0.006725361570715904,
0.052764780819416046,
0.0839797630906105,
-0.001985614886507392,
0.02001052349805832,
-0.013826591894030571,
-0.03758685290813446,
0.00781269557774067,
-0.02464623562991619,
0.086270771920681,
0.042347852140665054,
-0.040915973484516144,
0.016967779025435448,
-0.01999262534081936,
-0.0320025198161602,
0.018005890771746635,
0.0007137026987038553,
0.0023760260082781315,
0.04302799701690674,
-0.014032424427568913,
0.02736680768430233,
0.022373124957084656,
0.08791743218898773,
0.0039980774745345116,
0.036656130105257034,
0.03894713893532753,
-0.015526949428021908,
-0.03704989701509476,
0.014667821116745472,
0.0014911688631400466,
-0.02899557165801525,
0.026919344440102577,
0.03869655728340149,
-0.07084226608276367,
-0.01438144501298666,
-0.032414183020591736,
0.016377128660678864,
-0.04360074922442436,
-0.046679288148880005,
0.03155505657196045,
0.0066224453039467335,
0.0572752021253109,
0.03733627125620842,
0.005803588777780533,
0.01303010806441307,
-0.0014486599247902632,
-0.004944460932165384,
-0.01720045879483223,
-0.032306794077157974,
-0.04481784626841545,
-0.008917927742004395,
0.024019787088036537,
-0.05473361536860466,
-0.06092649698257446,
0.06633184105157852,
0.006725361570715904,
-0.01665455475449562,
-0.011410294100642204,
-0.016591910272836685,
0.023500731214880943,
0.03474098816514015,
-0.04607073962688446,
-0.002402873709797859,
0.026382390409708023,
-0.09980203956365585,
0.05065275728702545,
-0.055377960205078125,
-0.15192247927188873,
-0.033953454345464706,
-0.023393340408802032,
-0.0517982617020607,
0.025254784151911736,
-0.07660558074712753,
-0.009871022775769234,
-0.017710566520690918,
0.021299215033650398,
-0.049865223467350006,
-0.04145292937755585,
0.04768160730600357,
0.01890081726014614,
-0.010998629033565521,
0.020601173862814903,
-0.034007150679826736,
0.04585595801472664,
0.00646583316847682,
-0.07667717337608337,
0.040844377130270004,
-0.0689450278878212,
-0.010434825904667377,
0.036763519048690796,
0.008421245031058788,
-0.009835226461291313,
0.0019084276864305139,
-0.005145818926393986,
-0.0579911433160305,
0.002570672193542123,
0.03187723085284233,
-0.05509158596396446,
-0.04990101978182793,
-0.029711510986089706,
-0.011410294100642204,
-0.06307431310415268,
-0.0005738706677220762,
-0.008823961019515991,
0.019742045551538467,
-0.03189512714743614,
0.04911348596215248,
0.0010554521577432752,
0.05237101390957832,
-0.019133497029542923,
-0.03033795952796936,
0.03134027495980263,
0.03191302716732025,
-0.05441144108772278,
0.02138870768249035,
0.003734074765816331,
0.012144132517278194,
0.046750884503126144,
-0.017728464677929878,
0.006488206330686808,
-0.03026636503636837,
0.003295561531558633,
-0.013334383256733418,
0.002982337726280093,
-0.0403074249625206,
0.018345963209867477,
0.004631237126886845,
0.051189713180065155,
-0.012117285281419754,
-0.007861915975809097,
-0.017782161012291908,
0.11054114252328873,
-0.014936299063265324,
-0.01156243123114109,
-0.01609075255692005,
0.027832169085741043,
0.0689450278878212,
-0.03214570879936218,
0.002785454271361232,
0.0071325525641441345,
0.014121917076408863,
0.036584533751010895,
-0.03617287054657936,
-0.0082198865711689,
-0.009915769100189209,
0.038159605115652084,
-0.027044635266065598,
0.032718461006879807,
-0.009799429215490818,
0.030642233788967133,
-0.02280269004404545,
-0.07302588224411011,
0.004463438410311937,
-0.031053898856043816,
-0.02729521319270134,
0.0016131023876369,
-0.030660131946206093,
-0.015723831951618195,
0.013674454763531685,
0.032414183020591736,
-0.02582753635942936,
-0.04621392861008644,
0.03296903893351555,
-0.006076540797948837,
0.010399028658866882,
-0.07546007633209229,
-0.006295797415077686,
-0.007924561388790607,
-0.03769424185156822,
0.010228993371129036,
-0.011526633985340595,
-0.023554427549242973,
-0.040844377130270004,
0.02597072534263134,
-0.0002603672619443387,
0.04460306465625763,
0.028351224958896637,
0.017710566520690918,
-0.004221808630973101,
-0.04714465141296387,
-0.03638765215873718,
0.028046950697898865,
0.016081802546977997,
0.0334165021777153,
-0.004179299809038639,
-0.03309432789683342,
-0.02711622789502144,
0.10581593960523605,
-0.017263103276491165,
-0.008528635837137699,
-0.030713826417922974,
-0.05294376611709595,
0.01783585548400879,
-0.029210353270173073,
-0.02742050215601921,
0.03343439847230911,
-0.05362390726804733,
0.008112495765089989,
0.0018838172545656562,
0.12643501162528992,
-0.04739522933959961,
-0.0055351112969219685,
-0.026883548125624657,
0.03332700952887535,
-0.0038459403440356255,
-0.02727731503546238,
-0.010488521307706833,
-0.0334165021777153,
-0.01727205328643322,
-0.016842490062117577,
0.05190565064549446,
0.044066108763217926,
-0.002118735108524561,
-0.029622018337249756,
-0.024037687107920647,
0.013781845569610596,
0.06318170577287674,
0.022641602903604507,
0.04284901171922684,
-0.017898499965667725,
0.02282058820128441,
-0.055521149188280106,
0.023608122020959854,
-0.01870393380522728,
0.012018843553960323,
0.015419558621942997,
-0.05212043225765228,
0.05459042638540268,
-0.014587278477847576,
0.02033269591629505,
-0.03773003816604614,
0.013477571308612823,
-0.008770265616476536,
0.003172509139403701,
0.06969676166772842,
0.07818064838647842,
-0.08204672485589981,
0.01019319612532854,
0.032324690371751785,
0.01283322460949421,
0.08068644255399704,
0.0025997571647167206,
-0.0719519704580307,
0.06600967049598694,
0.009343016892671585,
-0.017388394102454185,
-0.01585807092487812,
-0.0038929239381104708,
-0.018399659544229507,
0.02750999480485916,
0.014972095377743244,
0.009969464503228664,
0.02901346981525421,
-0.002617655787616968,
0.02752789482474327,
0.04360074922442436,
-0.03876815363764763,
-0.0003705548879224807,
0.009871022775769234,
-0.05330173671245575,
-0.018023790791630745,
-0.013522317633032799,
-0.05942302197217941,
-0.011839858256280422,
-0.016994627192616463,
-0.03991365805268288,
0.0015001180581748486,
-0.01164297480136156,
0.059780992567539215,
0.05290796980261803,
-0.03873235732316971,
0.001317777088843286,
-0.026776157319545746,
0.007468149531632662,
-0.007409979123622179,
0.03048114664852619,
-0.0005288447719067335,
-0.080972820520401,
-0.024861017242074013,
-0.02167508378624916,
0.039555687457323074,
0.010282688774168491,
-0.02419877238571644,
0.00814829207956791,
-0.013370179571211338,
0.017173610627651215,
-0.04292060434818268,
-0.015992309898138046,
0.05766896903514862,
-0.04077278450131416,
0.01157138030976057,
-0.006089964881539345,
0.03490207716822624,
-0.024699930101633072,
-0.01676194556057453,
-0.03032005950808525,
0.028136443346738815,
-0.032253097742795944,
-0.0014486599247902632,
-0.04020003229379654,
-0.07517370581626892,
-0.026883548125624657,
-0.04850493744015694,
0.0259886234998703,
-0.022265734151005745,
-0.030606435611844063,
-0.013316484168171883,
0.010694353841245174,
-0.02740260399878025,
0.003664718009531498,
-0.015374812297523022,
-0.03409664332866669,
0.029926292598247528,
0.01157138030976057,
-0.07188037782907486,
-0.02156769298017025,
-0.03919771686196327,
-0.012314168736338615,
0.032467879354953766,
0.03701410070061684,
0.0348304808139801,
-0.028512312099337578,
-0.03495577350258827,
0.038159605115652084,
-0.02597072534263134,
0.04309958964586258,
-0.05874288082122803,
0.0077813733369112015,
-0.06085490062832832,
0.10488521307706833,
-0.01805063709616661,
0.04070119187235832,
-0.01852494850754738,
-0.06264474987983704,
-0.042491041123867035,
-0.015365863218903542,
-0.02140660770237446,
0.07188037782907486,
-0.02761738747358322,
0.019563062116503716,
0.032199401408433914,
0.04875551536679268,
0.03787322714924812,
-0.020994940772652626,
0.011061273515224457,
0.01718256063759327,
0.0007825000793673098,
-0.001460965140722692,
-0.006796955596655607,
0.045319002121686935,
0.01815802976489067,
0.006251051556318998,
0.03549272567033768,
-0.005127920303493738,
0.02172878012061119,
0.008931351825594902,
-0.00685960054397583,
0.01861444115638733,
-0.006067591719329357,
-0.002997998846694827,
0.025684349238872528,
-0.009087963961064816,
-0.055306367576122284,
0.00717282434925437,
-0.010882288217544556,
0.013495469465851784,
0.02020740695297718,
0.06228678300976753,
0.038266994059085846,
-0.024091381579637527,
0.005561958998441696,
0.007754525635391474,
0.04213307052850723,
-0.04850493744015694,
-0.0693029910326004,
0.01805063709616661,
-0.0429564006626606,
-0.027921661734580994,
-0.05269318446516991,
0.06865864992141724,
0.026686664670705795,
0.026919344440102577,
0.0016623232513666153,
0.0061212871223688126,
0.02144240401685238,
0.003085253993049264,
-0.0364234484732151,
-0.0434933565557003,
0.00928037241101265,
0.008139343000948429,
-0.01859654299914837,
-0.01299431174993515,
-0.03291534259915352,
-0.007750050630420446,
0.03425772860646248,
-0.0035662762820720673,
-0.04503262788057327,
-0.030982304364442825,
0.00759343896061182,
0.005280057899653912,
0.04481784626841545,
0.06235837563872337,
0.058205924928188324,
0.029246149584650993,
-0.0012808614410459995,
-0.045319002121686935,
0.0057543679140508175,
-0.013468621298670769,
-0.02618550695478916,
0.07682036608457565,
-0.017934298142790794,
-0.0036870911717414856,
-0.03443671390414238,
-0.04302799701690674,
0.015330065973103046,
-0.012314168736338615,
-0.02589913085103035,
-0.006832752842456102,
-0.012412610463798046,
-0.03046324849128723,
-0.011499786749482155,
0.048146966844797134,
0.023858701810240746,
-0.03142976760864258,
0.09607914835214615,
0.03044535033404827,
0.00750842085108161,
0.043922919780015945,
0.07112864404916763,
-0.03427562862634659,
0.03334490582346916,
0.020708564668893814,
-0.0436723418533802,
-0.04037901759147644,
0.009924718178808689,
-0.07624761015176773,
-0.038231197744607925,
0.05441144108772278,
0.056881435215473175,
-0.049543049186468124,
0.06375446170568466,
0.022283634170889854,
-0.029908394441008568,
0.058349113911390305,
-0.029979988932609558,
-0.0666540190577507,
-0.0063315946608781815,
0.007078857161104679,
0.055628541857004166,
0.029156656935811043,
0.04485364258289337,
-0.005369550082832575,
-0.019527263939380646,
0.04352915287017822,
0.013388078659772873,
-0.022283634170889854,
0.0025192140601575375,
0.0035573269706219435,
-0.006667191628366709,
-0.024234570562839508,
-0.006729836110025644,
-0.02154979482293129,
0.007016212213784456,
0.0401284396648407,
-0.04732363671064377,
0.04410190507769585,
-0.03613707423210144,
0.04453146830201149,
-0.06847966462373734,
0.023572325706481934,
0.014793111011385918,
0.03416823595762253,
0.04864812642335892,
-0.031018102541565895,
0.026579273864626884,
-0.07044849544763565,
-0.016735097393393517,
0.045104220509529114,
0.011723518371582031,
0.028440717607736588,
-0.01227837149053812,
-0.013379129581153393,
-0.029102962464094162,
0.03912612423300743,
-0.007660558447241783,
0.049865223467350006,
0.0301410760730505,
0.03457990288734436,
-0.0027317586354911327,
0.0017003575339913368,
-0.03567171096801758,
-0.01146398950368166,
0.03003368340432644,
-0.004054010380059481,
-0.036799319088459015,
0.042347852140665054,
-0.006085490342229605,
0.020941246300935745,
0.016189193353056908,
0.032217301428318024,
0.03409664332866669,
0.010971780866384506,
-0.07112864404916763,
-0.021120231598615646,
0.05927983298897743,
-0.014175612479448318,
0.04839754477143288,
0.006532952655106783,
0.014802060090005398,
0.0012640815693885088,
0.023464934900403023,
-0.004725204315036535,
0.07145081460475922,
-0.022033054381608963,
0.003897398477420211,
-0.08412295579910278,
0.03594018891453743,
0.004501472692936659,
0.03701410070061684,
0.016108650714159012,
-0.07069908082485199,
-0.05373129993677139,
0.03153715655207634,
-0.0156432893127203,
-0.013280687853693962,
-0.0051771411672234535,
0.007647134363651276,
-0.06694038957357407,
0.020565377548336983,
-0.0034790211357176304,
0.026471883058547974,
0.012582645751535892,
-0.02459253929555416,
-0.0601031668484211,
0.018972409889101982,
0.015553796663880348,
-0.02876289002597332,
0.004868392366915941,
-0.008354125544428825,
0.025111597031354904,
-0.0357075072824955,
0.04474624991416931,
-0.036691926419734955,
0.06511474400758743,
-0.025612754747271538,
0.022265734151005745,
0.029460931196808815,
-0.05050956830382347,
-0.03560011833906174,
0.020708564668893814,
-0.04016423597931862,
0.04335016757249832,
0.006197355687618256,
0.03848177567124367,
-0.06941038370132446,
-0.02292797900736332,
-0.009638343006372452,
0.02595282532274723,
0.025612754747271538,
0.00467598345130682,
-0.04925667494535446,
-0.046643491834402084,
0.016556113958358765,
-0.02011791430413723,
0.05186985433101654,
0.061141278594732285,
0.007468149531632662,
0.05033058300614357,
0.019437771290540695,
0.013781845569610596,
-0.05004420876502991,
-0.00573646929115057,
0.019706249237060547,
-0.0071996720507740974,
-0.02564855106174946,
0.0768919587135315,
-0.021209722384810448,
0.014569379389286041,
0.036870911717414856,
-0.009137184359133244,
-0.017612123861908913,
-0.02321435511112213,
-0.045319002121686935,
-0.03418613597750664,
0.04034322127699852,
0.0022160580847412348,
-0.0011801824439316988,
-0.0334165021777153,
0.0403074249625206,
-0.028064848855137825,
-0.062394171953201294,
-0.007951408624649048,
0.022695299237966537,
-0.01592966541647911,
-0.021227622404694557,
0.01645767129957676,
-0.01861444115638733,
0.041094958782196045,
-0.013271737843751907,
-0.04181089624762535,
-0.05301535874605179,
0.032539475709199905,
-0.01819382607936859,
0.03321961686015129,
0.0005459042731672525,
0.02312486246228218,
-0.002107548527419567,
-0.025165291503071785,
-0.015491152182221413,
-0.024789422750473022,
-0.05061696097254753,
0.0214782003313303,
-0.043815530836582184,
-0.004716254770755768,
0.017630023881793022,
0.05877867713570595,
0.03171614184975624,
0.08906293660402298,
-0.010354282334446907,
-0.06794270873069763,
0.04710885509848595,
0.028208037838339806,
-0.022229937836527824,
0.0019229701720178127,
0.017952196300029755,
-0.00866287387907505,
0.02013581246137619,
0.06235837563872337,
0.049650441855192184,
-0.03207411244511604,
0.02747419849038124,
0.013978729024529457,
0.03010527789592743,
-0.011097070761024952,
-0.059959977865219116,
-0.03572540730237961,
-0.04467465728521347,
-0.0406653918325901,
0.005946776829659939,
0.025362174957990646,
-0.055449556559324265,
-0.019044004380702972,
-0.019652552902698517,
-0.023447036743164062,
0.021191824227571487,
0.02033269591629505,
-0.003908585291355848,
-0.014247206971049309,
-0.03887554258108139,
-0.017656870186328888,
0.00800062995404005,
-0.02026110328733921,
0.012779529206454754,
0.05945881828665733,
-0.00040103826904669404,
0.049865223467350006,
0.0024677556939423084,
-0.032270997762680054,
-0.04771740362048149,
-0.059924181550741196,
0.041059158742427826,
0.005991523154079914,
-0.012537899427115917,
0.10109072923660278,
0.02860180474817753,
0.05484100431203842,
0.02140660770237446,
-0.011159715242683887,
-0.040951769798994064,
0.00498920725658536,
0.03488417714834213,
0.035456929355859756,
-0.017594225704669952,
-0.05570013448596001,
0.016242889687418938,
-0.032342590391635895,
-0.005016054958105087,
-0.031143391504883766,
-0.01575068011879921,
0.09400292485952377,
0.021335013210773468,
-0.026865649968385696,
-0.03209201246500015,
-0.003297798801213503,
0.029711510986089706,
0.0318235345184803,
-0.032199401408433914,
0.05362390726804733,
-0.005074224900454283,
0.012779529206454754,
-0.05770476534962654,
0.003376104636117816,
-0.012779529206454754,
0.048003777861595154,
-0.00044550487655214965,
-0.0399494543671608,
0.06862284988164902,
-0.021084433421492577,
0.019473569467663765,
0.01736154593527317,
0.0003778261598199606,
-0.005785690154880285,
0.017764262855052948,
0.01718256063759327,
-0.00572752021253109,
0.0019475806038826704,
-0.032270997762680054,
0.02176457643508911,
0.0049936817958951,
-0.03155505657196045,
-0.0456053800880909,
0.06321750581264496,
-0.01993892900645733,
-0.04360074922442436,
-0.006855125539004803,
-0.0006656004698015749,
0.03207411244511604,
-0.009208778850734234,
0.004470150452107191,
0.019312482327222824,
-0.04753841832280159,
0.0007964833057485521,
0.026632968336343765,
-0.05222782492637634,
-0.020422188565135002,
-0.03586859628558159,
0.08720149844884872,
0.04159611463546753,
-0.04549798741936684,
-0.02137080952525139,
0.024109279736876488,
-0.0072712660767138,
-0.02740260399878025
]
|
37,270 | dataclass_csv.exceptions | CsvValueError | Error when a value in the CSV file cannot be parsed. | class CsvValueError(Exception):
"""Error when a value in the CSV file cannot be parsed."""
def __init__(self, error: Any, line_number: int):
self.error: Any = error
self.line_number: int = line_number
def __str__(self):
return f"{self.error} [CSV Line number: {self.line_number}]"
| (error: Any, line_number: int) | [
0.0029934621416032314,
0.013157677836716175,
-0.0020095733925700188,
0.03900311887264252,
-0.04388302564620972,
-0.07590968161821365,
-0.006357436068356037,
0.05971561744809151,
0.035948656499385834,
-0.052341531962156296,
0.037629514932632446,
0.0230620838701725,
0.009976700879633427,
0.011052087880671024,
-0.014187880791723728,
0.07605427503585815,
-0.027598591521382332,
0.04742547869682312,
0.009985738433897495,
0.027092527598142624,
-0.030074693262577057,
0.011431636288762093,
-0.06083618849515915,
-0.01185636967420578,
0.029749365523457527,
0.07836771011352539,
0.03542451933026314,
-0.005833297502249479,
0.040485162287950516,
-0.04428064823150635,
-0.029839735478162766,
-0.05653464049100876,
-0.04070204868912697,
0.016230212524533272,
-0.030580757185816765,
-0.023658517748117447,
-0.024056140333414078,
-0.01964614912867546,
-0.061522990465164185,
0.036996934562921524,
-0.0379909873008728,
0.01631154492497444,
-0.031719401478767395,
-0.002796910237520933,
0.0164832454174757,
-0.029008343815803528,
-0.044136058539152145,
-0.02873723767697811,
-0.1058397889137268,
-0.04399146884679794,
-0.025953881442546844,
0.03705115616321564,
0.015805481001734734,
0.008490136824548244,
0.014468023553490639,
0.038388609886169434,
0.026532242074608803,
0.04037672281265259,
-0.03685234487056732,
0.013690853491425514,
-0.023694664239883423,
0.03396054729819298,
0.029604775831103325,
-0.016835683956742287,
0.036165542900562286,
-0.020278729498386383,
-0.004278956446796656,
-0.0077852606773376465,
0.0014820462092757225,
0.02786969766020775,
0.0640171691775322,
0.055522508919239044,
-0.0337798073887825,
0.025447817519307137,
0.05606472119688988,
-0.02045946754515171,
-0.12362433969974518,
0.05382357910275459,
0.020441392436623573,
-0.003964925184845924,
0.032460425049066544,
0.01998955011367798,
0.020405245944857597,
0.001506897620856762,
0.03209895268082619,
-0.05939028784632683,
-0.014495134353637695,
-0.04579884186387062,
-0.026279209181666374,
0.09094703197479248,
-0.06130610406398773,
-0.02266446314752102,
-0.05939028784632683,
-0.027472075074911118,
-0.006303214933723211,
0.01161237433552742,
0.0610530748963356,
-0.06271585822105408,
0.009615226648747921,
-0.050244979560375214,
0.035605255514383316,
-0.007346972823143005,
0.022863272577524185,
-0.016790498048067093,
-0.03419550508260727,
-0.04319622367620468,
0.048293016850948334,
-0.031303707510232925,
0.055522508919239044,
0.016221176832914352,
-0.03831631690263748,
-0.049341294914484024,
-0.044461384415626526,
0.04890752583742142,
-0.013537226244807243,
-0.016862792894244194,
0.010112253949046135,
-0.0054130833595991135,
-0.021796923130750656,
0.008770279586315155,
0.08357294648885727,
0.00860761571675539,
-0.07008994370698929,
0.07312633097171783,
0.045437365770339966,
-0.0005176430568099022,
-0.00978692714124918,
-0.052992187440395355,
0.0889950692653656,
-0.023025937378406525,
0.033020712435245514,
-0.040412869304418564,
0.03180977329611778,
-0.043810732662677765,
-0.02526707947254181,
0.055522508919239044,
0.004848279058933258,
0.04482286050915718,
-0.04008754342794418,
-0.01444995030760765,
0.036906566470861435,
0.014070401899516582,
0.013464931398630142,
-0.03161096200346947,
0.007387638557702303,
0.03509918972849846,
-0.023839255794882774,
0.037557218223810196,
-0.01600429229438305,
-0.004658504854887724,
-0.02526707947254181,
-0.020206434652209282,
-0.018615946173667908,
0.02884567901492119,
0.007523191627115011,
-0.06101692467927933,
-0.025646628811955452,
-0.019266599789261818,
0.033020712435245514,
-0.012109401635825634,
-0.0017283008201047778,
-0.062318235635757446,
0.04630490764975548,
0.02729133889079094,
-0.005399527959525585,
0.06481240689754486,
-0.013419747352600098,
-0.03571369871497154,
-0.024146508425474167,
-0.034303948283195496,
0.0037615958135575056,
-0.020242581143975258,
-0.0060953665524721146,
0.04156958684325218,
-0.04323237016797066,
0.052992187440395355,
0.003870038315653801,
0.07815082371234894,
0.011784074828028679,
-0.013338415883481503,
0.042111799120903015,
0.007148161996155977,
-0.01170274242758751,
0.027490150183439255,
0.055269479751586914,
0.0031516074668616056,
-0.011802148073911667,
0.008621171116828918,
0.03954533115029335,
0.027472075074911118,
0.027182895690202713,
-0.04008754342794418,
-0.005105829797685146,
0.005435675382614136,
0.010283954441547394,
-0.026423798874020576,
-0.010383360087871552,
0.001286623883061111,
0.02591773495078087,
0.01490179356187582,
-0.03558718040585518,
0.061920613050460815,
0.021652333438396454,
-0.032677311450242996,
-0.007224975153803825,
0.049485884606838226,
-0.007803334388881922,
-0.03929229825735092,
-0.09665832668542862,
0.032858047634363174,
-0.013266121037304401,
-0.03515341132879257,
0.0336352176964283,
0.06571609526872635,
0.05147399380803108,
-0.030074693262577057,
0.02494175359606743,
-0.02248372510075569,
0.014956015162169933,
0.05194391310214996,
0.14466217160224915,
-0.030508462339639664,
0.028285393491387367,
-0.028213098645210266,
0.09600767493247986,
-0.006389064714312553,
-0.02687564305961132,
-0.05920955166220665,
-0.048293016850948334,
0.015525337308645248,
-0.018001439049839973,
-0.034231651574373245,
-0.06510158628225327,
0.012904645875096321,
0.010536987334489822,
0.016682056710124016,
0.026604536920785904,
-0.0007393286796286702,
-0.02127278409898281,
-0.022302987053990364,
-0.046413347125053406,
0.005236864555627108,
-0.05790824443101883,
0.010320101864635944,
0.057293735444545746,
-0.037484925240278244,
-0.01745922677218914,
0.09391111880540848,
-0.08538031578063965,
-0.021887291222810745,
0.03737648203969002,
0.06040241941809654,
-0.03979836031794548,
-0.007252085953950882,
0.016302507370710373,
-0.06474011391401291,
-0.048039983958005905,
-0.02794199250638485,
0.04970276728272438,
-0.0012052921811118722,
0.0337798073887825,
-0.017341747879981995,
0.03508111834526062,
0.005399527959525585,
-0.02364044450223446,
-0.02201380766928196,
-0.0320085845887661,
0.010175512172281742,
0.10150209069252014,
0.05002809688448906,
0.058595046401023865,
0.0640171691775322,
-0.0410996712744236,
0.006149588152766228,
-0.04814842715859413,
0.007943405769765377,
-0.03419550508260727,
0.004644949454814196,
0.038388609886169434,
0.035785991698503494,
0.01989918015897274,
-0.02980358712375164,
-0.02183307148516178,
-0.017260415479540825,
0.034810010343790054,
0.04854604974389076,
-0.0015532114775851369,
-0.041714176535606384,
-0.04359384626150131,
0.050642602145671844,
0.03531607612967491,
-0.03632820397615433,
-0.01091653574258089,
-0.005092274397611618,
0.036165542900562286,
-0.02150774374604225,
-0.00617218017578125,
-0.013067309744656086,
0.019140083342790604,
-0.03582214191555977,
0.016528429463505745,
0.01590488664805889,
0.039256151765584946,
0.0019576114136725664,
-0.026821421459317207,
-0.049268998205661774,
0.009434489533305168,
-0.025538185611367226,
-0.011919627897441387,
-0.002568729454651475,
0.05978791043162346,
0.052269238978624344,
-0.025321301072835922,
-0.020007623359560966,
0.05205235257744789,
0.04460597410798073,
-0.006389064714312553,
-0.013239010237157345,
-0.017883960157632828,
0.04489515349268913,
-0.021959586068987846,
-0.03141215071082115,
0.027598591521382332,
-0.06925854831933975,
0.006158624775707722,
-0.013464931398630142,
-0.008142217062413692,
-0.005196198355406523,
-0.046268757432699203,
0.017667075619101524,
0.018399061635136604,
-0.018164101988077164,
-0.022284913808107376,
0.01377218496054411,
0.028321541845798492,
-0.02738170698285103,
-0.00021250756981316954,
0.0026478020008653402,
0.014224028214812279,
-0.024327246472239494,
0.020097991451621056,
-0.009732705540955067,
0.02955055423080921,
0.019700370728969574,
0.016962198540568352,
-0.018887052312493324,
-0.001742985681630671,
-0.0002048827154794708,
0.03312915563583374,
0.07822311669588089,
-0.012163623236119747,
0.03385210409760475,
-0.04623261094093323,
-0.005309159401804209,
0.016058512032032013,
-0.0036057098768651485,
-0.023116305470466614,
-0.06275200098752975,
0.017151974141597748,
-0.004240549635142088,
0.06521002948284149,
-0.06264356523752213,
-0.008783834986388683,
-0.009443526156246662,
-0.037159595638513565,
0.04677482321858406,
-0.039111558347940445,
-0.03164710849523544,
0.011259935796260834,
0.05628160759806633,
-0.03030965104699135,
0.012949829921126366,
0.015462079085409641,
-0.02754436992108822,
0.025375522673130035,
0.012525097467005253,
0.014070401899516582,
0.06195675954222679,
-0.051293257623910904,
-0.023766960948705673,
0.01793818175792694,
-0.05946258455514908,
-0.002548396587371826,
-0.012507024221122265,
-0.050244979560375214,
-0.006023071706295013,
-0.010166475549340248,
0.013799295760691166,
-0.011079198680818081,
0.07233108580112457,
-0.054112758487463,
-0.025520112365484238,
-0.00757289445027709,
-0.055269479751586914,
0.011883480474352837,
-0.027634739875793457,
-0.014919867739081383,
-0.005223309155553579,
0.010988830588757992,
-0.006827353034168482,
-0.05870348960161209,
0.01859787292778492,
-0.03340025991201401,
0.06434249132871628,
-0.00008634443656774238,
0.0264599472284317,
0.01624828763306141,
-0.031556740403175354,
-0.01844424568116665,
-0.03856934979557991,
0.05042571946978569,
-0.000550966477021575,
0.007505117915570736,
-0.06466782093048096,
-0.00005157368286745623,
0.017161009833216667,
-0.021543890237808228,
-0.05013653635978699,
-0.012353396974503994,
-0.0017667075153440237,
-0.03509918972849846,
0.01590488664805889,
0.03401476889848709,
0.019049715250730515,
-0.020242581143975258,
0.0005964332376606762,
-0.04077434539794922,
-0.0058965557254850864,
0.020694425329566002,
-0.03206280246376991,
-0.01924852654337883,
-0.01462165080010891,
-0.026496093720197678,
-0.008756724186241627,
-0.022700609639286995,
-0.06069159880280495,
-0.05158243700861931,
-0.012958867475390434,
0.002028776565566659,
0.034231651574373245,
0.033743660897016525,
0.007866593077778816,
0.0718611627817154,
0.032370056957006454,
0.0018717610510066152,
-0.052016206085681915,
0.03159288689494133,
0.0042721787467598915,
-0.015805481001734734,
-0.018498467281460762,
-0.04008754342794418,
-0.003989776596426964,
-0.002268253592774272,
0.007672300096601248,
0.030960306525230408,
-0.041388850659132004,
-0.058595046401023865,
-0.02647802047431469,
0.04977506399154663,
0.001434602658264339,
0.029912030324339867,
0.08097032457590103,
-0.03482808545231819,
-0.08277770131826401,
-0.009326046332716942,
-0.007559339050203562,
0.06260741502046585,
-0.02378503419458866,
-0.005616412963718176,
-0.0011075809597969055,
-0.0038451869040727615,
-0.0020942939445376396,
-0.014784314669668674,
0.004050775431096554,
-0.03262308984994888,
0.05476341396570206,
0.07153584063053131,
0.009389304555952549,
-0.0003066886856686324,
0.008092514239251614,
0.047714658081531525,
-0.03457505255937576,
0.0094977468252182,
0.001404103240929544,
0.026586461812257767,
0.002636505989357829,
-0.02347777970135212,
-0.025483964011073112,
0.007238530553877354,
0.04312393069267273,
0.0038790751714259386,
0.010220696218311787,
-0.015209047123789787,
-0.008657318539917469,
0.031086822971701622,
-0.01368181686848402,
-0.008905832655727863,
0.038786232471466064,
-0.01213651243597269,
-0.03401476889848709,
0.03345448151230812,
-0.017883960157632828,
-0.02445376291871071,
-0.05910110846161842,
0.04402761533856392,
-0.055992428213357925,
0.0657883882522583,
0.03070727363228798,
-0.01360048446804285,
-0.06871633976697922,
-0.007866593077778816,
0.03685234487056732,
0.039183855056762695,
0.0075367470271885395,
-0.03135792911052704,
-0.01133223157376051,
-0.01754959486424923,
0.01201903261244297,
-0.002322474727407098,
0.07757246494293213,
0.01258835569024086,
-0.011205715127289295,
0.026839494705200195,
-0.00999477505683899,
-0.039111558347940445,
0.01133223157376051,
0.05472726747393608,
-0.014983125030994415,
0.02355007454752922,
0.04558195546269417,
-0.008996200747787952,
-0.02591773495078087,
0.043485403060913086,
0.006140551064163446,
0.006393583491444588,
0.025538185611367226,
0.030508462339639664,
0.038460906594991684,
-0.03345448151230812,
0.016194066032767296,
-0.012886572629213333,
0.055414069443941116,
-0.023007864132523537,
-0.03968992084264755,
0.010871350765228271,
-0.06962002068758011,
-0.04167803004384041,
0.00914079137146473,
-0.009985738433897495,
-0.013311305083334446,
0.056173164397478104,
0.019212380051612854,
-0.015796443447470665,
-0.005842334590852261,
0.0009906665654852986,
0.027652813121676445,
-0.00999477505683899,
0.036743901669979095,
0.03070727363228798,
-0.015290378592908382,
0.024182656779885292,
-0.007825926877558231,
0.009768852964043617,
-0.04135270416736603,
0.0007065700483508408,
-0.005033534951508045,
-0.028213098645210266,
-0.0013848998351022601,
-0.046268757432699203,
0.0206221304833889,
0.006845426745712757,
-0.004920573905110359,
-0.022610241547226906,
0.02508634328842163,
-0.02340548485517502,
0.014242102392017841,
-0.0038248540367931128,
0.05270300805568695,
0.0023473261389881372,
-0.024019991979002953,
0.014820462092757225,
0.008675392717123032,
-0.03403284028172493,
-0.05335366353392601,
-0.008603096939623356,
-0.0068137976340949535,
-0.07475296407938004,
-0.033906325697898865,
0.01311249379068613,
0.0318639911711216,
0.005923666059970856,
-0.0378463976085186,
-0.03482808545231819,
-0.03437624126672745,
0.05205235257744789,
0.04290704429149628,
0.0135643370449543,
-0.05548636242747307,
-0.021218564361333847,
0.03979836031794548,
-0.0591372586786747,
0.008024738170206547,
-0.010229733772575855,
0.009122717194259167,
0.04854604974389076,
-0.04052131250500679,
0.02013413980603218,
0.00970559474080801,
-0.004974795039743185,
0.043738435953855515,
0.03817172721028328,
-0.010609282180666924,
-0.021164342761039734,
-0.03542451933026314,
-0.05295604094862938,
-0.027707034721970558,
0.029098711907863617,
0.011296084150671959,
-0.00914079137146473,
0.029514407739043236,
0.017260415479540825,
-0.005593820475041866,
-0.046124167740345,
0.02289942093193531,
-0.009967664256691933,
0.028610721230506897,
-0.0164832454174757,
-0.007351491134613752,
-0.06683667004108429,
-0.07131895422935486,
-0.01153104193508625,
0.043087780475616455,
0.04605187475681305,
-0.08241622895002365,
-0.09015178680419922,
0.026423798874020576,
0.04663023352622986,
0.014585503377020359,
0.04424450173974037,
0.01950155943632126,
-0.025321301072835922,
0.029948176816105843,
-0.07757246494293213,
0.040738195180892944,
-0.04207565262913704,
-0.016103696078062057,
-0.02257409319281578,
-0.07453607767820358,
0.07793393731117249,
-0.04456982761621475,
0.03623783588409424,
0.09260981529951096,
-0.03922000154852867,
0.0030725346878170967,
-0.021905366331338882,
0.0010420636972412467,
-0.004231513012200594,
0.027833549305796623,
0.01868824101984501,
0.02329704351723194,
-0.003440787084400654,
-0.024471836164593697,
0.03817172721028328,
-0.032605014741420746,
0.0511486679315567,
-0.004753392189741135,
0.03180977329611778,
-0.03464734926819801,
0.03737648203969002,
-0.013365526683628559,
-0.042509421706199646,
-0.00929893646389246,
0.02508634328842163,
0.0011589782079681754,
-0.007586449850350618,
-0.020369097590446472,
-0.007929850369691849,
-0.02866494283080101,
-0.018724387511610985,
0.010039959102869034,
0.040485162287950516,
0.03562333062291145,
-0.062498971819877625,
-0.060944631695747375,
-0.020188361406326294,
0.061920613050460815,
-0.019031642004847527,
0.03828016668558121,
0.06774035841226578,
-0.03513533994555473,
0.00999477505683899,
0.005851371213793755,
-0.04232868552207947,
0.013139604590833187,
-0.060474712401628494,
-0.0379909873008728,
-0.012281102128326893,
-1.7650130246238405e-7,
0.003725448390468955,
0.057221442461013794,
-0.011151493526995182,
0.014576466754078865,
-0.005033534951508045,
0.030906084924936295,
-0.016510356217622757,
-0.0644509345293045,
-0.021290859207510948,
0.012046143412590027,
0.039834510535001755,
-0.037159595638513565,
0.021055899560451508,
0.04222024232149124,
-0.016383839771151543,
-0.048509903252124786,
-0.04623261094093323,
0.04399146884679794,
0.03994295373558998,
0.021706555038690567,
-0.03929229825735092,
-0.03896696865558624,
0.03968992084264755,
0.004536507185548544,
-0.020839015021920204,
0.05049801245331764,
-0.030634978786110878,
-0.010744835250079632,
-0.039364591240882874,
-0.0677042081952095,
0.029351744800806046,
0.0069267586804926395,
0.05230538547039032,
0.03191821277141571,
-0.04872678592801094,
0.03251464664936066,
0.0015080271987244487,
0.014648761600255966,
-0.05732988566160202,
0.023658517748117447,
0.07807853072881699,
0.07663263380527496,
0.0024151026736944914,
0.02517671138048172,
0.02071249857544899,
-0.0495220310986042,
-0.03153866529464722,
0.036906566470861435,
0.01868824101984501,
0.06915010511875153,
-0.0012516060378402472,
0.03408706188201904,
-0.036346279084682465,
-0.014730093069374561,
-0.00010074694728245959,
0.07077674567699432,
-0.0038384092040359974,
-0.06936699151992798,
0.02120048925280571,
-0.011431636288762093,
-0.01948348432779312,
-0.02477908879518509,
-0.028936047106981277,
0.023676590994000435,
0.01811891794204712,
0.005494415294378996,
0.016456134617328644,
0.02575507014989853,
-0.005376935936510563,
0.056173164397478104
]
|
37,271 | dataclass_csv.exceptions | __init__ | null | def __init__(self, error: Any, line_number: int):
self.error: Any = error
self.line_number: int = line_number
| (self, error: Any, line_number: int) | [
-0.025012638419866562,
0.029878700152039528,
0.024940812960267067,
0.03950309008359909,
-0.054119233042001724,
-0.04711640998721123,
-0.0097411023452878,
0.0689508467912674,
0.015971817076206207,
-0.050923071801662445,
0.031387001276016235,
0.03221297264099121,
0.0019179198425263166,
0.014571253210306168,
-0.04176553711295128,
0.05393967032432556,
-0.00909468811005354,
0.04801420867443085,
-0.02142144739627838,
0.022606540471315384,
-0.027041660621762276,
0.060511548072099686,
-0.03097401186823845,
0.04880427196621895,
0.024545783177018166,
0.06751436740159988,
0.05465791001915932,
0.008870239369571209,
0.07397851347923279,
-0.05620212107896805,
-0.03097401186823845,
-0.023037483915686607,
-0.011375093832612038,
0.03882076218724251,
-0.01051320880651474,
-0.009705190546810627,
-0.018566451966762543,
0.007478652987629175,
-0.09739307314157486,
0.04524899274110794,
-0.05505293980240822,
0.01493037212640047,
-0.04460257664322853,
0.01448147278279066,
0.01620524376630783,
-0.035480957478284836,
0.013323314487934113,
-0.000021953954274067655,
-0.06963317096233368,
-0.012057419866323471,
-0.030596937984228134,
0.023863457143306732,
0.033182594925165176,
-0.01051320880651474,
-0.0028729517944157124,
0.0795089453458786,
0.01783025823533535,
0.05354464054107666,
-0.03461907058954239,
0.005678568966686726,
-0.045284904539585114,
0.05516067519783974,
0.028136972337961197,
-0.023504337295889854,
0.03470885008573532,
-0.014894460327923298,
-0.040077678859233856,
0.015074019320309162,
0.0043857404962182045,
0.028783386573195457,
0.06963317096233368,
0.058715954422950745,
-0.04765509068965912,
0.030740585178136826,
0.07958076894283295,
-0.004798727575689554,
-0.11836561560630798,
0.055124763399362564,
0.026700496673583984,
0.015325402840971947,
0.009723146446049213,
0.058356836438179016,
-0.030902188271284103,
0.03767158091068268,
0.03187181055545807,
-0.038784850388765335,
-0.02601817063987255,
-0.043776605278253555,
-0.04941477254033089,
0.06672430783510208,
-0.08295648545026779,
0.015917949378490448,
-0.08733773976564407,
0.008951040916144848,
-0.012479384429752827,
0.017569895833730698,
0.061660729348659515,
-0.07907800376415253,
-0.0071374899707734585,
-0.0055887894704937935,
0.025138329714536667,
-0.023989148437976837,
0.006778371054679155,
-0.028136972337961197,
-0.005629190243780613,
0.001986376941204071,
0.04496169835329056,
-0.047978296875953674,
0.049271125346422195,
0.06112205237150192,
-0.006827749777585268,
-0.013745279051363468,
-0.06503644585609436,
0.06593424826860428,
-0.011662389151751995,
0.005759370978921652,
-0.023935280740261078,
-0.057674508541822433,
-0.0006267748540267348,
0.03241048753261566,
0.0676221027970314,
-0.013098864816129208,
-0.04830150306224823,
0.0894206315279007,
0.057674508541822433,
0.023899368941783905,
-0.000008824542419461068,
-0.028783386573195457,
0.048624709248542786,
-0.07649234682321548,
0.024060972034931183,
-0.04844515025615692,
0.004448586609214544,
-0.027885589748620987,
-0.06808896362781525,
0.021942170336842537,
-0.0582491010427475,
0.011967640370130539,
-0.04241195321083069,
-0.031081749126315117,
0.010594010353088379,
0.05279049277305603,
0.018270177766680717,
-0.0725061222910881,
-0.011662389151751995,
0.037635669112205505,
0.0016440915642306209,
0.0059613753110170364,
-0.019787456840276718,
0.02657480537891388,
-0.03452929109334946,
-0.048876095563173294,
0.0032881831284612417,
0.027310999110341072,
-0.056166209280490875,
-0.03490636497735977,
0.010405472479760647,
-0.07114147394895554,
0.061517082154750824,
-0.022391069680452347,
-0.02046978287398815,
-0.08022718131542206,
0.04585949331521988,
-0.06593424826860428,
-0.0012322270777076483,
0.03677378594875336,
-0.014741834253072739,
-0.039036232978105545,
-0.04614679142832756,
0.0018651742720976472,
-0.009126110933721066,
-0.024060972034931183,
0.001840484794229269,
0.02632342278957367,
-0.03452929109334946,
0.05817727744579315,
0.016393782570958138,
0.05318552255630493,
-0.001967298798263073,
0.010234891436994076,
0.031081749126315117,
0.023091351613402367,
-0.018117552623152733,
0.04855288565158844,
0.048373326659202576,
0.01625911146402359,
-0.03517570346593857,
0.03221297264099121,
0.05383193492889404,
0.022157641127705574,
0.04496169835329056,
0.0194822046905756,
0.017165888100862503,
-0.01073765754699707,
0.00417700270190835,
0.017704566940665245,
0.0008332682773470879,
-0.024438047781586647,
0.022193552926182747,
0.02637729048728943,
-0.03327237442135811,
0.038784850388765335,
-0.015935905277729034,
-0.013053975068032742,
-0.0008815248729661107,
0.022049905732274055,
-0.0003181569918524474,
0.026449114084243774,
-0.06008060649037361,
0.024994682520627975,
-0.027041660621762276,
-0.044135723263025284,
0.03770749270915985,
0.038030702620744705,
0.03021986223757267,
-0.05142584070563316,
0.020146574825048447,
-0.010629922151565552,
0.031997501850128174,
0.053221434354782104,
0.13632157444953918,
-0.02856791578233242,
-0.0019841324537992477,
-0.056956272572278976,
-0.00036641358747147024,
0.0348704531788826,
-0.008605388924479485,
-0.04320201277732849,
-0.02822675183415413,
-0.01808164082467556,
-0.007756970357149839,
-0.03346988931298256,
-0.03481658548116684,
0.0009084588382393122,
-0.01735442504286766,
-0.004726903513073921,
0.01681574620306492,
-0.016304001212120056,
-0.07099782675504684,
-0.07010002434253693,
-0.018342003226280212,
-0.004803216550499201,
-0.0188896581530571,
0.009884750470519066,
0.03601963445544243,
-0.0031714695505797863,
-0.025138329714536667,
0.08525484800338745,
-0.06816078722476959,
0.010620944201946259,
0.00040036154678091407,
-0.005189269315451384,
-0.025605183094739914,
-0.005548388231545687,
0.022319244220852852,
-0.007487630937248468,
0.020739121362566948,
-0.06848399341106415,
0.04445892944931984,
0.03111766092479229,
0.035480957478284836,
0.008246270008385181,
0.04155006632208824,
0.05839274823665619,
-0.01937446929514408,
-0.027346910908818245,
-0.044387105852365494,
0.018297111615538597,
0.0508512482047081,
0.019194910302758217,
0.08496755361557007,
0.04456666484475136,
-0.011222468689084053,
0.03576825186610222,
-0.055268410593271255,
-0.02018248662352562,
-0.0346011146903038,
0.011958662420511246,
-0.016438672319054604,
0.010055331513285637,
0.06737072020769119,
-0.029950523748993874,
-0.006190313491970301,
0.011321226134896278,
-0.020344091579318047,
0.019643807783722878,
0.029878700152039528,
-0.007842261344194412,
-0.07577410340309143,
-0.021116197109222412,
0.023612072691321373,
0.024456003680825233,
-0.012281869538128376,
0.018009817227721214,
0.056417591869831085,
-0.0053643397986888885,
-0.06482097506523132,
0.033290330320596695,
0.0007620056276209652,
-0.034744761884212494,
0.031961590051651,
-0.033990614116191864,
0.028334489092230797,
0.001999843865633011,
0.01578328013420105,
-0.020954592153429985,
-0.009651322849094868,
0.01897943764925003,
-0.011168600991368294,
0.004006421193480492,
0.0779288187623024,
0.05979331210255623,
-0.029932567849755287,
-0.0015408449107781053,
0.04165780171751976,
0.02452782727777958,
0.01073765754699707,
-0.0644618570804596,
-0.03528343886137009,
0.08367472141981125,
-0.036432620137929916,
-0.07214700430631638,
0.04025723785161972,
-0.07247021049261093,
0.02607203833758831,
-0.019069219008088112,
0.007613322697579861,
-0.028783386573195457,
-0.036235105246305466,
0.015998750925064087,
0.00661676749587059,
-0.017695588991045952,
-0.013377182185649872,
-0.031387001276016235,
0.012308803386986256,
-0.030309641733765602,
-0.017372380942106247,
-0.016492540016770363,
-0.00278541655279696,
-0.029932567849755287,
0.01223697979003191,
-0.01606159657239914,
-0.0022590828593820333,
0.04234012961387634,
0.03585803136229515,
-0.03641466423869133,
-0.021008461713790894,
-0.0334160216152668,
0.02862178348004818,
-0.003083934308961034,
-0.06442594528198242,
0.04076000675559044,
-0.04970206692814827,
-0.0008489797473885119,
0.03505001217126846,
0.01331433653831482,
-0.018746010959148407,
-0.028603827580809593,
0.0037617713678628206,
-0.00518029136583209,
0.0754149854183197,
0.024761253967881203,
-0.028657695278525352,
-0.01693245954811573,
-0.021601006388664246,
0.03727655112743378,
-0.026898011565208435,
-0.022462893277406693,
0.023414557799696922,
0.043632958084344864,
-0.023486381396651268,
-0.028532003983855247,
-0.023612072691321373,
-0.013125798664987087,
0.0070432210341095924,
0.028496092185378075,
-0.018315067514777184,
0.04535672813653946,
-0.05799771845340729,
-0.029357977211475372,
-0.01121349073946476,
-0.04815785586833954,
0.024815121665596962,
-0.021888302639126778,
-0.061157964169979095,
-0.012757701799273491,
-0.024150751531124115,
-0.010459340177476406,
0.02127780020236969,
0.08496755361557007,
-0.05842866003513336,
-0.04869653657078743,
-0.0008747914107516408,
-0.028944989666342735,
0.03720472753047943,
0.009911684319376945,
0.021708743646740913,
0.03821026161313057,
-0.040831830352544785,
-0.0016283801523968577,
0.0023858968634158373,
-0.019392425194382668,
-0.014723878353834152,
0.06158890575170517,
0.03402652591466904,
-0.012281869538128376,
0.02117006480693817,
0.0030951567459851503,
-0.016752900555729866,
-0.01763274148106575,
0.03481658548116684,
0.017991861328482628,
-0.030399423092603683,
-0.045033521950244904,
-0.013646521605551243,
0.015163799747824669,
0.02517424151301384,
-0.019356513395905495,
0.008596410974860191,
-0.02442009188234806,
-0.017929015681147575,
0.014346803538501263,
0.0017810057615861297,
0.037240639328956604,
-0.014077464118599892,
-0.002736037829890847,
-0.004309427924454212,
-0.0098398607224226,
0.04866062477231026,
-0.009965552017092705,
-0.011339182034134865,
0.02163691818714142,
0.0016598030924797058,
0.00246669864282012,
-0.01903330720961094,
-0.025659052655100822,
-0.047080498188734055,
-0.028496092185378075,
0.02273223176598549,
0.04991753771901131,
0.0026327911764383316,
0.0401495024561882,
0.084536612033844,
0.017767412588000298,
0.008322582580149174,
-0.051066718995571136,
0.0055887894704937935,
-0.017372380942106247,
-0.03481658548116684,
-0.025048550218343735,
-0.010647878050804138,
-0.02576678805053234,
0.02413279563188553,
-0.04119094833731651,
0.028998859226703644,
-0.06478506326675415,
-0.11685732007026672,
-0.01637582667171955,
0.008726591244339943,
0.0048974850215017796,
-0.028496092185378075,
0.057207655161619186,
-0.03781522810459137,
-0.07706693559885025,
-0.02747260220348835,
0.029142506420612335,
0.034996144473552704,
0.0027809275779873133,
-0.029609359800815582,
-0.005274560302495956,
0.0016934705199673772,
0.009606433100998402,
-0.026933923363685608,
0.03066876158118248,
0.022409025579690933,
0.022839967161417007,
0.019661765545606613,
-0.05049213021993637,
-0.04571584612131119,
-0.010504230856895447,
0.008937573991715908,
-0.004619168117642403,
0.03372127190232277,
0.02057751826941967,
-0.0043857404962182045,
0.005642657168209553,
-0.0194822046905756,
-0.030507158488035202,
0.0018550740787759423,
0.025946347042918205,
-0.006562899332493544,
0.052215900272130966,
-0.0582491010427475,
-0.01433782558888197,
0.030794452875852585,
0.01987723633646965,
-0.019248778000473976,
0.031746119260787964,
0.00281010614708066,
-0.012757701799273491,
-0.0001855915761552751,
-0.022606540471315384,
-0.04111912474036217,
-0.057315390557050705,
0.038784850388765335,
-0.026089994236826897,
0.019895192235708237,
0.002193992491811514,
-0.02941184490919113,
0.003178203012794256,
-0.00015220472414512187,
0.051030807197093964,
-0.004758326802402735,
0.001700203982181847,
-0.020308177918195724,
0.0013725078897550702,
-0.0520363412797451,
0.0013433294370770454,
-0.03641466423869133,
0.048624709248542786,
0.0024307866115123034,
0.0256231389939785,
0.044925786554813385,
-0.03190772235393524,
0.0029133528005331755,
-0.007537009660154581,
0.03544504567980766,
-0.017165888100862503,
0.05332916975021362,
0.021205976605415344,
0.02163691818714142,
-0.027131440117955208,
0.010234891436994076,
0.015460072085261345,
-0.0024644541554152966,
0.014526363462209702,
0.027346910908818245,
-0.009624389000236988,
-0.02366594225168228,
-0.013547764159739017,
0.010423428378999233,
0.04614679142832756,
-0.010234891436994076,
-0.021690787747502327,
-0.015935905277729034,
-0.04201692342758179,
-0.04399207606911659,
-0.0067873490042984486,
-0.04036497324705124,
0.006895084399729967,
0.040580444037914276,
-0.04625452682375908,
-0.014912416227161884,
0.0500611886382103,
-0.03411630541086197,
0.014616142958402634,
0.007384384050965309,
-0.007200335618108511,
0.063923180103302,
0.016995307058095932,
0.023683898150920868,
0.008964507840573788,
-0.008196891285479069,
-0.030776496976614,
-0.057710420340299606,
-0.014292935840785503,
-0.03562460467219353,
-0.0007547109853476286,
-0.042124658823013306,
0.04277107119560242,
0.029447756707668304,
0.01982336863875389,
-0.03596576675772667,
0.038282085210084915,
-0.0326259583234787,
-0.009794970043003559,
-0.024007104337215424,
0.10105608403682709,
-0.018072662875056267,
-0.016995307058095932,
0.048229679465293884,
0.03752793371677399,
-0.004753837827593088,
-0.03338010981678963,
-0.022337201982736588,
-0.017812302336096764,
-0.06367179751396179,
-0.04435119405388832,
-0.013000107370316982,
-0.01396075077354908,
0.0006840094574727118,
-0.03950309008359909,
-0.04471031576395035,
-0.006118489895015955,
0.014086442068219185,
0.04743961989879608,
0.018099596723914146,
-0.07821611315011978,
-0.006114000920206308,
0.004221892450004816,
-0.04205283522605896,
0.045823581516742706,
-0.049127478152513504,
0.028388356789946556,
0.03702516853809357,
-0.03946717828512192,
0.018216310068964958,
0.04550037533044815,
-0.029429800808429718,
0.056812625378370285,
0.05009710043668747,
0.0028437734581530094,
0.018799878656864166,
-0.03799479082226753,
-0.06514418125152588,
-0.01735442504286766,
0.04625452682375908,
0.06327676773071289,
0.006895084399729967,
0.03742019832134247,
0.005974842235445976,
0.021816479042172432,
0.003950309008359909,
0.035480957478284836,
0.007204824592918158,
0.017794346436858177,
-0.00951665360480547,
-0.04844515025615692,
-0.03203341364860535,
-0.057315390557050705,
0.014966283924877644,
0.024689430370926857,
-0.008573966100811958,
-0.08927697688341141,
-0.03860529139637947,
-0.013978706672787666,
0.024043016135692596,
-0.0012928283540531993,
0.04510534554719925,
0.0561302974820137,
-0.04101138934493065,
0.0059838201850652695,
-0.04539263993501663,
0.011707278899848461,
-0.029196374118328094,
-0.0029492645990103483,
-0.038138438016176224,
-0.038282085210084915,
0.06751436740159988,
0.0105670765042305,
0.018512584269046783,
0.08180730789899826,
-0.033236462622880936,
0.02802923694252968,
-0.007923062890768051,
0.04700867459177971,
-0.013062953017652035,
0.04442301765084267,
0.027885589748620987,
0.0049244193360209465,
-0.05853639543056488,
0.0005608428618870676,
0.014786724001169205,
-0.033236462622880936,
0.03806661441922188,
0.010225913487374783,
0.021205976605415344,
-0.050276659429073334,
0.008475207723677158,
0.01987723633646965,
-0.034080393612384796,
0.03296712413430214,
0.026395246386528015,
0.01495730597525835,
0.008928596042096615,
-0.026987791061401367,
-0.004776282701641321,
-0.03702516853809357,
0.004722414538264275,
-0.00936402752995491,
-0.011303270235657692,
0.014149287715554237,
-0.05605847388505936,
-0.09423281997442245,
-0.032392531633377075,
0.05279049277305603,
-0.002666458487510681,
0.09250905364751816,
0.02032613568007946,
-0.03429586440324783,
-0.03411630541086197,
-0.0060062650591135025,
-0.006078088656067848,
0.02312726341187954,
-0.042878806591033936,
0.011419983580708504,
-0.06388726830482483,
-0.047619178891181946,
0.019194910302758217,
0.02257062867283821,
0.04011359065771103,
0.015873059630393982,
-0.04488987475633621,
0.035139791667461395,
-0.023504337295889854,
-0.03253617882728577,
-0.009947596117854118,
-0.004471031483262777,
0.0008545909659005702,
-0.01942833699285984,
0.023935280740261078,
0.029393889009952545,
0.01575634628534317,
-0.06532374769449234,
-0.056525327265262604,
0.05268275737762451,
0.04869653657078743,
0.023683898150920868,
-0.051820870488882065,
-0.02032613568007946,
0.01774945668876171,
0.01765967532992363,
0.018494628369808197,
0.04855288565158844,
0.012156177312135696,
0.006127467844635248,
-0.014050530269742012,
-0.05598665028810501,
0.031835898756980896,
-0.006073599681258202,
0.026197729632258415,
0.024043016135692596,
-0.05569935590028763,
0.002534033264964819,
-0.035678472369909286,
-0.017740478739142418,
-0.022857923060655594,
0.031243352219462395,
0.06708342581987381,
0.07347574830055237,
0.005427185911685228,
0.007864706218242645,
0.017587851732969284,
-0.03842573240399361,
-0.0342060849070549,
0.02982483245432377,
0.006746947765350342,
0.038282085210084915,
0.0017574385274201632,
0.02343251369893551,
-0.019589940086007118,
-0.012057419866323471,
0.0006464141770265996,
0.05569935590028763,
0.019105130806565285,
-0.044925786554813385,
0.009247314184904099,
0.022696319967508316,
0.01431089174002409,
-0.010324670933187008,
-0.06543148308992386,
-0.017614785581827164,
0.028532003983855247,
0.026790276169776917,
0.05774633213877678,
0.04955841973423958,
-0.01575634628534317,
0.048624709248542786
]
|
37,272 | dataclass_csv.exceptions | __str__ | null | def __str__(self):
return f"{self.error} [CSV Line number: {self.line_number}]"
| (self) | [
-0.005912426859140396,
0.02048860676586628,
0.01915057562291622,
0.037331078201532364,
-0.006008597556501627,
-0.08556711673736572,
0.018381208181381226,
0.03306610509753227,
0.041412074118852615,
-0.0662660077214241,
0.003790392307564616,
-0.014567818492650986,
0.005749354138970375,
0.02923598885536194,
0.015278647653758526,
0.03458811342716217,
-0.02318139560520649,
-0.03452121466398239,
0.018598638474941254,
0.043318770825862885,
-0.01779581978917122,
0.01948508433997631,
-0.03542438521981239,
-0.029905004426836967,
0.027245666831731796,
0.05211632698774338,
0.014960864558815956,
-0.03044021688401699,
0.052551187574863434,
-0.02620869316160679,
-0.041345175355672836,
-0.047466669231653214,
-0.06161634996533394,
0.00774803850799799,
-0.038200799375772476,
-0.0009240779909305274,
-0.02232840098440647,
-0.048068780452013016,
-0.013982429169118404,
0.016148367896676064,
-0.01363119576126337,
0.016967911273241043,
-0.02475358359515667,
-0.01292036660015583,
0.012728025205433369,
-0.046831101179122925,
-0.04402123764157295,
0.0032426356337964535,
-0.034755367785692215,
-0.04020784795284271,
-0.00674033397808671,
0.07145088165998459,
-0.018632089719176292,
-0.006033685989677906,
-0.02090674266219139,
-0.02303086780011654,
0.04927301034331322,
-0.017444586381316185,
-0.020321354269981384,
-0.010110500268638134,
-0.04258285462856293,
0.019618887454271317,
0.025456050410866737,
0.0024105473421514034,
0.038903266191482544,
-0.008421235717833042,
0.0037820297293365,
0.03766558691859245,
0.04281700775027275,
0.035357482731342316,
0.06489452719688416,
0.008024008013308048,
-0.031577542424201965,
-0.012234625406563282,
0.02124124951660633,
-0.02251238003373146,
-0.09245797991752625,
0.027580173686146736,
0.031192859634757042,
-0.03323335945606232,
0.021358327940106392,
0.024034390226006508,
0.013263237662613392,
-0.004028729163110256,
-0.001963143004104495,
-0.10416575521230698,
-0.0026363402139395475,
-0.02348245307803154,
-0.06803890317678452,
0.09178896248340607,
-0.036695513874292374,
-0.019585436210036278,
-0.045994833111763,
-0.0007484614034183323,
-0.038903266191482544,
-0.016173455864191055,
0.04696490615606308,
-0.0653628408908844,
0.024251820519566536,
-0.042716655880212784,
0.021709561347961426,
0.0041834390722215176,
0.022478928789496422,
-0.032514166086912155,
-0.0381338968873024,
-0.06228536739945412,
-0.001723760855384171,
-0.012017195113003254,
0.04275010526180267,
0.0044740429148077965,
-0.029804652556777,
-0.011231102049350739,
-0.02318139560520649,
0.012895278632640839,
0.042348697781562805,
-0.041746582835912704,
-0.025037914514541626,
-0.012493869289755821,
0.021809913218021393,
-0.01287855301052332,
0.08570092171430588,
-0.028767677024006844,
-0.0735248327255249,
0.012242988683283329,
-0.0018272493034601212,
0.026559924706816673,
-0.03167789429426193,
-0.028299367055296898,
0.08155301958322525,
-0.088376984000206,
0.0529525987803936,
-0.029152361676096916,
0.03682931885123253,
-0.03432050719857216,
0.03253089264035225,
0.03468846529722214,
0.009633827023208141,
0.04559342563152313,
0.0037736669182777405,
0.08469739556312561,
0.013171248137950897,
-0.019234202802181244,
-0.016650129109621048,
-0.030222786590456963,
0.037264179438352585,
0.02105727046728134,
0.00019665404397528619,
0.07178539037704468,
-0.01243533007800579,
-0.04793497920036316,
0.0035813250578939915,
-0.0016913554864004254,
-0.00744280032813549,
-0.011941931210458279,
-0.008262344636023045,
-0.008931360207498074,
-0.03253089264035225,
-0.016625041142106056,
0.03605994954705238,
-0.049005404114723206,
0.009433122351765633,
-0.07700370997190475,
0.03331698477268219,
0.02396748960018158,
0.015253559686243534,
0.07285581529140472,
-0.021592482924461365,
-0.0015962297329679132,
-0.024134743958711624,
-0.007371717598289251,
0.04291735962033272,
-0.012903640978038311,
-0.0047750999219715595,
0.062352269887924194,
-0.056665632873773575,
0.08282414823770523,
0.015880761668086052,
0.08329246193170547,
-0.0024544515181332827,
0.00727136479690671,
0.018782617524266243,
0.009023349732160568,
0.0011801855871453881,
0.055729012936353683,
0.06713572889566422,
-0.06158290058374405,
0.00512215169146657,
-0.008078365586698055,
0.028165563941001892,
0.0033450787886977196,
0.035725440829992294,
-0.022763261571526527,
0.031694620847702026,
-0.008680479601025581,
-0.02629231847822666,
-0.03565853834152222,
-0.0003676973283290863,
-0.044255390763282776,
0.047466669231653214,
-0.030222786590456963,
-0.05111280456185341,
0.05713394656777382,
-0.022478928789496422,
-0.0033576227724552155,
-0.015713507309556007,
0.052484285086393356,
0.01710171438753605,
-0.01646615006029606,
-0.07573258131742477,
0.03428705781698227,
-0.0037423069588840008,
0.01443401537835598,
0.00977599248290062,
0.039505381137132645,
0.028031760826706886,
-0.03652825951576233,
0.004741649143397808,
-0.0005801621009595692,
-0.021408503875136375,
0.059475500136613846,
0.08523260802030563,
-0.05435752868652344,
0.04502476006746292,
-0.036963120102882385,
0.04452299699187279,
-0.003658680012449622,
0.0074302563443779945,
-0.03646135702729225,
-0.05245083570480347,
-0.00038677474367432296,
-0.009207329712808132,
-0.016022928059101105,
-0.03196222707629204,
0.047399766743183136,
-0.025037914514541626,
0.0593082457780838,
-0.04248249903321266,
-0.015303735621273518,
-0.05365506187081337,
-0.03703002259135246,
-0.053186751902103424,
0.02744637057185173,
-0.005293587222695351,
0.004208527039736509,
0.0611145906150341,
-0.06844031065702438,
-0.01127291563898325,
0.08054949343204498,
-0.053454358130693436,
-0.010996946133673191,
0.034755367785692215,
0.052785344421863556,
-0.05462513491511345,
0.005757716950029135,
0.011114024557173252,
-0.07325722277164459,
-0.014718346297740936,
-0.010110500268638134,
0.0172438807785511,
0.02348245307803154,
0.0024021847639232874,
-0.030757999047636986,
0.01148198265582323,
-0.028316091746091843,
0.007438619155436754,
0.006920131854712963,
-0.06164980307221413,
0.016424337401986122,
0.09392981231212616,
0.049038853496313095,
0.058505427092313766,
0.07158468663692474,
-0.06703537702560425,
0.002546441275626421,
-0.04321841895580292,
-0.015195020474493504,
-0.045794129371643066,
-0.007635142188519239,
-0.026242142543196678,
-0.017260607331991196,
0.0207227636128664,
-0.018481560051441193,
-0.02599126286804676,
-0.0037109467666596174,
0.03679586574435234,
-0.0023540991824120283,
0.02460305392742157,
-0.024368898943066597,
-0.01873244158923626,
0.044589899480342865,
-0.0027492365334182978,
-0.010720977559685707,
-0.024285271763801575,
-0.0186153631657362,
0.03850185498595238,
-0.053454358130693436,
0.06877481937408447,
-0.012794926762580872,
-0.023231571540236473,
-0.008764106780290604,
-0.03383547067642212,
0.0004202255222480744,
0.044890958815813065,
-0.001970460405573249,
-0.0656638965010643,
-0.021475406363606453,
0.008270706981420517,
-0.01600620150566101,
0.015780409798026085,
-0.02097364328801632,
0.022779986262321472,
0.053788866847753525,
0.016315622255206108,
-0.006146582309156656,
0.04990857467055321,
0.05338745564222336,
-0.0399402417242527,
0.006071317940950394,
-0.022127695381641388,
0.053487811237573624,
-0.01884951815009117,
-0.025522951036691666,
0.009700728580355644,
-0.017862720414996147,
0.012192811816930771,
-0.037297628819942474,
-0.028650600463151932,
0.01776236854493618,
-0.03713037446141243,
0.026860982179641724,
0.01776236854493618,
-0.045158565044403076,
-0.021007094532251358,
-0.0004322468885220587,
0.04198073968291283,
-0.019903218373656273,
0.0037778483238071203,
-0.017377683892846107,
-0.01000178512185812,
0.0015512802638113499,
0.027162039652466774,
-0.01978614181280136,
0.026426121592521667,
0.008705567568540573,
-0.016441062092781067,
0.018598638474941254,
-0.028968382626771927,
0.021224524825811386,
0.03579234331846237,
0.058237820863723755,
0.014208221808075905,
0.013489030301570892,
-0.03182842582464218,
-0.004683110397309065,
0.021375052630901337,
-0.012686211615800858,
-0.01144016906619072,
0.005322856828570366,
0.020505333319306374,
0.0641586109995842,
0.03498952463269234,
-0.06402480602264404,
-0.0027826873119920492,
0.022863613441586494,
-0.006242753472179174,
0.043987784534692764,
-0.03987333923578262,
-0.009959972463548183,
0.03099215403199196,
0.03810044750571251,
-0.059609305113554,
0.01978614181280136,
0.04606173560023308,
-0.02396748960018158,
-0.022596007212996483,
0.07265511155128479,
0.03365149348974228,
0.04432229325175285,
-0.05489274114370346,
-0.07827484607696533,
0.020572233945131302,
-0.0444895476102829,
-0.023014141246676445,
0.015136481262743473,
-0.06442622095346451,
0.01727733202278614,
-0.024837210774421692,
-0.006263659801334143,
-0.011657599359750748,
0.010988583788275719,
-0.034387409687042236,
-0.028851304203271866,
0.034721918404102325,
-0.041780032217502594,
0.004302607383579016,
-0.033333711326122284,
-0.00009558301098877564,
-0.03335043415427208,
-0.0062594786286354065,
-0.03699657320976257,
-0.027864506468176842,
-0.0029353066347539425,
-0.019050223752856255,
0.04729941487312317,
-0.001480197417549789,
-0.016691943630576134,
-0.001481242710724473,
0.020237727090716362,
-0.030456941574811935,
-0.03706347197294235,
0.04258285462856293,
-0.005615551024675369,
-0.019200751557946205,
-0.04027474671602249,
0.0006021141889505088,
0.03425360843539238,
-0.04472370445728302,
-0.0296541228890419,
-0.018481560051441193,
0.0070915669202804565,
-0.0581040196120739,
0.044188492000103,
-0.0016798567958176136,
0.04820258542895317,
-0.035390932112932205,
0.016332346946001053,
-0.04345257207751274,
0.03897016867995262,
0.07365863770246506,
-0.0005571646615862846,
-0.04030819982290268,
-0.020371530205011368,
-0.028065210208296776,
0.02938651666045189,
-0.006685976404696703,
-0.03840150311589241,
-0.007079022936522961,
-0.005615551024675369,
-0.011933568865060806,
0.062385719269514084,
0.06409171223640442,
-0.02811538800597191,
0.03900361806154251,
0.00708738574758172,
0.0003269291773904115,
-0.037933193147182465,
-0.0034057083539664745,
-0.04626243934035301,
-0.011674324981868267,
0.01742785982787609,
-0.02112417295575142,
0.02962067350745201,
-0.04378708079457283,
-0.029185812920331955,
0.028884755447506905,
-0.014258398674428463,
-0.02463650517165661,
-0.0687079206109047,
0.019384732469916344,
-0.0039597367867827415,
-0.018598638474941254,
0.1249721422791481,
-0.048737797886133194,
0.02681080624461174,
0.021073997020721436,
-0.035357482731342316,
0.041412074118852615,
-0.0011728683020919561,
-0.03860221058130264,
-0.01144016906619072,
0.000829475000500679,
-0.004457317292690277,
-0.06308818608522415,
0.01772891730070114,
-0.016541413962841034,
0.07044735550880432,
0.041111018508672714,
0.013798450119793415,
0.017110077664256096,
0.022980691865086555,
-0.0051430584862828255,
-0.08409528434276581,
0.0070204841904342175,
0.025154992938041687,
0.038535308092832565,
0.03746488317847252,
-0.0014958773972466588,
-0.00045968699851073325,
-0.010754427872598171,
0.024502702057361603,
0.0378328412771225,
-0.00026316361618228257,
-0.04830293729901314,
-0.046831101179122925,
-0.008647028356790543,
0.000708738574758172,
0.010670801624655724,
-0.01322142407298088,
-0.04545962065458298,
-0.0018638360779732466,
0.0378328412771225,
-0.004053817130625248,
-0.02771397866308689,
-0.037899743765592575,
0.021709561347961426,
-0.022529104724526405,
0.10704252123832703,
0.044589899480342865,
-0.03565853834152222,
-0.05245083570480347,
0.016106555238366127,
-0.0032802678178995848,
0.01615673117339611,
0.02154230698943138,
-0.031761523336172104,
-0.019200751557946205,
-0.024402350187301636,
0.019434908404946327,
-0.002358280587941408,
0.06124839186668396,
0.00083417899440974,
-0.0009638008195906878,
-0.03880291432142258,
-0.08282414823770523,
-0.04974132031202316,
0.04850364103913307,
0.05907409265637398,
0.02834954299032688,
-0.03134338930249214,
0.0602114163339138,
-0.01802997477352619,
0.0020979915279895067,
0.047801174223423004,
0.022311676293611526,
-0.009324407204985619,
0.0741269439458847,
-0.04432229325175285,
-0.0009794809157028794,
-0.022077519446611404,
0.02366643212735653,
-0.02856697328388691,
0.010854780673980713,
-0.03927122429013252,
-0.08422908186912537,
0.022579282522201538,
-0.05398957058787346,
0.011080573312938213,
0.00906516332179308,
0.020053748041391373,
-0.01940145716071129,
0.04663039743900299,
-0.0007285999599844217,
-0.0026488841976970434,
-0.03659516200423241,
0.011005309410393238,
0.06773784756660461,
-0.026426121592521667,
0.04288391023874283,
0.03642790764570236,
-0.01567169465124607,
0.018531735986471176,
0.003940920811146498,
0.05613042041659355,
-0.0219437163323164,
0.004678928758949041,
0.010411557741463184,
-0.03428705781698227,
0.010863143019378185,
-0.07653540372848511,
0.014459103345870972,
-0.0011122387368232012,
-0.020555509254336357,
-0.03410307690501213,
0.03542438521981239,
-0.07907766103744507,
-0.01630725897848606,
0.03709692507982254,
0.042047642171382904,
0.010353018529713154,
0.07325722277164459,
0.002853770274668932,
0.03196222707629204,
0.0031673714984208345,
-0.02441907487809658,
-0.035123325884342194,
0.016650129109621048,
-0.05970965698361397,
-0.009909795597195625,
0.0378328412771225,
0.018832793459296227,
-0.03612685203552246,
-0.04980822280049324,
-0.06248607113957405,
-0.002316466998308897,
0.0650617852807045,
0.024853935465216637,
0.02808193676173687,
-0.04545962065458298,
-0.015738595277071,
0.05074484646320343,
-0.03301592916250229,
0.036662064492702484,
-0.012460418045520782,
0.054089922457933426,
0.03335043415427208,
-0.027061687782406807,
0.027429645881056786,
0.031393565237522125,
-0.039538830518722534,
0.06710228323936462,
0.016382522881031036,
-0.02868404984474182,
-0.037598684430122375,
-0.030206061899662018,
-0.056665632873773575,
-0.0169511865824461,
0.04947371408343315,
0.0019401457393541932,
-0.0024753583129495382,
0.03967263549566269,
0.025372423231601715,
0.035324033349752426,
-0.057200849056243896,
0.02124124951660633,
-0.004064270760864019,
0.03739798069000244,
-0.023265022784471512,
-0.032848674803972244,
-0.0011143293231725693,
-0.07579948753118515,
-0.03192877769470215,
0.04913920909166336,
0.018598638474941254,
-0.05669908598065376,
-0.04766737297177315,
0.009658914990723133,
0.0196690633893013,
0.004285882227122784,
-0.009132064878940582,
-0.02139177918434143,
-0.025489499792456627,
0.03957228362560272,
-0.07941216975450516,
0.029905004426836967,
-0.03283194825053215,
0.009934883564710617,
-0.06469382345676422,
-0.09265868365764618,
0.05673253536224365,
-0.06181705743074417,
-0.024485977366566658,
0.06315508484840393,
-0.024134743958711624,
0.03810044750571251,
-0.008839370682835579,
-0.004708198364824057,
-0.02726239152252674,
0.04535926878452301,
-0.006117312703281641,
0.002479539718478918,
-0.007162650115787983,
-0.049640968441963196,
0.005255955271422863,
-0.044188492000103,
0.05020963400602341,
-0.00488799624145031,
0.041345175355672836,
-0.02995518036186695,
0.008270706981420517,
-0.03769903630018234,
-0.027011511847376823,
0.01383190043270588,
0.008529950864613056,
-0.004842001479119062,
-0.028934931382536888,
0.010043598711490631,
0.01557134184986353,
0.0031067419331520796,
0.008663753978908062,
-0.005945877637714148,
0.028483346104621887,
0.02707841247320175,
-0.018749166280031204,
-0.04783462733030319,
0.043017711490392685,
0.08095090836286545,
-0.03488917276263237,
0.025623302906751633,
0.02605816349387169,
-0.0014321118360385299,
-0.03626065328717232,
-0.041780032217502594,
-0.03736453130841255,
0.012761475518345833,
0.004846183117479086,
-0.005335400812327862,
0.009257505647838116,
-0.03181169927120209,
-0.005448297131806612,
0.018314305692911148,
-0.0009397580870427191,
0.021174348890781403,
0.005870613269507885,
0.007225370034575462,
-0.007840028032660484,
-0.07753892987966537,
0.021559033542871475,
-0.016566501930356026,
-0.016081465408205986,
-0.020020296797156334,
0.07158468663692474,
0.055059995502233505,
-0.013087620958685875,
-0.0017425769474357367,
-0.04101066663861275,
0.024686681106686592,
0.027496548369526863,
-0.004867089446634054,
0.004821094684302807,
-0.03104233182966709,
0.0029185812454670668,
0.005439934320747852,
-0.0024544515181332827,
0.039806436747312546,
0.003391073551028967,
0.05231703072786331,
-0.039839889854192734,
-0.0581040196120739,
0.00709574855864048,
-0.023917313665151596,
0.031995680183172226,
0.02460305392742157,
-0.06877481937408447,
0.03736453130841255,
0.04760047048330307,
0.018180502578616142,
-0.011114024557173252,
0.03605994954705238,
0.0753311738371849,
0.04325186833739281,
0.021926991641521454,
0.048771247267723083,
0.03973953425884247,
-0.02572365663945675,
-0.005858069285750389,
0.06067973002791405,
0.04030819982290268,
0.04318496584892273,
-0.05181527137756348,
0.02871750108897686,
0.02456960454583168,
-0.0002632942923810333,
-0.011950293555855751,
0.0687079206109047,
-0.012343340553343296,
-0.041077569127082825,
0.025004463270306587,
0.04589448124170303,
-0.015278647653758526,
0.026944609358906746,
-0.019117124378681183,
0.010026874020695686,
0.04094376415014267,
0.05067794397473335,
0.023315198719501495,
0.05168146640062332,
-0.027396194636821747,
0.0192174781113863
]
|
37,273 | dataclass_csv.dataclass_reader | DataclassReader | null | class DataclassReader:
def __init__(
self,
f: Any,
cls: Type[object],
fieldnames: Optional[Sequence[str]] = None,
restkey: Optional[str] = None,
restval: Optional[Any] = None,
dialect: str = "excel",
*args: Any,
**kwds: Any,
):
if not f:
raise ValueError("The f argument is required.")
if cls is None or not dataclasses.is_dataclass(cls):
raise ValueError("cls argument needs to be a dataclass.")
self._cls = cls
self._optional_fields = self._get_optional_fields()
self._field_mapping: Dict[str, Dict[str, Any]] = {}
validate_header = kwds.pop("validate_header", True)
self._reader = csv.DictReader(
f, fieldnames, restkey, restval, dialect, *args, **kwds
)
if validate_header:
_verify_duplicate_header_items(self._reader.fieldnames)
self.type_hints = typing.get_type_hints(cls)
def _get_optional_fields(self):
return [
field.name
for field in dataclasses.fields(self._cls)
if not isinstance(field.default, dataclasses._MISSING_TYPE)
or not isinstance(field.default_factory, dataclasses._MISSING_TYPE)
]
def _add_to_mapping(self, property_name, csv_fieldname):
self._field_mapping[property_name] = csv_fieldname
def _get_metadata_option(self, field, key):
option = field.metadata.get(key, getattr(self._cls, f"__{key}__", None))
return option
def _get_default_value(self, field):
return (
field.default
if not isinstance(field.default, dataclasses._MISSING_TYPE)
else field.default_factory()
)
def _get_possible_keys(self, fieldname, row):
possible_keys = list(filter(lambda x: x.strip() == fieldname, row.keys()))
if possible_keys:
return possible_keys[0]
def _get_value(self, row, field):
is_field_mapped = False
try:
if field.name in self._field_mapping.keys():
is_field_mapped = True
key = self._field_mapping.get(field.name)
else:
key = field.name
if key in row.keys():
value = row[key]
else:
possible_key = self._get_possible_keys(field.name, row)
key = possible_key if possible_key else key
value = row[key]
except KeyError:
if field.name in self._optional_fields:
return self._get_default_value(field)
else:
keyerror_message = f"The value for the column `{field.name}`"
if is_field_mapped:
keyerror_message = f"The value for the mapped column `{key}`"
raise KeyError(f"{keyerror_message} is missing in the CSV file")
else:
if not value and field.name in self._optional_fields:
return self._get_default_value(field)
elif not value and field.name not in self._optional_fields:
raise ValueError(f"The field `{field.name}` is required.")
elif (
value
and field.type is str
and not len(value.strip())
and not self._get_metadata_option(field, "accept_whitespaces")
):
raise ValueError(
(
f"It seems like the value of `{field.name}` contains "
"only white spaces. To allow white spaces to all "
"string fields, use the @accept_whitespaces "
"decorator. "
"To allow white spaces specifically for the field "
f"`{field.name}` change its definition to: "
f"`{field.name}: str = field(metadata="
"{'accept_whitespaces': True})`."
)
)
else:
return value
def _parse_date_value(self, field, date_value, field_type):
dateformat = self._get_metadata_option(field, "dateformat")
if not isinstance(date_value, str):
return date_value
if not dateformat:
raise AttributeError(
(
"Unable to parse the datetime string value. Date format "
"not specified. To specify a date format for all "
"datetime fields in the class, use the @dateformat "
"decorator. To define a date format specifically for this "
"field, change its definition to: "
f"`{field.name}: datetime = field(metadata="
"{'dateformat': <date_format>})`."
)
)
datetime_obj = datetime.strptime(date_value, dateformat)
if field_type == date:
return datetime_obj.date()
else:
return datetime_obj
def _process_row(self, row):
values = dict()
for field in dataclasses.fields(self._cls):
if not field.init:
continue
try:
value = self._get_value(row, field)
except ValueError as ex:
raise CsvValueError(ex, line_number=self._reader.line_num) from None
if not value and field.default is None:
values[field.name] = None
continue
field_type = self.type_hints[field.name]
if is_union_type(field_type):
type_args = [x for x in get_args(field_type) if x is not type(None)]
if len(type_args) == 1:
field_type = type_args[0]
if field_type is datetime or field_type is date:
try:
transformed_value = self._parse_date_value(field, value, field_type)
except ValueError as ex:
raise CsvValueError(ex, line_number=self._reader.line_num) from None
else:
values[field.name] = transformed_value
continue
if field_type is bool:
try:
transformed_value = (
value
if isinstance(value, bool)
else strtobool(str(value).strip()) == 1
)
except ValueError as ex:
raise CsvValueError(ex, line_number=self._reader.line_num) from None
else:
values[field.name] = transformed_value
continue
try:
transformed_value = field_type(value)
except ValueError as e:
raise CsvValueError(
(
f"The field `{field.name}` is defined as {field.type} "
f"but received a value of type {type(value)}."
),
line_number=self._reader.line_num,
) from e
else:
values[field.name] = transformed_value
return self._cls(**values)
def __next__(self):
row = next(self._reader)
return self._process_row(row)
def __iter__(self):
return self
def map(self, csv_fieldname: str) -> FieldMapper:
"""Used to map a field in the CSV file to a `dataclass` field
:param csv_fieldname: The name of the CSV field
"""
return FieldMapper(
lambda property_name: self._add_to_mapping(property_name, csv_fieldname)
)
| (f: Any, cls: Type[object], fieldnames: Optional[Sequence[str]] = None, restkey: Optional[str] = None, restval: Optional[Any] = None, dialect: str = 'excel', *args: Any, **kwds: Any) | [
0.10461059212684631,
-0.02218466065824032,
0.01249515451490879,
0.011934024281799793,
-0.044810209423303604,
-0.04561182111501694,
0.005886850878596306,
0.02246522530913353,
0.03982016444206238,
-0.04861787334084511,
-0.010360857471823692,
0.03288620337843895,
-0.006808706559240818,
0.0189080648124218,
0.014168523252010345,
0.05639352649450302,
-0.03322688862681389,
0.0806824266910553,
0.02571176178753376,
0.01563146896660328,
0.0026728808879852295,
-0.038257017731666565,
-0.05992062762379646,
0.028797974810004234,
0.03569185361266136,
0.01466953195631504,
0.026373092085123062,
0.01743509992957115,
-0.0007383613847196102,
-0.009829788468778133,
0.022926153615117073,
-0.018938124179840088,
-0.054549816995859146,
0.02743523009121418,
-0.007495088502764702,
-0.0571550615131855,
-0.010240615345537663,
0.012194548733532429,
-0.029739869758486748,
0.046814244240522385,
0.001102218870073557,
-0.0037801098078489304,
-0.022625548765063286,
-0.024970268830657005,
-0.036353182047605515,
-0.013256687670946121,
-0.04180415719747543,
-0.025371074676513672,
-0.02992023341357708,
-0.04440940171480179,
-0.013316808268427849,
0.016042295843362808,
-0.0060772341676056385,
0.03837725892663002,
-0.04717496782541275,
-0.04080213978886604,
-0.03386818245053291,
0.055030785501003265,
-0.033808059990406036,
0.03136313706636429,
-0.00919851753860712,
0.015270741656422615,
-0.008256621658802032,
0.013306788168847561,
0.009358840063214302,
0.001435389625839889,
0.03531108424067497,
-0.04076205939054489,
0.006663414184004068,
0.008737590163946152,
-0.0397600419819355,
0.043848272413015366,
0.04541141912341118,
0.041363269090652466,
0.019338931888341904,
-0.018066368997097015,
-0.04645351693034172,
-0.018797842785716057,
0.048297230154275894,
-0.0694197490811348,
0.04124302789568901,
0.031483378261327744,
-0.057756271213293076,
-0.038697902113199234,
-0.0031839096918702126,
0.02819676324725151,
0.012064286507666111,
0.04949964955449104,
-0.018867984414100647,
0.05807691439986229,
-0.03384814038872719,
-0.03951955959200859,
0.01278573926538229,
0.0471348874270916,
0.007925955578684807,
-0.037014514207839966,
0.016212638467550278,
-0.014799794182181358,
-0.030561523512005806,
0.02829696610569954,
0.020320909097790718,
-0.033246930688619614,
0.011533217504620552,
-0.03198438882827759,
0.00931875966489315,
-0.0895402580499649,
-0.010741624049842358,
-0.009819768369197845,
0.03134309872984886,
-0.02212454006075859,
-0.09098315984010696,
-0.04549157992005348,
-0.037976451218128204,
0.027795957401394844,
0.015591387636959553,
-0.060441676527261734,
-0.009955041110515594,
0.010340817272663116,
-0.04010072723031044,
0.010230595245957375,
0.029319023713469505,
0.03705459460616112,
-0.028557490557432175,
0.04849763214588165,
0.040641818195581436,
-0.024870065972208977,
0.05018102005124092,
-0.012655477039515972,
0.10958059877157211,
0.023026354610919952,
0.03605257719755173,
-0.018166571855545044,
0.03264572098851204,
-0.019419092684984207,
0.014569330029189587,
0.0472150482237339,
0.019819900393486023,
0.06252587586641312,
-0.0608024038374424,
0.01946919411420822,
0.08100306987762451,
-0.026894140988588333,
0.031102612614631653,
-0.061243291944265366,
0.021483248099684715,
-0.040120769292116165,
0.014108401723206043,
0.05010085925459862,
-0.06408902257680893,
0.00218690256588161,
-0.013086344115436077,
-0.032004427164793015,
-0.022525345906615257,
0.042325206100940704,
-0.029719829559326172,
-0.03196434676647186,
-0.02891821600496769,
-0.04897860065102577,
0.012875921092927456,
-0.017054332420229912,
0.010310756973922253,
-0.035291045904159546,
0.009128376841545105,
0.02474982477724552,
0.005062691867351532,
0.09346815943717957,
-0.022866033017635345,
-0.0844900906085968,
0.013897978700697422,
-0.013166505843400955,
0.032625678926706314,
-0.013316808268427849,
0.02609252743422985,
0.03116273507475853,
-0.033246930688619614,
0.07627354562282562,
-0.001836196519434452,
0.020421110093593597,
0.030240878462791443,
0.010310756973922253,
0.004198451992124319,
0.01818661205470562,
-0.025270873680710793,
0.02815668284893036,
0.03545136749744415,
0.023206718266010284,
0.011954065412282944,
-0.026693737134337425,
0.0421648845076561,
0.0559125579893589,
0.03234511613845825,
-0.06673434376716614,
-0.0012556527508422732,
0.015741689130663872,
0.014378946274518967,
-0.016693606972694397,
0.021423127502202988,
0.024629581719636917,
-0.007860824465751648,
0.08665444701910019,
-0.047295212745666504,
-0.01566152833402157,
0.05659393221139908,
-0.04264585301280022,
-0.06861813366413116,
-0.01395809929817915,
0.014659511856734753,
-0.005110287573188543,
-0.07495088875293732,
-0.04124302789568901,
-0.025551438331604004,
-0.05110287666320801,
-0.02218466065824032,
0.018857963383197784,
0.05394860357046127,
-0.07434967160224915,
0.03288620337843895,
-0.07266628742218018,
-0.027976319193840027,
0.03298640623688698,
0.09964058548212051,
0.020902078598737717,
-0.03667382895946503,
-0.00902316439896822,
0.14966128766536713,
-0.0633675679564476,
-0.06729547679424286,
-0.033287011086940765,
0.01587195135653019,
-0.028377126902341843,
-0.004378815181553364,
0.001038340269587934,
-0.034669794142246246,
-0.004714490845799446,
0.05166400596499443,
0.0009869869099929929,
0.035952378064394,
0.008672459051012993,
-0.012164488434791565,
0.00948910228908062,
0.021663611754775047,
-0.0019814888946712017,
-0.032425276935100555,
-0.05222513526678085,
-0.028617611154913902,
-0.03691431134939194,
-0.011072290129959583,
0.07799702137708664,
-0.05010085925459862,
-0.03761572390794754,
0.013817816972732544,
0.06228538975119591,
0.01946919411420822,
0.04693448543548584,
-0.003509565256536007,
-0.05398868769407272,
-0.010932007804512978,
0.01144303660839796,
0.02915870025753975,
-0.032665759325027466,
-0.008777670562267303,
-0.060682158917188644,
0.028036441653966904,
0.03817685320973396,
-0.0279161985963583,
-0.005696467589586973,
0.012865900993347168,
-0.01307632401585579,
0.04741545394062996,
0.012805779464542866,
0.03557160869240761,
0.05394860357046127,
-0.04517093300819397,
-0.00030185768264345825,
-0.025130590423941612,
-0.00772054260596633,
-0.015350903384387493,
-0.1019652709364891,
0.02505042962729931,
-0.01656334474682808,
-0.031242895871400833,
-0.021443167701363564,
0.00422851275652647,
-0.04982029274106026,
0.03483011573553085,
0.0027755876071751118,
-0.05062190815806389,
0.021563410758972168,
-0.018938124179840088,
0.043848272413015366,
-0.005816709715873003,
-0.04272601380944252,
-0.0015205610543489456,
0.004884833935648203,
0.00645299069583416,
-0.04006064683198929,
-0.01643308252096176,
-0.04649359732866287,
-0.018928105011582375,
-0.06998088210821152,
-0.013938059099018574,
0.013897978700697422,
0.07398895174264908,
0.03753556311130524,
-0.06420926004648209,
-0.022966234013438225,
0.006538162007927895,
-0.014228643849492073,
0.013246667571365833,
0.027976319193840027,
0.02619272843003273,
0.037395279854536057,
-0.028417207300662994,
0.015922052785754204,
-0.004168391693383455,
-0.01963953673839569,
-0.06140361353754997,
0.057956673204898834,
0.017655542120337486,
0.0055511752143502235,
-0.015591387636959553,
-0.01822669245302677,
0.028657691553235054,
-0.03212467208504677,
-0.022485265508294106,
-0.007940986193716526,
-0.0007339775911532342,
0.0056012761779129505,
-0.03575197234749794,
0.011603359133005142,
0.016002213582396507,
0.007184463087469339,
-0.0035571609623730183,
0.07274644821882248,
0.0820050835609436,
-0.00043462496250867844,
-0.019890042021870613,
-0.05134335905313492,
0.009313750080764294,
0.01728479564189911,
0.024108532816171646,
-0.011523197405040264,
0.03450947254896164,
-0.030561523512005806,
-0.0217036921530962,
-0.023146597668528557,
0.03454955294728279,
0.005210489500313997,
0.06601288914680481,
0.07246588170528412,
0.05959998071193695,
-0.044529642909765244,
0.014018220826983452,
0.017575381323695183,
-0.00009840122220339254,
-0.08320751041173935,
0.009253628551959991,
-0.033487413078546524,
0.0037700897082686424,
0.005440953187644482,
0.023427162319421768,
-0.04913892224431038,
-0.010691523551940918,
0.02212454006075859,
0.0034243937116116285,
0.05631336569786072,
-0.09410945326089859,
-0.023246798664331436,
0.00772054260596633,
0.039259035140275955,
-0.000519170134793967,
0.02312655746936798,
0.030180757865309715,
-0.09587300568819046,
0.01722467504441738,
-0.0018562368350103498,
0.01711445301771164,
0.0757925808429718,
-0.046092789620161057,
-0.004396350588649511,
0.02715466544032097,
-0.05663401260972023,
-0.04525109753012657,
0.02232494205236435,
-0.0260524470359087,
-0.03360765799880028,
0.03581209480762482,
-0.00102706765756011,
-0.0023321949411183596,
-0.016312839463353157,
-0.039599720388650894,
0.013056283816695213,
-0.01825675368309021,
-0.06513112038373947,
0.016924070194363594,
-0.02098223939538002,
-0.017164554446935654,
-0.011132410727441311,
0.03370785713195801,
-0.033287011086940765,
-0.062445711344480515,
-0.01914854906499386,
0.027635633945465088,
0.06160401552915573,
-0.02033092826604843,
-0.0013928038533776999,
0.05935949832201004,
-0.035150762647390366,
-0.023206718266010284,
0.01483987458050251,
0.06837765127420425,
-0.012625416740775108,
0.023868048563599586,
-0.000020647034034482203,
-0.010471079498529434,
0.019348951056599617,
-0.02384800836443901,
0.002810658188536763,
0.01887800358235836,
0.048056744039058685,
-0.007615330629050732,
0.029840072616934776,
-0.07499096542596817,
0.012725618667900562,
-0.049740131944417953,
0.008842801675200462,
-0.01952931471168995,
0.017004230991005898,
-0.032084591686725616,
0.0017485199496150017,
-0.004749561659991741,
-0.03499044105410576,
-0.03761572390794754,
-0.03495036065578461,
0.0038302107714116573,
0.01615251787006855,
-0.0029810010455548763,
-0.02260550856590271,
0.01407834142446518,
-0.009739606641232967,
0.01097208820283413,
0.010000131092965603,
0.04541141912341118,
-0.03523092344403267,
-0.009378881193697453,
-0.005195458885282278,
0.022725749760866165,
0.05398868769407272,
0.003617282025516033,
-0.007424947340041399,
-0.030581563711166382,
0.021623531356453896,
0.009619365446269512,
0.03855762258172035,
-0.000051783936214633286,
-0.013487150892615318,
-0.0384373776614666,
-0.03454955294728279,
0.06561208516359329,
0.018146531656384468,
0.03903859108686447,
0.007956016808748245,
0.005215499550104141,
-0.007194483187049627,
-0.021924136206507683,
0.048257146030664444,
0.00392540218308568,
-0.028737852349877357,
-0.027836037799715996,
-0.008391893468797207,
0.019108466804027557,
-0.00012994909775443375,
0.026733819395303726,
-0.02250530570745468,
-0.03679407015442848,
0.015611427836120129,
0.04460980370640755,
0.021423127502202988,
-0.02308647520840168,
-0.013687554746866226,
0.06929951161146164,
-0.0027981330640614033,
0.02609252743422985,
-0.048257146030664444,
0.03503052145242691,
0.016934091225266457,
0.06400885432958603,
-0.03454955294728279,
-0.008983084000647068,
0.038457419723272324,
-0.01722467504441738,
0.03699447587132454,
0.046814244240522385,
0.03396838158369064,
0.025030389428138733,
-0.020240746438503265,
0.023827968165278435,
0.038697902113199234,
0.022144580259919167,
-0.019799860194325447,
0.021723732352256775,
0.0040481495670974255,
-0.04813690483570099,
-0.0017760754562914371,
0.01959945634007454,
-0.024208735674619675,
0.03823697566986084,
0.026733819395303726,
-0.017264755442738533,
-0.07154402881860733,
-0.030761927366256714,
-0.011713581159710884,
0.0072646248154342175,
0.006813717074692249,
-0.016443101689219475,
-0.04777618125081062,
0.02561155892908573,
0.004361279774457216,
-0.07547193765640259,
-0.0089880945160985,
0.026272891089320183,
0.03082204796373844,
-0.02595224604010582,
-0.024108532816171646,
-0.06761611998081207,
0.1141498014330864,
0.041363269090652466,
-0.010952048003673553,
0.047816261649131775,
-0.027355069294571877,
0.010831805877387524,
-0.0669347494840622,
0.002865769201889634,
-0.002372275572270155,
0.032084591686725616,
0.009223568253219128,
0.046052709221839905,
0.03619286045432091,
-0.017064353451132774,
0.029479345306754112,
0.011392935179173946,
0.04328714311122894,
-0.03947947546839714,
-0.0026803959626704454,
0.05867812782526016,
-0.05022110044956207,
0.008707528933882713,
0.021142562851309776,
-0.011513177305459976,
-0.02615264803171158,
-0.030701806768774986,
0.0038928368594497442,
0.022405104711651802,
0.0117837218567729,
-0.0007377351284958422,
0.0007308463100343943,
-0.016553323715925217,
0.020451171323657036,
0.039840202778577805,
-0.04276609420776367,
0.032425276935100555,
-0.008767650462687016,
-0.013897978700697422,
0.005741558503359556,
0.0105612613260746,
-0.007910925894975662,
-0.004501562099903822,
0.060441676527261734,
-0.04994053766131401,
0.013406990095973015,
-0.024629581719636917,
0.02815668284893036,
-0.05142352357506752,
0.04998061805963516,
0.027455270290374756,
0.007570239715278149,
-0.05655385181307793,
0.0024386593140661716,
-0.010255645960569382,
-0.06785660237073898,
0.005861800629645586,
0.04701464623212814,
0.000057615987316239625,
-0.06100280582904816,
-0.03547140955924988,
-0.04364787042140961,
-0.06448982656002045,
0.03164370357990265,
0.0347900353372097,
-0.023146597668528557,
0.004073199816048145,
0.01945917308330536,
-0.07010111957788467,
0.007745592854917049,
0.03599245846271515,
0.03617282211780548,
0.007254604250192642,
0.006192466244101524,
-0.0031438288278877735,
0.0013890463160350919,
-0.08913944661617279,
-0.0029784960206598043,
-0.052064813673496246,
-0.0007947248523123562,
0.017886007204651833,
-0.05683441460132599,
-0.00997508130967617,
0.0385175421833992,
0.05442957207560539,
0.01612245664000511,
0.0015080358134582639,
0.0076003004796803,
0.012394952587783337,
0.02767571434378624,
-0.01092198770493269,
-0.050782229751348495,
-0.05915909633040428,
-0.025731801986694336,
0.020681634545326233,
-0.046052709221839905,
-0.020090444013476372,
-0.011122390627861023,
0.02098223939538002,
0.025551438331604004,
-0.03879810497164726,
-0.0013351879315450788,
-0.01870766095817089,
-0.03446939215064049,
0.00007808688678778708,
-0.03206454962491989,
0.007129352074116468,
-0.005295660812407732,
0.07807718217372894,
0.01125265285372734,
-0.0509425550699234,
0.027755875140428543,
-0.015591387636959553,
-0.013557292520999908,
0.02332695946097374,
-0.027495350688695908,
-0.006052183918654919,
0.014058301225304604,
-0.018376994878053665,
0.06837765127420425,
-0.02609252743422985,
-0.010035201907157898,
0.0038452409207820892,
-0.06649386137723923,
0.04545149952173233,
0.0025576488114893436,
-0.03318680822849274,
0.05262594297528267,
-0.010120373219251633,
-0.0047620865516364574,
0.006783656310290098,
-0.050020698457956314,
-0.04937940835952759,
-0.006062204018235207,
0.020381029695272446,
0.01508035883307457,
-0.021342966705560684,
-0.01980987936258316,
0.01911848783493042,
-0.07118330150842667,
0.004907379392534494,
-0.029880153015255928,
-0.009459041990339756,
0.04000052437186241,
0.06360805034637451,
0.026693737134337425,
-0.0657724067568779,
0.015721648931503296,
0.03318680822849274,
-0.0072646248154342175,
-0.010120373219251633,
-0.03621290251612663,
0.02198425680398941,
-0.0024975277483463287,
-0.02132292650640011,
0.029860112816095352,
0.07555209845304489,
0.03394834324717522,
-0.03322688862681389,
0.06292667984962463,
-0.021483248099684715,
-0.0007959774229675531,
-0.005811699666082859,
-0.05539150908589363,
0.05903885141015053,
-0.030761927366256714,
0.061163127422332764,
-0.01794612780213356,
0.002191912615671754,
-0.025832002982497215,
-0.05410892888903618,
-0.07815734297037125,
-0.01856737770140171,
0.007379856426268816,
-0.04288633540272713,
0.08561234921216965,
-0.02829696610569954,
-0.001208683243021369,
0.018757762387394905,
0.025631599128246307,
0.027375109493732452,
-0.03481007739901543,
-0.030220838263630867,
0.05282634496688843,
0.029880153015255928,
-0.003108758246526122,
0.050541747361421585,
0.09042203426361084,
-0.018316874280571938,
-0.008597307838499546,
-0.0026227799244225025,
0.017795825377106667,
-0.004306168761104345,
0.049780212342739105,
-0.03965983912348747,
-0.023908130824565887,
0.04120294749736786,
0.008056217804551125,
-0.00007976996130309999,
0.06661409884691238,
-0.0034895248245447874,
0.024890106171369553,
-0.09851832687854767,
-0.02909857966005802,
-0.007084261626005173,
0.01261539664119482,
0.052064813673496246,
0.03350745514035225,
-0.05142352357506752,
0.01049111969769001,
0.012895961292088032,
-0.06300684064626694,
0.0189080648124218,
0.017625482752919197,
0.012465094216167927,
0.03743536025285721,
-0.10036204010248184,
0.012745658867061138,
-0.002240760950371623,
0.03505055978894234,
-0.00828167237341404,
0.00013636828225571662,
0.04424908012151718,
0.01887800358235836,
-0.018968185409903526,
0.016192598268389702,
0.017344918102025986,
-0.003464474342763424,
-0.02653341554105282,
0.04300657659769058,
0.03446939215064049,
-0.01684390939772129,
-0.012936041690409184,
0.014659511856734753,
0.00540087278932333,
-0.024308936670422554,
0.0035346157383173704,
0.02867773175239563,
-0.017054332420229912,
-0.004714490845799446,
0.05070206895470619,
0.020481230691075325,
-0.0033492424990981817,
0.03404854238033295
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.